[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 EA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 8F [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725EA (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: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: 1651+0=1651 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0x20ff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33550624 [00:00:11]*** Is cutter blocked? [00:00:11]*** Cutter blocked [00:00:11]*** Cut unblock start [00:00:11]*** Set cut motor for full cut [00:00:11]*** Cutter successfully unblocked [00:00:11]*** Brake cut motor [00:00:11]*** Stop cut motor [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 EA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 90 [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 78 00 64 00 FF FF BA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]No nvstorage dir found. Trying to create it. [00:00:11]Nvstorage dir /storage created. [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 74 06 00 00 00 00 00 00 79 [00:27:32]Current date/time: 01.01.1970 00:27 [00:27:32]FM_Init [00:27:32]wFMConnect [00:27:32]MH_SAM_On [00:27:32]Write to MH i2c: E0 00 00 08 00 E7 [00:27:32]Write i2c OK [00:27:32]MH_I2C_Read... [00:27:32]*** iso7816_init failed -2820! [00:27:32]Read from MH i2c: E0 [00:27:32]MH_I2C_Read... [00:27:32]Read from MH i2c: E0 05 00 [00:27:32]MH_I2C_Read... [00:27:32]Read from MH i2c: E0 05 00 08 00 10 FC F4 FF FF EA [00:27:32]Error from MH - 10 [00:27:32]No FM detected - please insert FM [00:27:32]DocumentArchiveInit [00:27:32]Start Httpd... [00:27:32]Httpd thread 3067178340 created [00:27:32]Write to MH i2c: 01 00 00 09 00 09 [00:27:32]Write i2c OK [00:27:32]MH_I2C_Read... [00:27:32]Read from MH i2c: 01 [00:27:32]MH_I2C_Read... [00:27:32]Read from MH i2c: 01 07 00 [00:27:32]MH_I2C_Read... [00:27:32]Read from MH i2c: 01 07 00 09 00 00 00 00 00 00 FF 0F 1E [00:27:32]No OFD sender enable setting [00:27:32]Allocated Socket 5 [00:27:32]Bind OK [00:27:32]Listen OK [00:27:32]httpd running on port 8080 [00:27:32]Waiting for new connection... [00:27:32]MH Int Process started [00:27:37]No OFD sender enable setting [00:27:42]No OFD sender enable setting [00:27:44]*** Cut start [00:27:44]*** Partial cut [00:27:44]*** CUTSNS_PIN = 1 [00:27:44]*** CUTSNS_PIN = 0 [00:27:44]*** Brake cut motor [00:27:45]*** Stop cut motor [00:27:45]*** Cut end [00:27:45]*** Cut start [00:27:45]*** Partial cut [00:27:45]*** CUTSNS_PIN = 1 [00:27:45]*** CUTSNS_PIN = 0 [00:27:45]*** Brake cut motor [00:27:45]*** Stop cut motor [00:27:45]*** Cut end [00:27:46]*** Cut start [00:27:46]*** Partial cut [00:27:46]*** CUTSNS_PIN = 1 [00:27:46]*** CUTSNS_PIN = 0 [00:27:46]*** Brake cut motor [00:27:46]*** Stop cut motor [00:27:46]*** Cut end [00:27:47]No OFD sender enable setting [00:27:52]No OFD sender enable setting [00:27:57]No OFD sender enable setting [00:28:02]No OFD sender enable setting [00:28:07]No OFD sender enable setting [00:28:12]No OFD sender enable setting [00:28:13]*** Cut start [00:28:13]*** Partial cut [00:28:13]*** CUTSNS_PIN = 1 [00:28:13]*** CUTSNS_PIN = 0 [00:28:13]*** Brake cut motor [00:28:13]*** Stop cut motor [00:28:13]*** Cut end [00:28:17]No OFD sender enable setting [00:28:18]*** Cut start [00:28:18]*** Partial cut [00:28:18]*** CUTSNS_PIN = 1 [00:28:18]*** CUTSNS_PIN = 0 [00:28:19]*** Brake cut motor [00:28:19]*** Stop cut motor [00:28:19]*** Cut end [00:28:22]No OFD sender enable setting [00:28:27]No OFD sender enable setting [00:28:32]No OFD sender enable setting [00:28:37]No OFD sender enable setting [00:28:42]No OFD sender enable setting [00:28:43]*** Cut start [00:28:43]*** Partial cut [00:28:43]*** CUTSNS_PIN = 1 [00:28:43]*** CUTSNS_PIN = 0 [00:28:44]*** Brake cut motor [00:28:44]*** Stop cut motor [00:28:44]*** Cut end [00:28:46]*** Cut start [00:28:46]*** Partial cut [00:28:46]*** CUTSNS_PIN = 1 [00:28:46]*** CUTSNS_PIN = 0 [00:28:46]*** Brake cut motor [00:28:46]*** Stop cut motor [00:28:46]*** Cut end [00:28:47]No OFD sender enable setting [00:28:51]*** Cut start [00:28:51]*** Partial cut [00:28:51]*** CUTSNS_PIN = 1 [00:28:51]*** CUTSNS_PIN = 0 [00:28:51]*** Brake cut motor [00:28:51]*** Stop cut motor [00:28:51]*** Cut end [00:28:52]No OFD sender enable setting [00:28:54]*** Cut start [00:28:54]*** Partial cut [00:28:54]*** CUTSNS_PIN = 1 [00:28:54]*** CUTSNS_PIN = 0 [00:28:54]*** Brake cut motor [00:28:54]*** Stop cut motor [00:28:54]*** Cut end [00:28:56]*** Cut start [00:28:56]*** Partial cut [00:28:56]*** CUTSNS_PIN = 1 [00:28:56]*** CUTSNS_PIN = 0 [00:28:56]*** Brake cut motor [00:28:57]No OFD sender enable setting [00:28:57]*** Stop cut motor [00:28:57]*** Cut end [00:28:59]*** Cut start [00:28:59]*** Partial cut [00:28:59]*** CUTSNS_PIN = 1 [00:28:59]*** CUTSNS_PIN = 0 [00:28:59]*** Brake cut motor [00:29:00]*** Stop cut motor [00:29:00]*** Cut end [00:29:02]No OFD sender enable setting [00:29:07]No OFD sender enable setting [00:29:12]No OFD sender enable setting [00:29:17]No OFD sender enable setting [00:29:22]No OFD sender enable setting [00:29:27]No OFD sender enable setting [00:29:32]No OFD sender enable setting [00:29:37]No OFD sender enable setting [00:29:42]No OFD sender enable setting [00:29:47]No OFD sender enable setting [00:29:52]No OFD sender enable setting [00:29:57]No OFD sender enable setting [00:30:02]No OFD sender enable setting [00:30:07]No OFD sender enable setting [00:30:12]No OFD sender enable setting [00:30:17]No OFD sender enable setting [00:30:22]No OFD sender enable setting [00:30:27]No OFD sender enable setting [00:30:32]No OFD sender enable setting [00:30:37]No OFD sender enable setting [00:30:42]No OFD sender enable setting [00:30:47]No OFD sender enable setting [00:30:52]No OFD sender enable setting [00:30:57]No OFD sender enable setting [00:31:02]No OFD sender enable setting [00:31:07]No OFD sender enable setting [00:31:12]No OFD sender enable setting [00:31:17]No OFD sender enable setting [00:31:22]No OFD sender enable setting [00:31:27]No OFD sender enable setting [00:31:32]No OFD sender enable setting [00:31:37]No OFD sender enable setting [00:31:42]No OFD sender enable setting [00:31:47]No OFD sender enable setting [00:31:52]No OFD sender enable setting [09:49:27]OFD Sender: No OFD packet to send [09:49:29]ConnectInit Can't connect to host [09:49:32]OFD Sender: No OFD packet to send [09:49:37]OFD Sender: No OFD packet to send [09:49:42]OFD Sender: No OFD packet to send [09:49:47]OFD Sender: No OFD packet to send [09:49:52]OFD Sender: No OFD packet to send [09:49:57]OFD Sender: No OFD packet to send [09:50:02]OFD Sender: No OFD packet to send [09:50:07]OFD Sender: No OFD packet to send [09:50:12]OFD Sender: No OFD packet to send [09:50:17]OFD Sender: No OFD packet to send [09:50:22]OFD Sender: No OFD packet to send [09:50:27]OFD Sender: No OFD packet to send [09:50:32]OFD Sender: No OFD packet to send [09:50:37]OFD Sender: No OFD packet to send [09:50:42]OFD Sender: No OFD packet to send [09:50:47]OFD Sender: No OFD packet to send [09:50:52]OFD Sender: No OFD packet to send [09:50:57]OFD Sender: No OFD packet to send [09:51:02]OFD Sender: No OFD packet to send [09:51:07]OFD Sender: No OFD packet to send [09:51:12]OFD Sender: No OFD packet to send [09:51:17]OFD Sender: No OFD packet to send [09:51:22]OFD Sender: No OFD packet to send [09:51:27]OFD Sender: No OFD packet to send [09:51:32]OFD Sender: No OFD packet to send [09:51:37]OFD Sender: No OFD packet to send [09:51:42]OFD Sender: No OFD packet to send [09:51:47]OFD Sender: No OFD packet to send [09:51:52]OFD Sender: No OFD packet to send [09:51:57]OFD Sender: No OFD packet to send [09:52:02]OFD Sender: No OFD packet to send [09:52:07]OFD Sender: No OFD packet to send [09:52:12]OFD Sender: No OFD packet to send [09:52:17]OFD Sender: No OFD packet to send [09:52:22]OFD Sender: No OFD packet to send [09:52:27]OFD Sender: No OFD packet to send [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:53]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:23]OFD Sender: No OFD packet to send [09:57:28]OFD Sender: No OFD packet to send [09:57:33]OFD Sender: No OFD packet to send [09:57:38]OFD Sender: No OFD packet to send [09:57:43]OFD Sender: No OFD packet to send [09:57:48]OFD Sender: No OFD packet to send [09:57:50]accept exits with 10 [09:57:50]New connection [09:57:50]New thread 3066752356 created [09:57:50]Thread 3066895716 joined [09:57:50]Waiting for new connection... [09:57:50]accept exits with 8 [09:57:50]New connection [09:57:50]New thread 3066895716 created [09:57:50]Waiting for new connection... [09:57:50] Sock 8.Parse request [09:57:50]Sock 8.Check first char [09:57:50] Sock 10.Parse request [09:57:50]Sock 10.Check first char [09:57:50]Sock 10.First char is OK [09:57:50]request: GET /testengine HTTP/1.1 [09:57:50]Method: GET [09:57:50]URL: /testengine [09:57:50]Method is GET - find url and querystring [09:57:50]No ? found - this is static page request [09:57:50]url: /testengine [09:57:50]check /htdocs/testengine [09:57:50]file exist [09:57:50]serve_file /htdocs/testengine/index.html [09:57:50]read remaining request lines [09:57:50]Host: 192.168.0.101:8080 [09:57:50]Connection: keep-alive [09:57:50]Upgrade-Insecure-Requests: 1 [09:57:50]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:57:50]Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 [09:57:50]Accept-Encoding: gzip, deflate [09:57:50]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:57:50] [09:57:50]open file /htdocs/testengine/index.html [09:57:50]send HTTP headers [09:57:50]send file content [09:57:50]Finished. Sent 1003 bytes [09:57:50]close file [09:57:50]Sock 10.Close socket [09:57:50]Sock 10.Thread stoped [09:57:50]Sock 8.First char is OK [09:57:50]request: GET /testengine/css/chunk-vendors.1a13a212.css HTTP/1.1 [09:57:50]Method: GET [09:57:50]URL: /testengine/css/chunk-vendors.1a13a212.css [09:57:50]Method is GET - find url and querystring [09:57:50]No ? found - this is static page request [09:57:50]url: /testengine/css/chunk-vendors.1a13a212.css [09:57:50]check /htdocs/testengine/css/chunk-vendors.1a13a212.css [09:57:50]accept exits with 9 [09:57:50]New connection [09:57:50]New thread 3066608996 created [09:57:50]Thread 3066752356 joined [09:57:50]Waiting for new connection... [09:57:50] Sock 9.Parse request [09:57:50]Sock 9.Check first char [09:57:50]Sock 9.First char is OK [09:57:50]request: GET /testengine/js/app.a9c38288.js HTTP/1.1 [09:57:50]Method: GET [09:57:50]accept exits with 10 [09:57:50]URL: /testengine/js/app.a9c38288.js [09:57:50]New connection [09:57:50]Method is GET - find url and querystring [09:57:50]No ? found - this is static page request [09:57:50]url: /testengine/js/app.a9c38288.js [09:57:50]New thread 3066752356 created [09:57:50]check /htdocs/testengine/js/app.a9c38288.js [09:57:50]Waiting for new connection... [09:57:50]file exist [09:57:50]serve_file /htdocs/testengine/css/chunk-vendors.1a13a212.css [09:57:50]read remaining request lines [09:57:50]Host: 192.168.0.101:8080 [09:57:50]Connection: keep-alive [09:57:50]file exist [09:57:50]serve_file /htdocs/testengine/js/app.a9c38288.js [09:57:50]read remaining request lines [09:57:50]Host: 192.168.0.101:8080 [09:57:50]Connection: keep-alive [09:57:50]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:57:50]Accept: */* [09:57:50]Referer: http://192.168.0.101:8080/testengine [09:57:50]Accept-Encoding: gzip, deflate [09:57:50]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:57:50] [09:57:50]open file /htdocs/testengine/js/app.a9c38288.js [09:57:50]send HTTP headers [09:57:50]send file content [09:57:50]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:57:50]Accept: text/css,*/*;q=0.1 [09:57:50]Referer: http://192.168.0.101:8080/testengine [09:57:50]Accept-Encoding: gzip, deflate [09:57:50]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:57:50] [09:57:50]open file /htdocs/testengine/css/chunk-vendors.1a13a212.css [09:57:50]send HTTP headers [09:57:50]send file content [09:57:50]accept exits with 12 [09:57:50]New connection [09:57:50]New thread 3066465636 created [09:57:50]Waiting for new connection... [09:57:50] Sock 10.Parse request [09:57:50]Sock 10.Check first char [09:57:50]Sock 10.First char is OK [09:57:50]request: GET /testengine/js/chunk-vendors.8f546e50.js HTTP/1.1 [09:57:50]Method: GET [09:57:50]URL: /testengine/js/chunk-vendors.8f546e50.js [09:57:50]Method is GET - find url and querystring [09:57:50]No ? found - this is static page request [09:57:50]url: /testengine/js/chunk-vendors.8f546e50.js [09:57:50]check /htdocs/testengine/js/chunk-vendors.8f546e50.js [09:57:50]Finished. Sent 140 bytes [09:57:50]close file [09:57:50]Sock 8.Close socket [09:57:50]Sock 8.Thread stoped [09:57:50] Sock 12.Parse request [09:57:50]Sock 12.Check first char [09:57:50]Sock 12.First char is OK [09:57:50]request: GET /testengine/css/app.915bc88f.css HTTP/1.1 [09:57:50]Method: GET [09:57:50]URL: /testengine/css/app.915bc88f.css [09:57:50]Method is GET - find url and querystring [09:57:50]No ? found - this is static page request [09:57:50]url: /testengine/css/app.915bc88f.css [09:57:50]check /htdocs/testengine/css/app.915bc88f.css [09:57:50]file exist [09:57:50]serve_file /htdocs/testengine/js/chunk-vendors.8f546e50.js [09:57:50]read remaining request lines [09:57:50]Host: 192.168.0.101:8080 [09:57:50]Connection: keep-alive [09:57:50]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:57:50]Accept: */* [09:57:50]Referer: http://192.168.0.101:8080/testengine [09:57:50]Accept-Encoding: gzip, deflate [09:57:50]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:57:50] [09:57:50]open file /htdocs/testengine/js/chunk-vendors.8f546e50.js [09:57:50]send HTTP headers [09:57:50]send file content [09:57:50]file exist [09:57:50]serve_file /htdocs/testengine/css/app.915bc88f.css [09:57:50]read remaining request lines [09:57:50]Host: 192.168.0.101:8080 [09:57:50]Connection: keep-alive [09:57:50]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:57:50]Accept: text/css,*/*;q=0.1 [09:57:50]Referer: http://192.168.0.101:8080/testengine [09:57:50]Accept-Encoding: gzip, deflate [09:57:50]Finished. Sent 102400 bytes [09:57:50]close file [09:57:50]Sock 9.Close socket [09:57:50]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:57:50] [09:57:50]Sock 9.Thread stoped [09:57:50]open file /htdocs/testengine/css/app.915bc88f.css [09:57:50]send HTTP headers [09:57:50]Finished. Sent 165537 bytes [09:57:50]close file [09:57:50]Sock 10.Close socket [09:57:50]send file content [09:57:50]Sock 10.Thread stoped [09:57:50]Finished. Sent 1227 bytes [09:57:50]close file [09:57:50]Sock 12.Close socket [09:57:50]Sock 12.Thread stoped [09:57:50]accept exits with 15 [09:57:50]New connection [09:57:50]New thread 3066322276 created [09:57:50]Thread 3066895716 joined [09:57:50]Thread 3066608996 joined [09:57:50]Thread 3066752356 joined [09:57:50]Thread 3066465636 joined [09:57:50]Waiting for new connection... [09:57:50] Sock 15.Parse request [09:57:50]Sock 15.Check first char [09:57:50]Sock 15.First char is OK [09:57:50]request: GET /testengine/favicon.ico HTTP/1.1 [09:57:50]Method: GET [09:57:50]URL: /testengine/favicon.ico [09:57:50]Method is GET - find url and querystring [09:57:50]No ? found - this is static page request [09:57:50]url: /testengine/favicon.ico [09:57:50]check /htdocs/testengine/favicon.ico [09:57:50]file exist [09:57:50]serve_file /htdocs/testengine/favicon.ico [09:57:50]read remaining request lines [09:57:50]Host: 192.168.0.101:8080 [09:57:50]Connection: keep-alive [09:57:50]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:57:50]Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 [09:57:50]Referer: http://192.168.0.101:8080/testengine [09:57:50]Accept-Encoding: gzip, deflate [09:57:50]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:57:50] [09:57:50]open file /htdocs/testengine/favicon.ico [09:57:50]send HTTP headers [09:57:50]send file content [09:57:50]Finished. Sent 4286 bytes [09:57:50]close file [09:57:50]Sock 15.Close socket [09:57:50]Sock 15.Thread stoped [09:57:53]OFD Sender: No OFD packet to send [09:57:54]accept exits with 8 [09:57:54]New connection [09:57:54]New thread 3066895716 created [09:57:54]Thread 3066322276 joined [09:57:54]Waiting for new connection... [09:57:54] Sock 8.Parse request [09:57:54]Sock 8.Check first char [09:57:58]OFD Sender: No OFD packet to send [09:58:01]Sock 8.First char is OK [09:58:01]request: POST /json_proto HTTP/1.1 [09:58:01]Method: POST [09:58:01]URL: /json_proto [09:58:01]Method is POST - this is cgi request [09:58:01]url: /json_proto [09:58:01]query_string will be loaded in cgi processing [09:58:01]execute_cgi json_proto POST (null) [09:58:01]execute_cgi path=json_proto method=POST [09:58:01]POST find Content-Length [09:58:01]Host: 192.168.0.101:8080 [09:58:01]Connection: keep-alive [09:58:01]Content-Length: 158 [09:58:01]Accept: application/json, text/plain, */* [09:58:01]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:01]Content-Type: application/json [09:58:01]Origin: http://192.168.0.101:8080 [09:58:01]Referer: http://192.168.0.101:8080/testengine [09:58:01]Accept-Encoding: gzip, deflate [09:58:01]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:01] [09:58:01]POST finish read [09:58:01]Found Content-Length = 158 [09:58:01]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?"}}} [09:58:01]execute_script... [09:58:01]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?"}}} [09:58:01]POST & json_proto [09:58:01]process_json_proto [09:58:01]json parsed OK: [09:58:01]protocol is kg_v1.0 [09:58:01]action value=set_value [09:58:01]process_action set_value [09:58:01]cmd_set_value [09:58:01]SetValue [09:58:01]group config [09:58:01]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:01]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:01]NVStorageSaveData config_qr_uri [09:58:01]File name is /storage/config_qr_uri [09:58:01]Write 58 bytes [09:58:01]NVStorageSaveData done [09:58:01]SetValue res=0 [09:58:01]process_action set_value done [09:58:01]no requested_data - finishing processing [09:58:01]process_action_free set_value [09:58:01]json_value_free [09:58:01]json_value_free done [09:58:01]process_json_proto returns [09:58:01]Send response to host [09:58:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:01]free response buf [09:58:01]execute_script done [09:58:01]execute_script returns [09:58:01]free content buf [09:58:01]Sock 8.Close socket [09:58:01]Sock 8.Thread stoped [09:58:02]accept exits with 9 [09:58:02]New connection [09:58:02]New thread 3066752356 created [09:58:02]Thread 3066895716 joined [09:58:02]Waiting for new connection... [09:58:02] Sock 9.Parse request [09:58:02]Sock 9.Check first char [09:58:02]Sock 9.First char is OK [09:58:02]request: POST /json_proto HTTP/1.1 [09:58:02]Method: POST [09:58:02]URL: /json_proto [09:58:02]Method is POST - this is cgi request [09:58:02]url: /json_proto [09:58:02]query_string will be loaded in cgi processing [09:58:02]execute_cgi json_proto POST (null) [09:58:02]execute_cgi path=json_proto method=POST [09:58:02]POST find Content-Length [09:58:02]Host: 192.168.0.101:8080 [09:58:02]Connection: keep-alive [09:58:02]Content-Length: 158 [09:58:02]Accept: application/json, text/plain, */* [09:58:02]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:02]Content-Type: application/json [09:58:02]Origin: http://192.168.0.101:8080 [09:58:02]Referer: http://192.168.0.101:8080/testengine [09:58:02]Accept-Encoding: gzip, deflate [09:58:02]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:02] [09:58:02]POST finish read [09:58:02]Found Content-Length = 158 [09:58:02]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?"}}} [09:58:02]execute_script... [09:58:02]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?"}}} [09:58:02]POST & json_proto [09:58:02]process_json_proto [09:58:02]json parsed OK: [09:58:02]protocol is kg_v1.0 [09:58:02]action value=set_value [09:58:02]process_action set_value [09:58:02]cmd_set_value [09:58:02]SetValue [09:58:02]group config [09:58:02]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:02]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:02]NVStorageSaveData config_qr_uri [09:58:02]File name is /storage/config_qr_uri [09:58:02]Write 58 bytes [09:58:02]NVStorageSaveData done [09:58:02]SetValue res=0 [09:58:02]process_action set_value done [09:58:02]no requested_data - finishing processing [09:58:02]process_action_free set_value [09:58:02]json_value_free [09:58:02]json_value_free done [09:58:02]process_json_proto returns [09:58:02]Send response to host [09:58:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:02]free response buf [09:58:02]execute_script done [09:58:02]execute_script returns [09:58:02]free content buf [09:58:02]Sock 9.Close socket [09:58:02]Sock 9.Thread stoped [09:58:02]accept exits with 8 [09:58:02]New connection [09:58:02]New thread 3066895716 created [09:58:02]Thread 3066752356 joined [09:58:02]Waiting for new connection... [09:58:02] Sock 8.Parse request [09:58:02]Sock 8.Check first char [09:58:02]Sock 8.First char is OK [09:58:02]request: POST /json_proto HTTP/1.1 [09:58:02]Method: POST [09:58:02]URL: /json_proto [09:58:02]Method is POST - this is cgi request [09:58:02]url: /json_proto [09:58:02]query_string will be loaded in cgi processing [09:58:02]execute_cgi json_proto POST (null) [09:58:02]execute_cgi path=json_proto method=POST [09:58:02]POST find Content-Length [09:58:02]Host: 192.168.0.101:8080 [09:58:02]Connection: keep-alive [09:58:02]Content-Length: 158 [09:58:02]Accept: application/json, text/plain, */* [09:58:02]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:02]Content-Type: application/json [09:58:02]Origin: http://192.168.0.101:8080 [09:58:02]Referer: http://192.168.0.101:8080/testengine [09:58:02]Accept-Encoding: gzip, deflate [09:58:02]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:02] [09:58:02]POST finish read [09:58:02]Found Content-Length = 158 [09:58:02]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?"}}} [09:58:02]execute_script... [09:58:02]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?"}}} [09:58:02]POST & json_proto [09:58:02]process_json_proto [09:58:02]json parsed OK: [09:58:02]protocol is kg_v1.0 [09:58:02]action value=set_value [09:58:02]process_action set_value [09:58:02]cmd_set_value [09:58:02]SetValue [09:58:02]group config [09:58:02]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:02]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:02]NVStorageSaveData config_qr_uri [09:58:02]File name is /storage/config_qr_uri [09:58:02]Write 58 bytes [09:58:02]NVStorageSaveData done [09:58:02]SetValue res=0 [09:58:02]process_action set_value done [09:58:02]no requested_data - finishing processing [09:58:02]process_action_free set_value [09:58:02]json_value_free [09:58:02]json_value_free done [09:58:02]process_json_proto returns [09:58:02]Send response to host [09:58:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:02]free response buf [09:58:02]execute_script done [09:58:02]execute_script returns [09:58:02]free content buf [09:58:02]Sock 8.Close socket [09:58:02]Sock 8.Thread stoped [09:58:02]accept exits with 9 [09:58:02]New connection [09:58:02]New thread 3066752356 created [09:58:02]Thread 3066895716 joined [09:58:02]Waiting for new connection... [09:58:02] Sock 9.Parse request [09:58:02]Sock 9.Check first char [09:58:02]Sock 9.First char is OK [09:58:02]request: POST /json_proto HTTP/1.1 [09:58:02]Method: POST [09:58:02]URL: /json_proto [09:58:02]Method is POST - this is cgi request [09:58:02]url: /json_proto [09:58:02]query_string will be loaded in cgi processing [09:58:02]execute_cgi json_proto POST (null) [09:58:02]execute_cgi path=json_proto method=POST [09:58:02]POST find Content-Length [09:58:02]Host: 192.168.0.101:8080 [09:58:02]Connection: keep-alive [09:58:02]Content-Length: 158 [09:58:02]Accept: application/json, text/plain, */* [09:58:02]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:02]Content-Type: application/json [09:58:02]Origin: http://192.168.0.101:8080 [09:58:02]Referer: http://192.168.0.101:8080/testengine [09:58:02]Accept-Encoding: gzip, deflate [09:58:02]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:02] [09:58:02]POST finish read [09:58:02]Found Content-Length = 158 [09:58:02]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?"}}} [09:58:02]execute_script... [09:58:02]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?"}}} [09:58:02]POST & json_proto [09:58:02]process_json_proto [09:58:02]json parsed OK: [09:58:02]protocol is kg_v1.0 [09:58:02]action value=set_value [09:58:02]process_action set_value [09:58:02]cmd_set_value [09:58:02]SetValue [09:58:02]group config [09:58:02]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:02]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:02]NVStorageSaveData config_qr_uri [09:58:02]File name is /storage/config_qr_uri [09:58:02]Write 58 bytes [09:58:02]NVStorageSaveData done [09:58:02]SetValue res=0 [09:58:02]process_action set_value done [09:58:02]no requested_data - finishing processing [09:58:02]process_action_free set_value [09:58:02]json_value_free [09:58:02]json_value_free done [09:58:02]process_json_proto returns [09:58:02]Send response to host [09:58:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:02]free response buf [09:58:02]execute_script done [09:58:02]execute_script returns [09:58:02]free content buf [09:58:02]Sock 9.Close socket [09:58:02]Sock 9.Thread stoped [09:58:03]accept exits with 8 [09:58:03]New connection [09:58:03]New thread 3066895716 created [09:58:03]Thread 3066752356 joined [09:58:03]Waiting for new connection... [09:58:03] Sock 8.Parse request [09:58:03]Sock 8.Check first char [09:58:03]Sock 8.First char is OK [09:58:03]request: POST /json_proto HTTP/1.1 [09:58:03]Method: POST [09:58:03]URL: /json_proto [09:58:03]Method is POST - this is cgi request [09:58:03]url: /json_proto [09:58:03]query_string will be loaded in cgi processing [09:58:03]execute_cgi json_proto POST (null) [09:58:03]execute_cgi path=json_proto method=POST [09:58:03]POST find Content-Length [09:58:03]Host: 192.168.0.101:8080 [09:58:03]Connection: keep-alive [09:58:03]Content-Length: 158 [09:58:03]Accept: application/json, text/plain, */* [09:58:03]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:03]Content-Type: application/json [09:58:03]Origin: http://192.168.0.101:8080 [09:58:03]Referer: http://192.168.0.101:8080/testengine [09:58:03]Accept-Encoding: gzip, deflate [09:58:03]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:03] [09:58:03]POST finish read [09:58:03]Found Content-Length = 158 [09:58:03]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?"}}} [09:58:03]execute_script... [09:58:03]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?"}}} [09:58:03]POST & json_proto [09:58:03]process_json_proto [09:58:03]json parsed OK: [09:58:03]protocol is kg_v1.0 [09:58:03]action value=set_value [09:58:03]process_action set_value [09:58:03]cmd_set_value [09:58:03]SetValue [09:58:03]group config [09:58:03]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]NVStorageSaveData config_qr_uri [09:58:03]File name is /storage/config_qr_uri [09:58:03]Write 58 bytes [09:58:03]NVStorageSaveData done [09:58:03]SetValue res=0 [09:58:03]process_action set_value done [09:58:03]no requested_data - finishing processing [09:58:03]process_action_free set_value [09:58:03]json_value_free [09:58:03]json_value_free done [09:58:03]process_json_proto returns [09:58:03]Send response to host [09:58:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:03]free response buf [09:58:03]execute_script done [09:58:03]execute_script returns [09:58:03]free content buf [09:58:03]Sock 8.Close socket [09:58:03]Sock 8.Thread stoped [09:58:03]OFD Sender: No OFD packet to send [09:58:03]accept exits with 9 [09:58:03]New connection [09:58:03]New thread 3066752356 created [09:58:03]Thread 3066895716 joined [09:58:03]Waiting for new connection... [09:58:03] Sock 9.Parse request [09:58:03]Sock 9.Check first char [09:58:03]Sock 9.First char is OK [09:58:03]request: POST /json_proto HTTP/1.1 [09:58:03]Method: POST [09:58:03]URL: /json_proto [09:58:03]Method is POST - this is cgi request [09:58:03]url: /json_proto [09:58:03]query_string will be loaded in cgi processing [09:58:03]execute_cgi json_proto POST (null) [09:58:03]execute_cgi path=json_proto method=POST [09:58:03]POST find Content-Length [09:58:03]Host: 192.168.0.101:8080 [09:58:03]Connection: keep-alive [09:58:03]Content-Length: 158 [09:58:03]Accept: application/json, text/plain, */* [09:58:03]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:03]Content-Type: application/json [09:58:03]Origin: http://192.168.0.101:8080 [09:58:03]Referer: http://192.168.0.101:8080/testengine [09:58:03]Accept-Encoding: gzip, deflate [09:58:03]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:03] [09:58:03]POST finish read [09:58:03]Found Content-Length = 158 [09:58:03]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?"}}} [09:58:03]execute_script... [09:58:03]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?"}}} [09:58:03]POST & json_proto [09:58:03]process_json_proto [09:58:03]json parsed OK: [09:58:03]protocol is kg_v1.0 [09:58:03]action value=set_value [09:58:03]process_action set_value [09:58:03]cmd_set_value [09:58:03]SetValue [09:58:03]group config [09:58:03]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]NVStorageSaveData config_qr_uri [09:58:03]File name is /storage/config_qr_uri [09:58:03]Write 58 bytes [09:58:03]NVStorageSaveData done [09:58:03]SetValue res=0 [09:58:03]process_action set_value done [09:58:03]no requested_data - finishing processing [09:58:03]process_action_free set_value [09:58:03]json_value_free [09:58:03]json_value_free done [09:58:03]process_json_proto returns [09:58:03]Send response to host [09:58:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:03]free response buf [09:58:03]execute_script done [09:58:03]execute_script returns [09:58:03]free content buf [09:58:03]Sock 9.Close socket [09:58:03]Sock 9.Thread stoped [09:58:03]accept exits with 8 [09:58:03]New connection [09:58:03]New thread 3066895716 created [09:58:03]Thread 3066752356 joined [09:58:03]Waiting for new connection... [09:58:03] Sock 8.Parse request [09:58:03]Sock 8.Check first char [09:58:03]Sock 8.First char is OK [09:58:03]request: POST /json_proto HTTP/1.1 [09:58:03]Method: POST [09:58:03]URL: /json_proto [09:58:03]Method is POST - this is cgi request [09:58:03]url: /json_proto [09:58:03]query_string will be loaded in cgi processing [09:58:03]execute_cgi json_proto POST (null) [09:58:03]execute_cgi path=json_proto method=POST [09:58:03]POST find Content-Length [09:58:03]Host: 192.168.0.101:8080 [09:58:03]Connection: keep-alive [09:58:03]Content-Length: 158 [09:58:03]Accept: application/json, text/plain, */* [09:58:03]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:03]Content-Type: application/json [09:58:03]Origin: http://192.168.0.101:8080 [09:58:03]Referer: http://192.168.0.101:8080/testengine [09:58:03]Accept-Encoding: gzip, deflate [09:58:03]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:03] [09:58:03]POST finish read [09:58:03]Found Content-Length = 158 [09:58:03]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?"}}} [09:58:03]execute_script... [09:58:03]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?"}}} [09:58:03]POST & json_proto [09:58:03]process_json_proto [09:58:03]json parsed OK: [09:58:03]protocol is kg_v1.0 [09:58:03]action value=set_value [09:58:03]process_action set_value [09:58:03]cmd_set_value [09:58:03]SetValue [09:58:03]group config [09:58:03]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]NVStorageSaveData config_qr_uri [09:58:03]File name is /storage/config_qr_uri [09:58:03]Write 58 bytes [09:58:03]NVStorageSaveData done [09:58:03]SetValue res=0 [09:58:03]process_action set_value done [09:58:03]no requested_data - finishing processing [09:58:03]process_action_free set_value [09:58:03]json_value_free [09:58:03]json_value_free done [09:58:03]process_json_proto returns [09:58:03]Send response to host [09:58:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:03]free response buf [09:58:03]execute_script done [09:58:03]execute_script returns [09:58:03]free content buf [09:58:03]Sock 8.Close socket [09:58:03]Sock 8.Thread stoped [09:58:03]accept exits with 9 [09:58:03]New connection [09:58:03]New thread 3066752356 created [09:58:03]Thread 3066895716 joined [09:58:03]Waiting for new connection... [09:58:03] Sock 9.Parse request [09:58:03]Sock 9.Check first char [09:58:03]Sock 9.First char is OK [09:58:03]request: POST /json_proto HTTP/1.1 [09:58:03]Method: POST [09:58:03]URL: /json_proto [09:58:03]Method is POST - this is cgi request [09:58:03]url: /json_proto [09:58:03]query_string will be loaded in cgi processing [09:58:03]execute_cgi json_proto POST (null) [09:58:03]execute_cgi path=json_proto method=POST [09:58:03]POST find Content-Length [09:58:03]Host: 192.168.0.101:8080 [09:58:03]Connection: keep-alive [09:58:03]Content-Length: 158 [09:58:03]Accept: application/json, text/plain, */* [09:58:03]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:03]Content-Type: application/json [09:58:03]Origin: http://192.168.0.101:8080 [09:58:03]Referer: http://192.168.0.101:8080/testengine [09:58:03]Accept-Encoding: gzip, deflate [09:58:03]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:03] [09:58:03]POST finish read [09:58:03]Found Content-Length = 158 [09:58:03]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?"}}} [09:58:03]execute_script... [09:58:03]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?"}}} [09:58:03]POST & json_proto [09:58:03]process_json_proto [09:58:03]json parsed OK: [09:58:03]protocol is kg_v1.0 [09:58:03]action value=set_value [09:58:03]process_action set_value [09:58:03]cmd_set_value [09:58:03]SetValue [09:58:03]group config [09:58:03]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]NVStorageSaveData config_qr_uri [09:58:03]File name is /storage/config_qr_uri [09:58:03]Write 58 bytes [09:58:03]NVStorageSaveData done [09:58:03]SetValue res=0 [09:58:03]process_action set_value done [09:58:03]no requested_data - finishing processing [09:58:03]process_action_free set_value [09:58:03]json_value_free [09:58:03]json_value_free done [09:58:03]process_json_proto returns [09:58:03]Send response to host [09:58:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:03]free response buf [09:58:03]execute_script done [09:58:03]execute_script returns [09:58:03]free content buf [09:58:03]Sock 9.Close socket [09:58:03]Sock 9.Thread stoped [09:58:03]accept exits with 8 [09:58:03]New connection [09:58:03]New thread 3066895716 created [09:58:03]Thread 3066752356 joined [09:58:03]Waiting for new connection... [09:58:03] Sock 8.Parse request [09:58:03]Sock 8.Check first char [09:58:03]Sock 8.First char is OK [09:58:03]request: POST /json_proto HTTP/1.1 [09:58:03]Method: POST [09:58:03]URL: /json_proto [09:58:03]Method is POST - this is cgi request [09:58:03]url: /json_proto [09:58:03]query_string will be loaded in cgi processing [09:58:03]execute_cgi json_proto POST (null) [09:58:03]execute_cgi path=json_proto method=POST [09:58:03]POST find Content-Length [09:58:03]Host: 192.168.0.101:8080 [09:58:03]Connection: keep-alive [09:58:03]Content-Length: 158 [09:58:03]Accept: application/json, text/plain, */* [09:58:03]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:03]Content-Type: application/json [09:58:03]Origin: http://192.168.0.101:8080 [09:58:03]Referer: http://192.168.0.101:8080/testengine [09:58:03]Accept-Encoding: gzip, deflate [09:58:03]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:03] [09:58:03]POST finish read [09:58:03]Found Content-Length = 158 [09:58:03]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?"}}} [09:58:03]execute_script... [09:58:03]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?"}}} [09:58:03]POST & json_proto [09:58:03]process_json_proto [09:58:03]json parsed OK: [09:58:03]protocol is kg_v1.0 [09:58:03]action value=set_value [09:58:03]process_action set_value [09:58:03]cmd_set_value [09:58:03]SetValue [09:58:03]group config [09:58:03]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [09:58:03]NVStorageSaveData config_qr_uri [09:58:03]File name is /storage/config_qr_uri [09:58:03]Write 58 bytes [09:58:03]NVStorageSaveData done [09:58:03]SetValue res=0 [09:58:03]process_action set_value done [09:58:03]no requested_data - finishing processing [09:58:03]process_action_free set_value [09:58:03]json_value_free [09:58:03]json_value_free done [09:58:03]process_json_proto returns [09:58:03]Send response to host [09:58:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:58:03]free response buf [09:58:03]execute_script done [09:58:03]execute_script returns [09:58:03]free content buf [09:58:03]Sock 8.Close socket [09:58:03]Sock 8.Thread stoped [09:58:08]OFD Sender: No OFD packet to send [09:58:13]OFD Sender: No OFD packet to send [09:58:15]accept exits with 9 [09:58:15]New connection [09:58:15]New thread 3066752356 created [09:58:15]Thread 3066895716 joined [09:58:15]Waiting for new connection... [09:58:15] Sock 9.Parse request [09:58:15]Sock 9.Check first char [09:58:15]Sock 9.First char is OK [09:58:15]request: POST /json_proto HTTP/1.1 [09:58:15]Method: POST [09:58:15]URL: /json_proto [09:58:15]Method is POST - this is cgi request [09:58:15]url: /json_proto [09:58:15]query_string will be loaded in cgi processing [09:58:15]execute_cgi json_proto POST (null) [09:58:15]execute_cgi path=json_proto method=POST [09:58:15]POST find Content-Length [09:58:15]Host: 192.168.0.101:8080 [09:58:15]Connection: keep-alive [09:58:15]Content-Length: 253 [09:58:15]Accept: application/json, text/plain, */* [09:58:15]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:15]Content-Type: application/json [09:58:15]Origin: http://192.168.0.101:8080 [09:58:15]Referer: http://192.168.0.101:8080/testengine [09:58:15]Accept-Encoding: gzip, deflate [09:58:15]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:15] [09:58:15]POST finish read [09:58:15]Found Content-Length = 253 [09:58:15]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"]}} [09:58:15]execute_script... [09:58:15]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"]}} [09:58:15]POST & json_proto [09:58:15]process_json_proto [09:58:15]json parsed OK: [09:58:15]protocol is kg_v1.0 [09:58:15]action value=get_value [09:58:15]process_action get_value [09:58:15]cmd_get_value [09:58:15]process_action get_value done [09:58:15]requested_data is exist [09:58:15]produce_requested_data [09:58:15]requested_item kkm.sn is exist - process it [09:58:15]requested_item kkm.ver is exist - process it [09:58:15]requested_item kkm.rnm is exist - process it [09:58:15]SAM_PROTO_GetFieldsCounters [09:58:15]wFMCommunicate request_size=4 [09:58:15]MH_SAM_APDU [09:58:15]CAPDU: 80 13 00 00 [09:58:15]Write to MH i2c: E2 08 00 25 00 80 13 00 00 00 00 00 00 A1 [09:58:15]Write i2c OK [09:58:15]MH_I2C_Read... [09:58:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:58:15]Read from MH i2c: E2 [09:58:15]MH_I2C_Read... [09:58:15]Read from MH i2c: E2 62 00 [09:58:15]MH_I2C_Read... [09:58:15]Read from MH i2c: E2 62 00 25 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 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 A8 [09:58:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 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 [09:58:15]wFMCommunicate OK [09:58:15]SAM_PROTO_GetFieldsCounters done [09:58:15]requested_item fm.sn is exist - process it [09:58:15]wFMCommunicate request_size=4 [09:58:15]MH_SAM_APDU [09:58:15]CAPDU: 80 11 00 00 [09:58:15]Write to MH i2c: E2 08 00 26 00 80 11 00 00 00 00 00 00 A0 [09:58:15]Write i2c OK [09:58:15]MH_I2C_Read... [09:58:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:58:16]Read from MH i2c: E2 [09:58:16]MH_I2C_Read... [09:58:16]Read from MH i2c: E2 17 00 [09:58:16]MH_I2C_Read... [09:58:16]Read from MH i2c: E2 17 00 26 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 F3 [09:58:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 [09:58:16]wFMCommunicate OK [09:58:16]requested_item fm.ffd_ver is exist - process it [09:58:16]requested_item fm.expired is exist - process it [09:58:16]requested_item fd.num is exist - process it [09:58:16]requested_item shift.num is exist - process it [09:58:16]requested_item shift.opened is exist - process it [09:58:16]req_shift_opened [09:58:16]FM_GetShiftState [09:58:16]SAM_PROTO_GetShiftState [09:58:16]wFMCommunicate request_size=4 [09:58:16]MH_SAM_APDU [09:58:16]CAPDU: 80 13 01 00 [09:58:16]Write to MH i2c: E2 08 00 27 00 80 13 01 00 00 00 00 00 A4 [09:58:16]Write i2c OK [09:58:16]MH_I2C_Read... [09:58:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:16]Read from MH i2c: E2 [09:58:16]MH_I2C_Read... [09:58:16]Read from MH i2c: E2 0E 00 [09:58:16]MH_I2C_Read... [09:58:16]Read from MH i2c: E2 0E 00 27 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 AF [09:58:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [09:58:16]wFMCommunicate OK [09:58:16]SAM_PROTO_GetShiftState done [09:58:16]FM_GetShiftState done [09:58:16]req_shift_opened done [09:58:16]requested_item shift.open_date is exist - process it [09:58:16]req_shift_open_date [09:58:16]FM_GetShiftState [09:58:16]SAM_PROTO_GetShiftState [09:58:16]wFMCommunicate request_size=4 [09:58:16]MH_SAM_APDU [09:58:16]CAPDU: 80 13 01 00 [09:58:16]Write to MH i2c: E2 08 00 28 00 80 13 01 00 00 00 00 00 A5 [09:58:16]Write i2c OK [09:58:16]MH_I2C_Read... [09:58:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:16]Read from MH i2c: E2 [09:58:16]MH_I2C_Read... [09:58:16]Read from MH i2c: E2 0E 00 [09:58:16]MH_I2C_Read... [09:58:16]Read from MH i2c: E2 0E 00 28 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B0 [09:58:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [09:58:16]wFMCommunicate OK [09:58:16]SAM_PROTO_GetShiftState done [09:58:16]FM_GetShiftState done [09:58:16]req_shift_open_date done [09:58:16]requested_item shift.receipt_num is exist - process it [09:58:16]requested_item shift.receipts is exist - process it [09:58:16]requested_item shift.docs is exist - process it [09:58:16]produce_requested_data done [09:58:16]produce_requested_data return {"kkm.sn":"0300000057","kkm.ver":"v1.0","kkm.rnm":"","fm.sn":"0000000000959306","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} [09:58:16]process_action_free get_value [09:58:16]json_value_free [09:58:16]json_value_free done [09:58:16]process_json_proto returns [09:58:16]Send response to host [09:58:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000057","kkm.ver":"v1.0","kkm.rnm":"","fm.sn":"0000000000959306","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}}} [09:58:16]free response buf [09:58:16]execute_script done [09:58:16]execute_script returns [09:58:16]free content buf [09:58:16]Sock 9.Close socket [09:58:16]Sock 9.Thread stoped [09:58:18]OFD Sender: No OFD packet to send [09:58:23]OFD Sender: No OFD packet to send [09:58:23]accept exits with 8 [09:58:23]New connection [09:58:23]New thread 3066895716 created [09:58:23]Thread 3066752356 joined [09:58:23]Waiting for new connection... [09:58:23] Sock 8.Parse request [09:58:23]Sock 8.Check first char [09:58:23]Sock 8.First char is OK [09:58:23]request: POST /json_proto HTTP/1.1 [09:58:23]Method: POST [09:58:23]URL: /json_proto [09:58:23]Method is POST - this is cgi request [09:58:23]url: /json_proto [09:58:23]query_string will be loaded in cgi processing [09:58:23]execute_cgi json_proto POST (null) [09:58:23]execute_cgi path=json_proto method=POST [09:58:23]POST find Content-Length [09:58:23]Host: 192.168.0.101:8080 [09:58:23]Connection: keep-alive [09:58:23]Content-Length: 105 [09:58:23]Accept: application/json, text/plain, */* [09:58:23]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:23]Content-Type: application/json [09:58:23]Origin: http://192.168.0.101:8080 [09:58:23]Referer: http://192.168.0.101:8080/testengine [09:58:23]Accept-Encoding: gzip, deflate [09:58:23]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:23] [09:58:23]POST finish read [09:58:23]Found Content-Length = 105 [09:58:23]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [09:58:23]execute_script... [09:58:23]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [09:58:23]POST & json_proto [09:58:23]process_json_proto [09:58:23]json parsed OK: [09:58:23]protocol is kg_v1.0 [09:58:23]action value=get_value [09:58:23]process_action get_value [09:58:23]cmd_get_value [09:58:23]process_action get_value done [09:58:23]requested_data is exist [09:58:23]produce_requested_data [09:58:23]requested_item config.timestamp is exist - process it [09:58:23]MH_GetDate [09:58:23]Write to MH i2c: F0 00 00 29 00 18 [09:58:23]Write i2c OK [09:58:23]MH_I2C_Read... [09:58:23]Read from MH i2c: F0 [09:58:23]MH_I2C_Read... [09:58:23]Read from MH i2c: F0 09 00 [09:58:23]MH_I2C_Read... [09:58:23]Read from MH i2c: F0 09 00 29 00 00 BF 78 F1 65 38 75 F1 65 B1 [09:58:23]produce_requested_data done [09:58:23]produce_requested_data return {"config.timestamp":"1710323903"} [09:58:23]process_action_free get_value [09:58:23]json_value_free [09:58:23]json_value_free done [09:58:23]process_json_proto returns [09:58:23]Send response to host [09:58:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1710323903"}}} [09:58:23]free response buf [09:58:23]execute_script done [09:58:23]execute_script returns [09:58:23]free content buf [09:58:23]Sock 8.Close socket [09:58:23]Sock 8.Thread stoped [09:58:24]accept exits with 9 [09:58:24]New connection [09:58:24]New thread 3066752356 created [09:58:24]Thread 3066895716 joined [09:58:24]Waiting for new connection... [09:58:24] Sock 9.Parse request [09:58:24]Sock 9.Check first char [09:58:24]Sock 9.First char is OK [09:58:24]request: POST /json_proto HTTP/1.1 [09:58:24]Method: POST [09:58:24]URL: /json_proto [09:58:24]Method is POST - this is cgi request [09:58:24]url: /json_proto [09:58:24]query_string will be loaded in cgi processing [09:58:24]execute_cgi json_proto POST (null) [09:58:24]execute_cgi path=json_proto method=POST [09:58:24]POST find Content-Length [09:58:24]Host: 192.168.0.101:8080 [09:58:24]Connection: keep-alive [09:58:24]Content-Length: 105 [09:58:24]Accept: application/json, text/plain, */* [09:58:24]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:24]Content-Type: application/json [09:58:24]Origin: http://192.168.0.101:8080 [09:58:24]Referer: http://192.168.0.101:8080/testengine [09:58:24]Accept-Encoding: gzip, deflate [09:58:24]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:24] [09:58:24]POST finish read [09:58:24]Found Content-Length = 105 [09:58:24]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [09:58:24]execute_script... [09:58:24]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [09:58:24]POST & json_proto [09:58:24]process_json_proto [09:58:24]json parsed OK: [09:58:24]protocol is kg_v1.0 [09:58:24]action value=get_value [09:58:24]process_action get_value [09:58:24]cmd_get_value [09:58:24]process_action get_value done [09:58:24]requested_data is exist [09:58:24]produce_requested_data [09:58:24]requested_item config.timestamp is exist - process it [09:58:24]MH_GetDate [09:58:24]Write to MH i2c: F0 00 00 2A 00 19 [09:58:24]Write i2c OK [09:58:24]MH_I2C_Read... [09:58:24]Read from MH i2c: F0 [09:58:24]MH_I2C_Read... [09:58:24]Read from MH i2c: F0 09 00 [09:58:24]MH_I2C_Read... [09:58:24]Read from MH i2c: F0 09 00 2A 00 00 C0 78 F1 65 38 75 F1 65 B3 [09:58:24]produce_requested_data done [09:58:24]produce_requested_data return {"config.timestamp":"1710323904"} [09:58:24]process_action_free get_value [09:58:24]json_value_free [09:58:24]json_value_free done [09:58:24]process_json_proto returns [09:58:24]Send response to host [09:58:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1710323904"}}} [09:58:24]free response buf [09:58:24]execute_script done [09:58:24]execute_script returns [09:58:24]free content buf [09:58:24]Sock 9.Close socket [09:58:24]Sock 9.Thread stoped [09:58:24]accept exits with 8 [09:58:24]New connection [09:58:24]New thread 3066895716 created [09:58:24]Thread 3066752356 joined [09:58:24]Waiting for new connection... [09:58:24] Sock 8.Parse request [09:58:24]Sock 8.Check first char [09:58:24]Sock 8.First char is OK [09:58:24]request: POST /json_proto HTTP/1.1 [09:58:24]Method: POST [09:58:24]URL: /json_proto [09:58:24]Method is POST - this is cgi request [09:58:24]url: /json_proto [09:58:24]query_string will be loaded in cgi processing [09:58:24]execute_cgi json_proto POST (null) [09:58:24]execute_cgi path=json_proto method=POST [09:58:24]POST find Content-Length [09:58:24]Host: 192.168.0.101:8080 [09:58:24]Connection: keep-alive [09:58:24]Content-Length: 105 [09:58:24]Accept: application/json, text/plain, */* [09:58:24]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:24]Content-Type: application/json [09:58:24]Origin: http://192.168.0.101:8080 [09:58:24]Referer: http://192.168.0.101:8080/testengine [09:58:24]Accept-Encoding: gzip, deflate [09:58:24]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:24] [09:58:24]POST finish read [09:58:24]Found Content-Length = 105 [09:58:24]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [09:58:24]execute_script... [09:58:24]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [09:58:24]POST & json_proto [09:58:24]process_json_proto [09:58:24]json parsed OK: [09:58:24]protocol is kg_v1.0 [09:58:24]action value=get_value [09:58:24]process_action get_value [09:58:24]cmd_get_value [09:58:24]process_action get_value done [09:58:24]requested_data is exist [09:58:24]produce_requested_data [09:58:24]requested_item config.timestamp is exist - process it [09:58:24]MH_GetDate [09:58:24]Write to MH i2c: F0 00 00 2B 00 1A [09:58:24]Write i2c OK [09:58:24]MH_I2C_Read... [09:58:24]Read from MH i2c: F0 [09:58:24]MH_I2C_Read... [09:58:24]Read from MH i2c: F0 09 00 [09:58:24]MH_I2C_Read... [09:58:24]Read from MH i2c: F0 09 00 2B 00 00 C0 78 F1 65 38 75 F1 65 B4 [09:58:24]produce_requested_data done [09:58:24]produce_requested_data return {"config.timestamp":"1710323904"} [09:58:24]process_action_free get_value [09:58:24]json_value_free [09:58:24]json_value_free done [09:58:24]process_json_proto returns [09:58:24]Send response to host [09:58:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1710323904"}}} [09:58:24]free response buf [09:58:24]execute_script done [09:58:24]execute_script returns [09:58:24]free content buf [09:58:24]Sock 8.Close socket [09:58:24]Sock 8.Thread stoped [09:58:26]accept exits with 9 [09:58:26]New connection [09:58:26]New thread 3066752356 created [09:58:26]Thread 3066895716 joined [09:58:26]Waiting for new connection... [09:58:26] Sock 9.Parse request [09:58:26]Sock 9.Check first char [09:58:26]Sock 9.First char is OK [09:58:26]request: POST /json_proto HTTP/1.1 [09:58:26]Method: POST [09:58:26]URL: /json_proto [09:58:26]Method is POST - this is cgi request [09:58:26]url: /json_proto [09:58:26]query_string will be loaded in cgi processing [09:58:26]execute_cgi json_proto POST (null) [09:58:26]execute_cgi path=json_proto method=POST [09:58:26]POST find Content-Length [09:58:26]Host: 192.168.0.101:8080 [09:58:26]Connection: keep-alive [09:58:26]Content-Length: 113 [09:58:26]Accept: application/json, text/plain, */* [09:58:26]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:58:26]Content-Type: application/json [09:58:26]Origin: http://192.168.0.101:8080 [09:58:26]Referer: http://192.168.0.101:8080/testengine [09:58:26]Accept-Encoding: gzip, deflate [09:58:26]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:58:26] [09:58:26]POST finish read [09:58:26]Found Content-Length = 113 [09:58:26]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:58:26]execute_script... [09:58:26]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:58:26]POST & json_proto [09:58:26]process_json_proto [09:58:26]json parsed OK: [09:58:26]protocol is kg_v1.0 [09:58:26]action value=set_value [09:58:26]process_action set_value [09:58:26]cmd_set_value [09:58:26]SetValue [09:58:26]group config [09:58:26]SetConfigValue timestamp=1710323729 [09:58:26]SettingCheckAndSetValue timestamp=1710323729 [09:58:26]store_timestamp [09:58:26]MH_GetDate [09:58:26]Write to MH i2c: F0 00 00 2C 00 1B [09:58:26]Write i2c OK [09:58:26]MH_I2C_Read... [09:58:26]Read from MH i2c: F0 [09:58:26]MH_I2C_Read... [09:58:26]Read from MH i2c: F0 09 00 [09:58:26]MH_I2C_Read... [09:58:26]Read from MH i2c: F0 09 00 2C 00 00 C2 78 F1 65 38 75 F1 65 B7 [09:58:26]GetLastDocTimeStamp 0 [09:58:26]cur date 1710323906 [09:58:26]tm 1710323729 [09:58:26]tm ok - set date [09:58:26]MH_SetDate [09:58:26]Write to MH i2c: F1 04 00 2D 00 11 78 F1 65 00 [09:58:26]Write i2c OK [09:58:26]MH_I2C_Read... [09:58:26]Read from MH i2c: F1 [09:58:26]MH_I2C_Read... [09:58:26]Read from MH i2c: F1 01 00 [09:58:26]MH_I2C_Read... [09:58:26]Read from MH i2c: F1 01 00 2D 00 00 1E [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 9.Close socket [09:55:29]Sock 9.Thread stoped [09:55:29]accept exits with 8 [09:55:29]New connection [09:55:29]New thread 3066895716 created [09:55:29]Thread 3066752356 joined [09:55:29]Waiting for new connection... [09:55:29] Sock 8.Parse request [09:55:29]Sock 8.Check first char [09:55:29]Sock 8.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write to MH i2c: F0 00 00 2E 00 1D [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 2E 00 00 11 78 F1 65 11 78 F1 65 E4 [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 2F 00 11 78 F1 65 02 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 2F 00 00 20 [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 8.Close socket [09:55:29]Sock 8.Thread stoped [09:55:29]accept exits with 9 [09:55:29]New connection [09:55:29]New thread 3066752356 created [09:55:29]Thread 3066895716 joined [09:55:29]Waiting for new connection... [09:55:29] Sock 9.Parse request [09:55:29]Sock 9.Check first char [09:55:29]Sock 9.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write to MH i2c: F0 00 00 30 00 1F [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 30 00 00 11 78 F1 65 11 78 F1 65 E6 [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 31 00 11 78 F1 65 04 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 31 00 00 22 [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 9.Close socket [09:55:29]Sock 9.Thread stoped [09:55:29]accept exits with 8 [09:55:29]New connection [09:55:29]New thread 3066895716 created [09:55:29]Thread 3066752356 joined [09:55:29]Waiting for new connection... [09:55:29] Sock 8.Parse request [09:55:29]Sock 8.Check first char [09:55:29]Sock 8.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write to MH i2c: F0 00 00 32 00 21 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 32 00 00 11 78 F1 65 11 78 F1 65 E8 [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 33 00 11 78 F1 65 06 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 33 00 00 24 [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 8.Close socket [09:55:29]Sock 8.Thread stoped [09:55:29]accept exits with 9 [09:55:29]New connection [09:55:29]New thread 3066752356 created [09:55:29]Thread 3066895716 joined [09:55:29]Waiting for new connection... [09:55:29] Sock 9.Parse request [09:55:29]Sock 9.Check first char [09:55:29]Sock 9.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write to MH i2c: F0 00 00 34 00 23 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 34 00 00 11 78 F1 65 11 78 F1 65 EA [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 35 00 11 78 F1 65 08 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 35 00 00 26 [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 9.Close socket [09:55:29]Sock 9.Thread stoped [09:55:29]accept exits with 10 [09:55:29]New connection [09:55:29]New thread 3066895716 created [09:55:29]Thread 3066752356 joined [09:55:29]Waiting for new connection... [09:55:29]accept exits with 8 [09:55:29]New connection [09:55:29]New thread 3066752356 created [09:55:29]Waiting for new connection... [09:55:29] Sock 10.Parse request [09:55:29]Sock 10.Check first char [09:55:29]Sock 10.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write to MH i2c: F0 00 00 36 00 25 [09:55:29] Sock 8.Parse request [09:55:29]Sock 8.Check first char [09:55:29]Sock 8.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 36 00 00 11 78 F1 65 11 78 F1 65 EC [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 37 00 11 78 F1 65 0A [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 37 00 00 28 [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 10.Close socket [09:55:29]Sock 10.Thread stoped [09:55:29]Write to MH i2c: F0 00 00 38 00 27 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 38 00 00 11 78 F1 65 11 78 F1 65 EE [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 39 00 11 78 F1 65 0C [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 39 00 00 2A [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 8.Close socket [09:55:29]Sock 8.Thread stoped [09:55:29]accept exits with 9 [09:55:29]New connection [09:55:29]New thread 3066608996 created [09:55:29]Thread 3066895716 joined [09:55:29]Thread 3066752356 joined [09:55:29]Waiting for new connection... [09:55:29] Sock 9.Parse request [09:55:29]Sock 9.Check first char [09:55:29]Sock 9.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write to MH i2c: F0 00 00 3A 00 29 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 3A 00 00 11 78 F1 65 11 78 F1 65 F0 [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 3B 00 11 78 F1 65 0E [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 3B 00 00 2C [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 9.Close socket [09:55:29]Sock 9.Thread stoped [09:55:29]accept exits with 8 [09:55:29]New connection [09:55:29]New thread 3066895716 created [09:55:29]Thread 3066608996 joined [09:55:29]Waiting for new connection... [09:55:29] Sock 8.Parse request [09:55:29]Sock 8.Check first char [09:55:29]Sock 8.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write to MH i2c: F0 00 00 3C 00 2B [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 3C 00 00 11 78 F1 65 11 78 F1 65 F2 [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 3D 00 11 78 F1 65 10 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 3D 00 00 2E [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 8.Close socket [09:55:29]Sock 8.Thread stoped [09:55:29]OFD Sender: No OFD packet to send [09:55:29]accept exits with 9 [09:55:29]New connection [09:55:29]New thread 3066752356 created [09:55:29]Thread 3066895716 joined [09:55:29]Waiting for new connection... [09:55:29] Sock 9.Parse request [09:55:29]Sock 9.Check first char [09:55:29]Sock 9.First char is OK [09:55:29]request: POST /json_proto HTTP/1.1 [09:55:29]Method: POST [09:55:29]URL: /json_proto [09:55:29]Method is POST - this is cgi request [09:55:29]url: /json_proto [09:55:29]query_string will be loaded in cgi processing [09:55:29]execute_cgi json_proto POST (null) [09:55:29]execute_cgi path=json_proto method=POST [09:55:29]POST find Content-Length [09:55:29]Host: 192.168.0.101:8080 [09:55:29]Connection: keep-alive [09:55:29]Content-Length: 113 [09:55:29]Accept: application/json, text/plain, */* [09:55:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [09:55:29]Content-Type: application/json [09:55:29]Origin: http://192.168.0.101:8080 [09:55:29]Referer: http://192.168.0.101:8080/testengine [09:55:29]Accept-Encoding: gzip, deflate [09:55:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [09:55:29] [09:55:29]POST finish read [09:55:29]Found Content-Length = 113 [09:55:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]execute_script... [09:55:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1710323729"}}} [09:55:29]POST & json_proto [09:55:29]process_json_proto [09:55:29]json parsed OK: [09:55:29]protocol is kg_v1.0 [09:55:29]action value=set_value [09:55:29]process_action set_value [09:55:29]cmd_set_value [09:55:29]SetValue [09:55:29]group config [09:55:29]SetConfigValue timestamp=1710323729 [09:55:29]SettingCheckAndSetValue timestamp=1710323729 [09:55:29]store_timestamp [09:55:29]MH_GetDate [09:55:29]Write to MH i2c: F0 00 00 3E 00 2D [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F0 09 00 3E 00 00 11 78 F1 65 11 78 F1 65 F4 [09:55:29]GetLastDocTimeStamp 0 [09:55:29]cur date 1710323729 [09:55:29]tm 1710323729 [09:55:29]tm ok - set date [09:55:29]MH_SetDate [09:55:29]Write to MH i2c: F1 04 00 3F 00 11 78 F1 65 12 [09:55:29]Write i2c OK [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 [09:55:29]MH_I2C_Read... [09:55:29]Read from MH i2c: F1 01 00 3F 00 00 30 [09:55:29]SetValue res=0 [09:55:29]process_action set_value done [09:55:29]no requested_data - finishing processing [09:55:29]process_action_free set_value [09:55:29]json_value_free [09:55:29]json_value_free done [09:55:29]process_json_proto returns [09:55:29]Send response to host [09:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [09:55:29]free response buf [09:55:29]execute_script done [09:55:29]execute_script returns [09:55:29]free content buf [09:55:29]Sock 9.Close socket [09:55:29]Sock 9.Thread stoped [09:55:33]OFD Sender: No OFD packet to send [09:55:38]OFD Sender: No OFD packet to send [09:55:43]OFD Sender: No OFD packet to send [09:55:48]OFD Sender: No OFD packet to send [09:55:53]OFD Sender: No OFD packet to send [09:55:58]OFD Sender: No OFD packet to send [09:56:03]OFD Sender: No OFD packet to send [09:56:08]OFD Sender: No OFD packet to send [09:56:13]OFD Sender: No OFD packet to send [09:56:18]OFD Sender: No OFD packet to send [09:56:23]OFD Sender: No OFD packet to send [09:56:28]OFD Sender: No OFD packet to send [09:56:33]OFD Sender: No OFD packet to send [09:56:38]OFD Sender: No OFD packet to send [09:56:43]OFD Sender: No OFD packet to send [09:56:48]OFD Sender: No OFD packet to send [09:56:53]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:23]OFD Sender: No OFD packet to send [09:57:28]OFD Sender: No OFD packet to send [09:57:33]OFD Sender: No OFD packet to send [09:57:38]OFD Sender: No OFD packet to send [09:57:43]OFD Sender: No OFD packet to send [09:57:48]OFD Sender: No OFD packet to send [09:57:53]OFD Sender: No OFD packet to send [09:57:58]OFD Sender: No OFD packet to send [09:58:03]OFD Sender: No OFD packet to send [09:58:08]OFD Sender: No OFD packet to send [09:58:13]OFD Sender: No OFD packet to send [09:58:18]OFD Sender: No OFD packet to send [09:58:23]OFD Sender: No OFD packet to send [09:58:28]OFD Sender: No OFD packet to send [09:58:33]OFD Sender: No OFD packet to send [09:58:38]OFD Sender: No OFD packet to send [09:58:43]OFD Sender: No OFD packet to send [09:58:48]OFD Sender: No OFD packet to send [09:58:53]OFD Sender: No OFD packet to send [09:58:58]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:59]OFD Sender: No OFD packet to send [10:01:04]OFD Sender: No OFD packet to send [10:01:09]OFD Sender: No OFD packet to send [10:01:14]OFD Sender: No OFD packet to send [10:01:19]OFD Sender: No OFD packet to send [10:01:24]OFD Sender: No OFD packet to send [10:01:29]OFD Sender: No OFD packet to send [10:01:34]OFD Sender: No OFD packet to send [10:01:39]OFD Sender: No OFD packet to send [10:01:44]OFD Sender: No OFD packet to send [10:01:49]OFD Sender: No OFD packet to send [10:01:54]OFD Sender: No OFD packet to send [10:01:59]OFD Sender: No OFD packet to send [10:02:04]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:14]OFD Sender: No OFD packet to send [10:03:19]OFD Sender: No OFD packet to send [10:03:20]accept exits with 8 [10:03:20]New connection [10:03:20]New thread 3066895716 created [10:03:20]Thread 3066752356 joined [10:03:20]Waiting for new connection... [10:03:20] Sock 8.Parse request [10:03:20]Sock 8.Check first char [10:03:20]Sock 8.First char is OK [10:03:20]request: POST /json_proto HTTP/1.1 [10:03:20]Method: POST [10:03:20]URL: /json_proto [10:03:20]Method is POST - this is cgi request [10:03:20]url: /json_proto [10:03:20]query_string will be loaded in cgi processing [10:03:20]execute_cgi json_proto POST (null) [10:03:20]execute_cgi path=json_proto method=POST [10:03:20]POST find Content-Length [10:03:20]Host: 192.168.0.101:8080 [10:03:20]Connection: keep-alive [10:03:20]Content-Length: 738 [10:03:20]Accept: application/json, text/plain, */* [10:03:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [10:03:20]Content-Type: application/json [10:03:20]Origin: http://192.168.0.101:8080 [10:03:20]Referer: http://192.168.0.101:8080/testengine [10:03:20]Accept-Encoding: gzip, deflate [10:03:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [10:03:20] [10:03:20]POST finish read [10:03:20]Found Content-Length = 738 [10:03:20]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":"00112200510239","nds_flag":1,"business_type":1,"service_type":2,"ugns":58,"item_types":1,"rnm":"0000000000150087","address":"720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 ","place":"АЗС № 13 \"Bishkek Petroleum\"","fm_expiration_date":"13.03.2027","operator":"АЗС № 13 \"Bishkek Petroleum\"","tax_sys":1,"change_couse":0}}} [10:03:20]execute_script... [10:03:20]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":"00112200510239","nds_flag":1,"business_type":1,"service_type":2,"ugns":58,"item_types":1,"rnm":"0000000000150087","address":"720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 ","place":"АЗС № 13 \"Bishkek Petroleum\"","fm_expiration_date":"13.03.2027","operator":"АЗС № 13 \"Bishkek Petroleum\"","tax_sys":1,"change_couse":0}}} [10:03:20]POST & json_proto [10:03:20]process_json_proto [10:03:20]json parsed OK: [10:03:20]protocol is kg_v1.0 [10:03:20]action value=registration [10:03:20]process_action registration [10:03:20]cmd_registration [10:03:20]MH_GetDate [10:03:20]Write to MH i2c: F0 00 00 40 00 2F [10:03:20]Write i2c OK [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: F0 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: F0 09 00 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: F0 09 00 40 00 00 E8 79 F1 65 11 78 F1 65 CE [10:03:20]GetLastDocTimeStamp 0 [10:03:20]current date 1710324200 [10:03:20]FM_GetShiftState [10:03:20]SAM_PROTO_GetShiftState [10:03:20]wFMCommunicate request_size=4 [10:03:20]MH_SAM_APDU [10:03:20]CAPDU: 80 13 01 00 [10:03:20]Write to MH i2c: E2 08 00 41 00 80 13 01 00 00 00 00 00 BE [10:03:20]Write i2c OK [10:03:20]MH_I2C_Read... [10:03:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:03:20]Read from MH i2c: E2 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: E2 0E 00 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: E2 0E 00 41 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C9 [10:03:20]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [10:03:20]wFMCommunicate OK [10:03:20]SAM_PROTO_GetShiftState done [10:03:20]FM_GetShiftState done [10:03:20]KKMCreateRegistartionDocument [10:03:20]Load OK [10:03:20]Malloc new data [10:03:20]MH_GetDate [10:03:20]Write to MH i2c: F0 00 00 42 00 31 [10:03:20]Write i2c OK [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: F0 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: F0 09 00 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: F0 09 00 42 00 00 E8 79 F1 65 11 78 F1 65 D0 [10:03:20]Malloc new data [10:03:20]Malloc new data [10:03:20]Malloc new data [10:03:20]Malloc new data [10:03:20]Malloc new data [10:03:20]Malloc new data [10:03:20]Malloc new data [10:03:20]Malloc new data [10:03:20]KKMSetRegistrationData OK [10:03:20]ProcessDocumentItem done err = 0, tmpTLVsize=298 [10:03:20]tlvbuf is 002A2050 [10:03:20]KKMLoadAndSignRegistrationData [10:03:20]SAM_PROTO_ProcessDocument [10:03:20]wFMCommunicate request_size=9 [10:03:20]MH_SAM_APDU [10:03:20]CAPDU: 80 15 01 00 04 01 00 2A 01 [10:03:20]Write to MH i2c: E2 0C 00 43 00 80 15 01 00 04 00 01 00 2A 01 00 00 F6 [10:03:20]Write i2c OK [10:03:20]MH_I2C_Read... [10:03:20]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [10:03:20]Read from MH i2c: E2 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: E2 03 00 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: E2 03 00 43 00 00 90 00 B7 [10:03:20]RAPDU: 90 00 [10:03:20]wFMCommunicate OK [10:03:20]wFMCommunicate request_size=28 [10:03:20]MH_SAM_APDU [10:03:20]CAPDU: 80 15 02 00 17 18 04 13 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A8 D0 BD D0 BE D1 81 22 [10:03:20]Write to MH i2c: E2 1F 00 44 00 80 15 02 00 17 00 18 04 13 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A8 D0 BD D0 BE D1 81 22 00 00 06 [10:03:20]Write i2c OK [10:03:20]MH_I2C_Read... [10:03:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:20]Read from MH i2c: E2 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: E2 03 00 [10:03:20]MH_I2C_Read... [10:03:20]Read from MH i2c: E2 03 00 44 00 00 90 00 B8 [10:03:20]RAPDU: 90 00 [10:03:20]wFMCommunicate OK [10:03:20]wFMCommunicate request_size=23 [10:03:20]MH_SAM_APDU [10:03:20]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 [10:03:20]Write to MH i2c: E2 1A 00 45 00 80 15 02 00 12 00 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 00 00 AE [10:03:20]Write i2c OK [10:03:20]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 45 00 00 90 00 B9 [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=11 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 06 26 04 02 00 01 00 [10:03:21]Write to MH i2c: E2 0E 00 46 00 80 15 02 00 06 00 26 04 02 00 01 00 00 00 FF [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 46 00 00 90 00 BA [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=10 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 05 65 04 01 00 01 [10:03:21]Write to MH i2c: E2 0D 00 47 00 80 15 02 00 05 00 65 04 01 00 01 00 00 3C [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 47 00 00 90 00 BB [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=13 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 08 03 04 04 00 01 00 00 00 [10:03:21]Write to MH i2c: E2 10 00 48 00 80 15 02 00 08 00 03 04 04 00 01 00 00 00 00 00 E4 [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 48 00 00 90 00 BC [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=13 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 08 04 04 04 00 02 00 00 00 [10:03:21]Write to MH i2c: E2 10 00 49 00 80 15 02 00 08 00 04 04 04 00 02 00 00 00 00 00 E7 [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 49 00 00 90 00 BD [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=13 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 08 05 04 04 00 3A 00 00 00 [10:03:21]Write to MH i2c: E2 10 00 4A 00 80 15 02 00 08 00 05 04 04 00 3A 00 00 00 00 00 21 [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 4A 00 00 90 00 BE [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=10 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 05 22 04 01 00 01 [10:03:21]Write to MH i2c: E2 0D 00 4B 00 80 15 02 00 05 00 22 04 01 00 01 00 00 FD [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 4B 00 00 90 00 BF [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=13 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 08 F4 03 04 00 E8 79 F1 65 [10:03:21]Write to MH i2c: E2 10 00 4C 00 80 15 02 00 08 00 F4 03 04 00 E8 79 F1 65 00 00 8E [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 4C 00 00 90 00 C0 [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=25 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 [10:03:21]Write to MH i2c: E2 1C 00 4D 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 00 00 2B [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 4D 00 00 90 00 C1 [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=19 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 0E F5 03 0A 00 30 33 30 30 30 30 30 30 35 37 [10:03:21]Write to MH i2c: E2 16 00 4E 00 80 15 02 00 0E 00 F5 03 0A 00 30 33 30 30 30 30 30 30 35 37 00 00 DB [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 4E 00 00 90 00 C2 [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=42 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 25 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 [10:03:21]Write to MH i2c: E2 2D 00 4F 00 80 15 02 00 25 00 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 00 00 14 [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:21]Read from MH i2c: E2 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 [10:03:21]MH_I2C_Read... [10:03:21]Read from MH i2c: E2 03 00 4F 00 00 90 00 C3 [10:03:21]RAPDU: 90 00 [10:03:21]wFMCommunicate OK [10:03:21]wFMCommunicate request_size=98 [10:03:21]MH_SAM_APDU [10:03:21]CAPDU: 80 15 02 00 5D F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 [10:03:21]Write to MH i2c: E2 65 00 50 00 80 15 02 00 5D 00 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 00 00 A7 [10:03:21]Write i2c OK [10:03:21]MH_I2C_Read... [10:03:22]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:22]Read from MH i2c: E2 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 50 00 00 90 00 C4 [10:03:22]RAPDU: 90 00 [10:03:22]wFMCommunicate OK [10:03:22]wFMCommunicate request_size=42 [10:03:22]MH_SAM_APDU [10:03:22]CAPDU: 80 15 02 00 25 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 [10:03:22]Write to MH i2c: E2 2D 00 51 00 80 15 02 00 25 00 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 00 00 BD [10:03:22]Write i2c OK [10:03:22]MH_I2C_Read... [10:03:22]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:22]Read from MH i2c: E2 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 51 00 00 90 00 C5 [10:03:22]RAPDU: 90 00 [10:03:22]wFMCommunicate OK [10:03:22]wFMCommunicate request_size=13 [10:03:22]MH_SAM_APDU [10:03:22]CAPDU: 80 15 02 00 08 A4 04 04 00 76 31 2E 30 [10:03:22]Write to MH i2c: E2 10 00 52 00 80 15 02 00 08 00 A4 04 04 00 76 31 2E 30 00 00 93 [10:03:22]Write i2c OK [10:03:22]MH_I2C_Read... [10:03:22]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:22]Read from MH i2c: E2 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 52 00 00 90 00 C6 [10:03:22]RAPDU: 90 00 [10:03:22]wFMCommunicate OK [10:03:22]wFMCommunicate request_size=4 [10:03:22]MH_SAM_APDU [10:03:22]CAPDU: 80 15 03 00 [10:03:22]Write to MH i2c: E2 08 00 53 00 80 15 03 00 00 00 00 00 D4 [10:03:22]Write i2c OK [10:03:22]MH_I2C_Read... [10:03:22]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 45! [10:03:22]Read from MH i2c: E2 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 30 00 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 30 00 53 00 00 2B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 01 00 00 00 35 04 06 00 57 E8 66 21 F1 98 90 00 CA [10:03:22]RAPDU: 2B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 01 00 00 00 35 04 06 00 57 E8 66 21 F1 98 90 00 [10:03:22]wFMCommunicate OK [10:03:22]SAM_PROTO_ProcessDocument answer len = 43 [10:03:22]SAM_PROTO_ProcessDocument done [10:03:22]SetTLVBufToDocument [10:03:22]Processing tag 1209 (04B9) [10:03:22]Malloc new data [10:03:22]Processing tag 1041 (0411) [10:03:22]Processing tag 1040 (0410) [10:03:22]Malloc new data [10:03:22]Processing tag 1077 (0435) [10:03:22]Malloc new data [10:03:22]SetTLVBufToDocument err=0 [10:03:22]KKMLoadAndSignRegistrationData store KKM data [10:03:22]NVStorageSaveData kkm_registration [10:03:22]File name is /storage/kkm_registration [10:03:22]Write 784 bytes [10:03:22]NVStorageSaveData done [10:03:22]SetUserName err=0 [10:03:22]NVStorageSaveData kkm_registration [10:03:22]File name is /storage/kkm_registration [10:03:22]Write 784 bytes [10:03:22]NVStorageSaveData done [10:03:22]SetUserINN err=0 [10:03:22]NVStorageSaveData kkm_registration [10:03:22]File name is /storage/kkm_registration [10:03:22]Write 784 bytes [10:03:22]NVStorageSaveData done [10:03:22]SetKKMRNM err=0 [10:03:22]NVStorageSaveData kkm_registration [10:03:22]File name is /storage/kkm_registration [10:03:22]Write 784 bytes [10:03:22]NVStorageSaveData done [10:03:22]SetPaymentAddress err=0 [10:03:22]NVStorageSaveData kkm_registration [10:03:22]File name is /storage/kkm_registration [10:03:22]Write 784 bytes [10:03:22]NVStorageSaveData done [10:03:22]SetPaymentPlace err=0 [10:03:22]NVStorageSaveData kkm_registration [10:03:22]File name is /storage/kkm_registration [10:03:22]Write 784 bytes [10:03:22]NVStorageSaveData done [10:03:22]SetSNO err=0 [10:03:22]KKMLoadAndSignRegistrationData err=0 [10:03:22] ОсОО "Шнос" Добро пожаловать Отчет о регистрации ФФД: 1.0 Организация: ОсОО "Шнос" ИНН: 00112200510239 СНО: Общий режим Рег. по НДС: ДА Тип: Автомобильная заправочная станция (АЗС) Вид: Розничная торговля горюче-смазочными материалами УГНС: г.Токмок ППР: о реализуемом товаре 13.03.2024 10:03 РНМ: 0000000000150087 ЗНМ: 0300000057 Кассир: АЗС № 13 "Bishkek Petroleum" Адрес: 720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 Место: АЗС № 13 "Bishkek Petroleum" Версия ККМ: v1.0 Дата окончания ФМ: 13.03.2027 00:00 ** Здесь Вам всегда рады ** *** СПАСИБО *** ФД: 1 ФМ: 0000000000959306 ФПД: 96655657529752 *** ЖДЕМ ВАС ОПЯТЬ *** [10:03:22]StoreToDocumentArchive [10:03:22]shift 0 fd 1 [10:03:22]Create dir for shift 0000 [10:03:22]save to /storage/0000/doc_00000001 [10:03:22]save last doc name /storage/0000/doc_00000001 to /storage/kkm_last_doc_name [10:03:22]save OK [10:03:22]Clear old archive folders... [10:03:22]ProcessDocumentItem done err = 0, tmpTLVsize=349 [10:03:22]tlvbuf is 002D7240 [10:03:22]SAM_PROTO_ClearQueue [10:03:22]wFMCommunicate request_size=4 [10:03:22]MH_SAM_APDU [10:03:22]CAPDU: 80 09 00 00 [10:03:22]Write to MH i2c: E2 08 00 54 00 80 09 00 00 00 00 00 00 C6 [10:03:22]Write i2c OK [10:03:22]MH_I2C_Read... [10:03:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:03:22]Read from MH i2c: E2 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 54 00 00 90 00 C8 [10:03:22]RAPDU: 90 00 [10:03:22]wFMCommunicate OK [10:03:22]SAM_PROTO_ClearQueue done [10:03:22]before KKMMakeOFDPacketRegistrationDocument [10:03:22]KKMMakeOFDPacketRegistrationDocument [10:03:22]before KKMCreateOFDPacket [10:03:22]KKMCreateOFDPacket [10:03:22]OFDProtocolAddRootSTLVToBuf [10:03:22]FM_MakeSignedData [10:03:22]FM_MakeSignedData [10:03:22]SAM_PROTO_SignData [10:03:22]wFMCommunicate request_size=4 [10:03:22]MH_SAM_APDU [10:03:22]CAPDU: 80 0D 01 02 [10:03:22]Write to MH i2c: E2 08 00 55 00 80 0D 01 02 00 00 00 00 CE [10:03:22]Write i2c OK [10:03:22]MH_I2C_Read... [10:03:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:03:22]Read from MH i2c: E2 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 55 00 00 90 00 C9 [10:03:22]RAPDU: 90 00 [10:03:22]wFMCommunicate OK [10:03:22]wFMCommunicate request_size=255 [10:03:22]MH_SAM_APDU [10:03:22]CAPDU: 80 0D 02 02 FA 01 00 5D 01 B9 04 01 00 01 18 04 13 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A8 D0 BD D0 BE D1 81 22 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 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 3A 00 00 00 22 04 01 00 01 F4 03 04 00 E8 79 F1 65 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 F5 03 0A 00 30 33 30 30 30 30 30 30 35 37 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 [10:03:22]Write to MH i2c: E2 02 01 56 00 80 0D 02 02 FA 00 01 00 5D 01 B9 04 01 00 01 18 04 13 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A8 D0 BD D0 BE D1 81 22 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 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 3A 00 00 00 22 04 01 00 01 F4 03 04 00 E8 79 F1 65 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 F5 03 0A 00 30 33 30 30 30 30 30 30 35 37 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 00 00 8B [10:03:22]Write i2c OK [10:03:22]MH_I2C_Read... [10:03:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:03:22]Read from MH i2c: E2 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 [10:03:22]MH_I2C_Read... [10:03:22]Read from MH i2c: E2 03 00 56 00 00 90 00 CA [10:03:22]RAPDU: 90 00 [10:03:22]wFMCommunicate OK [10:03:22]wFMCommunicate request_size=108 [10:03:22]MH_SAM_APDU [10:03:22]CAPDU: 80 0D 02 02 67 2C 20 37 35 2E 32 39 33 35 34 36 20 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 A4 04 04 00 76 31 2E 30 19 04 04 00 00 87 94 6B 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 35 04 06 00 57 E8 66 21 F1 98 [10:03:22]Write to MH i2c: E2 6F 00 57 00 80 0D 02 02 67 00 2C 20 37 35 2E 32 39 33 35 34 36 20 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 A4 04 04 00 76 31 2E 30 19 04 04 00 00 87 94 6B 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 35 04 06 00 57 E8 66 21 F1 98 00 00 C8 [10:03:22]Write i2c OK [10:03:22]MH_I2C_Read... [10:03:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:03:23]Read from MH i2c: E2 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: E2 03 00 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: E2 03 00 57 00 00 90 00 CB [10:03:23]RAPDU: 90 00 [10:03:23]wFMCommunicate OK [10:03:23]wFMCommunicate request_size=4 [10:03:23]MH_SAM_APDU [10:03:23]CAPDU: 80 0D 03 02 [10:03:23]Write to MH i2c: E2 08 00 58 00 80 0D 03 02 00 00 00 00 D3 [10:03:23]Write i2c OK [10:03:23]MH_I2C_Read... [10:03:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:03:23]Read from MH i2c: E2 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: E2 0B 00 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: E2 0B 00 58 00 00 DD 74 77 85 89 82 14 61 90 00 A1 [10:03:23]RAPDU: DD 74 77 85 89 82 14 61 90 00 [10:03:23]wFMCommunicate OK [10:03:23]SAM_PROTO_SignData done [10:03:23]FM_MakeSignedData done [10:03:23]CreateOFDProtocolMessage [10:03:23]wFMCommunicate request_size=4 [10:03:23]MH_SAM_APDU [10:03:23]CAPDU: 80 11 00 00 [10:03:23]Write to MH i2c: E2 08 00 59 00 80 11 00 00 00 00 00 00 D3 [10:03:23]Write i2c OK [10:03:23]MH_I2C_Read... [10:03:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:03:23]Read from MH i2c: E2 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: E2 17 00 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: E2 17 00 59 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 26 [10:03:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 [10:03:23]wFMCommunicate OK [10:03:23]CreateOFDProtocolMessage done [10:03:23]OFDSenderStorePacket 1 [10:03:23]StoreOFDPacket docnum=1 [10:03:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 71 01 00 00 2E 77 69 01 69 E1 5A 01 01 00 01 00 5D 01 B9 04 01 00 01 18 04 13 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A8 D0 BD D0 BE D1 81 22 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 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 3A 00 00 00 22 04 01 00 01 F4 03 04 00 E8 79 F1 65 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 F5 03 0A 00 30 33 30 30 30 30 30 30 35 37 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 A4 04 04 00 76 31 2E 30 19 04 04 00 00 87 94 6B 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 35 04 06 00 57 E8 66 21 F1 98 DD 74 77 85 89 82 14 61 [10:03:23]CheckFolder [10:03:23]dirname=/storage/ofd_packets [10:03:23]mkdir /storage/ofd_packets [10:03:23]CheckFolder done [10:03:23]ProducePacketName [10:03:23]name=ofd_packets/00000001 [10:03:23]NVStorageSaveData ofd_packets/00000001 [10:03:23]File name is /storage/ofd_packets/00000001 [10:03:23]Write 399 bytes [10:03:23]NVStorageSaveData done [10:03:23]OFDSenderStorePacket done [10:03:23]KKMCreateOFDPacket done [10:03:23]after KKMCreateOFDPacket [10:03:23]NVStorageSaveData kkm_last_timestamp [10:03:23]File name is /storage/kkm_last_timestamp [10:03:23]Write 4 bytes [10:03:23]NVStorageSaveData done [10:03:23]ExternCall_PrintAddStr [10:03:23]wPrintStart [10:03:23]Write to MH i2c: 01 00 00 5A 00 5A [10:03:23]Write i2c OK [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: 01 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: 01 07 00 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 FF 0F 6F [10:03:23]RasterBufferAndPrint [10:03:23]line ОсОО "Шнос" [10:03:23]line Добро пожаловать [10:03:23]line Отчет о регистрации [10:03:23]line ФФД: 1.0 [10:03:23]line Организация: ОсОО "Шнос" [10:03:23]line ИНН: 00112200510239 [10:03:23]line СНО: Общий режим [10:03:23]line Рег. по НДС: ДА [10:03:23]line Тип: Автомобильная заправочная станция (АЗС) [10:03:23]line Вид: Розничная торговля горюче-смазочными материалами [10:03:23]line УГНС: г.Токмок [10:03:23]line ППР: о реализуемом товаре [10:03:23]line 13.03.2024 10:03 [10:03:23]line РНМ: 0000000000150087 [10:03:23]line ЗНМ: 0300000057 [10:03:23]line Кассир: АЗС № 13 "Bishkek Petroleum" [10:03:23]line Адрес: 720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 [10:03:23]line Место: АЗС № 13 "Bishkek Petroleum" [10:03:23]line Версия ККМ: v1.0 [10:03:23]line Дата окончания ФМ: 13.03.2027 00:00 [10:03:23]line ** Здесь Вам всегда рады ** [10:03:23]line *** СПАСИБО *** [10:03:23]line ФД: 1 [10:03:23]line ФМ: 0000000000959306 [10:03:23]line ФПД: 96655657529752 [10:03:23]line *** ЖДЕМ ВАС ОПЯТЬ *** [10:03:23]written 0, free lines is 4095 [10:03:23]OFD Sender: Processing packet 1 [packets to send 1, broken 0] [10:03:23]ProducePacketName [10:03:23]name=ofd_packets/00000001 [10:03:23]OFD Sender: To server: pG, [10:03:23]CommunicateWithHost lk.salyk.kg:30040 [10:03:23]ConnectInit lk.salyk.kg [10:03:23]Connected sock=10 [10:03:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 71 01 00 00 2E 77 69 01 69 E1 5A 01 01 00 01 00 5D 01 B9 04 01 00 01 18 04 13 00 D0 9E D1 81 D0 9E D0 9E 20 22 D0 A8 D0 BD D0 BE D1 81 22 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 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 3A 00 00 00 22 04 01 00 01 F4 03 04 00 E8 79 F1 65 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 F5 03 0A 00 30 33 30 30 30 30 30 30 35 37 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 A4 04 04 00 76 31 2E 30 19 04 04 00 00 87 94 6B 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 35 04 06 00 57 E8 66 21 F1 98 DD 74 77 85 89 82 14 61 [10:03:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 4F 00 00 00 D5 B5 47 00 BA DC 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 35 39 33 30 36 10 04 04 00 01 00 00 00 F4 03 04 00 42 26 F1 65 B6 04 01 00 00 37 F4 11 13 12 9D B1 E0 [10:03:23]CommunicateWithHost err = 0 [10:03:23]CheckOFDResponse [10:03:23]1017 (14) - 77093643461234 [10:03:23]1041 (16) - 0000000000959306 [10:03:23]1040 (4) - 1 [10:03:23]1012 (4) - 13.03.2024 04:06 [10:03:23]1206 (1) - 0 [10:03:23]OFD Sender: Remove packet 1 [10:03:23]ProducePacketName [10:03:23]name=ofd_packets/00000001 [10:03:23]NVStorageDeleteData [10:03:23]Write to MH i2c: 01 00 00 7D 00 7D [10:03:23]Write i2c OK [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: 01 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: 01 07 00 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: 01 07 00 7D 00 00 00 00 00 00 1F 0D B0 [10:03:23]RasterBufferAndPrint [10:03:23]line [10:03:23]line [10:03:23]line [10:03:23]line [10:03:23]line [10:03:23]written 0, free lines is 3361 [10:03:23]MH_Cut [10:03:23]Write to MH i2c: D1 01 00 84 00 01 56 [10:03:23]Write i2c OK [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: D1 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: D1 01 00 [10:03:23]MH_I2C_Read... [10:03:23]Read from MH i2c: D1 01 00 84 00 00 55 [10:03:23]Write to MH i2c: 01 00 00 85 00 85 [10:03:23]Write i2c OK [10:03:23]MH_I2C_Read... [10:03:23]OFD Sender: No OFD packet to send [10:03:24]*** Cut start [10:03:24]*** Partial cut [10:03:24]*** CUTSNS_PIN = 1 [10:03:24]*** CUTSNS_PIN = 0 [10:03:24]*** Brake cut motor [10:03:25]Read from MH i2c: 01 [10:03:25]MH_I2C_Read... [10:03:25]*** Stop cut motor [10:03:25]*** Cut end [10:03:25]Read from MH i2c: 01 07 00 [10:03:25]MH_I2C_Read... [10:03:25]Read from MH i2c: 01 07 00 85 00 00 00 00 00 00 FF 0F 9A [10:03:25]cmd_registration done [10:03:25]process_action registration done [10:03:25]no requested_data - finishing processing [10:03:25]process_action_free registration [10:03:25]json_value_free [10:03:25]json_value_free done [10:03:25]process_json_proto returns [10:03:25]Send response to host [10:03:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [10:03:25]free response buf [10:03:25]execute_script done [10:03:25]execute_script returns [10:03:25]free content buf [10:03:25]Sock 8.Close socket [10:03:25]Sock 8.Thread stoped [10:03:28]OFD Sender: No OFD packet to send [10:03:33]OFD Sender: No OFD packet to send [10:03:39]OFD Sender: No OFD packet to send [10:03:44]OFD Sender: No OFD packet to send [10:03:49]OFD Sender: No OFD packet to send [10:03:54]OFD Sender: No OFD packet to send [10:03:58]accept exits with 9 [10:03:58]New connection [10:03:58]New thread 3066752356 created [10:03:58]Thread 3066895716 joined [10:03:58]Waiting for new connection... [10:03:58] Sock 9.Parse request [10:03:58]Sock 9.Check first char [10:03:58]Sock 9.First char is OK [10:03:58]request: POST /json_proto HTTP/1.1 [10:03:58]Method: POST [10:03:58]URL: /json_proto [10:03:58]Method is POST - this is cgi request [10:03:58]url: /json_proto [10:03:58]query_string will be loaded in cgi processing [10:03:58]execute_cgi json_proto POST (null) [10:03:58]execute_cgi path=json_proto method=POST [10:03:58]POST find Content-Length [10:03:58]Host: 192.168.0.101:8080 [10:03:58]Connection: keep-alive [10:03:58]Content-Length: 370 [10:03:58]Accept: application/json, text/plain, */* [10:03:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [10:03:58]Content-Type: application/json [10:03:58]Origin: http://192.168.0.101:8080 [10:03:58]Referer: http://192.168.0.101:8080/testengine [10:03:58]Accept-Encoding: gzip, deflate [10:03:58]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [10:03:58] [10:03:58]POST finish read [10:03:58]Found Content-Length = 370 [10:03:58]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 \"Bishkek Petroleum\""}}} [10:03:58]execute_script... [10:03:58]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 \"Bishkek Petroleum\""}}} [10:03:58]POST & json_proto [10:03:58]process_json_proto [10:03:58]json parsed OK: [10:03:58]protocol is kg_v1.0 [10:03:58]action value=open_shift [10:03:58]process_action open_shift [10:03:58]cmd_open_shift [10:03:58]MH_GetDate [10:03:58]Write to MH i2c: F0 00 00 86 00 75 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: F0 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: F0 09 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: F0 09 00 86 00 00 0E 7A F1 65 11 78 F1 65 3B [10:03:58]GetLastDocTimeStamp 1710324200 [10:03:58]current date 1710324238 [10:03:58]FM_GetShiftState [10:03:58]SAM_PROTO_GetShiftState [10:03:58]wFMCommunicate request_size=4 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 13 01 00 [10:03:58]Write to MH i2c: E2 08 00 87 00 80 13 01 00 00 00 00 00 04 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:03:58]Read from MH i2c: E2 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 0E 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 0E 00 87 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0F [10:03:58]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [10:03:58]wFMCommunicate OK [10:03:58]SAM_PROTO_GetShiftState done [10:03:58]FM_GetShiftState done [10:03:58]KKMCreateOpenShiftDocument [10:03:58]Load OK [10:03:58]Malloc new data [10:03:58]MH_GetDate [10:03:58]Write to MH i2c: F0 00 00 88 00 77 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: F0 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: F0 09 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: F0 09 00 88 00 00 0E 7A F1 65 11 78 F1 65 3D [10:03:58]Malloc new data [10:03:58]KKMCreateOpenShiftDocument OK [10:03:58]KKMSetOpenShiftData OK [10:03:58]ProcessDocumentItem done err = 0, tmpTLVsize=213 [10:03:58]tlvbuf is B6EB3200 [10:03:58]KKMLoadAndSignOpenShiftData [10:03:58]SAM_PROTO_ProcessDocument [10:03:58]wFMCommunicate request_size=9 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 15 01 00 04 02 00 D5 00 [10:03:58]Write to MH i2c: E2 0C 00 89 00 80 15 01 00 04 00 02 00 D5 00 00 00 E7 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [10:03:58]Read from MH i2c: E2 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 89 00 00 90 00 FD [10:03:58]RAPDU: 90 00 [10:03:58]wFMCommunicate OK [10:03:58]wFMCommunicate request_size=23 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 [10:03:58]Write to MH i2c: E2 1A 00 8A 00 80 15 02 00 12 00 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 00 00 F3 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:58]Read from MH i2c: E2 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 8A 00 00 90 00 FE [10:03:58]RAPDU: 90 00 [10:03:58]wFMCommunicate OK [10:03:58]wFMCommunicate request_size=42 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 15 02 00 25 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 [10:03:58]Write to MH i2c: E2 2D 00 8B 00 80 15 02 00 25 00 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 00 00 50 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:58]Read from MH i2c: E2 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 8B 00 00 90 00 FF [10:03:58]RAPDU: 90 00 [10:03:58]wFMCommunicate OK [10:03:58]wFMCommunicate request_size=98 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 15 02 00 5D F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 [10:03:58]Write to MH i2c: E2 65 00 8C 00 80 15 02 00 5D 00 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 00 00 E3 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:59]OFD Sender: No OFD packet to send [10:03:59]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 8C 00 00 90 00 00 [10:03:59]RAPDU: 90 00 [10:03:59]wFMCommunicate OK [10:03:59]wFMCommunicate request_size=42 [10:03:59]MH_SAM_APDU [10:03:59]CAPDU: 80 15 02 00 25 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 [10:03:59]Write to MH i2c: E2 2D 00 8D 00 80 15 02 00 25 00 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 00 00 F9 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 8D 00 00 90 00 01 [10:03:59]RAPDU: 90 00 [10:03:59]wFMCommunicate OK [10:03:59]wFMCommunicate request_size=13 [10:03:59]MH_SAM_APDU [10:03:59]CAPDU: 80 15 02 00 08 F4 03 04 00 0E 7A F1 65 [10:03:59]Write to MH i2c: E2 10 00 8E 00 80 15 02 00 08 00 F4 03 04 00 0E 7A F1 65 00 00 F7 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 8E 00 00 90 00 02 [10:03:59]RAPDU: 90 00 [10:03:59]wFMCommunicate OK [10:03:59]wFMCommunicate request_size=25 [10:03:59]MH_SAM_APDU [10:03:59]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 [10:03:59]Write to MH i2c: E2 1C 00 8F 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 00 00 6D [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 8F 00 00 90 00 03 [10:03:59]RAPDU: 90 00 [10:03:59]wFMCommunicate OK [10:03:59]wFMCommunicate request_size=4 [10:03:59]MH_SAM_APDU [10:03:59]CAPDU: 80 15 03 00 [10:03:59]Write to MH i2c: E2 08 00 90 00 80 15 03 00 00 00 00 00 11 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 38 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 38 00 90 00 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 02 00 00 00 0E 04 04 00 01 00 00 00 35 04 06 00 78 4F EB C9 1A 7F 90 00 F4 [10:03:59]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 02 00 00 00 0E 04 04 00 01 00 00 00 35 04 06 00 78 4F EB C9 1A 7F 90 00 [10:03:59]wFMCommunicate OK [10:03:59]SAM_PROTO_ProcessDocument answer len = 51 [10:03:59]SAM_PROTO_ProcessDocument done [10:03:59]SetTLVBufToDocument [10:03:59]Processing tag 1209 (04B9) [10:03:59]Malloc new data [10:03:59]Processing tag 1041 (0411) [10:03:59]Processing tag 1040 (0410) [10:03:59]Malloc new data [10:03:59]Processing tag 1038 (040E) [10:03:59]Malloc new data [10:03:59]Processing tag 1077 (0435) [10:03:59]Malloc new data [10:03:59]SetTLVBufToDocument err=0 [10:03:59]KKMLoadAndSignOpenShiftData store KKM data [10:03:59]KKMLoadAndSignOpenShiftData err=0 [10:03:59] ОсОО "Шнос" Добро пожаловать Отчет об открытии смены ФФД: 1.0 ИНН: 00112200510239 Кассир: АЗС № 13 "Bishkek Petroleum" Адрес: 720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 Место: АЗС № 13 "Bishkek Petroleum" 13.03.2024 10:03 Смена: 1 РНМ: 0000000000150087 ЗНМ: 0300000057 ** Здесь Вам всегда рады ** *** СПАСИБО *** ФД: 2 ФМ: 0000000000959306 ФПД: 132284653574783 *** ЖДЕМ ВАС ОПЯТЬ *** [10:03:59]StoreToDocumentArchive [10:03:59]shift 1 fd 2 [10:03:59]Create dir for shift 0001 [10:03:59]save to /storage/0001/doc_00000002 [10:03:59]save last doc name /storage/0001/doc_00000002 to /storage/kkm_last_doc_name [10:03:59]save OK [10:03:59]Clear old archive folders... [10:03:59]ProcessDocumentItem done err = 0, tmpTLVsize=264 [10:03:59]tlvbuf is 002CAB70 [10:03:59]SAM_PROTO_ClearQueue [10:03:59]wFMCommunicate request_size=4 [10:03:59]MH_SAM_APDU [10:03:59]CAPDU: 80 09 00 00 [10:03:59]Write to MH i2c: E2 08 00 91 00 80 09 00 00 00 00 00 00 03 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 91 00 00 90 00 05 [10:03:59]RAPDU: 90 00 [10:03:59]wFMCommunicate OK [10:03:59]SAM_PROTO_ClearQueue done [10:03:59]KKMCreateOFDPacket [10:03:59]OFDProtocolAddRootSTLVToBuf [10:03:59]FM_MakeSignedData [10:03:59]FM_MakeSignedData [10:03:59]SAM_PROTO_SignData [10:03:59]wFMCommunicate request_size=4 [10:03:59]MH_SAM_APDU [10:03:59]CAPDU: 80 0D 01 02 [10:03:59]Write to MH i2c: E2 08 00 92 00 80 0D 01 02 00 00 00 00 0B [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 03 00 92 00 00 90 00 06 [10:03:59]RAPDU: 90 00 [10:03:59]wFMCommunicate OK [10:03:59]wFMCommunicate request_size=255 [10:03:59]MH_SAM_APDU [10:03:59]CAPDU: 80 0D 02 02 FA 02 00 08 01 B9 04 01 00 01 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F4 03 04 00 0E 7A F1 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 [10:03:59]Write to MH i2c: E2 02 01 93 00 80 0D 02 02 FA 00 02 00 08 01 B9 04 01 00 01 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F4 03 04 00 0E 7A F1 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 00 00 30 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:04:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:04:00]Read from MH i2c: E2 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: E2 03 00 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: E2 03 00 93 00 00 90 00 07 [10:04:00]RAPDU: 90 00 [10:04:00]wFMCommunicate OK [10:04:00]wFMCommunicate request_size=23 [10:04:00]MH_SAM_APDU [10:04:00]CAPDU: 80 0D 02 02 12 30 30 39 35 39 33 30 36 35 04 06 00 78 4F EB C9 1A 7F [10:04:00]Write to MH i2c: E2 1A 00 94 00 80 0D 02 02 12 00 30 30 39 35 39 33 30 36 35 04 06 00 78 4F EB C9 1A 7F 00 00 25 [10:04:00]Write i2c OK [10:04:00]MH_I2C_Read... [10:04:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:04:00]Read from MH i2c: E2 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: E2 03 00 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: E2 03 00 94 00 00 90 00 08 [10:04:00]RAPDU: 90 00 [10:04:00]wFMCommunicate OK [10:04:00]wFMCommunicate request_size=4 [10:04:00]MH_SAM_APDU [10:04:00]CAPDU: 80 0D 03 02 [10:04:00]Write to MH i2c: E2 08 00 95 00 80 0D 03 02 00 00 00 00 10 [10:04:00]Write i2c OK [10:04:00]MH_I2C_Read... [10:04:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:04:00]Read from MH i2c: E2 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: E2 0B 00 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: E2 0B 00 95 00 00 B0 BD 2C D5 A0 86 D7 94 90 00 10 [10:04:00]RAPDU: B0 BD 2C D5 A0 86 D7 94 90 00 [10:04:00]wFMCommunicate OK [10:04:00]SAM_PROTO_SignData done [10:04:00]FM_MakeSignedData done [10:04:00]CreateOFDProtocolMessage [10:04:00]wFMCommunicate request_size=4 [10:04:00]MH_SAM_APDU [10:04:00]CAPDU: 80 11 00 00 [10:04:00]Write to MH i2c: E2 08 00 96 00 80 11 00 00 00 00 00 00 10 [10:04:00]Write i2c OK [10:04:00]MH_I2C_Read... [10:04:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:04:00]Read from MH i2c: E2 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: E2 17 00 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: E2 17 00 96 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 63 [10:04:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 [10:04:00]wFMCommunicate OK [10:04:00]CreateOFDProtocolMessage done [10:04:00]OFDSenderStorePacket 2 [10:04:00]StoreOFDPacket docnum=2 [10:04:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 1C 01 00 00 9C 58 14 01 0A ED 5A 02 01 00 02 00 08 01 B9 04 01 00 01 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F4 03 04 00 0E 7A F1 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 35 04 06 00 78 4F EB C9 1A 7F B0 BD 2C D5 A0 86 D7 94 [10:04:00]CheckFolder [10:04:00]dirname=/storage/ofd_packets [10:04:00]CheckFolder done [10:04:00]ProducePacketName [10:04:00]name=ofd_packets/00000002 [10:04:00]NVStorageSaveData ofd_packets/00000002 [10:04:00]File name is /storage/ofd_packets/00000002 [10:04:00]Write 314 bytes [10:04:00]NVStorageSaveData done [10:04:00]OFDSenderStorePacket done [10:04:00]KKMCreateOFDPacket done [10:04:00]NVStorageSaveData kkm_last_timestamp [10:04:00]File name is /storage/kkm_last_timestamp [10:04:00]Write 4 bytes [10:04:00]NVStorageSaveData done [10:04:00]ExternCall_PrintAddStr [10:04:00]wPrintStart [10:04:00]Write to MH i2c: 01 00 00 97 00 97 [10:04:00]Write i2c OK [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: 01 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: 01 07 00 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: 01 07 00 97 00 00 00 00 00 00 FF 0F AC [10:04:00]RasterBufferAndPrint [10:04:00]line ОсОО "Шнос" [10:04:00]line Добро пожаловать [10:04:00]line Отчет об открытии смены [10:04:00]line ФФД: 1.0 [10:04:00]line ИНН: 00112200510239 [10:04:00]line Кассир: АЗС № 13 "Bishkek Petroleum" [10:04:00]line Адрес: 720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 [10:04:00]line Место: АЗС № 13 "Bishkek Petroleum" [10:04:00]line 13.03.2024 10:03 [10:04:00]line Смена: 1 [10:04:00]line РНМ: 0000000000150087 [10:04:00]line ЗНМ: 0300000057 [10:04:00]line ** Здесь Вам всегда рады ** [10:04:00]line *** СПАСИБО *** [10:04:00]line ФД: 2 [10:04:00]line ФМ: 0000000000959306 [10:04:00]line ФПД: 132284653574783 [10:04:00]line *** ЖДЕМ ВАС ОПЯТЬ *** [10:04:00]written 0, free lines is 4095 [10:04:00]OFD Sender: Processing packet 2 [packets to send 1, broken 0] [10:04:00]ProducePacketName [10:04:00]name=ofd_packets/00000002 [10:04:00]OFD Sender: To server: pG, [10:04:00]CommunicateWithHost lk.salyk.kg:30040 [10:04:00]ConnectInit lk.salyk.kg [10:04:00]Connected sock=10 [10:04:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 1C 01 00 00 9C 58 14 01 0A ED 5A 02 01 00 02 00 08 01 B9 04 01 00 01 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 FD 03 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F1 03 59 00 37 32 30 30 30 30 2C 20 D0 A7 D1 83 D0 B9 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D0 B3 2E 20 D0 A2 D0 BE D0 BA D0 BC D0 BE D0 BA 2C 20 D1 81 2E 20 D0 96 D0 B0 D1 80 D0 B1 D0 B0 D0 BD 2C 20 34 32 2E 37 39 35 39 35 31 2C 20 37 35 2E 32 39 33 35 34 36 20 A3 04 21 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 20 22 42 69 73 68 6B 65 6B 20 50 65 74 72 6F 6C 65 75 6D 22 F4 03 04 00 0E 7A F1 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 35 04 06 00 78 4F EB C9 1A 7F B0 BD 2C D5 A0 86 D7 94 [10:04:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 4F 00 00 00 E1 D4 47 00 C3 F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 02 00 00 00 F4 03 04 00 67 26 F1 65 B6 04 01 00 00 60 CD A3 8D 9A DA 06 C0 [10:04:00]CommunicateWithHost err = 0 [10:04:00]CheckOFDResponse [10:04:00]1017 (14) - 77093643461234 [10:04:00]1041 (16) - 0000000000959306 [10:04:00]1040 (4) - 2 [10:04:00]1012 (4) - 13.03.2024 04:07 [10:04:00]1206 (1) - 0 [10:04:00]OFD Sender: Remove packet 2 [10:04:00]ProducePacketName [10:04:00]name=ofd_packets/00000002 [10:04:00]NVStorageDeleteData [10:04:00]Write to MH i2c: 01 00 00 AF 00 AF [10:04:00]Write i2c OK [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: 01 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: 01 07 00 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: 01 07 00 AF 00 00 00 00 00 00 E6 0D A9 [10:04:00]RasterBufferAndPrint [10:04:00]line [10:04:00]line [10:04:00]line [10:04:00]line [10:04:00]line [10:04:00]written 0, free lines is 3560 [10:04:00]MH_Cut [10:04:00]Write to MH i2c: D1 01 00 B6 00 01 88 [10:04:00]Write i2c OK [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: D1 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: D1 01 00 [10:04:00]MH_I2C_Read... [10:04:00]Read from MH i2c: D1 01 00 B6 00 00 87 [10:04:00]Write to MH i2c: 01 00 00 B7 00 B7 [10:04:00]Write i2c OK [10:04:00]MH_I2C_Read... [10:04:01]OFD Sender: No OFD packet to send [10:04:01]*** Cut start [10:04:01]*** Partial cut [10:04:01]*** CUTSNS_PIN = 1 [10:04:01]*** CUTSNS_PIN = 0 [10:04:01]*** Brake cut motor [10:04:02]Read from MH i2c: 01 [10:04:02]MH_I2C_Read... [10:04:02]*** Stop cut motor [10:04:02]*** Cut end [10:04:02]Read from MH i2c: 01 07 00 [10:04:02]MH_I2C_Read... [10:04:02]Read from MH i2c: 01 07 00 B7 00 00 00 00 00 00 FF 0F CC [10:04:02]process_action open_shift done [10:04:02]no requested_data - finishing processing [10:04:02]process_action_free open_shift [10:04:02]json_value_free [10:04:02]json_value_free done [10:04:02]process_json_proto returns [10:04:02]Send response to host [10:04:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [10:04:02]free response buf [10:04:02]execute_script done [10:04:02]execute_script returns [10:04:02]free content buf [10:04:02]Sock 9.Close socket [10:04:02]Sock 9.Thread stoped [10:04:06]OFD Sender: No OFD packet to send [10:04:11]OFD Sender: No OFD packet to send [10:04:16]OFD Sender: No OFD packet to send [10:04:21]OFD Sender: No OFD packet to send [10:04:26]OFD Sender: No OFD packet to send [10:04:31]OFD Sender: No OFD packet to send [10:04:34]accept exits with 8 [10:04:34]New connection [10:04:34]New thread 3066895716 created [10:04:34]Thread 3066752356 joined [10:04:34]Waiting for new connection... [10:04:34] Sock 8.Parse request [10:04:34]Sock 8.Check first char [10:04:34]Sock 8.First char is OK [10:04:34]request: POST /json_proto HTTP/1.1 [10:04:34]Method: POST [10:04:34]URL: /json_proto [10:04:34]Method is POST - this is cgi request [10:04:34]url: /json_proto [10:04:34]query_string will be loaded in cgi processing [10:04:34]execute_cgi json_proto POST (null) [10:04:34]execute_cgi path=json_proto method=POST [10:04:34]POST find Content-Length [10:04:34]Host: 192.168.0.101:8080 [10:04:34]Connection: keep-alive [10:04:34]Content-Length: 144 [10:04:34]Accept: application/json, text/plain, */* [10:04:34]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [10:04:34]Content-Type: application/json [10:04:34]Origin: http://192.168.0.101:8080 [10:04:34]Referer: http://192.168.0.101:8080/testengine [10:04:34]Accept-Encoding: gzip, deflate [10:04:34]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [10:04:34] [10:04:34]POST finish read [10:04:34]Found Content-Length = 144 [10:04:34]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 13 \"Bishkek Petroleum\"","type":"sale","tax_sys":0}}} [10:04:34]execute_script... [10:04:34]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 13 \"Bishkek Petroleum\"","type":"sale","tax_sys":0}}} [10:04:34]POST & json_proto [10:04:34]process_json_proto [10:04:34]json parsed OK: [10:04:34]protocol is kg_v1.0 [10:04:34]action value=open_receipt [10:04:34]process_action open_receipt [10:04:34]cmd_open_receipt [10:04:34]MH_GetDate [10:04:34]Write to MH i2c: F0 00 00 B8 00 A7 [10:04:34]Write i2c OK [10:04:34]MH_I2C_Read... [10:04:34]Read from MH i2c: F0 [10:04:34]MH_I2C_Read... [10:04:34]Read from MH i2c: F0 09 00 [10:04:34]MH_I2C_Read... [10:04:34]Read from MH i2c: F0 09 00 B8 00 00 32 7A F1 65 11 78 F1 65 91 [10:04:34]GetLastDocTimeStamp 1710324238 [10:04:34]current date 1710324274 [10:04:34]FM_GetShiftState [10:04:34]SAM_PROTO_GetShiftState [10:04:34]wFMCommunicate request_size=4 [10:04:34]MH_SAM_APDU [10:04:34]CAPDU: 80 13 01 00 [10:04:34]Write to MH i2c: E2 08 00 B9 00 80 13 01 00 00 00 00 00 36 [10:04:34]Write i2c OK [10:04:34]MH_I2C_Read... [10:04:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:04:35]Read from MH i2c: E2 [10:04:35]MH_I2C_Read... [10:04:35]Read from MH i2c: E2 0E 00 [10:04:35]MH_I2C_Read... [10:04:35]Read from MH i2c: E2 0E 00 B9 00 00 09 00 01 0E 7A F1 65 00 00 00 00 90 00 20 [10:04:35]RAPDU: 09 00 01 0E 7A F1 65 00 00 00 00 90 00 [10:04:35]wFMCommunicate OK [10:04:35]SAM_PROTO_GetShiftState done [10:04:35]FM_GetShiftState done [10:04:35]opened in 1710324238 [10:04:35]opened+sec_in_day 1710410638 [10:04:35]KKMCreateReceiptDocument [10:04:35]Load OK [10:04:35]Malloc new data [10:04:35]MH_GetDate [10:04:35]Write to MH i2c: F0 00 00 BA 00 A9 [10:04:35]Write i2c OK [10:04:35]MH_I2C_Read... [10:04:35]Read from MH i2c: F0 [10:04:35]MH_I2C_Read... [10:04:35]Read from MH i2c: F0 09 00 [10:04:35]MH_I2C_Read... [10:04:35]Read from MH i2c: F0 09 00 BA 00 00 33 7A F1 65 11 78 F1 65 94 [10:04:35]Malloc new data [10:04:35]Malloc new data [10:04:35]Malloc new data [10:04:35]Malloc new data [10:04:35]KKMCreateReceiptDocument OK [10:04:35]Malloc new data [10:04:35]Malloc new data [10:04:35]KKMSetReceiptData OK [10:04:35]process_action open_receipt done [10:04:35]no requested_data - finishing processing [10:04:35]process_action_free open_receipt [10:04:35]json_value_free [10:04:35]json_value_free done [10:04:35]process_json_proto returns [10:04:35]Send response to host [10:04:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [10:04:35]free response buf [10:04:35]execute_script done [10:04:35]execute_script returns [10:04:35]free content buf [10:04:35]Sock 8.Close socket [10:04:35]Sock 8.Thread stoped [10:04:36]OFD Sender: No OFD packet to send [10:04:41]OFD Sender: No OFD packet to send [10:04:41]accept exits with 9 [10:04:41]New connection [10:04:41]New thread 3066752356 created [10:04:41]Thread 3066895716 joined [10:04:41]Waiting for new connection... [10:04:41] Sock 9.Parse request [10:04:41]Sock 9.Check first char [10:04:41]Sock 9.First char is OK [10:04:41]request: POST /json_proto HTTP/1.1 [10:04:41]Method: POST [10:04:41]URL: /json_proto [10:04:41]Method is POST - this is cgi request [10:04:41]url: /json_proto [10:04:41]query_string will be loaded in cgi processing [10:04:41]execute_cgi json_proto POST (null) [10:04:41]execute_cgi path=json_proto method=POST [10:04:41]POST find Content-Length [10:04:41]Host: 192.168.0.101:8080 [10:04:41]Connection: keep-alive [10:04:41]Content-Length: 225 [10:04:41]Accept: application/json, text/plain, */* [10:04:41]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [10:04:41]Content-Type: application/json [10:04:41]Origin: http://192.168.0.101:8080 [10:04:41]Referer: http://192.168.0.101:8080/testengine [10:04:41]Accept-Encoding: gzip, deflate [10:04:41]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [10:04:41] [10:04:41]POST finish read [10:04:41]Found Content-Length = 225 [10:04:41]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}]}]}}} [10:04:41]execute_script... [10:04:41]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}]}]}}} [10:04:41]POST & json_proto [10:04:41]process_json_proto [10:04:41]json parsed OK: [10:04:41]protocol is kg_v1.0 [10:04:41]action value=add_receipt [10:04:41]process_action add_receipt [10:04:41]cmd_open_receipt [10:04:41]MH_GetDate [10:04:41]Write to MH i2c: F0 00 00 BB 00 AA [10:04:41]Write i2c OK [10:04:41]MH_I2C_Read... [10:04:41]Read from MH i2c: F0 [10:04:41]MH_I2C_Read... [10:04:41]Read from MH i2c: F0 09 00 [10:04:41]MH_I2C_Read... [10:04:41]Read from MH i2c: F0 09 00 BB 00 00 39 7A F1 65 11 78 F1 65 9B [10:04:41]GetLastDocTimeStamp 1710324238 [10:04:41]current date 1710324281 [10:04:41]FM_GetShiftState [10:04:41]SAM_PROTO_GetShiftState [10:04:41]wFMCommunicate request_size=4 [10:04:41]MH_SAM_APDU [10:04:41]CAPDU: 80 13 01 00 [10:04:41]Write to MH i2c: E2 08 00 BC 00 80 13 01 00 00 00 00 00 39 [10:04:41]Write i2c OK [10:04:41]MH_I2C_Read... [10:04:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:04:41]Read from MH i2c: E2 [10:04:41]MH_I2C_Read... [10:04:41]Read from MH i2c: E2 0E 00 [10:04:41]MH_I2C_Read... [10:04:41]Read from MH i2c: E2 0E 00 BC 00 00 09 00 01 0E 7A F1 65 00 00 00 00 90 00 23 [10:04:41]RAPDU: 09 00 01 0E 7A F1 65 00 00 00 00 90 00 [10:04:41]wFMCommunicate OK [10:04:41]SAM_PROTO_GetShiftState done [10:04:41]FM_GetShiftState done [10:04:41]opened in 1710324238 [10:04:41]opened+sec_in_day 1710410638 [10:04:41]quantity*price = 100 [10:04:41]sum+1 = 101 [10:04:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1.00 НСП 1% : 0.01 НДС 12% : 0.11 Наличными: 1.00 Безнал.: 0.00 Место: АЗС № 13 "Bishkek Petroleum" Адрес: 720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 СНО: Общий режим Чек 1 13.03.2024 10:04 Смена: 1 ФФД: 1.0 ЗНМ: 0300000057 РНМ: 0000000000150087 Версия ККМ: v1.0 *** СПАСИБО *** ФМ: 0000000000959306 ФД: 3 ФПД: 186209942702044 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T100435&type=1&operation_type=1&fn_number=0000000000959306&fd_number=3&fm=186209942702044&tin=00112200510239®Number=0000000000150087&sum=100 *** ЖДЕМ ВАС ОПЯТЬ *** [10:04:43]StoreToDocumentArchive [10:04:43]shift 1 fd 3 [10:04:43]save to /storage/0001/doc_00000003 [10:04:43]save last doc name /storage/0001/doc_00000003 to /storage/kkm_last_doc_name [10:04:43]save OK [10:04:43]Clear old archive folders... [10:04:43]ProcessDocumentItem done err = 0, tmpTLVsize=245 [10:04:43]tlvbuf is 002C90C0 [10:04:43]SAM_PROTO_ClearQueue [10:04:43]wFMCommunicate request_size=4 [10:04:43]MH_SAM_APDU [10:04:43]CAPDU: 80 09 00 00 [10:04:43]Write to MH i2c: E2 08 00 CA 00 80 09 00 00 00 00 00 00 3C [10:04:43]Write i2c OK [10:04:43]MH_I2C_Read... [10:04:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:04:43]Read from MH i2c: E2 [10:04:43]MH_I2C_Read... [10:04:43]Read from MH i2c: E2 03 00 [10:04:43]MH_I2C_Read... [10:04:43]Read from MH i2c: E2 03 00 CA 00 00 90 00 3E [10:04:43]RAPDU: 90 00 [10:04:43]wFMCommunicate OK [10:04:43]SAM_PROTO_ClearQueue done [10:04:43]KKMCreateOFDPacket [10:04:43]OFDProtocolAddRootSTLVToBuf [10:04:43]FM_MakeSignedData [10:04:43]FM_MakeSignedData [10:04:43]SAM_PROTO_SignData [10:04:43]wFMCommunicate request_size=4 [10:04:43]MH_SAM_APDU [10:04:43]CAPDU: 80 0D 01 02 [10:04:43]Write to MH i2c: E2 08 00 CB 00 80 0D 01 02 00 00 00 00 44 [10:04:43]Write i2c OK [10:04:43]MH_I2C_Read... [10:04:44]Read from MH i2c: E2 [10:04:44]MH_I2C_Read... [10:04:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:04:44]Read from MH i2c: E2 03 00 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: E2 03 00 CB 00 00 90 00 3F [10:04:44]RAPDU: 90 00 [10:04:44]wFMCommunicate OK [10:04:44]wFMCommunicate request_size=254 [10:04:44]MH_SAM_APDU [10:04:44]CAPDU: 80 0D 02 02 F9 03 00 F5 00 1E 04 01 00 01 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 33 7A F1 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 35 30 30 38 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 03 00 00 00 35 04 06 00 A9 5B 61 7D 07 DC [10:04:44]Write to MH i2c: E2 01 01 CC 00 80 0D 02 02 F9 00 03 00 F5 00 1E 04 01 00 01 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 33 7A F1 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 35 30 30 38 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 03 00 00 00 35 04 06 00 A9 5B 61 7D 07 DC 00 00 A2 [10:04:44]Write i2c OK [10:04:44]MH_I2C_Read... [10:04:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:04:44]Read from MH i2c: E2 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: E2 03 00 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: E2 03 00 CC 00 00 90 00 40 [10:04:44]RAPDU: 90 00 [10:04:44]wFMCommunicate OK [10:04:44]wFMCommunicate request_size=4 [10:04:44]MH_SAM_APDU [10:04:44]CAPDU: 80 0D 03 02 [10:04:44]Write to MH i2c: E2 08 00 CD 00 80 0D 03 02 00 00 00 00 48 [10:04:44]Write i2c OK [10:04:44]MH_I2C_Read... [10:04:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:04:44]Read from MH i2c: E2 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: E2 0B 00 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: E2 0B 00 CD 00 00 32 38 A5 64 32 A4 3F 9B 90 00 6C [10:04:44]RAPDU: 32 38 A5 64 32 A4 3F 9B 90 00 [10:04:44]wFMCommunicate OK [10:04:44]SAM_PROTO_SignData done [10:04:44]FM_MakeSignedData done [10:04:44]CreateOFDProtocolMessage [10:04:44]wFMCommunicate request_size=4 [10:04:44]MH_SAM_APDU [10:04:44]CAPDU: 80 11 00 00 [10:04:44]Write to MH i2c: E2 08 00 CE 00 80 11 00 00 00 00 00 00 48 [10:04:44]Write i2c OK [10:04:44]MH_I2C_Read... [10:04:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:04:44]Read from MH i2c: E2 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: E2 17 00 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: E2 17 00 CE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 9B [10:04:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 [10:04:44]wFMCommunicate OK [10:04:44]CreateOFDProtocolMessage done [10:04:44]OFDSenderStorePacket 3 [10:04:44]StoreOFDPacket docnum=3 [10:04:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 09 01 00 00 C3 7D 01 01 38 3C 5A 03 01 00 03 00 F5 00 1E 04 01 00 01 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 33 7A F1 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 35 30 30 38 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 03 00 00 00 35 04 06 00 A9 5B 61 7D 07 DC 32 38 A5 64 32 A4 3F 9B [10:04:44]CheckFolder [10:04:44]dirname=/storage/ofd_packets [10:04:44]CheckFolder done [10:04:44]ProducePacketName [10:04:44]name=ofd_packets/00000003 [10:04:44]NVStorageSaveData ofd_packets/00000003 [10:04:44]File name is /storage/ofd_packets/00000003 [10:04:44]Write 295 bytes [10:04:44]NVStorageSaveData done [10:04:44]OFDSenderStorePacket done [10:04:44]KKMCreateOFDPacket done [10:04:44]NVStorageSaveData kkm_last_timestamp [10:04:44]File name is /storage/kkm_last_timestamp [10:04:44]Write 4 bytes [10:04:44]NVStorageSaveData done [10:04:44]ExternCall_PrintAddStr [10:04:44]wPrintStart [10:04:44]Write to MH i2c: 01 00 00 CF 00 CF [10:04:44]Write i2c OK [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: 01 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: 01 07 00 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: 01 07 00 CF 00 00 00 00 00 00 FF 0F E4 [10:04:44]RasterBufferAndPrint [10:04:44]line ОсОО "Шнос" [10:04:44]line Добро пожаловать [10:04:44]line ИНН: 00112200510239 [10:04:44]line Контрольно-Кассовый Чек [10:04:44]line ПРОДАЖА [10:04:44]line ** Здесь Вам всегда рады ** [10:04:44]line Товар: 123456 [10:04:44]line Пакет [10:04:44]line 1.000 шт. * 1.00 [10:04:44]line = 1.00 [10:04:44]line НДС 12% НСП 1% [10:04:44]line > о реализуемом товаре [10:04:44]line ИТОГО: 1.00 [10:04:44]line НСП 1% : 0.01 [10:04:44]line НДС 12% : 0.11 [10:04:44]line Наличными: 1.00 [10:04:44]line Безнал.: 0.00 [10:04:44]line Место: АЗС № 13 "Bishkek Petroleum" [10:04:44]line Адрес: 720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 [10:04:44]line СНО: Общий режим [10:04:44]line Чек 1 13.03.2024 10:04 [10:04:44]line Смена: 1 ФФД: 1.0 [10:04:44]line ЗНМ: 0300000057 [10:04:44]line РНМ: 0000000000150087 [10:04:44]line Версия ККМ: v1.0 [10:04:44]line *** СПАСИБО *** [10:04:44]line ФМ: 0000000000959306 [10:04:44]line ФД: 3 [10:04:44]line ФПД: 186209942702044 [10:04:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T100435&type=1&operation_type=1&fn_number=0000000000959306&fd_number=3&fm=186209942702044&tin=00112200510239®Number=0000000000150087&sum=100 [10:04:44]line *** ЖДЕМ ВАС ОПЯТЬ *** [10:04:44]written 0, free lines is 4095 [10:04:44]OFD Sender: Processing packet 3 [packets to send 1, broken 0] [10:04:44]ProducePacketName [10:04:44]name=ofd_packets/00000003 [10:04:44]OFD Sender: To server: pG, [10:04:44]CommunicateWithHost lk.salyk.kg:30040 [10:04:44]ConnectInit lk.salyk.kg [10:04:44]Connected sock=10 [10:04:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 09 01 00 00 C3 7D 01 01 38 3C 5A 03 01 00 03 00 F5 00 1E 04 01 00 01 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 33 7A F1 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 35 30 30 38 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 03 00 00 00 35 04 06 00 A9 5B 61 7D 07 DC 32 38 A5 64 32 A4 3F 9B [10:04:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 4F 00 00 00 9B C8 47 00 4C DE 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 35 39 33 30 36 10 04 04 00 03 00 00 00 F4 03 04 00 93 26 F1 65 B6 04 01 00 00 A1 D5 E8 4E C7 F7 B9 C9 [10:04:44]CommunicateWithHost err = 0 [10:04:44]CheckOFDResponse [10:04:44]1017 (14) - 77093643461234 [10:04:44]1041 (16) - 0000000000959306 [10:04:44]1040 (4) - 3 [10:04:44]1012 (4) - 13.03.2024 04:07 [10:04:44]1206 (1) - 0 [10:04:44]OFD Sender: Remove packet 3 [10:04:44]ProducePacketName [10:04:44]name=ofd_packets/00000003 [10:04:44]NVStorageDeleteData [10:04:44]Write to MH i2c: 01 00 00 FA 00 FA [10:04:44]Write i2c OK [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: 01 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: 01 07 00 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: 01 07 00 FA 00 00 00 00 00 00 60 0C 6D [10:04:44]RasterBufferAndPrint [10:04:44]line [10:04:44]line [10:04:44]line [10:04:44]line [10:04:44]line [10:04:44]written 0, free lines is 3173 [10:04:44]MH_Cut [10:04:44]Write to MH i2c: D1 01 00 01 01 01 D4 [10:04:44]Write i2c OK [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: D1 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: D1 01 00 [10:04:44]MH_I2C_Read... [10:04:44]Read from MH i2c: D1 01 00 01 01 00 D3 [10:04:44]Write to MH i2c: 01 00 00 02 01 03 [10:04:44]Write i2c OK [10:04:44]MH_I2C_Read... [10:04:45]OFD Sender: No OFD packet to send [10:04:45]*** Cut start [10:04:45]*** Partial cut [10:04:45]*** CUTSNS_PIN = 1 [10:04:46]*** CUTSNS_PIN = 0 [10:04:46]*** Brake cut motor [10:04:46]Read from MH i2c: 01 [10:04:46]MH_I2C_Read... [10:04:46]*** Stop cut motor [10:04:46]*** Cut end [10:04:46]Read from MH i2c: 01 07 00 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: 01 07 00 02 01 00 00 00 00 00 FF 0F 18 [10:04:46]process_action close_receipt done [10:04:46]no requested_data - finishing processing [10:04:46]process_action_free close_receipt [10:04:46]json_value_free [10:04:46]json_value_free done [10:04:46]process_json_proto returns [10:04:46]Send response to host [10:04:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [10:04:46]free response buf [10:04:46]execute_script done [10:04:46]execute_script returns [10:04:46]free content buf [10:04:46]Sock 8.Close socket [10:04:46]Sock 8.Thread stoped [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:27]accept exits with 9 [10:06:27]New connection [10:06:27]New thread 3066752356 created [10:06:27]Thread 3066895716 joined [10:06:27]Waiting for new connection... [10:06:27] Sock 9.Parse request [10:06:27]Sock 9.Check first char [10:06:27]Sock 9.First char is OK [10:06:27]request: POST /json_proto HTTP/1.1 [10:06:27]Method: POST [10:06:27]URL: /json_proto [10:06:27]Method is POST - this is cgi request [10:06:27]url: /json_proto [10:06:27]query_string will be loaded in cgi processing [10:06:27]execute_cgi json_proto POST (null) [10:06:27]execute_cgi path=json_proto method=POST [10:06:27]POST find Content-Length [10:06:27]Host: 192.168.0.101:8080 [10:06:27]Connection: keep-alive [10:06:27]Content-Length: 151 [10:06:27]Accept: application/json, text/plain, */* [10:06:27]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [10:06:27]Content-Type: application/json [10:06:27]Origin: http://192.168.0.101:8080 [10:06:27]Referer: http://192.168.0.101:8080/testengine [10:06:27]Accept-Encoding: gzip, deflate [10:06:27]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [10:06:27] [10:06:27]POST finish read [10:06:27]Found Content-Length = 151 [10:06:27]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 13 \"Bishkek Petroleum\"","type":"sale_refund","tax_sys":0}}} [10:06:27]execute_script... [10:06:27]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 13 \"Bishkek Petroleum\"","type":"sale_refund","tax_sys":0}}} [10:06:27]POST & json_proto [10:06:27]process_json_proto [10:06:27]json parsed OK: [10:06:27]protocol is kg_v1.0 [10:06:27]action value=open_receipt [10:06:27]process_action open_receipt [10:06:27]cmd_open_receipt [10:06:27]MH_GetDate [10:06:27]Write to MH i2c: F0 00 00 03 01 F3 [10:06:27]Write i2c OK [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: F0 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: F0 09 00 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: F0 09 00 03 01 00 A3 7A F1 65 11 78 F1 65 4E [10:06:27]GetLastDocTimeStamp 1710324275 [10:06:27]current date 1710324387 [10:06:27]FM_GetShiftState [10:06:27]SAM_PROTO_GetShiftState [10:06:27]wFMCommunicate request_size=4 [10:06:27]MH_SAM_APDU [10:06:27]CAPDU: 80 13 01 00 [10:06:27]Write to MH i2c: E2 08 00 04 01 80 13 01 00 00 00 00 00 82 [10:06:27]Write i2c OK [10:06:27]MH_I2C_Read... [10:06:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:27]Read from MH i2c: E2 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 0E 00 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 0E 00 04 01 00 09 00 01 0E 7A F1 65 00 00 00 00 90 00 6C [10:06:27]RAPDU: 09 00 01 0E 7A F1 65 00 00 00 00 90 00 [10:06:27]wFMCommunicate OK [10:06:27]SAM_PROTO_GetShiftState done [10:06:27]FM_GetShiftState done [10:06:27]opened in 1710324238 [10:06:27]opened+sec_in_day 1710410638 [10:06:27]KKMCreateReceiptDocument [10:06:27]Load OK [10:06:27]Malloc new data [10:06:27]MH_GetDate [10:06:27]Write to MH i2c: F0 00 00 05 01 F5 [10:06:27]Write i2c OK [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: F0 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: F0 09 00 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: F0 09 00 05 01 00 A3 7A F1 65 11 78 F1 65 50 [10:06:27]Malloc new data [10:06:27]Malloc new data [10:06:27]Malloc new data [10:06:27]Malloc new data [10:06:27]KKMCreateReceiptDocument OK [10:06:27]Malloc new data [10:06:27]Malloc new data [10:06:27]KKMSetReceiptData OK [10:06:27]process_action open_receipt done [10:06:27]no requested_data - finishing processing [10:06:27]process_action_free open_receipt [10:06:27]json_value_free [10:06:27]json_value_free done [10:06:27]process_json_proto returns [10:06:27]Send response to host [10:06:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [10:06:27]free response buf [10:06:27]execute_script done [10:06:27]execute_script returns [10:06:27]free content buf [10:06:27]Sock 9.Close socket [10:06:27]Sock 9.Thread stoped [10:06:28]accept exits with 8 [10:06:28]New connection [10:06:28]New thread 3066895716 created [10:06:28]Thread 3066752356 joined [10:06:28]Waiting for new connection... [10:06:28] Sock 8.Parse request [10:06:28]Sock 8.Check first char [10:06:28]Sock 8.First char is OK [10:06:28]request: POST /json_proto HTTP/1.1 [10:06:28]Method: POST [10:06:28]URL: /json_proto [10:06:28]Method is POST - this is cgi request [10:06:28]url: /json_proto [10:06:28]query_string will be loaded in cgi processing [10:06:28]execute_cgi json_proto POST (null) [10:06:28]execute_cgi path=json_proto method=POST [10:06:28]POST find Content-Length [10:06:28]Host: 192.168.0.101:8080 [10:06:28]Connection: keep-alive [10:06:28]Content-Length: 225 [10:06:28]Accept: application/json, text/plain, */* [10:06:28]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [10:06:28]Content-Type: application/json [10:06:28]Origin: http://192.168.0.101:8080 [10:06:28]Referer: http://192.168.0.101:8080/testengine [10:06:28]Accept-Encoding: gzip, deflate [10:06:28]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [10:06:28] [10:06:28]POST finish read [10:06:28]Found Content-Length = 225 [10:06:28]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}]}]}}} [10:06:28]execute_script... [10:06:28]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}]}]}}} [10:06:28]POST & json_proto [10:06:28]process_json_proto [10:06:28]json parsed OK: [10:06:28]protocol is kg_v1.0 [10:06:28]action value=add_receipt [10:06:28]process_action add_receipt [10:06:28]cmd_open_receipt [10:06:28]MH_GetDate [10:06:28]Write to MH i2c: F0 00 00 06 01 F6 [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: F0 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: F0 09 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: F0 09 00 06 01 00 A4 7A F1 65 11 78 F1 65 52 [10:06:28]GetLastDocTimeStamp 1710324275 [10:06:28]current date 1710324388 [10:06:28]FM_GetShiftState [10:06:28]SAM_PROTO_GetShiftState [10:06:28]wFMCommunicate request_size=4 [10:06:28]MH_SAM_APDU [10:06:28]CAPDU: 80 13 01 00 [10:06:28]Write to MH i2c: E2 08 00 07 01 80 13 01 00 00 00 00 00 85 [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:28]Read from MH i2c: E2 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: E2 0E 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: E2 0E 00 07 01 00 09 00 01 0E 7A F1 65 00 00 00 00 90 00 6F [10:06:28]RAPDU: 09 00 01 0E 7A F1 65 00 00 00 00 90 00 [10:06:28]wFMCommunicate OK [10:06:28]SAM_PROTO_GetShiftState done [10:06:28]FM_GetShiftState done [10:06:28]opened in 1710324238 [10:06:28]opened+sec_in_day 1710410638 [10:06:28]quantity*price = 100 [10:06:28]sum+1 = 101 [10:06:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1.00 НСП 1% : 0.01 НДС 12% : 0.11 Наличными: 1.00 Безнал.: 0.00 Место: АЗС № 13 "Bishkek Petroleum" Адрес: 720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 СНО: Общий режим Чек 2 13.03.2024 10:06 Смена: 1 ФФД: 1.0 ЗНМ: 0300000057 РНМ: 0000000000150087 Версия ККМ: v1.0 ФД осн.: 3 ФМ осн.: 0000000000959306 *** СПАСИБО *** ФМ: 0000000000959306 ФД: 4 ФПД: 8779810407905 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T100627&type=2&operation_type=1&fn_number=0000000000959306&fd_number=4&fm=8779810407905&tin=00112200510239®Number=0000000000150087&sum=100 *** ЖДЕМ ВАС ОПЯТЬ *** [10:06:30]StoreToDocumentArchive [10:06:30]shift 1 fd 4 [10:06:30]save to /storage/0001/doc_00000004 [10:06:30]save last doc name /storage/0001/doc_00000004 to /storage/kkm_last_doc_name [10:06:30]save OK [10:06:30]Clear old archive folders... [10:06:30]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:06:30]tlvbuf is 002CF1F0 [10:06:30]SAM_PROTO_ClearQueue [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 09 00 00 [10:06:30]Write to MH i2c: E2 08 00 17 01 80 09 00 00 00 00 00 00 8A [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]OFD Sender: No OFD packet to send [10:06:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 17 01 00 90 00 8C [10:06:30]RAPDU: 90 00 [10:06:30]wFMCommunicate OK [10:06:30]SAM_PROTO_ClearQueue done [10:06:30]KKMCreateOFDPacket [10:06:30]OFDProtocolAddRootSTLVToBuf [10:06:30]FM_MakeSignedData [10:06:30]FM_MakeSignedData [10:06:30]SAM_PROTO_SignData [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 0D 01 02 [10:06:30]Write to MH i2c: E2 08 00 18 01 80 0D 01 02 00 00 00 00 92 [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 *** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:06:30] [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 18 01 00 90 00 8D [10:06:30]RAPDU: 90 00 [10:06:30]wFMCommunicate OK [10:06:30]wFMCommunicate request_size=255 [10:06:30]MH_SAM_APDU [10:06:30]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 A3 7A F1 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 35 30 30 38 37 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 11 04 10 00 30 30 30 30 30 30 30 [10:06:30]Write to MH i2c: E2 02 01 19 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 A3 7A F1 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 35 30 30 38 37 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 11 04 10 00 30 30 30 30 30 30 30 00 00 20 [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 19 01 00 90 00 8E [10:06:30]RAPDU: 90 00 [10:06:30]wFMCommunicate OK [10:06:30]wFMCommunicate request_size=32 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 30 36 10 04 04 00 04 00 00 00 35 04 06 00 07 FC 35 7B 05 E1 [10:06:30]Write to MH i2c: E2 23 00 1A 01 80 0D 02 02 1B 00 30 30 30 39 35 39 33 30 36 10 04 04 00 04 00 00 00 35 04 06 00 07 FC 35 7B 05 E1 00 00 8F [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:31]Read from MH i2c: E2 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: E2 03 00 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: E2 03 00 1A 01 00 90 00 8F [10:06:31]RAPDU: 90 00 [10:06:31]wFMCommunicate OK [10:06:31]wFMCommunicate request_size=4 [10:06:31]MH_SAM_APDU [10:06:31]CAPDU: 80 0D 03 02 [10:06:31]Write to MH i2c: E2 08 00 1B 01 80 0D 03 02 00 00 00 00 97 [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:06:31]Read from MH i2c: E2 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: E2 0B 00 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: E2 0B 00 1B 01 00 3D 15 E3 85 AB 24 76 5C 90 00 F3 [10:06:31]RAPDU: 3D 15 E3 85 AB 24 76 5C 90 00 [10:06:31]wFMCommunicate OK [10:06:31]SAM_PROTO_SignData done [10:06:31]FM_MakeSignedData done [10:06:31]CreateOFDProtocolMessage [10:06:31]wFMCommunicate request_size=4 [10:06:31]MH_SAM_APDU [10:06:31]CAPDU: 80 11 00 00 [10:06:31]Write to MH i2c: E2 08 00 1C 01 80 11 00 00 00 00 00 00 97 [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:31]Read from MH i2c: E2 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: E2 17 00 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: E2 17 00 1C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 EA [10:06:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 [10:06:31]wFMCommunicate OK [10:06:31]CreateOFDProtocolMessage done [10:06:31]OFDSenderStorePacket 4 [10:06:31]StoreOFDPacket docnum=4 [10:06:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 25 01 00 00 24 0E 1D 01 1F FA 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 A3 7A F1 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 35 30 30 38 37 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 04 00 00 00 35 04 06 00 07 FC 35 7B 05 E1 3D 15 E3 85 AB 24 76 5C [10:06:31]CheckFolder [10:06:31]dirname=/storage/ofd_packets [10:06:31]CheckFolder done [10:06:31]ProducePacketName [10:06:31]name=ofd_packets/00000004 [10:06:31]NVStorageSaveData ofd_packets/00000004 [10:06:31]File name is /storage/ofd_packets/00000004 [10:06:31]Write 323 bytes [10:06:31]NVStorageSaveData done [10:06:31]OFDSenderStorePacket done [10:06:31]KKMCreateOFDPacket done [10:06:31]NVStorageSaveData kkm_last_timestamp [10:06:31]File name is /storage/kkm_last_timestamp [10:06:31]Write 4 bytes [10:06:31]NVStorageSaveData done [10:06:31]ExternCall_PrintAddStr [10:06:31]wPrintStart [10:06:31]Write to MH i2c: 01 00 00 1D 01 1E [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 07 00 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 07 00 1D 01 00 00 00 00 00 FF 0F 33 [10:06:31]RasterBufferAndPrint [10:06:31]line ОсОО "Шнос" [10:06:31]line Добро пожаловать [10:06:31]line ИНН: 00112200510239 [10:06:31]line Контрольно-Кассовый Чек [10:06:31]line ВОЗВРАТ ПРОДАЖИ [10:06:31]line ** Здесь Вам всегда рады ** [10:06:31]line Товар: 123456 [10:06:31]line Пакет [10:06:31]line 1.000 шт. * 1.00 [10:06:31]line = 1.00 [10:06:31]line НДС 12% НСП 1% [10:06:31]line > о реализуемом товаре [10:06:31]line ИТОГО: 1.00 [10:06:31]line НСП 1% : 0.01 [10:06:31]line НДС 12% : 0.11 [10:06:31]line Наличными: 1.00 [10:06:31]line Безнал.: 0.00 [10:06:31]line Место: АЗС № 13 "Bishkek Petroleum" [10:06:31]line Адрес: 720000, Чуйская обл., г. Токмок, с. Жарбан, 42.795951, 75.293546 [10:06:31]line СНО: Общий режим [10:06:31]line Чек 2 13.03.2024 10:06 [10:06:31]line Смена: 1 ФФД: 1.0 [10:06:31]line ЗНМ: 0300000057 [10:06:31]line РНМ: 0000000000150087 [10:06:31]line Версия ККМ: v1.0 [10:06:31]line ФД осн.: 3 [10:06:31]line ФМ осн.: 0000000000959306 [10:06:31]line *** СПАСИБО *** [10:06:31]line ФМ: 0000000000959306 [10:06:31]line ФД: 4 [10:06:31]line ФПД: 8779810407905 [10:06:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T100627&type=2&operation_type=1&fn_number=0000000000959306&fd_number=4&fm=8779810407905&tin=00112200510239®Number=0000000000150087&sum=100 [10:06:31]line *** ЖДЕМ ВАС ОПЯТЬ *** [10:06:31]written 0, free lines is 4095 [10:06:31]OFD Sender: Processing packet 4 [packets to send 1, broken 0] [10:06:31]ProducePacketName [10:06:31]name=ofd_packets/00000004 [10:06:31]OFD Sender: To server: pG, [10:06:31]CommunicateWithHost lk.salyk.kg:30040 [10:06:31]ConnectInit lk.salyk.kg [10:06:31]Connected sock=11 [10:06:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 25 01 00 00 24 0E 1D 01 1F FA 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 A3 7A F1 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 35 30 30 38 37 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 10 04 04 00 04 00 00 00 35 04 06 00 07 FC 35 7B 05 E1 3D 15 E3 85 AB 24 76 5C [10:06:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 4F 00 00 00 2A 23 47 00 23 DC 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 35 39 33 30 36 10 04 04 00 04 00 00 00 F4 03 04 00 FE 26 F1 65 B6 04 01 00 00 6B B8 B1 42 EB F0 7C BD [10:06:31]CommunicateWithHost err = 0 [10:06:31]CheckOFDResponse [10:06:31]1017 (14) - 77093643461234 [10:06:31]1041 (16) - 0000000000959306 [10:06:31]1040 (4) - 4 [10:06:31]1012 (4) - 13.03.2024 04:09 [10:06:31]1206 (1) - 0 [10:06:31]OFD Sender: Remove packet 4 [10:06:31]ProducePacketName [10:06:31]name=ofd_packets/00000004 [10:06:31]NVStorageDeleteData [10:06:31]Write to MH i2c: 01 00 00 4A 01 4B [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 07 00 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 07 00 4A 01 00 00 00 00 00 46 0C A4 [10:06:31]RasterBufferAndPrint [10:06:31]line [10:06:31]line [10:06:31]line [10:06:31]line [10:06:31]line [10:06:31]written 0, free lines is 3146 [10:06:31]MH_Cut [10:06:31]Write to MH i2c: D1 01 00 51 01 01 24 [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: D1 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: D1 01 00 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: D1 01 00 51 01 00 23 [10:06:31]Write to MH i2c: 01 00 00 52 01 53 [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06:31]OFD Sender: No OFD packet to send [10:06:32]*** Cut start [10:06:32]*** Partial cut [10:06:32]*** CUTSNS_PIN = 1 [10:06:32]*** CUTSNS_PIN = 0 [10:06:33]*** Brake cut motor [10:06:33]Read from MH i2c: 01 [10:06:33]MH_I2C_Read... [10:06:33]*** Stop cut motor [10:06:33]Read from MH i2c: *** Cut end [10:06:33]01 07 00 [10:06:33]MH_I2C_Read... [10:06:33]Read from MH i2c: 01 07 00 52 01 00 00 00 00 00 FF 0F 68 [10:06:33]process_action close_receipt done [10:06:33]no requested_data - finishing processing [10:06:33]process_action_free close_receipt [10:06:33]json_value_free [10:06:33]json_value_free done [10:06:33]process_json_proto returns [10:06:33]Send response to host [10:06:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [10:06:33]free response buf [10:06:33]execute_script done [10:06:33]execute_script returns [10:06:33]free content buf [10:06:33]Sock 9.Close socket [10:06:33]Sock 9.Thread stoped [10:06:36]OFD Sender: No OFD packet to send [10:06:38]accept exits with 8 [10:06:38]New connection [10:06:38]New thread 3066895716 created [10:06:38]Thread 3066752356 joined [10:06:38]Waiting for new connection... [10:06:38] Sock 8.Parse request [10:06:38]Sock 8.Check first char [10:06:38]Sock 8.First char is OK [10:06:38]request: POST /json_proto HTTP/1.1 [10:06:38]Method: POST [10:06:38]URL: /json_proto [10:06:38]Method is POST - this is cgi request [10:06:38]url: /json_proto [10:06:38]query_string will be loaded in cgi processing [10:06:38]execute_cgi json_proto POST (null) [10:06:38]execute_cgi path=json_proto method=POST [10:06:38]POST find Content-Length [10:06:38]Host: 192.168.0.101:8080 [10:06:38]Connection: keep-alive [10:06:38]Content-Length: 363 [10:06:38]Accept: application/json, text/plain, */* [10:06:38]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 [10:06:38]Content-Type: application/json [10:06:38]Origin: http://192.168.0.101:8080 [10:06:38]Referer: http://192.168.0.101:8080/testengine [10:06:38]Accept-Encoding: gzip, deflate [10:06:38]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [10:06:38] [10:06:38]POST finish read [10:06:38]Found Content-Length = 363 [10:06: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":"Сергей Смирнов"}}} [10:06:38]execute_script... [10:06: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":"Сергей Смирнов"}}} [10:06:38]POST & json_proto [10:06:38]process_json_proto [10:06:38]json parsed OK: [10:06:38]protocol is kg_v1.0 [10:06:38]action value=close_shift [10:06:38]process_action close_shift [10:06:38]cmd_close_shift [10:06:38]MH_GetDate [10:06:38]Write to MH i2c: F0 00 00 53 01 43 [10:06:38]Write i2c OK [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: F0 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: F0 09 00 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: F0 09 00 53 01 00 AE 7A F1 65 11 78 F1 65 A9 [10:06:38]GetLastDocTimeStamp 1710324387 [10:06:38]current date 1710324398 [10:06:38]FM_GetShiftState [10:06:38]SAM_PROTO_GetShiftState [10:06:38]wFMCommunicate request_size=4 [10:06:38]MH_SAM_APDU [10:06:38]CAPDU: 80 13 01 00 [10:06:38]Write to MH i2c: E2 08 00 54 01 80 13 01 00 00 00 00 00 D2 [10:06:38]Write i2c OK [10:06:38]MH_I2C_Read... [10:06:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:38]Read from MH i2c: E2 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: E2 0E 00 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: E2 0E 00 54 01 00 09 00 01 0E 7A F1 65 00 00 00 00 90 00 BC [10:06:38]RAPDU: 09 00 01 0E 7A F1 65 00 00 00 00 90 00 [10:06:38]wFMCommunicate OK [10:06:38]SAM_PROTO_GetShiftState done [10:06:38]FM_GetShiftState done [10:06:38]KKMCreateCloseShiftDocument [10:06:38]Load OK [10:06:38]Malloc new data [10:06:38]MH_GetDate [10:06:38]Write to MH i2c: F0 00 00 55 01 45 [10:06:38]Write i2c OK [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: F0 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: F0 09 00 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: F0 09 00 55 01 00 AE 7A F1 65 11 78 F1 65 AB [10:06:38]Malloc new data [10:06:38]Malloc new data [10:06:38]NVStorageSaveData kkm_registers [10:06:38]File name is /storage/kkm_registers [10:06:38]Write 24 bytes [10:06:38]NVStorageSaveData done [10:06:38]Malloc new data [10:06:38]Malloc new data [10:06:38]KKMCreateCloseShiftDocument OK [10:06:38]KKMSetCloseShiftData OK [10:06:38]ProcessDocumentItem done err = 0, tmpTLVsize=77 [10:06:38]tlvbuf is 002CBB10 [10:06:38]KKMLoadAndSignCloseShiftData [10:06:38]SAM_PROTO_ProcessDocument [10:06:38]wFMCommunicate request_size=9 [10:06:38]MH_SAM_APDU [10:06:38]CAPDU: 80 15 01 00 04 05 00 4D 00 [10:06:38]Write to MH i2c: E2 0C 00 56 01 80 15 01 00 04 00 05 00 4D 00 00 00 30 [10:06:38]Write i2c OK [10:06:38]MH_I2C_Read... [10:06:38]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [10:06:38]Read from MH i2c: E2 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: E2 03 00 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: E2 03 00 56 01 00 90 00 CB [10:06:38]RAPDU: 90 00 [10:06:38]wFMCommunicate OK [10:06:38]wFMCommunicate request_size=23 [10:06:38]MH_SAM_APDU [10:06:38]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 [10:06:38]Write to MH i2c: E2 1A 00 57 01 80 15 02 00 12 00 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 00 00 C1 [10:06:38]Write i2c OK [10:06:38]MH_I2C_Read... [10:06:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:06:38]Read from MH i2c: E2 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: E2 03 00 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: E2 03 00 57 01 00 90 00 CC [10:06:38]RAPDU: 90 00 [10:06:38]wFMCommunicate OK [10:06:38]wFMCommunicate request_size=36 [10:06:38]MH_SAM_APDU [10:06: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 [10:06:38]Write to MH i2c: E2 27 00 58 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 9D [10:06:38]Write i2c OK [10:06:38]MH_I2C_Read... [10:06:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:06:38]Read from MH i2c: E2 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: E2 03 00 [10:06:38]MH_I2C_Read... [10:06:38]Read from MH i2c: E2 03 00 58 01 00 90 00 CD [10:06:38]RAPDU: 90 00 [10:06:38]wFMCommunicate OK [10:06:38]wFMCommunicate request_size=13 [10:06:38]MH_SAM_APDU [10:06:38]CAPDU: 80 15 02 00 08 F4 03 04 00 AE 7A F1 65 [10:06:38]Write to MH i2c: E2 10 00 59 01 80 15 02 00 08 00 F4 03 04 00 AE 7A F1 65 00 00 63 [10:06:38]Write i2c OK [10:06:38]MH_I2C_Read... [10:06:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:06:39]Read from MH i2c: E2 [10:06:39]MH_I2C_Read... [10:06:39]Read from MH i2c: E2 03 00 [10:06:39]MH_I2C_Read... [10:06:39]Read from MH i2c: E2 03 00 59 01 00 90 00 CE [10:06:39]RAPDU: 90 00 [10:06:39]wFMCommunicate OK [10:06:39]wFMCommunicate request_size=25 [10:06:39]MH_SAM_APDU [10:06:39]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 [10:06:39]Write to MH i2c: E2 1C 00 5A 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 00 00 39 [10:06:39]Write i2c OK [10:06:39]MH_I2C_Read... [10:06:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [10:06:39]Read from MH i2c: E2 [10:06:39]MH_I2C_Read... [10:06:39]Read from MH i2c: E2 03 00 [10:06:39]MH_I2C_Read... [10:06:39]Read from MH i2c: E2 03 00 5A 01 00 90 00 CF [10:06:39]RAPDU: 90 00 [10:06:39]wFMCommunicate OK [10:06:39]wFMCommunicate request_size=4 [10:06:39]MH_SAM_APDU [10:06:39]CAPDU: 80 15 03 00 [10:06:39]Write to MH i2c: E2 08 00 5B 01 80 15 03 00 00 00 00 00 DD [10:06:39]Write i2c OK [10:06:39]MH_I2C_Read... [10:06:39]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [10:06:39]Read from MH i2c: E2 [10:06:39]MH_I2C_Read... [10:06:39]Read from MH i2c: E2 FD 00 [10:06:39]MH_I2C_Read... [10:06:39]Read from MH i2c: E2 FD 00 5B 01 00 EB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 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 BA [10:06:39]RAPDU: EB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 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 [10:06:39]wFMCommunicate OK [10:06:39]SAM_PROTO_ProcessDocument answer len = 1259 [10:06:39]SAM_PROTO_ProcessDocument remain to read = 1011 [10:06:39]wFMCommunicate request_size=4 [10:06:39]MH_SAM_APDU [10:06:39]CAPDU: 80 17 00 00 [10:06:39]Write to MH i2c: E2 08 00 5C 01 80 17 00 00 00 00 00 00 DD [10:06:39]Write i2c OK [10:06:39]MH_I2C_Read... [10:06:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:06:39]Read from MH i2c: E2 [10:06:39]MH_I2C_Read... [10:06:39]Read from MH i2c: E2 FD 00 [10:06:39]MH_I2C_Read... [10:06:39]Read from MH i2c: E2 FD 00 5C 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 47 [10:06: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 [10:06:39]wFMCommunicate OK [10:06:39]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [10:06:39]SAM_PROTO_ProcessDocument remain to read = 761 [10:06:39]wFMCommunicate request_size=4 [10:06:39]MH_SAM_APDU [10:06:39]CAPDU: 80 17 00 00 [10:06:39]Write to MH i2c: E2 08 00 5D 01 80 17 00 00 00 00 00 00 DE [10:06:39]Write i2c OK [10:06:39]MH_I2C_Read... [10:06:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:06:40]Read from MH i2c: E2 [10:06:40]MH_I2C_Read... [10:06:40]Read from MH i2c: E2 FD 00 [10:06:40]MH_I2C_Read... [10:06:40]Read from MH i2c: E2 FD 00 5D 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 3C [10:06: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 [10:06:40]wFMCommunicate OK [10:06:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [10:06:40]SAM_PROTO_ProcessDocument remain to read = 511 [10:06:40]wFMCommunicate request_size=4 [10:06:40]MH_SAM_APDU [10:06:40]CAPDU: 80 17 00 00 [10:06:40]Write to MH i2c: E2 08 00 5E 01 80 17 00 00 00 00 00 00 DF [10:06:40]Write i2c OK [10:06:40]MH_I2C_Read... [10:06:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:06:40]Read from MH i2c: E2 [10:06:40]MH_I2C_Read... [10:06:40]Read from MH i2c: E2 FD 00 [10:06:40]MH_I2C_Read... [10:06:40]Read from MH i2c: E2 FD 00 5E 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 67 [10:06: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 [10:06:40]wFMCommunicate OK [10:06:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [10:06:40]SAM_PROTO_ProcessDocument remain to read = 261 [10:06:40]wFMCommunicate request_size=4 [10:06:40]MH_SAM_APDU [10:06:40]CAPDU: 80 17 00 00 [10:06:40]Write to MH i2c: E2 08 00 5F 01 80 17 00 00 00 00 00 00 E0 [10:06:40]Write i2c OK [10:06:40]MH_I2C_Read... [10:06:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:06:40]Read from MH i2c: E2 [10:06:40]MH_I2C_Read... [10:06:40]Read from MH i2c: E2 FD 00 [10:06:40]MH_I2C_Read... [10:06:40]Read from MH i2c: E2 FD 00 5F 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 AF [10:06: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 [10:06:40]wFMCommunicate OK [10:06:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [10:06:40]SAM_PROTO_ProcessDocument remain to read = 11 [10:06:40]wFMCommunicate request_size=4 [10:06:40]MH_SAM_APDU [10:06:40]CAPDU: 80 17 00 00 [10:06:40]Write to MH i2c: E2 08 00 60 01 80 17 00 00 00 00 00 00 E1 [10:06:40]Write i2c OK [10:06:40]MH_I2C_Read... [10:06:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 11! [10:06:40]Read from MH i2c: E2 [10:06:40]MH_I2C_Read... [10:06:40]Read from MH i2c: E2 0E 00 [10:06:40]MH_I2C_Read... [10:06:40]Read from MH i2c: E2 0E 00 60 01 00 00 35 04 06 00 6D 40 B6 BA 7D 74 90 00 2D [10:06:40]RAPDU: 00 35 04 06 00 6D 40 B6 BA 7D 74 90 00 [10:06:40]wFMCommunicate OK [10:06:40]SAM_PROTO_ProcessDocument received (without SW) 11 bytes [10:06:40]SAM_PROTO_ProcessDocument done [10:06:40]1209 (1) - 1.0 - номер версии ФФД [10:06:40]1041 (16) - 0000000000959306 - номер ФМ [10:06:40]1040 (4) - 5 - номер ФД [10:06:40]1038 (4) - 1 - номер смены [10:06:40]1118 (4) - 2 - количество кассовых чеков за смену [10:06:40]1111 (4) - 4 - общее количество ФД за смену [10:06:40]1194 (1188) - счетчики итогов смены [10:06:40] 1134 (4) - 2 - количество чеков со всеми признаками расчетов [10:06:40] 1129 (145) - счетчики операций «приход» [10:06:40] 1135 (4) - 1 - количество чеков по признаку расчетов [10:06:40] 1201 (1) - 1.00 - общая итоговая сумма в чеках [10:06:40] 1136 (1) - 1.00 - итоговая сумма в чеках наличными [10:06:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [10:06:40] 1024 (119) - суммы налогов [10:06:40] 1006 (9) - суммы НДС [10:06:40] 1010 (1) - 0% - код ставки НДС [10:06:40] 1011 (0) - 0.00 - сумма НДС по ставке [10:06:40] 1006 (10) - суммы НДС [10:06:40] 1010 (1) - 12% - код ставки НДС [10:06:40] 1011 (1) - 0.11 - сумма НДС по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 0% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (10) - суммы НСП [10:06:40] 1014 (1) - 1% - код ставки НСП [10:06:40] 1015 (1) - 0.01 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 2% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 3% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 5% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 0,50% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 1,50% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1130 (145) - счетчики операций «возврат прихода» [10:06:40] 1135 (4) - 1 - количество чеков по признаку расчетов [10:06:40] 1201 (1) - 1.00 - общая итоговая сумма в чеках [10:06:40] 1136 (1) - 1.00 - итоговая сумма в чеках наличными [10:06:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [10:06:40] 1024 (119) - суммы налогов [10:06:40] 1006 (9) - суммы НДС [10:06:40] 1010 (1) - 0% - код ставки НДС [10:06:40] 1011 (0) - 0.00 - сумма НДС по ставке [10:06:40] 1006 (10) - суммы НДС [10:06:40] 1010 (1) - 12% - код ставки НДС [10:06:40] 1011 (1) - 0.11 - сумма НДС по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 0% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (10) - суммы НСП [10:06:40] 1014 (1) - 1% - код ставки НСП [10:06:40] 1015 (1) - 0.01 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 2% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 3% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 5% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:40] 1007 (9) - суммы НСП [10:06:40] 1014 (1) - 0,50% - код ставки НСП [10:06:40] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 1,50% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1131 (141) - счетчики операций «расход» [10:06:41] 1135 (4) - 0 - количество чеков по признаку расчетов [10:06:41] 1201 (0) - 0.00 - общая итоговая сумма в чеках [10:06:41] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [10:06:41] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [10:06:41] 1024 (117) - суммы налогов [10:06:41] 1006 (9) - суммы НДС [10:06:41] 1010 (1) - 0% - код ставки НДС [10:06:41] 1011 (0) - 0.00 - сумма НДС по ставке [10:06:41] 1006 (9) - суммы НДС [10:06:41] 1010 (1) - 12% - код ставки НДС [10:06:41] 1011 (0) - 0.00 - сумма НДС по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 0% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 1% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 2% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 3% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 5% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 0,50% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 1,50% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1132 (141) - счетчики операций «возврат расхода» [10:06:41] 1135 (4) - 0 - количество чеков по признаку расчетов [10:06:41] 1201 (0) - 0.00 - общая итоговая сумма в чеках [10:06:41] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [10:06:41] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [10:06:41] 1024 (117) - суммы налогов [10:06:41] 1006 (9) - суммы НДС [10:06:41] 1010 (1) - 0% - код ставки НДС [10:06:41] 1011 (0) - 0.00 - сумма НДС по ставке [10:06:41] 1006 (9) - суммы НДС [10:06:41] 1010 (1) - 12% - код ставки НДС [10:06:41] 1011 (0) - 0.00 - сумма НДС по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 0% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 1% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 2% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 3% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 5% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 0,50% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1007 (9) - суммы НСП [10:06:41] 1014 (1) - 1,50% - код ставки НСП [10:06:41] 1015 (0) - 0.00 - сумма НСП по ставке [10:06:41] 1133 (588) - - счетчики коррекции - не используются [10:06:41]1077 (6) - 120124711009652 - ФПД [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1209 (04B9) [10:06:41]Malloc new data [10:06:41]Processing tag 1041 (0411) [10:06:41]Processing tag 1040 (0410) [10:06:41]Malloc new data [10:06:41]Processing tag 1038 (040E) [10:06:41]Malloc new data [10:06:41]Processing tag 1118 (045E) [10:06:41]Malloc new data [10:06:41]Processing tag 1111 (0457) [10:06:41]Malloc new data [10:06:41]Processing tag 1194 (04AA) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1134 (046E) [10:06:41]Malloc new data [10:06:41]Processing tag 1129 (0469) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1135 (046F) [10:06:41]Malloc new data [10:06:41]Processing tag 1201 (04B1) [10:06:41]Malloc new data [10:06:41]Processing tag 1136 (0470) [10:06:41]Malloc new data [10:06:41]Processing tag 1138 (0472) [10:06:41]Malloc new data [10:06:41]Processing tag 1024 (0400) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1006 (03EE) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1010 (03F2) [10:06:41]Malloc new data [10:06:41]Processing tag 1011 (03F3) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1006 (03EE) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1010 (03F2) [10:06:41]Malloc new data [10:06:41]Processing tag 1011 (03F3) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]SetTLVBufToDocument err=0 [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1130 (046A) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1135 (046F) [10:06:41]Malloc new data [10:06:41]Processing tag 1201 (04B1) [10:06:41]Malloc new data [10:06:41]Processing tag 1136 (0470) [10:06:41]Malloc new data [10:06:41]Processing tag 1138 (0472) [10:06:41]Malloc new data [10:06:41]Processing tag 1024 (0400) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1006 (03EE) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1010 (03F2) [10:06:41]Malloc new data [10:06:41]Processing tag 1011 (03F3) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1006 (03EE) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1010 (03F2) [10:06:41]Malloc new data [10:06:41]Processing tag 1011 (03F3) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]SetTLVBufToDocument err=0 [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1131 (046B) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1135 (046F) [10:06:41]Malloc new data [10:06:41]Processing tag 1201 (04B1) [10:06:41]Malloc new data [10:06:41]Processing tag 1136 (0470) [10:06:41]Malloc new data [10:06:41]Processing tag 1138 (0472) [10:06:41]Malloc new data [10:06:41]Processing tag 1024 (0400) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1006 (03EE) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1010 (03F2) [10:06:41]Malloc new data [10:06:41]Processing tag 1011 (03F3) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1006 (03EE) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1010 (03F2) [10:06:41]Malloc new data [10:06:41]Processing tag 1011 (03F3) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:41]Processing tag 1007 (03EF) [10:06:41]Load OK [10:06:41]SetTLVBufToDocument [10:06:41]Processing tag 1014 (03F6) [10:06:41]Malloc new data [10:06:41]Processing tag 1015 (03F7) [10:06:41]Malloc new data [10:06:41]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]SetTLVBufToDocument err=0 [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1132 (046C) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1135 (046F) [10:06:42]Malloc new data [10:06:42]Processing tag 1201 (04B1) [10:06:42]Malloc new data [10:06:42]Processing tag 1136 (0470) [10:06:42]Malloc new data [10:06:42]Processing tag 1138 (0472) [10:06:42]Malloc new data [10:06:42]Processing tag 1024 (0400) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1006 (03EE) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1010 (03F2) [10:06:42]Malloc new data [10:06:42]Processing tag 1011 (03F3) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1006 (03EE) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1010 (03F2) [10:06:42]Malloc new data [10:06:42]Processing tag 1011 (03F3) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]OFD Sender: No OFD packet to send [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1007 (03EF) [10:06:42]Load OK [10:06:42]SetTLVBufToDocument [10:06:42]Processing tag 1014 (03F6) [10:06:42]Malloc new data [10:06:42]Processing tag 1015 (03F7) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]SetTLVBufToDocument err=0 [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1133 (046D) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Processing tag 1077 (0435) [10:06:42]Malloc new data [10:06:42]SetTLVBufToDocument err=0 [10:06:42]Malloc new data [10:06:42]SAM_PROTO_GetFMData [10:06:42]wFMCommunicate request_size=4 [10:06:42]MH_SAM_APDU [10:06:42]CAPDU: 80 13 03 00 [10:06:42]Write to MH i2c: E2 08 00 61 01 80 13 03 00 00 00 00 00 E1 [10:06:42]Write i2c OK [10:06:42]MH_I2C_Read... [10:06:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [10:06:42]Read from MH i2c: E2 [10:06:42]MH_I2C_Read... [10:06:42]Read from MH i2c: E2 FD 00 [10:06:42]MH_I2C_Read... [10:06:42]Read from MH i2c: E2 FD 00 61 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 0C [10:06: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 [10:06:42]wFMCommunicate OK [10:06:42]wFMCommunicate request_size=4 [10:06:42]MH_SAM_APDU [10:06:42]CAPDU: 80 17 00 00 [10:06:42]Write to MH i2c: E2 08 00 62 01 80 17 00 00 00 00 00 00 E3 [10:06:42]Write i2c OK [10:06:42]MH_I2C_Read... [10:06:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:06:42]Read from MH i2c: E2 [10:06:42]MH_I2C_Read... [10:06:42]Read from MH i2c: E2 FD 00 [10:06:42]MH_I2C_Read... [10:06:42]Read from MH i2c: E2 FD 00 62 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 EE [10:06: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 [10:06:43]wFMCommunicate OK [10:06:43]wFMCommunicate request_size=4 [10:06:43]MH_SAM_APDU [10:06:43]CAPDU: 80 17 00 00 [10:06:43]Write to MH i2c: E2 08 00 63 01 80 17 00 00 00 00 00 00 E4 [10:06:43]Write i2c OK [10:06:43]MH_I2C_Read... [10:06:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:06:43]Read from MH i2c: E2 [10:06:43]MH_I2C_Read... [10:06:43]Read from MH i2c: E2 FD 00 [10:06:43]MH_I2C_Read... [10:06:43]Read from MH i2c: E2 FD 00 63 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 AF [10:06: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 [10:06:43]wFMCommunicate OK [10:06:43]wFMCommunicate request_size=4 [10:06:43]MH_SAM_APDU [10:06:43]CAPDU: 80 17 00 00 [10:06:43]Write to MH i2c: E2 08 00 64 01 80 17 00 00 00 00 00 00 E5 [10:06:43]Write i2c OK [10:06:43]MH_I2C_Read... [10:06:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:06:43]Read from MH i2c: E2 [10:06:43]MH_I2C_Read... [10:06:43]Read from MH i2c: E2 FD 00 [10:06:43]MH_I2C_Read... [10:06:43]Read from MH i2c: E2 FD 00 64 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 5A [10:06: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 [10:06:43]wFMCommunicate OK [10:06:43]wFMCommunicate request_size=4 [10:06:43]MH_SAM_APDU [10:06:43]CAPDU: 80 17 00 00 [10:06:43]Write to MH i2c: E2 08 00 65 01 80 17 00 00 00 00 00 00 E6 [10:06:43]Write i2c OK [10:06:43]MH_I2C_Read... [10:06:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [10:06:44]Read from MH i2c: E2 [10:06:44]MH_I2C_Read... [10:06:44]Read from MH i2c: E2 C5 00 [10:06:44]MH_I2C_Read... [10:06:44]Read from MH i2c: E2 C5 00 65 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 CB [10:06:44]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 [10:06:44]wFMCommunicate OK [10:06:44]SAM_PROTO_GetFMData done [10:06:44]Malloc new data [10:06:44]Malloc new data [10:06:44]Malloc new data [10:06:44]Malloc new data [10:06:44]KKMLoadAndSignCloseShiftData err=0 [10:06:44] ОсОО "Шнос" Добро пожаловать Отчет о закрытии смены ФФД: 1.0 ИНН: 00112200510239 Кассир: Сергей Смирнов 13.03.2024 10:06 Смена: 1 РНМ: 0000000000150087 ЗНМ: 0300000057 СНО: Общий режим Чеков за смену: 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 ФМ: 0000000000959306 ФПД: 120124711009652 *** ЖДЕМ ВАС ОПЯТЬ *** [10:06:44]StoreToDocumentArchive [10:06:44]shift 1 fd 5 [10:06:44]save to /storage/0001/doc_00000005 [10:06:44]save last doc name /storage/0001/doc_00000005 to /storage/kkm_last_doc_name [10:06:44]save OK [10:06:44]Clear old archive folders... [10:06:44]NVStorageSaveData kkm_registers [10:06:44]File name is /storage/kkm_registers [10:06:44]Write 24 bytes [10:06:44]NVStorageSaveData done [10:06:44]NVStorageSaveData kkm_registers [10:06:44]File name is /storage/kkm_registers [10:06:44]Write 24 bytes [10:06:44]NVStorageSaveData done [10:06:44]ProcessDocumentItem done err = 0, tmpTLVsize=1376 [10:06:44]tlvbuf is 0032B9F0 [10:06:44]SAM_PROTO_ClearQueue [10:06:44]wFMCommunicate request_size=4 [10:06:44]MH_SAM_APDU [10:06:44]CAPDU: 80 09 00 00 [10:06:44]Write to MH i2c: E2 08 00 66 01 80 09 00 00 00 00 00 00 D9 [10:06:44]Write i2c OK [10:06:44]MH_I2C_Read... [10:06:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:06:44]Read from MH i2c: E2 [10:06:44]MH_I2C_Read... [10:06:44]Read from MH i2c: E2 03 00 [10:06:44]MH_I2C_Read... [10:06:44]Read from MH i2c: E2 03 00 66 01 00 90 00 DB [10:06:44]RAPDU: 90 00 [10:06:44]wFMCommunicate OK [10:06:44]SAM_PROTO_ClearQueue done [10:06:44]KKMCreateOFDPacket [10:06:44]OFDProtocolAddRootSTLVToBuf [10:06:44]FM_MakeSignedData [10:06:44]FM_MakeSignedData [10:06:44]SAM_PROTO_SignData [10:06:44]wFMCommunicate request_size=4 [10:06:44]MH_SAM_APDU [10:06:44]CAPDU: 80 0D 01 02 [10:06:44]Write to MH i2c: E2 08 00 67 01 80 0D 01 02 00 00 00 00 E1 [10:06:44]Write i2c OK [10:06:44]MH_I2C_Read... [10:06:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:06:44]Read from MH i2c: E2 [10:06:44]MH_I2C_Read... [10:06:44]Read from MH i2c: E2 03 00 [10:06:44]MH_I2C_Read... [10:06:44]Read from MH i2c: E2 03 00 67 01 00 90 00 DC [10:06:44]RAPDU: 90 00 [10:06:44]wFMCommunicate OK [10:06:44]wFMCommunicate request_size=255 [10:06:44]MH_SAM_APDU [10:06:44]CAPDU: 80 0D 02 02 FA 05 00 60 05 B9 04 01 00 01 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 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 AE 7A F1 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 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 [10:06:44]Write to MH i2c: E2 02 01 68 01 80 0D 02 02 FA 00 05 00 60 05 B9 04 01 00 01 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 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 AE 7A F1 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 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 E0 [10:06:44]Write i2c OK [10:06:44]MH_I2C_Read... [10:06:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:44]Read from MH i2c: E2 [10:06:44]MH_I2C_Read... [10:06:44]Read from MH i2c: E2 03 00 [10:06:44]MH_I2C_Read... [10:06:44]Read from MH i2c: E2 03 00 68 01 00 90 00 DD [10:06:44]RAPDU: 90 00 [10:06:44]wFMCommunicate OK [10:06:44]wFMCommunicate request_size=255 [10:06:44]MH_SAM_APDU [10:06: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 [10:06:44]Write to MH i2c: E2 02 01 69 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 19 [10:06:44]Write i2c OK [10:06:44]MH_I2C_Read... [10:06:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:45]Read from MH i2c: E2 [10:06:45]MH_I2C_Read... [10:06:45]Read from MH i2c: E2 03 00 [10:06:45]MH_I2C_Read... [10:06:45]Read from MH i2c: E2 03 00 69 01 00 90 00 DE [10:06:45]RAPDU: 90 00 [10:06:45]wFMCommunicate OK [10:06:45]wFMCommunicate request_size=255 [10:06:45]MH_SAM_APDU [10:06:45]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 [10:06:45]Write to MH i2c: E2 02 01 6A 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 B5 [10:06:45]Write i2c OK [10:06:45]MH_I2C_Read... [10:06:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:45]Read from MH i2c: E2 [10:06:45]MH_I2C_Read... [10:06:45]Read from MH i2c: E2 03 00 [10:06:45]MH_I2C_Read... [10:06:45]Read from MH i2c: E2 03 00 6A 01 00 90 00 DF [10:06:45]RAPDU: 90 00 [10:06:45]wFMCommunicate OK [10:06:45]wFMCommunicate request_size=255 [10:06:45]MH_SAM_APDU [10:06: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 [10:06:45]Write to MH i2c: E2 02 01 6B 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 AB [10:06:45]Write i2c OK [10:06:45]MH_I2C_Read... [10:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:46]Read from MH i2c: E2 [10:06:46]MH_I2C_Read... [10:06:46]Read from MH i2c: E2 03 00 [10:06:46]MH_I2C_Read... [10:06:46]Read from MH i2c: E2 03 00 6B 01 00 90 00 E0 [10:06:46]RAPDU: 90 00 [10:06:46]wFMCommunicate OK [10:06:46]wFMCommunicate request_size=255 [10:06:46]MH_SAM_APDU [10:06:46]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 [10:06:46]Write to MH i2c: E2 02 01 6C 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 6D [10:06:46]Write i2c OK [10:06:46]MH_I2C_Read... [10:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:46]Read from MH i2c: E2 [10:06:46]MH_I2C_Read... [10:06:46]Read from MH i2c: E2 03 00 [10:06:46]MH_I2C_Read... [10:06:46]Read from MH i2c: E2 03 00 6C 01 00 90 00 E1 [10:06:46]RAPDU: 90 00 [10:06:46]wFMCommunicate OK [10:06:46]wFMCommunicate request_size=135 [10:06:46]MH_SAM_APDU [10:06: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 35 39 33 30 36 35 04 06 00 6D 40 B6 BA 7D 74 [10:06:46]Write to MH i2c: E2 8A 00 6D 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 35 39 33 30 36 35 04 06 00 6D 40 B6 BA 7D 74 00 00 39 [10:06:46]Write i2c OK [10:06:46]MH_I2C_Read... [10:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:46]Read from MH i2c: E2 [10:06:46]MH_I2C_Read... [10:06:46]Read from MH i2c: E2 03 00 [10:06:46]MH_I2C_Read... [10:06:46]Read from MH i2c: E2 03 00 6D 01 00 90 00 E2 [10:06:46]RAPDU: 90 00 [10:06:46]wFMCommunicate OK [10:06:46]wFMCommunicate request_size=4 [10:06:46]MH_SAM_APDU [10:06:46]CAPDU: 80 0D 03 02 [10:06:46]Write to MH i2c: E2 08 00 6E 01 80 0D 03 02 00 00 00 00 EA [10:06:46]Write i2c OK [10:06:46]MH_I2C_Read... [10:06:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:06:47]Read from MH i2c: E2 [10:06:47]MH_I2C_Read... [10:06:47]Read from MH i2c: E2 0B 00 [10:06:47]MH_I2C_Read... [10:06:47]Read from MH i2c: E2 0B 00 6E 01 00 F2 D2 80 76 86 CA F3 BA 90 00 A2 [10:06:47]RAPDU: F2 D2 80 76 86 CA F3 BA 90 00 [10:06:47]wFMCommunicate OK [10:06:47]SAM_PROTO_SignData done [10:06:47]FM_MakeSignedData done [10:06:47]CreateOFDProtocolMessage [10:06:47]wFMCommunicate request_size=4 [10:06:47]MH_SAM_APDU [10:06:47]CAPDU: 80 11 00 00 [10:06:47]Write to MH i2c: E2 08 00 6F 01 80 11 00 00 00 00 00 00 EA [10:06:47]Write i2c OK [10:06:47]MH_I2C_Read... [10:06:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:47]Read from MH i2c: E2 [10:06:47]MH_I2C_Read... [10:06:47]Read from MH i2c: E2 17 00 [10:06:47]MH_I2C_Read... [10:06:47]Read from MH i2c: E2 17 00 6F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 3D [10:06:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 [10:06:47]wFMCommunicate OK [10:06:47]CreateOFDProtocolMessage done [10:06:47]OFDSenderStorePacket 5 [10:06:47]StoreOFDPacket docnum=5 [10:06:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 74 05 00 00 55 C8 6C 05 26 9B 5A 05 01 00 05 00 60 05 B9 04 01 00 01 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 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 AE 7A F1 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 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 35 39 33 30 36 35 04 06 00 6D 40 B6 BA 7D 74 F2 D2 80 76 86 CA F3 BA [10:06:47]CheckFolder [10:06:47]dirname=/storage/ofd_packets [10:06:47]CheckFolder done [10:06:47]ProducePacketName [10:06:47]name=ofd_packets/00000005 [10:06:47]NVStorageSaveData ofd_packets/00000005 [10:06:47]File name is /storage/ofd_packets/00000005 [10:06:47]Write 1426 bytes [10:06:47]NVStorageSaveData done [10:06:47]OFDSenderStorePacket done [10:06:47]KKMCreateOFDPacket done [10:06:47]NVStorageSaveData kkm_last_timestamp [10:06:47]File name is /storage/kkm_last_timestamp [10:06:47]Write 4 bytes [10:06:47]NVStorageSaveData done [10:06:47]ExternCall_PrintAddStr [10:06:47]wPrintStart [10:06:47]Write to MH i2c: 01 00 00 70 01 71 [10:06:47]OFD Sender: No OFD packet to send [10:06:47]Write i2c OK [10:06:47]MH_I2C_Read... [10:06:47]Read from MH i2c: 01 [10:06:47]MH_I2C_Read... [10:06:47]Read from MH i2c: 01 07 00 [10:06:47]MH_I2C_Read... [10:06:47]Read from MH i2c: 01 07 00 70 01 00 00 00 00 00 FF 0F 86 [10:06:47]RasterBufferAndPrint [10:06:47]line ОсОО "Шнос" [10:06:47]line Добро пожаловать [10:06:47]line Отчет о закрытии смены [10:06:47]line ФФД: 1.0 [10:06:47]line ИНН: 00112200510239 [10:06:47]line Кассир: Сергей Смирнов [10:06:47]line 13.03.2024 10:06 [10:06:47]line Смена: 1 [10:06:47]line РНМ: 0000000000150087 [10:06:47]line ЗНМ: 0300000057 [10:06:47]line СНО: Общий режим [10:06:47]line Чеков за смену: 2 [10:06:47]line ФД за смену: 4 [10:06:47]line ** Здесь Вам всегда рады ** [10:06:47]line Всего чеков: 2 [10:06:47]line ИТОГИ ПРИХОД [10:06:47]line Чеков: 1 [10:06:47]line Общий итог: 1.00 [10:06:47]line Итого наличными: 1.00 [10:06:47]line Итого безнал.: 0.00 [10:06:47]line НДС 0% : 0.00 [10:06:47]line НДС 12% : 0.11 [10:06:47]line НСП 0% : 0.00 [10:06:47]line НСП 1,50% : 0.00 [10:06:47]line НСП 0,50% : 0.00 [10:06:47]line НСП 5% : 0.00 [10:06:47]line НСП 3% : 0.00 [10:06:47]line НСП 2% : 0.00 [10:06:47]line НСП 1% : 0.01 [10:06:47]line ИТОГИ ВОЗВРАТ ПРИХОДА [10:06:47]line Чеков: 1 [10:06:47]line Общий итог: 1.00 [10:06:47]line Итого наличными: 1.00 [10:06:47]line Итого безнал.: 0.00 [10:06:47]line НДС 0% : 0.00 [10:06:47]line НДС 12% : 0.11 [10:06:47]line НСП 0% : 0.00 [10:06:47]line НСП 1,50% : 0.00 [10:06:47]line НСП 0,50% : 0.00 [10:06:47]line НСП 5% : 0.00 [10:06:47]line НСП 3% : 0.00 [10:06:47]line НСП 2% : 0.00 [10:06:47]line НСП 1% : 0.01 [10:06:47]line ИТОГИ РАСХОД [10:06:47]line Чеков: 0 [10:06:47]line Общий итог: 0.00 [10:06:47]line Итого наличными: 0.00 [10:06:47]line Итого безнал.: 0.00 [10:06:47]line НДС 0% : 0.00 [10:06:47]line НДС 12% : 0.00 [10:06:47]line НСП 0% : 0.00 [10:06:47]line НСП 1,50% : 0.00 [10:06:47]line НСП 0,50% : 0.00 [10:06:47]line НСП 5% : 0.00 [10:06:47]line НСП 3% : 0.00 [10:06:47]line НСП 2% : 0.00 [10:06:47]line НСП 1% : 0.00 [10:06:47]line ИТОГИ ВОЗВРАТ РАСХОДА [10:06:47]line Чеков: 0 [10:06:47]line Общий итог: 0.00 [10:06:47]line Итого наличными: 0.00 [10:06:47]line Итого безнал.: 0.00 [10:06:47]line НДС 0% : 0.00 [10:06:47]line НДС 12% : 0.00 [10:06:47]line НСП 0% : 0.00 [10:06:47]line НСП 1,50% : 0.00 [10:06:47]line НСП 0,50% : 0.00 [10:06:47]line НСП 5% : 0.00 [10:06:47]line НСП 3% : 0.00 [10:06:47]line НСП 2% : 0.00 [10:06:47]line НСП 1% : 0.00 [10:06:47]line *** СПАСИБО *** [10:06:47]line Сумма внесений: 0.00 [10:06:47]line Сумма выплат: 0.00 [10:06:47]line Нал. в кассе: 0.00 [10:06:47]line НС Приход: 1.00 [10:06:47]line НС Возвр.Прихода: 1.00 [10:06:47]line НС Расход: 0.00 [10:06:47]line НС Возвр.Расхода: 0.00 [10:06:47]line ФД: 5 [10:06:47]line ФМ: 0000000000959306 [10:06:47]line ФПД: 120124711009652 [10:06:47]line *** ЖДЕМ ВАС ОПЯТЬ *** [10:06:47]written 0, free lines is 4095 [10:06:47]OFD Sender: Processing packet 5 [packets to send 1, broken 0] [10:06:47]ProducePacketName [10:06:47]name=ofd_packets/00000005 [10:06:47]OFD Sender: To server: pG, [10:06:47]CommunicateWithHost lk.salyk.kg:30040 [10:06:47]ConnectInit lk.salyk.kg [10:06:47]Connected sock=10 [10:06:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 74 05 00 00 55 C8 6C 05 26 9B 5A 05 01 00 05 00 60 05 B9 04 01 00 01 FA 03 0E 00 30 30 31 31 32 32 30 30 35 31 30 32 33 39 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 AE 7A F1 65 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 30 30 38 37 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 Write to MH i2c: F6 01 03 00 01 00 00 C5 04 01 F7 C6 03 [10:06:48]00 00 Write i2c OK [10:06:48]EF MH_I2C_Read... [10:06:48]03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 Read from MH i2c: F7 01 03 [10:06:48]00 MH_I2C_Read... [10:06:48]00 Read from MH i2c: 10 01 04 07 04 00 00 [10:06:48]05 MH_I2C_Read... [10:06:48]00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 Read from MH i2c: 36 01 35 07 04 00 06 C5 00 01 6D 00 40 00 B6 00 BA 00 7D 00 74 BE F2 09 D2 94 80 [10:06:48]RasterBufferAndPrint [10:06:48]76 line [10:06:48]86 line [10:06:48]CA line [10:06:48]F3 line [10:06:48]BA line [10:06:48] [10:06:48]written 0, free lines is 2554 [10:06:48]MH_Cut [10:06:48]Write to MH i2c: D1 01 00 CC 01 01 9F [10:06:48]Write i2c OK [10:06:48]MH_I2C_Read... [10:06:48]Read from MH i2c: D1 [10:06:48]MH_I2C_Read... [10:06:48]Read from MH i2c: D1 01 00 [10:06:48]MH_I2C_Read... [10:06:48]Read from MH i2c: D1 01 00 CC 01 00 9E [10:06:48]Write to MH i2c: 01 00 00 CD 01 CE [10:06:48]Write i2c OK [10:06:48]MH_I2C_Read... [10:06:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 4F 00 00 00 C6 2E 47 00 4D 35 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 35 39 33 30 36 10 04 04 00 05 00 00 00 F4 03 04 00 0F 27 F1 65 B6 04 01 00 00 A6 D7 3C D5 DF 76 59 87 [10:06:48]CommunicateWithHost err = 0 [10:06:48]CheckOFDResponse [10:06:48]1017 (14) - 77093643461234 [10:06:48]1041 (16) - 0000000000959306 [10:06:48]1040 (4) - 5 [10:06:48]1012 (4) - 13.03.2024 04:09 [10:06:48]1206 (1) - 0 [10:06:48]OFD Sender: Remove packet 5 [10:06:48]ProducePacketName [10:06:48]name=ofd_packets/00000005 [10:06:48]NVStorageDeleteData [10:06:49]OFD Sender: No OFD packet to send [10:06:50]*** Cut start [10:06:50]*** Partial cut [10:06:50]*** CUTSNS_PIN = 1 [10:06:50]*** CUTSNS_PIN = 0 [10:06:50]*** Brake cut motor [10:06:50]Read from MH i2c: 01 [10:06:50]MH_I2C_Read... [10:06:50]*** Stop cut motor [10:06:50]*** Cut end [10:06:50]Read from MH i2c: 01 07 00 [10:06:50]MH_I2C_Read... [10:06:50]Read from MH i2c: 01 07 00 CD 01 00 00 00 00 00 FF 0F E3 [10:06:50]process_action close_shift done [10:06:50]no requested_data - finishing processing [10:06:50]process_action_free close_shift [10:06:50]json_value_free [10:06:50]json_value_free done [10:06:50]process_json_proto returns [10:06:50]Send response to host [10:06:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [10:06:50]free response buf [10:06:50]execute_script done [10:06:50]execute_script returns [10:06:50]free content buf [10:06:50]Sock 8.Close socket [10:06:50]Sock 8.Thread stoped [10:06:54]OFD Sender: No OFD packet to send [10:06:59]OFD Sender: No OFD packet to send [10:07:04]OFD Sender: No OFD packet to send [10:07:09]OFD Sender: No OFD packet to send [10:07:14]OFD Sender: No OFD packet to send [10:07:19]OFD Sender: No OFD packet to send [10:07:24]OFD Sender: No OFD packet to send [10:07:29]OFD Sender: No OFD packet to send [10:07:34]OFD Sender: No OFD packet to send [10:07:39]OFD Sender: No OFD packet to send [10:07:44]OFD Sender: No OFD packet to send [10:07:49]OFD Sender: No OFD packet to send [10:07:54]OFD Sender: No OFD packet to send [10:07:59]OFD Sender: No OFD packet to send [10:08:04]OFD Sender: No OFD packet to send [10:08:09]OFD Sender: No OFD packet to send [10:08:14]OFD Sender: No OFD packet to send [10:08:19]OFD Sender: No OFD packet to send [10:08:24]OFD Sender: No OFD packet to send [10:08:29]OFD Sender: No OFD packet to send [10:08:34]OFD Sender: No OFD packet to send [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:14]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:59]OFD Sender: No OFD packet to send [10:11:04]OFD Sender: No OFD packet to send [10:11:09]OFD Sender: No OFD packet to send [10:11:14]OFD Sender: No OFD packet to send [10:11:19]OFD Sender: No OFD packet to send [10:11:24]OFD Sender: No OFD packet to send [10:11:29]OFD Sender: No OFD packet to send [10:11:34]OFD Sender: No OFD packet to send [10:11:39]OFD Sender: No OFD packet to send [10:11:44]OFD Sender: No OFD packet to send [10:11:46]*** Cut start [10:11:46]*** Partial cut [10:11:46]*** CUTSNS_PIN = 1 [10:11:46]*** CUTSNS_PIN = 0 [10:11:47]*** Brake cut motor [10:11:47]*** Stop cut motor [10:11:47]*** Cut end [10:11:49]OFD Sender: No OFD packet to send [10:11:50]*** Cut start [10:11:50]*** Partial cut [10:11:50]*** CUTSNS_PIN = 1 [10:11:50]*** CUTSNS_PIN = 0 [10:11:50]*** Brake cut motor [10:11:50]*** Stop cut motor [10:11:50]*** Cut end [10:11:52]*** Cut start [10:11:52]*** Partial cut [10:11:52]*** CUTSNS_PIN = 1 [10:11:52]*** CUTSNS_PIN = 0 [10:11:52]*** Brake cut motor [10:11:52]*** Stop cut motor [10:11:52]*** Cut end [10:11:54]OFD Sender: No OFD packet to send [10:11:59]OFD Sender: No OFD packet to send [10:12:04]OFD Sender: No OFD packet to send [10:12:09]OFD Sender: No OFD packet to send [10:12:14]OFD Sender: No OFD packet to send [10:12:19]OFD Sender: No OFD packet to send [10:12:24]OFD Sender: No OFD packet to send [10:12:29]OFD Sender: No OFD packet to send [10:12:34]OFD Sender: No OFD packet to send [10:12:39]OFD Sender: No OFD packet to send [10:12:44]OFD Sender: No OFD packet to send [10:12:49]OFD Sender: No OFD packet to send [10:12:54]OFD Sender: No OFD packet to send [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:20:51]ConnectInit Can't connect to host [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:02]*** Cut start [10:21:02]*** Partial cut [10:21:02]*** CUTSNS_PIN = 1 [10:21:02]*** CUTSNS_PIN = 0 [10:21:02]*** Brake cut motor [10:21:02]*** Stop cut motor [10:21:02]*** Cut end [10:21:05]OFD Sender: No OFD packet to send [10:21:10]OFD Sender: No OFD packet to send [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 8F [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 *** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]01 *** [00:00:10]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 54000000005725EA (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:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 1583+1710323729=1710325312 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x20ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33550624 [00:00:10]*** 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 EA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 90 [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 78 00 50 00 FF FF A6 [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 41 7E F1 65 11 78 F1 65 F3 [10:21:53]Current date/time: 13.03.2024 10:21 [10:21:53]FM_Init [10:21:53]wFMConnect [10:21:53]MH_SAM_On [10:21:53]Write to MH i2c: E0 00 00 08 00 E7 [10:21:53]Write i2c OK [10:21:53]MH_I2C_Read... [10:21:53]*** iso7816_init finished! [10:21:53]*** atr: [10:21:53]*** 0F 3B D5 18 FF 81 91 FE [10:21:53]*** 1F C3 80 73 C8 21 10 0A [10:21:53]*** 00 00 00 00 00 00 00 00 [10:21:53]*** 00 00 00 00 00 00 00 00 [10:21:53]*** 00 00 00 00 00 00 00 00 [10:21:53]*** 00 00 00 00 00 00 00 00 [10:21:53]*** 00 00 00 00 00 00 00 00 [10:21:53]*** 00 00 00 00 00 00 00 00 [10:21:53]Read from MH i2c: E0 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E0 10 00 [10:21:53]MH_I2C_Read... [10:21:53]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 [10:21:53]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [10:21:53]wFMCommunicate request_size=10 [10:21:53]MH_SAM_APDU [10:21:53]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [10:21:53]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [10:21:53]Write i2c OK [10:21:53]MH_I2C_Read... [10:21:53]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [10:21:53]Read from MH i2c: E2 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 03 00 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [10:21:53]RAPDU: 90 00 [10:21:53]wFMCommunicate OK [10:21:53]wFMCommunicate request_size=4 [10:21:53]MH_SAM_APDU [10:21:53]CAPDU: 80 11 00 00 [10:21:53]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [10:21:53]Write i2c OK [10:21:53]MH_I2C_Read... [10:21:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:53]Read from MH i2c: E2 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 17 00 [10:21:53]MH_I2C_Read... [10:21:53]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 35 39 33 30 36 90 00 D7 [10:21:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 [10:21:53]wFMCommunicate OK [10:21:53]Detected FM SN is 0000000000959306 [10:21:53]Stored FM SN is 0000000000959306 [10:21:53]wFMCommunicate request_size=9 [10:21:53]MH_SAM_APDU [10:21:53]CAPDU: 80 16 00 00 04 28 A9 00 00 [10:21:53]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 28 A9 00 00 00 00 63 [10:21:53]Write i2c OK [10:21:53]MH_I2C_Read... [10:21:53]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [10:21:53]Read from MH i2c: E2 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 03 00 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [10:21:53]RAPDU: 90 00 [10:21:53]wFMCommunicate OK [10:21:53]FM PIN OK [10:21:53]wFMCommunicate request_size=8 [10:21:53]MH_SAM_APDU [10:21:53]CAPDU: 80 14 04 00 03 02 00 01 [10:21:53]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [10:21:53]Write i2c OK [10:21:53]MH_I2C_Read... [10:21:53]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [10:21:53]Read from MH i2c: E2 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 03 00 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [10:21:53]RAPDU: 90 00 [10:21:53]wFMCommunicate OK [10:21:53]wFMCommunicate request_size=13 [10:21:53]MH_SAM_APDU [10:21:53]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [10:21:53]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [10:21:53]Write i2c OK [10:21:53]MH_I2C_Read... [10:21:53]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [10:21:53]Read from MH i2c: E2 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 03 00 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [10:21:53]RAPDU: 90 00 [10:21:53]wFMCommunicate OK [10:21:53]wFMCommunicate request_size=4 [10:21:53]MH_SAM_APDU [10:21:53]CAPDU: 80 11 00 00 [10:21:53]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [10:21:53]Write i2c OK [10:21:53]MH_I2C_Read... [10:21:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:53]Read from MH i2c: E2 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: E2 17 00 [10:21:53]MH_I2C_Read... [10:21:53]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 35 39 33 30 36 90 00 DB [10:21:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 30 36 90 00 [10:21:53]wFMCommunicate OK [10:21:53]DocumentArchiveInit [10:21:53]Start Httpd... [10:21:53]Httpd thread 3067506020 created [10:21:53]Write to MH i2c: 01 00 00 0F 00 0F [10:21:53]Write i2c OK [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: 01 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: 01 07 00 [10:21:53]MH_I2C_Read... [10:21:53]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [10:21:53]MH Int Process started [10:21:53]OFD Sender: No OFD packet to send [10:21:53]Allocated Socket 7 [10:21:53]Bind OK [10:21:53]Listen OK [10:21:53]httpd running on port 8080 [10:21:53]Waiting for new connection... [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send