[00:03:46] *** EcrCore started. Build 196 *** [00:03:46]/dev/ttyS4 opened [00:03:46]MH_InterfaceInit /dev/i2c-1 [00:03:46]Malloc ok [00:03:46]MH_GetMetrics [00:03:46]Write to MH i2c: 00 00 00 01 00 00 [00:03:46]Write i2c OK [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: 00 [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: 00 29 00 [00:03:46]MH_I2C_Read... [00:03:46]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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 4E [00:03:46]Are we in boot? [00:03:46]We are in boot - try to switch [00:03:46]Write to MH i2c: A0 00 00 02 00 A1 [00:03:46]Write i2c OK [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: A0 [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: A0 01 00 [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: A0 01 00 02 00 00 A2 [00:03:46]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:03:46]*** [00:03:46]*** Starting fw at address 01020100 (2007E328 010249C5) [00:03:46]*** Waiting for read because exit forced [00:03:46]*** 10 ms more... [00:03:46]*** MH1903S init start (LINUX_LIGHT) [00:03:46]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:03:46]*** Serial: 3139303353513838 54000000005725A9 (1903SQ88T) [00:03:46]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:03:46]*** step 0: 5000 (2650, 2350 REF) [00:03:47]*** step 1: 4835 (2500, 2335 REF) [00:03:47]*** step 2: 4676 (2440, 2236 REF) [00:03:47]*** step 3: 4523 (2280, 2243 REF) [00:03:47]*** step 4: 4376 (2160, 2216 REF) [00:03:47]*** step 5: 4235 (2050, 2185 REF) [00:03:47]*** step 6: 4098 (1950, 2148 REF) [00:03:47]*** step 7: 3967 (1870, 2097 REF) [00:03:47]*** step 8: 3840 (1828, 2012 REF) [00:03:47]*** step 9: 3719 (1728, 1991 REF) [00:03:47]*** step 10: 3601 (1675, 1926 REF) [00:03:47]*** step 11: 3488 (1635, 1853 REF) [00:03:47]*** step 12: 3379 (1595, 1784 REF) [00:03:47]*** step 13: 3275 (1565, 1710 REF) [00:03:47]*** step 14: 3174 (1543, 1631 REF) [00:03:47]*** step 15: 3077 (1523, 1554 REF) [00:03:47]*** step 16: 2983 (1503, 1480 REF) [00:03:47]*** step 17: 2893 (1486, 1407 REF) [00:03:47]*** step 18: 2806 (1466, 1340 REF) [00:03:47]*** step 19: 2723 (1426, 1297 REF) [00:03:47]*** step 20: 2642 (1406, 1236 REF) [00:03:47]*** step 21: 2565 (1384, 1181 REF) [00:03:47]*** step 22: 2490 (1364, 1126 REF) [00:03:47]*** step 23: 2418 (1344, 1074 REF) [00:03:47]*** step 24: 2349 (1322, 1027 REF) [00:03:47]*** step 25: 2283 (1302, 981 REF) [00:03:47]*** step 26: 2218 (1282, 936 REF) [00:03:47]*** step 27: 2157 (1262, 895 REF) [00:03:47]*** step 28: 2097 (1242, 855 REF) [00:03:47]*** step 29: 2040 (1222, 818 REF) [00:03:47]*** step 30: 1985 (1202, 783 REF) [00:03:47]*** step 31: 1932 (1191, 741 REF) [00:03:47]*** step 32: 1880 (1181, 699 REF) [00:03:47]*** step 33: 1831 (1171, 660 REF) [00:03:47]*** step 34: 1784 (1161, 623 REF) [00:03:47]*** step 35: 1738 (1151, 587 REF) [00:03:47]*** step 36: 1694 (1141, 553 REF) [00:03:47]*** step 37: 1652 (1131, 521 REF) [00:03:47]*** step 38: 1611 (1121, 490 REF) [00:03:47]*** step 39: 1572 (1111, 461 REF) [00:03:47]*** step 40: 1534 (1103, 431 REF) [00:03:47]*** step 41: 1497 (1093, 404 REF) [00:03:47]*** step 42: 1462 (1083, 379 REF) [00:03:47]*** step 43: 1428 (1073, 355 REF) [00:03:47]*** step 44: 1396 (1063, 333 REF) [00:03:47]*** step 45: 1365 (1053, 312 REF) [00:03:47]*** step 46: 1334 (1043, 291 REF) [00:03:47]*** step 47: 1305 (1033, 272 REF) [00:03:47]*** step 48: 1277 (1023, 254 REF) [00:03:47]*** step 49: 1250 (1013, 237 REF) [00:03:47]*** step 50: 1224 (990, 234 REF) [00:03:47]*** step 51: 1199 (980, 219 REF) [00:03:47]*** step 52: 1175 (970, 205 REF) [00:03:47]*** step 53: 1152 (960, 192 REF) [00:03:47]*** step 54: 1130 (950, 180 REF) [00:03:47]*** step 55: 1108 (940, 168 REF) [00:03:47]*** step 56: 1088 (930, 158 REF) [00:03:47]*** step 57: 1068 (920, 148 REF) [00:03:47]*** step 58: 1049 (910, 139 REF) [00:03:47]*** step 59: 1030 (900, 130 REF) [00:03:47]*** step 60: 1012 (890, 122 REF) [00:03:47]*** step 61: 995 (880, 115 REF) [00:03:47]*** step 62: 979 (870, 109 REF) [00:03:47]*** step 63: 963 (860, 103 REF) [00:03:47]*** step 64: 948 (850, 98 REF) [00:03:47]*** step 65: 933 (840, 93 REF) [00:03:47]*** step 66: 919 (830, 89 REF) [00:03:47]*** step 67: 905 (820, 85 REF) [00:03:47]*** step 68: 892 (810, 82 REF) [00:03:47]*** step 69: 879 (800, 79 REF) [00:03:47]*** step 70: 867 (790, 77 REF) [00:03:47]*** step 71: 855 (780, 75 REF) [00:03:47]*** step 72: 844 (770, 74 REF) [00:03:47]*** step 73: 833 (760, 73 REF) [00:03:47]*** step 74: 822 (750, 72 REF) [00:03:47]*** step 75: 812 (740, 72 REF) [00:03:47]*** step 76: 803 (730, 73 REF) [00:03:47]*** step 77: 793 (720, 73 REF) [00:03:47]*** step 78: 784 (710, 74 REF) [00:03:47]*** step 79: 776 (700, 76 REF) [00:03:47]*** step 80: 767 (690, 77 REF) [00:03:47]*** step 81: 759 (680, 79 REF) [00:03:47]*** step 82: 751 (670, 81 REF) [00:03:47]*** step 83: 744 (660, 84 REF) [00:03:47]*** step 84: 737 (650, 87 REF) [00:03:47]*** step 85: 730 (640, 90 REF) [00:03:47]*** step 86: 723 (630, 93 REF) [00:03:47]*** step 87: 717 (620, 97 REF) [00:03:47]*** step 88: 710 (610, 100 REF) [00:03:47]*** step 89: 705 (600, 105 REF) [00:03:47]*** step 90: 699 [00:03:47]*** step 91: 693 [00:03:47]*** step 92: 688 [00:03:47]*** step 93: 683 [00:03:47]*** step 94: 678 [00:03:47]*** step 95: 673 [00:03:47]*** step 96: 669 [00:03:47]*** step 97: 664 [00:03:47]*** step 98: 660 [00:03:47]*** step 99: 656 [00:03:47]*** step 100: 652 [00:03:47]*** step 101: 648 [00:03:47]*** step 102: 644 [00:03:47]*** step 103: 641 [00:03:47]*** step 104: 638 [00:03:47]*** step 105: 634 [00:03:47]*** step 106: 631 [00:03:47]*** step 107: 628 [00:03:47]*** step 108: 625 [00:03:47]*** step 109: 622 [00:03:47]*** step 110: 620 [00:03:47]*** step 111: 617 [00:03:47]*** step 112: 615 [00:03:47]*** step 113: 612 [00:03:47]*** step 114: 610 [00:03:47]*** step 115: 608 [00:03:47]*** step 116: 605 [00:03:47]*** step 117: 603 [00:03:47]*** step 118: 601 [00:03:47]*** step 119: 599 [00:03:47]*** printer: Printer HW initialized [00:03:47]*** initSamCard finished [00:03:47]*** RTC: 8462+1696499643=1696508105 [00:03:47]*** BPK Status Register BPK_RDY = 0x0 [00:03:47]*** SEN State Register SEN_STATE = 0xff [00:03:47]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:03:47]*** Analog Control Register 0 SEN_ANA0 = 0x33520623 [00:03:47]*** Is cutter blocked? [00:03:47]MH_GetMetrics [00:03:47]Write to MH i2c: 00 00 00 03 00 02 [00:03:47]Write i2c OK [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: 00 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: 00 29 00 [00:03:47]MH_I2C_Read... [00:03:47]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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 4F [00:03:47]Are we in boot? [00:03:47]We are not in boot now [00:03:47]Write to MH i2c: 01 00 00 04 00 04 [00:03:47]Write i2c OK [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: 01 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: 01 07 00 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:03:47]Model is 3 [00:03:47]MH firmware is 30620 [00:03:47]MH boot firmware is 3 [00:03:47]MH_SetPrinterDots 448 [00:03:47]HeadWidthInBytes 56 [00:03:47]maxmasksize 7 [00:03:47]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:03:47]Write i2c OK [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: D6 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: D6 01 00 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: D6 01 00 05 00 00 DB [00:03:47]Write to MH i2c: D5 00 00 06 00 DA [00:03:47]Write i2c OK [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: D5 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: D5 01 00 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: D5 01 00 06 00 00 DB [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]LoadDictionaryFromArray [00:03:47]Load OK [00:03:47]ExternCall_SetCallbacks [00:03:47]NVStorageInit [00:03:47]No nvstorage dir found. Trying to create it. [00:03:47]Nvstorage dir /storage created. [00:03:47]MH_GetDate [00:03:47]Write to MH i2c: F0 00 00 07 00 F6 [00:03:47]Write i2c OK [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: F0 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: F0 09 00 [00:03:47]MH_I2C_Read... [00:03:47]Read from MH i2c: F0 09 00 07 00 00 CA A8 1E 65 BB 87 1E 65 B9 [12:15:06]Current date/time: 05.10.2023 12:15 [12:15:06]FM_Init [12:15:06]wFMConnect [12:15:06]MH_SAM_On [12:15:06]Write to MH i2c: E0 00 00 08 00 E7 [12:15:06]Write i2c OK [12:15:06]MH_I2C_Read... [12:15:06]*** iso7816_init failed -2820! [12:15:06]Read from MH i2c: E0 [12:15:06]MH_I2C_Read... [12:15:06]Read from MH i2c: E0 05 00 [12:15:06]MH_I2C_Read... [12:15:06]Read from MH i2c: E0 05 00 08 00 10 FC F4 FF FF EA [12:15:06]Error from MH - 10 [12:15:06]No FM detected - please insert FM [12:15:06]DocumentArchiveInit [12:15:06]Start Httpd... [12:15:06]Httpd thread 3067755876 created [12:15:06]Write to MH i2c: 01 00 00 09 00 09 [12:15:06]Write i2c OK [12:15:06]MH_I2C_Read... [12:15:06]Read from MH i2c: 01 [12:15:06]MH_I2C_Read... [12:15:06]Read from MH i2c: 01 07 00 [12:15:06]MH_I2C_Read... [12:15:06]Read from MH i2c: 01 07 00 09 00 00 00 00 00 00 FF 0F 1E [12:15:06]No OFD sender enable setting [12:15:06]MH Int Process started [12:15:06]Allocated Socket 7 [12:15:06]Bind OK [12:15:06]Listen OK [12:15:06]httpd running on port 8080 [12:15:06]Waiting for new connection... [12:15:11]No OFD sender enable setting [12:15:16]No OFD sender enable setting [12:15:21]No OFD sender enable setting [12:15:26]No OFD sender enable setting [12:15:31]No OFD sender enable setting [12:15:36]No OFD sender enable setting [12:15:41]No OFD sender enable setting [12:15:46]No OFD sender enable setting [12:15:51]No OFD sender enable setting [12:15:56]No OFD sender enable setting [12:16:01]No OFD sender enable setting [12:16:06]No OFD sender enable setting [12:16:11]No OFD sender enable setting [12:16:16]No OFD sender enable setting [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]/dev/ttyS4 opened [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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 4E [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:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725A9 (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: 8676+1696499643=1696508319 [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 = 0x33520623 [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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 4F [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: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 A0 A9 1E 65 BB 87 1E 65 90 [12:18:40]Current date/time: 05.10.2023 12:18 [12:18:40]FM_Init [12:18:40]wFMConnect [12:18:40]MH_SAM_On [12:18:40]Write to MH i2c: E0 00 00 08 00 E7 [12:18:40]Write i2c OK [12:18:40]MH_I2C_Read... [12:18:40]*** iso7816_init finished! [12:18:40]*** atr: [12:18:40]*** 0F 3B D5 18 FF 81 91 FE [12:18:40]*** 1F C3 80 73 C8 21 10 0A [12:18:40]*** 00 00 00 00 00 00 00 00 [12:18:40]*** 00 00 00 00 00 00 00 00 [12:18:40]*** 00 00 00 00 00 00 00 00 [12:18:40]*** 00 00 00 00 00 00 00 00 [12:18:40]*** 00 00 00 00 00 00 00 00 [12:18:40]*** 00 00 00 00 00 00 00 00 [12:18:40]Read from MH i2c: E0 [12:18:40]MH_I2C_Read... [12:18:40]Read from MH i2c: E0 10 00 [12:18:40]MH_I2C_Read... [12:18:40]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 [12:18:40]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [12:18:40]wFMCommunicate request_size=10 [12:18:40]MH_SAM_APDU [12:18:40]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [12:18:40]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 4E [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:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725A9 (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: 8714+1696499643=1696508357 [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 = 0x33520623 [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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 4F [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: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 C6 A9 1E 65 BB 87 1E 65 B6 [12:19:18]Current date/time: 05.10.2023 12:19 [12:19:18]FM_Init [12:19:18]wFMConnect [12:19:18]MH_SAM_On [12:19:18]Write to MH i2c: E0 00 00 08 00 E7 [12:19:18]Write i2c OK [12:19:18]MH_I2C_Read... [12:19:18]*** iso7816_init finished! [12:19:18]*** atr: [12:19:18]*** 0F 3B D5 18 FF 81 91 FE [12:19:18]*** 1F C3 80 73 C8 21 10 0A [12:19:18]*** 00 00 00 00 00 00 00 00 [12:19:18]*** 00 00 00 00 00 00 00 00 [12:19:18]*** 00 00 00 00 00 00 00 00 [12:19:18]*** 00 00 00 00 00 00 00 00 [12:19:18]*** 00 00 00 00 00 00 00 00 [12:19:18]*** 00 00 00 00 00 00 00 00 [12:19:18]Read from MH i2c: E0 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E0 10 00 [12:19:18]MH_I2C_Read... [12:19:18]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 [12:19:18]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [12:19:18]wFMCommunicate request_size=10 [12:19:18]MH_SAM_APDU [12:19:18]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [12:19:18]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [12:19:18]Write i2c OK [12:19:18]MH_I2C_Read... [12:19:18]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [12:19:18]Read from MH i2c: E2 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 03 00 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [12:19:18]RAPDU: 90 00 [12:19:18]wFMCommunicate OK [12:19:18]wFMCommunicate request_size=4 [12:19:18]MH_SAM_APDU [12:19:18]CAPDU: 80 11 00 00 [12:19:18]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [12:19:18]Write i2c OK [12:19:18]MH_I2C_Read... [12:19:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:18]Read from MH i2c: E2 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 17 00 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 D1 [12:19:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:19:18]wFMCommunicate OK [12:19:18]Detected FM SN is 0000000000875015 [12:19:18]No stored FM SN - require to set a PIN [12:19:18]DocumentArchiveInit [12:19:18]No OFD sender enable setting [12:19:18]Start Httpd... [12:19:18]Httpd thread 3067657572 created [12:19:18]Write to MH i2c: 01 00 00 0B 00 0B [12:19:18]Write i2c OK [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: 01 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: 01 07 00 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: 01 07 00 0B 00 00 00 00 00 00 FF 0F 20 [12:19:18]Allocated Socket 5 [12:19:18]Bind OK [12:19:18]Listen OK [12:19:18]httpd running on port 8080 [12:19:18]Waiting for new connection... [12:19:18]MH Int Process started [12:19:20]accept exits with 6 [12:19:20]New connection [12:19:20]New thread 3067370852 created [12:19:20]Waiting for new connection... [12:19:20]accept exits with 9 [12:19:20]New connection [12:19:20]New thread 3067227492 created [12:19:20]Waiting for new connection... [12:19:20] Sock 9.Parse request [12:19:20]Sock 9.Check first char [12:19:20] Sock 6.Parse request [12:19:20]Sock 6.Check first char [12:19:20]Sock 6.First char is OK [12:19:20]request: GET / HTTP/1.1 [12:19:20]Method: GET [12:19:20]URL: / [12:19:20]Method is GET - find url and querystring [12:19:20]No ? found - this is static page request [12:19:20]url: / [12:19:20]it is / - use index.html [12:19:20]check /htdocs/index.html [12:19:20]/htdocs/index.html is not found - try internal path [12:19:20]check internal paths [12:19:20]it is / - use index.html [12:19:20]check /index.html [12:19:20]file /index.html not found [12:19:20]check for const files [12:19:20]use const file index.html [12:19:20]serve_const_file [12:19:20]Host: 192.168.0.101:8080 [12:19:20]Connection: keep-alive [12:19:20]Upgrade-Insecure-Requests: 1 [12:19:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:19:20]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.9 [12:19:20]Accept-Encoding: gzip, deflate [12:19:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:19:20] [12:19:20]send headers [12:19:20]send data [12:19:20]Sock 6.Close socket [12:19:20]Sock 6.Thread stoped [12:19:20]Sock 9.First char is OK [12:19:20]accept exits with 10 [12:19:20]request: GET /testengine HTTP/1.1 [12:19:20]New connection [12:19:20]Method: GET [12:19:20]URL: /testengine [12:19:20]Method is GET - find url and querystring [12:19:20]New thread 3067084132 created [12:19:20]No ? found - this is static page request [12:19:20]Thread 3067370852 joined [12:19:20]url: /testengine [12:19:20]Waiting for new connection... [12:19:20]check /htdocs/testengine [12:19:20] Sock 10.Parse request [12:19:20]Sock 10.Check first char [12:19:20]Sock 10.First char is OK [12:19:20]file exist [12:19:20]serve_file /htdocs/testengine/index.html [12:19:20]read remaining request lines [12:19:20]Host: 192.168.0.101:8080 [12:19:20]Connection: keep-alive [12:19:20]Upgrade-Insecure-Requests: 1 [12:19:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:19:20]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.9 [12:19:20]Referer: http://192.168.0.101:8080/ [12:19:20]Accept-Encoding: gzip, deflate [12:19:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:19:20] [12:19:20]open file /htdocs/testengine/index.html [12:19:20]request: GET /favicon.ico HTTP/1.1 [12:19:20]Method: GET [12:19:20]URL: /favicon.ico [12:19:20]Method is GET - find url and querystring [12:19:20]No ? found - this is static page request [12:19:20]url: /favicon.ico [12:19:20]check /htdocs/favicon.ico [12:19:20]/htdocs/favicon.ico is not found - try internal path [12:19:20]check internal paths [12:19:20]check /favicon.ico [12:19:20]file /favicon.ico not found [12:19:20]check for const files [12:19:20]/favicon.ico is not found - try it as cgi [12:19:20]execute_cgi favicon.ico GET [12:19:20]execute_cgi path=favicon.ico method=GET [12:19:20]GET read remaining request [12:19:20]Host: 192.168.0.101:8080 [12:19:20]Connection: keep-alive [12:19:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:19:20]Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 [12:19:20]Referer: http://192.168.0.101:8080/ [12:19:20]Accept-Encoding: gzip, deflate [12:19:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:19:20] [12:19:20]GET finish read [12:19:20]execute_script... [12:19:20]execute_script path=favicon.ico method=GET query_string=(null) [12:19:20]execute_script returns [12:19:20]free content buf [12:19:20]Sock 10.Close socket [12:19:20]Sock 10.Thread stoped [12:19:20]send HTTP headers [12:19:20]send file content [12:19:20]Finished. Sent 1003 bytes [12:19:20]close file [12:19:20]Sock 9.Close socket [12:19:20]Sock 9.Thread stoped [12:19:20]accept exits with 6 [12:19:20]New connection [12:19:20]New thread 3067370852 created [12:19:20]Thread 3067227492 joined [12:19:20]Thread 3067084132 joined [12:19:20]Waiting for new connection... [12:19:20]accept exits with 9 [12:19:20]New connection [12:19:20]New thread 3067227492 created [12:19:20]Waiting for new connection... [12:19:20]accept exits with 10 [12:19:20]New connection [12:19:20]New thread 3067084132 created [12:19:20]Waiting for new connection... [12:19:20]accept exits with 11 [12:19:20]New connection [12:19:20]New thread 3066940772 created [12:19:20]Waiting for new connection... [12:19:20] Sock 11.Parse request [12:19:20]Sock 11.Check first char [12:19:20]Sock 11.First char is OK [12:19:20]request: GET /testengine/js/app.a9c38288.js HTTP/1.1 [12:19:20]Method: GET [12:19:20]URL: /testengine/js/app.a9c38288.js [12:19:20]Method is GET - find url and querystring [12:19:20]No ? found - this is static page request [12:19:20]url: /testengine/js/app.a9c38288.js [12:19:20]check /htdocs/testengine/js/app.a9c38288.js [12:19:20] Sock 10.Parse request [12:19:20]Sock 10.Check first char [12:19:20]Sock 10.First char is OK [12:19:20]request: GET /testengine/js/chunk-vendors.8f546e50.js HTTP/1.1 [12:19:20]Method: GET [12:19:20]URL: /testengine/js/chunk-vendors.8f546e50.js [12:19:20]Method is GET - find url and querystring [12:19:20]No ? found - this is static page request [12:19:20]url: /testengine/js/chunk-vendors.8f546e50.js [12:19:20]check /htdocs/testengine/js/chunk-vendors.8f546e50.js [12:19:20] Sock 6.Parse request [12:19:20]Sock 6.Check first char [12:19:20]Sock 6.First char is OK [12:19:20]request: GET /testengine/css/app.915bc88f.css HTTP/1.1 [12:19:20]Method: GET [12:19:20]URL: /testengine/css/app.915bc88f.css [12:19:20]Method is GET - find url and querystring [12:19:20]No ? found - this is static page request [12:19:20]url: /testengine/css/app.915bc88f.css [12:19:20]check /htdocs/testengine/css/app.915bc88f.css [12:19:20] Sock 9.Parse request [12:19:20]Sock 9.Check first char [12:19:20]Sock 9.First char is OK [12:19:20]file exist [12:19:20]serve_file /htdocs/testengine/js/chunk-vendors.8f546e50.js [12:19:20]request: GET /testengine/css/chunk-vendors.1a13a212.css HTTP/1.1 [12:19:20]read remaining request lines [12:19:20]Method: GET [12:19:20]URL: /testengine/css/chunk-vendors.1a13a212.css [12:19:20]Host: 192.168.0.101:8080 [12:19:20]Method is GET - find url and querystring [12:19:20]No ? found - this is static page request [12:19:20]Connection: keep-alive [12:19:20]url: /testengine/css/chunk-vendors.1a13a212.css [12:19:20]check /htdocs/testengine/css/chunk-vendors.1a13a212.css [12:19:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:19:20]file exist [12:19:20]Accept: */* [12:19:20]Referer: http://192.168.0.101:8080/testengine [12:19:20]serve_file /htdocs/testengine/css/app.915bc88f.css [12:19:20]Accept-Encoding: gzip, deflate [12:19:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:19:20]file exist [12:19:20] [12:19:20]serve_file /htdocs/testengine/css/chunk-vendors.1a13a212.css [12:19:20]open file /htdocs/testengine/js/chunk-vendors.8f546e50.js [12:19:20]read remaining request lines [12:19:20]send HTTP headers [12:19:20]Host: 192.168.0.101:8080 [12:19:20]Connection: keep-alive [12:19:20]send file content [12:19:20]file exist [12:19:20]serve_file /htdocs/testengine/js/app.a9c38288.js [12:19:20]read remaining request lines [12:19:20]Host: 192.168.0.101:8080 [12:19:20]Connection: keep-alive [12:19:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:19:20]Accept: */* [12:19:20]Referer: http://192.168.0.101:8080/testengine [12:19:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:19:20]Accept: text/css,*/*;q=0.1 [12:19:20]Referer: http://192.168.0.101:8080/testengine [12:19:20]Accept-Encoding: gzip, deflate [12:19:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:19:20] [12:19:20]open file /htdocs/testengine/css/chunk-vendors.1a13a212.css [12:19:20]Accept-Encoding: gzip, deflate [12:19:20]send HTTP headers [12:19:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:19:20] [12:19:20]open file /htdocs/testengine/js/app.a9c38288.js [12:19:20]send HTTP headers [12:19:20]send file content [12:19:20]send file content [12:19:20]read remaining request lines [12:19:20]Host: 192.168.0.101:8080 [12:19:20]Connection: keep-alive [12:19:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:19:20]Accept: text/css,*/*;q=0.1 [12:19:20]Referer: http://192.168.0.101:8080/testengine [12:19:20]Accept-Encoding: gzip, deflate [12:19:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:19:20] [12:19:20]open file /htdocs/testengine/css/app.915bc88f.css [12:19:20]send HTTP headers [12:19:20]send file content [12:19:20]Finished. Sent 140 bytes [12:19:20]close file [12:19:20]Sock 9.Close socket [12:19:20]Sock 9.Thread stoped [12:19:20]Finished. Sent 1227 bytes [12:19:20]close file [12:19:20]Sock 6.Close socket [12:19:20]Sock 6.Thread stoped [12:19:20]Finished. Sent 102400 bytes [12:19:20]close file [12:19:20]Sock 11.Close socket [12:19:20]Sock 11.Thread stoped [12:19:20]Finished. Sent 165537 bytes [12:19:20]close file [12:19:20]Sock 10.Close socket [12:19:20]Sock 10.Thread stoped [12:19:20]accept exits with 12 [12:19:20]New connection [12:19:20]New thread 3066797412 created [12:19:20]Thread 3066940772 joined [12:19:20]Thread 3067084132 joined [12:19:20]Thread 3067370852 joined [12:19:20]Thread 3067227492 joined [12:19:20]Waiting for new connection... [12:19:20] Sock 12.Parse request [12:19:20]Sock 12.Check first char [12:19:20]Sock 12.First char is OK [12:19:20]request: GET /testengine/favicon.ico HTTP/1.1 [12:19:20]Method: GET [12:19:20]URL: /testengine/favicon.ico [12:19:20]Method is GET - find url and querystring [12:19:20]No ? found - this is static page request [12:19:20]url: /testengine/favicon.ico [12:19:20]check /htdocs/testengine/favicon.ico [12:19:20]file exist [12:19:20]serve_file /htdocs/testengine/favicon.ico [12:19:20]read remaining request lines [12:19:20]Host: 192.168.0.101:8080 [12:19:20]Connection: keep-alive [12:19:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:19:20]Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 [12:19:20]Referer: http://192.168.0.101:8080/testengine [12:19:20]Accept-Encoding: gzip, deflate [12:19:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:19:20] [12:19:20]open file /htdocs/testengine/favicon.ico [12:19:20]send HTTP headers [12:19:20]send file content [12:19:20]Finished. Sent 4286 bytes [12:19:20]close file [12:19:20]Sock 12.Close socket [12:19:20]Sock 12.Thread stoped [12:19:23]No OFD sender enable setting [12:19:28]No OFD sender enable setting [12:19:33]No OFD sender enable setting [12:19:38]No OFD sender enable setting [12:19:43]No OFD sender enable setting [12:19:48]No OFD sender enable setting [12:19:53]No OFD sender enable setting [12:19:58]No OFD sender enable setting [12:20:03]No OFD sender enable setting [12:20:08]No OFD sender enable setting [12:20:13]No OFD sender enable setting [12:20:18]No OFD sender enable setting [12:20:23]No OFD sender enable setting [12:20:28]No OFD sender enable setting [12:20:33]No OFD sender enable setting [12:20:38]No OFD sender enable setting [12:20:43]No OFD sender enable setting [12:20:48]No OFD sender enable setting [12:20:53]No OFD sender enable setting [12:20:58]No OFD sender enable setting [12:21:03]No OFD sender enable setting [12:21:08]No OFD sender enable setting [12:21:13]No OFD sender enable setting [12:21:17]accept exits with 6 [12:21:17]New connection [12:21:17]New thread 3067370852 created [12:21:17]Thread 3066797412 joined [12:21:17]Waiting for new connection... [12:21:17] Sock 6.Parse request [12:21:17]Sock 6.Check first char [12:21:17]Sock 6.First char is OK [12:21:17]request: POST /json_proto HTTP/1.1 [12:21:17]Method: POST [12:21:17]URL: /json_proto [12:21:17]Method is POST - this is cgi request [12:21:17]url: /json_proto [12:21:17]query_string will be loaded in cgi processing [12:21:17]execute_cgi json_proto POST (null) [12:21:17]execute_cgi path=json_proto method=POST [12:21:17]POST find Content-Length [12:21:17]Host: 192.168.0.101:8080 [12:21:17]Connection: keep-alive [12:21:17]Content-Length: 105 [12:21:17]Accept: application/json, text/plain, */* [12:21:17]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:21:17]Content-Type: application/json [12:21:17]Origin: http://192.168.0.101:8080 [12:21:17]Referer: http://192.168.0.101:8080/testengine [12:21:17]Accept-Encoding: gzip, deflate [12:21:17]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:21:17] [12:21:17]POST finish read [12:21:17]Found Content-Length = 105 [12:21:17]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [12:21:17]execute_script... [12:21:17]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [12:21:17]POST & json_proto [12:21:17]process_json_proto [12:21:17]json parsed OK: [12:21:17]protocol is kg_v1.0 [12:21:17]action value=get_value [12:21:17]process_action get_value [12:21:17]cmd_get_value [12:21:17]process_action get_value done [12:21:17]requested_data is exist [12:21:17]produce_requested_data [12:21:17]requested_item config.timestamp is exist - process it [12:21:17]MH_GetDate [12:21:17]Write to MH i2c: F0 00 00 0C 00 FB [12:21:17]Write i2c OK [12:21:17]MH_I2C_Read... [12:21:17]Read from MH i2c: F0 [12:21:17]MH_I2C_Read... [12:21:17]Read from MH i2c: F0 09 00 [12:21:17]MH_I2C_Read... [12:21:17]Read from MH i2c: F0 09 00 0C 00 00 3E AA 1E 65 BB 87 1E 65 34 [12:21:17]produce_requested_data done [12:21:17]produce_requested_data return {"config.timestamp":"1696508478"} [12:21:17]process_action_free get_value [12:21:17]json_value_free [12:21:17]json_value_free done [12:21:17]process_json_proto returns [12:21:17]Send response to host [12:21:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1696508478"}}} [12:21:17]free response buf [12:21:17]execute_script done [12:21:17]execute_script returns [12:21:17]free content buf [12:21:17]Sock 6.Close socket [12:21:17]Sock 6.Thread stoped [12:21:18]No OFD sender enable setting [12:21:22]accept exits with 9 [12:21:22]New connection [12:21:22]New thread 3067227492 created [12:21:22]Thread 3067370852 joined [12:21:22]Waiting for new connection... [12:21:22] Sock 9.Parse request [12:21:22]Sock 9.Check first char [12:21:22]Sock 9.First char is OK [12:21:22]request: POST /json_proto HTTP/1.1 [12:21:22]Method: POST [12:21:22]URL: /json_proto [12:21:22]Method is POST - this is cgi request [12:21:22]url: /json_proto [12:21:22]query_string will be loaded in cgi processing [12:21:22]execute_cgi json_proto POST (null) [12:21:22]execute_cgi path=json_proto method=POST [12:21:22]POST find Content-Length [12:21:22]Host: 192.168.0.101:8080 [12:21:22]Connection: keep-alive [12:21:22]Content-Length: 113 [12:21:22]Accept: application/json, text/plain, */* [12:21:22]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:21:22]Content-Type: application/json [12:21:22]Origin: http://192.168.0.101:8080 [12:21:22]Referer: http://192.168.0.101:8080/testengine [12:21:22]Accept-Encoding: gzip, deflate [12:21:22]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:21:22] [12:21:22]POST finish read [12:21:22]Found Content-Length = 113 [12:21:22]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1696508487"}}} [12:21:22]execute_script... [12:21:22]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1696508487"}}} [12:21:22]POST & json_proto [12:21:22]process_json_proto [12:21:22]json parsed OK: [12:21:22]protocol is kg_v1.0 [12:21:22]action value=set_value [12:21:22]process_action set_value [12:21:22]cmd_set_value [12:21:22]SetValue [12:21:22]group config [12:21:22]SetConfigValue timestamp=1696508487 [12:21:22]SettingCheckAndSetValue timestamp=1696508487 [12:21:22]store_timestamp [12:21:22]MH_GetDate [12:21:22]Write to MH i2c: F0 00 00 0D 00 FC [12:21:22]Write i2c OK [12:21:22]MH_I2C_Read... [12:21:22]Read from MH i2c: F0 [12:21:22]MH_I2C_Read... [12:21:22]Read from MH i2c: F0 09 00 [12:21:22]MH_I2C_Read... [12:21:22]Read from MH i2c: F0 09 00 0D 00 00 43 AA 1E 65 BB 87 1E 65 3A [12:21:22]GetLastDocTimeStamp 0 [12:21:22]cur date 1696508483 [12:21:22]tm 1696508487 [12:21:22]tm ok - set date [12:21:22]MH_SetDate [12:21:22]Write to MH i2c: F1 04 00 0E 00 47 AA 1E 65 76 [12:21:22]Write i2c OK [12:21:22]MH_I2C_Read... [12:21:22]Read from MH i2c: F1 [12:21:22]MH_I2C_Read... [12:21:22]Read from MH i2c: F1 01 00 [12:21:22]MH_I2C_Read... [12:21:22]Read from MH i2c: F1 01 00 0E 00 00 FF [12:21:27]SetValue res=0 [12:21:27]process_action set_value done [12:21:27]no requested_data - finishing processing [12:21:27]process_action_free set_value [12:21:27]json_value_free [12:21:27]json_value_free done [12:21:27]process_json_proto returns [12:21:27]Send response to host [12:21:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:21:27]free response buf [12:21:27]execute_script done [12:21:27]execute_script returns [12:21:27]free content buf [12:21:27]Sock 9.Close socket [12:21:27]Sock 9.Thread stoped [12:21:27]accept exits with 8 [12:21:27]New connection [12:21:27]New thread 3067370852 created [12:21:27]Thread 3067227492 joined [12:21:27]Waiting for new connection... [12:21:27] Sock 8.Parse request [12:21:27]Sock 8.Check first char [12:21:27]Sock 8.First char is OK [12:21:27]request: POST /json_proto HTTP/1.1 [12:21:27]Method: POST [12:21:27]URL: /json_proto [12:21:27]Method is POST - this is cgi request [12:21:27]url: /json_proto [12:21:27]query_string will be loaded in cgi processing [12:21:27]execute_cgi json_proto POST (null) [12:21:27]execute_cgi path=json_proto method=POST [12:21:27]POST find Content-Length [12:21:27]Host: 192.168.0.101:8080 [12:21:27]Connection: keep-alive [12:21:27]Content-Length: 113 [12:21:27]Accept: application/json, text/plain, */* [12:21:27]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:21:27]Content-Type: application/json [12:21:27]Origin: http://192.168.0.101:8080 [12:21:27]Referer: http://192.168.0.101:8080/testengine [12:21:27]Accept-Encoding: gzip, deflate [12:21:27]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:21:27] [12:21:27]POST finish read [12:21:27]Found Content-Length = 113 [12:21:27]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1696508487"}}} [12:21:27]execute_script... [12:21:27]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1696508487"}}} [12:21:27]POST & json_proto [12:21:27]process_json_proto [12:21:27]json parsed OK: [12:21:27]protocol is kg_v1.0 [12:21:27]action value=set_value [12:21:27]process_action set_value [12:21:27]cmd_set_value [12:21:27]SetValue [12:21:27]group config [12:21:27]SetConfigValue timestamp=1696508487 [12:21:27]SettingCheckAndSetValue timestamp=1696508487 [12:21:27]store_timestamp [12:21:27]MH_GetDate [12:21:27]Write to MH i2c: F0 00 00 0F 00 FE [12:21:27]Write i2c OK [12:21:27]MH_I2C_Read... [12:21:27]Read from MH i2c: F0 [12:21:27]MH_I2C_Read... [12:21:27]Read from MH i2c: F0 09 00 [12:21:27]MH_I2C_Read... [12:21:27]Read from MH i2c: F0 09 00 0F 00 00 47 AA 1E 65 47 AA 1E 65 EF [12:21:27]GetLastDocTimeStamp 0 [12:21:27]cur date 1696508487 [12:21:27]tm 1696508487 [12:21:27]tm ok - set date [12:21:27]MH_SetDate [12:21:27]Write to MH i2c: F1 04 00 10 00 47 AA 1E 65 78 [12:21:27]Write i2c OK [12:21:27]MH_I2C_Read... [12:21:27]Read from MH i2c: F1 [12:21:27]MH_I2C_Read... [12:21:27]Read from MH i2c: F1 01 00 [12:21:27]MH_I2C_Read... [12:21:27]Read from MH i2c: F1 01 00 10 00 00 01 [12:21:27]SetValue res=0 [12:21:27]process_action set_value done [12:21:27]no requested_data - finishing processing [12:21:27]process_action_free set_value [12:21:27]json_value_free [12:21:27]json_value_free done [12:21:27]process_json_proto returns [12:21:27]Send response to host [12:21:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:21:27]free response buf [12:21:27]execute_script done [12:21:27]execute_script returns [12:21:27]free content buf [12:21:27]Sock 8.Close socket [12:21:27]Sock 8.Thread stoped [12:21:27]No OFD sender enable setting [12:21:32]No OFD sender enable setting [12:21:37]No OFD sender enable setting [12:21:42]No OFD sender enable setting [12:21:47]accept exits with 9 [12:21:47]New connection [12:21:47]New thread 3067227492 created [12:21:47]Thread 3067370852 joined [12:21:47]Waiting for new connection... [12:21:47] Sock 9.Parse request [12:21:47]Sock 9.Check first char [12:21:47]Sock 9.First char is OK [12:21:47]request: POST /json_proto HTTP/1.1 [12:21:47]Method: POST [12:21:47]URL: /json_proto [12:21:47]Method is POST - this is cgi request [12:21:47]url: /json_proto [12:21:47]query_string will be loaded in cgi processing [12:21:47]execute_cgi json_proto POST (null) [12:21:47]execute_cgi path=json_proto method=POST [12:21:47]POST find Content-Length [12:21:47]Host: 192.168.0.101:8080 [12:21:47]Connection: keep-alive [12:21:47]Content-Length: 89 [12:21:47]Accept: application/json, text/plain, */* [12:21:47]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:21:47]Content-Type: application/json [12:21:47]Origin: http://192.168.0.101:8080 [12:21:47]Referer: http://192.168.0.101:8080/testengine [12:21:47]Accept-Encoding: gzip, deflate [12:21:47]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:21:47] [12:21:47]POST finish read [12:21:47]Found Content-Length = 89 [12:21:47]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":[""]}} [12:21:47]execute_script... [12:21:47]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":[""]}} [12:21:47]POST & json_proto [12:21:47]process_json_proto [12:21:47]json parsed OK: [12:21:47]protocol is kg_v1.0 [12:21:47]action value=get_value [12:21:47]process_action get_value [12:21:47]cmd_get_value [12:21:47]process_action get_value done [12:21:47]requested_data is exist [12:21:47]produce_requested_data [12:21:47]requested_item not found [12:21:47]produce_requested_data done [12:21:47]produce_requested_data return (null) [12:21:47]process_action_free get_value [12:21:47]json_value_free [12:21:47]json_value_free done [12:21:47]process_json_proto returns [12:21:47]Send response to host [12:21:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:21:47]free response buf [12:21:47]execute_script done [12:21:47]execute_script returns [12:21:47]free content buf [12:21:47]Sock 9.Close socket [12:21:47]Sock 9.Thread stoped [12:21:47]No OFD sender enable setting [12:21:52]No OFD sender enable setting [12:21:57]No OFD sender enable setting [12:21:58]accept exits with 10 [12:21:58]New connection [12:21:58]New thread 3067370852 created [12:21:58]Thread 3067227492 joined [12:21:58]Waiting for new connection... [12:21:58] Sock 10.Parse request [12:21:58]Sock 10.Check first char [12:21:58]Sock 10.First char is OK [12:21:58]request: POST /json_proto HTTP/1.1 [12:21:58]Method: POST [12:21:58]URL: /json_proto [12:21:58]Method is POST - this is cgi request [12:21:58]url: /json_proto [12:21:58]query_string will be loaded in cgi processing [12:21:58]execute_cgi json_proto POST (null) [12:21:58]execute_cgi path=json_proto method=POST [12:21:58]POST find Content-Length [12:21:58]Host: 192.168.0.101:8080 [12:21:58]Connection: keep-alive [12:21:58]Content-Length: 95 [12:21:58]Accept: application/json, text/plain, */* [12:21:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:21:58]Content-Type: application/json [12:21:58]Origin: http://192.168.0.101:8080 [12:21:58]Referer: http://192.168.0.101:8080/testengine [12:21:58]Accept-Encoding: gzip, deflate [12:21:58]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:21:58] [12:21:58]POST finish read [12:21:58]Found Content-Length = 95 [12:21:58]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn"]}} [12:21:58]execute_script... [12:21:58]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn"]}} [12:21:58]POST & json_proto [12:21:58]process_json_proto [12:21:58]json parsed OK: [12:21:58]protocol is kg_v1.0 [12:21:58]action value=get_value [12:21:58]process_action get_value [12:21:58]cmd_get_value [12:21:58]process_action get_value done [12:21:58]requested_data is exist [12:21:58]produce_requested_data [12:21:58]requested_item kkm.sn is exist - process it [12:21:58]produce_requested_data done [12:21:58]produce_requested_data return {"kkm.sn":"0300000176"} [12:21:58]process_action_free get_value [12:21:58]json_value_free [12:21:58]json_value_free done [12:21:58]process_json_proto returns [12:21:58]Send response to host [12:21:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000176"}}} [12:21:58]free response buf [12:21:58]execute_script done [12:21:58]execute_script returns [12:21:58]free content buf [12:21:58]Sock 10.Close socket [12:21:58]Sock 10.Thread stoped [12:22:02]No OFD sender enable setting [12:22:03]accept exits with 8 [12:22:03]New connection [12:22:03]New thread 3067227492 created [12:22:03]Thread 3067370852 joined [12:22:03]Waiting for new connection... [12:22:03] Sock 8.Parse request [12:22:03]Sock 8.Check first char [12:22:03]Sock 8.First char is OK [12:22:03]request: POST /json_proto HTTP/1.1 [12:22:03]Method: POST [12:22:03]URL: /json_proto [12:22:03]Method is POST - this is cgi request [12:22:03]url: /json_proto [12:22:03]query_string will be loaded in cgi processing [12:22:03]execute_cgi json_proto POST (null) [12:22:03]execute_cgi path=json_proto method=POST [12:22:03]POST find Content-Length [12:22:03]Host: 192.168.0.101:8080 [12:22:03]Connection: keep-alive [12:22:03]Content-Length: 96 [12:22:03]Accept: application/json, text/plain, */* [12:22:03]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:22:03]Content-Type: application/json [12:22:03]Origin: http://192.168.0.101:8080 [12:22:03]Referer: http://192.168.0.101:8080/testengine [12:22:03]Accept-Encoding: gzip, deflate [12:22:03]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:22:03] [12:22:03]POST finish read [12:22:03]Found Content-Length = 96 [12:22:03]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.ver"]}} [12:22:03]execute_script... [12:22:03]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.ver"]}} [12:22:03]POST & json_proto [12:22:03]process_json_proto [12:22:03]json parsed OK: [12:22:03]protocol is kg_v1.0 [12:22:03]action value=get_value [12:22:03]process_action get_value [12:22:03]cmd_get_value [12:22:03]process_action get_value done [12:22:03]requested_data is exist [12:22:03]produce_requested_data [12:22:03]requested_item kkm.ver is exist - process it [12:22:03]produce_requested_data done [12:22:03]produce_requested_data return {"kkm.ver":"v1.0"} [12:22:03]process_action_free get_value [12:22:03]json_value_free [12:22:03]json_value_free done [12:22:03]process_json_proto returns [12:22:03]Send response to host [12:22:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.ver":"v1.0"}}} [12:22:03]free response buf [12:22:03]execute_script done [12:22:03]execute_script returns [12:22:03]free content buf [12:22:03]Sock 8.Close socket [12:22:03]Sock 8.Thread stoped [12:22:07]No OFD sender enable setting [12:22:12]No OFD sender enable setting [12:22:17]No OFD sender enable setting [12:22:22]No OFD sender enable setting [12:22:27]No OFD sender enable setting [12:22:28]accept exits with 9 [12:22:28]New connection [12:22:28]New thread 3067370852 created [12:22:28]Thread 3067227492 joined [12:22:28]Waiting for new connection... [12:22:28] Sock 9.Parse request [12:22:28]Sock 9.Check first char [12:22:28]Sock 9.First char is OK [12:22:28]request: POST /json_proto HTTP/1.1 [12:22:28]Method: POST [12:22:28]URL: /json_proto [12:22:28]Method is POST - this is cgi request [12:22:28]url: /json_proto [12:22:28]query_string will be loaded in cgi processing [12:22:28]execute_cgi json_proto POST (null) [12:22:28]execute_cgi path=json_proto method=POST [12:22:28]POST find Content-Length [12:22:28]Host: 192.168.0.101:8080 [12:22:28]Connection: keep-alive [12:22:28]Content-Length: 105 [12:22:28]Accept: application/json, text/plain, */* [12:22:28]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:22:28]Content-Type: application/json [12:22:28]Origin: http://192.168.0.101:8080 [12:22:28]Referer: http://192.168.0.101:8080/testengine [12:22:28]Accept-Encoding: gzip, deflate [12:22:28]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:22:28] [12:22:28]POST finish read [12:22:28]Found Content-Length = 105 [12:22:28]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:28]execute_script... [12:22:28]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:28]POST & json_proto [12:22:28]process_json_proto [12:22:28]json parsed OK: [12:22:28]protocol is kg_v1.0 [12:22:28]action value=set_value [12:22:28]process_action set_value [12:22:28]cmd_set_value [12:22:28]SetValue [12:22:28]group config [12:22:28]SetConfigValue fm_pin=16008 [12:22:28]SettingCheckAndSetValue fm_pin=16008 [12:22:28]wFMCommunicate request_size=4 [12:22:28]MH_SAM_APDU [12:22:28]CAPDU: 80 11 00 00 [12:22:28]Write to MH i2c: E2 08 00 11 00 80 11 00 00 00 00 00 00 8B [12:22:28]Write i2c OK [12:22:28]MH_I2C_Read... [12:22:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:28]Read from MH i2c: E2 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 11 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 D8 [12:22:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:28]wFMCommunicate OK [12:22:28]Detected FM SN is 0000000000875015 [12:22:28]No stored FM SN - require to set a PIN [12:22:28]wFMCommunicate request_size=4 [12:22:28]MH_SAM_APDU [12:22:28]CAPDU: 80 11 00 00 [12:22:28]Write to MH i2c: E2 08 00 12 00 80 11 00 00 00 00 00 00 8C [12:22:28]Write i2c OK [12:22:28]MH_I2C_Read... [12:22:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:28]Read from MH i2c: E2 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 12 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 D9 [12:22:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:28]wFMCommunicate OK [12:22:28]Detected FM SN is 0000000000875015 [12:22:28]NVStorageSaveData config_fm_pin [12:22:28]File name is /storage/config_fm_pin [12:22:28]Write 5 bytes [12:22:28]NVStorageSaveData done [12:22:28]wFMCommunicate request_size=4 [12:22:28]MH_SAM_APDU [12:22:28]CAPDU: 80 11 00 00 [12:22:28]Write to MH i2c: E2 08 00 13 00 80 11 00 00 00 00 00 00 8D [12:22:28]Write i2c OK [12:22:28]MH_I2C_Read... [12:22:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:28]Read from MH i2c: E2 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 13 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 DA [12:22:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:28]wFMCommunicate OK [12:22:28]Detected FM SN is 0000000000875015 [12:22:28]No stored FM SN - require to set a PIN [12:22:28]wFMCommunicate request_size=4 [12:22:28]MH_SAM_APDU [12:22:28]CAPDU: 80 11 00 00 [12:22:28]Write to MH i2c: E2 08 00 14 00 80 11 00 00 00 00 00 00 8E [12:22:28]Write i2c OK [12:22:28]MH_I2C_Read... [12:22:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:28]Read from MH i2c: E2 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 [12:22:28]MH_I2C_Read... [12:22:28]Read from MH i2c: E2 17 00 14 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 DB [12:22:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:28]wFMCommunicate OK [12:22:28]Detected FM SN is 0000000000875015 [12:22:28]NVStorageSaveData config_used_fm [12:22:28]File name is /storage/config_used_fm [12:22:28]Write 16 bytes [12:22:28]NVStorageSaveData done [12:22:28]SetValue res=0 [12:22:28]process_action set_value done [12:22:28]no requested_data - finishing processing [12:22:28]process_action_free set_value [12:22:28]json_value_free [12:22:28]json_value_free done [12:22:28]process_json_proto returns [12:22:28]Send response to host [12:22:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:22:28]free response buf [12:22:28]execute_script done [12:22:28]execute_script returns [12:22:28]free content buf [12:22:28]Sock 9.Close socket [12:22:28]Sock 9.Thread stoped [12:22:32]accept exits with 8 [12:22:32]New connection [12:22:32]New thread 3067227492 created [12:22:32]Thread 3067370852 joined [12:22:32]Waiting for new connection... [12:22:32] Sock 8.Parse request [12:22:32]Sock 8.Check first char [12:22:32]Sock 8.First char is OK [12:22:32]request: POST /json_proto HTTP/1.1 [12:22:32]Method: POST [12:22:32]URL: /json_proto [12:22:32]Method is POST - this is cgi request [12:22:32]url: /json_proto [12:22:32]query_string will be loaded in cgi processing [12:22:32]execute_cgi json_proto POST (null) [12:22:32]execute_cgi path=json_proto method=POST [12:22:32]POST find Content-Length [12:22:32]Host: 192.168.0.101:8080 [12:22:32]Connection: keep-alive [12:22:32]Content-Length: 105 [12:22:32]Accept: application/json, text/plain, */* [12:22:32]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:22:32]Content-Type: application/json [12:22:32]Origin: http://192.168.0.101:8080 [12:22:32]Referer: http://192.168.0.101:8080/testengine [12:22:32]Accept-Encoding: gzip, deflate [12:22:32]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:22:32] [12:22:32]POST finish read [12:22:32]Found Content-Length = 105 [12:22:32]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:32]execute_script... [12:22:32]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:32]POST & json_proto [12:22:32]process_json_proto [12:22:32]json parsed OK: [12:22:32]protocol is kg_v1.0 [12:22:32]action value=set_value [12:22:32]process_action set_value [12:22:32]cmd_set_value [12:22:32]SetValue [12:22:32]group config [12:22:32]SetConfigValue fm_pin=16008 [12:22:32]SettingCheckAndSetValue fm_pin=16008 [12:22:32]wFMCommunicate request_size=4 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 11 00 00 [12:22:32]Write to MH i2c: E2 08 00 15 00 80 11 00 00 00 00 00 00 8F [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 15 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 DC [12:22:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:32]wFMCommunicate OK [12:22:32]Detected FM SN is 0000000000875015 [12:22:32]Stored FM SN is 0000000000875015 [12:22:32]wFMCommunicate request_size=9 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 16 00 00 04 88 3E 00 00 [12:22:32]Write to MH i2c: E2 0C 00 16 00 80 16 00 00 04 00 88 3E 00 00 00 00 63 [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 03 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 03 00 16 00 00 90 00 8A [12:22:32]RAPDU: 90 00 [12:22:32]wFMCommunicate OK [12:22:32]FM PIN OK [12:22:32]wFMCommunicate request_size=8 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 14 04 00 03 02 00 01 [12:22:32]Write to MH i2c: E2 0B 00 17 00 80 14 04 00 03 00 02 00 01 00 00 A1 [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 03 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 03 00 17 00 00 90 00 8B [12:22:32]RAPDU: 90 00 [12:22:32]wFMCommunicate OK [12:22:32]wFMCommunicate request_size=13 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [12:22:32]Write to MH i2c: E2 10 00 18 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 C6 [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 03 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 03 00 18 00 00 90 00 8C [12:22:32]RAPDU: 90 00 [12:22:32]wFMCommunicate OK [12:22:32]wFMCommunicate request_size=4 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 11 00 00 [12:22:32]Write to MH i2c: E2 08 00 19 00 80 11 00 00 00 00 00 00 93 [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 19 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E0 [12:22:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:32]wFMCommunicate OK [12:22:32]wFMCommunicate request_size=4 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 11 00 00 [12:22:32]Write to MH i2c: E2 08 00 1A 00 80 11 00 00 00 00 00 00 94 [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 1A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E1 [12:22:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:32]wFMCommunicate OK [12:22:32]Detected FM SN is 0000000000875015 [12:22:32]NVStorageSaveData config_fm_pin [12:22:32]File name is /storage/config_fm_pin [12:22:32]Write 5 bytes [12:22:32]NVStorageSaveData done [12:22:32]wFMCommunicate request_size=4 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 11 00 00 [12:22:32]Write to MH i2c: E2 08 00 1B 00 80 11 00 00 00 00 00 00 95 [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 1B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E2 [12:22:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:32]wFMCommunicate OK [12:22:32]Detected FM SN is 0000000000875015 [12:22:32]NVStorageSaveData config_used_fm [12:22:32]File name is /storage/config_used_fm [12:22:32]Write 16 bytes [12:22:32]NVStorageSaveData done [12:22:32]SetValue res=0 [12:22:32]process_action set_value done [12:22:32]no requested_data - finishing processing [12:22:32]process_action_free set_value [12:22:32]json_value_free [12:22:32]json_value_free done [12:22:32]process_json_proto returns [12:22:32]Send response to host [12:22:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:22:32]free response buf [12:22:32]execute_script done [12:22:32]execute_script returns [12:22:32]free content buf [12:22:32]Sock 8.Close socket [12:22:32]Sock 8.Thread stoped [12:22:32]No OFD sender enable setting [12:22:32]accept exits with 9 [12:22:32]New connection [12:22:32]New thread 3067370852 created [12:22:32]Thread 3067227492 joined [12:22:32]Waiting for new connection... [12:22:32] Sock 9.Parse request [12:22:32]Sock 9.Check first char [12:22:32]Sock 9.First char is OK [12:22:32]request: POST /json_proto HTTP/1.1 [12:22:32]Method: POST [12:22:32]URL: /json_proto [12:22:32]Method is POST - this is cgi request [12:22:32]url: /json_proto [12:22:32]query_string will be loaded in cgi processing [12:22:32]execute_cgi json_proto POST (null) [12:22:32]execute_cgi path=json_proto method=POST [12:22:32]POST find Content-Length [12:22:32]Host: 192.168.0.101:8080 [12:22:32]Connection: keep-alive [12:22:32]Content-Length: 105 [12:22:32]Accept: application/json, text/plain, */* [12:22:32]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:22:32]Content-Type: application/json [12:22:32]Origin: http://192.168.0.101:8080 [12:22:32]Referer: http://192.168.0.101:8080/testengine [12:22:32]Accept-Encoding: gzip, deflate [12:22:32]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:22:32] [12:22:32]POST finish read [12:22:32]Found Content-Length = 105 [12:22:32]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:32]execute_script... [12:22:32]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:32]POST & json_proto [12:22:32]process_json_proto [12:22:32]json parsed OK: [12:22:32]protocol is kg_v1.0 [12:22:32]action value=set_value [12:22:32]process_action set_value [12:22:32]cmd_set_value [12:22:32]SetValue [12:22:32]group config [12:22:32]SetConfigValue fm_pin=16008 [12:22:32]SettingCheckAndSetValue fm_pin=16008 [12:22:32]wFMCommunicate request_size=4 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 11 00 00 [12:22:32]Write to MH i2c: E2 08 00 1C 00 80 11 00 00 00 00 00 00 96 [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 1C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E3 [12:22:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:32]wFMCommunicate OK [12:22:32]Detected FM SN is 0000000000875015 [12:22:32]NVStorageSaveData config_fm_pin [12:22:32]File name is /storage/config_fm_pin [12:22:32]Write 5 bytes [12:22:32]NVStorageSaveData done [12:22:32]wFMCommunicate request_size=4 [12:22:32]MH_SAM_APDU [12:22:32]CAPDU: 80 11 00 00 [12:22:32]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [12:22:32]Write i2c OK [12:22:32]MH_I2C_Read... [12:22:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:32]Read from MH i2c: E2 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 [12:22:32]MH_I2C_Read... [12:22:32]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E4 [12:22:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:32]wFMCommunicate OK [12:22:32]Detected FM SN is 0000000000875015 [12:22:32]NVStorageSaveData config_used_fm [12:22:32]File name is /storage/config_used_fm [12:22:32]Write 16 bytes [12:22:32]NVStorageSaveData done [12:22:32]SetValue res=0 [12:22:32]process_action set_value done [12:22:32]no requested_data - finishing processing [12:22:32]process_action_free set_value [12:22:32]json_value_free [12:22:32]json_value_free done [12:22:32]process_json_proto returns [12:22:32]Send response to host [12:22:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:22:32]free response buf [12:22:32]execute_script done [12:22:32]execute_script returns [12:22:32]free content buf [12:22:32]Sock 9.Close socket [12:22:32]Sock 9.Thread stoped [12:22:33]accept exits with 8 [12:22:33]New connection [12:22:33]New thread 3067227492 created [12:22:33]Thread 3067370852 joined [12:22:33]Waiting for new connection... [12:22:33] Sock 8.Parse request [12:22:33]Sock 8.Check first char [12:22:33]Sock 8.First char is OK [12:22:33]request: POST /json_proto HTTP/1.1 [12:22:33]Method: POST [12:22:33]URL: /json_proto [12:22:33]Method is POST - this is cgi request [12:22:33]url: /json_proto [12:22:33]query_string will be loaded in cgi processing [12:22:33]execute_cgi json_proto POST (null) [12:22:33]execute_cgi path=json_proto method=POST [12:22:33]POST find Content-Length [12:22:33]Host: 192.168.0.101:8080 [12:22:33]Connection: keep-alive [12:22:33]Content-Length: 105 [12:22:33]Accept: application/json, text/plain, */* [12:22:33]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:22:33]Content-Type: application/json [12:22:33]Origin: http://192.168.0.101:8080 [12:22:33]Referer: http://192.168.0.101:8080/testengine [12:22:33]Accept-Encoding: gzip, deflate [12:22:33]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:22:33] [12:22:33]POST finish read [12:22:33]Found Content-Length = 105 [12:22:33]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:33]execute_script... [12:22:33]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:33]POST & json_proto [12:22:33]process_json_proto [12:22:33]json parsed OK: [12:22:33]protocol is kg_v1.0 [12:22:33]action value=set_value [12:22:33]process_action set_value [12:22:33]cmd_set_value [12:22:33]SetValue [12:22:33]group config [12:22:33]SetConfigValue fm_pin=16008 [12:22:33]SettingCheckAndSetValue fm_pin=16008 [12:22:33]wFMCommunicate request_size=4 [12:22:33]MH_SAM_APDU [12:22:33]CAPDU: 80 11 00 00 [12:22:33]Write to MH i2c: E2 08 00 1E 00 80 11 00 00 00 00 00 00 98 [12:22:33]Write i2c OK [12:22:33]MH_I2C_Read... [12:22:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:33]Read from MH i2c: E2 [12:22:33]MH_I2C_Read... [12:22:33]Read from MH i2c: E2 17 00 [12:22:33]MH_I2C_Read... [12:22:33]Read from MH i2c: E2 17 00 1E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E5 [12:22:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:33]wFMCommunicate OK [12:22:33]Detected FM SN is 0000000000875015 [12:22:33]NVStorageSaveData config_fm_pin [12:22:33]File name is /storage/config_fm_pin [12:22:33]Write 5 bytes [12:22:33]NVStorageSaveData done [12:22:33]wFMCommunicate request_size=4 [12:22:33]MH_SAM_APDU [12:22:33]CAPDU: 80 11 00 00 [12:22:33]Write to MH i2c: E2 08 00 1F 00 80 11 00 00 00 00 00 00 99 [12:22:33]Write i2c OK [12:22:33]MH_I2C_Read... [12:22:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:33]Read from MH i2c: E2 [12:22:33]MH_I2C_Read... [12:22:33]Read from MH i2c: E2 17 00 [12:22:33]MH_I2C_Read... [12:22:33]Read from MH i2c: E2 17 00 1F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E6 [12:22:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:33]wFMCommunicate OK [12:22:33]Detected FM SN is 0000000000875015 [12:22:33]NVStorageSaveData config_used_fm [12:22:33]File name is /storage/config_used_fm [12:22:33]Write 16 bytes [12:22:33]NVStorageSaveData done [12:22:33]SetValue res=0 [12:22:33]process_action set_value done [12:22:33]no requested_data - finishing processing [12:22:33]process_action_free set_value [12:22:33]json_value_free [12:22:33]json_value_free done [12:22:33]process_json_proto returns [12:22:33]Send response to host [12:22:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:22:33]free response buf [12:22:33]execute_script done [12:22:33]execute_script returns [12:22:33]free content buf [12:22:33]Sock 8.Close socket [12:22:33]Sock 8.Thread stoped [12:22:34]accept exits with 9 [12:22:34]New connection [12:22:34]New thread 3067370852 created [12:22:34]Thread 3067227492 joined [12:22:34]Waiting for new connection... [12:22:34] Sock 9.Parse request [12:22:34]Sock 9.Check first char [12:22:34]Sock 9.First char is OK [12:22:34]request: POST /json_proto HTTP/1.1 [12:22:34]Method: POST [12:22:34]URL: /json_proto [12:22:34]Method is POST - this is cgi request [12:22:34]url: /json_proto [12:22:34]query_string will be loaded in cgi processing [12:22:34]execute_cgi json_proto POST (null) [12:22:34]execute_cgi path=json_proto method=POST [12:22:34]POST find Content-Length [12:22:34]Host: 192.168.0.101:8080 [12:22:34]Connection: keep-alive [12:22:34]Content-Length: 102 [12:22:34]Accept: application/json, text/plain, */* [12:22:34]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:22:34]Content-Type: application/json [12:22:34]Origin: http://192.168.0.101:8080 [12:22:34]Referer: http://192.168.0.101:8080/testengine [12:22:34]Accept-Encoding: gzip, deflate [12:22:34]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:22:34] [12:22:34]POST finish read [12:22:34]Found Content-Length = 102 [12:22:34]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.fm_pin"]}} [12:22:34]execute_script... [12:22:34]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.fm_pin"]}} [12:22:34]POST & json_proto [12:22:34]process_json_proto [12:22:34]json parsed OK: [12:22:34]protocol is kg_v1.0 [12:22:34]action value=get_value [12:22:34]process_action get_value [12:22:34]cmd_get_value [12:22:34]process_action get_value done [12:22:34]requested_data is exist [12:22:34]produce_requested_data [12:22:34]requested_item config.fm_pin not found [12:22:34]produce_requested_data done [12:22:34]produce_requested_data return (null) [12:22:34]process_action_free get_value [12:22:34]json_value_free [12:22:34]json_value_free done [12:22:34]process_json_proto returns [12:22:34]Send response to host [12:22:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:22:34]free response buf [12:22:34]execute_script done [12:22:34]execute_script returns [12:22:34]free content buf [12:22:34]Sock 9.Close socket [12:22:34]Sock 9.Thread stoped [12:22:37]No OFD sender enable setting [12:22:42]No OFD sender enable setting [12:22:47]accept exits with 8 [12:22:47]New connection [12:22:47]New thread 3067227492 created [12:22:47]Thread 3067370852 joined [12:22:47]Waiting for new connection... [12:22:47] Sock 8.Parse request [12:22:47]Sock 8.Check first char [12:22:47]Sock 8.First char is OK [12:22:47]request: POST /json_proto HTTP/1.1 [12:22:47]Method: POST [12:22:47]URL: /json_proto [12:22:47]Method is POST - this is cgi request [12:22:47]url: /json_proto [12:22:47]query_string will be loaded in cgi processing [12:22:47]execute_cgi json_proto POST (null) [12:22:47]execute_cgi path=json_proto method=POST [12:22:47]POST find Content-Length [12:22:47]Host: 192.168.0.101:8080 [12:22:47]Connection: keep-alive [12:22:47]Content-Length: 105 [12:22:47]Accept: application/json, text/plain, */* [12:22:47]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:22:47]Content-Type: application/json [12:22:47]Origin: http://192.168.0.101:8080 [12:22:47]Referer: http://192.168.0.101:8080/testengine [12:22:47]Accept-Encoding: gzip, deflate [12:22:47]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:22:47] [12:22:47]POST finish read [12:22:47]Found Content-Length = 105 [12:22:47]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:47]execute_script... [12:22:47]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:47]POST & json_proto [12:22:47]process_json_proto [12:22:47]json parsed OK: [12:22:47]protocol is kg_v1.0 [12:22:47]action value=set_value [12:22:47]process_action set_value [12:22:47]cmd_set_value [12:22:47]SetValue [12:22:47]group config [12:22:47]SetConfigValue fm_pin=16008 [12:22:47]SettingCheckAndSetValue fm_pin=16008 [12:22:47]wFMCommunicate request_size=4 [12:22:47]MH_SAM_APDU [12:22:47]CAPDU: 80 11 00 00 [12:22:47]Write to MH i2c: E2 08 00 20 00 80 11 00 00 00 00 00 00 9A [12:22:47]Write i2c OK [12:22:47]MH_I2C_Read... [12:22:47]No OFD sender enable setting [12:22:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:47]Read from MH i2c: E2 [12:22:47]MH_I2C_Read... [12:22:47]Read from MH i2c: E2 17 00 [12:22:47]MH_I2C_Read... [12:22:47]Read from MH i2c: E2 17 00 20 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E7 [12:22:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:47]wFMCommunicate OK [12:22:47]Detected FM SN is 0000000000875015 [12:22:47]NVStorageSaveData config_fm_pin [12:22:47]File name is /storage/config_fm_pin [12:22:47]Write 5 bytes [12:22:47]NVStorageSaveData done [12:22:47]wFMCommunicate request_size=4 [12:22:47]MH_SAM_APDU [12:22:47]CAPDU: 80 11 00 00 [12:22:47]Write to MH i2c: E2 08 00 21 00 80 11 00 00 00 00 00 00 9B [12:22:47]Write i2c OK [12:22:47]MH_I2C_Read... [12:22:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:47]Read from MH i2c: E2 [12:22:47]MH_I2C_Read... [12:22:47]Read from MH i2c: E2 17 00 [12:22:47]MH_I2C_Read... [12:22:47]Read from MH i2c: E2 17 00 21 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E8 [12:22:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:47]wFMCommunicate OK [12:22:47]Detected FM SN is 0000000000875015 [12:22:47]NVStorageSaveData config_used_fm [12:22:47]File name is /storage/config_used_fm [12:22:47]Write 16 bytes [12:22:47]NVStorageSaveData done [12:22:47]SetValue res=0 [12:22:47]process_action set_value done [12:22:47]no requested_data - finishing processing [12:22:47]process_action_free set_value [12:22:47]json_value_free [12:22:47]json_value_free done [12:22:47]process_json_proto returns [12:22:47]Send response to host [12:22:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:22:47]free response buf [12:22:47]execute_script done [12:22:47]execute_script returns [12:22:47]free content buf [12:22:47]Sock 8.Close socket [12:22:47]Sock 8.Thread stoped [12:22:48]accept exits with 9 [12:22:48]New connection [12:22:48]New thread 3067370852 created [12:22:48]Thread 3067227492 joined [12:22:48]Waiting for new connection... [12:22:48] Sock 9.Parse request [12:22:48]Sock 9.Check first char [12:22:48]Sock 9.First char is OK [12:22:48]request: POST /json_proto HTTP/1.1 [12:22:48]Method: POST [12:22:48]URL: /json_proto [12:22:48]Method is POST - this is cgi request [12:22:48]url: /json_proto [12:22:48]query_string will be loaded in cgi processing [12:22:48]execute_cgi json_proto POST (null) [12:22:48]execute_cgi path=json_proto method=POST [12:22:48]POST find Content-Length [12:22:48]Host: 192.168.0.101:8080 [12:22:48]Connection: keep-alive [12:22:48]Content-Length: 105 [12:22:48]Accept: application/json, text/plain, */* [12:22:48]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:22:48]Content-Type: application/json [12:22:48]Origin: http://192.168.0.101:8080 [12:22:48]Referer: http://192.168.0.101:8080/testengine [12:22:48]Accept-Encoding: gzip, deflate [12:22:48]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:22:48] [12:22:48]POST finish read [12:22:48]Found Content-Length = 105 [12:22:48]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:48]execute_script... [12:22:48]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"16008"}}} [12:22:48]POST & json_proto [12:22:48]process_json_proto [12:22:48]json parsed OK: [12:22:48]protocol is kg_v1.0 [12:22:48]action value=set_value [12:22:48]process_action set_value [12:22:48]cmd_set_value [12:22:48]SetValue [12:22:48]group config [12:22:48]SetConfigValue fm_pin=16008 [12:22:48]SettingCheckAndSetValue fm_pin=16008 [12:22:48]wFMCommunicate request_size=4 [12:22:48]MH_SAM_APDU [12:22:48]CAPDU: 80 11 00 00 [12:22:48]Write to MH i2c: E2 08 00 22 00 80 11 00 00 00 00 00 00 9C [12:22:48]Write i2c OK [12:22:48]MH_I2C_Read... [12:22:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:48]Read from MH i2c: E2 [12:22:48]MH_I2C_Read... [12:22:48]Read from MH i2c: E2 17 00 [12:22:48]MH_I2C_Read... [12:22:48]Read from MH i2c: E2 17 00 22 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 E9 [12:22:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:48]wFMCommunicate OK [12:22:48]Detected FM SN is 0000000000875015 [12:22:48]NVStorageSaveData config_fm_pin [12:22:48]File name is /storage/config_fm_pin [12:22:48]Write 5 bytes [12:22:48]NVStorageSaveData done [12:22:48]wFMCommunicate request_size=4 [12:22:48]MH_SAM_APDU [12:22:48]CAPDU: 80 11 00 00 [12:22:48]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [12:22:48]Write i2c OK [12:22:48]MH_I2C_Read... [12:22:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:48]Read from MH i2c: E2 [12:22:48]MH_I2C_Read... [12:22:48]Read from MH i2c: E2 17 00 [12:22:48]MH_I2C_Read... [12:22:48]Read from MH i2c: E2 17 00 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 EA [12:22:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 31 35 90 00 [12:22:48]wFMCommunicate OK [12:22:48]Detected FM SN is 0000000000875015 [12:22:48]NVStorageSaveData config_used_fm [12:22:48]File name is /storage/config_used_fm [12:22:48]Write 16 bytes [12:22:48]NVStorageSaveData done [12:22:48]SetValue res=0 [12:22:48]process_action set_value done [12:22:48]no requested_data - finishing processing [12:22:48]process_action_free set_value [12:22:48]json_value_free [12:22:48]json_value_free done [12:22:48]process_json_proto returns [12:22:48]Send response to host [12:22:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:22:48]free response buf [12:22:48]execute_script done [12:22:48]execute_script returns [12:22:48]free content buf [12:22:48]Sock 9.Close socket [12:22:48]Sock 9.Thread stoped [12:22:52]No OFD sender enable setting [12:22:57]No OFD sender enable setting [12:23:02]No OFD sender enable setting [12:23:07]No OFD sender enable setting [12:23:11]accept exits with 8 [12:23:11]New connection [12:23:11]New thread 3067227492 created [12:23:11]Thread 3067370852 joined [12:23:11]Waiting for new connection... [12:23:11] Sock 8.Parse request [12:23:11]Sock 8.Check first char [12:23:11]Sock 8.First char is OK [12:23:11]request: POST /json_proto HTTP/1.1 [12:23:11]Method: POST [12:23:11]URL: /json_proto [12:23:11]Method is POST - this is cgi request [12:23:11]url: /json_proto [12:23:11]query_string will be loaded in cgi processing [12:23:11]execute_cgi json_proto POST (null) [12:23:11]execute_cgi path=json_proto method=POST [12:23:11]POST find Content-Length [12:23:11]Host: 192.168.0.101:8080 [12:23:11]Connection: keep-alive [12:23:11]Content-Length: 113 [12:23:11]Accept: application/json, text/plain, */* [12:23:11]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:23:11]Content-Type: application/json [12:23:11]Origin: http://192.168.0.101:8080 [12:23:11]Referer: http://192.168.0.101:8080/testengine [12:23:11]Accept-Encoding: gzip, deflate [12:23:11]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:23:11] [12:23:11]POST finish read [12:23:11]Found Content-Length = 113 [12:23:11]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [12:23:11]execute_script... [12:23:11]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"}}} [12:23:11]POST & json_proto [12:23:11]process_json_proto [12:23:11]json parsed OK: [12:23:11]protocol is kg_v1.0 [12:23:11]action value=set_value [12:23:11]process_action set_value [12:23:11]cmd_set_value [12:23:11]SetValue [12:23:11]group config [12:23:11]SetConfigValue ofd_host=lk.salyk.kg [12:23:11]SettingCheckAndSetValue ofd_host=lk.salyk.kg [12:23:11]NVStorageSaveData config_ofd_host [12:23:11]File name is /storage/config_ofd_host [12:23:11]Write 11 bytes [12:23:11]NVStorageSaveData done [12:23:11]SetValue res=0 [12:23:11]process_action set_value done [12:23:11]no requested_data - finishing processing [12:23:11]process_action_free set_value [12:23:11]json_value_free [12:23:11]json_value_free done [12:23:11]process_json_proto returns [12:23:11]Send response to host [12:23:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:23:11]free response buf [12:23:11]execute_script done [12:23:11]execute_script returns [12:23:11]free content buf [12:23:11]Sock 8.Close socket [12:23:11]Sock 8.Thread stoped [12:23:12]accept exits with 9 [12:23:12]New connection [12:23:12]New thread 3067370852 created [12:23:12]Thread 3067227492 joined [12:23:12]Waiting for new connection... [12:23:12] Sock 9.Parse request [12:23:12]Sock 9.Check first char [12:23:12]Sock 9.First char is OK [12:23:12]request: POST /json_proto HTTP/1.1 [12:23:12]Method: POST [12:23:12]URL: /json_proto [12:23:12]Method is POST - this is cgi request [12:23:12]url: /json_proto [12:23:12]query_string will be loaded in cgi processing [12:23:12]execute_cgi json_proto POST (null) [12:23:12]execute_cgi path=json_proto method=POST [12:23:12]POST find Content-Length [12:23:12]Host: 192.168.0.101:8080 [12:23:12]Connection: keep-alive [12:23:12]Content-Length: 113 [12:23:12]Accept: application/json, text/plain, */* [12:23:12]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:23:12]Content-Type: application/json [12:23:12]Origin: http://192.168.0.101:8080 [12:23:12]Referer: http://192.168.0.101:8080/testengine [12:23:12]Accept-Encoding: gzip, deflate [12:23:12]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:23:12] [12:23:12]POST finish read [12:23:12]Found Content-Length = 113 [12:23:12]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [12:23:12]execute_script... [12:23:12]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"}}} [12:23:12]POST & json_proto [12:23:12]process_json_proto [12:23:12]json parsed OK: [12:23:12]protocol is kg_v1.0 [12:23:12]action value=set_value [12:23:12]process_action set_value [12:23:12]cmd_set_value [12:23:12]SetValue [12:23:12]group config [12:23:12]SetConfigValue ofd_host=lk.salyk.kg [12:23:12]SettingCheckAndSetValue ofd_host=lk.salyk.kg [12:23:12]NVStorageSaveData config_ofd_host [12:23:12]File name is /storage/config_ofd_host [12:23:12]Write 11 bytes [12:23:12]NVStorageSaveData done [12:23:12]SetValue res=0 [12:23:12]process_action set_value done [12:23:12]no requested_data - finishing processing [12:23:12]process_action_free set_value [12:23:12]json_value_free [12:23:12]json_value_free done [12:23:12]process_json_proto returns [12:23:12]Send response to host [12:23:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:23:12]free response buf [12:23:12]execute_script done [12:23:12]execute_script returns [12:23:12]free content buf [12:23:12]Sock 9.Close socket [12:23:12]Sock 9.Thread stoped [12:23:12]No OFD sender enable setting [12:23:17]No OFD sender enable setting [12:23:22]No OFD sender enable setting [12:23:27]No OFD sender enable setting [12:23:32]No OFD sender enable setting [12:23:33]accept exits with 8 [12:23:33]New connection [12:23:33]New thread 3067227492 created [12:23:33]Thread 3067370852 joined [12:23:33]Waiting for new connection... [12:23:33] Sock 8.Parse request [12:23:33]Sock 8.Check first char [12:23:33]Sock 8.First char is OK [12:23:33]request: POST /json_proto HTTP/1.1 [12:23:33]Method: POST [12:23:33]URL: /json_proto [12:23:33]Method is POST - this is cgi request [12:23:33]url: /json_proto [12:23:33]query_string will be loaded in cgi processing [12:23:33]execute_cgi json_proto POST (null) [12:23:33]execute_cgi path=json_proto method=POST [12:23:33]POST find Content-Length [12:23:33]Host: 192.168.0.101:8080 [12:23:33]Connection: keep-alive [12:23:33]Content-Length: 107 [12:23:33]Accept: application/json, text/plain, */* [12:23:33]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:23:33]Content-Type: application/json [12:23:33]Origin: http://192.168.0.101:8080 [12:23:33]Referer: http://192.168.0.101:8080/testengine [12:23:33]Accept-Encoding: gzip, deflate [12:23:33]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:23:33] [12:23:33]POST finish read [12:23:33]Found Content-Length = 107 [12:23:33]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [12:23:33]execute_script... [12:23:33]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [12:23:33]POST & json_proto [12:23:33]process_json_proto [12:23:33]json parsed OK: [12:23:33]protocol is kg_v1.0 [12:23:33]action value=set_value [12:23:33]process_action set_value [12:23:33]cmd_set_value [12:23:33]SetValue [12:23:33]group config [12:23:33]SetConfigValue ofd_port=30040 [12:23:33]SettingCheckAndSetValue ofd_port=30040 [12:23:33]NVStorageSaveData config_ofd_port [12:23:33]File name is /storage/config_ofd_port [12:23:33]Write 5 bytes [12:23:33]NVStorageSaveData done [12:23:33]SetValue res=0 [12:23:33]process_action set_value done [12:23:33]no requested_data - finishing processing [12:23:33]process_action_free set_value [12:23:33]json_value_free [12:23:33]json_value_free done [12:23:33]process_json_proto returns [12:23:33]Send response to host [12:23:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:23:33]free response buf [12:23:33]execute_script done [12:23:33]execute_script returns [12:23:33]free content buf [12:23:33]Sock 8.Close socket [12:23:33]Sock 8.Thread stoped [12:23:34]accept exits with 9 [12:23:34]New connection [12:23:34]New thread 3067370852 created [12:23:34]Thread 3067227492 joined [12:23:34]Waiting for new connection... [12:23:34] Sock 9.Parse request [12:23:34]Sock 9.Check first char [12:23:34]Sock 9.First char is OK [12:23:34]request: POST /json_proto HTTP/1.1 [12:23:34]Method: POST [12:23:34]URL: /json_proto [12:23:34]Method is POST - this is cgi request [12:23:34]url: /json_proto [12:23:34]query_string will be loaded in cgi processing [12:23:34]execute_cgi json_proto POST (null) [12:23:34]execute_cgi path=json_proto method=POST [12:23:34]POST find Content-Length [12:23:34]Host: 192.168.0.101:8080 [12:23:34]Connection: keep-alive [12:23:34]Content-Length: 107 [12:23:34]Accept: application/json, text/plain, */* [12:23:34]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:23:34]Content-Type: application/json [12:23:34]Origin: http://192.168.0.101:8080 [12:23:34]Referer: http://192.168.0.101:8080/testengine [12:23:34]Accept-Encoding: gzip, deflate [12:23:34]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:23:34] [12:23:34]POST finish read [12:23:34]Found Content-Length = 107 [12:23:34]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [12:23:34]execute_script... [12:23:34]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [12:23:34]POST & json_proto [12:23:34]process_json_proto [12:23:34]json parsed OK: [12:23:34]protocol is kg_v1.0 [12:23:34]action value=set_value [12:23:34]process_action set_value [12:23:34]cmd_set_value [12:23:34]SetValue [12:23:34]group config [12:23:34]SetConfigValue ofd_port=30040 [12:23:34]SettingCheckAndSetValue ofd_port=30040 [12:23:34]NVStorageSaveData config_ofd_port [12:23:34]File name is /storage/config_ofd_port [12:23:34]Write 5 bytes [12:23:34]NVStorageSaveData done [12:23:34]SetValue res=0 [12:23:34]process_action set_value done [12:23:34]no requested_data - finishing processing [12:23:34]process_action_free set_value [12:23:34]json_value_free [12:23:34]json_value_free done [12:23:34]process_json_proto returns [12:23:34]Send response to host [12:23:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:23:34]free response buf [12:23:34]execute_script done [12:23:34]execute_script returns [12:23:34]free content buf [12:23:34]Sock 9.Close socket [12:23:34]Sock 9.Thread stoped [12:23:37]No OFD sender enable setting [12:23:42]No OFD sender enable setting [12:23:47]No OFD sender enable setting [12:23:49]accept exits with 8 [12:23:49]New connection [12:23:49]New thread 3067227492 created [12:23:49]Thread 3067370852 joined [12:23:49]Waiting for new connection... [12:23:49] Sock 8.Parse request [12:23:49]Sock 8.Check first char [12:23:49]Sock 8.First char is OK [12:23:49]request: POST /json_proto HTTP/1.1 [12:23:49]Method: POST [12:23:49]URL: /json_proto [12:23:49]Method is POST - this is cgi request [12:23:49]url: /json_proto [12:23:49]query_string will be loaded in cgi processing [12:23:49]execute_cgi json_proto POST (null) [12:23:49]execute_cgi path=json_proto method=POST [12:23:49]POST find Content-Length [12:23:49]Host: 192.168.0.101:8080 [12:23:49]Connection: keep-alive [12:23:49]Content-Length: 110 [12:23:49]Accept: application/json, text/plain, */* [12:23:49]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:23:49]Content-Type: application/json [12:23:49]Origin: http://192.168.0.101:8080 [12:23:49]Referer: http://192.168.0.101:8080/testengine [12:23:49]Accept-Encoding: gzip, deflate [12:23:49]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:23:49] [12:23:49]POST finish read [12:23:49]Found Content-Length = 110 [12:23:49]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [12:23:49]execute_script... [12:23:49]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"}}} [12:23:49]POST & json_proto [12:23:49]process_json_proto [12:23:49]json parsed OK: [12:23:49]protocol is kg_v1.0 [12:23:49]action value=set_value [12:23:49]process_action set_value [12:23:49]cmd_set_value [12:23:49]SetValue [12:23:49]group config [12:23:49]SetConfigValue ofd_send_enable=1 [12:23:49]SettingCheckAndSetValue ofd_send_enable=1 [12:23:49]NVStorageSaveData config_ofd_send_enable [12:23:49]File name is /storage/config_ofd_send_enable [12:23:49]Write 1 bytes [12:23:49]NVStorageSaveData done [12:23:49]SetValue res=0 [12:23:49]process_action set_value done [12:23:49]no requested_data - finishing processing [12:23:49]process_action_free set_value [12:23:49]json_value_free [12:23:49]json_value_free done [12:23:49]process_json_proto returns [12:23:49]Send response to host [12:23:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:23:49]free response buf [12:23:49]execute_script done [12:23:49]execute_script returns [12:23:49]free content buf [12:23:49]Sock 8.Close socket [12:23:49]Sock 8.Thread stoped [12:23:49]accept exits with 9 [12:23:49]New connection [12:23:49]New thread 3067370852 created [12:23:49]Thread 3067227492 joined [12:23:49]Waiting for new connection... [12:23:49] Sock 9.Parse request [12:23:49]Sock 9.Check first char [12:23:49]Sock 9.First char is OK [12:23:49]request: POST /json_proto HTTP/1.1 [12:23:49]Method: POST [12:23:49]URL: /json_proto [12:23:49]Method is POST - this is cgi request [12:23:49]url: /json_proto [12:23:49]query_string will be loaded in cgi processing [12:23:49]execute_cgi json_proto POST (null) [12:23:49]execute_cgi path=json_proto method=POST [12:23:49]POST find Content-Length [12:23:49]Host: 192.168.0.101:8080 [12:23:49]Connection: keep-alive [12:23:49]Content-Length: 110 [12:23:49]Accept: application/json, text/plain, */* [12:23:49]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:23:49]Content-Type: application/json [12:23:49]Origin: http://192.168.0.101:8080 [12:23:49]Referer: http://192.168.0.101:8080/testengine [12:23:49]Accept-Encoding: gzip, deflate [12:23:49]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:23:49] [12:23:49]POST finish read [12:23:49]Found Content-Length = 110 [12:23:49]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [12:23:49]execute_script... [12:23:49]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"}}} [12:23:49]POST & json_proto [12:23:49]process_json_proto [12:23:49]json parsed OK: [12:23:49]protocol is kg_v1.0 [12:23:49]action value=set_value [12:23:49]process_action set_value [12:23:49]cmd_set_value [12:23:49]SetValue [12:23:49]group config [12:23:49]SetConfigValue ofd_send_enable=1 [12:23:49]SettingCheckAndSetValue ofd_send_enable=1 [12:23:49]NVStorageSaveData config_ofd_send_enable [12:23:49]File name is /storage/config_ofd_send_enable [12:23:49]Write 1 bytes [12:23:49]NVStorageSaveData done [12:23:49]SetValue res=0 [12:23:49]process_action set_value done [12:23:49]no requested_data - finishing processing [12:23:49]process_action_free set_value [12:23:49]json_value_free [12:23:49]json_value_free done [12:23:49]process_json_proto returns [12:23:49]Send response to host [12:23:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:23:49]free response buf [12:23:49]execute_script done [12:23:49]execute_script returns [12:23:49]free content buf [12:23:49]Sock 9.Close socket [12:23:49]Sock 9.Thread stoped [12:23:52]OFD Sender: No OFD packet to send [12:23:57]OFD Sender: No OFD packet to send [12:24:02]OFD Sender: No OFD packet to send [12:24:07]OFD Sender: No OFD packet to send [12:24:12]OFD Sender: No OFD packet to send [12:24:17]OFD Sender: No OFD packet to send [12:24:22]OFD Sender: No OFD packet to send [12:24:27]OFD Sender: No OFD packet to send [12:24:32]OFD Sender: No OFD packet to send [12:24:37]OFD Sender: No OFD packet to send [12:24:42]OFD Sender: No OFD packet to send [12:24:47]OFD Sender: No OFD packet to send [12:24:52]OFD Sender: No OFD packet to send [12:24:57]OFD Sender: No OFD packet to send [12:25:02]OFD Sender: No OFD packet to send [12:25:07]OFD Sender: No OFD packet to send [12:25:12]OFD Sender: No OFD packet to send [12:25:17]OFD Sender: No OFD packet to send [12:25:22]OFD Sender: No OFD packet to send [12:25:27]OFD Sender: No OFD packet to send [12:25:32]OFD Sender: No OFD packet to send [12:25:37]OFD Sender: No OFD packet to send [12:25:42]OFD Sender: No OFD packet to send [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26:02]OFD Sender: No OFD packet to send [12:26:07]OFD Sender: No OFD packet to send [12:26:12]OFD Sender: No OFD packet to send [12:26:17]OFD Sender: No OFD packet to send [12:26:22]OFD Sender: No OFD packet to send [12:26:27]OFD Sender: No OFD packet to send [12:26:32]OFD Sender: No OFD packet to send [12:26:37]OFD Sender: No OFD packet to send [12:26:42]OFD Sender: No OFD packet to send [12:26:47]OFD Sender: No OFD packet to send [12:26:52]OFD Sender: No OFD packet to send [12:26:57]OFD Sender: No OFD packet to send [12:27:02]OFD Sender: No OFD packet to send [12:27:07]OFD Sender: No OFD packet to send [12:27:12]OFD Sender: No OFD packet to send [12:27:17]OFD Sender: No OFD packet to send [12:27:22]OFD Sender: No OFD packet to send [12:27:27]OFD Sender: No OFD packet to send [12:27:32]OFD Sender: No OFD packet to send [12:27:37]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:57]accept exits with 8 [12:28:57]New connection [12:28:57]New thread 3067227492 created [12:28:57]Thread 3067370852 joined [12:28:57]Waiting for new connection... [12:28:57] Sock 8.Parse request [12:28:57]Sock 8.Check first char [12:28:57]Sock 8.First char is OK [12:28:57]request: POST /json_proto HTTP/1.1 [12:28:57]Method: POST [12:28:57]URL: /json_proto [12:28:57]Method is POST - this is cgi request [12:28:57]url: /json_proto [12:28:57]query_string will be loaded in cgi processing [12:28:57]execute_cgi json_proto POST (null) [12:28:57]execute_cgi path=json_proto method=POST [12:28:57]POST find Content-Length [12:28:57]Host: 192.168.0.101:8080 [12:28:57]Connection: keep-alive [12:28:57]Content-Length: 159 [12:28:57]Accept: application/json, text/plain, */* [12:28:57]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:28:57]Content-Type: application/json [12:28:57]Origin: http://192.168.0.101:8080 [12:28:57]Referer: http://192.168.0.101:8080/testengine [12:28:57]Accept-Encoding: gzip, deflate [12:28:57]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:28:57] [12:28:57]POST finish read [12:28:57]Found Content-Length = 159 [12:28:57]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:57]execute_script... [12:28:57]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:57]POST & json_proto [12:28:57]process_json_proto [12:28:57]json parsed OK: [12:28:57]protocol is kg_v1.0 [12:28:57]action value=set_value [12:28:57]process_action set_value [12:28:57]cmd_set_value [12:28:57]SetValue [12:28:57]group config [12:28:57]SetConfigValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:57]SettingCheckAndSetValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:57]NVStorageSaveData config_qr_uri [12:28:57]File name is /storage/config_qr_uri [12:28:57]Write 59 bytes [12:28:57]NVStorageSaveData done [12:28:57]SetValue res=0 [12:28:57]process_action set_value done [12:28:57]no requested_data - finishing processing [12:28:57]process_action_free set_value [12:28:57]json_value_free [12:28:57]json_value_free done [12:28:57]process_json_proto returns [12:28:57]Send response to host [12:28:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:28:57]free response buf [12:28:57]execute_script done [12:28:57]execute_script returns [12:28:57]free content buf [12:28:57]Sock 8.Close socket [12:28:57]Sock 8.Thread stoped [12:28:57]OFD Sender: No OFD packet to send [12:28:58]accept exits with 9 [12:28:58]New connection [12:28:58]New thread 3067370852 created [12:28:58]Thread 3067227492 joined [12:28:58]Waiting for new connection... [12:28:58] Sock 9.Parse request [12:28:58]Sock 9.Check first char [12:28:58]Sock 9.First char is OK [12:28:58]request: POST /json_proto HTTP/1.1 [12:28:58]Method: POST [12:28:58]URL: /json_proto [12:28:58]Method is POST - this is cgi request [12:28:58]url: /json_proto [12:28:58]query_string will be loaded in cgi processing [12:28:58]execute_cgi json_proto POST (null) [12:28:58]execute_cgi path=json_proto method=POST [12:28:58]POST find Content-Length [12:28:58]Host: 192.168.0.101:8080 [12:28:58]Connection: keep-alive [12:28:58]Content-Length: 159 [12:28:58]Accept: application/json, text/plain, */* [12:28:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:28:58]Content-Type: application/json [12:28:58]Origin: http://192.168.0.101:8080 [12:28:58]Referer: http://192.168.0.101:8080/testengine [12:28:58]Accept-Encoding: gzip, deflate [12:28:58]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:28:58] [12:28:58]POST finish read [12:28:58]Found Content-Length = 159 [12:28:58]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:58]execute_script... [12:28:58]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:58]POST & json_proto [12:28:58]process_json_proto [12:28:58]json parsed OK: [12:28:58]protocol is kg_v1.0 [12:28:58]action value=set_value [12:28:58]process_action set_value [12:28:58]cmd_set_value [12:28:58]SetValue [12:28:58]group config [12:28:58]SetConfigValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:58]SettingCheckAndSetValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:58]NVStorageSaveData config_qr_uri [12:28:58]File name is /storage/config_qr_uri [12:28:58]Write 59 bytes [12:28:58]NVStorageSaveData done [12:28:58]SetValue res=0 [12:28:58]process_action set_value done [12:28:58]no requested_data - finishing processing [12:28:58]process_action_free set_value [12:28:58]json_value_free [12:28:58]json_value_free done [12:28:58]process_json_proto returns [12:28:58]Send response to host [12:28:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:28:58]free response buf [12:28:58]execute_script done [12:28:58]execute_script returns [12:28:58]free content buf [12:28:58]Sock 9.Close socket [12:28:58]Sock 9.Thread stoped [12:28:58]accept exits with 8 [12:28:58]New connection [12:28:58]New thread 3067227492 created [12:28:58]Thread 3067370852 joined [12:28:58]Waiting for new connection... [12:28:58] Sock 8.Parse request [12:28:58]Sock 8.Check first char [12:28:58]Sock 8.First char is OK [12:28:58]request: POST /json_proto HTTP/1.1 [12:28:58]Method: POST [12:28:58]URL: /json_proto [12:28:58]Method is POST - this is cgi request [12:28:58]url: /json_proto [12:28:58]query_string will be loaded in cgi processing [12:28:58]execute_cgi json_proto POST (null) [12:28:58]execute_cgi path=json_proto method=POST [12:28:58]POST find Content-Length [12:28:58]Host: 192.168.0.101:8080 [12:28:58]Connection: keep-alive [12:28:58]Content-Length: 159 [12:28:58]Accept: application/json, text/plain, */* [12:28:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:28:58]Content-Type: application/json [12:28:58]Origin: http://192.168.0.101:8080 [12:28:58]Referer: http://192.168.0.101:8080/testengine [12:28:58]Accept-Encoding: gzip, deflate [12:28:58]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:28:58] [12:28:58]POST finish read [12:28:58]Found Content-Length = 159 [12:28:58]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:58]execute_script... [12:28:58]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:58]POST & json_proto [12:28:58]process_json_proto [12:28:58]json parsed OK: [12:28:58]protocol is kg_v1.0 [12:28:58]action value=set_value [12:28:58]process_action set_value [12:28:58]cmd_set_value [12:28:58]SetValue [12:28:58]group config [12:28:58]SetConfigValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:58]SettingCheckAndSetValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:58]NVStorageSaveData config_qr_uri [12:28:58]File name is /storage/config_qr_uri [12:28:58]Write 59 bytes [12:28:58]NVStorageSaveData done [12:28:58]SetValue res=0 [12:28:58]process_action set_value done [12:28:58]no requested_data - finishing processing [12:28:58]process_action_free set_value [12:28:58]json_value_free [12:28:58]json_value_free done [12:28:58]process_json_proto returns [12:28:58]Send response to host [12:28:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:28:58]free response buf [12:28:58]execute_script done [12:28:58]execute_script returns [12:28:58]free content buf [12:28:58]Sock 8.Close socket [12:28:58]Sock 8.Thread stoped [12:28:58]accept exits with 9 [12:28:58]New connection [12:28:58]New thread 3067370852 created [12:28:58]Thread 3067227492 joined [12:28:58]Waiting for new connection... [12:28:58] Sock 9.Parse request [12:28:58]Sock 9.Check first char [12:28:58]Sock 9.First char is OK [12:28:58]request: POST /json_proto HTTP/1.1 [12:28:58]Method: POST [12:28:58]URL: /json_proto [12:28:58]Method is POST - this is cgi request [12:28:58]url: /json_proto [12:28:58]query_string will be loaded in cgi processing [12:28:58]execute_cgi json_proto POST (null) [12:28:58]execute_cgi path=json_proto method=POST [12:28:58]POST find Content-Length [12:28:58]Host: 192.168.0.101:8080 [12:28:58]Connection: keep-alive [12:28:58]Content-Length: 159 [12:28:58]Accept: application/json, text/plain, */* [12:28:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:28:58]Content-Type: application/json [12:28:58]Origin: http://192.168.0.101:8080 [12:28:58]Referer: http://192.168.0.101:8080/testengine [12:28:58]Accept-Encoding: gzip, deflate [12:28:58]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:28:58] [12:28:58]POST finish read [12:28:58]Found Content-Length = 159 [12:28:58]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:58]execute_script... [12:28:58]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:58]POST & json_proto [12:28:58]process_json_proto [12:28:58]json parsed OK: [12:28:58]protocol is kg_v1.0 [12:28:58]action value=set_value [12:28:58]process_action set_value [12:28:58]cmd_set_value [12:28:58]SetValue [12:28:58]group config [12:28:58]SetConfigValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:58]SettingCheckAndSetValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:58]NVStorageSaveData config_qr_uri [12:28:58]File name is /storage/config_qr_uri [12:28:58]Write 59 bytes [12:28:58]NVStorageSaveData done [12:28:58]SetValue res=0 [12:28:58]process_action set_value done [12:28:58]no requested_data - finishing processing [12:28:58]process_action_free set_value [12:28:58]json_value_free [12:28:58]json_value_free done [12:28:58]process_json_proto returns [12:28:58]Send response to host [12:28:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:28:58]free response buf [12:28:58]execute_script done [12:28:58]execute_script returns [12:28:58]free content buf [12:28:58]Sock 9.Close socket [12:28:58]Sock 9.Thread stoped [12:28:59]accept exits with 8 [12:28:59]New connection [12:28:59]New thread 3067227492 created [12:28:59]Thread 3067370852 joined [12:28:59]Waiting for new connection... [12:28:59] Sock 8.Parse request [12:28:59]Sock 8.Check first char [12:28:59]Sock 8.First char is OK [12:28:59]request: POST /json_proto HTTP/1.1 [12:28:59]Method: POST [12:28:59]URL: /json_proto [12:28:59]Method is POST - this is cgi request [12:28:59]url: /json_proto [12:28:59]query_string will be loaded in cgi processing [12:28:59]execute_cgi json_proto POST (null) [12:28:59]execute_cgi path=json_proto method=POST [12:28:59]POST find Content-Length [12:28:59]Host: 192.168.0.101:8080 [12:28:59]Connection: keep-alive [12:28:59]Content-Length: 159 [12:28:59]Accept: application/json, text/plain, */* [12:28:59]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:28:59]Content-Type: application/json [12:28:59]Origin: http://192.168.0.101:8080 [12:28:59]Referer: http://192.168.0.101:8080/testengine [12:28:59]Accept-Encoding: gzip, deflate [12:28:59]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:28:59] [12:28:59]POST finish read [12:28:59]Found Content-Length = 159 [12:28:59]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:59]execute_script... [12:28:59]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [12:28:59]POST & json_proto [12:28:59]process_json_proto [12:28:59]json parsed OK: [12:28:59]protocol is kg_v1.0 [12:28:59]action value=set_value [12:28:59]process_action set_value [12:28:59]cmd_set_value [12:28:59]SetValue [12:28:59]group config [12:28:59]SetConfigValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:59]SettingCheckAndSetValue qr_uri=1https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:28:59]NVStorageSaveData config_qr_uri [12:28:59]File name is /storage/config_qr_uri [12:28:59]Write 59 bytes [12:28:59]NVStorageSaveData done [12:28:59]SetValue res=0 [12:28:59]process_action set_value done [12:28:59]no requested_data - finishing processing [12:28:59]process_action_free set_value [12:28:59]json_value_free [12:28:59]json_value_free done [12:28:59]process_json_proto returns [12:28:59]Send response to host [12:28:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:28:59]free response buf [12:28:59]execute_script done [12:28:59]execute_script returns [12:28:59]free content buf [12:28:59]Sock 8.Close socket [12:28:59]Sock 8.Thread stoped [12:29:02]OFD Sender: No OFD packet to send [12:29:07]OFD Sender: No OFD packet to send [12:29:12]OFD Sender: No OFD packet to send [12:29:17]OFD Sender: No OFD packet to send [12:29:17]accept exits with 9 [12:29:17]New connection [12:29:17]New thread 3067370852 created [12:29:17]Thread 3067227492 joined [12:29:17]Waiting for new connection... [12:29:17] Sock 9.Parse request [12:29:17]Sock 9.Check first char [12:29:17]Sock 9.First char is OK [12:29:17]request: POST /json_proto HTTP/1.1 [12:29:17]Method: POST [12:29:17]URL: /json_proto [12:29:17]Method is POST - this is cgi request [12:29:17]url: /json_proto [12:29:17]query_string will be loaded in cgi processing [12:29:17]execute_cgi json_proto POST (null) [12:29:17]execute_cgi path=json_proto method=POST [12:29:17]POST find Content-Length [12:29:17]Host: 192.168.0.101:8080 [12:29:17]Connection: keep-alive [12:29:17]Content-Length: 111 [12:29:17]Accept: application/json, text/plain, */* [12:29:17]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:17]Content-Type: application/json [12:29:17]Origin: http://192.168.0.101:8080 [12:29:17]Referer: http://192.168.0.101:8080/testengine [12:29:17]Accept-Encoding: gzip, deflate [12:29:17]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:17] [12:29:17]POST finish read [12:29:17]Found Content-Length = 111 [12:29:17]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.ofd_send_enable"]}} [12:29:17]execute_script... [12:29:17]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.ofd_send_enable"]}} [12:29:17]POST & json_proto [12:29:17]process_json_proto [12:29:17]json parsed OK: [12:29:17]protocol is kg_v1.0 [12:29:17]action value=get_value [12:29:17]process_action get_value [12:29:17]cmd_get_value [12:29:17]process_action get_value done [12:29:17]requested_data is exist [12:29:17]produce_requested_data [12:29:17]requested_item config.ofd_send_enable is exist - process it [12:29:17]produce_requested_data done [12:29:17]produce_requested_data return {"config.ofd_send_enable":"1"} [12:29:17]process_action_free get_value [12:29:17]json_value_free [12:29:17]json_value_free done [12:29:17]process_json_proto returns [12:29:17]Send response to host [12:29:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.ofd_send_enable":"1"}}} [12:29:17]free response buf [12:29:17]execute_script done [12:29:17]execute_script returns [12:29:17]free content buf [12:29:17]Sock 9.Close socket [12:29:17]Sock 9.Thread stoped [12:29:19]accept exits with 8 [12:29:19]New connection [12:29:19]New thread 3067227492 created [12:29:19]Thread 3067370852 joined [12:29:19]Waiting for new connection... [12:29:19] Sock 8.Parse request [12:29:19]Sock 8.Check first char [12:29:19]Sock 8.First char is OK [12:29:19]request: POST /json_proto HTTP/1.1 [12:29:19]Method: POST [12:29:19]URL: /json_proto [12:29:19]Method is POST - this is cgi request [12:29:19]url: /json_proto [12:29:19]query_string will be loaded in cgi processing [12:29:19]execute_cgi json_proto POST (null) [12:29:19]execute_cgi path=json_proto method=POST [12:29:19]POST find Content-Length [12:29:19]Host: 192.168.0.101:8080 [12:29:19]Connection: keep-alive [12:29:19]Content-Length: 110 [12:29:19]Accept: application/json, text/plain, */* [12:29:19]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:19]Content-Type: application/json [12:29:19]Origin: http://192.168.0.101:8080 [12:29:19]Referer: http://192.168.0.101:8080/testengine [12:29:19]Accept-Encoding: gzip, deflate [12:29:19]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:19] [12:29:19]POST finish read [12:29:19]Found Content-Length = 110 [12:29:19]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [12:29:19]execute_script... [12:29:19]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"}}} [12:29:19]POST & json_proto [12:29:19]process_json_proto [12:29:19]json parsed OK: [12:29:19]protocol is kg_v1.0 [12:29:19]action value=set_value [12:29:19]process_action set_value [12:29:19]cmd_set_value [12:29:19]SetValue [12:29:19]group config [12:29:19]SetConfigValue ofd_send_enable=1 [12:29:19]SettingCheckAndSetValue ofd_send_enable=1 [12:29:19]NVStorageSaveData config_ofd_send_enable [12:29:19]File name is /storage/config_ofd_send_enable [12:29:19]Write 1 bytes [12:29:19]NVStorageSaveData done [12:29:19]SetValue res=0 [12:29:19]process_action set_value done [12:29:19]no requested_data - finishing processing [12:29:19]process_action_free set_value [12:29:19]json_value_free [12:29:19]json_value_free done [12:29:19]process_json_proto returns [12:29:19]Send response to host [12:29:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:29:19]free response buf [12:29:19]execute_script done [12:29:19]execute_script returns [12:29:19]free content buf [12:29:19]Sock 8.Close socket [12:29:19]Sock 8.Thread stoped [12:29:22]OFD Sender: No OFD packet to send [12:29:27]accept exits with 9 [12:29:27]New connection [12:29:27]New thread 3067370852 created [12:29:27]Thread 3067227492 joined [12:29:27]Waiting for new connection... [12:29:27] Sock 9.Parse request [12:29:27]Sock 9.Check first char [12:29:27]Sock 9.First char is OK [12:29:27]request: POST /json_proto HTTP/1.1 [12:29:27]Method: POST [12:29:27]URL: /json_proto [12:29:27]Method is POST - this is cgi request [12:29:27]url: /json_proto [12:29:27]query_string will be loaded in cgi processing [12:29:27]execute_cgi json_proto POST (null) [12:29:27]execute_cgi path=json_proto method=POST [12:29:27]POST find Content-Length [12:29:27]Host: 192.168.0.101:8080 [12:29:27]Connection: keep-alive [12:29:27]Content-Length: 359 [12:29:27]Accept: application/json, text/plain, */* [12:29:27]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:27]Content-Type: application/json [12:29:27]Origin: http://192.168.0.101:8080 [12:29:27]Referer: http://192.168.0.101:8080/testengine [12:29:27]Accept-Encoding: gzip, deflate [12:29:27]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:27] [12:29:27]POST finish read [12:29:27]Found Content-Length = 359 [12:29:27]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:29:27]execute_script... [12:29:27]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:29:27]POST & json_proto [12:29:27]process_json_proto [12:29:27]json parsed OK: [12:29:27]protocol is kg_v1.0 [12:29:27]action value=x_report [12:29:27]process_action x_report [12:29:27]cmd_x_report [12:29:27]MH_GetDate [12:29:27]Write to MH i2c: F0 00 00 24 00 13 [12:29:27]Write i2c OK [12:29:27]MH_I2C_Read... [12:29:27]Read from MH i2c: F0 [12:29:27]MH_I2C_Read... [12:29:27]Read from MH i2c: F0 09 00 [12:29:27]MH_I2C_Read... [12:29:27]Read from MH i2c: F0 09 00 24 00 00 27 AC 1E 65 47 AA 1E 65 E6 [12:29:27]GetLastDocTimeStamp 0 [12:29:27]current date 1696508967 [12:29:27]FM_GetShiftState [12:29:27]SAM_PROTO_GetShiftState [12:29:27]wFMCommunicate request_size=4 [12:29:27]MH_SAM_APDU [12:29:27]CAPDU: 80 13 01 00 [12:29:27]Write to MH i2c: E2 08 00 25 00 80 13 01 00 00 00 00 00 A2 [12:29:27]Write i2c OK [12:29:27]MH_I2C_Read... [12:29:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:27]Read from MH i2c: E2 [12:29:27]MH_I2C_Read... [12:29:27]Read from MH i2c: E2 0E 00 [12:29:27]MH_I2C_Read... [12:29:27]Read from MH i2c: E2 0E 00 25 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 AD [12:29:27]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:29:27]wFMCommunicate OK [12:29:27]SAM_PROTO_GetShiftState done [12:29:27]FM_GetShiftState done [12:29:27]process_action_free x_report [12:29:27]json_value_free [12:29:27]json_value_free done [12:29:27]process_json_proto returns [12:29:27]Send response to host [12:29:27]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:29:27]free response buf [12:29:27]execute_script done [12:29:27]execute_script returns [12:29:27]free content buf [12:29:27]Sock 9.Close socket [12:29:27]Sock 9.Thread stoped [12:29:27]OFD Sender: No OFD packet to send [12:29:32]OFD Sender: No OFD packet to send [12:29:37]OFD Sender: No OFD packet to send [12:29:39]accept exits with 8 [12:29:39]New connection [12:29:39]New thread 3067227492 created [12:29:39]Thread 3067370852 joined [12:29:39]Waiting for new connection... [12:29:39] Sock 8.Parse request [12:29:39]Sock 8.Check first char [12:29:39]Sock 8.First char is OK [12:29:39]request: POST /json_proto HTTP/1.1 [12:29:39]Method: POST [12:29:39]URL: /json_proto [12:29:39]Method is POST - this is cgi request [12:29:39]url: /json_proto [12:29:39]query_string will be loaded in cgi processing [12:29:39]execute_cgi json_proto POST (null) [12:29:39]execute_cgi path=json_proto method=POST [12:29:39]POST find Content-Length [12:29:39]Host: 192.168.0.101:8080 [12:29:39]Connection: keep-alive [12:29:39]Content-Length: 362 [12:29:39]Accept: application/json, text/plain, */* [12:29:39]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:39]Content-Type: application/json [12:29:39]Origin: http://192.168.0.101:8080 [12:29:39]Referer: http://192.168.0.101:8080/testengine [12:29:39]Accept-Encoding: gzip, deflate [12:29:39]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:39] [12:29:39]POST finish read [12:29:39]Found Content-Length = 362 [12:29:39]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":"Сергей Смирнов"}}} [12:29:39]execute_script... [12:29:39]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":"Сергей Смирнов"}}} [12:29:39]POST & json_proto [12:29:39]process_json_proto [12:29:39]json parsed OK: [12:29:39]protocol is kg_v1.0 [12:29:39]action value=close_shift [12:29:39]process_action close_shift [12:29:39]cmd_close_shift [12:29:39]MH_GetDate [12:29:39]Write to MH i2c: F0 00 00 26 00 15 [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: F0 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: F0 09 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: F0 09 00 26 00 00 33 AC 1E 65 47 AA 1E 65 F4 [12:29:39]GetLastDocTimeStamp 0 [12:29:39]current date 1696508979 [12:29:39]FM_GetShiftState [12:29:39]SAM_PROTO_GetShiftState [12:29:39]wFMCommunicate request_size=4 [12:29:39]MH_SAM_APDU [12:29:39]CAPDU: 80 13 01 00 [12:29:39]Write to MH i2c: E2 08 00 27 00 80 13 01 00 00 00 00 00 A4 [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:39]Read from MH i2c: E2 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 0E 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 0E 00 27 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 AF [12:29:39]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:29:39]wFMCommunicate OK [12:29:39]SAM_PROTO_GetShiftState done [12:29:39]FM_GetShiftState done [12:29:39]process_action_free close_shift [12:29:39]json_value_free [12:29:39]json_value_free done [12:29:39]process_json_proto returns [12:29:39]Send response to host [12:29:39]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:29:39]free response buf [12:29:39]execute_script done [12:29:39]execute_script returns [12:29:39]free content buf [12:29:39]Sock 8.Close socket [12:29:39]Sock 8.Thread stoped [12:29:42]OFD Sender: No OFD packet to send [12:29:43]accept exits with 9 [12:29:43]New connection [12:29:43]New thread 3067370852 created [12:29:43]Thread 3067227492 joined [12:29:43]Waiting for new connection... [12:29:43] Sock 9.Parse request [12:29:43]Sock 9.Check first char [12:29:43]Sock 9.First char is OK [12:29:43]request: POST /json_proto HTTP/1.1 [12:29:43]Method: POST [12:29:43]URL: /json_proto [12:29:43]Method is POST - this is cgi request [12:29:43]url: /json_proto [12:29:43]query_string will be loaded in cgi processing [12:29:43]execute_cgi json_proto POST (null) [12:29:43]execute_cgi path=json_proto method=POST [12:29:43]POST find Content-Length [12:29:43]Host: 192.168.0.101:8080 [12:29:43]Connection: keep-alive [12:29:43]Content-Length: 359 [12:29:43]Accept: application/json, text/plain, */* [12:29:43]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:43]Content-Type: application/json [12:29:43]Origin: http://192.168.0.101:8080 [12:29:43]Referer: http://192.168.0.101:8080/testengine [12:29:43]Accept-Encoding: gzip, deflate [12:29:43]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:43] [12:29:43]POST finish read [12:29:43]Found Content-Length = 359 [12:29:43]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:29:43]execute_script... [12:29:43]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:29:43]POST & json_proto [12:29:43]process_json_proto [12:29:43]json parsed OK: [12:29:43]protocol is kg_v1.0 [12:29:43]action value=x_report [12:29:43]process_action x_report [12:29:43]cmd_x_report [12:29:43]MH_GetDate [12:29:43]Write to MH i2c: F0 00 00 28 00 17 [12:29:43]Write i2c OK [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: F0 [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: F0 09 00 [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: F0 09 00 28 00 00 37 AC 1E 65 47 AA 1E 65 FA [12:29:43]GetLastDocTimeStamp 0 [12:29:43]current date 1696508983 [12:29:43]FM_GetShiftState [12:29:43]SAM_PROTO_GetShiftState [12:29:43]wFMCommunicate request_size=4 [12:29:43]MH_SAM_APDU [12:29:43]CAPDU: 80 13 01 00 [12:29:43]Write to MH i2c: E2 08 00 29 00 80 13 01 00 00 00 00 00 A6 [12:29:43]Write i2c OK [12:29:43]MH_I2C_Read... [12:29:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:43]Read from MH i2c: E2 [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: E2 0E 00 [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: E2 0E 00 29 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B1 [12:29:43]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:29:43]wFMCommunicate OK [12:29:43]SAM_PROTO_GetShiftState done [12:29:43]FM_GetShiftState done [12:29:43]process_action_free x_report [12:29:43]json_value_free [12:29:43]json_value_free done [12:29:43]process_json_proto returns [12:29:43]Send response to host [12:29:43]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:29:43]free response buf [12:29:43]execute_script done [12:29:43]execute_script returns [12:29:43]free content buf [12:29:43]Sock 9.Close socket [12:29:43]Sock 9.Thread stoped [12:29:47]OFD Sender: No OFD packet to send [12:29:47]accept exits with 8 [12:29:47]New connection [12:29:47]New thread 3067227492 created [12:29:47]Thread 3067370852 joined [12:29:47]Waiting for new connection... [12:29:47] Sock 8.Parse request [12:29:47]Sock 8.Check first char [12:29:47]Sock 8.First char is OK [12:29:47]request: POST /json_proto HTTP/1.1 [12:29:47]Method: POST [12:29:47]URL: /json_proto [12:29:47]Method is POST - this is cgi request [12:29:47]url: /json_proto [12:29:47]query_string will be loaded in cgi processing [12:29:47]execute_cgi json_proto POST (null) [12:29:47]execute_cgi path=json_proto method=POST [12:29:47]POST find Content-Length [12:29:47]Host: 192.168.0.101:8080 [12:29:47]Connection: keep-alive [12:29:47]Content-Length: 359 [12:29:47]Accept: application/json, text/plain, */* [12:29:47]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:47]Content-Type: application/json [12:29:47]Origin: http://192.168.0.101:8080 [12:29:47]Referer: http://192.168.0.101:8080/testengine [12:29:47]Accept-Encoding: gzip, deflate [12:29:47]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:47] [12:29:47]POST finish read [12:29:47]Found Content-Length = 359 [12:29:47]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:29:47]execute_script... [12:29:47]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:29:47]POST & json_proto [12:29:47]process_json_proto [12:29:47]json parsed OK: [12:29:47]protocol is kg_v1.0 [12:29:47]action value=x_report [12:29:47]process_action x_report [12:29:47]cmd_x_report [12:29:47]MH_GetDate [12:29:47]Write to MH i2c: F0 00 00 2A 00 19 [12:29:47]Write i2c OK [12:29:47]MH_I2C_Read... [12:29:47]Read from MH i2c: F0 [12:29:47]MH_I2C_Read... [12:29:47]Read from MH i2c: F0 09 00 [12:29:47]MH_I2C_Read... [12:29:47]Read from MH i2c: F0 09 00 2A 00 00 3B AC 1E 65 47 AA 1E 65 00 [12:29:47]GetLastDocTimeStamp 0 [12:29:47]current date 1696508987 [12:29:47]FM_GetShiftState [12:29:47]SAM_PROTO_GetShiftState [12:29:47]wFMCommunicate request_size=4 [12:29:47]MH_SAM_APDU [12:29:47]CAPDU: 80 13 01 00 [12:29:47]Write to MH i2c: E2 08 00 2B 00 80 13 01 00 00 00 00 00 A8 [12:29:47]Write i2c OK [12:29:47]MH_I2C_Read... [12:29:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:47]Read from MH i2c: E2 [12:29:47]MH_I2C_Read... [12:29:47]Read from MH i2c: E2 0E 00 [12:29:47]MH_I2C_Read... [12:29:47]Read from MH i2c: E2 0E 00 2B 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B3 [12:29:47]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:29:47]wFMCommunicate OK [12:29:47]SAM_PROTO_GetShiftState done [12:29:47]FM_GetShiftState done [12:29:47]process_action_free x_report [12:29:47]json_value_free [12:29:47]json_value_free done [12:29:47]process_json_proto returns [12:29:47]Send response to host [12:29:47]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:29:47]free response buf [12:29:47]execute_script done [12:29:47]execute_script returns [12:29:47]free content buf [12:29:47]Sock 8.Close socket [12:29:47]Sock 8.Thread stoped [12:29:50]accept exits with 10 [12:29:50]New connection [12:29:50]New thread 3067370852 created [12:29:50]Thread 3067227492 joined [12:29:50]Waiting for new connection... [12:29:50] Sock 10.Parse request [12:29:50]Sock 10.Check first char [12:29:50]Sock 10.First char is OK [12:29:50]request: POST /json_proto HTTP/1.1 [12:29:50]Method: POST [12:29:50]URL: /json_proto [12:29:50]Method is POST - this is cgi request [12:29:50]url: /json_proto [12:29:50]query_string will be loaded in cgi processing [12:29:50]execute_cgi json_proto POST (null) [12:29:50]execute_cgi path=json_proto method=POST [12:29:50]POST find Content-Length [12:29:50]Host: 192.168.0.101:8080 [12:29:50]Connection: keep-alive [12:29:50]Content-Length: 361 [12:29:50]Accept: application/json, text/plain, */* [12:29:50]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:50]Content-Type: application/json [12:29:50]Origin: http://192.168.0.101:8080 [12:29:50]Referer: http://192.168.0.101:8080/testengine [12:29:50]Accept-Encoding: gzip, deflate [12:29:50]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:50] [12:29:50]POST finish read [12:29:50]Found Content-Length = 361 [12:29:50]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":"Сергей Смирнов"}}} [12:29:50]execute_script... [12:29:50]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":"Сергей Смирнов"}}} [12:29:50]POST & json_proto [12:29:50]process_json_proto [12:29:50]json parsed OK: [12:29:50]protocol is kg_v1.0 [12:29:50]action value=open_shift [12:29:50]process_action open_shift [12:29:50]cmd_open_shift [12:29:50]MH_GetDate [12:29:50]Write to MH i2c: F0 00 00 2C 00 1B [12:29:50]Write i2c OK [12:29:50]MH_I2C_Read... [12:29:50]Read from MH i2c: F0 [12:29:50]MH_I2C_Read... [12:29:50]Read from MH i2c: F0 09 00 [12:29:50]MH_I2C_Read... [12:29:50]Read from MH i2c: F0 09 00 2C 00 00 3F AC 1E 65 47 AA 1E 65 06 [12:29:50]GetLastDocTimeStamp 0 [12:29:50]current date 1696508991 [12:29:50]FM_GetShiftState [12:29:50]SAM_PROTO_GetShiftState [12:29:50]wFMCommunicate request_size=4 [12:29:50]MH_SAM_APDU [12:29:50]CAPDU: 80 13 01 00 [12:29:50]Write to MH i2c: E2 08 00 2D 00 80 13 01 00 00 00 00 00 AA [12:29:50]Write i2c OK [12:29:50]MH_I2C_Read... [12:29:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:51]Read from MH i2c: E2 [12:29:51]MH_I2C_Read... [12:29:51]Read from MH i2c: E2 0E 00 [12:29:51]MH_I2C_Read... [12:29:51]Read from MH i2c: E2 0E 00 2D 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B5 [12:29:51]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:29:51]wFMCommunicate OK [12:29:51]SAM_PROTO_GetShiftState done [12:29:51]FM_GetShiftState done [12:29:51]KKMCreateOpenShiftDocument [12:29:51]Load OK [12:29:51]Malloc new data [12:29:51]NVStorageSaveData kkm_registration [12:29:51]File name is /storage/kkm_registration [12:29:51]Write 784 bytes [12:29:51]NVStorageSaveData done [12:29:51]MH_GetDate [12:29:51]Write to MH i2c: F0 00 00 2E 00 1D [12:29:51]Write i2c OK [12:29:51]MH_I2C_Read... [12:29:51]Read from MH i2c: F0 [12:29:51]MH_I2C_Read... [12:29:51]Read from MH i2c: F0 09 00 [12:29:51]MH_I2C_Read... [12:29:51]Read from MH i2c: F0 09 00 2E 00 00 3F AC 1E 65 47 AA 1E 65 08 [12:29:51]Malloc new data [12:29:51]KKMCreateOpenShiftDocument OK [12:29:51]KKMSetOpenShiftData OK [12:29:51]Error 1010 in function ProcessDocumentItem (tag 1009) [12:29:51]ProcessDocumentItem done err = 1010, tmpTLVsize=0 [12:29:51]process_action_free open_shift [12:29:51]json_value_free [12:29:51]json_value_free done [12:29:51]process_json_proto returns [12:29:51]Send response to host [12:29:51]{"protocol":"kg_v1.0","response":{"error":1010,"error_desc":"No data(KKMPrepareOpenShiftFMData)"}} [12:29:51]free response buf [12:29:51]execute_script done [12:29:51]execute_script returns [12:29:51]free content buf [12:29:51]Sock 10.Close socket [12:29:51]Sock 10.Thread stoped [12:29:52]OFD Sender: No OFD packet to send [12:29:56]accept exits with 8 [12:29:56]New connection [12:29:56]New thread 3067227492 created [12:29:56]Thread 3067370852 joined [12:29:56]Waiting for new connection... [12:29:56] Sock 8.Parse request [12:29:56]Sock 8.Check first char [12:29:56]Sock 8.First char is OK [12:29:56]request: POST /json_proto HTTP/1.1 [12:29:56]Method: POST [12:29:56]URL: /json_proto [12:29:56]Method is POST - this is cgi request [12:29:56]url: /json_proto [12:29:56]query_string will be loaded in cgi processing [12:29:56]execute_cgi json_proto POST (null) [12:29:56]execute_cgi path=json_proto method=POST [12:29:56]POST find Content-Length [12:29:56]Host: 192.168.0.101:8080 [12:29:56]Connection: keep-alive [12:29:56]Content-Length: 105 [12:29:56]Accept: application/json, text/plain, */* [12:29:56]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:56]Content-Type: application/json [12:29:56]Origin: http://192.168.0.101:8080 [12:29:56]Referer: http://192.168.0.101:8080/testengine [12:29:56]Accept-Encoding: gzip, deflate [12:29:56]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:56] [12:29:56]POST finish read [12:29:56]Found Content-Length = 105 [12:29:56]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [12:29:56]execute_script... [12:29:56]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [12:29:56]POST & json_proto [12:29:56]process_json_proto [12:29:56]json parsed OK: [12:29:56]protocol is kg_v1.0 [12:29:56]action value=get_value [12:29:56]process_action get_value [12:29:56]cmd_get_value [12:29:56]process_action get_value done [12:29:56]requested_data is exist [12:29:56]produce_requested_data [12:29:56]requested_item config.timestamp is exist - process it [12:29:56]MH_GetDate [12:29:56]Write to MH i2c: F0 00 00 2F 00 1E [12:29:56]Write i2c OK [12:29:56]MH_I2C_Read... [12:29:56]Read from MH i2c: F0 [12:29:56]MH_I2C_Read... [12:29:56]Read from MH i2c: F0 09 00 [12:29:56]MH_I2C_Read... [12:29:56]Read from MH i2c: F0 09 00 2F 00 00 44 AC 1E 65 47 AA 1E 65 0E [12:29:56]produce_requested_data done [12:29:56]produce_requested_data return {"config.timestamp":"1696508996"} [12:29:56]process_action_free get_value [12:29:56]json_value_free [12:29:56]json_value_free done [12:29:56]process_json_proto returns [12:29:56]Send response to host [12:29:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1696508996"}}} [12:29:56]free response buf [12:29:56]execute_script done [12:29:56]execute_script returns [12:29:56]free content buf [12:29:56]Sock 8.Close socket [12:29:56]Sock 8.Thread stoped [12:29:57]OFD Sender: No OFD packet to send [12:29:57]accept exits with 9 [12:29:57]New connection [12:29:57]New thread 3067370852 created [12:29:57]Thread 3067227492 joined [12:29:57]Waiting for new connection... [12:29:57] Sock 9.Parse request [12:29:57]Sock 9.Check first char [12:29:57]Sock 9.First char is OK [12:29:57]request: POST /json_proto HTTP/1.1 [12:29:57]Method: POST [12:29:57]URL: /json_proto [12:29:57]Method is POST - this is cgi request [12:29:57]url: /json_proto [12:29:57]query_string will be loaded in cgi processing [12:29:57]execute_cgi json_proto POST (null) [12:29:57]execute_cgi path=json_proto method=POST [12:29:57]POST find Content-Length [12:29:57]Host: 192.168.0.101:8080 [12:29:57]Connection: keep-alive [12:29:57]Content-Length: 113 [12:29:57]Accept: application/json, text/plain, */* [12:29:57]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:29:57]Content-Type: application/json [12:29:57]Origin: http://192.168.0.101:8080 [12:29:57]Referer: http://192.168.0.101:8080/testengine [12:29:57]Accept-Encoding: gzip, deflate [12:29:57]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:29:57] [12:29:57]POST finish read [12:29:57]Found Content-Length = 113 [12:29:57]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1696508999"}}} [12:29:57]execute_script... [12:29:57]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1696508999"}}} [12:29:57]POST & json_proto [12:29:57]process_json_proto [12:29:57]json parsed OK: [12:29:57]protocol is kg_v1.0 [12:29:57]action value=set_value [12:29:57]process_action set_value [12:29:57]cmd_set_value [12:29:57]SetValue [12:29:57]group config [12:29:57]SetConfigValue timestamp=1696508999 [12:29:57]SettingCheckAndSetValue timestamp=1696508999 [12:29:57]store_timestamp [12:29:57]MH_GetDate [12:29:57]Write to MH i2c: F0 00 00 30 00 1F [12:29:57]Write i2c OK [12:29:57]MH_I2C_Read... [12:29:57]Read from MH i2c: F0 [12:29:57]MH_I2C_Read... [12:29:57]Read from MH i2c: F0 09 00 [12:29:57]MH_I2C_Read... [12:29:57]Read from MH i2c: F0 09 00 30 00 00 45 AC 1E 65 47 AA 1E 65 10 [12:29:57]GetLastDocTimeStamp 0 [12:29:57]cur date 1696508997 [12:29:57]tm 1696508999 [12:29:57]tm ok - set date [12:29:57]MH_SetDate [12:29:57]Write to MH i2c: F1 04 00 31 00 47 AC 1E 65 9B [12:29:57]Write i2c OK [12:29:57]MH_I2C_Read... [12:29:57]Read from MH i2c: F1 [12:29:57]MH_I2C_Read... [12:29:57]Read from MH i2c: F1 01 00 [12:29:57]MH_I2C_Read... [12:29:57]Read from MH i2c: F1 01 00 31 00 00 22 [12:29:59]SetValue res=0 [12:29:59]process_action set_value done [12:29:59]no requested_data - finishing processing [12:29:59]process_action_free set_value [12:29:59]json_value_free [12:29:59]json_value_free done [12:29:59]process_json_proto returns [12:29:59]Send response to host [12:29:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:29:59]free response buf [12:29:59]execute_script done [12:29:59]execute_script returns [12:29:59]free content buf [12:29:59]Sock 9.Close socket [12:29:59]Sock 9.Thread stoped [12:30:02]accept exits with 8 [12:30:02]New connection [12:30:02]New thread 3067227492 created [12:30:02]Thread 3067370852 joined [12:30:02]Waiting for new connection... [12:30:02] Sock 8.Parse request [12:30:02]Sock 8.Check first char [12:30:02]Sock 8.First char is OK [12:30:02]request: POST /json_proto HTTP/1.1 [12:30:02]Method: POST [12:30:02]URL: /json_proto [12:30:02]Method is POST - this is cgi request [12:30:02]url: /json_proto [12:30:02]query_string will be loaded in cgi processing [12:30:02]execute_cgi json_proto POST (null) [12:30:02]execute_cgi path=json_proto method=POST [12:30:02]POST find Content-Length [12:30:02]Host: 192.168.0.101:8080 [12:30:02]Connection: keep-alive [12:30:02]Content-Length: 359 [12:30:02]Accept: application/json, text/plain, */* [12:30:02]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:02]Content-Type: application/json [12:30:02]Origin: http://192.168.0.101:8080 [12:30:02]Referer: http://192.168.0.101:8080/testengine [12:30:02]Accept-Encoding: gzip, deflate [12:30:02]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:02] [12:30:02]POST finish read [12:30:02]Found Content-Length = 359 [12:30:02]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:30:02]execute_script... [12:30:02]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:30:02]POST & json_proto [12:30:02]process_json_proto [12:30:02]json parsed OK: [12:30:02]protocol is kg_v1.0 [12:30:02]action value=x_report [12:30:02]process_action x_report [12:30:02]cmd_x_report [12:30:02]MH_GetDate [12:30:02]Write to MH i2c: F0 00 00 32 00 21 [12:30:02]Write i2c OK [12:30:02]MH_I2C_Read... [12:30:02]Read from MH i2c: F0 [12:30:02]MH_I2C_Read... [12:30:02]Read from MH i2c: F0 09 00 [12:30:02]MH_I2C_Read... [12:30:02]Read from MH i2c: F0 09 00 32 00 00 4A AC 1E 65 47 AC 1E 65 19 [12:30:02]GetLastDocTimeStamp 0 [12:30:02]current date 1696509002 [12:30:02]FM_GetShiftState [12:30:02]SAM_PROTO_GetShiftState [12:30:02]wFMCommunicate request_size=4 [12:30:02]MH_SAM_APDU [12:30:02]CAPDU: 80 13 01 00 [12:30:02]Write to MH i2c: E2 08 00 33 00 80 13 01 00 00 00 00 00 B0 [12:30:02]Write i2c OK [12:30:02]MH_I2C_Read... [12:30:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:02]Read from MH i2c: E2 [12:30:02]MH_I2C_Read... [12:30:02]Read from MH i2c: E2 0E 00 [12:30:02]MH_I2C_Read... [12:30:02]Read from MH i2c: E2 0E 00 33 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BB [12:30:02]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:02]wFMCommunicate OK [12:30:02]SAM_PROTO_GetShiftState done [12:30:02]FM_GetShiftState done [12:30:02]process_action_free x_report [12:30:02]json_value_free [12:30:02]json_value_free done [12:30:02]process_json_proto returns [12:30:02]Send response to host [12:30:02]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:30:02]free response buf [12:30:02]execute_script done [12:30:02]execute_script returns [12:30:02]free content buf [12:30:02]Sock 8.Close socket [12:30:02]Sock 8.Thread stoped [12:30:03]OFD Sender: No OFD packet to send [12:30:05]accept exits with 9 [12:30:05]New connection [12:30:05]New thread 3067370852 created [12:30:05]Thread 3067227492 joined [12:30:05]Waiting for new connection... [12:30:05] Sock 9.Parse request [12:30:05]Sock 9.Check first char [12:30:05]Sock 9.First char is OK [12:30:05]request: POST /json_proto HTTP/1.1 [12:30:05]Method: POST [12:30:05]URL: /json_proto [12:30:05]Method is POST - this is cgi request [12:30:05]url: /json_proto [12:30:05]query_string will be loaded in cgi processing [12:30:05]execute_cgi json_proto POST (null) [12:30:05]execute_cgi path=json_proto method=POST [12:30:05]POST find Content-Length [12:30:05]Host: 192.168.0.101:8080 [12:30:05]Connection: keep-alive [12:30:05]Content-Length: 361 [12:30:05]Accept: application/json, text/plain, */* [12:30:05]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:05]Content-Type: application/json [12:30:05]Origin: http://192.168.0.101:8080 [12:30:05]Referer: http://192.168.0.101:8080/testengine [12:30:05]Accept-Encoding: gzip, deflate [12:30:05]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:05] [12:30:05]POST finish read [12:30:05]Found Content-Length = 361 [12:30:05]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":"Сергей Смирнов"}}} [12:30:05]execute_script... [12:30:05]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":"Сергей Смирнов"}}} [12:30:05]POST & json_proto [12:30:05]process_json_proto [12:30:05]json parsed OK: [12:30:05]protocol is kg_v1.0 [12:30:05]action value=open_shift [12:30:05]process_action open_shift [12:30:05]cmd_open_shift [12:30:05]MH_GetDate [12:30:05]Write to MH i2c: F0 00 00 34 00 23 [12:30:05]Write i2c OK [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: F0 [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: F0 09 00 [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: F0 09 00 34 00 00 4D AC 1E 65 47 AC 1E 65 1E [12:30:05]GetLastDocTimeStamp 0 [12:30:05]current date 1696509005 [12:30:05]FM_GetShiftState [12:30:05]SAM_PROTO_GetShiftState [12:30:05]wFMCommunicate request_size=4 [12:30:05]MH_SAM_APDU [12:30:05]CAPDU: 80 13 01 00 [12:30:05]Write to MH i2c: E2 08 00 35 00 80 13 01 00 00 00 00 00 B2 [12:30:05]Write i2c OK [12:30:05]MH_I2C_Read... [12:30:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:05]Read from MH i2c: E2 [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: E2 0E 00 [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: E2 0E 00 35 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BD [12:30:05]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:05]wFMCommunicate OK [12:30:05]SAM_PROTO_GetShiftState done [12:30:05]FM_GetShiftState done [12:30:05]KKMCreateOpenShiftDocument [12:30:05]Load OK [12:30:05]Malloc new data [12:30:05]MH_GetDate [12:30:05]Write to MH i2c: F0 00 00 36 00 25 [12:30:05]Write i2c OK [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: F0 [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: F0 09 00 [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: F0 09 00 36 00 00 4D AC 1E 65 47 AC 1E 65 20 [12:30:05]Malloc new data [12:30:05]KKMCreateOpenShiftDocument OK [12:30:05]KKMSetOpenShiftData OK [12:30:05]Error 1010 in function ProcessDocumentItem (tag 1009) [12:30:05]ProcessDocumentItem done err = 1010, tmpTLVsize=0 [12:30:05]process_action_free open_shift [12:30:05]json_value_free [12:30:05]json_value_free done [12:30:05]process_json_proto returns [12:30:05]Send response to host [12:30:05]{"protocol":"kg_v1.0","response":{"error":1010,"error_desc":"No data(KKMPrepareOpenShiftFMData)"}} [12:30:05]free response buf [12:30:05]execute_script done [12:30:05]execute_script returns [12:30:05]free content buf [12:30:05]Sock 9.Close socket [12:30:05]Sock 9.Thread stoped [12:30:08]OFD Sender: No OFD packet to send [12:30:12]accept exits with 8 [12:30:12]New connection [12:30:12]New thread 3067227492 created [12:30:12]Thread 3067370852 joined [12:30:12]Waiting for new connection... [12:30:12] Sock 8.Parse request [12:30:12]Sock 8.Check first char [12:30:12]Sock 8.First char is OK [12:30:12]request: POST /json_proto HTTP/1.1 [12:30:12]Method: POST [12:30:12]URL: /json_proto [12:30:12]Method is POST - this is cgi request [12:30:12]url: /json_proto [12:30:12]query_string will be loaded in cgi processing [12:30:12]execute_cgi json_proto POST (null) [12:30:12]execute_cgi path=json_proto method=POST [12:30:12]POST find Content-Length [12:30:12]Host: 192.168.0.101:8080 [12:30:12]Connection: keep-alive [12:30:12]Content-Length: 359 [12:30:12]Accept: application/json, text/plain, */* [12:30:12]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:12]Content-Type: application/json [12:30:12]Origin: http://192.168.0.101:8080 [12:30:12]Referer: http://192.168.0.101:8080/testengine [12:30:12]Accept-Encoding: gzip, deflate [12:30:12]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:12] [12:30:12]POST finish read [12:30:12]Found Content-Length = 359 [12:30:12]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:30:12]execute_script... [12:30:12]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:30:12]POST & json_proto [12:30:12]process_json_proto [12:30:12]json parsed OK: [12:30:12]protocol is kg_v1.0 [12:30:12]action value=x_report [12:30:12]process_action x_report [12:30:12]cmd_x_report [12:30:12]MH_GetDate [12:30:12]Write to MH i2c: F0 00 00 37 00 26 [12:30:12]Write i2c OK [12:30:12]MH_I2C_Read... [12:30:12]Read from MH i2c: F0 [12:30:12]MH_I2C_Read... [12:30:12]Read from MH i2c: F0 09 00 [12:30:12]MH_I2C_Read... [12:30:12]Read from MH i2c: F0 09 00 37 00 00 54 AC 1E 65 47 AC 1E 65 28 [12:30:12]GetLastDocTimeStamp 0 [12:30:12]current date 1696509012 [12:30:12]FM_GetShiftState [12:30:12]SAM_PROTO_GetShiftState [12:30:12]wFMCommunicate request_size=4 [12:30:12]MH_SAM_APDU [12:30:12]CAPDU: 80 13 01 00 [12:30:12]Write to MH i2c: E2 08 00 38 00 80 13 01 00 00 00 00 00 B5 [12:30:12]Write i2c OK [12:30:12]MH_I2C_Read... [12:30:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:12]Read from MH i2c: E2 [12:30:12]MH_I2C_Read... [12:30:12]Read from MH i2c: E2 0E 00 [12:30:12]MH_I2C_Read... [12:30:12]Read from MH i2c: E2 0E 00 38 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C0 [12:30:12]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:12]wFMCommunicate OK [12:30:12]SAM_PROTO_GetShiftState done [12:30:12]FM_GetShiftState done [12:30:12]process_action_free x_report [12:30:12]json_value_free [12:30:12]json_value_free done [12:30:12]process_json_proto returns [12:30:12]Send response to host [12:30:12]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:30:12]free response buf [12:30:12]execute_script done [12:30:12]execute_script returns [12:30:12]free content buf [12:30:12]Sock 8.Close socket [12:30:12]Sock 8.Thread stoped [12:30:13]OFD Sender: No OFD packet to send [12:30:14]accept exits with 9 [12:30:14]New connection [12:30:14]New thread 3067370852 created [12:30:14]Thread 3067227492 joined [12:30:14]Waiting for new connection... [12:30:14] Sock 9.Parse request [12:30:14]Sock 9.Check first char [12:30:14]Sock 9.First char is OK [12:30:14]request: POST /json_proto HTTP/1.1 [12:30:14]Method: POST [12:30:14]URL: /json_proto [12:30:14]Method is POST - this is cgi request [12:30:14]url: /json_proto [12:30:14]query_string will be loaded in cgi processing [12:30:14]execute_cgi json_proto POST (null) [12:30:14]execute_cgi path=json_proto method=POST [12:30:14]POST find Content-Length [12:30:14]Host: 192.168.0.101:8080 [12:30:14]Connection: keep-alive [12:30:14]Content-Length: 361 [12:30:14]Accept: application/json, text/plain, */* [12:30:14]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:14]Content-Type: application/json [12:30:14]Origin: http://192.168.0.101:8080 [12:30:14]Referer: http://192.168.0.101:8080/testengine [12:30:14]Accept-Encoding: gzip, deflate [12:30:14]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:14] [12:30:14]POST finish read [12:30:14]Found Content-Length = 361 [12:30:14]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":"Сергей Смирнов"}}} [12:30:14]execute_script... [12:30:14]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":"Сергей Смирнов"}}} [12:30:14]POST & json_proto [12:30:14]process_json_proto [12:30:14]json parsed OK: [12:30:14]protocol is kg_v1.0 [12:30:14]action value=open_shift [12:30:14]process_action open_shift [12:30:14]cmd_open_shift [12:30:14]MH_GetDate [12:30:14]Write to MH i2c: F0 00 00 39 00 28 [12:30:14]Write i2c OK [12:30:14]MH_I2C_Read... [12:30:14]Read from MH i2c: F0 [12:30:14]MH_I2C_Read... [12:30:14]Read from MH i2c: F0 09 00 [12:30:14]MH_I2C_Read... [12:30:14]Read from MH i2c: F0 09 00 39 00 00 56 AC 1E 65 47 AC 1E 65 2C [12:30:14]GetLastDocTimeStamp 0 [12:30:14]current date 1696509014 [12:30:14]FM_GetShiftState [12:30:14]SAM_PROTO_GetShiftState [12:30:14]wFMCommunicate request_size=4 [12:30:14]MH_SAM_APDU [12:30:14]CAPDU: 80 13 01 00 [12:30:14]Write to MH i2c: E2 08 00 3A 00 80 13 01 00 00 00 00 00 B7 [12:30:14]Write i2c OK [12:30:14]MH_I2C_Read... [12:30:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:14]Read from MH i2c: E2 [12:30:14]MH_I2C_Read... [12:30:14]Read from MH i2c: E2 0E 00 [12:30:14]MH_I2C_Read... [12:30:14]Read from MH i2c: E2 0E 00 3A 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C2 [12:30:14]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:14]wFMCommunicate OK [12:30:14]SAM_PROTO_GetShiftState done [12:30:14]FM_GetShiftState done [12:30:14]KKMCreateOpenShiftDocument [12:30:14]Load OK [12:30:14]Malloc new data [12:30:14]MH_GetDate [12:30:14]Write to MH i2c: F0 00 00 3B 00 2A [12:30:14]Write i2c OK [12:30:14]MH_I2C_Read... [12:30:14]Read from MH i2c: F0 [12:30:14]MH_I2C_Read... [12:30:14]Read from MH i2c: F0 09 00 [12:30:14]MH_I2C_Read... [12:30:14]Read from MH i2c: F0 09 00 3B 00 00 56 AC 1E 65 47 AC 1E 65 2E [12:30:14]Malloc new data [12:30:14]KKMCreateOpenShiftDocument OK [12:30:14]KKMSetOpenShiftData OK [12:30:14]Error 1010 in function ProcessDocumentItem (tag 1009) [12:30:14]ProcessDocumentItem done err = 1010, tmpTLVsize=0 [12:30:14]process_action_free open_shift [12:30:14]json_value_free [12:30:14]json_value_free done [12:30:14]process_json_proto returns [12:30:14]Send response to host [12:30:14]{"protocol":"kg_v1.0","response":{"error":1010,"error_desc":"No data(KKMPrepareOpenShiftFMData)"}} [12:30:14]free response buf [12:30:14]execute_script done [12:30:14]execute_script returns [12:30:14]free content buf [12:30:14]Sock 9.Close socket [12:30:14]Sock 9.Thread stoped [12:30:15]accept exits with 8 [12:30:15]New connection [12:30:15]New thread 3067227492 created [12:30:15]Thread 3067370852 joined [12:30:15]Waiting for new connection... [12:30:15] Sock 8.Parse request [12:30:15]Sock 8.Check first char [12:30:15]Sock 8.First char is OK [12:30:15]request: POST /json_proto HTTP/1.1 [12:30:15]Method: POST [12:30:15]URL: /json_proto [12:30:15]Method is POST - this is cgi request [12:30:15]url: /json_proto [12:30:15]query_string will be loaded in cgi processing [12:30:15]execute_cgi json_proto POST (null) [12:30:15]execute_cgi path=json_proto method=POST [12:30:15]POST find Content-Length [12:30:15]Host: 192.168.0.101:8080 [12:30:15]Connection: keep-alive [12:30:15]Content-Length: 361 [12:30:15]Accept: application/json, text/plain, */* [12:30:15]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:15]Content-Type: application/json [12:30:15]Origin: http://192.168.0.101:8080 [12:30:15]Referer: http://192.168.0.101:8080/testengine [12:30:15]Accept-Encoding: gzip, deflate [12:30:15]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:15] [12:30:15]POST finish read [12:30:15]Found Content-Length = 361 [12:30:15]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":"Сергей Смирнов"}}} [12:30:15]execute_script... [12:30:15]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":"Сергей Смирнов"}}} [12:30:15]POST & json_proto [12:30:15]process_json_proto [12:30:15]json parsed OK: [12:30:15]protocol is kg_v1.0 [12:30:15]action value=open_shift [12:30:15]process_action open_shift [12:30:15]cmd_open_shift [12:30:15]MH_GetDate [12:30:15]Write to MH i2c: F0 00 00 3C 00 2B [12:30:15]Write i2c OK [12:30:15]MH_I2C_Read... [12:30:15]Read from MH i2c: F0 [12:30:15]MH_I2C_Read... [12:30:15]Read from MH i2c: F0 09 00 [12:30:15]MH_I2C_Read... [12:30:15]Read from MH i2c: F0 09 00 3C 00 00 57 AC 1E 65 47 AC 1E 65 30 [12:30:15]GetLastDocTimeStamp 0 [12:30:15]current date 1696509015 [12:30:15]FM_GetShiftState [12:30:15]SAM_PROTO_GetShiftState [12:30:15]wFMCommunicate request_size=4 [12:30:15]MH_SAM_APDU [12:30:15]CAPDU: 80 13 01 00 [12:30:15]Write to MH i2c: E2 08 00 3D 00 80 13 01 00 00 00 00 00 BA [12:30:15]Write i2c OK [12:30:15]MH_I2C_Read... [12:30:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:15]Read from MH i2c: E2 [12:30:15]MH_I2C_Read... [12:30:15]Read from MH i2c: E2 0E 00 [12:30:15]MH_I2C_Read... [12:30:15]Read from MH i2c: E2 0E 00 3D 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C5 [12:30:15]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:15]wFMCommunicate OK [12:30:15]SAM_PROTO_GetShiftState done [12:30:15]FM_GetShiftState done [12:30:15]KKMCreateOpenShiftDocument [12:30:15]Load OK [12:30:15]Malloc new data [12:30:15]MH_GetDate [12:30:15]Write to MH i2c: F0 00 00 3E 00 2D [12:30:15]Write i2c OK [12:30:15]MH_I2C_Read... [12:30:15]Read from MH i2c: F0 [12:30:15]MH_I2C_Read... [12:30:15]Read from MH i2c: F0 09 00 [12:30:15]MH_I2C_Read... [12:30:15]Read from MH i2c: F0 09 00 3E 00 00 57 AC 1E 65 47 AC 1E 65 32 [12:30:15]Malloc new data [12:30:15]KKMCreateOpenShiftDocument OK [12:30:15]KKMSetOpenShiftData OK [12:30:15]Error 1010 in function ProcessDocumentItem (tag 1009) [12:30:15]ProcessDocumentItem done err = 1010, tmpTLVsize=0 [12:30:15]process_action_free open_shift [12:30:15]json_value_free [12:30:15]json_value_free done [12:30:15]process_json_proto returns [12:30:15]Send response to host [12:30:15]{"protocol":"kg_v1.0","response":{"error":1010,"error_desc":"No data(KKMPrepareOpenShiftFMData)"}} [12:30:15]free response buf [12:30:15]execute_script done [12:30:15]execute_script returns [12:30:15]free content buf [12:30:15]Sock 8.Close socket [12:30:15]Sock 8.Thread stoped [12:30:16]accept exits with 9 [12:30:16]New connection [12:30:16]New thread 3067370852 created [12:30:16]Thread 3067227492 joined [12:30:16]Waiting for new connection... [12:30:16] Sock 9.Parse request [12:30:16]Sock 9.Check first char [12:30:16]Sock 9.First char is OK [12:30:16]request: POST /json_proto HTTP/1.1 [12:30:16]Method: POST [12:30:16]URL: /json_proto [12:30:16]Method is POST - this is cgi request [12:30:16]url: /json_proto [12:30:16]query_string will be loaded in cgi processing [12:30:16]execute_cgi json_proto POST (null) [12:30:16]execute_cgi path=json_proto method=POST [12:30:16]POST find Content-Length [12:30:16]Host: 192.168.0.101:8080 [12:30:16]Connection: keep-alive [12:30:16]Content-Length: 361 [12:30:16]Accept: application/json, text/plain, */* [12:30:16]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:16]Content-Type: application/json [12:30:16]Origin: http://192.168.0.101:8080 [12:30:16]Referer: http://192.168.0.101:8080/testengine [12:30:16]Accept-Encoding: gzip, deflate [12:30:16]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:16] [12:30:16]POST finish read [12:30:16]Found Content-Length = 361 [12:30:16]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":"Сергей Смирнов"}}} [12:30:16]execute_script... [12:30:16]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":"Сергей Смирнов"}}} [12:30:16]POST & json_proto [12:30:16]process_json_proto [12:30:16]json parsed OK: [12:30:16]protocol is kg_v1.0 [12:30:16]action value=open_shift [12:30:16]process_action open_shift [12:30:16]cmd_open_shift [12:30:16]MH_GetDate [12:30:16]Write to MH i2c: F0 00 00 3F 00 2E [12:30:16]Write i2c OK [12:30:16]MH_I2C_Read... [12:30:16]Read from MH i2c: F0 [12:30:16]MH_I2C_Read... [12:30:16]Read from MH i2c: F0 09 00 [12:30:16]MH_I2C_Read... [12:30:16]Read from MH i2c: F0 09 00 3F 00 00 58 AC 1E 65 47 AC 1E 65 34 [12:30:16]GetLastDocTimeStamp 0 [12:30:16]current date 1696509016 [12:30:16]FM_GetShiftState [12:30:16]SAM_PROTO_GetShiftState [12:30:16]wFMCommunicate request_size=4 [12:30:16]MH_SAM_APDU [12:30:16]CAPDU: 80 13 01 00 [12:30:16]Write to MH i2c: E2 08 00 40 00 80 13 01 00 00 00 00 00 BD [12:30:16]Write i2c OK [12:30:16]MH_I2C_Read... [12:30:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:16]Read from MH i2c: E2 [12:30:16]MH_I2C_Read... [12:30:16]Read from MH i2c: E2 0E 00 [12:30:16]MH_I2C_Read... [12:30:16]Read from MH i2c: E2 0E 00 40 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C8 [12:30:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:16]wFMCommunicate OK [12:30:16]SAM_PROTO_GetShiftState done [12:30:16]FM_GetShiftState done [12:30:16]KKMCreateOpenShiftDocument [12:30:16]Load OK [12:30:16]Malloc new data [12:30:16]MH_GetDate [12:30:16]Write to MH i2c: F0 00 00 41 00 30 [12:30:16]Write i2c OK [12:30:16]MH_I2C_Read... [12:30:16]Read from MH i2c: F0 [12:30:16]MH_I2C_Read... [12:30:16]Read from MH i2c: F0 09 00 [12:30:16]MH_I2C_Read... [12:30:16]Read from MH i2c: F0 09 00 41 00 00 58 AC 1E 65 47 AC 1E 65 36 [12:30:16]Malloc new data [12:30:16]KKMCreateOpenShiftDocument OK [12:30:16]KKMSetOpenShiftData OK [12:30:16]Error 1010 in function ProcessDocumentItem (tag 1009) [12:30:16]ProcessDocumentItem done err = 1010, tmpTLVsize=0 [12:30:16]process_action_free open_shift [12:30:16]json_value_free [12:30:16]json_value_free done [12:30:16]process_json_proto returns [12:30:16]Send response to host [12:30:16]{"protocol":"kg_v1.0","response":{"error":1010,"error_desc":"No data(KKMPrepareOpenShiftFMData)"}} [12:30:16]free response buf [12:30:16]execute_script done [12:30:16]execute_script returns [12:30:16]free content buf [12:30:16]Sock 9.Close socket [12:30:16]Sock 9.Thread stoped [12:30:17]accept exits with 8 [12:30:17]New connection [12:30:17]New thread 3067227492 created [12:30:17]Thread 3067370852 joined [12:30:17]Waiting for new connection... [12:30:17] Sock 8.Parse request [12:30:17]Sock 8.Check first char [12:30:17]Sock 8.First char is OK [12:30:17]request: POST /json_proto HTTP/1.1 [12:30:17]Method: POST [12:30:17]URL: /json_proto [12:30:17]Method is POST - this is cgi request [12:30:17]url: /json_proto [12:30:17]query_string will be loaded in cgi processing [12:30:17]execute_cgi json_proto POST (null) [12:30:17]execute_cgi path=json_proto method=POST [12:30:17]POST find Content-Length [12:30:17]Host: 192.168.0.101:8080 [12:30:17]Connection: keep-alive [12:30:17]Content-Length: 359 [12:30:17]Accept: application/json, text/plain, */* [12:30:17]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:17]Content-Type: application/json [12:30:17]Origin: http://192.168.0.101:8080 [12:30:17]Referer: http://192.168.0.101:8080/testengine [12:30:17]Accept-Encoding: gzip, deflate [12:30:17]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:17] [12:30:17]POST finish read [12:30:17]Found Content-Length = 359 [12:30:17]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:30:17]execute_script... [12:30:17]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:30:17]POST & json_proto [12:30:17]process_json_proto [12:30:17]json parsed OK: [12:30:17]protocol is kg_v1.0 [12:30:17]action value=x_report [12:30:17]process_action x_report [12:30:17]cmd_x_report [12:30:17]MH_GetDate [12:30:17]Write to MH i2c: F0 00 00 42 00 31 [12:30:17]Write i2c OK [12:30:17]MH_I2C_Read... [12:30:17]Read from MH i2c: F0 [12:30:17]MH_I2C_Read... [12:30:17]Read from MH i2c: F0 09 00 [12:30:17]MH_I2C_Read... [12:30:17]Read from MH i2c: F0 09 00 42 00 00 59 AC 1E 65 47 AC 1E 65 38 [12:30:17]GetLastDocTimeStamp 0 [12:30:17]current date 1696509017 [12:30:17]FM_GetShiftState [12:30:17]SAM_PROTO_GetShiftState [12:30:17]wFMCommunicate request_size=4 [12:30:17]MH_SAM_APDU [12:30:17]CAPDU: 80 13 01 00 [12:30:17]Write to MH i2c: E2 08 00 43 00 80 13 01 00 00 00 00 00 C0 [12:30:17]Write i2c OK [12:30:17]MH_I2C_Read... [12:30:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:17]Read from MH i2c: E2 [12:30:17]MH_I2C_Read... [12:30:17]Read from MH i2c: E2 0E 00 [12:30:17]MH_I2C_Read... [12:30:17]Read from MH i2c: E2 0E 00 43 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CB [12:30:17]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:17]wFMCommunicate OK [12:30:17]SAM_PROTO_GetShiftState done [12:30:17]FM_GetShiftState done [12:30:17]process_action_free x_report [12:30:17]json_value_free [12:30:17]json_value_free done [12:30:17]process_json_proto returns [12:30:17]Send response to host [12:30:17]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:30:17]free response buf [12:30:17]execute_script done [12:30:17]execute_script returns [12:30:17]free content buf [12:30:17]Sock 8.Close socket [12:30:17]Sock 8.Thread stoped [12:30:18]OFD Sender: No OFD packet to send [12:30:20]accept exits with 9 [12:30:20]New connection [12:30:20]New thread 3067370852 created [12:30:20]Thread 3067227492 joined [12:30:20]Waiting for new connection... [12:30:20] Sock 9.Parse request [12:30:20]Sock 9.Check first char [12:30:20]Sock 9.First char is OK [12:30:20]request: POST /json_proto HTTP/1.1 [12:30:20]Method: POST [12:30:20]URL: /json_proto [12:30:20]Method is POST - this is cgi request [12:30:20]url: /json_proto [12:30:20]query_string will be loaded in cgi processing [12:30:20]execute_cgi json_proto POST (null) [12:30:20]execute_cgi path=json_proto method=POST [12:30:20]POST find Content-Length [12:30:20]Host: 192.168.0.101:8080 [12:30:20]Connection: keep-alive [12:30:20]Content-Length: 362 [12:30:20]Accept: application/json, text/plain, */* [12:30:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:20]Content-Type: application/json [12:30:20]Origin: http://192.168.0.101:8080 [12:30:20]Referer: http://192.168.0.101:8080/testengine [12:30:20]Accept-Encoding: gzip, deflate [12:30:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:20] [12:30:20]POST finish read [12:30:20]Found Content-Length = 362 [12:30:20]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":"Сергей Смирнов"}}} [12:30:20]execute_script... [12:30:20]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":"Сергей Смирнов"}}} [12:30:20]POST & json_proto [12:30:20]process_json_proto [12:30:20]json parsed OK: [12:30:20]protocol is kg_v1.0 [12:30:20]action value=close_shift [12:30:20]process_action close_shift [12:30:20]cmd_close_shift [12:30:20]MH_GetDate [12:30:20]Write to MH i2c: F0 00 00 44 00 33 [12:30:20]Write i2c OK [12:30:20]MH_I2C_Read... [12:30:20]Read from MH i2c: F0 [12:30:20]MH_I2C_Read... [12:30:20]Read from MH i2c: F0 09 00 [12:30:20]MH_I2C_Read... [12:30:20]Read from MH i2c: F0 09 00 44 00 00 5C AC 1E 65 47 AC 1E 65 3D [12:30:20]GetLastDocTimeStamp 0 [12:30:20]current date 1696509020 [12:30:20]FM_GetShiftState [12:30:20]SAM_PROTO_GetShiftState [12:30:20]wFMCommunicate request_size=4 [12:30:20]MH_SAM_APDU [12:30:20]CAPDU: 80 13 01 00 [12:30:20]Write to MH i2c: E2 08 00 45 00 80 13 01 00 00 00 00 00 C2 [12:30:20]Write i2c OK [12:30:20]MH_I2C_Read... [12:30:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:20]Read from MH i2c: E2 [12:30:20]MH_I2C_Read... [12:30:20]Read from MH i2c: E2 0E 00 [12:30:20]MH_I2C_Read... [12:30:20]Read from MH i2c: E2 0E 00 45 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CD [12:30:20]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:20]wFMCommunicate OK [12:30:20]SAM_PROTO_GetShiftState done [12:30:20]FM_GetShiftState done [12:30:20]process_action_free close_shift [12:30:20]json_value_free [12:30:20]json_value_free done [12:30:20]process_json_proto returns [12:30:20]Send response to host [12:30:20]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:30:20]free response buf [12:30:20]execute_script done [12:30:20]execute_script returns [12:30:20]free content buf [12:30:20]Sock 9.Close socket [12:30:20]Sock 9.Thread stoped [12:30:22]accept exits with 8 [12:30:22]New connection [12:30:22]New thread 3067227492 created [12:30:22]Thread 3067370852 joined [12:30:22]Waiting for new connection... [12:30:22] Sock 8.Parse request [12:30:22]Sock 8.Check first char [12:30:22]Sock 8.First char is OK [12:30:22]request: POST /json_proto HTTP/1.1 [12:30:22]Method: POST [12:30:22]URL: /json_proto [12:30:22]Method is POST - this is cgi request [12:30:22]url: /json_proto [12:30:22]query_string will be loaded in cgi processing [12:30:22]execute_cgi json_proto POST (null) [12:30:22]execute_cgi path=json_proto method=POST [12:30:22]POST find Content-Length [12:30:22]Host: 192.168.0.101:8080 [12:30:22]Connection: keep-alive [12:30:22]Content-Length: 359 [12:30:22]Accept: application/json, text/plain, */* [12:30:22]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:30:22]Content-Type: application/json [12:30:22]Origin: http://192.168.0.101:8080 [12:30:22]Referer: http://192.168.0.101:8080/testengine [12:30:22]Accept-Encoding: gzip, deflate [12:30:22]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:30:22] [12:30:22]POST finish read [12:30:22]Found Content-Length = 359 [12:30:22]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:30:22]execute_script... [12:30:22]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:30:22]POST & json_proto [12:30:22]process_json_proto [12:30:22]json parsed OK: [12:30:22]protocol is kg_v1.0 [12:30:22]action value=x_report [12:30:22]process_action x_report [12:30:22]cmd_x_report [12:30:22]MH_GetDate [12:30:22]Write to MH i2c: F0 00 00 46 00 35 [12:30:22]Write i2c OK [12:30:22]MH_I2C_Read... [12:30:22]Read from MH i2c: F0 [12:30:22]MH_I2C_Read... [12:30:22]Read from MH i2c: F0 09 00 [12:30:22]MH_I2C_Read... [12:30:22]Read from MH i2c: F0 09 00 46 00 00 5E AC 1E 65 47 AC 1E 65 41 [12:30:22]GetLastDocTimeStamp 0 [12:30:22]current date 1696509022 [12:30:22]FM_GetShiftState [12:30:22]SAM_PROTO_GetShiftState [12:30:22]wFMCommunicate request_size=4 [12:30:22]MH_SAM_APDU [12:30:22]CAPDU: 80 13 01 00 [12:30:22]Write to MH i2c: E2 08 00 47 00 80 13 01 00 00 00 00 00 C4 [12:30:22]Write i2c OK [12:30:22]MH_I2C_Read... [12:30:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:22]Read from MH i2c: E2 [12:30:22]MH_I2C_Read... [12:30:22]Read from MH i2c: E2 0E 00 [12:30:22]MH_I2C_Read... [12:30:22]Read from MH i2c: E2 0E 00 47 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CF [12:30:22]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:30:22]wFMCommunicate OK [12:30:22]SAM_PROTO_GetShiftState done [12:30:22]FM_GetShiftState done [12:30:22]process_action_free x_report [12:30:22]json_value_free [12:30:22]json_value_free done [12:30:22]process_json_proto returns [12:30:22]Send response to host [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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 4E [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 54000000005725A9 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** 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: 511+1696508999=1696509510 [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 = 0x33520623 [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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 4F [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 47 AE 1E 65 47 AC 1E 65 ED [12:38:31]Current date/time: 05.10.2023 12:38 [12:38:31]FM_Init [12:38:31]wFMConnect [12:38:31]MH_SAM_On [12:38:31]Write to MH i2c: E0 00 00 08 00 E7 [12:38:31]Write i2c OK [12:38:31]MH_I2C_Read... [12:38:31]*** iso7816_init finished! [12:38:31]*** atr: [12:38:31]*** 0F 3B D5 18 FF 81 91 FE [12:38:31]*** 1F C3 80 73 C8 21 10 0A [12:38:31]*** 00 00 00 00 00 00 00 00 [12:38:31]*** 00 00 00 00 00 00 00 00 [12:38:31]*** 00 00 00 00 00 00 00 00 [12:38:31]*** 00 00 00 00 00 00 00 00 [12:38:31]*** 00 00 00 00 00 00 00 00 [12:38:31]*** 00 00 00 00 00 00 00 00 [12:38:31]Read from MH i2c: E0 [12:38:31]MH_I2C_Read... [12:38:31]Read from MH i2c: E0 10 00 [12:38:31]MH_I2C_Read... [12:38:31]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 [12:38:31]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [12:38:31]wFMCommunicate request_size=10 [12:38:31]MH_SAM_APDU [12:38:31]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [12:38:31]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [12:38:31]Write i2c OK [12:38:31]MH_I2C_Read... [12:38:31]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [12:38:31]Read from MH i2c: E2 [12:38:31]MH_I2C_Read... [12:38:31]Read from MH i2c: E2 03 00 [12:38:31]MH_I2C_Read... [12:38:31]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [12:38:31]RAPDU: 90 00 [12:38:31]wFMCommunicate OK [12:38:31]wFMCommunicate request_size=4 [12:38:31]MH_SAM_APDU [12:38:31]CAPDU: 80 11 00 00 [12:38:31]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [12:38:31]Write i2c OK [12:38:31]MH_I2C_Read... [12:38:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:31]Read from MH i2c: E2 [12:38:31]MH_I2C_Read... [12:38:31]Read from MH i2c: E2 17 00 [12:38:31]MH_I2C_Read... [12:38:31]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 35 36 32 37 90 00 DA [12:38:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:38:31]wFMCommunicate OK [12:38:31]Detected FM SN is 0000000000965627 [12:38:31]Stored FM SN is 0000000000875015 [12:38:31]Detected and stored FM are different - require to set a new PIN [12:38:31]DocumentArchiveInit [12:38:31]Start Httpd... [12:38:31]Httpd thread 3067333988 created [12:38:31]Write to MH i2c: 01 00 00 0B 00 0B [12:38:31]Write i2c OK [12:38:31]MH_I2C_Read... [12:38:31]Read from MH i2c: 01 [12:38:31]MH_I2C_Read... [12:38:31]Read from MH i2c: 01 07 00 [12:38:31]MH_I2C_Read... [12:38:31]Read from MH i2c: 01 07 00 0B 00 00 00 00 00 00 FF 0F 20 [12:38:31]MH Int Process started [12:38:31]OFD Sender: No OFD packet to send [12:38:31]Allocated Socket 7 [12:38:31]Bind OK [12:38:31]Listen OK [12:38:31]httpd running on port 8080 [12:38:31]Waiting for new connection... [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:42]accept exits with 8 [12:38:42]New connection [12:38:42]New thread 3067047268 created [12:38:42]Waiting for new connection... [12:38:42] Sock 8.Parse request [12:38:42]Sock 8.Check first char [12:38:42]Sock 8.First char is OK [12:38:42]request: POST /json_proto HTTP/1.1 [12:38:42]Method: POST [12:38:42]URL: /json_proto [12:38:42]Method is POST - this is cgi request [12:38:42]url: /json_proto [12:38:42]query_string will be loaded in cgi processing [12:38:42]execute_cgi json_proto POST (null) [12:38:42]execute_cgi path=json_proto method=POST [12:38:42]POST find Content-Length [12:38:42]Host: 192.168.0.101:8080 [12:38:42]Connection: keep-alive [12:38:42]Content-Length: 95 [12:38:42]Accept: application/json, text/plain, */* [12:38:42]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:38:42]Content-Type: application/json [12:38:42]Origin: http://192.168.0.101:8080 [12:38:42]Referer: http://192.168.0.101:8080/testengine [12:38:42]Accept-Encoding: gzip, deflate [12:38:42]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:38:42] [12:38:42]POST finish read [12:38:42]Found Content-Length = 95 [12:38:42]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn"]}} [12:38:42]execute_script... [12:38:42]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn"]}} [12:38:42]POST & json_proto [12:38:42]process_json_proto [12:38:42]json parsed OK: [12:38:42]protocol is kg_v1.0 [12:38:42]action value=get_value [12:38:42]process_action get_value [12:38:42]cmd_get_value [12:38:42]process_action get_value done [12:38:42]requested_data is exist [12:38:42]produce_requested_data [12:38:42]requested_item kkm.sn is exist - process it [12:38:42]produce_requested_data done [12:38:42]produce_requested_data return {"kkm.sn":"0300000176"} [12:38:42]process_action_free get_value [12:38:42]json_value_free [12:38:42]json_value_free done [12:38:42]process_json_proto returns [12:38:42]Send response to host [12:38:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000176"}}} [12:38:42]free response buf [12:38:42]execute_script done [12:38:42]execute_script returns [12:38:42]free content buf [12:38:42]Sock 8.Close socket [12:38:42]Sock 8.Thread stoped [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:39:01]OFD Sender: No OFD packet to send [12:39:06]OFD Sender: No OFD packet to send [12:39:11]OFD Sender: No OFD packet to send [12:39:16]OFD Sender: No OFD packet to send [12:39:21]OFD Sender: No OFD packet to send [12:39:26]OFD Sender: No OFD packet to send [12:39:31]OFD Sender: No OFD packet to send [12:39:36]OFD Sender: No OFD packet to send [12:39:41]OFD Sender: No OFD packet to send [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:39:59]accept exits with 9 [12:39:59]New connection [12:39:59]New thread 3066903908 created [12:39:59]Thread 3067047268 joined [12:39:59]Waiting for new connection... [12:39:59] Sock 9.Parse request [12:39:59]Sock 9.Check first char [12:39:59]Sock 9.First char is OK [12:39:59]request: POST /json_proto HTTP/1.1 [12:39:59]Method: POST [12:39:59]URL: /json_proto [12:39:59]Method is POST - this is cgi request [12:39:59]url: /json_proto [12:39:59]query_string will be loaded in cgi processing [12:39:59]execute_cgi json_proto POST (null) [12:39:59]execute_cgi path=json_proto method=POST [12:39:59]POST find Content-Length [12:39:59]Host: 192.168.0.101:8080 [12:39:59]Connection: keep-alive [12:39:59]Content-Length: 105 [12:39:59]Accept: application/json, text/plain, */* [12:39:59]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:39:59]Content-Type: application/json [12:39:59]Origin: http://192.168.0.101:8080 [12:39:59]Referer: http://192.168.0.101:8080/testengine [12:39:59]Accept-Encoding: gzip, deflate [12:39:59]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:39:59] [12:39:59]POST finish read [12:39:59]Found Content-Length = 105 [12:39:59]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"06101"}}} [12:39:59]execute_script... [12:39:59]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"06101"}}} [12:39:59]POST & json_proto [12:39:59]process_json_proto [12:39:59]json parsed OK: [12:39:59]protocol is kg_v1.0 [12:39:59]action value=set_value [12:39:59]process_action set_value [12:39:59]cmd_set_value [12:39:59]SetValue [12:39:59]group config [12:39:59]SetConfigValue fm_pin=06101 [12:39:59]SettingCheckAndSetValue fm_pin=06101 [12:39:59]wFMCommunicate request_size=4 [12:39:59]MH_SAM_APDU [12:39:59]CAPDU: 80 11 00 00 [12:39:59]Write to MH i2c: E2 08 00 0C 00 80 11 00 00 00 00 00 00 86 [12:39:59]Write i2c OK [12:39:59]MH_I2C_Read... [12:39:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:59]Read from MH i2c: E2 [12:39:59]MH_I2C_Read... [12:39:59]Read from MH i2c: E2 17 00 [12:39:59]MH_I2C_Read... [12:39:59]Read from MH i2c: E2 17 00 0C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 DC [12:39:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:39:59]wFMCommunicate OK [12:39:59]Detected FM SN is 0000000000965627 [12:39:59]Stored FM SN is 0000000000875015 [12:39:59]Detected and stored FM are different - require to set a new PIN [12:39:59]wFMCommunicate request_size=4 [12:39:59]MH_SAM_APDU [12:39:59]CAPDU: 80 11 00 00 [12:39:59]Write to MH i2c: E2 08 00 0D 00 80 11 00 00 00 00 00 00 87 [12:39:59]Write i2c OK [12:39:59]MH_I2C_Read... [12:40:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:00]Read from MH i2c: E2 [12:40:00]MH_I2C_Read... [12:40:00]Read from MH i2c: E2 17 00 [12:40:00]MH_I2C_Read... [12:40:00]Read from MH i2c: E2 17 00 0D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 DD [12:40:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:00]wFMCommunicate OK [12:40:00]Detected FM SN is 0000000000965627 [12:40:00]NVStorageSaveData config_fm_pin [12:40:00]File name is /storage/config_fm_pin [12:40:00]Write 5 bytes [12:40:00]NVStorageSaveData done [12:40:00]wFMCommunicate request_size=4 [12:40:00]MH_SAM_APDU [12:40:00]CAPDU: 80 11 00 00 [12:40:00]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [12:40:00]Write i2c OK [12:40:00]MH_I2C_Read... [12:40:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:00]Read from MH i2c: E2 [12:40:00]MH_I2C_Read... [12:40:00]Read from MH i2c: E2 17 00 [12:40:00]MH_I2C_Read... [12:40: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 35 36 32 37 90 00 DE [12:40:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:00]wFMCommunicate OK [12:40:00]Detected FM SN is 0000000000965627 [12:40:00]Stored FM SN is 0000000000875015 [12:40:00]Detected and stored FM are different - require to set a new PIN [12:40:00]wFMCommunicate request_size=4 [12:40:00]MH_SAM_APDU [12:40:00]CAPDU: 80 11 00 00 [12:40:00]Write to MH i2c: E2 08 00 0F 00 80 11 00 00 00 00 00 00 89 [12:40:00]Write i2c OK [12:40:00]MH_I2C_Read... [12:40:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:00]Read from MH i2c: E2 [12:40:00]MH_I2C_Read... [12:40:00]Read from MH i2c: E2 17 00 [12:40:00]MH_I2C_Read... [12:40:00]Read from MH i2c: E2 17 00 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 DF [12:40:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:00]wFMCommunicate OK [12:40:00]Detected FM SN is 0000000000965627 [12:40:00]NVStorageSaveData config_used_fm [12:40:00]File name is /storage/config_used_fm [12:40:00]Write 16 bytes [12:40:00]NVStorageSaveData done [12:40:00]SetValue res=0 [12:40:00]process_action set_value done [12:40:00]no requested_data - finishing processing [12:40:00]process_action_free set_value [12:40:00]json_value_free [12:40:00]json_value_free done [12:40:00]process_json_proto returns [12:40:00]Send response to host [12:40:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:40:00]free response buf [12:40:00]execute_script done [12:40:00]execute_script returns [12:40:00]free content buf [12:40:00]Sock 9.Close socket [12:40:00]Sock 9.Thread stoped [12:40:01]accept exits with 8 [12:40:01]New connection [12:40:01]New thread 3067047268 created [12:40:01]Thread 3066903908 joined [12:40:01]Waiting for new connection... [12:40:01] Sock 8.Parse request [12:40:01]Sock 8.Check first char [12:40:01]Sock 8.First char is OK [12:40:01]request: POST /json_proto HTTP/1.1 [12:40:01]Method: POST [12:40:01]URL: /json_proto [12:40:01]Method is POST - this is cgi request [12:40:01]url: /json_proto [12:40:01]query_string will be loaded in cgi processing [12:40:01]execute_cgi json_proto POST (null) [12:40:01]execute_cgi path=json_proto method=POST [12:40:01]POST find Content-Length [12:40:01]Host: 192.168.0.101:8080 [12:40:01]Connection: keep-alive [12:40:01]Content-Length: 105 [12:40:01]Accept: application/json, text/plain, */* [12:40:01]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:40:01]Content-Type: application/json [12:40:01]Origin: http://192.168.0.101:8080 [12:40:01]Referer: http://192.168.0.101:8080/testengine [12:40:01]Accept-Encoding: gzip, deflate [12:40:01]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:40:01] [12:40:01]POST finish read [12:40:01]Found Content-Length = 105 [12:40:01]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"06101"}}} [12:40:01]execute_script... [12:40:01]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"06101"}}} [12:40:01]POST & json_proto [12:40:01]process_json_proto [12:40:01]json parsed OK: [12:40:01]protocol is kg_v1.0 [12:40:01]action value=set_value [12:40:01]process_action set_value [12:40:01]cmd_set_value [12:40:01]SetValue [12:40:01]group config [12:40:01]SetConfigValue fm_pin=06101 [12:40:01]SettingCheckAndSetValue fm_pin=06101 [12:40:01]wFMCommunicate request_size=4 [12:40:01]MH_SAM_APDU [12:40:01]CAPDU: 80 11 00 00 [12:40:01]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:01]Read from MH i2c: E2 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 17 00 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 E0 [12:40:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:01]wFMCommunicate OK [12:40:01]Detected FM SN is 0000000000965627 [12:40:01]Stored FM SN is 0000000000965627 [12:40:01]wFMCommunicate request_size=9 [12:40:01]MH_SAM_APDU [12:40:01]CAPDU: 80 16 00 00 04 D5 17 00 00 [12:40:01]Write to MH i2c: E2 0C 00 11 00 80 16 00 00 04 00 D5 17 00 00 00 00 84 [12:40:01]OFD Sender: No OFD packet to send [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:01]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [12:40:01]Read from MH i2c: E2 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 03 00 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 03 00 11 00 00 90 00 85 [12:40:01]RAPDU: 90 00 [12:40:01]wFMCommunicate OK [12:40:01]FM PIN OK [12:40:01]wFMCommunicate request_size=8 [12:40:01]MH_SAM_APDU [12:40:01]CAPDU: 80 14 04 00 03 02 00 01 [12:40:01]Write to MH i2c: E2 0B 00 12 00 80 14 04 00 03 00 02 00 01 00 00 9C [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:01]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [12:40:01]Read from MH i2c: E2 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 03 00 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 03 00 12 00 00 90 00 86 [12:40:01]RAPDU: 90 00 [12:40:01]wFMCommunicate OK [12:40:01]wFMCommunicate request_size=13 [12:40:01]MH_SAM_APDU [12:40:01]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [12:40:01]Write to MH i2c: E2 10 00 13 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 C1 [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:01]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [12:40:01]Read from MH i2c: E2 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 03 00 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 03 00 13 00 00 90 00 87 [12:40:01]RAPDU: 90 00 [12:40:01]wFMCommunicate OK [12:40:01]wFMCommunicate request_size=4 [12:40:01]MH_SAM_APDU [12:40:01]CAPDU: 80 11 00 00 [12:40:01]Write to MH i2c: E2 08 00 14 00 80 11 00 00 00 00 00 00 8E [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:01]Read from MH i2c: E2 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 17 00 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 17 00 14 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 E4 [12:40:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:01]wFMCommunicate OK [12:40:01]wFMCommunicate request_size=4 [12:40:01]MH_SAM_APDU [12:40:01]CAPDU: 80 11 00 00 [12:40:01]Write to MH i2c: E2 08 00 15 00 80 11 00 00 00 00 00 00 8F [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:01]Read from MH i2c: E2 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 17 00 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 17 00 15 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 E5 [12:40:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:01]wFMCommunicate OK [12:40:01]Detected FM SN is 0000000000965627 [12:40:01]NVStorageSaveData config_fm_pin [12:40:01]File name is /storage/config_fm_pin [12:40:01]Write 5 bytes [12:40:01]NVStorageSaveData done [12:40:01]wFMCommunicate request_size=4 [12:40:01]MH_SAM_APDU [12:40:01]CAPDU: 80 11 00 00 [12:40:01]Write to MH i2c: E2 08 00 16 00 80 11 00 00 00 00 00 00 90 [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:01]Read from MH i2c: E2 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 17 00 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: E2 17 00 16 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 E6 [12:40:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:01]wFMCommunicate OK [12:40:01]Detected FM SN is 0000000000965627 [12:40:01]NVStorageSaveData config_used_fm [12:40:01]File name is /storage/config_used_fm [12:40:01]Write 16 bytes [12:40:01]NVStorageSaveData done [12:40:01]SetValue res=0 [12:40:01]process_action set_value done [12:40:01]no requested_data - finishing processing [12:40:01]process_action_free set_value [12:40:01]json_value_free [12:40:01]json_value_free done [12:40:01]process_json_proto returns [12:40:01]Send response to host [12:40:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:40:01]free response buf [12:40:01]execute_script done [12:40:01]execute_script returns [12:40:01]free content buf [12:40:01]Sock 8.Close socket [12:40:01]Sock 8.Thread stoped [12:40:02]accept exits with 9 [12:40:02]New connection [12:40:02]New thread 3066903908 created [12:40:02]Thread 3067047268 joined [12:40:02]Waiting for new connection... [12:40:02] Sock 9.Parse request [12:40:02]Sock 9.Check first char [12:40:02]Sock 9.First char is OK [12:40:02]request: POST /json_proto HTTP/1.1 [12:40:02]Method: POST [12:40:02]URL: /json_proto [12:40:02]Method is POST - this is cgi request [12:40:02]url: /json_proto [12:40:02]query_string will be loaded in cgi processing [12:40:02]execute_cgi json_proto POST (null) [12:40:02]execute_cgi path=json_proto method=POST [12:40:02]POST find Content-Length [12:40:02]Host: 192.168.0.101:8080 [12:40:02]Connection: keep-alive [12:40:02]Content-Length: 105 [12:40:02]Accept: application/json, text/plain, */* [12:40:02]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:40:02]Content-Type: application/json [12:40:02]Origin: http://192.168.0.101:8080 [12:40:02]Referer: http://192.168.0.101:8080/testengine [12:40:02]Accept-Encoding: gzip, deflate [12:40:02]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:40:02] [12:40:02]POST finish read [12:40:02]Found Content-Length = 105 [12:40:02]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"06101"}}} [12:40:02]execute_script... [12:40:02]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"06101"}}} [12:40:02]POST & json_proto [12:40:02]process_json_proto [12:40:02]json parsed OK: [12:40:02]protocol is kg_v1.0 [12:40:02]action value=set_value [12:40:02]process_action set_value [12:40:02]cmd_set_value [12:40:02]SetValue [12:40:02]group config [12:40:02]SetConfigValue fm_pin=06101 [12:40:02]SettingCheckAndSetValue fm_pin=06101 [12:40:02]wFMCommunicate request_size=4 [12:40:02]MH_SAM_APDU [12:40:02]CAPDU: 80 11 00 00 [12:40:02]Write to MH i2c: E2 08 00 17 00 80 11 00 00 00 00 00 00 91 [12:40:02]Write i2c OK [12:40:02]MH_I2C_Read... [12:40:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:02]Read from MH i2c: E2 [12:40:02]MH_I2C_Read... [12:40:02]Read from MH i2c: E2 17 00 [12:40:02]MH_I2C_Read... [12:40:02]Read from MH i2c: E2 17 00 17 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 E7 [12:40:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:02]wFMCommunicate OK [12:40:02]Detected FM SN is 0000000000965627 [12:40:02]NVStorageSaveData config_fm_pin [12:40:02]File name is /storage/config_fm_pin [12:40:02]Write 5 bytes [12:40:02]NVStorageSaveData done [12:40:02]wFMCommunicate request_size=4 [12:40:02]MH_SAM_APDU [12:40:02]CAPDU: 80 11 00 00 [12:40:02]Write to MH i2c: E2 08 00 18 00 80 11 00 00 00 00 00 00 92 [12:40:02]Write i2c OK [12:40:02]MH_I2C_Read... [12:40:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:02]Read from MH i2c: E2 [12:40:02]MH_I2C_Read... [12:40:02]Read from MH i2c: E2 17 00 [12:40:02]MH_I2C_Read... [12:40:02]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 35 36 32 37 90 00 E8 [12:40:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:40:02]wFMCommunicate OK [12:40:02]Detected FM SN is 0000000000965627 [12:40:02]NVStorageSaveData config_used_fm [12:40:02]File name is /storage/config_used_fm [12:40:02]Write 16 bytes [12:40:02]NVStorageSaveData done [12:40:02]SetValue res=0 [12:40:02]process_action set_value done [12:40:02]no requested_data - finishing processing [12:40:02]process_action_free set_value [12:40:02]json_value_free [12:40:02]json_value_free done [12:40:02]process_json_proto returns [12:40:02]Send response to host [12:40:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:40:02]free response buf [12:40:02]execute_script done [12:40:02]execute_script returns [12:40:02]free content buf [12:40:02]Sock 9.Close socket [12:40:02]Sock 9.Thread stoped [12:40:06]OFD Sender: No OFD packet to send [12:40:11]OFD Sender: No OFD packet to send [12:40:16]OFD Sender: No OFD packet to send [12:40:21]OFD Sender: No OFD packet to send [12:40:22]accept exits with 8 [12:40:22]New connection [12:40:22]New thread 3067047268 created [12:40:22]Thread 3066903908 joined [12:40:22]Waiting for new connection... [12:40:22] Sock 8.Parse request [12:40:22]Sock 8.Check first char [12:40:22]Sock 8.First char is OK [12:40:22]request: POST /json_proto HTTP/1.1 [12:40:22]Method: POST [12:40:22]URL: /json_proto [12:40:22]Method is POST - this is cgi request [12:40:22]url: /json_proto [12:40:22]query_string will be loaded in cgi processing [12:40:22]execute_cgi json_proto POST (null) [12:40:22]execute_cgi path=json_proto method=POST [12:40:22]POST find Content-Length [12:40:22]Host: 192.168.0.101:8080 [12:40:22]Connection: keep-alive [12:40:22]Content-Length: 113 [12:40:22]Accept: application/json, text/plain, */* [12:40:22]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:40:22]Content-Type: application/json [12:40:22]Origin: http://192.168.0.101:8080 [12:40:22]Referer: http://192.168.0.101:8080/testengine [12:40:22]Accept-Encoding: gzip, deflate [12:40:22]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:40:22] [12:40:22]POST finish read [12:40:22]Found Content-Length = 113 [12:40:22]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [12:40:22]execute_script... [12:40:22]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"}}} [12:40:22]POST & json_proto [12:40:22]process_json_proto [12:40:22]json parsed OK: [12:40:22]protocol is kg_v1.0 [12:40:22]action value=set_value [12:40:22]process_action set_value [12:40:22]cmd_set_value [12:40:22]SetValue [12:40:22]group config [12:40:22]SetConfigValue ofd_host=lk.salyk.kg [12:40:22]SettingCheckAndSetValue ofd_host=lk.salyk.kg [12:40:22]NVStorageSaveData config_ofd_host [12:40:22]File name is /storage/config_ofd_host [12:40:22]Write 11 bytes [12:40:22]NVStorageSaveData done [12:40:22]SetValue res=0 [12:40:22]process_action set_value done [12:40:22]no requested_data - finishing processing [12:40:22]process_action_free set_value [12:40:22]json_value_free [12:40:22]json_value_free done [12:40:22]process_json_proto returns [12:40:22]Send response to host [12:40:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:40:22]free response buf [12:40:22]execute_script done [12:40:22]execute_script returns [12:40:22]free content buf [12:40:22]Sock 8.Close socket [12:40:22]Sock 8.Thread stoped [12:40:22]accept exits with 9 [12:40:22]New connection [12:40:22]New thread 3066903908 created [12:40:22]Thread 3067047268 joined [12:40:22]Waiting for new connection... [12:40:22] Sock 9.Parse request [12:40:22]Sock 9.Check first char [12:40:22]Sock 9.First char is OK [12:40:22]request: POST /json_proto HTTP/1.1 [12:40:22]Method: POST [12:40:22]URL: /json_proto [12:40:22]Method is POST - this is cgi request [12:40:22]url: /json_proto [12:40:22]query_string will be loaded in cgi processing [12:40:22]execute_cgi json_proto POST (null) [12:40:22]execute_cgi path=json_proto method=POST [12:40:22]POST find Content-Length [12:40:22]Host: 192.168.0.101:8080 [12:40:22]Connection: keep-alive [12:40:22]Content-Length: 113 [12:40:22]Accept: application/json, text/plain, */* [12:40:22]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:40:22]Content-Type: application/json [12:40:22]Origin: http://192.168.0.101:8080 [12:40:22]Referer: http://192.168.0.101:8080/testengine [12:40:22]Accept-Encoding: gzip, deflate [12:40:22]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:40:22] [12:40:22]POST finish read [12:40:22]Found Content-Length = 113 [12:40:22]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [12:40:22]execute_script... [12:40:22]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"}}} [12:40:22]POST & json_proto [12:40:22]process_json_proto [12:40:22]json parsed OK: [12:40:22]protocol is kg_v1.0 [12:40:22]action value=set_value [12:40:22]process_action set_value [12:40:22]cmd_set_value [12:40:22]SetValue [12:40:22]group config [12:40:22]SetConfigValue ofd_host=lk.salyk.kg [12:40:22]SettingCheckAndSetValue ofd_host=lk.salyk.kg [12:40:22]NVStorageSaveData config_ofd_host [12:40:22]File name is /storage/config_ofd_host [12:40:22]Write 11 bytes [12:40:22]NVStorageSaveData done [12:40:22]SetValue res=0 [12:40:22]process_action set_value done [12:40:22]no requested_data - finishing processing [12:40:22]process_action_free set_value [12:40:22]json_value_free [12:40:22]json_value_free done [12:40:22]process_json_proto returns [12:40:22]Send response to host [12:40:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:40:22]free response buf [12:40:22]execute_script done [12:40:22]execute_script returns [12:40:22]free content buf [12:40:22]Sock 9.Close socket [12:40:22]Sock 9.Thread stoped [12:40:26]OFD Sender: No OFD packet to send [12:40:31]OFD Sender: No OFD packet to send [12:40:36]OFD Sender: No OFD packet to send [12:40:41]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:40:58]accept exits with 8 [12:40:58]New connection [12:40:58]New thread 3067047268 created [12:40:58]Thread 3066903908 joined [12:40:58]Waiting for new connection... [12:40:58] Sock 8.Parse request [12:40:58]Sock 8.Check first char [12:40:58]Sock 8.First char is OK [12:40:58]request: POST /json_proto HTTP/1.1 [12:40:58]Method: POST [12:40:58]URL: /json_proto [12:40:58]Method is POST - this is cgi request [12:40:58]url: /json_proto [12:40:58]query_string will be loaded in cgi processing [12:40:58]execute_cgi json_proto POST (null) [12:40:58]execute_cgi path=json_proto method=POST [12:40:58]POST find Content-Length [12:40:58]Host: 192.168.0.101:8080 [12:40:58]Connection: keep-alive [12:40:58]Content-Length: 107 [12:40:58]Accept: application/json, text/plain, */* [12:40:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:40:58]Content-Type: application/json [12:40:58]Origin: http://192.168.0.101:8080 [12:40:58]Referer: http://192.168.0.101:8080/testengine [12:40:58]Accept-Encoding: gzip, deflate [12:40:58]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:40:58] [12:40:58]POST finish read [12:40:58]Found Content-Length = 107 [12:40:58]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [12:40:58]execute_script... [12:40:58]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [12:40:58]POST & json_proto [12:40:58]process_json_proto [12:40:58]json parsed OK: [12:40:58]protocol is kg_v1.0 [12:40:58]action value=set_value [12:40:58]process_action set_value [12:40:58]cmd_set_value [12:40:58]SetValue [12:40:58]group config [12:40:58]SetConfigValue ofd_port=30040 [12:40:58]SettingCheckAndSetValue ofd_port=30040 [12:40:58]NVStorageSaveData config_ofd_port [12:40:58]File name is /storage/config_ofd_port [12:40:58]Write 5 bytes [12:40:58]NVStorageSaveData done [12:40:58]SetValue res=0 [12:40:58]process_action set_value done [12:40:58]no requested_data - finishing processing [12:40:58]process_action_free set_value [12:40:58]json_value_free [12:40:58]json_value_free done [12:40:58]process_json_proto returns [12:40:58]Send response to host [12:40:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:40:58]free response buf [12:40:58]execute_script done [12:40:58]execute_script returns [12:40:58]free content buf [12:40:58]Sock 8.Close socket [12:40:58]Sock 8.Thread stoped [12:40:59]accept exits with 9 [12:40:59]New connection [12:40:59]New thread 3066903908 created [12:40:59]Thread 3067047268 joined [12:40:59]Waiting for new connection... [12:40:59] Sock 9.Parse request [12:40:59]Sock 9.Check first char [12:40:59]Sock 9.First char is OK [12:40:59]request: POST /json_proto HTTP/1.1 [12:40:59]Method: POST [12:40:59]URL: /json_proto [12:40:59]Method is POST - this is cgi request [12:40:59]url: /json_proto [12:40:59]query_string will be loaded in cgi processing [12:40:59]execute_cgi json_proto POST (null) [12:40:59]execute_cgi path=json_proto method=POST [12:40:59]POST find Content-Length [12:40:59]Host: 192.168.0.101:8080 [12:40:59]Connection: keep-alive [12:40:59]Content-Length: 107 [12:40:59]Accept: application/json, text/plain, */* [12:40:59]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:40:59]Content-Type: application/json [12:40:59]Origin: http://192.168.0.101:8080 [12:40:59]Referer: http://192.168.0.101:8080/testengine [12:40:59]Accept-Encoding: gzip, deflate [12:40:59]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:40:59] [12:40:59]POST finish read [12:40:59]Found Content-Length = 107 [12:40:59]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [12:40:59]execute_script... [12:40:59]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [12:40:59]POST & json_proto [12:40:59]process_json_proto [12:40:59]json parsed OK: [12:40:59]protocol is kg_v1.0 [12:40:59]action value=set_value [12:40:59]process_action set_value [12:40:59]cmd_set_value [12:40:59]SetValue [12:40:59]group config [12:40:59]SetConfigValue ofd_port=30040 [12:40:59]SettingCheckAndSetValue ofd_port=30040 [12:40:59]NVStorageSaveData config_ofd_port [12:40:59]File name is /storage/config_ofd_port [12:40:59]Write 5 bytes [12:40:59]NVStorageSaveData done [12:40:59]SetValue res=0 [12:40:59]process_action set_value done [12:40:59]no requested_data - finishing processing [12:40:59]process_action_free set_value [12:40:59]json_value_free [12:40:59]json_value_free done [12:40:59]process_json_proto returns [12:40:59]Send response to host [12:40:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:40:59]free response buf [12:40:59]execute_script done [12:40:59]execute_script returns [12:40:59]free content buf [12:40:59]Sock 9.Close socket [12:40:59]Sock 9.Thread stoped [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]accept exits with 8 [12:41:11]New connection [12:41:11]New thread 3067047268 created [12:41:11]Thread 3066903908 joined [12:41:11]Waiting for new connection... [12:41:11] Sock 8.Parse request [12:41:11]Sock 8.Check first char [12:41:11]Sock 8.First char is OK [12:41:11]request: POST /json_proto HTTP/1.1 [12:41:11]Method: POST [12:41:11]URL: /json_proto [12:41:11]Method is POST - this is cgi request [12:41:11]url: /json_proto [12:41:11]query_string will be loaded in cgi processing [12:41:11]execute_cgi json_proto POST (null) [12:41:11]execute_cgi path=json_proto method=POST [12:41:11]POST find Content-Length [12:41:11]Host: 192.168.0.101:8080 [12:41:11]Connection: keep-alive [12:41:11]Content-Length: 110 [12:41:11]Accept: application/json, text/plain, */* [12:41:11]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:41:11]Content-Type: application/json [12:41:11]Origin: http://192.168.0.101:8080 [12:41:11]Referer: http://192.168.0.101:8080/testengine [12:41:11]Accept-Encoding: gzip, deflate [12:41:11]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:41:11] [12:41:11]POST finish read [12:41:11]Found Content-Length = 110 [12:41:11]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [12:41:11]execute_script... [12:41:11]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"}}} [12:41:11]POST & json_proto [12:41:11]process_json_proto [12:41:11]json parsed OK: [12:41:11]protocol is kg_v1.0 [12:41:11]action value=set_value [12:41:11]process_action set_value [12:41:11]cmd_set_value [12:41:11]SetValue [12:41:11]group config [12:41:11]SetConfigValue ofd_send_enable=1 [12:41:11]SettingCheckAndSetValue ofd_send_enable=1 [12:41:11]NVStorageSaveData config_ofd_send_enable [12:41:11]File name is /storage/config_ofd_send_enable [12:41:11]Write 1 bytes [12:41:11]NVStorageSaveData done [12:41:11]SetValue res=0 [12:41:11]process_action set_value done [12:41:11]no requested_data - finishing processing [12:41:11]process_action_free set_value [12:41:11]json_value_free [12:41:11]json_value_free done [12:41:11]process_json_proto returns [12:41:11]Send response to host [12:41:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:41:11]free response buf [12:41:11]execute_script done [12:41:11]execute_script returns [12:41:11]free content buf [12:41:11]Sock 8.Close socket [12:41:11]Sock 8.Thread stoped [12:41:11]OFD Sender: No OFD packet to send [12:41:11]accept exits with 9 [12:41:11]New connection [12:41:11]New thread 3066903908 created [12:41:11]Thread 3067047268 joined [12:41:11]Waiting for new connection... [12:41:11] Sock 9.Parse request [12:41:11]Sock 9.Check first char [12:41:11]Sock 9.First char is OK [12:41:11]request: POST /json_proto HTTP/1.1 [12:41:11]Method: POST [12:41:11]URL: /json_proto [12:41:11]Method is POST - this is cgi request [12:41:11]url: /json_proto [12:41:11]query_string will be loaded in cgi processing [12:41:11]execute_cgi json_proto POST (null) [12:41:11]execute_cgi path=json_proto method=POST [12:41:11]POST find Content-Length [12:41:11]Host: 192.168.0.101:8080 [12:41:11]Connection: keep-alive [12:41:11]Content-Length: 110 [12:41:11]Accept: application/json, text/plain, */* [12:41:11]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:41:11]Content-Type: application/json [12:41:11]Origin: http://192.168.0.101:8080 [12:41:11]Referer: http://192.168.0.101:8080/testengine [12:41:11]Accept-Encoding: gzip, deflate [12:41:11]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:41:11] [12:41:11]POST finish read [12:41:11]Found Content-Length = 110 [12:41:11]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [12:41:11]execute_script... [12:41:11]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"}}} [12:41:11]POST & json_proto [12:41:11]process_json_proto [12:41:11]json parsed OK: [12:41:11]protocol is kg_v1.0 [12:41:11]action value=set_value [12:41:11]process_action set_value [12:41:11]cmd_set_value [12:41:11]SetValue [12:41:11]group config [12:41:11]SetConfigValue ofd_send_enable=1 [12:41:11]SettingCheckAndSetValue ofd_send_enable=1 [12:41:11]NVStorageSaveData config_ofd_send_enable [12:41:11]File name is /storage/config_ofd_send_enable [12:41:11]Write 1 bytes [12:41:11]NVStorageSaveData done [12:41:11]SetValue res=0 [12:41:11]process_action set_value done [12:41:11]no requested_data - finishing processing [12:41:11]process_action_free set_value [12:41:11]json_value_free [12:41:11]json_value_free done [12:41:11]process_json_proto returns [12:41:11]Send response to host [12:41:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:41:11]free response buf [12:41:11]execute_script done [12:41:11]execute_script returns [12:41:11]free content buf [12:41:11]Sock 9.Close socket [12:41:11]Sock 9.Thread stoped [12:41:15]accept exits with 8 [12:41:15]New connection [12:41:15]New thread 3067047268 created [12:41:15]Thread 3066903908 joined [12:41:15]Waiting for new connection... [12:41:15] Sock 8.Parse request [12:41:15]Sock 8.Check first char [12:41:15]Sock 8.First char is OK [12:41:15]request: POST /json_proto HTTP/1.1 [12:41:15]Method: POST [12:41:15]URL: /json_proto [12:41:15]Method is POST - this is cgi request [12:41:15]url: /json_proto [12:41:15]query_string will be loaded in cgi processing [12:41:15]execute_cgi json_proto POST (null) [12:41:15]execute_cgi path=json_proto method=POST [12:41:15]POST find Content-Length [12:41:15]Host: 192.168.0.101:8080 [12:41:15]Connection: keep-alive [12:41:15]Content-Length: 110 [12:41:15]Accept: application/json, text/plain, */* [12:41:15]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:41:15]Content-Type: application/json [12:41:15]Origin: http://192.168.0.101:8080 [12:41:15]Referer: http://192.168.0.101:8080/testengine [12:41:15]Accept-Encoding: gzip, deflate [12:41:15]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:41:15] [12:41:15]POST finish read [12:41:15]Found Content-Length = 110 [12:41:15]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [12:41:15]execute_script... [12:41:15]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"}}} [12:41:15]POST & json_proto [12:41:15]process_json_proto [12:41:15]json parsed OK: [12:41:15]protocol is kg_v1.0 [12:41:15]action value=set_value [12:41:15]process_action set_value [12:41:15]cmd_set_value [12:41:15]SetValue [12:41:15]group config [12:41:15]SetConfigValue ofd_send_enable=1 [12:41:15]SettingCheckAndSetValue ofd_send_enable=1 [12:41:15]NVStorageSaveData config_ofd_send_enable [12:41:15]File name is /storage/config_ofd_send_enable [12:41:15]Write 1 bytes [12:41:15]NVStorageSaveData done [12:41:15]SetValue res=0 [12:41:15]process_action set_value done [12:41:15]no requested_data - finishing processing [12:41:15]process_action_free set_value [12:41:15]json_value_free [12:41:15]json_value_free done [12:41:15]process_json_proto returns [12:41:15]Send response to host [12:41:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:41:15]free response buf [12:41:15]execute_script done [12:41:15]execute_script returns [12:41:15]free content buf [12:41:15]Sock 8.Close socket [12:41:15]Sock 8.Thread stoped [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:25]accept exits with 9 [12:41:25]New connection [12:41:25]New thread 3066903908 created [12:41:25]Thread 3067047268 joined [12:41:25]Waiting for new connection... [12:41:25] Sock 9.Parse request [12:41:25]Sock 9.Check first char [12:41:25]Sock 9.First char is OK [12:41:25]request: POST /json_proto HTTP/1.1 [12:41:25]Method: POST [12:41:25]URL: /json_proto [12:41:25]Method is POST - this is cgi request [12:41:25]url: /json_proto [12:41:25]query_string will be loaded in cgi processing [12:41:25]execute_cgi json_proto POST (null) [12:41:25]execute_cgi path=json_proto method=POST [12:41:25]POST find Content-Length [12:41:25]Host: 192.168.0.101:8080 [12:41:25]Connection: keep-alive [12:41:25]Content-Length: 158 [12:41:25]Accept: application/json, text/plain, */* [12:41:26]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:41:26]Content-Type: application/json [12:41:26]Origin: http://192.168.0.101:8080 [12:41:26]Referer: http://192.168.0.101:8080/testengine [12:41:26]Accept-Encoding: gzip, deflate [12:41:26]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:41:26] [12:41:26]POST finish read [12:41:26]Found Content-Length = 158 [12:41:26]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?"}}} [12:41:26]execute_script... [12:41:26]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?"}}} [12:41:26]POST & json_proto [12:41:26]process_json_proto [12:41:26]json parsed OK: [12:41:26]protocol is kg_v1.0 [12:41:26]action value=set_value [12:41:26]process_action set_value [12:41:26]cmd_set_value [12:41:26]SetValue [12:41:26]group config [12:41:26]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:41:26]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:41:26]NVStorageSaveData config_qr_uri [12:41:26]File name is /storage/config_qr_uri [12:41:26]Write 58 bytes [12:41:26]NVStorageSaveData done [12:41:26]SetValue res=0 [12:41:26]process_action set_value done [12:41:26]no requested_data - finishing processing [12:41:26]process_action_free set_value [12:41:26]json_value_free [12:41:26]json_value_free done [12:41:26]process_json_proto returns [12:41:26]Send response to host [12:41:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:41:26]free response buf [12:41:26]execute_script done [12:41:26]execute_script returns [12:41:26]free content buf [12:41:26]Sock 9.Close socket [12:41:26]Sock 9.Thread stoped [12:41:26]OFD Sender: No OFD packet to send [12:41:26]accept exits with 8 [12:41:26]New connection [12:41:26]New thread 3067047268 created [12:41:26]Thread 3066903908 joined [12:41:26]Waiting for new connection... [12:41:26] Sock 8.Parse request [12:41:26]Sock 8.Check first char [12:41:26]Sock 8.First char is OK [12:41:26]request: POST /json_proto HTTP/1.1 [12:41:26]Method: POST [12:41:26]URL: /json_proto [12:41:26]Method is POST - this is cgi request [12:41:26]url: /json_proto [12:41:26]query_string will be loaded in cgi processing [12:41:26]execute_cgi json_proto POST (null) [12:41:26]execute_cgi path=json_proto method=POST [12:41:26]POST find Content-Length [12:41:26]Host: 192.168.0.101:8080 [12:41:26]Connection: keep-alive [12:41:26]Content-Length: 158 [12:41:26]Accept: application/json, text/plain, */* [12:41:26]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:41:26]Content-Type: application/json [12:41:26]Origin: http://192.168.0.101:8080 [12:41:26]Referer: http://192.168.0.101:8080/testengine [12:41:26]Accept-Encoding: gzip, deflate [12:41:26]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:41:26] [12:41:26]POST finish read [12:41:26]Found Content-Length = 158 [12:41:26]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?"}}} [12:41:26]execute_script... [12:41:26]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?"}}} [12:41:26]POST & json_proto [12:41:26]process_json_proto [12:41:26]json parsed OK: [12:41:26]protocol is kg_v1.0 [12:41:26]action value=set_value [12:41:26]process_action set_value [12:41:26]cmd_set_value [12:41:26]SetValue [12:41:26]group config [12:41:26]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:41:26]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:41:26]NVStorageSaveData config_qr_uri [12:41:26]File name is /storage/config_qr_uri [12:41:26]Write 58 bytes [12:41:26]NVStorageSaveData done [12:41:26]SetValue res=0 [12:41:26]process_action set_value done [12:41:26]no requested_data - finishing processing [12:41:26]process_action_free set_value [12:41:26]json_value_free [12:41:26]json_value_free done [12:41:26]process_json_proto returns [12:41:26]Send response to host [12:41:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:41:26]free response buf [12:41:26]execute_script done [12:41:26]execute_script returns [12:41:26]free content buf [12:41:26]Sock 8.Close socket [12:41:26]Sock 8.Thread stoped [12:41:27]accept exits with 9 [12:41:27]New connection [12:41:27]New thread 3066903908 created [12:41:27]Thread 3067047268 joined [12:41:27]Waiting for new connection... [12:41:27] Sock 9.Parse request [12:41:27]Sock 9.Check first char [12:41:27]Sock 9.First char is OK [12:41:27]request: POST /json_proto HTTP/1.1 [12:41:27]Method: POST [12:41:27]URL: /json_proto [12:41:27]Method is POST - this is cgi request [12:41:27]url: /json_proto [12:41:27]query_string will be loaded in cgi processing [12:41:27]execute_cgi json_proto POST (null) [12:41:27]execute_cgi path=json_proto method=POST [12:41:27]POST find Content-Length [12:41:27]Host: 192.168.0.101:8080 [12:41:27]Connection: keep-alive [12:41:27]Content-Length: 158 [12:41:27]Accept: application/json, text/plain, */* [12:41:27]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:41:27]Content-Type: application/json [12:41:27]Origin: http://192.168.0.101:8080 [12:41:27]Referer: http://192.168.0.101:8080/testengine [12:41:27]Accept-Encoding: gzip, deflate [12:41:27]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:41:27] [12:41:27]POST finish read [12:41:27]Found Content-Length = 158 [12:41:27]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?"}}} [12:41:27]execute_script... [12:41:27]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?"}}} [12:41:27]POST & json_proto [12:41:27]process_json_proto [12:41:27]json parsed OK: [12:41:27]protocol is kg_v1.0 [12:41:27]action value=set_value [12:41:27]process_action set_value [12:41:27]cmd_set_value [12:41:27]SetValue [12:41:27]group config [12:41:27]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:41:27]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [12:41:27]NVStorageSaveData config_qr_uri [12:41:27]File name is /storage/config_qr_uri [12:41:27]Write 58 bytes [12:41:27]NVStorageSaveData done [12:41:27]SetValue res=0 [12:41:27]process_action set_value done [12:41:27]no requested_data - finishing processing [12:41:27]process_action_free set_value [12:41:27]json_value_free [12:41:27]json_value_free done [12:41:27]process_json_proto returns [12:41:27]Send response to host [12:41:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:41:27]free response buf [12:41:27]execute_script done [12:41:27]execute_script returns [12:41:27]free content buf [12:41:27]Sock 9.Close socket [12:41:27]Sock 9.Thread stoped [12:41:31]OFD Sender: No OFD packet to send [12:41:33]accept exits with 8 [12:41:33]New connection [12:41:33]New thread 3067047268 created [12:41:33]Thread 3066903908 joined [12:41:33]Waiting for new connection... [12:41:33] Sock 8.Parse request [12:41:33]Sock 8.Check first char [12:41:33]Sock 8.First char is OK [12:41:33]request: POST /json_proto HTTP/1.1 [12:41:33]Method: POST [12:41:33]URL: /json_proto [12:41:33]Method is POST - this is cgi request [12:41:33]url: /json_proto [12:41:33]query_string will be loaded in cgi processing [12:41:33]execute_cgi json_proto POST (null) [12:41:33]execute_cgi path=json_proto method=POST [12:41:33]POST find Content-Length [12:41:33]Host: 192.168.0.101:8080 [12:41:33]Connection: keep-alive [12:41:33]Content-Length: 359 [12:41:33]Accept: application/json, text/plain, */* [12:41:33]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:41:33]Content-Type: application/json [12:41:33]Origin: http://192.168.0.101:8080 [12:41:33]Referer: http://192.168.0.101:8080/testengine [12:41:33]Accept-Encoding: gzip, deflate [12:41:33]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:41:33] [12:41:33]POST finish read [12:41:33]Found Content-Length = 359 [12:41:33]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:41:33]execute_script... [12:41:33]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:41:33]POST & json_proto [12:41:33]process_json_proto [12:41:33]json parsed OK: [12:41:33]protocol is kg_v1.0 [12:41:33]action value=x_report [12:41:33]process_action x_report [12:41:33]cmd_x_report [12:41:33]MH_GetDate [12:41:33]Write to MH i2c: F0 00 00 19 00 08 [12:41:33]Write i2c OK [12:41:33]MH_I2C_Read... [12:41:33]Read from MH i2c: F0 [12:41:33]MH_I2C_Read... [12:41:33]Read from MH i2c: F0 09 00 [12:41:33]MH_I2C_Read... [12:41:33]Read from MH i2c: F0 09 00 19 00 00 FD AE 1E 65 47 AC 1E 65 B5 [12:41:33]GetLastDocTimeStamp 0 [12:41:33]current date 1696509693 [12:41:33]FM_GetShiftState [12:41:33]SAM_PROTO_GetShiftState [12:41:33]wFMCommunicate request_size=4 [12:41:33]MH_SAM_APDU [12:41:33]CAPDU: 80 13 01 00 [12:41:33]Write to MH i2c: E2 08 00 1A 00 80 13 01 00 00 00 00 00 97 [12:41:33]Write i2c OK [12:41:33]MH_I2C_Read... [12:41:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:41:33]Read from MH i2c: E2 [12:41:33]MH_I2C_Read... [12:41:33]Read from MH i2c: E2 0E 00 [12:41:33]MH_I2C_Read... [12:41:33]Read from MH i2c: E2 0E 00 1A 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A2 [12:41:33]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:41:33]wFMCommunicate OK [12:41:33]SAM_PROTO_GetShiftState done [12:41:33]FM_GetShiftState done [12:41:33]process_action_free x_report [12:41:33]json_value_free [12:41:33]json_value_free done [12:41:33]process_json_proto returns [12:41:33]Send response to host [12:41:33]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:41:33]free response buf [12:41:33]execute_script done [12:41:33]execute_script returns [12:41:33]free content buf [12:41:33]Sock 8.Close socket [12:41:33]Sock 8.Thread stoped [12:41:35]accept exits with 9 [12:41:35]New connection [12:41:35]New thread 3066903908 created [12:41:35]Thread 3067047268 joined [12:41:35]Waiting for new connection... [12:41:35] Sock 9.Parse request [12:41:35]Sock 9.Check first char [12:41:35]Sock 9.First char is OK [12:41:35]request: POST /json_proto HTTP/1.1 [12:41:35]Method: POST [12:41:35]URL: /json_proto [12:41:35]Method is POST - this is cgi request [12:41:35]url: /json_proto [12:41:35]query_string will be loaded in cgi processing [12:41:35]execute_cgi json_proto POST (null) [12:41:35]execute_cgi path=json_proto method=POST [12:41:35]POST find Content-Length [12:41:35]Host: 192.168.0.101:8080 [12:41:35]Connection: keep-alive [12:41:35]Content-Length: 359 [12:41:35]Accept: application/json, text/plain, */* [12:41:35]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:41:35]Content-Type: application/json [12:41:35]Origin: http://192.168.0.101:8080 [12:41:35]Referer: http://192.168.0.101:8080/testengine [12:41:35]Accept-Encoding: gzip, deflate [12:41:35]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:41:35] [12:41:35]POST finish read [12:41:35]Found Content-Length = 359 [12:41:35]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:41:35]execute_script... [12:41:35]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:41:35]POST & json_proto [12:41:35]process_json_proto [12:41:35]json parsed OK: [12:41:35]protocol is kg_v1.0 [12:41:35]action value=x_report [12:41:35]process_action x_report [12:41:35]cmd_x_report [12:41:35]MH_GetDate [12:41:35]Write to MH i2c: F0 00 00 1B 00 0A [12:41:35]Write i2c OK [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: F0 [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: F0 09 00 [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: F0 09 00 1B 00 00 FF AE 1E 65 47 AC 1E 65 B9 [12:41:35]GetLastDocTimeStamp 0 [12:41:35]current date 1696509695 [12:41:35]FM_GetShiftState [12:41:35]SAM_PROTO_GetShiftState [12:41:35]wFMCommunicate request_size=4 [12:41:35]MH_SAM_APDU [12:41:35]CAPDU: 80 13 01 00 [12:41:35]Write to MH i2c: E2 08 00 1C 00 80 13 01 00 00 00 00 00 99 [12:41:35]Write i2c OK [12:41:35]MH_I2C_Read... [12:41:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:41:35]Read from MH i2c: E2 [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: E2 0E 00 [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: E2 0E 00 1C 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A4 [12:41:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:41:35]wFMCommunicate OK [12:41:35]SAM_PROTO_GetShiftState done [12:41:35]FM_GetShiftState done [12:41:35]process_action_free x_report [12:41:35]json_value_free [12:41:35]json_value_free done [12:41:35]process_json_proto returns [12:41:35]Send response to host [12:41:35]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:41:35]free response buf [12:41:35]execute_script done [12:41:35]execute_script returns [12:41:35]free content buf [12:41:35]Sock 9.Close socket [12:41:35]Sock 9.Thread stoped [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:00]accept exits with 8 [12:42:00]New connection [12:42:00]New thread 3067047268 created [12:42:00]Thread 3066903908 joined [12:42:00]Waiting for new connection... [12:42:00] Sock 8.Parse request [12:42:00]Sock 8.Check first char [12:42:00]Sock 8.First char is OK [12:42:00]request: POST /json_proto HTTP/1.1 [12:42:00]Method: POST [12:42:00]URL: /json_proto [12:42:00]Method is POST - this is cgi request [12:42:00]url: /json_proto [12:42:00]query_string will be loaded in cgi processing [12:42:00]execute_cgi json_proto POST (null) [12:42:00]execute_cgi path=json_proto method=POST [12:42:00]POST find Content-Length [12:42:00]Host: 192.168.0.101:8080 [12:42:00]Connection: keep-alive [12:42:00]Content-Length: 253 [12:42:00]Accept: application/json, text/plain, */* [12:42:00]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:42:00]Content-Type: application/json [12:42:00]Origin: http://192.168.0.101:8080 [12:42:00]Referer: http://192.168.0.101:8080/testengine [12:42:00]Accept-Encoding: gzip, deflate [12:42:00]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:42:00] [12:42:00]POST finish read [12:42:00]Found Content-Length = 253 [12:42:00]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn","kkm.ver","kkm.rnm","fm.sn","fm.ffd_ver","fm.expired","fd.num","shift.num","shift.opened","shift.open_date","shift.receipt_num","shift.receipts","shift.docs"]}} [12:42:00]execute_script... [12:42:00]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn","kkm.ver","kkm.rnm","fm.sn","fm.ffd_ver","fm.expired","fd.num","shift.num","shift.opened","shift.open_date","shift.receipt_num","shift.receipts","shift.docs"]}} [12:42:00]POST & json_proto [12:42:00]process_json_proto [12:42:00]json parsed OK: [12:42:00]protocol is kg_v1.0 [12:42:00]action value=get_value [12:42:00]process_action get_value [12:42:00]cmd_get_value [12:42:00]process_action get_value done [12:42:00]requested_data is exist [12:42:00]produce_requested_data [12:42:00]requested_item kkm.sn is exist - process it [12:42:00]requested_item kkm.ver is exist - process it [12:42:00]requested_item kkm.rnm is exist - process it [12:42:00]SAM_PROTO_GetFieldsCounters [12:42:00]wFMCommunicate request_size=4 [12:42:00]MH_SAM_APDU [12:42:00]CAPDU: 80 13 00 00 [12:42:00]Write to MH i2c: E2 08 00 1D 00 80 13 00 00 00 00 00 00 99 [12:42:00]Write i2c OK [12:42:00]MH_I2C_Read... [12:42:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:42:00]Read from MH i2c: E2 [12:42:00]MH_I2C_Read... [12:42:00]Read from MH i2c: E2 62 00 [12:42:00]MH_I2C_Read... [12:42:00]Read from MH i2c: E2 62 00 1D 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 0D 04 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 04 04 00 00 00 00 00 0E 04 04 00 00 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 00 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [12:42:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 0D 04 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 04 04 00 00 00 00 00 0E 04 04 00 00 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 00 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:42:00]wFMCommunicate OK [12:42:00]SAM_PROTO_GetFieldsCounters done [12:42:00]requested_item fm.sn is exist - process it [12:42:00]wFMCommunicate request_size=4 [12:42:00]MH_SAM_APDU [12:42:00]CAPDU: 80 11 00 00 [12:42:00]Write to MH i2c: E2 08 00 1E 00 80 11 00 00 00 00 00 00 98 [12:42:00]Write i2c OK [12:42:00]MH_I2C_Read... [12:42:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:42:00]Read from MH i2c: E2 [12:42:00]MH_I2C_Read... [12:42:00]Read from MH i2c: E2 17 00 [12:42:00]MH_I2C_Read... [12:42:00]Read from MH i2c: E2 17 00 1E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 EE [12:42:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:42:00]wFMCommunicate OK [12:42:00]requested_item fm.ffd_ver is exist - process it [12:42:00]requested_item fm.expired is exist - process it [12:42:00]requested_item fd.num is exist - process it [12:42:00]requested_item shift.num is exist - process it [12:42:00]requested_item shift.opened is exist - process it [12:42:00]req_shift_opened [12:42:00]FM_GetShiftState [12:42:00]SAM_PROTO_GetShiftState [12:42:00]wFMCommunicate request_size=4 [12:42:00]MH_SAM_APDU [12:42:00]CAPDU: 80 13 01 00 [12:42:00]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [12:42:00]Write i2c OK [12:42:00]MH_I2C_Read... [12:42:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:42:00]Read from MH i2c: E2 [12:42:00]MH_I2C_Read... [12:42:00]Read from MH i2c: E2 0E 00 [12:42:00]MH_I2C_Read... [12:42:00]Read from MH i2c: E2 0E 00 1F 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A7 [12:42:00]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:42:00]wFMCommunicate OK [12:42:00]SAM_PROTO_GetShiftState done [12:42:00]FM_GetShiftState done [12:42:00]req_shift_opened done [12:42:00]requested_item shift.open_date is exist - process it [12:42:00]req_shift_open_date [12:42:00]FM_GetShiftState [12:42:00]SAM_PROTO_GetShiftState [12:42:00]wFMCommunicate request_size=4 [12:42:00]MH_SAM_APDU [12:42:00]CAPDU: 80 13 01 00 [12:42:00]Write to MH i2c: E2 08 00 20 00 80 13 01 00 00 00 00 00 9D [12:42:00]Write i2c OK [12:42:00]MH_I2C_Read... [12:42:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:42:00]Read from MH i2c: E2 [12:42:00]MH_I2C_Read... [12:42:00]Read from MH i2c: E2 0E 00 [12:42:00]MH_I2C_Read... [12:42:00]Read from MH i2c: E2 0E 00 20 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A8 [12:42:00]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:42:00]wFMCommunicate OK [12:42:00]SAM_PROTO_GetShiftState done [12:42:00]FM_GetShiftState done [12:42:00]req_shift_open_date done [12:42:00]requested_item shift.receipt_num is exist - process it [12:42:00]requested_item shift.receipts is exist - process it [12:42:00]requested_item shift.docs is exist - process it [12:42:00]produce_requested_data done [12:42:00]produce_requested_data return {"kkm.sn":"0300000176","kkm.ver":"v1.0","kkm.rnm":"","fm.sn":"0000000000965627","fm.ffd_ver":"1.0","fm.expired":"01.01.1970 00:00","fd.num":0,"shift.num":0,"shift.opened":0,"shift.open_date":0,"shift.receipt_num":0,"shift.receipts":0,"shift.docs":0} [12:42:00]process_action_free get_value [12:42:00]json_value_free [12:42:00]json_value_free done [12:42:00]process_json_proto returns [12:42:00]Send response to host [12:42:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000176","kkm.ver":"v1.0","kkm.rnm":"","fm.sn":"0000000000965627","fm.ffd_ver":"1.0","fm.expired":"01.01.1970 00:00","fd.num":0,"shift.num":0,"shift.opened":0,"shift.open_date":0,"shift.receipt_num":0,"shift.receipts":0,"shift.docs":0}}} [12:42:00]free response buf [12:42:00]execute_script done [12:42:00]execute_script returns [12:42:00]free content buf [12:42:00]Sock 8.Close socket [12:42:00]Sock 8.Thread stoped [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:35]accept exits with 9 [12:42:35]New connection [12:42:35]New thread 3066903908 created [12:42:35]Thread 3067047268 joined [12:42:35]Waiting for new connection... [12:42:35] Sock 9.Parse request [12:42:35]Sock 9.Check first char [12:42:35]Sock 9.First char is OK [12:42:35]request: POST /json_proto HTTP/1.1 [12:42:35]Method: POST [12:42:35]URL: /json_proto [12:42:35]Method is POST - this is cgi request [12:42:35]url: /json_proto [12:42:35]query_string will be loaded in cgi processing [12:42:35]execute_cgi json_proto POST (null) [12:42:35]execute_cgi path=json_proto method=POST [12:42:35]POST find Content-Length [12:42:35]Host: 192.168.0.101:8080 [12:42:35]Connection: keep-alive [12:42:35]Content-Length: 362 [12:42:35]Accept: application/json, text/plain, */* [12:42:35]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:42:35]Content-Type: application/json [12:42:35]Origin: http://192.168.0.101:8080 [12:42:35]Referer: http://192.168.0.101:8080/testengine [12:42:35]Accept-Encoding: gzip, deflate [12:42:35]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:42:35] [12:42:35]POST finish read [12:42:35]Found Content-Length = 362 [12:42:35]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":"Сергей Смирнов"}}} [12:42:35]execute_script... [12:42:35]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":"Сергей Смирнов"}}} [12:42:35]POST & json_proto [12:42:35]process_json_proto [12:42:35]json parsed OK: [12:42:35]protocol is kg_v1.0 [12:42:35]action value=close_shift [12:42:35]process_action close_shift [12:42:35]cmd_close_shift [12:42:35]MH_GetDate [12:42:35]Write to MH i2c: F0 00 00 21 00 10 [12:42:35]Write i2c OK [12:42:35]MH_I2C_Read... [12:42:35]Read from MH i2c: F0 [12:42:35]MH_I2C_Read... [12:42:35]Read from MH i2c: F0 09 00 [12:42:35]MH_I2C_Read... [12:42:35]Read from MH i2c: F0 09 00 21 00 00 3B AF 1E 65 47 AC 1E 65 FC [12:42:35]GetLastDocTimeStamp 0 [12:42:35]current date 1696509755 [12:42:35]FM_GetShiftState [12:42:35]SAM_PROTO_GetShiftState [12:42:35]wFMCommunicate request_size=4 [12:42:35]MH_SAM_APDU [12:42:35]CAPDU: 80 13 01 00 [12:42:35]Write to MH i2c: E2 08 00 22 00 80 13 01 00 00 00 00 00 9F [12:42:35]Write i2c OK [12:42:35]MH_I2C_Read... [12:42:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:42:35]Read from MH i2c: E2 [12:42:35]MH_I2C_Read... [12:42:35]Read from MH i2c: E2 0E 00 [12:42:35]MH_I2C_Read... [12:42:35]Read from MH i2c: E2 0E 00 22 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 AA [12:42:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:42:35]wFMCommunicate OK [12:42:35]SAM_PROTO_GetShiftState done [12:42:35]FM_GetShiftState done [12:42:35]process_action_free close_shift [12:42:35]json_value_free [12:42:35]json_value_free done [12:42:35]process_json_proto returns [12:42:35]Send response to host [12:42:35]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:42:35]free response buf [12:42:35]execute_script done [12:42:35]execute_script returns [12:42:35]free content buf [12:42:35]Sock 9.Close socket [12:42:35]Sock 9.Thread stoped [12:42:36]OFD Sender: No OFD packet to send [12:42:40]accept exits with 8 [12:42:40]New connection [12:42:40]New thread 3067047268 created [12:42:40]Thread 3066903908 joined [12:42:40]Waiting for new connection... [12:42:40] Sock 8.Parse request [12:42:40]Sock 8.Check first char [12:42:40]Sock 8.First char is OK [12:42:40]request: POST /json_proto HTTP/1.1 [12:42:40]Method: POST [12:42:40]URL: /json_proto [12:42:40]Method is POST - this is cgi request [12:42:40]url: /json_proto [12:42:40]query_string will be loaded in cgi processing [12:42:40]execute_cgi json_proto POST (null) [12:42:40]execute_cgi path=json_proto method=POST [12:42:40]POST find Content-Length [12:42:40]Host: 192.168.0.101:8080 [12:42:40]Connection: keep-alive [12:42:40]Content-Length: 359 [12:42:40]Accept: application/json, text/plain, */* [12:42:40]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:42:40]Content-Type: application/json [12:42:40]Origin: http://192.168.0.101:8080 [12:42:40]Referer: http://192.168.0.101:8080/testengine [12:42:40]Accept-Encoding: gzip, deflate [12:42:40]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:42:40] [12:42:40]POST finish read [12:42:40]Found Content-Length = 359 [12:42:40]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:42:40]execute_script... [12:42:40]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ООО Ромашка\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:42:40]POST & json_proto [12:42:40]process_json_proto [12:42:40]json parsed OK: [12:42:40]protocol is kg_v1.0 [12:42:40]action value=x_report [12:42:40]process_action x_report [12:42:40]cmd_x_report [12:42:40]MH_GetDate [12:42:40]Write to MH i2c: F0 00 00 23 00 12 [12:42:41]Write i2c OK [12:42:41]MH_I2C_Read... [12:42:41]Read from MH i2c: F0 [12:42:41]MH_I2C_Read... [12:42:41]Read from MH i2c: F0 09 00 [12:42:41]MH_I2C_Read... [12:42:41]Read from MH i2c: F0 09 00 23 00 00 41 AF 1E 65 47 AC 1E 65 04 [12:42:41]GetLastDocTimeStamp 0 [12:42:41]current date 1696509761 [12:42:41]FM_GetShiftState [12:42:41]SAM_PROTO_GetShiftState [12:42:41]wFMCommunicate request_size=4 [12:42:41]MH_SAM_APDU [12:42:41]CAPDU: 80 13 01 00 [12:42:41]Write to MH i2c: E2 08 00 24 00 80 13 01 00 00 00 00 00 A1 [12:42:41]Write i2c OK [12:42:41]MH_I2C_Read... [12:42:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:42:41]Read from MH i2c: E2 [12:42:41]MH_I2C_Read... [12:42:41]Read from MH i2c: E2 0E 00 [12:42:41]MH_I2C_Read... [12:42:41]Read from MH i2c: E2 0E 00 24 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 AC [12:42:41]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:42:41]wFMCommunicate OK [12:42:41]SAM_PROTO_GetShiftState done [12:42:41]FM_GetShiftState done [12:42:41]process_action_free x_report [12:42:41]json_value_free [12:42:41]json_value_free done [12:42:41]process_json_proto returns [12:42:41]Send response to host [12:42:41]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:42:41]free response buf [12:42:41]execute_script done [12:42:41]execute_script returns [12:42:41]free content buf [12:42:41]Sock 8.Close socket [12:42:41]Sock 8.Thread stoped [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:12]accept exits with 9 [12:44:12]New connection [12:44:12]New thread 3066903908 created [12:44:12]Thread 3067047268 joined [12:44:12]Waiting for new connection... [12:44:12] Sock 9.Parse request [12:44:12]Sock 9.Check first char [12:44:12]Sock 9.First char is OK [12:44:12]request: POST /json_proto HTTP/1.1 [12:44:12]Method: POST [12:44:12]URL: /json_proto [12:44:12]Method is POST - this is cgi request [12:44:12]url: /json_proto [12:44:12]query_string will be loaded in cgi processing [12:44:12]execute_cgi json_proto POST (null) [12:44:12]execute_cgi path=json_proto method=POST [12:44:12]POST find Content-Length [12:44:12]Host: 192.168.0.101:8080 [12:44:12]Connection: keep-alive [12:44:12]Content-Length: 364 [12:44:12]Accept: application/json, text/plain, */* [12:44:12]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:44:12]Content-Type: application/json [12:44:12]Origin: http://192.168.0.101:8080 [12:44:12]Referer: http://192.168.0.101:8080/testengine [12:44:12]Accept-Encoding: gzip, deflate [12:44:12]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:44:12] [12:44:12]POST finish read [12:44:12]Found Content-Length = 364 [12:44:12]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ОсОО Тренд Ойл\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:44:12]execute_script... [12:44:12]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ОсОО Тренд Ойл\n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:44:12]POST & json_proto [12:44:12]process_json_proto [12:44:12]json parsed OK: [12:44:12]protocol is kg_v1.0 [12:44:12]action value=x_report [12:44:12]process_action x_report [12:44:12]cmd_x_report [12:44:12]MH_GetDate [12:44:12]Write to MH i2c: F0 00 00 25 00 14 [12:44:12]Write i2c OK [12:44:12]MH_I2C_Read... [12:44:12]Read from MH i2c: F0 [12:44:12]MH_I2C_Read... [12:44:12]Read from MH i2c: F0 09 00 [12:44:12]MH_I2C_Read... [12:44:12]Read from MH i2c: F0 09 00 25 00 00 9C AF 1E 65 47 AC 1E 65 61 [12:44:12]GetLastDocTimeStamp 0 [12:44:12]current date 1696509852 [12:44:12]FM_GetShiftState [12:44:12]SAM_PROTO_GetShiftState [12:44:12]wFMCommunicate request_size=4 [12:44:12]MH_SAM_APDU [12:44:12]CAPDU: 80 13 01 00 [12:44:12]Write to MH i2c: E2 08 00 26 00 80 13 01 00 00 00 00 00 A3 [12:44:12]Write i2c OK [12:44:12]MH_I2C_Read... [12:44:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:12]Read from MH i2c: E2 [12:44:12]MH_I2C_Read... [12:44:12]Read from MH i2c: E2 0E 00 [12:44:12]MH_I2C_Read... [12:44:12]Read from MH i2c: E2 0E 00 26 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 AE [12:44:12]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:44:12]wFMCommunicate OK [12:44:12]SAM_PROTO_GetShiftState done [12:44:12]FM_GetShiftState done [12:44:12]process_action_free x_report [12:44:12]json_value_free [12:44:12]json_value_free done [12:44:12]process_json_proto returns [12:44:12]Send response to host [12:44:12]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:44:12]free response buf [12:44:12]execute_script done [12:44:12]execute_script returns [12:44:12]free content buf [12:44:12]Sock 9.Close socket [12:44:12]Sock 9.Thread stoped [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:26]OFD Sender: No OFD packet to send [12:45:31]OFD Sender: No OFD packet to send [12:45:36]OFD Sender: No OFD packet to send [12:45:41]OFD Sender: No OFD packet to send [12:45:46]OFD Sender: No OFD packet to send [12:45:51]OFD Sender: No OFD packet to send [12:45:56]OFD Sender: No OFD packet to send [12:46:01]OFD Sender: No OFD packet to send [12:46:06]OFD Sender: No OFD packet to send [12:46:11]OFD Sender: No OFD packet to send [12:46:16]OFD Sender: No OFD packet to send [12:46:21]OFD Sender: No OFD packet to send [12:46:26]OFD Sender: No OFD packet to send [12:46:31]OFD Sender: No OFD packet to send [12:46:36]OFD Sender: No OFD packet to send [12:46:41]OFD Sender: No OFD packet to send [12:46:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]OFD Sender: No OFD packet to send [12:47:36]OFD Sender: No OFD packet to send [12:47:41]OFD Sender: No OFD packet to send [12:47:46]OFD Sender: No OFD packet to send [12:47:51]OFD Sender: No OFD packet to send [12:47:56]OFD Sender: No OFD packet to send [12:48:01]OFD Sender: No OFD packet to send [12:48:06]OFD Sender: No OFD packet to send [12:48:11]OFD Sender: No OFD packet to send [12:48:16]OFD Sender: No OFD packet to send [12:48:21]OFD Sender: No OFD packet to send [12:48:26]OFD Sender: No OFD packet to send [12:48:31]OFD Sender: No OFD packet to send [12:48:36]OFD Sender: No OFD packet to send [12:48:41]OFD Sender: No OFD packet to send [12:48:46]OFD Sender: No OFD packet to send [12:48:51]OFD Sender: No OFD packet to send [12:48:56]OFD Sender: No OFD packet to send [12:49:01]OFD Sender: No OFD packet to send [12:49:06]OFD Sender: No OFD packet to send [12:49:11]OFD Sender: No OFD packet to send [12:49:16]OFD Sender: No OFD packet to send [12:49:21]OFD Sender: No OFD packet to send [12:49:26]OFD Sender: No OFD packet to send [12:49:31]OFD Sender: No OFD packet to send [12:49:36]OFD Sender: No OFD packet to send [12:49:41]OFD Sender: No OFD packet to send [12:49:46]OFD Sender: No OFD packet to send [12:49:51]OFD Sender: No OFD packet to send [12:49:56]OFD Sender: No OFD packet to send [12:50:01]OFD Sender: No OFD packet to send [12:50:06]OFD Sender: No OFD packet to send [12:50:11]OFD Sender: No OFD packet to send [12:50:16]OFD Sender: No OFD packet to send [12:50:21]OFD Sender: No OFD packet to send [12:50:26]OFD Sender: No OFD packet to send [12:50:31]OFD Sender: No OFD packet to send [12:50:36]OFD Sender: No OFD packet to send [12:50:41]OFD Sender: No OFD packet to send [12:50:46]OFD Sender: No OFD packet to send [12:50:49]accept exits with 8 [12:50:49]New connection [12:50:49]New thread 3067047268 created [12:50:49]Thread 3066903908 joined [12:50:49]Waiting for new connection... [12:50:49] Sock 8.Parse request [12:50:49]Sock 8.Check first char [12:50:49]Sock 8.First char is OK [12:50:49]request: POST /json_proto HTTP/1.1 [12:50:49]Method: POST [12:50:49]URL: /json_proto [12:50:49]Method is POST - this is cgi request [12:50:49]url: /json_proto [12:50:49]query_string will be loaded in cgi processing [12:50:49]execute_cgi json_proto POST (null) [12:50:49]execute_cgi path=json_proto method=POST [12:50:49]POST find Content-Length [12:50:49]Host: 192.168.0.101:8080 [12:50:49]Connection: keep-alive [12:50:49]Content-Length: 722 [12:50:49]Accept: application/json, text/plain, */* [12:50:49]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:50:49]Content-Type: application/json [12:50:49]Origin: http://192.168.0.101:8080 [12:50:49]Referer: http://192.168.0.101:8080/testengine [12:50:49]Accept-Encoding: gzip, deflate [12:50:49]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:50:49] [12:50:49]POST finish read [12:50:49]Found Content-Length = 722 [12:50:49]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":"02004201810074","nds_flag":1,"business_type":1,"service_type":2,"ugns":17,"item_types":0,"rnm":"0000000000108361","address":"Жети-Огузский район","place":"с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846","fm_expiration_date":"05.10.2026","operator":"АЗС № 7 \"Trend Oil\"","tax_sys":1,"change_couse":0}}} [12:50:49]execute_script... [12:50:49]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":"02004201810074","nds_flag":1,"business_type":1,"service_type":2,"ugns":17,"item_types":0,"rnm":"0000000000108361","address":"Жети-Огузский район","place":"с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846","fm_expiration_date":"05.10.2026","operator":"АЗС № 7 \"Trend Oil\"","tax_sys":1,"change_couse":0}}} [12:50:49]POST & json_proto [12:50:49]process_json_proto [12:50:49]json parsed OK: [12:50:49]protocol is kg_v1.0 [12:50:49]action value=registration [12:50:49]process_action registration [12:50:49]cmd_registration [12:50:49]MH_GetDate [12:50:49]Write to MH i2c: F0 00 00 27 00 16 [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: F0 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: F0 09 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: F0 09 00 27 00 00 29 B1 1E 65 47 AC 1E 65 F2 [12:50:49]GetLastDocTimeStamp 0 [12:50:49]current date 1696510249 [12:50:49]FM_GetShiftState [12:50:49]SAM_PROTO_GetShiftState [12:50:49]wFMCommunicate request_size=4 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 13 01 00 [12:50:49]Write to MH i2c: E2 08 00 28 00 80 13 01 00 00 00 00 00 A5 [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 0E 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 0E 00 28 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B0 [12:50:49]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:50:49]wFMCommunicate OK [12:50:49]SAM_PROTO_GetShiftState done [12:50:49]FM_GetShiftState done [12:50:49]KKMCreateRegistartionDocument [12:50:49]Load OK [12:50:49]Malloc new data [12:50:49]MH_GetDate [12:50:49]Write to MH i2c: F0 00 00 29 00 18 [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: F0 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: F0 09 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: F0 09 00 29 00 00 29 B1 1E 65 47 AC 1E 65 F4 [12:50:49]Malloc new data [12:50:49]Malloc new data [12:50:49]Malloc new data [12:50:49]Malloc new data [12:50:49]Malloc new data [12:50:49]Malloc new data [12:50:49]Malloc new data [12:50:49]Malloc new data [12:50:49]KKMSetRegistrationData OK [12:50:49]ProcessDocumentItem done err = 0, tmpTLVsize=294 [12:50:49]tlvbuf is 01D22FE0 [12:50:49]KKMLoadAndSignRegistrationData [12:50:49]SAM_PROTO_ProcessDocument [12:50:49]wFMCommunicate request_size=9 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 01 00 04 01 00 26 01 [12:50:49]Write to MH i2c: E2 0C 00 2A 00 80 15 01 00 04 00 01 00 26 01 00 00 D9 [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 2A 00 00 90 00 9E [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=37 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 20 18 04 1C 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A2 D1 80 D0 B5 D0 BD D0 B4 20 D0 9E D0 B9 D0 BB 22 [12:50:49]Write to MH i2c: E2 28 00 2B 00 80 15 02 00 20 00 18 04 1C 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A2 D1 80 D0 B5 D0 BD D0 B4 20 D0 9E D0 B9 D0 BB 22 00 00 1E [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=23 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 [12:50:49]Write to MH i2c: E2 1A 00 2C 00 80 15 02 00 12 00 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 00 00 98 [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=11 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 06 26 04 02 00 01 00 [12:50:49]Write to MH i2c: E2 0E 00 2D 00 80 15 02 00 06 00 26 04 02 00 01 00 00 00 E6 [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=10 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 05 65 04 01 00 01 [12:50:49]Write to MH i2c: E2 0D 00 2E 00 80 15 02 00 05 00 65 04 01 00 01 00 00 23 [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=13 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 08 03 04 04 00 01 00 00 00 [12:50:49]Write to MH i2c: E2 10 00 2F 00 80 15 02 00 08 00 03 04 04 00 01 00 00 00 00 00 CB [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 2F 00 00 90 00 A3 [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=13 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 08 04 04 04 00 02 00 00 00 [12:50:49]Write to MH i2c: E2 10 00 30 00 80 15 02 00 08 00 04 04 04 00 02 00 00 00 00 00 CE [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 30 00 00 90 00 A4 [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=13 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 08 05 04 04 00 11 00 00 00 [12:50:49]Write to MH i2c: E2 10 00 31 00 80 15 02 00 08 00 05 04 04 00 11 00 00 00 00 00 DF [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 31 00 00 90 00 A5 [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=10 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 05 22 04 01 00 00 [12:50:49]Write to MH i2c: E2 0D 00 32 00 80 15 02 00 05 00 22 04 01 00 00 00 00 E3 [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 32 00 00 90 00 A6 [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=13 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 08 F4 03 04 00 29 B1 1E 65 [12:50:49]Write to MH i2c: E2 10 00 33 00 80 15 02 00 08 00 F4 03 04 00 29 B1 1E 65 00 00 1B [12:50:49]Write i2c OK [12:50:49]MH_I2C_Read... [12:50:49]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:49]Read from MH i2c: E2 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 [12:50:49]MH_I2C_Read... [12:50:49]Read from MH i2c: E2 03 00 33 00 00 90 00 A7 [12:50:49]RAPDU: 90 00 [12:50:49]wFMCommunicate OK [12:50:49]wFMCommunicate request_size=25 [12:50:49]MH_SAM_APDU [12:50:49]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 [12:50:49]Write to MH i2c: E2 1C 00 34 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 00 00 10 [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 34 00 00 90 00 A8 [12:50:50]RAPDU: 90 00 [12:50:50]wFMCommunicate OK [12:50:50]wFMCommunicate request_size=19 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 15 02 00 0E F5 03 0A 00 30 33 30 30 30 30 30 31 37 36 [12:50:50]Write to MH i2c: E2 16 00 35 00 80 15 02 00 0E 00 F5 03 0A 00 30 33 30 30 30 30 30 31 37 36 00 00 C4 [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 35 00 00 90 00 A9 [12:50:50]RAPDU: 90 00 [12:50:50]wFMCommunicate OK [12:50:50]wFMCommunicate request_size=33 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 15 02 00 1C FD 03 18 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 20 22 54 72 65 6E 64 20 4F 69 6C 22 [12:50:50]Write to MH i2c: E2 24 00 36 00 80 15 02 00 1C 00 FD 03 18 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 20 22 54 72 65 6E 64 20 4F 69 6C 22 00 00 56 [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 36 00 00 90 00 AA [12:50:50]RAPDU: 90 00 [12:50:50]wFMCommunicate OK [12:50:50]wFMCommunicate request_size=45 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 15 02 00 28 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD [12:50:50]Write to MH i2c: E2 30 00 37 00 80 15 02 00 28 00 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 00 00 60 [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 37 00 00 90 00 AB [12:50:50]RAPDU: 90 00 [12:50:50]wFMCommunicate OK [12:50:50]wFMCommunicate request_size=91 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 15 02 00 56 A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 [12:50:50]Write to MH i2c: E2 5E 00 38 00 80 15 02 00 56 00 A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 00 00 B3 [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [12:50:50]RAPDU: 90 00 [12:50:50]wFMCommunicate OK [12:50:50]wFMCommunicate request_size=13 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 15 02 00 08 A4 04 04 00 76 31 2E 30 [12:50:50]Write to MH i2c: E2 10 00 39 00 80 15 02 00 08 00 A4 04 04 00 76 31 2E 30 00 00 7A [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [12:50:50]RAPDU: 90 00 [12:50:50]wFMCommunicate OK [12:50:50]wFMCommunicate request_size=4 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 15 03 00 [12:50:50]Write to MH i2c: E2 08 00 3A 00 80 15 03 00 00 00 00 00 BB [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 45! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 30 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 30 00 3A 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 35 36 32 37 10 04 04 00 01 00 00 00 35 04 06 00 47 25 2A 54 81 19 90 00 E9 [12:50:50]RAPDU: 2B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 01 00 00 00 35 04 06 00 47 25 2A 54 81 19 90 00 [12:50:50]wFMCommunicate OK [12:50:50]SAM_PROTO_ProcessDocument answer len = 43 [12:50:50]SAM_PROTO_ProcessDocument done [12:50:50]SetTLVBufToDocument [12:50:50]Processing tag 1209 (04B9) [12:50:50]Malloc new data [12:50:50]Processing tag 1041 (0411) [12:50:50]Processing tag 1040 (0410) [12:50:50]Malloc new data [12:50:50]Processing tag 1077 (0435) [12:50:50]Malloc new data [12:50:50]SetTLVBufToDocument err=0 [12:50:50]KKMLoadAndSignRegistrationData store KKM data [12:50:50]NVStorageSaveData kkm_registration [12:50:50]File name is /storage/kkm_registration [12:50:50]Write 784 bytes [12:50:50]NVStorageSaveData done [12:50:50]SetUserName err=0 [12:50:50]NVStorageSaveData kkm_registration [12:50:50]File name is /storage/kkm_registration [12:50:50]Write 784 bytes [12:50:50]NVStorageSaveData done [12:50:50]SetUserINN err=0 [12:50:50]NVStorageSaveData kkm_registration [12:50:50]File name is /storage/kkm_registration [12:50:50]Write 784 bytes [12:50:50]NVStorageSaveData done [12:50:50]SetKKMRNM err=0 [12:50:50]NVStorageSaveData kkm_registration [12:50:50]File name is /storage/kkm_registration [12:50:50]Write 784 bytes [12:50:50]NVStorageSaveData done [12:50:50]SetPaymentAddress err=0 [12:50:50]NVStorageSaveData kkm_registration [12:50:50]File name is /storage/kkm_registration [12:50:50]Write 784 bytes [12:50:50]NVStorageSaveData done [12:50:50]SetPaymentPlace err=0 [12:50:50]NVStorageSaveData kkm_registration [12:50:50]File name is /storage/kkm_registration [12:50:50]Write 784 bytes [12:50:50]NVStorageSaveData done [12:50:50]SetSNO err=0 [12:50:50]KKMLoadAndSignRegistrationData err=0 [12:50:50] ОсОО Тренд Ойл Добро пожаловать Отчет о регистрации ФФД: 1.0 Организация: ОсОО "Тренд Ойл" ИНН: 02004201810074 СНО: Общий режим Рег. по НДС: ДА Тип: Автомобильная заправочная станция (АЗС) Вид: Розничная торговля горюче-смазочными материалами УГНС: Жети-Огузский район ППР: 05.10.2023 12:50 РНМ: 0000000000108361 ЗНМ: 0300000176 Кассир: АЗС № 7 "Trend Oil" Адрес: Жети-Огузский район Место: с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846 Версия ККМ: v1.0 Дата окончания ФМ: 05.10.2026 00:00 ОсОО "Тренд Ойл" *** СПАСИБО *** ФД: 1 ФМ: 0000000000965627 ФПД: 78224949543193 *** ЖДЕМ ВАС ОПЯТЬ *** [12:50:50]StoreToDocumentArchive [12:50:50]shift 0 fd 1 [12:50:50]Create dir for shift 0000 [12:50:50]save to /storage/0000/doc_00000001 [12:50:50]save last doc name /storage/0000/doc_00000001 to /storage/kkm_last_doc_name [12:50:50]save OK [12:50:50]Clear old archive folders... [12:50:50]ProcessDocumentItem done err = 0, tmpTLVsize=345 [12:50:50]tlvbuf is 01D5CCE0 [12:50:50]SAM_PROTO_ClearQueue [12:50:50]wFMCommunicate request_size=4 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 09 00 00 [12:50:50]Write to MH i2c: E2 08 00 3B 00 80 09 00 00 00 00 00 00 AD [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [12:50:50]RAPDU: 90 00 [12:50:50]wFMCommunicate OK [12:50:50]SAM_PROTO_ClearQueue done [12:50:50]before KKMMakeOFDPacketRegistrationDocument [12:50:50]KKMMakeOFDPacketRegistrationDocument [12:50:50]before KKMCreateOFDPacket [12:50:50]KKMCreateOFDPacket [12:50:50]OFDProtocolAddRootSTLVToBuf [12:50:50]FM_MakeSignedData [12:50:50]FM_MakeSignedData [12:50:50]SAM_PROTO_SignData [12:50:50]wFMCommunicate request_size=4 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 0D 01 02 [12:50:50]Write to MH i2c: E2 08 00 3C 00 80 0D 01 02 00 00 00 00 B5 [12:50:50]Write i2c OK [12:50:50]MH_I2C_Read... [12:50:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:50:50]Read from MH i2c: E2 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 [12:50:50]MH_I2C_Read... [12:50:50]Read from MH i2c: E2 03 00 3C 00 00 90 00 B0 [12:50:50]RAPDU: 90 00 [12:50:50]wFMCommunicate OK [12:50:50]wFMCommunicate request_size=255 [12:50:50]MH_SAM_APDU [12:50:50]CAPDU: 80 0D 02 02 FA 01 00 59 01 B9 04 01 00 01 18 04 1C 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A2 D1 80 D0 B5 D0 BD D0 B4 20 D0 9E D0 B9 D0 BB 22 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 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 11 00 00 00 22 04 01 00 00 F4 03 04 00 29 B1 1E 65 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 F5 03 0A 00 30 33 30 30 30 30 30 31 37 36 FD 03 18 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 20 22 54 72 65 6E 64 20 4F 69 6C 22 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 [12:50:50]Write to MH i2c: E2 02 01 3D 00 80 0D 02 02 FA 00 01 00 59 01 B9 04 01 00 01 18 04 1C 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A2 D1 80 D0 B5 D0 BD D0 B4 20 D0 9E D0 B9 D0 BB 22 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 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 11 00 00 00 22 04 01 00 00 F4 03 04 00 29 B1 1E 65 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 F5 03 0A 00 30 33 30 30 30 30 30 31 37 36 FD 03 18 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 20 22 54 72 65 6E 64 20 4F 69 6C 22 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 00 00 37 [12:50:51]Write i2c OK [12:50:51]MH_I2C_Read... [12:50:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:50:51]Read from MH i2c: E2 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: E2 03 00 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: E2 03 00 3D 00 00 90 00 B1 [12:50:51]RAPDU: 90 00 [12:50:51]wFMCommunicate OK [12:50:51]wFMCommunicate request_size=104 [12:50:51]MH_SAM_APDU [12:50:51]CAPDU: 80 0D 02 02 63 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 A4 04 04 00 76 31 2E 30 19 04 04 00 80 E8 C2 6A 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 35 04 06 00 47 25 2A 54 81 19 [12:50:51]Write to MH i2c: E2 6B 00 3E 00 80 0D 02 02 63 00 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 A4 04 04 00 76 31 2E 30 19 04 04 00 80 E8 C2 6A 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 35 04 06 00 47 25 2A 54 81 19 00 00 18 [12:50:51]Write i2c OK [12:50:51]MH_I2C_Read... [12:50:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:50:51]Read from MH i2c: E2 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: E2 03 00 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: E2 03 00 3E 00 00 90 00 B2 [12:50:51]RAPDU: 90 00 [12:50:51]wFMCommunicate OK [12:50:51]wFMCommunicate request_size=4 [12:50:51]MH_SAM_APDU [12:50:51]CAPDU: 80 0D 03 02 [12:50:51]Write to MH i2c: E2 08 00 3F 00 80 0D 03 02 00 00 00 00 BA [12:50:51]Write i2c OK [12:50:51]MH_I2C_Read... [12:50:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:50:51]Read from MH i2c: E2 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: E2 0B 00 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: E2 0B 00 3F 00 00 57 E4 9D 4D 9C 02 D3 89 90 00 DA [12:50:51]RAPDU: 57 E4 9D 4D 9C 02 D3 89 90 00 [12:50:51]wFMCommunicate OK [12:50:51]SAM_PROTO_SignData done [12:50:51]FM_MakeSignedData done [12:50:51]CreateOFDProtocolMessage [12:50:51]wFMCommunicate request_size=4 [12:50:51]MH_SAM_APDU [12:50:51]CAPDU: 80 11 00 00 [12:50:51]Write to MH i2c: E2 08 00 40 00 80 11 00 00 00 00 00 00 BA [12:50:51]Write i2c OK [12:50:51]MH_I2C_Read... [12:50:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:50:51]Read from MH i2c: E2 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: E2 17 00 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: E2 17 00 40 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 10 [12:50:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:50:51]wFMCommunicate OK [12:50:51]CreateOFDProtocolMessage done [12:50:51]OFDSenderStorePacket 1 [12:50:51]StoreOFDPacket docnum=1 [12:50:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 6D 01 00 00 60 E6 65 01 2B D1 5A 01 01 00 01 00 59 01 B9 04 01 00 01 18 04 1C 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A2 D1 80 D0 B5 D0 BD D0 B4 20 D0 9E D0 B9 D0 BB 22 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 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 11 00 00 00 22 04 01 00 00 F4 03 04 00 29 B1 1E 65 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 F5 03 0A 00 30 33 30 30 30 30 30 31 37 36 FD 03 18 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 20 22 54 72 65 6E 64 20 4F 69 6C 22 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 A4 04 04 00 76 31 2E 30 19 04 04 00 80 E8 C2 6A 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 35 04 06 00 47 25 2A 54 81 19 57 E4 9D 4D 9C 02 D3 89 [12:50:51]CheckFolder [12:50:51]dirname=/storage/ofd_packets [12:50:51]mkdir /storage/ofd_packets [12:50:51]CheckFolder done [12:50:51]ProducePacketName [12:50:51]name=ofd_packets/00000001 [12:50:51]NVStorageSaveData ofd_packets/00000001 [12:50:51]File name is /storage/ofd_packets/00000001 [12:50:51]Write 395 bytes [12:50:51]NVStorageSaveData done [12:50:51]OFDSenderStorePacket done [12:50:51]KKMCreateOFDPacket done [12:50:51]after KKMCreateOFDPacket [12:50:51]NVStorageSaveData kkm_last_timestamp [12:50:51]File name is /storage/kkm_last_timestamp [12:50:51]Write 4 bytes [12:50:51]NVStorageSaveData done [12:50:51]ExternCall_PrintAddStr [12:50:51]wPrintStart [12:50:51]Write to MH i2c: 01 00 00 41 00 41 [12:50:51]Write i2c OK [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: 01 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: 01 07 00 [12:50:51]MH_I2C_Read... [12:50:51]Read from MH i2c: 01 07 00 41 00 00 00 00 00 00 FF 0F 56 [12:50:51]RasterBufferAndPrint [12:50:51]line ОсОО Тренд Ойл [12:50:51]line Добро пожаловать [12:50:51]line Отчет о регистрации [12:50:51]line ФФД: 1.0 [12:50:51]line Организация: ОсОО "Тренд Ойл" [12:50:51]line ИНН: 02004201810074 [12:50:51]line СНО: Общий режим [12:50:51]line Рег. по НДС: ДА [12:50:51]line Тип: Автомобильная заправочная станция (АЗС) [12:50:51]line Вид: Розничная торговля горюче-смазочными материалами [12:50:51]line УГНС: Жети-Огузский район [12:50:51]line ППР: [12:50:51]line 05.10.2023 12:50 [12:50:51]line РНМ: 0000000000108361 [12:50:51]line ЗНМ: 0300000176 [12:50:51]line Кассир: АЗС № 7 "Trend Oil" [12:50:51]line Адрес: Жети-Огузский район [12:50:51]line Место: с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846 [12:50:51]line Версия ККМ: v1.0 [12:50:51]line Дата окончания ФМ: 05.10.2026 00:00 [12:50:51]line ОсОО "Тренд Ойл" [12:50:51]line *** СПАСИБО *** [12:50:51]line ФД: 1 [12:50:51]line ФМ: 0000000000965627 [12:50:51]line ФПД: 78224949543193 [12:50:51]line *** ЖДЕМ ВАС ОПЯТЬ *** [12:50:51]written 0, free lines is 4095 [12:50:51]OFD Sender: Processing packet 1 [packets to send 1, broken 0] [12:50:51]ProducePacketName [12:50:51]name=ofd_packets/00000001 [12:50:51]OFD Sender: To server: pG, [12:50:51]CommunicateWithHost lk.salyk.kg:30040 [12:50:51]ConnectInit lk.salyk.kg [12:50:51]Connected sock=11 [12:50:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 6D 01 00 00 60 E6 65 01 2B D1 5A 01 01 00 01 00 59 01 B9 04 01 00 01 18 04 1C 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A2 D1 80 D0 B5 D0 BD D0 B4 20 D0 9E D0 B9 D0 BB 22 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 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 11 00 00 00 22 04 01 00 00 F4 03 04 00 29 B1 1E 65 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 F5 03 0A 00 30 33 30 30 30 30 30 31 37 36 FD 03 18 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 20 22 54 72 65 6E 64 20 4F 69 6C 22 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 A4 04 04 00 76 31 2E 30 19 04 04 00 80 E8 C2 6A 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 35 04 06 00 47 25 2A 54 81 19 57 E4 9D 4D 9C 02 D3 89 [12:50:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 4F 00 00 00 F5 4E 47 00 A3 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 01 00 00 00 F4 03 04 00 CD 5C 1E 65 B6 04 01 00 00 E6 C0 20 01 55 94 63 66 [12:50:51]CommunicateWithHost err = 0 [12:50:51]CheckOFDResponse [12:50:51]1017 (14) - 77093643461234 [12:50:51]1041 (16) - 0000000000965627 [12:50:51]1040 (4) - 1 [12:50:51]1012 (4) - 05.10.2023 06:50 [12:50:51]1206 (1) - 0 [12:50:51]OFD Sender: Remove packet 1 [12:50:51]ProducePacketName [12:50:51]name=ofd_packets/00000001 [12:50:51]NVStorageDeleteData [12:50:52]Write to MH i2c: 01 00 00 63 00 63 [12:50:52]Write i2c OK [12:50:52]MH_I2C_Read... [12:50:52]Read from MH i2c: 01 [12:50:52]MH_I2C_Read... [12:50:52]Read from MH i2c: 01 07 00 [12:50:52]MH_I2C_Read... [12:50:52]Read from MH i2c: 01 07 00 63 00 00 00 00 00 00 96 0D 0D [12:50:52]RasterBufferAndPrint [12:50:52]line [12:50:52]line [12:50:52]line [12:50:52]line [12:50:52]line [12:50:52]written 0, free lines is 3482 [12:50:52]MH_Cut [12:50:52]Write to MH i2c: D1 01 00 6A 00 01 3C [12:50:52]Write i2c OK [12:50:52]MH_I2C_Read... [12:50:52]Read from MH i2c: D1 [12:50:52]MH_I2C_Read... [12:50:52]Read from MH i2c: D1 01 00 [12:50:52]MH_I2C_Read... [12:50:52]Read from MH i2c: D1 01 00 6A 00 00 3B [12:50:52]Write to MH i2c: 01 00 00 6B 00 6B [12:50:52]Write i2c OK [12:50:52]MH_I2C_Read... [12:50:52]OFD Sender: No OFD packet to send [12:50:52]*** Cut start [12:50:52]*** Partial cut [12:50:52]*** CUTSNS_PIN = 1 [12:50:52]*** CUTSNS_PIN = 0 [12:50:52]*** Brake cut motor [12:50:53]Read from MH i2c: 01 [12:50:53]MH_I2C_Read... [12:50:53]*** Stop cut motor [12:50:53]*** Cut end [12:50:53]Read from MH i2c: 01 07 00 [12:50:53]MH_I2C_Read... [12:50:53]Read from MH i2c: 01 07 00 6B 00 00 00 00 00 00 FF 0F 80 [12:50:53]cmd_registration done [12:50:53]process_action registration done [12:50:53]no requested_data - finishing processing [12:50:53]process_action_free registration [12:50:53]json_value_free [12:50:53]json_value_free done [12:50:53]process_json_proto returns [12:50:53]Send response to host [12:50:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [12:50:53]free response buf [12:50:53]execute_script done [12:50:53]execute_script returns [12:50:53]free content buf [12:50:53]Sock 8.Close socket [12:50:53]Sock 8.Thread stoped [12:50:57]OFD Sender: No OFD packet to send [12:51:02]OFD Sender: No OFD packet to send [12:51:03]accept exits with 9 [12:51:03]New connection [12:51:03]New thread 3066903908 created [12:51:03]Thread 3067047268 joined [12:51:03]Waiting for new connection... [12:51:03] Sock 9.Parse request [12:51:03]Sock 9.Check first char [12:51:03]Sock 9.First char is OK [12:51:03]request: POST /json_proto HTTP/1.1 [12:51:03]Method: POST [12:51:03]URL: /json_proto [12:51:03]Method is POST - this is cgi request [12:51:03]url: /json_proto [12:51:03]query_string will be loaded in cgi processing [12:51:03]execute_cgi json_proto POST (null) [12:51:03]execute_cgi path=json_proto method=POST [12:51:03]POST find Content-Length [12:51:03]Host: 192.168.0.101:8080 [12:51:03]Connection: keep-alive [12:51:03]Content-Length: 350 [12:51:03]Accept: application/json, text/plain, */* [12:51:03]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:51:03]Content-Type: application/json [12:51:03]Origin: http://192.168.0.101:8080 [12:51:03]Referer: http://192.168.0.101:8080/testengine [12:51:03]Accept-Encoding: gzip, deflate [12:51:03]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:51:03] [12:51:03]POST finish read [12:51:03]Found Content-Length = 350 [12:51:03]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:51:03]execute_script... [12:51:03]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:51:03]POST & json_proto [12:51:03]process_json_proto [12:51:03]json parsed OK: [12:51:03]protocol is kg_v1.0 [12:51:03]action value=x_report [12:51:03]process_action x_report [12:51:03]cmd_x_report [12:51:03]MH_GetDate [12:51:03]Write to MH i2c: F0 00 00 6C 00 5B [12:51:03]Write i2c OK [12:51:03]MH_I2C_Read... [12:51:03]Read from MH i2c: F0 [12:51:03]MH_I2C_Read... [12:51:03]Read from MH i2c: F0 09 00 [12:51:03]MH_I2C_Read... [12:51:03]Read from MH i2c: F0 09 00 6C 00 00 37 B1 1E 65 47 AC 1E 65 45 [12:51:03]GetLastDocTimeStamp 1696510249 [12:51:03]current date 1696510263 [12:51:03]FM_GetShiftState [12:51:03]SAM_PROTO_GetShiftState [12:51:03]wFMCommunicate request_size=4 [12:51:03]MH_SAM_APDU [12:51:03]CAPDU: 80 13 01 00 [12:51:03]Write to MH i2c: E2 08 00 6D 00 80 13 01 00 00 00 00 00 EA [12:51:03]Write i2c OK [12:51:03]MH_I2C_Read... [12:51:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:51:03]Read from MH i2c: E2 [12:51:03]MH_I2C_Read... [12:51:03]Read from MH i2c: E2 0E 00 [12:51:03]MH_I2C_Read... [12:51:03]Read from MH i2c: E2 0E 00 6D 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F5 [12:51:03]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:51:03]wFMCommunicate OK [12:51:03]SAM_PROTO_GetShiftState done [12:51:03]FM_GetShiftState done [12:51:03]process_action_free x_report [12:51:03]json_value_free [12:51:03]json_value_free done [12:51:03]process_json_proto returns [12:51:03]Send response to host [12:51:03]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:51:03]free response buf [12:51:03]execute_script done [12:51:03]execute_script returns [12:51:03]free content buf [12:51:03]Sock 9.Close socket [12:51:03]Sock 9.Thread stoped [12:51:07]OFD Sender: No OFD packet to send [12:51:12]OFD Sender: No OFD packet to send [12:51:17]OFD Sender: No OFD packet to send [12:51:22]OFD Sender: No OFD packet to send [12:51:27]OFD Sender: No OFD packet to send [12:51:32]OFD Sender: No OFD packet to send [12:51:37]OFD Sender: No OFD packet to send [12:51:42]OFD Sender: No OFD packet to send [12:51:47]OFD Sender: No OFD packet to send [12:51:52]OFD Sender: No OFD packet to send [12:51:57]OFD Sender: No OFD packet to send [12:52:02]OFD Sender: No OFD packet to send [12:52:07]OFD Sender: No OFD packet to send [12:52:12]OFD Sender: No OFD packet to send [12:52:17]OFD Sender: No OFD packet to send [12:52:22]OFD Sender: No OFD packet to send [12:52:27]OFD Sender: No OFD packet to send [12:52:32]OFD Sender: No OFD packet to send [12:52:37]OFD Sender: No OFD packet to send [12:52:42]OFD Sender: No OFD packet to send [12:52:47]OFD Sender: No OFD packet to send [12:52:52]OFD Sender: No OFD packet to send [12:52:57]OFD Sender: No OFD packet to send [12:53:02]OFD Sender: No OFD packet to send [12:53:07]OFD Sender: No OFD packet to send [12:53:12]OFD Sender: No OFD packet to send [12:53:17]OFD Sender: No OFD packet to send [12:53:19]accept exits with 8 [12:53:19]New connection [12:53:19]New thread 3067047268 created [12:53:19]Thread 3066903908 joined [12:53:19]Waiting for new connection... [12:53:19] Sock 8.Parse request [12:53:19]Sock 8.Check first char [12:53:19]Sock 8.First char is OK [12:53:19]request: POST /json_proto HTTP/1.1 [12:53:19]Method: POST [12:53:19]URL: /json_proto [12:53:19]Method is POST - this is cgi request [12:53:19]url: /json_proto [12:53:19]query_string will be loaded in cgi processing [12:53:19]execute_cgi json_proto POST (null) [12:53:19]execute_cgi path=json_proto method=POST [12:53:19]POST find Content-Length [12:53:19]Host: 192.168.0.101:8080 [12:53:19]Connection: keep-alive [12:53:19]Content-Length: 135 [12:53:19]Accept: application/json, text/plain, */* [12:53:19]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:53:19]Content-Type: application/json [12:53:19]Origin: http://192.168.0.101:8080 [12:53:19]Referer: http://192.168.0.101:8080/testengine [12:53:19]Accept-Encoding: gzip, deflate [12:53:19]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:53:19] [12:53:19]POST finish read [12:53:19]Found Content-Length = 135 [12:53:19]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0}}} [12:53:19]execute_script... [12:53:19]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0}}} [12:53:19]POST & json_proto [12:53:19]process_json_proto [12:53:19]json parsed OK: [12:53:19]protocol is kg_v1.0 [12:53:19]action value=open_receipt [12:53:19]process_action open_receipt [12:53:19]cmd_open_receipt [12:53:19]MH_GetDate [12:53:19]Write to MH i2c: F0 00 00 6E 00 5D [12:53:19]Write i2c OK [12:53:19]MH_I2C_Read... [12:53:19]Read from MH i2c: F0 [12:53:19]MH_I2C_Read... [12:53:19]Read from MH i2c: F0 09 00 [12:53:19]MH_I2C_Read... [12:53:19]Read from MH i2c: F0 09 00 6E 00 00 C0 B1 1E 65 47 AC 1E 65 D0 [12:53:19]GetLastDocTimeStamp 1696510249 [12:53:19]current date 1696510400 [12:53:19]FM_GetShiftState [12:53:19]SAM_PROTO_GetShiftState [12:53:19]wFMCommunicate request_size=4 [12:53:19]MH_SAM_APDU [12:53:19]CAPDU: 80 13 01 00 [12:53:19]Write to MH i2c: E2 08 00 6F 00 80 13 01 00 00 00 00 00 EC [12:53:19]Write i2c OK [12:53:19]MH_I2C_Read... [12:53:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:19]Read from MH i2c: E2 [12:53:19]MH_I2C_Read... [12:53:19]Read from MH i2c: E2 0E 00 [12:53:19]MH_I2C_Read... [12:53:19]Read from MH i2c: E2 0E 00 6F 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F7 [12:53:19]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:53:19]wFMCommunicate OK [12:53:19]SAM_PROTO_GetShiftState done [12:53:19]FM_GetShiftState done [12:53:19]process_action_free open_receipt [12:53:19]json_value_free [12:53:19]json_value_free done [12:53:19]process_json_proto returns [12:53:19]Send response to host [12:53:19]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:53:19]free response buf [12:53:19]execute_script done [12:53:19]execute_script returns [12:53:19]free content buf [12:53:19]Sock 8.Close socket [12:53:19]Sock 8.Thread stoped [12:53:21]accept exits with 9 [12:53:21]New connection [12:53:21]New thread 3066903908 created [12:53:21]Thread 3067047268 joined [12:53:21]Waiting for new connection... [12:53:21] Sock 9.Parse request [12:53:21]Sock 9.Check first char [12:53:21]Sock 9.First char is OK [12:53:21]request: POST /json_proto HTTP/1.1 [12:53:21]Method: POST [12:53:21]URL: /json_proto [12:53:21]Method is POST - this is cgi request [12:53:21]url: /json_proto [12:53:21]query_string will be loaded in cgi processing [12:53:21]execute_cgi json_proto POST (null) [12:53:21]execute_cgi path=json_proto method=POST [12:53:21]POST find Content-Length [12:53:21]Host: 192.168.0.101:8080 [12:53:21]Connection: keep-alive [12:53:21]Content-Length: 225 [12:53:21]Accept: application/json, text/plain, */* [12:53:21]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:53:21]Content-Type: application/json [12:53:21]Origin: http://192.168.0.101:8080 [12:53:21]Referer: http://192.168.0.101:8080/testengine [12:53:21]Accept-Encoding: gzip, deflate [12:53:21]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:53:21] [12:53:21]POST finish read [12:53:21]Found Content-Length = 225 [12:53:21]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}]}]}}} [12:53:21]execute_script... [12:53:21]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}]}]}}} [12:53:21]POST & json_proto [12:53:21]process_json_proto [12:53:21]json parsed OK: [12:53:21]protocol is kg_v1.0 [12:53:21]action value=add_receipt [12:53:21]process_action add_receipt [12:53:21]cmd_open_receipt [12:53:21]MH_GetDate [12:53:21]Write to MH i2c: F0 00 00 70 00 5F [12:53:21]Write i2c OK [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: F0 [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: F0 09 00 [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: F0 09 00 70 00 00 C1 B1 1E 65 47 AC 1E 65 D3 [12:53:21]GetLastDocTimeStamp 1696510249 [12:53:21]current date 1696510401 [12:53:21]FM_GetShiftState [12:53:21]SAM_PROTO_GetShiftState [12:53:21]wFMCommunicate request_size=4 [12:53:21]MH_SAM_APDU [12:53:21]CAPDU: 80 13 01 00 [12:53:21]Write to MH i2c: E2 08 00 71 00 80 13 01 00 00 00 00 00 EE [12:53:21]Write i2c OK [12:53:21]MH_I2C_Read... [12:53:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:21]Read from MH i2c: E2 [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: E2 0E 00 [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: E2 0E 00 71 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F9 [12:53:21]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:53:21]wFMCommunicate OK [12:53:21]SAM_PROTO_GetShiftState done [12:53:21]FM_GetShiftState done [12:53:21]process_action_free add_receipt [12:53:21]json_value_free [12:53:21]json_value_free done [12:53:21]process_json_proto returns [12:53:21]Send response to host [12:53:21]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:53:21]free response buf [12:53:21]execute_script done [12:53:21]execute_script returns [12:53:21]free content buf [12:53:21]Sock 9.Close socket [12:53:21]Sock 9.Thread stoped [12:53:21]accept exits with 8 [12:53:21]New connection [12:53:21]New thread 3067047268 created [12:53:21]Thread 3066903908 joined [12:53:21]Waiting for new connection... [12:53:21] Sock 8.Parse request [12:53:21]Sock 8.Check first char [12:53:21]Sock 8.First char is OK [12:53:21]request: POST /json_proto HTTP/1.1 [12:53:21]Method: POST [12:53:21]URL: /json_proto [12:53:21]Method is POST - this is cgi request [12:53:21]url: /json_proto [12:53:21]query_string will be loaded in cgi processing [12:53:21]execute_cgi json_proto POST (null) [12:53:21]execute_cgi path=json_proto method=POST [12:53:21]POST find Content-Length [12:53:21]Host: 192.168.0.101:8080 [12:53:21]Connection: keep-alive [12:53:21]Content-Length: 610 [12:53:21]Accept: application/json, text/plain, */* [12:53:21]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:53:21]Content-Type: application/json [12:53:21]Origin: http://192.168.0.101:8080 [12:53:21]Referer: http://192.168.0.101:8080/testengine [12:53:21]Accept-Encoding: gzip, deflate [12:53:21]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:53:21] [12:53:21]POST finish read [12:53:21]Found Content-Length = 610 [12:53:21]post body = {"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0,"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}],"total":1,"deposit":0,"payments":[{"type":0,"sum":1},{"type":1,"sum":0}]}}} [12:53:21]execute_script... [12:53:21]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0,"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}],"total":1,"deposit":0,"payments":[{"type":0,"sum":1},{"type":1,"sum":0}]}}} [12:53:21]POST & json_proto [12:53:21]process_json_proto [12:53:21]json parsed OK: [12:53:21]protocol is kg_v1.0 [12:53:21]action value=close_receipt [12:53:21]process_action close_receipt [12:53:21]cmd_close_receipt [12:53:21]MH_GetDate [12:53:21]Write to MH i2c: F0 00 00 72 00 61 [12:53:21]Write i2c OK [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: F0 [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: F0 09 00 [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: F0 09 00 72 00 00 C2 B1 1E 65 47 AC 1E 65 D6 [12:53:21]GetLastDocTimeStamp 1696510249 [12:53:21]current date 1696510402 [12:53:21]FM_GetShiftState [12:53:21]SAM_PROTO_GetShiftState [12:53:21]wFMCommunicate request_size=4 [12:53:21]MH_SAM_APDU [12:53:21]CAPDU: 80 13 01 00 [12:53:21]Write to MH i2c: E2 08 00 73 00 80 13 01 00 00 00 00 00 F0 [12:53:21]Write i2c OK [12:53:21]MH_I2C_Read... [12:53:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:21]Read from MH i2c: E2 [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: E2 0E 00 [12:53:21]MH_I2C_Read... [12:53:21]Read from MH i2c: E2 0E 00 73 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FB [12:53:21]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:53:21]wFMCommunicate OK [12:53:21]SAM_PROTO_GetShiftState done [12:53:21]FM_GetShiftState done [12:53:21]process_action_free close_receipt [12:53:21]json_value_free [12:53:21]json_value_free done [12:53:21]process_json_proto returns [12:53:21]Send response to host [12:53:21]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:53:21]free response buf [12:53:21]execute_script done [12:53:21]execute_script returns [12:53:21]free content buf [12:53:21]Sock 8.Close socket [12:53:21]Sock 8.Thread stoped [12:53:22]OFD Sender: No OFD packet to send [12:53:27]OFD Sender: No OFD packet to send [12:53:32]OFD Sender: No OFD packet to send [12:53:32]accept exits with 9 [12:53:32]New connection [12:53:32]New thread 3066903908 created [12:53:32]Thread 3067047268 joined [12:53:32]Waiting for new connection... [12:53:32] Sock 9.Parse request [12:53:32]Sock 9.Check first char [12:53:32]Sock 9.First char is OK [12:53:32]request: POST /json_proto HTTP/1.1 [12:53:32]Method: POST [12:53:32]URL: /json_proto [12:53:32]Method is POST - this is cgi request [12:53:32]url: /json_proto [12:53:32]query_string will be loaded in cgi processing [12:53:32]execute_cgi json_proto POST (null) [12:53:32]execute_cgi path=json_proto method=POST [12:53:32]POST find Content-Length [12:53:32]Host: 192.168.0.101:8080 [12:53:32]Connection: keep-alive [12:53:32]Content-Length: 135 [12:53:32]Accept: application/json, text/plain, */* [12:53:32]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:53:32]Content-Type: application/json [12:53:32]Origin: http://192.168.0.101:8080 [12:53:32]Referer: http://192.168.0.101:8080/testengine [12:53:32]Accept-Encoding: gzip, deflate [12:53:32]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:53:32] [12:53:32]POST finish read [12:53:32]Found Content-Length = 135 [12:53:32]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0}}} [12:53:32]execute_script... [12:53:32]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0}}} [12:53:32]POST & json_proto [12:53:32]process_json_proto [12:53:32]json parsed OK: [12:53:32]protocol is kg_v1.0 [12:53:32]action value=open_receipt [12:53:32]process_action open_receipt [12:53:32]cmd_open_receipt [12:53:32]MH_GetDate [12:53:32]Write to MH i2c: F0 00 00 74 00 63 [12:53:32]Write i2c OK [12:53:32]MH_I2C_Read... [12:53:32]Read from MH i2c: F0 [12:53:32]MH_I2C_Read... [12:53:32]Read from MH i2c: F0 09 00 [12:53:32]MH_I2C_Read... [12:53:32]Read from MH i2c: F0 09 00 74 00 00 CD B1 1E 65 47 AC 1E 65 E3 [12:53:32]GetLastDocTimeStamp 1696510249 [12:53:32]current date 1696510413 [12:53:32]FM_GetShiftState [12:53:32]SAM_PROTO_GetShiftState [12:53:32]wFMCommunicate request_size=4 [12:53:32]MH_SAM_APDU [12:53:32]CAPDU: 80 13 01 00 [12:53:32]Write to MH i2c: E2 08 00 75 00 80 13 01 00 00 00 00 00 F2 [12:53:32]Write i2c OK [12:53:32]MH_I2C_Read... [12:53:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:32]Read from MH i2c: E2 [12:53:32]MH_I2C_Read... [12:53:32]Read from MH i2c: E2 0E 00 [12:53:32]MH_I2C_Read... [12:53:32]Read from MH i2c: E2 0E 00 75 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FD [12:53:32]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:53:32]wFMCommunicate OK [12:53:32]SAM_PROTO_GetShiftState done [12:53:32]FM_GetShiftState done [12:53:32]process_action_free open_receipt [12:53:32]json_value_free [12:53:32]json_value_free done [12:53:32]process_json_proto returns [12:53:32]Send response to host [12:53:32]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:53:32]free response buf [12:53:32]execute_script done [12:53:32]execute_script returns [12:53:32]free content buf [12:53:32]Sock 9.Close socket [12:53:32]Sock 9.Thread stoped [12:53:37]OFD Sender: No OFD packet to send [12:53:42]OFD Sender: No OFD packet to send [12:53:47]OFD Sender: No OFD packet to send [12:53:52]OFD Sender: No OFD packet to send [12:53:52]accept exits with 8 [12:53:52]New connection [12:53:52]New thread 3067047268 created [12:53:52]Thread 3066903908 joined [12:53:52]Waiting for new connection... [12:53:52] Sock 8.Parse request [12:53:52]Sock 8.Check first char [12:53:52]Sock 8.First char is OK [12:53:52]request: POST /json_proto HTTP/1.1 [12:53:52]Method: POST [12:53:52]URL: /json_proto [12:53:52]Method is POST - this is cgi request [12:53:52]url: /json_proto [12:53:52]query_string will be loaded in cgi processing [12:53:52]execute_cgi json_proto POST (null) [12:53:52]execute_cgi path=json_proto method=POST [12:53:52]POST find Content-Length [12:53:52]Host: 192.168.0.101:8080 [12:53:52]Connection: keep-alive [12:53:52]Content-Length: 135 [12:53:52]Accept: application/json, text/plain, */* [12:53:52]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:53:52]Content-Type: application/json [12:53:52]Origin: http://192.168.0.101:8080 [12:53:52]Referer: http://192.168.0.101:8080/testengine [12:53:52]Accept-Encoding: gzip, deflate [12:53:52]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:53:52] [12:53:52]POST finish read [12:53:52]Found Content-Length = 135 [12:53:52]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0}}} [12:53:52]execute_script... [12:53:52]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0}}} [12:53:52]POST & json_proto [12:53:52]process_json_proto [12:53:52]json parsed OK: [12:53:52]protocol is kg_v1.0 [12:53:52]action value=open_receipt [12:53:52]process_action open_receipt [12:53:52]cmd_open_receipt [12:53:52]MH_GetDate [12:53:52]Write to MH i2c: F0 00 00 76 00 65 [12:53:52]Write i2c OK [12:53:52]MH_I2C_Read... [12:53:52]Read from MH i2c: F0 [12:53:52]MH_I2C_Read... [12:53:52]Read from MH i2c: F0 09 00 [12:53:52]MH_I2C_Read... [12:53:52]Read from MH i2c: F0 09 00 76 00 00 E1 B1 1E 65 47 AC 1E 65 F9 [12:53:52]GetLastDocTimeStamp 1696510249 [12:53:52]current date 1696510433 [12:53:52]FM_GetShiftState [12:53:52]SAM_PROTO_GetShiftState [12:53:52]wFMCommunicate request_size=4 [12:53:52]MH_SAM_APDU [12:53:52]CAPDU: 80 13 01 00 [12:53:52]Write to MH i2c: E2 08 00 77 00 80 13 01 00 00 00 00 00 F4 [12:53:52]Write i2c OK [12:53:52]MH_I2C_Read... [12:53:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:53]Read from MH i2c: E2 [12:53:53]MH_I2C_Read... [12:53:53]Read from MH i2c: E2 0E 00 [12:53:53]MH_I2C_Read... [12:53:53]Read from MH i2c: E2 0E 00 77 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FF [12:53:53]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:53:53]wFMCommunicate OK [12:53:53]SAM_PROTO_GetShiftState done [12:53:53]FM_GetShiftState done [12:53:53]process_action_free open_receipt [12:53:53]json_value_free [12:53:53]json_value_free done [12:53:53]process_json_proto returns [12:53:53]Send response to host [12:53:53]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:53:53]free response buf [12:53:53]execute_script done [12:53:53]execute_script returns [12:53:53]free content buf [12:53:53]Sock 8.Close socket [12:53:53]Sock 8.Thread stoped [12:53:53]accept exits with 9 [12:53:53]New connection [12:53:53]New thread 3066903908 created [12:53:53]Thread 3067047268 joined [12:53:53]Waiting for new connection... [12:53:53] Sock 9.Parse request [12:53:53]Sock 9.Check first char [12:53:53]Sock 9.First char is OK [12:53:53]request: POST /json_proto HTTP/1.1 [12:53:53]Method: POST [12:53:53]URL: /json_proto [12:53:53]Method is POST - this is cgi request [12:53:53]url: /json_proto [12:53:53]query_string will be loaded in cgi processing [12:53:53]execute_cgi json_proto POST (null) [12:53:53]execute_cgi path=json_proto method=POST [12:53:53]POST find Content-Length [12:53:53]Host: 192.168.0.101:8080 [12:53:53]Connection: keep-alive [12:53:53]Content-Length: 225 [12:53:53]Accept: application/json, text/plain, */* [12:53:53]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:53:53]Content-Type: application/json [12:53:53]Origin: http://192.168.0.101:8080 [12:53:53]Referer: http://192.168.0.101:8080/testengine [12:53:53]Accept-Encoding: gzip, deflate [12:53:53]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:53:53] [12:53:53]POST finish read [12:53:53]Found Content-Length = 225 [12:53:53]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}]}]}}} [12:53:53]execute_script... [12:53:53]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}]}]}}} [12:53:53]POST & json_proto [12:53:53]process_json_proto [12:53:53]json parsed OK: [12:53:53]protocol is kg_v1.0 [12:53:53]action value=add_receipt [12:53:53]process_action add_receipt [12:53:53]cmd_open_receipt [12:53:53]MH_GetDate [12:53:53]Write to MH i2c: F0 00 00 78 00 67 [12:53:53]Write i2c OK [12:53:53]MH_I2C_Read... [12:53:53]Read from MH i2c: F0 [12:53:53]MH_I2C_Read... [12:53:53]Read from MH i2c: F0 09 00 [12:53:53]MH_I2C_Read... [12:53:53]Read from MH i2c: F0 09 00 78 00 00 E2 B1 1E 65 47 AC 1E 65 FC [12:53:53]GetLastDocTimeStamp 1696510249 [12:53:53]current date 1696510434 [12:53:53]FM_GetShiftState [12:53:53]SAM_PROTO_GetShiftState [12:53:53]wFMCommunicate request_size=4 [12:53:53]MH_SAM_APDU [12:53:53]CAPDU: 80 13 01 00 [12:53:53]Write to MH i2c: E2 08 00 79 00 80 13 01 00 00 00 00 00 F6 [12:53:53]Write i2c OK [12:53:53]MH_I2C_Read... [12:53:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:53]Read from MH i2c: E2 [12:53:53]MH_I2C_Read... [12:53:53]Read from MH i2c: E2 0E 00 [12:53:53]MH_I2C_Read... [12:53:53]Read from MH i2c: E2 0E 00 79 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 01 [12:53:53]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:53:53]wFMCommunicate OK [12:53:53]SAM_PROTO_GetShiftState done [12:53:53]FM_GetShiftState done [12:53:53]process_action_free add_receipt [12:53:53]json_value_free [12:53:53]json_value_free done [12:53:53]process_json_proto returns [12:53:53]Send response to host [12:53:53]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:53:53]free response buf [12:53:53]execute_script done [12:53:53]execute_script returns [12:53:53]free content buf [12:53:53]Sock 9.Close socket [12:53:53]Sock 9.Thread stoped [12:53:54]accept exits with 8 [12:53:54]New connection [12:53:54]New thread 3067047268 created [12:53:54]Thread 3066903908 joined [12:53:54]Waiting for new connection... [12:53:54] Sock 8.Parse request [12:53:54]Sock 8.Check first char [12:53:54]Sock 8.First char is OK [12:53:54]request: POST /json_proto HTTP/1.1 [12:53:54]Method: POST [12:53:54]URL: /json_proto [12:53:54]Method is POST - this is cgi request [12:53:54]url: /json_proto [12:53:54]query_string will be loaded in cgi processing [12:53:54]execute_cgi json_proto POST (null) [12:53:54]execute_cgi path=json_proto method=POST [12:53:54]POST find Content-Length [12:53:54]Host: 192.168.0.101:8080 [12:53:54]Connection: keep-alive [12:53:54]Content-Length: 610 [12:53:54]Accept: application/json, text/plain, */* [12:53:54]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:53:54]Content-Type: application/json [12:53:54]Origin: http://192.168.0.101:8080 [12:53:54]Referer: http://192.168.0.101:8080/testengine [12:53:54]Accept-Encoding: gzip, deflate [12:53:54]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:53:54] [12:53:54]POST finish read [12:53:54]Found Content-Length = 610 [12:53:54]post body = {"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0,"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}],"total":1,"deposit":0,"payments":[{"type":0,"sum":1},{"type":1,"sum":0}]}}} [12:53:54]execute_script... [12:53:54]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0,"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}],"total":1,"deposit":0,"payments":[{"type":0,"sum":1},{"type":1,"sum":0}]}}} [12:53:54]POST & json_proto [12:53:54]process_json_proto [12:53:54]json parsed OK: [12:53:54]protocol is kg_v1.0 [12:53:54]action value=close_receipt [12:53:54]process_action close_receipt [12:53:54]cmd_close_receipt [12:53:54]MH_GetDate [12:53:54]Write to MH i2c: F0 00 00 7A 00 69 [12:53:54]Write i2c OK [12:53:54]MH_I2C_Read... [12:53:54]Read from MH i2c: F0 [12:53:54]MH_I2C_Read... [12:53:54]Read from MH i2c: F0 09 00 [12:53:54]MH_I2C_Read... [12:53:54]Read from MH i2c: F0 09 00 7A 00 00 E2 B1 1E 65 47 AC 1E 65 FE [12:53:54]GetLastDocTimeStamp 1696510249 [12:53:54]current date 1696510434 [12:53:54]FM_GetShiftState [12:53:54]SAM_PROTO_GetShiftState [12:53:54]wFMCommunicate request_size=4 [12:53:54]MH_SAM_APDU [12:53:54]CAPDU: 80 13 01 00 [12:53:54]Write to MH i2c: E2 08 00 7B 00 80 13 01 00 00 00 00 00 F8 [12:53:54]Write i2c OK [12:53:54]MH_I2C_Read... [12:53:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:54]Read from MH i2c: E2 [12:53:54]MH_I2C_Read... [12:53:54]Read from MH i2c: E2 0E 00 [12:53:54]MH_I2C_Read... [12:53:54]Read from MH i2c: E2 0E 00 7B 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 03 [12:53:54]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:53:54]wFMCommunicate OK [12:53:54]SAM_PROTO_GetShiftState done [12:53:54]FM_GetShiftState done [12:53:54]process_action_free close_receipt [12:53:54]json_value_free [12:53:54]json_value_free done [12:53:54]process_json_proto returns [12:53:54]Send response to host [12:53:54]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:53:54]free response buf [12:53:54]execute_script done [12:53:54]execute_script returns [12:53:54]free content buf [12:53:54]Sock 8.Close socket [12:53:54]Sock 8.Thread stoped [12:53:56]accept exits with 10 [12:53:56]New connection [12:53:56]New thread 3066903908 created [12:53:56]Thread 3067047268 joined [12:53:56]Waiting for new connection... [12:53:56] Sock 10.Parse request [12:53:56]Sock 10.Check first char [12:53:56]Sock 10.First char is OK [12:53:56]request: POST /json_proto HTTP/1.1 [12:53:56]Method: POST [12:53:56]URL: /json_proto [12:53:56]Method is POST - this is cgi request [12:53:56]url: /json_proto [12:53:56]query_string will be loaded in cgi processing [12:53:56]execute_cgi json_proto POST (null) [12:53:56]execute_cgi path=json_proto method=POST [12:53:56]POST find Content-Length [12:53:56]Host: 192.168.0.101:8080 [12:53:56]Connection: keep-alive [12:53:56]Content-Length: 72 [12:53:56]Accept: application/json, text/plain, */* [12:53:56]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:53:56]Content-Type: application/json [12:53:56]Origin: http://192.168.0.101:8080 [12:53:56]Referer: http://192.168.0.101:8080/testengine [12:53:56]Accept-Encoding: gzip, deflate [12:53:56]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:53:56] [12:53:56]POST finish read [12:53:56]Found Content-Length = 72 [12:53:56]post body = {"protocol":"kg_v1.0","request":{"action":"cancel_receipt","params":{}}} [12:53:56]execute_script... [12:53:56]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"cancel_receipt","params":{}}} [12:53:56]POST & json_proto [12:53:56]process_json_proto [12:53:56]json parsed OK: [12:53:56]protocol is kg_v1.0 [12:53:56]action value=cancel_receipt [12:53:56]process_action cancel_receipt [12:53:56]cmd_cancel_receipt [12:53:56]MH_GetDate [12:53:56]Write to MH i2c: F0 00 00 7C 00 6B [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: F0 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: F0 09 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: F0 09 00 7C 00 00 E4 B1 1E 65 47 AC 1E 65 02 [12:53:56]GetLastDocTimeStamp 1696510249 [12:53:56]current date 1696510436 [12:53:56]FM_GetShiftState [12:53:56]SAM_PROTO_GetShiftState [12:53:56]wFMCommunicate request_size=4 [12:53:56]MH_SAM_APDU [12:53:56]CAPDU: 80 13 01 00 [12:53:56]Write to MH i2c: E2 08 00 7D 00 80 13 01 00 00 00 00 00 FA [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:56]Read from MH i2c: E2 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 0E 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 0E 00 7D 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 05 [12:53:56]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:53:56]wFMCommunicate OK [12:53:56]SAM_PROTO_GetShiftState done [12:53:56]FM_GetShiftState done [12:53:56]cmd_cancel_receipt done [12:53:56]process_action_free cancel_receipt [12:53:56]json_value_free [12:53:56]json_value_free done [12:53:56]process_json_proto returns [12:53:56]Send response to host [12:53:56]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:53:56]free response buf [12:53:56]execute_script done [12:53:56]execute_script returns [12:53:56]free content buf [12:53:56]Sock 10.Close socket [12:53:56]Sock 10.Thread stoped [12:53:57]OFD Sender: No OFD packet to send [12:54:02]OFD Sender: No OFD packet to send [12:54:07]OFD Sender: No OFD packet to send [12:54:12]OFD Sender: No OFD packet to send [12:54:17]OFD Sender: No OFD packet to send [12:54:22]OFD Sender: No OFD packet to send [12:54:27]OFD Sender: No OFD packet to send [12:54:32]OFD Sender: No OFD packet to send [12:54:37]OFD Sender: No OFD packet to send [12:54:42]OFD Sender: No OFD packet to send [12:54:47]OFD Sender: No OFD packet to send [12:54:52]OFD Sender: No OFD packet to send [12:54:57]OFD Sender: No OFD packet to send [12:55:02]OFD Sender: No OFD packet to send [12:55:07]OFD Sender: No OFD packet to send [12:55:09]accept exits with 8 [12:55:09]New connection [12:55:09]New thread 3067047268 created [12:55:09]Thread 3066903908 joined [12:55:09]Waiting for new connection... [12:55:09] Sock 8.Parse request [12:55:09]Sock 8.Check first char [12:55:09]Sock 8.First char is OK [12:55:09]request: POST /json_proto HTTP/1.1 [12:55:09]Method: POST [12:55:09]URL: /json_proto [12:55:09]Method is POST - this is cgi request [12:55:09]url: /json_proto [12:55:09]query_string will be loaded in cgi processing [12:55:09]execute_cgi json_proto POST (null) [12:55:09]execute_cgi path=json_proto method=POST [12:55:09]POST find Content-Length [12:55:09]Host: 192.168.0.101:8080 [12:55:09]Connection: keep-alive [12:55:09]Content-Length: 135 [12:55:09]Accept: application/json, text/plain, */* [12:55:09]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:55:09]Content-Type: application/json [12:55:09]Origin: http://192.168.0.101:8080 [12:55:09]Referer: http://192.168.0.101:8080/testengine [12:55:09]Accept-Encoding: gzip, deflate [12:55:09]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:55:09] [12:55:09]POST finish read [12:55:09]Found Content-Length = 135 [12:55:09]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0}}} [12:55:09]execute_script... [12:55:09]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0}}} [12:55:09]POST & json_proto [12:55:09]process_json_proto [12:55:09]json parsed OK: [12:55:09]protocol is kg_v1.0 [12:55:09]action value=open_receipt [12:55:09]process_action open_receipt [12:55:09]cmd_open_receipt [12:55:09]MH_GetDate [12:55:09]Write to MH i2c: F0 00 00 7E 00 6D [12:55:09]Write i2c OK [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: F0 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: F0 09 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: F0 09 00 7E 00 00 2D B2 1E 65 47 AC 1E 65 4E [12:55:09]GetLastDocTimeStamp 1696510249 [12:55:09]current date 1696510509 [12:55:09]FM_GetShiftState [12:55:09]SAM_PROTO_GetShiftState [12:55:09]wFMCommunicate request_size=4 [12:55:09]MH_SAM_APDU [12:55:09]CAPDU: 80 13 01 00 [12:55:09]Write to MH i2c: E2 08 00 7F 00 80 13 01 00 00 00 00 00 FC [12:55:09]Write i2c OK [12:55:09]MH_I2C_Read... [12:55:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:09]Read from MH i2c: E2 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 0E 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 0E 00 7F 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 07 [12:55:09]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:55:09]wFMCommunicate OK [12:55:09]SAM_PROTO_GetShiftState done [12:55:09]FM_GetShiftState done [12:55:09]process_action_free open_receipt [12:55:09]json_value_free [12:55:09]json_value_free done [12:55:09]process_json_proto returns [12:55:09]Send response to host [12:55:09]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:55:09]free response buf [12:55:09]execute_script done [12:55:09]execute_script returns [12:55:09]free content buf [12:55:09]Sock 8.Close socket [12:55:09]Sock 8.Thread stoped [12:55:10]accept exits with 9 [12:55:10]New connection [12:55:10]New thread 3066903908 created [12:55:10]Thread 3067047268 joined [12:55:10]Waiting for new connection... [12:55:10] Sock 9.Parse request [12:55:10]Sock 9.Check first char [12:55:10]Sock 9.First char is OK [12:55:10]request: POST /json_proto HTTP/1.1 [12:55:10]Method: POST [12:55:10]URL: /json_proto [12:55:10]Method is POST - this is cgi request [12:55:10]url: /json_proto [12:55:10]query_string will be loaded in cgi processing [12:55:10]execute_cgi json_proto POST (null) [12:55:10]execute_cgi path=json_proto method=POST [12:55:10]POST find Content-Length [12:55:10]Host: 192.168.0.101:8080 [12:55:10]Connection: keep-alive [12:55:10]Content-Length: 225 [12:55:10]Accept: application/json, text/plain, */* [12:55:10]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:55:10]Content-Type: application/json [12:55:10]Origin: http://192.168.0.101:8080 [12:55:10]Referer: http://192.168.0.101:8080/testengine [12:55:10]Accept-Encoding: gzip, deflate [12:55:10]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:55:10] [12:55:10]POST finish read [12:55:10]Found Content-Length = 225 [12:55:10]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}]}]}}} [12:55:10]execute_script... [12:55:10]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}]}]}}} [12:55:10]POST & json_proto [12:55:10]process_json_proto [12:55:10]json parsed OK: [12:55:10]protocol is kg_v1.0 [12:55:10]action value=add_receipt [12:55:10]process_action add_receipt [12:55:10]cmd_open_receipt [12:55:10]MH_GetDate [12:55:10]Write to MH i2c: F0 00 00 80 00 6F [12:55:10]Write i2c OK [12:55:10]MH_I2C_Read... [12:55:10]Read from MH i2c: F0 [12:55:10]MH_I2C_Read... [12:55:10]Read from MH i2c: F0 09 00 [12:55:10]MH_I2C_Read... [12:55:10]Read from MH i2c: F0 09 00 80 00 00 2F B2 1E 65 47 AC 1E 65 52 [12:55:10]GetLastDocTimeStamp 1696510249 [12:55:10]current date 1696510511 [12:55:10]FM_GetShiftState [12:55:10]SAM_PROTO_GetShiftState [12:55:10]wFMCommunicate request_size=4 [12:55:10]MH_SAM_APDU [12:55:10]CAPDU: 80 13 01 00 [12:55:10]Write to MH i2c: E2 08 00 81 00 80 13 01 00 00 00 00 00 FE [12:55:10]Write i2c OK [12:55:10]MH_I2C_Read... [12:55:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:10]Read from MH i2c: E2 [12:55:10]MH_I2C_Read... [12:55:10]Read from MH i2c: E2 0E 00 [12:55:10]MH_I2C_Read... [12:55:10]Read from MH i2c: E2 0E 00 81 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 09 [12:55:10]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:55:10]wFMCommunicate OK [12:55:10]SAM_PROTO_GetShiftState done [12:55:10]FM_GetShiftState done [12:55:10]process_action_free add_receipt [12:55:10]json_value_free [12:55:10]json_value_free done [12:55:10]process_json_proto returns [12:55:10]Send response to host [12:55:10]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:55:10]free response buf [12:55:10]execute_script done [12:55:10]execute_script returns [12:55:10]free content buf [12:55:10]Sock 9.Close socket [12:55:10]Sock 9.Thread stoped [12:55:11]accept exits with 8 [12:55:11]New connection [12:55:11]New thread 3067047268 created [12:55:11]Thread 3066903908 joined [12:55:11]Waiting for new connection... [12:55:11] Sock 8.Parse request [12:55:11]Sock 8.Check first char [12:55:11]Sock 8.First char is OK [12:55:11]request: POST /json_proto HTTP/1.1 [12:55:11]Method: POST [12:55:11]URL: /json_proto [12:55:11]Method is POST - this is cgi request [12:55:11]url: /json_proto [12:55:11]query_string will be loaded in cgi processing [12:55:11]execute_cgi json_proto POST (null) [12:55:11]execute_cgi path=json_proto method=POST [12:55:11]POST find Content-Length [12:55:11]Host: 192.168.0.101:8080 [12:55:11]Connection: keep-alive [12:55:11]Content-Length: 610 [12:55:11]Accept: application/json, text/plain, */* [12:55:11]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:55:11]Content-Type: application/json [12:55:11]Origin: http://192.168.0.101:8080 [12:55:11]Referer: http://192.168.0.101:8080/testengine [12:55:11]Accept-Encoding: gzip, deflate [12:55:11]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:55:11] [12:55:11]POST finish read [12:55:11]Found Content-Length = 610 [12:55:11]post body = {"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0,"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}],"total":1,"deposit":0,"payments":[{"type":0,"sum":1},{"type":1,"sum":0}]}}} [12:55:11]execute_script... [12:55:11]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 8 \"Trend Oil\"","type":"sale","tax_sys":0,"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}],"total":1,"deposit":0,"payments":[{"type":0,"sum":1},{"type":1,"sum":0}]}}} [12:55:11]POST & json_proto [12:55:11]process_json_proto [12:55:11]json parsed OK: [12:55:11]protocol is kg_v1.0 [12:55:11]action value=close_receipt [12:55:11]process_action close_receipt [12:55:11]cmd_close_receipt [12:55:11]MH_GetDate [12:55:11]Write to MH i2c: F0 00 00 82 00 71 [12:55:11]Write i2c OK [12:55:11]MH_I2C_Read... [12:55:11]Read from MH i2c: F0 [12:55:11]MH_I2C_Read... [12:55:11]Read from MH i2c: F0 09 00 [12:55:11]MH_I2C_Read... [12:55:11]Read from MH i2c: F0 09 00 82 00 00 30 B2 1E 65 47 AC 1E 65 55 [12:55:11]GetLastDocTimeStamp 1696510249 [12:55:11]current date 1696510512 [12:55:11]FM_GetShiftState [12:55:11]SAM_PROTO_GetShiftState [12:55:11]wFMCommunicate request_size=4 [12:55:11]MH_SAM_APDU [12:55:11]CAPDU: 80 13 01 00 [12:55:11]Write to MH i2c: E2 08 00 83 00 80 13 01 00 00 00 00 00 00 [12:55:11]Write i2c OK [12:55:11]MH_I2C_Read... [12:55:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:11]Read from MH i2c: E2 [12:55:11]MH_I2C_Read... [12:55:11]Read from MH i2c: E2 0E 00 [12:55:11]MH_I2C_Read... [12:55:11]Read from MH i2c: E2 0E 00 83 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0B [12:55:11]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:55:11]wFMCommunicate OK [12:55:11]SAM_PROTO_GetShiftState done [12:55:11]FM_GetShiftState done [12:55:11]process_action_free close_receipt [12:55:11]json_value_free [12:55:11]json_value_free done [12:55:11]process_json_proto returns [12:55:11]Send response to host [12:55:11]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:55:11]free response buf [12:55:11]execute_script done [12:55:11]execute_script returns [12:55:11]free content buf [12:55:11]Sock 8.Close socket [12:55:11]Sock 8.Thread stoped [12:55:12]OFD Sender: No OFD packet to send [12:55:12]accept exits with 9 [12:55:12]New connection [12:55:12]New thread 3066903908 created [12:55:12]Thread 3067047268 joined [12:55:12]Waiting for new connection... [12:55:12] Sock 9.Parse request [12:55:12]Sock 9.Check first char [12:55:12]Sock 9.First char is OK [12:55:12]request: POST /json_proto HTTP/1.1 [12:55:12]Method: POST [12:55:12]URL: /json_proto [12:55:12]Method is POST - this is cgi request [12:55:12]url: /json_proto [12:55:12]query_string will be loaded in cgi processing [12:55:12]execute_cgi json_proto POST (null) [12:55:12]execute_cgi path=json_proto method=POST [12:55:12]POST find Content-Length [12:55:12]Host: 192.168.0.101:8080 [12:55:12]Connection: keep-alive [12:55:12]Content-Length: 72 [12:55:12]Accept: application/json, text/plain, */* [12:55:12]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:55:12]Content-Type: application/json [12:55:12]Origin: http://192.168.0.101:8080 [12:55:12]Referer: http://192.168.0.101:8080/testengine [12:55:12]Accept-Encoding: gzip, deflate [12:55:12]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:55:12] [12:55:12]POST finish read [12:55:12]Found Content-Length = 72 [12:55:12]post body = {"protocol":"kg_v1.0","request":{"action":"cancel_receipt","params":{}}} [12:55:12]execute_script... [12:55:12]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"cancel_receipt","params":{}}} [12:55:12]POST & json_proto [12:55:12]process_json_proto [12:55:12]json parsed OK: [12:55:12]protocol is kg_v1.0 [12:55:12]action value=cancel_receipt [12:55:12]process_action cancel_receipt [12:55:12]cmd_cancel_receipt [12:55:12]MH_GetDate [12:55:12]Write to MH i2c: F0 00 00 84 00 73 [12:55:12]Write i2c OK [12:55:12]MH_I2C_Read... [12:55:12]Read from MH i2c: F0 [12:55:12]MH_I2C_Read... [12:55:12]Read from MH i2c: F0 09 00 [12:55:12]MH_I2C_Read... [12:55:12]Read from MH i2c: F0 09 00 84 00 00 31 B2 1E 65 47 AC 1E 65 58 [12:55:12]GetLastDocTimeStamp 1696510249 [12:55:12]current date 1696510513 [12:55:12]FM_GetShiftState [12:55:12]SAM_PROTO_GetShiftState [12:55:12]wFMCommunicate request_size=4 [12:55:12]MH_SAM_APDU [12:55:12]CAPDU: 80 13 01 00 [12:55:12]Write to MH i2c: E2 08 00 85 00 80 13 01 00 00 00 00 00 02 [12:55:12]Write i2c OK [12:55:12]MH_I2C_Read... [12:55:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:13]Read from MH i2c: E2 [12:55:13]MH_I2C_Read... [12:55:13]Read from MH i2c: E2 0E 00 [12:55:13]MH_I2C_Read... [12:55:13]Read from MH i2c: E2 0E 00 85 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0D [12:55:13]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:55:13]wFMCommunicate OK [12:55:13]SAM_PROTO_GetShiftState done [12:55:13]FM_GetShiftState done [12:55:13]cmd_cancel_receipt done [12:55:13]process_action_free cancel_receipt [12:55:13]json_value_free [12:55:13]json_value_free done [12:55:13]process_json_proto returns [12:55:13]Send response to host [12:55:13]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:55:13]free response buf [12:55:13]execute_script done [12:55:13]execute_script returns [12:55:13]free content buf [12:55:13]Sock 9.Close socket [12:55:13]Sock 9.Thread stoped [12:55:16]accept exits with 8 [12:55:16]New connection [12:55:16]New thread 3067047268 created [12:55:16]Thread 3066903908 joined [12:55:16]Waiting for new connection... [12:55:16] Sock 8.Parse request [12:55:16]Sock 8.Check first char [12:55:16]Sock 8.First char is OK [12:55:16]request: POST /json_proto HTTP/1.1 [12:55:16]Method: POST [12:55:16]URL: /json_proto [12:55:16]Method is POST - this is cgi request [12:55:16]url: /json_proto [12:55:16]query_string will be loaded in cgi processing [12:55:16]execute_cgi json_proto POST (null) [12:55:16]execute_cgi path=json_proto method=POST [12:55:16]POST find Content-Length [12:55:16]Host: 192.168.0.101:8080 [12:55:16]Connection: keep-alive [12:55:16]Content-Length: 350 [12:55:16]Accept: application/json, text/plain, */* [12:55:16]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:55:16]Content-Type: application/json [12:55:16]Origin: http://192.168.0.101:8080 [12:55:16]Referer: http://192.168.0.101:8080/testengine [12:55:16]Accept-Encoding: gzip, deflate [12:55:16]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:55:16] [12:55:16]POST finish read [12:55:16]Found Content-Length = 350 [12:55:16]post body = {"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:55:16]execute_script... [12:55:16]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"x_report","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов"}}} [12:55:16]POST & json_proto [12:55:16]process_json_proto [12:55:16]json parsed OK: [12:55:16]protocol is kg_v1.0 [12:55:16]action value=x_report [12:55:16]process_action x_report [12:55:16]cmd_x_report [12:55:16]MH_GetDate [12:55:16]Write to MH i2c: F0 00 00 86 00 75 [12:55:16]Write i2c OK [12:55:16]MH_I2C_Read... [12:55:16]Read from MH i2c: F0 [12:55:16]MH_I2C_Read... [12:55:16]Read from MH i2c: F0 09 00 [12:55:16]MH_I2C_Read... [12:55:16]Read from MH i2c: F0 09 00 86 00 00 34 B2 1E 65 47 AC 1E 65 5D [12:55:16]GetLastDocTimeStamp 1696510249 [12:55:16]current date 1696510516 [12:55:16]FM_GetShiftState [12:55:16]SAM_PROTO_GetShiftState [12:55:16]wFMCommunicate request_size=4 [12:55:16]MH_SAM_APDU [12:55:16]CAPDU: 80 13 01 00 [12:55:16]Write to MH i2c: E2 08 00 87 00 80 13 01 00 00 00 00 00 04 [12:55:16]Write i2c OK [12:55:16]MH_I2C_Read... [12:55:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:16]Read from MH i2c: E2 [12:55:16]MH_I2C_Read... [12:55:16]Read from MH i2c: E2 0E 00 [12:55:16]MH_I2C_Read... [12:55:16]Read from MH i2c: E2 0E 00 87 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0F [12:55:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:55:16]wFMCommunicate OK [12:55:16]SAM_PROTO_GetShiftState done [12:55:16]FM_GetShiftState done [12:55:16]process_action_free x_report [12:55:16]json_value_free [12:55:16]json_value_free done [12:55:16]process_json_proto returns [12:55:16]Send response to host [12:55:16]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [12:55:16]free response buf [12:55:16]execute_script done [12:55:16]execute_script returns [12:55:16]free content buf [12:55:16]Sock 8.Close socket [12:55:16]Sock 8.Thread stoped [12:55:17]OFD Sender: No OFD packet to send [12:55:22]OFD Sender: No OFD packet to send [12:55:27]OFD Sender: No OFD packet to send [12:55:32]OFD Sender: No OFD packet to send [12:55:37]OFD Sender: No OFD packet to send [12:55:42]OFD Sender: No OFD packet to send [12:55:47]OFD Sender: No OFD packet to send [12:55:52]OFD Sender: No OFD packet to send [12:55:57]OFD Sender: No OFD packet to send [12:56:02]OFD Sender: No OFD packet to send [12:56:07]OFD Sender: No OFD packet to send [12:56:12]OFD Sender: No OFD packet to send [12:56:17]OFD Sender: No OFD packet to send [12:56:22]OFD Sender: No OFD packet to send [12:56:27]OFD Sender: No OFD packet to send [12:56:32]OFD Sender: No OFD packet to send [12:56:37]OFD Sender: No OFD packet to send [12:56:42]OFD Sender: No OFD packet to send [12:56:47]OFD Sender: No OFD packet to send [12:56:52]OFD Sender: No OFD packet to send [12:56:57]OFD Sender: No OFD packet to send [12:57:02]OFD Sender: No OFD packet to send [12:57:07]OFD Sender: No OFD packet to send [12:57:12]OFD Sender: No OFD packet to send [12:57:17]OFD Sender: No OFD packet to send [12:57:22]OFD Sender: No OFD packet to send [12:57:27]OFD Sender: No OFD packet to send [12:57:32]OFD Sender: No OFD packet to send [12:57:37]OFD Sender: No OFD packet to send [12:57:42]OFD Sender: No OFD packet to send [12:57:47]OFD Sender: No OFD packet to send [12:57:52]OFD Sender: No OFD packet to send [12:57:57]OFD Sender: No OFD packet to send [12:57:59]accept exits with 9 [12:57:59]New connection [12:57:59]New thread 3066903908 created [12:57:59]Thread 3067047268 joined [12:57:59]Waiting for new connection... [12:57:59] Sock 9.Parse request [12:57:59]Sock 9.Check first char [12:57:59]Sock 9.First char is OK [12:57:59]request: POST /json_proto HTTP/1.1 [12:57:59]Method: POST [12:57:59]URL: /json_proto [12:57:59]Method is POST - this is cgi request [12:57:59]url: /json_proto [12:57:59]query_string will be loaded in cgi processing [12:57:59]execute_cgi json_proto POST (null) [12:57:59]execute_cgi path=json_proto method=POST [12:57:59]POST find Content-Length [12:57:59]Host: 192.168.0.101:8080 [12:57:59]Connection: keep-alive [12:57:59]Content-Length: 253 [12:57:59]Accept: application/json, text/plain, */* [12:57:59]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [12:57:59]Content-Type: application/json [12:57:59]Origin: http://192.168.0.101:8080 [12:57:59]Referer: http://192.168.0.101:8080/testengine [12:57:59]Accept-Encoding: gzip, deflate [12:57:59]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [12:57:59] [12:57:59]POST finish read [12:57:59]Found Content-Length = 253 [12:57:59]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn","kkm.ver","kkm.rnm","fm.sn","fm.ffd_ver","fm.expired","fd.num","shift.num","shift.opened","shift.open_date","shift.receipt_num","shift.receipts","shift.docs"]}} [12:57:59]execute_script... [12:57:59]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn","kkm.ver","kkm.rnm","fm.sn","fm.ffd_ver","fm.expired","fd.num","shift.num","shift.opened","shift.open_date","shift.receipt_num","shift.receipts","shift.docs"]}} [12:57:59]POST & json_proto [12:57:59]process_json_proto [12:57:59]json parsed OK: [12:57:59]protocol is kg_v1.0 [12:57:59]action value=get_value [12:57:59]process_action get_value [12:57:59]cmd_get_value [12:57:59]process_action get_value done [12:57:59]requested_data is exist [12:57:59]produce_requested_data [12:57:59]requested_item kkm.sn is exist - process it [12:57:59]requested_item kkm.ver is exist - process it [12:57:59]requested_item kkm.rnm is exist - process it [12:57:59]SAM_PROTO_GetFieldsCounters [12:57:59]wFMCommunicate request_size=4 [12:57:59]MH_SAM_APDU [12:57:59]CAPDU: 80 13 00 00 [12:57:59]Write to MH i2c: E2 08 00 88 00 80 13 00 00 00 00 00 00 04 [12:57:59]Write i2c OK [12:57:59]MH_I2C_Read... [12:57:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:57:59]Read from MH i2c: E2 [12:57:59]MH_I2C_Read... [12:57:59]Read from MH i2c: E2 62 00 [12:57:59]MH_I2C_Read... [12:57:59]Read from MH i2c: E2 62 00 88 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 10 04 04 00 01 00 00 00 0E 04 04 00 00 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 00 00 00 00 19 04 04 00 00 00 00 00 90 00 22 [12:57:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 10 04 04 00 01 00 00 00 0E 04 04 00 00 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 00 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:57:59]wFMCommunicate OK [12:57:59]SAM_PROTO_GetFieldsCounters done [12:57:59]requested_item fm.sn is exist - process it [12:57:59]wFMCommunicate request_size=4 [12:57:59]MH_SAM_APDU [12:57:59]CAPDU: 80 11 00 00 [12:57:59]Write to MH i2c: E2 08 00 89 00 80 11 00 00 00 00 00 00 03 [12:57:59]Write i2c OK [12:57:59]MH_I2C_Read... [12:57:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:57:59]Read from MH i2c: E2 [12:57:59]MH_I2C_Read... [12:57:59]Read from MH i2c: E2 17 00 [12:57:59]MH_I2C_Read... [12:57:59]Read from MH i2c: E2 17 00 89 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 59 [12:57:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [12:57:59]wFMCommunicate OK [12:57:59]requested_item fm.ffd_ver is exist - process it [12:57:59]requested_item fm.expired is exist - process it [12:57:59]requested_item fd.num is exist - process it [12:57:59]requested_item shift.num is exist - process it [12:57:59]requested_item shift.opened is exist - process it [12:57:59]req_shift_opened [12:57:59]FM_GetShiftState [12:57:59]SAM_PROTO_GetShiftState [12:57:59]wFMCommunicate request_size=4 [12:57:59]MH_SAM_APDU [12:57:59]CAPDU: 80 13 01 00 [12:57:59]Write to MH i2c: E2 08 00 8A 00 80 13 01 00 00 00 00 00 07 [12:57:59]Write i2c OK [12:57:59]MH_I2C_Read... [12:57:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:57:59]Read from MH i2c: E2 [12:57:59]MH_I2C_Read... [12:57:59]Read from MH i2c: E2 0E 00 [12:57:59]MH_I2C_Read... [12:57:59]Read from MH i2c: E2 0E 00 8A 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 12 [12:57:59]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:57:59]wFMCommunicate OK [12:57:59]SAM_PROTO_GetShiftState done [12:57:59]FM_GetShiftState done [12:57:59]req_shift_opened done [12:57:59]requested_item shift.open_date is exist - process it [12:57:59]req_shift_open_date [12:57:59]FM_GetShiftState [12:57:59]SAM_PROTO_GetShiftState [12:57:59]wFMCommunicate request_size=4 [12:57:59]MH_SAM_APDU [12:57:59]CAPDU: 80 13 01 00 [12:57:59]Write to MH i2c: E2 08 00 8B 00 80 13 01 00 00 00 00 00 08 [12:57:59]Write i2c OK [12:57:59]MH_I2C_Read... [12:57:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:57:59]Read from MH i2c: E2 [12:57:59]MH_I2C_Read... [12:57:59]Read from MH i2c: E2 0E 00 [12:57:59]MH_I2C_Read... [12:57:59]Read from MH i2c: E2 0E 00 8B 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 13 [12:57:59]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:57:59]wFMCommunicate OK [12:57:59]SAM_PROTO_GetShiftState done [12:57:59]FM_GetShiftState done [12:57:59]req_shift_open_date done [12:57:59]requested_item shift.receipt_num is exist - process it [12:57:59]requested_item shift.receipts is exist - process it [12:57:59]requested_item shift.docs is exist - process it [12:57:59]produce_requested_data done [12:57:59]produce_requested_data return {"kkm.sn":"0300000176","kkm.ver":"v1.0","kkm.rnm":"0000000000108361","fm.sn":"0000000000965627","fm.ffd_ver":"1.0","fm.expired":"01.01.1970 00:00","fd.num":1,"shift.num":0,"shift.opened":0,"shift.open_date":0,"shift.receipt_num":0,"shift.receipts":0,"shift.docs":0} [12:57:59]process_action_free get_value [12:57:59]json_value_free [12:57:59]json_value_free done [12:57:59]process_json_proto returns [12:57:59]Send response to host [12:57:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000176","kkm.ver":"v1.0","kkm.rnm":"0000000000108361","fm.sn":"0000000000965627","fm.ffd_ver":"1.0","fm.expired":"01.01.1970 00:00","fd.num":1,"shift.num":0,"shift.opened":0,"shift.open_date":0,"shift.receipt_num":0,"shift.receipts":0,"shift.docs":0}}} [12:57:59]free response buf [12:57:59]execute_script done [12:57:59]execute_script returns [12:57:59]free content buf [12:57:59]Sock 9.Close socket [12:57:59]Sock 9.Thread stoped [12:58:02]OFD Sender: No OFD packet to send [12:58:07]OFD Sender: No OFD packet to send [12:58:12]OFD Sender: No OFD packet to send [12:58:17]OFD Sender: No OFD packet to send [12:58:22]OFD Sender: No OFD packet to send [12:58:27]OFD Sender: No OFD packet to send [12:58:32]OFD Sender: No OFD packet to send [12:58:37]OFD Sender: No OFD packet to send [12:58:42]OFD Sender: No OFD packet to send [12:58:47]OFD Sender: No OFD packet to send [12:58:52]OFD Sender: No OFD packet to send [12:58:57]OFD Sender: No OFD packet to send [12:59:02]OFD Sender: No OFD packet to send [12:59:07]OFD Sender: No OFD packet to send [12:59:12]OFD Sender: No OFD packet to send [12:59:17]OFD Sender: No OFD packet to send [12:59:22]OFD Sender: No OFD packet to send [12:59:27]OFD Sender: No OFD packet to send [12:59:32]OFD Sender: No OFD packet to send [12:59:37]OFD Sender: No OFD packet to send [12:59:42]OFD Sender: No OFD packet to send [12:59:47]OFD Sender: No OFD packet to send [12:59:52]OFD Sender: No OFD packet to send [12:59:57]OFD Sender: No OFD packet to send [13:00:02]OFD Sender: No OFD packet to send [13:00:07]OFD Sender: No OFD packet to send [13:00:12]OFD Sender: No OFD packet to send [13:00:17]OFD Sender: No OFD packet to send [13:00:22]OFD Sender: No OFD packet to send [13:00:27]OFD Sender: No OFD packet to send [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:12]OFD Sender: No OFD packet to send [13:01:17]OFD Sender: No OFD packet to send [13:01:22]OFD Sender: No OFD packet to send [13:01:27]OFD Sender: No OFD packet to send [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:25]accept exits with 8 [13:05:25]New connection [13:05:25]New thread 3067047268 created [13:05:25]Thread 3066903908 joined [13:05:25]Waiting for new connection... [13:05:25] Sock 8.Parse request [13:05:25]Sock 8.Check first char [13:05:25]Sock 8.First char is OK [13:05:25]request: POST /json_proto HTTP/1.1 [13:05:25]Method: POST [13:05:25]URL: /json_proto [13:05:25]Method is POST - this is cgi request [13:05:25]url: /json_proto [13:05:25]query_string will be loaded in cgi processing [13:05:25]execute_cgi json_proto POST (null) [13:05:25]execute_cgi path=json_proto method=POST [13:05:25]POST find Content-Length [13:05:25]Host: 192.168.0.101:8080 [13:05:25]Connection: keep-alive [13:05:25]Content-Length: 122 [13:05:25]Accept: application/json, text/plain, */* [13:05:25]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:05:25]Content-Type: application/json [13:05:25]Origin: http://192.168.0.101:8080 [13:05:25]Referer: http://192.168.0.101:8080/testengine [13:05:25]Accept-Encoding: gzip, deflate [13:05:25]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:05:25] [13:05:25]POST finish read [13:05:25]Found Content-Length = 122 [13:05:25]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"\"Trend Oil\"","type":"sale","tax_sys":0}}} [13:05:25]execute_script... [13:05:25]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"\"Trend Oil\"","type":"sale","tax_sys":0}}} [13:05:25]POST & json_proto [13:05:25]process_json_proto [13:05:25]json parsed OK: [13:05:25]protocol is kg_v1.0 [13:05:25]action value=open_receipt [13:05:25]process_action open_receipt [13:05:25]cmd_open_receipt [13:05:25]MH_GetDate [13:05:25]Write to MH i2c: F0 00 00 8C 00 7B [13:05:25]Write i2c OK [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: F0 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: F0 09 00 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: F0 09 00 8C 00 00 96 B4 1E 65 47 AC 1E 65 C7 [13:05:25]GetLastDocTimeStamp 1696510249 [13:05:25]current date 1696511126 [13:05:25]FM_GetShiftState [13:05:25]SAM_PROTO_GetShiftState [13:05:25]wFMCommunicate request_size=4 [13:05:25]MH_SAM_APDU [13:05:25]CAPDU: 80 13 01 00 [13:05:25]Write to MH i2c: E2 08 00 8D 00 80 13 01 00 00 00 00 00 0A [13:05:25]Write i2c OK [13:05:25]MH_I2C_Read... [13:05:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:25]Read from MH i2c: E2 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: E2 0E 00 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: E2 0E 00 8D 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 15 [13:05:25]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:05:25]wFMCommunicate OK [13:05:25]SAM_PROTO_GetShiftState done [13:05:25]FM_GetShiftState done [13:05:25]process_action_free open_receipt [13:05:25]json_value_free [13:05:25]json_value_free done [13:05:25]process_json_proto returns [13:05:25]Send response to host [13:05:25]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [13:05:25]free response buf [13:05:25]execute_script done [13:05:25]execute_script returns [13:05:25]free content buf [13:05:25]Sock 8.Close socket [13:05:25]Sock 8.Thread stoped [13:05:26]accept exits with 9 [13:05:26]New connection [13:05:26]New thread 3066903908 created [13:05:26]Thread 3067047268 joined [13:05:26]Waiting for new connection... [13:05:26] Sock 9.Parse request [13:05:26]Sock 9.Check first char [13:05:26]Sock 9.First char is OK [13:05:26]request: POST /json_proto HTTP/1.1 [13:05:26]Method: POST [13:05:26]URL: /json_proto [13:05:26]Method is POST - this is cgi request [13:05:26]url: /json_proto [13:05:26]query_string will be loaded in cgi processing [13:05:26]execute_cgi json_proto POST (null) [13:05:26]execute_cgi path=json_proto method=POST [13:05:26]POST find Content-Length [13:05:26]Host: 192.168.0.101:8080 [13:05:26]Connection: keep-alive [13:05:26]Content-Length: 225 [13:05:26]Accept: application/json, text/plain, */* [13:05:26]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:05:26]Content-Type: application/json [13:05:26]Origin: http://192.168.0.101:8080 [13:05:26]Referer: http://192.168.0.101:8080/testengine [13:05:26]Accept-Encoding: gzip, deflate [13:05:26]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:05:26] [13:05:26]POST finish read [13:05:26]Found Content-Length = 225 [13:05:26]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}]}]}}} [13:05:26]execute_script... [13:05:26]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}]}]}}} [13:05:26]POST & json_proto [13:05:26]process_json_proto [13:05:26]json parsed OK: [13:05:26]protocol is kg_v1.0 [13:05:26]action value=add_receipt [13:05:26]process_action add_receipt [13:05:26]cmd_open_receipt [13:05:26]MH_GetDate [13:05:26]Write to MH i2c: F0 00 00 8E 00 7D [13:05:26]Write i2c OK [13:05:26]MH_I2C_Read... [13:05:26]Read from MH i2c: F0 [13:05:26]MH_I2C_Read... [13:05:26]Read from MH i2c: F0 09 00 [13:05:26]MH_I2C_Read... [13:05:26]Read from MH i2c: F0 09 00 8E 00 00 97 B4 1E 65 47 AC 1E 65 CA [13:05:26]GetLastDocTimeStamp 1696510249 [13:05:26]current date 1696511127 [13:05:26]FM_GetShiftState [13:05:26]SAM_PROTO_GetShiftState [13:05:26]wFMCommunicate request_size=4 [13:05:26]MH_SAM_APDU [13:05:26]CAPDU: 80 13 01 00 [13:05:26]Write to MH i2c: E2 08 00 8F 00 80 13 01 00 00 00 00 00 0C [13:05:26]Write i2c OK [13:05:26]MH_I2C_Read... [13:05:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:27]Read from MH i2c: E2 [13:05:27]MH_I2C_Read... [13:05:27]Read from MH i2c: E2 0E 00 [13:05:27]MH_I2C_Read... [13:05:27]Read from MH i2c: E2 0E 00 8F 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 17 [13:05:27]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:05:27]wFMCommunicate OK [13:05:27]SAM_PROTO_GetShiftState done [13:05:27]FM_GetShiftState done [13:05:27]process_action_free add_receipt [13:05:27]json_value_free [13:05:27]json_value_free done [13:05:27]process_json_proto returns [13:05:27]Send response to host [13:05:27]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [13:05:27]free response buf [13:05:27]execute_script done [13:05:27]execute_script returns [13:05:27]free content buf [13:05:27]Sock 9.Close socket [13:05:27]Sock 9.Thread stoped [13:05:27]accept exits with 8 [13:05:27]New connection [13:05:27]New thread 3067047268 created [13:05:27]Thread 3066903908 joined [13:05:27]Waiting for new connection... [13:05:27] Sock 8.Parse request [13:05:27]Sock 8.Check first char [13:05:27]Sock 8.First char is OK [13:05:27]request: POST /json_proto HTTP/1.1 [13:05:27]Method: POST [13:05:27]URL: /json_proto [13:05:27]Method is POST - this is cgi request [13:05:27]url: /json_proto [13:05:27]query_string will be loaded in cgi processing [13:05:27]execute_cgi json_proto POST (null) [13:05:27]execute_cgi path=json_proto method=POST [13:05:27]POST find Content-Length [13:05:27]Host: 192.168.0.101:8080 [13:05:27]Connection: keep-alive [13:05:27]Content-Length: 597 [13:05:27]Accept: application/json, text/plain, */* [13:05:27]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:05:27]Content-Type: application/json [13:05:27]Origin: http://192.168.0.101:8080 [13:05:27]Referer: http://192.168.0.101:8080/testengine [13:05:27]Accept-Encoding: gzip, deflate [13:05:27]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:05:27] [13:05:27]POST finish read [13:05:27]Found Content-Length = 597 [13:05:27]post body = {"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"\"Trend Oil\"","type":"sale","tax_sys":0,"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}],"total":1,"deposit":0,"payments":[{"type":0,"sum":1},{"type":1,"sum":0}]}}} [13:05:27]execute_script... [13:05:27]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"\"Trend Oil\"","type":"sale","tax_sys":0,"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}],"total":1,"deposit":0,"payments":[{"type":0,"sum":1},{"type":1,"sum":0}]}}} [13:05:27]POST & json_proto [13:05:27]process_json_proto [13:05:27]json parsed OK: [13:05:27]protocol is kg_v1.0 [13:05:27]action value=close_receipt [13:05:27]process_action close_receipt [13:05:27]cmd_close_receipt [13:05:27]MH_GetDate [13:05:27]Write to MH i2c: F0 00 00 90 00 7F [13:05:27]Write i2c OK [13:05:27]MH_I2C_Read... [13:05:27]Read from MH i2c: F0 [13:05:27]MH_I2C_Read... [13:05:27]Read from MH i2c: F0 09 00 [13:05:27]MH_I2C_Read... [13:05:27]Read from MH i2c: F0 09 00 90 00 00 98 B4 1E 65 47 AC 1E 65 CD [13:05:27]GetLastDocTimeStamp 1696510249 [13:05:27]current date 1696511128 [13:05:27]FM_GetShiftState [13:05:27]SAM_PROTO_GetShiftState [13:05:27]wFMCommunicate request_size=4 [13:05:27]MH_SAM_APDU [13:05:27]CAPDU: 80 13 01 00 [13:05:27]Write to MH i2c: E2 08 00 91 00 80 13 01 00 00 00 00 00 0E [13:05:27]Write i2c OK [13:05:27]MH_I2C_Read... [13:05:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:28]Read from MH i2c: E2 [13:05:28]MH_I2C_Read... [13:05:28]Read from MH i2c: E2 0E 00 [13:05:28]MH_I2C_Read... [13:05:28]Read from MH i2c: E2 0E 00 91 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 19 [13:05:28]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:05:28]wFMCommunicate OK [13:05:28]SAM_PROTO_GetShiftState done [13:05:28]FM_GetShiftState done [13:05:28]process_action_free close_receipt [13:05:28]json_value_free [13:05:28]json_value_free done [13:05:28]process_json_proto returns [13:05:28]Send response to host [13:05:28]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [13:05:28]free response buf [13:05:28]execute_script done [13:05:28]execute_script returns [13:05:28]free content buf [13:05:28]Sock 8.Close socket [13:05:28]Sock 8.Thread stoped [13:05:28]OFD Sender: No OFD packet to send [13:05:31]accept exits with 9 [13:05:31]New connection [13:05:31]New thread 3066903908 created [13:05:31]Thread 3067047268 joined [13:05:31]Waiting for new connection... [13:05:31] Sock 9.Parse request [13:05:31]Sock 9.Check first char [13:05:31]Sock 9.First char is OK [13:05:31]request: POST /json_proto HTTP/1.1 [13:05:31]Method: POST [13:05:31]URL: /json_proto [13:05:31]Method is POST - this is cgi request [13:05:31]url: /json_proto [13:05:31]query_string will be loaded in cgi processing [13:05:31]execute_cgi json_proto POST (null) [13:05:31]execute_cgi path=json_proto method=POST [13:05:31]POST find Content-Length [13:05:31]Host: 192.168.0.101:8080 [13:05:31]Connection: keep-alive [13:05:31]Content-Length: 79 [13:05:31]Accept: application/json, text/plain, */* [13:05:31]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:05:31]Content-Type: application/json [13:05:31]Origin: http://192.168.0.101:8080 [13:05:31]Referer: http://192.168.0.101:8080/testengine [13:05:31]Accept-Encoding: gzip, deflate [13:05:31]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:05:31] [13:05:31]POST finish read [13:05:31]Found Content-Length = 79 [13:05:31]post body = {"protocol":"kg_v1.0","request":{"action":"add_receipt","params":{"items":[]}}} [13:05:31]execute_script... [13:05:31]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"add_receipt","params":{"items":[]}}} [13:05:31]POST & json_proto [13:05:31]process_json_proto [13:05:31]json parsed OK: [13:05:31]protocol is kg_v1.0 [13:05:31]action value=add_receipt [13:05:31]process_action add_receipt [13:05:31]cmd_open_receipt [13:05:31]MH_GetDate [13:05:31]Write to MH i2c: F0 00 00 92 00 81 [13:05:31]Write i2c OK [13:05:31]MH_I2C_Read... [13:05:31]Read from MH i2c: F0 [13:05:31]MH_I2C_Read... [13:05:31]Read from MH i2c: F0 09 00 [13:05:31]MH_I2C_Read... [13:05:31]Read from MH i2c: F0 09 00 92 00 00 9C B4 1E 65 47 AC 1E 65 D3 [13:05:31]GetLastDocTimeStamp 1696510249 [13:05:31]current date 1696511132 [13:05:31]FM_GetShiftState [13:05:31]SAM_PROTO_GetShiftState [13:05:31]wFMCommunicate request_size=4 [13:05:31]MH_SAM_APDU [13:05:31]CAPDU: 80 13 01 00 [13:05:31]Write to MH i2c: E2 08 00 93 00 80 13 01 00 00 00 00 00 10 [13:05:31]Write i2c OK [13:05:31]MH_I2C_Read... [13:05:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:31]Read from MH i2c: E2 [13:05:31]MH_I2C_Read... [13:05:31]Read from MH i2c: E2 0E 00 [13:05:31]MH_I2C_Read... [13:05:31]Read from MH i2c: E2 0E 00 93 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1B [13:05:31]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:05:31]wFMCommunicate OK [13:05:31]SAM_PROTO_GetShiftState done [13:05:31]FM_GetShiftState done [13:05:31]process_action_free add_receipt [13:05:31]json_value_free [13:05:31]json_value_free done [13:05:31]process_json_proto returns [13:05:31]Send response to host [13:05:31]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [13:05:31]free response buf [13:05:31]execute_script done [13:05:31]execute_script returns [13:05:31]free content buf [13:05:31]Sock 9.Close socket [13:05:31]Sock 9.Thread stoped [13:05:32]accept exits with 8 [13:05:32]New connection [13:05:32]New thread 3067047268 created [13:05:32]Thread 3066903908 joined [13:05:32]Waiting for new connection... [13:05:32] Sock 8.Parse request [13:05:32]Sock 8.Check first char [13:05:32]Sock 8.First char is OK [13:05:32]request: POST /json_proto HTTP/1.1 [13:05:32]Method: POST [13:05:32]URL: /json_proto [13:05:32]Method is POST - this is cgi request [13:05:32]url: /json_proto [13:05:32]query_string will be loaded in cgi processing [13:05:32]execute_cgi json_proto POST (null) [13:05:32]execute_cgi path=json_proto method=POST [13:05:32]POST find Content-Length [13:05:32]Host: 192.168.0.101:8080 [13:05:32]Connection: keep-alive [13:05:32]Content-Length: 451 [13:05:32]Accept: application/json, text/plain, */* [13:05:32]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:05:32]Content-Type: application/json [13:05:32]Origin: http://192.168.0.101:8080 [13:05:32]Referer: http://192.168.0.101:8080/testengine [13:05:32]Accept-Encoding: gzip, deflate [13:05:32]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:05:32] [13:05:32]POST finish read [13:05:32]Found Content-Length = 451 [13:05:32]post body = {"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"\"Trend Oil\"","type":"sale","tax_sys":0,"items":[],"total":0,"deposit":0,"payments":[{"type":0,"sum":0},{"type":1,"sum":0}]}}} [13:05:32]execute_script... [13:05:32]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"\"Trend Oil\"","type":"sale","tax_sys":0,"items":[],"total":0,"deposit":0,"payments":[{"type":0,"sum":0},{"type":1,"sum":0}]}}} [13:05:32]POST & json_proto [13:05:32]process_json_proto [13:05:32]json parsed OK: [13:05:32]protocol is kg_v1.0 [13:05:32]action value=close_receipt [13:05:32]process_action close_receipt [13:05:32]cmd_close_receipt [13:05:32]MH_GetDate [13:05:32]Write to MH i2c: F0 00 00 94 00 83 [13:05:32]Write i2c OK [13:05:32]MH_I2C_Read... [13:05:32]Read from MH i2c: F0 [13:05:32]MH_I2C_Read... [13:05:32]Read from MH i2c: F0 09 00 [13:05:32]MH_I2C_Read... [13:05:32]Read from MH i2c: F0 09 00 94 00 00 9D B4 1E 65 47 AC 1E 65 D6 [13:05:32]GetLastDocTimeStamp 1696510249 [13:05:32]current date 1696511133 [13:05:32]FM_GetShiftState [13:05:32]SAM_PROTO_GetShiftState [13:05:32]wFMCommunicate request_size=4 [13:05:32]MH_SAM_APDU [13:05:32]CAPDU: 80 13 01 00 [13:05:32]Write to MH i2c: E2 08 00 95 00 80 13 01 00 00 00 00 00 12 [13:05:32]Write i2c OK [13:05:32]MH_I2C_Read... [13:05:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:32]Read from MH i2c: E2 [13:05:32]MH_I2C_Read... [13:05:32]Read from MH i2c: E2 0E 00 [13:05:32]MH_I2C_Read... [13:05:32]Read from MH i2c: E2 0E 00 95 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1D [13:05:32]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:05:32]wFMCommunicate OK [13:05:32]SAM_PROTO_GetShiftState done [13:05:32]FM_GetShiftState done [13:05:32]process_action_free close_receipt [13:05:32]json_value_free [13:05:32]json_value_free done [13:05:32]process_json_proto returns [13:05:32]Send response to host [13:05:32]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [13:05:32]free response buf [13:05:32]execute_script done [13:05:32]execute_script returns [13:05:32]free content buf [13:05:32]Sock 8.Close socket [13:05:32]Sock 8.Thread stoped [13:05:33]OFD Sender: No OFD packet to send [13:05:36]accept exits with 9 [13:05:36]New connection [13:05:36]New thread 3066903908 created [13:05:36]Thread 3067047268 joined [13:05:36]Waiting for new connection... [13:05:36] Sock 9.Parse request [13:05:36]Sock 9.Check first char [13:05:36]Sock 9.First char is OK [13:05:36]request: POST /json_proto HTTP/1.1 [13:05:36]Method: POST [13:05:36]URL: /json_proto [13:05:36]Method is POST - this is cgi request [13:05:36]url: /json_proto [13:05:36]query_string will be loaded in cgi processing [13:05:36]execute_cgi json_proto POST (null) [13:05:36]execute_cgi path=json_proto method=POST [13:05:36]POST find Content-Length [13:05:36]Host: 192.168.0.101:8080 [13:05:36]Connection: keep-alive [13:05:36]Content-Length: 451 [13:05:36]Accept: application/json, text/plain, */* [13:05:36]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:05:36]Content-Type: application/json [13:05:36]Origin: http://192.168.0.101:8080 [13:05:36]Referer: http://192.168.0.101:8080/testengine [13:05:36]Accept-Encoding: gzip, deflate [13:05:36]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:05:36] [13:05:36]POST finish read [13:05:36]Found Content-Length = 451 [13:05:36]post body = {"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"\"Trend Oil\"","type":"sale","tax_sys":0,"items":[],"total":0,"deposit":0,"payments":[{"type":0,"sum":0},{"type":1,"sum":0}]}}} [13:05:36]execute_script... [13:05:36]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"\"Trend Oil\"","type":"sale","tax_sys":0,"items":[],"total":0,"deposit":0,"payments":[{"type":0,"sum":0},{"type":1,"sum":0}]}}} [13:05:36]POST & json_proto [13:05:36]process_json_proto [13:05:36]json parsed OK: [13:05:36]protocol is kg_v1.0 [13:05:36]action value=close_receipt [13:05:36]process_action close_receipt [13:05:36]cmd_close_receipt [13:05:36]MH_GetDate [13:05:36]Write to MH i2c: F0 00 00 96 00 85 [13:05:36]Write i2c OK [13:05:36]MH_I2C_Read... [13:05:36]Read from MH i2c: F0 [13:05:36]MH_I2C_Read... [13:05:36]Read from MH i2c: F0 09 00 [13:05:36]MH_I2C_Read... [13:05:36]Read from MH i2c: F0 09 00 96 00 00 A1 B4 1E 65 47 AC 1E 65 DC [13:05:36]GetLastDocTimeStamp 1696510249 [13:05:36]current date 1696511137 [13:05:36]FM_GetShiftState [13:05:36]SAM_PROTO_GetShiftState [13:05:36]wFMCommunicate request_size=4 [13:05:36]MH_SAM_APDU [13:05:36]CAPDU: 80 13 01 00 [13:05:36]Write to MH i2c: E2 08 00 97 00 80 13 01 00 00 00 00 00 14 [13:05:36]Write i2c OK [13:05:36]MH_I2C_Read... [13:05:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:36]Read from MH i2c: E2 [13:05:36]MH_I2C_Read... [13:05:36]Read from MH i2c: E2 0E 00 [13:05:36]MH_I2C_Read... [13:05:36]Read from MH i2c: E2 0E 00 97 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1F [13:05:36]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:05:36]wFMCommunicate OK [13:05:36]SAM_PROTO_GetShiftState done [13:05:36]FM_GetShiftState done [13:05:36]process_action_free close_receipt [13:05:36]json_value_free [13:05:36]json_value_free done [13:05:36]process_json_proto returns [13:05:36]Send response to host [13:05:36]{"protocol":"kg_v1.0","response":{"error":1041,"error_desc":"Shift is closed"}} [13:05:36]free response buf [13:05:36]execute_script done [13:05:36]execute_script returns [13:05:36]free content buf [13:05:36]Sock 9.Close socket [13:05:36]Sock 9.Thread stoped [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:01]accept exits with 8 [13:06:01]New connection [13:06:01]New thread 3067047268 created [13:06:01]Thread 3066903908 joined [13:06:01]Waiting for new connection... [13:06:01] Sock 8.Parse request [13:06:01]Sock 8.Check first char [13:06:01]Sock 8.First char is OK [13:06:01]request: POST /json_proto HTTP/1.1 [13:06:01]Method: POST [13:06:01]URL: /json_proto [13:06:01]Method is POST - this is cgi request [13:06:01]url: /json_proto [13:06:01]query_string will be loaded in cgi processing [13:06:01]execute_cgi json_proto POST (null) [13:06:01]execute_cgi path=json_proto method=POST [13:06:01]POST find Content-Length [13:06:01]Host: 192.168.0.101:8080 [13:06:01]Connection: keep-alive [13:06:01]Content-Length: 352 [13:06:01]Accept: application/json, text/plain, */* [13:06:01]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:06:01]Content-Type: application/json [13:06:01]Origin: http://192.168.0.101:8080 [13:06:01]Referer: http://192.168.0.101:8080/testengine [13:06:01]Accept-Encoding: gzip, deflate [13:06:01]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:06:01] [13:06:01]POST finish read [13:06:01]Found Content-Length = 352 [13:06:01]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":"Сергей Смирнов"}}} [13:06:01]execute_script... [13:06:01]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":"Сергей Смирнов"}}} [13:06:01]POST & json_proto [13:06:01]process_json_proto [13:06:01]json parsed OK: [13:06:01]protocol is kg_v1.0 [13:06:01]action value=open_shift [13:06:01]process_action open_shift [13:06:01]cmd_open_shift [13:06:01]MH_GetDate [13:06:01]Write to MH i2c: F0 00 00 98 00 87 [13:06:01]Write i2c OK [13:06:01]MH_I2C_Read... [13:06:01]Read from MH i2c: F0 [13:06:01]MH_I2C_Read... [13:06:01]Read from MH i2c: F0 09 00 [13:06:01]MH_I2C_Read... [13:06:01]Read from MH i2c: F0 09 00 98 00 00 BA B4 1E 65 47 AC 1E 65 F7 [13:06:01]GetLastDocTimeStamp 1696510249 [13:06:01]current date 1696511162 [13:06:01]FM_GetShiftState [13:06:01]SAM_PROTO_GetShiftState [13:06:01]wFMCommunicate request_size=4 [13:06:01]MH_SAM_APDU [13:06:01]CAPDU: 80 13 01 00 [13:06:01]Write to MH i2c: E2 08 00 99 00 80 13 01 00 00 00 00 00 16 [13:06:01]Write i2c OK [13:06:01]MH_I2C_Read... [13:06:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:06:01]Read from MH i2c: E2 [13:06:01]MH_I2C_Read... [13:06:01]Read from MH i2c: E2 0E 00 [13:06:01]MH_I2C_Read... [13:06:01]Read from MH i2c: E2 0E 00 99 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 21 [13:06:01]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:06:01]wFMCommunicate OK [13:06:01]SAM_PROTO_GetShiftState done [13:06:01]FM_GetShiftState done [13:06:01]KKMCreateOpenShiftDocument [13:06:01]Load OK [13:06:01]Malloc new data [13:06:01]MH_GetDate [13:06:01]Write to MH i2c: F0 00 00 9A 00 89 [13:06:01]Write i2c OK [13:06:01]MH_I2C_Read... [13:06:01]Read from MH i2c: F0 [13:06:01]MH_I2C_Read... [13:06:01]Read from MH i2c: F0 09 00 [13:06:01]MH_I2C_Read... [13:06:01]Read from MH i2c: F0 09 00 9A 00 00 BA B4 1E 65 47 AC 1E 65 F9 [13:06:01]Malloc new data [13:06:01]KKMCreateOpenShiftDocument OK [13:06:01]KKMSetOpenShiftData OK [13:06:01]ProcessDocumentItem done err = 0, tmpTLVsize=203 [13:06:01]tlvbuf is B6ED88C0 [13:06:01]KKMLoadAndSignOpenShiftData [13:06:01]SAM_PROTO_ProcessDocument [13:06:01]wFMCommunicate request_size=9 [13:06:01]MH_SAM_APDU [13:06:01]CAPDU: 80 15 01 00 04 02 00 CB 00 [13:06:01]Write to MH i2c: E2 0C 00 9B 00 80 15 01 00 04 00 02 00 CB 00 00 00 EF [13:06:01]Write i2c OK [13:06:01]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 9B 00 00 90 00 0F [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]wFMCommunicate request_size=23 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 [13:06:02]Write to MH i2c: E2 1A 00 9C 00 80 15 02 00 12 00 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 00 00 08 [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 9C 00 00 90 00 10 [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]wFMCommunicate request_size=36 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 [13:06:02]Write to MH i2c: E2 27 00 9D 00 80 15 02 00 1F 00 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 00 00 E1 [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 9D 00 00 90 00 11 [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]wFMCommunicate request_size=45 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 15 02 00 28 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD [13:06:02]Write to MH i2c: E2 30 00 9E 00 80 15 02 00 28 00 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 00 00 C7 [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 9E 00 00 90 00 12 [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]wFMCommunicate request_size=91 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 15 02 00 56 A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 [13:06:02]Write to MH i2c: E2 5E 00 9F 00 80 15 02 00 56 00 A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 00 00 1A [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 9F 00 00 90 00 13 [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]wFMCommunicate request_size=13 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 15 02 00 08 F4 03 04 00 BA B4 1E 65 [13:06:02]Write to MH i2c: E2 10 00 A0 00 80 15 02 00 08 00 F4 03 04 00 BA B4 1E 65 00 00 1C [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 A0 00 00 90 00 14 [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]wFMCommunicate request_size=25 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 [13:06:02]Write to MH i2c: E2 1C 00 A1 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 00 00 7D [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 A1 00 00 90 00 15 [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]wFMCommunicate request_size=4 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 15 03 00 [13:06:02]Write to MH i2c: E2 08 00 A2 00 80 15 03 00 00 00 00 00 23 [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 38 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 38 00 A2 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 35 36 32 37 10 04 04 00 02 00 00 00 0E 04 04 00 01 00 00 00 35 04 06 00 3F EB EB 8E 1E 65 90 00 1B [13:06:02]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 02 00 00 00 0E 04 04 00 01 00 00 00 35 04 06 00 3F EB EB 8E 1E 65 90 00 [13:06:02]wFMCommunicate OK [13:06:02]SAM_PROTO_ProcessDocument answer len = 51 [13:06:02]SAM_PROTO_ProcessDocument done [13:06:02]SetTLVBufToDocument [13:06:02]Processing tag 1209 (04B9) [13:06:02]Malloc new data [13:06:02]Processing tag 1041 (0411) [13:06:02]Processing tag 1040 (0410) [13:06:02]Malloc new data [13:06:02]Processing tag 1038 (040E) [13:06:02]Malloc new data [13:06:02]Processing tag 1077 (0435) [13:06:02]Malloc new data [13:06:02]SetTLVBufToDocument err=0 [13:06:02]KKMLoadAndSignOpenShiftData store KKM data [13:06:02]KKMLoadAndSignOpenShiftData err=0 [13:06:02] ОсОО Тренд Ойл Добро пожаловать Отчет об открытии смены ФФД: 1.0 ИНН: 02004201810074 Кассир: Сергей Смирнов Адрес: Жети-Огузский район Место: с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846 05.10.2023 13:06 Смена: 1 РНМ: 0000000000108361 ЗНМ: 0300000176 ОсОО "Тренд Ойл" *** СПАСИБО *** ФД: 2 ФМ: 0000000000965627 ФПД: 70282501824101 *** ЖДЕМ ВАС ОПЯТЬ *** [13:06:02]StoreToDocumentArchive [13:06:02]shift 1 fd 2 [13:06:02]Create dir for shift 0001 [13:06:02]save to /storage/0001/doc_00000002 [13:06:02]save last doc name /storage/0001/doc_00000002 to /storage/kkm_last_doc_name [13:06:02]save OK [13:06:02]Clear old archive folders... [13:06:02]ProcessDocumentItem done err = 0, tmpTLVsize=254 [13:06:02]tlvbuf is 01D77C00 [13:06:02]SAM_PROTO_ClearQueue [13:06:02]wFMCommunicate request_size=4 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 09 00 00 [13:06:02]Write to MH i2c: E2 08 00 A3 00 80 09 00 00 00 00 00 00 15 [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 A3 00 00 90 00 17 [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]SAM_PROTO_ClearQueue done [13:06:02]KKMCreateOFDPacket [13:06:02]OFDProtocolAddRootSTLVToBuf [13:06:02]FM_MakeSignedData [13:06:02]FM_MakeSignedData [13:06:02]SAM_PROTO_SignData [13:06:02]wFMCommunicate request_size=4 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 0D 01 02 [13:06:02]Write to MH i2c: E2 08 00 A4 00 80 0D 01 02 00 00 00 00 1D [13:06:02]Write i2c OK [13:06:02]MH_I2C_Read... [13:06:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:06:02]Read from MH i2c: E2 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 [13:06:02]MH_I2C_Read... [13:06:02]Read from MH i2c: E2 03 00 A4 00 00 90 00 18 [13:06:02]RAPDU: 90 00 [13:06:02]wFMCommunicate OK [13:06:02]wFMCommunicate request_size=255 [13:06:02]MH_SAM_APDU [13:06:02]CAPDU: 80 0D 02 02 FA 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 F4 03 04 00 BA B4 1E 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 35 04 [13:06:03]Write to MH i2c: E2 02 01 A5 00 80 0D 02 02 FA 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 F4 03 04 00 BA B4 1E 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 35 04 00 00 9B [13:06:03]Write i2c OK [13:06:03]MH_I2C_Read... [13:06:03]OFD Sender: No OFD packet to send [13:06:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:06:03]Read from MH i2c: E2 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: E2 03 00 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: E2 03 00 A5 00 00 90 00 19 [13:06:03]RAPDU: 90 00 [13:06:03]wFMCommunicate OK [13:06:03]wFMCommunicate request_size=13 [13:06:03]MH_SAM_APDU [13:06:03]CAPDU: 80 0D 02 02 08 06 00 3F EB EB 8E 1E 65 [13:06:03]Write to MH i2c: E2 10 00 A6 00 80 0D 02 02 08 00 06 00 3F EB EB 8E 1E 65 00 00 5C [13:06:03]Write i2c OK [13:06:03]MH_I2C_Read... [13:06:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:06:03]Read from MH i2c: E2 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: E2 03 00 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: E2 03 00 A6 00 00 90 00 1A [13:06:03]RAPDU: 90 00 [13:06:03]wFMCommunicate OK [13:06:03]wFMCommunicate request_size=4 [13:06:03]MH_SAM_APDU [13:06:03]CAPDU: 80 0D 03 02 [13:06:03]Write to MH i2c: E2 08 00 A7 00 80 0D 03 02 00 00 00 00 22 [13:06:03]Write i2c OK [13:06:03]MH_I2C_Read... [13:06:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:06:03]Read from MH i2c: E2 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: E2 0B 00 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: E2 0B 00 A7 00 00 E3 CF 63 7D 0F D2 4B 3C 90 00 1D [13:06:03]RAPDU: E3 CF 63 7D 0F D2 4B 3C 90 00 [13:06:03]wFMCommunicate OK [13:06:03]SAM_PROTO_SignData done [13:06:03]FM_MakeSignedData done [13:06:03]CreateOFDProtocolMessage [13:06:03]wFMCommunicate request_size=4 [13:06:03]MH_SAM_APDU [13:06:03]CAPDU: 80 11 00 00 [13:06:03]Write to MH i2c: E2 08 00 A8 00 80 11 00 00 00 00 00 00 22 [13:06:03]Write i2c OK [13:06:03]MH_I2C_Read... [13:06:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:06:03]Read from MH i2c: E2 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: E2 17 00 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: E2 17 00 A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 78 [13:06:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [13:06:03]wFMCommunicate OK [13:06:03]CreateOFDProtocolMessage done [13:06:03]OFDSenderStorePacket 2 [13:06:03]StoreOFDPacket docnum=2 [13:06:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 12 01 00 00 10 19 0A 01 95 2F 5A 02 01 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 F4 03 04 00 BA B4 1E 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 35 04 06 00 3F EB EB 8E 1E 65 E3 CF 63 7D 0F D2 4B 3C [13:06:03]CheckFolder [13:06:03]dirname=/storage/ofd_packets [13:06:03]CheckFolder done [13:06:03]ProducePacketName [13:06:03]name=ofd_packets/00000002 [13:06:03]NVStorageSaveData ofd_packets/00000002 [13:06:03]File name is /storage/ofd_packets/00000002 [13:06:03]Write 304 bytes [13:06:03]NVStorageSaveData done [13:06:03]OFDSenderStorePacket done [13:06:03]KKMCreateOFDPacket done [13:06:03]NVStorageSaveData kkm_last_timestamp [13:06:03]File name is /storage/kkm_last_timestamp [13:06:03]Write 4 bytes [13:06:03]NVStorageSaveData done [13:06:03]ExternCall_PrintAddStr [13:06:03]wPrintStart [13:06:03]Write to MH i2c: 01 00 00 A9 00 A9 [13:06:03]Write i2c OK [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: 01 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: 01 07 00 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: 01 07 00 A9 00 00 00 00 00 00 FF 0F BE [13:06:03]RasterBufferAndPrint [13:06:03]line ОсОО Тренд Ойл [13:06:03]line Добро пожаловать [13:06:03]line Отчет об открытии смены [13:06:03]line ФФД: 1.0 [13:06:03]line ИНН: 02004201810074 [13:06:03]line Кассир: Сергей Смирнов [13:06:03]line Адрес: Жети-Огузский район [13:06:03]line Место: с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846 [13:06:03]line 05.10.2023 13:06 [13:06:03]line Смена: 1 [13:06:03]line РНМ: 0000000000108361 [13:06:03]line ЗНМ: 0300000176 [13:06:03]line ОсОО "Тренд Ойл" [13:06:03]line *** СПАСИБО *** [13:06:03]line ФД: 2 [13:06:03]line ФМ: 0000000000965627 [13:06:03]line ФПД: 70282501824101 [13:06:03]line *** ЖДЕМ ВАС ОПЯТЬ *** [13:06:03]written 0, free lines is 4095 [13:06:03]OFD Sender: Processing packet 2 [packets to send 1, broken 0] [13:06:03]ProducePacketName [13:06:03]name=ofd_packets/00000002 [13:06:03]OFD Sender: To server: pG, [13:06:03]CommunicateWithHost lk.salyk.kg:30040 [13:06:03]ConnectInit lk.salyk.kg [13:06:03]Connected sock=10 [13:06:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 12 01 00 00 10 19 0A 01 95 2F 5A 02 01 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 F1 03 24 00 D0 96 D0 B5 D1 82 D0 B8 2D D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD A3 04 52 00 D1 81 2E 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 33 34 37 38 30 36 35 2C 37 38 2E 30 31 35 32 38 34 36 F4 03 04 00 BA B4 1E 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 35 04 06 00 3F EB EB 8E 1E 65 E3 CF 63 7D 0F D2 4B 3C [13:06:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 4F 00 00 00 39 DE 47 00 6E 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 36 32 37 10 04 04 00 02 00 00 00 F4 03 04 00 5C 60 1E 65 B6 04 01 00 00 52 A4 26 97 0C B7 D9 6B [13:06:03]CommunicateWithHost err = 0 [13:06:03]CheckOFDResponse [13:06:03]1017 (14) - 77093643461234 [13:06:03]1041 (16) - 0000000000965627 [13:06:03]1040 (4) - 2 [13:06:03]1012 (4) - 05.10.2023 07:06 [13:06:03]1206 (1) - 0 [13:06:03]OFD Sender: Remove packet 2 [13:06:03]ProducePacketName [13:06:03]name=ofd_packets/00000002 [13:06:03]NVStorageDeleteData [13:06:03]Write to MH i2c: 01 00 00 BF 00 BF [13:06:03]Write i2c OK [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: 01 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: 01 07 00 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: 01 07 00 BF 00 00 00 00 00 00 29 0E FD [13:06:03]RasterBufferAndPrint [13:06:03]line [13:06:03]line [13:06:03]line [13:06:03]line [13:06:03]line [13:06:03]written 0, free lines is 3632 [13:06:03]MH_Cut [13:06:03]Write to MH i2c: D1 01 00 C6 00 01 98 [13:06:03]Write i2c OK [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: D1 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: D1 01 00 [13:06:03]MH_I2C_Read... [13:06:03]Read from MH i2c: D1 01 00 C6 00 00 97 [13:06:03]Write to MH i2c: 01 00 00 C7 00 C7 [13:06:03]Write i2c OK [13:06:03]MH_I2C_Read... [13:06:04]OFD Sender: No OFD packet to send [13:06:04]*** Cut start [13:06:04]*** Partial cut [13:06:04]*** CUTSNS_PIN = 1 [13:06:04]*** CUTSNS_PIN = 0 [13:06:04]*** Brake cut motor [13:06:04]Read from MH i2c: 01 [13:06:04]MH_I2C_Read... [13:06:04]*** Stop cut motor [13:06:04]*** Cut end [13:06:04]Read from MH i2c: 01 07 00 [13:06:04]MH_I2C_Read... [13:06:04]Read from MH i2c: 01 07 00 C7 00 00 00 00 00 00 FF 0F DC [13:06:04]process_action open_shift done [13:06:04]no requested_data - finishing processing [13:06:04]process_action_free open_shift [13:06:04]json_value_free [13:06:04]json_value_free done [13:06:04]process_json_proto returns [13:06:04]Send response to host [13:06:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [13:06:04]free response buf [13:06:04]execute_script done [13:06:04]execute_script returns [13:06:04]free content buf [13:06:04]Sock 8.Close socket [13:06:04]Sock 8.Thread stoped [13:06:09]OFD Sender: No OFD packet to send [13:06:14]OFD Sender: No OFD packet to send [13:06:19]OFD Sender: No OFD packet to send [13:06:22]accept exits with 9 [13:06:22]New connection [13:06:22]New thread 3066903908 created [13:06:22]Thread 3067047268 joined [13:06:22]Waiting for new connection... [13:06:22] Sock 9.Parse request [13:06:22]Sock 9.Check first char [13:06:22]Sock 9.First char is OK [13:06:22]request: POST /json_proto HTTP/1.1 [13:06:22]Method: POST [13:06:22]URL: /json_proto [13:06:22]Method is POST - this is cgi request [13:06:22]url: /json_proto [13:06:22]query_string will be loaded in cgi processing [13:06:22]execute_cgi json_proto POST (null) [13:06:22]execute_cgi path=json_proto method=POST [13:06:22]POST find Content-Length [13:06:22]Host: 192.168.0.101:8080 [13:06:22]Connection: keep-alive [13:06:22]Content-Length: 136 [13:06:22]Accept: application/json, text/plain, */* [13:06:22]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:06:22]Content-Type: application/json [13:06:22]Origin: http://192.168.0.101:8080 [13:06:22]Referer: http://192.168.0.101:8080/testengine [13:06:22]Accept-Encoding: gzip, deflate [13:06:22]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:06:22] [13:06:22]POST finish read [13:06:22]Found Content-Length = 136 [13:06:22]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"Сергей Смирнов","type":"sale","tax_sys":0}}} [13:06:22]execute_script... [13:06:22]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"Сергей Смирнов","type":"sale","tax_sys":0}}} [13:06:22]POST & json_proto [13:06:22]process_json_proto [13:06:22]json parsed OK: [13:06:22]protocol is kg_v1.0 [13:06:22]action value=open_receipt [13:06:22]process_action open_receipt [13:06:22]cmd_open_receipt [13:06:22]MH_GetDate [13:06:22]Write to MH i2c: F0 00 00 C8 00 B7 [13:06:22]Write i2c OK [13:06:22]MH_I2C_Read... [13:06:22]Read from MH i2c: F0 [13:06:22]MH_I2C_Read... [13:06:22]Read from MH i2c: F0 09 00 [13:06:22]MH_I2C_Read... [13:06:22]Read from MH i2c: F0 09 00 C8 00 00 CE B4 1E 65 47 AC 1E 65 3B [13:06:22]GetLastDocTimeStamp 1696511162 [13:06:22]current date 1696511182 [13:06:22]FM_GetShiftState [13:06:22]SAM_PROTO_GetShiftState [13:06:22]wFMCommunicate request_size=4 [13:06:22]MH_SAM_APDU [13:06:22]CAPDU: 80 13 01 00 [13:06:22]Write to MH i2c: E2 08 00 C9 00 80 13 01 00 00 00 00 00 46 [13:06:22]Write i2c OK [13:06:22]MH_I2C_Read... [13:06:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:06:22]Read from MH i2c: E2 [13:06:22]MH_I2C_Read... [13:06:22]Read from MH i2c: E2 0E 00 [13:06:22]MH_I2C_Read... [13:06:22]Read from MH i2c: E2 0E 00 C9 00 00 09 00 01 BA B4 1E 65 00 00 00 00 90 00 43 [13:06:22]RAPDU: 09 00 01 BA B4 1E 65 00 00 00 00 90 00 [13:06:22]wFMCommunicate OK [13:06:22]SAM_PROTO_GetShiftState done [13:06:22]FM_GetShiftState done [13:06:22]opened in 1696511162 [13:06:22]opened+sec_in_day 1696597562 [13:06:22]KKMCreateReceiptDocument [13:06:22]Load OK [13:06:22]Malloc new data [13:06:22]MH_GetDate [13:06:22]Write to MH i2c: F0 00 00 CA 00 B9 [13:06:22]Write i2c OK [13:06:22]MH_I2C_Read... [13:06:22]Read from MH i2c: F0 [13:06:22]MH_I2C_Read... [13:06:22]Read from MH i2c: F0 09 00 [13:06:22]MH_I2C_Read... [13:06:22]Read from MH i2c: F0 09 00 CA 00 00 CE B4 1E 65 47 AC 1E 65 3D [13:06:22]Malloc new data [13:06:22]Malloc new data [13:06:22]Malloc new data [13:06:22]Malloc new data [13:06:22]KKMCreateReceiptDocument OK [13:06:22]Malloc new data [13:06:22]Malloc new data [13:06:22]KKMSetReceiptData OK [13:06:22]process_action open_receipt done [13:06:22]no requested_data - finishing processing [13:06:22]process_action_free open_receipt [13:06:22]json_value_free [13:06:22]json_value_free done [13:06:22]process_json_proto returns [13:06:22]Send response to host [13:06:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [13:06:22]free response buf [13:06:22]execute_script done [13:06:22]execute_script returns [13:06:22]free content buf [13:06:22]Sock 9.Close socket [13:06:22]Sock 9.Thread stoped [13:06:23]accept exits with 8 [13:06:23]New connection [13:06:23]New thread 3067047268 created [13:06:23]Thread 3066903908 joined [13:06:23]Waiting for new connection... [13:06:23] Sock 8.Parse request [13:06:23]Sock 8.Check first char [13:06:23]Sock 8.First char is OK [13:06:23]request: POST /json_proto HTTP/1.1 [13:06:23]Method: POST [13:06:23]URL: /json_proto [13:06:23]Method is POST - this is cgi request [13:06:23]url: /json_proto [13:06:23]query_string will be loaded in cgi processing [13:06:23]execute_cgi json_proto POST (null) [13:06:23]execute_cgi path=json_proto method=POST [13:06:23]POST find Content-Length [13:06:23]Host: 192.168.0.101:8080 [13:06:23]Connection: keep-alive [13:06:23]Content-Length: 227 [13:06:23]Accept: application/json, text/plain, */* [13:06:23]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:06:23]Content-Type: application/json [13:06:23]Origin: http://192.168.0.101:8080 [13:06:23]Referer: http://192.168.0.101:8080/testengine [13:06:23]Accept-Encoding: gzip, deflate [13:06:23]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:06:23] [13:06:23]POST finish read [13:06:23]Found Content-Length = 227 [13:06:23]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}]}]}}} [13:06:23]execute_script... [13:06:23]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}]}]}}} [13:06:23]POST & json_proto [13:06:23]process_json_proto [13:06:23]json parsed OK: [13:06:23]protocol is kg_v1.0 [13:06:23]action value=add_receipt [13:06:23]process_action add_receipt [13:06:23]cmd_open_receipt [13:06:23]MH_GetDate [13:06:23]Write to MH i2c: F0 00 00 CB 00 BA [13:06:23]Write i2c OK [13:06:23]MH_I2C_Read... [13:06:23]Read from MH i2c: F0 [13:06:23]MH_I2C_Read... [13:06:23]Read from MH i2c: F0 09 00 [13:06:23]MH_I2C_Read... [13:06:23]Read from MH i2c: F0 09 00 CB 00 00 CF B4 1E 65 47 AC 1E 65 3F [13:06:23]GetLastDocTimeStamp 1696511162 [13:06:23]current date 1696511183 [13:06:23]FM_GetShiftState [13:06:23]SAM_PROTO_GetShiftState [13:06:23]wFMCommunicate request_size=4 [13:06:23]MH_SAM_APDU [13:06:23]CAPDU: 80 13 01 00 [13:06:23]Write to MH i2c: E2 08 00 CC 00 80 13 01 00 00 00 00 00 49 [13:06:23]Write i2c OK [13:06:23]MH_I2C_Read... [13:06:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:06:23]Read from MH i2c: E2 [13:06:23]MH_I2C_Read... [13:06:23]Read from MH i2c: E2 0E 00 [13:06:23]MH_I2C_Read... [13:06:23]Read from MH i2c: E2 0E 00 CC 00 00 09 00 01 BA B4 1E 65 00 00 00 00 90 00 46 [13:06:23]RAPDU: 09 00 01 BA B4 1E 65 00 00 00 00 90 00 [13:06:23]wFMCommunicate OK [13:06:23]SAM_PROTO_GetShiftState done [13:06:23]FM_GetShiftState done [13:06:23]opened in 1696511162 [13:06:23]opened+sec_in_day 1696597562 [13:06:23]quantity*price = 100 [13:06:23]sum+1 = 101 [13:06:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1.00 НСП 1% : 0.01 НДС 12% : 0.11 Наличными: 1.00 Безнал.: 0.00 Место: с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846 Адрес: Жети-Огузский район СНО: Общий режим Чек 1 05.10.2023 13:06 Смена: 1 ФФД: 1.0 ЗНМ: 0300000176 РНМ: 0000000000108361 Версия ККМ: v1.0 *** СПАСИБО *** ФМ: 0000000000965627 ФД: 3 ФПД: 136038789579798 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20231005T130622&type=1&operation_type=1&fn_number=0000000000965627&fd_number=3&fm=136038789579798&tin=02004201810074®Number=0000000000108361&sum=100 *** ЖДЕМ ВАС ОПЯТЬ *** [13:06:24]StoreToDocumentArchive [13:06:24]shift 1 fd 3 [13:06:24]save to /storage/0001/doc_00000003 [13:06:24]save last doc name /storage/0001/doc_00000003 to /storage/kkm_last_doc_name [13:06:24]save OK [13:06:24]Clear old archive folders... [13:06:24]ProcessDocumentItem done err = 0, tmpTLVsize=247 [13:06:24]tlvbuf is 01D446A0 [13:06:24]SAM_PROTO_ClearQueue [13:06:24]wFMCommunicate request_size=4 [13:06:24]MH_SAM_APDU [13:06:24]CAPDU: 80 09 00 00 [13:06:24]Write to MH i2c: E2 08 00 DA 00 80 09 00 00 00 00 00 00 4C [13:06:24]Write i2c OK [13:06:24]MH_I2C_Read... [13:06:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:06:24]Read from MH i2c: E2 [13:06:24]MH_I2C_Read... [13:06:24]Read from MH i2c: E2 03 00 [13:06:24]MH_I2C_Read... [13:06:24]Read from MH i2c: E2 03 00 DA 00 00 90 00 4E [13:06:24]RAPDU: 90 00 [13:06:24]wFMCommunicate OK [13:06:24]SAM_PROTO_ClearQueue done [13:06:24]KKMCreateOFDPacket [13:06:24]OFDProtocolAddRootSTLVToBuf [13:06:24]FM_MakeSignedData [13:06:24]FM_MakeSignedData [13:06:24]SAM_PROTO_SignData [13:06:24]wFMCommunicate request_size=4 [13:06:24]MH_SAM_APDU [13:06:24]CAPDU: 80 0D 01 02 [13:06:24]Write to MH i2c: E2 08 00 DB 00 80 0D 01 02 00 00 00 00 54 [13:06:24]Write i2c OK [13:06:24]MH_I2C_Read... [13:06:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:06:24]Read from MH i2c: E2 [13:06:24]MH_I2C_Read... [13:06:24]Read from MH i2c: E2 03 00 [13:06:24]MH_I2C_Read... [13:06:24]Read from MH i2c: E2 03 00 DB 00 00 90 00 4F [13:06:24]RAPDU: 90 00 [13:06:24]wFMCommunicate OK [13:06:24]wFMCommunicate request_size=255 [13:06:24]MH_SAM_APDU [13:06:24]CAPDU: 80 0D 02 02 FA 03 00 F7 00 1E 04 01 00 01 23 04 49 00 8A 04 06 00 31 32 33 34 35 36 06 04 0C 00 D0 9C D0 BE D0 BB D0 BE D0 BA D0 BE 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 CE B4 1E 65 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 30 38 33 36 31 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 03 00 00 00 35 04 06 00 7B B9 FF BA 84 [13:06:24]Write to MH i2c: E2 02 01 DC 00 80 0D 02 02 FA 00 03 00 F7 00 1E 04 01 00 01 23 04 49 00 8A 04 06 00 31 32 33 34 35 36 06 04 0C 00 D0 9C D0 BE D0 BB D0 BE D0 BA D0 BE 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 CE B4 1E 65 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 30 38 33 36 31 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 03 00 00 00 35 04 06 00 7B B9 FF BA 84 00 00 43 [13:06:25]Write i2c OK [13:06:25]MH_I2C_Read... [13:06:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:06:25]Read from MH i2c: E2 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: E2 03 00 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: E2 03 00 DC 00 00 90 00 50 [13:06:25]RAPDU: 90 00 [13:06:25]wFMCommunicate OK [13:06:25]wFMCommunicate request_size=6 [13:06:25]MH_SAM_APDU [13:06:25]CAPDU: 80 0D 02 02 01 16 [13:06:25]Write to MH i2c: E2 09 00 DD 00 80 0D 02 02 01 00 16 00 00 6F [13:06:25]Write i2c OK [13:06:25]MH_I2C_Read... [13:06:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:06:25]Read from MH i2c: E2 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: E2 03 00 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: E2 03 00 DD 00 00 90 00 51 [13:06:25]RAPDU: 90 00 [13:06:25]wFMCommunicate OK [13:06:25]wFMCommunicate request_size=4 [13:06:25]MH_SAM_APDU [13:06:25]CAPDU: 80 0D 03 02 [13:06:25]Write to MH i2c: E2 08 00 DE 00 80 0D 03 02 00 00 00 00 59 [13:06:25]Write i2c OK [13:06:25]MH_I2C_Read... [13:06:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:06:25]Read from MH i2c: E2 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: E2 0B 00 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: E2 0B 00 DE 00 00 D2 56 44 73 07 02 03 FD 90 00 42 [13:06:25]RAPDU: D2 56 44 73 07 02 03 FD 90 00 [13:06:25]wFMCommunicate OK [13:06:25]SAM_PROTO_SignData done [13:06:25]FM_MakeSignedData done [13:06:25]CreateOFDProtocolMessage [13:06:25]wFMCommunicate request_size=4 [13:06:25]MH_SAM_APDU [13:06:25]CAPDU: 80 11 00 00 [13:06:25]Write to MH i2c: E2 08 00 DF 00 80 11 00 00 00 00 00 00 59 [13:06:25]Write i2c OK [13:06:25]MH_I2C_Read... [13:06:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:06:25]Read from MH i2c: E2 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: E2 17 00 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: E2 17 00 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 AF [13:06:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [13:06:25]wFMCommunicate OK [13:06:25]CreateOFDProtocolMessage done [13:06:25]OFDSenderStorePacket 3 [13:06:25]StoreOFDPacket docnum=3 [13:06:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 0B 01 00 00 CD F6 03 01 B0 C4 5A 03 01 00 03 00 F7 00 1E 04 01 00 01 23 04 49 00 8A 04 06 00 31 32 33 34 35 36 06 04 0C 00 D0 9C D0 BE D0 BB D0 BE D0 BA D0 BE 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 CE B4 1E 65 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 30 38 33 36 31 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 03 00 00 00 35 04 06 00 7B B9 FF BA 84 16 D2 56 44 73 07 02 03 FD [13:06:25]CheckFolder [13:06:25]dirname=/storage/ofd_packets [13:06:25]CheckFolder done [13:06:25]ProducePacketName [13:06:25]name=ofd_packets/00000003 [13:06:25]NVStorageSaveData ofd_packets/00000003 [13:06:25]File name is /storage/ofd_packets/00000003 [13:06:25]Write 297 bytes [13:06:25]NVStorageSaveData done [13:06:25]OFDSenderStorePacket done [13:06:25]KKMCreateOFDPacket done [13:06:25]NVStorageSaveData kkm_last_timestamp [13:06:25]File name is /storage/kkm_last_timestamp [13:06:25]Write 4 bytes [13:06:25]NVStorageSaveData done [13:06:25]ExternCall_PrintAddStr [13:06:25]wPrintStart [13:06:25]Write to MH i2c: 01 00 00 E0 00 E0 [13:06:25]Write i2c OK [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: 01 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: 01 07 00 [13:06:25]MH_I2C_Read... [13:06:25]Read from MH i2c: 01 07 00 E0 00 00 00 00 00 00 FF 0F F5 [13:06:25]RasterBufferAndPrint [13:06:25]line ОсОО Тренд Ойл [13:06:25]line Добро пожаловать [13:06:25]line ИНН: 02004201810074 [13:06:25]line Контрольно-Кассовый Чек [13:06:25]line ПРОДАЖА [13:06:25]line ОсОО "Тренд Ойл" [13:06:25]line Товар: 123456 [13:06:25]line Молоко [13:06:25]line 1.000 шт. * 1.00 [13:06:25]line = 1.00 [13:06:25]line НДС 12% НСП 1% [13:06:25]line > о реализуемом товаре [13:06:25]line ИТОГО: 1.00 [13:06:25]line НСП 1% : 0.01 [13:06:25]line НДС 12% : 0.11 [13:06:25]line Наличными: 1.00 [13:06:25]line Безнал.: 0.00 [13:06:25]line Место: с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846 [13:06:25]line Адрес: Жети-Огузский район [13:06:25]line СНО: Общий режим [13:06:25]line Чек 1 05.10.2023 13:06 [13:06:25]line Смена: 1 ФФД: 1.0 [13:06:25]line ЗНМ: 0300000176 [13:06:25]line РНМ: 0000000000108361 [13:06:25]line Версия ККМ: v1.0 [13:06:25]line *** СПАСИБО *** [13:06:25]line ФМ: 0000000000965627 [13:06:25]line ФД: 3 [13:06:25]line ФПД: 136038789579798 [13:06:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20231005T130622&type=1&operation_type=1&fn_number=0000000000965627&fd_number=3&fm=136038789579798&tin=02004201810074®Number=0000000000108361&sum=100 [13:06:25]OFD Sender: Processing packet 3 [packets to send 1, broken 0] [13:06:25]ProducePacketName [13:06:25]name=ofd_packets/00000003 [13:06:25]OFD Sender: To server: pG, [13:06:25]CommunicateWithHost lk.salyk.kg:30040 [13:06:25]ConnectInit lk.salyk.kg [13:06:25]line *** ЖДЕМ ВАС ОПЯТЬ *** [13:06:25]written 0, free lines is 4095 [13:06:26]Connected sock=10 [13:06:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 0B 01 00 00 CD F6 03 01 B0 C4 5A 03 01 00 03 00 F7 00 1E 04 01 00 01 23 04 49 00 8A 04 06 00 31 32 33 34 35 36 06 04 0C 00 D0 9C D0 BE D0 BB D0 BE D0 BA D0 BE 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 CE B4 1E 65 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 30 38 33 36 31 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 03 00 00 00 35 04 06 00 7B B9 FF BA 84 16 D2 56 44 73 07 02 03 FD [13:06:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 4F 00 00 00 A6 D4 47 00 30 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 36 32 37 10 04 04 00 03 00 00 00 F4 03 04 00 73 60 1E 65 B6 04 01 00 00 7C 7A C8 B9 18 D9 8C 50 [13:06:26]CommunicateWithHost err = 0 [13:06:26]CheckOFDResponse [13:06:26]1017 (14) - 77093643461234 [13:06:26]1041 (16) - 0000000000965627 [13:06:26]1040 (4) - 3 [13:06:26]1012 (4) - 05.10.2023 07:06 [13:06:26]1206 (1) - 0 [13:06:26]OFD Sender: Remove packet 3 [13:06:26]ProducePacketName [13:06:26]name=ofd_packets/00000003 [13:06:26]NVStorageDeleteData [13:06:26]Write to MH i2c: 01 00 00 0A 01 0B [13:06:26]Write i2c OK [13:06:26]MH_I2C_Read... [13:06:26]Read from MH i2c: 01 [13:06:26]MH_I2C_Read... [13:06:26]Read from MH i2c: 01 07 00 [13:06:26]MH_I2C_Read... [13:06:26]Read from MH i2c: 01 07 00 0A 01 00 00 00 00 00 FD 0C 1B [13:06:26]RasterBufferAndPrint [13:06:26]line [13:06:26]line [13:06:26]line [13:06:26]line [13:06:26]line [13:06:26]written 0, free lines is 3331 [13:06:26]MH_Cut [13:06:26]Write to MH i2c: D1 01 00 11 01 01 E4 [13:06:26]Write i2c OK [13:06:26]MH_I2C_Read... [13:06:26]Read from MH i2c: D1 [13:06:26]MH_I2C_Read... [13:06:26]Read from MH i2c: D1 01 00 [13:06:26]MH_I2C_Read... [13:06:26]Read from MH i2c: D1 01 00 11 01 00 E3 [13:06:26]Write to MH i2c: 01 00 00 12 01 13 [13:06:26]Write i2c OK [13:06:26]MH_I2C_Read... [13:06:26]OFD Sender: No OFD packet to send [13:06:27]*** Cut start [13:06:27]*** Partial cut [13:06:27]*** CUTSNS_PIN = 1 [13:06:27]*** CUTSNS_PIN = 0 [13:06:27]*** Brake cut motor [13:06:27]Read from MH i2c: 01 [13:06:27]MH_I2C_Read... [13:06:27]*** Stop cut motor [13:06:27]*** Cut end [13:06:27]Read from MH i2c: 01 07 00 [13:06:27]MH_I2C_Read... [13:06:27]Read from MH i2c: 01 07 00 12 01 00 00 00 00 00 FF 0F 28 [13:06:27]process_action close_receipt done [13:06:27]no requested_data - finishing processing [13:06:27]process_action_free close_receipt [13:06:27]json_value_free [13:06:27]json_value_free done [13:06:27]process_json_proto returns [13:06:27]Send response to host [13:06:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [13:06:27]free response buf [13:06:27]execute_script done [13:06:27]execute_script returns [13:06:27]free content buf [13:06:27]Sock 9.Close socket [13:06:27]Sock 9.Thread stoped [13:06:31]OFD Sender: No OFD packet to send [13:06:36]OFD Sender: No OFD packet to send [13:06:41]OFD Sender: No OFD packet to send [13:06:46]OFD Sender: No OFD packet to send [13:06:51]OFD Sender: No OFD packet to send [13:06:56]OFD Sender: No OFD packet to send [13:07:01]OFD Sender: No OFD packet to send [13:07:06]OFD Sender: No OFD packet to send [13:07:11]OFD Sender: No OFD packet to send [13:07:16]OFD Sender: No OFD packet to send [13:07:21]OFD Sender: No OFD packet to send [13:07:26]OFD Sender: No OFD packet to send [13:07:31]OFD Sender: No OFD packet to send [13:07:35]accept exits with 8 [13:07:35]New connection [13:07:35]New thread 3067047268 created [13:07:35]Thread 3066903908 joined [13:07:35]Waiting for new connection... [13:07:35] Sock 8.Parse request [13:07:35]Sock 8.Check first char [13:07:35]Sock 8.First char is OK [13:07:35]request: POST /json_proto HTTP/1.1 [13:07:35]Method: POST [13:07:35]URL: /json_proto [13:07:35]Method is POST - this is cgi request [13:07:35]url: /json_proto [13:07:35]query_string will be loaded in cgi processing [13:07:35]execute_cgi json_proto POST (null) [13:07:35]execute_cgi path=json_proto method=POST [13:07:35]POST find Content-Length [13:07:35]Host: 192.168.0.101:8080 [13:07:35]Connection: keep-alive [13:07:35]Content-Length: 143 [13:07:35]Accept: application/json, text/plain, */* [13:07:35]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:07:35]Content-Type: application/json [13:07:35]Origin: http://192.168.0.101:8080 [13:07:35]Referer: http://192.168.0.101:8080/testengine [13:07:35]Accept-Encoding: gzip, deflate [13:07:35]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:07:35] [13:07:35]POST finish read [13:07:35]Found Content-Length = 143 [13:07:35]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"Сергей Смирнов","type":"sale_refund","tax_sys":0}}} [13:07:35]execute_script... [13:07:35]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"Сергей Смирнов","type":"sale_refund","tax_sys":0}}} [13:07:35]POST & json_proto [13:07:35]process_json_proto [13:07:35]json parsed OK: [13:07:35]protocol is kg_v1.0 [13:07:35]action value=open_receipt [13:07:35]process_action open_receipt [13:07:35]cmd_open_receipt [13:07:35]MH_GetDate [13:07:35]Write to MH i2c: F0 00 00 13 01 03 [13:07:35]Write i2c OK [13:07:35]MH_I2C_Read... [13:07:35]Read from MH i2c: F0 [13:07:35]MH_I2C_Read... [13:07:35]Read from MH i2c: F0 09 00 [13:07:35]MH_I2C_Read... [13:07:35]Read from MH i2c: F0 09 00 13 01 00 17 B5 1E 65 47 AC 1E 65 D1 [13:07:35]GetLastDocTimeStamp 1696511182 [13:07:35]current date 1696511255 [13:07:35]FM_GetShiftState [13:07:35]SAM_PROTO_GetShiftState [13:07:35]wFMCommunicate request_size=4 [13:07:35]MH_SAM_APDU [13:07:35]CAPDU: 80 13 01 00 [13:07:35]Write to MH i2c: E2 08 00 14 01 80 13 01 00 00 00 00 00 92 [13:07:35]Write i2c OK [13:07:35]MH_I2C_Read... [13:07:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:07:35]Read from MH i2c: E2 [13:07:35]MH_I2C_Read... [13:07:35]Read from MH i2c: E2 0E 00 [13:07:35]MH_I2C_Read... [13:07:35]Read from MH i2c: E2 0E 00 14 01 00 09 00 01 BA B4 1E 65 00 00 00 00 90 00 8F [13:07:35]RAPDU: 09 00 01 BA B4 1E 65 00 00 00 00 90 00 [13:07:35]wFMCommunicate OK [13:07:35]SAM_PROTO_GetShiftState done [13:07:35]FM_GetShiftState done [13:07:35]opened in 1696511162 [13:07:35]opened+sec_in_day 1696597562 [13:07:35]KKMCreateReceiptDocument [13:07:35]Load OK [13:07:35]Malloc new data [13:07:35]MH_GetDate [13:07:35]Write to MH i2c: F0 00 00 15 01 05 [13:07:35]Write i2c OK [13:07:35]MH_I2C_Read... [13:07:35]Read from MH i2c: F0 [13:07:35]MH_I2C_Read... [13:07:35]Read from MH i2c: F0 09 00 [13:07:35]MH_I2C_Read... [13:07:35]Read from MH i2c: F0 09 00 15 01 00 17 B5 1E 65 47 AC 1E 65 D3 [13:07:35]Malloc new data [13:07:35]Malloc new data [13:07:35]Malloc new data [13:07:35]Malloc new data [13:07:35]KKMCreateReceiptDocument OK [13:07:35]Malloc new data [13:07:35]Malloc new data [13:07:35]KKMSetReceiptData OK [13:07:35]process_action open_receipt done [13:07:35]no requested_data - finishing processing [13:07:35]process_action_free open_receipt [13:07:35]json_value_free [13:07:35]json_value_free done [13:07:35]process_json_proto returns [13:07:35]Send response to host [13:07:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [13:07:35]free response buf [13:07:35]execute_script done [13:07:35]execute_script returns [13:07:35]free content buf [13:07:35]Sock 8.Close socket [13:07:35]Sock 8.Thread stoped [13:07:36]accept exits with 9 [13:07:36]New connection [13:07:36]New thread 3066903908 created [13:07:36]Thread 3067047268 joined [13:07:36]Waiting for new connection... [13:07:36] Sock 9.Parse request [13:07:36]Sock 9.Check first char [13:07:36]Sock 9.First char is OK [13:07:36]request: POST /json_proto HTTP/1.1 [13:07:36]Method: POST [13:07:36]URL: /json_proto [13:07:36]Method is POST - this is cgi request [13:07:36]url: /json_proto [13:07:36]query_string will be loaded in cgi processing [13:07:36]execute_cgi json_proto POST (null) [13:07:36]execute_cgi path=json_proto method=POST [13:07:36]POST find Content-Length [13:07:36]Host: 192.168.0.101:8080 [13:07:36]Connection: keep-alive [13:07:36]Content-Length: 79 [13:07:36]Accept: application/json, text/plain, */* [13:07:36]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:07:36]Content-Type: application/json [13:07:36]Origin: http://192.168.0.101:8080 [13:07:36]Referer: http://192.168.0.101:8080/testengine [13:07:36]Accept-Encoding: gzip, deflate [13:07:36]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:07:36] [13:07:36]POST finish read [13:07:36]Found Content-Length = 79 [13:07:36]post body = {"protocol":"kg_v1.0","request":{"action":"add_receipt","params":{"items":[]}}} [13:07:36]execute_script... [13:07:36]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"add_receipt","params":{"items":[]}}} [13:07:36]POST & json_proto [13:07:36]process_json_proto [13:07:36]json parsed OK: [13:07:36]protocol is kg_v1.0 [13:07:36]action value=add_receipt [13:07:36]process_action add_receipt [13:07:36]cmd_open_receipt [13:07:36]MH_GetDate [13:07:36]Write to MH i2c: F0 00 00 16 01 06 [13:07:36]Write i2c OK [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: F0 [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: F0 09 00 [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: F0 09 00 16 01 00 18 B5 1E 65 47 AC 1E 65 D5 [13:07:36]GetLastDocTimeStamp 1696511182 [13:07:36]current date 1696511256 [13:07:36]FM_GetShiftState [13:07:36]SAM_PROTO_GetShiftState [13:07:36]wFMCommunicate request_size=4 [13:07:36]MH_SAM_APDU [13:07:36]CAPDU: 80 13 01 00 [13:07:36]Write to MH i2c: E2 08 00 17 01 80 13 01 00 00 00 00 00 95 [13:07:36]Write i2c OK [13:07:36]MH_I2C_Read... [13:07:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:07:36]Read from MH i2c: E2 [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: E2 0E 00 [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: E2 0E 00 17 01 00 09 00 01 BA B4 1E 65 00 00 00 00 90 00 92 [13:07:36]RAPDU: 09 00 01 BA B4 1E 65 00 00 00 00 90 00 [13:07:36]wFMCommunicate OK [13:07:36]SAM_PROTO_GetShiftState done [13:07:36]FM_GetShiftState done [13:07:36]opened in 1696511162 [13:07:36]opened+sec_in_day 1696597562 [13:07:36]KKMSetReceiptData OK [13:07:36]process_action add_receipt done [13:07:36]no requested_data - finishing processing [13:07:36]process_action_free add_receipt [13:07:36]json_value_free [13:07:36]json_value_free done [13:07:36]process_json_proto returns [13:07:36]Send response to host [13:07:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [13:07:36]free response buf [13:07:36]execute_script done [13:07:36]execute_script returns [13:07:36]free content buf [13:07:36]Sock 9.Close socket [13:07:36]Sock 9.Thread stoped [13:07:36]OFD Sender: No OFD packet to send [13:07:36]accept exits with 8 [13:07:36]New connection [13:07:36]New thread 3067047268 created [13:07:36]Thread 3066903908 joined [13:07:36]Waiting for new connection... [13:07:36] Sock 8.Parse request [13:07:36]Sock 8.Check first char [13:07:36]Sock 8.First char is OK [13:07:36]request: POST /json_proto HTTP/1.1 [13:07:36]Method: POST [13:07:36]URL: /json_proto [13:07:36]Method is POST - this is cgi request [13:07:36]url: /json_proto [13:07:36]query_string will be loaded in cgi processing [13:07:36]execute_cgi json_proto POST (null) [13:07:36]execute_cgi path=json_proto method=POST [13:07:36]POST find Content-Length [13:07:36]Host: 192.168.0.101:8080 [13:07:36]Connection: keep-alive [13:07:36]Content-Length: 513 [13:07:36]Accept: application/json, text/plain, */* [13:07:36]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:07:36]Content-Type: application/json [13:07:36]Origin: http://192.168.0.101:8080 [13:07:36]Referer: http://192.168.0.101:8080/testengine [13:07:36]Accept-Encoding: gzip, deflate [13:07:36]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:07:36] [13:07:36]POST finish read [13:07:36]Found Content-Length = 513 [13:07:36]post body = {"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов","type":"sale_refund","tax_sys":0,"items":[],"total":0,"deposit":0,"payments":[{"type":0,"sum":0},{"type":1,"sum":0}],"base_FD":3,"base_FM":"0000000000965627"}}} [13:07:36]execute_script... [13:07:36]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"close_receipt","params":{"pre_header_text":" ОсОО Тренд Ойл \n Добро пожаловать","post_header_text":"ОсОО \"Тренд Ойл\"","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"Сергей Смирнов","type":"sale_refund","tax_sys":0,"items":[],"total":0,"deposit":0,"payments":[{"type":0,"sum":0},{"type":1,"sum":0}],"base_FD":3,"base_FM":"0000000000965627"}}} [13:07:36]POST & json_proto [13:07:36]process_json_proto [13:07:36]json parsed OK: [13:07:36]protocol is kg_v1.0 [13:07:36]action value=close_receipt [13:07:36]process_action close_receipt [13:07:36]cmd_close_receipt [13:07:36]MH_GetDate [13:07:36]Write to MH i2c: F0 00 00 18 01 08 [13:07:36]Write i2c OK [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: F0 [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: F0 09 00 [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: F0 09 00 18 01 00 19 B5 1E 65 47 AC 1E 65 D8 [13:07:36]GetLastDocTimeStamp 1696511182 [13:07:36]current date 1696511257 [13:07:36]FM_GetShiftState [13:07:36]SAM_PROTO_GetShiftState [13:07:36]wFMCommunicate request_size=4 [13:07:36]MH_SAM_APDU [13:07:36]CAPDU: 80 13 01 00 [13:07:36]Write to MH i2c: E2 08 00 19 01 80 13 01 00 00 00 00 00 97 [13:07:36]Write i2c OK [13:07:36]MH_I2C_Read... [13:07:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:07:36]Read from MH i2c: E2 [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: E2 0E 00 [13:07:36]MH_I2C_Read... [13:07:36]Read from MH i2c: E2 0E 00 19 01 00 09 00 01 BA B4 1E 65 00 00 00 00 90 00 94 [13:07:36]RAPDU: 09 00 01 BA B4 1E 65 00 00 00 00 90 00 [13:07:36]wFMCommunicate OK [13:07:36]SAM_PROTO_GetShiftState done [13:07:36]FM_GetShiftState done [13:07:36]opened in 1696511162 [13:07:36]opened+sec_in_day 1696597562 [13:07:36]Malloc new data [13:07:36]Malloc new data [13:07:36]Malloc new data [13:07:36]Malloc new data [13:07:36]Malloc new data [13:07:36]KKMSetReceiptData OK [13:07:36]Malloc new data [13:07:36]Error 1010 in function ProcessDocumentItem (tag 1003) [13:07:36]ProcessDocumentItem done err = 1010, tmpTLVsize=0 [13:07:36]process_action_free close_receipt [13:07:36]json_value_free [13:07:36]json_value_free done [13:07:36]process_json_proto returns [13:07:36]Send response to host [13:07:36]{"protocol":"kg_v1.0","response":{"error":1010,"error_desc":"No data(KKMPrepareReceiptFMData)"}} [13:07:36]free response buf [13:07:36]execute_script done [13:07:36]execute_script returns [13:07:36]free content buf [13:07:36]Sock 8.Close socket [13:07:36]Sock 8.Thread stoped [13:07:41]OFD Sender: No OFD packet to send [13:07:46]OFD Sender: No OFD packet to send [13:07:51]OFD Sender: No OFD packet to send [13:07:56]OFD Sender: No OFD packet to send [13:08:01]OFD Sender: No OFD packet to send [13:08:06]OFD Sender: No OFD packet to send [13:08:11]OFD Sender: No OFD packet to send [13:08:12]accept exits with 9 [13:08:12]New connection [13:08:12]New thread 3066903908 created [13:08:12]Thread 3067047268 joined [13:08:12]Waiting for new connection... [13:08:12] Sock 9.Parse request [13:08:12]Sock 9.Check first char [13:08:12]Sock 9.First char is OK [13:08:12]request: POST /json_proto HTTP/1.1 [13:08:12]Method: POST [13:08:12]URL: /json_proto [13:08:12]Method is POST - this is cgi request [13:08:12]url: /json_proto [13:08:12]query_string will be loaded in cgi processing [13:08:12]execute_cgi json_proto POST (null) [13:08:12]execute_cgi path=json_proto method=POST [13:08:12]POST find Content-Length [13:08:12]Host: 192.168.0.101:8080 [13:08:12]Connection: keep-alive [13:08:12]Content-Length: 143 [13:08:12]Accept: application/json, text/plain, */* [13:08:12]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:08:12]Content-Type: application/json [13:08:12]Origin: http://192.168.0.101:8080 [13:08:12]Referer: http://192.168.0.101:8080/testengine [13:08:12]Accept-Encoding: gzip, deflate [13:08:12]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:08:12] [13:08:12]POST finish read [13:08:12]Found Content-Length = 143 [13:08:12]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"Сергей Смирнов","type":"sale_refund","tax_sys":0}}} [13:08:12]execute_script... [13:08:12]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"Сергей Смирнов","type":"sale_refund","tax_sys":0}}} [13:08:12]POST & json_proto [13:08:12]process_json_proto [13:08:12]json parsed OK: [13:08:12]protocol is kg_v1.0 [13:08:12]action value=open_receipt [13:08:12]process_action open_receipt [13:08:12]cmd_open_receipt [13:08:12]MH_GetDate [13:08:12]Write to MH i2c: F0 00 00 1A 01 0A [13:08:12]Write i2c OK [13:08:12]MH_I2C_Read... [13:08:12]Read from MH i2c: F0 [13:08:12]MH_I2C_Read... [13:08:12]Read from MH i2c: F0 09 00 [13:08:12]MH_I2C_Read... [13:08:12]Read from MH i2c: F0 09 00 1A 01 00 3C B5 1E 65 47 AC 1E 65 FD [13:08:12]GetLastDocTimeStamp 1696511182 [13:08:12]current date 1696511292 [13:08:12]FM_GetShiftState [13:08:12]SAM_PROTO_GetShiftState [13:08:12]wFMCommunicate request_size=4 [13:08:12]MH_SAM_APDU [13:08:12]CAPDU: 80 13 01 00 [13:08:12]Write to MH i2c: E2 08 00 1B 01 80 13 01 00 00 00 00 00 99 [13:08:12]Write i2c OK [13:08:12]MH_I2C_Read... [13:08:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:08:12]Read from MH i2c: E2 [13:08:12]MH_I2C_Read... [13:08:12]Read from MH i2c: E2 0E 00 [13:08:12]MH_I2C_Read... [13:08:12]Read from MH i2c: E2 0E 00 1B 01 00 09 00 01 BA B4 1E 65 00 00 00 00 90 00 96 [13:08:12]RAPDU: 09 00 01 BA B4 1E 65 00 00 00 00 90 00 [13:08:12]wFMCommunicate OK [13:08:12]SAM_PROTO_GetShiftState done [13:08:12]FM_GetShiftState done [13:08:12]opened in 1696511162 [13:08:12]opened+sec_in_day 1696597562 [13:08:12]KKMCreateReceiptDocument [13:08:12]Load OK [13:08:12]Malloc new data [13:08:12]MH_GetDate [13:08:12]Write to MH i2c: F0 00 00 1C 01 0C [13:08:12]Write i2c OK [13:08:12]MH_I2C_Read... [13:08:12]Read from MH i2c: F0 [13:08:12]MH_I2C_Read... [13:08:12]Read from MH i2c: F0 09 00 [13:08:12]MH_I2C_Read... [13:08:12]Read from MH i2c: F0 09 00 1C 01 00 3D B5 1E 65 47 AC 1E 65 00 [13:08:12]Malloc new data [13:08:12]Malloc new data [13:08:12]Malloc new data [13:08:12]Malloc new data [13:08:12]KKMCreateReceiptDocument OK [13:08:12]Malloc new data [13:08:12]Malloc new data [13:08:12]KKMSetReceiptData OK [13:08:12]process_action open_receipt done [13:08:12]no requested_data - finishing processing [13:08:12]process_action_free open_receipt [13:08:12]json_value_free [13:08:12]json_value_free done [13:08:12]process_json_proto returns [13:08:12]Send response to host [13:08:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [13:08:12]free response buf [13:08:12]execute_script done [13:08:12]execute_script returns [13:08:12]free content buf [13:08:12]Sock 9.Close socket [13:08:12]Sock 9.Thread stoped [13:08:13]accept exits with 8 [13:08:13]New connection [13:08:13]New thread 3067047268 created [13:08:13]Thread 3066903908 joined [13:08:13]Waiting for new connection... [13:08:13] Sock 8.Parse request [13:08:13]Sock 8.Check first char [13:08:13]Sock 8.First char is OK [13:08:13]request: POST /json_proto HTTP/1.1 [13:08:13]Method: POST [13:08:13]URL: /json_proto [13:08:13]Method is POST - this is cgi request [13:08:13]url: /json_proto [13:08:13]query_string will be loaded in cgi processing [13:08:13]execute_cgi json_proto POST (null) [13:08:13]execute_cgi path=json_proto method=POST [13:08:13]POST find Content-Length [13:08:13]Host: 192.168.0.101:8080 [13:08:13]Connection: keep-alive [13:08:13]Content-Length: 225 [13:08:13]Accept: application/json, text/plain, */* [13:08:13]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:08:13]Content-Type: application/json [13:08:13]Origin: http://192.168.0.101:8080 [13:08:13]Referer: http://192.168.0.101:8080/testengine [13:08:13]Accept-Encoding: gzip, deflate [13:08:13]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:08:13] [13:08:13]POST finish read [13:08:13]Found Content-Length = 225 [13:08:13]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}]}]}}} [13:08:13]execute_script... [13:08:13]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}]}]}}} [13:08:13]POST & json_proto [13:08:13]process_json_proto [13:08:13]json parsed OK: [13:08:13]protocol is kg_v1.0 [13:08:13]action value=add_receipt [13:08:13]process_action add_receipt [13:08:13]cmd_open_receipt [13:08:13]MH_GetDate [13:08:13]Write to MH i2c: F0 00 00 1D 01 0D [13:08:13]Write i2c OK [13:08:13]MH_I2C_Read... [13:08:13]Read from MH i2c: F0 [13:08:13]MH_I2C_Read... [13:08:13]Read from MH i2c: F0 09 00 [13:08:13]MH_I2C_Read... [13:08:13]Read from MH i2c: F0 09 00 1D 01 00 3E B5 1E 65 47 AC 1E 65 02 [13:08:13]GetLastDocTimeStamp 1696511182 [13:08:13]current date 1696511294 [13:08:13]FM_GetShiftState [13:08:13]SAM_PROTO_GetShiftState [13:08:13]wFMCommunicate request_size=4 [13:08:13]MH_SAM_APDU [13:08:13]CAPDU: 80 13 01 00 [13:08:13]Write to MH i2c: E2 08 00 1E 01 80 13 01 00 00 00 00 00 9C [13:08:13]Write i2c OK [13:08:13]MH_I2C_Read... [13:08:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:08:13]Read from MH i2c: E2 [13:08:13]MH_I2C_Read... [13:08:13]Read from MH i2c: E2 0E 00 [13:08:13]MH_I2C_Read... [13:08:13]Read from MH i2c: E2 0E 00 1E 01 00 09 00 01 BA B4 1E 65 00 00 00 00 90 00 99 [13:08:13]RAPDU: 09 00 01 BA B4 1E 65 00 00 00 00 90 00 [13:08:13]wFMCommunicate OK [13:08:13]SAM_PROTO_GetShiftState done [13:08:13]FM_GetShiftState done [13:08:13]opened in 1696511162 [13:08:13]opened+sec_in_day 1696597562 [13:08:13]quantity*price = 100 [13:08:13]sum+1 = 101 [13:08:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1.00 НСП 1% : 0.01 НДС 12% : 0.11 Наличными: 1.00 Безнал.: 0.00 Место: с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846 Адрес: Жети-Огузский район СНО: Общий режим Чек 2 05.10.2023 13:08 Смена: 1 ФФД: 1.0 ЗНМ: 0300000176 РНМ: 0000000000108361 Версия ККМ: v1.0 ФД осн.: 3 ФМ осн.: 0000000000965627 *** СПАСИБО *** ФМ: 0000000000965627 ФД: 4 ФПД: 74666701282275 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20231005T130813&type=2&operation_type=1&fn_number=0000000000965627&fd_number=4&fm=74666701282275&tin=02004201810074®Number=0000000000108361&sum=100 *** ЖДЕМ ВАС ОПЯТЬ *** [13:08:16]StoreToDocumentArchive [13:08:16]shift 1 fd 4 [13:08:16]save to /storage/0001/doc_00000004 [13:08:16]save last doc name /storage/0001/doc_00000004 to /storage/kkm_last_doc_name [13:08:16]save OK [13:08:16]Clear old archive folders... [13:08:16]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:08:16]tlvbuf is 01D43FE0 [13:08:16]SAM_PROTO_ClearQueue [13:08:16]wFMCommunicate request_size=4 [13:08:16]MH_SAM_APDU [13:08:16]CAPDU: 80 09 00 00 [13:08:16]Write to MH i2c: E2 08 00 2E 01 80 09 00 00 00 00 00 00 A1 [13:08:16]Write i2c OK [13:08:16]MH_I2C_Read... [13:08:16]OFD Sender: No OFD packet to send [13:08:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:08:16]Read from MH i2c: E2 [13:08:16]MH_I2C_Read... [13:08:16]Read from MH i2c: E2 03 00 [13:08:16]MH_I2C_Read... [13:08:16]Read from MH i2c: E2 03 00 2E 01 00 90 00 A3 [13:08:16]RAPDU: 90 00 [13:08:16]wFMCommunicate OK [13:08:16]SAM_PROTO_ClearQueue done [13:08:16]KKMCreateOFDPacket [13:08:16]OFDProtocolAddRootSTLVToBuf [13:08:16]FM_MakeSignedData [13:08:16]FM_MakeSignedData [13:08:16]SAM_PROTO_SignData [13:08:16]wFMCommunicate request_size=4 [13:08:16]MH_SAM_APDU [13:08:16]CAPDU: 80 0D 01 02 [13:08:16]Write to MH i2c: E2 08 00 2F 01 80 0D 01 02 00 00 00 00 A9 [13:08:16]Write i2c OK [13:08:16]MH_I2C_Read... [13:08:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:08:16]Read from MH i2c: E2 [13:08:16]MH_I2C_Read... [13:08:16]Read from MH i2c: E2 03 00 [13:08:16]MH_I2C_Read... [13:08:16]Read from MH i2c: E2 03 00 2F 01 00 90 00 A4 [13:08:16]RAPDU: 90 00 [13:08:16]wFMCommunicate OK [13:08:16]wFMCommunicate request_size=255 [13:08:16]MH_SAM_APDU [13:08:16]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 3D B5 1E 65 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 30 38 33 36 31 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 11 04 10 00 30 30 30 30 30 30 30 [13:08:17]Write to MH i2c: E2 02 01 30 01 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 3D B5 1E 65 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 30 38 33 36 31 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 11 04 10 00 30 30 30 30 30 30 30 00 00 3A [13:08:17]Write i2c OK [13:08:17]MH_I2C_Read... [13:08:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:17]Read from MH i2c: E2 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: E2 03 00 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: E2 03 00 30 01 00 90 00 A5 [13:08:17]RAPDU: 90 00 [13:08:17]wFMCommunicate OK [13:08:17]wFMCommunicate request_size=32 [13:08:17]MH_SAM_APDU [13:08:17]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 36 32 37 10 04 04 00 04 00 00 00 35 04 06 00 43 E8 B2 34 DB E3 [13:08:17]Write to MH i2c: E2 23 00 31 01 80 0D 02 02 1B 00 30 30 30 39 36 35 36 32 37 10 04 04 00 04 00 00 00 35 04 06 00 43 E8 B2 34 DB E3 00 00 DF [13:08:17]Write i2c OK [13:08:17]MH_I2C_Read... [13:08:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:17]Read from MH i2c: E2 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: E2 03 00 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: E2 03 00 31 01 00 90 00 A6 [13:08:17]RAPDU: 90 00 [13:08:17]wFMCommunicate OK [13:08:17]wFMCommunicate request_size=4 [13:08:17]MH_SAM_APDU [13:08:17]CAPDU: 80 0D 03 02 [13:08:17]Write to MH i2c: E2 08 00 32 01 80 0D 03 02 00 00 00 00 AE [13:08:17]Write i2c OK [13:08:17]MH_I2C_Read... [13:08:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:08:17]Read from MH i2c: E2 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: E2 0B 00 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: E2 0B 00 32 01 00 80 E0 1B 45 ED 14 76 6E 90 00 54 [13:08:17]RAPDU: 80 E0 1B 45 ED 14 76 6E 90 00 [13:08:17]wFMCommunicate OK [13:08:17]SAM_PROTO_SignData done [13:08:17]FM_MakeSignedData done [13:08:17]CreateOFDProtocolMessage [13:08:17]wFMCommunicate request_size=4 [13:08:17]MH_SAM_APDU [13:08:17]CAPDU: 80 11 00 00 [13:08:17]Write to MH i2c: E2 08 00 33 01 80 11 00 00 00 00 00 00 AE [13:08:17]Write i2c OK [13:08:17]MH_I2C_Read... [13:08:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:08:17]Read from MH i2c: E2 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: E2 17 00 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: E2 17 00 33 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 04 [13:08:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [13:08:17]wFMCommunicate OK [13:08:17]CreateOFDProtocolMessage done [13:08:17]OFDSenderStorePacket 4 [13:08:17]StoreOFDPacket docnum=4 [13:08:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 25 01 00 00 20 05 1D 01 B8 82 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 3D B5 1E 65 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 30 38 33 36 31 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 04 00 00 00 35 04 06 00 43 E8 B2 34 DB E3 80 E0 1B 45 ED 14 76 6E [13:08:17]CheckFolder [13:08:17]dirname=/storage/ofd_packets [13:08:17]CheckFolder done [13:08:17]ProducePacketName [13:08:17]name=ofd_packets/00000004 [13:08:17]NVStorageSaveData ofd_packets/00000004 [13:08:17]File name is /storage/ofd_packets/00000004 [13:08:17]Write 323 bytes [13:08:17]NVStorageSaveData done [13:08:17]OFDSenderStorePacket done [13:08:17]KKMCreateOFDPacket done [13:08:17]NVStorageSaveData kkm_last_timestamp [13:08:17]File name is /storage/kkm_last_timestamp [13:08:17]Write 4 bytes [13:08:17]NVStorageSaveData done [13:08:17]ExternCall_PrintAddStr [13:08:17]wPrintStart [13:08:17]Write to MH i2c: 01 00 00 34 01 35 [13:08:17]Write i2c OK [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: 01 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: 01 07 00 [13:08:17]MH_I2C_Read... [13:08:17]Read from MH i2c: 01 07 00 34 01 00 00 00 00 00 FF 0F 4A [13:08:17]RasterBufferAndPrint [13:08:17]line ОсОО Тренд Ойл [13:08:17]line Добро пожаловать [13:08:17]line ИНН: 02004201810074 [13:08:17]line Контрольно-Кассовый Чек [13:08:17]line ВОЗВРАТ ПРОДАЖИ [13:08:17]line ОсОО "Тренд Ойл" [13:08:17]line Товар: 123456 [13:08:17]line Пакет [13:08:17]line 1.000 шт. * 1.00 [13:08:17]line = 1.00 [13:08:17]line НДС 12% НСП 1% [13:08:17]line > о реализуемом товаре [13:08:17]line ИТОГО: 1.00 [13:08:17]line НСП 1% : 0.01 [13:08:17]line НДС 12% : 0.11 [13:08:17]line Наличными: 1.00 [13:08:17]line Безнал.: 0.00 [13:08:17]line Место: с. Жети Огуз, Жети Огузский район, 42.3478065,78.0152846 [13:08:17]line Адрес: Жети-Огузский район [13:08:17]line СНО: Общий режим [13:08:17]line Чек 2 05.10.2023 13:08 [13:08:17]line Смена: 1 ФФД: 1.0 [13:08:17]line ЗНМ: 0300000176 [13:08:17]line РНМ: 0000000000108361 [13:08:17]line Версия ККМ: v1.0 [13:08:17]line ФД осн.: 3 [13:08:17]line ФМ осн.: 0000000000965627 [13:08:17]line *** СПАСИБО *** [13:08:17]line ФМ: 0000000000965627 [13:08:17]line ФД: 4 [13:08:17]line ФПД: 74666701282275 [13:08:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20231005T130813&type=2&operation_type=1&fn_number=0000000000965627&fd_number=4&fm=74666701282275&tin=02004201810074®Number=0000000000108361&sum=100 [13:08:17]line *** ЖДЕМ ВАС ОПЯТЬ *** [13:08:17]written 0, free lines is 4095 [13:08:17]OFD Sender: Processing packet 4 [packets to send 1, broken 0] [13:08:17]ProducePacketName [13:08:17]name=ofd_packets/00000004 [13:08:17]OFD Sender: To server: pG, [13:08:17]CommunicateWithHost lk.salyk.kg:30040 [13:08:17]ConnectInit lk.salyk.kg [13:08:17]Connected sock=10 [13:08:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 25 01 00 00 20 05 1D 01 B8 82 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 3D B5 1E 65 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 30 38 33 36 31 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 04 00 00 00 35 04 06 00 43 E8 B2 34 DB E3 80 E0 1B 45 ED 14 76 6E [13:08:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 4F 00 00 00 EE 72 47 00 BA 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 04 00 00 00 F4 03 04 00 E3 60 1E 65 B6 04 01 00 00 A2 B4 EB 3E 00 73 BB 41 [13:08:17]CommunicateWithHost err = 0 [13:08:17]CheckOFDResponse [13:08:17]1017 (14) - 77093643461234 [13:08:17]1041 (16) - 0000000000965627 [13:08:17]1040 (4) - 4 [13:08:17]1012 (4) - 05.10.2023 07:08 [13:08:17]1206 (1) - 0 [13:08:17]OFD Sender: Remove packet 4 [13:08:17]ProducePacketName [13:08:17]name=ofd_packets/00000004 [13:08:17]NVStorageDeleteData [13:08:18]Write to MH i2c: 01 00 00 60 01 61 [13:08:18]Write i2c OK [13:08:18]MH_I2C_Read... [13:08:18]Read from MH i2c: 01 [13:08:18]MH_I2C_Read... [13:08:18]Read from MH i2c: 01 07 00 [13:08:18]MH_I2C_Read... [13:08:18]Read from MH i2c: 01 07 00 60 01 00 00 00 00 00 F4 0C 68 [13:08:18]RasterBufferAndPrint [13:08:18]line [13:08:18]line [13:08:18]line [13:08:18]line [13:08:18]line [13:08:18]written 0, free lines is 3322 [13:08:18]MH_Cut [13:08:18]Write to MH i2c: D1 01 00 67 01 01 3A [13:08:18]Write i2c OK [13:08:18]MH_I2C_Read... [13:08:18]Read from MH i2c: D1 [13:08:18]MH_I2C_Read... [13:08:18]Read from MH i2c: D1 01 00 [13:08:18]MH_I2C_Read... [13:08:18]Read from MH i2c: D1 01 00 67 01 00 39 [13:08:18]Write to MH i2c: 01 00 00 68 01 69 [13:08:18]Write i2c OK [13:08:18]MH_I2C_Read... [13:08:18]OFD Sender: No OFD packet to send [13:08:18]*** Cut start [13:08:18]*** Partial cut [13:08:18]*** CUTSNS_PIN = 1 [13:08:18]*** CUTSNS_PIN = 0 [13:08:19]*** Brake cut motor [13:08:19]Read from MH i2c: 01 [13:08:19]MH_I2C_Read... [13:08:19]*** Stop cut motor [13:08:19]*** Cut end [13:08:19]Read from MH i2c: 01 07 00 [13:08:19]MH_I2C_Read... [13:08:19]Read from MH i2c: 01 07 00 68 01 00 00 00 00 00 FF 0F 7E [13:08:19]process_action close_receipt done [13:08:19]no requested_data - finishing processing [13:08:19]process_action_free close_receipt [13:08:19]json_value_free [13:08:19]json_value_free done [13:08:19]process_json_proto returns [13:08:19]Send response to host [13:08:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [13:08:19]free response buf [13:08:19]execute_script done [13:08:19]execute_script returns [13:08:19]free content buf [13:08:19]Sock 9.Close socket [13:08:19]Sock 9.Thread stoped [13:08:23]OFD Sender: No OFD packet to send [13:08:28]OFD Sender: No OFD packet to send [13:08:33]OFD Sender: No OFD packet to send [13:08:38]OFD Sender: No OFD packet to send [13:08:38]accept exits with 8 [13:08:38]New connection [13:08:38]New thread 3067047268 created [13:08:38]Thread 3066903908 joined [13:08:38]Waiting for new connection... [13:08:38] Sock 8.Parse request [13:08:38]Sock 8.Check first char [13:08:38]Sock 8.First char is OK [13:08:38]request: POST /json_proto HTTP/1.1 [13:08:38]Method: POST [13:08:38]URL: /json_proto [13:08:38]Method is POST - this is cgi request [13:08:38]url: /json_proto [13:08:38]query_string will be loaded in cgi processing [13:08:38]execute_cgi json_proto POST (null) [13:08:38]execute_cgi path=json_proto method=POST [13:08:38]POST find Content-Length [13:08:38]Host: 192.168.0.101:8080 [13:08:38]Connection: keep-alive [13:08:38]Content-Length: 353 [13:08:38]Accept: application/json, text/plain, */* [13:08:38]User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 [13:08:38]Content-Type: application/json [13:08:38]Origin: http://192.168.0.101:8080 [13:08:38]Referer: http://192.168.0.101:8080/testengine [13:08:38]Accept-Encoding: gzip, deflate [13:08:38]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [13:08:38] [13:08:38]POST finish read [13:08:38]Found Content-Length = 353 [13:08:38]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":"Сергей Смирнов"}}} [13:08:38]execute_script... [13:08:38]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":"Сергей Смирнов"}}} [13:08:38]POST & json_proto [13:08:38]process_json_proto [13:08:38]json parsed OK: [13:08:38]protocol is kg_v1.0 [13:08:38]action value=close_shift [13:08:38]process_action close_shift [13:08:38]cmd_close_shift [13:08:38]MH_GetDate [13:08:38]Write to MH i2c: F0 00 00 69 01 59 [13:08:38]Write i2c OK [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: F0 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: F0 09 00 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: F0 09 00 69 01 00 57 B5 1E 65 47 AC 1E 65 67 [13:08:38]GetLastDocTimeStamp 1696511293 [13:08:38]current date 1696511319 [13:08:38]FM_GetShiftState [13:08:38]SAM_PROTO_GetShiftState [13:08:38]wFMCommunicate request_size=4 [13:08:38]MH_SAM_APDU [13:08:38]CAPDU: 80 13 01 00 [13:08:38]Write to MH i2c: E2 08 00 6A 01 80 13 01 00 00 00 00 00 E8 [13:08:38]Write i2c OK [13:08:38]MH_I2C_Read... [13:08:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:08:38]Read from MH i2c: E2 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 0E 00 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 0E 00 6A 01 00 09 00 01 BA B4 1E 65 00 00 00 00 90 00 E5 [13:08:38]RAPDU: 09 00 01 BA B4 1E 65 00 00 00 00 90 00 [13:08:38]wFMCommunicate OK [13:08:38]SAM_PROTO_GetShiftState done [13:08:38]FM_GetShiftState done [13:08:38]KKMCreateCloseShiftDocument [13:08:38]Load OK [13:08:38]Malloc new data [13:08:38]MH_GetDate [13:08:38]Write to MH i2c: F0 00 00 6B 01 5B [13:08:38]Write i2c OK [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: F0 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: F0 09 00 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: F0 09 00 6B 01 00 57 B5 1E 65 47 AC 1E 65 69 [13:08:38]Malloc new data [13:08:38]Malloc new data [13:08:38]NVStorageSaveData kkm_registers [13:08:38]File name is /storage/kkm_registers [13:08:38]Write 24 bytes [13:08:38]NVStorageSaveData done [13:08:38]Malloc new data [13:08:38]Malloc new data [13:08:38]KKMCreateCloseShiftDocument OK [13:08:38]KKMSetCloseShiftData OK [13:08:38]ProcessDocumentItem done err = 0, tmpTLVsize=77 [13:08:38]tlvbuf is B6EBFCA0 [13:08:38]KKMLoadAndSignCloseShiftData [13:08:38]SAM_PROTO_ProcessDocument [13:08:38]wFMCommunicate request_size=9 [13:08:38]MH_SAM_APDU [13:08:38]CAPDU: 80 15 01 00 04 05 00 4D 00 [13:08:38]Write to MH i2c: E2 0C 00 6C 01 80 15 01 00 04 00 05 00 4D 00 00 00 46 [13:08:38]Write i2c OK [13:08:38]MH_I2C_Read... [13:08:38]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [13:08:38]Read from MH i2c: E2 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 03 00 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 03 00 6C 01 00 90 00 E1 [13:08:38]RAPDU: 90 00 [13:08:38]wFMCommunicate OK [13:08:38]wFMCommunicate request_size=23 [13:08:38]MH_SAM_APDU [13:08:38]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 [13:08:38]Write to MH i2c: E2 1A 00 6D 01 80 15 02 00 12 00 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 00 00 DA [13:08:38]Write i2c OK [13:08:38]MH_I2C_Read... [13:08:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:08:38]Read from MH i2c: E2 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 03 00 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 03 00 6D 01 00 90 00 E2 [13:08:38]RAPDU: 90 00 [13:08:38]wFMCommunicate OK [13:08:38]wFMCommunicate request_size=36 [13:08:38]MH_SAM_APDU [13:08:38]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 [13:08:38]Write to MH i2c: E2 27 00 6E 01 80 15 02 00 1F 00 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 00 00 B3 [13:08:38]Write i2c OK [13:08:38]MH_I2C_Read... [13:08:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:08:38]Read from MH i2c: E2 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 03 00 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 03 00 6E 01 00 90 00 E3 [13:08:38]RAPDU: 90 00 [13:08:38]wFMCommunicate OK [13:08:38]wFMCommunicate request_size=13 [13:08:38]MH_SAM_APDU [13:08:38]CAPDU: 80 15 02 00 08 F4 03 04 00 57 B5 1E 65 [13:08:38]Write to MH i2c: E2 10 00 6F 01 80 15 02 00 08 00 F4 03 04 00 57 B5 1E 65 00 00 8A [13:08:38]Write i2c OK [13:08:38]MH_I2C_Read... [13:08:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:08:38]Read from MH i2c: E2 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 03 00 [13:08:38]MH_I2C_Read... [13:08:38]Read from MH i2c: E2 03 00 6F 01 00 90 00 E4 [13:08:38]RAPDU: 90 00 [13:08:38]wFMCommunicate OK [13:08:38]wFMCommunicate request_size=25 [13:08:38]MH_SAM_APDU [13:08:38]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 [13:08:38]Write to MH i2c: E2 1C 00 70 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 00 00 4D [13:08:38]Write i2c OK [13:08:38]MH_I2C_Read... [13:08:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:08:39]Read from MH i2c: E2 [13:08:39]MH_I2C_Read... [13:08:39]Read from MH i2c: E2 03 00 [13:08:39]MH_I2C_Read... [13:08:39]Read from MH i2c: E2 03 00 70 01 00 90 00 E5 [13:08:39]RAPDU: 90 00 [13:08:39]wFMCommunicate OK [13:08:39]wFMCommunicate request_size=4 [13:08:39]MH_SAM_APDU [13:08:39]CAPDU: 80 15 03 00 [13:08:39]Write to MH i2c: E2 08 00 71 01 80 15 03 00 00 00 00 00 F3 [13:08:39]Write i2c OK [13:08:39]MH_I2C_Read... [13:08:39]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [13:08:39]Read from MH i2c: E2 [13:08:39]MH_I2C_Read... [13:08:39]Read from MH i2c: E2 FD 00 [13:08:39]MH_I2C_Read... [13:08:39]Read from MH i2c: E2 FD 00 71 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 35 36 32 37 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 D3 [13:08:39]RAPDU: EB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 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 [13:08:39]wFMCommunicate OK [13:08:39]SAM_PROTO_ProcessDocument answer len = 1259 [13:08:39]SAM_PROTO_ProcessDocument remain to read = 1011 [13:08:39]wFMCommunicate request_size=4 [13:08:39]MH_SAM_APDU [13:08:39]CAPDU: 80 17 00 00 [13:08:39]Write to MH i2c: E2 08 00 72 01 80 17 00 00 00 00 00 00 F3 [13:08:39]Write i2c OK [13:08:39]MH_I2C_Read... [13:08:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:39]Read from MH i2c: E2 [13:08:39]MH_I2C_Read... [13:08:39]Read from MH i2c: E2 FD 00 [13:08:39]MH_I2C_Read... [13:08:39]Read from MH i2c: E2 FD 00 72 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 5D [13:08:39]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 [13:08:39]wFMCommunicate OK [13:08:39]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:08:39]SAM_PROTO_ProcessDocument remain to read = 761 [13:08:39]wFMCommunicate request_size=4 [13:08:39]MH_SAM_APDU [13:08:39]CAPDU: 80 17 00 00 [13:08:39]Write to MH i2c: E2 08 00 73 01 80 17 00 00 00 00 00 00 F4 [13:08:39]Write i2c OK [13:08:39]MH_I2C_Read... [13:08:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:40]Read from MH i2c: E2 [13:08:40]MH_I2C_Read... [13:08:40]Read from MH i2c: E2 FD 00 [13:08:40]MH_I2C_Read... [13:08:40]Read from MH i2c: E2 FD 00 73 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 52 [13:08:40]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 [13:08:40]wFMCommunicate OK [13:08:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:08:40]SAM_PROTO_ProcessDocument remain to read = 511 [13:08:40]wFMCommunicate request_size=4 [13:08:40]MH_SAM_APDU [13:08:40]CAPDU: 80 17 00 00 [13:08:40]Write to MH i2c: E2 08 00 74 01 80 17 00 00 00 00 00 00 F5 [13:08:40]Write i2c OK [13:08:40]MH_I2C_Read... [13:08:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:40]Read from MH i2c: E2 [13:08:40]MH_I2C_Read... [13:08:40]Read from MH i2c: E2 FD 00 [13:08:40]MH_I2C_Read... [13:08:40]Read from MH i2c: E2 FD 00 74 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 7D [13:08:40]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 [13:08:40]wFMCommunicate OK [13:08:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:08:40]SAM_PROTO_ProcessDocument remain to read = 261 [13:08:40]wFMCommunicate request_size=4 [13:08:40]MH_SAM_APDU [13:08:40]CAPDU: 80 17 00 00 [13:08:40]Write to MH i2c: E2 08 00 75 01 80 17 00 00 00 00 00 00 F6 [13:08:40]Write i2c OK [13:08:40]MH_I2C_Read... [13:08:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:40]Read from MH i2c: E2 [13:08:40]MH_I2C_Read... [13:08:40]Read from MH i2c: E2 FD 00 [13:08:40]MH_I2C_Read... [13:08:40]Read from MH i2c: E2 FD 00 75 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 C5 [13:08:40]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 [13:08:40]wFMCommunicate OK [13:08:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:08:40]SAM_PROTO_ProcessDocument remain to read = 11 [13:08:40]wFMCommunicate request_size=4 [13:08:40]MH_SAM_APDU [13:08:40]CAPDU: 80 17 00 00 [13:08:40]Write to MH i2c: E2 08 00 76 01 80 17 00 00 00 00 00 00 F7 [13:08:40]Write i2c OK [13:08:40]MH_I2C_Read... [13:08:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 11! [13:08:40]Read from MH i2c: E2 [13:08:40]MH_I2C_Read... [13:08:40]Read from MH i2c: E2 0E 00 [13:08:40]MH_I2C_Read... [13:08:40]Read from MH i2c: E2 0E 00 76 01 00 00 35 04 06 00 D9 02 55 A6 72 DB 90 00 58 [13:08:40]RAPDU: 00 35 04 06 00 D9 02 55 A6 72 DB 90 00 [13:08:40]wFMCommunicate OK [13:08:40]SAM_PROTO_ProcessDocument received (without SW) 11 bytes [13:08:40]SAM_PROTO_ProcessDocument done [13:08:40]1209 (1) - 1.0 - номер версии ФФД [13:08:40]1041 (16) - 0000000000965627 - номер ФМ [13:08:40]1040 (4) - 5 - номер ФД [13:08:40]1038 (4) - 1 - номер смены [13:08:40]1118 (4) - 2 - количество кассовых чеков за смену [13:08:40]1111 (4) - 4 - общее количество ФД за смену [13:08:40]1194 (1188) - счетчики итогов смены [13:08:40] 1134 (4) - 2 - количество чеков со всеми признаками расчетов [13:08:40] 1129 (145) - счетчики операций «приход» [13:08:40] 1135 (4) - 1 - количество чеков по признаку расчетов [13:08:40] 1201 (1) - 1.00 - общая итоговая сумма в чеках [13:08:40] 1136 (1) - 1.00 - итоговая сумма в чеках наличными [13:08:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:08:40] 1024 (119) - суммы налогов [13:08:40] 1006 (9) - суммы НДС [13:08:40] 1010 (1) - 0% - код ставки НДС [13:08:40] 1011 (0) - 0.00 - сумма НДС по ставке [13:08:40] 1006 (10) - суммы НДС [13:08:40] 1010 (1) - 12% - код ставки НДС [13:08:40] 1011 (1) - 0.11 - сумма НДС по ставке [13:08:40] 1007 (9) - суммы НСП [13:08:40] 1014 (1) - 0% - код ставки НСП [13:08:40] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:40] 1007 (10) - суммы НСП [13:08:40] 1014 (1) - 1% - код ставки НСП [13:08:40] 1015 (1) - 0.01 - сумма НСП по ставке [13:08:40] 1007 (9) - суммы НСП [13:08:40] 1014 (1) - 2% - код ставки НСП [13:08:40] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:40] 1007 (9) - суммы НСП [13:08:40] 1014 (1) - 3% - код ставки НСП [13:08:40] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:40] 1007 (9) - суммы НСП [13:08:40] 1014 (1) - 5% - код ставки НСП [13:08:40] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:40] 1007 (9) - суммы НСП [13:08:40] 1014 (1) - 0,50% - код ставки НСП [13:08:40] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:40] 1007 (9) - суммы НСП [13:08:40] 1014 (1) - 1,50% - код ставки НСП [13:08:40] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:40] 1130 (145) - счетчики операций «возврат прихода» [13:08:40] 1135 (4) - 1 - количество чеков по признаку расчетов [13:08:40] 1201 (1) - 1.00 - общая итоговая сумма в чеках [13:08:40] 1136 (1) - 1.00 - итоговая сумма в чеках наличными [13:08:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:08:40] 1024 (119) - суммы налогов [13:08:41] 1006 (9) - суммы НДС [13:08:41] 1010 (1) - 0% - код ставки НДС [13:08:41] 1011 (0) - 0.00 - сумма НДС по ставке [13:08:41] 1006 (10) - суммы НДС [13:08:41] 1010 (1) - 12% - код ставки НДС [13:08:41] 1011 (1) - 0.11 - сумма НДС по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 0% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (10) - суммы НСП [13:08:41] 1014 (1) - 1% - код ставки НСП [13:08:41] 1015 (1) - 0.01 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 2% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 3% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 5% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 0,50% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 1,50% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1131 (141) - счетчики операций «расход» [13:08:41] 1135 (4) - 0 - количество чеков по признаку расчетов [13:08:41] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:08:41] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:08:41] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:08:41] 1024 (117) - суммы налогов [13:08:41] 1006 (9) - суммы НДС [13:08:41] 1010 (1) - 0% - код ставки НДС [13:08:41] 1011 (0) - 0.00 - сумма НДС по ставке [13:08:41] 1006 (9) - суммы НДС [13:08:41] 1010 (1) - 12% - код ставки НДС [13:08:41] 1011 (0) - 0.00 - сумма НДС по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 0% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 1% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 2% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 3% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 5% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 0,50% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 1,50% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1132 (141) - счетчики операций «возврат расхода» [13:08:41] 1135 (4) - 0 - количество чеков по признаку расчетов [13:08:41] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:08:41] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:08:41] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:08:41] 1024 (117) - суммы налогов [13:08:41] 1006 (9) - суммы НДС [13:08:41] 1010 (1) - 0% - код ставки НДС [13:08:41] 1011 (0) - 0.00 - сумма НДС по ставке [13:08:41] 1006 (9) - суммы НДС [13:08:41] 1010 (1) - 12% - код ставки НДС [13:08:41] 1011 (0) - 0.00 - сумма НДС по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 0% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 1% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 2% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 3% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 5% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 0,50% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1007 (9) - суммы НСП [13:08:41] 1014 (1) - 1,50% - код ставки НСП [13:08:41] 1015 (0) - 0.00 - сумма НСП по ставке [13:08:41] 1133 (588) - - счетчики коррекции - не используются [13:08:41]1077 (6) - 238604050133723 - ФПД [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1209 (04B9) [13:08:41]Malloc new data [13:08:41]Processing tag 1041 (0411) [13:08:41]Processing tag 1040 (0410) [13:08:41]Malloc new data [13:08:41]Processing tag 1038 (040E) [13:08:41]Malloc new data [13:08:41]Processing tag 1118 (045E) [13:08:41]Malloc new data [13:08:41]Processing tag 1111 (0457) [13:08:41]Malloc new data [13:08:41]Processing tag 1194 (04AA) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1134 (046E) [13:08:41]Malloc new data [13:08:41]Processing tag 1129 (0469) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1135 (046F) [13:08:41]Malloc new data [13:08:41]Processing tag 1201 (04B1) [13:08:41]Malloc new data [13:08:41]Processing tag 1136 (0470) [13:08:41]Malloc new data [13:08:41]Processing tag 1138 (0472) [13:08:41]Malloc new data [13:08:41]Processing tag 1024 (0400) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1006 (03EE) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1010 (03F2) [13:08:41]Malloc new data [13:08:41]Processing tag 1011 (03F3) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1006 (03EE) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1010 (03F2) [13:08:41]Malloc new data [13:08:41]Processing tag 1011 (03F3) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]SetTLVBufToDocument err=0 [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1130 (046A) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1135 (046F) [13:08:41]Malloc new data [13:08:41]Processing tag 1201 (04B1) [13:08:41]Malloc new data [13:08:41]Processing tag 1136 (0470) [13:08:41]Malloc new data [13:08:41]Processing tag 1138 (0472) [13:08:41]Malloc new data [13:08:41]Processing tag 1024 (0400) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1006 (03EE) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1010 (03F2) [13:08:41]Malloc new data [13:08:41]Processing tag 1011 (03F3) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1006 (03EE) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1010 (03F2) [13:08:41]Malloc new data [13:08:41]Processing tag 1011 (03F3) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]SetTLVBufToDocument err=0 [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1131 (046B) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1135 (046F) [13:08:41]Malloc new data [13:08:41]Processing tag 1201 (04B1) [13:08:41]Malloc new data [13:08:41]Processing tag 1136 (0470) [13:08:41]Malloc new data [13:08:41]Processing tag 1138 (0472) [13:08:41]Malloc new data [13:08:41]Processing tag 1024 (0400) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1006 (03EE) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1010 (03F2) [13:08:41]Malloc new data [13:08:41]Processing tag 1011 (03F3) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1006 (03EE) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1010 (03F2) [13:08:41]Malloc new data [13:08:41]Processing tag 1011 (03F3) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]SetTLVBufToDocument err=0 [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1132 (046C) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1135 (046F) [13:08:41]Malloc new data [13:08:41]Processing tag 1201 (04B1) [13:08:41]Malloc new data [13:08:41]Processing tag 1136 (0470) [13:08:41]Malloc new data [13:08:41]Processing tag 1138 (0472) [13:08:41]Malloc new data [13:08:41]Processing tag 1024 (0400) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1006 (03EE) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1010 (03F2) [13:08:41]Malloc new data [13:08:41]Processing tag 1011 (03F3) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1006 (03EE) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1010 (03F2) [13:08:41]Malloc new data [13:08:41]Processing tag 1011 (03F3) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1007 (03EF) [13:08:41]Load OK [13:08:41]SetTLVBufToDocument [13:08:41]Processing tag 1014 (03F6) [13:08:41]Malloc new data [13:08:41]Processing tag 1015 (03F7) [13:08:41]Malloc new data [13:08:41]SetTLVBufToDocument err=0 [13:08:41]SetTLVBufToDocument err=0 [13:08:41]SetTLVBufToDocument err=0 [13:08:41]Processing tag 1133 (046D) [13:08:41]Malloc new data [13:08:42]SetTLVBufToDocument err=0 [13:08:42]Processing tag 1077 (0435) [13:08:42]Malloc new data [13:08:42]SetTLVBufToDocument err=0 [13:08:42]Malloc new data [13:08:42]SAM_PROTO_GetFMData [13:08:42]wFMCommunicate request_size=4 [13:08:42]MH_SAM_APDU [13:08:42]CAPDU: 80 13 03 00 [13:08:42]Write to MH i2c: E2 08 00 77 01 80 13 03 00 00 00 00 00 F7 [13:08:42]Write i2c OK [13:08:42]MH_I2C_Read... [13:08:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:08:42]Read from MH i2c: E2 [13:08:42]MH_I2C_Read... [13:08:42]Read from MH i2c: E2 FD 00 [13:08:42]MH_I2C_Read... [13:08:42]Read from MH i2c: E2 FD 00 77 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 22 [13:08:42]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 [13:08:42]wFMCommunicate OK [13:08:42]wFMCommunicate request_size=4 [13:08:42]MH_SAM_APDU [13:08:42]CAPDU: 80 17 00 00 [13:08:42]Write to MH i2c: E2 08 00 78 01 80 17 00 00 00 00 00 00 F9 [13:08:42]Write i2c OK [13:08:42]MH_I2C_Read... [13:08:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:42]Read from MH i2c: E2 [13:08:42]MH_I2C_Read... [13:08:42]Read from MH i2c: E2 FD 00 [13:08:42]MH_I2C_Read... [13:08:42]Read from MH i2c: E2 FD 00 78 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 04 [13:08:42]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 [13:08:42]wFMCommunicate OK [13:08:42]wFMCommunicate request_size=4 [13:08:42]MH_SAM_APDU [13:08:42]CAPDU: 80 17 00 00 [13:08:42]Write to MH i2c: E2 08 00 79 01 80 17 00 00 00 00 00 00 FA [13:08:42]Write i2c OK [13:08:42]MH_I2C_Read... [13:08:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:43]Read from MH i2c: E2 [13:08:43]MH_I2C_Read... [13:08:43]Read from MH i2c: E2 FD 00 [13:08:43]MH_I2C_Read... [13:08:43]Read from MH i2c: E2 FD 00 79 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 C5 [13:08:43]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 [13:08:43]wFMCommunicate OK [13:08:43]wFMCommunicate request_size=4 [13:08:43]MH_SAM_APDU [13:08:43]CAPDU: 80 17 00 00 [13:08:43]Write to MH i2c: E2 08 00 7A 01 80 17 00 00 00 00 00 00 FB [13:08:43]Write i2c OK [13:08:43]MH_I2C_Read... [13:08:43]OFD Sender: No OFD packet to send [13:08:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:43]Read from MH i2c: E2 [13:08:43]MH_I2C_Read... [13:08:43]Read from MH i2c: E2 FD 00 [13:08:43]MH_I2C_Read... [13:08:43]Read from MH i2c: E2 FD 00 7A 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 70 [13:08:43]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 [13:08:43]wFMCommunicate OK [13:08:43]wFMCommunicate request_size=4 [13:08:43]MH_SAM_APDU [13:08:43]CAPDU: 80 17 00 00 [13:08:43]Write to MH i2c: E2 08 00 7B 01 80 17 00 00 00 00 00 00 FC [13:08:43]Write i2c OK [13:08:43]MH_I2C_Read... [13:08:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [13:08:43]Read from MH i2c: E2 [13:08:43]MH_I2C_Read... [13:08:43]Read from MH i2c: E2 C5 00 [13:08:43]MH_I2C_Read... [13:08:43]Read from MH i2c: E2 C5 00 7B 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 E1 [13:08:43]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 [13:08:43]wFMCommunicate OK [13:08:43]SAM_PROTO_GetFMData done [13:08:43]Malloc new data [13:08:43]Malloc new data [13:08:43]Malloc new data [13:08:43]Malloc new data [13:08:43]KKMLoadAndSignCloseShiftData err=0 [13:08:43] ОсОО Тренд Ойл Добро пожаловать Отчет о закрытии смены ФФД: 1.0 ИНН: 02004201810074 Кассир: Сергей Смирнов 05.10.2023 13:08 Смена: 1 РНМ: 0000000000108361 ЗНМ: 0300000176 СНО: Общий режим Чеков за смену: 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 ФМ: 0000000000965627 ФПД: 238604050133723 *** ЖДЕМ ВАС ОПЯТЬ *** [13:08:43]StoreToDocumentArchive [13:08:43]shift 1 fd 5 [13:08:43]save to /storage/0001/doc_00000005 [13:08:43]save last doc name /storage/0001/doc_00000005 to /storage/kkm_last_doc_name [13:08:43]save OK [13:08:43]Clear old archive folders... [13:08:43]NVStorageSaveData kkm_registers [13:08:43]File name is /storage/kkm_registers [13:08:43]Write 24 bytes [13:08:43]NVStorageSaveData done [13:08:43]NVStorageSaveData kkm_registers [13:08:43]File name is /storage/kkm_registers [13:08:43]Write 24 bytes [13:08:43]NVStorageSaveData done [13:08:43]ProcessDocumentItem done err = 0, tmpTLVsize=1376 [13:08:43]tlvbuf is 01D97FC0 [13:08:43]SAM_PROTO_ClearQueue [13:08:43]wFMCommunicate request_size=4 [13:08:43]MH_SAM_APDU [13:08:43]CAPDU: 80 09 00 00 [13:08:43]Write to MH i2c: E2 08 00 7C 01 80 09 00 00 00 00 00 00 EF [13:08:43]Write i2c OK [13:08:43]MH_I2C_Read... [13:08:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:08:43]Read from MH i2c: E2 [13:08:43]MH_I2C_Read... [13:08:43]Read from MH i2c: E2 03 00 [13:08:43]MH_I2C_Read... [13:08:43]Read from MH i2c: E2 03 00 7C 01 00 90 00 F1 [13:08:43]RAPDU: 90 00 [13:08:43]wFMCommunicate OK [13:08:43]SAM_PROTO_ClearQueue done [13:08:43]KKMCreateOFDPacket [13:08:43]OFDProtocolAddRootSTLVToBuf [13:08:43]FM_MakeSignedData [13:08:43]FM_MakeSignedData [13:08:43]SAM_PROTO_SignData [13:08:43]wFMCommunicate request_size=4 [13:08:43]MH_SAM_APDU [13:08:44]CAPDU: 80 0D 01 02 [13:08:44]Write to MH i2c: E2 08 00 7D 01 80 0D 01 02 00 00 00 00 F7 [13:08:44]Write i2c OK [13:08:44]MH_I2C_Read... [13:08:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:08:44]Read from MH i2c: E2 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: E2 03 00 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: E2 03 00 7D 01 00 90 00 F2 [13:08:44]RAPDU: 90 00 [13:08:44]wFMCommunicate OK [13:08:44]wFMCommunicate request_size=255 [13:08:44]MH_SAM_APDU [13:08:44]CAPDU: 80 0D 02 02 FA 05 00 60 05 B9 04 01 00 01 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 F4 03 04 00 57 B5 1E 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 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 [13:08:44]Write to MH i2c: E2 02 01 7E 01 80 0D 02 02 FA 00 05 00 60 05 B9 04 01 00 01 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 F4 03 04 00 57 B5 1E 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 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 00 08 [13:08:44]Write i2c OK [13:08:44]MH_I2C_Read... [13:08:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:44]Read from MH i2c: E2 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: E2 03 00 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: E2 03 00 7E 01 00 90 00 F3 [13:08:44]RAPDU: 90 00 [13:08:44]wFMCommunicate OK [13:08:44]wFMCommunicate request_size=255 [13:08:44]MH_SAM_APDU [13:08:44]CAPDU: 80 0D 02 02 FA 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 [13:08:44]Write to MH i2c: E2 02 01 7F 01 80 0D 02 02 FA 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 00 00 2F [13:08:44]Write i2c OK [13:08:44]MH_I2C_Read... [13:08:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:44]Read from MH i2c: E2 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: E2 03 00 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: E2 03 00 7F 01 00 90 00 F4 [13:08:44]RAPDU: 90 00 [13:08:44]wFMCommunicate OK [13:08:44]wFMCommunicate request_size=255 [13:08:44]MH_SAM_APDU [13:08:44]CAPDU: 80 0D 02 02 FA 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 [13:08:44]Write to MH i2c: E2 02 01 80 01 80 0D 02 02 FA 00 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 00 00 CB [13:08:45]Write i2c OK [13:08:45]MH_I2C_Read... [13:08:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:45]Read from MH i2c: E2 [13:08:45]MH_I2C_Read... [13:08:45]Read from MH i2c: E2 03 00 [13:08:45]MH_I2C_Read... [13:08:45]Read from MH i2c: E2 03 00 80 01 00 90 00 F5 [13:08:45]RAPDU: 90 00 [13:08:45]wFMCommunicate OK [13:08:45]wFMCommunicate request_size=255 [13:08:45]MH_SAM_APDU [13:08:45]CAPDU: 80 0D 02 02 FA 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 [13:08:45]Write to MH i2c: E2 02 01 81 01 80 0D 02 02 FA 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 00 00 C1 [13:08:45]Write i2c OK [13:08:45]MH_I2C_Read... [13:08:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:45]Read from MH i2c: E2 [13:08:45]MH_I2C_Read... [13:08:45]Read from MH i2c: E2 03 00 [13:08:45]MH_I2C_Read... [13:08:45]Read from MH i2c: E2 03 00 81 01 00 90 00 F6 [13:08:45]RAPDU: 90 00 [13:08:45]wFMCommunicate OK [13:08:45]wFMCommunicate request_size=255 [13:08:45]MH_SAM_APDU [13:08:45]CAPDU: 80 0D 02 02 FA EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:08:45]Write to MH i2c: E2 02 01 82 01 80 0D 02 02 FA 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 83 [13:08:45]Write i2c OK [13:08:45]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 82 01 00 90 00 F7 [13:08:46]RAPDU: 90 00 [13:08:46]wFMCommunicate OK [13:08:46]wFMCommunicate request_size=135 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 0D 02 02 82 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 35 36 32 37 35 04 06 00 D9 02 55 A6 72 DB [13:08:46]Write to MH i2c: E2 8A 00 83 01 80 0D 02 02 82 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 35 36 32 37 35 04 06 00 D9 02 55 A6 72 DB 00 00 67 [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 83 01 00 90 00 F8 [13:08:46]RAPDU: 90 00 [13:08:46]wFMCommunicate OK [13:08:46]wFMCommunicate request_size=4 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 0D 03 02 [13:08:46]Write to MH i2c: E2 08 00 84 01 80 0D 03 02 00 00 00 00 00 [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 0B 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 0B 00 84 01 00 CC AD 5A EC 17 CD A0 59 90 00 9D [13:08:46]RAPDU: CC AD 5A EC 17 CD A0 59 90 00 [13:08:46]wFMCommunicate OK [13:08:46]SAM_PROTO_SignData done [13:08:46]FM_MakeSignedData done [13:08:46]CreateOFDProtocolMessage [13:08:46]wFMCommunicate request_size=4 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 11 00 00 [13:08:46]Write to MH i2c: E2 08 00 85 01 80 11 00 00 00 00 00 00 00 [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 17 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 17 00 85 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 56 [13:08:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [13:08:46]wFMCommunicate OK [13:08:46]CreateOFDProtocolMessage done [13:08:46]OFDSenderStorePacket 5 [13:08:46]StoreOFDPacket docnum=5 [13:08:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 74 05 00 00 48 DC 6C 05 71 C8 5A 05 01 00 05 00 60 05 B9 04 01 00 01 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 F4 03 04 00 57 B5 1E 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 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 35 36 32 37 35 04 06 00 D9 02 55 A6 72 DB CC AD 5A EC 17 CD A0 59 [13:08:46]CheckFolder [13:08:46]dirname=/storage/ofd_packets [13:08:46]CheckFolder done [13:08:46]ProducePacketName [13:08:46]name=ofd_packets/00000005 [13:08:46]NVStorageSaveData ofd_packets/00000005 [13:08:46]File name is /storage/ofd_packets/00000005 [13:08:46]Write 1426 bytes [13:08:46]NVStorageSaveData done [13:08:46]OFDSenderStorePacket done [13:08:46]KKMCreateOFDPacket done [13:08:46]NVStorageSaveData kkm_last_timestamp [13:08:46]File name is /storage/kkm_last_timestamp [13:08:46]Write 4 bytes [13:08:46]NVStorageSaveData done [13:08:46]ExternCall_PrintAddStr [13:08:46]wPrintStart [13:08:46]Write to MH i2c: 01 00 00 86 01 87 [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: 01 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: 01 07 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: 01 07 00 86 01 00 00 00 00 00 FF 0F 9C [13:08:46]RasterBufferAndPrint [13:08:46]line ОсОО Тренд Ойл [13:08:46]line Добро пожаловать [13:08:46]line Отчет о закрытии смены [13:08:46]line ФФД: 1.0 [13:08:46]line ИНН: 02004201810074 [13:08:46]line Кассир: Сергей Смирнов [13:08:46]line 05.10.2023 13:08 [13:08:46]line Смена: 1 [13:08:46]line РНМ: 0000000000108361 [13:08:46]line ЗНМ: 0300000176 [13:08:46]line СНО: Общий режим [13:08:46]line Чеков за смену: 2 [13:08:46]line ФД за смену: 4 [13:08:46]line ОсОО "Тренд Ойл" [13:08:46]line Всего чеков: 2 [13:08:46]line ИТОГИ ПРИХОД [13:08:46]line Чеков: 1 [13:08:46]line Общий итог: 1.00 [13:08:46]line Итого наличными: 1.00 [13:08:46]line Итого безнал.: 0.00 [13:08:46]line НДС 0% : 0.00 [13:08:46]line НДС 12% : 0.11 [13:08:46]line НСП 0% : 0.00 [13:08:46]line НСП 1,50% : 0.00 [13:08:46]line НСП 0,50% : 0.00 [13:08:46]line НСП 5% : 0.00 [13:08:46]line НСП 3% : 0.00 [13:08:46]line НСП 2% : 0.00 [13:08:46]line НСП 1% : 0.01 [13:08:46]line ИТОГИ ВОЗВРАТ ПРИХОДА [13:08:46]line Чеков: 1 [13:08:46]line Общий итог: 1.00 [13:08:46]line Итого наличными: 1.00 [13:08:46]line Итого безнал.: 0.00 [13:08:46]line НДС 0% : 0.00 [13:08:46]line НДС 12% : 0.11 [13:08:46]line НСП 0% : 0.00 [13:08:46]line НСП 1,50% : 0.00 [13:08:46]line НСП 0,50% : 0.00 [13:08:46]line НСП 5% : 0.00 [13:08:46]line НСП 3% : 0.00 [13:08:46]line НСП 2% : 0.00 [13:08:46]line НСП 1% : 0.01 [13:08:46]line ИТОГИ РАСХОД [13:08:46]line Чеков: 0 [13:08:46]line Общий итог: 0.00 [13:08:46]line Итого наличными: 0.00 [13:08:46]line Итого безнал.: 0.00 [13:08:46]line НДС 0% : 0.00 [13:08:46]line НДС 12% : 0.00 [13:08:46]line НСП 0% : 0.00 [13:08:46]line НСП 1,50% : 0.00 [13:08:46]line НСП 0,50% : 0.00 [13:08:46]line НСП 5% : 0.00 [13:08:46]line НСП 3% : 0.00 [13:08:46]line НСП 2% : 0.00 [13:08:46]line НСП 1% : 0.00 [13:08:46]line ИТОГИ ВОЗВРАТ РАСХОДА [13:08:46]line Чеков: 0 [13:08:46]line Общий итог: 0.00 [13:08:46]line Итого наличными: 0.00 [13:08:46]line Итого безнал.: 0.00 [13:08:46]line НДС 0% : 0.00 [13:08:46]line НДС 12% : 0.00 [13:08:46]line НСП 0% : 0.00 [13:08:46]line НСП 1,50% : 0.00 [13:08:46]line НСП 0,50% : 0.00 [13:08:46]line НСП 5% : 0.00 [13:08:46]line НСП 3% : 0.00 [13:08:46]line НСП 2% : 0.00 [13:08:46]line НСП 1% : 0.00 [13:08:46]line *** СПАСИБО *** [13:08:46]line Сумма внесений: 0.00 [13:08:46]line Сумма выплат: 0.00 [13:08:46]line Нал. в кассе: 0.00 [13:08:46]line НС Приход: 1.00 [13:08:46]line НС Возвр.Прихода: 1.00 [13:08:46]line НС Расход: 0.00 [13:08:46]line НС Возвр.Расхода: 0.00 [13:08:46]line ФД: 5 [13:08:46]line ФМ: 0000000000965627 [13:08:46]line ФПД: 238604050133723 [13:08:46]line *** ЖДЕМ ВАС ОПЯТЬ *** [13:08:46]written 0, free lines is 4095 [13:08:46]OFD Sender: Processing packet 5 [packets to send 1, broken 0] [13:08:46]ProducePacketName [13:08:46]name=ofd_packets/00000005 [13:08:46]OFD Sender: To server: pG, [13:08:46]CommunicateWithHost lk.salyk.kg:30040 [13:08:46]ConnectInit lk.salyk.kg [13:08:47]Connected sock=10 [13:08:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 74 05 00 00 48 DC 6C 05 71 C8 5A 05 01 00 05 00 60 05 B9 04 01 00 01 FA 03 0E 00 30 32 30 30 34 32 30 31 38 31 30 30 37 34 FD 03 1B 00 D0 A1 D0 B5 D1 80 D0 B3 D0 B5 D0 B9 20 D0 A1 D0 BC D0 B8 D1 80 D0 BD D0 BE D0 B2 F4 03 04 00 57 B5 1E 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 33 36 31 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 35 36 32 37 35 04 06 00 D9 02 55 A6 72 DB CC AD 5A EC 17 CD A0 59 [13:08:47]Write to MH i2c: 01 00 00 DB 01 DC [13:08:47]Write i2c OK [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: 01 [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: 01 07 00 [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: 01 07 00 DB 01 00 00 00 00 00 08 0B F6 [13:08:47]RasterBufferAndPrint [13:08:47]line [13:08:47]line [13:08:47]line [13:08:47]line [13:08:47]line [13:08:47]written 0, free lines is 2891 [13:08:47]MH_Cut [13:08:47]Write to MH i2c: D1 01 00 E2 01 01 B5 [13:08:47]Write i2c OK [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: D1 [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: D1 01 00 [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: D1 01 00 E2 01 00 B4 [13:08:47]Write to MH i2c: 01 00 00 E3 01 E4 [13:08:47]Write i2c OK [13:08:47]MH_I2C_Read... [13:08:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 4F 00 00 00 45 DC 47 00 77 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 10 04 04 00 05 00 00 00 F4 03 04 00 01 61 1E 65 B6 04 01 00 00 53 40 B0 EF C3 DB 53 81 [13:08:48]CommunicateWithHost err = 0 [13:08:48]CheckOFDResponse [13:08:48]1017 (14) - 77093643461234 [13:08:48]1041 (16) - 0000000000965627 [13:08:48]1040 (4) - 5 [13:08:48]1012 (4) - 05.10.2023 07:08 [13:08:48]1206 (1) - 0 [13:08:48]OFD Sender: Remove packet 5 [13:08:48]ProducePacketName [13:08:48]name=ofd_packets/00000005 [13:08:48]NVStorageDeleteData [13:08:48]OFD Sender: No OFD packet to send [13:08:48]*** Cut start [13:08:48]*** Partial cut [13:08:48]*** CUTSNS_PIN = 1 [13:08:48]*** CUTSNS_PIN = 0 [13:08:49]*** Brake cut motor [13:08:49]Read from MH i2c: 01 [13:08:49]MH_I2C_Read... [13:08:49]*** Stop cut motor [13:08:49]*** Cut end [13:08:49]Read from MH i2c: 01 07 00 [13:08:49]MH_I2C_Read... [13:08:49]Read from MH i2c: 01 07 00 E3 01 00 00 00 00 00 FF 0F F9 [13:08:49]process_action close_shift done [13:08:49]no requested_data - finishing processing [13:08:49]process_action_free close_shift [13:08:49]json_value_free [13:08:49]json_value_free done [13:08:49]process_json_proto returns [13:08:49]Send response to host [13:08:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [13:08:49]free response buf [13:08:49]execute_script done [13:08:49]execute_script returns [13:08:49]free content buf [13:08:49]Sock 8.Close socket [13:08:49]Sock 8.Thread stoped [13:08:53]OFD Sender: No OFD packet to send [13:08:58]OFD Sender: No OFD packet to send [13:09:03]OFD Sender: No OFD packet to send [13:09:08]OFD Sender: No OFD packet to send [13:09:13]OFD Sender: No OFD packet to send [13:09:18]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:43]OFD Sender: No OFD packet to send [13:09:48]OFD Sender: No OFD packet to send [13:09:53]OFD Sender: No OFD packet to send [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:43]OFD Sender: No OFD packet to send [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:38]OFD Sender: No OFD packet to send [13:15:43]OFD Sender: No OFD packet to send [13:15:48]OFD Sender: No OFD packet to send [13:15:53]OFD Sender: No OFD packet to send [13:15:58]OFD Sender: No OFD packet to send [13:16:03]OFD Sender: No OFD packet to send [13:16:08]OFD Sender: No OFD packet to send [13:16:13]OFD Sender: No OFD packet to send [13:16:18]OFD Sender: No OFD packet to send [13:16:23]OFD Sender: No OFD packet to send [13:16:28]OFD Sender: No OFD packet to send [13:16:33]OFD Sender: No OFD packet to send [13:16:38]OFD Sender: No OFD packet to send [13:16:43]OFD Sender: No OFD packet to send [13:16:48]OFD Sender: No OFD packet to send [13:16:53]OFD Sender: No OFD packet to send [13:16:58]OFD Sender: No OFD packet to send [13:17:03]OFD Sender: No OFD packet to send [13:17:08]OFD Sender: No OFD packet to send [13:17:14]OFD Sender: No OFD packet to send [13:17:19]OFD Sender: No OFD packet to send [13:17:24]OFD Sender: No OFD packet to send [13:17:29]OFD Sender: No OFD packet to send [13:17:34]OFD Sender: No OFD packet to send [13:17:39]OFD Sender: No OFD packet to send [13:17:44]OFD Sender: No OFD packet to send [13:17:49]OFD Sender: No OFD packet to send [13:17:54]OFD Sender: No OFD packet to send [13:17:59]OFD Sender: No OFD packet to send [13:18:04]OFD Sender: No OFD packet to send [13:18:09]OFD Sender: No OFD packet to send [13:18:14]OFD Sender: No OFD packet to send [13:18:19]OFD Sender: No OFD packet to send [13:18:24]OFD Sender: No OFD packet to send [13:18:29]OFD Sender: No OFD packet to send [13:18:34]OFD Sender: No OFD packet to send [13:18:39]OFD Sender: No OFD packet to send [13:18:44]OFD Sender: No OFD packet to send [13:18:49]OFD Sender: No OFD packet to send [13:18:54]OFD Sender: No OFD packet to send [13:18:59]OFD Sender: No OFD packet to send [13:19:04]OFD Sender: No OFD packet to send [13:19:09]OFD Sender: No OFD packet to send [13:19:14]OFD Sender: No OFD packet to send [13:19:19]OFD Sender: No OFD packet to send [13:19:24]OFD Sender: No OFD packet to send [13:19:29]OFD Sender: No OFD packet to send [13:19:34]OFD Sender: No OFD packet to send [13:19:39]OFD Sender: No OFD packet to send [13:19:44]OFD Sender: No OFD packet to send [13:19:49]OFD Sender: No OFD packet to send [13:19:54]OFD Sender: No OFD packet to send [13:19:59]OFD Sender: No OFD packet to send [13:20:04]OFD Sender: No OFD packet to send [13:20:09]OFD Sender: No OFD packet to send [13:20:14]OFD Sender: No OFD packet to send [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:54]OFD Sender: No OFD packet to send [13:20:59]OFD Sender: No OFD packet to send [13:21:04]OFD Sender: No OFD packet to send [13:21:09]OFD Sender: No OFD packet to send [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:29]OFD Sender: No OFD packet to send [13:21:34]OFD Sender: No OFD packet to send [00:40:44] *** EcrCore started. Build 196 *** [00:40:44]/dev/ttyS4 opened [00:40:44]MH_InterfaceInit /dev/i2c-1 [00:40:44]Malloc ok [00:40:44]MH_GetMetrics [00:40:44]Write to MH i2c: 00 00 00 01 00 00 [00:40:44]Write i2c OK [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: 00 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: 00 29 00 [00:40:44]MH_I2C_Read... [00:40:44]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 A9 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 4D [00:40:44]Are we in boot? [00:40:44]We are not in boot now [00:40:44]Write to MH i2c: 01 00 00 02 00 02 [00:40:44]Write i2c OK [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: 01 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: 01 07 00 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: 01 07 00 02 00 00 00 00 00 00 FF 0F 17 [00:40:44]Model is 3 [00:40:44]MH firmware is 30620 [00:40:44]MH boot firmware is 3 [00:40:44]MH_SetPrinterDots 448 [00:40:44]HeadWidthInBytes 56 [00:40:44]maxmasksize 7 [00:40:44]Write to MH i2c: D6 06 00 03 00 41 00 40 00 FF FF 5D [00:40:44]Write i2c OK [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: D6 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: D6 01 00 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: D6 01 00 03 00 00 D9 [00:40:44]Write to MH i2c: D5 00 00 04 00 D8 [00:40:44]Write i2c OK [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: D5 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: D5 01 00 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: D5 01 00 04 00 00 D9 [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]LoadDictionaryFromArray [00:40:44]Load OK [00:40:44]ExternCall_SetCallbacks [00:40:44]NVStorageInit [00:40:44]MH_GetDate [00:40:44]Write to MH i2c: F0 00 00 05 00 F4 [00:40:44]Write i2c OK [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: F0 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: F0 09 00 [00:40:44]MH_I2C_Read... [00:40:44]Read from MH i2c: F0 09 00 05 00 00 6C B8 1E 65 47 AC 1E 65 1A [13:21:48]Current date/time: 05.10.2023 13:21 [13:21:48]FM_Init [13:21:48]wFMConnect [13:21:48]MH_SAM_On [13:21:48]Write to MH i2c: E0 00 00 06 00 E5 [13:21:48]Write i2c OK [13:21:48]MH_I2C_Read... [13:21:48]*** iso7816_init finished! [13:21:48]*** atr: [13:21:48]*** 0F 3B D5 18 FF 81 91 FE [13:21:48]*** 1F C3 80 73 C8 21 10 0A [13:21:48]*** 00 00 00 00 00 00 00 00 [13:21:48]*** 00 00 00 00 00 00 00 00 [13:21:48]*** 00 00 00 00 00 00 00 00 [13:21:48]*** 00 00 00 00 00 00 00 00 [13:21:48]*** 00 00 00 00 00 00 00 00 [13:21:48]*** 00 00 00 00 00 00 00 00 [13:21:48]Read from MH i2c: E0 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E0 10 00 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E0 10 00 06 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 04 [13:21:48]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [13:21:48]wFMCommunicate request_size=10 [13:21:48]MH_SAM_APDU [13:21:48]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [13:21:48]Write to MH i2c: E2 0D 00 07 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B1 [13:21:48]Write i2c OK [13:21:48]MH_I2C_Read... [13:21:48]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [13:21:48]Read from MH i2c: E2 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 03 00 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 03 00 07 00 00 90 00 7B [13:21:48]RAPDU: 90 00 [13:21:48]wFMCommunicate OK [13:21:48]wFMCommunicate request_size=4 [13:21:48]MH_SAM_APDU [13:21:48]CAPDU: 80 11 00 00 [13:21:48]Write to MH i2c: E2 08 00 08 00 80 11 00 00 00 00 00 00 82 [13:21:48]Write i2c OK [13:21:48]MH_I2C_Read... [13:21:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:21:48]Read from MH i2c: E2 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 17 00 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 17 00 08 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 D8 [13:21:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [13:21:48]wFMCommunicate OK [13:21:48]Detected FM SN is 0000000000965627 [13:21:48]Stored FM SN is 0000000000965627 [13:21:48]wFMCommunicate request_size=9 [13:21:48]MH_SAM_APDU [13:21:48]CAPDU: 80 16 00 00 04 D5 17 00 00 [13:21:48]Write to MH i2c: E2 0C 00 09 00 80 16 00 00 04 00 D5 17 00 00 00 00 7C [13:21:48]Write i2c OK [13:21:48]MH_I2C_Read... [13:21:48]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [13:21:48]Read from MH i2c: E2 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 03 00 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [13:21:48]RAPDU: 90 00 [13:21:48]wFMCommunicate OK [13:21:48]FM PIN OK [13:21:48]wFMCommunicate request_size=8 [13:21:48]MH_SAM_APDU [13:21:48]CAPDU: 80 14 04 00 03 02 00 01 [13:21:48]Write to MH i2c: E2 0B 00 0A 00 80 14 04 00 03 00 02 00 01 00 00 94 [13:21:48]Write i2c OK [13:21:48]MH_I2C_Read... [13:21:48]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [13:21:48]Read from MH i2c: E2 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 03 00 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 03 00 0A 00 00 90 00 7E [13:21:48]RAPDU: 90 00 [13:21:48]wFMCommunicate OK [13:21:48]wFMCommunicate request_size=13 [13:21:48]MH_SAM_APDU [13:21:48]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [13:21:48]Write to MH i2c: E2 10 00 0B 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 B9 [13:21:48]Write i2c OK [13:21:48]MH_I2C_Read... [13:21:48]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [13:21:48]Read from MH i2c: E2 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 03 00 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [13:21:48]RAPDU: 90 00 [13:21:48]wFMCommunicate OK [13:21:48]wFMCommunicate request_size=4 [13:21:48]MH_SAM_APDU [13:21:48]CAPDU: 80 11 00 00 [13:21:48]Write to MH i2c: E2 08 00 0C 00 80 11 00 00 00 00 00 00 86 [13:21:48]Write i2c OK [13:21:48]MH_I2C_Read... [13:21:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:21:48]Read from MH i2c: E2 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 17 00 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: E2 17 00 0C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 DC [13:21:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 32 37 90 00 [13:21:48]wFMCommunicate OK [13:21:48]DocumentArchiveInit [13:21:48]Start Httpd... [13:21:48]Httpd thread 3067878756 created [13:21:48]Write to MH i2c: 01 00 00 0D 00 0D [13:21:48]Write i2c OK [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: 01 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: 01 07 00 [13:21:48]MH_I2C_Read... [13:21:48]Read from MH i2c: 01 07 00 0D 00 00 00 00 00 00 FF 0F 22 [13:21:48]MH Int Process started [13:21:48]Allocated Socket 8 [13:21:48]Bind OK [13:21:48]Listen OK [13:21:48]httpd running on port 8080 [13:21:48]Waiting for new connection... [13:21:48]OFD Sender: No OFD packet to send [13:21:53]OFD Sender: No OFD packet to send [13:21:58]OFD Sender: No OFD packet to send [13:22:03]OFD Sender: No OFD packet to send [13:22:08]OFD Sender: No OFD packet to send [13:22:13]OFD Sender: No OFD packet to send