[05:37:06]ConnectInit Can't connect to host [05:37:08]OFD Sender: Processing packet 22154 [packets to send 12, broken 4] [05:37:08]ProducePacketName [05:37:08]name=ofd_packets/00022154 [05:37:08]OFD Sender: To server: pG, [05:37:08]CommunicateWithHost lk.salyk.kg:30040 [05:37:08]ConnectInit lk.salyk.kg [05:41:46]ConnectInit Can't connect to host [05:41:50]OFD Sender: Processing packet 22154 [packets to send 12, broken 4] [05:41:50]ProducePacketName [05:41:50]name=ofd_packets/00022154 [05:41:50]OFD Sender: To server: pG, [05:41:50]CommunicateWithHost lk.salyk.kg:30040 [05:41:50]ConnectInit lk.salyk.kg [05:41:50]Connected sock=8 [05:41:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 7D 05 00 00 61 65 75 05 09 C1 5A 05 01 00 05 00 69 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 96 D0 B5 D0 BD D0 B8 D1 88 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 A1 2E 20 F4 03 04 00 85 D8 6C 66 0E 04 04 00 45 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 AA 04 D5 04 6E 04 04 00 43 00 00 00 69 04 A2 00 6F 04 04 00 43 00 00 00 B1 04 03 00 7B 93 19 70 04 03 00 B4 A2 12 72 04 03 00 C7 F0 06 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 B7 02 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 0B 00 F6 03 01 00 01 F7 03 02 00 EB 39 6A 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 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 8A 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 B9 DA 94 19 77 AF 3F 44 2C 9B FC 14 AE DB [05:41:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 6F 99 47 00 42 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8A 56 00 00 F4 03 04 00 5C D2 6C 66 B6 04 01 00 00 01 FA 02 D8 DA F8 21 87 [05:41:50]CommunicateWithHost err = 0 [05:41:50]CheckOFDResponse [05:41:50]1017 (14) - 77093643461234 [05:41:50]1041 (16) - 0000000000965344 [05:41:50]1040 (4) - 22154 [05:41:50]1012 (4) - 14.06.2024 23:29 [05:41:50]1206 (1) - 0 [05:41:50]OFD Sender: Remove packet 22154 [05:41:50]ProducePacketName [05:41:50]name=ofd_packets/00022154 [05:41:50]NVStorageDeleteData [05:41:51]OFD Sender: Processing packet 22155 [packets to send 11, broken 4] [05:41:51]ProducePacketName [05:41:51]name=ofd_packets/00022155 [05:41:51]OFD Sender: To server: pG, [05:41:51]CommunicateWithHost lk.salyk.kg:30040 [05:41:51]ConnectInit lk.salyk.kg [05:47:09]ConnectInit Can't connect to host [05:47:11]OFD Sender: Processing packet 22155 [packets to send 11, broken 4] [05:47:11]ProducePacketName [05:47:11]name=ofd_packets/00022155 [05:47:11]OFD Sender: To server: pG, [05:47:11]CommunicateWithHost lk.salyk.kg:30040 [05:47:11]ConnectInit lk.salyk.kg [05:47:12]Connected sock=8 [05:47:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 18 01 00 00 AD CB 10 01 34 8C 5A 02 01 00 02 00 04 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 18 DE 6C 66 0E 04 04 00 46 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 8B 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 C1 23 53 5C 32 B5 F3 8B 32 B1 7E 0D 5F 34 [05:47:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 91 49 47 00 86 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8B 56 00 00 F4 03 04 00 9D D3 6C 66 B6 04 01 00 00 E3 BA F9 9A 7D 47 EC 0E [05:47:12]CommunicateWithHost err = 0 [05:47:12]CheckOFDResponse [05:47:12]1017 (14) - 77093643461234 [05:47:12]1041 (16) - 0000000000965344 [05:47:12]1040 (4) - 22155 [05:47:12]1012 (4) - 14.06.2024 23:34 [05:47:12]1206 (1) - 0 [05:47:12]OFD Sender: Remove packet 22155 [05:47:12]ProducePacketName [05:47:12]name=ofd_packets/00022155 [05:47:12]NVStorageDeleteData [05:47:12]OFD Sender: Processing packet 22156 [packets to send 10, broken 4] [05:47:12]ProducePacketName [05:47:12]name=ofd_packets/00022156 [05:47:12]OFD Sender: To server: pG, [05:47:12]CommunicateWithHost lk.salyk.kg:30040 [05:47:12]ConnectInit lk.salyk.kg [05:47:13]Connected sock=8 [05:47:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 03 CD 24 01 B2 43 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 A1 E1 6C 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8C 56 00 00 35 04 06 00 07 8A 9A 2D 0B 58 28 1F 9E FC 6F FF 3D 94 [05:47:18]recv_with_timeout no data received [05:47:18]CommunicateWithHost answer receiving error [05:47:18]CommunicateWithHost err = -3 [05:47:18]OFD Sender: Server communicate error [05:47:23]OFD Sender: Processing packet 22156 [packets to send 10, broken 4] [05:47:23]ProducePacketName [05:47:23]name=ofd_packets/00022156 [05:47:23]OFD Sender: To server: pG, [05:47:23]CommunicateWithHost lk.salyk.kg:30040 [05:47:23]ConnectInit lk.salyk.kg [05:47:25]Connected sock=8 [05:47:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 03 CD 24 01 B2 43 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 A1 E1 6C 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8C 56 00 00 35 04 06 00 07 8A 9A 2D 0B 58 28 1F 9E FC 6F FF 3D 94 [05:47:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 2B 9C 47 00 A0 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 36 35 33 34 34 10 04 04 00 8C 56 00 00 F4 03 04 00 AA D3 6C 66 B6 04 01 00 00 2C AA 6B 95 8F 24 00 D1 [05:47:25]CommunicateWithHost err = 0 [05:47:25]CheckOFDResponse [05:47:25]1017 (14) - 77093643461234 [05:47:25]1041 (16) - 0000000000965344 [05:47:25]1040 (4) - 22156 [05:47:25]1012 (4) - 14.06.2024 23:35 [05:47:25]1206 (1) - 0 [05:47:25]OFD Sender: Remove packet 22156 [05:47:25]ProducePacketName [05:47:25]name=ofd_packets/00022156 [05:47:25]NVStorageDeleteData [05:47:25]OFD Sender: Processing packet 22157 [packets to send 9, broken 4] [05:47:25]ProducePacketName [05:47:25]name=ofd_packets/00022157 [05:47:25]OFD Sender: To server: pG, [05:47:25]CommunicateWithHost lk.salyk.kg:30040 [05:47:25]ConnectInit lk.salyk.kg [05:54:47]ConnectInit Can't connect to host [05:54:49]ConnectInit Can't take IP for lk.salyk.kg [05:54:49]CommunicateWithHost connect error [05:54:49]CommunicateWithHost err = -1 [05:54:49]OFD Sender: Server communicate error [06:58:01]ConnectInit Can't connect to host [06:58:05]ConnectInit Can't take IP for lk.salyk.kg [06:58:05]CommunicateWithHost connect error [06:58:05]CommunicateWithHost err = -1 [06:58:05]OFD Sender: Server communicate error [07:02:06]ConnectInit Can't connect to host [07:02:10]OFD Sender: Processing packet 22157 [packets to send 14, broken 4] [07:02:10]ProducePacketName [07:02:10]name=ofd_packets/00022157 [07:02:10]OFD Sender: To server: pG, [07:02:10]CommunicateWithHost lk.salyk.kg:30040 [07:02:10]ConnectInit lk.salyk.kg [07:02:11]Connected sock=8 [07:02:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 22 01 00 00 9F C3 1A 01 A4 C8 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 30 30 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A4 D1 80 D1 83 D0 BD D0 B7 D0 B5 20 30 2C 37 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC FF 00 00 00 00 13 04 06 00 DC FF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC FF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2C 1B 00 00 00 00 07 04 06 00 DC FF 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 98 EF 6C 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8D 56 00 00 35 04 06 00 19 5B 68 AE BD B3 4A 4B 85 06 5E FA 11 9F [07:02:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 00 EE 47 00 CB 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8D 56 00 00 F4 03 04 00 31 E5 6C 66 B6 04 01 00 00 47 65 15 8E C1 BA 80 C2 [07:02:11]CommunicateWithHost err = 0 [07:02:11]CheckOFDResponse [07:02:11]1017 (14) - 77093643461234 [07:02:11]1041 (16) - 0000000000965344 [07:02:11]1040 (4) - 22157 [07:02:11]1012 (4) - 15.06.2024 00:49 [07:02:11]1206 (1) - 0 [07:02:11]OFD Sender: Remove packet 22157 [07:02:11]ProducePacketName [07:02:11]name=ofd_packets/00022157 [07:02:11]NVStorageDeleteData [07:02:12]OFD Sender: Processing packet 22158 [packets to send 13, broken 4] [07:02:12]ProducePacketName [07:02:12]name=ofd_packets/00022158 [07:02:12]OFD Sender: To server: pG, [07:02:12]CommunicateWithHost lk.salyk.kg:30040 [07:02:12]ConnectInit lk.salyk.kg [07:02:12]Connected sock=8 [07:02:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 24 01 00 00 24 B8 1C 01 38 AA 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 90 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0D 00 00 00 00 07 04 06 00 90 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 64 0B 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8E 56 00 00 35 04 06 00 A8 BB 37 97 66 50 2B D2 BA CB B3 97 0A F4 [07:02:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 80 EF 47 00 B1 28 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8E 56 00 00 F4 03 04 00 32 E5 6C 66 B6 04 01 00 00 01 21 7D FC 9D 7F 0D 6C [07:02:13]CommunicateWithHost err = 0 [07:02:13]CheckOFDResponse [07:02:13]1017 (14) - 77093643461234 [07:02:13]1041 (16) - 0000000000965344 [07:02:13]1040 (4) - 22158 [07:02:13]1012 (4) - 15.06.2024 00:49 [07:02:13]1206 (1) - 0 [07:02:13]OFD Sender: Remove packet 22158 [07:02:13]ProducePacketName [07:02:13]name=ofd_packets/00022158 [07:02:13]NVStorageDeleteData [07:02:13]OFD Sender: Processing packet 22159 [packets to send 12, broken 4] [07:02:13]ProducePacketName [07:02:13]name=ofd_packets/00022159 [07:02:13]OFD Sender: To server: pG, [07:02:13]CommunicateWithHost lk.salyk.kg:30040 [07:02:13]ConnectInit lk.salyk.kg [07:02:14]Connected sock=8 [07:02:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1C 02 00 00 C2 A3 14 02 6B 44 5A 03 01 00 03 00 08 02 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 34 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A1 6F 72 6F 6E 61 20 49 63 65 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 36 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 4F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 23 00 00 00 00 07 04 06 00 F0 4F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 CC 11 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8F 56 00 00 35 04 06 00 A7 21 6D DC A2 90 8A B4 EC 6B AB 36 C9 DD [07:02:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 81 24 47 00 C2 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 8F 56 00 00 F4 03 04 00 34 E5 6C 66 B6 04 01 00 00 F7 E1 14 9B 63 FC BF 31 [07:02:14]CommunicateWithHost err = 0 [07:02:14]CheckOFDResponse [07:02:14]1017 (14) - 77093643461234 [07:02:14]1041 (16) - 0000000000965344 [07:02:14]1040 (4) - 22159 [07:02:14]1012 (4) - 15.06.2024 00:49 [07:02:14]1206 (1) - 0 [07:02:14]OFD Sender: Remove packet 22159 [07:02:14]ProducePacketName [07:02:14]name=ofd_packets/00022159 [07:02:14]NVStorageDeleteData [07:02:15]OFD Sender: Processing packet 22160 [packets to send 11, broken 4] [07:02:15]ProducePacketName [07:02:15]name=ofd_packets/00022160 [07:02:15]OFD Sender: To server: pG, [07:02:15]CommunicateWithHost lk.salyk.kg:30040 [07:02:15]ConnectInit lk.salyk.kg [07:02:16]Connected sock=8 [07:02:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1E 01 00 00 C0 2B 16 01 D7 52 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7A 19 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 90 56 00 00 35 04 06 00 C9 2B 0E 26 9D 5C 05 00 A7 83 E2 EE 33 79 [07:02:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 A4 3D 47 00 C1 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 90 56 00 00 F4 03 04 00 35 E5 6C 66 B6 04 01 00 00 90 43 79 34 3E 11 7F F4 [07:02:16]CommunicateWithHost err = 0 [07:02:16]CheckOFDResponse [07:02:16]1017 (14) - 77093643461234 [07:02:16]1041 (16) - 0000000000965344 [07:02:16]1040 (4) - 22160 [07:02:16]1012 (4) - 15.06.2024 00:49 [07:02:16]1206 (1) - 0 [07:02:16]OFD Sender: Remove packet 22160 [07:02:16]ProducePacketName [07:02:16]name=ofd_packets/00022160 [07:02:16]NVStorageDeleteData [07:02:16]OFD Sender: Processing packet 22161 [packets to send 10, broken 4] [07:02:16]ProducePacketName [07:02:16]name=ofd_packets/00022161 [07:02:16]OFD Sender: To server: pG, [07:02:16]CommunicateWithHost lk.salyk.kg:30040 [07:02:16]ConnectInit lk.salyk.kg [07:02:17]Connected sock=9 [07:02:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 24 01 00 00 6D 75 1C 01 B0 64 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 27 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 91 56 00 00 35 04 06 00 DE 18 FD 48 4B 76 4C AB 59 26 79 E3 C5 FA [07:02:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 01 DF 47 00 F2 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 91 56 00 00 F4 03 04 00 37 E5 6C 66 B6 04 01 00 00 CE 4C E6 84 73 E0 74 B4 [07:02:18]CommunicateWithHost err = 0 [07:02:18]CheckOFDResponse [07:02:18]1017 (14) - 77093643461234 [07:02:18]1041 (16) - 0000000000965344 [07:02:18]1040 (4) - 22161 [07:02:18]1012 (4) - 15.06.2024 00:49 [07:02:18]1206 (1) - 0 [07:02:18]OFD Sender: Remove packet 22161 [07:02:18]ProducePacketName [07:02:18]name=ofd_packets/00022161 [07:02:18]NVStorageDeleteData [07:02:18]OFD Sender: Processing packet 22162 [packets to send 9, broken 4] [07:02:18]ProducePacketName [07:02:18]name=ofd_packets/00022162 [07:02:18]OFD Sender: To server: pG, [07:02:18]CommunicateWithHost lk.salyk.kg:30040 [07:02:18]ConnectInit lk.salyk.kg [07:02:19]Connected sock=8 [07:02:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 27 01 00 00 73 38 1F 01 28 9F 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 70 2E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 92 56 00 00 35 04 06 00 39 C1 33 C3 6E CB 56 C4 DC D0 F3 A6 9A 1E [07:02:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 EF B3 47 00 D0 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 92 56 00 00 F4 03 04 00 38 E5 6C 66 B6 04 01 00 00 64 30 9B 4E 46 01 EE 40 [07:02:19]CommunicateWithHost err = 0 [07:02:19]CheckOFDResponse [07:02:19]1017 (14) - 77093643461234 [07:02:19]1041 (16) - 0000000000965344 [07:02:19]1040 (4) - 22162 [07:02:19]1012 (4) - 15.06.2024 00:50 [07:02:19]1206 (1) - 0 [07:02:19]OFD Sender: Remove packet 22162 [07:02:19]ProducePacketName [07:02:19]name=ofd_packets/00022162 [07:02:19]NVStorageDeleteData [07:02:19]OFD Sender: Processing packet 22163 [packets to send 8, broken 4] [07:02:19]ProducePacketName [07:02:19]name=ofd_packets/00022163 [07:02:19]OFD Sender: To server: pG, [07:02:19]CommunicateWithHost lk.salyk.kg:30040 [07:02:19]ConnectInit lk.salyk.kg [07:02:20]Connected sock=8 [07:02:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 27 01 00 00 A9 93 1F 01 D3 94 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 B5 34 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 93 56 00 00 35 04 06 00 91 67 92 CD 50 54 AA EF 66 14 0A 27 01 E0 [07:02:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B3 8A 47 00 AC 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 93 56 00 00 F4 03 04 00 39 E5 6C 66 B6 04 01 00 00 71 C9 57 BA 85 72 07 18 [07:02:20]CommunicateWithHost err = 0 [07:02:20]CheckOFDResponse [07:02:20]1017 (14) - 77093643461234 [07:02:20]1041 (16) - 0000000000965344 [07:02:20]1040 (4) - 22163 [07:02:20]1012 (4) - 15.06.2024 00:50 [07:02:20]1206 (1) - 0 [07:02:20]OFD Sender: Remove packet 22163 [07:02:20]ProducePacketName [07:02:20]name=ofd_packets/00022163 [07:02:20]NVStorageDeleteData [07:02:21]OFD Sender: Processing packet 22164 [packets to send 7, broken 4] [07:02:21]ProducePacketName [07:02:21]name=ofd_packets/00022164 [07:02:21]OFD Sender: To server: pG, [07:02:21]CommunicateWithHost lk.salyk.kg:30040 [07:02:21]ConnectInit lk.salyk.kg [07:02:21]Connected sock=8 [07:02:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 4E FA 20 01 F0 38 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 C1 35 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 94 56 00 00 35 04 06 00 80 AA 98 37 9B C8 40 9C D3 C8 2D 4C 74 3D [07:02:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 F5 78 47 00 CD 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 94 56 00 00 F4 03 04 00 3A E5 6C 66 B6 04 01 00 00 79 0E B8 A2 3A 0E 19 79 [07:02:21]CommunicateWithHost err = 0 [07:02:21]CheckOFDResponse [07:02:21]1017 (14) - 77093643461234 [07:02:21]1041 (16) - 0000000000965344 [07:02:21]1040 (4) - 22164 [07:02:21]1012 (4) - 15.06.2024 00:50 [07:02:21]1206 (1) - 0 [07:02:21]OFD Sender: Remove packet 22164 [07:02:21]ProducePacketName [07:02:21]name=ofd_packets/00022164 [07:02:21]NVStorageDeleteData [07:02:22]OFD Sender: Processing packet 22165 [packets to send 6, broken 4] [07:02:22]ProducePacketName [07:02:22]name=ofd_packets/00022165 [07:02:22]OFD Sender: To server: pG, [07:02:22]CommunicateWithHost lk.salyk.kg:30040 [07:02:22]ConnectInit lk.salyk.kg [07:02:22]Connected sock=8 [07:02:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 40 01 00 00 D7 9B 38 01 3F 6B 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 CA 38 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 95 56 00 00 35 04 06 00 3D 42 62 7B 04 7A AD 87 8B 80 FC 95 6E 77 [07:02:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 74 BE 47 00 BA 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 95 56 00 00 F4 03 04 00 3C E5 6C 66 B6 04 01 00 00 92 0D A8 CE 1F 66 96 10 [07:02:22]CommunicateWithHost err = 0 [07:02:22]CheckOFDResponse [07:02:22]1017 (14) - 77093643461234 [07:02:22]1041 (16) - 0000000000965344 [07:02:22]1040 (4) - 22165 [07:02:22]1012 (4) - 15.06.2024 00:50 [07:02:22]1206 (1) - 0 [07:02:22]OFD Sender: Remove packet 22165 [07:02:22]ProducePacketName [07:02:22]name=ofd_packets/00022165 [07:02:22]NVStorageDeleteData [07:02:23]OFD Sender: Processing packet 22166 [packets to send 5, broken 4] [07:02:23]ProducePacketName [07:02:23]name=ofd_packets/00022166 [07:02:23]OFD Sender: To server: pG, [07:02:23]CommunicateWithHost lk.salyk.kg:30040 [07:02:23]ConnectInit lk.salyk.kg [07:02:23]Connected sock=9 [07:02:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 7D 7C 1D 01 85 E9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 31 3B 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 96 56 00 00 35 04 06 00 E7 0B F5 12 2F EA F5 CD B1 E3 7B D7 8A 2C [07:02:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 3F E1 47 00 2A 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 96 56 00 00 F4 03 04 00 3D E5 6C 66 B6 04 01 00 00 FE 88 60 18 5B 51 3D E9 [07:02:24]CommunicateWithHost err = 0 [07:02:24]CheckOFDResponse [07:02:24]1017 (14) - 77093643461234 [07:02:24]1041 (16) - 0000000000965344 [07:02:24]1040 (4) - 22166 [07:02:24]1012 (4) - 15.06.2024 00:50 [07:02:24]1206 (1) - 0 [07:02:24]OFD Sender: Remove packet 22166 [07:02:24]ProducePacketName [07:02:24]name=ofd_packets/00022166 [07:02:24]NVStorageDeleteData [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:17]ConnectInit Can't connect to host [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:11]recv_with_timeout no data received [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:12:24]ConnectInit Can't connect to host [07:12:26]ConnectInit Can't take IP for lk.salyk.kg [07:12:26]CommunicateWithHost connect error [07:12:26]CommunicateWithHost err = -1 [07:12:26]OFD Sender: Server communicate error [07:12:31]OFD Sender: Processing packet 22167 [packets to send 5, broken 4] [07:12:31]ProducePacketName [07:12:31]name=ofd_packets/00022167 [07:12:31]OFD Sender: To server: pG, [07:12:31]CommunicateWithHost lk.salyk.kg:30040 [07:12:31]ConnectInit lk.salyk.kg [07:12:32]Connected sock=9 [07:12:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 62 33 1D 01 A3 F5 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 49 3E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 97 56 00 00 35 04 06 00 1F 13 59 19 71 7D 0C BE E9 92 00 72 64 23 [07:12:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 51 62 47 00 53 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 97 56 00 00 F4 03 04 00 9E E7 6C 66 B6 04 01 00 00 6E 21 89 29 14 64 D5 22 [07:12:33]CommunicateWithHost err = 0 [07:12:33]CheckOFDResponse [07:12:33]1017 (14) - 77093643461234 [07:12:33]1041 (16) - 0000000000965344 [07:12:33]1040 (4) - 22167 [07:12:33]1012 (4) - 15.06.2024 01:00 [07:12:33]1206 (1) - 0 [07:12:33]OFD Sender: Remove packet 22167 [07:12:33]ProducePacketName [07:12:33]name=ofd_packets/00022167 [07:12:33]NVStorageDeleteData [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:47]ConnectInit Can't connect to host [07:16:48]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]recv_with_timeout no data received [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:25]accept exits with 8 [07:18:25]New connection [07:18:25]New thread 3066838372 created [07:18:25]Thread 3066695012 joined [07:18:25]Waiting for new connection... [07:18:25] Sock 8.Parse request [07:18:25]Sock 8.Check first char [07:18:25]Sock 8.First char is OK [07:18:25]request: POST /json_proto HTTP/1.0 [07:18:25]Method: POST [07:18:25]URL: /json_proto [07:18:25]Method is POST - this is cgi request [07:18:25]url: /json_proto [07:18:25]query_string will be loaded in cgi processing [07:18:25]execute_cgi json_proto POST (null) [07:18:25]execute_cgi path=json_proto method=POST [07:18:25]POST find Content-Length [07:18:25]Host: 172.17.35.133:8080 [07:18:25]Content-Length: 2065 [07:18:25]Content-Type: application/json [07:18:25] [07:18:25]POST finish read [07:18:25]Found Content-Length = 2065 [07:18:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254390", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209744564", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0428\u0430\u0448\u043B\u044B\u043A 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 4.000, "sum" : 460.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 908.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:18:25]execute_script... [07:18:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254390", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209744564", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0428\u0430\u0448\u043B\u044B\u043A 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 4.000, "sum" : 460.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 908.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:18:26]POST & json_proto [07:18:26]process_json_proto [07:18:26]json parsed OK: [07:18:26]protocol is kg_v1.0 [07:18:26]action value=close_receipt [07:18:26]process_action close_receipt [07:18:26]cmd_close_receipt [07:18:26]MH_GetDate [07:18:26]Write to MH i2c: F0 00 00 85 03 77 [07:18:26]Write i2c OK [07:18:26]MH_I2C_Read... [07:18:26]Read from MH i2c: F0 [07:18:26]MH_I2C_Read... [07:18:26]Read from MH i2c: F0 09 00 [07:18:26]MH_I2C_Read... [07:18:26]Read from MH i2c: F0 09 00 85 03 00 43 40 6D 66 8C 55 28 65 44 [07:18:26]GetLastDocTimeStamp 1718435401 [07:18:26]current date 1718435907 [07:18:26]FM_GetShiftState [07:18:26]SAM_PROTO_GetShiftState [07:18:26]wFMCommunicate request_size=4 [07:18:26]MH_SAM_APDU [07:18:26]CAPDU: 80 13 01 00 [07:18:26]Write to MH i2c: E2 08 00 86 03 80 13 01 00 00 00 00 00 06 [07:18:26]Write i2c OK [07:18:26]MH_I2C_Read... [07:18:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:18:26]Read from MH i2c: E2 [07:18:26]MH_I2C_Read... [07:18:26]Read from MH i2c: E2 0E 00 [07:18:26]MH_I2C_Read... [07:18:26]Read from MH i2c: E2 0E 00 86 03 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 DA [07:18:26]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [07:18:26]wFMCommunicate OK [07:18:26]SAM_PROTO_GetShiftState done [07:18:26]FM_GetShiftState done [07:18:26]opened in 1718410776 [07:18:26]opened+sec_in_day 1718497176 [07:18:26]quantity*price = 11300 [07:18:26]sum+1 = 11301 [07:18:26]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003241276 Напиток Молочный ТАН 1л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870209744564 Сухарики Флинт Шашлык 100 гр 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 1.000 * 25.00 = 25.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 4.000 * 115.00 = 460.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 908.00 НСП 1% : 8.03 НДС 12% : 96.42 Наличными: 908.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 13 15.06.2024 07:18 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22168 ФПД: 236349724124446 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T071827&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22168&fm=236349724124446&tin=02508201610067®Number=0000000000099755&sum=90800 0 [07:18:27]StoreToDocumentArchive [07:18:27]shift 326 fd 22168 [07:18:27]save to /storage/0326/doc_00022168 [07:18:27]save last doc name /storage/0326/doc_00022168 to /storage/kkm_last_doc_name [07:18:27]save OK [07:18:27]Clear old archive folders... [07:18:27]ProcessDocumentItem done err = 0, tmpTLVsize=847 [07:18:27]tlvbuf is 00204B30 [07:18:27]SAM_PROTO_ClearQueue [07:18:27]wFMCommunicate request_size=4 [07:18:27]MH_SAM_APDU [07:18:27]CAPDU: 80 09 00 00 [07:18:27]Write to MH i2c: E2 08 00 93 03 80 09 00 00 00 00 00 00 08 [07:18:27]Write i2c OK [07:18:27]MH_I2C_Read... [07:18:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:18:27]Read from MH i2c: E2 [07:18:27]MH_I2C_Read... [07:18:27]Read from MH i2c: E2 03 00 [07:18:27]MH_I2C_Read... [07:18:27]Read from MH i2c: E2 03 00 93 03 00 90 00 0A [07:18:27]RAPDU: 90 00 [07:18:27]wFMCommunicate OK [07:18:27]SAM_PROTO_ClearQueue done [07:18:27]KKMCreateOFDPacket [07:18:27]OFDProtocolAddRootSTLVToBuf [07:18:27]FM_MakeSignedData [07:18:27]FM_MakeSignedData [07:18:27]SAM_PROTO_SignData [07:18:27]wFMCommunicate request_size=4 [07:18:27]MH_SAM_APDU [07:18:27]CAPDU: 80 0D 01 02 [07:18:27]Write to MH i2c: E2 08 00 94 03 80 0D 01 02 00 00 00 00 10 [07:18:27]Write i2c OK [07:18:27]MH_I2C_Read... [07:18:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:18:27]Read from MH i2c: E2 [07:18:27]MH_I2C_Read... [07:18:27]Read from MH i2c: E2 03 00 [07:18:27]MH_I2C_Read... [07:18:27]Read from MH i2c: E2 03 00 94 03 00 90 00 0B [07:18:27]RAPDU: 90 00 [07:18:27]wFMCommunicate OK [07:18:27]wFMCommunicate request_size=255 [07:18:27]MH_SAM_APDU [07:18:27]CAPDU: 80 0D 02 02 FA 03 00 4F 03 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 [07:18:27]Write to MH i2c: E2 02 01 95 03 80 0D 02 02 FA 00 03 00 4F 03 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 00 A0 [07:18:27]Write i2c OK [07:18:27]MH_I2C_Read... [07:18:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:27]Read from MH i2c: E2 [07:18:27]MH_I2C_Read... [07:18:27]Read from MH i2c: E2 03 00 [07:18:27]MH_I2C_Read... [07:18:27]Read from MH i2c: E2 03 00 95 03 00 90 00 0C [07:18:27]RAPDU: 90 00 [07:18:27]wFMCommunicate OK [07:18:27]wFMCommunicate request_size=255 [07:18:27]MH_SAM_APDU [07:18:27]CAPDU: 80 0D 02 02 FA 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 [07:18:27]Write to MH i2c: E2 02 01 96 03 80 0D 02 02 FA 00 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 00 00 6A [07:18:27]Write i2c OK [07:18:27]MH_I2C_Read... [07:18:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:28]Read from MH i2c: E2 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 03 00 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 03 00 96 03 00 90 00 0D [07:18:28]RAPDU: 90 00 [07:18:28]wFMCommunicate OK [07:18:28]wFMCommunicate request_size=255 [07:18:28]MH_SAM_APDU [07:18:28]CAPDU: 80 0D 02 02 FA B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 62 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 25 00 00 00 00 07 04 06 00 B0 62 01 00 00 00 39 04 [07:18:28]Write to MH i2c: E2 02 01 97 03 80 0D 02 02 FA 00 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 62 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 25 00 00 00 00 07 04 06 00 B0 62 01 00 00 00 39 04 00 00 B8 [07:18:28]Write i2c OK [07:18:28]MH_I2C_Read... [07:18:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:28]Read from MH i2c: E2 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 03 00 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 03 00 97 03 00 90 00 0E [07:18:28]RAPDU: 90 00 [07:18:28]wFMCommunicate OK [07:18:28]wFMCommunicate request_size=106 [07:18:28]MH_SAM_APDU [07:18:28]CAPDU: 80 0D 02 02 65 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 43 40 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 98 56 00 00 35 04 06 00 D6 F5 75 59 65 1E [07:18:28]Write to MH i2c: E2 6D 00 98 03 80 0D 02 02 65 00 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 43 40 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 98 56 00 00 35 04 06 00 D6 F5 75 59 65 1E 00 00 88 [07:18:28]Write i2c OK [07:18:28]MH_I2C_Read... [07:18:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:28]Read from MH i2c: E2 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 03 00 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 03 00 98 03 00 90 00 0F [07:18:28]RAPDU: 90 00 [07:18:28]wFMCommunicate OK [07:18:28]wFMCommunicate request_size=4 [07:18:28]MH_SAM_APDU [07:18:28]CAPDU: 80 0D 03 02 [07:18:28]Write to MH i2c: E2 08 00 99 03 80 0D 03 02 00 00 00 00 17 [07:18:28]Write i2c OK [07:18:28]MH_I2C_Read... [07:18:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:18:28]Read from MH i2c: E2 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 0B 00 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 0B 00 99 03 00 F5 CE E7 05 E6 1F 5F 2E 90 00 59 [07:18:28]RAPDU: F5 CE E7 05 E6 1F 5F 2E 90 00 [07:18:28]wFMCommunicate OK [07:18:28]SAM_PROTO_SignData done [07:18:28]FM_MakeSignedData done [07:18:28]CreateOFDProtocolMessage [07:18:28]wFMCommunicate request_size=4 [07:18:28]MH_SAM_APDU [07:18:28]CAPDU: 80 11 00 00 [07:18:28]Write to MH i2c: E2 08 00 9A 03 80 11 00 00 00 00 00 00 17 [07:18:28]Write i2c OK [07:18:28]MH_I2C_Read... [07:18:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:18:28]Read from MH i2c: E2 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 17 00 [07:18:28]MH_I2C_Read... [07:18:28]Read from MH i2c: E2 17 00 9A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 69 [07:18:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [07:18:28]wFMCommunicate OK [07:18:28]CreateOFDProtocolMessage done [07:18:28]OFDSenderStorePacket 22168 [07:18:28]StoreOFDPacket docnum=22168 [07:18:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 63 03 00 00 05 02 5B 03 8C 3B 5A 03 01 00 03 00 4F 03 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 62 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 25 00 00 00 00 07 04 06 00 B0 62 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 43 40 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 98 56 00 00 35 04 06 00 D6 F5 75 59 65 1E F5 CE E7 05 E6 1F 5F 2E [07:18:28]CheckFolder [07:18:28]dirname=/storage/ofd_packets [07:18:28]CheckFolder done [07:18:28]ProducePacketName [07:18:28]name=ofd_packets/00022168 [07:18:28]NVStorageSaveData ofd_packets/00022168 [07:18:28]File name is /storage/ofd_packets/00022168 [07:18:28]Write 897 bytes [07:18:28]NVStorageSaveData done [07:18:28]OFDSenderStorePacket done [07:18:28]KKMCreateOFDPacket done [07:18:29]NVStorageSaveData kkm_last_timestamp [07:18:29]File name is /storage/kkm_last_timestamp [07:18:29]Write 4 bytes [07:18:29]NVStorageSaveData done [07:18:29]ExternCall_PrintAddStr [07:18:29]wPrintStart [07:18:29]Write to MH i2c: 01 00 00 9B 03 9E [07:18:29]OFD Sender: Processing packet 22168 [packets to send 5, broken 4] [07:18:29]ProducePacketName [07:18:29]name=ofd_packets/00022168 [07:18:29]Write i2c OK [07:18:29]MH_I2C_Read... [07:18:29]OFD Sender: To server: pG, [07:18:29]CommunicateWithHost lk.salyk.kg:30040 [07:18:29]ConnectInit lk.salyk.kg [07:18:29]Read from MH i2c: 01 [07:18:29]MH_I2C_Read... [07:18:29]Read from MH i2c: 01 07 00 [07:18:29]MH_I2C_Read... [07:18:29]Read from MH i2c: 01 07 00 9B 03 00 00 00 00 00 FF 0F B3 [07:18:29]RasterBufferAndPrint [07:18:29]line Счет N : (3)254390 [07:18:29]line ИНН: 02508201610067 [07:18:29]line Контрольно-Кассовый Чек [07:18:29]line ПРОДАЖА [07:18:29]line Товар: 5449000054227 [07:18:29]line Напиток Кока-Кола 1л [07:18:29]line 1.000 * 113.00 [07:18:29]line = 113.00 [07:18:29]line НДС 12% НСП 1% [07:18:29]line > о реализуемом товаре [07:18:29]line Товар: 4700003241276 [07:18:29]line Напиток Молочный ТАН 1л [07:18:29]line 1.000 * 110.00 [07:18:29]line = 110.00 [07:18:29]line НДС 12% НСП 1% [07:18:29]line > о реализуемом товаре [07:18:29]line Товар: 48747059 [07:18:29]line Сигареты Winston Legend Blue [07:18:29]line 1.000 * 140.00 [07:18:29]line = 140.00 [07:18:29]line НДС 12% НСП 1% [07:18:29]line > о реализуемом товаре [07:18:29]line Товар: 4870209744564 [07:18:29]line Сухарики Флинт Шашлык 100 гр [07:18:29]line 1.000 * 60.00 [07:18:29]line = 60.00 [07:18:29]line НДС 12% НСП 1% [07:18:29]line > о реализуемом товаре [07:18:29]line Товар: 2000027340020 [07:18:29]line Пакет бумажный витая ручка [07:18:29]line 1.000 * 25.00 [07:18:29]line = 25.00 [07:18:29]line НДС 12% НСП 1% [07:18:29]line > о реализуемом товаре [07:18:29]line Товар: 2000036210013 [07:18:29]line Кофе Капучино (GABB TRADE) [07:18:29]line 4.000 * 115.00 [07:18:29]line = 460.00 [07:18:29]line НДС 12% НСП 1% [07:18:29]line > о реализуемом товаре [07:18:29]line ИТОГО: 908.00 [07:18:29]line НСП 1% : 8.03 [07:18:29]line НДС 12% : 96.42 [07:18:29]line Наличными: 908.00 [07:18:29]line Безнал.: 0.00 [07:18:29]line Место: АЗС № 76 "Партнер Нефть" [07:18:29]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [07:18:29]line СНО: Общий режим [07:18:29]line Чек 13 15.06.2024 07:18 [07:18:29]line Смена: 326 ФФД: 1.0 [07:18:29]line ЗНМ: 0300000200 [07:18:29]line РНМ: 0000000000099755 [07:18:29]line Версия ККМ: 001 [07:18:29]line ФМ: 0000000000965344 [07:18:29]line ФД: 22168 [07:18:29]line ФПД: 236349724124446 [07:18:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T071827&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22168&fm=236349724124446&tin=02508201610067®Number=0000000000099755&sum=90800 [07:18:29]line 0 [07:18:29]written 0, free lines is 4095 [07:18:29]Write to MH i2c: 01 00 00 E3 03 E6 [07:18:29]Write i2c OK [07:18:29]MH_I2C_Read... [07:18:29]Read from MH i2c: 01 [07:18:29]MH_I2C_Read... [07:18:29]Read from MH i2c: 01 07 00 [07:18:29]MH_I2C_Read... [07:18:29]Read from MH i2c: 01 07 00 E3 03 00 00 00 00 00 7B 0B 73 [07:18:29]RasterBufferAndPrint [07:18:29]line [07:18:29]line [07:18:29]line [07:18:29]line [07:18:29]line [07:18:29]written 0, free lines is 2947 [07:18:29]MH_Cut [07:18:29]Write to MH i2c: D1 01 00 EA 03 01 BF [07:18:29]Write i2c OK [07:18:29]MH_I2C_Read... [07:18:29]Read from MH i2c: D1 [07:18:29]MH_I2C_Read... [07:18:29]Read from MH i2c: D1 01 00 [07:18:29]MH_I2C_Read... [07:18:29]Read from MH i2c: D1 01 00 EA 03 00 BE [07:18:29]Write to MH i2c: 01 00 00 EB 03 EE [07:18:29]Write i2c OK [07:18:29]MH_I2C_Read... [07:18:30]*** Cut start [07:18:30]*** Partial cut [07:18:30]*** CUTSNS_PIN = 1 [07:18:30]*** CUTSNS_PIN = 0 [07:18:31]*** Brake cut motor [07:18:31]Read from MH i2c: 01 [07:18:31]MH_I2C_Read... [07:18:31]*** Stop cut motor [07:18:31]*** Cut end [07:18:31]Read from MH i2c: 01 07 00 [07:18:31]MH_I2C_Read... [07:18:31]Read from MH i2c: 01 07 00 EB 03 00 00 00 00 00 FF 0F 03 [07:18:31]process_action close_receipt done [07:18:31]requested_data is exist [07:18:31]produce_requested_data [07:18:31]requested_item fm.sn is exist - process it [07:18:31]wFMCommunicate request_size=4 [07:18:31]MH_SAM_APDU [07:18:31]CAPDU: 80 11 00 00 [07:18:31]Write to MH i2c: E2 08 00 EC 03 80 11 00 00 00 00 00 00 69 [07:18:31]Write i2c OK [07:18:31]MH_I2C_Read... [07:18:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:18:31]Read from MH i2c: E2 [07:18:31]MH_I2C_Read... [07:18:31]Read from MH i2c: E2 17 00 [07:18:31]MH_I2C_Read... [07:18:31]Read from MH i2c: E2 17 00 EC 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 BB [07:18:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [07:18:31]wFMCommunicate OK [07:18:31]requested_item fd.num is exist - process it [07:18:31]SAM_PROTO_GetFieldsCounters [07:18:31]wFMCommunicate request_size=4 [07:18:31]MH_SAM_APDU [07:18:31]CAPDU: 80 13 00 00 [07:18:31]Write to MH i2c: E2 08 00 ED 03 80 13 00 00 00 00 00 00 6C [07:18:31]Write i2c OK [07:18:31]MH_I2C_Read... [07:18:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:18:31]Read from MH i2c: E2 [07:18:31]MH_I2C_Read... [07:18:31]Read from MH i2c: E2 62 00 [07:18:31]MH_I2C_Read... [07:18:31]Read from MH i2c: E2 62 00 ED 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 98 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [07:18:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 98 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:18:31]wFMCommunicate OK [07:18:31]SAM_PROTO_GetFieldsCounters done [07:18:31]requested_item shift.num is exist - process it [07:18:31]requested_item shift.opened is exist - process it [07:18:31]req_shift_opened [07:18:31]FM_GetShiftState [07:18:31]SAM_PROTO_GetShiftState [07:18:31]wFMCommunicate request_size=4 [07:18:31]MH_SAM_APDU [07:18:31]CAPDU: 80 13 01 00 [07:18:31]Write to MH i2c: E2 08 00 EE 03 80 13 01 00 00 00 00 00 6E [07:18:31]Write i2c OK [07:18:31]MH_I2C_Read... [07:18:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:18:31]Read from MH i2c: E2 [07:18:31]MH_I2C_Read... [07:18:31]Read from MH i2c: E2 0E 00 [07:18:31]MH_I2C_Read... [07:18:31]Read from MH i2c: E2 0E 00 EE 03 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 42 [07:18:31]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [07:18:31]wFMCommunicate OK [07:18:31]SAM_PROTO_GetShiftState done [07:18:31]FM_GetShiftState done [07:18:31]req_shift_opened done [07:18:31]requested_item shift.open_date is exist - process it [07:18:31]req_shift_open_date [07:18:31]req_shift_open_date done [07:18:31]produce_requested_data done [07:18:31]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22168,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [07:18:31]process_action_free close_receipt [07:18:31]json_value_free [07:18:31]json_value_free done [07:18:31]process_json_proto returns [07:18:31]Send response to host [07:18:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22168,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [07:18:31]free response buf [07:18:31]execute_script done [07:18:31]execute_script returns [07:18:31]free content buf [07:18:31]Sock 8.Close socket [07:18:31]Sock 8.Thread stoped [07:18:34]ConnectInit Can't take IP for lk.salyk.kg [07:18:34]CommunicateWithHost connect error [07:18:34]CommunicateWithHost err = -1 [07:18:34]OFD Sender: Server communicate error [07:18:39]OFD Sender: Processing packet 22168 [packets to send 5, broken 4] [07:18:39]ProducePacketName [07:18:39]name=ofd_packets/00022168 [07:18:39]OFD Sender: To server: pG, [07:18:39]CommunicateWithHost lk.salyk.kg:30040 [07:18:39]ConnectInit lk.salyk.kg [07:18:39]Connected sock=8 [07:18:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 63 03 00 00 05 02 5B 03 8C 3B 5A 03 01 00 03 00 4F 03 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 62 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 25 00 00 00 00 07 04 06 00 B0 62 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 43 40 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 98 56 00 00 35 04 06 00 D6 F5 75 59 65 1E F5 CE E7 05 E6 1F 5F 2E [07:18:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 AF DD 47 00 A0 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 98 56 00 00 F4 03 04 00 0D E9 6C 66 B6 04 01 00 00 E0 CF 41 17 B2 27 51 0C [07:18:39]CommunicateWithHost err = 0 [07:18:39]CheckOFDResponse [07:18:39]1017 (14) - 77093643461234 [07:18:39]1041 (16) - 0000000000965344 [07:18:39]1040 (4) - 22168 [07:18:39]1012 (4) - 15.06.2024 01:06 [07:18:39]1206 (1) - 0 [07:18:39]OFD Sender: Remove packet 22168 [07:18:39]ProducePacketName [07:18:39]name=ofd_packets/00022168 [07:18:39]NVStorageDeleteData [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:11]accept exits with 9 [07:19:11]New connection [07:19:11]New thread 3066695012 created [07:19:11]Thread 3066838372 joined [07:19:11]Waiting for new connection... [07:19:11] Sock 9.Parse request [07:19:11]Sock 9.Check first char [07:19:11]Sock 9.First char is OK [07:19:11]request: POST /json_proto HTTP/1.0 [07:19:11]Method: POST [07:19:11]URL: /json_proto [07:19:11]Method is POST - this is cgi request [07:19:11]url: /json_proto [07:19:11]query_string will be loaded in cgi processing [07:19:11]execute_cgi json_proto POST (null) [07:19:11]execute_cgi path=json_proto method=POST [07:19:11]POST find Content-Length [07:19:11]Host: 172.17.35.133:8080 [07:19:11]Content-Length: 654 [07:19:11]Content-Type: application/json [07:19:11] [07:19:11]POST finish read [07:19:11]Found Content-Length = 654 [07:19:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254391", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:19:11]execute_script... [07:19:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254391", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:19:11]POST & json_proto [07:19:11]process_json_proto [07:19:11]json parsed OK: [07:19:11]protocol is kg_v1.0 [07:19:11]action value=close_receipt [07:19:11]process_action close_receipt [07:19:11]cmd_close_receipt [07:19:11]MH_GetDate [07:19:11]Write to MH i2c: F0 00 00 EF 03 E1 [07:19:11]Write i2c OK [07:19:11]MH_I2C_Read... [07:19:11]Read from MH i2c: F0 [07:19:11]MH_I2C_Read... [07:19:11]Read from MH i2c: F0 09 00 [07:19:11]MH_I2C_Read... [07:19:11]Read from MH i2c: F0 09 00 EF 03 00 71 40 6D 66 8C 55 28 65 DC [07:19:11]GetLastDocTimeStamp 1718435907 [07:19:11]current date 1718435953 [07:19:11]FM_GetShiftState [07:19:11]SAM_PROTO_GetShiftState [07:19:11]wFMCommunicate request_size=4 [07:19:11]MH_SAM_APDU [07:19:11]CAPDU: 80 13 01 00 [07:19:11]Write to MH i2c: E2 08 00 F0 03 80 13 01 00 00 00 00 00 70 [07:19:11]Write i2c OK [07:19:11]MH_I2C_Read... [07:19:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:19:11]Read from MH i2c: E2 [07:19:11]MH_I2C_Read... [07:19:11]Read from MH i2c: E2 0E 00 [07:19:11]MH_I2C_Read... [07:19:11]Read from MH i2c: E2 0E 00 F0 03 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 44 [07:19:11]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [07:19:11]wFMCommunicate OK [07:19:11]SAM_PROTO_GetShiftState done [07:19:11]FM_GetShiftState done [07:19:11]opened in 1718410776 [07:19:11]opened+sec_in_day 1718497176 [07:19:11]quantity*price = 9500 [07:19:11]sum+1 = 9501 [07:19:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 14 15.06.2024 07:19 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22169 ФПД: 88147235152167 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T071913&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22169&fm=88147235152167&tin=02508201610067®Number=0000000000099755&sum=9500 0 [07:19:12]StoreToDocumentArchive [07:19:12]shift 326 fd 22169 [07:19:12]save to /storage/0326/doc_00022169 [07:19:12]save last doc name /storage/0326/doc_00022169 to /storage/kkm_last_doc_name [07:19:12]save OK [07:19:12]Clear old archive folders... [07:19:12]ProcessDocumentItem done err = 0, tmpTLVsize=293 [07:19:12]tlvbuf is 002061E0 [07:19:12]SAM_PROTO_ClearQueue [07:19:12]wFMCommunicate request_size=4 [07:19:12]MH_SAM_APDU [07:19:12]CAPDU: 80 09 00 00 [07:19:12]Write to MH i2c: E2 08 00 FD 03 80 09 00 00 00 00 00 00 72 [07:19:12]Write i2c OK [07:19:12]MH_I2C_Read... [07:19:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:19:12]Read from MH i2c: E2 [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: E2 03 00 [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: E2 03 00 FD 03 00 90 00 74 [07:19:12]RAPDU: 90 00 [07:19:12]wFMCommunicate OK [07:19:12]SAM_PROTO_ClearQueue done [07:19:12]KKMCreateOFDPacket [07:19:12]OFDProtocolAddRootSTLVToBuf [07:19:12]FM_MakeSignedData [07:19:12]FM_MakeSignedData [07:19:12]SAM_PROTO_SignData [07:19:12]wFMCommunicate request_size=4 [07:19:12]MH_SAM_APDU [07:19:12]CAPDU: 80 0D 01 02 [07:19:12]Write to MH i2c: E2 08 00 FE 03 80 0D 01 02 00 00 00 00 7A [07:19:12]Write i2c OK [07:19:12]MH_I2C_Read... [07:19:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:19:12]Read from MH i2c: E2 [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: E2 03 00 [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: E2 03 00 FE 03 00 90 00 75 [07:19:12]RAPDU: 90 00 [07:19:12]wFMCommunicate OK [07:19:12]wFMCommunicate request_size=255 [07:19:12]MH_SAM_APDU [07:19:12]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 71 40 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [07:19:12]Write to MH i2c: E2 02 01 FF 03 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 71 40 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 F3 [07:19:12]Write i2c OK [07:19:12]MH_I2C_Read... [07:19:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:19:13]Read from MH i2c: E2 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: E2 03 00 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: E2 03 00 FF 03 00 90 00 76 [07:19:13]RAPDU: 90 00 [07:19:13]wFMCommunicate OK [07:19:13]wFMCommunicate request_size=52 [07:19:13]MH_SAM_APDU [07:19:13]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 99 56 00 00 35 04 06 00 50 2B 60 A3 A1 27 [07:19:13]Write to MH i2c: E2 37 00 00 04 80 0D 02 02 2F 00 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 99 56 00 00 35 04 06 00 50 2B 60 A3 A1 27 00 00 7F [07:19:13]Write i2c OK [07:19:13]MH_I2C_Read... [07:19:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:19:13]Read from MH i2c: E2 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: E2 03 00 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: E2 03 00 00 04 00 90 00 78 [07:19:13]RAPDU: 90 00 [07:19:13]wFMCommunicate OK [07:19:13]wFMCommunicate request_size=4 [07:19:13]MH_SAM_APDU [07:19:13]CAPDU: 80 0D 03 02 [07:19:13]Write to MH i2c: E2 08 00 01 04 80 0D 03 02 00 00 00 00 80 [07:19:13]Write i2c OK [07:19:13]MH_I2C_Read... [07:19:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:19:13]Read from MH i2c: E2 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: E2 0B 00 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: E2 0B 00 01 04 00 FA 77 F7 89 D8 C2 20 F1 90 00 1D [07:19:13]RAPDU: FA 77 F7 89 D8 C2 20 F1 90 00 [07:19:13]wFMCommunicate OK [07:19:13]SAM_PROTO_SignData done [07:19:13]FM_MakeSignedData done [07:19:13]CreateOFDProtocolMessage [07:19:13]wFMCommunicate request_size=4 [07:19:13]MH_SAM_APDU [07:19:13]CAPDU: 80 11 00 00 [07:19:13]Write to MH i2c: E2 08 00 02 04 80 11 00 00 00 00 00 00 80 [07:19:13]Write i2c OK [07:19:13]MH_I2C_Read... [07:19:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:19:13]Read from MH i2c: E2 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: E2 17 00 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: E2 17 00 02 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D2 [07:19:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [07:19:13]wFMCommunicate OK [07:19:13]CreateOFDProtocolMessage done [07:19:13]OFDSenderStorePacket 22169 [07:19:13]StoreOFDPacket docnum=22169 [07:19:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 39 01 00 00 A4 51 31 01 41 A8 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 71 40 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 99 56 00 00 35 04 06 00 50 2B 60 A3 A1 27 FA 77 F7 89 D8 C2 20 F1 [07:19:13]CheckFolder [07:19:13]dirname=/storage/ofd_packets [07:19:13]CheckFolder done [07:19:13]ProducePacketName [07:19:13]name=ofd_packets/00022169 [07:19:13]NVStorageSaveData ofd_packets/00022169 [07:19:13]File name is /storage/ofd_packets/00022169 [07:19:13]Write 343 bytes [07:19:13]NVStorageSaveData done [07:19:13]OFDSenderStorePacket done [07:19:13]KKMCreateOFDPacket done [07:19:13]NVStorageSaveData kkm_last_timestamp [07:19:13]File name is /storage/kkm_last_timestamp [07:19:13]Write 4 bytes [07:19:13]NVStorageSaveData done [07:19:13]ExternCall_PrintAddStr [07:19:13]wPrintStart [07:19:13]Write to MH i2c: 01 00 00 03 04 07 [07:19:13]Write i2c OK [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: 01 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: 01 07 00 [07:19:13]MH_I2C_Read... [07:19:13]Read from MH i2c: 01 07 00 03 04 00 00 00 00 00 FF 0F 1C [07:19:13]RasterBufferAndPrint [07:19:13]line Счет N : (3)254391 [07:19:13]line ИНН: 02508201610067 [07:19:13]line Контрольно-Кассовый Чек [07:19:13]line ПРОДАЖА [07:19:13]line Товар: 4700000480050 [07:19:13]line Напиток Nitro Energy эн green ж/б 0,45л [07:19:13]line 1.000 * 95.00 [07:19:13]line = 95.00 [07:19:13]line НДС 12% НСП 1% [07:19:13]line > о реализуемом товаре [07:19:13]line ИТОГО: 95.00 [07:19:13]line НСП 1% : 0.84 [07:19:13]line НДС 12% : 10.09 [07:19:13]line Наличными: 95.00 [07:19:13]line Безнал.: 0.00 [07:19:13]line Место: АЗС № 76 "Партнер Нефть" [07:19:13]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [07:19:13]line СНО: Общий режим [07:19:13]line Чек 14 15.06.2024 07:19 [07:19:13]line Смена: 326 ФФД: 1.0 [07:19:13]line ЗНМ: 0300000200 [07:19:13]line РНМ: 0000000000099755 [07:19:13]line Версия ККМ: 001 [07:19:13]line ФМ: 0000000000965344 [07:19:13]line ФД: 22169 [07:19:13]line ФПД: 88147235152167 [07:19:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T071913&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22169&fm=88147235152167&tin=02508201610067®Number=0000000000099755&sum=9500 [07:19:13]line 0 [07:19:13]OFD Sender: Processing packet 22169 [packets to send 5, broken 4] [07:19:13]ProducePacketName [07:19:13]name=ofd_packets/00022169 [07:19:13]OFD Sender: To server: pG, [07:19:13]CommunicateWithHost lk.salyk.kg:30040 [07:19:13]ConnectInit lk.salyk.kg [07:19:13]written 0, free lines is 4095 [07:19:14]Write to MH i2c: 01 00 00 2C 04 30 [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: 01 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: 01 07 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: 01 07 00 2C 04 00 00 00 00 00 01 0D 45 [07:19:14]RasterBufferAndPrint [07:19:14]line [07:19:14]line [07:19:14]line [07:19:14]line [07:19:14]line [07:19:14]written 0, free lines is 3335 [07:19:14]MH_Cut [07:19:14]Write to MH i2c: D1 01 00 33 04 01 09 [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: D1 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: D1 01 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: D1 01 00 33 04 00 08 [07:19:14]Write to MH i2c: 01 00 00 34 04 38 [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]*** Cut start [07:19:14]*** Partial cut [07:19:14]*** CUTSNS_PIN = 1 [07:19:14]*** CUTSNS_PIN = 0 [07:19:15]*** Brake cut motor [07:19:15]Read from MH i2c: 01 [07:19:15]MH_I2C_Read... [07:19:15]*** Stop cut motor [07:19:15]*** Cut end [07:19:15]Read from MH i2c: 01 07 00 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: 01 07 00 34 04 00 00 00 00 00 FF 0F 4D [07:19:15]process_action close_receipt done [07:19:15]requested_data is exist [07:19:15]produce_requested_data [07:19:15]requested_item fm.sn is exist - process it [07:19:15]wFMCommunicate request_size=4 [07:19:15]MH_SAM_APDU [07:19:15]CAPDU: 80 11 00 00 [07:19:15]Write to MH i2c: E2 08 00 35 04 80 11 00 00 00 00 00 00 B3 [07:19:15]Write i2c OK [07:19:15]MH_I2C_Read... [07:19:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:19:15]Read from MH i2c: E2 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 17 00 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 17 00 35 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 05 [07:19:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [07:19:15]wFMCommunicate OK [07:19:15]requested_item fd.num is exist - process it [07:19:15]SAM_PROTO_GetFieldsCounters [07:19:15]wFMCommunicate request_size=4 [07:19:15]MH_SAM_APDU [07:19:15]CAPDU: 80 13 00 00 [07:19:15]Write to MH i2c: E2 08 00 36 04 80 13 00 00 00 00 00 00 B6 [07:19:15]Write i2c OK [07:19:15]MH_I2C_Read... [07:19:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:19:15]Read from MH i2c: E2 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 62 00 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 62 00 36 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 99 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [07:19:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 99 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:19:15]wFMCommunicate OK [07:19:15]SAM_PROTO_GetFieldsCounters done [07:19:15]requested_item shift.num is exist - process it [07:19:15]requested_item shift.opened is exist - process it [07:19:15]req_shift_opened [07:19:15]FM_GetShiftState [07:19:15]SAM_PROTO_GetShiftState [07:19:15]wFMCommunicate request_size=4 [07:19:15]MH_SAM_APDU [07:19:15]CAPDU: 80 13 01 00 [07:19:15]Write to MH i2c: E2 08 00 37 04 80 13 01 00 00 00 00 00 B8 [07:19:15]Write i2c OK [07:19:15]MH_I2C_Read... [07:19:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:19:15]Read from MH i2c: E2 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 0E 00 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 0E 00 37 04 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 8C [07:19:15]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [07:19:15]wFMCommunicate OK [07:19:15]SAM_PROTO_GetShiftState done [07:19:15]FM_GetShiftState done [07:19:15]req_shift_opened done [07:19:15]requested_item shift.open_date is exist - process it [07:19:15]req_shift_open_date [07:19:15]req_shift_open_date done [07:19:15]produce_requested_data done [07:19:15]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22169,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [07:19:15]process_action_free close_receipt [07:19:15]json_value_free [07:19:15]json_value_free done [07:19:15]process_json_proto returns [07:19:15]Send response to host [07:19:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22169,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [07:19:15]free response buf [07:19:15]execute_script done [07:19:15]execute_script returns [07:19:15]free content buf [07:19:15]Sock 9.Close socket [07:19:15]Sock 9.Thread stoped [07:19:18]ConnectInit Can't take IP for lk.salyk.kg [07:19:18]CommunicateWithHost connect error [07:19:18]CommunicateWithHost err = -1 [07:19:18]OFD Sender: Server communicate error [07:19:23]OFD Sender: Processing packet 22169 [packets to send 5, broken 4] [07:19:23]ProducePacketName [07:19:23]name=ofd_packets/00022169 [07:19:23]OFD Sender: To server: pG, [07:19:23]CommunicateWithHost lk.salyk.kg:30040 [07:19:23]ConnectInit lk.salyk.kg [07:19:28]ConnectInit Can't take IP for lk.salyk.kg [07:19:28]CommunicateWithHost connect error [07:19:28]CommunicateWithHost err = -1 [07:19:28]OFD Sender: Server communicate error [07:19:33]OFD Sender: Processing packet 22169 [packets to send 5, broken 4] [07:19:33]ProducePacketName [07:19:33]name=ofd_packets/00022169 [07:19:33]OFD Sender: To server: pG, [07:19:33]CommunicateWithHost lk.salyk.kg:30040 [07:19:33]ConnectInit lk.salyk.kg [07:19:38]ConnectInit Can't take IP for lk.salyk.kg [07:19:38]CommunicateWithHost connect error [07:19:38]CommunicateWithHost err = -1 [07:19:38]OFD Sender: Server communicate error [07:19:43]OFD Sender: Processing packet 22169 [packets to send 5, broken 4] [07:19:43]ProducePacketName [07:19:43]name=ofd_packets/00022169 [07:19:43]OFD Sender: To server: pG, [07:19:43]CommunicateWithHost lk.salyk.kg:30040 [07:19:43]ConnectInit lk.salyk.kg [07:19:43]Connected sock=8 [07:19:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 39 01 00 00 A4 51 31 01 41 A8 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 71 40 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 99 56 00 00 35 04 06 00 50 2B 60 A3 A1 27 FA 77 F7 89 D8 C2 20 F1 [07:19:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 C2 29 47 00 7C 58 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 99 56 00 00 F4 03 04 00 4D E9 6C 66 B6 04 01 00 00 20 E5 28 BA C7 DC 63 A3 [07:19:44]CommunicateWithHost err = 0 [07:19:44]CheckOFDResponse [07:19:44]1017 (14) - 77093643461234 [07:19:44]1041 (16) - 0000000000965344 [07:19:44]1040 (4) - 22169 [07:19:44]1012 (4) - 15.06.2024 01:07 [07:19:44]1206 (1) - 0 [07:19:44]OFD Sender: Remove packet 22169 [07:19:44]ProducePacketName [07:19:44]name=ofd_packets/00022169 [07:19:44]NVStorageDeleteData [07:19:44]OFD Sender: No OFD packet to send [07:19:49]OFD Sender: No OFD packet to send [07:19:54]OFD Sender: No OFD packet to send [07:19:59]OFD Sender: No OFD packet to send [07:20:04]OFD Sender: No OFD packet to send [07:20:09]OFD Sender: No OFD packet to send [07:20:14]OFD Sender: No OFD packet to send [07:20:19]OFD Sender: No OFD packet to send [07:20:24]OFD Sender: No OFD packet to send [07:20:29]OFD Sender: No OFD packet to send [07:20:34]OFD Sender: No OFD packet to send [07:20:39]OFD Sender: No OFD packet to send [07:20:44]OFD Sender: No OFD packet to send [07:20:49]OFD Sender: No OFD packet to send [07:20:54]OFD Sender: No OFD packet to send [07:20:59]OFD Sender: No OFD packet to send [07:21:04]OFD Sender: No OFD packet to send [07:21:09]OFD Sender: No OFD packet to send [07:21:14]OFD Sender: No OFD packet to send [07:21:16]recv_with_timeout no data received [07:21:19]OFD Sender: No OFD packet to send [07:21:24]OFD Sender: No OFD packet to send [07:21:29]OFD Sender: No OFD packet to send [07:21:34]OFD Sender: No OFD packet to send [07:21:39]OFD Sender: No OFD packet to send [07:21:44]OFD Sender: No OFD packet to send [07:21:49]OFD Sender: No OFD packet to send [07:21:54]OFD Sender: No OFD packet to send [07:21:59]OFD Sender: No OFD packet to send [07:22:04]OFD Sender: No OFD packet to send [07:22:09]OFD Sender: No OFD packet to send [07:22:14]OFD Sender: No OFD packet to send [07:22:19]OFD Sender: No OFD packet to send [07:22:24]OFD Sender: No OFD packet to send [07:22:29]OFD Sender: No OFD packet to send [07:22:34]OFD Sender: No OFD packet to send [07:22:39]OFD Sender: No OFD packet to send [07:22:44]OFD Sender: No OFD packet to send [07:22:49]OFD Sender: No OFD packet to send [07:22:54]OFD Sender: No OFD packet to send [07:22:59]OFD Sender: No OFD packet to send [07:23:09]OFD Sender: No OFD packet to send [07:23:14]OFD Sender: No OFD packet to send [07:23:19]OFD Sender: No OFD packet to send [07:23:24]OFD Sender: No OFD packet to send [07:23:29]OFD Sender: No OFD packet to send [07:23:34]OFD Sender: No OFD packet to send [07:23:39]OFD Sender: No OFD packet to send [07:23:44]OFD Sender: No OFD packet to send [07:23:49]OFD Sender: No OFD packet to send [07:23:54]OFD Sender: No OFD packet to send [07:23:59]OFD Sender: No OFD packet to send [07:24:04]OFD Sender: No OFD packet to send [07:24:09]OFD Sender: No OFD packet to send [07:24:14]OFD Sender: No OFD packet to send [07:24:19]OFD Sender: No OFD packet to send [07:24:24]OFD Sender: No OFD packet to send [07:24:29]OFD Sender: No OFD packet to send [07:24:34]OFD Sender: No OFD packet to send [07:24:39]OFD Sender: No OFD packet to send [07:24:44]OFD Sender: No OFD packet to send [07:24:49]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:19]ConnectInit Can't connect to host [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:14]recv_with_timeout no data received [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:05]recv_with_timeout no data received [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:35]OFD Sender: No OFD packet to send [07:41:40]OFD Sender: No OFD packet to send [07:41:45]OFD Sender: No OFD packet to send [07:41:50]OFD Sender: No OFD packet to send [07:41:55]OFD Sender: No OFD packet to send [07:42:00]OFD Sender: No OFD packet to send [07:42:05]OFD Sender: No OFD packet to send [07:42:10]OFD Sender: No OFD packet to send [07:42:15]OFD Sender: No OFD packet to send [07:42:20]OFD Sender: No OFD packet to send [07:42:25]OFD Sender: No OFD packet to send [07:42:30]OFD Sender: No OFD packet to send [07:42:35]OFD Sender: No OFD packet to send [07:42:40]OFD Sender: No OFD packet to send [07:42:45]OFD Sender: No OFD packet to send [07:42:50]OFD Sender: No OFD packet to send [07:42:55]OFD Sender: No OFD packet to send [07:43:00]OFD Sender: No OFD packet to send [07:43:05]OFD Sender: No OFD packet to send [07:43:10]OFD Sender: No OFD packet to send [07:43:15]OFD Sender: No OFD packet to send [07:43:20]OFD Sender: No OFD packet to send [07:43:25]OFD Sender: No OFD packet to send [07:43:30]OFD Sender: No OFD packet to send [07:43:35]OFD Sender: No OFD packet to send [07:43:40]OFD Sender: No OFD packet to send [07:43:45]OFD Sender: No OFD packet to send [07:43:50]OFD Sender: No OFD packet to send [07:43:55]OFD Sender: No OFD packet to send [07:44:00]OFD Sender: No OFD packet to send [07:44:05]OFD Sender: No OFD packet to send [07:44:10]OFD Sender: No OFD packet to send [07:44:15]OFD Sender: No OFD packet to send [07:44:20]OFD Sender: No OFD packet to send [07:44:25]OFD Sender: No OFD packet to send [07:44:30]OFD Sender: No OFD packet to send [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:45]OFD Sender: No OFD packet to send [07:44:50]OFD Sender: No OFD packet to send [07:44:55]OFD Sender: No OFD packet to send [07:45:00]OFD Sender: No OFD packet to send [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:40]accept exits with 10 [07:58:40]New connection [07:58:40]New thread 3066838372 created [07:58:40]Thread 3066695012 joined [07:58:40]Waiting for new connection... [07:58:40] Sock 10.Parse request [07:58:40]Sock 10.Check first char [07:58:40]Sock 10.First char is OK [07:58:40]request: POST /json_proto HTTP/1.0 [07:58:40]Method: POST [07:58:40]URL: /json_proto [07:58:40]Method is POST - this is cgi request [07:58:40]url: /json_proto [07:58:40]query_string will be loaded in cgi processing [07:58:40]execute_cgi json_proto POST (null) [07:58:40]execute_cgi path=json_proto method=POST [07:58:40]POST find Content-Length [07:58:40]Host: 172.17.35.133:8080 [07:58:40]Content-Length: 632 [07:58:40]Content-Type: application/json [07:58:40] [07:58:40]POST finish read [07:58:40]Found Content-Length = 632 [07:58:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254392", "tax_sys" : 0, "items" : [ { "code": "4780022460452", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko gold 1\u043A\u0433", "price" : 168.00, "quantity" : 1.000, "sum" : 168.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 168.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:58:40]execute_script... [07:58:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254392", "tax_sys" : 0, "items" : [ { "code": "4780022460452", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko gold 1\u043A\u0433", "price" : 168.00, "quantity" : 1.000, "sum" : 168.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 168.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:58:40]POST & json_proto [07:58:40]process_json_proto [07:58:40]json parsed OK: [07:58:40]protocol is kg_v1.0 [07:58:40]action value=close_receipt [07:58:40]process_action close_receipt [07:58:40]cmd_close_receipt [07:58:40]MH_GetDate [07:58:40]Write to MH i2c: F0 00 00 38 04 2B [07:58:40]Write i2c OK [07:58:40]MH_I2C_Read... [07:58:40]Read from MH i2c: F0 [07:58:40]MH_I2C_Read... [07:58:40]Read from MH i2c: F0 09 00 [07:58:40]MH_I2C_Read... [07:58:40]Read from MH i2c: F0 09 00 38 04 00 B2 49 6D 66 8C 55 28 65 70 [07:58:40]GetLastDocTimeStamp 1718435953 [07:58:40]current date 1718438322 [07:58:40]FM_GetShiftState [07:58:40]SAM_PROTO_GetShiftState [07:58:40]wFMCommunicate request_size=4 [07:58:40]MH_SAM_APDU [07:58:40]CAPDU: 80 13 01 00 [07:58:40]Write to MH i2c: E2 08 00 39 04 80 13 01 00 00 00 00 00 BA [07:58:40]Write i2c OK [07:58:40]MH_I2C_Read... [07:58:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:40]Read from MH i2c: E2 [07:58:40]MH_I2C_Read... [07:58:40]Read from MH i2c: E2 0E 00 [07:58:40]MH_I2C_Read... [07:58:40]Read from MH i2c: E2 0E 00 39 04 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 8E [07:58:40]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [07:58:40]wFMCommunicate OK [07:58:40]SAM_PROTO_GetShiftState done [07:58:40]FM_GetShiftState done [07:58:40]opened in 1718410776 [07:58:40]opened+sec_in_day 1718497176 [07:58:40]quantity*price = 16800 [07:58:40]sum+1 = 16801 [07:58:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 168.00 НСП 1% : 1.49 НДС 12% : 17.84 Наличными: 168.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 15 15.06.2024 07:58 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22170 ФПД: 8181493647822 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T075842&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22170&fm=8181493647822&tin=02508201610067®Number=0000000000099755&sum=16800 0 [07:58:41]StoreToDocumentArchive [07:58:41]shift 326 fd 22170 [07:58:41]save to /storage/0326/doc_00022170 [07:58:41]save last doc name /storage/0326/doc_00022170 to /storage/kkm_last_doc_name [07:58:41]save OK [07:58:41]Clear old archive folders... [07:58:41]ProcessDocumentItem done err = 0, tmpTLVsize=276 [07:58:41]tlvbuf is 002013A0 [07:58:41]SAM_PROTO_ClearQueue [07:58:41]wFMCommunicate request_size=4 [07:58:41]MH_SAM_APDU [07:58:41]CAPDU: 80 09 00 00 [07:58:41]Write to MH i2c: E2 08 00 46 04 80 09 00 00 00 00 00 00 BC [07:58:41]Write i2c OK [07:58:41]MH_I2C_Read... [07:58:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:58:41]Read from MH i2c: E2 [07:58:41]MH_I2C_Read... [07:58:41]Read from MH i2c: E2 03 00 [07:58:41]MH_I2C_Read... [07:58:41]Read from MH i2c: E2 03 00 46 04 00 90 00 BE [07:58:41]RAPDU: 90 00 [07:58:41]wFMCommunicate OK [07:58:41]SAM_PROTO_ClearQueue done [07:58:41]KKMCreateOFDPacket [07:58:41]OFDProtocolAddRootSTLVToBuf [07:58:41]FM_MakeSignedData [07:58:41]FM_MakeSignedData [07:58:41]SAM_PROTO_SignData [07:58:41]wFMCommunicate request_size=4 [07:58:41]MH_SAM_APDU [07:58:41]CAPDU: 80 0D 01 02 [07:58:41]Write to MH i2c: E2 08 00 47 04 80 0D 01 02 00 00 00 00 C4 [07:58:41]Write i2c OK [07:58:41]MH_I2C_Read... [07:58:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:58:41]Read from MH i2c: E2 [07:58:41]MH_I2C_Read... [07:58:41]Read from MH i2c: E2 03 00 [07:58:41]MH_I2C_Read... [07:58:41]Read from MH i2c: E2 03 00 47 04 00 90 00 BF [07:58:41]RAPDU: 90 00 [07:58:41]wFMCommunicate OK [07:58:41]wFMCommunicate request_size=255 [07:58:41]MH_SAM_APDU [07:58:41]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B2 49 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 [07:58:41]Write to MH i2c: E2 02 01 48 04 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B2 49 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 00 00 00 [07:58:41]Write i2c OK [07:58:41]MH_I2C_Read... [07:58:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:42]Read from MH i2c: E2 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: E2 03 00 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: E2 03 00 48 04 00 90 00 C0 [07:58:42]RAPDU: 90 00 [07:58:42]wFMCommunicate OK [07:58:42]wFMCommunicate request_size=35 [07:58:42]MH_SAM_APDU [07:58:42]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9A 56 00 00 35 04 06 00 07 70 E7 05 C9 CE [07:58:42]Write to MH i2c: E2 26 00 49 04 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9A 56 00 00 35 04 06 00 07 70 E7 05 C9 CE 00 00 A3 [07:58:42]Write i2c OK [07:58:42]MH_I2C_Read... [07:58:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:42]Read from MH i2c: E2 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: E2 03 00 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: E2 03 00 49 04 00 90 00 C1 [07:58:42]RAPDU: 90 00 [07:58:42]wFMCommunicate OK [07:58:42]wFMCommunicate request_size=4 [07:58:42]MH_SAM_APDU [07:58:42]CAPDU: 80 0D 03 02 [07:58:42]Write to MH i2c: E2 08 00 4A 04 80 0D 03 02 00 00 00 00 C9 [07:58:42]Write i2c OK [07:58:42]MH_I2C_Read... [07:58:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:58:42]Read from MH i2c: E2 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: E2 0B 00 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: E2 0B 00 4A 04 00 78 6A 76 0B 61 11 67 E0 90 00 E6 [07:58:42]RAPDU: 78 6A 76 0B 61 11 67 E0 90 00 [07:58:42]wFMCommunicate OK [07:58:42]SAM_PROTO_SignData done [07:58:42]FM_MakeSignedData done [07:58:42]CreateOFDProtocolMessage [07:58:42]wFMCommunicate request_size=4 [07:58:42]MH_SAM_APDU [07:58:42]CAPDU: 80 11 00 00 [07:58:42]Write to MH i2c: E2 08 00 4B 04 80 11 00 00 00 00 00 00 C9 [07:58:42]Write i2c OK [07:58:42]MH_I2C_Read... [07:58:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:42]Read from MH i2c: E2 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: E2 17 00 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: E2 17 00 4B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 1B [07:58:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [07:58:42]wFMCommunicate OK [07:58:42]CreateOFDProtocolMessage done [07:58:42]OFDSenderStorePacket 22170 [07:58:42]StoreOFDPacket docnum=22170 [07:58:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 19 76 20 01 D3 DE 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B2 49 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9A 56 00 00 35 04 06 00 07 70 E7 05 C9 CE 78 6A 76 0B 61 11 67 E0 [07:58:42]CheckFolder [07:58:42]dirname=/storage/ofd_packets [07:58:42]CheckFolder done [07:58:42]ProducePacketName [07:58:42]name=ofd_packets/00022170 [07:58:42]NVStorageSaveData ofd_packets/00022170 [07:58:42]File name is /storage/ofd_packets/00022170 [07:58:42]Write 326 bytes [07:58:42]NVStorageSaveData done [07:58:42]OFDSenderStorePacket done [07:58:42]KKMCreateOFDPacket done [07:58:42]NVStorageSaveData kkm_last_timestamp [07:58:42]File name is /storage/kkm_last_timestamp [07:58:42]Write 4 bytes [07:58:42]NVStorageSaveData done [07:58:42]ExternCall_PrintAddStr [07:58:42]wPrintStart [07:58:42]Write to MH i2c: 01 00 00 4C 04 50 [07:58:42]Write i2c OK [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: 01 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: 01 07 00 [07:58:42]MH_I2C_Read... [07:58:42]Read from MH i2c: 01 07 00 4C 04 00 00 00 00 00 FF 0F 65 [07:58:42]RasterBufferAndPrint [07:58:42]line Счет N : (3)254392 [07:58:42]line ИНН: 02508201610067 [07:58:42]line Контрольно-Кассовый Чек [07:58:42]line ПРОДАЖА [07:58:42]line Товар: 4780022460452 [07:58:42]line Антифриз Yumiko gold 1кг [07:58:42]line 1.000 * 168.00 [07:58:42]line = 168.00 [07:58:42]line НДС 12% НСП 1% [07:58:42]line > о реализуемом товаре [07:58:42]line ИТОГО: 168.00 [07:58:42]line НСП 1% : 1.49 [07:58:42]line НДС 12% : 17.84 [07:58:42]line Наличными: 168.00 [07:58:42]line Безнал.: 0.00 [07:58:42]line Место: АЗС № 76 "Партнер Нефть" [07:58:42]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [07:58:42]line СНО: Общий режим [07:58:42]line Чек 15 15.06.2024 07:58 [07:58:42]line Смена: 326 ФФД: 1.0 [07:58:42]line ЗНМ: 0300000200 [07:58:42]line РНМ: 0000000000099755 [07:58:42]line Версия ККМ: 001 [07:58:42]line ФМ: 0000000000965344 [07:58:42]line ФД: 22170 [07:58:42]line ФПД: 8181493647822 [07:58:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T075842&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22170&fm=8181493647822&tin=02508201610067®Number=0000000000099755&sum=16800 [07:58:42]line 0 [07:58:42]OFD Sender: Processing packet 22170 [packets to send 5, broken 4] [07:58:42]ProducePacketName [07:58:42]name=ofd_packets/00022170 [07:58:42]OFD Sender: To server: pG, [07:58:42]CommunicateWithHost lk.salyk.kg:30040 [07:58:42]ConnectInit lk.salyk.kg [07:58:42]written 0, free lines is 4095 [07:58:42]Connected sock=9 [07:58:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 19 76 20 01 D3 DE 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B2 49 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9A 56 00 00 35 04 06 00 07 70 E7 05 C9 CE 78 6A 76 0B 61 11 67 E0 [07:58:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 DD 4D 47 00 29 33 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9A 56 00 00 F4 03 04 00 70 F2 6C 66 B6 04 01 00 00 20 4A B7 34 8D 00 B5 EF [07:58:42]CommunicateWithHost err = 0 [07:58:42]CheckOFDResponse [07:58:42]1017 (14) - 77093643461234 [07:58:42]1041 (16) - 0000000000965344 [07:58:42]1040 (4) - 22170 [07:58:42]1012 (4) - 15.06.2024 01:46 [07:58:42]1206 (1) - 0 [07:58:42]OFD Sender: Remove packet 22170 [07:58:42]ProducePacketName [07:58:42]name=ofd_packets/00022170 [07:58:42]NVStorageDeleteData [07:58:43]Write to MH i2c: 01 00 00 74 04 78 [07:58:43]Write i2c OK [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 07 00 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 07 00 74 04 00 00 00 00 00 2E 0D BA [07:58:43]RasterBufferAndPrint [07:58:43]line [07:58:43]line [07:58:43]line [07:58:43]line [07:58:43]line [07:58:43]written 0, free lines is 3378 [07:58:43]MH_Cut [07:58:43]Write to MH i2c: D1 01 00 7B 04 01 51 [07:58:43]Write i2c OK [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: D1 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: D1 01 00 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: D1 01 00 7B 04 00 50 [07:58:43]Write to MH i2c: 01 00 00 7C 04 80 [07:58:43]Write i2c OK [07:58:43]MH_I2C_Read... [07:58:43]OFD Sender: No OFD packet to send [07:58:43]*** Cut start [07:58:43]*** Partial cut [07:58:43]*** CUTSNS_PIN = 1 [07:58:43]*** CUTSNS_PIN = 0 [07:58:43]*** Brake cut motor [07:58:44]Read from MH i2c: 01 [07:58:44]MH_I2C_Read... [07:58:44]*** Stop cut motor [07:58:44]*** Cut end [07:58:44]Read from MH i2c: 01 07 00 [07:58:44]MH_I2C_Read... [07:58:44]Read from MH i2c: 01 07 00 7C 04 00 00 00 00 00 FF 0F 95 [07:58:44]process_action close_receipt done [07:58:44]requested_data is exist [07:58:44]produce_requested_data [07:58:44]requested_item fm.sn is exist - process it [07:58:44]wFMCommunicate request_size=4 [07:58:44]MH_SAM_APDU [07:58:44]CAPDU: 80 11 00 00 [07:58:44]Write to MH i2c: E2 08 00 7D 04 80 11 00 00 00 00 00 00 FB [07:58:44]Write i2c OK [07:58:44]MH_I2C_Read... [07:58:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:44]Read from MH i2c: E2 [07:58:44]MH_I2C_Read... [07:58:44]Read from MH i2c: E2 17 00 [07:58:44]MH_I2C_Read... [07:58:44]Read from MH i2c: E2 17 00 7D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4D [07:58:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [07:58:44]wFMCommunicate OK [07:58:44]requested_item fd.num is exist - process it [07:58:44]SAM_PROTO_GetFieldsCounters [07:58:44]wFMCommunicate request_size=4 [07:58:44]MH_SAM_APDU [07:58:44]CAPDU: 80 13 00 00 [07:58:44]Write to MH i2c: E2 08 00 7E 04 80 13 00 00 00 00 00 00 FE [07:58:44]Write i2c OK [07:58:44]MH_I2C_Read... [07:58:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:58:44]Read from MH i2c: E2 [07:58:44]MH_I2C_Read... [07:58:44]Read from MH i2c: E2 62 00 [07:58:44]MH_I2C_Read... [07:58:44]Read from MH i2c: E2 62 00 7E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9A 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [07:58:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9A 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:58:44]wFMCommunicate OK [07:58:44]SAM_PROTO_GetFieldsCounters done [07:58:44]requested_item shift.num is exist - process it [07:58:44]requested_item shift.opened is exist - process it [07:58:44]req_shift_opened [07:58:44]FM_GetShiftState [07:58:44]SAM_PROTO_GetShiftState [07:58:44]wFMCommunicate request_size=4 [07:58:44]MH_SAM_APDU [07:58:44]CAPDU: 80 13 01 00 [07:58:44]Write to MH i2c: E2 08 00 7F 04 80 13 01 00 00 00 00 00 00 [07:58:44]Write i2c OK [07:58:44]MH_I2C_Read... [07:58:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:44]Read from MH i2c: E2 [07:58:44]MH_I2C_Read... [07:58:44]Read from MH i2c: E2 0E 00 [07:58:44]MH_I2C_Read... [07:58:44]Read from MH i2c: E2 0E 00 7F 04 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 D4 [07:58:44]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [07:58:44]wFMCommunicate OK [07:58:44]SAM_PROTO_GetShiftState done [07:58:44]FM_GetShiftState done [07:58:44]req_shift_opened done [07:58:44]requested_item shift.open_date is exist - process it [07:58:44]req_shift_open_date [07:58:44]req_shift_open_date done [07:58:44]produce_requested_data done [07:58:44]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22170,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [07:58:44]process_action_free close_receipt [07:58:44]json_value_free [07:58:44]json_value_free done [07:58:44]process_json_proto returns [07:58:44]Send response to host [07:58:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22170,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [07:58:44]free response buf [07:58:44]execute_script done [07:58:44]execute_script returns [07:58:44]free content buf [07:58:44]Sock 10.Close socket [07:58:44]Sock 10.Thread stoped [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:12]accept exits with 8 [07:59:12]New connection [07:59:12]New thread 3066695012 created [07:59:12]Thread 3066838372 joined [07:59:12]Waiting for new connection... [07:59:12] Sock 8.Parse request [07:59:12]Sock 8.Check first char [07:59:12]Sock 8.First char is OK [07:59:12]request: POST /json_proto HTTP/1.0 [07:59:12]Method: POST [07:59:12]URL: /json_proto [07:59:12]Method is POST - this is cgi request [07:59:12]url: /json_proto [07:59:12]query_string will be loaded in cgi processing [07:59:12]execute_cgi json_proto POST (null) [07:59:12]execute_cgi path=json_proto method=POST [07:59:12]POST find Content-Length [07:59:12]Host: 172.17.35.133:8080 [07:59:12]Content-Length: 631 [07:59:12]Content-Type: application/json [07:59:12] [07:59:12]POST finish read [07:59:12]Found Content-Length = 631 [07:59:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254393", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:59:12]execute_script... [07:59:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254393", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:59:12]POST & json_proto [07:59:12]process_json_proto [07:59:12]json parsed OK: [07:59:12]protocol is kg_v1.0 [07:59:12]action value=close_receipt [07:59:12]process_action close_receipt [07:59:12]cmd_close_receipt [07:59:12]MH_GetDate [07:59:12]Write to MH i2c: F0 00 00 80 04 73 [07:59:12]Write i2c OK [07:59:12]MH_I2C_Read... [07:59:12]Read from MH i2c: F0 [07:59:12]MH_I2C_Read... [07:59:12]Read from MH i2c: F0 09 00 [07:59:12]MH_I2C_Read... [07:59:12]Read from MH i2c: F0 09 00 80 04 00 D2 49 6D 66 8C 55 28 65 D8 [07:59:12]GetLastDocTimeStamp 1718438322 [07:59:12]current date 1718438354 [07:59:12]FM_GetShiftState [07:59:12]SAM_PROTO_GetShiftState [07:59:12]wFMCommunicate request_size=4 [07:59:12]MH_SAM_APDU [07:59:12]CAPDU: 80 13 01 00 [07:59:12]Write to MH i2c: E2 08 00 81 04 80 13 01 00 00 00 00 00 02 [07:59:12]Write i2c OK [07:59:12]MH_I2C_Read... [07:59:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:59:12]Read from MH i2c: E2 [07:59:12]MH_I2C_Read... [07:59:12]Read from MH i2c: E2 0E 00 [07:59:12]MH_I2C_Read... [07:59:12]Read from MH i2c: E2 0E 00 81 04 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 D6 [07:59:12]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [07:59:12]wFMCommunicate OK [07:59:12]SAM_PROTO_GetShiftState done [07:59:12]FM_GetShiftState done [07:59:12]opened in 1718410776 [07:59:12]opened+sec_in_day 1718497176 [07:59:12]quantity*price = 4500 [07:59:12]sum+1 = 4501 [07:59:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 16 15.06.2024 07:59 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22171 ФПД: 80534900441568 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T075914&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22171&fm=80534900441568&tin=02508201610067®Number=0000000000099755&sum=4500 0 [07:59:13]StoreToDocumentArchive [07:59:13]shift 326 fd 22171 [07:59:13]save to /storage/0326/doc_00022171 [07:59:13]save last doc name /storage/0326/doc_00022171 to /storage/kkm_last_doc_name [07:59:13]save OK [07:59:13]Clear old archive folders... [07:59:13]ProcessDocumentItem done err = 0, tmpTLVsize=274 [07:59:13]tlvbuf is 002013F0 [07:59:13]SAM_PROTO_ClearQueue [07:59:13]wFMCommunicate request_size=4 [07:59:13]MH_SAM_APDU [07:59:13]CAPDU: 80 09 00 00 [07:59:13]Write to MH i2c: E2 08 00 8E 04 80 09 00 00 00 00 00 00 04 [07:59:13]Write i2c OK [07:59:13]MH_I2C_Read... [07:59:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:59:13]Read from MH i2c: E2 [07:59:13]MH_I2C_Read... [07:59:13]Read from MH i2c: E2 03 00 [07:59:13]MH_I2C_Read... [07:59:13]Read from MH i2c: E2 03 00 8E 04 00 90 00 06 [07:59:13]RAPDU: 90 00 [07:59:13]wFMCommunicate OK [07:59:13]SAM_PROTO_ClearQueue done [07:59:13]KKMCreateOFDPacket [07:59:13]OFDProtocolAddRootSTLVToBuf [07:59:13]FM_MakeSignedData [07:59:13]FM_MakeSignedData [07:59:13]SAM_PROTO_SignData [07:59:13]wFMCommunicate request_size=4 [07:59:13]MH_SAM_APDU [07:59:13]CAPDU: 80 0D 01 02 [07:59:13]Write to MH i2c: E2 08 00 8F 04 80 0D 01 02 00 00 00 00 0C [07:59:13]Write i2c OK [07:59:13]MH_I2C_Read... [07:59:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:59:13]Read from MH i2c: E2 [07:59:13]MH_I2C_Read... [07:59:13]Read from MH i2c: E2 03 00 [07:59:13]MH_I2C_Read... [07:59:13]Read from MH i2c: E2 03 00 8F 04 00 90 00 07 [07:59:13]RAPDU: 90 00 [07:59:13]wFMCommunicate OK [07:59:13]wFMCommunicate request_size=255 [07:59:13]MH_SAM_APDU [07:59:13]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 D2 49 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 [07:59:13]Write to MH i2c: E2 02 01 90 04 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 D2 49 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 00 00 8D [07:59:13]Write i2c OK [07:59:13]MH_I2C_Read... [07:59:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:59:14]Read from MH i2c: E2 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: E2 03 00 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: E2 03 00 90 04 00 90 00 08 [07:59:14]RAPDU: 90 00 [07:59:14]wFMCommunicate OK [07:59:14]wFMCommunicate request_size=33 [07:59:14]MH_SAM_APDU [07:59:14]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9B 56 00 00 35 04 06 00 49 3E FE 22 01 E0 [07:59:14]Write to MH i2c: E2 24 00 91 04 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9B 56 00 00 35 04 06 00 49 3E FE 22 01 E0 00 00 16 [07:59:14]Write i2c OK [07:59:14]MH_I2C_Read... [07:59:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:59:14]Read from MH i2c: E2 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: E2 03 00 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: E2 03 00 91 04 00 90 00 09 [07:59:14]RAPDU: 90 00 [07:59:14]wFMCommunicate OK [07:59:14]wFMCommunicate request_size=4 [07:59:14]MH_SAM_APDU [07:59:14]CAPDU: 80 0D 03 02 [07:59:14]Write to MH i2c: E2 08 00 92 04 80 0D 03 02 00 00 00 00 11 [07:59:14]Write i2c OK [07:59:14]MH_I2C_Read... [07:59:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:59:14]Read from MH i2c: E2 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: E2 0B 00 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: E2 0B 00 92 04 00 99 A5 FA 69 57 8C 68 67 90 00 65 [07:59:14]RAPDU: 99 A5 FA 69 57 8C 68 67 90 00 [07:59:14]wFMCommunicate OK [07:59:14]SAM_PROTO_SignData done [07:59:14]FM_MakeSignedData done [07:59:14]CreateOFDProtocolMessage [07:59:14]wFMCommunicate request_size=4 [07:59:14]MH_SAM_APDU [07:59:14]CAPDU: 80 11 00 00 [07:59:14]Write to MH i2c: E2 08 00 93 04 80 11 00 00 00 00 00 00 11 [07:59:14]Write i2c OK [07:59:14]MH_I2C_Read... [07:59:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:59:14]Read from MH i2c: E2 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: E2 17 00 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: E2 17 00 93 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 63 [07:59:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [07:59:14]wFMCommunicate OK [07:59:14]CreateOFDProtocolMessage done [07:59:14]OFDSenderStorePacket 22171 [07:59:14]StoreOFDPacket docnum=22171 [07:59:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 26 01 00 00 CA A8 1E 01 37 2D 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 D2 49 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9B 56 00 00 35 04 06 00 49 3E FE 22 01 E0 99 A5 FA 69 57 8C 68 67 [07:59:14]CheckFolder [07:59:14]dirname=/storage/ofd_packets [07:59:14]CheckFolder done [07:59:14]ProducePacketName [07:59:14]name=ofd_packets/00022171 [07:59:14]NVStorageSaveData ofd_packets/00022171 [07:59:14]File name is /storage/ofd_packets/00022171 [07:59:14]Write 324 bytes [07:59:14]NVStorageSaveData done [07:59:14]OFDSenderStorePacket done [07:59:14]KKMCreateOFDPacket done [07:59:14]NVStorageSaveData kkm_last_timestamp [07:59:14]File name is /storage/kkm_last_timestamp [07:59:14]Write 4 bytes [07:59:14]NVStorageSaveData done [07:59:14]ExternCall_PrintAddStr [07:59:14]wPrintStart [07:59:14]Write to MH i2c: 01 00 00 94 04 98 [07:59:14]Write i2c OK [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: 01 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: 01 07 00 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: 01 07 00 94 04 00 00 00 00 00 FF 0F AD [07:59:14]RasterBufferAndPrint [07:59:14]line Счет N : (3)254393 [07:59:14]line ИНН: 02508201610067 [07:59:14]line Контрольно-Кассовый Чек [07:59:14]line ПРОДАЖА [07:59:14]line Товар: 50173822 [07:59:14]line Р/ж Orbit б/сах мята 13,6г [07:59:14]line 1.000 * 45.00 [07:59:14]line = 45.00 [07:59:14]line НДС 12% НСП 1% [07:59:14]line > о реализуемом товаре [07:59:14]line ИТОГО: 45.00 [07:59:14]line НСП 1% : 0.40 [07:59:14]line НДС 12% : 4.78 [07:59:14]line Наличными: 45.00 [07:59:14]line Безнал.: 0.00 [07:59:14]line Место: АЗС № 76 "Партнер Нефть" [07:59:14]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [07:59:14]line СНО: Общий режим [07:59:14]line Чек 16 15.06.2024 07:59 [07:59:14]line Смена: 326 ФФД: 1.0 [07:59:14]line ЗНМ: 0300000200 [07:59:14]line РНМ: 0000000000099755 [07:59:14]line Версия ККМ: 001 [07:59:14]line ФМ: 0000000000965344 [07:59:14]line ФД: 22171 [07:59:14]line ФПД: 80534900441568 [07:59:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T075914&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22171&fm=80534900441568&tin=02508201610067®Number=0000000000099755&sum=4500 [07:59:14]line 0 [07:59:14]OFD Sender: Processing packet 22171 [packets to send 5, broken 4] [07:59:14]ProducePacketName [07:59:14]name=ofd_packets/00022171 [07:59:14]OFD Sender: To server: pG, [07:59:14]CommunicateWithHost lk.salyk.kg:30040 [07:59:14]ConnectInit lk.salyk.kg [07:59:14]written 0, free lines is 4095 [07:59:14]Connected sock=10 [07:59:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 26 01 00 00 CA A8 1E 01 37 2D 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 D2 49 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9B 56 00 00 35 04 06 00 49 3E FE 22 01 E0 99 A5 FA 69 57 8C 68 67 [07:59:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 BF 2A 47 00 13 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9B 56 00 00 F4 03 04 00 90 F2 6C 66 B6 04 01 00 00 E8 98 3E 39 80 3B A4 87 [07:59:14]CommunicateWithHost err = 0 [07:59:14]CheckOFDResponse [07:59:14]1017 (14) - 77093643461234 [07:59:14]1041 (16) - 0000000000965344 [07:59:14]1040 (4) - 22171 [07:59:14]1012 (4) - 15.06.2024 01:46 [07:59:14]1206 (1) - 0 [07:59:14]OFD Sender: Remove packet 22171 [07:59:14]ProducePacketName [07:59:14]name=ofd_packets/00022171 [07:59:14]NVStorageDeleteData [07:59:15]Write to MH i2c: 01 00 00 BC 04 C0 [07:59:15]Write i2c OK [07:59:15]MH_I2C_Read... [07:59:15]Read from MH i2c: 01 [07:59:15]MH_I2C_Read... [07:59:15]Read from MH i2c: 01 07 00 [07:59:15]MH_I2C_Read... [07:59:15]Read from MH i2c: 01 07 00 BC 04 00 00 00 00 00 19 0D ED [07:59:15]RasterBufferAndPrint [07:59:15]line [07:59:15]line [07:59:15]line [07:59:15]line [07:59:15]line [07:59:15]written 0, free lines is 3359 [07:59:15]MH_Cut [07:59:15]Write to MH i2c: D1 01 00 C3 04 01 99 [07:59:15]Write i2c OK [07:59:15]MH_I2C_Read... [07:59:15]Read from MH i2c: D1 [07:59:15]MH_I2C_Read... [07:59:15]Read from MH i2c: D1 01 00 [07:59:15]MH_I2C_Read... [07:59:15]Read from MH i2c: D1 01 00 C3 04 00 98 [07:59:15]Write to MH i2c: 01 00 00 C4 04 C8 [07:59:15]Write i2c OK [07:59:15]MH_I2C_Read... [07:59:15]OFD Sender: No OFD packet to send [07:59:15]*** Cut start [07:59:15]*** Partial cut [07:59:15]*** CUTSNS_PIN = 1 [07:59:15]*** CUTSNS_PIN = 0 [07:59:16]*** Brake cut motor [07:59:16]Read from MH i2c: 01 [07:59:16]MH_I2C_Read... [07:59:16]*** Stop cut motor [07:59:16]*** Cut end [07:59:16]Read from MH i2c: 01 07 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: 01 07 00 C4 04 00 00 00 00 00 FF 0F DD [07:59:16]process_action close_receipt done [07:59:16]requested_data is exist [07:59:16]produce_requested_data [07:59:16]requested_item fm.sn is exist - process it [07:59:16]wFMCommunicate request_size=4 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 11 00 00 [07:59:16]Write to MH i2c: E2 08 00 C5 04 80 11 00 00 00 00 00 00 43 [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 17 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 17 00 C5 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 95 [07:59:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [07:59:16]wFMCommunicate OK [07:59:16]requested_item fd.num is exist - process it [07:59:16]SAM_PROTO_GetFieldsCounters [07:59:16]wFMCommunicate request_size=4 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 13 00 00 [07:59:16]Write to MH i2c: E2 08 00 C6 04 80 13 00 00 00 00 00 00 46 [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 62 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 62 00 C6 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9B 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 D8 [07:59:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9B 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:59:16]wFMCommunicate OK [07:59:16]SAM_PROTO_GetFieldsCounters done [07:59:16]requested_item shift.num is exist - process it [07:59:16]requested_item shift.opened is exist - process it [07:59:16]req_shift_opened [07:59:16]FM_GetShiftState [07:59:16]SAM_PROTO_GetShiftState [07:59:16]wFMCommunicate request_size=4 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 13 01 00 [07:59:16]Write to MH i2c: E2 08 00 C7 04 80 13 01 00 00 00 00 00 48 [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 0E 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 0E 00 C7 04 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 1C [07:59:16]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [07:59:16]wFMCommunicate OK [07:59:16]SAM_PROTO_GetShiftState done [07:59:16]FM_GetShiftState done [07:59:16]req_shift_opened done [07:59:16]requested_item shift.open_date is exist - process it [07:59:16]req_shift_open_date [07:59:16]req_shift_open_date done [07:59:16]produce_requested_data done [07:59:16]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22171,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [07:59:16]process_action_free close_receipt [07:59:16]json_value_free [07:59:16]json_value_free done [07:59:16]process_json_proto returns [07:59:16]Send response to host [07:59:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22171,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [07:59:16]free response buf [07:59:16]execute_script done [07:59:16]execute_script returns [07:59:16]free content buf [07:59:16]Sock 8.Close socket [07:59:16]Sock 8.Thread stoped [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:26]accept exits with 9 [08:02:26]New connection [08:02:26]New thread 3066838372 created [08:02:26]Thread 3066695012 joined [08:02:26]Waiting for new connection... [08:02:26] Sock 9.Parse request [08:02:26]Sock 9.Check first char [08:02:26]Sock 9.First char is OK [08:02:26]request: POST /json_proto HTTP/1.0 [08:02:26]Method: POST [08:02:26]URL: /json_proto [08:02:26]Method is POST - this is cgi request [08:02:26]url: /json_proto [08:02:26]query_string will be loaded in cgi processing [08:02:26]execute_cgi json_proto POST (null) [08:02:26]execute_cgi path=json_proto method=POST [08:02:26]POST find Content-Length [08:02:26]Host: 172.17.35.133:8080 [08:02:26]Content-Length: 632 [08:02:26]Content-Type: application/json [08:02:26] [08:02:26]POST finish read [08:02:26]Found Content-Length = 632 [08:02:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254394", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:02:26]execute_script... [08:02:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254394", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:02:26]POST & json_proto [08:02:26]process_json_proto [08:02:26]json parsed OK: [08:02:26]protocol is kg_v1.0 [08:02:26]action value=close_receipt [08:02:26]process_action close_receipt [08:02:26]cmd_close_receipt [08:02:26]MH_GetDate [08:02:26]Write to MH i2c: F0 00 00 C8 04 BB [08:02:26]Write i2c OK [08:02:26]MH_I2C_Read... [08:02:26]Read from MH i2c: F0 [08:02:26]MH_I2C_Read... [08:02:26]Read from MH i2c: F0 09 00 [08:02:26]MH_I2C_Read... [08:02:26]Read from MH i2c: F0 09 00 C8 04 00 94 4A 6D 66 8C 55 28 65 E3 [08:02:26]GetLastDocTimeStamp 1718438354 [08:02:26]current date 1718438548 [08:02:26]FM_GetShiftState [08:02:26]SAM_PROTO_GetShiftState [08:02:26]wFMCommunicate request_size=4 [08:02:26]MH_SAM_APDU [08:02:26]CAPDU: 80 13 01 00 [08:02:26]Write to MH i2c: E2 08 00 C9 04 80 13 01 00 00 00 00 00 4A [08:02:26]Write i2c OK [08:02:26]MH_I2C_Read... [08:02:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:02:26]Read from MH i2c: E2 [08:02:26]MH_I2C_Read... [08:02:26]Read from MH i2c: E2 0E 00 [08:02:26]MH_I2C_Read... [08:02:26]Read from MH i2c: E2 0E 00 C9 04 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 1E [08:02:26]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:02:26]wFMCommunicate OK [08:02:26]SAM_PROTO_GetShiftState done [08:02:26]FM_GetShiftState done [08:02:26]opened in 1718410776 [08:02:26]opened+sec_in_day 1718497176 [08:02:26]quantity*price = 4000 [08:02:26]sum+1 = 4001 [08:02:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 17 15.06.2024 08:02 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22172 ФПД: 62672206309161 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T080228&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22172&fm=62672206309161&tin=02508201610067®Number=0000000000099755&sum=4000 0 [08:02:27]StoreToDocumentArchive [08:02:27]shift 326 fd 22172 [08:02:27]save to /storage/0326/doc_00022172 [08:02:27]save last doc name /storage/0326/doc_00022172 to /storage/kkm_last_doc_name [08:02:27]save OK [08:02:27]Clear old archive folders... [08:02:27]ProcessDocumentItem done err = 0, tmpTLVsize=271 [08:02:27]tlvbuf is 001A9E90 [08:02:27]SAM_PROTO_ClearQueue [08:02:27]wFMCommunicate request_size=4 [08:02:27]MH_SAM_APDU [08:02:27]CAPDU: 80 09 00 00 [08:02:27]Write to MH i2c: E2 08 00 D6 04 80 09 00 00 00 00 00 00 4C [08:02:27]Write i2c OK [08:02:27]MH_I2C_Read... [08:02:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:02:27]Read from MH i2c: E2 [08:02:27]MH_I2C_Read... [08:02:27]Read from MH i2c: E2 03 00 [08:02:27]MH_I2C_Read... [08:02:27]Read from MH i2c: E2 03 00 D6 04 00 90 00 4E [08:02:27]RAPDU: 90 00 [08:02:27]wFMCommunicate OK [08:02:27]SAM_PROTO_ClearQueue done [08:02:27]KKMCreateOFDPacket [08:02:27]OFDProtocolAddRootSTLVToBuf [08:02:27]FM_MakeSignedData [08:02:27]FM_MakeSignedData [08:02:27]SAM_PROTO_SignData [08:02:27]wFMCommunicate request_size=4 [08:02:27]MH_SAM_APDU [08:02:27]CAPDU: 80 0D 01 02 [08:02:27]Write to MH i2c: E2 08 00 D7 04 80 0D 01 02 00 00 00 00 54 [08:02:27]Write i2c OK [08:02:27]MH_I2C_Read... [08:02:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:02:27]Read from MH i2c: E2 [08:02:27]MH_I2C_Read... [08:02:27]Read from MH i2c: E2 03 00 [08:02:27]MH_I2C_Read... [08:02:27]Read from MH i2c: E2 03 00 D7 04 00 90 00 4F [08:02:27]RAPDU: 90 00 [08:02:27]wFMCommunicate OK [08:02:27]wFMCommunicate request_size=255 [08:02:27]MH_SAM_APDU [08:02:27]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 94 4A 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 [08:02:27]Write to MH i2c: E2 02 01 D8 04 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 94 4A 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 4C [08:02:27]Write i2c OK [08:02:27]MH_I2C_Read... [08:02:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:02:28]Read from MH i2c: E2 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: E2 03 00 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: E2 03 00 D8 04 00 90 00 50 [08:02:28]RAPDU: 90 00 [08:02:28]wFMCommunicate OK [08:02:28]wFMCommunicate request_size=30 [08:02:28]MH_SAM_APDU [08:02:28]CAPDU: 80 0D 02 02 19 30 39 36 35 33 34 34 10 04 04 00 9C 56 00 00 35 04 06 00 39 00 02 98 27 29 [08:02:28]Write to MH i2c: E2 21 00 D9 04 80 0D 02 02 19 00 30 39 36 35 33 34 34 10 04 04 00 9C 56 00 00 35 04 06 00 39 00 02 98 27 29 00 00 64 [08:02:28]Write i2c OK [08:02:28]MH_I2C_Read... [08:02:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:02:28]Read from MH i2c: E2 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: E2 03 00 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: E2 03 00 D9 04 00 90 00 51 [08:02:28]RAPDU: 90 00 [08:02:28]wFMCommunicate OK [08:02:28]wFMCommunicate request_size=4 [08:02:28]MH_SAM_APDU [08:02:28]CAPDU: 80 0D 03 02 [08:02:28]Write to MH i2c: E2 08 00 DA 04 80 0D 03 02 00 00 00 00 59 [08:02:28]Write i2c OK [08:02:28]MH_I2C_Read... [08:02:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:02:28]Read from MH i2c: E2 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: E2 0B 00 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: E2 0B 00 DA 04 00 E6 DC 8D 32 7D 34 9B 49 90 00 70 [08:02:28]RAPDU: E6 DC 8D 32 7D 34 9B 49 90 00 [08:02:28]wFMCommunicate OK [08:02:28]SAM_PROTO_SignData done [08:02:28]FM_MakeSignedData done [08:02:28]CreateOFDProtocolMessage [08:02:28]wFMCommunicate request_size=4 [08:02:28]MH_SAM_APDU [08:02:28]CAPDU: 80 11 00 00 [08:02:28]Write to MH i2c: E2 08 00 DB 04 80 11 00 00 00 00 00 00 59 [08:02:28]Write i2c OK [08:02:28]MH_I2C_Read... [08:02:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:02:28]Read from MH i2c: E2 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: E2 17 00 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: E2 17 00 DB 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AB [08:02:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:02:28]wFMCommunicate OK [08:02:28]CreateOFDProtocolMessage done [08:02:28]OFDSenderStorePacket 22172 [08:02:28]StoreOFDPacket docnum=22172 [08:02:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 23 01 00 00 89 A5 1B 01 65 64 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 94 4A 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9C 56 00 00 35 04 06 00 39 00 02 98 27 29 E6 DC 8D 32 7D 34 9B 49 [08:02:28]CheckFolder [08:02:28]dirname=/storage/ofd_packets [08:02:28]CheckFolder done [08:02:28]ProducePacketName [08:02:28]name=ofd_packets/00022172 [08:02:28]NVStorageSaveData ofd_packets/00022172 [08:02:28]File name is /storage/ofd_packets/00022172 [08:02:28]Write 321 bytes [08:02:28]NVStorageSaveData done [08:02:28]OFDSenderStorePacket done [08:02:28]KKMCreateOFDPacket done [08:02:28]NVStorageSaveData kkm_last_timestamp [08:02:28]File name is /storage/kkm_last_timestamp [08:02:28]Write 4 bytes [08:02:28]NVStorageSaveData done [08:02:28]ExternCall_PrintAddStr [08:02:28]wPrintStart [08:02:28]Write to MH i2c: 01 00 00 DC 04 E0 [08:02:28]Write i2c OK [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: 01 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: 01 07 00 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: 01 07 00 DC 04 00 00 00 00 00 FF 0F F5 [08:02:28]RasterBufferAndPrint [08:02:28]line Счет N : (3)254394 [08:02:28]line ИНН: 02508201610067 [08:02:28]line Контрольно-Кассовый Чек [08:02:28]line ПРОДАЖА [08:02:28]line Товар: 4700000160211 [08:02:28]line Вода Легенда 0,5л [08:02:28]line 1.000 * 40.00 [08:02:28]line = 40.00 [08:02:28]line НДС 12% НСП 1% [08:02:28]line > о реализуемом товаре [08:02:28]line ИТОГО: 40.00 [08:02:28]line НСП 1% : 0.35 [08:02:28]line НДС 12% : 4.25 [08:02:28]line Наличными: 40.00 [08:02:28]line Безнал.: 0.00 [08:02:28]line Место: АЗС № 76 "Партнер Нефть" [08:02:28]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:02:28]line СНО: Общий режим [08:02:28]line Чек 17 15.06.2024 08:02 [08:02:28]line Смена: 326 ФФД: 1.0 [08:02:28]line ЗНМ: 0300000200 [08:02:28]line РНМ: 0000000000099755 [08:02:28]line Версия ККМ: 001 [08:02:28]line ФМ: 0000000000965344 [08:02:28]line ФД: 22172 [08:02:28]line ФПД: 62672206309161 [08:02:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T080228&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22172&fm=62672206309161&tin=02508201610067®Number=0000000000099755&sum=4000 [08:02:28]line 0 [08:02:28]OFD Sender: Processing packet 22172 [packets to send 5, broken 4] [08:02:28]ProducePacketName [08:02:28]name=ofd_packets/00022172 [08:02:28]OFD Sender: To server: pG, [08:02:28]CommunicateWithHost lk.salyk.kg:30040 [08:02:28]ConnectInit lk.salyk.kg [08:02:28]written 0, free lines is 4095 [08:02:28]Connected sock=10 [08:02:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 23 01 00 00 89 A5 1B 01 65 64 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 94 4A 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9C 56 00 00 35 04 06 00 39 00 02 98 27 29 E6 DC 8D 32 7D 34 9B 49 [08:02:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 BC 6E 47 00 68 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9C 56 00 00 F4 03 04 00 52 F3 6C 66 B6 04 01 00 00 66 DA 1F FF E7 6F DD 0F [08:02:28]CommunicateWithHost err = 0 [08:02:28]CheckOFDResponse [08:02:28]1017 (14) - 77093643461234 [08:02:28]1041 (16) - 0000000000965344 [08:02:28]1040 (4) - 22172 [08:02:28]1012 (4) - 15.06.2024 01:50 [08:02:28]1206 (1) - 0 [08:02:28]OFD Sender: Remove packet 22172 [08:02:28]ProducePacketName [08:02:28]name=ofd_packets/00022172 [08:02:28]NVStorageDeleteData [08:02:28]Write to MH i2c: 01 00 00 04 05 09 [08:02:28]Write i2c OK [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: 01 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: 01 07 00 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: 01 07 00 04 05 00 00 00 00 00 20 0D 3D [08:02:28]RasterBufferAndPrint [08:02:28]line [08:02:28]line [08:02:28]line [08:02:28]line [08:02:28]line [08:02:28]written 0, free lines is 3366 [08:02:28]MH_Cut [08:02:28]Write to MH i2c: D1 01 00 0B 05 01 E2 [08:02:28]Write i2c OK [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: D1 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: D1 01 00 [08:02:28]MH_I2C_Read... [08:02:28]Read from MH i2c: D1 01 00 0B 05 00 E1 [08:02:28]Write to MH i2c: 01 00 00 0C 05 11 [08:02:28]Write i2c OK [08:02:28]MH_I2C_Read... [08:02:29]OFD Sender: No OFD packet to send [08:02:29]*** Cut start [08:02:29]*** Partial cut [08:02:29]*** CUTSNS_PIN = 1 [08:02:29]*** CUTSNS_PIN = 0 [08:02:29]*** Brake cut motor [08:02:30]Read from MH i2c: 01 [08:02:30]*** Stop cut motor [08:02:30]*** Cut end [08:02:30]MH_I2C_Read... [08:02:30]Read from MH i2c: 01 07 00 [08:02:30]MH_I2C_Read... [08:02:30]Read from MH i2c: 01 07 00 0C 05 00 00 00 00 00 FF 0F 26 [08:02:30]process_action close_receipt done [08:02:30]requested_data is exist [08:02:30]produce_requested_data [08:02:30]requested_item fm.sn is exist - process it [08:02:30]wFMCommunicate request_size=4 [08:02:30]MH_SAM_APDU [08:02:30]CAPDU: 80 11 00 00 [08:02:30]Write to MH i2c: E2 08 00 0D 05 80 11 00 00 00 00 00 00 8C [08:02:30]Write i2c OK [08:02:30]MH_I2C_Read... [08:02:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:02:30]Read from MH i2c: E2 [08:02:30]MH_I2C_Read... [08:02:30]Read from MH i2c: E2 17 00 [08:02:30]MH_I2C_Read... [08:02:30]Read from MH i2c: E2 17 00 0D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 DE [08:02:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:02:30]wFMCommunicate OK [08:02:30]requested_item fd.num is exist - process it [08:02:30]SAM_PROTO_GetFieldsCounters [08:02:30]wFMCommunicate request_size=4 [08:02:30]MH_SAM_APDU [08:02:30]CAPDU: 80 13 00 00 [08:02:30]Write to MH i2c: E2 08 00 0E 05 80 13 00 00 00 00 00 00 8F [08:02:30]Write i2c OK [08:02:30]MH_I2C_Read... [08:02:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:02:30]Read from MH i2c: E2 [08:02:30]MH_I2C_Read... [08:02:30]Read from MH i2c: E2 62 00 [08:02:30]MH_I2C_Read... [08:02:30]Read from MH i2c: E2 62 00 0E 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9C 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 25 [08:02:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9C 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:02:30]wFMCommunicate OK [08:02:30]SAM_PROTO_GetFieldsCounters done [08:02:30]requested_item shift.num is exist - process it [08:02:30]requested_item shift.opened is exist - process it [08:02:30]req_shift_opened [08:02:30]FM_GetShiftState [08:02:30]SAM_PROTO_GetShiftState [08:02:30]wFMCommunicate request_size=4 [08:02:30]MH_SAM_APDU [08:02:30]CAPDU: 80 13 01 00 [08:02:30]Write to MH i2c: E2 08 00 0F 05 80 13 01 00 00 00 00 00 91 [08:02:30]Write i2c OK [08:02:30]MH_I2C_Read... [08:02:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:02:30]Read from MH i2c: E2 [08:02:30]MH_I2C_Read... [08:02:30]Read from MH i2c: E2 0E 00 [08:02:30]MH_I2C_Read... [08:02:30]Read from MH i2c: E2 0E 00 0F 05 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 65 [08:02:30]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:02:30]wFMCommunicate OK [08:02:30]SAM_PROTO_GetShiftState done [08:02:30]FM_GetShiftState done [08:02:30]req_shift_opened done [08:02:30]requested_item shift.open_date is exist - process it [08:02:30]req_shift_open_date [08:02:30]req_shift_open_date done [08:02:30]produce_requested_data done [08:02:30]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22172,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [08:02:30]process_action_free close_receipt [08:02:30]json_value_free [08:02:30]json_value_free done [08:02:30]process_json_proto returns [08:02:30]Send response to host [08:02:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22172,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [08:02:30]free response buf [08:02:30]execute_script done [08:02:30]execute_script returns [08:02:30]free content buf [08:02:30]Sock 9.Close socket [08:02:30]Sock 9.Thread stoped [08:02:34]OFD Sender: No OFD packet to send [08:02:39]OFD Sender: No OFD packet to send [08:02:44]OFD Sender: No OFD packet to send [08:02:49]OFD Sender: No OFD packet to send [08:02:54]OFD Sender: No OFD packet to send [08:02:59]OFD Sender: No OFD packet to send [08:03:04]OFD Sender: No OFD packet to send [08:03:09]OFD Sender: No OFD packet to send [08:03:14]OFD Sender: No OFD packet to send [08:03:19]OFD Sender: No OFD packet to send [08:03:24]OFD Sender: No OFD packet to send [08:03:29]OFD Sender: No OFD packet to send [08:03:34]OFD Sender: No OFD packet to send [08:03:39]OFD Sender: No OFD packet to send [08:03:44]OFD Sender: No OFD packet to send [08:03:49]OFD Sender: No OFD packet to send [08:03:54]OFD Sender: No OFD packet to send [08:03:59]OFD Sender: No OFD packet to send [08:04:04]OFD Sender: No OFD packet to send [08:04:09]OFD Sender: No OFD packet to send [08:04:14]OFD Sender: No OFD packet to send [08:04:19]OFD Sender: No OFD packet to send [08:04:24]OFD Sender: No OFD packet to send [08:04:29]OFD Sender: No OFD packet to send [08:04:34]OFD Sender: No OFD packet to send [08:04:39]OFD Sender: No OFD packet to send [08:04:44]OFD Sender: No OFD packet to send [08:04:49]OFD Sender: No OFD packet to send [08:04:54]OFD Sender: No OFD packet to send [08:04:59]OFD Sender: No OFD packet to send [08:05:04]OFD Sender: No OFD packet to send [08:05:09]OFD Sender: No OFD packet to send [08:05:14]OFD Sender: No OFD packet to send [08:05:19]OFD Sender: No OFD packet to send [08:05:24]OFD Sender: No OFD packet to send [08:05:29]OFD Sender: No OFD packet to send [08:05:34]OFD Sender: No OFD packet to send [08:05:39]OFD Sender: No OFD packet to send [08:05:44]OFD Sender: No OFD packet to send [08:05:49]OFD Sender: No OFD packet to send [08:05:54]OFD Sender: No OFD packet to send [08:05:59]OFD Sender: No OFD packet to send [08:06:04]OFD Sender: No OFD packet to send [08:06:09]OFD Sender: No OFD packet to send [08:06:14]OFD Sender: No OFD packet to send [08:06:19]OFD Sender: No OFD packet to send [08:06:24]OFD Sender: No OFD packet to send [08:06:29]OFD Sender: No OFD packet to send [08:06:34]OFD Sender: No OFD packet to send [08:06:39]OFD Sender: No OFD packet to send [08:06:44]OFD Sender: No OFD packet to send [08:06:49]OFD Sender: No OFD packet to send [08:06:54]OFD Sender: No OFD packet to send [08:06:59]OFD Sender: No OFD packet to send [08:07:04]OFD Sender: No OFD packet to send [08:07:09]OFD Sender: No OFD packet to send [08:07:14]OFD Sender: No OFD packet to send [08:07:19]OFD Sender: No OFD packet to send [08:07:24]OFD Sender: No OFD packet to send [08:07:29]OFD Sender: No OFD packet to send [08:07:34]OFD Sender: No OFD packet to send [08:07:39]OFD Sender: No OFD packet to send [08:07:44]OFD Sender: No OFD packet to send [08:07:49]OFD Sender: No OFD packet to send [08:07:54]OFD Sender: No OFD packet to send [08:07:59]OFD Sender: No OFD packet to send [08:08:04]OFD Sender: No OFD packet to send [08:08:09]OFD Sender: No OFD packet to send [08:08:14]OFD Sender: No OFD packet to send [08:08:19]OFD Sender: No OFD packet to send [08:08:23]accept exits with 8 [08:08:23]New connection [08:08:23]New thread 3066695012 created [08:08:23]Thread 3066838372 joined [08:08:23]Waiting for new connection... [08:08:23] Sock 8.Parse request [08:08:23]Sock 8.Check first char [08:08:23]Sock 8.First char is OK [08:08:23]request: POST /json_proto HTTP/1.0 [08:08:23]Method: POST [08:08:23]URL: /json_proto [08:08:23]Method is POST - this is cgi request [08:08:23]url: /json_proto [08:08:23]query_string will be loaded in cgi processing [08:08:23]execute_cgi json_proto POST (null) [08:08:23]execute_cgi path=json_proto method=POST [08:08:23]POST find Content-Length [08:08:23]Host: 172.17.35.133:8080 [08:08:23]Content-Length: 655 [08:08:23]Content-Type: application/json [08:08:23] [08:08:23]POST finish read [08:08:23]Found Content-Length = 655 [08:08:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254395", "tax_sys" : 0, "items" : [ { "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:08:23]execute_script... [08:08:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254395", "tax_sys" : 0, "items" : [ { "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:08:23]POST & json_proto [08:08:23]process_json_proto [08:08:23]json parsed OK: [08:08:23]protocol is kg_v1.0 [08:08:23]action value=close_receipt [08:08:23]process_action close_receipt [08:08:23]cmd_close_receipt [08:08:23]MH_GetDate [08:08:23]Write to MH i2c: F0 00 00 10 05 04 [08:08:23]Write i2c OK [08:08:23]MH_I2C_Read... [08:08:23]Read from MH i2c: F0 [08:08:23]MH_I2C_Read... [08:08:23]Read from MH i2c: F0 09 00 [08:08:23]MH_I2C_Read... [08:08:23]Read from MH i2c: F0 09 00 10 05 00 F9 4B 6D 66 8C 55 28 65 92 [08:08:23]GetLastDocTimeStamp 1718438548 [08:08:23]current date 1718438905 [08:08:23]FM_GetShiftState [08:08:23]SAM_PROTO_GetShiftState [08:08:23]wFMCommunicate request_size=4 [08:08:23]MH_SAM_APDU [08:08:23]CAPDU: 80 13 01 00 [08:08:23]Write to MH i2c: E2 08 00 11 05 80 13 01 00 00 00 00 00 93 [08:08:23]Write i2c OK [08:08:23]MH_I2C_Read... [08:08:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:08:23]Read from MH i2c: E2 [08:08:23]MH_I2C_Read... [08:08:23]Read from MH i2c: E2 0E 00 [08:08:23]MH_I2C_Read... [08:08:23]Read from MH i2c: E2 0E 00 11 05 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 67 [08:08:23]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:08:23]wFMCommunicate OK [08:08:23]SAM_PROTO_GetShiftState done [08:08:23]FM_GetShiftState done [08:08:23]opened in 1718410776 [08:08:23]opened+sec_in_day 1718497176 [08:08:23]quantity*price = 26000 [08:08:23]sum+1 = 26001 [08:08:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 18 15.06.2024 08:08 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22173 ФПД: 252193144314749 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T080825&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22173&fm=252193144314749&tin=02508201610067®Number=0000000000099755&sum=26000 0 [08:08:24]StoreToDocumentArchive [08:08:24]shift 326 fd 22173 [08:08:24]save to /storage/0326/doc_00022173 [08:08:24]save last doc name /storage/0326/doc_00022173 to /storage/kkm_last_doc_name [08:08:24]save OK [08:08:24]Clear old archive folders... [08:08:24]ProcessDocumentItem done err = 0, tmpTLVsize=279 [08:08:24]tlvbuf is 001AB700 [08:08:24]SAM_PROTO_ClearQueue [08:08:24]wFMCommunicate request_size=4 [08:08:24]MH_SAM_APDU [08:08:24]CAPDU: 80 09 00 00 [08:08:24]Write to MH i2c: E2 08 00 1E 05 80 09 00 00 00 00 00 00 95 [08:08:24]Write i2c OK [08:08:24]MH_I2C_Read... [08:08:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:08:24]Read from MH i2c: E2 [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: E2 03 00 [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: E2 03 00 1E 05 00 90 00 97 [08:08:24]RAPDU: 90 00 [08:08:24]wFMCommunicate OK [08:08:24]SAM_PROTO_ClearQueue done [08:08:24]KKMCreateOFDPacket [08:08:24]OFDProtocolAddRootSTLVToBuf [08:08:24]FM_MakeSignedData [08:08:24]FM_MakeSignedData [08:08:24]SAM_PROTO_SignData [08:08:24]wFMCommunicate request_size=4 [08:08:24]MH_SAM_APDU [08:08:24]CAPDU: 80 0D 01 02 [08:08:24]Write to MH i2c: E2 08 00 1F 05 80 0D 01 02 00 00 00 00 9D [08:08:24]Write i2c OK [08:08:24]MH_I2C_Read... [08:08:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:08:24]Read from MH i2c: E2 [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: E2 03 00 [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: E2 03 00 1F 05 00 90 00 98 [08:08:24]RAPDU: 90 00 [08:08:24]wFMCommunicate OK [08:08:24]wFMCommunicate request_size=255 [08:08:24]MH_SAM_APDU [08:08:24]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 F9 4B 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 [08:08:24]Write to MH i2c: E2 02 01 20 05 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 F9 4B 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 00 00 11 [08:08:24]Write i2c OK [08:08:24]MH_I2C_Read... [08:08:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:08:25]Read from MH i2c: E2 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: E2 03 00 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: E2 03 00 20 05 00 90 00 99 [08:08:25]RAPDU: 90 00 [08:08:25]wFMCommunicate OK [08:08:25]wFMCommunicate request_size=38 [08:08:25]MH_SAM_APDU [08:08:25]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9D 56 00 00 35 04 06 00 E5 5E 4A C8 1B 7D [08:08:25]Write to MH i2c: E2 29 00 21 05 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9D 56 00 00 35 04 06 00 E5 5E 4A C8 1B 7D 00 00 08 [08:08:25]Write i2c OK [08:08:25]MH_I2C_Read... [08:08:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:08:25]Read from MH i2c: E2 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: E2 03 00 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: E2 03 00 21 05 00 90 00 9A [08:08:25]RAPDU: 90 00 [08:08:25]wFMCommunicate OK [08:08:25]wFMCommunicate request_size=4 [08:08:25]MH_SAM_APDU [08:08:25]CAPDU: 80 0D 03 02 [08:08:25]Write to MH i2c: E2 08 00 22 05 80 0D 03 02 00 00 00 00 A2 [08:08:25]Write i2c OK [08:08:25]MH_I2C_Read... [08:08:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:08:25]Read from MH i2c: E2 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: E2 0B 00 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: E2 0B 00 22 05 00 8F 9E 16 63 1D 6A CE 44 90 00 E2 [08:08:25]RAPDU: 8F 9E 16 63 1D 6A CE 44 90 00 [08:08:25]wFMCommunicate OK [08:08:25]SAM_PROTO_SignData done [08:08:25]FM_MakeSignedData done [08:08:25]CreateOFDProtocolMessage [08:08:25]wFMCommunicate request_size=4 [08:08:25]MH_SAM_APDU [08:08:25]CAPDU: 80 11 00 00 [08:08:25]Write to MH i2c: E2 08 00 23 05 80 11 00 00 00 00 00 00 A2 [08:08:25]Write i2c OK [08:08:25]MH_I2C_Read... [08:08:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:08:25]Read from MH i2c: E2 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: E2 17 00 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: E2 17 00 23 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F4 [08:08:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:08:25]wFMCommunicate OK [08:08:25]CreateOFDProtocolMessage done [08:08:25]OFDSenderStorePacket 22173 [08:08:25]StoreOFDPacket docnum=22173 [08:08:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2B 01 00 00 9D 98 23 01 D2 7B 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 F9 4B 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9D 56 00 00 35 04 06 00 E5 5E 4A C8 1B 7D 8F 9E 16 63 1D 6A CE 44 [08:08:25]CheckFolder [08:08:25]dirname=/storage/ofd_packets [08:08:25]CheckFolder done [08:08:25]ProducePacketName [08:08:25]name=ofd_packets/00022173 [08:08:25]NVStorageSaveData ofd_packets/00022173 [08:08:25]File name is /storage/ofd_packets/00022173 [08:08:25]Write 329 bytes [08:08:25]NVStorageSaveData done [08:08:25]OFDSenderStorePacket done [08:08:25]KKMCreateOFDPacket done [08:08:25]NVStorageSaveData kkm_last_timestamp [08:08:25]File name is /storage/kkm_last_timestamp [08:08:25]Write 4 bytes [08:08:25]NVStorageSaveData done [08:08:25]ExternCall_PrintAddStr [08:08:25]wPrintStart [08:08:25]Write to MH i2c: 01 00 00 24 05 29 [08:08:25]Write i2c OK [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: 01 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: 01 07 00 [08:08:25]MH_I2C_Read... [08:08:25]Read from MH i2c: 01 07 00 24 05 00 00 00 00 00 FF 0F 3E [08:08:25]RasterBufferAndPrint [08:08:25]line Счет N : (3)254395 [08:08:25]line ИНН: 02508201610067 [08:08:25]line Контрольно-Кассовый Чек [08:08:25]line ПРОДАЖА [08:08:25]line Товар: 4700002083914 [08:08:25]line Водка Сары челек 0,35л [08:08:25]line 1.000 * 260.00 [08:08:25]line = 260.00 [08:08:25]line НДС 12% НСП 1% [08:08:25]line > о реализуемом товаре [08:08:25]line ИТОГО: 260.00 [08:08:25]line НСП 1% : 2.30 [08:08:25]line НДС 12% : 27.61 [08:08:25]line Наличными: 260.00 [08:08:25]line Безнал.: 0.00 [08:08:25]line Место: АЗС № 76 "Партнер Нефть" [08:08:25]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:08:25]line СНО: Общий режим [08:08:25]line Чек 18 15.06.2024 08:08 [08:08:25]line Смена: 326 ФФД: 1.0 [08:08:25]line ЗНМ: 0300000200 [08:08:25]line РНМ: 0000000000099755 [08:08:25]line Версия ККМ: 001 [08:08:25]line ФМ: 0000000000965344 [08:08:25]line ФД: 22173 [08:08:25]line ФПД: 252193144314749 [08:08:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T080825&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22173&fm=252193144314749&tin=02508201610067®Number=0000000000099755&sum=26000 [08:08:25]line 0 [08:08:25]OFD Sender: Processing packet 22173 [packets to send 5, broken 4] [08:08:25]ProducePacketName [08:08:25]name=ofd_packets/00022173 [08:08:25]OFD Sender: To server: pG, [08:08:25]CommunicateWithHost lk.salyk.kg:30040 [08:08:25]ConnectInit lk.salyk.kg [08:08:25]written 0, free lines is 4095 [08:08:25]Connected sock=10 [08:08:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2B 01 00 00 9D 98 23 01 D2 7B 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 F9 4B 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9D 56 00 00 35 04 06 00 E5 5E 4A C8 1B 7D 8F 9E 16 63 1D 6A CE 44 [08:08:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 52 0D 47 00 C0 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9D 56 00 00 F4 03 04 00 B7 F4 6C 66 B6 04 01 00 00 B7 9D 50 2B EB A4 FB BE [08:08:25]CommunicateWithHost err = 0 [08:08:25]CheckOFDResponse [08:08:25]1017 (14) - 77093643461234 [08:08:25]1041 (16) - 0000000000965344 [08:08:25]1040 (4) - 22173 [08:08:25]1012 (4) - 15.06.2024 01:56 [08:08:25]1206 (1) - 0 [08:08:25]OFD Sender: Remove packet 22173 [08:08:25]ProducePacketName [08:08:25]name=ofd_packets/00022173 [08:08:25]NVStorageDeleteData [08:08:26]Write to MH i2c: 01 00 00 4C 05 51 [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: 01 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: 01 07 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: 01 07 00 4C 05 00 00 00 00 00 1D 0D 82 [08:08:26]RasterBufferAndPrint [08:08:26]line [08:08:26]line [08:08:26]line [08:08:26]line [08:08:26]line [08:08:26]written 0, free lines is 3363 [08:08:26]MH_Cut [08:08:26]Write to MH i2c: D1 01 00 53 05 01 2A [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: D1 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: D1 01 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: D1 01 00 53 05 00 29 [08:08:26]Write to MH i2c: 01 00 00 54 05 59 [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]OFD Sender: No OFD packet to send [08:08:26]*** Cut start [08:08:26]*** Partial cut [08:08:26]*** CUTSNS_PIN = 1 [08:08:26]*** CUTSNS_PIN = 0 [08:08:27]*** Brake cut motor [08:08:27]Read from MH i2c: 01 [08:08:27]MH_I2C_Read... [08:08:27]*** Stop cut motor [08:08:27]*** Cut end [08:08:27]Read from MH i2c: 01 07 00 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: 01 07 00 54 05 00 00 00 00 00 FF 0F 6E [08:08:27]process_action close_receipt done [08:08:27]requested_data is exist [08:08:27]produce_requested_data [08:08:27]requested_item fm.sn is exist - process it [08:08:27]wFMCommunicate request_size=4 [08:08:27]MH_SAM_APDU [08:08:27]CAPDU: 80 11 00 00 [08:08:27]Write to MH i2c: E2 08 00 55 05 80 11 00 00 00 00 00 00 D4 [08:08:27]Write i2c OK [08:08:27]MH_I2C_Read... [08:08:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:08:27]Read from MH i2c: E2 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 17 00 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 17 00 55 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 26 [08:08:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:08:27]wFMCommunicate OK [08:08:27]requested_item fd.num is exist - process it [08:08:27]SAM_PROTO_GetFieldsCounters [08:08:27]wFMCommunicate request_size=4 [08:08:27]MH_SAM_APDU [08:08:27]CAPDU: 80 13 00 00 [08:08:27]Write to MH i2c: E2 08 00 56 05 80 13 00 00 00 00 00 00 D7 [08:08:27]Write i2c OK [08:08:27]MH_I2C_Read... [08:08:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:08:27]Read from MH i2c: E2 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 62 00 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 62 00 56 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9D 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 71 [08:08:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9D 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:08:27]wFMCommunicate OK [08:08:27]SAM_PROTO_GetFieldsCounters done [08:08:27]requested_item shift.num is exist - process it [08:08:27]requested_item shift.opened is exist - process it [08:08:27]req_shift_opened [08:08:27]FM_GetShiftState [08:08:27]SAM_PROTO_GetShiftState [08:08:27]wFMCommunicate request_size=4 [08:08:27]MH_SAM_APDU [08:08:27]CAPDU: 80 13 01 00 [08:08:27]Write to MH i2c: E2 08 00 57 05 80 13 01 00 00 00 00 00 D9 [08:08:27]Write i2c OK [08:08:27]MH_I2C_Read... [08:08:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:08:27]Read from MH i2c: E2 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 0E 00 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 0E 00 57 05 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 AD [08:08:27]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:08:27]wFMCommunicate OK [08:08:27]SAM_PROTO_GetShiftState done [08:08:27]FM_GetShiftState done [08:08:27]req_shift_opened done [08:08:27]requested_item shift.open_date is exist - process it [08:08:27]req_shift_open_date [08:08:27]req_shift_open_date done [08:08:27]produce_requested_data done [08:08:27]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22173,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [08:08:27]process_action_free close_receipt [08:08:27]json_value_free [08:08:27]json_value_free done [08:08:27]process_json_proto returns [08:08:27]Send response to host [08:08:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22173,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [08:08:27]free response buf [08:08:27]execute_script done [08:08:27]execute_script returns [08:08:27]free content buf [08:08:27]Sock 8.Close socket [08:08:27]Sock 8.Thread stoped [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:06]OFD Sender: No OFD packet to send [08:10:11]OFD Sender: No OFD packet to send [08:10:16]OFD Sender: No OFD packet to send [08:10:21]OFD Sender: No OFD packet to send [08:10:26]OFD Sender: No OFD packet to send [08:10:31]OFD Sender: No OFD packet to send [08:10:36]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:06]OFD Sender: No OFD packet to send [08:11:11]OFD Sender: No OFD packet to send [08:11:16]OFD Sender: No OFD packet to send [08:11:21]OFD Sender: No OFD packet to send [08:11:26]OFD Sender: No OFD packet to send [08:11:31]OFD Sender: No OFD packet to send [08:11:36]OFD Sender: No OFD packet to send [08:11:41]OFD Sender: No OFD packet to send [08:11:46]OFD Sender: No OFD packet to send [08:11:51]OFD Sender: No OFD packet to send [08:11:56]OFD Sender: No OFD packet to send [08:12:01]OFD Sender: No OFD packet to send [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:17]OFD Sender: No OFD packet to send [08:21:22]OFD Sender: No OFD packet to send [08:21:27]OFD Sender: No OFD packet to send [08:21:32]OFD Sender: No OFD packet to send [08:21:37]OFD Sender: No OFD packet to send [08:21:42]OFD Sender: No OFD packet to send [08:21:47]OFD Sender: No OFD packet to send [08:21:52]OFD Sender: No OFD packet to send [08:21:57]OFD Sender: No OFD packet to send [08:22:02]OFD Sender: No OFD packet to send [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [08:30:32]OFD Sender: No OFD packet to send [08:30:37]OFD Sender: No OFD packet to send [08:30:42]OFD Sender: No OFD packet to send [08:30:47]OFD Sender: No OFD packet to send [08:30:52]OFD Sender: No OFD packet to send [08:30:57]OFD Sender: No OFD packet to send [08:31:02]OFD Sender: No OFD packet to send [08:31:07]OFD Sender: No OFD packet to send [08:31:12]OFD Sender: No OFD packet to send [08:31:17]OFD Sender: No OFD packet to send [08:31:22]OFD Sender: No OFD packet to send [08:31:27]OFD Sender: No OFD packet to send [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:49]accept exits with 9 [08:32:49]New connection [08:32:49]New thread 3066838372 created [08:32:49]Thread 3066695012 joined [08:32:49]Waiting for new connection... [08:32:49] Sock 9.Parse request [08:32:49]Sock 9.Check first char [08:32:49]Sock 9.First char is OK [08:32:49]request: POST /json_proto HTTP/1.0 [08:32:49]Method: POST [08:32:49]URL: /json_proto [08:32:49]Method is POST - this is cgi request [08:32:49]url: /json_proto [08:32:49]query_string will be loaded in cgi processing [08:32:49]execute_cgi json_proto POST (null) [08:32:49]execute_cgi path=json_proto method=POST [08:32:49]POST find Content-Length [08:32:49]Host: 172.17.35.133:8080 [08:32:49]Content-Length: 648 [08:32:49]Content-Type: application/json [08:32:49] [08:32:49]POST finish read [08:32:49]Found Content-Length = 648 [08:32:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610151", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 72.10, "quantity" : 20.000, "sum" : 1442.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1442.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:32:49]execute_script... [08:32:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610151", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 72.10, "quantity" : 20.000, "sum" : 1442.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1442.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:32:49]POST & json_proto [08:32:49]process_json_proto [08:32:49]json parsed OK: [08:32:49]protocol is kg_v1.0 [08:32:49]action value=close_receipt [08:32:49]process_action close_receipt [08:32:49]cmd_close_receipt [08:32:49]MH_GetDate [08:32:49]Write to MH i2c: F0 00 00 58 05 4C [08:32:49]Write i2c OK [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: F0 [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: F0 09 00 [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: F0 09 00 58 05 00 B3 51 6D 66 8C 55 28 65 9A [08:32:49]GetLastDocTimeStamp 1718438905 [08:32:49]current date 1718440371 [08:32:49]FM_GetShiftState [08:32:49]SAM_PROTO_GetShiftState [08:32:49]wFMCommunicate request_size=4 [08:32:49]MH_SAM_APDU [08:32:49]CAPDU: 80 13 01 00 [08:32:49]Write to MH i2c: E2 08 00 59 05 80 13 01 00 00 00 00 00 DB [08:32:49]Write i2c OK [08:32:49]MH_I2C_Read... [08:32:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:49]Read from MH i2c: E2 [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: E2 0E 00 [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: E2 0E 00 59 05 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 AF [08:32:49]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:32:49]wFMCommunicate OK [08:32:49]SAM_PROTO_GetShiftState done [08:32:49]FM_GetShiftState done [08:32:49]opened in 1718410776 [08:32:49]opened+sec_in_day 1718497176 [08:32:49]quantity*price = 144200 [08:32:49]sum+1 = 144201 [08:32:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1442.00 НСП 1% : 12.76 НДС 12% : 153.13 Наличными: 1442.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 19 15.06.2024 08:32 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22174 ФПД: 212466120818938 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T083251&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22174&fm=212466120818938&tin=02508201610067®Number=0000000000099755&sum=144200 [08:32:50]StoreToDocumentArchive [08:32:50]shift 326 fd 22174 [08:32:50]save to /storage/0326/doc_00022174 [08:32:50]save last doc name /storage/0326/doc_00022174 to /storage/kkm_last_doc_name [08:32:50]save OK [08:32:50]Clear old archive folders... [08:32:50]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:32:50]tlvbuf is 00204490 [08:32:50]SAM_PROTO_ClearQueue [08:32:50]wFMCommunicate request_size=4 [08:32:50]MH_SAM_APDU [08:32:50]CAPDU: 80 09 00 00 [08:32:50]Write to MH i2c: E2 08 00 66 05 80 09 00 00 00 00 00 00 DD [08:32:50]Write i2c OK [08:32:50]MH_I2C_Read... [08:32:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:32:50]Read from MH i2c: E2 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 03 00 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 03 00 66 05 00 90 00 DF [08:32:50]RAPDU: 90 00 [08:32:50]wFMCommunicate OK [08:32:50]SAM_PROTO_ClearQueue done [08:32:50]KKMCreateOFDPacket [08:32:50]OFDProtocolAddRootSTLVToBuf [08:32:50]FM_MakeSignedData [08:32:50]FM_MakeSignedData [08:32:50]SAM_PROTO_SignData [08:32:50]wFMCommunicate request_size=4 [08:32:50]MH_SAM_APDU [08:32:50]CAPDU: 80 0D 01 02 [08:32:50]Write to MH i2c: E2 08 00 67 05 80 0D 01 02 00 00 00 00 E5 [08:32:50]Write i2c OK [08:32:50]MH_I2C_Read... [08:32:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:32:50]Read from MH i2c: E2 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 03 00 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 03 00 67 05 00 90 00 E0 [08:32:50]RAPDU: 90 00 [08:32:50]wFMCommunicate OK [08:32:50]wFMCommunicate request_size=255 [08:32:50]MH_SAM_APDU [08:32:50]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 48 33 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 33 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 3B 00 00 00 00 07 04 06 00 48 33 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 B3 51 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9E 56 00 00 35 04 06 00 [08:32:50]Write to MH i2c: E2 02 01 68 05 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 48 33 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 33 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 3B 00 00 00 00 07 04 06 00 48 33 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 B3 51 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9E 56 00 00 35 04 06 00 00 00 8E [08:32:50]Write i2c OK [08:32:50]MH_I2C_Read... [08:32:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:50]Read from MH i2c: E2 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 03 00 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 03 00 68 05 00 90 00 E1 [08:32:50]RAPDU: 90 00 [08:32:50]wFMCommunicate OK [08:32:50]wFMCommunicate request_size=11 [08:32:50]MH_SAM_APDU [08:32:50]CAPDU: 80 0D 02 02 06 C1 3C 9F A8 80 FA [08:32:50]Write to MH i2c: E2 0E 00 69 05 80 0D 02 02 06 00 C1 3C 9F A8 80 FA 00 00 B2 [08:32:50]Write i2c OK [08:32:50]MH_I2C_Read... [08:32:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:50]Read from MH i2c: E2 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 03 00 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 03 00 69 05 00 90 00 E2 [08:32:50]RAPDU: 90 00 [08:32:50]wFMCommunicate OK [08:32:50]wFMCommunicate request_size=4 [08:32:50]MH_SAM_APDU [08:32:50]CAPDU: 80 0D 03 02 [08:32:50]Write to MH i2c: E2 08 00 6A 05 80 0D 03 02 00 00 00 00 EA [08:32:50]Write i2c OK [08:32:50]MH_I2C_Read... [08:32:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:32:50]Read from MH i2c: E2 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 0B 00 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 0B 00 6A 05 00 15 D0 9A 7E 15 83 5B 9F 90 00 7A [08:32:50]RAPDU: 15 D0 9A 7E 15 83 5B 9F 90 00 [08:32:50]wFMCommunicate OK [08:32:50]SAM_PROTO_SignData done [08:32:50]FM_MakeSignedData done [08:32:50]CreateOFDProtocolMessage [08:32:50]wFMCommunicate request_size=4 [08:32:50]MH_SAM_APDU [08:32:50]CAPDU: 80 11 00 00 [08:32:50]Write to MH i2c: E2 08 00 6B 05 80 11 00 00 00 00 00 00 EA [08:32:50]Write i2c OK [08:32:50]MH_I2C_Read... [08:32:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:50]Read from MH i2c: E2 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 17 00 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: E2 17 00 6B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 3C [08:32:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:32:50]wFMCommunicate OK [08:32:50]CreateOFDProtocolMessage done [08:32:50]OFDSenderStorePacket 22174 [08:32:50]StoreOFDPacket docnum=22174 [08:32:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 01 00 00 E0 3A 08 01 21 D8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 48 33 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 33 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 3B 00 00 00 00 07 04 06 00 48 33 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 B3 51 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9E 56 00 00 35 04 06 00 C1 3C 9F A8 80 FA 15 D0 9A 7E 15 83 5B 9F [08:32:50]CheckFolder [08:32:50]dirname=/storage/ofd_packets [08:32:50]CheckFolder done [08:32:50]ProducePacketName [08:32:50]name=ofd_packets/00022174 [08:32:50]NVStorageSaveData ofd_packets/00022174 [08:32:50]File name is /storage/ofd_packets/00022174 [08:32:50]Write 302 bytes [08:32:50]NVStorageSaveData done [08:32:50]OFDSenderStorePacket done [08:32:50]KKMCreateOFDPacket done [08:32:50]NVStorageSaveData kkm_last_timestamp [08:32:50]File name is /storage/kkm_last_timestamp [08:32:50]Write 4 bytes [08:32:50]NVStorageSaveData done [08:32:50]ExternCall_PrintAddStr [08:32:50]wPrintStart [08:32:50]Write to MH i2c: 01 00 00 6C 05 71 [08:32:50]Write i2c OK [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: 01 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: 01 07 00 [08:32:50]MH_I2C_Read... [08:32:50]Read from MH i2c: 01 07 00 6C 05 00 00 00 00 00 FF 0F 86 [08:32:50]RasterBufferAndPrint [08:32:50]line Счет N : (1)1610151 [08:32:50]line ИНН: 02508201610067 [08:32:50]line Контрольно-Кассовый Чек [08:32:50]line ПРОДАЖА [08:32:50]line ТРК (МРК, ГНК) : 22 [08:32:50]line Товар: 2710194210 [08:32:50]line ДТ(л)-К-4 [08:32:50]line 20.000 * 72.10 [08:32:50]line = 1442.00 [08:32:50]line НДС 12% НСП 1% [08:32:50]line > о реализуемом товаре [08:32:50]line ИТОГО: 1442.00 [08:32:50]line НСП 1% : 12.76 [08:32:50]line НДС 12% : 153.13 [08:32:50]line Наличными: 1442.00 [08:32:50]line Безнал.: 0.00 [08:32:50]line Место: АЗС № 76 "Партнер Нефть" [08:32:50]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:32:50]line СНО: Общий режим [08:32:50]line Чек 19 15.06.2024 08:32 [08:32:50]line Смена: 326 ФФД: 1.0 [08:32:50]line ЗНМ: 0300000200 [08:32:50]line РНМ: 0000000000099755 [08:32:50]line Версия ККМ: 001 [08:32:50]line ФМ: 0000000000965344 [08:32:50]line ФД: 22174 [08:32:50]line ФПД: 212466120818938 [08:32:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T083251&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22174&fm=212466120818938&tin=02508201610067®Number=0000000000099755&sum=144200 [08:32:51]OFD Sender: Processing packet 22174 [packets to send 5, broken 4] [08:32:51]ProducePacketName [08:32:51]name=ofd_packets/00022174 [08:32:51]OFD Sender: To server: pG, [08:32:51]CommunicateWithHost lk.salyk.kg:30040 [08:32:51]ConnectInit lk.salyk.kg [08:32:51]written 0, free lines is 4095 [08:32:51]Connected sock=10 [08:32:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 01 00 00 E0 3A 08 01 21 D8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 48 33 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 33 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 3B 00 00 00 00 07 04 06 00 48 33 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 B3 51 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9E 56 00 00 35 04 06 00 C1 3C 9F A8 80 FA 15 D0 9A 7E 15 83 5B 9F [08:32:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 63 59 47 00 25 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9E 56 00 00 F4 03 04 00 70 FA 6C 66 B6 04 01 00 00 04 B6 A5 FA 9E 49 D8 E4 [08:32:51]CommunicateWithHost err = 0 [08:32:51]CheckOFDResponse [08:32:51]1017 (14) - 77093643461234 [08:32:51]1041 (16) - 0000000000965344 [08:32:51]1040 (4) - 22174 [08:32:51]1012 (4) - 15.06.2024 02:20 [08:32:51]1206 (1) - 0 [08:32:51]OFD Sender: Remove packet 22174 [08:32:51]ProducePacketName [08:32:51]name=ofd_packets/00022174 [08:32:51]NVStorageDeleteData [08:32:51]Write to MH i2c: 01 00 00 94 05 99 [08:32:51]Write i2c OK [08:32:51]MH_I2C_Read... [08:32:51]Read from MH i2c: 01 [08:32:51]MH_I2C_Read... [08:32:51]Read from MH i2c: 01 07 00 [08:32:51]MH_I2C_Read... [08:32:51]Read from MH i2c: 01 07 00 94 05 00 00 00 00 00 32 0D DF [08:32:51]RasterBufferAndPrint [08:32:51]line [08:32:51]line [08:32:51]line [08:32:51]line [08:32:51]line [08:32:51]written 0, free lines is 3384 [08:32:51]MH_Cut [08:32:51]Write to MH i2c: D1 01 00 9B 05 01 72 [08:32:51]Write i2c OK [08:32:51]MH_I2C_Read... [08:32:51]Read from MH i2c: D1 [08:32:51]MH_I2C_Read... [08:32:51]Read from MH i2c: D1 01 00 [08:32:51]MH_I2C_Read... [08:32:51]Read from MH i2c: D1 01 00 9B 05 00 71 [08:32:51]Write to MH i2c: 01 00 00 9C 05 A1 [08:32:51]Write i2c OK [08:32:51]MH_I2C_Read... [08:32:51]OFD Sender: No OFD packet to send [08:32:52]*** Cut start [08:32:52]*** Partial cut [08:32:52]*** CUTSNS_PIN = 1 [08:32:52]*** CUTSNS_PIN = 0 [08:32:52]*** Brake cut motor [08:32:52]Read from MH i2c: 01 [08:32:52]MH_I2C_Read... [08:32:52]*** Stop cut motor [08:32:52]*** Cut end [08:32:52]Read from MH i2c: 01 07 00 [08:32:52]MH_I2C_Read... [08:32:52]Read from MH i2c: 01 07 00 9C 05 00 00 00 00 00 FF 0F B6 [08:32:52]process_action close_receipt done [08:32:52]requested_data is exist [08:32:52]produce_requested_data [08:32:52]requested_item fm.sn is exist - process it [08:32:52]wFMCommunicate request_size=4 [08:32:52]MH_SAM_APDU [08:32:52]CAPDU: 80 11 00 00 [08:32:52]Write to MH i2c: E2 08 00 9D 05 80 11 00 00 00 00 00 00 1C [08:32:52]Write i2c OK [08:32:52]MH_I2C_Read... [08:32:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:52]Read from MH i2c: E2 [08:32:52]MH_I2C_Read... [08:32:52]Read from MH i2c: E2 17 00 [08:32:52]MH_I2C_Read... [08:32:52]Read from MH i2c: E2 17 00 9D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6E [08:32:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:32:52]wFMCommunicate OK [08:32:52]requested_item fd.num is exist - process it [08:32:52]SAM_PROTO_GetFieldsCounters [08:32:52]wFMCommunicate request_size=4 [08:32:52]MH_SAM_APDU [08:32:52]CAPDU: 80 13 00 00 [08:32:52]Write to MH i2c: E2 08 00 9E 05 80 13 00 00 00 00 00 00 1F [08:32:52]Write i2c OK [08:32:52]MH_I2C_Read... [08:32:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:32:53]Read from MH i2c: E2 [08:32:53]MH_I2C_Read... [08:32:53]Read from MH i2c: E2 62 00 [08:32:53]MH_I2C_Read... [08:32:53]Read from MH i2c: E2 62 00 9E 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9E 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 BD [08:32:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9E 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:32:53]wFMCommunicate OK [08:32:53]SAM_PROTO_GetFieldsCounters done [08:32:53]requested_item shift.num is exist - process it [08:32:53]requested_item shift.opened is exist - process it [08:32:53]req_shift_opened [08:32:53]FM_GetShiftState [08:32:53]SAM_PROTO_GetShiftState [08:32:53]wFMCommunicate request_size=4 [08:32:53]MH_SAM_APDU [08:32:53]CAPDU: 80 13 01 00 [08:32:53]Write to MH i2c: E2 08 00 9F 05 80 13 01 00 00 00 00 00 21 [08:32:53]Write i2c OK [08:32:53]MH_I2C_Read... [08:32:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:53]Read from MH i2c: E2 [08:32:53]MH_I2C_Read... [08:32:53]Read from MH i2c: E2 0E 00 [08:32:53]MH_I2C_Read... [08:32:53]Read from MH i2c: E2 0E 00 9F 05 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 F5 [08:32:53]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:32:53]wFMCommunicate OK [08:32:53]SAM_PROTO_GetShiftState done [08:32:53]FM_GetShiftState done [08:32:53]req_shift_opened done [08:32:53]requested_item shift.open_date is exist - process it [08:32:53]req_shift_open_date [08:32:53]req_shift_open_date done [08:32:53]produce_requested_data done [08:32:53]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22174,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [08:32:53]process_action_free close_receipt [08:32:53]json_value_free [08:32:53]json_value_free done [08:32:53]process_json_proto returns [08:32:53]Send response to host [08:32:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22174,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [08:32:53]free response buf [08:32:53]execute_script done [08:32:53]execute_script returns [08:32:53]free content buf [08:32:53]Sock 9.Close socket [08:32:53]Sock 9.Thread stoped [08:32:56]OFD Sender: No OFD packet to send [08:33:01]OFD Sender: No OFD packet to send [08:33:06]OFD Sender: No OFD packet to send [08:33:11]OFD Sender: No OFD packet to send [08:33:16]OFD Sender: No OFD packet to send [08:33:21]OFD Sender: No OFD packet to send [08:33:26]OFD Sender: No OFD packet to send [08:33:31]OFD Sender: No OFD packet to send [08:33:36]OFD Sender: No OFD packet to send [08:33:41]OFD Sender: No OFD packet to send [08:33:42]accept exits with 8 [08:33:42]New connection [08:33:42]New thread 3066695012 created [08:33:42]Thread 3066838372 joined [08:33:42]Waiting for new connection... [08:33:42] Sock 8.Parse request [08:33:42]Sock 8.Check first char [08:33:42]Sock 8.First char is OK [08:33:42]request: POST /json_proto HTTP/1.0 [08:33:42]Method: POST [08:33:42]URL: /json_proto [08:33:42]Method is POST - this is cgi request [08:33:42]url: /json_proto [08:33:42]query_string will be loaded in cgi processing [08:33:42]execute_cgi json_proto POST (null) [08:33:42]execute_cgi path=json_proto method=POST [08:33:42]POST find Content-Length [08:33:42]Host: 172.17.35.133:8080 [08:33:42]Content-Length: 678 [08:33:42]Content-Type: application/json [08:33:42] [08:33:42]POST finish read [08:33:42]Found Content-Length = 678 [08:33:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610152", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 6.080, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:42]execute_script... [08:33:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610152", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 6.080, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:42]POST & json_proto [08:33:42]process_json_proto [08:33:42]json parsed OK: [08:33:42]protocol is kg_v1.0 [08:33:42]action value=close_receipt [08:33:42]process_action close_receipt [08:33:42]cmd_close_receipt [08:33:42]MH_GetDate [08:33:42]Write to MH i2c: F0 00 00 A0 05 94 [08:33:42]Write i2c OK [08:33:42]MH_I2C_Read... [08:33:42]Read from MH i2c: F0 [08:33:42]MH_I2C_Read... [08:33:42]Read from MH i2c: F0 09 00 [08:33:42]MH_I2C_Read... [08:33:42]Read from MH i2c: F0 09 00 A0 05 00 E8 51 6D 66 8C 55 28 65 17 [08:33:42]GetLastDocTimeStamp 1718440371 [08:33:42]current date 1718440424 [08:33:42]FM_GetShiftState [08:33:42]SAM_PROTO_GetShiftState [08:33:42]wFMCommunicate request_size=4 [08:33:42]MH_SAM_APDU [08:33:42]CAPDU: 80 13 01 00 [08:33:42]Write to MH i2c: E2 08 00 A1 05 80 13 01 00 00 00 00 00 23 [08:33:42]Write i2c OK [08:33:42]MH_I2C_Read... [08:33:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:42]Read from MH i2c: E2 [08:33:42]MH_I2C_Read... [08:33:42]Read from MH i2c: E2 0E 00 [08:33:42]MH_I2C_Read... [08:33:42]Read from MH i2c: E2 0E 00 A1 05 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 F7 [08:33:42]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:33:42]wFMCommunicate OK [08:33:42]SAM_PROTO_GetShiftState done [08:33:42]FM_GetShiftState done [08:33:42]opened in 1718410776 [08:33:42]opened+sec_in_day 1718497176 [08:33:42]quantity*price = 40006 [08:33:42]sum+1 = 40007 [08:33:42]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.06 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 20 15.06.2024 08:33 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22175 ФПД: 129137032160282 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T083344&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22175&fm=129137032160282&tin=02508201610067®Number=0000000000099755&sum=40000 [08:33:43]StoreToDocumentArchive [08:33:43]shift 326 fd 22175 [08:33:43]save to /storage/0326/doc_00022175 [08:33:43]save last doc name /storage/0326/doc_00022175 to /storage/kkm_last_doc_name [08:33:43]save OK [08:33:43]Clear old archive folders... [08:33:43]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:33:43]tlvbuf is 001A95A0 [08:33:43]SAM_PROTO_ClearQueue [08:33:43]wFMCommunicate request_size=4 [08:33:43]MH_SAM_APDU [08:33:43]CAPDU: 80 09 00 00 [08:33:43]Write to MH i2c: E2 08 00 AE 05 80 09 00 00 00 00 00 00 25 [08:33:43]Write i2c OK [08:33:43]MH_I2C_Read... [08:33:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:33:43]Read from MH i2c: E2 [08:33:43]MH_I2C_Read... [08:33:43]Read from MH i2c: E2 03 00 [08:33:43]MH_I2C_Read... [08:33:43]Read from MH i2c: E2 03 00 AE 05 00 90 00 27 [08:33:43]RAPDU: 90 00 [08:33:43]wFMCommunicate OK [08:33:43]SAM_PROTO_ClearQueue done [08:33:43]KKMCreateOFDPacket [08:33:43]OFDProtocolAddRootSTLVToBuf [08:33:43]FM_MakeSignedData [08:33:43]FM_MakeSignedData [08:33:43]SAM_PROTO_SignData [08:33:43]wFMCommunicate request_size=4 [08:33:43]MH_SAM_APDU [08:33:43]CAPDU: 80 0D 01 02 [08:33:43]Write to MH i2c: E2 08 00 AF 05 80 0D 01 02 00 00 00 00 2D [08:33:43]Write i2c OK [08:33:43]MH_I2C_Read... [08:33:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:33:43]Read from MH i2c: E2 [08:33:43]MH_I2C_Read... [08:33:43]Read from MH i2c: E2 03 00 [08:33:43]MH_I2C_Read... [08:33:43]Read from MH i2c: E2 03 00 AF 05 00 90 00 28 [08:33:43]RAPDU: 90 00 [08:33:43]wFMCommunicate OK [08:33:43]wFMCommunicate request_size=255 [08:33:43]MH_SAM_APDU [08:33:43]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C0 17 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E8 51 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9F 56 00 00 35 04 06 00 75 [08:33:43]Write to MH i2c: E2 02 01 B0 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C0 17 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E8 51 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9F 56 00 00 35 04 06 00 75 00 00 5A [08:33:43]Write i2c OK [08:33:43]MH_I2C_Read... [08:33:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:44]Read from MH i2c: E2 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: E2 03 00 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: E2 03 00 B0 05 00 90 00 29 [08:33:44]RAPDU: 90 00 [08:33:44]wFMCommunicate OK [08:33:44]wFMCommunicate request_size=10 [08:33:44]MH_SAM_APDU [08:33:44]CAPDU: 80 0D 02 02 05 73 0E ED E4 1A [08:33:44]Write to MH i2c: E2 0D 00 B1 05 80 0D 02 02 05 00 73 0E ED E4 1A 00 00 A6 [08:33:44]Write i2c OK [08:33:44]MH_I2C_Read... [08:33:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:44]Read from MH i2c: E2 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: E2 03 00 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: E2 03 00 B1 05 00 90 00 2A [08:33:44]RAPDU: 90 00 [08:33:44]wFMCommunicate OK [08:33:44]wFMCommunicate request_size=4 [08:33:44]MH_SAM_APDU [08:33:44]CAPDU: 80 0D 03 02 [08:33:44]Write to MH i2c: E2 08 00 B2 05 80 0D 03 02 00 00 00 00 32 [08:33:44]Write i2c OK [08:33:44]MH_I2C_Read... [08:33:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:33:44]Read from MH i2c: E2 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: E2 0B 00 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: E2 0B 00 B2 05 00 A5 09 3B 5E 0E 08 9F CC 90 00 FB [08:33:44]RAPDU: A5 09 3B 5E 0E 08 9F CC 90 00 [08:33:44]wFMCommunicate OK [08:33:44]SAM_PROTO_SignData done [08:33:44]FM_MakeSignedData done [08:33:44]CreateOFDProtocolMessage [08:33:44]wFMCommunicate request_size=4 [08:33:44]MH_SAM_APDU [08:33:44]CAPDU: 80 11 00 00 [08:33:44]Write to MH i2c: E2 08 00 B3 05 80 11 00 00 00 00 00 00 32 [08:33:44]Write i2c OK [08:33:44]MH_I2C_Read... [08:33:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:44]Read from MH i2c: E2 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: E2 17 00 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: E2 17 00 B3 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 84 [08:33:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:33:44]wFMCommunicate OK [08:33:44]CreateOFDProtocolMessage done [08:33:44]OFDSenderStorePacket 22175 [08:33:44]StoreOFDPacket docnum=22175 [08:33:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 B8 60 07 01 39 25 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C0 17 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E8 51 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9F 56 00 00 35 04 06 00 75 73 0E ED E4 1A A5 09 3B 5E 0E 08 9F CC [08:33:44]CheckFolder [08:33:44]dirname=/storage/ofd_packets [08:33:44]CheckFolder done [08:33:44]ProducePacketName [08:33:44]name=ofd_packets/00022175 [08:33:44]NVStorageSaveData ofd_packets/00022175 [08:33:44]File name is /storage/ofd_packets/00022175 [08:33:44]Write 301 bytes [08:33:44]NVStorageSaveData done [08:33:44]OFDSenderStorePacket done [08:33:44]KKMCreateOFDPacket done [08:33:44]NVStorageSaveData kkm_last_timestamp [08:33:44]File name is /storage/kkm_last_timestamp [08:33:44]Write 4 bytes [08:33:44]NVStorageSaveData done [08:33:44]ExternCall_PrintAddStr [08:33:44]wPrintStart [08:33:44]Write to MH i2c: 01 00 00 B4 05 B9 [08:33:44]Write i2c OK [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: 01 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: 01 07 00 [08:33:44]MH_I2C_Read... [08:33:44]Read from MH i2c: 01 07 00 B4 05 00 00 00 00 00 FF 0F CE [08:33:44]RasterBufferAndPrint [08:33:44]line Счет N : (1)1610152 [08:33:44]line ИНН: 02508201610067 [08:33:44]line Контрольно-Кассовый Чек [08:33:44]line ПРОДАЖА [08:33:44]line ТРК (МРК, ГНК) : 43 [08:33:44]line Товар: 2710124130 [08:33:44]line Аи-92-К-5 [08:33:44]line 6.080 * 65.80 [08:33:44]line = 400.06 [08:33:44]line НДС 12% НСП 1% [08:33:44]line > о реализуемом товаре [08:33:44]line ОКРУГЛЕНИЕ: -0.06 [08:33:44]line ИТОГО: 400.00 [08:33:44]line Внесено: 400.00 [08:33:44]line СДАЧА: 0.00 [08:33:44]line НСП 1% : 3.54 [08:33:44]line НДС 12% : 42.48 [08:33:44]line Наличными: 400.00 [08:33:44]line Безнал.: 0.00 [08:33:44]line Место: АЗС № 76 "Партнер Нефть" [08:33:44]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:33:44]line СНО: Общий режим [08:33:44]line Чек 20 15.06.2024 08:33 [08:33:44]line Смена: 326 ФФД: 1.0 [08:33:44]line ЗНМ: 0300000200 [08:33:44]line РНМ: 0000000000099755 [08:33:44]line Версия ККМ: 001 [08:33:44]line ФМ: 0000000000965344 [08:33:44]line ФД: 22175 [08:33:44]line ФПД: 129137032160282 [08:33:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T083344&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22175&fm=129137032160282&tin=02508201610067®Number=0000000000099755&sum=40000 [08:33:44]OFD Sender: Processing packet 22175 [packets to send 5, broken 4] [08:33:44]ProducePacketName [08:33:44]name=ofd_packets/00022175 [08:33:44]OFD Sender: To server: pG, [08:33:44]CommunicateWithHost lk.salyk.kg:30040 [08:33:44]ConnectInit lk.salyk.kg [08:33:44]written 0, free lines is 4095 [08:33:44]Connected sock=10 [08:33:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 B8 60 07 01 39 25 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C0 17 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E8 51 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9F 56 00 00 35 04 06 00 75 73 0E ED E4 1A A5 09 3B 5E 0E 08 9F CC [08:33:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 65 FA 47 00 94 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 9F 56 00 00 F4 03 04 00 A6 FA 6C 66 B6 04 01 00 00 5B B4 A6 6C 30 D2 4F 59 [08:33:45]CommunicateWithHost err = 0 [08:33:45]CheckOFDResponse [08:33:45]1017 (14) - 77093643461234 [08:33:45]1041 (16) - 0000000000965344 [08:33:45]1040 (4) - 22175 [08:33:45]1012 (4) - 15.06.2024 02:21 [08:33:45]1206 (1) - 0 [08:33:45]OFD Sender: Remove packet 22175 [08:33:45]ProducePacketName [08:33:45]name=ofd_packets/00022175 [08:33:45]NVStorageDeleteData [08:33:45]Write to MH i2c: 01 00 00 DF 05 E4 [08:33:45]Write i2c OK [08:33:45]MH_I2C_Read... [08:33:45]Read from MH i2c: 01 [08:33:45]MH_I2C_Read... [08:33:45]Read from MH i2c: 01 07 00 [08:33:45]MH_I2C_Read... [08:33:45]Read from MH i2c: 01 07 00 DF 05 00 00 00 00 00 FA 0C F1 [08:33:45]RasterBufferAndPrint [08:33:45]line [08:33:45]line [08:33:45]line [08:33:45]line [08:33:45]line [08:33:45]written 0, free lines is 3329 [08:33:45]MH_Cut [08:33:45]Write to MH i2c: D1 01 00 E6 05 01 BD [08:33:45]Write i2c OK [08:33:45]MH_I2C_Read... [08:33:45]Read from MH i2c: D1 [08:33:45]MH_I2C_Read... [08:33:45]Read from MH i2c: D1 01 00 [08:33:45]MH_I2C_Read... [08:33:45]Read from MH i2c: D1 01 00 E6 05 00 BC [08:33:45]Write to MH i2c: 01 00 00 E7 05 EC [08:33:45]Write i2c OK [08:33:45]MH_I2C_Read... [08:33:45]OFD Sender: No OFD packet to send [08:33:45]*** Cut start [08:33:45]*** Partial cut [08:33:45]*** CUTSNS_PIN = 1 [08:33:45]*** CUTSNS_PIN = 0 [08:33:46]*** Brake cut motor [08:33:46]Read from MH i2c: 01 [08:33:46]MH_I2C_Read... [08:33:46]*** Stop cut motor [08:33:46]*** Cut end [08:33:46]Read from MH i2c: 01 07 00 [08:33:46]MH_I2C_Read... [08:33:46]Read from MH i2c: 01 07 00 E7 05 00 00 00 00 00 FF 0F 01 [08:33:46]process_action close_receipt done [08:33:46]requested_data is exist [08:33:46]produce_requested_data [08:33:46]requested_item fm.sn is exist - process it [08:33:46]wFMCommunicate request_size=4 [08:33:46]MH_SAM_APDU [08:33:46]CAPDU: 80 11 00 00 [08:33:46]Write to MH i2c: E2 08 00 E8 05 80 11 00 00 00 00 00 00 67 [08:33:46]Write i2c OK [08:33:46]MH_I2C_Read... [08:33:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:46]Read from MH i2c: E2 [08:33:46]MH_I2C_Read... [08:33:46]Read from MH i2c: E2 17 00 [08:33:46]MH_I2C_Read... [08:33:46]Read from MH i2c: E2 17 00 E8 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B9 [08:33:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:33:46]wFMCommunicate OK [08:33:46]requested_item fd.num is exist - process it [08:33:46]SAM_PROTO_GetFieldsCounters [08:33:46]wFMCommunicate request_size=4 [08:33:46]MH_SAM_APDU [08:33:46]CAPDU: 80 13 00 00 [08:33:46]Write to MH i2c: E2 08 00 E9 05 80 13 00 00 00 00 00 00 6A [08:33:46]Write i2c OK [08:33:46]MH_I2C_Read... [08:33:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:33:46]Read from MH i2c: E2 [08:33:46]MH_I2C_Read... [08:33:46]Read from MH i2c: E2 62 00 [08:33:46]MH_I2C_Read... [08:33:46]Read from MH i2c: E2 62 00 E9 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9F 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [08:33:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 9F 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:33:46]wFMCommunicate OK [08:33:46]SAM_PROTO_GetFieldsCounters done [08:33:46]requested_item shift.num is exist - process it [08:33:46]requested_item shift.opened is exist - process it [08:33:46]req_shift_opened [08:33:46]FM_GetShiftState [08:33:46]SAM_PROTO_GetShiftState [08:33:46]wFMCommunicate request_size=4 [08:33:46]MH_SAM_APDU [08:33:46]CAPDU: 80 13 01 00 [08:33:46]Write to MH i2c: E2 08 00 EA 05 80 13 01 00 00 00 00 00 6C [08:33:46]Write i2c OK [08:33:46]MH_I2C_Read... [08:33:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:46]Read from MH i2c: E2 [08:33:46]MH_I2C_Read... [08:33:46]Read from MH i2c: E2 0E 00 [08:33:46]MH_I2C_Read... [08:33:46]Read from MH i2c: E2 0E 00 EA 05 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 40 [08:33:46]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:33:46]wFMCommunicate OK [08:33:46]SAM_PROTO_GetShiftState done [08:33:46]FM_GetShiftState done [08:33:46]req_shift_opened done [08:33:46]requested_item shift.open_date is exist - process it [08:33:46]req_shift_open_date [08:33:46]req_shift_open_date done [08:33:46]produce_requested_data done [08:33:46]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22175,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [08:33:46]process_action_free close_receipt [08:33:46]json_value_free [08:33:46]json_value_free done [08:33:46]process_json_proto returns [08:33:46]Send response to host [08:33:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22175,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [08:33:46]free response buf [08:33:46]execute_script done [08:33:46]execute_script returns [08:33:46]free content buf [08:33:46]Sock 8.Close socket [08:33:46]Sock 8.Thread stoped [08:33:50]OFD Sender: No OFD packet to send [08:33:55]OFD Sender: No OFD packet to send [08:34:00]OFD Sender: No OFD packet to send [08:34:05]OFD Sender: No OFD packet to send [08:34:10]OFD Sender: No OFD packet to send [08:34:15]OFD Sender: No OFD packet to send [08:34:20]OFD Sender: No OFD packet to send [08:34:25]OFD Sender: No OFD packet to send [08:34:30]OFD Sender: No OFD packet to send [08:34:35]OFD Sender: No OFD packet to send [08:34:40]OFD Sender: No OFD packet to send [08:34:45]OFD Sender: No OFD packet to send [08:34:50]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]OFD Sender: No OFD packet to send [08:37:55]OFD Sender: No OFD packet to send [08:38:00]OFD Sender: No OFD packet to send [08:38:05]OFD Sender: No OFD packet to send [08:38:10]OFD Sender: No OFD packet to send [08:38:15]OFD Sender: No OFD packet to send [08:38:20]OFD Sender: No OFD packet to send [08:38:25]OFD Sender: No OFD packet to send [08:38:30]OFD Sender: No OFD packet to send [08:38:35]OFD Sender: No OFD packet to send [08:38:40]OFD Sender: No OFD packet to send [08:38:45]OFD Sender: No OFD packet to send [08:38:50]OFD Sender: No OFD packet to send [08:38:55]OFD Sender: No OFD packet to send [08:39:00]OFD Sender: No OFD packet to send [08:39:05]OFD Sender: No OFD packet to send [08:39:10]OFD Sender: No OFD packet to send [08:39:15]OFD Sender: No OFD packet to send [08:39:20]OFD Sender: No OFD packet to send [08:39:25]OFD Sender: No OFD packet to send [08:39:30]OFD Sender: No OFD packet to send [08:39:35]OFD Sender: No OFD packet to send [08:39:40]OFD Sender: No OFD packet to send [08:39:45]OFD Sender: No OFD packet to send [08:39:50]OFD Sender: No OFD packet to send [08:39:55]OFD Sender: No OFD packet to send [08:40:00]OFD Sender: No OFD packet to send [08:40:05]OFD Sender: No OFD packet to send [08:40:10]OFD Sender: No OFD packet to send [08:40:15]OFD Sender: No OFD packet to send [08:40:20]OFD Sender: No OFD packet to send [08:40:25]OFD Sender: No OFD packet to send [08:40:30]OFD Sender: No OFD packet to send [08:40:31]accept exits with 9 [08:40:31]New connection [08:40:31]New thread 3066838372 created [08:40:31]Thread 3066695012 joined [08:40:31]Waiting for new connection... [08:40:31] Sock 9.Parse request [08:40:31]Sock 9.Check first char [08:40:31]Sock 9.First char is OK [08:40:31]request: POST /json_proto HTTP/1.0 [08:40:31]Method: POST [08:40:31]URL: /json_proto [08:40:31]Method is POST - this is cgi request [08:40:31]url: /json_proto [08:40:31]query_string will be loaded in cgi processing [08:40:31]execute_cgi json_proto POST (null) [08:40:31]execute_cgi path=json_proto method=POST [08:40:31]POST find Content-Length [08:40:31]Host: 172.17.35.133:8080 [08:40:31]Content-Length: 974 [08:40:31]Content-Type: application/json [08:40:31] [08:40:31]POST finish read [08:40:31]Found Content-Length = 974 [08:40:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254396", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328602", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u0430\u043F,\u043B\u0435\u043C\u043E\u043D\u0433\u0440\u0430\u0441 \u041F\u042D\u0422 1\u043B", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:31]execute_script... [08:40:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254396", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328602", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u0430\u043F,\u043B\u0435\u043C\u043E\u043D\u0433\u0440\u0430\u0441 \u041F\u042D\u0422 1\u043B", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:31]POST & json_proto [08:40:31]process_json_proto [08:40:31]json parsed OK: [08:40:31]protocol is kg_v1.0 [08:40:31]action value=close_receipt [08:40:31]process_action close_receipt [08:40:31]cmd_close_receipt [08:40:31]MH_GetDate [08:40:31]Write to MH i2c: F0 00 00 EB 05 DF [08:40:31]Write i2c OK [08:40:31]MH_I2C_Read... [08:40:31]Read from MH i2c: F0 [08:40:31]MH_I2C_Read... [08:40:31]Read from MH i2c: F0 09 00 [08:40:31]MH_I2C_Read... [08:40:31]Read from MH i2c: F0 09 00 EB 05 00 81 53 6D 66 8C 55 28 65 FD [08:40:31]GetLastDocTimeStamp 1718440424 [08:40:31]current date 1718440833 [08:40:31]FM_GetShiftState [08:40:31]SAM_PROTO_GetShiftState [08:40:31]wFMCommunicate request_size=4 [08:40:31]MH_SAM_APDU [08:40:31]CAPDU: 80 13 01 00 [08:40:31]Write to MH i2c: E2 08 00 EC 05 80 13 01 00 00 00 00 00 6E [08:40:31]Write i2c OK [08:40:31]MH_I2C_Read... [08:40:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:31]Read from MH i2c: E2 [08:40:31]MH_I2C_Read... [08:40:31]Read from MH i2c: E2 0E 00 [08:40:31]MH_I2C_Read... [08:40:31]Read from MH i2c: E2 0E 00 EC 05 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 42 [08:40:31]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:40:31]wFMCommunicate OK [08:40:31]SAM_PROTO_GetShiftState done [08:40:31]FM_GetShiftState done [08:40:31]opened in 1718410776 [08:40:31]opened+sec_in_day 1718497176 [08:40:31]quantity*price = 11300 [08:40:31]sum+1 = 11301 [08:40:31]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002328602 Напиток DADA ап,лемонграс ПЭТ 1л 1.000 * 165.00 = 165.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 21 15.06.2024 08:40 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22176 ФПД: 172596309868910 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T084033&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22176&fm=172596309868910&tin=02508201610067®Number=0000000000099755&sum=27800 0 [08:40:32]StoreToDocumentArchive [08:40:32]shift 326 fd 22176 [08:40:32]save to /storage/0326/doc_00022176 [08:40:32]save last doc name /storage/0326/doc_00022176 to /storage/kkm_last_doc_name [08:40:32]save OK [08:40:32]Clear old archive folders... [08:40:32]ProcessDocumentItem done err = 0, tmpTLVsize=404 [08:40:32]tlvbuf is 001D6CA0 [08:40:32]SAM_PROTO_ClearQueue [08:40:32]wFMCommunicate request_size=4 [08:40:32]MH_SAM_APDU [08:40:32]CAPDU: 80 09 00 00 [08:40:32]Write to MH i2c: E2 08 00 F9 05 80 09 00 00 00 00 00 00 70 [08:40:32]Write i2c OK [08:40:32]MH_I2C_Read... [08:40:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:40:32]Read from MH i2c: E2 [08:40:32]MH_I2C_Read... [08:40:32]Read from MH i2c: E2 03 00 [08:40:32]MH_I2C_Read... [08:40:32]Read from MH i2c: E2 03 00 F9 05 00 90 00 72 [08:40:32]RAPDU: 90 00 [08:40:32]wFMCommunicate OK [08:40:32]SAM_PROTO_ClearQueue done [08:40:32]KKMCreateOFDPacket [08:40:32]OFDProtocolAddRootSTLVToBuf [08:40:32]FM_MakeSignedData [08:40:32]FM_MakeSignedData [08:40:32]SAM_PROTO_SignData [08:40:32]wFMCommunicate request_size=4 [08:40:32]MH_SAM_APDU [08:40:32]CAPDU: 80 0D 01 02 [08:40:32]Write to MH i2c: E2 08 00 FA 05 80 0D 01 02 00 00 00 00 78 [08:40:32]Write i2c OK [08:40:32]MH_I2C_Read... [08:40:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:40:32]Read from MH i2c: E2 [08:40:32]MH_I2C_Read... [08:40:32]Read from MH i2c: E2 03 00 [08:40:32]MH_I2C_Read... [08:40:32]Read from MH i2c: E2 03 00 FA 05 00 90 00 73 [08:40:32]RAPDU: 90 00 [08:40:32]wFMCommunicate OK [08:40:32]wFMCommunicate request_size=255 [08:40:32]MH_SAM_APDU [08:40:32]CAPDU: 80 0D 02 02 FA 03 00 94 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 36 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D0 B0 D0 BF 2C D0 BB D0 B5 D0 BC D0 BE D0 BD D0 B3 D1 80 D0 B0 D1 81 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 [08:40:32]Write to MH i2c: E2 02 01 FB 05 80 0D 02 02 FA 00 03 00 94 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 36 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D0 B0 D0 BF 2C D0 BB D0 B5 D0 BC D0 BE D0 BD D0 B3 D1 80 D0 B0 D1 81 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 A0 [08:40:32]Write i2c OK [08:40:32]MH_I2C_Read... [08:40:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:33]Read from MH i2c: E2 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: E2 03 00 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: E2 03 00 FB 05 00 90 00 74 [08:40:33]RAPDU: 90 00 [08:40:33]wFMCommunicate OK [08:40:33]wFMCommunicate request_size=163 [08:40:33]MH_SAM_APDU [08:40:33]CAPDU: 80 0D 02 02 9E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 81 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A0 56 00 00 35 04 06 00 9C F9 B5 BD 41 6E [08:40:33]Write to MH i2c: E2 A6 00 FC 05 80 0D 02 02 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 81 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A0 56 00 00 35 04 06 00 9C F9 B5 BD 41 6E 00 00 39 [08:40:33]Write i2c OK [08:40:33]MH_I2C_Read... [08:40:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:33]Read from MH i2c: E2 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: E2 03 00 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: E2 03 00 FC 05 00 90 00 75 [08:40:33]RAPDU: 90 00 [08:40:33]wFMCommunicate OK [08:40:33]wFMCommunicate request_size=4 [08:40:33]MH_SAM_APDU [08:40:33]CAPDU: 80 0D 03 02 [08:40:33]Write to MH i2c: E2 08 00 FD 05 80 0D 03 02 00 00 00 00 7D [08:40:33]Write i2c OK [08:40:33]MH_I2C_Read... [08:40:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:40:33]Read from MH i2c: E2 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: E2 0B 00 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: E2 0B 00 FD 05 00 8D 99 77 B9 D7 53 85 09 90 00 8C [08:40:33]RAPDU: 8D 99 77 B9 D7 53 85 09 90 00 [08:40:33]wFMCommunicate OK [08:40:33]SAM_PROTO_SignData done [08:40:33]FM_MakeSignedData done [08:40:33]CreateOFDProtocolMessage [08:40:33]wFMCommunicate request_size=4 [08:40:33]MH_SAM_APDU [08:40:33]CAPDU: 80 11 00 00 [08:40:33]Write to MH i2c: E2 08 00 FE 05 80 11 00 00 00 00 00 00 7D [08:40:33]Write i2c OK [08:40:33]MH_I2C_Read... [08:40:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:33]Read from MH i2c: E2 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: E2 17 00 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: E2 17 00 FE 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 CF [08:40:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:40:33]wFMCommunicate OK [08:40:33]CreateOFDProtocolMessage done [08:40:33]OFDSenderStorePacket 22176 [08:40:33]StoreOFDPacket docnum=22176 [08:40:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A8 01 00 00 EA FC A0 01 A2 C8 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 36 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D0 B0 D0 BF 2C D0 BB D0 B5 D0 BC D0 BE D0 BD D0 B3 D1 80 D0 B0 D1 81 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 81 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A0 56 00 00 35 04 06 00 9C F9 B5 BD 41 6E 8D 99 77 B9 D7 53 85 09 [08:40:33]CheckFolder [08:40:33]dirname=/storage/ofd_packets [08:40:33]CheckFolder done [08:40:33]ProducePacketName [08:40:33]name=ofd_packets/00022176 [08:40:33]NVStorageSaveData ofd_packets/00022176 [08:40:33]File name is /storage/ofd_packets/00022176 [08:40:33]Write 454 bytes [08:40:33]NVStorageSaveData done [08:40:33]OFDSenderStorePacket done [08:40:33]KKMCreateOFDPacket done [08:40:33]NVStorageSaveData kkm_last_timestamp [08:40:33]File name is /storage/kkm_last_timestamp [08:40:33]Write 4 bytes [08:40:33]NVStorageSaveData done [08:40:33]ExternCall_PrintAddStr [08:40:33]wPrintStart [08:40:33]Write to MH i2c: 01 00 00 FF 05 04 [08:40:33]Write i2c OK [08:40:33]MH_I2C_Read... [08:40:33]OFD Sender: Processing packet 22176 [packets to send 5, broken 4] [08:40:33]ProducePacketName [08:40:33]name=ofd_packets/00022176 [08:40:33]OFD Sender: To server: pG, [08:40:33]CommunicateWithHost lk.salyk.kg:30040 [08:40:33]ConnectInit lk.salyk.kg [08:40:33]Read from MH i2c: 01 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: 01 07 00 [08:40:33]MH_I2C_Read... [08:40:33]Read from MH i2c: 01 07 00 FF 05 00 00 00 00 00 FF 0F 19 [08:40:33]RasterBufferAndPrint [08:40:33]line Счет N : (3)254396 [08:40:33]line ИНН: 02508201610067 [08:40:33]line Контрольно-Кассовый Чек [08:40:33]line ПРОДАЖА [08:40:33]line Товар: 5449000054227 [08:40:33]line Напиток Кока-Кола 1л [08:40:33]line 1.000 * 113.00 [08:40:33]line = 113.00 [08:40:33]line НДС 12% НСП 1% [08:40:33]line > о реализуемом товаре [08:40:33]line Товар: 4870002328602 [08:40:33]line Напиток DADA ап,лемонграс ПЭТ 1л [08:40:33]line 1.000 * 165.00 [08:40:33]line = 165.00 [08:40:33]line НДС 12% НСП 1% [08:40:33]line > о реализуемом товаре [08:40:33]line ИТОГО: 278.00 [08:40:33]line НСП 1% : 2.46 [08:40:33]line НДС 12% : 29.52 [08:40:33]line Наличными: 278.00 [08:40:33]line Безнал.: 0.00 [08:40:33]line Место: АЗС № 76 "Партнер Нефть" [08:40:33]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:40:33]line СНО: Общий режим [08:40:33]line Чек 21 15.06.2024 08:40 [08:40:33]line Смена: 326 ФФД: 1.0 [08:40:33]line ЗНМ: 0300000200 [08:40:33]line РНМ: 0000000000099755 [08:40:33]line Версия ККМ: 001 [08:40:33]line ФМ: 0000000000965344 [08:40:33]line ФД: 22176 [08:40:33]line ФПД: 172596309868910 [08:40:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T084033&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22176&fm=172596309868910&tin=02508201610067®Number=0000000000099755&sum=27800 [08:40:33]line 0 [08:40:33]written 0, free lines is 4095 [08:40:33]Connected sock=10 [08:40:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A8 01 00 00 EA FC A0 01 A2 C8 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 36 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D0 B0 D0 BF 2C D0 BB D0 B5 D0 BC D0 BE D0 BD D0 B3 D1 80 D0 B0 D1 81 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 81 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A0 56 00 00 35 04 06 00 9C F9 B5 BD 41 6E 8D 99 77 B9 D7 53 85 09 [08:40:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 5F B4 47 00 3F 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A0 56 00 00 F4 03 04 00 3F FC 6C 66 B6 04 01 00 00 93 DA A1 1E 7A 8E CC F5 [08:40:34]CommunicateWithHost err = 0 [08:40:34]CheckOFDResponse [08:40:34]1017 (14) - 77093643461234 [08:40:34]1041 (16) - 0000000000965344 [08:40:34]1040 (4) - 22176 [08:40:34]1012 (4) - 15.06.2024 02:28 [08:40:34]1206 (1) - 0 [08:40:34]OFD Sender: Remove packet 22176 [08:40:34]ProducePacketName [08:40:34]name=ofd_packets/00022176 [08:40:34]NVStorageDeleteData [08:40:34]Write to MH i2c: 01 00 00 2E 06 34 [08:40:34]Write i2c OK [08:40:34]MH_I2C_Read... [08:40:34]Read from MH i2c: 01 [08:40:34]MH_I2C_Read... [08:40:34]Read from MH i2c: 01 07 00 [08:40:34]MH_I2C_Read... [08:40:34]Read from MH i2c: 01 07 00 2E 06 00 00 00 00 00 C7 0C 0E [08:40:34]RasterBufferAndPrint [08:40:34]line [08:40:34]line [08:40:34]line [08:40:34]line [08:40:34]line [08:40:34]written 0, free lines is 3280 [08:40:34]MH_Cut [08:40:34]Write to MH i2c: D1 01 00 35 06 01 0D [08:40:34]Write i2c OK [08:40:34]MH_I2C_Read... [08:40:34]Read from MH i2c: D1 [08:40:34]MH_I2C_Read... [08:40:34]Read from MH i2c: D1 01 00 [08:40:34]MH_I2C_Read... [08:40:34]Read from MH i2c: D1 01 00 35 06 00 0C [08:40:34]Write to MH i2c: 01 00 00 36 06 3C [08:40:34]Write i2c OK [08:40:34]MH_I2C_Read... [08:40:34]OFD Sender: No OFD packet to send [08:40:35]*** Cut start [08:40:35]*** Partial cut [08:40:35]*** CUTSNS_PIN = 1 [08:40:35]*** CUTSNS_PIN = 0 [08:40:35]*** Brake cut motor [08:40:35]Read from MH i2c: 01 [08:40:35]MH_I2C_Read... [08:40:35]*** Stop cut motor [08:40:35]*** Cut end [08:40:35]Read from MH i2c: 01 07 00 [08:40:35]MH_I2C_Read... [08:40:35]Read from MH i2c: 01 07 00 36 06 00 00 00 00 00 FF 0F 51 [08:40:35]process_action close_receipt done [08:40:35]requested_data is exist [08:40:35]produce_requested_data [08:40:35]requested_item fm.sn is exist - process it [08:40:35]wFMCommunicate request_size=4 [08:40:35]MH_SAM_APDU [08:40:35]CAPDU: 80 11 00 00 [08:40:35]Write to MH i2c: E2 08 00 37 06 80 11 00 00 00 00 00 00 B7 [08:40:35]Write i2c OK [08:40:35]MH_I2C_Read... [08:40:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:35]Read from MH i2c: E2 [08:40:35]MH_I2C_Read... [08:40:35]Read from MH i2c: E2 17 00 [08:40:35]MH_I2C_Read... [08:40:35]Read from MH i2c: E2 17 00 37 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 09 [08:40:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:40:35]wFMCommunicate OK [08:40:35]requested_item fd.num is exist - process it [08:40:35]SAM_PROTO_GetFieldsCounters [08:40:35]wFMCommunicate request_size=4 [08:40:35]MH_SAM_APDU [08:40:35]CAPDU: 80 13 00 00 [08:40:35]Write to MH i2c: E2 08 00 38 06 80 13 00 00 00 00 00 00 BA [08:40:35]Write i2c OK [08:40:35]MH_I2C_Read... [08:40:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:40:35]Read from MH i2c: E2 [08:40:35]MH_I2C_Read... [08:40:35]Read from MH i2c: E2 62 00 [08:40:35]MH_I2C_Read... [08:40:35]Read from MH i2c: E2 62 00 38 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A0 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 60 [08:40:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A0 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:40:35]wFMCommunicate OK [08:40:35]SAM_PROTO_GetFieldsCounters done [08:40:35]requested_item shift.num is exist - process it [08:40:35]requested_item shift.opened is exist - process it [08:40:35]req_shift_opened [08:40:35]FM_GetShiftState [08:40:35]SAM_PROTO_GetShiftState [08:40:35]wFMCommunicate request_size=4 [08:40:35]MH_SAM_APDU [08:40:35]CAPDU: 80 13 01 00 [08:40:35]Write to MH i2c: E2 08 00 39 06 80 13 01 00 00 00 00 00 BC [08:40:35]Write i2c OK [08:40:35]MH_I2C_Read... [08:40:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:35]Read from MH i2c: E2 [08:40:35]MH_I2C_Read... [08:40:35]Read from MH i2c: E2 0E 00 [08:40:35]MH_I2C_Read... [08:40:35]Read from MH i2c: E2 0E 00 39 06 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 90 [08:40:35]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:40:35]wFMCommunicate OK [08:40:35]SAM_PROTO_GetShiftState done [08:40:35]FM_GetShiftState done [08:40:35]req_shift_opened done [08:40:35]requested_item shift.open_date is exist - process it [08:40:35]req_shift_open_date [08:40:35]req_shift_open_date done [08:40:35]produce_requested_data done [08:40:35]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22176,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [08:40:35]process_action_free close_receipt [08:40:35]json_value_free [08:40:35]json_value_free done [08:40:35]process_json_proto returns [08:40:35]Send response to host [08:40:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22176,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [08:40:35]free response buf [08:40:35]execute_script done [08:40:35]execute_script returns [08:40:35]free content buf [08:40:35]Sock 9.Close socket [08:40:35]Sock 9.Thread stoped [08:40:39]OFD Sender: No OFD packet to send [08:40:44]OFD Sender: No OFD packet to send [08:40:46]accept exits with 8 [08:40:46]New connection [08:40:46]New thread 3066695012 created [08:40:46]Thread 3066838372 joined [08:40:46]Waiting for new connection... [08:40:46] Sock 8.Parse request [08:40:46]Sock 8.Check first char [08:40:46]Sock 8.First char is OK [08:40:46]request: POST /json_proto HTTP/1.0 [08:40:46]Method: POST [08:40:46]URL: /json_proto [08:40:46]Method is POST - this is cgi request [08:40:46]url: /json_proto [08:40:46]query_string will be loaded in cgi processing [08:40:46]execute_cgi json_proto POST (null) [08:40:46]execute_cgi path=json_proto method=POST [08:40:46]POST find Content-Length [08:40:46]Host: 172.17.35.133:8080 [08:40:46]Content-Length: 591 [08:40:46]Content-Type: application/json [08:40:46] [08:40:46]POST finish read [08:40:46]Found Content-Length = 591 [08:40:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254397", "tax_sys" : 0, "items" : [ { "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:46]execute_script... [08:40:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254397", "tax_sys" : 0, "items" : [ { "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:46]POST & json_proto [08:40:46]process_json_proto [08:40:46]json parsed OK: [08:40:46]protocol is kg_v1.0 [08:40:46]action value=close_receipt [08:40:46]process_action close_receipt [08:40:46]cmd_close_receipt [08:40:46]MH_GetDate [08:40:46]Write to MH i2c: F0 00 00 3A 06 2F [08:40:46]Write i2c OK [08:40:46]MH_I2C_Read... [08:40:46]Read from MH i2c: F0 [08:40:46]MH_I2C_Read... [08:40:46]Read from MH i2c: F0 09 00 [08:40:46]MH_I2C_Read... [08:40:46]Read from MH i2c: F0 09 00 3A 06 00 90 53 6D 66 8C 55 28 65 5C [08:40:46]GetLastDocTimeStamp 1718440833 [08:40:46]current date 1718440848 [08:40:46]FM_GetShiftState [08:40:46]SAM_PROTO_GetShiftState [08:40:46]wFMCommunicate request_size=4 [08:40:46]MH_SAM_APDU [08:40:46]CAPDU: 80 13 01 00 [08:40:46]Write to MH i2c: E2 08 00 3B 06 80 13 01 00 00 00 00 00 BE [08:40:46]Write i2c OK [08:40:46]MH_I2C_Read... [08:40:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:46]Read from MH i2c: E2 [08:40:46]MH_I2C_Read... [08:40:46]Read from MH i2c: E2 0E 00 [08:40:46]MH_I2C_Read... [08:40:46]Read from MH i2c: E2 0E 00 3B 06 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 92 [08:40:46]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:40:46]wFMCommunicate OK [08:40:46]SAM_PROTO_GetShiftState done [08:40:46]FM_GetShiftState done [08:40:46]opened in 1718410776 [08:40:46]opened+sec_in_day 1718497176 [08:40:46]quantity*price = 4500 [08:40:46]sum+1 = 4501 [08:40:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 22 15.06.2024 08:40 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22177 ФПД: 60616801875105 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T084048&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22177&fm=60616801875105&tin=02508201610067®Number=0000000000099755&sum=4500 0 [08:40:47]StoreToDocumentArchive [08:40:47]shift 326 fd 22177 [08:40:47]save to /storage/0326/doc_00022177 [08:40:47]save last doc name /storage/0326/doc_00022177 to /storage/kkm_last_doc_name [08:40:47]save OK [08:40:47]Clear old archive folders... [08:40:47]ProcessDocumentItem done err = 0, tmpTLVsize=266 [08:40:47]tlvbuf is 001B2E90 [08:40:47]SAM_PROTO_ClearQueue [08:40:47]wFMCommunicate request_size=4 [08:40:47]MH_SAM_APDU [08:40:47]CAPDU: 80 09 00 00 [08:40:47]Write to MH i2c: E2 08 00 48 06 80 09 00 00 00 00 00 00 C0 [08:40:47]Write i2c OK [08:40:47]MH_I2C_Read... [08:40:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:40:47]Read from MH i2c: E2 [08:40:47]MH_I2C_Read... [08:40:47]Read from MH i2c: E2 03 00 [08:40:47]MH_I2C_Read... [08:40:47]Read from MH i2c: E2 03 00 48 06 00 90 00 C2 [08:40:47]RAPDU: 90 00 [08:40:47]wFMCommunicate OK [08:40:47]SAM_PROTO_ClearQueue done [08:40:47]KKMCreateOFDPacket [08:40:47]OFDProtocolAddRootSTLVToBuf [08:40:47]FM_MakeSignedData [08:40:47]FM_MakeSignedData [08:40:47]SAM_PROTO_SignData [08:40:47]wFMCommunicate request_size=4 [08:40:47]MH_SAM_APDU [08:40:47]CAPDU: 80 0D 01 02 [08:40:47]Write to MH i2c: E2 08 00 49 06 80 0D 01 02 00 00 00 00 C8 [08:40:47]Write i2c OK [08:40:47]MH_I2C_Read... [08:40:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:40:47]Read from MH i2c: E2 [08:40:47]MH_I2C_Read... [08:40:47]Read from MH i2c: E2 03 00 [08:40:47]MH_I2C_Read... [08:40:47]Read from MH i2c: E2 03 00 49 06 00 90 00 C3 [08:40:47]RAPDU: 90 00 [08:40:47]wFMCommunicate OK [08:40:47]wFMCommunicate request_size=255 [08:40:47]MH_SAM_APDU [08:40:47]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 90 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 [08:40:47]Write to MH i2c: E2 02 01 4A 06 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 90 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 00 00 E7 [08:40:47]Write i2c OK [08:40:47]MH_I2C_Read... [08:40:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:48]Read from MH i2c: E2 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 03 00 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 03 00 4A 06 00 90 00 C4 [08:40:48]RAPDU: 90 00 [08:40:48]wFMCommunicate OK [08:40:48]wFMCommunicate request_size=25 [08:40:48]MH_SAM_APDU [08:40:48]CAPDU: 80 0D 02 02 14 34 34 10 04 04 00 A1 56 00 00 35 04 06 00 37 21 72 F1 74 A1 [08:40:48]Write to MH i2c: E2 1C 00 4B 06 80 0D 02 02 14 00 34 34 10 04 04 00 A1 56 00 00 35 04 06 00 37 21 72 F1 74 A1 00 00 79 [08:40:48]Write i2c OK [08:40:48]MH_I2C_Read... [08:40:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:48]Read from MH i2c: E2 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 03 00 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 03 00 4B 06 00 90 00 C5 [08:40:48]RAPDU: 90 00 [08:40:48]wFMCommunicate OK [08:40:48]wFMCommunicate request_size=4 [08:40:48]MH_SAM_APDU [08:40:48]CAPDU: 80 0D 03 02 [08:40:48]Write to MH i2c: E2 08 00 4C 06 80 0D 03 02 00 00 00 00 CD [08:40:48]Write i2c OK [08:40:48]MH_I2C_Read... [08:40:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:40:48]Read from MH i2c: E2 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 0B 00 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 0B 00 4C 06 00 2B 3C 8F 39 8E 80 98 FB 90 00 9E [08:40:48]RAPDU: 2B 3C 8F 39 8E 80 98 FB 90 00 [08:40:48]wFMCommunicate OK [08:40:48]SAM_PROTO_SignData done [08:40:48]FM_MakeSignedData done [08:40:48]CreateOFDProtocolMessage [08:40:48]wFMCommunicate request_size=4 [08:40:48]MH_SAM_APDU [08:40:48]CAPDU: 80 11 00 00 [08:40:48]Write to MH i2c: E2 08 00 4D 06 80 11 00 00 00 00 00 00 CD [08:40:48]Write i2c OK [08:40:48]MH_I2C_Read... [08:40:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:48]Read from MH i2c: E2 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 17 00 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 17 00 4D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 1F [08:40:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:40:48]wFMCommunicate OK [08:40:48]CreateOFDProtocolMessage done [08:40:48]OFDSenderStorePacket 22177 [08:40:48]StoreOFDPacket docnum=22177 [08:40:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1E 01 00 00 6D 80 16 01 86 EB 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 90 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A1 56 00 00 35 04 06 00 37 21 72 F1 74 A1 2B 3C 8F 39 8E 80 98 FB [08:40:48]CheckFolder [08:40:48]dirname=/storage/ofd_packets [08:40:48]CheckFolder done [08:40:48]ProducePacketName [08:40:48]name=ofd_packets/00022177 [08:40:48]NVStorageSaveData ofd_packets/00022177 [08:40:48]File name is /storage/ofd_packets/00022177 [08:40:48]Write 316 bytes [08:40:48]NVStorageSaveData done [08:40:48]OFDSenderStorePacket done [08:40:48]KKMCreateOFDPacket done [08:40:48]NVStorageSaveData kkm_last_timestamp [08:40:48]File name is /storage/kkm_last_timestamp [08:40:48]Write 4 bytes [08:40:48]NVStorageSaveData done [08:40:48]ExternCall_PrintAddStr [08:40:48]wPrintStart [08:40:48]Write to MH i2c: 01 00 00 4E 06 54 [08:40:48]Write i2c OK [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: 01 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: 01 07 00 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: 01 07 00 4E 06 00 00 00 00 00 FF 0F 69 [08:40:48]RasterBufferAndPrint [08:40:48]line Счет N : (3)254397 [08:40:48]line ИНН: 02508201610067 [08:40:48]line Контрольно-Кассовый Чек [08:40:48]line ПРОДАЖА [08:40:48]line Товар: 46141538 [08:40:48]line Р/ж Orbit Bubblemint 13,6г [08:40:48]line 1.000 * 45.00 [08:40:48]line = 45.00 [08:40:48]line НДС 12% НСП 1% [08:40:48]line > о реализуемом товаре [08:40:48]line ИТОГО: 45.00 [08:40:48]line НСП 1% : 0.40 [08:40:48]line НДС 12% : 4.78 [08:40:48]line Наличными: 45.00 [08:40:48]line Безнал.: 0.00 [08:40:48]line Место: АЗС № 76 "Партнер Нефть" [08:40:48]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:40:48]line СНО: Общий режим [08:40:48]line Чек 22 15.06.2024 08:40 [08:40:48]line Смена: 326 ФФД: 1.0 [08:40:48]line ЗНМ: 0300000200 [08:40:48]line РНМ: 0000000000099755 [08:40:48]line Версия ККМ: 001 [08:40:48]line ФМ: 0000000000965344 [08:40:48]line ФД: 22177 [08:40:48]line ФПД: 60616801875105 [08:40:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T084048&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22177&fm=60616801875105&tin=02508201610067®Number=0000000000099755&sum=4500 [08:40:48]line 0 [08:40:48]OFD Sender: Processing packet 22177 [packets to send 5, broken 4] [08:40:48]ProducePacketName [08:40:48]name=ofd_packets/00022177 [08:40:48]OFD Sender: To server: pG, [08:40:48]CommunicateWithHost lk.salyk.kg:30040 [08:40:48]ConnectInit lk.salyk.kg [08:40:48]written 0, free lines is 4095 [08:40:48]Connected sock=10 [08:40:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1E 01 00 00 6D 80 16 01 86 EB 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 90 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A1 56 00 00 35 04 06 00 37 21 72 F1 74 A1 2B 3C 8F 39 8E 80 98 FB [08:40:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 DF DA 47 00 72 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A1 56 00 00 F4 03 04 00 4E FC 6C 66 B6 04 01 00 00 04 FB 09 62 AA 63 AC DF [08:40:48]CommunicateWithHost err = 0 [08:40:48]CheckOFDResponse [08:40:48]1017 (14) - 77093643461234 [08:40:48]1041 (16) - 0000000000965344 [08:40:48]1040 (4) - 22177 [08:40:48]1012 (4) - 15.06.2024 02:28 [08:40:48]1206 (1) - 0 [08:40:48]OFD Sender: Remove packet 22177 [08:40:48]ProducePacketName [08:40:48]name=ofd_packets/00022177 [08:40:48]NVStorageDeleteData [08:40:49]Write to MH i2c: 01 00 00 76 06 7C [08:40:49]Write i2c OK [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: 01 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: 01 07 00 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: 01 07 00 76 06 00 00 00 00 00 28 0D B8 [08:40:49]RasterBufferAndPrint [08:40:49]line [08:40:49]line [08:40:49]line [08:40:49]line [08:40:49]line [08:40:49]written 0, free lines is 3379 [08:40:49]MH_Cut [08:40:49]Write to MH i2c: D1 01 00 7D 06 01 55 [08:40:49]Write i2c OK [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: D1 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: D1 01 00 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: D1 01 00 7D 06 00 54 [08:40:49]Write to MH i2c: 01 00 00 7E 06 84 [08:40:49]Write i2c OK [08:40:49]MH_I2C_Read... [08:40:49]OFD Sender: No OFD packet to send [08:40:49]*** Cut start [08:40:49]*** Partial cut [08:40:49]*** CUTSNS_PIN = 1 [08:40:49]*** CUTSNS_PIN = 0 [08:40:50]*** Brake cut motor [08:40:50]Read from MH i2c: 01 [08:40:50]MH_I2C_Read... [08:40:50]*** Stop cut motor [08:40:50]*** Cut end [08:40:50]Read from MH i2c: 01 07 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: 01 07 00 7E 06 00 00 00 00 00 FF 0F 99 [08:40:50]process_action close_receipt done [08:40:50]requested_data is exist [08:40:50]produce_requested_data [08:40:50]requested_item fm.sn is exist - process it [08:40:50]wFMCommunicate request_size=4 [08:40:50]MH_SAM_APDU [08:40:50]CAPDU: 80 11 00 00 [08:40:50]Write to MH i2c: E2 08 00 7F 06 80 11 00 00 00 00 00 00 FF [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:50]Read from MH i2c: E2 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 17 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 17 00 7F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 51 [08:40:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:40:50]wFMCommunicate OK [08:40:50]requested_item fd.num is exist - process it [08:40:50]SAM_PROTO_GetFieldsCounters [08:40:50]wFMCommunicate request_size=4 [08:40:50]MH_SAM_APDU [08:40:50]CAPDU: 80 13 00 00 [08:40:50]Write to MH i2c: E2 08 00 80 06 80 13 00 00 00 00 00 00 02 [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:40:50]Read from MH i2c: E2 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 62 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 62 00 80 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A1 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [08:40:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A1 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:40:50]wFMCommunicate OK [08:40:50]SAM_PROTO_GetFieldsCounters done [08:40:50]requested_item shift.num is exist - process it [08:40:50]requested_item shift.opened is exist - process it [08:40:50]req_shift_opened [08:40:50]FM_GetShiftState [08:40:50]SAM_PROTO_GetShiftState [08:40:50]wFMCommunicate request_size=4 [08:40:50]MH_SAM_APDU [08:40:50]CAPDU: 80 13 01 00 [08:40:50]Write to MH i2c: E2 08 00 81 06 80 13 01 00 00 00 00 00 04 [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:50]Read from MH i2c: E2 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 0E 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 0E 00 81 06 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 D8 [08:40:50]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:40:50]wFMCommunicate OK [08:40:50]SAM_PROTO_GetShiftState done [08:40:50]FM_GetShiftState done [08:40:50]req_shift_opened done [08:40:50]requested_item shift.open_date is exist - process it [08:40:50]req_shift_open_date [08:40:50]req_shift_open_date done [08:40:50]produce_requested_data done [08:40:50]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22177,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [08:40:50]process_action_free close_receipt [08:40:50]json_value_free [08:40:50]json_value_free done [08:40:50]process_json_proto returns [08:40:50]Send response to host [08:40:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22177,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [08:40:50]free response buf [08:40:50]execute_script done [08:40:50]execute_script returns [08:40:50]free content buf [08:40:50]Sock 8.Close socket [08:40:50]Sock 8.Thread stoped [08:40:54]OFD Sender: No OFD packet to send [08:40:59]OFD Sender: No OFD packet to send [08:41:04]OFD Sender: No OFD packet to send [08:41:09]OFD Sender: No OFD packet to send [08:41:14]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:24]OFD Sender: No OFD packet to send [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:16]accept exits with 9 [08:42:16]New connection [08:42:16]New thread 3066838372 created [08:42:16]Thread 3066695012 joined [08:42:16]Waiting for new connection... [08:42:16] Sock 9.Parse request [08:42:16]Sock 9.Check first char [08:42:16]Sock 9.First char is OK [08:42:16]request: POST /json_proto HTTP/1.0 [08:42:16]Method: POST [08:42:16]URL: /json_proto [08:42:16]Method is POST - this is cgi request [08:42:16]url: /json_proto [08:42:16]query_string will be loaded in cgi processing [08:42:16]execute_cgi json_proto POST (null) [08:42:16]execute_cgi path=json_proto method=POST [08:42:16]POST find Content-Length [08:42:16]Host: 172.17.35.133:8080 [08:42:16]Content-Length: 662 [08:42:16]Content-Type: application/json [08:42:16] [08:42:16]POST finish read [08:42:16]Found Content-Length = 662 [08:42:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254398", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:16]execute_script... [08:42:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254398", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:16]POST & json_proto [08:42:16]process_json_proto [08:42:16]json parsed OK: [08:42:16]protocol is kg_v1.0 [08:42:16]action value=close_receipt [08:42:16]process_action close_receipt [08:42:16]cmd_close_receipt [08:42:16]MH_GetDate [08:42:16]Write to MH i2c: F0 00 00 82 06 77 [08:42:16]Write i2c OK [08:42:16]MH_I2C_Read... [08:42:16]Read from MH i2c: F0 [08:42:16]MH_I2C_Read... [08:42:16]Read from MH i2c: F0 09 00 [08:42:16]MH_I2C_Read... [08:42:16]Read from MH i2c: F0 09 00 82 06 00 EA 53 6D 66 8C 55 28 65 FE [08:42:16]GetLastDocTimeStamp 1718440848 [08:42:16]current date 1718440938 [08:42:16]FM_GetShiftState [08:42:16]SAM_PROTO_GetShiftState [08:42:16]wFMCommunicate request_size=4 [08:42:16]MH_SAM_APDU [08:42:16]CAPDU: 80 13 01 00 [08:42:16]Write to MH i2c: E2 08 00 83 06 80 13 01 00 00 00 00 00 06 [08:42:16]Write i2c OK [08:42:16]MH_I2C_Read... [08:42:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:16]Read from MH i2c: E2 [08:42:16]MH_I2C_Read... [08:42:16]Read from MH i2c: E2 0E 00 [08:42:16]MH_I2C_Read... [08:42:16]Read from MH i2c: E2 0E 00 83 06 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 DA [08:42:16]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:42:16]wFMCommunicate OK [08:42:16]SAM_PROTO_GetShiftState done [08:42:16]FM_GetShiftState done [08:42:16]opened in 1718410776 [08:42:16]opened+sec_in_day 1718497176 [08:42:16]quantity*price = 9500 [08:42:16]sum+1 = 9501 [08:42:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 23 15.06.2024 08:42 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22178 ФПД: 221195525272224 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T084218&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22178&fm=221195525272224&tin=02508201610067®Number=0000000000099755&sum=9500 0 [08:42:17]StoreToDocumentArchive [08:42:17]shift 326 fd 22178 [08:42:17]save to /storage/0326/doc_00022178 [08:42:17]save last doc name /storage/0326/doc_00022178 to /storage/kkm_last_doc_name [08:42:17]save OK [08:42:17]Clear old archive folders... [08:42:17]ProcessDocumentItem done err = 0, tmpTLVsize=289 [08:42:17]tlvbuf is 001D5F30 [08:42:17]SAM_PROTO_ClearQueue [08:42:17]wFMCommunicate request_size=4 [08:42:17]MH_SAM_APDU [08:42:17]CAPDU: 80 09 00 00 [08:42:17]Write to MH i2c: E2 08 00 90 06 80 09 00 00 00 00 00 00 08 [08:42:17]Write i2c OK [08:42:17]MH_I2C_Read... [08:42:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:42:17]Read from MH i2c: E2 [08:42:17]MH_I2C_Read... [08:42:17]Read from MH i2c: E2 03 00 [08:42:17]MH_I2C_Read... [08:42:17]Read from MH i2c: E2 03 00 90 06 00 90 00 0A [08:42:17]RAPDU: 90 00 [08:42:17]wFMCommunicate OK [08:42:17]SAM_PROTO_ClearQueue done [08:42:17]KKMCreateOFDPacket [08:42:17]OFDProtocolAddRootSTLVToBuf [08:42:17]FM_MakeSignedData [08:42:17]FM_MakeSignedData [08:42:17]SAM_PROTO_SignData [08:42:17]wFMCommunicate request_size=4 [08:42:17]MH_SAM_APDU [08:42:17]CAPDU: 80 0D 01 02 [08:42:17]Write to MH i2c: E2 08 00 91 06 80 0D 01 02 00 00 00 00 10 [08:42:17]Write i2c OK [08:42:17]MH_I2C_Read... [08:42:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:42:18]Read from MH i2c: E2 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 91 06 00 90 00 0B [08:42:18]RAPDU: 90 00 [08:42:18]wFMCommunicate OK [08:42:18]wFMCommunicate request_size=255 [08:42:18]MH_SAM_APDU [08:42:18]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 EA 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [08:42:18]Write to MH i2c: E2 02 01 92 06 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 EA 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 00 00 EE [08:42:18]Write i2c OK [08:42:18]MH_I2C_Read... [08:42:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:18]Read from MH i2c: E2 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 92 06 00 90 00 0C [08:42:18]RAPDU: 90 00 [08:42:18]wFMCommunicate OK [08:42:18]wFMCommunicate request_size=48 [08:42:18]MH_SAM_APDU [08:42:18]CAPDU: 80 0D 02 02 2B 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A2 56 00 00 35 04 06 00 C9 2D 18 B5 B2 A0 [08:42:18]Write to MH i2c: E2 33 00 93 06 80 0D 02 02 2B 00 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A2 56 00 00 35 04 06 00 C9 2D 18 B5 B2 A0 00 00 24 [08:42:18]Write i2c OK [08:42:18]MH_I2C_Read... [08:42:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:18]Read from MH i2c: E2 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 93 06 00 90 00 0D [08:42:18]RAPDU: 90 00 [08:42:18]wFMCommunicate OK [08:42:18]wFMCommunicate request_size=4 [08:42:18]MH_SAM_APDU [08:42:18]CAPDU: 80 0D 03 02 [08:42:18]Write to MH i2c: E2 08 00 94 06 80 0D 03 02 00 00 00 00 15 [08:42:18]Write i2c OK [08:42:18]MH_I2C_Read... [08:42:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:42:18]Read from MH i2c: E2 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 0B 00 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 0B 00 94 06 00 2C FE 61 5F DC 7B B5 AB 90 00 B7 [08:42:18]RAPDU: 2C FE 61 5F DC 7B B5 AB 90 00 [08:42:18]wFMCommunicate OK [08:42:18]SAM_PROTO_SignData done [08:42:18]FM_MakeSignedData done [08:42:18]CreateOFDProtocolMessage [08:42:18]wFMCommunicate request_size=4 [08:42:18]MH_SAM_APDU [08:42:18]CAPDU: 80 11 00 00 [08:42:18]Write to MH i2c: E2 08 00 95 06 80 11 00 00 00 00 00 00 15 [08:42:18]Write i2c OK [08:42:18]MH_I2C_Read... [08:42:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:18]Read from MH i2c: E2 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 17 00 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 17 00 95 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 67 [08:42:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:42:18]wFMCommunicate OK [08:42:18]CreateOFDProtocolMessage done [08:42:18]OFDSenderStorePacket 22178 [08:42:18]StoreOFDPacket docnum=22178 [08:42:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 01 00 00 17 81 2D 01 83 36 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 EA 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A2 56 00 00 35 04 06 00 C9 2D 18 B5 B2 A0 2C FE 61 5F DC 7B B5 AB [08:42:18]CheckFolder [08:42:18]dirname=/storage/ofd_packets [08:42:18]CheckFolder done [08:42:18]ProducePacketName [08:42:18]name=ofd_packets/00022178 [08:42:18]NVStorageSaveData ofd_packets/00022178 [08:42:18]File name is /storage/ofd_packets/00022178 [08:42:18]Write 339 bytes [08:42:18]NVStorageSaveData done [08:42:18]OFDSenderStorePacket done [08:42:18]KKMCreateOFDPacket done [08:42:18]NVStorageSaveData kkm_last_timestamp [08:42:18]File name is /storage/kkm_last_timestamp [08:42:18]Write 4 bytes [08:42:18]NVStorageSaveData done [08:42:18]OFD Sender: Processing packet 22178 [packets to send 5, broken 4] [08:42:18]ProducePacketName [08:42:18]name=ofd_packets/00022178 [08:42:18]OFD Sender: To server: pG, [08:42:18]CommunicateWithHost lk.salyk.kg:30040 [08:42:18]ConnectInit lk.salyk.kg [08:42:18]ExternCall_PrintAddStr [08:42:18]wPrintStart [08:42:18]Write to MH i2c: 01 00 00 96 06 9C [08:42:18]Write i2c OK [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: 01 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: 01 07 00 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: 01 07 00 96 06 00 00 00 00 00 FF 0F B1 [08:42:18]RasterBufferAndPrint [08:42:18]line Счет N : (3)254398 [08:42:18]line ИНН: 02508201610067 [08:42:18]line Контрольно-Кассовый Чек [08:42:18]line ПРОДАЖА [08:42:18]line Товар: 5449000176431 [08:42:18]line Сок Piko Pulpy апельсин ПЭТ 0,5л [08:42:18]line 1.000 * 95.00 [08:42:18]line = 95.00 [08:42:18]line НДС 12% НСП 1% [08:42:18]line > о реализуемом товаре [08:42:18]line ИТОГО: 95.00 [08:42:18]line НСП 1% : 0.84 [08:42:18]line НДС 12% : 10.09 [08:42:18]line Наличными: 95.00 [08:42:18]line Безнал.: 0.00 [08:42:18]line Место: АЗС № 76 "Партнер Нефть" [08:42:18]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:42:18]line СНО: Общий режим [08:42:18]line Чек 23 15.06.2024 08:42 [08:42:18]line Смена: 326 ФФД: 1.0 [08:42:18]line ЗНМ: 0300000200 [08:42:18]line РНМ: 0000000000099755 [08:42:18]line Версия ККМ: 001 [08:42:18]line ФМ: 0000000000965344 [08:42:18]line ФД: 22178 [08:42:18]line ФПД: 221195525272224 [08:42:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T084218&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22178&fm=221195525272224&tin=02508201610067®Number=0000000000099755&sum=9500 [08:42:18]line 0 [08:42:18]Connected sock=11 [08:42:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 01 00 00 17 81 2D 01 83 36 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 EA 53 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A2 56 00 00 35 04 06 00 C9 2D 18 B5 B2 A0 2C FE 61 5F DC 7B B5 AB [08:42:18]written 0, free lines is 4095 [08:42:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 13 5D 47 00 03 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A2 56 00 00 F4 03 04 00 A8 FC 6C 66 B6 04 01 00 00 EF 2D D9 6B 75 59 31 9F [08:42:19]CommunicateWithHost err = 0 [08:42:19]CheckOFDResponse [08:42:19]1017 (14) - 77093643461234 [08:42:19]1041 (16) - 0000000000965344 [08:42:19]1040 (4) - 22178 [08:42:19]1012 (4) - 15.06.2024 02:30 [08:42:19]1206 (1) - 0 [08:42:19]OFD Sender: Remove packet 22178 [08:42:19]ProducePacketName [08:42:19]name=ofd_packets/00022178 [08:42:19]NVStorageDeleteData [08:42:19]Write to MH i2c: 01 00 00 BF 06 C5 [08:42:19]Write i2c OK [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: 01 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: 01 07 00 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: 01 07 00 BF 06 00 00 00 00 00 09 0D E2 [08:42:19]RasterBufferAndPrint [08:42:19]line [08:42:19]line [08:42:19]line [08:42:19]line [08:42:19]line [08:42:19]written 0, free lines is 3343 [08:42:19]MH_Cut [08:42:19]Write to MH i2c: D1 01 00 C6 06 01 9E [08:42:19]Write i2c OK [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: D1 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: D1 01 00 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: D1 01 00 C6 06 00 9D [08:42:19]Write to MH i2c: 01 00 00 C7 06 CD [08:42:19]Write i2c OK [08:42:19]MH_I2C_Read... [08:42:19]OFD Sender: No OFD packet to send [08:42:19]*** Cut start [08:42:19]*** Partial cut [08:42:19]*** CUTSNS_PIN = 1 [08:42:20]*** CUTSNS_PIN = 0 [08:42:20]*** Brake cut motor [08:42:20]Read from MH i2c: 01 [08:42:20]MH_I2C_Read... [08:42:20]*** Stop cut motor [08:42:20]*** Cut end [08:42:20]Read from MH i2c: 01 07 00 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: 01 07 00 C7 06 00 00 00 00 00 FF 0F E2 [08:42:20]process_action close_receipt done [08:42:20]requested_data is exist [08:42:20]produce_requested_data [08:42:20]requested_item fm.sn is exist - process it [08:42:20]wFMCommunicate request_size=4 [08:42:20]MH_SAM_APDU [08:42:20]CAPDU: 80 11 00 00 [08:42:20]Write to MH i2c: E2 08 00 C8 06 80 11 00 00 00 00 00 00 48 [08:42:20]Write i2c OK [08:42:20]MH_I2C_Read... [08:42:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:20]Read from MH i2c: E2 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: E2 17 00 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: E2 17 00 C8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 9A [08:42:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:42:20]wFMCommunicate OK [08:42:20]requested_item fd.num is exist - process it [08:42:20]SAM_PROTO_GetFieldsCounters [08:42:20]wFMCommunicate request_size=4 [08:42:20]MH_SAM_APDU [08:42:20]CAPDU: 80 13 00 00 [08:42:20]Write to MH i2c: E2 08 00 C9 06 80 13 00 00 00 00 00 00 4B [08:42:20]Write i2c OK [08:42:20]MH_I2C_Read... [08:42:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:42:20]Read from MH i2c: E2 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: E2 62 00 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: E2 62 00 C9 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A2 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [08:42:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A2 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:42:20]wFMCommunicate OK [08:42:20]SAM_PROTO_GetFieldsCounters done [08:42:20]requested_item shift.num is exist - process it [08:42:20]requested_item shift.opened is exist - process it [08:42:20]req_shift_opened [08:42:20]FM_GetShiftState [08:42:20]SAM_PROTO_GetShiftState [08:42:20]wFMCommunicate request_size=4 [08:42:20]MH_SAM_APDU [08:42:20]CAPDU: 80 13 01 00 [08:42:20]Write to MH i2c: E2 08 00 CA 06 80 13 01 00 00 00 00 00 4D [08:42:20]Write i2c OK [08:42:20]MH_I2C_Read... [08:42:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:20]Read from MH i2c: E2 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: E2 0E 00 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: E2 0E 00 CA 06 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 21 [08:42:20]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [08:42:20]wFMCommunicate OK [08:42:20]SAM_PROTO_GetShiftState done [08:42:20]FM_GetShiftState done [08:42:20]req_shift_opened done [08:42:20]requested_item shift.open_date is exist - process it [08:42:20]req_shift_open_date [08:42:20]req_shift_open_date done [08:42:20]produce_requested_data done [08:42:20]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22178,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [08:42:20]process_action_free close_receipt [08:42:20]json_value_free [08:42:20]json_value_free done [08:42:20]process_json_proto returns [08:42:20]Send response to host [08:42:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22178,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [08:42:20]free response buf [08:42:20]execute_script done [08:42:20]execute_script returns [08:42:20]free content buf [08:42:20]Sock 9.Close socket [08:42:20]Sock 9.Thread stoped [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:09]OFD Sender: No OFD packet to send [08:43:14]OFD Sender: No OFD packet to send [08:43:19]OFD Sender: No OFD packet to send [08:43:24]OFD Sender: No OFD packet to send [08:43:29]OFD Sender: No OFD packet to send [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:50]OFD Sender: No OFD packet to send [08:51:55]OFD Sender: No OFD packet to send [08:52:00]OFD Sender: No OFD packet to send [08:52:05]OFD Sender: No OFD packet to send [08:52:10]OFD Sender: No OFD packet to send [08:52:15]OFD Sender: No OFD packet to send [08:52:20]OFD Sender: No OFD packet to send [08:52:25]OFD Sender: No OFD packet to send [08:52:30]OFD Sender: No OFD packet to send [08:52:35]OFD Sender: No OFD packet to send [08:52:40]OFD Sender: No OFD packet to send [08:52:45]OFD Sender: No OFD packet to send [08:52:50]OFD Sender: No OFD packet to send [08:52:55]OFD Sender: No OFD packet to send [08:53:00]OFD Sender: No OFD packet to send [08:53:05]OFD Sender: No OFD packet to send [08:53:10]OFD Sender: No OFD packet to send [08:53:15]OFD Sender: No OFD packet to send [08:53:20]OFD Sender: No OFD packet to send [08:53:25]OFD Sender: No OFD packet to send [08:53:30]OFD Sender: No OFD packet to send [08:53:35]OFD Sender: No OFD packet to send [08:53:40]OFD Sender: No OFD packet to send [08:53:45]OFD Sender: No OFD packet to send [08:53:50]OFD Sender: No OFD packet to send [08:53:55]OFD Sender: No OFD packet to send [08:54:00]OFD Sender: No OFD packet to send [08:54:05]OFD Sender: No OFD packet to send [08:54:10]OFD Sender: No OFD packet to send [08:54:15]OFD Sender: No OFD packet to send [08:54:20]OFD Sender: No OFD packet to send [08:54:25]OFD Sender: No OFD packet to send [08:54:30]OFD Sender: No OFD packet to send [08:54:35]OFD Sender: No OFD packet to send [08:54:40]OFD Sender: No OFD packet to send [08:54:45]OFD Sender: No OFD packet to send [08:54:50]OFD Sender: No OFD packet to send [08:54:55]OFD Sender: No OFD packet to send [08:55:00]OFD Sender: No OFD packet to send [08:55:05]OFD Sender: No OFD packet to send [08:55:10]OFD Sender: No OFD packet to send [08:55:15]OFD Sender: No OFD packet to send [08:55:20]OFD Sender: No OFD packet to send [08:55:25]OFD Sender: No OFD packet to send [08:55:30]OFD Sender: No OFD packet to send [08:55:35]OFD Sender: No OFD packet to send [08:55:40]OFD Sender: No OFD packet to send [08:55:45]OFD Sender: No OFD packet to send [08:55:50]OFD Sender: No OFD packet to send [08:55:55]OFD Sender: No OFD packet to send [08:56:00]OFD Sender: No OFD packet to send [08:56:05]OFD Sender: No OFD packet to send [08:56:10]OFD Sender: No OFD packet to send [08:56:15]OFD Sender: No OFD packet to send [08:56:20]OFD Sender: No OFD packet to send [08:56:25]OFD Sender: No OFD packet to send [08:56:30]OFD Sender: No OFD packet to send [08:56:35]OFD Sender: No OFD packet to send [08:56:40]OFD Sender: No OFD packet to send [08:56:45]OFD Sender: No OFD packet to send [08:56:50]OFD Sender: No OFD packet to send [08:56:55]OFD Sender: No OFD packet to send [08:57:00]OFD Sender: No OFD packet to send [08:57:05]OFD Sender: No OFD packet to send [08:57:10]OFD Sender: No OFD packet to send [08:57:15]OFD Sender: No OFD packet to send [08:57:20]OFD Sender: No OFD packet to send [08:57:25]OFD Sender: No OFD packet to send [08:57:30]OFD Sender: No OFD packet to send [08:57:35]OFD Sender: No OFD packet to send [08:57:40]OFD Sender: No OFD packet to send [08:57:45]OFD Sender: No OFD packet to send [08:57:50]OFD Sender: No OFD packet to send [08:57:55]OFD Sender: No OFD packet to send [08:58:00]OFD Sender: No OFD packet to send [08:58:05]OFD Sender: No OFD packet to send [08:58:10]OFD Sender: No OFD packet to send [08:58:15]OFD Sender: No OFD packet to send [08:58:20]OFD Sender: No OFD packet to send [08:58:25]OFD Sender: No OFD packet to send [08:58:30]OFD Sender: No OFD packet to send [08:58:35]OFD Sender: No OFD packet to send [08:58:40]OFD Sender: No OFD packet to send [08:58:45]OFD Sender: No OFD packet to send [08:58:50]OFD Sender: No OFD packet to send [08:58:55]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:26]OFD Sender: No OFD packet to send [09:13:31]OFD Sender: No OFD packet to send [09:13:36]OFD Sender: No OFD packet to send [09:13:41]OFD Sender: No OFD packet to send [09:13:46]OFD Sender: No OFD packet to send [09:13:51]OFD Sender: No OFD packet to send [09:13:56]OFD Sender: No OFD packet to send [09:14:01]OFD Sender: No OFD packet to send [09:14:06]OFD Sender: No OFD packet to send [09:14:11]OFD Sender: No OFD packet to send [09:14:16]OFD Sender: No OFD packet to send [09:14:21]OFD Sender: No OFD packet to send [09:14:26]OFD Sender: No OFD packet to send [09:14:31]OFD Sender: No OFD packet to send [09:14:36]OFD Sender: No OFD packet to send [09:14:41]OFD Sender: No OFD packet to send [09:14:46]OFD Sender: No OFD packet to send [09:14:51]OFD Sender: No OFD packet to send [09:14:56]OFD Sender: No OFD packet to send [09:15:01]OFD Sender: No OFD packet to send [09:15:06]OFD Sender: No OFD packet to send [09:15:11]OFD Sender: No OFD packet to send [09:15:16]OFD Sender: No OFD packet to send [09:15:21]OFD Sender: No OFD packet to send [09:15:26]OFD Sender: No OFD packet to send [09:15:31]OFD Sender: No OFD packet to send [09:15:36]OFD Sender: No OFD packet to send [09:15:41]OFD Sender: No OFD packet to send [09:15:46]OFD Sender: No OFD packet to send [09:15:51]OFD Sender: No OFD packet to send [09:15:56]OFD Sender: No OFD packet to send [09:16:01]OFD Sender: No OFD packet to send [09:16:06]OFD Sender: No OFD packet to send [09:16:11]OFD Sender: No OFD packet to send [09:16:16]OFD Sender: No OFD packet to send [09:16:21]OFD Sender: No OFD packet to send [09:16:26]OFD Sender: No OFD packet to send [09:16:31]OFD Sender: No OFD packet to send [09:16:36]OFD Sender: No OFD packet to send [09:16:41]OFD Sender: No OFD packet to send [09:16:46]OFD Sender: No OFD packet to send [09:16:51]OFD Sender: No OFD packet to send [09:16:56]OFD Sender: No OFD packet to send [09:17:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:21]OFD Sender: No OFD packet to send [09:18:26]OFD Sender: No OFD packet to send [09:18:31]OFD Sender: No OFD packet to send [09:18:36]OFD Sender: No OFD packet to send [09:18:41]OFD Sender: No OFD packet to send [09:18:46]OFD Sender: No OFD packet to send [09:18:51]OFD Sender: No OFD packet to send [09:18:56]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:11]OFD Sender: No OFD packet to send [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:06]OFD Sender: No OFD packet to send [09:21:11]OFD Sender: No OFD packet to send [09:21:16]OFD Sender: No OFD packet to send [09:21:21]OFD Sender: No OFD packet to send [09:21:26]OFD Sender: No OFD packet to send [09:21:31]OFD Sender: No OFD packet to send [09:21:36]OFD Sender: No OFD packet to send [09:21:41]OFD Sender: No OFD packet to send [09:21:46]OFD Sender: No OFD packet to send [09:21:51]OFD Sender: No OFD packet to send [09:21:56]OFD Sender: No OFD packet to send [09:22:01]OFD Sender: No OFD packet to send [09:22:06]OFD Sender: No OFD packet to send [09:22:11]OFD Sender: No OFD packet to send [09:22:16]OFD Sender: No OFD packet to send [09:22:21]OFD Sender: No OFD packet to send [09:22:26]OFD Sender: No OFD packet to send [09:22:31]OFD Sender: No OFD packet to send [09:22:36]OFD Sender: No OFD packet to send [09:22:41]OFD Sender: No OFD packet to send [09:22:46]OFD Sender: No OFD packet to send [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:36]OFD Sender: No OFD packet to send [09:23:41]OFD Sender: No OFD packet to send [09:23:46]OFD Sender: No OFD packet to send [09:23:51]OFD Sender: No OFD packet to send [09:23:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:57]OFD Sender: No OFD packet to send [09:39:02]OFD Sender: No OFD packet to send [09:39:07]OFD Sender: No OFD packet to send [09:39:12]OFD Sender: No OFD packet to send [09:39:17]OFD Sender: No OFD packet to send [09:39:22]OFD Sender: No OFD packet to send [09:39:27]OFD Sender: No OFD packet to send [09:39:32]OFD Sender: No OFD packet to send [09:39:37]OFD Sender: No OFD packet to send [09:39:42]OFD Sender: No OFD packet to send [09:39:47]OFD Sender: No OFD packet to send [09:39:52]OFD Sender: No OFD packet to send [09:39:57]OFD Sender: No OFD packet to send [09:40:02]OFD Sender: No OFD packet to send [09:40:07]OFD Sender: No OFD packet to send [09:40:12]OFD Sender: No OFD packet to send [09:40:17]OFD Sender: No OFD packet to send [09:40:22]OFD Sender: No OFD packet to send [09:40:27]OFD Sender: No OFD packet to send [09:40:32]OFD Sender: No OFD packet to send [09:40:37]OFD Sender: No OFD packet to send [09:40:42]OFD Sender: No OFD packet to send [09:40:47]OFD Sender: No OFD packet to send [09:40:52]OFD Sender: No OFD packet to send [09:40:57]OFD Sender: No OFD packet to send [09:41:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:07]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:37]OFD Sender: No OFD packet to send [09:44:42]OFD Sender: No OFD packet to send [09:44:47]OFD Sender: No OFD packet to send [09:44:52]OFD Sender: No OFD packet to send [09:44:57]OFD Sender: No OFD packet to send [09:45:02]OFD Sender: No OFD packet to send [09:45:07]OFD Sender: No OFD packet to send [09:45:12]OFD Sender: No OFD packet to send [09:45:17]OFD Sender: No OFD packet to send [09:45:22]OFD Sender: No OFD packet to send [09:45:27]OFD Sender: No OFD packet to send [09:45:32]OFD Sender: No OFD packet to send [09:45:37]OFD Sender: No OFD packet to send [09:45:42]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:07]OFD Sender: No OFD packet to send [09:46:12]OFD Sender: No OFD packet to send [09:46:17]OFD Sender: No OFD packet to send [09:46:22]OFD Sender: No OFD packet to send [09:46:27]OFD Sender: No OFD packet to send [09:46:32]OFD Sender: No OFD packet to send [09:46:37]OFD Sender: No OFD packet to send [09:46:42]OFD Sender: No OFD packet to send [09:46:47]OFD Sender: No OFD packet to send [09:46:52]OFD Sender: No OFD packet to send [09:46:57]OFD Sender: No OFD packet to send [09:47:02]OFD Sender: No OFD packet to send [09:47:07]OFD Sender: No OFD packet to send [09:47:12]OFD Sender: No OFD packet to send [09:47:17]OFD Sender: No OFD packet to send [09:47:22]OFD Sender: No OFD packet to send [09:47:27]OFD Sender: No OFD packet to send [09:47:32]OFD Sender: No OFD packet to send [09:47:37]OFD Sender: No OFD packet to send [09:47:42]OFD Sender: No OFD packet to send [09:47:47]OFD Sender: No OFD packet to send [09:47:52]OFD Sender: No OFD packet to send [09:47:57]OFD Sender: No OFD packet to send [09:48:02]OFD Sender: No OFD packet to send [09:48:07]OFD Sender: No OFD packet to send [09:48:12]OFD Sender: No OFD packet to send [09:48:17]OFD Sender: No OFD packet to send [09:48:22]OFD Sender: No OFD packet to send [09:48:27]OFD Sender: No OFD packet to send [09:48:32]OFD Sender: No OFD packet to send [09:48:37]OFD Sender: No OFD packet to send [09:48:42]OFD Sender: No OFD packet to send [09:48:47]OFD Sender: No OFD packet to send [09:48:52]OFD Sender: No OFD packet to send [09:48:57]OFD Sender: No OFD packet to send [09:49:02]OFD Sender: No OFD packet to send [09:49:07]OFD Sender: No OFD packet to send [09:49:12]OFD Sender: No OFD packet to send [09:49:17]OFD Sender: No OFD packet to send [09:49:22]OFD Sender: No OFD packet to send [09:49:27]OFD Sender: No OFD packet to send [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:53]accept exits with 8 [09:56:53]New connection [09:56:53]New thread 3066695012 created [09:56:53]Thread 3066838372 joined [09:56:53]Waiting for new connection... [09:56:53] Sock 8.Parse request [09:56:53]Sock 8.Check first char [09:56:53]Sock 8.First char is OK [09:56:53]request: POST /json_proto HTTP/1.0 [09:56:53]Method: POST [09:56:53]URL: /json_proto [09:56:53]Method is POST - this is cgi request [09:56:53]url: /json_proto [09:56:53]query_string will be loaded in cgi processing [09:56:53]execute_cgi json_proto POST (null) [09:56:53]execute_cgi path=json_proto method=POST [09:56:53]POST find Content-Length [09:56:53]Host: 172.17.35.133:8080 [09:56:53]Content-Length: 794 [09:56:53]Content-Type: application/json [09:56:53] [09:56:53]POST finish read [09:56:53]Found Content-Length = 794 [09:56:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610174", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 15.200, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:56:53]execute_script... [09:56:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610174", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 15.200, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:56:53]POST & json_proto [09:56:53]process_json_proto [09:56:53]json parsed OK: [09:56:53]protocol is kg_v1.0 [09:56:53]action value=close_receipt [09:56:53]process_action close_receipt [09:56:53]cmd_close_receipt [09:56:53]MH_GetDate [09:56:53]Write to MH i2c: F0 00 00 CB 06 C0 [09:56:53]Write i2c OK [09:56:53]MH_I2C_Read... [09:56:53]Read from MH i2c: F0 [09:56:53]MH_I2C_Read... [09:56:53]Read from MH i2c: F0 09 00 [09:56:53]MH_I2C_Read... [09:56:53]Read from MH i2c: F0 09 00 CB 06 00 67 65 6D 66 8C 55 28 65 D6 [09:56:53]GetLastDocTimeStamp 1718440938 [09:56:53]current date 1718445415 [09:56:53]FM_GetShiftState [09:56:53]SAM_PROTO_GetShiftState [09:56:53]wFMCommunicate request_size=4 [09:56:53]MH_SAM_APDU [09:56:53]CAPDU: 80 13 01 00 [09:56:53]Write to MH i2c: E2 08 00 CC 06 80 13 01 00 00 00 00 00 4F [09:56:53]Write i2c OK [09:56:53]MH_I2C_Read... [09:56:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:53]Read from MH i2c: E2 [09:56:53]MH_I2C_Read... [09:56:53]Read from MH i2c: E2 0E 00 [09:56:53]MH_I2C_Read... [09:56:53]Read from MH i2c: E2 0E 00 CC 06 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 23 [09:56:53]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [09:56:53]wFMCommunicate OK [09:56:53]SAM_PROTO_GetShiftState done [09:56:53]FM_GetShiftState done [09:56:53]opened in 1718410776 [09:56:53]opened+sec_in_day 1718497176 [09:56:53]quantity*price = 100016 [09:56:53]sum+1 = 100017 [09:56:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.16 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 24 15.06.2024 09:56 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000965344 ФД: 22179 ФПД: 115565357056753 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T095655&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22179&fm=115565357056753&tin=02508201610067®Number=0000000000099755&sum=100016 [09:56:54]StoreToDocumentArchive [09:56:54]shift 326 fd 22179 [09:56:54]save to /storage/0326/doc_00022179 [09:56:54]save last doc name /storage/0326/doc_00022179 to /storage/kkm_last_doc_name [09:56:54]save OK [09:56:54]Clear old archive folders... [09:56:54]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:56:54]tlvbuf is 001C08A0 [09:56:54]SAM_PROTO_ClearQueue [09:56:54]wFMCommunicate request_size=4 [09:56:54]MH_SAM_APDU [09:56:54]CAPDU: 80 09 00 00 [09:56:54]Write to MH i2c: E2 08 00 D9 06 80 09 00 00 00 00 00 00 51 [09:56:54]Write i2c OK [09:56:54]MH_I2C_Read... [09:56:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:56:54]Read from MH i2c: E2 [09:56:54]MH_I2C_Read... [09:56:54]Read from MH i2c: E2 03 00 [09:56:54]MH_I2C_Read... [09:56:54]Read from MH i2c: E2 03 00 D9 06 00 90 00 53 [09:56:54]RAPDU: 90 00 [09:56:54]wFMCommunicate OK [09:56:54]SAM_PROTO_ClearQueue done [09:56:54]KKMCreateOFDPacket [09:56:54]OFDProtocolAddRootSTLVToBuf [09:56:54]FM_MakeSignedData [09:56:54]FM_MakeSignedData [09:56:54]SAM_PROTO_SignData [09:56:54]wFMCommunicate request_size=4 [09:56:54]MH_SAM_APDU [09:56:54]CAPDU: 80 0D 01 02 [09:56:54]Write to MH i2c: E2 08 00 DA 06 80 0D 01 02 00 00 00 00 59 [09:56:54]Write i2c OK [09:56:54]MH_I2C_Read... [09:56:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:56:54]Read from MH i2c: E2 [09:56:54]MH_I2C_Read... [09:56:54]Read from MH i2c: E2 03 00 [09:56:54]MH_I2C_Read... [09:56:54]Read from MH i2c: E2 03 00 DA 06 00 90 00 54 [09:56:54]RAPDU: 90 00 [09:56:54]wFMCommunicate OK [09:56:54]wFMCommunicate request_size=255 [09:56:54]MH_SAM_APDU [09:56:54]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 3B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 67 65 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A3 56 00 00 35 04 06 00 69 [09:56:54]Write to MH i2c: E2 02 01 DB 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 3B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 67 65 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A3 56 00 00 35 04 06 00 69 00 00 F7 [09:56:54]Write i2c OK [09:56:54]MH_I2C_Read... [09:56:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:55]Read from MH i2c: E2 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: E2 03 00 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: E2 03 00 DB 06 00 90 00 55 [09:56:55]RAPDU: 90 00 [09:56:55]wFMCommunicate OK [09:56:55]wFMCommunicate request_size=10 [09:56:55]MH_SAM_APDU [09:56:55]CAPDU: 80 0D 02 02 05 1B 28 0E 42 F1 [09:56:55]Write to MH i2c: E2 0D 00 DC 06 80 0D 02 02 05 00 1B 28 0E 42 F1 00 00 EA [09:56:55]Write i2c OK [09:56:55]MH_I2C_Read... [09:56:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:55]Read from MH i2c: E2 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: E2 03 00 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: E2 03 00 DC 06 00 90 00 56 [09:56:55]RAPDU: 90 00 [09:56:55]wFMCommunicate OK [09:56:55]wFMCommunicate request_size=4 [09:56:55]MH_SAM_APDU [09:56:55]CAPDU: 80 0D 03 02 [09:56:55]Write to MH i2c: E2 08 00 DD 06 80 0D 03 02 00 00 00 00 5E [09:56:55]Write i2c OK [09:56:55]MH_I2C_Read... [09:56:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:56:55]Read from MH i2c: E2 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: E2 0B 00 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: E2 0B 00 DD 06 00 1B 37 30 0E 08 2E E7 3B 90 00 47 [09:56:55]RAPDU: 1B 37 30 0E 08 2E E7 3B 90 00 [09:56:55]wFMCommunicate OK [09:56:55]SAM_PROTO_SignData done [09:56:55]FM_MakeSignedData done [09:56:55]CreateOFDProtocolMessage [09:56:55]wFMCommunicate request_size=4 [09:56:55]MH_SAM_APDU [09:56:55]CAPDU: 80 11 00 00 [09:56:55]Write to MH i2c: E2 08 00 DE 06 80 11 00 00 00 00 00 00 5E [09:56:55]Write i2c OK [09:56:55]MH_I2C_Read... [09:56:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:55]Read from MH i2c: E2 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: E2 17 00 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: E2 17 00 DE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B0 [09:56:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [09:56:55]wFMCommunicate OK [09:56:55]CreateOFDProtocolMessage done [09:56:55]OFDSenderStorePacket 22179 [09:56:55]StoreOFDPacket docnum=22179 [09:56:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 C1 4A 07 01 1C 31 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 3B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 67 65 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A3 56 00 00 35 04 06 00 69 1B 28 0E 42 F1 1B 37 30 0E 08 2E E7 3B [09:56:55]CheckFolder [09:56:55]dirname=/storage/ofd_packets [09:56:55]CheckFolder done [09:56:55]ProducePacketName [09:56:55]name=ofd_packets/00022179 [09:56:55]NVStorageSaveData ofd_packets/00022179 [09:56:55]File name is /storage/ofd_packets/00022179 [09:56:55]Write 301 bytes [09:56:55]NVStorageSaveData done [09:56:55]OFDSenderStorePacket done [09:56:55]KKMCreateOFDPacket done [09:56:55]NVStorageSaveData kkm_last_timestamp [09:56:55]File name is /storage/kkm_last_timestamp [09:56:55]Write 4 bytes [09:56:55]NVStorageSaveData done [09:56:55]ExternCall_PrintAddStr [09:56:55]wPrintStart [09:56:55]Write to MH i2c: 01 00 00 DF 06 E5 [09:56:55]Write i2c OK [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: 01 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: 01 07 00 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: 01 07 00 DF 06 00 00 00 00 00 FF 0F FA [09:56:55]RasterBufferAndPrint [09:56:55]line Счет N : (1)1610174 [09:56:55]line ИНН: 02508201610067 [09:56:55]line Контрольно-Кассовый Чек [09:56:55]line ПРОДАЖА [09:56:55]line ТРК (МРК, ГНК) : 43 [09:56:55]line Товар: 2710124130 [09:56:55]line Аи-92-К-5 [09:56:55]line 15.200 * 65.80 [09:56:55]line = 1000.16 [09:56:55]line НДС 12% НСП 1% [09:56:55]line > о реализуемом товаре [09:56:55]line ИТОГО: 1000.16 [09:56:55]line НСП 1% : 8.85 [09:56:55]line НДС 12% : 106.21 [09:56:55]line Наличными: 0.00 [09:56:55]line Безнал.: 1000.16 [09:56:55]line Место: АЗС № 76 "Партнер Нефть" [09:56:55]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [09:56:55]line СНО: Общий режим [09:56:55]line Чек 24 15.06.2024 09:56 [09:56:55]line Смена: 326 ФФД: 1.0 [09:56:55]line ЗНМ: 0300000200 [09:56:55]line РНМ: 0000000000099755 [09:56:55]line Версия ККМ: 001 [09:56:55]line Платежная система: KICB Банк [09:56:55]line ФМ: 0000000000965344 [09:56:55]line ФД: 22179 [09:56:55]line ФПД: 115565357056753 [09:56:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T095655&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22179&fm=115565357056753&tin=02508201610067®Number=0000000000099755&sum=100016 [09:56:55]OFD Sender: Processing packet 22179 [packets to send 5, broken 4] [09:56:55]ProducePacketName [09:56:55]name=ofd_packets/00022179 [09:56:55]OFD Sender: To server: pG, [09:56:55]CommunicateWithHost lk.salyk.kg:30040 [09:56:55]ConnectInit lk.salyk.kg [09:56:55]written 0, free lines is 4095 [09:56:55]Connected sock=10 [09:56:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 C1 4A 07 01 1C 31 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 3B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 67 65 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A3 56 00 00 35 04 06 00 69 1B 28 0E 42 F1 1B 37 30 0E 08 2E E7 3B [09:56:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 D4 22 47 00 40 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A3 56 00 00 F4 03 04 00 25 0E 6D 66 B6 04 01 00 00 E3 53 37 D4 60 BF 27 05 [09:56:55]CommunicateWithHost err = 0 [09:56:55]CheckOFDResponse [09:56:55]1017 (14) - 77093643461234 [09:56:55]1041 (16) - 0000000000965344 [09:56:55]1040 (4) - 22179 [09:56:55]1012 (4) - 15.06.2024 03:44 [09:56:55]1206 (1) - 0 [09:56:55]OFD Sender: Remove packet 22179 [09:56:55]ProducePacketName [09:56:55]name=ofd_packets/00022179 [09:56:55]NVStorageDeleteData [09:56:55]Write to MH i2c: 01 00 00 09 07 10 [09:56:55]Write i2c OK [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: 01 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: 01 07 00 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: 01 07 00 09 07 00 00 00 00 00 FF 0C 22 [09:56:55]RasterBufferAndPrint [09:56:55]line [09:56:55]line [09:56:55]line [09:56:55]line [09:56:55]line [09:56:55]written 0, free lines is 3333 [09:56:55]MH_Cut [09:56:55]Write to MH i2c: D1 01 00 10 07 01 E9 [09:56:55]Write i2c OK [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: D1 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: D1 01 00 [09:56:55]MH_I2C_Read... [09:56:55]Read from MH i2c: D1 01 00 10 07 00 E8 [09:56:55]Write to MH i2c: 01 00 00 11 07 18 [09:56:55]Write i2c OK [09:56:55]MH_I2C_Read... [09:56:56]OFD Sender: No OFD packet to send [09:56:56]*** Cut start [09:56:56]*** Partial cut [09:56:56]*** CUTSNS_PIN = 1 [09:56:56]*** CUTSNS_PIN = 0 [09:56:56]*** Brake cut motor [09:56:57]Read from MH i2c: 01 [09:56:57]MH_I2C_Read... [09:56:57]*** Stop cut motor [09:56:57]*** Cut end [09:56:57]Read from MH i2c: 01 07 00 [09:56:57]MH_I2C_Read... [09:56:57]Read from MH i2c: 01 07 00 11 07 00 00 00 00 00 FF 0F 2D [09:56:57]process_action close_receipt done [09:56:57]requested_data is exist [09:56:57]produce_requested_data [09:56:57]requested_item fm.sn is exist - process it [09:56:57]wFMCommunicate request_size=4 [09:56:57]MH_SAM_APDU [09:56:57]CAPDU: 80 11 00 00 [09:56:57]Write to MH i2c: E2 08 00 12 07 80 11 00 00 00 00 00 00 93 [09:56:57]Write i2c OK [09:56:57]MH_I2C_Read... [09:56:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:57]Read from MH i2c: E2 [09:56:57]MH_I2C_Read... [09:56:57]Read from MH i2c: E2 17 00 [09:56:57]MH_I2C_Read... [09:56:57]Read from MH i2c: E2 17 00 12 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E5 [09:56:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [09:56:57]wFMCommunicate OK [09:56:57]requested_item fd.num is exist - process it [09:56:57]SAM_PROTO_GetFieldsCounters [09:56:57]wFMCommunicate request_size=4 [09:56:57]MH_SAM_APDU [09:56:57]CAPDU: 80 13 00 00 [09:56:57]Write to MH i2c: E2 08 00 13 07 80 13 00 00 00 00 00 00 96 [09:56:57]Write i2c OK [09:56:57]MH_I2C_Read... [09:56:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:57]Read from MH i2c: E2 [09:56:57]MH_I2C_Read... [09:56:57]Read from MH i2c: E2 62 00 [09:56:57]MH_I2C_Read... [09:56:57]Read from MH i2c: E2 62 00 13 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A3 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [09:56:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A3 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:56:57]wFMCommunicate OK [09:56:57]SAM_PROTO_GetFieldsCounters done [09:56:57]requested_item shift.num is exist - process it [09:56:57]requested_item shift.opened is exist - process it [09:56:57]req_shift_opened [09:56:57]FM_GetShiftState [09:56:57]SAM_PROTO_GetShiftState [09:56:57]wFMCommunicate request_size=4 [09:56:57]MH_SAM_APDU [09:56:57]CAPDU: 80 13 01 00 [09:56:57]Write to MH i2c: E2 08 00 14 07 80 13 01 00 00 00 00 00 98 [09:56:57]Write i2c OK [09:56:57]MH_I2C_Read... [09:56:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:57]Read from MH i2c: E2 [09:56:57]MH_I2C_Read... [09:56:57]Read from MH i2c: E2 0E 00 [09:56:57]MH_I2C_Read... [09:56:57]Read from MH i2c: E2 0E 00 14 07 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 6C [09:56:57]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [09:56:57]wFMCommunicate OK [09:56:57]SAM_PROTO_GetShiftState done [09:56:57]FM_GetShiftState done [09:56:57]req_shift_opened done [09:56:57]requested_item shift.open_date is exist - process it [09:56:57]req_shift_open_date [09:56:57]req_shift_open_date done [09:56:57]produce_requested_data done [09:56:57]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22179,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [09:56:57]process_action_free close_receipt [09:56:57]json_value_free [09:56:57]json_value_free done [09:56:57]process_json_proto returns [09:56:57]Send response to host [09:56:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22179,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [09:56:57]free response buf [09:56:57]execute_script done [09:56:57]execute_script returns [09:56:57]free content buf [09:56:57]Sock 8.Close socket [09:56:57]Sock 8.Thread stoped [09:57:01]OFD Sender: No OFD packet to send [09:57:06]OFD Sender: No OFD packet to send [09:57:11]OFD Sender: No OFD packet to send [09:57:16]OFD Sender: No OFD packet to send [09:57:21]OFD Sender: No OFD packet to send [09:57:26]OFD Sender: No OFD packet to send [09:57:31]OFD Sender: No OFD packet to send [09:57:36]OFD Sender: No OFD packet to send [09:57:41]OFD Sender: No OFD packet to send [09:57:46]OFD Sender: No OFD packet to send [09:57:51]OFD Sender: No OFD packet to send [09:57:56]OFD Sender: No OFD packet to send [09:58:01]OFD Sender: No OFD packet to send [09:58:06]OFD Sender: No OFD packet to send [09:58:11]OFD Sender: No OFD packet to send [09:58:16]OFD Sender: No OFD packet to send [09:58:21]OFD Sender: No OFD packet to send [09:58:26]OFD Sender: No OFD packet to send [09:58:31]OFD Sender: No OFD packet to send [09:58:36]OFD Sender: No OFD packet to send [09:58:41]OFD Sender: No OFD packet to send [09:58:46]OFD Sender: No OFD packet to send [09:58:51]OFD Sender: No OFD packet to send [09:58:56]OFD Sender: No OFD packet to send [09:59:01]OFD Sender: No OFD packet to send [09:59:06]OFD Sender: No OFD packet to send [09:59:11]OFD Sender: No OFD packet to send [09:59:16]OFD Sender: No OFD packet to send [09:59:21]OFD Sender: No OFD packet to send [09:59:26]OFD Sender: No OFD packet to send [09:59:31]OFD Sender: No OFD packet to send [09:59:36]OFD Sender: No OFD packet to send [09:59:41]OFD Sender: No OFD packet to send [09:59:46]OFD Sender: No OFD packet to send [09:59:51]OFD Sender: No OFD packet to send [09:59:56]OFD Sender: No OFD packet to send [10:00:01]OFD Sender: No OFD packet to send [10:00:06]OFD Sender: No OFD packet to send [10:00:11]OFD Sender: No OFD packet to send [10:00:16]OFD Sender: No OFD packet to send [10:00:21]OFD Sender: No OFD packet to send [10:00:26]OFD Sender: No OFD packet to send [10:00:31]OFD Sender: No OFD packet to send [10:00:36]OFD Sender: No OFD packet to send [10:00:41]OFD Sender: No OFD packet to send [10:00:46]OFD Sender: No OFD packet to send [10:00:51]OFD Sender: No OFD packet to send [10:00:56]OFD Sender: No OFD packet to send [10:01:01]OFD Sender: No OFD packet to send [10:01:06]OFD Sender: No OFD packet to send [10:01:11]OFD Sender: No OFD packet to send [10:01:16]OFD Sender: No OFD packet to send [10:01:21]OFD Sender: No OFD packet to send [10:01:26]OFD Sender: No OFD packet to send [10:01:31]OFD Sender: No OFD packet to send [10:01:36]OFD Sender: No OFD packet to send [10:01:41]OFD Sender: No OFD packet to send [10:01:46]OFD Sender: No OFD packet to send [10:01:51]OFD Sender: No OFD packet to send [10:01:56]OFD Sender: No OFD packet to send [10:02:01]OFD Sender: No OFD packet to send [10:02:06]OFD Sender: No OFD packet to send [10:02:11]OFD Sender: No OFD packet to send [10:02:16]OFD Sender: No OFD packet to send [10:02:21]OFD Sender: No OFD packet to send [10:02:26]OFD Sender: No OFD packet to send [10:02:31]OFD Sender: No OFD packet to send [10:02:36]OFD Sender: No OFD packet to send [10:02:41]OFD Sender: No OFD packet to send [10:02:46]OFD Sender: No OFD packet to send [10:02:51]OFD Sender: No OFD packet to send [10:02:56]OFD Sender: No OFD packet to send [10:03:01]OFD Sender: No OFD packet to send [10:03:06]OFD Sender: No OFD packet to send [10:03:11]OFD Sender: No OFD packet to send [10:03:16]OFD Sender: No OFD packet to send [10:03:21]OFD Sender: No OFD packet to send [10:03:26]OFD Sender: No OFD packet to send [10:03:31]OFD Sender: No OFD packet to send [10:03:36]OFD Sender: No OFD packet to send [10:03:41]OFD Sender: No OFD packet to send [10:03:46]OFD Sender: No OFD packet to send [10:03:51]OFD Sender: No OFD packet to send [10:03:56]OFD Sender: No OFD packet to send [10:04:01]OFD Sender: No OFD packet to send [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:36]OFD Sender: No OFD packet to send [10:04:41]OFD Sender: No OFD packet to send [10:04:46]OFD Sender: No OFD packet to send [10:04:51]OFD Sender: No OFD packet to send [10:04:56]OFD Sender: No OFD packet to send [10:05:01]OFD Sender: No OFD packet to send [10:05:06]OFD Sender: No OFD packet to send [10:05:11]OFD Sender: No OFD packet to send [10:05:16]OFD Sender: No OFD packet to send [10:05:21]OFD Sender: No OFD packet to send [10:05:26]OFD Sender: No OFD packet to send [10:05:31]OFD Sender: No OFD packet to send [10:05:36]OFD Sender: No OFD packet to send [10:05:41]OFD Sender: No OFD packet to send [10:05:46]OFD Sender: No OFD packet to send [10:05:51]OFD Sender: No OFD packet to send [10:05:56]OFD Sender: No OFD packet to send [10:06:01]OFD Sender: No OFD packet to send [10:06:06]OFD Sender: No OFD packet to send [10:06:11]OFD Sender: No OFD packet to send [10:06:16]OFD Sender: No OFD packet to send [10:06:21]OFD Sender: No OFD packet to send [10:06:26]OFD Sender: No OFD packet to send [10:06:31]OFD Sender: No OFD packet to send [10:06:36]OFD Sender: No OFD packet to send [10:06:41]OFD Sender: No OFD packet to send [10:06:46]OFD Sender: No OFD packet to send [10:06:51]OFD Sender: No OFD packet to send [10:06:56]OFD Sender: No OFD packet to send [10:07:01]OFD Sender: No OFD packet to send [10:07:06]OFD Sender: No OFD packet to send [10:07:11]OFD Sender: No OFD packet to send [10:07:16]OFD Sender: No OFD packet to send [10:07:21]OFD Sender: No OFD packet to send [10:07:26]OFD Sender: No OFD packet to send [10:07:31]OFD Sender: No OFD packet to send [10:07:36]OFD Sender: No OFD packet to send [10:07:41]OFD Sender: No OFD packet to send [10:07:46]OFD Sender: No OFD packet to send [10:07:51]OFD Sender: No OFD packet to send [10:07:56]OFD Sender: No OFD packet to send [10:08:01]OFD Sender: No OFD packet to send [10:08:06]OFD Sender: No OFD packet to send [10:08:11]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:11:01]OFD Sender: No OFD packet to send [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:10]accept exits with 9 [10:13:10]New connection [10:13:10]New thread 3066838372 created [10:13:10]Thread 3066695012 joined [10:13:10]Waiting for new connection... [10:13:10] Sock 9.Parse request [10:13:10]Sock 9.Check first char [10:13:10]Sock 9.First char is OK [10:13:10]request: POST /json_proto HTTP/1.0 [10:13:10]Method: POST [10:13:10]URL: /json_proto [10:13:10]Method is POST - this is cgi request [10:13:10]url: /json_proto [10:13:10]query_string will be loaded in cgi processing [10:13:10]execute_cgi json_proto POST (null) [10:13:10]execute_cgi path=json_proto method=POST [10:13:10]POST find Content-Length [10:13:10]Host: 172.17.35.133:8080 [10:13:10]Content-Length: 698 [10:13:10]Content-Type: application/json [10:13:10] [10:13:10]POST finish read [10:13:10]Found Content-Length = 698 [10:13:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254399", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:13:10]execute_script... [10:13:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254399", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:13:10]POST & json_proto [10:13:10]process_json_proto [10:13:10]json parsed OK: [10:13:10]protocol is kg_v1.0 [10:13:10]action value=close_receipt [10:13:10]process_action close_receipt [10:13:10]cmd_close_receipt [10:13:10]MH_GetDate [10:13:10]Write to MH i2c: F0 00 00 15 07 0B [10:13:10]Write i2c OK [10:13:10]MH_I2C_Read... [10:13:10]Read from MH i2c: F0 [10:13:10]MH_I2C_Read... [10:13:10]Read from MH i2c: F0 09 00 [10:13:10]MH_I2C_Read... [10:13:10]Read from MH i2c: F0 09 00 15 07 00 38 69 6D 66 8C 55 28 65 F6 [10:13:10]GetLastDocTimeStamp 1718445415 [10:13:10]current date 1718446392 [10:13:10]FM_GetShiftState [10:13:10]SAM_PROTO_GetShiftState [10:13:10]wFMCommunicate request_size=4 [10:13:10]MH_SAM_APDU [10:13:10]CAPDU: 80 13 01 00 [10:13:10]Write to MH i2c: E2 08 00 16 07 80 13 01 00 00 00 00 00 9A [10:13:10]Write i2c OK [10:13:10]MH_I2C_Read... [10:13:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:13:10]Read from MH i2c: E2 [10:13:10]MH_I2C_Read... [10:13:10]Read from MH i2c: E2 0E 00 [10:13:10]MH_I2C_Read... [10:13:10]Read from MH i2c: E2 0E 00 16 07 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 6E [10:13:10]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:13:10]wFMCommunicate OK [10:13:10]SAM_PROTO_GetShiftState done [10:13:10]FM_GetShiftState done [10:13:10]opened in 1718410776 [10:13:10]opened+sec_in_day 1718497176 [10:13:10]quantity*price = 10000 [10:13:10]sum+1 = 10001 [10:13:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 25 15.06.2024 10:13 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22180 ФПД: 199400121223581 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101312&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22180&fm=199400121223581&tin=02508201610067®Number=0000000000099755&sum=10000 0 [10:13:11]StoreToDocumentArchive [10:13:11]shift 326 fd 22180 [10:13:11]save to /storage/0326/doc_00022180 [10:13:11]save last doc name /storage/0326/doc_00022180 to /storage/kkm_last_doc_name [10:13:11]save OK [10:13:11]Clear old archive folders... [10:13:11]ProcessDocumentItem done err = 0, tmpTLVsize=298 [10:13:11]tlvbuf is B6D8C570 [10:13:11]SAM_PROTO_ClearQueue [10:13:11]wFMCommunicate request_size=4 [10:13:11]MH_SAM_APDU [10:13:11]CAPDU: 80 09 00 00 [10:13:11]Write to MH i2c: E2 08 00 23 07 80 09 00 00 00 00 00 00 9C [10:13:11]Write i2c OK [10:13:11]MH_I2C_Read... [10:13:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:13:11]Read from MH i2c: E2 [10:13:11]MH_I2C_Read... [10:13:11]Read from MH i2c: E2 03 00 [10:13:11]MH_I2C_Read... [10:13:11]Read from MH i2c: E2 03 00 23 07 00 90 00 9E [10:13:11]RAPDU: 90 00 [10:13:11]wFMCommunicate OK [10:13:11]SAM_PROTO_ClearQueue done [10:13:11]KKMCreateOFDPacket [10:13:11]OFDProtocolAddRootSTLVToBuf [10:13:11]FM_MakeSignedData [10:13:11]FM_MakeSignedData [10:13:11]SAM_PROTO_SignData [10:13:11]wFMCommunicate request_size=4 [10:13:11]MH_SAM_APDU [10:13:11]CAPDU: 80 0D 01 02 [10:13:11]Write to MH i2c: E2 08 00 24 07 80 0D 01 02 00 00 00 00 A4 [10:13:11]Write i2c OK [10:13:11]MH_I2C_Read... [10:13:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:13:11]Read from MH i2c: E2 [10:13:11]MH_I2C_Read... [10:13:11]Read from MH i2c: E2 03 00 [10:13:11]MH_I2C_Read... [10:13:11]Read from MH i2c: E2 03 00 24 07 00 90 00 9F [10:13:11]RAPDU: 90 00 [10:13:11]wFMCommunicate OK [10:13:11]wFMCommunicate request_size=255 [10:13:11]MH_SAM_APDU [10:13:11]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 38 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [10:13:11]Write to MH i2c: E2 02 01 25 07 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 38 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 E1 [10:13:11]Write i2c OK [10:13:11]MH_I2C_Read... [10:13:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:13:11]Read from MH i2c: E2 [10:13:11]MH_I2C_Read... [10:13:11]Read from MH i2c: E2 03 00 [10:13:11]MH_I2C_Read... [10:13:11]Read from MH i2c: E2 03 00 25 07 00 90 00 A0 [10:13:11]RAPDU: 90 00 [10:13:11]wFMCommunicate OK [10:13:11]wFMCommunicate request_size=57 [10:13:11]MH_SAM_APDU [10:13:11]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A4 56 00 00 35 04 06 00 B5 5A 75 64 C9 9D [10:13:11]Write to MH i2c: E2 3C 00 26 07 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A4 56 00 00 35 04 06 00 B5 5A 75 64 C9 9D 00 00 B5 [10:13:11]Write i2c OK [10:13:11]MH_I2C_Read... [10:13:11]OFD Sender: No OFD packet to send [10:13:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:13:11]Read from MH i2c: E2 [10:13:11]MH_I2C_Read... [10:13:11]Read from MH i2c: E2 03 00 [10:13:11]MH_I2C_Read... [10:13:11]Read from MH i2c: E2 03 00 26 07 00 90 00 A1 [10:13:11]RAPDU: 90 00 [10:13:11]wFMCommunicate OK [10:13:11]wFMCommunicate request_size=4 [10:13:11]MH_SAM_APDU [10:13:11]CAPDU: 80 0D 03 02 [10:13:11]Write to MH i2c: E2 08 00 27 07 80 0D 03 02 00 00 00 00 A9 [10:13:11]Write i2c OK [10:13:11]MH_I2C_Read... [10:13:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:13:12]Read from MH i2c: E2 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: E2 0B 00 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: E2 0B 00 27 07 00 23 73 D1 DA 9E 02 EC 60 90 00 D7 [10:13:12]RAPDU: 23 73 D1 DA 9E 02 EC 60 90 00 [10:13:12]wFMCommunicate OK [10:13:12]SAM_PROTO_SignData done [10:13:12]FM_MakeSignedData done [10:13:12]CreateOFDProtocolMessage [10:13:12]wFMCommunicate request_size=4 [10:13:12]MH_SAM_APDU [10:13:12]CAPDU: 80 11 00 00 [10:13:12]Write to MH i2c: E2 08 00 28 07 80 11 00 00 00 00 00 00 A9 [10:13:12]Write i2c OK [10:13:12]MH_I2C_Read... [10:13:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:13:12]Read from MH i2c: E2 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: E2 17 00 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: E2 17 00 28 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FB [10:13:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:13:12]wFMCommunicate OK [10:13:12]CreateOFDProtocolMessage done [10:13:12]OFDSenderStorePacket 22180 [10:13:12]StoreOFDPacket docnum=22180 [10:13:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 03 57 36 01 20 85 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 38 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A4 56 00 00 35 04 06 00 B5 5A 75 64 C9 9D 23 73 D1 DA 9E 02 EC 60 [10:13:12]CheckFolder [10:13:12]dirname=/storage/ofd_packets [10:13:12]CheckFolder done [10:13:12]ProducePacketName [10:13:12]name=ofd_packets/00022180 [10:13:12]NVStorageSaveData ofd_packets/00022180 [10:13:12]File name is /storage/ofd_packets/00022180 [10:13:12]Write 348 bytes [10:13:12]NVStorageSaveData done [10:13:12]OFDSenderStorePacket done [10:13:12]KKMCreateOFDPacket done [10:13:12]NVStorageSaveData kkm_last_timestamp [10:13:12]File name is /storage/kkm_last_timestamp [10:13:12]Write 4 bytes [10:13:12]NVStorageSaveData done [10:13:12]ExternCall_PrintAddStr [10:13:12]wPrintStart [10:13:12]Write to MH i2c: 01 00 00 29 07 30 [10:13:12]Write i2c OK [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: 01 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: 01 07 00 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: 01 07 00 29 07 00 00 00 00 00 FF 0F 45 [10:13:12]RasterBufferAndPrint [10:13:12]line Счет N : (3)254399 [10:13:12]line ИНН: 02508201610067 [10:13:12]line Контрольно-Кассовый Чек [10:13:12]line ПРОДАЖА [10:13:12]line Товар: 4870001571528 [10:13:12]line Вода ASU пит н.газ персик ПЭТ 1,0 л [10:13:12]line 1.000 * 100.00 [10:13:12]line = 100.00 [10:13:12]line НДС 12% НСП 1% [10:13:12]line > о реализуемом товаре [10:13:12]line ИТОГО: 100.00 [10:13:12]line НСП 1% : 0.88 [10:13:12]line НДС 12% : 10.62 [10:13:12]line Наличными: 100.00 [10:13:12]line Безнал.: 0.00 [10:13:12]line Место: АЗС № 76 "Партнер Нефть" [10:13:12]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:13:12]line СНО: Общий режим [10:13:12]line Чек 25 15.06.2024 10:13 [10:13:12]line Смена: 326 ФФД: 1.0 [10:13:12]line ЗНМ: 0300000200 [10:13:12]line РНМ: 0000000000099755 [10:13:12]line Версия ККМ: 001 [10:13:12]line ФМ: 0000000000965344 [10:13:12]line ФД: 22180 [10:13:12]line ФПД: 199400121223581 [10:13:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101312&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22180&fm=199400121223581&tin=02508201610067®Number=0000000000099755&sum=10000 [10:13:12]line 0 [10:13:12]OFD Sender: Processing packet 22180 [packets to send 5, broken 4] [10:13:12]ProducePacketName [10:13:12]name=ofd_packets/00022180 [10:13:12]OFD Sender: To server: pG, [10:13:12]CommunicateWithHost lk.salyk.kg:30040 [10:13:12]ConnectInit lk.salyk.kg [10:13:12]written 0, free lines is 4095 [10:13:12]Connected sock=10 [10:13:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 03 57 36 01 20 85 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 38 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A4 56 00 00 35 04 06 00 B5 5A 75 64 C9 9D 23 73 D1 DA 9E 02 EC 60 [10:13:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 E0 D9 47 00 CE 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A4 56 00 00 F4 03 04 00 F6 11 6D 66 B6 04 01 00 00 1F 50 77 FA 0D 1D 3C A2 [10:13:12]CommunicateWithHost err = 0 [10:13:12]CheckOFDResponse [10:13:12]1017 (14) - 77093643461234 [10:13:12]1041 (16) - 0000000000965344 [10:13:12]1040 (4) - 22180 [10:13:12]1012 (4) - 15.06.2024 04:00 [10:13:12]1206 (1) - 0 [10:13:12]OFD Sender: Remove packet 22180 [10:13:12]ProducePacketName [10:13:12]name=ofd_packets/00022180 [10:13:12]NVStorageDeleteData [10:13:12]Write to MH i2c: 01 00 00 52 07 59 [10:13:12]Write i2c OK [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: 01 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: 01 07 00 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: 01 07 00 52 07 00 00 00 00 00 08 0D 75 [10:13:12]RasterBufferAndPrint [10:13:12]line [10:13:12]line [10:13:12]line [10:13:12]line [10:13:12]line [10:13:12]written 0, free lines is 3342 [10:13:12]MH_Cut [10:13:12]Write to MH i2c: D1 01 00 59 07 01 32 [10:13:12]Write i2c OK [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: D1 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: D1 01 00 [10:13:12]MH_I2C_Read... [10:13:12]Read from MH i2c: D1 01 00 59 07 00 31 [10:13:12]Write to MH i2c: 01 00 00 5A 07 61 [10:13:12]Write i2c OK [10:13:12]MH_I2C_Read... [10:13:13]OFD Sender: No OFD packet to send [10:13:13]*** Cut start [10:13:13]*** Partial cut [10:13:13]*** CUTSNS_PIN = 1 [10:13:13]*** CUTSNS_PIN = 0 [10:13:13]*** Brake cut motor [10:13:14]Read from MH i2c: 01 [10:13:14]MH_I2C_Read... [10:13:14]*** Stop cut motor [10:13:14]*** Cut end [10:13:14]Read from MH i2c: 01 07 00 [10:13:14]MH_I2C_Read... [10:13:14]Read from MH i2c: 01 07 00 5A 07 00 00 00 00 00 FF 0F 76 [10:13:14]process_action close_receipt done [10:13:14]requested_data is exist [10:13:14]produce_requested_data [10:13:14]requested_item fm.sn is exist - process it [10:13:14]wFMCommunicate request_size=4 [10:13:14]MH_SAM_APDU [10:13:14]CAPDU: 80 11 00 00 [10:13:14]Write to MH i2c: E2 08 00 5B 07 80 11 00 00 00 00 00 00 DC [10:13:14]Write i2c OK [10:13:14]MH_I2C_Read... [10:13:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:13:14]Read from MH i2c: E2 [10:13:14]MH_I2C_Read... [10:13:14]Read from MH i2c: E2 17 00 [10:13:14]MH_I2C_Read... [10:13:14]Read from MH i2c: E2 17 00 5B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2E [10:13:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:13:14]wFMCommunicate OK [10:13:14]requested_item fd.num is exist - process it [10:13:14]SAM_PROTO_GetFieldsCounters [10:13:14]wFMCommunicate request_size=4 [10:13:14]MH_SAM_APDU [10:13:14]CAPDU: 80 13 00 00 [10:13:14]Write to MH i2c: E2 08 00 5C 07 80 13 00 00 00 00 00 00 DF [10:13:14]Write i2c OK [10:13:14]MH_I2C_Read... [10:13:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:13:14]Read from MH i2c: E2 [10:13:14]MH_I2C_Read... [10:13:14]Read from MH i2c: E2 62 00 [10:13:14]MH_I2C_Read... [10:13:14]Read from MH i2c: E2 62 00 5C 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A4 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [10:13:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A4 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:13:14]wFMCommunicate OK [10:13:14]SAM_PROTO_GetFieldsCounters done [10:13:14]requested_item shift.num is exist - process it [10:13:14]requested_item shift.opened is exist - process it [10:13:14]req_shift_opened [10:13:14]FM_GetShiftState [10:13:14]SAM_PROTO_GetShiftState [10:13:14]wFMCommunicate request_size=4 [10:13:14]MH_SAM_APDU [10:13:14]CAPDU: 80 13 01 00 [10:13:14]Write to MH i2c: E2 08 00 5D 07 80 13 01 00 00 00 00 00 E1 [10:13:14]Write i2c OK [10:13:14]MH_I2C_Read... [10:13:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:13:14]Read from MH i2c: E2 [10:13:14]MH_I2C_Read... [10:13:14]Read from MH i2c: E2 0E 00 [10:13:14]MH_I2C_Read... [10:13:14]Read from MH i2c: E2 0E 00 5D 07 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 B5 [10:13:14]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:13:14]wFMCommunicate OK [10:13:14]SAM_PROTO_GetShiftState done [10:13:14]FM_GetShiftState done [10:13:14]req_shift_opened done [10:13:14]requested_item shift.open_date is exist - process it [10:13:14]req_shift_open_date [10:13:14]req_shift_open_date done [10:13:14]produce_requested_data done [10:13:14]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22180,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [10:13:14]process_action_free close_receipt [10:13:14]json_value_free [10:13:14]json_value_free done [10:13:14]process_json_proto returns [10:13:14]Send response to host [10:13:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22180,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [10:13:14]free response buf [10:13:14]execute_script done [10:13:14]execute_script returns [10:13:14]free content buf [10:13:14]Sock 9.Close socket [10:13:14]Sock 9.Thread stoped [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:30]accept exits with 8 [10:14:30]New connection [10:14:30]New thread 3066695012 created [10:14:30]Thread 3066838372 joined [10:14:30]Waiting for new connection... [10:14:30] Sock 8.Parse request [10:14:30]Sock 8.Check first char [10:14:30]Sock 8.First char is OK [10:14:30]request: POST /json_proto HTTP/1.0 [10:14:30]Method: POST [10:14:30]URL: /json_proto [10:14:30]Method is POST - this is cgi request [10:14:30]url: /json_proto [10:14:30]query_string will be loaded in cgi processing [10:14:30]execute_cgi json_proto POST (null) [10:14:30]execute_cgi path=json_proto method=POST [10:14:30]POST find Content-Length [10:14:30]Host: 172.17.35.133:8080 [10:14:30]Content-Length: 937 [10:14:30]Content-Type: application/json [10:14:30] [10:14:30]POST finish read [10:14:30]Found Content-Length = 937 [10:14:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254400", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:14:30]execute_script... [10:14:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254400", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:14:30]POST & json_proto [10:14:30]process_json_proto [10:14:30]json parsed OK: [10:14:30]protocol is kg_v1.0 [10:14:30]action value=close_receipt [10:14:30]process_action close_receipt [10:14:30]cmd_close_receipt [10:14:30]MH_GetDate [10:14:30]Write to MH i2c: F0 00 00 5E 07 54 [10:14:30]Write i2c OK [10:14:30]MH_I2C_Read... [10:14:30]Read from MH i2c: F0 [10:14:30]MH_I2C_Read... [10:14:30]Read from MH i2c: F0 09 00 [10:14:30]MH_I2C_Read... [10:14:30]Read from MH i2c: F0 09 00 5E 07 00 88 69 6D 66 8C 55 28 65 8F [10:14:30]GetLastDocTimeStamp 1718446392 [10:14:30]current date 1718446472 [10:14:30]FM_GetShiftState [10:14:30]SAM_PROTO_GetShiftState [10:14:30]wFMCommunicate request_size=4 [10:14:30]MH_SAM_APDU [10:14:30]CAPDU: 80 13 01 00 [10:14:30]Write to MH i2c: E2 08 00 5F 07 80 13 01 00 00 00 00 00 E3 [10:14:30]Write i2c OK [10:14:30]MH_I2C_Read... [10:14:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:14:30]Read from MH i2c: E2 [10:14:30]MH_I2C_Read... [10:14:30]Read from MH i2c: E2 0E 00 [10:14:30]MH_I2C_Read... [10:14:30]Read from MH i2c: E2 0E 00 5F 07 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 B7 [10:14:30]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:14:30]wFMCommunicate OK [10:14:30]SAM_PROTO_GetShiftState done [10:14:30]FM_GetShiftState done [10:14:30]opened in 1718410776 [10:14:30]opened+sec_in_day 1718497176 [10:14:30]quantity*price = 6000 [10:14:30]sum+1 = 6001 [10:14:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42069942 Жев Orbit White Fresh Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 26 15.06.2024 10:14 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22181 ФПД: 156267146707831 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101432&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22181&fm=156267146707831&tin=02508201610067®Number=0000000000099755&sum=10500 0 [10:14:31]StoreToDocumentArchive [10:14:31]shift 326 fd 22181 [10:14:31]save to /storage/0326/doc_00022181 [10:14:31]save last doc name /storage/0326/doc_00022181 to /storage/kkm_last_doc_name [10:14:31]save OK [10:14:31]Clear old archive folders... [10:14:31]ProcessDocumentItem done err = 0, tmpTLVsize=399 [10:14:31]tlvbuf is 001B9080 [10:14:31]SAM_PROTO_ClearQueue [10:14:31]wFMCommunicate request_size=4 [10:14:31]MH_SAM_APDU [10:14:31]CAPDU: 80 09 00 00 [10:14:31]Write to MH i2c: E2 08 00 6C 07 80 09 00 00 00 00 00 00 E5 [10:14:31]Write i2c OK [10:14:31]MH_I2C_Read... [10:14:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:14:31]Read from MH i2c: E2 [10:14:31]MH_I2C_Read... [10:14:31]Read from MH i2c: E2 03 00 [10:14:31]MH_I2C_Read... [10:14:31]Read from MH i2c: E2 03 00 6C 07 00 90 00 E7 [10:14:31]RAPDU: 90 00 [10:14:31]wFMCommunicate OK [10:14:31]SAM_PROTO_ClearQueue done [10:14:31]KKMCreateOFDPacket [10:14:31]OFDProtocolAddRootSTLVToBuf [10:14:31]FM_MakeSignedData [10:14:31]FM_MakeSignedData [10:14:31]SAM_PROTO_SignData [10:14:31]wFMCommunicate request_size=4 [10:14:31]MH_SAM_APDU [10:14:31]CAPDU: 80 0D 01 02 [10:14:31]Write to MH i2c: E2 08 00 6D 07 80 0D 01 02 00 00 00 00 ED [10:14:31]Write i2c OK [10:14:31]MH_I2C_Read... [10:14:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:14:31]Read from MH i2c: E2 [10:14:31]MH_I2C_Read... [10:14:31]Read from MH i2c: E2 03 00 [10:14:31]MH_I2C_Read... [10:14:31]Read from MH i2c: E2 03 00 6D 07 00 90 00 E8 [10:14:31]RAPDU: 90 00 [10:14:31]wFMCommunicate OK [10:14:31]wFMCommunicate request_size=255 [10:14:31]MH_SAM_APDU [10:14:31]CAPDU: 80 0D 02 02 FA 03 00 8F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 [10:14:31]Write to MH i2c: E2 02 01 6E 07 80 0D 02 02 FA 00 03 00 8F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 00 00 C8 [10:14:31]Write i2c OK [10:14:31]MH_I2C_Read... [10:14:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:14:32]Read from MH i2c: E2 [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: E2 03 00 [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: E2 03 00 6E 07 00 90 00 E9 [10:14:32]RAPDU: 90 00 [10:14:32]wFMCommunicate OK [10:14:32]wFMCommunicate request_size=158 [10:14:32]MH_SAM_APDU [10:14:32]CAPDU: 80 0D 02 02 99 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 88 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A5 56 00 00 35 04 06 00 8E 1F C7 C5 03 77 [10:14:32]Write to MH i2c: E2 A1 00 6F 07 80 0D 02 02 99 00 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 88 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A5 56 00 00 35 04 06 00 8E 1F C7 C5 03 77 00 00 36 [10:14:32]Write i2c OK [10:14:32]MH_I2C_Read... [10:14:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:14:32]Read from MH i2c: E2 [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: E2 03 00 [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: E2 03 00 6F 07 00 90 00 EA [10:14:32]RAPDU: 90 00 [10:14:32]wFMCommunicate OK [10:14:32]wFMCommunicate request_size=4 [10:14:32]MH_SAM_APDU [10:14:32]CAPDU: 80 0D 03 02 [10:14:32]Write to MH i2c: E2 08 00 70 07 80 0D 03 02 00 00 00 00 F2 [10:14:32]Write i2c OK [10:14:32]MH_I2C_Read... [10:14:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:14:32]Read from MH i2c: E2 [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: E2 0B 00 [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: E2 0B 00 70 07 00 35 A8 BF CD B7 84 FE BB 90 00 50 [10:14:32]RAPDU: 35 A8 BF CD B7 84 FE BB 90 00 [10:14:32]wFMCommunicate OK [10:14:32]SAM_PROTO_SignData done [10:14:32]FM_MakeSignedData done [10:14:32]CreateOFDProtocolMessage [10:14:32]wFMCommunicate request_size=4 [10:14:32]MH_SAM_APDU [10:14:32]CAPDU: 80 11 00 00 [10:14:32]Write to MH i2c: E2 08 00 71 07 80 11 00 00 00 00 00 00 F2 [10:14:32]Write i2c OK [10:14:32]MH_I2C_Read... [10:14:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:14:32]Read from MH i2c: E2 [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: E2 17 00 [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: E2 17 00 71 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 44 [10:14:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:14:32]wFMCommunicate OK [10:14:32]CreateOFDProtocolMessage done [10:14:32]OFDSenderStorePacket 22181 [10:14:32]StoreOFDPacket docnum=22181 [10:14:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A3 01 00 00 61 D3 9B 01 59 CC 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 88 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A5 56 00 00 35 04 06 00 8E 1F C7 C5 03 77 35 A8 BF CD B7 84 FE BB [10:14:32]CheckFolder [10:14:32]dirname=/storage/ofd_packets [10:14:32]CheckFolder done [10:14:32]ProducePacketName [10:14:32]name=ofd_packets/00022181 [10:14:32]NVStorageSaveData ofd_packets/00022181 [10:14:32]File name is /storage/ofd_packets/00022181 [10:14:32]Write 449 bytes [10:14:32]NVStorageSaveData done [10:14:32]OFDSenderStorePacket done [10:14:32]KKMCreateOFDPacket done [10:14:32]NVStorageSaveData kkm_last_timestamp [10:14:32]File name is /storage/kkm_last_timestamp [10:14:32]Write 4 bytes [10:14:32]NVStorageSaveData done [10:14:32]ExternCall_PrintAddStr [10:14:32]wPrintStart [10:14:32]Write to MH i2c: 01 00 00 72 07 79 [10:14:32]Write i2c OK [10:14:32]MH_I2C_Read... [10:14:32]Read from MH i2c: 01 [10:14:32]MH_I2C_Read... [10:14:32]OFD Sender: Processing packet 22181 [packets to send 5, broken 4] [10:14:32]Read from MH i2c: ProducePacketName [10:14:32]01 name=ofd_packets/00022181 [10:14:32]07 00 [10:14:32]OFD Sender: To server: pG, [10:14:32]MH_I2C_Read... [10:14:32]CommunicateWithHost lk.salyk.kg:30040 [10:14:32]ConnectInit lk.salyk.kg [10:14:32]Read from MH i2c: 01 07 00 72 07 00 00 00 00 00 FF 0F 8E [10:14:32]RasterBufferAndPrint [10:14:32]line Счет N : (3)254400 [10:14:32]line ИНН: 02508201610067 [10:14:32]line Контрольно-Кассовый Чек [10:14:32]line ПРОДАЖА [10:14:32]line Товар: 4700000160792 [10:14:32]line Снек Курут классический (круглый) [10:14:32]line 1.000 * 60.00 [10:14:32]line = 60.00 [10:14:32]line НДС 12% НСП 1% [10:14:32]line > о реализуемом товаре [10:14:32]line Товар: 42069942 [10:14:32]line Жев Orbit White Fresh Mint [10:14:32]line 1.000 * 45.00 [10:14:32]line = 45.00 [10:14:32]line НДС 12% НСП 1% [10:14:32]line > о реализуемом товаре [10:14:32]line ИТОГО: 105.00 [10:14:32]line НСП 1% : 0.93 [10:14:32]line НДС 12% : 11.15 [10:14:32]line Наличными: 105.00 [10:14:32]line Безнал.: 0.00 [10:14:32]line Место: АЗС № 76 "Партнер Нефть" [10:14:32]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:14:32]line СНО: Общий режим [10:14:32]line Чек 26 15.06.2024 10:14 [10:14:32]line Смена: 326 ФФД: 1.0 [10:14:32]line ЗНМ: 0300000200 [10:14:32]line РНМ: 0000000000099755 [10:14:32]line Версия ККМ: 001 [10:14:32]line ФМ: 0000000000965344 [10:14:32]line ФД: 22181 [10:14:32]line ФПД: 156267146707831 [10:14:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101432&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22181&fm=156267146707831&tin=02508201610067®Number=0000000000099755&sum=10500 [10:14:32]line 0 [10:14:32]written 0, free lines is 4095 [10:14:32]Connected sock=10 [10:14:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A3 01 00 00 61 D3 9B 01 59 CC 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 88 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A5 56 00 00 35 04 06 00 8E 1F C7 C5 03 77 35 A8 BF CD B7 84 FE BB [10:14:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 63 56 47 00 CA 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A5 56 00 00 F4 03 04 00 46 12 6D 66 B6 04 01 00 00 A8 10 86 19 5B DF 40 BF [10:14:33]CommunicateWithHost err = 0 [10:14:33]CheckOFDResponse [10:14:33]1017 (14) - 77093643461234 [10:14:33]1041 (16) - 0000000000965344 [10:14:33]1040 (4) - 22181 [10:14:33]1012 (4) - 15.06.2024 04:02 [10:14:33]1206 (1) - 0 [10:14:33]OFD Sender: Remove packet 22181 [10:14:33]ProducePacketName [10:14:33]name=ofd_packets/00022181 [10:14:33]NVStorageDeleteData [10:14:33]Write to MH i2c: 01 00 00 A1 07 A8 [10:14:33]Write i2c OK [10:14:33]MH_I2C_Read... [10:14:33]Read from MH i2c: 01 [10:14:33]MH_I2C_Read... [10:14:33]Read from MH i2c: 01 07 00 [10:14:33]MH_I2C_Read... [10:14:33]Read from MH i2c: 01 07 00 A1 07 00 00 00 00 00 C4 0C 7F [10:14:33]RasterBufferAndPrint [10:14:33]line [10:14:33]line [10:14:33]line [10:14:33]line [10:14:33]line [10:14:33]written 0, free lines is 3276 [10:14:33]MH_Cut [10:14:33]Write to MH i2c: D1 01 00 A8 07 01 81 [10:14:33]Write i2c OK [10:14:33]MH_I2C_Read... [10:14:33]Read from MH i2c: D1 [10:14:33]MH_I2C_Read... [10:14:33]Read from MH i2c: D1 01 00 [10:14:33]MH_I2C_Read... [10:14:33]Read from MH i2c: D1 01 00 A8 07 00 80 [10:14:33]Write to MH i2c: 01 00 00 A9 07 B0 [10:14:33]Write i2c OK [10:14:33]MH_I2C_Read... [10:14:33]OFD Sender: No OFD packet to send [10:14:33]*** Cut start [10:14:33]*** Partial cut [10:14:33]*** CUTSNS_PIN = 1 [10:14:33]*** CUTSNS_PIN = 0 [10:14:34]*** Brake cut motor [10:14:34]Read from MH i2c: 01 [10:14:34]MH_I2C_Read... [10:14:34]*** Stop cut motor [10:14:34]*** Cut end [10:14:34]Read from MH i2c: 01 07 00 [10:14:34]MH_I2C_Read... [10:14:34]Read from MH i2c: 01 07 00 A9 07 00 00 00 00 00 FF 0F C5 [10:14:34]process_action close_receipt done [10:14:34]requested_data is exist [10:14:34]produce_requested_data [10:14:34]requested_item fm.sn is exist - process it [10:14:34]wFMCommunicate request_size=4 [10:14:34]MH_SAM_APDU [10:14:34]CAPDU: 80 11 00 00 [10:14:34]Write to MH i2c: E2 08 00 AA 07 80 11 00 00 00 00 00 00 2B [10:14:34]Write i2c OK [10:14:34]MH_I2C_Read... [10:14:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:14:34]Read from MH i2c: E2 [10:14:34]MH_I2C_Read... [10:14:34]Read from MH i2c: E2 17 00 [10:14:34]MH_I2C_Read... [10:14:34]Read from MH i2c: E2 17 00 AA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7D [10:14:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:14:34]wFMCommunicate OK [10:14:34]requested_item fd.num is exist - process it [10:14:34]SAM_PROTO_GetFieldsCounters [10:14:34]wFMCommunicate request_size=4 [10:14:34]MH_SAM_APDU [10:14:34]CAPDU: 80 13 00 00 [10:14:34]Write to MH i2c: E2 08 00 AB 07 80 13 00 00 00 00 00 00 2E [10:14:34]Write i2c OK [10:14:34]MH_I2C_Read... [10:14:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:14:34]Read from MH i2c: E2 [10:14:34]MH_I2C_Read... [10:14:34]Read from MH i2c: E2 62 00 [10:14:34]MH_I2C_Read... [10:14:34]Read from MH i2c: E2 62 00 AB 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A5 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [10:14:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A5 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:14:34]wFMCommunicate OK [10:14:34]SAM_PROTO_GetFieldsCounters done [10:14:34]requested_item shift.num is exist - process it [10:14:34]requested_item shift.opened is exist - process it [10:14:34]req_shift_opened [10:14:34]FM_GetShiftState [10:14:34]SAM_PROTO_GetShiftState [10:14:34]wFMCommunicate request_size=4 [10:14:34]MH_SAM_APDU [10:14:34]CAPDU: 80 13 01 00 [10:14:34]Write to MH i2c: E2 08 00 AC 07 80 13 01 00 00 00 00 00 30 [10:14:34]Write i2c OK [10:14:34]MH_I2C_Read... [10:14:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:14:34]Read from MH i2c: E2 [10:14:34]MH_I2C_Read... [10:14:34]Read from MH i2c: E2 0E 00 [10:14:34]MH_I2C_Read... [10:14:34]Read from MH i2c: E2 0E 00 AC 07 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 04 [10:14:34]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:14:34]wFMCommunicate OK [10:14:34]SAM_PROTO_GetShiftState done [10:14:34]FM_GetShiftState done [10:14:34]req_shift_opened done [10:14:34]requested_item shift.open_date is exist - process it [10:14:34]req_shift_open_date [10:14:34]req_shift_open_date done [10:14:34]produce_requested_data done [10:14:34]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22181,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [10:14:34]process_action_free close_receipt [10:14:34]json_value_free [10:14:34]json_value_free done [10:14:34]process_json_proto returns [10:14:34]Send response to host [10:14:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22181,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [10:14:34]free response buf [10:14:34]execute_script done [10:14:34]execute_script returns [10:14:34]free content buf [10:14:34]Sock 8.Close socket [10:14:34]Sock 8.Thread stoped [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:31]accept exits with 9 [10:15:31]New connection [10:15:31]New thread 3066838372 created [10:15:31]Thread 3066695012 joined [10:15:31]Waiting for new connection... [10:15:31] Sock 9.Parse request [10:15:31]Sock 9.Check first char [10:15:31]Sock 9.First char is OK [10:15:31]request: POST /json_proto HTTP/1.0 [10:15:31]Method: POST [10:15:31]URL: /json_proto [10:15:31]Method is POST - this is cgi request [10:15:31]url: /json_proto [10:15:31]query_string will be loaded in cgi processing [10:15:31]execute_cgi json_proto POST (null) [10:15:31]execute_cgi path=json_proto method=POST [10:15:31]POST find Content-Length [10:15:31]Host: 172.17.35.133:8080 [10:15:31]Content-Length: 934 [10:15:31]Content-Type: application/json [10:15:31] [10:15:31]POST finish read [10:15:31]Found Content-Length = 934 [10:15:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254401", "tax_sys" : 0, "items" : [ { "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209744595", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u041A\u0440\u0430\u0431 100 \u0433\u0440", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:31]execute_script... [10:15:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254401", "tax_sys" : 0, "items" : [ { "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209744595", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u041A\u0440\u0430\u0431 100 \u0433\u0440", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:31]POST & json_proto [10:15:31]process_json_proto [10:15:31]json parsed OK: [10:15:31]protocol is kg_v1.0 [10:15:31]action value=close_receipt [10:15:31]process_action close_receipt [10:15:31]cmd_close_receipt [10:15:31]MH_GetDate [10:15:31]Write to MH i2c: F0 00 00 AD 07 A3 [10:15:31]Write i2c OK [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: F0 [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: F0 09 00 [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: F0 09 00 AD 07 00 C5 69 6D 66 8C 55 28 65 1B [10:15:31]GetLastDocTimeStamp 1718446472 [10:15:31]current date 1718446533 [10:15:31]FM_GetShiftState [10:15:31]SAM_PROTO_GetShiftState [10:15:31]wFMCommunicate request_size=4 [10:15:31]MH_SAM_APDU [10:15:31]CAPDU: 80 13 01 00 [10:15:31]Write to MH i2c: E2 08 00 AE 07 80 13 01 00 00 00 00 00 32 [10:15:31]Write i2c OK [10:15:31]MH_I2C_Read... [10:15:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:31]Read from MH i2c: E2 [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: E2 0E 00 [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: E2 0E 00 AE 07 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 06 [10:15:31]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:15:31]wFMCommunicate OK [10:15:31]SAM_PROTO_GetShiftState done [10:15:31]FM_GetShiftState done [10:15:31]opened in 1718410776 [10:15:31]opened+sec_in_day 1718497176 [10:15:31]quantity*price = 4000 [10:15:31]sum+1 = 4001 [10:15:31]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870209744595 Сухарики Флинт Краб 100 гр 2.000 * 60.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.41 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 27 15.06.2024 10:15 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22182 ФПД: 45151589970996 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101534&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22182&fm=45151589970996&tin=02508201610067®Number=0000000000099755&sum=16000 0 [10:15:32]StoreToDocumentArchive [10:15:32]shift 326 fd 22182 [10:15:32]save to /storage/0326/doc_00022182 [10:15:32]save last doc name /storage/0326/doc_00022182 to /storage/kkm_last_doc_name [10:15:32]save OK [10:15:32]Clear old archive folders... [10:15:32]ProcessDocumentItem done err = 0, tmpTLVsize=391 [10:15:32]tlvbuf is 001FDB20 [10:15:32]SAM_PROTO_ClearQueue [10:15:32]wFMCommunicate request_size=4 [10:15:32]MH_SAM_APDU [10:15:32]CAPDU: 80 09 00 00 [10:15:32]Write to MH i2c: E2 08 00 BB 07 80 09 00 00 00 00 00 00 34 [10:15:32]Write i2c OK [10:15:32]MH_I2C_Read... [10:15:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:15:32]Read from MH i2c: E2 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: E2 03 00 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: E2 03 00 BB 07 00 90 00 36 [10:15:32]RAPDU: 90 00 [10:15:32]wFMCommunicate OK [10:15:32]SAM_PROTO_ClearQueue done [10:15:32]KKMCreateOFDPacket [10:15:32]OFDProtocolAddRootSTLVToBuf [10:15:32]FM_MakeSignedData [10:15:32]FM_MakeSignedData [10:15:32]SAM_PROTO_SignData [10:15:32]wFMCommunicate request_size=4 [10:15:32]MH_SAM_APDU [10:15:32]CAPDU: 80 0D 01 02 [10:15:32]Write to MH i2c: E2 08 00 BC 07 80 0D 01 02 00 00 00 00 3C [10:15:32]Write i2c OK [10:15:32]MH_I2C_Read... [10:15:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:15:32]Read from MH i2c: E2 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: E2 03 00 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: E2 03 00 BC 07 00 90 00 37 [10:15:32]RAPDU: 90 00 [10:15:32]wFMCommunicate OK [10:15:32]wFMCommunicate request_size=255 [10:15:32]MH_SAM_APDU [10:15:32]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [10:15:32]Write to MH i2c: E2 02 01 BD 07 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 D0 [10:15:32]Write i2c OK [10:15:32]MH_I2C_Read... [10:15:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:33]Read from MH i2c: E2 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 03 00 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 03 00 BD 07 00 90 00 38 [10:15:33]RAPDU: 90 00 [10:15:33]wFMCommunicate OK [10:15:33]wFMCommunicate request_size=150 [10:15:33]MH_SAM_APDU [10:15:33]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 C6 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A6 56 00 00 35 04 06 00 29 10 AC 7B 34 34 [10:15:33]Write to MH i2c: E2 99 00 BE 07 80 0D 02 02 91 00 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 C6 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A6 56 00 00 35 04 06 00 29 10 AC 7B 34 34 00 00 B5 [10:15:33]Write i2c OK [10:15:33]MH_I2C_Read... [10:15:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:33]Read from MH i2c: E2 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 03 00 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 03 00 BE 07 00 90 00 39 [10:15:33]RAPDU: 90 00 [10:15:33]wFMCommunicate OK [10:15:33]wFMCommunicate request_size=4 [10:15:33]MH_SAM_APDU [10:15:33]CAPDU: 80 0D 03 02 [10:15:33]Write to MH i2c: E2 08 00 BF 07 80 0D 03 02 00 00 00 00 41 [10:15:33]Write i2c OK [10:15:33]MH_I2C_Read... [10:15:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:15:33]Read from MH i2c: E2 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 0B 00 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 0B 00 BF 07 00 13 65 78 E7 32 D0 CA 55 90 00 3A [10:15:33]RAPDU: 13 65 78 E7 32 D0 CA 55 90 00 [10:15:33]wFMCommunicate OK [10:15:33]SAM_PROTO_SignData done [10:15:33]FM_MakeSignedData done [10:15:33]CreateOFDProtocolMessage [10:15:33]wFMCommunicate request_size=4 [10:15:33]MH_SAM_APDU [10:15:33]CAPDU: 80 11 00 00 [10:15:33]Write to MH i2c: E2 08 00 C0 07 80 11 00 00 00 00 00 00 41 [10:15:33]Write i2c OK [10:15:33]MH_I2C_Read... [10:15:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:33]Read from MH i2c: E2 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 17 00 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 17 00 C0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 93 [10:15:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:15:33]wFMCommunicate OK [10:15:33]CreateOFDProtocolMessage done [10:15:33]OFDSenderStorePacket 22182 [10:15:33]StoreOFDPacket docnum=22182 [10:15:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 9B 01 00 00 07 5F 93 01 C5 25 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 C6 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A6 56 00 00 35 04 06 00 29 10 AC 7B 34 34 13 65 78 E7 32 D0 CA 55 [10:15:33]CheckFolder [10:15:33]dirname=/storage/ofd_packets [10:15:33]CheckFolder done [10:15:33]ProducePacketName [10:15:33]name=ofd_packets/00022182 [10:15:33]NVStorageSaveData ofd_packets/00022182 [10:15:33]File name is /storage/ofd_packets/00022182 [10:15:33]Write 441 bytes [10:15:33]NVStorageSaveData done [10:15:33]OFDSenderStorePacket done [10:15:33]KKMCreateOFDPacket done [10:15:33]NVStorageSaveData kkm_last_timestamp [10:15:33]File name is /storage/kkm_last_timestamp [10:15:33]Write 4 bytes [10:15:33]NVStorageSaveData done [10:15:33]ExternCall_PrintAddStr [10:15:33]wPrintStart [10:15:33]Write to MH i2c: 01 00 00 C1 07 C8 [10:15:33]Write i2c OK [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: 01 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: 01 07 00 [10:15:33]MH_I2C_Read... [10:15:33]OFD Sender: Processing packet 22182 [packets to send 5, broken 4] [10:15:33]ProducePacketName [10:15:33]name=ofd_packets/00022182 [10:15:33]OFD Sender: To server: pG, [10:15:33]CommunicateWithHost lk.salyk.kg:30040 [10:15:33]ConnectInit lk.salyk.kg [10:15:33]Read from MH i2c: 01 07 00 C1 07 00 00 00 00 00 FF 0F DD [10:15:33]RasterBufferAndPrint [10:15:33]line Счет N : (3)254401 [10:15:33]line ИНН: 02508201610067 [10:15:33]line Контрольно-Кассовый Чек [10:15:33]line ПРОДАЖА [10:15:33]line Товар: 4700000160044 [10:15:33]line Вода Ыссык Ата 0,5л [10:15:33]line 1.000 * 40.00 [10:15:33]line = 40.00 [10:15:33]line НДС 12% НСП 1% [10:15:33]line > о реализуемом товаре [10:15:33]line Товар: 4870209744595 [10:15:33]line Сухарики Флинт Краб 100 гр [10:15:33]line 2.000 * 60.00 [10:15:33]line = 120.00 [10:15:33]line НДС 12% НСП 1% [10:15:33]line > о реализуемом товаре [10:15:33]line ИТОГО: 160.00 [10:15:33]line НСП 1% : 1.41 [10:15:33]line НДС 12% : 16.99 [10:15:33]line Наличными: 160.00 [10:15:33]line Безнал.: 0.00 [10:15:33]line Место: АЗС № 76 "Партнер Нефть" [10:15:33]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:15:33]line СНО: Общий режим [10:15:33]line Чек 27 15.06.2024 10:15 [10:15:33]line Смена: 326 ФФД: 1.0 [10:15:33]line ЗНМ: 0300000200 [10:15:33]line РНМ: 0000000000099755 [10:15:33]line Версия ККМ: 001 [10:15:33]line ФМ: 0000000000965344 [10:15:33]line ФД: 22182 [10:15:33]line ФПД: 45151589970996 [10:15:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101534&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22182&fm=45151589970996&tin=02508201610067®Number=0000000000099755&sum=16000 [10:15:33]line 0 [10:15:33]written 0, free lines is 4095 [10:15:33]Connected sock=10 [10:15:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 9B 01 00 00 07 5F 93 01 C5 25 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 C6 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A6 56 00 00 35 04 06 00 29 10 AC 7B 34 34 13 65 78 E7 32 D0 CA 55 [10:15:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 DF 57 47 00 5C 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A6 56 00 00 F4 03 04 00 83 12 6D 66 B6 04 01 00 00 FF 7D 86 0A 9F 93 64 AD [10:15:34]CommunicateWithHost err = 0 [10:15:34]CheckOFDResponse [10:15:34]1017 (14) - 77093643461234 [10:15:34]1041 (16) - 0000000000965344 [10:15:34]1040 (4) - 22182 [10:15:34]1012 (4) - 15.06.2024 04:03 [10:15:34]1206 (1) - 0 [10:15:34]OFD Sender: Remove packet 22182 [10:15:34]ProducePacketName [10:15:34]name=ofd_packets/00022182 [10:15:34]NVStorageDeleteData [10:15:34]Write to MH i2c: 01 00 00 EF 07 F6 [10:15:34]Write i2c OK [10:15:34]MH_I2C_Read... [10:15:34]Read from MH i2c: 01 [10:15:34]MH_I2C_Read... [10:15:34]Read from MH i2c: 01 07 00 [10:15:34]MH_I2C_Read... [10:15:34]Read from MH i2c: 01 07 00 EF 07 00 00 00 00 00 D7 0C E0 [10:15:34]RasterBufferAndPrint [10:15:34]line [10:15:34]line [10:15:34]line [10:15:34]line [10:15:34]line [10:15:34]written 0, free lines is 3293 [10:15:34]MH_Cut [10:15:34]Write to MH i2c: D1 01 00 F6 07 01 CF [10:15:34]Write i2c OK [10:15:34]MH_I2C_Read... [10:15:34]Read from MH i2c: D1 [10:15:34]MH_I2C_Read... [10:15:34]Read from MH i2c: D1 01 00 [10:15:34]MH_I2C_Read... [10:15:34]Read from MH i2c: D1 01 00 F6 07 00 CE [10:15:34]Write to MH i2c: 01 00 00 F7 07 FE [10:15:34]Write i2c OK [10:15:34]MH_I2C_Read... [10:15:34]OFD Sender: No OFD packet to send [10:15:35]*** Cut start [10:15:35]*** Partial cut [10:15:35]*** CUTSNS_PIN = 1 [10:15:35]*** CUTSNS_PIN = 0 [10:15:35]*** Brake cut motor [10:15:35]Read from MH i2c: 01 [10:15:35]MH_I2C_Read... [10:15:35]*** Stop cut motor [10:15:35]*** Cut end [10:15:35]Read from MH i2c: 01 07 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: 01 07 00 F7 07 00 00 00 00 00 FF 0F 13 [10:15:35]process_action close_receipt done [10:15:35]requested_data is exist [10:15:35]produce_requested_data [10:15:35]requested_item fm.sn is exist - process it [10:15:35]wFMCommunicate request_size=4 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 11 00 00 [10:15:35]Write to MH i2c: E2 08 00 F8 07 80 11 00 00 00 00 00 00 79 [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 17 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 17 00 F8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 CB [10:15:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:15:35]wFMCommunicate OK [10:15:35]requested_item fd.num is exist - process it [10:15:35]SAM_PROTO_GetFieldsCounters [10:15:35]wFMCommunicate request_size=4 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 13 00 00 [10:15:35]Write to MH i2c: E2 08 00 F9 07 80 13 00 00 00 00 00 00 7C [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 62 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 62 00 F9 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A6 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [10:15:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A6 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:15:35]wFMCommunicate OK [10:15:35]SAM_PROTO_GetFieldsCounters done [10:15:35]requested_item shift.num is exist - process it [10:15:35]requested_item shift.opened is exist - process it [10:15:35]req_shift_opened [10:15:35]FM_GetShiftState [10:15:35]SAM_PROTO_GetShiftState [10:15:35]wFMCommunicate request_size=4 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 13 01 00 [10:15:35]Write to MH i2c: E2 08 00 FA 07 80 13 01 00 00 00 00 00 7E [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:35]Read from MH i2c: E2 0E 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 0E 00 FA 07 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 52 [10:15:35]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:15:35]wFMCommunicate OK [10:15:35]SAM_PROTO_GetShiftState done [10:15:35]FM_GetShiftState done [10:15:35]req_shift_opened done [10:15:35]requested_item shift.open_date is exist - process it [10:15:35]req_shift_open_date [10:15:35]req_shift_open_date done [10:15:35]produce_requested_data done [10:15:35]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22182,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [10:15:35]process_action_free close_receipt [10:15:35]json_value_free [10:15:35]json_value_free done [10:15:35]process_json_proto returns [10:15:35]Send response to host [10:15:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22182,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [10:15:35]free response buf [10:15:35]execute_script done [10:15:35]execute_script returns [10:15:35]free content buf [10:15:35]Sock 9.Close socket [10:15:35]Sock 9.Thread stoped [10:15:39]OFD Sender: No OFD packet to send [10:15:44]OFD Sender: No OFD packet to send [10:15:49]OFD Sender: No OFD packet to send [10:15:54]OFD Sender: No OFD packet to send [10:15:59]OFD Sender: No OFD packet to send [10:16:04]OFD Sender: No OFD packet to send [10:16:09]OFD Sender: No OFD packet to send [10:16:14]OFD Sender: No OFD packet to send [10:16:19]OFD Sender: No OFD packet to send [10:16:24]OFD Sender: No OFD packet to send [10:16:27]accept exits with 8 [10:16:27]New connection [10:16:27]New thread 3066695012 created [10:16:27]Thread 3066838372 joined [10:16:27]Waiting for new connection... [10:16:27] Sock 8.Parse request [10:16:27]Sock 8.Check first char [10:16:27]Sock 8.First char is OK [10:16:27]request: POST /json_proto HTTP/1.0 [10:16:27]Method: POST [10:16:27]URL: /json_proto [10:16:27]Method is POST - this is cgi request [10:16:27]url: /json_proto [10:16:27]query_string will be loaded in cgi processing [10:16:27]execute_cgi json_proto POST (null) [10:16:27]execute_cgi path=json_proto method=POST [10:16:27]POST find Content-Length [10:16:27]Host: 172.17.35.133:8080 [10:16:27]Content-Length: 732 [10:16:27]Content-Type: application/json [10:16:27] [10:16:27]POST finish read [10:16:27]Found Content-Length = 732 [10:16:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254402", "tax_sys" : 0, "items" : [ { "code": "47000405990016", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:16:27]execute_script... [10:16:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254402", "tax_sys" : 0, "items" : [ { "code": "47000405990016", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:16:27]POST & json_proto [10:16:27]process_json_proto [10:16:27]json parsed OK: [10:16:27]protocol is kg_v1.0 [10:16:27]action value=close_receipt [10:16:27]process_action close_receipt [10:16:27]cmd_close_receipt [10:16:27]MH_GetDate [10:16:27]Write to MH i2c: F0 00 00 FB 07 F1 [10:16:27]Write i2c OK [10:16:27]MH_I2C_Read... [10:16:27]Read from MH i2c: F0 [10:16:27]MH_I2C_Read... [10:16:27]Read from MH i2c: F0 09 00 [10:16:27]MH_I2C_Read... [10:16:27]Read from MH i2c: F0 09 00 FB 07 00 FD 69 6D 66 8C 55 28 65 A1 [10:16:27]GetLastDocTimeStamp 1718446534 [10:16:27]current date 1718446589 [10:16:27]FM_GetShiftState [10:16:27]SAM_PROTO_GetShiftState [10:16:27]wFMCommunicate request_size=4 [10:16:27]MH_SAM_APDU [10:16:27]CAPDU: 80 13 01 00 [10:16:27]Write to MH i2c: E2 08 00 FC 07 80 13 01 00 00 00 00 00 80 [10:16:27]Write i2c OK [10:16:27]MH_I2C_Read... [10:16:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:16:27]Read from MH i2c: E2 [10:16:27]MH_I2C_Read... [10:16:27]Read from MH i2c: E2 0E 00 [10:16:27]MH_I2C_Read... [10:16:27]Read from MH i2c: E2 0E 00 FC 07 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 54 [10:16:27]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:16:27]wFMCommunicate OK [10:16:27]SAM_PROTO_GetShiftState done [10:16:27]FM_GetShiftState done [10:16:27]opened in 1718410776 [10:16:27]opened+sec_in_day 1718497176 [10:16:27]quantity*price = 39500 [10:16:27]sum+1 = 39501 [10:16:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 395.00 НСП 1% : 3.50 НДС 12% : 41.95 Наличными: 395.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 28 15.06.2024 10:16 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22183 ФПД: 143425491637572 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101629&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22183&fm=143425491637572&tin=02508201610067®Number=0000000000099755&sum=39500 0 [10:16:28]StoreToDocumentArchive [10:16:28]shift 326 fd 22183 [10:16:28]save to /storage/0326/doc_00022183 [10:16:28]save last doc name /storage/0326/doc_00022183 to /storage/kkm_last_doc_name [10:16:28]save OK [10:16:28]Clear old archive folders... [10:16:28]ProcessDocumentItem done err = 0, tmpTLVsize=304 [10:16:28]tlvbuf is 001B9080 [10:16:28]SAM_PROTO_ClearQueue [10:16:28]wFMCommunicate request_size=4 [10:16:28]MH_SAM_APDU [10:16:28]CAPDU: 80 09 00 00 [10:16:28]Write to MH i2c: E2 08 00 09 08 80 09 00 00 00 00 00 00 83 [10:16:28]Write i2c OK [10:16:28]MH_I2C_Read... [10:16:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:16:28]Read from MH i2c: E2 [10:16:28]MH_I2C_Read... [10:16:28]Read from MH i2c: E2 03 00 [10:16:28]MH_I2C_Read... [10:16:28]Read from MH i2c: E2 03 00 09 08 00 90 00 85 [10:16:28]RAPDU: 90 00 [10:16:28]wFMCommunicate OK [10:16:28]SAM_PROTO_ClearQueue done [10:16:28]KKMCreateOFDPacket [10:16:28]OFDProtocolAddRootSTLVToBuf [10:16:28]FM_MakeSignedData [10:16:28]FM_MakeSignedData [10:16:28]SAM_PROTO_SignData [10:16:28]wFMCommunicate request_size=4 [10:16:28]MH_SAM_APDU [10:16:28]CAPDU: 80 0D 01 02 [10:16:28]Write to MH i2c: E2 08 00 0A 08 80 0D 01 02 00 00 00 00 8B [10:16:28]Write i2c OK [10:16:28]MH_I2C_Read... [10:16:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:16:28]Read from MH i2c: E2 [10:16:28]MH_I2C_Read... [10:16:28]Read from MH i2c: E2 03 00 [10:16:28]MH_I2C_Read... [10:16:28]Read from MH i2c: E2 03 00 0A 08 00 90 00 86 [10:16:28]RAPDU: 90 00 [10:16:28]wFMCommunicate OK [10:16:28]wFMCommunicate request_size=255 [10:16:28]MH_SAM_APDU [10:16:28]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 FD 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 [10:16:28]Write to MH i2c: E2 02 01 0B 08 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 FD 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 00 00 ED [10:16:28]Write i2c OK [10:16:28]MH_I2C_Read... [10:16:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:16:28]Read from MH i2c: E2 [10:16:28]MH_I2C_Read... [10:16:28]Read from MH i2c: E2 03 00 [10:16:28]MH_I2C_Read... [10:16:28]Read from MH i2c: E2 03 00 0B 08 00 90 00 87 [10:16:28]RAPDU: 90 00 [10:16:28]wFMCommunicate OK [10:16:28]wFMCommunicate request_size=63 [10:16:28]MH_SAM_APDU [10:16:28]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A7 56 00 00 35 04 06 00 82 71 D9 7B 15 44 [10:16:28]Write to MH i2c: E2 42 00 0C 08 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A7 56 00 00 35 04 06 00 82 71 D9 7B 15 44 00 00 7E [10:16:28]Write i2c OK [10:16:28]MH_I2C_Read... [10:16:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:16:28]Read from MH i2c: E2 [10:16:28]MH_I2C_Read... [10:16:28]Read from MH i2c: E2 03 00 [10:16:28]MH_I2C_Read... [10:16:28]Read from MH i2c: E2 03 00 0C 08 00 90 00 88 [10:16:28]RAPDU: 90 00 [10:16:28]wFMCommunicate OK [10:16:28]wFMCommunicate request_size=4 [10:16:28]MH_SAM_APDU [10:16:28]CAPDU: 80 0D 03 02 [10:16:28]Write to MH i2c: E2 08 00 0D 08 80 0D 03 02 00 00 00 00 90 [10:16:28]Write i2c OK [10:16:28]MH_I2C_Read... [10:16:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:16:29]Read from MH i2c: E2 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: E2 0B 00 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: E2 0B 00 0D 08 00 96 E5 EB 1E 3B 6A 5E A9 90 00 C1 [10:16:29]RAPDU: 96 E5 EB 1E 3B 6A 5E A9 90 00 [10:16:29]wFMCommunicate OK [10:16:29]SAM_PROTO_SignData done [10:16:29]FM_MakeSignedData done [10:16:29]CreateOFDProtocolMessage [10:16:29]wFMCommunicate request_size=4 [10:16:29]MH_SAM_APDU [10:16:29]CAPDU: 80 11 00 00 [10:16:29]Write to MH i2c: E2 08 00 0E 08 80 11 00 00 00 00 00 00 90 [10:16:29]Write i2c OK [10:16:29]MH_I2C_Read... [10:16:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:16:29]Read from MH i2c: E2 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: E2 17 00 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: E2 17 00 0E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E2 [10:16:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:16:29]wFMCommunicate OK [10:16:29]CreateOFDProtocolMessage done [10:16:29]OFDSenderStorePacket 22183 [10:16:29]StoreOFDPacket docnum=22183 [10:16:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 44 01 00 00 63 3A 3C 01 C9 47 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 FD 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A7 56 00 00 35 04 06 00 82 71 D9 7B 15 44 96 E5 EB 1E 3B 6A 5E A9 [10:16:29]CheckFolder [10:16:29]dirname=/storage/ofd_packets [10:16:29]CheckFolder done [10:16:29]ProducePacketName [10:16:29]name=ofd_packets/00022183 [10:16:29]NVStorageSaveData ofd_packets/00022183 [10:16:29]File name is /storage/ofd_packets/00022183 [10:16:29]Write 354 bytes [10:16:29]NVStorageSaveData done [10:16:29]OFDSenderStorePacket done [10:16:29]KKMCreateOFDPacket done [10:16:29]NVStorageSaveData kkm_last_timestamp [10:16:29]File name is /storage/kkm_last_timestamp [10:16:29]Write 4 bytes [10:16:29]NVStorageSaveData done [10:16:29]ExternCall_PrintAddStr [10:16:29]wPrintStart [10:16:29]Write to MH i2c: 01 00 00 0F 08 17 [10:16:29]OFD Sender: Processing packet 22183 [packets to send 5, broken 4] [10:16:29]ProducePacketName [10:16:29]name=ofd_packets/00022183 [10:16:29]OFD Sender: To server: pG, [10:16:29]CommunicateWithHost lk.salyk.kg:30040 [10:16:29]ConnectInit lk.salyk.kg [10:16:29]Write i2c OK [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: 01 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: 01 07 00 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: 01 07 00 0F 08 00 00 00 00 00 FF 0F 2C [10:16:29]RasterBufferAndPrint [10:16:29]line Счет N : (3)254402 [10:16:29]line ИНН: 02508201610067 [10:16:29]line Контрольно-Кассовый Чек [10:16:29]line ПРОДАЖА [10:16:29]line Товар: 47000405990016 [10:16:29]line Уголь древесный Партнер Нефть 3кг [10:16:29]line 1.000 * 395.00 [10:16:29]line = 395.00 [10:16:29]line НДС 12% НСП 1% [10:16:29]line > о реализуемом товаре [10:16:29]line ИТОГО: 395.00 [10:16:29]line НСП 1% : 3.50 [10:16:29]line НДС 12% : 41.95 [10:16:29]line Наличными: 395.00 [10:16:29]line Безнал.: 0.00 [10:16:29]line Место: АЗС № 76 "Партнер Нефть" [10:16:29]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:16:29]line СНО: Общий режим [10:16:29]line Чек 28 15.06.2024 10:16 [10:16:29]line Смена: 326 ФФД: 1.0 [10:16:29]line ЗНМ: 0300000200 [10:16:29]line РНМ: 0000000000099755 [10:16:29]line Версия ККМ: 001 [10:16:29]line ФМ: 0000000000965344 [10:16:29]line ФД: 22183 [10:16:29]line ФПД: 143425491637572 [10:16:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101629&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22183&fm=143425491637572&tin=02508201610067®Number=0000000000099755&sum=39500 [10:16:29]line 0 [10:16:29]Connected sock=9 [10:16:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 44 01 00 00 63 3A 3C 01 C9 47 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 FD 69 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A7 56 00 00 35 04 06 00 82 71 D9 7B 15 44 96 E5 EB 1E 3B 6A 5E A9 [10:16:29]written 0, free lines is 4095 [10:16:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 AA E7 47 00 B6 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A7 56 00 00 F4 03 04 00 BB 12 6D 66 B6 04 01 00 00 91 F3 70 13 72 96 E5 1D [10:16:29]CommunicateWithHost err = 0 [10:16:29]CheckOFDResponse [10:16:29]1017 (14) - 77093643461234 [10:16:29]1041 (16) - 0000000000965344 [10:16:29]1040 (4) - 22183 [10:16:29]1012 (4) - 15.06.2024 04:04 [10:16:29]1206 (1) - 0 [10:16:29]OFD Sender: Remove packet 22183 [10:16:29]ProducePacketName [10:16:29]name=ofd_packets/00022183 [10:16:29]NVStorageDeleteData [10:16:29]Write to MH i2c: 01 00 00 38 08 40 [10:16:29]Write i2c OK [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: 01 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: 01 07 00 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: 01 07 00 38 08 00 00 00 00 00 13 0D 67 [10:16:29]RasterBufferAndPrint [10:16:29]line [10:16:29]line [10:16:29]line [10:16:29]line [10:16:29]line [10:16:29]written 0, free lines is 3357 [10:16:29]MH_Cut [10:16:29]Write to MH i2c: D1 01 00 3F 08 01 19 [10:16:29]Write i2c OK [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: D1 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: D1 01 00 [10:16:29]MH_I2C_Read... [10:16:29]Read from MH i2c: D1 01 00 3F 08 00 18 [10:16:29]Write to MH i2c: 01 00 00 40 08 48 [10:16:29]Write i2c OK [10:16:29]MH_I2C_Read... [10:16:30]OFD Sender: No OFD packet to send [10:16:30]*** Cut start [10:16:30]*** Partial cut [10:16:30]*** CUTSNS_PIN = 1 [10:16:30]*** CUTSNS_PIN = 0 [10:16:30]*** Brake cut motor [10:16:31]Read from MH i2c: 01 [10:16:31]MH_I2C_Read... [10:16:31]*** Stop cut motor [10:16:31]*** Cut end [10:16:31]Read from MH i2c: 01 07 00 [10:16:31]MH_I2C_Read... [10:16:31]Read from MH i2c: 01 07 00 40 08 00 00 00 00 00 FF 0F 5D [10:16:31]process_action close_receipt done [10:16:31]requested_data is exist [10:16:31]produce_requested_data [10:16:31]requested_item fm.sn is exist - process it [10:16:31]wFMCommunicate request_size=4 [10:16:31]MH_SAM_APDU [10:16:31]CAPDU: 80 11 00 00 [10:16:31]Write to MH i2c: E2 08 00 41 08 80 11 00 00 00 00 00 00 C3 [10:16:31]Write i2c OK [10:16:31]MH_I2C_Read... [10:16:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:16:31]Read from MH i2c: E2 [10:16:31]MH_I2C_Read... [10:16:31]Read from MH i2c: E2 17 00 [10:16:31]MH_I2C_Read... [10:16:31]Read from MH i2c: E2 17 00 41 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 15 [10:16:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:16:31]wFMCommunicate OK [10:16:31]requested_item fd.num is exist - process it [10:16:31]SAM_PROTO_GetFieldsCounters [10:16:31]wFMCommunicate request_size=4 [10:16:31]MH_SAM_APDU [10:16:31]CAPDU: 80 13 00 00 [10:16:31]Write to MH i2c: E2 08 00 42 08 80 13 00 00 00 00 00 00 C6 [10:16:31]Write i2c OK [10:16:31]MH_I2C_Read... [10:16:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:16:31]Read from MH i2c: E2 [10:16:31]MH_I2C_Read... [10:16:31]Read from MH i2c: E2 62 00 [10:16:31]MH_I2C_Read... [10:16:31]Read from MH i2c: E2 62 00 42 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A7 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [10:16:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A7 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:16:31]wFMCommunicate OK [10:16:31]SAM_PROTO_GetFieldsCounters done [10:16:31]requested_item shift.num is exist - process it [10:16:31]requested_item shift.opened is exist - process it [10:16:31]req_shift_opened [10:16:31]FM_GetShiftState [10:16:31]SAM_PROTO_GetShiftState [10:16:31]wFMCommunicate request_size=4 [10:16:31]MH_SAM_APDU [10:16:31]CAPDU: 80 13 01 00 [10:16:31]Write to MH i2c: E2 08 00 43 08 80 13 01 00 00 00 00 00 C8 [10:16:31]Write i2c OK [10:16:31]MH_I2C_Read... [10:16:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:16:31]Read from MH i2c: E2 [10:16:31]MH_I2C_Read... [10:16:31]Read from MH i2c: E2 0E 00 [10:16:31]MH_I2C_Read... [10:16:31]Read from MH i2c: E2 0E 00 43 08 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 9C [10:16:31]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:16:31]wFMCommunicate OK [10:16:31]SAM_PROTO_GetShiftState done [10:16:31]FM_GetShiftState done [10:16:31]req_shift_opened done [10:16:31]requested_item shift.open_date is exist - process it [10:16:31]req_shift_open_date [10:16:31]req_shift_open_date done [10:16:31]produce_requested_data done [10:16:31]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22183,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [10:16:31]process_action_free close_receipt [10:16:31]json_value_free [10:16:31]json_value_free done [10:16:31]process_json_proto returns [10:16:31]Send response to host [10:16:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22183,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [10:16:31]free response buf [10:16:31]execute_script done [10:16:31]execute_script returns [10:16:31]free content buf [10:16:31]Sock 8.Close socket [10:16:31]Sock 8.Thread stoped [10:16:35]OFD Sender: No OFD packet to send [10:16:40]OFD Sender: No OFD packet to send [10:16:45]OFD Sender: No OFD packet to send [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:10]OFD Sender: No OFD packet to send [10:17:15]OFD Sender: No OFD packet to send [10:17:20]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:04]accept exits with 10 [10:18:04]New connection [10:18:04]New thread 3066838372 created [10:18:04]Thread 3066695012 joined [10:18:04]Waiting for new connection... [10:18:04] Sock 10.Parse request [10:18:04]Sock 10.Check first char [10:18:04]Sock 10.First char is OK [10:18:04]request: POST /json_proto HTTP/1.0 [10:18:04]Method: POST [10:18:04]URL: /json_proto [10:18:04]Method is POST - this is cgi request [10:18:04]url: /json_proto [10:18:04]query_string will be loaded in cgi processing [10:18:04]execute_cgi json_proto POST (null) [10:18:04]execute_cgi path=json_proto method=POST [10:18:04]POST find Content-Length [10:18:04]Host: 172.17.35.133:8080 [10:18:04]Content-Length: 711 [10:18:04]Content-Type: application/json [10:18:04] [10:18:04]POST finish read [10:18:04]Found Content-Length = 711 [10:18:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254403", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:18:04]execute_script... [10:18:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254403", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:18:04]POST & json_proto [10:18:04]process_json_proto [10:18:04]json parsed OK: [10:18:04]protocol is kg_v1.0 [10:18:04]action value=close_receipt [10:18:04]process_action close_receipt [10:18:04]cmd_close_receipt [10:18:04]MH_GetDate [10:18:04]Write to MH i2c: F0 00 00 44 08 3B [10:18:04]Write i2c OK [10:18:04]MH_I2C_Read... [10:18:04]Read from MH i2c: F0 [10:18:04]MH_I2C_Read... [10:18:04]Read from MH i2c: F0 09 00 [10:18:04]MH_I2C_Read... [10:18:04]Read from MH i2c: F0 09 00 44 08 00 5E 6A 6D 66 8C 55 28 65 4D [10:18:04]GetLastDocTimeStamp 1718446589 [10:18:04]current date 1718446686 [10:18:04]FM_GetShiftState [10:18:04]SAM_PROTO_GetShiftState [10:18:04]wFMCommunicate request_size=4 [10:18:04]MH_SAM_APDU [10:18:04]CAPDU: 80 13 01 00 [10:18:04]Write to MH i2c: E2 08 00 45 08 80 13 01 00 00 00 00 00 CA [10:18:04]Write i2c OK [10:18:04]MH_I2C_Read... [10:18:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:18:04]Read from MH i2c: E2 [10:18:04]MH_I2C_Read... [10:18:04]Read from MH i2c: E2 0E 00 [10:18:04]MH_I2C_Read... [10:18:04]Read from MH i2c: E2 0E 00 45 08 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 9E [10:18:04]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:18:04]wFMCommunicate OK [10:18:04]SAM_PROTO_GetShiftState done [10:18:04]FM_GetShiftState done [10:18:04]opened in 1718410776 [10:18:04]opened+sec_in_day 1718497176 [10:18:04]quantity*price = 11300 [10:18:04]sum+1 = 11301 [10:18:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 113.00 НСП 1% : 1.00 НДС 12% : 12.00 Наличными: 113.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 29 15.06.2024 10:18 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22184 ФПД: 179449714906814 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101806&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22184&fm=179449714906814&tin=02508201610067®Number=0000000000099755&sum=11300 0 [10:18:05]StoreToDocumentArchive [10:18:05]shift 326 fd 22184 [10:18:05]save to /storage/0326/doc_00022184 [10:18:05]save last doc name /storage/0326/doc_00022184 to /storage/kkm_last_doc_name [10:18:05]save OK [10:18:05]Clear old archive folders... [10:18:05]ProcessDocumentItem done err = 0, tmpTLVsize=303 [10:18:05]tlvbuf is 00204130 [10:18:05]SAM_PROTO_ClearQueue [10:18:05]wFMCommunicate request_size=4 [10:18:05]MH_SAM_APDU [10:18:05]CAPDU: 80 09 00 00 [10:18:05]Write to MH i2c: E2 08 00 52 08 80 09 00 00 00 00 00 00 CC [10:18:05]Write i2c OK [10:18:05]MH_I2C_Read... [10:18:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:18:05]Read from MH i2c: E2 [10:18:05]MH_I2C_Read... [10:18:05]Read from MH i2c: E2 03 00 [10:18:05]MH_I2C_Read... [10:18:05]Read from MH i2c: E2 03 00 52 08 00 90 00 CE [10:18:05]RAPDU: 90 00 [10:18:05]wFMCommunicate OK [10:18:05]SAM_PROTO_ClearQueue done [10:18:05]KKMCreateOFDPacket [10:18:05]OFDProtocolAddRootSTLVToBuf [10:18:05]FM_MakeSignedData [10:18:05]FM_MakeSignedData [10:18:05]SAM_PROTO_SignData [10:18:05]wFMCommunicate request_size=4 [10:18:05]MH_SAM_APDU [10:18:05]CAPDU: 80 0D 01 02 [10:18:05]Write to MH i2c: E2 08 00 53 08 80 0D 01 02 00 00 00 00 D4 [10:18:05]Write i2c OK [10:18:05]MH_I2C_Read... [10:18:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:18:05]Read from MH i2c: E2 [10:18:05]MH_I2C_Read... [10:18:05]Read from MH i2c: E2 03 00 [10:18:05]MH_I2C_Read... [10:18:05]Read from MH i2c: E2 03 00 53 08 00 90 00 CF [10:18:05]RAPDU: 90 00 [10:18:05]wFMCommunicate OK [10:18:05]wFMCommunicate request_size=255 [10:18:05]MH_SAM_APDU [10:18:05]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 5E 6A 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D [10:18:05]Write to MH i2c: E2 02 01 54 08 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 5E 6A 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 00 00 9E [10:18:05]Write i2c OK [10:18:05]MH_I2C_Read... [10:18:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:18:05]Read from MH i2c: E2 [10:18:05]MH_I2C_Read... [10:18:05]Read from MH i2c: E2 03 00 [10:18:05]MH_I2C_Read... [10:18:05]Read from MH i2c: E2 03 00 54 08 00 90 00 D0 [10:18:05]RAPDU: 90 00 [10:18:05]wFMCommunicate OK [10:18:05]wFMCommunicate request_size=62 [10:18:05]MH_SAM_APDU [10:18:05]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A8 56 00 00 35 04 06 00 A3 35 64 83 16 BE [10:18:05]Write to MH i2c: E2 41 00 55 08 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A8 56 00 00 35 04 06 00 A3 35 64 83 16 BE 00 00 AC [10:18:05]Write i2c OK [10:18:05]MH_I2C_Read... [10:18:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:18:05]Read from MH i2c: E2 [10:18:05]MH_I2C_Read... [10:18:05]Read from MH i2c: E2 03 00 [10:18:05]MH_I2C_Read... [10:18:06]Read from MH i2c: E2 03 00 55 08 00 90 00 D1 [10:18:06]RAPDU: 90 00 [10:18:06]wFMCommunicate OK [10:18:06]wFMCommunicate request_size=4 [10:18:06]MH_SAM_APDU [10:18:06]CAPDU: 80 0D 03 02 [10:18:06]Write to MH i2c: E2 08 00 56 08 80 0D 03 02 00 00 00 00 D9 [10:18:06]Write i2c OK [10:18:06]MH_I2C_Read... [10:18:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:18:06]Read from MH i2c: E2 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: E2 0B 00 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: E2 0B 00 56 08 00 4A FD 49 D0 82 A9 7C A0 90 00 81 [10:18:06]RAPDU: 4A FD 49 D0 82 A9 7C A0 90 00 [10:18:06]wFMCommunicate OK [10:18:06]SAM_PROTO_SignData done [10:18:06]FM_MakeSignedData done [10:18:06]CreateOFDProtocolMessage [10:18:06]wFMCommunicate request_size=4 [10:18:06]MH_SAM_APDU [10:18:06]CAPDU: 80 11 00 00 [10:18:06]Write to MH i2c: E2 08 00 57 08 80 11 00 00 00 00 00 00 D9 [10:18:06]Write i2c OK [10:18:06]MH_I2C_Read... [10:18:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:18:06]Read from MH i2c: E2 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: E2 17 00 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: E2 17 00 57 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2B [10:18:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:18:06]wFMCommunicate OK [10:18:06]CreateOFDProtocolMessage done [10:18:06]OFDSenderStorePacket 22184 [10:18:06]StoreOFDPacket docnum=22184 [10:18:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 43 01 00 00 15 DB 3B 01 CB 89 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 5E 6A 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A8 56 00 00 35 04 06 00 A3 35 64 83 16 BE 4A FD 49 D0 82 A9 7C A0 [10:18:06]CheckFolder [10:18:06]dirname=/storage/ofd_packets [10:18:06]CheckFolder done [10:18:06]ProducePacketName [10:18:06]name=ofd_packets/00022184 [10:18:06]NVStorageSaveData ofd_packets/00022184 [10:18:06]File name is /storage/ofd_packets/00022184 [10:18:06]Write 353 bytes [10:18:06]NVStorageSaveData done [10:18:06]OFDSenderStorePacket done [10:18:06]KKMCreateOFDPacket done [10:18:06]NVStorageSaveData kkm_last_timestamp [10:18:06]File name is /storage/kkm_last_timestamp [10:18:06]Write 4 bytes [10:18:06]NVStorageSaveData done [10:18:06]ExternCall_PrintAddStr [10:18:06]wPrintStart [10:18:06]Write to MH i2c: 01 00 00 58 08 60 [10:18:06]Write i2c OK [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: 01 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: 01 07 00 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: 01 07 00 58 08 00 00 00 00 00 FF 0F 75 [10:18:06]RasterBufferAndPrint [10:18:06]line Счет N : (3)254403 [10:18:06]line ИНН: 02508201610067 [10:18:06]line Контрольно-Кассовый Чек [10:18:06]line ПРОДАЖА [10:18:06]line Товар: 4870202521216 [10:18:06]line Напиток MAXI чай 1,2 зел.лимон (новый) [10:18:06]line 1.000 * 113.00 [10:18:06]line = 113.00 [10:18:06]line НДС 12% НСП 1% [10:18:06]line > о реализуемом товаре [10:18:06]line ИТОГО: 113.00 [10:18:06]line НСП 1% : 1.00 [10:18:06]line НДС 12% : 12.00 [10:18:06]line Наличными: 113.00 [10:18:06]line Безнал.: 0.00 [10:18:06]line Место: АЗС № 76 "Партнер Нефть" [10:18:06]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:18:06]line СНО: Общий режим [10:18:06]line Чек 29 15.06.2024 10:18 [10:18:06]line Смена: 326 ФФД: 1.0 [10:18:06]line ЗНМ: 0300000200 [10:18:06]line РНМ: 0000000000099755 [10:18:06]line Версия ККМ: 001 [10:18:06]line ФМ: 0000000000965344 [10:18:06]line ФД: 22184 [10:18:06]line ФПД: 179449714906814 [10:18:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T101806&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22184&fm=179449714906814&tin=02508201610067®Number=0000000000099755&sum=11300 [10:18:06]line 0 [10:18:06]OFD Sender: Processing packet 22184 [packets to send 5, broken 4] [10:18:06]ProducePacketName [10:18:06]name=ofd_packets/00022184 [10:18:06]OFD Sender: To server: pG, [10:18:06]CommunicateWithHost lk.salyk.kg:30040 [10:18:06]ConnectInit lk.salyk.kg [10:18:06]written 0, free lines is 4095 [10:18:06]Connected sock=9 [10:18:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 43 01 00 00 15 DB 3B 01 CB 89 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 5E 6A 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A8 56 00 00 35 04 06 00 A3 35 64 83 16 BE 4A FD 49 D0 82 A9 7C A0 [10:18:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 7C 98 47 00 42 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A8 56 00 00 F4 03 04 00 1C 13 6D 66 B6 04 01 00 00 33 0C 20 A1 00 9B D3 A5 [10:18:06]CommunicateWithHost err = 0 [10:18:06]CheckOFDResponse [10:18:06]1017 (14) - 77093643461234 [10:18:06]1041 (16) - 0000000000965344 [10:18:06]1040 (4) - 22184 [10:18:06]1012 (4) - 15.06.2024 04:05 [10:18:06]1206 (1) - 0 [10:18:06]OFD Sender: Remove packet 22184 [10:18:06]ProducePacketName [10:18:06]name=ofd_packets/00022184 [10:18:06]NVStorageDeleteData [10:18:06]Write to MH i2c: 01 00 00 81 08 89 [10:18:06]Write i2c OK [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: 01 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: 01 07 00 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: 01 07 00 81 08 00 00 00 00 00 20 0D BD [10:18:06]RasterBufferAndPrint [10:18:06]line [10:18:06]line [10:18:06]line [10:18:06]line [10:18:06]line [10:18:06]written 0, free lines is 3369 [10:18:06]MH_Cut [10:18:06]Write to MH i2c: D1 01 00 88 08 01 62 [10:18:06]Write i2c OK [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: D1 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: D1 01 00 [10:18:06]MH_I2C_Read... [10:18:06]Read from MH i2c: D1 01 00 88 08 00 61 [10:18:06]Write to MH i2c: 01 00 00 89 08 91 [10:18:06]Write i2c OK [10:18:06]MH_I2C_Read... [10:18:07]OFD Sender: No OFD packet to send [10:18:07]*** Cut start [10:18:07]*** Partial cut [10:18:07]*** CUTSNS_PIN = 1 [10:18:07]*** CUTSNS_PIN = 0 [10:18:07]*** Brake cut motor [10:18:08]Read from MH i2c: 01 [10:18:08]MH_I2C_Read... [10:18:08]*** Stop cut motor [10:18:08]*** Cut end [10:18:08]Read from MH i2c: 01 07 00 [10:18:08]MH_I2C_Read... [10:18:08]Read from MH i2c: 01 07 00 89 08 00 00 00 00 00 FF 0F A6 [10:18:08]process_action close_receipt done [10:18:08]requested_data is exist [10:18:08]produce_requested_data [10:18:08]requested_item fm.sn is exist - process it [10:18:08]wFMCommunicate request_size=4 [10:18:08]MH_SAM_APDU [10:18:08]CAPDU: 80 11 00 00 [10:18:08]Write to MH i2c: E2 08 00 8A 08 80 11 00 00 00 00 00 00 0C [10:18:08]Write i2c OK [10:18:08]MH_I2C_Read... [10:18:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:18:08]Read from MH i2c: E2 [10:18:08]MH_I2C_Read... [10:18:08]Read from MH i2c: E2 17 00 [10:18:08]MH_I2C_Read... [10:18:08]Read from MH i2c: E2 17 00 8A 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 5E [10:18:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:18:08]wFMCommunicate OK [10:18:08]requested_item fd.num is exist - process it [10:18:08]SAM_PROTO_GetFieldsCounters [10:18:08]wFMCommunicate request_size=4 [10:18:08]MH_SAM_APDU [10:18:08]CAPDU: 80 13 00 00 [10:18:08]Write to MH i2c: E2 08 00 8B 08 80 13 00 00 00 00 00 00 0F [10:18:08]Write i2c OK [10:18:08]MH_I2C_Read... [10:18:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:18:08]Read from MH i2c: E2 [10:18:08]MH_I2C_Read... [10:18:08]Read from MH i2c: E2 62 00 [10:18:08]MH_I2C_Read... [10:18:08]Read from MH i2c: E2 62 00 8B 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A8 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 D5 [10:18:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A8 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:18:08]wFMCommunicate OK [10:18:08]SAM_PROTO_GetFieldsCounters done [10:18:08]requested_item shift.num is exist - process it [10:18:08]requested_item shift.opened is exist - process it [10:18:08]req_shift_opened [10:18:08]FM_GetShiftState [10:18:08]SAM_PROTO_GetShiftState [10:18:08]wFMCommunicate request_size=4 [10:18:08]MH_SAM_APDU [10:18:08]CAPDU: 80 13 01 00 [10:18:08]Write to MH i2c: E2 08 00 8C 08 80 13 01 00 00 00 00 00 11 [10:18:08]Write i2c OK [10:18:08]MH_I2C_Read... [10:18:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:18:08]Read from MH i2c: E2 [10:18:08]MH_I2C_Read... [10:18:08]Read from MH i2c: E2 0E 00 [10:18:08]MH_I2C_Read... [10:18:08]Read from MH i2c: E2 0E 00 8C 08 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 E5 [10:18:08]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:18:08]wFMCommunicate OK [10:18:08]SAM_PROTO_GetShiftState done [10:18:08]FM_GetShiftState done [10:18:08]req_shift_opened done [10:18:08]requested_item shift.open_date is exist - process it [10:18:08]req_shift_open_date [10:18:08]req_shift_open_date done [10:18:08]produce_requested_data done [10:18:08]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22184,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [10:18:08]process_action_free close_receipt [10:18:08]json_value_free [10:18:08]json_value_free done [10:18:08]process_json_proto returns [10:18:08]Send response to host [10:18:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22184,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [10:18:08]free response buf [10:18:08]execute_script done [10:18:08]execute_script returns [10:18:08]free content buf [10:18:08]Sock 10.Close socket [10:18:08]Sock 10.Thread stoped [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28:42]OFD Sender: No OFD packet to send [10:28:47]OFD Sender: No OFD packet to send [10:28:52]OFD Sender: No OFD packet to send [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:07]OFD Sender: No OFD packet to send [10:32:12]OFD Sender: No OFD packet to send [10:32:17]OFD Sender: No OFD packet to send [10:32:22]OFD Sender: No OFD packet to send [10:32:27]OFD Sender: No OFD packet to send [10:32:32]OFD Sender: No OFD packet to send [10:32:37]OFD Sender: No OFD packet to send [10:32:42]OFD Sender: No OFD packet to send [10:32:47]OFD Sender: No OFD packet to send [10:32:52]OFD Sender: No OFD packet to send [10:32:57]OFD Sender: No OFD packet to send [10:33:02]OFD Sender: No OFD packet to send [10:33:07]OFD Sender: No OFD packet to send [10:33:12]OFD Sender: No OFD packet to send [10:33:17]OFD Sender: No OFD packet to send [10:33:22]OFD Sender: No OFD packet to send [10:33:27]OFD Sender: No OFD packet to send [10:33:32]OFD Sender: No OFD packet to send [10:33:37]OFD Sender: No OFD packet to send [10:33:42]OFD Sender: No OFD packet to send [10:33:47]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:07]accept exits with 8 [10:36:07]New connection [10:36:07]New thread 3066695012 created [10:36:07]Thread 3066838372 joined [10:36:07]Waiting for new connection... [10:36:07] Sock 8.Parse request [10:36:07]Sock 8.Check first char [10:36:07]Sock 8.First char is OK [10:36:07]request: POST /json_proto HTTP/1.0 [10:36:07]Method: POST [10:36:07]URL: /json_proto [10:36:07]Method is POST - this is cgi request [10:36:07]url: /json_proto [10:36:07]query_string will be loaded in cgi processing [10:36:07]execute_cgi json_proto POST (null) [10:36:07]execute_cgi path=json_proto method=POST [10:36:07]POST find Content-Length [10:36:07]Host: 172.17.35.133:8080 [10:36:07]Content-Length: 779 [10:36:07]Content-Type: application/json [10:36:07] [10:36:07]POST finish read [10:36:07]Found Content-Length = 779 [10:36:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254404", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:07]execute_script... [10:36:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254404", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:07]POST & json_proto [10:36:07]process_json_proto [10:36:07]json parsed OK: [10:36:07]protocol is kg_v1.0 [10:36:07]action value=close_receipt [10:36:07]process_action close_receipt [10:36:07]cmd_close_receipt [10:36:07]MH_GetDate [10:36:07]Write to MH i2c: F0 00 00 8D 08 84 [10:36:07]Write i2c OK [10:36:07]MH_I2C_Read... [10:36:07]Read from MH i2c: F0 [10:36:07]MH_I2C_Read... [10:36:07]Read from MH i2c: F0 09 00 [10:36:07]MH_I2C_Read... [10:36:07]Read from MH i2c: F0 09 00 8D 08 00 99 6E 6D 66 8C 55 28 65 D5 [10:36:07]GetLastDocTimeStamp 1718446686 [10:36:07]current date 1718447769 [10:36:07]FM_GetShiftState [10:36:07]SAM_PROTO_GetShiftState [10:36:07]wFMCommunicate request_size=4 [10:36:07]MH_SAM_APDU [10:36:07]CAPDU: 80 13 01 00 [10:36:07]Write to MH i2c: E2 08 00 8E 08 80 13 01 00 00 00 00 00 13 [10:36:07]Write i2c OK [10:36:07]MH_I2C_Read... [10:36:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:07]Read from MH i2c: E2 [10:36:07]MH_I2C_Read... [10:36:07]Read from MH i2c: E2 0E 00 [10:36:07]MH_I2C_Read... [10:36:07]Read from MH i2c: E2 0E 00 8E 08 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 E7 [10:36:07]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:36:07]wFMCommunicate OK [10:36:07]SAM_PROTO_GetShiftState done [10:36:07]FM_GetShiftState done [10:36:07]opened in 1718410776 [10:36:07]opened+sec_in_day 1718497176 [10:36:07]quantity*price = 13000 [10:36:07]sum+1 = 13001 [10:36:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 30 15.06.2024 10:36 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000965344 ФД: 22185 ФПД: 201227134322205 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T103609&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22185&fm=201227134322205&tin=02508201610067®Number=0000000000099755&sum=13000 0 [10:36:08]StoreToDocumentArchive [10:36:08]shift 326 fd 22185 [10:36:08]save to /storage/0326/doc_00022185 [10:36:08]save last doc name /storage/0326/doc_00022185 to /storage/kkm_last_doc_name [10:36:08]save OK [10:36:08]Clear old archive folders... [10:36:08]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:36:08]tlvbuf is 001FEAE0 [10:36:08]SAM_PROTO_ClearQueue [10:36:08]wFMCommunicate request_size=4 [10:36:08]MH_SAM_APDU [10:36:08]CAPDU: 80 09 00 00 [10:36:08]Write to MH i2c: E2 08 00 9B 08 80 09 00 00 00 00 00 00 15 [10:36:08]Write i2c OK [10:36:08]MH_I2C_Read... [10:36:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:36:08]Read from MH i2c: E2 [10:36:08]MH_I2C_Read... [10:36:08]Read from MH i2c: E2 03 00 [10:36:08]MH_I2C_Read... [10:36:08]Read from MH i2c: E2 03 00 9B 08 00 90 00 17 [10:36:08]RAPDU: 90 00 [10:36:08]wFMCommunicate OK [10:36:08]SAM_PROTO_ClearQueue done [10:36:08]KKMCreateOFDPacket [10:36:08]OFDProtocolAddRootSTLVToBuf [10:36:08]FM_MakeSignedData [10:36:08]FM_MakeSignedData [10:36:08]SAM_PROTO_SignData [10:36:08]wFMCommunicate request_size=4 [10:36:08]MH_SAM_APDU [10:36:08]CAPDU: 80 0D 01 02 [10:36:08]Write to MH i2c: E2 08 00 9C 08 80 0D 01 02 00 00 00 00 1D [10:36:08]Write i2c OK [10:36:08]MH_I2C_Read... [10:36:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:36:08]Read from MH i2c: E2 [10:36:08]MH_I2C_Read... [10:36:08]Read from MH i2c: E2 03 00 [10:36:08]MH_I2C_Read... [10:36:08]Read from MH i2c: E2 03 00 9C 08 00 90 00 18 [10:36:08]RAPDU: 90 00 [10:36:08]wFMCommunicate OK [10:36:08]wFMCommunicate request_size=255 [10:36:08]MH_SAM_APDU [10:36:08]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 99 6E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 [10:36:08]Write to MH i2c: E2 02 01 9D 08 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 99 6E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 00 00 81 [10:36:08]Write i2c OK [10:36:08]MH_I2C_Read... [10:36:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:08]Read from MH i2c: E2 [10:36:08]MH_I2C_Read... [10:36:08]Read from MH i2c: E2 03 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 03 00 9D 08 00 90 00 19 [10:36:09]RAPDU: 90 00 [10:36:09]wFMCommunicate OK [10:36:09]wFMCommunicate request_size=35 [10:36:09]MH_SAM_APDU [10:36:09]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A9 56 00 00 35 04 06 00 B7 03 D7 DC 46 1D [10:36:09]Write to MH i2c: E2 26 00 9E 08 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A9 56 00 00 35 04 06 00 B7 03 D7 DC 46 1D 00 00 E1 [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:09]Read from MH i2c: E2 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 03 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 03 00 9E 08 00 90 00 1A [10:36:09]RAPDU: 90 00 [10:36:09]wFMCommunicate OK [10:36:09]wFMCommunicate request_size=4 [10:36:09]MH_SAM_APDU [10:36:09]CAPDU: 80 0D 03 02 [10:36:09]Write to MH i2c: E2 08 00 9F 08 80 0D 03 02 00 00 00 00 22 [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:36:09]Read from MH i2c: E2 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 0B 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 0B 00 9F 08 00 46 09 16 C9 B8 95 A4 A0 90 00 E2 [10:36:09]RAPDU: 46 09 16 C9 B8 95 A4 A0 90 00 [10:36:09]wFMCommunicate OK [10:36:09]SAM_PROTO_SignData done [10:36:09]FM_MakeSignedData done [10:36:09]CreateOFDProtocolMessage [10:36:09]wFMCommunicate request_size=4 [10:36:09]MH_SAM_APDU [10:36:09]CAPDU: 80 11 00 00 [10:36:09]Write to MH i2c: E2 08 00 A0 08 80 11 00 00 00 00 00 00 22 [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:09]Read from MH i2c: E2 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 17 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 17 00 A0 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 74 [10:36:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:36:09]wFMCommunicate OK [10:36:09]CreateOFDProtocolMessage done [10:36:09]OFDSenderStorePacket 22185 [10:36:09]StoreOFDPacket docnum=22185 [10:36:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 49 F1 20 01 D6 4E 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 99 6E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A9 56 00 00 35 04 06 00 B7 03 D7 DC 46 1D 46 09 16 C9 B8 95 A4 A0 [10:36:09]CheckFolder [10:36:09]dirname=/storage/ofd_packets [10:36:09]CheckFolder done [10:36:09]ProducePacketName [10:36:09]name=ofd_packets/00022185 [10:36:09]NVStorageSaveData ofd_packets/00022185 [10:36:09]File name is /storage/ofd_packets/00022185 [10:36:09]Write 326 bytes [10:36:09]NVStorageSaveData done [10:36:09]OFDSenderStorePacket done [10:36:09]KKMCreateOFDPacket done [10:36:09]NVStorageSaveData kkm_last_timestamp [10:36:09]File name is /storage/kkm_last_timestamp [10:36:09]Write 4 bytes [10:36:09]NVStorageSaveData done [10:36:09]ExternCall_PrintAddStr [10:36:09]wPrintStart [10:36:09]Write to MH i2c: 01 00 00 A1 08 A9 [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: 01 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: 01 07 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: 01 07 00 A1 08 00 00 00 00 00 FF 0F BE [10:36:09]RasterBufferAndPrint [10:36:09]line Счет N : (3)254404 [10:36:09]line ИНН: 02508201610067 [10:36:09]line Контрольно-Кассовый Чек [10:36:09]line ПРОДАЖА [10:36:09]line Товар: 2000036230011 [10:36:09]line Кофе Латте XL(GABB TRADE) [10:36:09]line 1.000 * 130.00 [10:36:09]line = 130.00 [10:36:09]line НДС 12% НСП 1% [10:36:09]line > о реализуемом товаре [10:36:09]line ИТОГО: 130.00 [10:36:09]line НСП 1% : 1.15 [10:36:09]line НДС 12% : 13.80 [10:36:09]line Наличными: 0.00 [10:36:09]line Безнал.: 130.00 [10:36:09]line Место: АЗС № 76 "Партнер Нефть" [10:36:09]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:36:09]line СНО: Общий режим [10:36:09]line Чек 30 15.06.2024 10:36 [10:36:09]line Смена: 326 ФФД: 1.0 [10:36:09]line ЗНМ: 0300000200 [10:36:09]line РНМ: 0000000000099755 [10:36:09]line Версия ККМ: 001 [10:36:09]line Платежная система: KICB Банк [10:36:09]line ФМ: 0000000000965344 [10:36:09]line ФД: 22185 [10:36:09]line ФПД: 201227134322205 [10:36:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T103609&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22185&fm=201227134322205&tin=02508201610067®Number=0000000000099755&sum=13000 [10:36:09]line 0 [10:36:09]OFD Sender: Processing packet 22185 [packets to send 5, broken 4] [10:36:09]ProducePacketName [10:36:09]name=ofd_packets/00022185 [10:36:09]OFD Sender: To server: pG, [10:36:09]CommunicateWithHost lk.salyk.kg:30040 [10:36:09]ConnectInit lk.salyk.kg [10:36:09]written 0, free lines is 4095 [10:36:09]Connected sock=11 [10:36:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 49 F1 20 01 D6 4E 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 99 6E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A9 56 00 00 35 04 06 00 B7 03 D7 DC 46 1D 46 09 16 C9 B8 95 A4 A0 [10:36:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 6E 15 47 00 1A F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 A9 56 00 00 F4 03 04 00 57 17 6D 66 B6 04 01 00 00 96 78 D4 36 1A 24 A2 1B [10:36:09]CommunicateWithHost err = 0 [10:36:09]CheckOFDResponse [10:36:09]1017 (14) - 77093643461234 [10:36:09]1041 (16) - 0000000000965344 [10:36:09]1040 (4) - 22185 [10:36:09]1012 (4) - 15.06.2024 04:23 [10:36:09]1206 (1) - 0 [10:36:09]OFD Sender: Remove packet 22185 [10:36:09]ProducePacketName [10:36:09]name=ofd_packets/00022185 [10:36:09]NVStorageDeleteData [10:36:09]Write to MH i2c: 01 00 00 CB 08 D3 [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: 01 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: 01 07 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: 01 07 00 CB 08 00 00 00 00 00 13 0D FA [10:36:09]RasterBufferAndPrint [10:36:09]line [10:36:09]line [10:36:09]line [10:36:09]line [10:36:09]line [10:36:09]written 0, free lines is 3354 [10:36:09]MH_Cut [10:36:09]Write to MH i2c: D1 01 00 D2 08 01 AC [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: D1 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: D1 01 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: D1 01 00 D2 08 00 AB [10:36:09]Write to MH i2c: 01 00 00 D3 08 DB [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:10]OFD Sender: No OFD packet to send [10:36:10]*** Cut start [10:36:10]*** Partial cut [10:36:10]*** CUTSNS_PIN = 1 [10:36:10]*** CUTSNS_PIN = 0 [10:36:10]*** Brake cut motor [10:36:11]Read from MH i2c: 01 [10:36:11]MH_I2C_Read... [10:36:11]*** Stop cut motor [10:36:11]*** Cut end [10:36:11]Read from MH i2c: 01 07 00 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: 01 07 00 D3 08 00 00 00 00 00 FF 0F F0 [10:36:11]process_action close_receipt done [10:36:11]requested_data is exist [10:36:11]produce_requested_data [10:36:11]requested_item fm.sn is exist - process it [10:36:11]wFMCommunicate request_size=4 [10:36:11]MH_SAM_APDU [10:36:11]CAPDU: 80 11 00 00 [10:36:11]Write to MH i2c: E2 08 00 D4 08 80 11 00 00 00 00 00 00 56 [10:36:11]Write i2c OK [10:36:11]MH_I2C_Read... [10:36:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:11]Read from MH i2c: E2 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 17 00 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 17 00 D4 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A8 [10:36:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:36:11]wFMCommunicate OK [10:36:11]requested_item fd.num is exist - process it [10:36:11]SAM_PROTO_GetFieldsCounters [10:36:11]wFMCommunicate request_size=4 [10:36:11]MH_SAM_APDU [10:36:11]CAPDU: 80 13 00 00 [10:36:11]Write to MH i2c: E2 08 00 D5 08 80 13 00 00 00 00 00 00 59 [10:36:11]Write i2c OK [10:36:11]MH_I2C_Read... [10:36:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:11]Read from MH i2c: E2 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 62 00 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 62 00 D5 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 23 [10:36:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 A9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:36:11]wFMCommunicate OK [10:36:11]SAM_PROTO_GetFieldsCounters done [10:36:11]requested_item shift.num is exist - process it [10:36:11]requested_item shift.opened is exist - process it [10:36:11]req_shift_opened [10:36:11]FM_GetShiftState [10:36:11]SAM_PROTO_GetShiftState [10:36:11]wFMCommunicate request_size=4 [10:36:11]MH_SAM_APDU [10:36:11]CAPDU: 80 13 01 00 [10:36:11]Write to MH i2c: E2 08 00 D6 08 80 13 01 00 00 00 00 00 5B [10:36:11]Write i2c OK [10:36:11]MH_I2C_Read... [10:36:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:11]Read from MH i2c: E2 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 0E 00 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 0E 00 D6 08 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 2F [10:36:11]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:36:11]wFMCommunicate OK [10:36:11]SAM_PROTO_GetShiftState done [10:36:11]FM_GetShiftState done [10:36:11]req_shift_opened done [10:36:11]requested_item shift.open_date is exist - process it [10:36:11]req_shift_open_date [10:36:11]req_shift_open_date done [10:36:11]produce_requested_data done [10:36:11]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22185,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [10:36:11]process_action_free close_receipt [10:36:11]json_value_free [10:36:11]json_value_free done [10:36:11]process_json_proto returns [10:36:11]Send response to host [10:36:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22185,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [10:36:11]free response buf [10:36:11]execute_script done [10:36:11]execute_script returns [10:36:11]free content buf [10:36:11]Sock 8.Close socket [10:36:11]Sock 8.Thread stoped [10:36:15]OFD Sender: No OFD packet to send [10:36:17]accept exits with 9 [10:36:17]New connection [10:36:17]New thread 3066838372 created [10:36:17]Thread 3066695012 joined [10:36:17]Waiting for new connection... [10:36:17] Sock 9.Parse request [10:36:17]Sock 9.Check first char [10:36:17]Sock 9.First char is OK [10:36:17]request: POST /json_proto HTTP/1.0 [10:36:17]Method: POST [10:36:17]URL: /json_proto [10:36:17]Method is POST - this is cgi request [10:36:17]url: /json_proto [10:36:17]query_string will be loaded in cgi processing [10:36:17]execute_cgi json_proto POST (null) [10:36:17]execute_cgi path=json_proto method=POST [10:36:17]POST find Content-Length [10:36:17]Host: 172.17.35.133:8080 [10:36:17]Content-Length: 794 [10:36:17]Content-Type: application/json [10:36:17] [10:36:17]POST finish read [10:36:17]Found Content-Length = 794 [10:36:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610195", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 73.90, "quantity" : 27.070, "sum" : 2000.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 2000.47 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:17]execute_script... [10:36:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610195", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 73.90, "quantity" : 27.070, "sum" : 2000.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 2000.47 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:17]POST & json_proto [10:36:17]process_json_proto [10:36:17]json parsed OK: [10:36:17]protocol is kg_v1.0 [10:36:17]action value=close_receipt [10:36:17]process_action close_receipt [10:36:17]cmd_close_receipt [10:36:17]MH_GetDate [10:36:17]Write to MH i2c: F0 00 00 D7 08 CE [10:36:17]Write i2c OK [10:36:17]MH_I2C_Read... [10:36:17]Read from MH i2c: F0 [10:36:17]MH_I2C_Read... [10:36:17]Read from MH i2c: F0 09 00 [10:36:17]MH_I2C_Read... [10:36:17]Read from MH i2c: F0 09 00 D7 08 00 A4 6E 6D 66 8C 55 28 65 2A [10:36:17]GetLastDocTimeStamp 1718447769 [10:36:17]current date 1718447780 [10:36:17]FM_GetShiftState [10:36:17]SAM_PROTO_GetShiftState [10:36:17]wFMCommunicate request_size=4 [10:36:17]MH_SAM_APDU [10:36:17]CAPDU: 80 13 01 00 [10:36:17]Write to MH i2c: E2 08 00 D8 08 80 13 01 00 00 00 00 00 5D [10:36:17]Write i2c OK [10:36:17]MH_I2C_Read... [10:36:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:17]Read from MH i2c: E2 [10:36:17]MH_I2C_Read... [10:36:17]Read from MH i2c: E2 0E 00 [10:36:17]MH_I2C_Read... [10:36:17]Read from MH i2c: E2 0E 00 D8 08 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 31 [10:36:17]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:36:17]wFMCommunicate OK [10:36:17]SAM_PROTO_GetShiftState done [10:36:17]FM_GetShiftState done [10:36:17]opened in 1718410776 [10:36:17]opened+sec_in_day 1718497176 [10:36:17]quantity*price = 200047 [10:36:17]sum+1 = 200048 [10:36:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.47 НСП 1% : 17.70 НДС 12% : 212.44 Наличными: 0.00 Безнал.: 2000.47 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 31 15.06.2024 10:36 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000965344 ФД: 22186 ФПД: 142240558596525 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T103620&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22186&fm=142240558596525&tin=02508201610067®Number=0000000000099755&sum=200047 [10:36:18]StoreToDocumentArchive [10:36:18]shift 326 fd 22186 [10:36:18]save to /storage/0326/doc_00022186 [10:36:18]save last doc name /storage/0326/doc_00022186 to /storage/kkm_last_doc_name [10:36:18]save OK [10:36:18]Clear old archive folders... [10:36:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:36:18]tlvbuf is 001AF000 [10:36:18]SAM_PROTO_ClearQueue [10:36:18]wFMCommunicate request_size=4 [10:36:18]MH_SAM_APDU [10:36:18]CAPDU: 80 09 00 00 [10:36:18]Write to MH i2c: E2 08 00 E5 08 80 09 00 00 00 00 00 00 5F [10:36:18]Write i2c OK [10:36:18]MH_I2C_Read... [10:36:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:36:18]Read from MH i2c: E2 [10:36:18]MH_I2C_Read... [10:36:18]Read from MH i2c: E2 03 00 [10:36:18]MH_I2C_Read... [10:36:18]Read from MH i2c: E2 03 00 E5 08 00 90 00 61 [10:36:18]RAPDU: 90 00 [10:36:18]wFMCommunicate OK [10:36:18]SAM_PROTO_ClearQueue done [10:36:18]KKMCreateOFDPacket [10:36:18]OFDProtocolAddRootSTLVToBuf [10:36:18]FM_MakeSignedData [10:36:18]FM_MakeSignedData [10:36:18]SAM_PROTO_SignData [10:36:18]wFMCommunicate request_size=4 [10:36:18]MH_SAM_APDU [10:36:18]CAPDU: 80 0D 01 02 [10:36:18]Write to MH i2c: E2 08 00 E6 08 80 0D 01 02 00 00 00 00 67 [10:36:18]Write i2c OK [10:36:18]MH_I2C_Read... [10:36:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:36:19]Read from MH i2c: E2 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 03 00 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 03 00 E6 08 00 90 00 62 [10:36:19]RAPDU: 90 00 [10:36:19]wFMCommunicate OK [10:36:19]wFMCommunicate request_size=255 [10:36:19]MH_SAM_APDU [10:36:19]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 BE 69 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 6F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 A4 6E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AA 56 00 00 35 04 06 00 81 [10:36:19]Write to MH i2c: E2 02 01 E7 08 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 BE 69 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 6F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 A4 6E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AA 56 00 00 35 04 06 00 81 00 00 26 [10:36:19]Write i2c OK [10:36:19]MH_I2C_Read... [10:36:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:19]Read from MH i2c: E2 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 03 00 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 03 00 E7 08 00 90 00 63 [10:36:19]RAPDU: 90 00 [10:36:19]wFMCommunicate OK [10:36:19]wFMCommunicate request_size=10 [10:36:19]MH_SAM_APDU [10:36:19]CAPDU: 80 0D 02 02 05 5D F5 F7 C1 AD [10:36:19]Write to MH i2c: E2 0D 00 E8 08 80 0D 02 02 05 00 5D F5 F7 C1 AD 00 00 2B [10:36:19]Write i2c OK [10:36:19]MH_I2C_Read... [10:36:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:19]Read from MH i2c: E2 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 03 00 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 03 00 E8 08 00 90 00 64 [10:36:19]RAPDU: 90 00 [10:36:19]wFMCommunicate OK [10:36:19]wFMCommunicate request_size=4 [10:36:19]MH_SAM_APDU [10:36:19]CAPDU: 80 0D 03 02 [10:36:19]Write to MH i2c: E2 08 00 E9 08 80 0D 03 02 00 00 00 00 6C [10:36:19]Write i2c OK [10:36:19]MH_I2C_Read... [10:36:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:36:19]Read from MH i2c: E2 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 0B 00 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 0B 00 E9 08 00 EE 46 BF CC 7D 72 48 8A 90 00 ED [10:36:19]RAPDU: EE 46 BF CC 7D 72 48 8A 90 00 [10:36:19]wFMCommunicate OK [10:36:19]SAM_PROTO_SignData done [10:36:19]FM_MakeSignedData done [10:36:19]CreateOFDProtocolMessage [10:36:19]wFMCommunicate request_size=4 [10:36:19]MH_SAM_APDU [10:36:19]CAPDU: 80 11 00 00 [10:36:19]Write to MH i2c: E2 08 00 EA 08 80 11 00 00 00 00 00 00 6C [10:36:19]Write i2c OK [10:36:19]MH_I2C_Read... [10:36:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:19]Read from MH i2c: E2 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 17 00 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: E2 17 00 EA 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 BE [10:36:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:36:19]wFMCommunicate OK [10:36:19]CreateOFDProtocolMessage done [10:36:19]OFDSenderStorePacket 22186 [10:36:19]StoreOFDPacket docnum=22186 [10:36:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 AC E7 07 01 DF B9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 BE 69 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 6F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 A4 6E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AA 56 00 00 35 04 06 00 81 5D F5 F7 C1 AD EE 46 BF CC 7D 72 48 8A [10:36:19]CheckFolder [10:36:19]dirname=/storage/ofd_packets [10:36:19]CheckFolder done [10:36:19]ProducePacketName [10:36:19]name=ofd_packets/00022186 [10:36:19]NVStorageSaveData ofd_packets/00022186 [10:36:19]File name is /storage/ofd_packets/00022186 [10:36:19]Write 301 bytes [10:36:19]NVStorageSaveData done [10:36:19]OFDSenderStorePacket done [10:36:19]KKMCreateOFDPacket done [10:36:19]NVStorageSaveData kkm_last_timestamp [10:36:19]File name is /storage/kkm_last_timestamp [10:36:19]Write 4 bytes [10:36:19]NVStorageSaveData done [10:36:19]ExternCall_PrintAddStr [10:36:19]wPrintStart [10:36:19]Write to MH i2c: 01 00 00 EB 08 F3 [10:36:19]Write i2c OK [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: 01 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: 01 07 00 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: 01 07 00 EB 08 00 00 00 00 00 FF 0F 08 [10:36:19]RasterBufferAndPrint [10:36:19]line Счет N : (1)1610195 [10:36:19]line ИНН: 02508201610067 [10:36:19]line Контрольно-Кассовый Чек [10:36:19]line ПРОДАЖА [10:36:19]line ТРК (МРК, ГНК) : 42 [10:36:19]line Товар: 2710124500 [10:36:19]line Аи-95-К-5 [10:36:19]line 27.070 * 73.90 [10:36:19]line = 2000.47 [10:36:19]line НДС 12% НСП 1% [10:36:19]line > о реализуемом товаре [10:36:19]line ИТОГО: 2000.47 [10:36:19]line НСП 1% : 17.70 [10:36:19]line НДС 12% : 212.44 [10:36:19]line Наличными: 0.00 [10:36:19]line Безнал.: 2000.47 [10:36:19]line Место: АЗС № 76 "Партнер Нефть" [10:36:19]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:36:19]line СНО: Общий режим [10:36:19]line Чек 31 15.06.2024 10:36 [10:36:19]line Смена: 326 ФФД: 1.0 [10:36:19]line ЗНМ: 0300000200 [10:36:19]line РНМ: 0000000000099755 [10:36:19]line Версия ККМ: 001 [10:36:19]line Платежная система: KICB Банк [10:36:19]line ФМ: 0000000000965344 [10:36:19]line ФД: 22186 [10:36:19]line ФПД: 142240558596525 [10:36:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T103620&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22186&fm=142240558596525&tin=02508201610067®Number=0000000000099755&sum=200047 [10:36:19]written 0, free lines is 4095 [10:36:19]OFD Sender: Processing packet 22186 [packets to send 5, broken 4] [10:36:19]ProducePacketName [10:36:19]name=ofd_packets/00022186 [10:36:19]OFD Sender: To server: pG, [10:36:19]CommunicateWithHost lk.salyk.kg:30040 [10:36:19]ConnectInit lk.salyk.kg [10:36:19]Connected sock=10 [10:36:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 AC E7 07 01 DF B9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 BE 69 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 6F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 A4 6E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AA 56 00 00 35 04 06 00 81 5D F5 F7 C1 AD EE 46 BF CC 7D 72 48 8A [10:36:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 27 18 47 00 3B 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AA 56 00 00 F4 03 04 00 61 17 6D 66 B6 04 01 00 00 10 CC 51 15 85 DD 1B 77 [10:36:19]CommunicateWithHost err = 0 [10:36:19]CheckOFDResponse [10:36:19]1017 (14) - 77093643461234 [10:36:19]1041 (16) - 0000000000965344 [10:36:19]1040 (4) - 22186 [10:36:19]1012 (4) - 15.06.2024 04:24 [10:36:19]1206 (1) - 0 [10:36:19]OFD Sender: Remove packet 22186 [10:36:19]ProducePacketName [10:36:19]name=ofd_packets/00022186 [10:36:19]NVStorageDeleteData [10:36:19]Write to MH i2c: 01 00 00 15 09 1E [10:36:19]Write i2c OK [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: 01 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: 01 07 00 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: 01 07 00 15 09 00 00 00 00 00 11 0D 43 [10:36:19]RasterBufferAndPrint [10:36:19]line [10:36:19]line [10:36:19]line [10:36:19]line [10:36:19]line [10:36:19]written 0, free lines is 3354 [10:36:19]MH_Cut [10:36:19]Write to MH i2c: D1 01 00 1C 09 01 F7 [10:36:19]Write i2c OK [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: D1 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: D1 01 00 [10:36:19]MH_I2C_Read... [10:36:19]Read from MH i2c: D1 01 00 1C 09 00 F6 [10:36:19]Write to MH i2c: 01 00 00 1D 09 26 [10:36:19]Write i2c OK [10:36:19]MH_I2C_Read... [10:36:20]OFD Sender: No OFD packet to send [10:36:20]*** Cut start [10:36:20]*** Partial cut [10:36:20]*** CUTSNS_PIN = 1 [10:36:20]*** CUTSNS_PIN = 0 [10:36:20]*** Brake cut motor [10:36:21]Read from MH i2c: 01 [10:36:21]MH_I2C_Read... [10:36:21]*** Stop cut motor [10:36:21]*** Cut end [10:36:21]Read from MH i2c: 01 07 00 [10:36:21]MH_I2C_Read... [10:36:21]Read from MH i2c: 01 07 00 1D 09 00 00 00 00 00 FF 0F 3B [10:36:21]process_action close_receipt done [10:36:21]requested_data is exist [10:36:21]produce_requested_data [10:36:21]requested_item fm.sn is exist - process it [10:36:21]wFMCommunicate request_size=4 [10:36:21]MH_SAM_APDU [10:36:21]CAPDU: 80 11 00 00 [10:36:21]Write to MH i2c: E2 08 00 1E 09 80 11 00 00 00 00 00 00 A1 [10:36:21]Write i2c OK [10:36:21]MH_I2C_Read... [10:36:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:21]Read from MH i2c: E2 [10:36:21]MH_I2C_Read... [10:36:21]Read from MH i2c: E2 17 00 [10:36:21]MH_I2C_Read... [10:36:21]Read from MH i2c: E2 17 00 1E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F3 [10:36:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:36:21]wFMCommunicate OK [10:36:21]requested_item fd.num is exist - process it [10:36:21]SAM_PROTO_GetFieldsCounters [10:36:21]wFMCommunicate request_size=4 [10:36:21]MH_SAM_APDU [10:36:21]CAPDU: 80 13 00 00 [10:36:21]Write to MH i2c: E2 08 00 1F 09 80 13 00 00 00 00 00 00 A4 [10:36:21]Write i2c OK [10:36:21]MH_I2C_Read... [10:36:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:21]Read from MH i2c: E2 [10:36:21]MH_I2C_Read... [10:36:21]Read from MH i2c: E2 62 00 [10:36:21]MH_I2C_Read... [10:36:21]Read from MH i2c: E2 62 00 1F 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 72 [10:36:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:36:21]wFMCommunicate OK [10:36:21]SAM_PROTO_GetFieldsCounters done [10:36:21]requested_item shift.num is exist - process it [10:36:21]requested_item shift.opened is exist - process it [10:36:21]req_shift_opened [10:36:21]FM_GetShiftState [10:36:21]SAM_PROTO_GetShiftState [10:36:21]wFMCommunicate request_size=4 [10:36:21]MH_SAM_APDU [10:36:21]CAPDU: 80 13 01 00 [10:36:21]Write to MH i2c: E2 08 00 20 09 80 13 01 00 00 00 00 00 A6 [10:36:21]Write i2c OK [10:36:21]MH_I2C_Read... [10:36:21]Read from MH i2c: E2 [10:36:21]MH_I2C_Read... [10:36:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:21]Read from MH i2c: E2 0E 00 [10:36:21]MH_I2C_Read... [10:36:21]Read from MH i2c: E2 0E 00 20 09 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 7A [10:36:21]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:36:21]wFMCommunicate OK [10:36:21]SAM_PROTO_GetShiftState done [10:36:21]FM_GetShiftState done [10:36:21]req_shift_opened done [10:36:21]requested_item shift.open_date is exist - process it [10:36:21]req_shift_open_date [10:36:21]req_shift_open_date done [10:36:21]produce_requested_data done [10:36:21]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22186,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [10:36:21]process_action_free close_receipt [10:36:21]json_value_free [10:36:21]json_value_free done [10:36:21]process_json_proto returns [10:36:21]Send response to host [10:36:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22186,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [10:36:21]free response buf [10:36:21]execute_script done [10:36:21]execute_script returns [10:36:21]free content buf [10:36:21]Sock 9.Close socket [10:36:21]Sock 9.Thread stoped [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:20]OFD Sender: No OFD packet to send [10:37:25]OFD Sender: No OFD packet to send [10:37:30]OFD Sender: No OFD packet to send [10:37:35]OFD Sender: No OFD packet to send [10:37:40]OFD Sender: No OFD packet to send [10:37:45]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:30]OFD Sender: No OFD packet to send [10:50:35]OFD Sender: No OFD packet to send [10:50:40]OFD Sender: No OFD packet to send [10:50:45]OFD Sender: No OFD packet to send [10:50:50]OFD Sender: No OFD packet to send [10:50:55]OFD Sender: No OFD packet to send [10:51:00]OFD Sender: No OFD packet to send [10:51:06]OFD Sender: No OFD packet to send [10:51:11]OFD Sender: No OFD packet to send [10:51:16]OFD Sender: No OFD packet to send [10:51:21]OFD Sender: No OFD packet to send [10:51:26]OFD Sender: No OFD packet to send [10:51:31]OFD Sender: No OFD packet to send [10:51:36]OFD Sender: No OFD packet to send [10:51:41]OFD Sender: No OFD packet to send [10:51:46]OFD Sender: No OFD packet to send [10:51:51]OFD Sender: No OFD packet to send [10:51:56]OFD Sender: No OFD packet to send [10:52:01]OFD Sender: No OFD packet to send [10:52:06]OFD Sender: No OFD packet to send [10:52:11]OFD Sender: No OFD packet to send [10:52:16]OFD Sender: No OFD packet to send [10:52:21]OFD Sender: No OFD packet to send [10:52:26]OFD Sender: No OFD packet to send [10:52:31]OFD Sender: No OFD packet to send [10:52:36]OFD Sender: No OFD packet to send [10:52:41]OFD Sender: No OFD packet to send [10:52:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]OFD Sender: No OFD packet to send [10:53:01]OFD Sender: No OFD packet to send [10:53:06]OFD Sender: No OFD packet to send [10:53:11]OFD Sender: No OFD packet to send [10:53:16]OFD Sender: No OFD packet to send [10:53:21]OFD Sender: No OFD packet to send [10:53:26]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:16]OFD Sender: No OFD packet to send [10:55:21]OFD Sender: No OFD packet to send [10:55:26]OFD Sender: No OFD packet to send [10:55:31]OFD Sender: No OFD packet to send [10:55:36]OFD Sender: No OFD packet to send [10:55:41]OFD Sender: No OFD packet to send [10:55:46]OFD Sender: No OFD packet to send [10:55:51]OFD Sender: No OFD packet to send [10:55:56]OFD Sender: No OFD packet to send [10:56:01]OFD Sender: No OFD packet to send [10:56:06]OFD Sender: No OFD packet to send [10:56:11]OFD Sender: No OFD packet to send [10:56:16]OFD Sender: No OFD packet to send [10:56:21]OFD Sender: No OFD packet to send [10:56:26]OFD Sender: No OFD packet to send [10:56:31]OFD Sender: No OFD packet to send [10:56:36]OFD Sender: No OFD packet to send [10:56:41]OFD Sender: No OFD packet to send [10:56:46]OFD Sender: No OFD packet to send [10:56:51]OFD Sender: No OFD packet to send [10:56:56]OFD Sender: No OFD packet to send [10:57:01]OFD Sender: No OFD packet to send [10:57:06]OFD Sender: No OFD packet to send [10:57:11]OFD Sender: No OFD packet to send [10:57:16]OFD Sender: No OFD packet to send [10:57:21]OFD Sender: No OFD packet to send [10:57:26]OFD Sender: No OFD packet to send [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:55]accept exits with 8 [10:59:55]New connection [10:59:55]New thread 3066695012 created [10:59:55]Thread 3066838372 joined [10:59:55]Waiting for new connection... [10:59:55] Sock 8.Parse request [10:59:55]Sock 8.Check first char [10:59:55]Sock 8.First char is OK [10:59:55]request: POST /json_proto HTTP/1.0 [10:59:55]Method: POST [10:59:55]URL: /json_proto [10:59:55]Method is POST - this is cgi request [10:59:55]url: /json_proto [10:59:55]query_string will be loaded in cgi processing [10:59:55]execute_cgi json_proto POST (null) [10:59:55]execute_cgi path=json_proto method=POST [10:59:55]POST find Content-Length [10:59:55]Host: 172.17.35.133:8080 [10:59:55]Content-Length: 678 [10:59:55]Content-Type: application/json [10:59:55] [10:59:55]POST finish read [10:59:55]Found Content-Length = 678 [10:59:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610204", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 3.040, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:55]execute_script... [10:59:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610204", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 3.040, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:55]POST & json_proto [10:59:55]process_json_proto [10:59:55]json parsed OK: [10:59:55]protocol is kg_v1.0 [10:59:55]action value=close_receipt [10:59:55]process_action close_receipt [10:59:55]cmd_close_receipt [10:59:55]MH_GetDate [10:59:55]Write to MH i2c: F0 00 00 21 09 19 [10:59:55]Write i2c OK [10:59:55]MH_I2C_Read... [10:59:55]Read from MH i2c: F0 [10:59:55]MH_I2C_Read... [10:59:55]Read from MH i2c: F0 09 00 [10:59:55]MH_I2C_Read... [10:59:55]Read from MH i2c: F0 09 00 21 09 00 2E 74 6D 66 8C 55 28 65 05 [10:59:55]GetLastDocTimeStamp 1718447780 [10:59:55]current date 1718449198 [10:59:55]FM_GetShiftState [10:59:55]SAM_PROTO_GetShiftState [10:59:55]wFMCommunicate request_size=4 [10:59:55]MH_SAM_APDU [10:59:55]CAPDU: 80 13 01 00 [10:59:55]Write to MH i2c: E2 08 00 22 09 80 13 01 00 00 00 00 00 A8 [10:59:55]Write i2c OK [10:59:55]MH_I2C_Read... [10:59:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:56]Read from MH i2c: E2 [10:59:56]MH_I2C_Read... [10:59:56]Read from MH i2c: E2 0E 00 [10:59:56]MH_I2C_Read... [10:59:56]Read from MH i2c: E2 0E 00 22 09 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 7C [10:59:56]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [10:59:56]wFMCommunicate OK [10:59:56]SAM_PROTO_GetShiftState done [10:59:56]FM_GetShiftState done [10:59:56]opened in 1718410776 [10:59:56]opened+sec_in_day 1718497176 [10:59:56]quantity*price = 20003 [10:59:56]sum+1 = 20004 [10:59:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.03 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 32 15.06.2024 10:59 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22187 ФПД: 164232473554408 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T105958&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22187&fm=164232473554408&tin=02508201610067®Number=0000000000099755&sum=20000 [10:59:57]StoreToDocumentArchive [10:59:57]shift 326 fd 22187 [10:59:57]save to /storage/0326/doc_00022187 [10:59:57]save last doc name /storage/0326/doc_00022187 to /storage/kkm_last_doc_name [10:59:57]save OK [10:59:57]Clear old archive folders... [10:59:57]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:59:57]tlvbuf is 001CC0B0 [10:59:57]SAM_PROTO_ClearQueue [10:59:57]wFMCommunicate request_size=4 [10:59:57]MH_SAM_APDU [10:59:57]CAPDU: 80 09 00 00 [10:59:57]Write to MH i2c: E2 08 00 2F 09 80 09 00 00 00 00 00 00 AA [10:59:57]Write i2c OK [10:59:57]MH_I2C_Read... [10:59:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:59:57]Read from MH i2c: E2 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 03 00 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 03 00 2F 09 00 90 00 AC [10:59:57]RAPDU: 90 00 [10:59:57]wFMCommunicate OK [10:59:57]SAM_PROTO_ClearQueue done [10:59:57]KKMCreateOFDPacket [10:59:57]OFDProtocolAddRootSTLVToBuf [10:59:57]FM_MakeSignedData [10:59:57]FM_MakeSignedData [10:59:57]SAM_PROTO_SignData [10:59:57]wFMCommunicate request_size=4 [10:59:57]MH_SAM_APDU [10:59:57]CAPDU: 80 0D 01 02 [10:59:57]Write to MH i2c: E2 08 00 30 09 80 0D 01 02 00 00 00 00 B2 [10:59:57]Write i2c OK [10:59:57]MH_I2C_Read... [10:59:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:59:57]Read from MH i2c: E2 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 03 00 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 03 00 30 09 00 90 00 AD [10:59:57]RAPDU: 90 00 [10:59:57]wFMCommunicate OK [10:59:57]wFMCommunicate request_size=255 [10:59:57]MH_SAM_APDU [10:59:57]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E0 0B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 2E 74 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AB 56 00 00 35 04 06 00 95 [10:59:57]Write to MH i2c: E2 02 01 31 09 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E0 0B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 2E 74 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AB 56 00 00 35 04 06 00 95 00 00 41 [10:59:57]Write i2c OK [10:59:57]MH_I2C_Read... [10:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:57]Read from MH i2c: E2 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 03 00 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 03 00 31 09 00 90 00 AE [10:59:57]RAPDU: 90 00 [10:59:57]wFMCommunicate OK [10:59:57]wFMCommunicate request_size=10 [10:59:57]MH_SAM_APDU [10:59:57]CAPDU: 80 0D 02 02 05 5E 5A 3F 2D E8 [10:59:57]Write to MH i2c: E2 0D 00 32 09 80 0D 02 02 05 00 5E 5A 3F 2D E8 00 00 CB [10:59:57]Write i2c OK [10:59:57]MH_I2C_Read... [10:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:57]Read from MH i2c: E2 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 03 00 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 03 00 32 09 00 90 00 AF [10:59:57]RAPDU: 90 00 [10:59:57]wFMCommunicate OK [10:59:57]wFMCommunicate request_size=4 [10:59:57]MH_SAM_APDU [10:59:57]CAPDU: 80 0D 03 02 [10:59:57]Write to MH i2c: E2 08 00 33 09 80 0D 03 02 00 00 00 00 B7 [10:59:57]Write i2c OK [10:59:57]MH_I2C_Read... [10:59:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:59:57]Read from MH i2c: E2 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 0B 00 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 0B 00 33 09 00 C0 C5 06 B3 AA 41 01 31 90 00 13 [10:59:57]RAPDU: C0 C5 06 B3 AA 41 01 31 90 00 [10:59:57]wFMCommunicate OK [10:59:57]SAM_PROTO_SignData done [10:59:57]FM_MakeSignedData done [10:59:57]CreateOFDProtocolMessage [10:59:57]wFMCommunicate request_size=4 [10:59:57]MH_SAM_APDU [10:59:57]CAPDU: 80 11 00 00 [10:59:57]Write to MH i2c: E2 08 00 34 09 80 11 00 00 00 00 00 00 B7 [10:59:57]Write i2c OK [10:59:57]MH_I2C_Read... [10:59:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:57]Read from MH i2c: E2 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 17 00 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: E2 17 00 34 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 09 [10:59:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:59:57]wFMCommunicate OK [10:59:57]CreateOFDProtocolMessage done [10:59:57]OFDSenderStorePacket 22187 [10:59:57]StoreOFDPacket docnum=22187 [10:59:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 D6 34 07 01 30 39 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E0 0B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 2E 74 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AB 56 00 00 35 04 06 00 95 5E 5A 3F 2D E8 C0 C5 06 B3 AA 41 01 31 [10:59:57]CheckFolder [10:59:57]dirname=/storage/ofd_packets [10:59:57]CheckFolder done [10:59:57]ProducePacketName [10:59:57]name=ofd_packets/00022187 [10:59:57]NVStorageSaveData ofd_packets/00022187 [10:59:57]File name is /storage/ofd_packets/00022187 [10:59:57]Write 301 bytes [10:59:57]NVStorageSaveData done [10:59:57]OFDSenderStorePacket done [10:59:57]KKMCreateOFDPacket done [10:59:57]NVStorageSaveData kkm_last_timestamp [10:59:57]File name is /storage/kkm_last_timestamp [10:59:57]Write 4 bytes [10:59:57]NVStorageSaveData done [10:59:57]ExternCall_PrintAddStr [10:59:57]wPrintStart [10:59:57]Write to MH i2c: 01 00 00 35 09 3E [10:59:57]Write i2c OK [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: 01 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: 01 07 00 [10:59:57]MH_I2C_Read... [10:59:57]Read from MH i2c: 01 07 00 35 09 00 00 00 00 00 FF 0F 53 [10:59:57]RasterBufferAndPrint [10:59:57]line Счет N : (1)1610204 [10:59:57]line ИНН: 02508201610067 [10:59:57]line Контрольно-Кассовый Чек [10:59:57]line ПРОДАЖА [10:59:57]line ТРК (МРК, ГНК) : 33 [10:59:57]line Товар: 2710124130 [10:59:57]line Аи-92-К-5 [10:59:57]line 3.040 * 65.80 [10:59:57]line = 200.03 [10:59:57]line НДС 12% НСП 1% [10:59:57]line > о реализуемом товаре [10:59:57]line ОКРУГЛЕНИЕ: -0.03 [10:59:57]line ИТОГО: 200.00 [10:59:57]line Внесено: 200.00 [10:59:57]line СДАЧА: 0.00 [10:59:57]line НСП 1% : 1.77 [10:59:57]line НДС 12% : 21.24 [10:59:57]line Наличными: 200.00 [10:59:57]line Безнал.: 0.00 [10:59:57]line Место: АЗС № 76 "Партнер Нефть" [10:59:57]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:59:57]line СНО: Общий режим [10:59:57]line Чек 32 15.06.2024 10:59 [10:59:57]line Смена: 326 ФФД: 1.0 [10:59:57]line ЗНМ: 0300000200 [10:59:57]line РНМ: 0000000000099755 [10:59:57]line Версия ККМ: 001 [10:59:57]line ФМ: 0000000000965344 [10:59:57]line ФД: 22187 [10:59:57]line ФПД: 164232473554408 [10:59:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T105958&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22187&fm=164232473554408&tin=02508201610067®Number=0000000000099755&sum=20000 [10:59:58]OFD Sender: Processing packet 22187 [packets to send 5, broken 4] [10:59:58]ProducePacketName [10:59:58]name=ofd_packets/00022187 [10:59:58]OFD Sender: To server: pG, [10:59:58]CommunicateWithHost lk.salyk.kg:30040 [10:59:58]ConnectInit lk.salyk.kg [10:59:58]written 0, free lines is 4095 [10:59:58]Connected sock=10 [10:59:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 D6 34 07 01 30 39 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E0 0B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 2E 74 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AB 56 00 00 35 04 06 00 95 5E 5A 3F 2D E8 C0 C5 06 B3 AA 41 01 31 [10:59:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 05 36 47 00 C4 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AB 56 00 00 F4 03 04 00 EB 1C 6D 66 B6 04 01 00 00 4D E4 FB 99 8E 5E 29 AD [10:59:58]CommunicateWithHost err = 0 [10:59:58]CheckOFDResponse [10:59:58]1017 (14) - 77093643461234 [10:59:58]1041 (16) - 0000000000965344 [10:59:58]1040 (4) - 22187 [10:59:58]1012 (4) - 15.06.2024 04:47 [10:59:58]1206 (1) - 0 [10:59:58]OFD Sender: Remove packet 22187 [10:59:58]ProducePacketName [10:59:58]name=ofd_packets/00022187 [10:59:58]NVStorageDeleteData [10:59:58]Write to MH i2c: 01 00 00 60 09 69 [10:59:58]Write i2c OK [10:59:58]MH_I2C_Read... [10:59:58]Read from MH i2c: 01 [10:59:58]MH_I2C_Read... [10:59:58]Read from MH i2c: 01 07 00 [10:59:58]MH_I2C_Read... [10:59:58]Read from MH i2c: 01 07 00 60 09 00 00 00 00 00 F6 0C 72 [10:59:58]RasterBufferAndPrint [10:59:58]line [10:59:58]line [10:59:58]line [10:59:58]line [10:59:58]line [10:59:58]written 0, free lines is 3324 [10:59:58]MH_Cut [10:59:58]Write to MH i2c: D1 01 00 67 09 01 42 [10:59:58]Write i2c OK [10:59:58]MH_I2C_Read... [10:59:58]Read from MH i2c: D1 [10:59:58]MH_I2C_Read... [10:59:58]Read from MH i2c: D1 01 00 [10:59:58]MH_I2C_Read... [10:59:58]Read from MH i2c: D1 01 00 67 09 00 41 [10:59:58]Write to MH i2c: 01 00 00 68 09 71 [10:59:58]Write i2c OK [10:59:58]MH_I2C_Read... [10:59:58]OFD Sender: No OFD packet to send [10:59:59]*** Cut start [10:59:59]*** Partial cut [10:59:59]*** CUTSNS_PIN = 1 [10:59:59]*** CUTSNS_PIN = 0 [10:59:59]*** Brake cut motor [10:59:59]Read from MH i2c: 01 [10:59:59]MH_I2C_Read... [10:59:59]*** Stop cut motor [10:59:59]*** Cut end [10:59:59]Read from MH i2c: 01 07 00 [10:59:59]MH_I2C_Read... [10:59:59]Read from MH i2c: 01 07 00 68 09 00 00 00 00 00 FF 0F 86 [10:59:59]process_action close_receipt done [10:59:59]requested_data is exist [10:59:59]produce_requested_data [10:59:59]requested_item fm.sn is exist - process it [10:59:59]wFMCommunicate request_size=4 [10:59:59]MH_SAM_APDU [10:59:59]CAPDU: 80 11 00 00 [10:59:59]Write to MH i2c: E2 08 00 69 09 80 11 00 00 00 00 00 00 EC [10:59:59]Write i2c OK [10:59:59]MH_I2C_Read... [10:59:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:59]Read from MH i2c: E2 [10:59:59]MH_I2C_Read... [10:59:59]Read from MH i2c: E2 17 00 [10:59:59]MH_I2C_Read... [10:59:59]Read from MH i2c: E2 17 00 69 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 3E [10:59:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:59:59]wFMCommunicate OK [10:59:59]requested_item fd.num is exist - process it [10:59:59]SAM_PROTO_GetFieldsCounters [10:59:59]wFMCommunicate request_size=4 [10:59:59]MH_SAM_APDU [10:59:59]CAPDU: 80 13 00 00 [10:59:59]Write to MH i2c: E2 08 00 6A 09 80 13 00 00 00 00 00 00 EF [10:59:59]Write i2c OK [10:59:59]MH_I2C_Read... [10:59:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:59:59]Read from MH i2c: E2 [10:59:59]MH_I2C_Read... [10:59:59]Read from MH i2c: E2 62 00 [10:59:59]MH_I2C_Read... [10:59:59]Read from MH i2c: E2 62 00 6A 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AB 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 C1 [10:59:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AB 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:59:59]wFMCommunicate OK [10:59:59]SAM_PROTO_GetFieldsCounters done [10:59:59]requested_item shift.num is exist - process it [10:59:59]requested_item shift.opened is exist - process it [10:59:59]req_shift_opened [10:59:59]FM_GetShiftState [10:59:59]SAM_PROTO_GetShiftState [10:59:59]wFMCommunicate request_size=4 [10:59:59]MH_SAM_APDU [10:59:59]CAPDU: 80 13 01 00 [10:59:59]Write to MH i2c: E2 08 00 6B 09 80 13 01 00 00 00 00 00 F1 [10:59:59]Write i2c OK [10:59:59]MH_I2C_Read... [10:59:59]Read from MH i2c: E2 [11:00:00]MH_I2C_Read... [11:00:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:00:00]Read from MH i2c: E2 0E 00 [11:00:00]MH_I2C_Read... [11:00:00]Read from MH i2c: E2 0E 00 6B 09 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 C5 [11:00:00]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:00:00]wFMCommunicate OK [11:00:00]SAM_PROTO_GetShiftState done [11:00:00]FM_GetShiftState done [11:00:00]req_shift_opened done [11:00:00]requested_item shift.open_date is exist - process it [11:00:00]req_shift_open_date [11:00:00]req_shift_open_date done [11:00:00]produce_requested_data done [11:00:00]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22187,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [11:00:00]process_action_free close_receipt [11:00:00]json_value_free [11:00:00]json_value_free done [11:00:00]process_json_proto returns [11:00:00]Send response to host [11:00:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22187,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [11:00:00]free response buf [11:00:00]execute_script done [11:00:00]execute_script returns [11:00:00]free content buf [11:00:00]Sock 8.Close socket [11:00:00]Sock 8.Thread stoped [11:00:03]OFD Sender: No OFD packet to send [11:00:08]OFD Sender: No OFD packet to send [11:00:13]OFD Sender: No OFD packet to send [11:00:18]OFD Sender: No OFD packet to send [11:00:23]OFD Sender: No OFD packet to send [11:00:28]OFD Sender: No OFD packet to send [11:00:33]OFD Sender: No OFD packet to send [11:00:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:08]OFD Sender: No OFD packet to send [11:02:13]OFD Sender: No OFD packet to send [11:02:18]OFD Sender: No OFD packet to send [11:02:23]OFD Sender: No OFD packet to send [11:02:28]OFD Sender: No OFD packet to send [11:02:33]OFD Sender: No OFD packet to send [11:02:38]OFD Sender: No OFD packet to send [11:02:43]OFD Sender: No OFD packet to send [11:02:48]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:16]accept exits with 9 [11:03:16]New connection [11:03:16]New thread 3066838372 created [11:03:16]Thread 3066695012 joined [11:03:16]Waiting for new connection... [11:03:16] Sock 9.Parse request [11:03:16]Sock 9.Check first char [11:03:16]Sock 9.First char is OK [11:03:16]request: POST /json_proto HTTP/1.0 [11:03:16]Method: POST [11:03:16]URL: /json_proto [11:03:16]Method is POST - this is cgi request [11:03:16]url: /json_proto [11:03:16]query_string will be loaded in cgi processing [11:03:16]execute_cgi json_proto POST (null) [11:03:16]execute_cgi path=json_proto method=POST [11:03:16]POST find Content-Length [11:03:16]Host: 172.17.35.133:8080 [11:03:16]Content-Length: 620 [11:03:16]Content-Type: application/json [11:03:16] [11:03:16]POST finish read [11:03:16]Found Content-Length = 620 [11:03:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254405", "tax_sys" : 0, "items" : [ { "code": "4650063110916", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:03:16]execute_script... [11:03:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254405", "tax_sys" : 0, "items" : [ { "code": "4650063110916", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:03:16]POST & json_proto [11:03:16]process_json_proto [11:03:16]json parsed OK: [11:03:16]protocol is kg_v1.0 [11:03:16]action value=close_receipt [11:03:16]process_action close_receipt [11:03:16]cmd_close_receipt [11:03:16]MH_GetDate [11:03:16]Write to MH i2c: F0 00 00 6C 09 64 [11:03:16]Write i2c OK [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: F0 [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: F0 09 00 [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: F0 09 00 6C 09 00 F6 74 6D 66 8C 55 28 65 18 [11:03:16]GetLastDocTimeStamp 1718449198 [11:03:16]current date 1718449398 [11:03:16]FM_GetShiftState [11:03:16]SAM_PROTO_GetShiftState [11:03:16]wFMCommunicate request_size=4 [11:03:16]MH_SAM_APDU [11:03:16]CAPDU: 80 13 01 00 [11:03:16]Write to MH i2c: E2 08 00 6D 09 80 13 01 00 00 00 00 00 F3 [11:03:16]Write i2c OK [11:03:16]MH_I2C_Read... [11:03:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:03:16]Read from MH i2c: E2 [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: E2 0E 00 [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: E2 0E 00 6D 09 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 C7 [11:03:16]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:03:16]wFMCommunicate OK [11:03:16]SAM_PROTO_GetShiftState done [11:03:16]FM_GetShiftState done [11:03:16]opened in 1718410776 [11:03:16]opened+sec_in_day 1718497176 [11:03:16]quantity*price = 40500 [11:03:16]sum+1 = 40501 [11:03:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 33 15.06.2024 11:03 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22188 ФПД: 229434478898690 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T110319&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22188&fm=229434478898690&tin=02508201610067®Number=0000000000099755&sum=40500 0 [11:03:17]StoreToDocumentArchive [11:03:17]shift 326 fd 22188 [11:03:17]save to /storage/0326/doc_00022188 [11:03:17]save last doc name /storage/0326/doc_00022188 to /storage/kkm_last_doc_name [11:03:17]save OK [11:03:17]Clear old archive folders... [11:03:17]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:03:17]tlvbuf is 001BC2C0 [11:03:17]SAM_PROTO_ClearQueue [11:03:17]wFMCommunicate request_size=4 [11:03:17]MH_SAM_APDU [11:03:17]CAPDU: 80 09 00 00 [11:03:17]Write to MH i2c: E2 08 00 7A 09 80 09 00 00 00 00 00 00 F5 [11:03:17]Write i2c OK [11:03:17]MH_I2C_Read... [11:03:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:03:17]Read from MH i2c: E2 [11:03:17]MH_I2C_Read... [11:03:17]Read from MH i2c: E2 03 00 [11:03:17]MH_I2C_Read... [11:03:17]Read from MH i2c: E2 03 00 7A 09 00 90 00 F7 [11:03:17]RAPDU: 90 00 [11:03:17]wFMCommunicate OK [11:03:17]SAM_PROTO_ClearQueue done [11:03:17]KKMCreateOFDPacket [11:03:17]OFDProtocolAddRootSTLVToBuf [11:03:17]FM_MakeSignedData [11:03:17]FM_MakeSignedData [11:03:17]SAM_PROTO_SignData [11:03:17]wFMCommunicate request_size=4 [11:03:17]MH_SAM_APDU [11:03:17]CAPDU: 80 0D 01 02 [11:03:17]Write to MH i2c: E2 08 00 7B 09 80 0D 01 02 00 00 00 00 FD [11:03:17]Write i2c OK [11:03:17]MH_I2C_Read... [11:03:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:03:17]Read from MH i2c: E2 [11:03:17]MH_I2C_Read... [11:03:17]Read from MH i2c: E2 03 00 [11:03:17]MH_I2C_Read... [11:03:17]Read from MH i2c: E2 03 00 7B 09 00 90 00 F8 [11:03:17]RAPDU: 90 00 [11:03:17]wFMCommunicate OK [11:03:17]wFMCommunicate request_size=255 [11:03:17]MH_SAM_APDU [11:03:17]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 F7 74 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 [11:03:17]Write to MH i2c: E2 02 01 7C 09 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 F7 74 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 00 00 A6 [11:03:17]Write i2c OK [11:03:17]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 7C 09 00 90 00 F9 [11:03:18]RAPDU: 90 00 [11:03:18]wFMCommunicate OK [11:03:18]wFMCommunicate request_size=39 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AC 56 00 00 35 04 06 00 D0 AB 60 9D 2E 02 [11:03:18]Write to MH i2c: E2 2A 00 7D 09 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AC 56 00 00 35 04 06 00 D0 AB 60 9D 2E 02 00 00 64 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 7D 09 00 90 00 FA [11:03:18]RAPDU: 90 00 [11:03:18]wFMCommunicate OK [11:03:18]wFMCommunicate request_size=4 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 0D 03 02 [11:03:18]Write to MH i2c: E2 08 00 7E 09 80 0D 03 02 00 00 00 00 02 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 0B 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 0B 00 7E 09 00 75 01 E0 33 1C 75 95 4F 90 00 01 [11:03:18]RAPDU: 75 01 E0 33 1C 75 95 4F 90 00 [11:03:18]wFMCommunicate OK [11:03:18]SAM_PROTO_SignData done [11:03:18]FM_MakeSignedData done [11:03:18]CreateOFDProtocolMessage [11:03:18]wFMCommunicate request_size=4 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 11 00 00 [11:03:18]Write to MH i2c: E2 08 00 7F 09 80 11 00 00 00 00 00 00 02 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 17 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 17 00 7F 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 54 [11:03:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:03:18]wFMCommunicate OK [11:03:18]CreateOFDProtocolMessage done [11:03:18]OFDSenderStorePacket 22188 [11:03:18]StoreOFDPacket docnum=22188 [11:03:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 B2 26 24 01 EF C7 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 F7 74 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AC 56 00 00 35 04 06 00 D0 AB 60 9D 2E 02 75 01 E0 33 1C 75 95 4F [11:03:18]CheckFolder [11:03:18]dirname=/storage/ofd_packets [11:03:18]CheckFolder done [11:03:18]ProducePacketName [11:03:18]name=ofd_packets/00022188 [11:03:18]NVStorageSaveData ofd_packets/00022188 [11:03:18]File name is /storage/ofd_packets/00022188 [11:03:18]Write 330 bytes [11:03:18]NVStorageSaveData done [11:03:18]OFDSenderStorePacket done [11:03:18]KKMCreateOFDPacket done [11:03:18]NVStorageSaveData kkm_last_timestamp [11:03:18]File name is /storage/kkm_last_timestamp [11:03:18]Write 4 bytes [11:03:18]NVStorageSaveData done [11:03:18]ExternCall_PrintAddStr [11:03:18]wPrintStart [11:03:18]Write to MH i2c: 01 00 00 80 09 89 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 07 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 07 00 80 09 00 00 00 00 00 FF 0F 9E [11:03:18]RasterBufferAndPrint [11:03:18]line Счет N : (3)254405 [11:03:18]line ИНН: 02508201610067 [11:03:18]line Контрольно-Кассовый Чек [11:03:18]line ПРОДАЖА [11:03:18]line Товар: 4650063110916 [11:03:18]line Масло Gazpromneft Super 10w40 1л [11:03:18]line 1.000 * 405.00 [11:03:18]line = 405.00 [11:03:18]line НДС 12% НСП 1% [11:03:18]line > о реализуемом товаре [11:03:18]line ИТОГО: 405.00 [11:03:18]line НСП 1% : 3.58 [11:03:18]line НДС 12% : 43.01 [11:03:18]line Наличными: 405.00 [11:03:18]line Безнал.: 0.00 [11:03:18]line Место: АЗС № 76 "Партнер Нефть" [11:03:18]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:03:18]line СНО: Общий режим [11:03:18]line Чек 33 15.06.2024 11:03 [11:03:18]line Смена: 326 ФФД: 1.0 [11:03:18]line ЗНМ: 0300000200 [11:03:18]line РНМ: 0000000000099755 [11:03:18]line Версия ККМ: 001 [11:03:18]line ФМ: 0000000000965344 [11:03:18]line ФД: 22188 [11:03:18]line ФПД: 229434478898690 [11:03:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T110319&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22188&fm=229434478898690&tin=02508201610067®Number=0000000000099755&sum=40500 [11:03:18]line 0 [11:03:18]OFD Sender: Processing packet 22188 [packets to send 5, broken 4] [11:03:18]ProducePacketName [11:03:18]name=ofd_packets/00022188 [11:03:18]OFD Sender: To server: pG, [11:03:18]CommunicateWithHost lk.salyk.kg:30040 [11:03:18]ConnectInit lk.salyk.kg [11:03:18]written 0, free lines is 4095 [11:03:18]Connected sock=10 [11:03:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 B2 26 24 01 EF C7 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 F7 74 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AC 56 00 00 35 04 06 00 D0 AB 60 9D 2E 02 75 01 E0 33 1C 75 95 4F [11:03:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 CF 87 47 00 5A 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AC 56 00 00 F4 03 04 00 B4 1D 6D 66 B6 04 01 00 00 08 44 CD A6 E3 18 56 86 [11:03:18]CommunicateWithHost err = 0 [11:03:18]CheckOFDResponse [11:03:18]1017 (14) - 77093643461234 [11:03:18]1041 (16) - 0000000000965344 [11:03:18]1040 (4) - 22188 [11:03:18]1012 (4) - 15.06.2024 04:51 [11:03:18]1206 (1) - 0 [11:03:18]OFD Sender: Remove packet 22188 [11:03:18]ProducePacketName [11:03:18]name=ofd_packets/00022188 [11:03:18]NVStorageDeleteData [11:03:18]Write to MH i2c: 01 00 00 A9 09 B2 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 07 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 07 00 A9 09 00 00 00 00 00 03 0D C9 [11:03:18]RasterBufferAndPrint [11:03:18]line [11:03:18]line [11:03:18]line [11:03:18]line [11:03:18]line [11:03:18]written 0, free lines is 3337 [11:03:18]MH_Cut [11:03:18]Write to MH i2c: D1 01 00 B0 09 01 8B [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: D1 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: D1 01 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: D1 01 00 B0 09 00 8A [11:03:18]Write to MH i2c: 01 00 00 B1 09 BA [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:19]OFD Sender: No OFD packet to send [11:03:19]*** Cut start [11:03:19]*** Partial cut [11:03:19]*** CUTSNS_PIN = 1 [11:03:19]*** CUTSNS_PIN = 0 [11:03:19]*** Brake cut motor [11:03:20]Read from MH i2c: 01 [11:03:20]MH_I2C_Read... [11:03:20]*** Stop cut motor [11:03:20]*** Cut end [11:03:20]Read from MH i2c: 01 07 00 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: 01 07 00 B1 09 00 00 00 00 00 FF 0F CF [11:03:20]process_action close_receipt done [11:03:20]requested_data is exist [11:03:20]produce_requested_data [11:03:20]requested_item fm.sn is exist - process it [11:03:20]wFMCommunicate request_size=4 [11:03:20]MH_SAM_APDU [11:03:20]CAPDU: 80 11 00 00 [11:03:20]Write to MH i2c: E2 08 00 B2 09 80 11 00 00 00 00 00 00 35 [11:03:20]Write i2c OK [11:03:20]MH_I2C_Read... [11:03:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:03:20]Read from MH i2c: E2 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 17 00 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 17 00 B2 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 87 [11:03:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:03:20]wFMCommunicate OK [11:03:20]requested_item fd.num is exist - process it [11:03:20]SAM_PROTO_GetFieldsCounters [11:03:20]wFMCommunicate request_size=4 [11:03:20]MH_SAM_APDU [11:03:20]CAPDU: 80 13 00 00 [11:03:20]Write to MH i2c: E2 08 00 B3 09 80 13 00 00 00 00 00 00 38 [11:03:20]Write i2c OK [11:03:20]MH_I2C_Read... [11:03:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:03:20]Read from MH i2c: E2 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 62 00 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 62 00 B3 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AC 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 0E [11:03:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AC 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:03:20]wFMCommunicate OK [11:03:20]SAM_PROTO_GetFieldsCounters done [11:03:20]requested_item shift.num is exist - process it [11:03:20]requested_item shift.opened is exist - process it [11:03:20]req_shift_opened [11:03:20]FM_GetShiftState [11:03:20]SAM_PROTO_GetShiftState [11:03:20]wFMCommunicate request_size=4 [11:03:20]MH_SAM_APDU [11:03:20]CAPDU: 80 13 01 00 [11:03:20]Write to MH i2c: E2 08 00 B4 09 80 13 01 00 00 00 00 00 3A [11:03:20]Write i2c OK [11:03:20]MH_I2C_Read... [11:03:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:03:20]Read from MH i2c: E2 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 0E 00 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 0E 00 B4 09 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 0E [11:03:20]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:03:20]wFMCommunicate OK [11:03:20]SAM_PROTO_GetShiftState done [11:03:20]FM_GetShiftState done [11:03:20]req_shift_opened done [11:03:20]requested_item shift.open_date is exist - process it [11:03:20]req_shift_open_date [11:03:20]req_shift_open_date done [11:03:20]produce_requested_data done [11:03:20]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22188,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [11:03:20]process_action_free close_receipt [11:03:20]json_value_free [11:03:20]json_value_free done [11:03:20]process_json_proto returns [11:03:20]Send response to host [11:03:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22188,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [11:03:20]free response buf [11:03:20]execute_script done [11:03:20]execute_script returns [11:03:20]free content buf [11:03:20]Sock 9.Close socket [11:03:20]Sock 9.Thread stoped [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:29]accept exits with 8 [11:05:29]New connection [11:05:29]New thread 3066695012 created [11:05:29]Thread 3066838372 joined [11:05:29]Waiting for new connection... [11:05:29] Sock 8.Parse request [11:05:29]Sock 8.Check first char [11:05:29]Sock 8.First char is OK [11:05:29]request: POST /json_proto HTTP/1.0 [11:05:29]Method: POST [11:05:29]URL: /json_proto [11:05:29]Method is POST - this is cgi request [11:05:29]url: /json_proto [11:05:29]query_string will be loaded in cgi processing [11:05:29]execute_cgi json_proto POST (null) [11:05:29]execute_cgi path=json_proto method=POST [11:05:29]POST find Content-Length [11:05:29]Host: 172.17.35.133:8080 [11:05:29]Content-Length: 934 [11:05:29]Content-Type: application/json [11:05:29] [11:05:29]POST finish read [11:05:29]Found Content-Length = 934 [11:05:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254406", "tax_sys" : 0, "items" : [ { "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:29]execute_script... [11:05:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254406", "tax_sys" : 0, "items" : [ { "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:29]POST & json_proto [11:05:29]process_json_proto [11:05:29]json parsed OK: [11:05:29]protocol is kg_v1.0 [11:05:29]action value=close_receipt [11:05:29]process_action close_receipt [11:05:29]cmd_close_receipt [11:05:29]MH_GetDate [11:05:29]Write to MH i2c: F0 00 00 B5 09 AD [11:05:29]Write i2c OK [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: F0 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: F0 09 00 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: F0 09 00 B5 09 00 7C 75 6D 66 8C 55 28 65 E8 [11:05:29]GetLastDocTimeStamp 1718449399 [11:05:29]current date 1718449532 [11:05:29]FM_GetShiftState [11:05:29]SAM_PROTO_GetShiftState [11:05:29]wFMCommunicate request_size=4 [11:05:29]MH_SAM_APDU [11:05:29]CAPDU: 80 13 01 00 [11:05:29]Write to MH i2c: E2 08 00 B6 09 80 13 01 00 00 00 00 00 3C [11:05:29]Write i2c OK [11:05:29]MH_I2C_Read... [11:05:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:29]Read from MH i2c: E2 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 0E 00 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 0E 00 B6 09 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 10 [11:05:29]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:05:29]wFMCommunicate OK [11:05:29]SAM_PROTO_GetShiftState done [11:05:29]FM_GetShiftState done [11:05:29]opened in 1718410776 [11:05:29]opened+sec_in_day 1718497176 [11:05:29]quantity*price = 4100 [11:05:29]sum+1 = 4101 [11:05:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.61 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 34 15.06.2024 11:05 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22189 ФПД: 116501233643138 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T110532&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22189&fm=116501233643138&tin=02508201610067®Number=0000000000099755&sum=10000 0 [11:05:30]StoreToDocumentArchive [11:05:30]shift 326 fd 22189 [11:05:30]save to /storage/0326/doc_00022189 [11:05:30]save last doc name /storage/0326/doc_00022189 to /storage/kkm_last_doc_name [11:05:30]save OK [11:05:30]Clear old archive folders... [11:05:30]ProcessDocumentItem done err = 0, tmpTLVsize=396 [11:05:30]tlvbuf is 001FAEC0 [11:05:30]SAM_PROTO_ClearQueue [11:05:30]wFMCommunicate request_size=4 [11:05:30]MH_SAM_APDU [11:05:30]CAPDU: 80 09 00 00 [11:05:30]Write to MH i2c: E2 08 00 C3 09 80 09 00 00 00 00 00 00 3E [11:05:30]Write i2c OK [11:05:30]MH_I2C_Read... [11:05:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:05:30]Read from MH i2c: E2 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: E2 03 00 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: E2 03 00 C3 09 00 90 00 40 [11:05:30]RAPDU: 90 00 [11:05:30]wFMCommunicate OK [11:05:30]SAM_PROTO_ClearQueue done [11:05:30]KKMCreateOFDPacket [11:05:30]OFDProtocolAddRootSTLVToBuf [11:05:30]FM_MakeSignedData [11:05:30]FM_MakeSignedData [11:05:30]SAM_PROTO_SignData [11:05:30]wFMCommunicate request_size=4 [11:05:30]MH_SAM_APDU [11:05:30]CAPDU: 80 0D 01 02 [11:05:30]Write to MH i2c: E2 08 00 C4 09 80 0D 01 02 00 00 00 00 46 [11:05:30]Write i2c OK [11:05:30]MH_I2C_Read... [11:05:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:05:30]Read from MH i2c: E2 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: E2 03 00 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: E2 03 00 C4 09 00 90 00 41 [11:05:30]RAPDU: 90 00 [11:05:30]wFMCommunicate OK [11:05:30]wFMCommunicate request_size=255 [11:05:30]MH_SAM_APDU [11:05:30]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF [11:05:30]Write to MH i2c: E2 02 01 C5 09 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 00 00 7B [11:05:30]Write i2c OK [11:05:30]MH_I2C_Read... [11:05:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:31]Read from MH i2c: E2 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: E2 03 00 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: E2 03 00 C5 09 00 90 00 42 [11:05:31]RAPDU: 90 00 [11:05:31]wFMCommunicate OK [11:05:31]wFMCommunicate request_size=155 [11:05:31]MH_SAM_APDU [11:05:31]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7C 75 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AD 56 00 00 35 04 06 00 69 F5 0E A5 AE 82 [11:05:31]Write to MH i2c: E2 9E 00 C6 09 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7C 75 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AD 56 00 00 35 04 06 00 69 F5 0E A5 AE 82 00 00 E1 [11:05:31]Write i2c OK [11:05:31]MH_I2C_Read... [11:05:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:31]Read from MH i2c: E2 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: E2 03 00 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: E2 03 00 C6 09 00 90 00 43 [11:05:31]RAPDU: 90 00 [11:05:31]wFMCommunicate OK [11:05:31]wFMCommunicate request_size=4 [11:05:31]MH_SAM_APDU [11:05:31]CAPDU: 80 0D 03 02 [11:05:31]Write to MH i2c: E2 08 00 C7 09 80 0D 03 02 00 00 00 00 4B [11:05:31]Write i2c OK [11:05:31]MH_I2C_Read... [11:05:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:05:31]Read from MH i2c: E2 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: E2 0B 00 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: E2 0B 00 C7 09 00 5B B0 B8 DC 1F 19 01 67 90 00 8B [11:05:31]RAPDU: 5B B0 B8 DC 1F 19 01 67 90 00 [11:05:31]wFMCommunicate OK [11:05:31]SAM_PROTO_SignData done [11:05:31]FM_MakeSignedData done [11:05:31]CreateOFDProtocolMessage [11:05:31]wFMCommunicate request_size=4 [11:05:31]MH_SAM_APDU [11:05:31]CAPDU: 80 11 00 00 [11:05:31]Write to MH i2c: E2 08 00 C8 09 80 11 00 00 00 00 00 00 4B [11:05:31]Write i2c OK [11:05:31]MH_I2C_Read... [11:05:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:31]Read from MH i2c: E2 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: E2 17 00 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: E2 17 00 C8 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 9D [11:05:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:05:31]wFMCommunicate OK [11:05:31]CreateOFDProtocolMessage done [11:05:31]OFDSenderStorePacket 22189 [11:05:31]StoreOFDPacket docnum=22189 [11:05:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A0 01 00 00 62 46 98 01 65 31 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7C 75 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AD 56 00 00 35 04 06 00 69 F5 0E A5 AE 82 5B B0 B8 DC 1F 19 01 67 [11:05:31]CheckFolder [11:05:31]dirname=/storage/ofd_packets [11:05:31]CheckFolder done [11:05:31]ProducePacketName [11:05:31]name=ofd_packets/00022189 [11:05:31]NVStorageSaveData ofd_packets/00022189 [11:05:31]File name is /storage/ofd_packets/00022189 [11:05:31]Write 446 bytes [11:05:31]NVStorageSaveData done [11:05:31]OFDSenderStorePacket done [11:05:31]KKMCreateOFDPacket done [11:05:31]NVStorageSaveData kkm_last_timestamp [11:05:31]File name is /storage/kkm_last_timestamp [11:05:31]Write 4 bytes [11:05:31]NVStorageSaveData done [11:05:31]ExternCall_PrintAddStr [11:05:31]wPrintStart [11:05:31]Write to MH i2c: 01 00 00 C9 09 D2 [11:05:31]Write i2c OK [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: 01 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: 01 07 00 [11:05:31]MH_I2C_Read... [11:05:31]Read from MH i2c: 01 07 00 C9 09 00 00 00 00 00 FF 0F E7 [11:05:31]RasterBufferAndPrint [11:05:31]line Счет N : (3)254406 [11:05:31]line ИНН: 02508201610067 [11:05:31]line Контрольно-Кассовый Чек [11:05:31]line ПРОДАЖА [11:05:31]line Товар: 4607010740733 [11:05:31]line Чипсы Чипсоны шашлык 40г [11:05:31]line 1.000 * 41.00 [11:05:31]line = 41.00 [11:05:31]line НДС 12% НСП 1% [11:05:31]line > о реализуемом товаре [11:05:31]line Товар: 4607065001445 [11:05:31]line Шок батончик Snickers 50,5г [11:05:31]line 1.000 * 59.00 [11:05:31]line = 59.00 [11:05:31]line НДС 12% НСП 1% [11:05:31]line > о реализуемом товаре [11:05:31]line ИТОГО: 100.00 [11:05:31]line НСП 1% : 0.88 [11:05:31]line НДС 12% : 10.61 [11:05:31]line Наличными: 100.00 [11:05:31]line Безнал.: 0.00 [11:05:31]line Место: АЗС № 76 "Партнер Нефть" [11:05:31]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:05:31]line СНО: Общий режим [11:05:31]line Чек 34 15.06.2024 11:05 [11:05:31]line Смена: 326 ФФД: 1.0 [11:05:31]line ЗНМ: 0300000200 [11:05:31]line РНМ: 0000000000099755 [11:05:31]line Версия ККМ: 001 [11:05:31]line ФМ: 0000000000965344 [11:05:31]line ФД: 22189 [11:05:31]line ФПД: 116501233643138 [11:05:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T110532&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22189&fm=116501233643138&tin=02508201610067®Number=0000000000099755&sum=10000 [11:05:31]line 0 [11:05:31]OFD Sender: Processing packet 22189 [packets to send 5, broken 4] [11:05:31]ProducePacketName [11:05:31]name=ofd_packets/00022189 [11:05:31]OFD Sender: To server: pG, [11:05:31]CommunicateWithHost lk.salyk.kg:30040 [11:05:31]ConnectInit lk.salyk.kg [11:05:31]written 0, free lines is 4095 [11:05:31]Connected sock=9 [11:05:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A0 01 00 00 62 46 98 01 65 31 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7C 75 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AD 56 00 00 35 04 06 00 69 F5 0E A5 AE 82 5B B0 B8 DC 1F 19 01 67 [11:05:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 E2 FC 47 00 1B B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AD 56 00 00 F4 03 04 00 39 1E 6D 66 B6 04 01 00 00 9B C0 C2 43 72 9B D6 5F [11:05:32]CommunicateWithHost err = 0 [11:05:32]CheckOFDResponse [11:05:32]1017 (14) - 77093643461234 [11:05:32]1041 (16) - 0000000000965344 [11:05:32]1040 (4) - 22189 [11:05:32]1012 (4) - 15.06.2024 04:53 [11:05:32]1206 (1) - 0 [11:05:32]OFD Sender: Remove packet 22189 [11:05:32]ProducePacketName [11:05:32]name=ofd_packets/00022189 [11:05:32]NVStorageDeleteData [11:05:32]Write to MH i2c: 01 00 00 F7 09 00 [11:05:32]Write i2c OK [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: 01 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: 01 07 00 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: 01 07 00 F7 09 00 00 00 00 00 E5 0C F8 [11:05:32]RasterBufferAndPrint [11:05:32]line [11:05:32]line [11:05:32]line [11:05:32]line [11:05:32]line [11:05:32]written 0, free lines is 3310 [11:05:32]MH_Cut [11:05:32]Write to MH i2c: D1 01 00 FE 09 01 D9 [11:05:32]Write i2c OK [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: D1 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: D1 01 00 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: D1 01 00 FE 09 00 D8 [11:05:32]Write to MH i2c: 01 00 00 FF 09 08 [11:05:32]Write i2c OK [11:05:32]MH_I2C_Read... [11:05:32]OFD Sender: No OFD packet to send [11:05:32]*** Cut start [11:05:32]*** Partial cut [11:05:32]*** CUTSNS_PIN = 1 [11:05:33]*** CUTSNS_PIN = 0 [11:05:33]*** Brake cut motor [11:05:33]Read from MH i2c: 01 [11:05:33]MH_I2C_Read... [11:05:33]*** Stop cut motor [11:05:33]*** Cut end [11:05:33]Read from MH i2c: 01 07 00 [11:05:33]MH_I2C_Read... [11:05:33]Read from MH i2c: 01 07 00 FF 09 00 00 00 00 00 FF 0F 1D [11:05:33]process_action close_receipt done [11:05:33]requested_data is exist [11:05:33]produce_requested_data [11:05:33]requested_item fm.sn is exist - process it [11:05:33]wFMCommunicate request_size=4 [11:05:33]MH_SAM_APDU [11:05:33]CAPDU: 80 11 00 00 [11:05:33]Write to MH i2c: E2 08 00 00 0A 80 11 00 00 00 00 00 00 84 [11:05:33]Write i2c OK [11:05:33]MH_I2C_Read... [11:05:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:33]Read from MH i2c: E2 [11:05:33]MH_I2C_Read... [11:05:33]Read from MH i2c: E2 17 00 [11:05:33]MH_I2C_Read... [11:05:33]Read from MH i2c: E2 17 00 00 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D6 [11:05:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:05:33]wFMCommunicate OK [11:05:33]requested_item fd.num is exist - process it [11:05:33]SAM_PROTO_GetFieldsCounters [11:05:33]wFMCommunicate request_size=4 [11:05:33]MH_SAM_APDU [11:05:33]CAPDU: 80 13 00 00 [11:05:33]Write to MH i2c: E2 08 00 01 0A 80 13 00 00 00 00 00 00 87 [11:05:33]Write i2c OK [11:05:33]MH_I2C_Read... [11:05:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:05:33]Read from MH i2c: E2 [11:05:33]MH_I2C_Read... [11:05:33]Read from MH i2c: E2 62 00 [11:05:33]MH_I2C_Read... [11:05:33]Read from MH i2c: E2 62 00 01 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AD 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [11:05:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AD 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:05:33]wFMCommunicate OK [11:05:33]SAM_PROTO_GetFieldsCounters done [11:05:33]requested_item shift.num is exist - process it [11:05:33]requested_item shift.opened is exist - process it [11:05:33]req_shift_opened [11:05:33]FM_GetShiftState [11:05:33]SAM_PROTO_GetShiftState [11:05:33]wFMCommunicate request_size=4 [11:05:33]MH_SAM_APDU [11:05:33]CAPDU: 80 13 01 00 [11:05:33]Write to MH i2c: E2 08 00 02 0A 80 13 01 00 00 00 00 00 89 [11:05:33]Write i2c OK [11:05:33]MH_I2C_Read... [11:05:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:33]Read from MH i2c: E2 [11:05:33]MH_I2C_Read... [11:05:33]Read from MH i2c: E2 0E 00 [11:05:33]MH_I2C_Read... [11:05:33]Read from MH i2c: E2 0E 00 02 0A 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 5D [11:05:33]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:05:33]wFMCommunicate OK [11:05:33]SAM_PROTO_GetShiftState done [11:05:33]FM_GetShiftState done [11:05:33]req_shift_opened done [11:05:33]requested_item shift.open_date is exist - process it [11:05:33]req_shift_open_date [11:05:33]req_shift_open_date done [11:05:33]produce_requested_data done [11:05:33]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22189,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [11:05:33]process_action_free close_receipt [11:05:33]json_value_free [11:05:33]json_value_free done [11:05:33]process_json_proto returns [11:05:33]Send response to host [11:05:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22189,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [11:05:33]free response buf [11:05:33]execute_script done [11:05:33]execute_script returns [11:05:33]free content buf [11:05:33]Sock 8.Close socket [11:05:33]Sock 8.Thread stoped [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:07]OFD Sender: No OFD packet to send [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:37]OFD Sender: No OFD packet to send [11:06:42]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:37]OFD Sender: No OFD packet to send [11:10:42]OFD Sender: No OFD packet to send [11:10:47]OFD Sender: No OFD packet to send [11:10:52]OFD Sender: No OFD packet to send [11:10:57]OFD Sender: No OFD packet to send [11:11:02]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]accept exits with 10 [11:12:52]New connection [11:12:52]New thread 3066838372 created [11:12:52]Thread 3066695012 joined [11:12:52]Waiting for new connection... [11:12:52] Sock 10.Parse request [11:12:52]Sock 10.Check first char [11:12:52]Sock 10.First char is OK [11:12:52]request: POST /json_proto HTTP/1.0 [11:12:52]Method: POST [11:12:52]URL: /json_proto [11:12:52]Method is POST - this is cgi request [11:12:52]url: /json_proto [11:12:52]query_string will be loaded in cgi processing [11:12:52]execute_cgi json_proto POST (null) [11:12:52]execute_cgi path=json_proto method=POST [11:12:52]POST find Content-Length [11:12:52]Host: 172.17.35.133:8080 [11:12:52]Content-Length: 827 [11:12:52]Content-Type: application/json [11:12:52] [11:12:52]POST finish read [11:12:52]Found Content-Length = 827 [11:12:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254407", "tax_sys" : 0, "items" : [ { "code": "4700000160198", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:12:52]execute_script... [11:12:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254407", "tax_sys" : 0, "items" : [ { "code": "4700000160198", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:12:52]POST & json_proto [11:12:52]process_json_proto [11:12:52]json parsed OK: [11:12:52]protocol is kg_v1.0 [11:12:52]action value=close_receipt [11:12:52]process_action close_receipt [11:12:52]cmd_close_receipt [11:12:52]MH_GetDate [11:12:52]Write to MH i2c: F0 00 00 03 0A FC [11:12:52]Write i2c OK [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: F0 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: F0 09 00 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: F0 09 00 03 0A 00 36 77 6D 66 8C 55 28 65 F3 [11:12:52]GetLastDocTimeStamp 1718449532 [11:12:52]current date 1718449974 [11:12:52]FM_GetShiftState [11:12:52]SAM_PROTO_GetShiftState [11:12:52]wFMCommunicate request_size=4 [11:12:52]MH_SAM_APDU [11:12:52]CAPDU: 80 13 01 00 [11:12:52]Write to MH i2c: E2 08 00 04 0A 80 13 01 00 00 00 00 00 8B [11:12:52]Write i2c OK [11:12:52]MH_I2C_Read... [11:12:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:52]Read from MH i2c: E2 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 0E 00 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 0E 00 04 0A 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 5F [11:12:52]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:12:52]wFMCommunicate OK [11:12:52]SAM_PROTO_GetShiftState done [11:12:52]FM_GetShiftState done [11:12:52]opened in 1718410776 [11:12:52]opened+sec_in_day 1718497176 [11:12:52]quantity*price = 4000 [11:12:52]sum+1 = 4001 [11:12:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 0.00 Безнал.: 40.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 35 15.06.2024 11:12 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22190 ФПД: 81629903575689 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T111255&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22190&fm=81629903575689&tin=02508201610067®Number=0000000000099755&sum=4000 0 [11:12:53]StoreToDocumentArchive [11:12:53]shift 326 fd 22190 [11:12:53]save to /storage/0326/doc_00022190 [11:12:53]save last doc name /storage/0326/doc_00022190 to /storage/kkm_last_doc_name [11:12:53]save OK [11:12:53]Clear old archive folders... [11:12:53]ProcessDocumentItem done err = 0, tmpTLVsize=269 [11:12:53]tlvbuf is 001AE000 [11:12:53]SAM_PROTO_ClearQueue [11:12:53]wFMCommunicate request_size=4 [11:12:53]MH_SAM_APDU [11:12:53]CAPDU: 80 09 00 00 [11:12:53]Write to MH i2c: E2 08 00 11 0A 80 09 00 00 00 00 00 00 8D [11:12:53]Write i2c OK [11:12:53]MH_I2C_Read... [11:12:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:12:53]Read from MH i2c: E2 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 03 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 03 00 11 0A 00 90 00 8F [11:12:53]RAPDU: 90 00 [11:12:53]wFMCommunicate OK [11:12:53]SAM_PROTO_ClearQueue done [11:12:53]KKMCreateOFDPacket [11:12:53]OFDProtocolAddRootSTLVToBuf [11:12:53]FM_MakeSignedData [11:12:53]FM_MakeSignedData [11:12:53]SAM_PROTO_SignData [11:12:53]wFMCommunicate request_size=4 [11:12:53]MH_SAM_APDU [11:12:53]CAPDU: 80 0D 01 02 [11:12:53]Write to MH i2c: E2 08 00 12 0A 80 0D 01 02 00 00 00 00 95 [11:12:53]Write i2c OK [11:12:53]MH_I2C_Read... [11:12:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:12:53]Read from MH i2c: E2 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 03 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 03 00 12 0A 00 90 00 90 [11:12:53]RAPDU: 90 00 [11:12:53]wFMCommunicate OK [11:12:53]wFMCommunicate request_size=255 [11:12:53]MH_SAM_APDU [11:12:53]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 37 77 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [11:12:53]Write to MH i2c: E2 02 01 13 0A 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 37 77 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 26 [11:12:53]Write i2c OK [11:12:53]MH_I2C_Read... [11:12:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:54]Read from MH i2c: E2 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: E2 03 00 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: E2 03 00 13 0A 00 90 00 91 [11:12:54]RAPDU: 90 00 [11:12:54]wFMCommunicate OK [11:12:54]wFMCommunicate request_size=28 [11:12:54]MH_SAM_APDU [11:12:54]CAPDU: 80 0D 02 02 17 36 35 33 34 34 10 04 04 00 AE 56 00 00 35 04 06 00 4A 3D F1 67 DA 89 [11:12:54]Write to MH i2c: E2 1F 00 14 0A 80 0D 02 02 17 00 36 35 33 34 34 10 04 04 00 AE 56 00 00 35 04 06 00 4A 3D F1 67 DA 89 00 00 69 [11:12:54]Write i2c OK [11:12:54]MH_I2C_Read... [11:12:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:54]Read from MH i2c: E2 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: E2 03 00 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: E2 03 00 14 0A 00 90 00 92 [11:12:54]RAPDU: 90 00 [11:12:54]wFMCommunicate OK [11:12:54]wFMCommunicate request_size=4 [11:12:54]MH_SAM_APDU [11:12:54]CAPDU: 80 0D 03 02 [11:12:54]Write to MH i2c: E2 08 00 15 0A 80 0D 03 02 00 00 00 00 9A [11:12:54]Write i2c OK [11:12:54]MH_I2C_Read... [11:12:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:12:54]Read from MH i2c: E2 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: E2 0B 00 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: E2 0B 00 15 0A 00 A4 AD 56 8E 24 68 45 BF 90 00 60 [11:12:54]RAPDU: A4 AD 56 8E 24 68 45 BF 90 00 [11:12:54]wFMCommunicate OK [11:12:54]SAM_PROTO_SignData done [11:12:54]FM_MakeSignedData done [11:12:54]CreateOFDProtocolMessage [11:12:54]wFMCommunicate request_size=4 [11:12:54]MH_SAM_APDU [11:12:54]CAPDU: 80 11 00 00 [11:12:54]Write to MH i2c: E2 08 00 16 0A 80 11 00 00 00 00 00 00 9A [11:12:54]Write i2c OK [11:12:54]MH_I2C_Read... [11:12:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:54]Read from MH i2c: E2 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: E2 17 00 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: E2 17 00 16 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EC [11:12:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:12:54]wFMCommunicate OK [11:12:54]CreateOFDProtocolMessage done [11:12:54]OFDSenderStorePacket 22190 [11:12:54]StoreOFDPacket docnum=22190 [11:12:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 21 01 00 00 EB 05 19 01 8E E0 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 37 77 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AE 56 00 00 35 04 06 00 4A 3D F1 67 DA 89 A4 AD 56 8E 24 68 45 BF [11:12:54]CheckFolder [11:12:54]dirname=/storage/ofd_packets [11:12:54]CheckFolder done [11:12:54]ProducePacketName [11:12:54]name=ofd_packets/00022190 [11:12:54]NVStorageSaveData ofd_packets/00022190 [11:12:54]File name is /storage/ofd_packets/00022190 [11:12:54]Write 319 bytes [11:12:54]NVStorageSaveData done [11:12:54]OFDSenderStorePacket done [11:12:54]KKMCreateOFDPacket done [11:12:54]NVStorageSaveData kkm_last_timestamp [11:12:54]File name is /storage/kkm_last_timestamp [11:12:54]Write 4 bytes [11:12:54]NVStorageSaveData done [11:12:54]ExternCall_PrintAddStr [11:12:54]wPrintStart [11:12:54]Write to MH i2c: 01 00 00 17 0A 21 [11:12:54]Write i2c OK [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 07 00 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 07 00 17 0A 00 00 00 00 00 FF 0F 36 [11:12:54]RasterBufferAndPrint [11:12:54]line Счет N : (3)254407 [11:12:54]line ИНН: 02508201610067 [11:12:54]line Контрольно-Кассовый Чек [11:12:54]line ПРОДАЖА [11:12:54]line Товар: 4700000160198 [11:12:54]line Вода Байтик 0,5л [11:12:54]line 1.000 * 40.00 [11:12:54]line = 40.00 [11:12:54]line НДС 12% НСП 1% [11:12:54]line > о реализуемом товаре [11:12:54]line ИТОГО: 40.00 [11:12:54]line НСП 1% : 0.35 [11:12:54]line НДС 12% : 4.25 [11:12:54]line Наличными: 0.00 [11:12:54]line Безнал.: 40.00 [11:12:54]line Место: АЗС № 76 "Партнер Нефть" [11:12:54]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:12:54]line СНО: Общий режим [11:12:54]line Чек 35 15.06.2024 11:12 [11:12:54]line Смена: 326 ФФД: 1.0 [11:12:54]line ЗНМ: 0300000200 [11:12:54]line РНМ: 0000000000099755 [11:12:54]line Версия ККМ: 001 [11:12:54]line Платежная система: АКБ Кыргызстан [11:12:54]line ФМ: 0000000000965344 [11:12:54]line ФД: 22190 [11:12:54]line ФПД: 81629903575689 [11:12:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T111255&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22190&fm=81629903575689&tin=02508201610067®Number=0000000000099755&sum=4000 [11:12:54]line 0 [11:12:54]OFD Sender: Processing packet 22190 [packets to send 5, broken 4] [11:12:54]ProducePacketName [11:12:54]name=ofd_packets/00022190 [11:12:54]OFD Sender: To server: pG, [11:12:54]CommunicateWithHost lk.salyk.kg:30040 [11:12:54]ConnectInit lk.salyk.kg [11:12:54]written 0, free lines is 4095 [11:12:54]Connected sock=9 [11:12:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 21 01 00 00 EB 05 19 01 8E E0 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 37 77 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AE 56 00 00 35 04 06 00 4A 3D F1 67 DA 89 A4 AD 56 8E 24 68 45 BF [11:12:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 5C F0 47 00 67 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AE 56 00 00 F4 03 04 00 F4 1F 6D 66 B6 04 01 00 00 D1 2A CB 42 AF 0E 1B D3 [11:12:54]CommunicateWithHost err = 0 [11:12:54]CheckOFDResponse [11:12:54]1017 (14) - 77093643461234 [11:12:54]1041 (16) - 0000000000965344 [11:12:54]1040 (4) - 22190 [11:12:54]1012 (4) - 15.06.2024 05:00 [11:12:54]1206 (1) - 0 [11:12:54]OFD Sender: Remove packet 22190 [11:12:54]ProducePacketName [11:12:54]name=ofd_packets/00022190 [11:12:54]NVStorageDeleteData [11:12:54]Write to MH i2c: 01 00 00 41 0A 4B [11:12:54]Write i2c OK [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 07 00 [11:12:54]MH_I2C_Read... [11:12:54]Read from MH i2c: 01 07 00 41 0A 00 00 00 00 00 03 0D 62 [11:12:54]RasterBufferAndPrint [11:12:54]line [11:12:54]line [11:12:54]line [11:12:54]line [11:12:54]line [11:12:54]written 0, free lines is 3337 [11:12:55]MH_Cut [11:12:55]Write to MH i2c: D1 01 00 48 0A 01 24 [11:12:55]Write i2c OK [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: D1 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: D1 01 00 [11:12:55]MH_I2C_Read... [11:12:55]Read from MH i2c: D1 01 00 48 0A 00 23 [11:12:55]Write to MH i2c: 01 00 00 49 0A 53 [11:12:55]Write i2c OK [11:12:55]MH_I2C_Read... [11:12:55]OFD Sender: No OFD packet to send [11:12:55]*** Cut start [11:12:55]*** Partial cut [11:12:55]*** CUTSNS_PIN = 1 [11:12:55]*** CUTSNS_PIN = 0 [11:12:55]*** Brake cut motor [11:12:56]Read from MH i2c: 01 [11:12:56]MH_I2C_Read... [11:12:56]*** Stop cut motor [11:12:56]*** Cut end [11:12:56]Read from MH i2c: 01 07 00 [11:12:56]MH_I2C_Read... [11:12:56]Read from MH i2c: 01 07 00 49 0A 00 00 00 00 00 FF 0F 68 [11:12:56]process_action close_receipt done [11:12:56]requested_data is exist [11:12:56]produce_requested_data [11:12:56]requested_item fm.sn is exist - process it [11:12:56]wFMCommunicate request_size=4 [11:12:56]MH_SAM_APDU [11:12:56]CAPDU: 80 11 00 00 [11:12:56]Write to MH i2c: E2 08 00 4A 0A 80 11 00 00 00 00 00 00 CE [11:12:56]Write i2c OK [11:12:56]MH_I2C_Read... [11:12:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:56]Read from MH i2c: E2 [11:12:56]MH_I2C_Read... [11:12:56]Read from MH i2c: E2 17 00 [11:12:56]MH_I2C_Read... [11:12:56]Read from MH i2c: E2 17 00 4A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 20 [11:12:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:12:56]wFMCommunicate OK [11:12:56]requested_item fd.num is exist - process it [11:12:56]SAM_PROTO_GetFieldsCounters [11:12:56]wFMCommunicate request_size=4 [11:12:56]MH_SAM_APDU [11:12:56]CAPDU: 80 13 00 00 [11:12:56]Write to MH i2c: E2 08 00 4B 0A 80 13 00 00 00 00 00 00 D1 [11:12:56]Write i2c OK [11:12:56]MH_I2C_Read... [11:12:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:12:56]Read from MH i2c: E2 [11:12:56]MH_I2C_Read... [11:12:56]Read from MH i2c: E2 62 00 [11:12:56]MH_I2C_Read... [11:12:56]Read from MH i2c: E2 62 00 4B 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AE 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 AF [11:12:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AE 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:12:56]wFMCommunicate OK [11:12:56]SAM_PROTO_GetFieldsCounters done [11:12:56]requested_item shift.num is exist - process it [11:12:56]requested_item shift.opened is exist - process it [11:12:56]req_shift_opened [11:12:56]FM_GetShiftState [11:12:56]SAM_PROTO_GetShiftState [11:12:56]wFMCommunicate request_size=4 [11:12:56]MH_SAM_APDU [11:12:56]CAPDU: 80 13 01 00 [11:12:56]Write to MH i2c: E2 08 00 4C 0A 80 13 01 00 00 00 00 00 D3 [11:12:56]Write i2c OK [11:12:56]MH_I2C_Read... [11:12:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:56]Read from MH i2c: E2 [11:12:56]MH_I2C_Read... [11:12:56]Read from MH i2c: E2 0E 00 [11:12:56]MH_I2C_Read... [11:12:56]Read from MH i2c: E2 0E 00 4C 0A 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 A7 [11:12:56]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:12:56]wFMCommunicate OK [11:12:56]SAM_PROTO_GetShiftState done [11:12:56]FM_GetShiftState done [11:12:56]req_shift_opened done [11:12:56]requested_item shift.open_date is exist - process it [11:12:56]req_shift_open_date [11:12:56]req_shift_open_date done [11:12:56]produce_requested_data done [11:12:56]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22190,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [11:12:56]process_action_free close_receipt [11:12:56]json_value_free [11:12:56]json_value_free done [11:12:56]process_json_proto returns [11:12:56]Send response to host [11:12:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22190,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [11:12:56]free response buf [11:12:56]execute_script done [11:12:56]execute_script returns [11:12:56]free content buf [11:12:56]Sock 10.Close socket [11:12:56]Sock 10.Thread stoped [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:55]OFD Sender: No OFD packet to send [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:10]OFD Sender: No OFD packet to send [11:23:15]OFD Sender: No OFD packet to send [11:23:20]OFD Sender: No OFD packet to send [11:23:25]OFD Sender: No OFD packet to send [11:23:30]OFD Sender: No OFD packet to send [11:23:35]OFD Sender: No OFD packet to send [11:23:40]OFD Sender: No OFD packet to send [11:23:45]OFD Sender: No OFD packet to send [11:23:50]OFD Sender: No OFD packet to send [11:23:55]OFD Sender: No OFD packet to send [11:24:00]OFD Sender: No OFD packet to send [11:24:05]OFD Sender: No OFD packet to send [11:24:10]OFD Sender: No OFD packet to send [11:24:15]OFD Sender: No OFD packet to send [11:24:20]OFD Sender: No OFD packet to send [11:24:25]OFD Sender: No OFD packet to send [11:24:30]OFD Sender: No OFD packet to send [11:24:35]OFD Sender: No OFD packet to send [11:24:40]OFD Sender: No OFD packet to send [11:24:45]OFD Sender: No OFD packet to send [11:24:50]OFD Sender: No OFD packet to send [11:24:55]OFD Sender: No OFD packet to send [11:25:00]OFD Sender: No OFD packet to send [11:25:05]OFD Sender: No OFD packet to send [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:26:00]OFD Sender: No OFD packet to send [11:26:05]OFD Sender: No OFD packet to send [11:26:10]OFD Sender: No OFD packet to send [11:26:15]OFD Sender: No OFD packet to send [11:26:20]OFD Sender: No OFD packet to send [11:26:25]OFD Sender: No OFD packet to send [11:26:30]OFD Sender: No OFD packet to send [11:26:35]OFD Sender: No OFD packet to send [11:26:40]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]OFD Sender: No OFD packet to send [11:27:41]OFD Sender: No OFD packet to send [11:27:46]OFD Sender: No OFD packet to send [11:27:51]OFD Sender: No OFD packet to send [11:27:56]OFD Sender: No OFD packet to send [11:28:01]OFD Sender: No OFD packet to send [11:28:06]OFD Sender: No OFD packet to send [11:28:11]OFD Sender: No OFD packet to send [11:28:16]OFD Sender: No OFD packet to send [11:28:21]OFD Sender: No OFD packet to send [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:36]OFD Sender: No OFD packet to send [11:28:41]OFD Sender: No OFD packet to send [11:28:46]OFD Sender: No OFD packet to send [11:28:51]OFD Sender: No OFD packet to send [11:28:56]OFD Sender: No OFD packet to send [11:29:01]OFD Sender: No OFD packet to send [11:29:06]OFD Sender: No OFD packet to send [11:29:11]OFD Sender: No OFD packet to send [11:29:16]OFD Sender: No OFD packet to send [11:29:21]OFD Sender: No OFD packet to send [11:29:26]OFD Sender: No OFD packet to send [11:29:31]OFD Sender: No OFD packet to send [11:29:36]OFD Sender: No OFD packet to send [11:29:41]OFD Sender: No OFD packet to send [11:29:46]OFD Sender: No OFD packet to send [11:29:51]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:46]OFD Sender: No OFD packet to send [11:30:51]OFD Sender: No OFD packet to send [11:30:56]OFD Sender: No OFD packet to send [11:31:01]OFD Sender: No OFD packet to send [11:31:06]OFD Sender: No OFD packet to send [11:31:11]OFD Sender: No OFD packet to send [11:31:16]OFD Sender: No OFD packet to send [11:31:21]OFD Sender: No OFD packet to send [11:31:26]OFD Sender: No OFD packet to send [11:31:31]OFD Sender: No OFD packet to send [11:31:36]OFD Sender: No OFD packet to send [11:31:41]OFD Sender: No OFD packet to send [11:31:46]OFD Sender: No OFD packet to send [11:31:51]OFD Sender: No OFD packet to send [11:31:56]OFD Sender: No OFD packet to send [11:32:01]OFD Sender: No OFD packet to send [11:32:06]OFD Sender: No OFD packet to send [11:32:11]OFD Sender: No OFD packet to send [11:32:16]OFD Sender: No OFD packet to send [11:32:21]OFD Sender: No OFD packet to send [11:32:26]OFD Sender: No OFD packet to send [11:32:31]OFD Sender: No OFD packet to send [11:32:36]OFD Sender: No OFD packet to send [11:32:41]OFD Sender: No OFD packet to send [11:32:46]OFD Sender: No OFD packet to send [11:32:51]OFD Sender: No OFD packet to send [11:32:56]OFD Sender: No OFD packet to send [11:33:01]OFD Sender: No OFD packet to send [11:33:06]OFD Sender: No OFD packet to send [11:33:11]OFD Sender: No OFD packet to send [11:33:16]OFD Sender: No OFD packet to send [11:33:21]OFD Sender: No OFD packet to send [11:33:26]OFD Sender: No OFD packet to send [11:33:31]OFD Sender: No OFD packet to send [11:33:36]OFD Sender: No OFD packet to send [11:33:41]OFD Sender: No OFD packet to send [11:33:46]OFD Sender: No OFD packet to send [11:33:51]OFD Sender: No OFD packet to send [11:33:56]OFD Sender: No OFD packet to send [11:34:01]OFD Sender: No OFD packet to send [11:34:03]accept exits with 8 [11:34:03]New connection [11:34:03]New thread 3066695012 created [11:34:03]Thread 3066838372 joined [11:34:03]Waiting for new connection... [11:34:03] Sock 8.Parse request [11:34:03]Sock 8.Check first char [11:34:03]Sock 8.First char is OK [11:34:03]request: POST /json_proto HTTP/1.0 [11:34:03]Method: POST [11:34:03]URL: /json_proto [11:34:03]Method is POST - this is cgi request [11:34:03]url: /json_proto [11:34:03]query_string will be loaded in cgi processing [11:34:03]execute_cgi json_proto POST (null) [11:34:03]execute_cgi path=json_proto method=POST [11:34:03]POST find Content-Length [11:34:03]Host: 172.17.35.133:8080 [11:34:03]Content-Length: 1221 [11:34:03]Content-Type: application/json [11:34:03] [11:34:03]POST finish read [11:34:03]Found Content-Length = 1221 [11:34:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254408", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 328.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:34:03]execute_script... [11:34:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254408", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 328.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:34:03]POST & json_proto [11:34:03]process_json_proto [11:34:03]json parsed OK: [11:34:03]protocol is kg_v1.0 [11:34:03]action value=close_receipt [11:34:03]process_action close_receipt [11:34:03]cmd_close_receipt [11:34:03]MH_GetDate [11:34:03]Write to MH i2c: F0 00 00 4D 0A 46 [11:34:03]Write i2c OK [11:34:03]MH_I2C_Read... [11:34:03]Read from MH i2c: F0 [11:34:03]MH_I2C_Read... [11:34:03]Read from MH i2c: F0 09 00 [11:34:03]MH_I2C_Read... [11:34:03]Read from MH i2c: F0 09 00 4D 0A 00 2E 7C 6D 66 8C 55 28 65 3A [11:34:03]GetLastDocTimeStamp 1718449975 [11:34:03]current date 1718451246 [11:34:03]FM_GetShiftState [11:34:03]SAM_PROTO_GetShiftState [11:34:03]wFMCommunicate request_size=4 [11:34:03]MH_SAM_APDU [11:34:03]CAPDU: 80 13 01 00 [11:34:03]Write to MH i2c: E2 08 00 4E 0A 80 13 01 00 00 00 00 00 D5 [11:34:03]Write i2c OK [11:34:03]MH_I2C_Read... [11:34:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:34:03]Read from MH i2c: E2 [11:34:03]MH_I2C_Read... [11:34:03]Read from MH i2c: E2 0E 00 [11:34:03]MH_I2C_Read... [11:34:03]Read from MH i2c: E2 0E 00 4E 0A 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 A9 [11:34:03]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:34:03]wFMCommunicate OK [11:34:03]SAM_PROTO_GetShiftState done [11:34:03]FM_GetShiftState done [11:34:03]opened in 1718410776 [11:34:03]opened+sec_in_day 1718497176 [11:34:03]quantity*price = 11300 [11:34:03]sum+1 = 11301 [11:34:03]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112003956 Шок батончик ALBENI SUPER Альбени Супер 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 328.00 НСП 1% : 2.90 НДС 12% : 34.83 Наличными: 328.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 36 15.06.2024 11:34 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22191 ФПД: 130382896032282 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T113406&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22191&fm=130382896032282&tin=02508201610067®Number=0000000000099755&sum=32800 0 [11:34:04]StoreToDocumentArchive [11:34:04]shift 326 fd 22191 [11:34:04]save to /storage/0326/doc_00022191 [11:34:04]save last doc name /storage/0326/doc_00022191 to /storage/kkm_last_doc_name [11:34:04]save OK [11:34:04]Clear old archive folders... [11:34:04]ProcessDocumentItem done err = 0, tmpTLVsize=515 [11:34:04]tlvbuf is 001D5B50 [11:34:04]SAM_PROTO_ClearQueue [11:34:04]wFMCommunicate request_size=4 [11:34:04]MH_SAM_APDU [11:34:04]CAPDU: 80 09 00 00 [11:34:04]Write to MH i2c: E2 08 00 5B 0A 80 09 00 00 00 00 00 00 D7 [11:34:04]Write i2c OK [11:34:04]MH_I2C_Read... [11:34:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:34:04]Read from MH i2c: E2 [11:34:04]MH_I2C_Read... [11:34:04]Read from MH i2c: E2 03 00 [11:34:04]MH_I2C_Read... [11:34:04]Read from MH i2c: E2 03 00 5B 0A 00 90 00 D9 [11:34:04]RAPDU: 90 00 [11:34:04]wFMCommunicate OK [11:34:04]SAM_PROTO_ClearQueue done [11:34:04]KKMCreateOFDPacket [11:34:04]OFDProtocolAddRootSTLVToBuf [11:34:04]FM_MakeSignedData [11:34:04]FM_MakeSignedData [11:34:04]SAM_PROTO_SignData [11:34:04]wFMCommunicate request_size=4 [11:34:04]MH_SAM_APDU [11:34:04]CAPDU: 80 0D 01 02 [11:34:04]Write to MH i2c: E2 08 00 5C 0A 80 0D 01 02 00 00 00 00 DF [11:34:04]Write i2c OK [11:34:04]MH_I2C_Read... [11:34:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:34:04]Read from MH i2c: E2 [11:34:04]MH_I2C_Read... [11:34:04]Read from MH i2c: E2 03 00 [11:34:04]MH_I2C_Read... [11:34:04]Read from MH i2c: E2 03 00 5C 0A 00 90 00 DA [11:34:04]RAPDU: 90 00 [11:34:04]wFMCommunicate OK [11:34:04]wFMCommunicate request_size=255 [11:34:04]MH_SAM_APDU [11:34:04]CAPDU: 80 0D 02 02 FA 03 00 03 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [11:34:05]Write to MH i2c: E2 02 01 5D 0A 80 0D 02 02 FA 00 03 00 03 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 10 [11:34:05]Write i2c OK [11:34:05]MH_I2C_Read... [11:34:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:05]Read from MH i2c: E2 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 03 00 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 03 00 5D 0A 00 90 00 DB [11:34:05]RAPDU: 90 00 [11:34:05]wFMCommunicate OK [11:34:05]wFMCommunicate request_size=255 [11:34:05]MH_SAM_APDU [11:34:05]CAPDU: 80 0D 02 02 FA 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 0D 00 00 00 00 07 04 06 00 20 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2E 7C 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 [11:34:05]Write to MH i2c: E2 02 01 5E 0A 80 0D 02 02 FA 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 0D 00 00 00 00 07 04 06 00 20 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2E 7C 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 00 00 19 [11:34:05]Write i2c OK [11:34:05]MH_I2C_Read... [11:34:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:05]Read from MH i2c: E2 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 03 00 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 03 00 5E 0A 00 90 00 DC [11:34:05]RAPDU: 90 00 [11:34:05]wFMCommunicate OK [11:34:05]wFMCommunicate request_size=24 [11:34:05]MH_SAM_APDU [11:34:05]CAPDU: 80 0D 02 02 13 34 10 04 04 00 AF 56 00 00 35 04 06 00 76 95 22 33 EA 1A [11:34:05]Write to MH i2c: E2 1B 00 5F 0A 80 0D 02 02 13 00 34 10 04 04 00 AF 56 00 00 35 04 06 00 76 95 22 33 EA 1A 00 00 FD [11:34:05]Write i2c OK [11:34:05]MH_I2C_Read... [11:34:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:05]Read from MH i2c: E2 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 03 00 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 03 00 5F 0A 00 90 00 DD [11:34:05]RAPDU: 90 00 [11:34:05]wFMCommunicate OK [11:34:05]wFMCommunicate request_size=4 [11:34:05]MH_SAM_APDU [11:34:05]CAPDU: 80 0D 03 02 [11:34:05]Write to MH i2c: E2 08 00 60 0A 80 0D 03 02 00 00 00 00 E5 [11:34:05]Write i2c OK [11:34:05]MH_I2C_Read... [11:34:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:34:05]Read from MH i2c: E2 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 0B 00 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 0B 00 60 0A 00 EB 31 98 01 E0 A0 89 C7 90 00 6B [11:34:05]RAPDU: EB 31 98 01 E0 A0 89 C7 90 00 [11:34:05]wFMCommunicate OK [11:34:05]SAM_PROTO_SignData done [11:34:05]FM_MakeSignedData done [11:34:05]CreateOFDProtocolMessage [11:34:05]wFMCommunicate request_size=4 [11:34:05]MH_SAM_APDU [11:34:05]CAPDU: 80 11 00 00 [11:34:05]Write to MH i2c: E2 08 00 61 0A 80 11 00 00 00 00 00 00 E5 [11:34:05]Write i2c OK [11:34:05]MH_I2C_Read... [11:34:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:05]Read from MH i2c: E2 [11:34:05]MH_I2C_Read... [11:34:05]Read from MH i2c: E2 17 00 [11:34:05]MH_I2C_Read... [11:34:06]Read from MH i2c: E2 17 00 61 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 37 [11:34:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:34:06]wFMCommunicate OK [11:34:06]CreateOFDProtocolMessage done [11:34:06]OFDSenderStorePacket 22191 [11:34:06]StoreOFDPacket docnum=22191 [11:34:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 17 02 00 00 FB 25 0F 02 AF 46 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 0D 00 00 00 00 07 04 06 00 20 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2E 7C 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AF 56 00 00 35 04 06 00 76 95 22 33 EA 1A EB 31 98 01 E0 A0 89 C7 [11:34:06]CheckFolder [11:34:06]dirname=/storage/ofd_packets [11:34:06]CheckFolder done [11:34:06]ProducePacketName [11:34:06]name=ofd_packets/00022191 [11:34:06]NVStorageSaveData ofd_packets/00022191 [11:34:06]File name is /storage/ofd_packets/00022191 [11:34:06]Write 565 bytes [11:34:06]NVStorageSaveData done [11:34:06]OFDSenderStorePacket done [11:34:06]KKMCreateOFDPacket done [11:34:06]NVStorageSaveData kkm_last_timestamp [11:34:06]File name is /storage/kkm_last_timestamp [11:34:06]Write 4 bytes [11:34:06]NVStorageSaveData done [11:34:06]ExternCall_PrintAddStr [11:34:06]wPrintStart [11:34:06]Write to MH i2c: 01 00 00 62 0A 6C [11:34:06]Write i2c OK [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: 01 [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: 01 07 00 [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: 01 07 00 62 0A 00 00 00 00 00 FF 0F 81 [11:34:06]RasterBufferAndPrint [11:34:06]line Счет N : (3)254408 [11:34:06]line ИНН: 02508201610067 [11:34:06]line Контрольно-Кассовый Чек [11:34:06]line ПРОДАЖА [11:34:06]line Товар: 5449000054227 [11:34:06]line Напиток Кока-Кола 1л [11:34:06]line 1.000 * 113.00 [11:34:06]line = 113.00 [11:34:06]line НДС 12% НСП 1% [11:34:06]line > о реализуемом товаре [11:34:06]line Товар: 4870112003956 [11:34:06]line Шок батончик ALBENI SUPER Альбени Супер [11:34:06]line 1.000 * 75.00 [11:34:06]line = 75.00 [11:34:06]line НДС 12% НСП 1% [11:34:06]line > о реализуемом товаре [11:34:06]line Товар: 48743570 [11:34:06]line Сигареты Winston XStyle Blue [11:34:06]line 1.000 * 140.00 [11:34:06]line = 140.00 [11:34:06]line НДС 12% НСП 1% [11:34:06]line > о реализуемом товаре [11:34:06]line ИТОГО: 328.00 [11:34:06]line НСП 1% : 2.90 [11:34:06]line НДС 12% : 34.83 [11:34:06]line Наличными: 328.00 [11:34:06]line Безнал.: 0.00 [11:34:06]line Место: АЗС № 76 "Партнер Нефть" [11:34:06]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:34:06]line СНО: Общий режим [11:34:06]line Чек 36 15.06.2024 11:34 [11:34:06]line Смена: 326 ФФД: 1.0 [11:34:06]line ЗНМ: 0300000200 [11:34:06]line РНМ: 0000000000099755 [11:34:06]line Версия ККМ: 001 [11:34:06]line ФМ: 0000000000965344 [11:34:06]line ФД: 22191 [11:34:06]line ФПД: 130382896032282 [11:34:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T113406&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22191&fm=130382896032282&tin=02508201610067®Number=0000000000099755&sum=32800 [11:34:06]line 0 [11:34:06]OFD Sender: Processing packet 22191 [packets to send 5, broken 4] [11:34:06]ProducePacketName [11:34:06]name=ofd_packets/00022191 [11:34:06]OFD Sender: To server: pG, [11:34:06]CommunicateWithHost lk.salyk.kg:30040 [11:34:06]ConnectInit lk.salyk.kg [11:34:06]written 0, free lines is 4095 [11:34:06]Connected sock=10 [11:34:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 17 02 00 00 FB 25 0F 02 AF 46 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 0D 00 00 00 00 07 04 06 00 20 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2E 7C 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AF 56 00 00 35 04 06 00 76 95 22 33 EA 1A EB 31 98 01 E0 A0 89 C7 [11:34:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 2F C4 47 00 89 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 AF 56 00 00 F4 03 04 00 EC 24 6D 66 B6 04 01 00 00 CB 71 AB D0 AA D1 C2 1C [11:34:06]CommunicateWithHost err = 0 [11:34:06]CheckOFDResponse [11:34:06]1017 (14) - 77093643461234 [11:34:06]1041 (16) - 0000000000965344 [11:34:06]1040 (4) - 22191 [11:34:06]1012 (4) - 15.06.2024 05:21 [11:34:06]1206 (1) - 0 [11:34:06]OFD Sender: Remove packet 22191 [11:34:06]ProducePacketName [11:34:06]name=ofd_packets/00022191 [11:34:06]NVStorageDeleteData [11:34:06]Write to MH i2c: 01 00 00 97 0A A1 [11:34:06]Write i2c OK [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: 01 [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: 01 07 00 [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: 01 07 00 97 0A 00 00 00 00 00 7B 0C 2F [11:34:06]RasterBufferAndPrint [11:34:06]line [11:34:06]line [11:34:06]line [11:34:06]line [11:34:06]line [11:34:06]written 0, free lines is 3204 [11:34:06]MH_Cut [11:34:06]Write to MH i2c: D1 01 00 9E 0A 01 7A [11:34:06]Write i2c OK [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: D1 [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: D1 01 00 [11:34:06]MH_I2C_Read... [11:34:06]Read from MH i2c: D1 01 00 9E 0A 00 79 [11:34:06]Write to MH i2c: 01 00 00 9F 0A A9 [11:34:06]Write i2c OK [11:34:06]MH_I2C_Read... [11:34:07]OFD Sender: No OFD packet to send [11:34:07]*** Cut start [11:34:07]*** Partial cut [11:34:07]*** CUTSNS_PIN = 1 [11:34:07]*** CUTSNS_PIN = 0 [11:34:07]*** Brake cut motor [11:34:08]Read from MH i2c: 01 [11:34:08]MH_I2C_Read... [11:34:08]*** Stop cut motor [11:34:08]*** Cut end [11:34:08]Read from MH i2c: 01 07 00 [11:34:08]MH_I2C_Read... [11:34:08]Read from MH i2c: 01 07 00 9F 0A 00 00 00 00 00 FF 0F BE [11:34:08]process_action close_receipt done [11:34:08]requested_data is exist [11:34:08]produce_requested_data [11:34:08]requested_item fm.sn is exist - process it [11:34:08]wFMCommunicate request_size=4 [11:34:08]MH_SAM_APDU [11:34:08]CAPDU: 80 11 00 00 [11:34:08]Write to MH i2c: E2 08 00 A0 0A 80 11 00 00 00 00 00 00 24 [11:34:08]Write i2c OK [11:34:08]MH_I2C_Read... [11:34:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:08]Read from MH i2c: E2 [11:34:08]MH_I2C_Read... [11:34:08]Read from MH i2c: E2 17 00 [11:34:08]MH_I2C_Read... [11:34:08]Read from MH i2c: E2 17 00 A0 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 76 [11:34:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:34:08]wFMCommunicate OK [11:34:08]requested_item fd.num is exist - process it [11:34:08]SAM_PROTO_GetFieldsCounters [11:34:08]wFMCommunicate request_size=4 [11:34:08]MH_SAM_APDU [11:34:08]CAPDU: 80 13 00 00 [11:34:08]Write to MH i2c: E2 08 00 A1 0A 80 13 00 00 00 00 00 00 27 [11:34:08]Write i2c OK [11:34:08]MH_I2C_Read... [11:34:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:34:08]Read from MH i2c: E2 [11:34:08]MH_I2C_Read... [11:34:08]Read from MH i2c: E2 62 00 [11:34:08]MH_I2C_Read... [11:34:08]Read from MH i2c: E2 62 00 A1 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AF 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [11:34:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 AF 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:34:08]wFMCommunicate OK [11:34:08]SAM_PROTO_GetFieldsCounters done [11:34:08]requested_item shift.num is exist - process it [11:34:08]requested_item shift.opened is exist - process it [11:34:08]req_shift_opened [11:34:08]FM_GetShiftState [11:34:08]SAM_PROTO_GetShiftState [11:34:08]wFMCommunicate request_size=4 [11:34:08]MH_SAM_APDU [11:34:08]CAPDU: 80 13 01 00 [11:34:08]Write to MH i2c: E2 08 00 A2 0A 80 13 01 00 00 00 00 00 29 [11:34:08]Write i2c OK [11:34:08]MH_I2C_Read... [11:34:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:34:08]Read from MH i2c: E2 [11:34:08]MH_I2C_Read... [11:34:08]Read from MH i2c: E2 0E 00 [11:34:08]MH_I2C_Read... [11:34:08]Read from MH i2c: E2 0E 00 A2 0A 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 FD [11:34:08]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [11:34:08]wFMCommunicate OK [11:34:08]SAM_PROTO_GetShiftState done [11:34:08]FM_GetShiftState done [11:34:08]req_shift_opened done [11:34:08]requested_item shift.open_date is exist - process it [11:34:08]req_shift_open_date [11:34:08]req_shift_open_date done [11:34:08]produce_requested_data done [11:34:08]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22191,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [11:34:08]process_action_free close_receipt [11:34:08]json_value_free [11:34:08]json_value_free done [11:34:08]process_json_proto returns [11:34:08]Send response to host [11:34:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22191,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [11:34:08]free response buf [11:34:08]execute_script done [11:34:08]execute_script returns [11:34:08]free content buf [11:34:08]Sock 8.Close socket [11:34:08]Sock 8.Thread stoped [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:47]OFD Sender: No OFD packet to send [11:36:52]OFD Sender: No OFD packet to send [11:36:57]OFD Sender: No OFD packet to send [11:37:02]OFD Sender: No OFD packet to send [11:37:07]OFD Sender: No OFD packet to send [11:37:12]OFD Sender: No OFD packet to send [11:37:17]OFD Sender: No OFD packet to send [11:37:22]OFD Sender: No OFD packet to send [11:37:27]OFD Sender: No OFD packet to send [11:37:32]OFD Sender: No OFD packet to send [11:37:37]OFD Sender: No OFD packet to send [11:37:42]OFD Sender: No OFD packet to send [11:37:47]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:27]OFD Sender: No OFD packet to send [11:46:32]OFD Sender: No OFD packet to send [11:46:37]OFD Sender: No OFD packet to send [11:46:42]OFD Sender: No OFD packet to send [11:46:47]OFD Sender: No OFD packet to send [11:46:52]OFD Sender: No OFD packet to send [11:46:57]OFD Sender: No OFD packet to send [11:47:02]OFD Sender: No OFD packet to send [11:47:07]OFD Sender: No OFD packet to send [11:47:12]OFD Sender: No OFD packet to send [11:47:17]OFD Sender: No OFD packet to send [11:47:22]OFD Sender: No OFD packet to send [11:47:27]OFD Sender: No OFD packet to send [11:47:32]OFD Sender: No OFD packet to send [11:47:37]OFD Sender: No OFD packet to send [11:47:42]OFD Sender: No OFD packet to send [11:47:47]OFD Sender: No OFD packet to send [11:47:52]OFD Sender: No OFD packet to send [11:47:57]OFD Sender: No OFD packet to send [11:48:02]OFD Sender: No OFD packet to send [11:48:07]OFD Sender: No OFD packet to send [11:48:12]OFD Sender: No OFD packet to send [11:48:17]OFD Sender: No OFD packet to send [11:48:22]OFD Sender: No OFD packet to send [11:48:27]OFD Sender: No OFD packet to send [11:48:32]OFD Sender: No OFD packet to send [11:48:37]OFD Sender: No OFD packet to send [11:48:42]OFD Sender: No OFD packet to send [11:48:47]OFD Sender: No OFD packet to send [11:48:52]OFD Sender: No OFD packet to send [11:48:57]OFD Sender: No OFD packet to send [11:49:02]OFD Sender: No OFD packet to send [11:49:07]OFD Sender: No OFD packet to send [11:49:12]OFD Sender: No OFD packet to send [11:49:17]OFD Sender: No OFD packet to send [11:49:22]OFD Sender: No OFD packet to send [11:49:27]OFD Sender: No OFD packet to send [11:49:32]OFD Sender: No OFD packet to send [11:49:37]OFD Sender: No OFD packet to send [11:49:42]OFD Sender: No OFD packet to send [11:49:47]OFD Sender: No OFD packet to send [11:49:52]OFD Sender: No OFD packet to send [11:49:57]OFD Sender: No OFD packet to send [11:50:02]OFD Sender: No OFD packet to send [11:50:07]OFD Sender: No OFD packet to send [11:50:12]OFD Sender: No OFD packet to send [11:50:17]OFD Sender: No OFD packet to send [11:50:22]OFD Sender: No OFD packet to send [11:50:27]OFD Sender: No OFD packet to send [11:50:32]OFD Sender: No OFD packet to send [11:50:37]OFD Sender: No OFD packet to send [11:50:42]OFD Sender: No OFD packet to send [11:50:47]OFD Sender: No OFD packet to send [11:50:52]OFD Sender: No OFD packet to send [11:50:57]OFD Sender: No OFD packet to send [11:51:02]OFD Sender: No OFD packet to send [11:51:07]OFD Sender: No OFD packet to send [11:51:12]OFD Sender: No OFD packet to send [11:51:17]OFD Sender: No OFD packet to send [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:33]OFD Sender: No OFD packet to send [11:59:38]OFD Sender: No OFD packet to send [11:59:43]OFD Sender: No OFD packet to send [11:59:48]OFD Sender: No OFD packet to send [11:59:53]OFD Sender: No OFD packet to send [11:59:58]OFD Sender: No OFD packet to send [12:00:03]OFD Sender: No OFD packet to send [12:00:08]OFD Sender: No OFD packet to send [12:00:13]OFD Sender: No OFD packet to send [12:00:18]OFD Sender: No OFD packet to send [12:00:23]OFD Sender: No OFD packet to send [12:00:28]OFD Sender: No OFD packet to send [12:00:33]OFD Sender: No OFD packet to send [12:00:38]OFD Sender: No OFD packet to send [12:00:43]OFD Sender: No OFD packet to send [12:00:48]OFD Sender: No OFD packet to send [12:00:53]OFD Sender: No OFD packet to send [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:13]OFD Sender: No OFD packet to send [12:04:18]OFD Sender: No OFD packet to send [12:04:23]OFD Sender: No OFD packet to send [12:04:28]OFD Sender: No OFD packet to send [12:04:33]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:18]OFD Sender: No OFD packet to send [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]OFD Sender: No OFD packet to send [12:06:13]OFD Sender: No OFD packet to send [12:06:18]OFD Sender: No OFD packet to send [12:06:23]OFD Sender: No OFD packet to send [12:06:28]OFD Sender: No OFD packet to send [12:06:33]OFD Sender: No OFD packet to send [12:06:38]OFD Sender: No OFD packet to send [12:06:43]OFD Sender: No OFD packet to send [12:06:48]OFD Sender: No OFD packet to send [12:06:53]OFD Sender: No OFD packet to send [12:06:58]OFD Sender: No OFD packet to send [12:07:03]OFD Sender: No OFD packet to send [12:07:08]OFD Sender: No OFD packet to send [12:07:13]OFD Sender: No OFD packet to send [12:07:18]OFD Sender: No OFD packet to send [12:07:23]OFD Sender: No OFD packet to send [12:07:28]OFD Sender: No OFD packet to send [12:07:33]OFD Sender: No OFD packet to send [12:07:38]OFD Sender: No OFD packet to send [12:07:43]OFD Sender: No OFD packet to send [12:07:48]OFD Sender: No OFD packet to send [12:07:53]OFD Sender: No OFD packet to send [12:07:58]OFD Sender: No OFD packet to send [12:08:03]OFD Sender: No OFD packet to send [12:08:08]OFD Sender: No OFD packet to send [12:08:13]OFD Sender: No OFD packet to send [12:08:18]OFD Sender: No OFD packet to send [12:08:23]OFD Sender: No OFD packet to send [12:08:28]OFD Sender: No OFD packet to send [12:08:33]OFD Sender: No OFD packet to send [12:08:38]OFD Sender: No OFD packet to send [12:08:43]OFD Sender: No OFD packet to send [12:08:48]OFD Sender: No OFD packet to send [12:08:53]OFD Sender: No OFD packet to send [12:08:58]OFD Sender: No OFD packet to send [12:09:03]OFD Sender: No OFD packet to send [12:09:08]OFD Sender: No OFD packet to send [12:09:13]OFD Sender: No OFD packet to send [12:09:18]OFD Sender: No OFD packet to send [12:09:23]OFD Sender: No OFD packet to send [12:09:28]OFD Sender: No OFD packet to send [12:09:33]OFD Sender: No OFD packet to send [12:09:38]OFD Sender: No OFD packet to send [12:09:43]OFD Sender: No OFD packet to send [12:09:48]OFD Sender: No OFD packet to send [12:09:53]OFD Sender: No OFD packet to send [12:09:58]OFD Sender: No OFD packet to send [12:10:03]OFD Sender: No OFD packet to send [12:10:08]OFD Sender: No OFD packet to send [12:10:13]OFD Sender: No OFD packet to send [12:10:18]OFD Sender: No OFD packet to send [12:10:23]OFD Sender: No OFD packet to send [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:33]OFD Sender: No OFD packet to send [12:12:38]OFD Sender: No OFD packet to send [12:12:43]OFD Sender: No OFD packet to send [12:12:48]OFD Sender: No OFD packet to send [12:12:53]OFD Sender: No OFD packet to send [12:12:58]OFD Sender: No OFD packet to send [12:13:03]OFD Sender: No OFD packet to send [12:13:08]OFD Sender: No OFD packet to send [12:13:13]OFD Sender: No OFD packet to send [12:13:18]OFD Sender: No OFD packet to send [12:13:23]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:24]OFD Sender: No OFD packet to send [12:14:29]OFD Sender: No OFD packet to send [12:14:34]OFD Sender: No OFD packet to send [12:14:39]OFD Sender: No OFD packet to send [12:14:44]OFD Sender: No OFD packet to send [12:14:49]OFD Sender: No OFD packet to send [12:14:54]OFD Sender: No OFD packet to send [12:14:59]OFD Sender: No OFD packet to send [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:34]OFD Sender: No OFD packet to send [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17:44]OFD Sender: No OFD packet to send [12:17:49]OFD Sender: No OFD packet to send [12:17:54]OFD Sender: No OFD packet to send [12:17:59]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:19]OFD Sender: No OFD packet to send [12:18:24]OFD Sender: No OFD packet to send [12:18:29]OFD Sender: No OFD packet to send [12:18:34]OFD Sender: No OFD packet to send [12:18:39]OFD Sender: No OFD packet to send [12:18:44]OFD Sender: No OFD packet to send [12:18:49]OFD Sender: No OFD packet to send [12:18:54]OFD Sender: No OFD packet to send [12:18:59]OFD Sender: No OFD packet to send [12:19:04]OFD Sender: No OFD packet to send [12:19:09]OFD Sender: No OFD packet to send [12:19:14]OFD Sender: No OFD packet to send [12:19:19]OFD Sender: No OFD packet to send [12:19:24]OFD Sender: No OFD packet to send [12:19:29]OFD Sender: No OFD packet to send [12:19:34]OFD Sender: No OFD packet to send [12:19:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]OFD Sender: No OFD packet to send [12:19:54]OFD Sender: No OFD packet to send [12:19:59]OFD Sender: No OFD packet to send [12:20:04]OFD Sender: No OFD packet to send [12:20:09]OFD Sender: No OFD packet to send [12:20:14]OFD Sender: No OFD packet to send [12:20:19]OFD Sender: No OFD packet to send [12:20:24]OFD Sender: No OFD packet to send [12:20:29]OFD Sender: No OFD packet to send [12:20:34]OFD Sender: No OFD packet to send [12:20:39]OFD Sender: No OFD packet to send [12:20:44]OFD Sender: No OFD packet to send [12:20:49]OFD Sender: No OFD packet to send [12:20:54]OFD Sender: No OFD packet to send [12:20:59]OFD Sender: No OFD packet to send [12:21:04]OFD Sender: No OFD packet to send [12:21:09]OFD Sender: No OFD packet to send [12:21:14]OFD Sender: No OFD packet to send [12:21:19]OFD Sender: No OFD packet to send [12:21:24]OFD Sender: No OFD packet to send [12:21:29]OFD Sender: No OFD packet to send [12:21:34]OFD Sender: No OFD packet to send [12:21:39]OFD Sender: No OFD packet to send [12:21:44]OFD Sender: No OFD packet to send [12:21:49]OFD Sender: No OFD packet to send [12:21:54]OFD Sender: No OFD packet to send [12:21:59]OFD Sender: No OFD packet to send [12:22:04]OFD Sender: No OFD packet to send [12:22:09]OFD Sender: No OFD packet to send [12:22:14]OFD Sender: No OFD packet to send [12:22:19]OFD Sender: No OFD packet to send [12:22:24]OFD Sender: No OFD packet to send [12:22:29]OFD Sender: No OFD packet to send [12:22:34]OFD Sender: No OFD packet to send [12:22:39]OFD Sender: No OFD packet to send [12:22:44]OFD Sender: No OFD packet to send [12:22:49]OFD Sender: No OFD packet to send [12:22:54]OFD Sender: No OFD packet to send [12:22:59]OFD Sender: No OFD packet to send [12:23:04]OFD Sender: No OFD packet to send [12:23:09]OFD Sender: No OFD packet to send [12:23:14]OFD Sender: No OFD packet to send [12:23:19]OFD Sender: No OFD packet to send [12:23:24]OFD Sender: No OFD packet to send [12:23:29]OFD Sender: No OFD packet to send [12:23:34]OFD Sender: No OFD packet to send [12:23:39]OFD Sender: No OFD packet to send [12:23:44]OFD Sender: No OFD packet to send [12:23:49]OFD Sender: No OFD packet to send [12:23:54]OFD Sender: No OFD packet to send [12:23:59]OFD Sender: No OFD packet to send [12:24:04]OFD Sender: No OFD packet to send [12:24:09]OFD Sender: No OFD packet to send [12:24:14]OFD Sender: No OFD packet to send [12:24:19]OFD Sender: No OFD packet to send [12:24:24]OFD Sender: No OFD packet to send [12:24:29]OFD Sender: No OFD packet to send [12:24:34]OFD Sender: No OFD packet to send [12:24:39]OFD Sender: No OFD packet to send [12:24:44]OFD Sender: No OFD packet to send [12:24:49]OFD Sender: No OFD packet to send [12:24:54]OFD Sender: No OFD packet to send [12:24:59]OFD Sender: No OFD packet to send [12:25:04]OFD Sender: No OFD packet to send [12:25:09]OFD Sender: No OFD packet to send [12:25:14]OFD Sender: No OFD packet to send [12:25:19]OFD Sender: No OFD packet to send [12:25:24]OFD Sender: No OFD packet to send [12:25:29]OFD Sender: No OFD packet to send [12:25:34]OFD Sender: No OFD packet to send [12:25:39]OFD Sender: No OFD packet to send [12:25:44]OFD Sender: No OFD packet to send [12:25:49]OFD Sender: No OFD packet to send [12:25:54]OFD Sender: No OFD packet to send [12:25:59]OFD Sender: No OFD packet to send [12:26:04]OFD Sender: No OFD packet to send [12:26:09]OFD Sender: No OFD packet to send [12:26:14]OFD Sender: No OFD packet to send [12:26:19]OFD Sender: No OFD packet to send [12:26:24]OFD Sender: No OFD packet to send [12:26:29]OFD Sender: No OFD packet to send [12:26:34]OFD Sender: No OFD packet to send [12:26:39]OFD Sender: No OFD packet to send [12:26:44]OFD Sender: No OFD packet to send [12:26:49]OFD Sender: No OFD packet to send [12:26:54]OFD Sender: No OFD packet to send [12:26:59]OFD Sender: No OFD packet to send [12:27:04]OFD Sender: No OFD packet to send [12:27:09]OFD Sender: No OFD packet to send [12:27:14]OFD Sender: No OFD packet to send [12:27:19]OFD Sender: No OFD packet to send [12:27:24]OFD Sender: No OFD packet to send [12:27:29]OFD Sender: No OFD packet to send [12:27:34]OFD Sender: No OFD packet to send [12:27:39]OFD Sender: No OFD packet to send [12:27:44]OFD Sender: No OFD packet to send [12:27:49]OFD Sender: No OFD packet to send [12:27:54]OFD Sender: No OFD packet to send [12:27:59]OFD Sender: No OFD packet to send [12:28:04]OFD Sender: No OFD packet to send [12:28:09]OFD Sender: No OFD packet to send [12:28:14]OFD Sender: No OFD packet to send [12:28:19]OFD Sender: No OFD packet to send [12:28:24]OFD Sender: No OFD packet to send [12:28:29]OFD Sender: No OFD packet to send [12:28:34]OFD Sender: No OFD packet to send [12:28:39]OFD Sender: No OFD packet to send [12:28:44]OFD Sender: No OFD packet to send [12:28:49]OFD Sender: No OFD packet to send [12:28:54]OFD Sender: No OFD packet to send [12:28:59]OFD Sender: No OFD packet to send [12:29:04]OFD Sender: No OFD packet to send [12:29:09]OFD Sender: No OFD packet to send [12:29:14]OFD Sender: No OFD packet to send [12:29:19]OFD Sender: No OFD packet to send [12:29:24]OFD Sender: No OFD packet to send [12:29:29]OFD Sender: No OFD packet to send [12:29:34]OFD Sender: No OFD packet to send [12:29:39]OFD Sender: No OFD packet to send [12:29:44]OFD Sender: No OFD packet to send [12:29:49]OFD Sender: No OFD packet to send [12:29:54]OFD Sender: No OFD packet to send [12:29:59]OFD Sender: No OFD packet to send [12:30:04]OFD Sender: No OFD packet to send [12:30:09]OFD Sender: No OFD packet to send [12:30:14]OFD Sender: No OFD packet to send [12:30:19]OFD Sender: No OFD packet to send [12:30:24]OFD Sender: No OFD packet to send [12:30:29]OFD Sender: No OFD packet to send [12:30:34]OFD Sender: No OFD packet to send [12:30:39]OFD Sender: No OFD packet to send [12:30:44]OFD Sender: No OFD packet to send [12:30:49]OFD Sender: No OFD packet to send [12:30:54]OFD Sender: No OFD packet to send [12:30:59]OFD Sender: No OFD packet to send [12:31:04]OFD Sender: No OFD packet to send [12:31:09]OFD Sender: No OFD packet to send [12:31:14]OFD Sender: No OFD packet to send [12:31:19]OFD Sender: No OFD packet to send [12:31:24]OFD Sender: No OFD packet to send [12:31:29]OFD Sender: No OFD packet to send [12:31:34]OFD Sender: No OFD packet to send [12:31:39]OFD Sender: No OFD packet to send [12:31:44]OFD Sender: No OFD packet to send [12:31:49]OFD Sender: No OFD packet to send [12:31:54]OFD Sender: No OFD packet to send [12:31:59]OFD Sender: No OFD packet to send [12:32:04]OFD Sender: No OFD packet to send [12:32:09]OFD Sender: No OFD packet to send [12:32:14]OFD Sender: No OFD packet to send [12:32:19]OFD Sender: No OFD packet to send [12:32:24]OFD Sender: No OFD packet to send [12:32:29]OFD Sender: No OFD packet to send [12:32:34]OFD Sender: No OFD packet to send [12:32:39]OFD Sender: No OFD packet to send [12:32:44]OFD Sender: No OFD packet to send [12:32:49]OFD Sender: No OFD packet to send [12:32:54]OFD Sender: No OFD packet to send [12:32:59]OFD Sender: No OFD packet to send [12:33:04]OFD Sender: No OFD packet to send [12:33:09]OFD Sender: No OFD packet to send [12:33:14]OFD Sender: No OFD packet to send [12:33:19]OFD Sender: No OFD packet to send [12:33:24]OFD Sender: No OFD packet to send [12:33:29]OFD Sender: No OFD packet to send [12:33:34]OFD Sender: No OFD packet to send [12:33:39]OFD Sender: No OFD packet to send [12:33:44]OFD Sender: No OFD packet to send [12:33:49]OFD Sender: No OFD packet to send [12:33:54]OFD Sender: No OFD packet to send [12:33:59]OFD Sender: No OFD packet to send [12:34:04]OFD Sender: No OFD packet to send [12:34:09]OFD Sender: No OFD packet to send [12:34:14]OFD Sender: No OFD packet to send [12:34:19]OFD Sender: No OFD packet to send [12:34:24]OFD Sender: No OFD packet to send [12:34:29]OFD Sender: No OFD packet to send [12:34:34]OFD Sender: No OFD packet to send [12:34:39]OFD Sender: No OFD packet to send [12:34:44]OFD Sender: No OFD packet to send [12:34:49]OFD Sender: No OFD packet to send [12:34:54]OFD Sender: No OFD packet to send [12:34:59]OFD Sender: No OFD packet to send [12:35:04]OFD Sender: No OFD packet to send [12:35:09]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:08]accept exits with 9 [12:42:08]New connection [12:42:08]New thread 3066838372 created [12:42:08]Thread 3066695012 joined [12:42:08]Waiting for new connection... [12:42:08] Sock 9.Parse request [12:42:08]Sock 9.Check first char [12:42:08]Sock 9.First char is OK [12:42:08]request: POST /json_proto HTTP/1.0 [12:42:08]Method: POST [12:42:08]URL: /json_proto [12:42:08]Method is POST - this is cgi request [12:42:08]url: /json_proto [12:42:08]query_string will be loaded in cgi processing [12:42:08]execute_cgi json_proto POST (null) [12:42:08]execute_cgi path=json_proto method=POST [12:42:08]POST find Content-Length [12:42:08]Host: 172.17.35.133:8080 [12:42:08]Content-Length: 678 [12:42:08]Content-Type: application/json [12:42:08] [12:42:08]POST finish read [12:42:08]Found Content-Length = 678 [12:42:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610240", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 9.430, "sum" : 620.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 620.00, "total" : 620.00, "payments": [ { "type": 0, "sum" : 620.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:42:08]execute_script... [12:42:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610240", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 9.430, "sum" : 620.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 620.00, "total" : 620.00, "payments": [ { "type": 0, "sum" : 620.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:42:08]POST & json_proto [12:42:08]process_json_proto [12:42:08]json parsed OK: [12:42:08]protocol is kg_v1.0 [12:42:08]action value=close_receipt [12:42:08]process_action close_receipt [12:42:08]cmd_close_receipt [12:42:08]MH_GetDate [12:42:08]Write to MH i2c: F0 00 00 A3 0A 9C [12:42:08]Write i2c OK [12:42:08]MH_I2C_Read... [12:42:08]Read from MH i2c: F0 [12:42:08]MH_I2C_Read... [12:42:08]Read from MH i2c: F0 09 00 [12:42:08]MH_I2C_Read... [12:42:08]Read from MH i2c: F0 09 00 A3 0A 00 23 8C 6D 66 8C 55 28 65 95 [12:42:08]GetLastDocTimeStamp 1718451246 [12:42:08]current date 1718455331 [12:42:08]FM_GetShiftState [12:42:08]SAM_PROTO_GetShiftState [12:42:08]wFMCommunicate request_size=4 [12:42:08]MH_SAM_APDU [12:42:08]CAPDU: 80 13 01 00 [12:42:08]Write to MH i2c: E2 08 00 A4 0A 80 13 01 00 00 00 00 00 2B [12:42:08]Write i2c OK [12:42:08]MH_I2C_Read... [12:42:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:42:08]Read from MH i2c: E2 [12:42:08]MH_I2C_Read... [12:42:08]Read from MH i2c: E2 0E 00 [12:42:08]MH_I2C_Read... [12:42:08]Read from MH i2c: E2 0E 00 A4 0A 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 FF [12:42:08]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [12:42:08]wFMCommunicate OK [12:42:08]SAM_PROTO_GetShiftState done [12:42:08]FM_GetShiftState done [12:42:08]opened in 1718410776 [12:42:08]opened+sec_in_day 1718497176 [12:42:08]quantity*price = 62049 [12:42:08]sum+1 = 62050 [12:42:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.49 ИТОГО: 620.00 Внесено: 620.00 СДАЧА: 0.00 НСП 1% : 5.49 НДС 12% : 65.89 Наличными: 620.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 37 15.06.2024 12:42 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22192 ФПД: 161202674102788 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T124211&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22192&fm=161202674102788&tin=02508201610067®Number=0000000000099755&sum=62000 [12:42:09]StoreToDocumentArchive [12:42:09]shift 326 fd 22192 [12:42:09]save to /storage/0326/doc_00022192 [12:42:09]save last doc name /storage/0326/doc_00022192 to /storage/kkm_last_doc_name [12:42:09]save OK [12:42:09]Clear old archive folders... [12:42:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:42:09]tlvbuf is 001AEC60 [12:42:09]SAM_PROTO_ClearQueue [12:42:09]wFMCommunicate request_size=4 [12:42:09]MH_SAM_APDU [12:42:09]CAPDU: 80 09 00 00 [12:42:09]Write to MH i2c: E2 08 00 B1 0A 80 09 00 00 00 00 00 00 2D [12:42:09]Write i2c OK [12:42:09]MH_I2C_Read... [12:42:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:42:09]Read from MH i2c: E2 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 03 00 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 03 00 B1 0A 00 90 00 2F [12:42:09]RAPDU: 90 00 [12:42:09]wFMCommunicate OK [12:42:09]SAM_PROTO_ClearQueue done [12:42:09]KKMCreateOFDPacket [12:42:09]OFDProtocolAddRootSTLVToBuf [12:42:09]FM_MakeSignedData [12:42:09]FM_MakeSignedData [12:42:09]SAM_PROTO_SignData [12:42:09]wFMCommunicate request_size=4 [12:42:09]MH_SAM_APDU [12:42:09]CAPDU: 80 0D 01 02 [12:42:09]Write to MH i2c: E2 08 00 B2 0A 80 0D 01 02 00 00 00 00 35 [12:42:09]Write i2c OK [12:42:09]MH_I2C_Read... [12:42:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:42:09]Read from MH i2c: E2 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 03 00 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 03 00 B2 0A 00 90 00 30 [12:42:09]RAPDU: 90 00 [12:42:09]wFMCommunicate OK [12:42:09]wFMCommunicate request_size=255 [12:42:09]MH_SAM_APDU [12:42:09]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D6 24 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 61 F2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 19 00 00 00 00 07 04 06 00 30 F2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 23 8C 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B0 56 00 00 35 04 06 00 92 [12:42:09]Write to MH i2c: E2 02 01 B3 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D6 24 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 61 F2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 19 00 00 00 00 07 04 06 00 30 F2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 23 8C 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B0 56 00 00 35 04 06 00 92 00 00 29 [12:42:09]Write i2c OK [12:42:09]MH_I2C_Read... [12:42:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:42:09]Read from MH i2c: E2 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 03 00 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 03 00 B3 0A 00 90 00 31 [12:42:09]RAPDU: 90 00 [12:42:09]wFMCommunicate OK [12:42:09]wFMCommunicate request_size=10 [12:42:09]MH_SAM_APDU [12:42:09]CAPDU: 80 0D 02 02 05 9C EC 20 72 04 [12:42:09]Write to MH i2c: E2 0D 00 B4 0A 80 0D 02 02 05 00 9C EC 20 72 04 00 00 60 [12:42:09]Write i2c OK [12:42:09]MH_I2C_Read... [12:42:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:42:09]Read from MH i2c: E2 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 03 00 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 03 00 B4 0A 00 90 00 32 [12:42:09]RAPDU: 90 00 [12:42:09]wFMCommunicate OK [12:42:09]wFMCommunicate request_size=4 [12:42:09]MH_SAM_APDU [12:42:09]CAPDU: 80 0D 03 02 [12:42:09]Write to MH i2c: E2 08 00 B5 0A 80 0D 03 02 00 00 00 00 3A [12:42:09]Write i2c OK [12:42:09]MH_I2C_Read... [12:42:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:42:09]Read from MH i2c: E2 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 0B 00 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 0B 00 B5 0A 00 88 AF 99 0C 81 90 B9 E7 90 00 C8 [12:42:09]RAPDU: 88 AF 99 0C 81 90 B9 E7 90 00 [12:42:09]wFMCommunicate OK [12:42:09]SAM_PROTO_SignData done [12:42:09]FM_MakeSignedData done [12:42:09]CreateOFDProtocolMessage [12:42:09]wFMCommunicate request_size=4 [12:42:09]MH_SAM_APDU [12:42:09]CAPDU: 80 11 00 00 [12:42:09]Write to MH i2c: E2 08 00 B6 0A 80 11 00 00 00 00 00 00 3A [12:42:09]Write i2c OK [12:42:09]MH_I2C_Read... [12:42:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:42:09]Read from MH i2c: E2 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 17 00 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: E2 17 00 B6 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8C [12:42:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:42:09]wFMCommunicate OK [12:42:09]CreateOFDProtocolMessage done [12:42:09]OFDSenderStorePacket 22192 [12:42:09]StoreOFDPacket docnum=22192 [12:42:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 FD 6E 07 01 AA AA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D6 24 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 61 F2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 19 00 00 00 00 07 04 06 00 30 F2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 23 8C 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B0 56 00 00 35 04 06 00 92 9C EC 20 72 04 88 AF 99 0C 81 90 B9 E7 [12:42:09]CheckFolder [12:42:09]dirname=/storage/ofd_packets [12:42:09]CheckFolder done [12:42:09]ProducePacketName [12:42:09]name=ofd_packets/00022192 [12:42:09]NVStorageSaveData ofd_packets/00022192 [12:42:09]File name is /storage/ofd_packets/00022192 [12:42:09]Write 301 bytes [12:42:09]NVStorageSaveData done [12:42:09]OFDSenderStorePacket done [12:42:09]KKMCreateOFDPacket done [12:42:09]NVStorageSaveData kkm_last_timestamp [12:42:09]File name is /storage/kkm_last_timestamp [12:42:09]Write 4 bytes [12:42:09]NVStorageSaveData done [12:42:09]ExternCall_PrintAddStr [12:42:09]wPrintStart [12:42:09]Write to MH i2c: 01 00 00 B7 0A C1 [12:42:09]Write i2c OK [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: 01 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: 01 07 00 [12:42:09]MH_I2C_Read... [12:42:09]Read from MH i2c: 01 07 00 B7 0A 00 00 00 00 00 FF 0F D6 [12:42:09]RasterBufferAndPrint [12:42:09]line Счет N : (1)1610240 [12:42:09]line ИНН: 02508201610067 [12:42:09]line Контрольно-Кассовый Чек [12:42:09]line ПРОДАЖА [12:42:09]line ТРК (МРК, ГНК) : 24 [12:42:09]line Товар: 2710124130 [12:42:09]line Аи-92-К-5 [12:42:09]line 9.430 * 65.80 [12:42:09]line = 620.49 [12:42:09]line НДС 12% НСП 1% [12:42:09]line > о реализуемом товаре [12:42:09]line ОКРУГЛЕНИЕ: -0.49 [12:42:09]line ИТОГО: 620.00 [12:42:09]line Внесено: 620.00 [12:42:09]line СДАЧА: 0.00 [12:42:09]line НСП 1% : 5.49 [12:42:09]line НДС 12% : 65.89 [12:42:09]line Наличными: 620.00 [12:42:09]line Безнал.: 0.00 [12:42:09]line Место: АЗС № 76 "Партнер Нефть" [12:42:09]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:42:09]line СНО: Общий режим [12:42:09]line Чек 37 15.06.2024 12:42 [12:42:09]line Смена: 326 ФФД: 1.0 [12:42:09]line ЗНМ: 0300000200 [12:42:10]line РНМ: 0000000000099755 [12:42:10]line Версия ККМ: 001 [12:42:10]line ФМ: 0000000000965344 [12:42:10]line ФД: 22192 [12:42:10]line ФПД: 161202674102788 [12:42:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T124211&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22192&fm=161202674102788&tin=02508201610067®Number=0000000000099755&sum=62000 [12:42:10]OFD Sender: Processing packet 22192 [packets to send 5, broken 4] [12:42:10]ProducePacketName [12:42:10]name=ofd_packets/00022192 [12:42:10]OFD Sender: To server: pG, [12:42:10]CommunicateWithHost lk.salyk.kg:30040 [12:42:10]ConnectInit lk.salyk.kg [12:42:10]written 0, free lines is 4095 [12:42:10]Connected sock=10 [12:42:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 FD 6E 07 01 AA AA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D6 24 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 61 F2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 19 00 00 00 00 07 04 06 00 30 F2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 23 8C 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B0 56 00 00 35 04 06 00 92 9C EC 20 72 04 88 AF 99 0C 81 90 B9 E7 [12:42:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 8A EF 47 00 2E D6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B0 56 00 00 F4 03 04 00 E0 34 6D 66 B6 04 01 00 00 F5 48 3E D4 56 EA 34 EE [12:42:10]CommunicateWithHost err = 0 [12:42:10]CheckOFDResponse [12:42:10]1017 (14) - 77093643461234 [12:42:10]1041 (16) - 0000000000965344 [12:42:10]1040 (4) - 22192 [12:42:10]1012 (4) - 15.06.2024 06:29 [12:42:10]1206 (1) - 0 [12:42:10]OFD Sender: Remove packet 22192 [12:42:10]ProducePacketName [12:42:10]name=ofd_packets/00022192 [12:42:10]NVStorageDeleteData [12:42:10]Write to MH i2c: 01 00 00 E2 0A EC [12:42:10]Write i2c OK [12:42:10]MH_I2C_Read... [12:42:10]Read from MH i2c: 01 [12:42:10]MH_I2C_Read... [12:42:10]Read from MH i2c: 01 07 00 [12:42:10]MH_I2C_Read... [12:42:10]Read from MH i2c: 01 07 00 E2 0A 00 00 00 00 00 F9 0C F8 [12:42:10]RasterBufferAndPrint [12:42:10]line [12:42:10]line [12:42:10]line [12:42:10]line [12:42:10]line [12:42:10]written 0, free lines is 3328 [12:42:10]MH_Cut [12:42:10]Write to MH i2c: D1 01 00 E9 0A 01 C5 [12:42:10]Write i2c OK [12:42:10]MH_I2C_Read... [12:42:10]Read from MH i2c: D1 [12:42:10]MH_I2C_Read... [12:42:10]Read from MH i2c: D1 01 00 [12:42:10]MH_I2C_Read... [12:42:10]Read from MH i2c: D1 01 00 E9 0A 00 C4 [12:42:10]Write to MH i2c: 01 00 00 EA 0A F4 [12:42:10]Write i2c OK [12:42:10]MH_I2C_Read... [12:42:11]OFD Sender: No OFD packet to send [12:42:11]*** Cut start [12:42:11]*** Partial cut [12:42:11]*** CUTSNS_PIN = 1 [12:42:11]*** CUTSNS_PIN = 0 [12:42:11]*** Brake cut motor [12:42:12]Read from MH i2c: 01 [12:42:12]MH_I2C_Read... [12:42:12]*** Stop cut motor [12:42:12]*** Cut end [12:42:12]Read from MH i2c: 01 07 00 [12:42:12]MH_I2C_Read... [12:42:12]Read from MH i2c: 01 07 00 EA 0A 00 00 00 00 00 FF 0F 09 [12:42:12]process_action close_receipt done [12:42:12]requested_data is exist [12:42:12]produce_requested_data [12:42:12]requested_item fm.sn is exist - process it [12:42:12]wFMCommunicate request_size=4 [12:42:12]MH_SAM_APDU [12:42:12]CAPDU: 80 11 00 00 [12:42:12]Write to MH i2c: E2 08 00 EB 0A 80 11 00 00 00 00 00 00 6F [12:42:12]Write i2c OK [12:42:12]MH_I2C_Read... [12:42:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:42:12]Read from MH i2c: E2 [12:42:12]MH_I2C_Read... [12:42:12]Read from MH i2c: E2 17 00 [12:42:12]MH_I2C_Read... [12:42:12]Read from MH i2c: E2 17 00 EB 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C1 [12:42:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:42:12]wFMCommunicate OK [12:42:12]requested_item fd.num is exist - process it [12:42:12]SAM_PROTO_GetFieldsCounters [12:42:12]wFMCommunicate request_size=4 [12:42:12]MH_SAM_APDU [12:42:12]CAPDU: 80 13 00 00 [12:42:12]Write to MH i2c: E2 08 00 EC 0A 80 13 00 00 00 00 00 00 72 [12:42:12]Write i2c OK [12:42:12]MH_I2C_Read... [12:42:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:42:12]Read from MH i2c: E2 [12:42:12]MH_I2C_Read... [12:42:12]Read from MH i2c: E2 62 00 [12:42:12]MH_I2C_Read... [12:42:12]Read from MH i2c: E2 62 00 EC 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B0 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [12:42:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B0 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:42:12]wFMCommunicate OK [12:42:12]SAM_PROTO_GetFieldsCounters done [12:42:12]requested_item shift.num is exist - process it [12:42:12]requested_item shift.opened is exist - process it [12:42:12]req_shift_opened [12:42:12]FM_GetShiftState [12:42:12]SAM_PROTO_GetShiftState [12:42:12]wFMCommunicate request_size=4 [12:42:12]MH_SAM_APDU [12:42:12]CAPDU: 80 13 01 00 [12:42:12]Write to MH i2c: E2 08 00 ED 0A 80 13 01 00 00 00 00 00 74 [12:42:12]Write i2c OK [12:42:12]MH_I2C_Read... [12:42:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:42:12]Read from MH i2c: E2 [12:42:12]MH_I2C_Read... [12:42:12]Read from MH i2c: E2 0E 00 [12:42:12]MH_I2C_Read... [12:42:12]Read from MH i2c: E2 0E 00 ED 0A 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 48 [12:42:12]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [12:42:12]wFMCommunicate OK [12:42:12]SAM_PROTO_GetShiftState done [12:42:12]FM_GetShiftState done [12:42:12]req_shift_opened done [12:42:12]requested_item shift.open_date is exist - process it [12:42:12]req_shift_open_date [12:42:12]req_shift_open_date done [12:42:12]produce_requested_data done [12:42:12]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22192,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [12:42:12]process_action_free close_receipt [12:42:12]json_value_free [12:42:12]json_value_free done [12:42:12]process_json_proto returns [12:42:12]Send response to host [12:42:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22192,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [12:42:12]free response buf [12:42:12]execute_script done [12:42:12]execute_script returns [12:42:12]free content buf [12:42:12]Sock 9.Close socket [12:42:12]Sock 9.Thread stoped [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:26]OFD Sender: No OFD packet to send [12:45:31]OFD Sender: No OFD packet to send [12:45:36]OFD Sender: No OFD packet to send [12:45:41]OFD Sender: No OFD packet to send [12:45:46]OFD Sender: No OFD packet to send [12:45:51]OFD Sender: No OFD packet to send [12:45:56]OFD Sender: No OFD packet to send [12:46:01]OFD Sender: No OFD packet to send [12:46:06]OFD Sender: No OFD packet to send [12:46:11]OFD Sender: No OFD packet to send [12:46:16]OFD Sender: No OFD packet to send [12:46:21]OFD Sender: No OFD packet to send [12:46:26]OFD Sender: No OFD packet to send [12:46:31]OFD Sender: No OFD packet to send [12:46:36]OFD Sender: No OFD packet to send [12:46:41]OFD Sender: No OFD packet to send [12:46:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]OFD Sender: No OFD packet to send [12:47:36]OFD Sender: No OFD packet to send [12:47:41]OFD Sender: No OFD packet to send [12:47:46]OFD Sender: No OFD packet to send [12:47:51]OFD Sender: No OFD packet to send [12:47:56]OFD Sender: No OFD packet to send [12:48:01]OFD Sender: No OFD packet to send [12:48:06]OFD Sender: No OFD packet to send [12:48:11]OFD Sender: No OFD packet to send [12:48:16]OFD Sender: No OFD packet to send [12:48:21]OFD Sender: No OFD packet to send [12:48:26]OFD Sender: No OFD packet to send [12:48:31]OFD Sender: No OFD packet to send [12:48:36]OFD Sender: No OFD packet to send [12:48:41]OFD Sender: No OFD packet to send [12:48:46]OFD Sender: No OFD packet to send [12:48:51]OFD Sender: No OFD packet to send [12:48:56]OFD Sender: No OFD packet to send [12:49:01]OFD Sender: No OFD packet to send [12:49:06]OFD Sender: No OFD packet to send [12:49:11]OFD Sender: No OFD packet to send [12:49:16]OFD Sender: No OFD packet to send [12:49:21]OFD Sender: No OFD packet to send [12:49:26]OFD Sender: No OFD packet to send [12:49:31]OFD Sender: No OFD packet to send [12:49:36]OFD Sender: No OFD packet to send [12:49:41]OFD Sender: No OFD packet to send [12:49:46]OFD Sender: No OFD packet to send [12:49:51]OFD Sender: No OFD packet to send [12:49:56]OFD Sender: No OFD packet to send [12:50:01]OFD Sender: No OFD packet to send [12:50:06]OFD Sender: No OFD packet to send [12:50:11]OFD Sender: No OFD packet to send [12:50:16]OFD Sender: No OFD packet to send [12:50:21]OFD Sender: No OFD packet to send [12:50:26]OFD Sender: No OFD packet to send [12:50:31]OFD Sender: No OFD packet to send [12:50:36]OFD Sender: No OFD packet to send [12:50:41]OFD Sender: No OFD packet to send [12:50:46]OFD Sender: No OFD packet to send [12:50:51]OFD Sender: No OFD packet to send [12:50:56]OFD Sender: No OFD packet to send [12:51:01]OFD Sender: No OFD packet to send [12:51:06]OFD Sender: No OFD packet to send [12:51:11]OFD Sender: No OFD packet to send [12:51:16]OFD Sender: No OFD packet to send [12:51:21]OFD Sender: No OFD packet to send [12:51:26]OFD Sender: No OFD packet to send [12:51:31]OFD Sender: No OFD packet to send [12:51:36]OFD Sender: No OFD packet to send [12:51:41]OFD Sender: No OFD packet to send [12:51:46]OFD Sender: No OFD packet to send [12:51:51]OFD Sender: No OFD packet to send [12:51:56]OFD Sender: No OFD packet to send [12:52:01]OFD Sender: No OFD packet to send [12:52:06]OFD Sender: No OFD packet to send [12:52:11]OFD Sender: No OFD packet to send [12:52:16]OFD Sender: No OFD packet to send [12:52:21]OFD Sender: No OFD packet to send [12:52:26]OFD Sender: No OFD packet to send [12:52:31]OFD Sender: No OFD packet to send [12:52:36]OFD Sender: No OFD packet to send [12:52:41]OFD Sender: No OFD packet to send [12:52:46]OFD Sender: No OFD packet to send [12:52:51]OFD Sender: No OFD packet to send [12:52:55]accept exits with 8 [12:52:55]New connection [12:52:55]New thread 3066695012 created [12:52:55]Thread 3066838372 joined [12:52:55]Waiting for new connection... [12:52:55] Sock 8.Parse request [12:52:55]Sock 8.Check first char [12:52:55]Sock 8.First char is OK [12:52:55]request: POST /json_proto HTTP/1.0 [12:52:55]Method: POST [12:52:55]URL: /json_proto [12:52:55]Method is POST - this is cgi request [12:52:55]url: /json_proto [12:52:55]query_string will be loaded in cgi processing [12:52:55]execute_cgi json_proto POST (null) [12:52:55]execute_cgi path=json_proto method=POST [12:52:55]POST find Content-Length [12:52:55]Host: 172.17.35.133:8080 [12:52:55]Content-Length: 695 [12:52:55]Content-Type: application/json [12:52:55] [12:52:55]POST finish read [12:52:55]Found Content-Length = 695 [12:52:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254409", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:52:55]execute_script... [12:52:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254409", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:52:55]POST & json_proto [12:52:55]process_json_proto [12:52:55]json parsed OK: [12:52:55]protocol is kg_v1.0 [12:52:55]action value=close_receipt [12:52:55]process_action close_receipt [12:52:55]cmd_close_receipt [12:52:55]MH_GetDate [12:52:55]Write to MH i2c: F0 00 00 EE 0A E7 [12:52:55]Write i2c OK [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: F0 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: F0 09 00 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: F0 09 00 EE 0A 00 AA 8E 6D 66 8C 55 28 65 69 [12:52:55]GetLastDocTimeStamp 1718455331 [12:52:55]current date 1718455978 [12:52:55]FM_GetShiftState [12:52:55]SAM_PROTO_GetShiftState [12:52:55]wFMCommunicate request_size=4 [12:52:55]MH_SAM_APDU [12:52:55]CAPDU: 80 13 01 00 [12:52:55]Write to MH i2c: E2 08 00 EF 0A 80 13 01 00 00 00 00 00 76 [12:52:55]Write i2c OK [12:52:55]MH_I2C_Read... [12:52:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:52:55]Read from MH i2c: E2 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 0E 00 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 0E 00 EF 0A 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 4A [12:52:55]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [12:52:55]wFMCommunicate OK [12:52:55]SAM_PROTO_GetShiftState done [12:52:55]FM_GetShiftState done [12:52:55]opened in 1718410776 [12:52:55]opened+sec_in_day 1718497176 [12:52:55]quantity*price = 9500 [12:52:55]sum+1 = 9501 [12:52:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 38 15.06.2024 12:52 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22193 ФПД: 63433873448989 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T125258&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22193&fm=63433873448989&tin=02508201610067®Number=0000000000099755&sum=9500 0 [12:52:56]StoreToDocumentArchive [12:52:56]shift 326 fd 22193 [12:52:56]save to /storage/0326/doc_00022193 [12:52:56]save last doc name /storage/0326/doc_00022193 to /storage/kkm_last_doc_name [12:52:56]save OK [12:52:56]Clear old archive folders... [12:52:56]ProcessDocumentItem done err = 0, tmpTLVsize=302 [12:52:56]tlvbuf is 001AB830 [12:52:56]SAM_PROTO_ClearQueue [12:52:56]wFMCommunicate request_size=4 [12:52:56]MH_SAM_APDU [12:52:56]CAPDU: 80 09 00 00 [12:52:56]Write to MH i2c: E2 08 00 FC 0A 80 09 00 00 00 00 00 00 78 [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 03 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 03 00 FC 0A 00 90 00 7A [12:52:56]RAPDU: 90 00 [12:52:56]wFMCommunicate OK [12:52:56]SAM_PROTO_ClearQueue done [12:52:56]KKMCreateOFDPacket [12:52:56]OFDProtocolAddRootSTLVToBuf [12:52:56]FM_MakeSignedData [12:52:56]FM_MakeSignedData [12:52:56]SAM_PROTO_SignData [12:52:56]wFMCommunicate request_size=4 [12:52:56]MH_SAM_APDU [12:52:56]CAPDU: 80 0D 01 02 [12:52:56]Write to MH i2c: E2 08 00 FD 0A 80 0D 01 02 00 00 00 00 80 [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 03 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 03 00 FD 0A 00 90 00 7B [12:52:56]RAPDU: 90 00 [12:52:56]wFMCommunicate OK [12:52:56]wFMCommunicate request_size=255 [12:52:56]MH_SAM_APDU [12:52:56]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 AA 8E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 [12:52:56]Write to MH i2c: E2 02 01 FE 0A 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 AA 8E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 00 00 D7 [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]OFD Sender: No OFD packet to send [12:52:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 03 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 03 00 FE 0A 00 90 00 7C [12:52:56]RAPDU: 90 00 [12:52:56]wFMCommunicate OK [12:52:56]wFMCommunicate request_size=61 [12:52:56]MH_SAM_APDU [12:52:56]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B1 56 00 00 35 04 06 00 39 B1 59 7E 60 1D [12:52:56]Write to MH i2c: E2 40 00 FF 0A 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B1 56 00 00 35 04 06 00 39 B1 59 7E 60 1D 00 00 06 [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 03 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 03 00 FF 0A 00 90 00 7D [12:52:56]RAPDU: 90 00 [12:52:56]wFMCommunicate OK [12:52:56]wFMCommunicate request_size=4 [12:52:56]MH_SAM_APDU [12:52:56]CAPDU: 80 0D 03 02 [12:52:56]Write to MH i2c: E2 08 00 00 0B 80 0D 03 02 00 00 00 00 86 [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 0B 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 0B 00 00 0B 00 11 EE FC 69 62 33 EC EC 90 00 58 [12:52:56]RAPDU: 11 EE FC 69 62 33 EC EC 90 00 [12:52:56]wFMCommunicate OK [12:52:56]SAM_PROTO_SignData done [12:52:56]FM_MakeSignedData done [12:52:56]CreateOFDProtocolMessage [12:52:56]wFMCommunicate request_size=4 [12:52:56]MH_SAM_APDU [12:52:56]CAPDU: 80 11 00 00 [12:52:56]Write to MH i2c: E2 08 00 01 0B 80 11 00 00 00 00 00 00 86 [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 17 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 17 00 01 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D8 [12:52:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:52:56]wFMCommunicate OK [12:52:56]CreateOFDProtocolMessage done [12:52:56]OFDSenderStorePacket 22193 [12:52:56]StoreOFDPacket docnum=22193 [12:52:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 32 E0 3A 01 23 A4 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 AA 8E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B1 56 00 00 35 04 06 00 39 B1 59 7E 60 1D 11 EE FC 69 62 33 EC EC [12:52:56]CheckFolder [12:52:56]dirname=/storage/ofd_packets [12:52:56]CheckFolder done [12:52:56]ProducePacketName [12:52:56]name=ofd_packets/00022193 [12:52:56]NVStorageSaveData ofd_packets/00022193 [12:52:56]File name is /storage/ofd_packets/00022193 [12:52:56]Write 352 bytes [12:52:56]NVStorageSaveData done [12:52:56]OFDSenderStorePacket done [12:52:56]KKMCreateOFDPacket done [12:52:56]NVStorageSaveData kkm_last_timestamp [12:52:56]File name is /storage/kkm_last_timestamp [12:52:56]Write 4 bytes [12:52:56]NVStorageSaveData done [12:52:56]ExternCall_PrintAddStr [12:52:56]wPrintStart [12:52:56]Write to MH i2c: 01 00 00 02 0B 0D [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: 01 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: 01 07 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: 01 07 00 02 0B 00 00 00 00 00 FF 0F 22 [12:52:56]RasterBufferAndPrint [12:52:56]line Счет N : (3)254409 [12:52:56]line ИНН: 02508201610067 [12:52:56]line Контрольно-Кассовый Чек [12:52:56]line ПРОДАЖА [12:52:56]line Товар: 4631162227163 [12:52:56]line Напиток газированный Mojito LEMON LIME ж [12:52:56]line 1.000 * 95.00 [12:52:56]line = 95.00 [12:52:56]line НДС 12% НСП 1% [12:52:56]line > о реализуемом товаре [12:52:56]line ИТОГО: 95.00 [12:52:56]line НСП 1% : 0.84 [12:52:56]line НДС 12% : 10.09 [12:52:56]line Наличными: 95.00 [12:52:56]line Безнал.: 0.00 [12:52:56]line Место: АЗС № 76 "Партнер Нефть" [12:52:56]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:52:56]line СНО: Общий режим [12:52:57]line Чек 38 15.06.2024 12:52 [12:52:57]line Смена: 326 ФФД: 1.0 [12:52:57]line ЗНМ: 0300000200 [12:52:57]line РНМ: 0000000000099755 [12:52:57]line Версия ККМ: 001 [12:52:57]line ФМ: 0000000000965344 [12:52:57]line ФД: 22193 [12:52:57]line ФПД: 63433873448989 [12:52:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T125258&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22193&fm=63433873448989&tin=02508201610067®Number=0000000000099755&sum=9500 [12:52:57]line 0 [12:52:57]OFD Sender: Processing packet 22193 [packets to send 5, broken 4] [12:52:57]ProducePacketName [12:52:57]name=ofd_packets/00022193 [12:52:57]OFD Sender: To server: pG, [12:52:57]CommunicateWithHost lk.salyk.kg:30040 [12:52:57]ConnectInit lk.salyk.kg [12:52:57]written 0, free lines is 4095 [12:52:57]Connected sock=10 [12:52:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 32 E0 3A 01 23 A4 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 AA 8E 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B1 56 00 00 35 04 06 00 39 B1 59 7E 60 1D 11 EE FC 69 62 33 EC EC [12:52:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B4 BE 47 00 E2 B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B1 56 00 00 F4 03 04 00 67 37 6D 66 B6 04 01 00 00 A2 82 21 30 C5 E4 80 13 [12:52:57]CommunicateWithHost err = 0 [12:52:57]CheckOFDResponse [12:52:57]1017 (14) - 77093643461234 [12:52:57]1041 (16) - 0000000000965344 [12:52:57]1040 (4) - 22193 [12:52:57]1012 (4) - 15.06.2024 06:40 [12:52:57]1206 (1) - 0 [12:52:57]OFD Sender: Remove packet 22193 [12:52:57]ProducePacketName [12:52:57]name=ofd_packets/00022193 [12:52:57]NVStorageDeleteData [12:52:57]Write to MH i2c: 01 00 00 2B 0B 36 [12:52:57]Write i2c OK [12:52:57]MH_I2C_Read... [12:52:57]Read from MH i2c: 01 [12:52:57]MH_I2C_Read... [12:52:57]Read from MH i2c: 01 07 00 [12:52:57]MH_I2C_Read... [12:52:57]Read from MH i2c: 01 07 00 2B 0B 00 00 00 00 00 07 0D 51 [12:52:57]RasterBufferAndPrint [12:52:57]line [12:52:57]line [12:52:57]line [12:52:57]line [12:52:57]line [12:52:57]written 0, free lines is 3341 [12:52:57]MH_Cut [12:52:57]Write to MH i2c: D1 01 00 32 0B 01 0F [12:52:57]Write i2c OK [12:52:57]MH_I2C_Read... [12:52:57]Read from MH i2c: D1 [12:52:57]MH_I2C_Read... [12:52:57]Read from MH i2c: D1 01 00 [12:52:57]MH_I2C_Read... [12:52:57]Read from MH i2c: D1 01 00 32 0B 00 0E [12:52:57]Write to MH i2c: 01 00 00 33 0B 3E [12:52:57]Write i2c OK [12:52:57]MH_I2C_Read... [12:52:58]OFD Sender: No OFD packet to send [12:52:58]*** Cut start [12:52:58]*** Partial cut [12:52:58]*** CUTSNS_PIN = 1 [12:52:58]*** CUTSNS_PIN = 0 [12:52:58]*** Brake cut motor [12:52:59]Read from MH i2c: 01 [12:52:59]MH_I2C_Read... [12:52:59]*** Stop cut motor [12:52:59]*** Cut end [12:52:59]Read from MH i2c: 01 07 00 [12:52:59]MH_I2C_Read... [12:52:59]Read from MH i2c: 01 07 00 33 0B 00 00 00 00 00 FF 0F 53 [12:52:59]process_action close_receipt done [12:52:59]requested_data is exist [12:52:59]produce_requested_data [12:52:59]requested_item fm.sn is exist - process it [12:52:59]wFMCommunicate request_size=4 [12:52:59]MH_SAM_APDU [12:52:59]CAPDU: 80 11 00 00 [12:52:59]Write to MH i2c: E2 08 00 34 0B 80 11 00 00 00 00 00 00 B9 [12:52:59]Write i2c OK [12:52:59]MH_I2C_Read... [12:52:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:52:59]Read from MH i2c: E2 [12:52:59]MH_I2C_Read... [12:52:59]Read from MH i2c: E2 17 00 [12:52:59]MH_I2C_Read... [12:52:59]Read from MH i2c: E2 17 00 34 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 0B [12:52:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:52:59]wFMCommunicate OK [12:52:59]requested_item fd.num is exist - process it [12:52:59]SAM_PROTO_GetFieldsCounters [12:52:59]wFMCommunicate request_size=4 [12:52:59]MH_SAM_APDU [12:52:59]CAPDU: 80 13 00 00 [12:52:59]Write to MH i2c: E2 08 00 35 0B 80 13 00 00 00 00 00 00 BC [12:52:59]Write i2c OK [12:52:59]MH_I2C_Read... [12:52:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:52:59]Read from MH i2c: E2 [12:52:59]MH_I2C_Read... [12:52:59]Read from MH i2c: E2 62 00 [12:52:59]MH_I2C_Read... [12:52:59]Read from MH i2c: E2 62 00 35 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B1 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [12:52:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B1 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:52:59]wFMCommunicate OK [12:52:59]SAM_PROTO_GetFieldsCounters done [12:52:59]requested_item shift.num is exist - process it [12:52:59]requested_item shift.opened is exist - process it [12:52:59]req_shift_opened [12:52:59]FM_GetShiftState [12:52:59]SAM_PROTO_GetShiftState [12:52:59]wFMCommunicate request_size=4 [12:52:59]MH_SAM_APDU [12:52:59]CAPDU: 80 13 01 00 [12:52:59]Write to MH i2c: E2 08 00 36 0B 80 13 01 00 00 00 00 00 BE [12:52:59]Write i2c OK [12:52:59]MH_I2C_Read... [12:52:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:52:59]Read from MH i2c: E2 [12:52:59]MH_I2C_Read... [12:52:59]Read from MH i2c: E2 0E 00 [12:52:59]MH_I2C_Read... [12:52:59]Read from MH i2c: E2 0E 00 36 0B 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 92 [12:52:59]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [12:52:59]wFMCommunicate OK [12:52:59]SAM_PROTO_GetShiftState done [12:52:59]FM_GetShiftState done [12:52:59]req_shift_opened done [12:52:59]requested_item shift.open_date is exist - process it [12:52:59]req_shift_open_date [12:52:59]req_shift_open_date done [12:52:59]produce_requested_data done [12:52:59]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22193,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [12:52:59]process_action_free close_receipt [12:52:59]json_value_free [12:52:59]json_value_free done [12:52:59]process_json_proto returns [12:52:59]Send response to host [12:52:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22193,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [12:52:59]free response buf [12:52:59]execute_script done [12:52:59]execute_script returns [12:52:59]free content buf [12:52:59]Sock 8.Close socket [12:52:59]Sock 8.Thread stoped [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:29]accept exits with 9 [12:55:29]New connection [12:55:29]New thread 3066838372 created [12:55:29]Thread 3066695012 joined [12:55:29]Waiting for new connection... [12:55:29] Sock 9.Parse request [12:55:29]Sock 9.Check first char [12:55:29]Sock 9.First char is OK [12:55:29]request: POST /json_proto HTTP/1.0 [12:55:29]Method: POST [12:55:29]URL: /json_proto [12:55:29]Method is POST - this is cgi request [12:55:29]url: /json_proto [12:55:29]query_string will be loaded in cgi processing [12:55:29]execute_cgi json_proto POST (null) [12:55:29]execute_cgi path=json_proto method=POST [12:55:29]POST find Content-Length [12:55:29]Host: 172.17.35.133:8080 [12:55:29]Content-Length: 662 [12:55:29]Content-Type: application/json [12:55:29] [12:55:29]POST finish read [12:55:29]Found Content-Length = 662 [12:55:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254410", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:55:29]execute_script... [12:55:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254410", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:55:29]POST & json_proto [12:55:29]process_json_proto [12:55:29]json parsed OK: [12:55:29]protocol is kg_v1.0 [12:55:29]action value=close_receipt [12:55:29]process_action close_receipt [12:55:29]cmd_close_receipt [12:55:29]MH_GetDate [12:55:29]Write to MH i2c: F0 00 00 37 0B 31 [12:55:29]Write i2c OK [12:55:29]MH_I2C_Read... [12:55:29]Read from MH i2c: F0 [12:55:29]MH_I2C_Read... [12:55:29]Read from MH i2c: F0 09 00 [12:55:29]MH_I2C_Read... [12:55:29]Read from MH i2c: F0 09 00 37 0B 00 44 8F 6D 66 8C 55 28 65 4E [12:55:29]GetLastDocTimeStamp 1718455978 [12:55:29]current date 1718456132 [12:55:29]FM_GetShiftState [12:55:29]SAM_PROTO_GetShiftState [12:55:29]wFMCommunicate request_size=4 [12:55:29]MH_SAM_APDU [12:55:29]CAPDU: 80 13 01 00 [12:55:29]Write to MH i2c: E2 08 00 38 0B 80 13 01 00 00 00 00 00 C0 [12:55:29]Write i2c OK [12:55:29]MH_I2C_Read... [12:55:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:29]Read from MH i2c: E2 [12:55:29]MH_I2C_Read... [12:55:29]Read from MH i2c: E2 0E 00 [12:55:29]MH_I2C_Read... [12:55:29]Read from MH i2c: E2 0E 00 38 0B 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 94 [12:55:29]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [12:55:29]wFMCommunicate OK [12:55:29]SAM_PROTO_GetShiftState done [12:55:29]FM_GetShiftState done [12:55:29]opened in 1718410776 [12:55:29]opened+sec_in_day 1718497176 [12:55:29]quantity*price = 9500 [12:55:29]sum+1 = 9501 [12:55:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 39 15.06.2024 12:55 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22194 ФПД: 172074226205969 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T125532&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22194&fm=172074226205969&tin=02508201610067®Number=0000000000099755&sum=9500 0 [12:55:30]StoreToDocumentArchive [12:55:30]shift 326 fd 22194 [12:55:30]save to /storage/0326/doc_00022194 [12:55:30]save last doc name /storage/0326/doc_00022194 to /storage/kkm_last_doc_name [12:55:30]save OK [12:55:30]Clear old archive folders... [12:55:30]ProcessDocumentItem done err = 0, tmpTLVsize=289 [12:55:30]tlvbuf is 001DF2F0 [12:55:30]SAM_PROTO_ClearQueue [12:55:30]wFMCommunicate request_size=4 [12:55:30]MH_SAM_APDU [12:55:30]CAPDU: 80 09 00 00 [12:55:30]Write to MH i2c: E2 08 00 45 0B 80 09 00 00 00 00 00 00 C2 [12:55:30]Write i2c OK [12:55:30]MH_I2C_Read... [12:55:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:55:30]Read from MH i2c: E2 [12:55:30]MH_I2C_Read... [12:55:30]Read from MH i2c: E2 03 00 [12:55:30]MH_I2C_Read... [12:55:30]Read from MH i2c: E2 03 00 45 0B 00 90 00 C4 [12:55:30]RAPDU: 90 00 [12:55:30]wFMCommunicate OK [12:55:30]SAM_PROTO_ClearQueue done [12:55:30]KKMCreateOFDPacket [12:55:30]OFDProtocolAddRootSTLVToBuf [12:55:30]FM_MakeSignedData [12:55:30]FM_MakeSignedData [12:55:30]SAM_PROTO_SignData [12:55:30]wFMCommunicate request_size=4 [12:55:30]MH_SAM_APDU [12:55:30]CAPDU: 80 0D 01 02 [12:55:30]Write to MH i2c: E2 08 00 46 0B 80 0D 01 02 00 00 00 00 CA [12:55:30]Write i2c OK [12:55:30]MH_I2C_Read... [12:55:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:55:30]Read from MH i2c: E2 [12:55:30]MH_I2C_Read... [12:55:30]Read from MH i2c: E2 03 00 [12:55:30]MH_I2C_Read... [12:55:30]Read from MH i2c: E2 03 00 46 0B 00 90 00 C5 [12:55:30]RAPDU: 90 00 [12:55:30]wFMCommunicate OK [12:55:30]wFMCommunicate request_size=255 [12:55:30]MH_SAM_APDU [12:55:30]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 44 8F 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [12:55:30]Write to MH i2c: E2 02 01 47 0B 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 44 8F 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 00 00 4E [12:55:30]Write i2c OK [12:55:30]MH_I2C_Read... [12:55:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:30]Read from MH i2c: E2 [12:55:30]MH_I2C_Read... [12:55:30]Read from MH i2c: E2 03 00 [12:55:30]MH_I2C_Read... [12:55:30]Read from MH i2c: E2 03 00 47 0B 00 90 00 C6 [12:55:30]RAPDU: 90 00 [12:55:30]wFMCommunicate OK [12:55:30]wFMCommunicate request_size=48 [12:55:30]MH_SAM_APDU [12:55:30]CAPDU: 80 0D 02 02 2B 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B2 56 00 00 35 04 06 00 9C 80 27 20 C5 11 [12:55:30]Write to MH i2c: E2 33 00 48 0B 80 0D 02 02 2B 00 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B2 56 00 00 35 04 06 00 9C 80 27 20 C5 11 00 00 12 [12:55:30]Write i2c OK [12:55:30]MH_I2C_Read... [12:55:30]Read from MH i2c: E2 [12:55:30]MH_I2C_Read... [12:55:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:30]Read from MH i2c: E2 03 00 [12:55:30]MH_I2C_Read... [12:55:30]Read from MH i2c: E2 03 00 48 0B 00 90 00 C7 [12:55:30]RAPDU: 90 00 [12:55:30]wFMCommunicate OK [12:55:30]wFMCommunicate request_size=4 [12:55:30]MH_SAM_APDU [12:55:30]CAPDU: 80 0D 03 02 [12:55:30]Write to MH i2c: E2 08 00 49 0B 80 0D 03 02 00 00 00 00 CF [12:55:30]Write i2c OK [12:55:30]MH_I2C_Read... [12:55:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:55:31]Read from MH i2c: E2 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: E2 0B 00 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: E2 0B 00 49 0B 00 CF 18 26 69 34 4D 5E 10 90 00 35 [12:55:31]RAPDU: CF 18 26 69 34 4D 5E 10 90 00 [12:55:31]wFMCommunicate OK [12:55:31]SAM_PROTO_SignData done [12:55:31]FM_MakeSignedData done [12:55:31]CreateOFDProtocolMessage [12:55:31]wFMCommunicate request_size=4 [12:55:31]MH_SAM_APDU [12:55:31]CAPDU: 80 11 00 00 [12:55:31]Write to MH i2c: E2 08 00 4A 0B 80 11 00 00 00 00 00 00 CF [12:55:31]Write i2c OK [12:55:31]MH_I2C_Read... [12:55:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:31]Read from MH i2c: E2 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: E2 17 00 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: E2 17 00 4A 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 21 [12:55:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:55:31]wFMCommunicate OK [12:55:31]CreateOFDProtocolMessage done [12:55:31]OFDSenderStorePacket 22194 [12:55:31]StoreOFDPacket docnum=22194 [12:55:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 01 00 00 3D 46 2D 01 A8 D2 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 44 8F 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B2 56 00 00 35 04 06 00 9C 80 27 20 C5 11 CF 18 26 69 34 4D 5E 10 [12:55:31]CheckFolder [12:55:31]dirname=/storage/ofd_packets [12:55:31]CheckFolder done [12:55:31]ProducePacketName [12:55:31]name=ofd_packets/00022194 [12:55:31]NVStorageSaveData ofd_packets/00022194 [12:55:31]File name is /storage/ofd_packets/00022194 [12:55:31]Write 339 bytes [12:55:31]NVStorageSaveData done [12:55:31]OFDSenderStorePacket done [12:55:31]KKMCreateOFDPacket done [12:55:31]NVStorageSaveData kkm_last_timestamp [12:55:31]File name is /storage/kkm_last_timestamp [12:55:31]Write 4 bytes [12:55:31]NVStorageSaveData done [12:55:31]ExternCall_PrintAddStr [12:55:31]wPrintStart [12:55:31]Write to MH i2c: 01 00 00 4B 0B 56 [12:55:31]Write i2c OK [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: 01 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: 01 07 00 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: 01 07 00 4B 0B 00 00 00 00 00 FF 0F 6B [12:55:31]RasterBufferAndPrint [12:55:31]line Счет N : (3)254410 [12:55:31]line ИНН: 02508201610067 [12:55:31]line Контрольно-Кассовый Чек [12:55:31]line ПРОДАЖА [12:55:31]line Товар: 5449000176431 [12:55:31]line Сок Piko Pulpy апельсин ПЭТ 0,5л [12:55:31]line 1.000 * 95.00 [12:55:31]line = 95.00 [12:55:31]line НДС 12% НСП 1% [12:55:31]line > о реализуемом товаре [12:55:31]line ИТОГО: 95.00 [12:55:31]line НСП 1% : 0.84 [12:55:31]line НДС 12% : 10.09 [12:55:31]line Наличными: 95.00 [12:55:31]line Безнал.: 0.00 [12:55:31]line Место: АЗС № 76 "Партнер Нефть" [12:55:31]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:55:31]line СНО: Общий режим [12:55:31]line Чек 39 15.06.2024 12:55 [12:55:31]line Смена: 326 ФФД: 1.0 [12:55:31]line ЗНМ: 0300000200 [12:55:31]line РНМ: 0000000000099755 [12:55:31]line Версия ККМ: 001 [12:55:31]line ФМ: 0000000000965344 [12:55:31]line ФД: 22194 [12:55:31]line ФПД: 172074226205969 [12:55:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T125532&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22194&fm=172074226205969&tin=02508201610067®Number=0000000000099755&sum=9500 [12:55:31]line 0 [12:55:31]OFD Sender: Processing packet 22194 [packets to send 5, broken 4] [12:55:31]ProducePacketName [12:55:31]name=ofd_packets/00022194 [12:55:31]OFD Sender: To server: pG, [12:55:31]CommunicateWithHost lk.salyk.kg:30040 [12:55:31]ConnectInit lk.salyk.kg [12:55:31]written 0, free lines is 4095 [12:55:31]Connected sock=10 [12:55:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 01 00 00 3D 46 2D 01 A8 D2 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 44 8F 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B2 56 00 00 35 04 06 00 9C 80 27 20 C5 11 CF 18 26 69 34 4D 5E 10 [12:55:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 5A 82 47 00 57 D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B2 56 00 00 F4 03 04 00 01 38 6D 66 B6 04 01 00 00 EC EB 92 18 57 50 ED F8 [12:55:31]CommunicateWithHost err = 0 [12:55:31]CheckOFDResponse [12:55:31]1017 (14) - 77093643461234 [12:55:31]1041 (16) - 0000000000965344 [12:55:31]1040 (4) - 22194 [12:55:31]1012 (4) - 15.06.2024 06:43 [12:55:31]1206 (1) - 0 [12:55:31]OFD Sender: Remove packet 22194 [12:55:31]ProducePacketName [12:55:31]name=ofd_packets/00022194 [12:55:31]NVStorageDeleteData [12:55:31]Write to MH i2c: 01 00 00 74 0B 7F [12:55:31]Write i2c OK [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: 01 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: 01 07 00 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: 01 07 00 74 0B 00 00 00 00 00 10 0D A3 [12:55:31]RasterBufferAndPrint [12:55:31]line [12:55:31]line [12:55:31]line [12:55:31]line [12:55:31]line [12:55:31]written 0, free lines is 3350 [12:55:31]MH_Cut [12:55:31]Write to MH i2c: D1 01 00 7B 0B 01 58 [12:55:31]Write i2c OK [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: D1 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: D1 01 00 [12:55:31]MH_I2C_Read... [12:55:31]Read from MH i2c: D1 01 00 7B 0B 00 57 [12:55:31]Write to MH i2c: 01 00 00 7C 0B 87 [12:55:31]Write i2c OK [12:55:31]MH_I2C_Read... [12:55:32]OFD Sender: No OFD packet to send [12:55:32]*** Cut start [12:55:32]*** Partial cut [12:55:32]*** CUTSNS_PIN = 1 [12:55:32]*** CUTSNS_PIN = 0 [12:55:32]*** Brake cut motor [12:55:33]Read from MH i2c: 01 [12:55:33]MH_I2C_Read... [12:55:33]*** Stop cut motor [12:55:33]*** Cut end [12:55:33]Read from MH i2c: 01 07 00 [12:55:33]MH_I2C_Read... [12:55:33]Read from MH i2c: 01 07 00 7C 0B 00 00 00 00 00 FF 0F 9C [12:55:33]process_action close_receipt done [12:55:33]requested_data is exist [12:55:33]produce_requested_data [12:55:33]requested_item fm.sn is exist - process it [12:55:33]wFMCommunicate request_size=4 [12:55:33]MH_SAM_APDU [12:55:33]CAPDU: 80 11 00 00 [12:55:33]Write to MH i2c: E2 08 00 7D 0B 80 11 00 00 00 00 00 00 02 [12:55:33]Write i2c OK [12:55:33]MH_I2C_Read... [12:55:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:33]Read from MH i2c: E2 [12:55:33]MH_I2C_Read... [12:55:33]Read from MH i2c: E2 17 00 [12:55:33]MH_I2C_Read... [12:55:33]Read from MH i2c: E2 17 00 7D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 54 [12:55:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:55:33]wFMCommunicate OK [12:55:33]requested_item fd.num is exist - process it [12:55:33]SAM_PROTO_GetFieldsCounters [12:55:33]wFMCommunicate request_size=4 [12:55:33]MH_SAM_APDU [12:55:33]CAPDU: 80 13 00 00 [12:55:33]Write to MH i2c: E2 08 00 7E 0B 80 13 00 00 00 00 00 00 05 [12:55:33]Write i2c OK [12:55:33]MH_I2C_Read... [12:55:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:55:33]Read from MH i2c: E2 [12:55:33]MH_I2C_Read... [12:55:33]Read from MH i2c: E2 62 00 [12:55:33]MH_I2C_Read... [12:55:33]Read from MH i2c: E2 62 00 7E 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B2 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [12:55:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B2 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:55:33]wFMCommunicate OK [12:55:33]SAM_PROTO_GetFieldsCounters done [12:55:33]requested_item shift.num is exist - process it [12:55:33]requested_item shift.opened is exist - process it [12:55:33]req_shift_opened [12:55:33]FM_GetShiftState [12:55:33]SAM_PROTO_GetShiftState [12:55:33]wFMCommunicate request_size=4 [12:55:33]MH_SAM_APDU [12:55:33]CAPDU: 80 13 01 00 [12:55:33]Write to MH i2c: E2 08 00 7F 0B 80 13 01 00 00 00 00 00 07 [12:55:33]Write i2c OK [12:55:33]MH_I2C_Read... [12:55:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:33]Read from MH i2c: E2 [12:55:33]MH_I2C_Read... [12:55:33]Read from MH i2c: E2 0E 00 [12:55:33]MH_I2C_Read... [12:55:33]Read from MH i2c: E2 0E 00 7F 0B 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 DB [12:55:33]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [12:55:33]wFMCommunicate OK [12:55:33]SAM_PROTO_GetShiftState done [12:55:33]FM_GetShiftState done [12:55:33]req_shift_opened done [12:55:33]requested_item shift.open_date is exist - process it [12:55:33]req_shift_open_date [12:55:33]req_shift_open_date done [12:55:33]produce_requested_data done [12:55:33]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22194,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [12:55:33]process_action_free close_receipt [12:55:33]json_value_free [12:55:33]json_value_free done [12:55:33]process_json_proto returns [12:55:33]Send response to host [12:55:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22194,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [12:55:33]free response buf [12:55:33]execute_script done [12:55:33]execute_script returns [12:55:33]free content buf [12:55:33]Sock 9.Close socket [12:55:33]Sock 9.Thread stoped [12:55:37]OFD Sender: No OFD packet to send [12:55:42]OFD Sender: No OFD packet to send [12:55:47]OFD Sender: No OFD packet to send [12:55:52]OFD Sender: No OFD packet to send [12:55:57]OFD Sender: No OFD packet to send [12:56:02]OFD Sender: No OFD packet to send [12:56:07]OFD Sender: No OFD packet to send [12:56:12]OFD Sender: No OFD packet to send [12:56:17]OFD Sender: No OFD packet to send [12:56:22]OFD Sender: No OFD packet to send [12:56:27]OFD Sender: No OFD packet to send [12:56:32]OFD Sender: No OFD packet to send [12:56:37]OFD Sender: No OFD packet to send [12:56:42]OFD Sender: No OFD packet to send [12:56:47]OFD Sender: No OFD packet to send [12:56:52]OFD Sender: No OFD packet to send [12:56:57]OFD Sender: No OFD packet to send [12:57:02]OFD Sender: No OFD packet to send [12:57:07]OFD Sender: No OFD packet to send [12:57:12]OFD Sender: No OFD packet to send [12:57:17]OFD Sender: No OFD packet to send [12:57:22]OFD Sender: No OFD packet to send [12:57:27]OFD Sender: No OFD packet to send [12:57:32]OFD Sender: No OFD packet to send [12:57:37]OFD Sender: No OFD packet to send [12:57:42]OFD Sender: No OFD packet to send [12:57:47]OFD Sender: No OFD packet to send [12:57:52]OFD Sender: No OFD packet to send [12:57:57]OFD Sender: No OFD packet to send [12:58:02]OFD Sender: No OFD packet to send [12:58:07]OFD Sender: No OFD packet to send [12:58:12]OFD Sender: No OFD packet to send [12:58:17]OFD Sender: No OFD packet to send [12:58:22]OFD Sender: No OFD packet to send [12:58:27]OFD Sender: No OFD packet to send [12:58:32]OFD Sender: No OFD packet to send [12:58:37]OFD Sender: No OFD packet to send [12:58:42]OFD Sender: No OFD packet to send [12:58:47]OFD Sender: No OFD packet to send [12:58:52]OFD Sender: No OFD packet to send [12:58:57]OFD Sender: No OFD packet to send [12:59:02]OFD Sender: No OFD packet to send [12:59:07]OFD Sender: No OFD packet to send [12:59:12]OFD Sender: No OFD packet to send [12:59:17]OFD Sender: No OFD packet to send [12:59:22]OFD Sender: No OFD packet to send [12:59:27]OFD Sender: No OFD packet to send [12:59:32]OFD Sender: No OFD packet to send [12:59:37]OFD Sender: No OFD packet to send [12:59:42]OFD Sender: No OFD packet to send [12:59:47]OFD Sender: No OFD packet to send [12:59:52]OFD Sender: No OFD packet to send [12:59:57]OFD Sender: No OFD packet to send [13:00:02]OFD Sender: No OFD packet to send [13:00:07]OFD Sender: No OFD packet to send [13:00:12]OFD Sender: No OFD packet to send [13:00:17]OFD Sender: No OFD packet to send [13:00:22]OFD Sender: No OFD packet to send [13:00:27]OFD Sender: No OFD packet to send [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:12]OFD Sender: No OFD packet to send [13:01:17]OFD Sender: No OFD packet to send [13:01:22]OFD Sender: No OFD packet to send [13:01:27]OFD Sender: No OFD packet to send [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:22]OFD Sender: No OFD packet to send [13:02:27]OFD Sender: No OFD packet to send [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:07]OFD Sender: No OFD packet to send [13:03:12]OFD Sender: No OFD packet to send [13:03:17]OFD Sender: No OFD packet to send [13:03:22]OFD Sender: No OFD packet to send [13:03:27]OFD Sender: No OFD packet to send [13:03:32]OFD Sender: No OFD packet to send [13:03:37]OFD Sender: No OFD packet to send [13:03:42]OFD Sender: No OFD packet to send [13:03:47]OFD Sender: No OFD packet to send [13:03:52]OFD Sender: No OFD packet to send [13:03:57]OFD Sender: No OFD packet to send [13:04:02]OFD Sender: No OFD packet to send [13:04:07]OFD Sender: No OFD packet to send [13:04:12]OFD Sender: No OFD packet to send [13:04:17]OFD Sender: No OFD packet to send [13:04:22]OFD Sender: No OFD packet to send [13:04:27]OFD Sender: No OFD packet to send [13:04:32]OFD Sender: No OFD packet to send [13:04:37]OFD Sender: No OFD packet to send [13:04:42]OFD Sender: No OFD packet to send [13:04:47]OFD Sender: No OFD packet to send [13:04:52]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:27]OFD Sender: No OFD packet to send [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:02]OFD Sender: No OFD packet to send [13:10:07]OFD Sender: No OFD packet to send [13:10:12]OFD Sender: No OFD packet to send [13:10:17]OFD Sender: No OFD packet to send [13:10:22]OFD Sender: No OFD packet to send [13:10:27]OFD Sender: No OFD packet to send [13:10:32]OFD Sender: No OFD packet to send [13:10:37]OFD Sender: No OFD packet to send [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]OFD Sender: No OFD packet to send [13:11:17]OFD Sender: No OFD packet to send [13:11:22]OFD Sender: No OFD packet to send [13:11:27]OFD Sender: No OFD packet to send [13:11:32]OFD Sender: No OFD packet to send [13:11:37]OFD Sender: No OFD packet to send [13:11:42]OFD Sender: No OFD packet to send [13:11:47]OFD Sender: No OFD packet to send [13:11:52]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:43]OFD Sender: No OFD packet to send [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:38]OFD Sender: No OFD packet to send [13:15:43]OFD Sender: No OFD packet to send [13:15:48]OFD Sender: No OFD packet to send [13:15:53]OFD Sender: No OFD packet to send [13:15:58]OFD Sender: No OFD packet to send [13:16:03]OFD Sender: No OFD packet to send [13:16:08]OFD Sender: No OFD packet to send [13:16:13]OFD Sender: No OFD packet to send [13:16:18]OFD Sender: No OFD packet to send [13:16:23]OFD Sender: No OFD packet to send [13:16:28]OFD Sender: No OFD packet to send [13:16:33]OFD Sender: No OFD packet to send [13:16:38]OFD Sender: No OFD packet to send [13:16:43]OFD Sender: No OFD packet to send [13:16:48]OFD Sender: No OFD packet to send [13:16:53]OFD Sender: No OFD packet to send [13:16:58]OFD Sender: No OFD packet to send [13:17:03]OFD Sender: No OFD packet to send [13:17:08]OFD Sender: No OFD packet to send [13:17:13]OFD Sender: No OFD packet to send [13:17:18]OFD Sender: No OFD packet to send [13:17:23]OFD Sender: No OFD packet to send [13:17:28]OFD Sender: No OFD packet to send [13:17:33]OFD Sender: No OFD packet to send [13:17:38]OFD Sender: No OFD packet to send [13:17:43]OFD Sender: No OFD packet to send [13:17:48]OFD Sender: No OFD packet to send [13:17:53]OFD Sender: No OFD packet to send [13:17:58]OFD Sender: No OFD packet to send [13:18:03]OFD Sender: No OFD packet to send [13:18:08]OFD Sender: No OFD packet to send [13:18:13]OFD Sender: No OFD packet to send [13:18:18]OFD Sender: No OFD packet to send [13:18:23]OFD Sender: No OFD packet to send [13:18:28]OFD Sender: No OFD packet to send [13:18:33]OFD Sender: No OFD packet to send [13:18:38]OFD Sender: No OFD packet to send [13:18:43]OFD Sender: No OFD packet to send [13:18:48]OFD Sender: No OFD packet to send [13:18:53]OFD Sender: No OFD packet to send [13:18:58]OFD Sender: No OFD packet to send [13:19:03]OFD Sender: No OFD packet to send [13:19:08]OFD Sender: No OFD packet to send [13:19:13]OFD Sender: No OFD packet to send [13:19:18]OFD Sender: No OFD packet to send [13:19:23]OFD Sender: No OFD packet to send [13:19:28]OFD Sender: No OFD packet to send [13:19:33]OFD Sender: No OFD packet to send [13:19:38]OFD Sender: No OFD packet to send [13:19:43]OFD Sender: No OFD packet to send [13:19:48]OFD Sender: No OFD packet to send [13:19:53]OFD Sender: No OFD packet to send [13:19:58]OFD Sender: No OFD packet to send [13:20:03]OFD Sender: No OFD packet to send [13:20:08]OFD Sender: No OFD packet to send [13:20:13]OFD Sender: No OFD packet to send [13:20:18]OFD Sender: No OFD packet to send [13:20:23]OFD Sender: No OFD packet to send [13:20:28]OFD Sender: No OFD packet to send [13:20:33]OFD Sender: No OFD packet to send [13:20:38]OFD Sender: No OFD packet to send [13:20:43]OFD Sender: No OFD packet to send [13:20:48]OFD Sender: No OFD packet to send [13:20:53]OFD Sender: No OFD packet to send [13:20:58]OFD Sender: No OFD packet to send [13:21:03]OFD Sender: No OFD packet to send [13:21:08]OFD Sender: No OFD packet to send [13:21:13]OFD Sender: No OFD packet to send [13:21:18]OFD Sender: No OFD packet to send [13:21:23]OFD Sender: No OFD packet to send [13:21:28]OFD Sender: No OFD packet to send [13:21:33]OFD Sender: No OFD packet to send [13:21:38]OFD Sender: No OFD packet to send [13:21:43]OFD Sender: No OFD packet to send [13:21:48]OFD Sender: No OFD packet to send [13:21:53]OFD Sender: No OFD packet to send [13:21:58]OFD Sender: No OFD packet to send [13:22:03]OFD Sender: No OFD packet to send [13:22:08]OFD Sender: No OFD packet to send [13:22:13]OFD Sender: No OFD packet to send [13:22:18]OFD Sender: No OFD packet to send [13:22:23]OFD Sender: No OFD packet to send [13:22:28]OFD Sender: No OFD packet to send [13:22:33]OFD Sender: No OFD packet to send [13:22:38]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:31]accept exits with 8 [13:23:31]New connection [13:23:31]New thread 3066695012 created [13:23:31]Thread 3066838372 joined [13:23:31]Waiting for new connection... [13:23:31] Sock 8.Parse request [13:23:31]Sock 8.Check first char [13:23:31]Sock 8.First char is OK [13:23:31]request: POST /json_proto HTTP/1.0 [13:23:31]Method: POST [13:23:31]URL: /json_proto [13:23:31]Method is POST - this is cgi request [13:23:31]url: /json_proto [13:23:31]query_string will be loaded in cgi processing [13:23:31]execute_cgi json_proto POST (null) [13:23:31]execute_cgi path=json_proto method=POST [13:23:31]POST find Content-Length [13:23:31]Host: 172.17.35.133:8080 [13:23:31]Content-Length: 1244 [13:23:31]Content-Type: application/json [13:23:31] [13:23:31]POST finish read [13:23:31]Found Content-Length = 1244 [13:23:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254411", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:31]execute_script... [13:23:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254411", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:31]POST & json_proto [13:23:31]process_json_proto [13:23:31]json parsed OK: [13:23:31]protocol is kg_v1.0 [13:23:31]action value=close_receipt [13:23:31]process_action close_receipt [13:23:31]cmd_close_receipt [13:23:31]MH_GetDate [13:23:31]Write to MH i2c: F0 00 00 80 0B 7A [13:23:31]Write i2c OK [13:23:31]MH_I2C_Read... [13:23:31]Read from MH i2c: F0 [13:23:31]MH_I2C_Read... [13:23:31]Read from MH i2c: F0 09 00 [13:23:31]MH_I2C_Read... [13:23:31]Read from MH i2c: F0 09 00 80 0B 00 D6 95 6D 66 8C 55 28 65 2F [13:23:31]GetLastDocTimeStamp 1718456132 [13:23:31]current date 1718457814 [13:23:31]FM_GetShiftState [13:23:31]SAM_PROTO_GetShiftState [13:23:31]wFMCommunicate request_size=4 [13:23:31]MH_SAM_APDU [13:23:31]CAPDU: 80 13 01 00 [13:23:31]Write to MH i2c: E2 08 00 81 0B 80 13 01 00 00 00 00 00 09 [13:23:31]Write i2c OK [13:23:31]MH_I2C_Read... [13:23:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:31]Read from MH i2c: E2 [13:23:31]MH_I2C_Read... [13:23:31]Read from MH i2c: E2 0E 00 [13:23:31]MH_I2C_Read... [13:23:31]Read from MH i2c: E2 0E 00 81 0B 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 DD [13:23:31]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [13:23:31]wFMCommunicate OK [13:23:31]SAM_PROTO_GetShiftState done [13:23:31]FM_GetShiftState done [13:23:31]opened in 1718410776 [13:23:31]opened+sec_in_day 1718497176 [13:23:31]quantity*price = 4000 [13:23:31]sum+1 = 4001 [13:23:31]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400655 Семечки ДЖИНН 70г синий 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112003956 Шок батончик ALBENI SUPER Альбени Супер 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 185.00 НСП 1% : 1.63 НДС 12% : 19.64 Наличными: 185.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 40 15.06.2024 13:23 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22195 ФПД: 105979910977523 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T132335&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22195&fm=105979910977523&tin=02508201610067®Number=0000000000099755&sum=18500 0 [13:23:32]StoreToDocumentArchive [13:23:32]shift 326 fd 22195 [13:23:32]save to /storage/0326/doc_00022195 [13:23:32]save last doc name /storage/0326/doc_00022195 to /storage/kkm_last_doc_name [13:23:32]save OK [13:23:32]Clear old archive folders... [13:23:32]ProcessDocumentItem done err = 0, tmpTLVsize=518 [13:23:32]tlvbuf is 001FDE20 [13:23:32]SAM_PROTO_ClearQueue [13:23:32]wFMCommunicate request_size=4 [13:23:32]MH_SAM_APDU [13:23:32]CAPDU: 80 09 00 00 [13:23:32]Write to MH i2c: E2 08 00 8E 0B 80 09 00 00 00 00 00 00 0B [13:23:32]Write i2c OK [13:23:32]MH_I2C_Read... [13:23:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:23:32]Read from MH i2c: E2 [13:23:32]MH_I2C_Read... [13:23:32]Read from MH i2c: E2 03 00 [13:23:32]MH_I2C_Read... [13:23:32]Read from MH i2c: E2 03 00 8E 0B 00 90 00 0D [13:23:32]RAPDU: 90 00 [13:23:32]wFMCommunicate OK [13:23:32]SAM_PROTO_ClearQueue done [13:23:32]KKMCreateOFDPacket [13:23:32]OFDProtocolAddRootSTLVToBuf [13:23:32]FM_MakeSignedData [13:23:32]FM_MakeSignedData [13:23:32]SAM_PROTO_SignData [13:23:32]wFMCommunicate request_size=4 [13:23:32]MH_SAM_APDU [13:23:32]CAPDU: 80 0D 01 02 [13:23:32]Write to MH i2c: E2 08 00 8F 0B 80 0D 01 02 00 00 00 00 13 [13:23:32]Write i2c OK [13:23:32]MH_I2C_Read... [13:23:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:23:33]Read from MH i2c: E2 [13:23:33]MH_I2C_Read... [13:23:33]Read from MH i2c: E2 03 00 [13:23:33]MH_I2C_Read... [13:23:33]Read from MH i2c: E2 03 00 8F 0B 00 90 00 0E [13:23:33]RAPDU: 90 00 [13:23:33]wFMCommunicate OK [13:23:33]wFMCommunicate request_size=255 [13:23:33]MH_SAM_APDU [13:23:33]CAPDU: 80 0D 02 02 FA 03 00 06 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 [13:23:33]Write to MH i2c: E2 02 01 90 0B 80 0D 02 02 FA 00 03 00 06 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 00 00 15 [13:23:33]Write i2c OK [13:23:33]MH_I2C_Read... [13:23:33]OFD Sender: No OFD packet to send [13:23:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:33]Read from MH i2c: E2 [13:23:33]MH_I2C_Read... [13:23:33]Read from MH i2c: E2 03 00 [13:23:33]MH_I2C_Read... [13:23:33]Read from MH i2c: E2 03 00 90 0B 00 90 00 0F [13:23:33]RAPDU: 90 00 [13:23:33]wFMCommunicate OK [13:23:33]wFMCommunicate request_size=255 [13:23:33]MH_SAM_APDU [13:23:33]CAPDU: 80 0D 02 02 FA D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D7 95 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [13:23:33]Write to MH i2c: E2 02 01 91 0B 80 0D 02 02 FA 00 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D7 95 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 7F [13:23:33]Write i2c OK [13:23:33]MH_I2C_Read... [13:23:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:33]Read from MH i2c: E2 [13:23:33]MH_I2C_Read... [13:23:33]Read from MH i2c: E2 03 00 [13:23:33]MH_I2C_Read... [13:23:33]Read from MH i2c: E2 03 00 91 0B 00 90 00 10 [13:23:33]RAPDU: 90 00 [13:23:33]wFMCommunicate OK [13:23:33]wFMCommunicate request_size=27 [13:23:33]MH_SAM_APDU [13:23:33]CAPDU: 80 0D 02 02 16 35 33 34 34 10 04 04 00 B3 56 00 00 35 04 06 00 60 63 5E F2 77 F3 [13:23:33]Write to MH i2c: E2 1E 00 92 0B 80 0D 02 02 16 00 35 33 34 34 10 04 04 00 B3 56 00 00 35 04 06 00 60 63 5E F2 77 F3 00 00 F0 [13:23:33]Write i2c OK [13:23:33]MH_I2C_Read... [13:23:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:33]Read from MH i2c: E2 [13:23:33]MH_I2C_Read... [13:23:33]Read from MH i2c: E2 03 00 [13:23:33]MH_I2C_Read... [13:23:33]Read from MH i2c: E2 03 00 92 0B 00 90 00 11 [13:23:33]RAPDU: 90 00 [13:23:33]wFMCommunicate OK [13:23:33]wFMCommunicate request_size=4 [13:23:33]MH_SAM_APDU [13:23:33]CAPDU: 80 0D 03 02 [13:23:33]Write to MH i2c: E2 08 00 93 0B 80 0D 03 02 00 00 00 00 19 [13:23:33]Write i2c OK [13:23:33]MH_I2C_Read... [13:23:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:23:34]Read from MH i2c: E2 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: E2 0B 00 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: E2 0B 00 93 0B 00 57 79 B0 2F 28 59 76 41 90 00 01 [13:23:34]RAPDU: 57 79 B0 2F 28 59 76 41 90 00 [13:23:34]wFMCommunicate OK [13:23:34]SAM_PROTO_SignData done [13:23:34]FM_MakeSignedData done [13:23:34]CreateOFDProtocolMessage [13:23:34]wFMCommunicate request_size=4 [13:23:34]MH_SAM_APDU [13:23:34]CAPDU: 80 11 00 00 [13:23:34]Write to MH i2c: E2 08 00 94 0B 80 11 00 00 00 00 00 00 19 [13:23:34]Write i2c OK [13:23:34]MH_I2C_Read... [13:23:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:34]Read from MH i2c: E2 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: E2 17 00 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: E2 17 00 94 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6B [13:23:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:23:34]wFMCommunicate OK [13:23:34]CreateOFDProtocolMessage done [13:23:34]OFDSenderStorePacket 22195 [13:23:34]StoreOFDPacket docnum=22195 [13:23:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1A 02 00 00 F3 6B 12 02 7C AF 5A 03 01 00 03 00 06 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D7 95 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B3 56 00 00 35 04 06 00 60 63 5E F2 77 F3 57 79 B0 2F 28 59 76 41 [13:23:34]CheckFolder [13:23:34]dirname=/storage/ofd_packets [13:23:34]CheckFolder done [13:23:34]ProducePacketName [13:23:34]name=ofd_packets/00022195 [13:23:34]NVStorageSaveData ofd_packets/00022195 [13:23:34]File name is /storage/ofd_packets/00022195 [13:23:34]Write 568 bytes [13:23:34]NVStorageSaveData done [13:23:34]OFDSenderStorePacket done [13:23:34]KKMCreateOFDPacket done [13:23:34]NVStorageSaveData kkm_last_timestamp [13:23:34]File name is /storage/kkm_last_timestamp [13:23:34]Write 4 bytes [13:23:34]NVStorageSaveData done [13:23:34]ExternCall_PrintAddStr [13:23:34]wPrintStart [13:23:34]Write to MH i2c: 01 00 00 95 0B A0 [13:23:34]Write i2c OK [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: 01 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: 01 07 00 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: 01 07 00 95 0B 00 00 00 00 00 FF 0F B5 [13:23:34]RasterBufferAndPrint [13:23:34]line Счет N : (3)254411 [13:23:34]line ИНН: 02508201610067 [13:23:34]line Контрольно-Кассовый Чек [13:23:34]line ПРОДАЖА [13:23:34]line Товар: 4700000160211 [13:23:34]line Вода Легенда 0,5л [13:23:34]line 1.000 * 40.00 [13:23:34]line = 40.00 [13:23:34]line НДС 12% НСП 1% [13:23:34]line > о реализуемом товаре [13:23:34]line Товар: 4630007400655 [13:23:34]line Семечки ДЖИНН 70г синий [13:23:34]line 1.000 * 70.00 [13:23:34]line = 70.00 [13:23:34]line НДС 12% НСП 1% [13:23:34]line > о реализуемом товаре [13:23:34]line Товар: 4870112003956 [13:23:34]line Шок батончик ALBENI SUPER Альбени Супер [13:23:34]line 1.000 * 75.00 [13:23:34]line = 75.00 [13:23:34]line НДС 12% НСП 1% [13:23:34]line > о реализуемом товаре [13:23:34]line ИТОГО: 185.00 [13:23:34]line НСП 1% : 1.63 [13:23:34]line НДС 12% : 19.64 [13:23:34]line Наличными: 185.00 [13:23:34]line Безнал.: 0.00 [13:23:34]line Место: АЗС № 76 "Партнер Нефть" [13:23:34]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:23:34]line СНО: Общий режим [13:23:34]line Чек 40 15.06.2024 13:23 [13:23:34]line Смена: 326 ФФД: 1.0 [13:23:34]line ЗНМ: 0300000200 [13:23:34]line РНМ: 0000000000099755 [13:23:34]line Версия ККМ: 001 [13:23:34]line ФМ: 0000000000965344 [13:23:34]line ФД: 22195 [13:23:34]line ФПД: 105979910977523 [13:23:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T132335&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22195&fm=105979910977523&tin=02508201610067®Number=0000000000099755&sum=18500 [13:23:34]line 0 [13:23:34]written 0, free lines is 4095 [13:23:34]OFD Sender: Processing packet 22195 [packets to send 5, broken 4] [13:23:34]ProducePacketName [13:23:34]name=ofd_packets/00022195 [13:23:34]OFD Sender: To server: pG, [13:23:34]CommunicateWithHost lk.salyk.kg:30040 [13:23:34]ConnectInit lk.salyk.kg [13:23:34]Connected sock=10 [13:23:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1A 02 00 00 F3 6B 12 02 7C AF 5A 03 01 00 03 00 06 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D7 95 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B3 56 00 00 35 04 06 00 60 63 5E F2 77 F3 57 79 B0 2F 28 59 76 41 [13:23:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 8C CD 47 00 EC ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B3 56 00 00 F4 03 04 00 94 3E 6D 66 B6 04 01 00 00 C0 51 30 47 45 EA 9C F0 [13:23:34]CommunicateWithHost err = 0 [13:23:34]CheckOFDResponse [13:23:34]1017 (14) - 77093643461234 [13:23:34]1041 (16) - 0000000000965344 [13:23:34]1040 (4) - 22195 [13:23:34]1012 (4) - 15.06.2024 07:11 [13:23:34]1206 (1) - 0 [13:23:34]OFD Sender: Remove packet 22195 [13:23:34]ProducePacketName [13:23:34]name=ofd_packets/00022195 [13:23:34]NVStorageDeleteData [13:23:34]Write to MH i2c: 01 00 00 CA 0B D5 [13:23:34]Write i2c OK [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: 01 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: 01 07 00 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: 01 07 00 CA 0B 00 00 00 00 00 7B 0C 63 [13:23:34]RasterBufferAndPrint [13:23:34]line [13:23:34]line [13:23:34]line [13:23:34]line [13:23:34]line [13:23:34]written 0, free lines is 3204 [13:23:34]MH_Cut [13:23:34]Write to MH i2c: D1 01 00 D1 0B 01 AE [13:23:34]Write i2c OK [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: D1 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: D1 01 00 [13:23:34]MH_I2C_Read... [13:23:34]Read from MH i2c: D1 01 00 D1 0B 00 AD [13:23:34]Write to MH i2c: 01 00 00 D2 0B DD [13:23:34]Write i2c OK [13:23:34]MH_I2C_Read... [13:23:34]OFD Sender: No OFD packet to send [13:23:35]*** Cut start [13:23:35]*** Partial cut [13:23:35]*** CUTSNS_PIN = 1 [13:23:35]*** CUTSNS_PIN = 0 [13:23:35]*** Brake cut motor [13:23:36]Read from MH i2c: 01 [13:23:36]MH_I2C_Read... [13:23:36]*** Stop cut motor [13:23:36]*** Cut end [13:23:36]Read from MH i2c: 01 07 00 [13:23:36]MH_I2C_Read... [13:23:36]Read from MH i2c: 01 07 00 D2 0B 00 00 00 00 00 FF 0F F2 [13:23:36]process_action close_receipt done [13:23:36]requested_data is exist [13:23:36]produce_requested_data [13:23:36]requested_item fm.sn is exist - process it [13:23:36]wFMCommunicate request_size=4 [13:23:36]MH_SAM_APDU [13:23:36]CAPDU: 80 11 00 00 [13:23:36]Write to MH i2c: E2 08 00 D3 0B 80 11 00 00 00 00 00 00 58 [13:23:36]Write i2c OK [13:23:36]MH_I2C_Read... [13:23:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:36]Read from MH i2c: E2 [13:23:36]MH_I2C_Read... [13:23:36]Read from MH i2c: E2 17 00 [13:23:36]MH_I2C_Read... [13:23:36]Read from MH i2c: E2 17 00 D3 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AA [13:23:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:23:36]wFMCommunicate OK [13:23:36]requested_item fd.num is exist - process it [13:23:36]SAM_PROTO_GetFieldsCounters [13:23:36]wFMCommunicate request_size=4 [13:23:36]MH_SAM_APDU [13:23:36]CAPDU: 80 13 00 00 [13:23:36]Write to MH i2c: E2 08 00 D4 0B 80 13 00 00 00 00 00 00 5B [13:23:36]Write i2c OK [13:23:36]MH_I2C_Read... [13:23:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:23:36]Read from MH i2c: E2 [13:23:36]MH_I2C_Read... [13:23:36]Read from MH i2c: E2 62 00 [13:23:36]MH_I2C_Read... [13:23:36]Read from MH i2c: E2 62 00 D4 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B3 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [13:23:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B3 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:23:36]wFMCommunicate OK [13:23:36]SAM_PROTO_GetFieldsCounters done [13:23:36]requested_item shift.num is exist - process it [13:23:36]requested_item shift.opened is exist - process it [13:23:36]req_shift_opened [13:23:36]FM_GetShiftState [13:23:36]SAM_PROTO_GetShiftState [13:23:36]wFMCommunicate request_size=4 [13:23:36]MH_SAM_APDU [13:23:36]CAPDU: 80 13 01 00 [13:23:36]Write to MH i2c: E2 08 00 D5 0B 80 13 01 00 00 00 00 00 5D [13:23:36]Write i2c OK [13:23:36]MH_I2C_Read... [13:23:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:36]Read from MH i2c: E2 [13:23:36]MH_I2C_Read... [13:23:36]Read from MH i2c: E2 0E 00 [13:23:36]MH_I2C_Read... [13:23:36]Read from MH i2c: E2 0E 00 D5 0B 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 31 [13:23:36]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [13:23:36]wFMCommunicate OK [13:23:36]SAM_PROTO_GetShiftState done [13:23:36]FM_GetShiftState done [13:23:36]req_shift_opened done [13:23:36]requested_item shift.open_date is exist - process it [13:23:36]req_shift_open_date [13:23:36]req_shift_open_date done [13:23:36]produce_requested_data done [13:23:36]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22195,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [13:23:36]process_action_free close_receipt [13:23:36]json_value_free [13:23:36]json_value_free done [13:23:36]process_json_proto returns [13:23:36]Send response to host [13:23:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22195,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [13:23:36]free response buf [13:23:36]execute_script done [13:23:36]execute_script returns [13:23:36]free content buf [13:23:36]Sock 8.Close socket [13:23:36]Sock 8.Thread stoped [13:23:39]OFD Sender: No OFD packet to send [13:23:44]OFD Sender: No OFD packet to send [13:23:49]OFD Sender: No OFD packet to send [13:23:54]OFD Sender: No OFD packet to send [13:23:59]OFD Sender: No OFD packet to send [13:24:04]OFD Sender: No OFD packet to send [13:24:09]OFD Sender: No OFD packet to send [13:24:15]OFD Sender: No OFD packet to send [13:24:20]OFD Sender: No OFD packet to send [13:24:25]OFD Sender: No OFD packet to send [13:24:30]OFD Sender: No OFD packet to send [13:24:34]accept exits with 9 [13:24:34]New connection [13:24:34]New thread 3066838372 created [13:24:34]Thread 3066695012 joined [13:24:34]Waiting for new connection... [13:24:34] Sock 9.Parse request [13:24:34]Sock 9.Check first char [13:24:34]Sock 9.First char is OK [13:24:34]request: POST /json_proto HTTP/1.0 [13:24:34]Method: POST [13:24:34]URL: /json_proto [13:24:34]Method is POST - this is cgi request [13:24:34]url: /json_proto [13:24:34]query_string will be loaded in cgi processing [13:24:34]execute_cgi json_proto POST (null) [13:24:34]execute_cgi path=json_proto method=POST [13:24:34]POST find Content-Length [13:24:34]Host: 172.17.35.133:8080 [13:24:34]Content-Length: 678 [13:24:34]Content-Type: application/json [13:24:34] [13:24:34]POST finish read [13:24:34]Found Content-Length = 678 [13:24:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610254", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 9.580, "sum" : 630.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 630.00, "total" : 630.00, "payments": [ { "type": 0, "sum" : 630.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:34]execute_script... [13:24:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610254", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 9.580, "sum" : 630.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 630.00, "total" : 630.00, "payments": [ { "type": 0, "sum" : 630.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:34]POST & json_proto [13:24:34]process_json_proto [13:24:34]json parsed OK: [13:24:34]protocol is kg_v1.0 [13:24:34]action value=close_receipt [13:24:34]process_action close_receipt [13:24:34]cmd_close_receipt [13:24:34]MH_GetDate [13:24:34]Write to MH i2c: F0 00 00 D6 0B D0 [13:24:34]Write i2c OK [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: F0 [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: F0 09 00 [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: F0 09 00 D6 0B 00 15 96 6D 66 8C 55 28 65 C5 [13:24:34]GetLastDocTimeStamp 1718457815 [13:24:34]current date 1718457877 [13:24:34]FM_GetShiftState [13:24:34]SAM_PROTO_GetShiftState [13:24:34]wFMCommunicate request_size=4 [13:24:34]MH_SAM_APDU [13:24:34]CAPDU: 80 13 01 00 [13:24:34]Write to MH i2c: E2 08 00 D7 0B 80 13 01 00 00 00 00 00 5F [13:24:34]Write i2c OK [13:24:34]MH_I2C_Read... [13:24:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:34]Read from MH i2c: E2 [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: E2 0E 00 [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: E2 0E 00 D7 0B 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 33 [13:24:34]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [13:24:34]wFMCommunicate OK [13:24:34]SAM_PROTO_GetShiftState done [13:24:34]FM_GetShiftState done [13:24:34]opened in 1718410776 [13:24:34]opened+sec_in_day 1718497176 [13:24:34]quantity*price = 63036 [13:24:34]sum+1 = 63037 [13:24:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.36 ИТОГО: 630.00 Внесено: 630.00 СДАЧА: 0.00 НСП 1% : 5.58 НДС 12% : 66.94 Наличными: 630.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 41 15.06.2024 13:24 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22196 ФПД: 74293921819373 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T132437&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22196&fm=74293921819373&tin=02508201610067®Number=0000000000099755&sum=63000 [13:24:35]StoreToDocumentArchive [13:24:35]shift 326 fd 22196 [13:24:35]save to /storage/0326/doc_00022196 [13:24:35]save last doc name /storage/0326/doc_00022196 to /storage/kkm_last_doc_name [13:24:35]save OK [13:24:35]Clear old archive folders... [13:24:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:24:35]tlvbuf is 0018EAD0 [13:24:35]SAM_PROTO_ClearQueue [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 09 00 00 [13:24:35]Write to MH i2c: E2 08 00 E4 0B 80 09 00 00 00 00 00 00 61 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 E4 0B 00 90 00 63 [13:24:35]RAPDU: 90 00 [13:24:35]wFMCommunicate OK [13:24:35]SAM_PROTO_ClearQueue done [13:24:35]KKMCreateOFDPacket [13:24:35]OFDProtocolAddRootSTLVToBuf [13:24:35]FM_MakeSignedData [13:24:35]FM_MakeSignedData [13:24:35]SAM_PROTO_SignData [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 0D 01 02 [13:24:35]Write to MH i2c: E2 08 00 E5 0B 80 0D 01 02 00 00 00 00 69 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 E5 0B 00 90 00 64 [13:24:35]RAPDU: 90 00 [13:24:35]wFMCommunicate OK [13:24:35]wFMCommunicate request_size=255 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6C 25 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 3C F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 15 96 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B4 56 00 00 35 04 06 00 43 [13:24:35]Write to MH i2c: E2 02 01 E6 0B 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6C 25 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 3C F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 15 96 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B4 56 00 00 35 04 06 00 43 00 00 D3 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 E6 0B 00 90 00 65 [13:24:35]RAPDU: 90 00 [13:24:35]wFMCommunicate OK [13:24:35]wFMCommunicate request_size=10 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 0D 02 02 05 91 E6 D1 AA ED [13:24:35]Write to MH i2c: E2 0D 00 E7 0B 80 0D 02 02 05 00 91 E6 D1 AA ED 00 00 55 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 E7 0B 00 90 00 66 [13:24:35]RAPDU: 90 00 [13:24:35]wFMCommunicate OK [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 0D 03 02 [13:24:35]Write to MH i2c: E2 08 00 E8 0B 80 0D 03 02 00 00 00 00 6E [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 0B 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 0B 00 E8 0B 00 A2 FC D1 6E B2 6F 43 ED 90 00 9D [13:24:35]RAPDU: A2 FC D1 6E B2 6F 43 ED 90 00 [13:24:35]wFMCommunicate OK [13:24:35]SAM_PROTO_SignData done [13:24:35]FM_MakeSignedData done [13:24:35]CreateOFDProtocolMessage [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 11 00 00 [13:24:35]Write to MH i2c: E2 08 00 E9 0B 80 11 00 00 00 00 00 00 6E [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 17 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 17 00 E9 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C0 [13:24:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:24:35]wFMCommunicate OK [13:24:35]CreateOFDProtocolMessage done [13:24:35]OFDSenderStorePacket 22196 [13:24:35]StoreOFDPacket docnum=22196 [13:24:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 2B E1 07 01 2E 98 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6C 25 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 3C F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 15 96 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B4 56 00 00 35 04 06 00 43 91 E6 D1 AA ED A2 FC D1 6E B2 6F 43 ED [13:24:35]CheckFolder [13:24:35]dirname=/storage/ofd_packets [13:24:35]CheckFolder done [13:24:35]ProducePacketName [13:24:35]name=ofd_packets/00022196 [13:24:35]NVStorageSaveData ofd_packets/00022196 [13:24:35]File name is /storage/ofd_packets/00022196 [13:24:35]Write 301 bytes [13:24:35]NVStorageSaveData done [13:24:35]OFDSenderStorePacket done [13:24:35]KKMCreateOFDPacket done [13:24:35]NVStorageSaveData kkm_last_timestamp [13:24:35]File name is /storage/kkm_last_timestamp [13:24:35]Write 4 bytes [13:24:35]NVStorageSaveData done [13:24:35]ExternCall_PrintAddStr [13:24:35]wPrintStart [13:24:35]Write to MH i2c: 01 00 00 EA 0B F5 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: 01 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: 01 07 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: 01 07 00 EA 0B 00 00 00 00 00 FF 0F 0A [13:24:35]RasterBufferAndPrint [13:24:35]line Счет N : (1)1610254 [13:24:35]line ИНН: 02508201610067 [13:24:35]line Контрольно-Кассовый Чек [13:24:35]line ПРОДАЖА [13:24:35]line ТРК (МРК, ГНК) : 33 [13:24:35]line Товар: 2710124130 [13:24:35]line Аи-92-К-5 [13:24:35]line 9.580 * 65.80 [13:24:35]line = 630.36 [13:24:35]line НДС 12% НСП 1% [13:24:35]line > о реализуемом товаре [13:24:35]line ОКРУГЛЕНИЕ: -0.36 [13:24:35]line ИТОГО: 630.00 [13:24:35]line Внесено: 630.00 [13:24:35]line СДАЧА: 0.00 [13:24:35]line НСП 1% : 5.58 [13:24:35]line НДС 12% : 66.94 [13:24:35]line Наличными: 630.00 [13:24:35]line Безнал.: 0.00 [13:24:35]line Место: АЗС № 76 "Партнер Нефть" [13:24:35]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:24:35]line СНО: Общий режим [13:24:35]line Чек 41 15.06.2024 13:24 [13:24:35]line Смена: 326 ФФД: 1.0 [13:24:35]line ЗНМ: 0300000200 [13:24:35]line РНМ: 0000000000099755 [13:24:35]line Версия ККМ: 001 [13:24:35]line ФМ: 0000000000965344 [13:24:35]line ФД: 22196 [13:24:35]line ФПД: 74293921819373 [13:24:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T132437&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22196&fm=74293921819373&tin=02508201610067®Number=0000000000099755&sum=63000 [13:24:36]OFD Sender: Processing packet 22196 [packets to send 5, broken 4] [13:24:36]ProducePacketName [13:24:36]name=ofd_packets/00022196 [13:24:36]OFD Sender: To server: pG, [13:24:36]CommunicateWithHost lk.salyk.kg:30040 [13:24:36]ConnectInit lk.salyk.kg [13:24:36]written 0, free lines is 4095 [13:24:36]Connected sock=8 [13:24:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 2B E1 07 01 2E 98 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6C 25 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 3C F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 15 96 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B4 56 00 00 35 04 06 00 43 91 E6 D1 AA ED A2 FC D1 6E B2 6F 43 ED [13:24:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 D2 77 47 00 83 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B4 56 00 00 F4 03 04 00 D2 3E 6D 66 B6 04 01 00 00 7E CF 41 EC 5F 95 E7 20 [13:24:36]CommunicateWithHost err = 0 [13:24:36]CheckOFDResponse [13:24:36]1017 (14) - 77093643461234 [13:24:36]1041 (16) - 0000000000965344 [13:24:36]1040 (4) - 22196 [13:24:36]1012 (4) - 15.06.2024 07:12 [13:24:36]1206 (1) - 0 [13:24:36]OFD Sender: Remove packet 22196 [13:24:36]ProducePacketName [13:24:36]name=ofd_packets/00022196 [13:24:36]NVStorageDeleteData [13:24:36]Write to MH i2c: 01 00 00 15 0C 21 [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 07 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 07 00 15 0C 00 00 00 00 00 EC 0C 20 [13:24:36]RasterBufferAndPrint [13:24:36]line [13:24:36]line [13:24:36]line [13:24:36]line [13:24:36]line [13:24:36]written 0, free lines is 3314 [13:24:36]MH_Cut [13:24:36]Write to MH i2c: D1 01 00 1C 0C 01 FA [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: D1 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: D1 01 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: D1 01 00 1C 0C 00 F9 [13:24:36]Write to MH i2c: 01 00 00 1D 0C 29 [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]OFD Sender: No OFD packet to send [13:24:37]*** Cut start [13:24:37]*** Partial cut [13:24:37]*** CUTSNS_PIN = 1 [13:24:37]*** CUTSNS_PIN = 0 [13:24:37]*** Brake cut motor [13:24:37]Read from MH i2c: 01 [13:24:37]MH_I2C_Read... [13:24:37]*** Stop cut motor [13:24:37]*** Cut end [13:24:37]Read from MH i2c: 01 07 00 [13:24:37]MH_I2C_Read... [13:24:37]Read from MH i2c: 01 07 00 1D 0C 00 00 00 00 00 FF 0F 3E [13:24:37]process_action close_receipt done [13:24:37]requested_data is exist [13:24:37]produce_requested_data [13:24:37]requested_item fm.sn is exist - process it [13:24:37]wFMCommunicate request_size=4 [13:24:37]MH_SAM_APDU [13:24:37]CAPDU: 80 11 00 00 [13:24:37]Write to MH i2c: E2 08 00 1E 0C 80 11 00 00 00 00 00 00 A4 [13:24:37]Write i2c OK [13:24:37]MH_I2C_Read... [13:24:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:38]Read from MH i2c: E2 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 17 00 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 17 00 1E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F6 [13:24:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:24:38]wFMCommunicate OK [13:24:38]requested_item fd.num is exist - process it [13:24:38]SAM_PROTO_GetFieldsCounters [13:24:38]wFMCommunicate request_size=4 [13:24:38]MH_SAM_APDU [13:24:38]CAPDU: 80 13 00 00 [13:24:38]Write to MH i2c: E2 08 00 1F 0C 80 13 00 00 00 00 00 00 A7 [13:24:38]Write i2c OK [13:24:38]MH_I2C_Read... [13:24:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:38]Read from MH i2c: E2 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 62 00 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 62 00 1F 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B4 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [13:24:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B4 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:24:38]wFMCommunicate OK [13:24:38]SAM_PROTO_GetFieldsCounters done [13:24:38]requested_item shift.num is exist - process it [13:24:38]requested_item shift.opened is exist - process it [13:24:38]req_shift_opened [13:24:38]FM_GetShiftState [13:24:38]SAM_PROTO_GetShiftState [13:24:38]wFMCommunicate request_size=4 [13:24:38]MH_SAM_APDU [13:24:38]CAPDU: 80 13 01 00 [13:24:38]Write to MH i2c: E2 08 00 20 0C 80 13 01 00 00 00 00 00 A9 [13:24:38]Write i2c OK [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 [13:24:38]MH_I2C_Read... [13:24:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:38]Read from MH i2c: E2 0E 00 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 0E 00 20 0C 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 7D [13:24:38]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [13:24:38]wFMCommunicate OK [13:24:38]SAM_PROTO_GetShiftState done [13:24:38]FM_GetShiftState done [13:24:38]req_shift_opened done [13:24:38]requested_item shift.open_date is exist - process it [13:24:38]req_shift_open_date [13:24:38]req_shift_open_date done [13:24:38]produce_requested_data done [13:24:38]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22196,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [13:24:38]process_action_free close_receipt [13:24:38]json_value_free [13:24:38]json_value_free done [13:24:38]process_json_proto returns [13:24:38]Send response to host [13:24:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22196,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [13:24:38]free response buf [13:24:38]execute_script done [13:24:38]execute_script returns [13:24:38]free content buf [13:24:38]Sock 9.Close socket [13:24:38]Sock 9.Thread stoped [13:24:42]OFD Sender: No OFD packet to send [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:12]OFD Sender: No OFD packet to send [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [13:25:32]OFD Sender: No OFD packet to send [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:57]OFD Sender: No OFD packet to send [13:26:02]OFD Sender: No OFD packet to send [13:26:07]OFD Sender: No OFD packet to send [13:26:12]OFD Sender: No OFD packet to send [13:26:17]OFD Sender: No OFD packet to send [13:26:22]OFD Sender: No OFD packet to send [13:26:27]OFD Sender: No OFD packet to send [13:26:32]OFD Sender: No OFD packet to send [13:26:37]OFD Sender: No OFD packet to send [13:26:42]OFD Sender: No OFD packet to send [13:26:47]OFD Sender: No OFD packet to send [13:26:52]OFD Sender: No OFD packet to send [13:26:57]OFD Sender: No OFD packet to send [13:27:02]OFD Sender: No OFD packet to send [13:27:07]OFD Sender: No OFD packet to send [13:27:12]OFD Sender: No OFD packet to send [13:27:17]OFD Sender: No OFD packet to send [13:27:22]OFD Sender: No OFD packet to send [13:27:27]OFD Sender: No OFD packet to send [13:27:32]OFD Sender: No OFD packet to send [13:27:37]OFD Sender: No OFD packet to send [13:27:42]OFD Sender: No OFD packet to send [13:27:47]OFD Sender: No OFD packet to send [13:27:52]OFD Sender: No OFD packet to send [13:27:57]OFD Sender: No OFD packet to send [13:28:02]OFD Sender: No OFD packet to send [13:28:07]OFD Sender: No OFD packet to send [13:28:12]OFD Sender: No OFD packet to send [13:28:17]OFD Sender: No OFD packet to send [13:28:22]OFD Sender: No OFD packet to send [13:28:27]OFD Sender: No OFD packet to send [13:28:32]OFD Sender: No OFD packet to send [13:28:37]OFD Sender: No OFD packet to send [13:28:42]OFD Sender: No OFD packet to send [13:28:47]OFD Sender: No OFD packet to send [13:28:52]OFD Sender: No OFD packet to send [13:28:57]OFD Sender: No OFD packet to send [13:29:02]OFD Sender: No OFD packet to send [13:29:07]OFD Sender: No OFD packet to send [13:29:12]OFD Sender: No OFD packet to send [13:29:17]OFD Sender: No OFD packet to send [13:29:22]OFD Sender: No OFD packet to send [13:29:27]OFD Sender: No OFD packet to send [13:29:32]OFD Sender: No OFD packet to send [13:29:37]OFD Sender: No OFD packet to send [13:29:42]OFD Sender: No OFD packet to send [13:29:47]OFD Sender: No OFD packet to send [13:29:52]OFD Sender: No OFD packet to send [13:29:57]OFD Sender: No OFD packet to send [13:30:02]OFD Sender: No OFD packet to send [13:30:07]OFD Sender: No OFD packet to send [13:30:12]OFD Sender: No OFD packet to send [13:30:17]OFD Sender: No OFD packet to send [13:30:22]OFD Sender: No OFD packet to send [13:30:27]OFD Sender: No OFD packet to send [13:30:32]OFD Sender: No OFD packet to send [13:30:37]OFD Sender: No OFD packet to send [13:30:42]OFD Sender: No OFD packet to send [13:30:47]OFD Sender: No OFD packet to send [13:30:52]OFD Sender: No OFD packet to send [13:30:57]OFD Sender: No OFD packet to send [13:31:02]OFD Sender: No OFD packet to send [13:31:07]OFD Sender: No OFD packet to send [13:31:12]OFD Sender: No OFD packet to send [13:31:17]OFD Sender: No OFD packet to send [13:31:22]OFD Sender: No OFD packet to send [13:31:27]OFD Sender: No OFD packet to send [13:31:32]OFD Sender: No OFD packet to send [13:31:37]OFD Sender: No OFD packet to send [13:31:38]accept exits with 10 [13:31:38]New connection [13:31:38]New thread 3066695012 created [13:31:38]Thread 3066838372 joined [13:31:38]Waiting for new connection... [13:31:38] Sock 10.Parse request [13:31:38]Sock 10.Check first char [13:31:38]Sock 10.First char is OK [13:31:38]request: POST /json_proto HTTP/1.0 [13:31:38]Method: POST [13:31:38]URL: /json_proto [13:31:38]Method is POST - this is cgi request [13:31:38]url: /json_proto [13:31:38]query_string will be loaded in cgi processing [13:31:38]execute_cgi json_proto POST (null) [13:31:38]execute_cgi path=json_proto method=POST [13:31:38]POST find Content-Length [13:31:38]Host: 172.17.35.133:8080 [13:31:38]Content-Length: 980 [13:31:38]Content-Type: application/json [13:31:38] [13:31:38]POST finish read [13:31:38]Found Content-Length = 980 [13:31:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254412", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:31:38]execute_script... [13:31:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254412", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:31:38]POST & json_proto [13:31:38]process_json_proto [13:31:38]json parsed OK: [13:31:38]protocol is kg_v1.0 [13:31:38]action value=close_receipt [13:31:38]process_action close_receipt [13:31:38]cmd_close_receipt [13:31:38]MH_GetDate [13:31:38]Write to MH i2c: F0 00 00 21 0C 1C [13:31:38]Write i2c OK [13:31:38]MH_I2C_Read... [13:31:38]Read from MH i2c: F0 [13:31:38]MH_I2C_Read... [13:31:38]Read from MH i2c: F0 09 00 [13:31:38]MH_I2C_Read... [13:31:38]Read from MH i2c: F0 09 00 21 0C 00 BD 97 6D 66 8C 55 28 65 BA [13:31:38]GetLastDocTimeStamp 1718457877 [13:31:38]current date 1718458301 [13:31:38]FM_GetShiftState [13:31:38]SAM_PROTO_GetShiftState [13:31:38]wFMCommunicate request_size=4 [13:31:38]MH_SAM_APDU [13:31:38]CAPDU: 80 13 01 00 [13:31:38]Write to MH i2c: E2 08 00 22 0C 80 13 01 00 00 00 00 00 AB [13:31:38]Write i2c OK [13:31:38]MH_I2C_Read... [13:31:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:31:38]Read from MH i2c: E2 [13:31:38]MH_I2C_Read... [13:31:38]Read from MH i2c: E2 0E 00 [13:31:38]MH_I2C_Read... [13:31:38]Read from MH i2c: E2 0E 00 22 0C 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 7F [13:31:38]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [13:31:38]wFMCommunicate OK [13:31:38]SAM_PROTO_GetShiftState done [13:31:38]FM_GetShiftState done [13:31:38]opened in 1718410776 [13:31:38]opened+sec_in_day 1718497176 [13:31:38]quantity*price = 18000 [13:31:38]sum+1 = 18001 [13:31:38]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000482757 Напиток Nitro Fr газ манг,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 275.00 НСП 1% : 2.43 НДС 12% : 29.20 Наличными: 275.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 42 15.06.2024 13:31 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22197 ФПД: 185607070197790 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T133141&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22197&fm=185607070197790&tin=02508201610067®Number=0000000000099755&sum=27500 0 [13:31:39]StoreToDocumentArchive [13:31:39]shift 326 fd 22197 [13:31:39]save to /storage/0326/doc_00022197 [13:31:39]save last doc name /storage/0326/doc_00022197 to /storage/kkm_last_doc_name [13:31:39]save OK [13:31:39]Clear old archive folders... [13:31:39]ProcessDocumentItem done err = 0, tmpTLVsize=420 [13:31:39]tlvbuf is 00204CC0 [13:31:39]SAM_PROTO_ClearQueue [13:31:39]wFMCommunicate request_size=4 [13:31:39]MH_SAM_APDU [13:31:39]CAPDU: 80 09 00 00 [13:31:39]Write to MH i2c: E2 08 00 2F 0C 80 09 00 00 00 00 00 00 AD [13:31:39]Write i2c OK [13:31:39]MH_I2C_Read... [13:31:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:31:39]Read from MH i2c: E2 [13:31:39]MH_I2C_Read... [13:31:39]Read from MH i2c: E2 03 00 [13:31:39]MH_I2C_Read... [13:31:39]Read from MH i2c: E2 03 00 2F 0C 00 90 00 AF [13:31:39]RAPDU: 90 00 [13:31:39]wFMCommunicate OK [13:31:39]SAM_PROTO_ClearQueue done [13:31:39]KKMCreateOFDPacket [13:31:39]OFDProtocolAddRootSTLVToBuf [13:31:39]FM_MakeSignedData [13:31:39]FM_MakeSignedData [13:31:39]SAM_PROTO_SignData [13:31:39]wFMCommunicate request_size=4 [13:31:39]MH_SAM_APDU [13:31:39]CAPDU: 80 0D 01 02 [13:31:39]Write to MH i2c: E2 08 00 30 0C 80 0D 01 02 00 00 00 00 B5 [13:31:39]Write i2c OK [13:31:39]MH_I2C_Read... [13:31:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:31:39]Read from MH i2c: E2 [13:31:39]MH_I2C_Read... [13:31:39]Read from MH i2c: E2 03 00 [13:31:39]MH_I2C_Read... [13:31:39]Read from MH i2c: E2 03 00 30 0C 00 90 00 B0 [13:31:39]RAPDU: 90 00 [13:31:39]wFMCommunicate OK [13:31:39]wFMCommunicate request_size=255 [13:31:39]MH_SAM_APDU [13:31:39]CAPDU: 80 0D 02 02 FA 03 00 A4 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 [13:31:39]Write to MH i2c: E2 02 01 31 0C 80 0D 02 02 FA 00 03 00 A4 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 00 00 AF [13:31:39]Write i2c OK [13:31:39]MH_I2C_Read... [13:31:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:31:40]Read from MH i2c: E2 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: E2 03 00 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: E2 03 00 31 0C 00 90 00 B1 [13:31:40]RAPDU: 90 00 [13:31:40]wFMCommunicate OK [13:31:40]wFMCommunicate request_size=179 [13:31:40]MH_SAM_APDU [13:31:40]CAPDU: 80 0D 02 02 AE 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BD 97 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B5 56 00 00 35 04 06 00 A8 CF 03 7C A8 1E [13:31:40]Write to MH i2c: E2 B6 00 32 0C 80 0D 02 02 AE 00 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BD 97 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B5 56 00 00 35 04 06 00 A8 CF 03 7C A8 1E 00 00 99 [13:31:40]Write i2c OK [13:31:40]MH_I2C_Read... [13:31:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:31:40]Read from MH i2c: E2 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: E2 03 00 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: E2 03 00 32 0C 00 90 00 B2 [13:31:40]RAPDU: 90 00 [13:31:40]wFMCommunicate OK [13:31:40]wFMCommunicate request_size=4 [13:31:40]MH_SAM_APDU [13:31:40]CAPDU: 80 0D 03 02 [13:31:40]Write to MH i2c: E2 08 00 33 0C 80 0D 03 02 00 00 00 00 BA [13:31:40]Write i2c OK [13:31:40]MH_I2C_Read... [13:31:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:31:40]Read from MH i2c: E2 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: E2 0B 00 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: E2 0B 00 33 0C 00 77 8E A0 2B 47 9E 2C ED 90 00 89 [13:31:40]RAPDU: 77 8E A0 2B 47 9E 2C ED 90 00 [13:31:40]wFMCommunicate OK [13:31:40]SAM_PROTO_SignData done [13:31:40]FM_MakeSignedData done [13:31:40]CreateOFDProtocolMessage [13:31:40]wFMCommunicate request_size=4 [13:31:40]MH_SAM_APDU [13:31:40]CAPDU: 80 11 00 00 [13:31:40]Write to MH i2c: E2 08 00 34 0C 80 11 00 00 00 00 00 00 BA [13:31:40]Write i2c OK [13:31:40]MH_I2C_Read... [13:31:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:31:40]Read from MH i2c: E2 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: E2 17 00 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: E2 17 00 34 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 0C [13:31:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:31:40]wFMCommunicate OK [13:31:40]CreateOFDProtocolMessage done [13:31:40]OFDSenderStorePacket 22197 [13:31:40]StoreOFDPacket docnum=22197 [13:31:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B8 01 00 00 D1 39 B0 01 B1 E5 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BD 97 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B5 56 00 00 35 04 06 00 A8 CF 03 7C A8 1E 77 8E A0 2B 47 9E 2C ED [13:31:40]CheckFolder [13:31:40]dirname=/storage/ofd_packets [13:31:40]CheckFolder done [13:31:40]ProducePacketName [13:31:40]name=ofd_packets/00022197 [13:31:40]NVStorageSaveData ofd_packets/00022197 [13:31:40]File name is /storage/ofd_packets/00022197 [13:31:40]Write 470 bytes [13:31:40]NVStorageSaveData done [13:31:40]OFDSenderStorePacket done [13:31:40]KKMCreateOFDPacket done [13:31:40]NVStorageSaveData kkm_last_timestamp [13:31:40]File name is /storage/kkm_last_timestamp [13:31:40]Write 4 bytes [13:31:40]NVStorageSaveData done [13:31:40]ExternCall_PrintAddStr [13:31:40]wPrintStart [13:31:40]Write to MH i2c: 01 00 00 35 0C 41 [13:31:40]OFD Sender: Processing packet 22197 [packets to send 5, broken 4] [13:31:40]ProducePacketName [13:31:40]name=ofd_packets/00022197 [13:31:40]OFD Sender: To server: pG, [13:31:40]CommunicateWithHost lk.salyk.kg:30040 [13:31:40]ConnectInit lk.salyk.kg [13:31:40]Write i2c OK [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: 01 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: 01 07 00 [13:31:40]MH_I2C_Read... [13:31:40]Read from MH i2c: 01 07 00 35 0C 00 00 00 00 00 FF 0F 56 [13:31:40]RasterBufferAndPrint [13:31:40]line Счет N : (3)254412 [13:31:40]line ИНН: 02508201610067 [13:31:40]line Контрольно-Кассовый Чек [13:31:40]line ПРОДАЖА [13:31:40]line Товар: 5449000176448 [13:31:40]line Сок Piko Pulpy апельсин ПЭТ 1л [13:31:40]line 1.000 * 180.00 [13:31:40]line = 180.00 [13:31:40]line НДС 12% НСП 1% [13:31:40]line > о реализуемом товаре [13:31:40]line Товар: 4700000482757 [13:31:40]line Напиток Nitro Fr газ манг,клуб ж/б 0,45л [13:31:40]line 1.000 * 95.00 [13:31:40]line = 95.00 [13:31:40]line НДС 12% НСП 1% [13:31:40]line > о реализуемом товаре [13:31:40]line ИТОГО: 275.00 [13:31:40]line НСП 1% : 2.43 [13:31:40]line НДС 12% : 29.20 [13:31:40]line Наличными: 275.00 [13:31:40]line Безнал.: 0.00 [13:31:40]line Место: АЗС № 76 "Партнер Нефть" [13:31:40]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:31:40]line СНО: Общий режим [13:31:40]line Чек 42 15.06.2024 13:31 [13:31:40]line Смена: 326 ФФД: 1.0 [13:31:40]line ЗНМ: 0300000200 [13:31:40]line РНМ: 0000000000099755 [13:31:40]line Версия ККМ: 001 [13:31:40]line ФМ: 0000000000965344 [13:31:40]line ФД: 22197 [13:31:40]line ФПД: 185607070197790 [13:31:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T133141&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22197&fm=185607070197790&tin=02508201610067®Number=0000000000099755&sum=27500 [13:31:40]line 0 [13:31:40]written 0, free lines is 4095 [13:31:40]Connected sock=9 [13:31:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B8 01 00 00 D1 39 B0 01 B1 E5 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BD 97 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B5 56 00 00 35 04 06 00 A8 CF 03 7C A8 1E 77 8E A0 2B 47 9E 2C ED [13:31:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 93 03 47 00 22 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B5 56 00 00 F4 03 04 00 7A 40 6D 66 B6 04 01 00 00 F7 40 F4 1E 54 8C 87 02 [13:31:41]CommunicateWithHost err = 0 [13:31:41]CheckOFDResponse [13:31:41]1017 (14) - 77093643461234 [13:31:41]1041 (16) - 0000000000965344 [13:31:41]1040 (4) - 22197 [13:31:41]1012 (4) - 15.06.2024 07:19 [13:31:41]1206 (1) - 0 [13:31:41]OFD Sender: Remove packet 22197 [13:31:41]ProducePacketName [13:31:41]name=ofd_packets/00022197 [13:31:41]NVStorageDeleteData [13:31:41]Write to MH i2c: 01 00 00 65 0C 71 [13:31:41]Write i2c OK [13:31:41]MH_I2C_Read... [13:31:41]Read from MH i2c: 01 [13:31:41]MH_I2C_Read... [13:31:41]Read from MH i2c: 01 07 00 [13:31:41]MH_I2C_Read... [13:31:41]Read from MH i2c: 01 07 00 65 0C 00 00 00 00 00 B3 0C 37 [13:31:41]RasterBufferAndPrint [13:31:41]line [13:31:41]line [13:31:41]line [13:31:41]line [13:31:41]line [13:31:41]written 0, free lines is 3262 [13:31:41]MH_Cut [13:31:41]Write to MH i2c: D1 01 00 6C 0C 01 4A [13:31:41]Write i2c OK [13:31:41]MH_I2C_Read... [13:31:41]Read from MH i2c: D1 [13:31:41]MH_I2C_Read... [13:31:41]Read from MH i2c: D1 01 00 [13:31:41]MH_I2C_Read... [13:31:41]Read from MH i2c: D1 01 00 6C 0C 00 49 [13:31:41]Write to MH i2c: 01 00 00 6D 0C 79 [13:31:41]Write i2c OK [13:31:41]MH_I2C_Read... [13:31:41]OFD Sender: No OFD packet to send [13:31:41]*** Cut start [13:31:41]*** Partial cut [13:31:41]*** CUTSNS_PIN = 1 [13:31:41]*** CUTSNS_PIN = 0 [13:31:42]*** Brake cut motor [13:31:42]Read from MH i2c: 01 [13:31:42]MH_I2C_Read... [13:31:42]*** Stop cut motor [13:31:42]*** Cut end [13:31:42]Read from MH i2c: 01 07 00 [13:31:42]MH_I2C_Read... [13:31:42]Read from MH i2c: 01 07 00 6D 0C 00 00 00 00 00 FF 0F 8E [13:31:42]process_action close_receipt done [13:31:42]requested_data is exist [13:31:42]produce_requested_data [13:31:42]requested_item fm.sn is exist - process it [13:31:42]wFMCommunicate request_size=4 [13:31:42]MH_SAM_APDU [13:31:42]CAPDU: 80 11 00 00 [13:31:42]Write to MH i2c: E2 08 00 6E 0C 80 11 00 00 00 00 00 00 F4 [13:31:42]Write i2c OK [13:31:42]MH_I2C_Read... [13:31:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:31:42]Read from MH i2c: E2 [13:31:42]MH_I2C_Read... [13:31:42]Read from MH i2c: E2 17 00 [13:31:42]MH_I2C_Read... [13:31:42]Read from MH i2c: E2 17 00 6E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 46 [13:31:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:31:42]wFMCommunicate OK [13:31:42]requested_item fd.num is exist - process it [13:31:42]SAM_PROTO_GetFieldsCounters [13:31:42]wFMCommunicate request_size=4 [13:31:42]MH_SAM_APDU [13:31:42]CAPDU: 80 13 00 00 [13:31:42]Write to MH i2c: E2 08 00 6F 0C 80 13 00 00 00 00 00 00 F7 [13:31:42]Write i2c OK [13:31:42]MH_I2C_Read... [13:31:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:31:42]Read from MH i2c: E2 [13:31:42]MH_I2C_Read... [13:31:42]Read from MH i2c: E2 62 00 [13:31:42]MH_I2C_Read... [13:31:42]Read from MH i2c: E2 62 00 6F 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B5 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [13:31:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B5 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:31:42]wFMCommunicate OK [13:31:42]SAM_PROTO_GetFieldsCounters done [13:31:42]requested_item shift.num is exist - process it [13:31:42]requested_item shift.opened is exist - process it [13:31:42]req_shift_opened [13:31:42]FM_GetShiftState [13:31:42]SAM_PROTO_GetShiftState [13:31:42]wFMCommunicate request_size=4 [13:31:42]MH_SAM_APDU [13:31:42]CAPDU: 80 13 01 00 [13:31:42]Write to MH i2c: E2 08 00 70 0C 80 13 01 00 00 00 00 00 F9 [13:31:42]Write i2c OK [13:31:42]MH_I2C_Read... [13:31:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:31:42]Read from MH i2c: E2 [13:31:42]MH_I2C_Read... [13:31:42]Read from MH i2c: E2 0E 00 [13:31:42]MH_I2C_Read... [13:31:42]Read from MH i2c: E2 0E 00 70 0C 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 CD [13:31:42]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [13:31:42]wFMCommunicate OK [13:31:42]SAM_PROTO_GetShiftState done [13:31:42]FM_GetShiftState done [13:31:42]req_shift_opened done [13:31:42]requested_item shift.open_date is exist - process it [13:31:42]req_shift_open_date [13:31:42]req_shift_open_date done [13:31:42]produce_requested_data done [13:31:42]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22197,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [13:31:42]process_action_free close_receipt [13:31:42]json_value_free [13:31:42]json_value_free done [13:31:42]process_json_proto returns [13:31:42]Send response to host [13:31:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22197,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [13:31:42]free response buf [13:31:42]execute_script done [13:31:42]execute_script returns [13:31:42]free content buf [13:31:42]Sock 10.Close socket [13:31:42]Sock 10.Thread stoped [13:31:46]OFD Sender: No OFD packet to send [13:31:51]OFD Sender: No OFD packet to send [13:31:56]OFD Sender: No OFD packet to send [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:36]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:41]OFD Sender: No OFD packet to send [13:40:46]OFD Sender: No OFD packet to send [13:40:51]OFD Sender: No OFD packet to send [13:40:56]OFD Sender: No OFD packet to send [13:41:01]OFD Sender: No OFD packet to send [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:07]OFD Sender: No OFD packet to send [13:42:12]OFD Sender: No OFD packet to send [13:42:17]OFD Sender: No OFD packet to send [13:42:22]OFD Sender: No OFD packet to send [13:42:27]OFD Sender: No OFD packet to send [13:42:32]OFD Sender: No OFD packet to send [13:42:37]OFD Sender: No OFD packet to send [13:42:42]OFD Sender: No OFD packet to send [13:42:47]OFD Sender: No OFD packet to send [13:42:52]OFD Sender: No OFD packet to send [13:42:57]OFD Sender: No OFD packet to send [13:43:02]OFD Sender: No OFD packet to send [13:43:07]OFD Sender: No OFD packet to send [13:43:12]OFD Sender: No OFD packet to send [13:43:17]OFD Sender: No OFD packet to send [13:43:22]OFD Sender: No OFD packet to send [13:43:27]OFD Sender: No OFD packet to send [13:43:32]OFD Sender: No OFD packet to send [13:43:37]OFD Sender: No OFD packet to send [13:43:42]OFD Sender: No OFD packet to send [13:43:47]OFD Sender: No OFD packet to send [13:43:52]OFD Sender: No OFD packet to send [13:43:57]OFD Sender: No OFD packet to send [13:44:02]OFD Sender: No OFD packet to send [13:44:07]OFD Sender: No OFD packet to send [13:44:12]OFD Sender: No OFD packet to send [13:44:17]OFD Sender: No OFD packet to send [13:44:22]OFD Sender: No OFD packet to send [13:44:27]OFD Sender: No OFD packet to send [13:44:32]OFD Sender: No OFD packet to send [13:44:37]OFD Sender: No OFD packet to send [13:44:42]OFD Sender: No OFD packet to send [13:44:47]OFD Sender: No OFD packet to send [13:44:52]OFD Sender: No OFD packet to send [13:44:57]OFD Sender: No OFD packet to send [13:45:02]OFD Sender: No OFD packet to send [13:45:07]OFD Sender: No OFD packet to send [13:45:12]OFD Sender: No OFD packet to send [13:45:17]OFD Sender: No OFD packet to send [13:45:22]OFD Sender: No OFD packet to send [13:45:27]OFD Sender: No OFD packet to send [13:45:32]OFD Sender: No OFD packet to send [13:45:37]OFD Sender: No OFD packet to send [13:45:42]OFD Sender: No OFD packet to send [13:45:47]OFD Sender: No OFD packet to send [13:45:52]OFD Sender: No OFD packet to send [13:45:57]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]OFD Sender: No OFD packet to send [13:56:32]OFD Sender: No OFD packet to send [13:56:37]OFD Sender: No OFD packet to send [13:56:42]OFD Sender: No OFD packet to send [13:56:47]OFD Sender: No OFD packet to send [13:56:52]OFD Sender: No OFD packet to send [13:56:57]OFD Sender: No OFD packet to send [13:57:02]OFD Sender: No OFD packet to send [13:57:07]OFD Sender: No OFD packet to send [13:57:12]OFD Sender: No OFD packet to send [13:57:15]ConnectInit Can't connect to host [13:57:17]OFD Sender: No OFD packet to send [13:57:22]OFD Sender: No OFD packet to send [13:57:27]OFD Sender: No OFD packet to send [13:57:32]OFD Sender: No OFD packet to send [13:57:37]OFD Sender: No OFD packet to send [13:57:42]OFD Sender: No OFD packet to send [13:57:47]OFD Sender: No OFD packet to send [13:57:52]OFD Sender: No OFD packet to send [13:57:57]OFD Sender: No OFD packet to send [13:58:02]OFD Sender: No OFD packet to send [13:58:07]OFD Sender: No OFD packet to send [13:58:12]OFD Sender: No OFD packet to send [13:58:17]OFD Sender: No OFD packet to send [13:58:22]OFD Sender: No OFD packet to send [13:58:27]OFD Sender: No OFD packet to send [13:58:32]OFD Sender: No OFD packet to send [13:58:37]OFD Sender: No OFD packet to send [13:58:42]OFD Sender: No OFD packet to send [13:58:47]OFD Sender: No OFD packet to send [13:58:52]OFD Sender: No OFD packet to send [13:58:57]OFD Sender: No OFD packet to send [13:59:02]OFD Sender: No OFD packet to send [13:59:07]OFD Sender: No OFD packet to send [13:59:12]OFD Sender: No OFD packet to send [13:59:17]OFD Sender: No OFD packet to send [13:59:22]OFD Sender: No OFD packet to send [13:59:27]OFD Sender: No OFD packet to send [13:59:32]OFD Sender: No OFD packet to send [13:59:37]OFD Sender: No OFD packet to send [13:59:42]OFD Sender: No OFD packet to send [13:59:47]OFD Sender: No OFD packet to send [13:59:52]OFD Sender: No OFD packet to send [13:59:57]OFD Sender: No OFD packet to send [14:00:02]OFD Sender: No OFD packet to send [14:00:07]OFD Sender: No OFD packet to send [14:00:12]OFD Sender: No OFD packet to send [14:00:17]OFD Sender: No OFD packet to send [14:00:22]OFD Sender: No OFD packet to send [14:00:27]OFD Sender: No OFD packet to send [14:00:32]OFD Sender: No OFD packet to send [14:00:37]OFD Sender: No OFD packet to send [14:00:42]OFD Sender: No OFD packet to send [14:00:47]OFD Sender: No OFD packet to send [14:00:52]OFD Sender: No OFD packet to send [14:00:57]OFD Sender: No OFD packet to send [14:01:02]OFD Sender: No OFD packet to send [14:01:07]OFD Sender: No OFD packet to send [14:01:12]OFD Sender: No OFD packet to send [14:01:17]OFD Sender: No OFD packet to send [14:01:22]OFD Sender: No OFD packet to send [14:01:27]OFD Sender: No OFD packet to send [14:01:32]OFD Sender: No OFD packet to send [14:01:37]OFD Sender: No OFD packet to send [14:01:42]OFD Sender: No OFD packet to send [14:01:47]OFD Sender: No OFD packet to send [14:01:52]OFD Sender: No OFD packet to send [14:01:57]OFD Sender: No OFD packet to send [14:02:02]OFD Sender: No OFD packet to send [14:02:07]OFD Sender: No OFD packet to send [14:02:12]OFD Sender: No OFD packet to send [14:02:17]OFD Sender: No OFD packet to send [14:02:22]OFD Sender: No OFD packet to send [14:02:27]OFD Sender: No OFD packet to send [14:02:32]OFD Sender: No OFD packet to send [14:02:37]OFD Sender: No OFD packet to send [14:02:42]OFD Sender: No OFD packet to send [14:02:47]OFD Sender: No OFD packet to send [14:02:52]OFD Sender: No OFD packet to send [14:02:57]OFD Sender: No OFD packet to send [14:03:02]OFD Sender: No OFD packet to send [14:03:07]OFD Sender: No OFD packet to send [14:03:12]OFD Sender: No OFD packet to send [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:32]OFD Sender: No OFD packet to send [14:03:37]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:00]accept exits with 8 [14:06:00]New connection [14:06:00]New thread 3066838372 created [14:06:00]Thread 3066695012 joined [14:06:00]Waiting for new connection... [14:06:00] Sock 8.Parse request [14:06:00]Sock 8.Check first char [14:06:00]Sock 8.First char is OK [14:06:00]request: POST /json_proto HTTP/1.0 [14:06:00]Method: POST [14:06:00]URL: /json_proto [14:06:00]Method is POST - this is cgi request [14:06:00]url: /json_proto [14:06:00]query_string will be loaded in cgi processing [14:06:00]execute_cgi json_proto POST (null) [14:06:00]execute_cgi path=json_proto method=POST [14:06:00]POST find Content-Length [14:06:00]Host: 172.17.35.133:8080 [14:06:00]Content-Length: 673 [14:06:00]Content-Type: application/json [14:06:00] [14:06:00]POST finish read [14:06:00]Found Content-Length = 673 [14:06:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254413", "tax_sys" : 0, "items" : [ { "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:06:00]execute_script... [14:06:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254413", "tax_sys" : 0, "items" : [ { "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:06:00]POST & json_proto [14:06:00]process_json_proto [14:06:00]json parsed OK: [14:06:00]protocol is kg_v1.0 [14:06:00]action value=close_receipt [14:06:00]process_action close_receipt [14:06:00]cmd_close_receipt [14:06:00]MH_GetDate [14:06:00]Write to MH i2c: F0 00 00 71 0C 6C [14:06:00]Write i2c OK [14:06:00]MH_I2C_Read... [14:06:00]Read from MH i2c: F0 [14:06:00]MH_I2C_Read... [14:06:00]Read from MH i2c: F0 09 00 [14:06:00]MH_I2C_Read... [14:06:00]Read from MH i2c: F0 09 00 71 0C 00 CB 9F 6D 66 8C 55 28 65 20 [14:06:00]GetLastDocTimeStamp 1718458301 [14:06:00]current date 1718460363 [14:06:00]FM_GetShiftState [14:06:00]SAM_PROTO_GetShiftState [14:06:00]wFMCommunicate request_size=4 [14:06:00]MH_SAM_APDU [14:06:00]CAPDU: 80 13 01 00 [14:06:00]Write to MH i2c: E2 08 00 72 0C 80 13 01 00 00 00 00 00 FB [14:06:00]Write i2c OK [14:06:00]MH_I2C_Read... [14:06:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:06:00]Read from MH i2c: E2 [14:06:00]MH_I2C_Read... [14:06:00]Read from MH i2c: E2 0E 00 [14:06:00]MH_I2C_Read... [14:06:00]Read from MH i2c: E2 0E 00 72 0C 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 CF [14:06:00]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [14:06:00]wFMCommunicate OK [14:06:00]SAM_PROTO_GetShiftState done [14:06:00]FM_GetShiftState done [14:06:00]opened in 1718410776 [14:06:00]opened+sec_in_day 1718497176 [14:06:00]quantity*price = 19000 [14:06:00]sum+1 = 19001 [14:06:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 43 15.06.2024 14:06 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22198 ФПД: 116584522904685 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T140603&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22198&fm=116584522904685&tin=02508201610067®Number=0000000000099755&sum=19000 0 [14:06:01]StoreToDocumentArchive [14:06:01]shift 326 fd 22198 [14:06:01]save to /storage/0326/doc_00022198 [14:06:01]save last doc name /storage/0326/doc_00022198 to /storage/kkm_last_doc_name [14:06:01]save OK [14:06:01]Clear old archive folders... [14:06:01]ProcessDocumentItem done err = 0, tmpTLVsize=297 [14:06:01]tlvbuf is 0018DAD0 [14:06:01]SAM_PROTO_ClearQueue [14:06:01]wFMCommunicate request_size=4 [14:06:01]MH_SAM_APDU [14:06:01]CAPDU: 80 09 00 00 [14:06:01]Write to MH i2c: E2 08 00 7F 0C 80 09 00 00 00 00 00 00 FD [14:06:01]Write i2c OK [14:06:01]MH_I2C_Read... [14:06:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:06:01]Read from MH i2c: E2 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 03 00 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 03 00 7F 0C 00 90 00 FF [14:06:01]RAPDU: 90 00 [14:06:01]wFMCommunicate OK [14:06:01]SAM_PROTO_ClearQueue done [14:06:01]KKMCreateOFDPacket [14:06:01]OFDProtocolAddRootSTLVToBuf [14:06:01]FM_MakeSignedData [14:06:01]FM_MakeSignedData [14:06:01]SAM_PROTO_SignData [14:06:01]wFMCommunicate request_size=4 [14:06:01]MH_SAM_APDU [14:06:01]CAPDU: 80 0D 01 02 [14:06:01]Write to MH i2c: E2 08 00 80 0C 80 0D 01 02 00 00 00 00 05 [14:06:01]Write i2c OK [14:06:01]MH_I2C_Read... [14:06:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:06:01]Read from MH i2c: E2 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 03 00 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 03 00 80 0C 00 90 00 00 [14:06:01]RAPDU: 90 00 [14:06:01]wFMCommunicate OK [14:06:01]wFMCommunicate request_size=255 [14:06:01]MH_SAM_APDU [14:06:01]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 CB 9F 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [14:06:01]Write to MH i2c: E2 02 01 81 0C 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 CB 9F 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 E5 [14:06:01]Write i2c OK [14:06:01]MH_I2C_Read... [14:06:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:06:01]Read from MH i2c: E2 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 03 00 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 03 00 81 0C 00 90 00 01 [14:06:01]RAPDU: 90 00 [14:06:01]wFMCommunicate OK [14:06:01]wFMCommunicate request_size=56 [14:06:01]MH_SAM_APDU [14:06:01]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B6 56 00 00 35 04 06 00 6A 08 73 12 F4 6D [14:06:01]Write to MH i2c: E2 3B 00 82 0C 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B6 56 00 00 35 04 06 00 6A 08 73 12 F4 6D 00 00 00 [14:06:01]Write i2c OK [14:06:01]MH_I2C_Read... [14:06:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:06:01]Read from MH i2c: E2 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 03 00 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 03 00 82 0C 00 90 00 02 [14:06:01]RAPDU: 90 00 [14:06:01]wFMCommunicate OK [14:06:01]wFMCommunicate request_size=4 [14:06:01]MH_SAM_APDU [14:06:01]CAPDU: 80 0D 03 02 [14:06:01]Write to MH i2c: E2 08 00 83 0C 80 0D 03 02 00 00 00 00 0A [14:06:01]Write i2c OK [14:06:01]MH_I2C_Read... [14:06:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:06:01]Read from MH i2c: E2 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 0B 00 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 0B 00 83 0C 00 E5 5F 83 CE 19 E9 43 D7 90 00 BC [14:06:01]RAPDU: E5 5F 83 CE 19 E9 43 D7 90 00 [14:06:01]wFMCommunicate OK [14:06:01]SAM_PROTO_SignData done [14:06:01]FM_MakeSignedData done [14:06:01]CreateOFDProtocolMessage [14:06:01]wFMCommunicate request_size=4 [14:06:01]MH_SAM_APDU [14:06:01]CAPDU: 80 11 00 00 [14:06:01]Write to MH i2c: E2 08 00 84 0C 80 11 00 00 00 00 00 00 0A [14:06:01]Write i2c OK [14:06:01]MH_I2C_Read... [14:06:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:06:01]Read from MH i2c: E2 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 17 00 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: E2 17 00 84 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 5C [14:06:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:06:01]wFMCommunicate OK [14:06:01]CreateOFDProtocolMessage done [14:06:01]OFDSenderStorePacket 22198 [14:06:01]StoreOFDPacket docnum=22198 [14:06:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3D 01 00 00 55 58 35 01 F0 74 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 CB 9F 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B6 56 00 00 35 04 06 00 6A 08 73 12 F4 6D E5 5F 83 CE 19 E9 43 D7 [14:06:01]CheckFolder [14:06:01]dirname=/storage/ofd_packets [14:06:01]CheckFolder done [14:06:01]ProducePacketName [14:06:01]name=ofd_packets/00022198 [14:06:01]NVStorageSaveData ofd_packets/00022198 [14:06:01]File name is /storage/ofd_packets/00022198 [14:06:01]Write 347 bytes [14:06:01]NVStorageSaveData done [14:06:01]OFDSenderStorePacket done [14:06:01]KKMCreateOFDPacket done [14:06:01]NVStorageSaveData kkm_last_timestamp [14:06:01]File name is /storage/kkm_last_timestamp [14:06:01]Write 4 bytes [14:06:01]NVStorageSaveData done [14:06:01]ExternCall_PrintAddStr [14:06:01]wPrintStart [14:06:01]Write to MH i2c: 01 00 00 85 0C 91 [14:06:01]Write i2c OK [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: 01 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: 01 07 00 [14:06:01]MH_I2C_Read... [14:06:01]Read from MH i2c: 01 07 00 85 0C 00 00 00 00 00 FF 0F A6 [14:06:01]RasterBufferAndPrint [14:06:01]line Счет N : (3)254413 [14:06:01]line ИНН: 02508201610067 [14:06:01]line Контрольно-Кассовый Чек [14:06:01]line ПРОДАЖА [14:06:01]line Товар: 4700041420084 [14:06:01]line Салфетки влажн BEST ANTIBACTERIAL 100 шт [14:06:01]line 1.000 * 190.00 [14:06:01]line = 190.00 [14:06:01]line НДС 12% НСП 1% [14:06:01]line > о реализуемом товаре [14:06:01]line ИТОГО: 190.00 [14:06:01]line НСП 1% : 1.68 [14:06:01]line НДС 12% : 20.18 [14:06:01]line Наличными: 190.00 [14:06:01]line Безнал.: 0.00 [14:06:01]line Место: АЗС № 76 "Партнер Нефть" [14:06:01]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:06:01]line СНО: Общий режим [14:06:01]line Чек 43 15.06.2024 14:06 [14:06:01]line Смена: 326 ФФД: 1.0 [14:06:01]line ЗНМ: 0300000200 [14:06:01]line РНМ: 0000000000099755 [14:06:01]line Версия ККМ: 001 [14:06:01]line ФМ: 0000000000965344 [14:06:01]line ФД: 22198 [14:06:01]line ФПД: 116584522904685 [14:06:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T140603&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22198&fm=116584522904685&tin=02508201610067®Number=0000000000099755&sum=19000 [14:06:02]line 0 [14:06:02]OFD Sender: Processing packet 22198 [packets to send 5, broken 4] [14:06:02]ProducePacketName [14:06:02]name=ofd_packets/00022198 [14:06:02]OFD Sender: To server: pG, [14:06:02]CommunicateWithHost lk.salyk.kg:30040 [14:06:02]ConnectInit lk.salyk.kg [14:06:02]written 0, free lines is 4095 [14:06:02]Connected sock=11 [14:06:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3D 01 00 00 55 58 35 01 F0 74 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 CB 9F 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B6 56 00 00 35 04 06 00 6A 08 73 12 F4 6D E5 5F 83 CE 19 E9 43 D7 [14:06:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 DB 14 47 00 F1 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B6 56 00 00 F4 03 04 00 88 48 6D 66 B6 04 01 00 00 F8 EB C4 7F F0 1F BD 55 [14:06:02]CommunicateWithHost err = 0 [14:06:02]CheckOFDResponse [14:06:02]1017 (14) - 77093643461234 [14:06:02]1041 (16) - 0000000000965344 [14:06:02]1040 (4) - 22198 [14:06:02]1012 (4) - 15.06.2024 07:53 [14:06:02]1206 (1) - 0 [14:06:02]OFD Sender: Remove packet 22198 [14:06:02]ProducePacketName [14:06:02]name=ofd_packets/00022198 [14:06:02]NVStorageDeleteData [14:06:02]Write to MH i2c: 01 00 00 AE 0C BA [14:06:02]Write i2c OK [14:06:02]MH_I2C_Read... [14:06:02]Read from MH i2c: 01 [14:06:02]MH_I2C_Read... [14:06:02]Read from MH i2c: 01 07 00 [14:06:02]MH_I2C_Read... [14:06:02]Read from MH i2c: 01 07 00 AE 0C 00 00 00 00 00 0C 0D DA [14:06:02]RasterBufferAndPrint [14:06:02]line [14:06:02]line [14:06:02]line [14:06:02]line [14:06:02]line [14:06:02]written 0, free lines is 3346 [14:06:02]MH_Cut [14:06:02]Write to MH i2c: D1 01 00 B5 0C 01 93 [14:06:02]Write i2c OK [14:06:02]MH_I2C_Read... [14:06:02]Read from MH i2c: D1 [14:06:02]MH_I2C_Read... [14:06:02]Read from MH i2c: D1 01 00 [14:06:02]MH_I2C_Read... [14:06:02]Read from MH i2c: D1 01 00 B5 0C 00 92 [14:06:02]Write to MH i2c: 01 00 00 B6 0C C2 [14:06:02]Write i2c OK [14:06:02]MH_I2C_Read... [14:06:03]OFD Sender: No OFD packet to send [14:06:03]*** Cut start [14:06:03]*** Partial cut [14:06:03]*** CUTSNS_PIN = 1 [14:06:03]*** CUTSNS_PIN = 0 [14:06:03]*** Brake cut motor [14:06:03]Read from MH i2c: 01 [14:06:03]MH_I2C_Read... [14:06:03]*** Stop cut motor [14:06:03]*** Cut end [14:06:03]Read from MH i2c: 01 07 00 [14:06:03]MH_I2C_Read... [14:06:03]Read from MH i2c: 01 07 00 B6 0C 00 00 00 00 00 FF 0F D7 [14:06:03]process_action close_receipt done [14:06:03]requested_data is exist [14:06:03]produce_requested_data [14:06:03]requested_item fm.sn is exist - process it [14:06:03]wFMCommunicate request_size=4 [14:06:03]MH_SAM_APDU [14:06:03]CAPDU: 80 11 00 00 [14:06:03]Write to MH i2c: E2 08 00 B7 0C 80 11 00 00 00 00 00 00 3D [14:06:03]Write i2c OK [14:06:03]MH_I2C_Read... [14:06:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:06:03]Read from MH i2c: E2 [14:06:03]MH_I2C_Read... [14:06:03]Read from MH i2c: E2 17 00 [14:06:03]MH_I2C_Read... [14:06:03]Read from MH i2c: E2 17 00 B7 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8F [14:06:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:06:03]wFMCommunicate OK [14:06:03]requested_item fd.num is exist - process it [14:06:03]SAM_PROTO_GetFieldsCounters [14:06:03]wFMCommunicate request_size=4 [14:06:03]MH_SAM_APDU [14:06:03]CAPDU: 80 13 00 00 [14:06:03]Write to MH i2c: E2 08 00 B8 0C 80 13 00 00 00 00 00 00 40 [14:06:03]Write i2c OK [14:06:03]MH_I2C_Read... [14:06:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:06:04]Read from MH i2c: E2 [14:06:04]MH_I2C_Read... [14:06:04]Read from MH i2c: E2 62 00 [14:06:04]MH_I2C_Read... [14:06:04]Read from MH i2c: E2 62 00 B8 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B6 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [14:06:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B6 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:06:04]wFMCommunicate OK [14:06:04]SAM_PROTO_GetFieldsCounters done [14:06:04]requested_item shift.num is exist - process it [14:06:04]requested_item shift.opened is exist - process it [14:06:04]req_shift_opened [14:06:04]FM_GetShiftState [14:06:04]SAM_PROTO_GetShiftState [14:06:04]wFMCommunicate request_size=4 [14:06:04]MH_SAM_APDU [14:06:04]CAPDU: 80 13 01 00 [14:06:04]Write to MH i2c: E2 08 00 B9 0C 80 13 01 00 00 00 00 00 42 [14:06:04]Write i2c OK [14:06:04]MH_I2C_Read... [14:06:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:06:04]Read from MH i2c: E2 [14:06:04]MH_I2C_Read... [14:06:04]Read from MH i2c: E2 0E 00 [14:06:04]MH_I2C_Read... [14:06:04]Read from MH i2c: E2 0E 00 B9 0C 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 16 [14:06:04]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [14:06:04]wFMCommunicate OK [14:06:04]SAM_PROTO_GetShiftState done [14:06:04]FM_GetShiftState done [14:06:04]req_shift_opened done [14:06:04]requested_item shift.open_date is exist - process it [14:06:04]req_shift_open_date [14:06:04]req_shift_open_date done [14:06:04]produce_requested_data done [14:06:04]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22198,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [14:06:04]process_action_free close_receipt [14:06:04]json_value_free [14:06:04]json_value_free done [14:06:04]process_json_proto returns [14:06:04]Send response to host [14:06:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22198,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [14:06:04]free response buf [14:06:04]execute_script done [14:06:04]execute_script returns [14:06:04]free content buf [14:06:04]Sock 8.Close socket [14:06:04]Sock 8.Thread stoped [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:41]accept exits with 9 [14:07:41]New connection [14:07:41]New thread 3066695012 created [14:07:41]Thread 3066838372 joined [14:07:41]Waiting for new connection... [14:07:41] Sock 9.Parse request [14:07:41]Sock 9.Check first char [14:07:41]Sock 9.First char is OK [14:07:41]request: POST /json_proto HTTP/1.0 [14:07:41]Method: POST [14:07:41]URL: /json_proto [14:07:41]Method is POST - this is cgi request [14:07:41]url: /json_proto [14:07:41]query_string will be loaded in cgi processing [14:07:41]execute_cgi json_proto POST (null) [14:07:41]execute_cgi path=json_proto method=POST [14:07:41]POST find Content-Length [14:07:41]Host: 172.17.35.133:8080 [14:07:41]Content-Length: 643 [14:07:41]Content-Type: application/json [14:07:41] [14:07:41]POST finish read [14:07:41]Found Content-Length = 643 [14:07:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254414", "tax_sys" : 0, "items" : [ { "code": "46198051", "name": "\u0420/\u0436 mentos pure white \u043D\u0435\u0436\u043D \u043C\u044F\u0442\u0430 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:07:41]execute_script... [14:07:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254414", "tax_sys" : 0, "items" : [ { "code": "46198051", "name": "\u0420/\u0436 mentos pure white \u043D\u0435\u0436\u043D \u043C\u044F\u0442\u0430 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:07:41]POST & json_proto [14:07:41]process_json_proto [14:07:41]json parsed OK: [14:07:41]protocol is kg_v1.0 [14:07:41]action value=close_receipt [14:07:41]process_action close_receipt [14:07:41]cmd_close_receipt [14:07:41]MH_GetDate [14:07:41]Write to MH i2c: F0 00 00 BA 0C B5 [14:07:41]Write i2c OK [14:07:41]MH_I2C_Read... [14:07:41]Read from MH i2c: F0 [14:07:41]MH_I2C_Read... [14:07:41]Read from MH i2c: F0 09 00 [14:07:41]MH_I2C_Read... [14:07:41]Read from MH i2c: F0 09 00 BA 0C 00 30 A0 6D 66 8C 55 28 65 CF [14:07:41]GetLastDocTimeStamp 1718460363 [14:07:41]current date 1718460464 [14:07:41]FM_GetShiftState [14:07:41]SAM_PROTO_GetShiftState [14:07:41]wFMCommunicate request_size=4 [14:07:41]MH_SAM_APDU [14:07:41]CAPDU: 80 13 01 00 [14:07:41]Write to MH i2c: E2 08 00 BB 0C 80 13 01 00 00 00 00 00 44 [14:07:41]Write i2c OK [14:07:41]MH_I2C_Read... [14:07:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:07:41]Read from MH i2c: E2 [14:07:41]MH_I2C_Read... [14:07:41]Read from MH i2c: E2 0E 00 [14:07:41]MH_I2C_Read... [14:07:41]Read from MH i2c: E2 0E 00 BB 0C 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 18 [14:07:41]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [14:07:41]wFMCommunicate OK [14:07:41]SAM_PROTO_GetShiftState done [14:07:41]FM_GetShiftState done [14:07:41]opened in 1718410776 [14:07:41]opened+sec_in_day 1718497176 [14:07:41]quantity*price = 20500 [14:07:41]sum+1 = 20501 [14:07:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 44 15.06.2024 14:07 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22199 ФПД: 75285138955278 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T140744&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22199&fm=75285138955278&tin=02508201610067®Number=0000000000099755&sum=20500 0 [14:07:42]StoreToDocumentArchive [14:07:42]shift 326 fd 22199 [14:07:42]save to /storage/0326/doc_00022199 [14:07:42]save last doc name /storage/0326/doc_00022199 to /storage/kkm_last_doc_name [14:07:42]save OK [14:07:42]Clear old archive folders... [14:07:42]ProcessDocumentItem done err = 0, tmpTLVsize=283 [14:07:42]tlvbuf is 001F5BB0 [14:07:42]SAM_PROTO_ClearQueue [14:07:42]wFMCommunicate request_size=4 [14:07:42]MH_SAM_APDU [14:07:42]CAPDU: 80 09 00 00 [14:07:42]Write to MH i2c: E2 08 00 C8 0C 80 09 00 00 00 00 00 00 46 [14:07:42]Write i2c OK [14:07:42]MH_I2C_Read... [14:07:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:07:42]Read from MH i2c: E2 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 03 00 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 03 00 C8 0C 00 90 00 48 [14:07:42]RAPDU: 90 00 [14:07:42]wFMCommunicate OK [14:07:42]SAM_PROTO_ClearQueue done [14:07:42]KKMCreateOFDPacket [14:07:42]OFDProtocolAddRootSTLVToBuf [14:07:42]FM_MakeSignedData [14:07:42]FM_MakeSignedData [14:07:42]SAM_PROTO_SignData [14:07:42]wFMCommunicate request_size=4 [14:07:42]MH_SAM_APDU [14:07:42]CAPDU: 80 0D 01 02 [14:07:42]Write to MH i2c: E2 08 00 C9 0C 80 0D 01 02 00 00 00 00 4E [14:07:42]Write i2c OK [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 [14:07:42]MH_I2C_Read... [14:07:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:07:42]Read from MH i2c: E2 03 00 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 03 00 C9 0C 00 90 00 49 [14:07:42]RAPDU: 90 00 [14:07:42]wFMCommunicate OK [14:07:42]wFMCommunicate request_size=255 [14:07:42]MH_SAM_APDU [14:07:42]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 30 A0 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 [14:07:42]Write to MH i2c: E2 02 01 CA 0C 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 30 A0 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 00 00 63 [14:07:42]Write i2c OK [14:07:42]MH_I2C_Read... [14:07:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:07:42]Read from MH i2c: E2 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 03 00 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 03 00 CA 0C 00 90 00 4A [14:07:42]RAPDU: 90 00 [14:07:42]wFMCommunicate OK [14:07:42]wFMCommunicate request_size=42 [14:07:42]MH_SAM_APDU [14:07:42]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B7 56 00 00 35 04 06 00 44 78 AF F6 DC 0E [14:07:42]Write to MH i2c: E2 2D 00 CB 0C 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B7 56 00 00 35 04 06 00 44 78 AF F6 DC 0E 00 00 7D [14:07:42]Write i2c OK [14:07:42]MH_I2C_Read... [14:07:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:07:42]Read from MH i2c: E2 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 03 00 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 03 00 CB 0C 00 90 00 4B [14:07:42]RAPDU: 90 00 [14:07:42]wFMCommunicate OK [14:07:42]wFMCommunicate request_size=4 [14:07:42]MH_SAM_APDU [14:07:42]CAPDU: 80 0D 03 02 [14:07:42]Write to MH i2c: E2 08 00 CC 0C 80 0D 03 02 00 00 00 00 53 [14:07:42]Write i2c OK [14:07:42]MH_I2C_Read... [14:07:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:07:42]Read from MH i2c: E2 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 0B 00 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 0B 00 CC 0C 00 AA A2 58 C0 AA 6E F6 40 90 00 06 [14:07:42]RAPDU: AA A2 58 C0 AA 6E F6 40 90 00 [14:07:42]wFMCommunicate OK [14:07:42]SAM_PROTO_SignData done [14:07:42]FM_MakeSignedData done [14:07:42]CreateOFDProtocolMessage [14:07:42]wFMCommunicate request_size=4 [14:07:42]MH_SAM_APDU [14:07:42]CAPDU: 80 11 00 00 [14:07:42]Write to MH i2c: E2 08 00 CD 0C 80 11 00 00 00 00 00 00 53 [14:07:42]Write i2c OK [14:07:42]MH_I2C_Read... [14:07:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:07:42]Read from MH i2c: E2 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 17 00 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: E2 17 00 CD 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A5 [14:07:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:07:42]wFMCommunicate OK [14:07:42]CreateOFDProtocolMessage done [14:07:42]OFDSenderStorePacket 22199 [14:07:42]StoreOFDPacket docnum=22199 [14:07:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2F 01 00 00 C6 9D 27 01 D4 13 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 30 A0 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B7 56 00 00 35 04 06 00 44 78 AF F6 DC 0E AA A2 58 C0 AA 6E F6 40 [14:07:42]CheckFolder [14:07:42]dirname=/storage/ofd_packets [14:07:42]CheckFolder done [14:07:42]ProducePacketName [14:07:42]name=ofd_packets/00022199 [14:07:42]NVStorageSaveData ofd_packets/00022199 [14:07:42]File name is /storage/ofd_packets/00022199 [14:07:42]Write 333 bytes [14:07:42]NVStorageSaveData done [14:07:42]OFDSenderStorePacket done [14:07:42]KKMCreateOFDPacket done [14:07:42]NVStorageSaveData kkm_last_timestamp [14:07:42]File name is /storage/kkm_last_timestamp [14:07:42]Write 4 bytes [14:07:42]NVStorageSaveData done [14:07:42]ExternCall_PrintAddStr [14:07:42]wPrintStart [14:07:42]Write to MH i2c: 01 00 00 CE 0C DA [14:07:42]Write i2c OK [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: 01 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: 01 07 00 [14:07:42]MH_I2C_Read... [14:07:42]Read from MH i2c: 01 07 00 CE 0C 00 00 00 00 00 FF 0F EF [14:07:42]RasterBufferAndPrint [14:07:42]line Счет N : (3)254414 [14:07:42]line ИНН: 02508201610067 [14:07:42]line Контрольно-Кассовый Чек [14:07:42]line ПРОДАЖА [14:07:42]line Товар: 46198051 [14:07:42]line Р/ж mentos pure white нежн мята 54г [14:07:42]line 1.000 * 205.00 [14:07:42]line = 205.00 [14:07:42]line НДС 12% НСП 1% [14:07:42]line > о реализуемом товаре [14:07:42]line ИТОГО: 205.00 [14:07:42]line НСП 1% : 1.81 [14:07:42]line НДС 12% : 21.77 [14:07:42]line Наличными: 205.00 [14:07:42]line Безнал.: 0.00 [14:07:42]line Место: АЗС № 76 "Партнер Нефть" [14:07:42]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:07:42]line СНО: Общий режим [14:07:42]line Чек 44 15.06.2024 14:07 [14:07:43]line Смена: 326 ФФД: 1.0 [14:07:43]line ЗНМ: 0300000200 [14:07:43]line РНМ: 0000000000099755 [14:07:43]line Версия ККМ: 001 [14:07:43]line ФМ: 0000000000965344 [14:07:43]line ФД: 22199 [14:07:43]line ФПД: 75285138955278 [14:07:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T140744&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22199&fm=75285138955278&tin=02508201610067®Number=0000000000099755&sum=20500 [14:07:43]line 0 [14:07:43]OFD Sender: Processing packet 22199 [packets to send 5, broken 4] [14:07:43]ProducePacketName [14:07:43]name=ofd_packets/00022199 [14:07:43]OFD Sender: To server: pG, [14:07:43]CommunicateWithHost lk.salyk.kg:30040 [14:07:43]ConnectInit lk.salyk.kg [14:07:43]written 0, free lines is 4095 [14:07:43]Connected sock=10 [14:07:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2F 01 00 00 C6 9D 27 01 D4 13 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 30 A0 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B7 56 00 00 35 04 06 00 44 78 AF F6 DC 0E AA A2 58 C0 AA 6E F6 40 [14:07:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 DE 65 47 00 91 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B7 56 00 00 F4 03 04 00 ED 48 6D 66 B6 04 01 00 00 CE AD BB 3D 3F A0 4A 99 [14:07:43]CommunicateWithHost err = 0 [14:07:43]CheckOFDResponse [14:07:43]1017 (14) - 77093643461234 [14:07:43]1041 (16) - 0000000000965344 [14:07:43]1040 (4) - 22199 [14:07:43]1012 (4) - 15.06.2024 07:55 [14:07:43]1206 (1) - 0 [14:07:43]OFD Sender: Remove packet 22199 [14:07:43]ProducePacketName [14:07:43]name=ofd_packets/00022199 [14:07:43]NVStorageDeleteData [14:07:43]Write to MH i2c: 01 00 00 F7 0C 03 [14:07:43]Write i2c OK [14:07:43]MH_I2C_Read... [14:07:43]Read from MH i2c: 01 [14:07:43]MH_I2C_Read... [14:07:43]Read from MH i2c: 01 07 00 [14:07:43]MH_I2C_Read... [14:07:43]Read from MH i2c: 01 07 00 F7 0C 00 00 00 00 00 04 0D 1B [14:07:43]RasterBufferAndPrint [14:07:43]line [14:07:43]line [14:07:43]line [14:07:43]line [14:07:43]line [14:07:43]written 0, free lines is 3338 [14:07:43]MH_Cut [14:07:43]Write to MH i2c: D1 01 00 FE 0C 01 DC [14:07:43]Write i2c OK [14:07:43]MH_I2C_Read... [14:07:43]Read from MH i2c: D1 [14:07:43]MH_I2C_Read... [14:07:43]Read from MH i2c: D1 01 00 [14:07:43]MH_I2C_Read... [14:07:43]Read from MH i2c: D1 01 00 FE 0C 00 DB [14:07:43]Write to MH i2c: 01 00 00 FF 0C 0B [14:07:43]Write i2c OK [14:07:43]MH_I2C_Read... [14:07:43]OFD Sender: No OFD packet to send [14:07:44]*** Cut start [14:07:44]*** Partial cut [14:07:44]*** CUTSNS_PIN = 1 [14:07:44]*** CUTSNS_PIN = 0 [14:07:44]*** Brake cut motor [14:07:44]Read from MH i2c: 01 [14:07:44]MH_I2C_Read... [14:07:44]*** Stop cut motor [14:07:44]*** Cut end [14:07:44]Read from MH i2c: 01 07 00 [14:07:44]MH_I2C_Read... [14:07:44]Read from MH i2c: 01 07 00 FF 0C 00 00 00 00 00 FF 0F 20 [14:07:44]process_action close_receipt done [14:07:44]requested_data is exist [14:07:44]produce_requested_data [14:07:44]requested_item fm.sn is exist - process it [14:07:44]wFMCommunicate request_size=4 [14:07:44]MH_SAM_APDU [14:07:44]CAPDU: 80 11 00 00 [14:07:44]Write to MH i2c: E2 08 00 00 0D 80 11 00 00 00 00 00 00 87 [14:07:44]Write i2c OK [14:07:44]MH_I2C_Read... [14:07:44]Read from MH i2c: E2 [14:07:44]MH_I2C_Read... [14:07:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:07:44]Read from MH i2c: E2 17 00 [14:07:44]MH_I2C_Read... [14:07:44]Read from MH i2c: E2 17 00 00 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D9 [14:07:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:07:44]wFMCommunicate OK [14:07:44]requested_item fd.num is exist - process it [14:07:44]SAM_PROTO_GetFieldsCounters [14:07:44]wFMCommunicate request_size=4 [14:07:44]MH_SAM_APDU [14:07:44]CAPDU: 80 13 00 00 [14:07:44]Write to MH i2c: E2 08 00 01 0D 80 13 00 00 00 00 00 00 8A [14:07:44]Write i2c OK [14:07:44]MH_I2C_Read... [14:07:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:07:45]Read from MH i2c: E2 [14:07:45]MH_I2C_Read... [14:07:45]Read from MH i2c: E2 62 00 [14:07:45]MH_I2C_Read... [14:07:45]Read from MH i2c: E2 62 00 01 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B7 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [14:07:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B7 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:07:45]wFMCommunicate OK [14:07:45]SAM_PROTO_GetFieldsCounters done [14:07:45]requested_item shift.num is exist - process it [14:07:45]requested_item shift.opened is exist - process it [14:07:45]req_shift_opened [14:07:45]FM_GetShiftState [14:07:45]SAM_PROTO_GetShiftState [14:07:45]wFMCommunicate request_size=4 [14:07:45]MH_SAM_APDU [14:07:45]CAPDU: 80 13 01 00 [14:07:45]Write to MH i2c: E2 08 00 02 0D 80 13 01 00 00 00 00 00 8C [14:07:45]Write i2c OK [14:07:45]MH_I2C_Read... [14:07:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:07:45]Read from MH i2c: E2 [14:07:45]MH_I2C_Read... [14:07:45]Read from MH i2c: E2 0E 00 [14:07:45]MH_I2C_Read... [14:07:45]Read from MH i2c: E2 0E 00 02 0D 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 60 [14:07:45]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [14:07:45]wFMCommunicate OK [14:07:45]SAM_PROTO_GetShiftState done [14:07:45]FM_GetShiftState done [14:07:45]req_shift_opened done [14:07:45]requested_item shift.open_date is exist - process it [14:07:45]req_shift_open_date [14:07:45]req_shift_open_date done [14:07:45]produce_requested_data done [14:07:45]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22199,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [14:07:45]process_action_free close_receipt [14:07:45]json_value_free [14:07:45]json_value_free done [14:07:45]process_json_proto returns [14:07:45]Send response to host [14:07:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22199,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [14:07:45]free response buf [14:07:45]execute_script done [14:07:45]execute_script returns [14:07:45]free content buf [14:07:45]Sock 9.Close socket [14:07:45]Sock 9.Thread stoped [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:04]OFD Sender: No OFD packet to send [14:08:09]OFD Sender: No OFD packet to send [14:08:14]OFD Sender: No OFD packet to send [14:08:19]OFD Sender: No OFD packet to send [14:08:24]OFD Sender: No OFD packet to send [14:08:29]OFD Sender: No OFD packet to send [14:08:34]OFD Sender: No OFD packet to send [14:08:39]OFD Sender: No OFD packet to send [14:08:44]OFD Sender: No OFD packet to send [14:08:49]OFD Sender: No OFD packet to send [14:08:54]OFD Sender: No OFD packet to send [14:08:59]OFD Sender: No OFD packet to send [14:09:04]OFD Sender: No OFD packet to send [14:09:09]OFD Sender: No OFD packet to send [14:09:14]OFD Sender: No OFD packet to send [14:09:19]OFD Sender: No OFD packet to send [14:09:24]OFD Sender: No OFD packet to send [14:09:29]OFD Sender: No OFD packet to send [14:09:34]OFD Sender: No OFD packet to send [14:09:39]OFD Sender: No OFD packet to send [14:09:44]OFD Sender: No OFD packet to send [14:09:49]OFD Sender: No OFD packet to send [14:09:54]OFD Sender: No OFD packet to send [14:09:59]OFD Sender: No OFD packet to send [14:10:04]OFD Sender: No OFD packet to send [14:10:09]OFD Sender: No OFD packet to send [14:10:14]OFD Sender: No OFD packet to send [14:10:19]OFD Sender: No OFD packet to send [14:10:24]OFD Sender: No OFD packet to send [14:10:29]OFD Sender: No OFD packet to send [14:10:34]OFD Sender: No OFD packet to send [14:10:39]OFD Sender: No OFD packet to send [14:10:44]OFD Sender: No OFD packet to send [14:10:49]OFD Sender: No OFD packet to send [14:10:54]OFD Sender: No OFD packet to send [14:10:59]OFD Sender: No OFD packet to send [14:11:04]OFD Sender: No OFD packet to send [14:11:05]accept exits with 8 [14:11:05]New connection [14:11:05]New thread 3066838372 created [14:11:05]Thread 3066695012 joined [14:11:05]Waiting for new connection... [14:11:05] Sock 8.Parse request [14:11:05]Sock 8.Check first char [14:11:05]Sock 8.First char is OK [14:11:05]request: POST /json_proto HTTP/1.0 [14:11:05]Method: POST [14:11:05]URL: /json_proto [14:11:05]Method is POST - this is cgi request [14:11:05]url: /json_proto [14:11:05]query_string will be loaded in cgi processing [14:11:05]execute_cgi json_proto POST (null) [14:11:05]execute_cgi path=json_proto method=POST [14:11:05]POST find Content-Length [14:11:05]Host: 172.17.35.133:8080 [14:11:05]Content-Length: 919 [14:11:05]Content-Type: application/json [14:11:05] [14:11:05]POST finish read [14:11:05]Found Content-Length = 919 [14:11:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254415", "tax_sys" : 0, "items" : [ { "code": "4607120852531", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043C-\u0437\u0435\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120852456", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043B-\u0441\u044B\u0440", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:11:05]execute_script... [14:11:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254415", "tax_sys" : 0, "items" : [ { "code": "4607120852531", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043C-\u0437\u0435\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120852456", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043B-\u0441\u044B\u0440", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:11:05]POST & json_proto [14:11:05]process_json_proto [14:11:05]json parsed OK: [14:11:05]protocol is kg_v1.0 [14:11:05]action value=close_receipt [14:11:05]process_action close_receipt [14:11:05]cmd_close_receipt [14:11:05]MH_GetDate [14:11:05]Write to MH i2c: F0 00 00 03 0D FF [14:11:05]Write i2c OK [14:11:05]MH_I2C_Read... [14:11:05]Read from MH i2c: F0 [14:11:05]MH_I2C_Read... [14:11:05]Read from MH i2c: F0 09 00 [14:11:05]MH_I2C_Read... [14:11:05]Read from MH i2c: F0 09 00 03 0D 00 FC A0 6D 66 8C 55 28 65 E5 [14:11:05]GetLastDocTimeStamp 1718460464 [14:11:05]current date 1718460668 [14:11:05]FM_GetShiftState [14:11:05]SAM_PROTO_GetShiftState [14:11:05]wFMCommunicate request_size=4 [14:11:05]MH_SAM_APDU [14:11:05]CAPDU: 80 13 01 00 [14:11:05]Write to MH i2c: E2 08 00 04 0D 80 13 01 00 00 00 00 00 8E [14:11:05]Write i2c OK [14:11:05]MH_I2C_Read... [14:11:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:05]Read from MH i2c: E2 [14:11:05]MH_I2C_Read... [14:11:05]Read from MH i2c: E2 0E 00 [14:11:05]MH_I2C_Read... [14:11:05]Read from MH i2c: E2 0E 00 04 0D 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 62 [14:11:05]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [14:11:05]wFMCommunicate OK [14:11:05]SAM_PROTO_GetShiftState done [14:11:05]FM_GetShiftState done [14:11:05]opened in 1718410776 [14:11:05]opened+sec_in_day 1718497176 [14:11:05]quantity*price = 4000 [14:11:05]sum+1 = 4001 [14:11:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607120852456 Кириешки Light 80 г сл-сыр 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.70 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 45 15.06.2024 14:11 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22200 ФПД: 29848772996494 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T141108&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22200&fm=29848772996494&tin=02508201610067®Number=0000000000099755&sum=8000 0 [14:11:06]StoreToDocumentArchive [14:11:06]shift 326 fd 22200 [14:11:06]save to /storage/0326/doc_00022200 [14:11:06]save last doc name /storage/0326/doc_00022200 to /storage/kkm_last_doc_name [14:11:06]save OK [14:11:06]Clear old archive folders... [14:11:06]ProcessDocumentItem done err = 0, tmpTLVsize=394 [14:11:06]tlvbuf is 00204B80 [14:11:06]SAM_PROTO_ClearQueue [14:11:06]wFMCommunicate request_size=4 [14:11:06]MH_SAM_APDU [14:11:06]CAPDU: 80 09 00 00 [14:11:06]Write to MH i2c: E2 08 00 11 0D 80 09 00 00 00 00 00 00 90 [14:11:06]Write i2c OK [14:11:06]MH_I2C_Read... [14:11:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:11:06]Read from MH i2c: E2 [14:11:06]MH_I2C_Read... [14:11:06]Read from MH i2c: E2 03 00 [14:11:06]MH_I2C_Read... [14:11:06]Read from MH i2c: E2 03 00 11 0D 00 90 00 92 [14:11:06]RAPDU: 90 00 [14:11:06]wFMCommunicate OK [14:11:06]SAM_PROTO_ClearQueue done [14:11:06]KKMCreateOFDPacket [14:11:06]OFDProtocolAddRootSTLVToBuf [14:11:06]FM_MakeSignedData [14:11:06]FM_MakeSignedData [14:11:06]SAM_PROTO_SignData [14:11:06]wFMCommunicate request_size=4 [14:11:06]MH_SAM_APDU [14:11:06]CAPDU: 80 0D 01 02 [14:11:06]Write to MH i2c: E2 08 00 12 0D 80 0D 01 02 00 00 00 00 98 [14:11:06]Write i2c OK [14:11:06]MH_I2C_Read... [14:11:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:11:06]Read from MH i2c: E2 [14:11:06]MH_I2C_Read... [14:11:06]Read from MH i2c: E2 03 00 [14:11:06]MH_I2C_Read... [14:11:06]Read from MH i2c: E2 03 00 12 0D 00 90 00 93 [14:11:06]RAPDU: 90 00 [14:11:06]wFMCommunicate OK [14:11:06]wFMCommunicate request_size=255 [14:11:06]MH_SAM_APDU [14:11:06]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 34 35 36 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BB 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F [14:11:06]Write to MH i2c: E2 02 01 13 0D 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 34 35 36 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BB 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 6F [14:11:06]Write i2c OK [14:11:06]MH_I2C_Read... [14:11:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:07]Read from MH i2c: E2 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: E2 03 00 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: E2 03 00 13 0D 00 90 00 94 [14:11:07]RAPDU: 90 00 [14:11:07]wFMCommunicate OK [14:11:07]wFMCommunicate request_size=153 [14:11:07]MH_SAM_APDU [14:11:07]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 FC A0 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B8 56 00 00 35 04 06 00 1B 25 B5 82 ED 8E [14:11:07]Write to MH i2c: E2 9C 00 14 0D 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 FC A0 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B8 56 00 00 35 04 06 00 1B 25 B5 82 ED 8E 00 00 D1 [14:11:07]Write i2c OK [14:11:07]MH_I2C_Read... [14:11:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:07]Read from MH i2c: E2 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: E2 03 00 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: E2 03 00 14 0D 00 90 00 95 [14:11:07]RAPDU: 90 00 [14:11:07]wFMCommunicate OK [14:11:07]wFMCommunicate request_size=4 [14:11:07]MH_SAM_APDU [14:11:07]CAPDU: 80 0D 03 02 [14:11:07]Write to MH i2c: E2 08 00 15 0D 80 0D 03 02 00 00 00 00 9D [14:11:07]Write i2c OK [14:11:07]MH_I2C_Read... [14:11:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:11:07]Read from MH i2c: E2 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: E2 0B 00 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: E2 0B 00 15 0D 00 FB 57 06 BC 0C B4 0D B9 90 00 38 [14:11:07]RAPDU: FB 57 06 BC 0C B4 0D B9 90 00 [14:11:07]wFMCommunicate OK [14:11:07]SAM_PROTO_SignData done [14:11:07]FM_MakeSignedData done [14:11:07]CreateOFDProtocolMessage [14:11:07]wFMCommunicate request_size=4 [14:11:07]MH_SAM_APDU [14:11:07]CAPDU: 80 11 00 00 [14:11:07]Write to MH i2c: E2 08 00 16 0D 80 11 00 00 00 00 00 00 9D [14:11:07]Write i2c OK [14:11:07]MH_I2C_Read... [14:11:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:07]Read from MH i2c: E2 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: E2 17 00 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: E2 17 00 16 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EF [14:11:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:11:07]wFMCommunicate OK [14:11:07]CreateOFDProtocolMessage done [14:11:07]OFDSenderStorePacket 22200 [14:11:07]StoreOFDPacket docnum=22200 [14:11:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 9E 01 00 00 24 CD 96 01 66 BA 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 34 35 36 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BB 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 FC A0 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B8 56 00 00 35 04 06 00 1B 25 B5 82 ED 8E FB 57 06 BC 0C B4 0D B9 [14:11:07]CheckFolder [14:11:07]dirname=/storage/ofd_packets [14:11:07]CheckFolder done [14:11:07]ProducePacketName [14:11:07]name=ofd_packets/00022200 [14:11:07]NVStorageSaveData ofd_packets/00022200 [14:11:07]File name is /storage/ofd_packets/00022200 [14:11:07]Write 444 bytes [14:11:07]NVStorageSaveData done [14:11:07]OFDSenderStorePacket done [14:11:07]KKMCreateOFDPacket done [14:11:07]NVStorageSaveData kkm_last_timestamp [14:11:07]File name is /storage/kkm_last_timestamp [14:11:07]Write 4 bytes [14:11:07]NVStorageSaveData done [14:11:07]ExternCall_PrintAddStr [14:11:07]wPrintStart [14:11:07]Write to MH i2c: 01 00 00 17 0D 24 [14:11:07]Write i2c OK [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: 01 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: 01 07 00 [14:11:07]MH_I2C_Read... [14:11:07]Read from MH i2c: 01 07 00 17 0D 00 00 00 00 00 FF 0F 39 [14:11:07]RasterBufferAndPrint [14:11:07]line Счет N : (3)254415 [14:11:07]line ИНН: 02508201610067 [14:11:07]line Контрольно-Кассовый Чек [14:11:07]line ПРОДАЖА [14:11:07]line Товар: 4607120852531 [14:11:07]line Кириешки Light 80 г см-зел [14:11:07]line 1.000 * 40.00 [14:11:07]line = 40.00 [14:11:07]line НДС 12% НСП 1% [14:11:07]line > о реализуемом товаре [14:11:07]line Товар: 4607120852456 [14:11:07]line Кириешки Light 80 г сл-сыр [14:11:07]line 1.000 * 40.00 [14:11:07]line = 40.00 [14:11:07]line НДС 12% НСП 1% [14:11:07]line > о реализуемом товаре [14:11:07]line ИТОГО: 80.00 [14:11:07]line НСП 1% : 0.70 [14:11:07]line НДС 12% : 8.50 [14:11:07]line Наличными: 80.00 [14:11:07]line Безнал.: 0.00 [14:11:07]line Место: АЗС № 76 "Партнер Нефть" [14:11:07]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:11:07]line СНО: Общий режим [14:11:07]line Чек 45 15.06.2024 14:11 [14:11:07]line Смена: 326 ФФД: 1.0 [14:11:07]line ЗНМ: 0300000200 [14:11:07]line РНМ: 0000000000099755 [14:11:07]line Версия ККМ: 001 [14:11:07]line ФМ: 0000000000965344 [14:11:07]line ФД: 22200 [14:11:07]line ФПД: 29848772996494 [14:11:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T141108&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22200&fm=29848772996494&tin=02508201610067®Number=0000000000099755&sum=8000 [14:11:07]OFD Sender: Processing packet 22200 [packets to send 5, broken 4] [14:11:07]ProducePacketName [14:11:07]name=ofd_packets/00022200 [14:11:07]OFD Sender: To server: pG, [14:11:07]CommunicateWithHost lk.salyk.kg:30040 [14:11:07]ConnectInit lk.salyk.kg [14:11:07]line 0 [14:11:07]written 0, free lines is 4095 [14:11:08]Write to MH i2c: 01 00 00 45 0D 52 [14:11:08]Write i2c OK [14:11:08]MH_I2C_Read... [14:11:08]Read from MH i2c: 01 [14:11:08]MH_I2C_Read... [14:11:08]Read from MH i2c: 01 07 00 [14:11:08]MH_I2C_Read... [14:11:08]Read from MH i2c: 01 07 00 45 0D 00 00 00 00 00 CE 0C 33 [14:11:08]RasterBufferAndPrint [14:11:08]line [14:11:08]line [14:11:08]line [14:11:08]line [14:11:08]line [14:11:08]written 0, free lines is 3284 [14:11:08]MH_Cut [14:11:08]Write to MH i2c: D1 01 00 4C 0D 01 2B [14:11:08]Write i2c OK [14:11:08]MH_I2C_Read... [14:11:08]Read from MH i2c: D1 [14:11:08]MH_I2C_Read... [14:11:08]Read from MH i2c: D1 01 00 [14:11:08]MH_I2C_Read... [14:11:08]Read from MH i2c: D1 01 00 4C 0D 00 2A [14:11:08]Write to MH i2c: 01 00 00 4D 0D 5A [14:11:08]Write i2c OK [14:11:08]MH_I2C_Read... [14:11:08]*** Cut start [14:11:08]*** Partial cut [14:11:08]*** CUTSNS_PIN = 1 [14:11:08]*** CUTSNS_PIN = 0 [14:11:09]*** Brake cut motor [14:11:09]Read from MH i2c: 01 [14:11:09]MH_I2C_Read... [14:11:09]*** Stop cut motor [14:11:09]*** Cut end [14:11:09]Read from MH i2c: 01 07 00 [14:11:09]MH_I2C_Read... [14:11:09]Read from MH i2c: 01 07 00 4D 0D 00 00 00 00 00 FF 0F 6F [14:11:09]process_action close_receipt done [14:11:09]requested_data is exist [14:11:09]produce_requested_data [14:11:09]requested_item fm.sn is exist - process it [14:11:09]wFMCommunicate request_size=4 [14:11:09]MH_SAM_APDU [14:11:09]CAPDU: 80 11 00 00 [14:11:09]Write to MH i2c: E2 08 00 4E 0D 80 11 00 00 00 00 00 00 D5 [14:11:09]Write i2c OK [14:11:09]MH_I2C_Read... [14:11:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:09]Read from MH i2c: E2 [14:11:09]MH_I2C_Read... [14:11:09]Read from MH i2c: E2 17 00 [14:11:09]MH_I2C_Read... [14:11:09]Read from MH i2c: E2 17 00 4E 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 27 [14:11:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:11:09]wFMCommunicate OK [14:11:09]requested_item fd.num is exist - process it [14:11:09]SAM_PROTO_GetFieldsCounters [14:11:09]wFMCommunicate request_size=4 [14:11:09]MH_SAM_APDU [14:11:09]CAPDU: 80 13 00 00 [14:11:09]Write to MH i2c: E2 08 00 4F 0D 80 13 00 00 00 00 00 00 D8 [14:11:09]Write i2c OK [14:11:09]MH_I2C_Read... [14:11:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:11:09]Read from MH i2c: E2 [14:11:09]MH_I2C_Read... [14:11:09]Read from MH i2c: E2 62 00 [14:11:09]MH_I2C_Read... [14:11:09]Read from MH i2c: E2 62 00 4F 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B8 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [14:11:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B8 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:11:09]wFMCommunicate OK [14:11:09]SAM_PROTO_GetFieldsCounters done [14:11:09]requested_item shift.num is exist - process it [14:11:09]requested_item shift.opened is exist - process it [14:11:09]req_shift_opened [14:11:09]FM_GetShiftState [14:11:09]SAM_PROTO_GetShiftState [14:11:09]wFMCommunicate request_size=4 [14:11:09]MH_SAM_APDU [14:11:09]CAPDU: 80 13 01 00 [14:11:09]Write to MH i2c: E2 08 00 50 0D 80 13 01 00 00 00 00 00 DA [14:11:09]Write i2c OK [14:11:09]MH_I2C_Read... [14:11:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:09]Read from MH i2c: E2 [14:11:09]MH_I2C_Read... [14:11:09]Read from MH i2c: E2 0E 00 [14:11:09]MH_I2C_Read... [14:11:09]Read from MH i2c: E2 0E 00 50 0D 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 AE [14:11:09]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [14:11:09]wFMCommunicate OK [14:11:09]SAM_PROTO_GetShiftState done [14:11:09]FM_GetShiftState done [14:11:09]req_shift_opened done [14:11:09]requested_item shift.open_date is exist - process it [14:11:09]req_shift_open_date [14:11:09]req_shift_open_date done [14:11:09]produce_requested_data done [14:11:09]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22200,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [14:11:09]process_action_free close_receipt [14:11:09]json_value_free [14:11:09]json_value_free done [14:11:09]process_json_proto returns [14:11:09]Send response to host [14:11:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22200,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [14:11:09]free response buf [14:11:09]execute_script done [14:11:09]execute_script returns [14:11:09]free content buf [14:11:09]Sock 8.Close socket [14:11:09]Sock 8.Thread stoped [14:11:34]accept exits with 9 [14:11:34]New connection [14:11:34]New thread 3066695012 created [14:11:34]Thread 3066838372 joined [14:11:34]Waiting for new connection... [14:11:34] Sock 9.Parse request [14:11:34]Sock 9.Check first char [14:11:34]Sock 9.First char is OK [14:11:34]request: POST /json_proto HTTP/1.0 [14:11:34]Method: POST [14:11:34]URL: /json_proto [14:11:34]Method is POST - this is cgi request [14:11:34]url: /json_proto [14:11:34]query_string will be loaded in cgi processing [14:11:34]execute_cgi json_proto POST (null) [14:11:34]execute_cgi path=json_proto method=POST [14:11:34]POST find Content-Length [14:11:34]Host: 172.17.35.133:8080 [14:11:34]Content-Length: 643 [14:11:34]Content-Type: application/json [14:11:34] [14:11:34]POST finish read [14:11:34]Found Content-Length = 643 [14:11:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254416", "tax_sys" : 0, "items" : [ { "code": "46198051", "name": "\u0420/\u0436 mentos pure white \u043D\u0435\u0436\u043D \u043C\u044F\u0442\u0430 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:11:34]execute_script... [14:11:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254416", "tax_sys" : 0, "items" : [ { "code": "46198051", "name": "\u0420/\u0436 mentos pure white \u043D\u0435\u0436\u043D \u043C\u044F\u0442\u0430 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:11:34]POST & json_proto [14:11:34]process_json_proto [14:11:34]json parsed OK: [14:11:34]protocol is kg_v1.0 [14:11:34]action value=close_receipt [14:11:34]process_action close_receipt [14:11:34]cmd_close_receipt [14:11:34]MH_GetDate [14:11:34]Write to MH i2c: F0 00 00 51 0D 4D [14:11:34]Write i2c OK [14:11:34]MH_I2C_Read... [14:11:34]Read from MH i2c: F0 [14:11:34]MH_I2C_Read... [14:11:34]Read from MH i2c: F0 09 00 [14:11:34]MH_I2C_Read... [14:11:34]Read from MH i2c: F0 09 00 51 0D 00 19 A1 6D 66 8C 55 28 65 51 [14:11:34]GetLastDocTimeStamp 1718460668 [14:11:34]current date 1718460697 [14:11:34]FM_GetShiftState [14:11:34]SAM_PROTO_GetShiftState [14:11:34]wFMCommunicate request_size=4 [14:11:34]MH_SAM_APDU [14:11:34]CAPDU: 80 13 01 00 [14:11:34]Write to MH i2c: E2 08 00 52 0D 80 13 01 00 00 00 00 00 DC [14:11:34]Write i2c OK [14:11:34]MH_I2C_Read... [14:11:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:34]Read from MH i2c: E2 [14:11:34]MH_I2C_Read... [14:11:34]Read from MH i2c: E2 0E 00 [14:11:34]MH_I2C_Read... [14:11:34]Read from MH i2c: E2 0E 00 52 0D 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 B0 [14:11:34]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [14:11:34]wFMCommunicate OK [14:11:34]SAM_PROTO_GetShiftState done [14:11:34]FM_GetShiftState done [14:11:34]opened in 1718410776 [14:11:34]opened+sec_in_day 1718497176 [14:11:34]quantity*price = 20500 [14:11:34]sum+1 = 20501 [14:11:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 46 15.06.2024 14:11 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22201 ФПД: 105096062309542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T141137&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22201&fm=105096062309542&tin=02508201610067®Number=0000000000099755&sum=20500 0 [14:11:35]StoreToDocumentArchive [14:11:35]shift 326 fd 22201 [14:11:35]save to /storage/0326/doc_00022201 [14:11:35]save last doc name /storage/0326/doc_00022201 to /storage/kkm_last_doc_name [14:11:35]save OK [14:11:35]Clear old archive folders... [14:11:35]ProcessDocumentItem done err = 0, tmpTLVsize=283 [14:11:35]tlvbuf is 001D5E70 [14:11:35]SAM_PROTO_ClearQueue [14:11:35]wFMCommunicate request_size=4 [14:11:35]MH_SAM_APDU [14:11:35]CAPDU: 80 09 00 00 [14:11:35]Write to MH i2c: E2 08 00 5F 0D 80 09 00 00 00 00 00 00 DE [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 03 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 03 00 5F 0D 00 90 00 E0 [14:11:35]RAPDU: 90 00 [14:11:35]wFMCommunicate OK [14:11:35]SAM_PROTO_ClearQueue done [14:11:35]KKMCreateOFDPacket [14:11:35]OFDProtocolAddRootSTLVToBuf [14:11:35]FM_MakeSignedData [14:11:35]FM_MakeSignedData [14:11:35]SAM_PROTO_SignData [14:11:35]wFMCommunicate request_size=4 [14:11:35]MH_SAM_APDU [14:11:35]CAPDU: 80 0D 01 02 [14:11:35]Write to MH i2c: E2 08 00 60 0D 80 0D 01 02 00 00 00 00 E6 [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 03 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 03 00 60 0D 00 90 00 E1 [14:11:35]RAPDU: 90 00 [14:11:35]wFMCommunicate OK [14:11:35]wFMCommunicate request_size=255 [14:11:35]MH_SAM_APDU [14:11:35]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 19 A1 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 [14:11:35]Write to MH i2c: E2 02 01 61 0D 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 19 A1 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 00 00 E7 [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 03 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 03 00 61 0D 00 90 00 E2 [14:11:35]RAPDU: 90 00 [14:11:35]wFMCommunicate OK [14:11:35]wFMCommunicate request_size=42 [14:11:35]MH_SAM_APDU [14:11:35]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B9 56 00 00 35 04 06 00 5F 95 95 76 14 A6 [14:11:35]Write to MH i2c: E2 2D 00 62 0D 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B9 56 00 00 35 04 06 00 5F 95 95 76 14 A6 00 00 85 [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 03 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 03 00 62 0D 00 90 00 E3 [14:11:35]RAPDU: 90 00 [14:11:35]wFMCommunicate OK [14:11:35]wFMCommunicate request_size=4 [14:11:35]MH_SAM_APDU [14:11:35]CAPDU: 80 0D 03 02 [14:11:35]Write to MH i2c: E2 08 00 63 0D 80 0D 03 02 00 00 00 00 EB [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 0B 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 0B 00 63 0D 00 EE E3 3D AD E7 2D B9 43 90 00 B7 [14:11:35]RAPDU: EE E3 3D AD E7 2D B9 43 90 00 [14:11:35]wFMCommunicate OK [14:11:35]SAM_PROTO_SignData done [14:11:35]FM_MakeSignedData done [14:11:35]CreateOFDProtocolMessage [14:11:35]wFMCommunicate request_size=4 [14:11:35]MH_SAM_APDU [14:11:35]CAPDU: 80 11 00 00 [14:11:35]Write to MH i2c: E2 08 00 64 0D 80 11 00 00 00 00 00 00 EB [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 17 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 17 00 64 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 3D [14:11:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:11:35]wFMCommunicate OK [14:11:35]CreateOFDProtocolMessage done [14:11:35]OFDSenderStorePacket 22201 [14:11:35]StoreOFDPacket docnum=22201 [14:11:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2F 01 00 00 44 EA 27 01 8F 44 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 19 A1 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B9 56 00 00 35 04 06 00 5F 95 95 76 14 A6 EE E3 3D AD E7 2D B9 43 [14:11:35]CheckFolder [14:11:35]dirname=/storage/ofd_packets [14:11:35]CheckFolder done [14:11:35]ProducePacketName [14:11:35]name=ofd_packets/00022201 [14:11:35]NVStorageSaveData ofd_packets/00022201 [14:11:35]File name is /storage/ofd_packets/00022201 [14:11:35]Write 333 bytes [14:11:35]NVStorageSaveData done [14:11:35]OFDSenderStorePacket done [14:11:35]KKMCreateOFDPacket done [14:11:35]NVStorageSaveData kkm_last_timestamp [14:11:35]File name is /storage/kkm_last_timestamp [14:11:35]Write 4 bytes [14:11:35]NVStorageSaveData done [14:11:35]ExternCall_PrintAddStr [14:11:35]wPrintStart [14:11:35]Write to MH i2c: 01 00 00 65 0D 72 [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: 01 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: 01 07 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: 01 07 00 65 0D 00 00 00 00 00 FF 0F 87 [14:11:35]RasterBufferAndPrint [14:11:35]line Счет N : (3)254416 [14:11:35]line ИНН: 02508201610067 [14:11:35]line Контрольно-Кассовый Чек [14:11:35]line ПРОДАЖА [14:11:35]line Товар: 46198051 [14:11:35]line Р/ж mentos pure white нежн мята 54г [14:11:35]line 1.000 * 205.00 [14:11:35]line = 205.00 [14:11:35]line НДС 12% НСП 1% [14:11:35]line > о реализуемом товаре [14:11:35]line ИТОГО: 205.00 [14:11:35]line НСП 1% : 1.81 [14:11:35]line НДС 12% : 21.77 [14:11:35]line Наличными: 205.00 [14:11:35]line Безнал.: 0.00 [14:11:35]line Место: АЗС № 76 "Партнер Нефть" [14:11:35]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:11:35]line СНО: Общий режим [14:11:35]line Чек 46 15.06.2024 14:11 [14:11:35]line Смена: 326 ФФД: 1.0 [14:11:35]line ЗНМ: 0300000200 [14:11:35]line РНМ: 0000000000099755 [14:11:35]line Версия ККМ: 001 [14:11:35]line ФМ: 0000000000965344 [14:11:35]line ФД: 22201 [14:11:35]line ФПД: 105096062309542 [14:11:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T141137&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22201&fm=105096062309542&tin=02508201610067®Number=0000000000099755&sum=20500 [14:11:36]line 0 [14:11:36]written 0, free lines is 4095 [14:11:36]Write to MH i2c: 01 00 00 8E 0D 9B [14:11:36]Write i2c OK [14:11:36]MH_I2C_Read... [14:11:36]Read from MH i2c: 01 [14:11:36]MH_I2C_Read... [14:11:36]Read from MH i2c: 01 07 00 [14:11:36]MH_I2C_Read... [14:11:36]Read from MH i2c: 01 07 00 8E 0D 00 00 00 00 00 01 0D B0 [14:11:36]RasterBufferAndPrint [14:11:36]line [14:11:36]line [14:11:36]line [14:11:36]line [14:11:36]line [14:11:36]written 0, free lines is 3335 [14:11:36]MH_Cut [14:11:36]Write to MH i2c: D1 01 00 95 0D 01 74 [14:11:36]Write i2c OK [14:11:36]MH_I2C_Read... [14:11:36]Read from MH i2c: D1 [14:11:36]MH_I2C_Read... [14:11:36]Read from MH i2c: D1 01 00 [14:11:36]MH_I2C_Read... [14:11:36]Read from MH i2c: D1 01 00 95 0D 00 73 [14:11:36]Write to MH i2c: 01 00 00 96 0D A3 [14:11:36]Write i2c OK [14:11:36]MH_I2C_Read... [14:11:37]*** Cut start [14:11:37]*** Partial cut [14:11:37]*** CUTSNS_PIN = 1 [14:11:37]*** CUTSNS_PIN = 0 [14:11:37]*** Brake cut motor [14:11:37]Read from MH i2c: 01 [14:11:37]MH_I2C_Read... [14:11:38]*** Stop cut motor [14:11:38]*** Cut end [14:11:38]Read from MH i2c: 01 07 00 [14:11:38]MH_I2C_Read... [14:11:38]Read from MH i2c: 01 07 00 96 0D 00 00 00 00 00 FF 0F B8 [14:11:38]process_action close_receipt done [14:11:38]requested_data is exist [14:11:38]produce_requested_data [14:11:38]requested_item fm.sn is exist - process it [14:11:38]wFMCommunicate request_size=4 [14:11:38]MH_SAM_APDU [14:11:38]CAPDU: 80 11 00 00 [14:11:38]Write to MH i2c: E2 08 00 97 0D 80 11 00 00 00 00 00 00 1E [14:11:38]Write i2c OK [14:11:38]MH_I2C_Read... [14:11:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:38]Read from MH i2c: E2 [14:11:38]MH_I2C_Read... [14:11:38]Read from MH i2c: E2 17 00 [14:11:38]MH_I2C_Read... [14:11:38]Read from MH i2c: E2 17 00 97 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 70 [14:11:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:11:38]wFMCommunicate OK [14:11:38]requested_item fd.num is exist - process it [14:11:38]SAM_PROTO_GetFieldsCounters [14:11:38]wFMCommunicate request_size=4 [14:11:38]MH_SAM_APDU [14:11:38]CAPDU: 80 13 00 00 [14:11:38]Write to MH i2c: E2 08 00 98 0D 80 13 00 00 00 00 00 00 21 [14:11:38]Write i2c OK [14:11:38]MH_I2C_Read... [14:11:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:11:38]Read from MH i2c: E2 [14:11:38]MH_I2C_Read... [14:11:38]Read from MH i2c: E2 62 00 [14:11:38]MH_I2C_Read... [14:11:38]Read from MH i2c: E2 62 00 98 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [14:11:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 B9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:11:38]wFMCommunicate OK [14:11:38]SAM_PROTO_GetFieldsCounters done [14:11:38]requested_item shift.num is exist - process it [14:11:38]requested_item shift.opened is exist - process it [14:11:38]req_shift_opened [14:11:38]FM_GetShiftState [14:11:38]SAM_PROTO_GetShiftState [14:11:38]wFMCommunicate request_size=4 [14:11:38]MH_SAM_APDU [14:11:38]CAPDU: 80 13 01 00 [14:11:38]Write to MH i2c: E2 08 00 99 0D 80 13 01 00 00 00 00 00 23 [14:11:38]Write i2c OK [14:11:38]MH_I2C_Read... [14:11:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:38]Read from MH i2c: E2 [14:11:38]MH_I2C_Read... [14:11:38]Read from MH i2c: E2 0E 00 [14:11:38]MH_I2C_Read... [14:11:38]Read from MH i2c: E2 0E 00 99 0D 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 F7 [14:11:38]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [14:11:38]wFMCommunicate OK [14:11:38]SAM_PROTO_GetShiftState done [14:11:38]FM_GetShiftState done [14:11:38]req_shift_opened done [14:11:38]requested_item shift.open_date is exist - process it [14:11:38]req_shift_open_date [14:11:38]req_shift_open_date done [14:11:38]produce_requested_data done [14:11:38]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22201,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [14:11:38]process_action_free close_receipt [14:11:38]json_value_free [14:11:38]json_value_free done [14:11:38]process_json_proto returns [14:11:38]Send response to host [14:11:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22201,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [14:11:38]free response buf [14:11:38]execute_script done [14:11:38]execute_script returns [14:11:38]free content buf [14:11:38]Sock 9.Close socket [14:11:38]Sock 9.Thread stoped [14:13:17]ConnectInit Can't connect to host [14:13:17]CommunicateWithHost connect error [14:13:17]CommunicateWithHost err = -1 [14:13:17]OFD Sender: Server communicate error [14:13:17]OFD Sender: Processing packet 22200 [packets to send 6, broken 4] [14:13:17]ProducePacketName [14:13:17]name=ofd_packets/00022200 [14:13:17]OFD Sender: To server: pG, [14:13:17]CommunicateWithHost lk.salyk.kg:30040 [14:13:17]ConnectInit lk.salyk.kg [14:13:17]Connected sock=9 [14:13:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 9E 01 00 00 24 CD 96 01 66 BA 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 34 35 36 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BB 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 FC A0 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B8 56 00 00 35 04 06 00 1B 25 B5 82 ED 8E FB 57 06 BC 0C B4 0D B9 [14:13:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 85 89 47 00 6D 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B8 56 00 00 F4 03 04 00 3C 4A 6D 66 B6 04 01 00 00 E9 6E 85 3A 9B F2 66 F4 [14:13:18]CommunicateWithHost err = 0 [14:13:18]CheckOFDResponse [14:13:18]1017 (14) - 77093643461234 [14:13:18]1041 (16) - 0000000000965344 [14:13:18]1040 (4) - 22200 [14:13:18]1012 (4) - 15.06.2024 08:01 [14:13:18]1206 (1) - 0 [14:13:18]OFD Sender: Remove packet 22200 [14:13:18]ProducePacketName [14:13:18]name=ofd_packets/00022200 [14:13:18]NVStorageDeleteData [14:13:18]OFD Sender: Processing packet 22201 [packets to send 5, broken 4] [14:13:18]ProducePacketName [14:13:18]name=ofd_packets/00022201 [14:13:18]OFD Sender: To server: pG, [14:13:18]CommunicateWithHost lk.salyk.kg:30040 [14:13:18]ConnectInit lk.salyk.kg [14:13:18]Connected sock=9 [14:13:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2F 01 00 00 44 EA 27 01 8F 44 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 19 A1 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B9 56 00 00 35 04 06 00 5F 95 95 76 14 A6 EE E3 3D AD E7 2D B9 43 [14:13:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 C7 FE 47 00 DA 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 B9 56 00 00 F4 03 04 00 3C 4A 6D 66 B6 04 01 00 00 9E 27 EA 44 45 84 9A 40 [14:13:18]CommunicateWithHost err = 0 [14:13:18]CheckOFDResponse [14:13:18]1017 (14) - 77093643461234 [14:13:18]1041 (16) - 0000000000965344 [14:13:18]1040 (4) - 22201 [14:13:18]1012 (4) - 15.06.2024 08:01 [14:13:18]1206 (1) - 0 [14:13:18]OFD Sender: Remove packet 22201 [14:13:18]ProducePacketName [14:13:18]name=ofd_packets/00022201 [14:13:18]NVStorageDeleteData [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:14:04]OFD Sender: No OFD packet to send [14:14:09]OFD Sender: No OFD packet to send [14:14:14]OFD Sender: No OFD packet to send [14:14:19]OFD Sender: No OFD packet to send [14:14:24]OFD Sender: No OFD packet to send [14:14:29]OFD Sender: No OFD packet to send [14:14:34]OFD Sender: No OFD packet to send [14:14:39]OFD Sender: No OFD packet to send [14:14:44]OFD Sender: No OFD packet to send [14:14:49]OFD Sender: No OFD packet to send [14:14:54]OFD Sender: No OFD packet to send [14:14:59]OFD Sender: No OFD packet to send [14:15:04]OFD Sender: No OFD packet to send [14:15:09]OFD Sender: No OFD packet to send [14:15:14]OFD Sender: No OFD packet to send [14:15:19]OFD Sender: No OFD packet to send [14:15:24]OFD Sender: No OFD packet to send [14:15:29]OFD Sender: No OFD packet to send [14:15:34]OFD Sender: No OFD packet to send [14:15:39]OFD Sender: No OFD packet to send [14:15:44]OFD Sender: No OFD packet to send [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19:59]OFD Sender: No OFD packet to send [14:20:04]OFD Sender: No OFD packet to send [14:20:09]OFD Sender: No OFD packet to send [14:20:14]OFD Sender: No OFD packet to send [14:20:19]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:05]OFD Sender: No OFD packet to send [14:26:10]OFD Sender: No OFD packet to send [14:26:15]OFD Sender: No OFD packet to send [14:26:20]OFD Sender: No OFD packet to send [14:26:25]OFD Sender: No OFD packet to send [14:26:30]OFD Sender: No OFD packet to send [14:26:35]OFD Sender: No OFD packet to send [14:26:40]OFD Sender: No OFD packet to send [14:26:45]OFD Sender: No OFD packet to send [14:26:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:35]OFD Sender: No OFD packet to send [14:27:40]OFD Sender: No OFD packet to send [14:27:45]OFD Sender: No OFD packet to send [14:27:50]OFD Sender: No OFD packet to send [14:27:55]OFD Sender: No OFD packet to send [14:28:00]OFD Sender: No OFD packet to send [14:28:05]OFD Sender: No OFD packet to send [14:28:10]OFD Sender: No OFD packet to send [14:28:15]OFD Sender: No OFD packet to send [14:28:20]OFD Sender: No OFD packet to send [14:28:25]OFD Sender: No OFD packet to send [14:28:30]OFD Sender: No OFD packet to send [14:28:35]OFD Sender: No OFD packet to send [14:28:40]OFD Sender: No OFD packet to send [14:28:45]OFD Sender: No OFD packet to send [14:28:50]OFD Sender: No OFD packet to send [14:28:55]OFD Sender: No OFD packet to send [14:29:00]OFD Sender: No OFD packet to send [14:29:05]OFD Sender: No OFD packet to send [14:29:10]OFD Sender: No OFD packet to send [14:29:15]OFD Sender: No OFD packet to send [14:29:20]OFD Sender: No OFD packet to send [14:29:25]OFD Sender: No OFD packet to send [14:29:30]OFD Sender: No OFD packet to send [14:29:35]OFD Sender: No OFD packet to send [14:29:40]OFD Sender: No OFD packet to send [14:29:45]OFD Sender: No OFD packet to send [14:29:50]OFD Sender: No OFD packet to send [14:29:55]OFD Sender: No OFD packet to send [14:30:00]OFD Sender: No OFD packet to send [14:30:05]OFD Sender: No OFD packet to send [14:30:10]OFD Sender: No OFD packet to send [14:30:15]OFD Sender: No OFD packet to send [14:30:20]OFD Sender: No OFD packet to send [14:30:25]OFD Sender: No OFD packet to send [14:30:30]OFD Sender: No OFD packet to send [14:30:35]OFD Sender: No OFD packet to send [14:30:40]OFD Sender: No OFD packet to send [14:30:45]OFD Sender: No OFD packet to send [14:30:50]OFD Sender: No OFD packet to send [14:30:55]OFD Sender: No OFD packet to send [14:31:00]OFD Sender: No OFD packet to send [14:31:05]OFD Sender: No OFD packet to send [14:31:10]OFD Sender: No OFD packet to send [14:31:15]OFD Sender: No OFD packet to send [14:31:20]OFD Sender: No OFD packet to send [14:31:25]OFD Sender: No OFD packet to send [14:31:30]OFD Sender: No OFD packet to send [14:31:35]OFD Sender: No OFD packet to send [14:31:40]OFD Sender: No OFD packet to send [14:31:45]OFD Sender: No OFD packet to send [14:31:50]OFD Sender: No OFD packet to send [14:31:55]OFD Sender: No OFD packet to send [14:32:00]OFD Sender: No OFD packet to send [14:32:05]OFD Sender: No OFD packet to send [14:32:10]OFD Sender: No OFD packet to send [14:32:15]OFD Sender: No OFD packet to send [14:32:20]OFD Sender: No OFD packet to send [14:32:25]OFD Sender: No OFD packet to send [14:32:30]OFD Sender: No OFD packet to send [14:32:35]OFD Sender: No OFD packet to send [14:32:40]OFD Sender: No OFD packet to send [14:32:45]OFD Sender: No OFD packet to send [14:32:50]OFD Sender: No OFD packet to send [14:32:55]OFD Sender: No OFD packet to send [14:33:00]OFD Sender: No OFD packet to send [14:33:05]OFD Sender: No OFD packet to send [14:33:10]OFD Sender: No OFD packet to send [14:33:15]OFD Sender: No OFD packet to send [14:33:20]OFD Sender: No OFD packet to send [14:33:25]OFD Sender: No OFD packet to send [14:33:30]OFD Sender: No OFD packet to send [14:33:35]OFD Sender: No OFD packet to send [14:33:40]OFD Sender: No OFD packet to send [14:33:45]OFD Sender: No OFD packet to send [14:33:50]OFD Sender: No OFD packet to send [14:33:55]OFD Sender: No OFD packet to send [14:34:00]OFD Sender: No OFD packet to send [14:34:05]OFD Sender: No OFD packet to send [14:34:10]OFD Sender: No OFD packet to send [14:34:15]OFD Sender: No OFD packet to send [14:34:20]OFD Sender: No OFD packet to send [14:34:25]OFD Sender: No OFD packet to send [14:34:30]OFD Sender: No OFD packet to send [14:34:35]OFD Sender: No OFD packet to send [14:34:40]OFD Sender: No OFD packet to send [14:34:45]OFD Sender: No OFD packet to send [14:34:50]OFD Sender: No OFD packet to send [14:34:55]OFD Sender: No OFD packet to send [14:35:00]OFD Sender: No OFD packet to send [14:35:05]OFD Sender: No OFD packet to send [14:35:10]OFD Sender: No OFD packet to send [14:35:15]OFD Sender: No OFD packet to send [14:35:20]OFD Sender: No OFD packet to send [14:35:25]OFD Sender: No OFD packet to send [14:35:30]OFD Sender: No OFD packet to send [14:35:35]OFD Sender: No OFD packet to send [14:35:40]OFD Sender: No OFD packet to send [14:35:45]OFD Sender: No OFD packet to send [14:35:50]OFD Sender: No OFD packet to send [14:35:55]OFD Sender: No OFD packet to send [14:36:00]OFD Sender: No OFD packet to send [14:36:05]OFD Sender: No OFD packet to send [14:36:10]OFD Sender: No OFD packet to send [14:36:15]OFD Sender: No OFD packet to send [14:36:20]OFD Sender: No OFD packet to send [14:36:25]OFD Sender: No OFD packet to send [14:36:30]OFD Sender: No OFD packet to send [14:36:35]OFD Sender: No OFD packet to send [14:36:40]OFD Sender: No OFD packet to send [14:36:45]OFD Sender: No OFD packet to send [14:36:50]OFD Sender: No OFD packet to send [14:36:55]OFD Sender: No OFD packet to send [14:37:00]OFD Sender: No OFD packet to send [14:37:05]OFD Sender: No OFD packet to send [14:37:10]OFD Sender: No OFD packet to send [14:37:15]OFD Sender: No OFD packet to send [14:37:20]OFD Sender: No OFD packet to send [14:37:25]OFD Sender: No OFD packet to send [14:37:30]OFD Sender: No OFD packet to send [14:37:35]OFD Sender: No OFD packet to send [14:37:40]OFD Sender: No OFD packet to send [14:37:45]OFD Sender: No OFD packet to send [14:37:50]OFD Sender: No OFD packet to send [14:37:55]OFD Sender: No OFD packet to send [14:38:00]OFD Sender: No OFD packet to send [14:38:05]OFD Sender: No OFD packet to send [14:38:10]OFD Sender: No OFD packet to send [14:38:15]OFD Sender: No OFD packet to send [14:38:20]OFD Sender: No OFD packet to send [14:38:25]OFD Sender: No OFD packet to send [14:38:30]OFD Sender: No OFD packet to send [14:38:35]OFD Sender: No OFD packet to send [14:38:40]OFD Sender: No OFD packet to send [14:38:45]OFD Sender: No OFD packet to send [14:38:50]OFD Sender: No OFD packet to send [14:38:55]OFD Sender: No OFD packet to send [14:39:00]OFD Sender: No OFD packet to send [14:39:05]OFD Sender: No OFD packet to send [14:39:10]OFD Sender: No OFD packet to send [14:39:15]OFD Sender: No OFD packet to send [14:39:20]OFD Sender: No OFD packet to send [14:39:25]OFD Sender: No OFD packet to send [14:39:30]OFD Sender: No OFD packet to send [14:39:35]OFD Sender: No OFD packet to send [14:39:40]OFD Sender: No OFD packet to send [14:39:45]OFD Sender: No OFD packet to send [14:39:50]OFD Sender: No OFD packet to send [14:39:55]OFD Sender: No OFD packet to send [14:40:00]OFD Sender: No OFD packet to send [14:40:05]OFD Sender: No OFD packet to send [14:40:10]OFD Sender: No OFD packet to send [14:40:15]OFD Sender: No OFD packet to send [14:40:20]OFD Sender: No OFD packet to send [14:40:25]OFD Sender: No OFD packet to send [14:40:30]OFD Sender: No OFD packet to send [14:40:35]OFD Sender: No OFD packet to send [14:40:40]OFD Sender: No OFD packet to send [14:40:45]OFD Sender: No OFD packet to send [14:40:50]OFD Sender: No OFD packet to send [14:40:55]OFD Sender: No OFD packet to send [14:41:00]OFD Sender: No OFD packet to send [14:41:05]OFD Sender: No OFD packet to send [14:41:10]OFD Sender: No OFD packet to send [14:41:15]OFD Sender: No OFD packet to send [14:41:20]OFD Sender: No OFD packet to send [14:41:25]OFD Sender: No OFD packet to send [14:41:30]OFD Sender: No OFD packet to send [14:41:35]OFD Sender: No OFD packet to send [14:41:40]OFD Sender: No OFD packet to send [14:41:45]OFD Sender: No OFD packet to send [14:41:50]OFD Sender: No OFD packet to send [14:41:55]OFD Sender: No OFD packet to send [14:42:00]OFD Sender: No OFD packet to send [14:42:05]OFD Sender: No OFD packet to send [14:42:10]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [14:43:40]OFD Sender: No OFD packet to send [14:43:45]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]OFD Sender: No OFD packet to send [14:45:40]OFD Sender: No OFD packet to send [14:45:45]OFD Sender: No OFD packet to send [14:45:50]OFD Sender: No OFD packet to send [14:45:55]OFD Sender: No OFD packet to send [14:46:00]OFD Sender: No OFD packet to send [14:46:05]OFD Sender: No OFD packet to send [14:46:10]OFD Sender: No OFD packet to send [14:46:15]OFD Sender: No OFD packet to send [14:46:20]OFD Sender: No OFD packet to send [14:46:25]OFD Sender: No OFD packet to send [14:46:30]OFD Sender: No OFD packet to send [14:46:35]OFD Sender: No OFD packet to send [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:47:00]OFD Sender: No OFD packet to send [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:35]OFD Sender: No OFD packet to send [14:47:41]OFD Sender: No OFD packet to send [14:47:46]OFD Sender: No OFD packet to send [14:47:51]OFD Sender: No OFD packet to send [14:47:56]OFD Sender: No OFD packet to send [14:48:01]OFD Sender: No OFD packet to send [14:48:06]OFD Sender: No OFD packet to send [14:48:11]OFD Sender: No OFD packet to send [14:48:16]OFD Sender: No OFD packet to send [14:48:21]OFD Sender: No OFD packet to send [14:48:26]OFD Sender: No OFD packet to send [14:48:31]OFD Sender: No OFD packet to send [14:48:36]OFD Sender: No OFD packet to send [14:48:41]OFD Sender: No OFD packet to send [14:48:46]OFD Sender: No OFD packet to send [14:48:51]OFD Sender: No OFD packet to send [14:48:56]OFD Sender: No OFD packet to send [14:49:01]OFD Sender: No OFD packet to send [14:49:06]OFD Sender: No OFD packet to send [14:49:11]OFD Sender: No OFD packet to send [14:49:16]OFD Sender: No OFD packet to send [14:49:21]OFD Sender: No OFD packet to send [14:49:26]OFD Sender: No OFD packet to send [14:49:31]OFD Sender: No OFD packet to send [14:49:36]OFD Sender: No OFD packet to send [14:49:41]OFD Sender: No OFD packet to send [14:49:46]OFD Sender: No OFD packet to send [14:49:51]OFD Sender: No OFD packet to send [14:49:56]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:21]OFD Sender: No OFD packet to send [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:51]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [14:53:46]OFD Sender: No OFD packet to send [14:53:51]OFD Sender: No OFD packet to send [14:53:56]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:01]OFD Sender: No OFD packet to send [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]OFD Sender: No OFD packet to send [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]OFD Sender: No OFD packet to send [15:03:46]OFD Sender: No OFD packet to send [15:03:51]OFD Sender: No OFD packet to send [15:03:56]OFD Sender: No OFD packet to send [15:04:01]OFD Sender: No OFD packet to send [15:04:06]OFD Sender: No OFD packet to send [15:04:11]OFD Sender: No OFD packet to send [15:04:16]OFD Sender: No OFD packet to send [15:04:21]OFD Sender: No OFD packet to send [15:04:26]OFD Sender: No OFD packet to send [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:07:01]OFD Sender: No OFD packet to send [15:07:06]OFD Sender: No OFD packet to send [15:07:11]OFD Sender: No OFD packet to send [15:07:16]OFD Sender: No OFD packet to send [15:07:21]OFD Sender: No OFD packet to send [15:07:26]OFD Sender: No OFD packet to send [15:07:31]OFD Sender: No OFD packet to send [15:07:36]OFD Sender: No OFD packet to send [15:07:41]OFD Sender: No OFD packet to send [15:07:46]OFD Sender: No OFD packet to send [15:07:51]OFD Sender: No OFD packet to send [15:07:56]OFD Sender: No OFD packet to send [15:08:01]OFD Sender: No OFD packet to send [15:08:06]OFD Sender: No OFD packet to send [15:08:11]OFD Sender: No OFD packet to send [15:08:16]OFD Sender: No OFD packet to send [15:08:21]OFD Sender: No OFD packet to send [15:08:26]OFD Sender: No OFD packet to send [15:08:31]OFD Sender: No OFD packet to send [15:08:36]OFD Sender: No OFD packet to send [15:08:41]OFD Sender: No OFD packet to send [15:08:46]OFD Sender: No OFD packet to send [15:08:51]OFD Sender: No OFD packet to send [15:08:56]OFD Sender: No OFD packet to send [15:09:01]OFD Sender: No OFD packet to send [15:09:06]OFD Sender: No OFD packet to send [15:09:11]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:32]OFD Sender: No OFD packet to send [15:12:37]OFD Sender: No OFD packet to send [15:12:42]OFD Sender: No OFD packet to send [15:12:47]OFD Sender: No OFD packet to send [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:07]OFD Sender: No OFD packet to send [15:13:12]OFD Sender: No OFD packet to send [15:13:17]OFD Sender: No OFD packet to send [15:13:22]OFD Sender: No OFD packet to send [15:13:27]OFD Sender: No OFD packet to send [15:13:32]OFD Sender: No OFD packet to send [15:13:37]OFD Sender: No OFD packet to send [15:13:42]OFD Sender: No OFD packet to send [15:13:47]OFD Sender: No OFD packet to send [15:13:52]OFD Sender: No OFD packet to send [15:13:57]OFD Sender: No OFD packet to send [15:14:02]OFD Sender: No OFD packet to send [15:14:07]OFD Sender: No OFD packet to send [15:14:12]OFD Sender: No OFD packet to send [15:14:17]OFD Sender: No OFD packet to send [15:14:22]OFD Sender: No OFD packet to send [15:14:27]OFD Sender: No OFD packet to send [15:14:32]OFD Sender: No OFD packet to send [15:14:37]OFD Sender: No OFD packet to send [15:14:42]OFD Sender: No OFD packet to send [15:14:47]OFD Sender: No OFD packet to send [15:14:52]OFD Sender: No OFD packet to send [15:14:57]OFD Sender: No OFD packet to send [15:15:02]OFD Sender: No OFD packet to send [15:15:07]OFD Sender: No OFD packet to send [15:15:12]OFD Sender: No OFD packet to send [15:15:17]OFD Sender: No OFD packet to send [15:15:22]OFD Sender: No OFD packet to send [15:15:27]OFD Sender: No OFD packet to send [15:15:32]OFD Sender: No OFD packet to send [15:15:37]OFD Sender: No OFD packet to send [15:15:42]OFD Sender: No OFD packet to send [15:15:47]OFD Sender: No OFD packet to send [15:15:52]OFD Sender: No OFD packet to send [15:15:57]OFD Sender: No OFD packet to send [15:16:02]OFD Sender: No OFD packet to send [15:16:07]OFD Sender: No OFD packet to send [15:16:12]OFD Sender: No OFD packet to send [15:16:17]OFD Sender: No OFD packet to send [15:16:22]OFD Sender: No OFD packet to send [15:16:27]OFD Sender: No OFD packet to send [15:16:32]OFD Sender: No OFD packet to send [15:16:37]OFD Sender: No OFD packet to send [15:16:42]OFD Sender: No OFD packet to send [15:16:47]OFD Sender: No OFD packet to send [15:16:52]OFD Sender: No OFD packet to send [15:16:57]OFD Sender: No OFD packet to send [15:17:02]OFD Sender: No OFD packet to send [15:17:07]OFD Sender: No OFD packet to send [15:17:12]OFD Sender: No OFD packet to send [15:17:17]OFD Sender: No OFD packet to send [15:17:22]OFD Sender: No OFD packet to send [15:17:27]OFD Sender: No OFD packet to send [15:17:32]OFD Sender: No OFD packet to send [15:17:37]OFD Sender: No OFD packet to send [15:17:42]OFD Sender: No OFD packet to send [15:17:47]OFD Sender: No OFD packet to send [15:17:52]OFD Sender: No OFD packet to send [15:17:57]OFD Sender: No OFD packet to send [15:18:02]OFD Sender: No OFD packet to send [15:18:07]OFD Sender: No OFD packet to send [15:18:12]OFD Sender: No OFD packet to send [15:18:17]OFD Sender: No OFD packet to send [15:18:22]OFD Sender: No OFD packet to send [15:18:27]OFD Sender: No OFD packet to send [15:18:32]OFD Sender: No OFD packet to send [15:18:37]OFD Sender: No OFD packet to send [15:18:42]OFD Sender: No OFD packet to send [15:18:47]OFD Sender: No OFD packet to send [15:18:52]OFD Sender: No OFD packet to send [15:18:57]OFD Sender: No OFD packet to send [15:19:02]OFD Sender: No OFD packet to send [15:19:07]OFD Sender: No OFD packet to send [15:19:12]OFD Sender: No OFD packet to send [15:19:17]OFD Sender: No OFD packet to send [15:19:22]OFD Sender: No OFD packet to send [15:19:27]OFD Sender: No OFD packet to send [15:19:32]OFD Sender: No OFD packet to send [15:19:37]OFD Sender: No OFD packet to send [15:19:42]OFD Sender: No OFD packet to send [15:19:47]OFD Sender: No OFD packet to send [15:19:52]OFD Sender: No OFD packet to send [15:19:57]OFD Sender: No OFD packet to send [15:20:02]OFD Sender: No OFD packet to send [15:20:07]OFD Sender: No OFD packet to send [15:20:12]OFD Sender: No OFD packet to send [15:20:17]OFD Sender: No OFD packet to send [15:20:22]OFD Sender: No OFD packet to send [15:20:27]OFD Sender: No OFD packet to send [15:20:32]OFD Sender: No OFD packet to send [15:20:37]OFD Sender: No OFD packet to send [15:20:42]OFD Sender: No OFD packet to send [15:20:47]OFD Sender: No OFD packet to send [15:20:52]OFD Sender: No OFD packet to send [15:20:57]OFD Sender: No OFD packet to send [15:21:02]OFD Sender: No OFD packet to send [15:21:07]OFD Sender: No OFD packet to send [15:21:12]OFD Sender: No OFD packet to send [15:21:17]OFD Sender: No OFD packet to send [15:21:22]OFD Sender: No OFD packet to send [15:21:27]OFD Sender: No OFD packet to send [15:21:32]OFD Sender: No OFD packet to send [15:21:37]OFD Sender: No OFD packet to send [15:21:42]OFD Sender: No OFD packet to send [15:21:47]OFD Sender: No OFD packet to send [15:21:52]OFD Sender: No OFD packet to send [15:21:57]OFD Sender: No OFD packet to send [15:22:02]OFD Sender: No OFD packet to send [15:22:07]OFD Sender: No OFD packet to send [15:22:12]OFD Sender: No OFD packet to send [15:22:17]OFD Sender: No OFD packet to send [15:22:22]OFD Sender: No OFD packet to send [15:22:27]OFD Sender: No OFD packet to send [15:22:32]OFD Sender: No OFD packet to send [15:22:37]OFD Sender: No OFD packet to send [15:22:42]OFD Sender: No OFD packet to send [15:22:47]OFD Sender: No OFD packet to send [15:22:52]OFD Sender: No OFD packet to send [15:22:57]OFD Sender: No OFD packet to send [15:23:02]OFD Sender: No OFD packet to send [15:23:07]OFD Sender: No OFD packet to send [15:23:12]OFD Sender: No OFD packet to send [15:23:17]OFD Sender: No OFD packet to send [15:23:22]OFD Sender: No OFD packet to send [15:23:27]OFD Sender: No OFD packet to send [15:23:32]OFD Sender: No OFD packet to send [15:23:37]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:34]accept exits with 8 [15:29:34]New connection [15:29:34]New thread 3066838372 created [15:29:34]Thread 3066695012 joined [15:29:34]Waiting for new connection... [15:29:34] Sock 8.Parse request [15:29:34]Sock 8.Check first char [15:29:34]Sock 8.First char is OK [15:29:34]request: POST /json_proto HTTP/1.0 [15:29:34]Method: POST [15:29:34]URL: /json_proto [15:29:34]Method is POST - this is cgi request [15:29:34]url: /json_proto [15:29:34]query_string will be loaded in cgi processing [15:29:34]execute_cgi json_proto POST (null) [15:29:34]execute_cgi path=json_proto method=POST [15:29:34]POST find Content-Length [15:29:34]Host: 172.17.35.133:8080 [15:29:34]Content-Length: 632 [15:29:34]Content-Type: application/json [15:29:34] [15:29:34]POST finish read [15:29:34]Found Content-Length = 632 [15:29:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254417", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:29:34]execute_script... [15:29:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254417", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:29:34]POST & json_proto [15:29:34]process_json_proto [15:29:34]json parsed OK: [15:29:34]protocol is kg_v1.0 [15:29:34]action value=close_receipt [15:29:34]process_action close_receipt [15:29:34]cmd_close_receipt [15:29:34]MH_GetDate [15:29:34]Write to MH i2c: F0 00 00 9A 0D 96 [15:29:34]Write i2c OK [15:29:34]MH_I2C_Read... [15:29:34]Read from MH i2c: F0 [15:29:34]MH_I2C_Read... [15:29:34]Read from MH i2c: F0 09 00 [15:29:34]MH_I2C_Read... [15:29:34]Read from MH i2c: F0 09 00 9A 0D 00 61 B3 6D 66 8C 55 28 65 F4 [15:29:34]GetLastDocTimeStamp 1718460697 [15:29:34]current date 1718465377 [15:29:34]FM_GetShiftState [15:29:34]SAM_PROTO_GetShiftState [15:29:34]wFMCommunicate request_size=4 [15:29:34]MH_SAM_APDU [15:29:34]CAPDU: 80 13 01 00 [15:29:34]Write to MH i2c: E2 08 00 9B 0D 80 13 01 00 00 00 00 00 25 [15:29:34]Write i2c OK [15:29:34]MH_I2C_Read... [15:29:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:29:34]Read from MH i2c: E2 [15:29:34]MH_I2C_Read... [15:29:34]Read from MH i2c: E2 0E 00 [15:29:34]MH_I2C_Read... [15:29:34]Read from MH i2c: E2 0E 00 9B 0D 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 F9 [15:29:34]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [15:29:34]wFMCommunicate OK [15:29:34]SAM_PROTO_GetShiftState done [15:29:34]FM_GetShiftState done [15:29:34]opened in 1718410776 [15:29:34]opened+sec_in_day 1718497176 [15:29:34]quantity*price = 6000 [15:29:34]sum+1 = 6001 [15:29:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 47 15.06.2024 15:29 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22202 ФПД: 205218916030809 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T152937&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22202&fm=205218916030809&tin=02508201610067®Number=0000000000099755&sum=6000 0 [15:29:35]StoreToDocumentArchive [15:29:35]shift 326 fd 22202 [15:29:35]save to /storage/0326/doc_00022202 [15:29:35]save last doc name /storage/0326/doc_00022202 to /storage/kkm_last_doc_name [15:29:35]save OK [15:29:35]Clear old archive folders... [15:29:35]ProcessDocumentItem done err = 0, tmpTLVsize=271 [15:29:35]tlvbuf is 001AB680 [15:29:35]SAM_PROTO_ClearQueue [15:29:35]wFMCommunicate request_size=4 [15:29:35]MH_SAM_APDU [15:29:35]CAPDU: 80 09 00 00 [15:29:35]Write to MH i2c: E2 08 00 A8 0D 80 09 00 00 00 00 00 00 27 [15:29:35]Write i2c OK [15:29:35]MH_I2C_Read... [15:29:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:29:35]Read from MH i2c: E2 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 03 00 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 03 00 A8 0D 00 90 00 29 [15:29:35]RAPDU: 90 00 [15:29:35]wFMCommunicate OK [15:29:35]SAM_PROTO_ClearQueue done [15:29:35]KKMCreateOFDPacket [15:29:35]OFDProtocolAddRootSTLVToBuf [15:29:35]FM_MakeSignedData [15:29:35]FM_MakeSignedData [15:29:35]SAM_PROTO_SignData [15:29:35]wFMCommunicate request_size=4 [15:29:35]MH_SAM_APDU [15:29:35]CAPDU: 80 0D 01 02 [15:29:35]Write to MH i2c: E2 08 00 A9 0D 80 0D 01 02 00 00 00 00 2F [15:29:35]Write i2c OK [15:29:35]MH_I2C_Read... [15:29:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:29:35]Read from MH i2c: E2 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 03 00 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 03 00 A9 0D 00 90 00 2A [15:29:35]RAPDU: 90 00 [15:29:35]wFMCommunicate OK [15:29:35]wFMCommunicate request_size=255 [15:29:35]MH_SAM_APDU [15:29:35]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 61 B3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 [15:29:35]Write to MH i2c: E2 02 01 AA 0D 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 61 B3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 C5 [15:29:35]Write i2c OK [15:29:35]MH_I2C_Read... [15:29:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:29:35]Read from MH i2c: E2 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 03 00 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 03 00 AA 0D 00 90 00 2B [15:29:35]RAPDU: 90 00 [15:29:35]wFMCommunicate OK [15:29:35]wFMCommunicate request_size=30 [15:29:35]MH_SAM_APDU [15:29:35]CAPDU: 80 0D 02 02 19 30 39 36 35 33 34 34 10 04 04 00 BA 56 00 00 35 04 06 00 BA A5 40 97 59 59 [15:29:35]Write to MH i2c: E2 21 00 AB 0D 80 0D 02 02 19 00 30 39 36 35 33 34 34 10 04 04 00 BA 56 00 00 35 04 06 00 BA A5 40 97 59 59 00 00 22 [15:29:35]Write i2c OK [15:29:35]MH_I2C_Read... [15:29:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:29:35]Read from MH i2c: E2 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 03 00 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 03 00 AB 0D 00 90 00 2C [15:29:35]RAPDU: 90 00 [15:29:35]wFMCommunicate OK [15:29:35]wFMCommunicate request_size=4 [15:29:35]MH_SAM_APDU [15:29:35]CAPDU: 80 0D 03 02 [15:29:35]Write to MH i2c: E2 08 00 AC 0D 80 0D 03 02 00 00 00 00 34 [15:29:35]Write i2c OK [15:29:35]MH_I2C_Read... [15:29:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:29:35]Read from MH i2c: E2 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 0B 00 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 0B 00 AC 0D 00 8C E7 8C 9D 7F FC 8A D3 90 00 A9 [15:29:35]RAPDU: 8C E7 8C 9D 7F FC 8A D3 90 00 [15:29:35]wFMCommunicate OK [15:29:35]SAM_PROTO_SignData done [15:29:35]FM_MakeSignedData done [15:29:35]CreateOFDProtocolMessage [15:29:35]wFMCommunicate request_size=4 [15:29:35]MH_SAM_APDU [15:29:35]CAPDU: 80 11 00 00 [15:29:35]Write to MH i2c: E2 08 00 AD 0D 80 11 00 00 00 00 00 00 34 [15:29:35]Write i2c OK [15:29:35]MH_I2C_Read... [15:29:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:29:35]Read from MH i2c: E2 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 17 00 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: E2 17 00 AD 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 86 [15:29:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:29:35]wFMCommunicate OK [15:29:35]CreateOFDProtocolMessage done [15:29:35]OFDSenderStorePacket 22202 [15:29:35]StoreOFDPacket docnum=22202 [15:29:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 23 01 00 00 D2 C8 1B 01 B6 86 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 61 B3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BA 56 00 00 35 04 06 00 BA A5 40 97 59 59 8C E7 8C 9D 7F FC 8A D3 [15:29:35]CheckFolder [15:29:35]dirname=/storage/ofd_packets [15:29:35]CheckFolder done [15:29:35]ProducePacketName [15:29:35]name=ofd_packets/00022202 [15:29:35]NVStorageSaveData ofd_packets/00022202 [15:29:35]File name is /storage/ofd_packets/00022202 [15:29:35]Write 321 bytes [15:29:35]NVStorageSaveData done [15:29:35]OFDSenderStorePacket done [15:29:35]KKMCreateOFDPacket done [15:29:35]NVStorageSaveData kkm_last_timestamp [15:29:35]File name is /storage/kkm_last_timestamp [15:29:35]Write 4 bytes [15:29:35]NVStorageSaveData done [15:29:35]ExternCall_PrintAddStr [15:29:35]wPrintStart [15:29:35]Write to MH i2c: 01 00 00 AE 0D BB [15:29:35]Write i2c OK [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: 01 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: 01 07 00 [15:29:35]MH_I2C_Read... [15:29:35]Read from MH i2c: 01 07 00 AE 0D 00 00 00 00 00 FF 0F D0 [15:29:35]RasterBufferAndPrint [15:29:35]line Счет N : (3)254417 [15:29:35]line ИНН: 02508201610067 [15:29:35]line Контрольно-Кассовый Чек [15:29:35]line ПРОДАЖА [15:29:35]line Товар: 4700000160204 [15:29:35]line Вода Легенда 1,5л [15:29:35]line 1.000 * 60.00 [15:29:35]line = 60.00 [15:29:35]line НДС 12% НСП 1% [15:29:35]line > о реализуемом товаре [15:29:35]line ИТОГО: 60.00 [15:29:35]line НСП 1% : 0.53 [15:29:35]line НДС 12% : 6.37 [15:29:35]line Наличными: 60.00 [15:29:35]line Безнал.: 0.00 [15:29:35]line Место: АЗС № 76 "Партнер Нефть" [15:29:35]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:29:35]line СНО: Общий режим [15:29:35]line Чек 47 15.06.2024 15:29 [15:29:35]line Смена: 326 ФФД: 1.0 [15:29:35]line ЗНМ: 0300000200 [15:29:35]line РНМ: 0000000000099755 [15:29:35]line Версия ККМ: 001 [15:29:35]line ФМ: 0000000000965344 [15:29:35]line ФД: 22202 [15:29:35]line ФПД: 205218916030809 [15:29:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T152937&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22202&fm=205218916030809&tin=02508201610067®Number=0000000000099755&sum=6000 [15:29:36]line 0 [15:29:36]OFD Sender: Processing packet 22202 [packets to send 5, broken 4] [15:29:36]ProducePacketName [15:29:36]name=ofd_packets/00022202 [15:29:36]OFD Sender: To server: pG, [15:29:36]CommunicateWithHost lk.salyk.kg:30040 [15:29:36]ConnectInit lk.salyk.kg [15:29:36]written 0, free lines is 4095 [15:29:36]Connected sock=10 [15:29:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 23 01 00 00 D2 C8 1B 01 B6 86 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 61 B3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BA 56 00 00 35 04 06 00 BA A5 40 97 59 59 8C E7 8C 9D 7F FC 8A D3 [15:29:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 D9 AB 47 00 D3 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BA 56 00 00 F4 03 04 00 1E 5C 6D 66 B6 04 01 00 00 C9 10 19 03 80 23 19 BE [15:29:36]CommunicateWithHost err = 0 [15:29:36]CheckOFDResponse [15:29:36]1017 (14) - 77093643461234 [15:29:36]1041 (16) - 0000000000965344 [15:29:36]1040 (4) - 22202 [15:29:36]1012 (4) - 15.06.2024 09:17 [15:29:36]1206 (1) - 0 [15:29:36]OFD Sender: Remove packet 22202 [15:29:36]ProducePacketName [15:29:36]name=ofd_packets/00022202 [15:29:36]NVStorageDeleteData [15:29:36]Write to MH i2c: 01 00 00 D6 0D E3 [15:29:36]Write i2c OK [15:29:36]MH_I2C_Read... [15:29:36]Read from MH i2c: 01 [15:29:36]MH_I2C_Read... [15:29:36]Read from MH i2c: 01 07 00 [15:29:36]MH_I2C_Read... [15:29:36]Read from MH i2c: 01 07 00 D6 0D 00 00 00 00 00 14 0D 0B [15:29:36]RasterBufferAndPrint [15:29:36]line [15:29:36]line [15:29:36]line [15:29:36]line [15:29:36]line [15:29:36]written 0, free lines is 3354 [15:29:36]MH_Cut [15:29:36]Write to MH i2c: D1 01 00 DD 0D 01 BC [15:29:36]Write i2c OK [15:29:36]MH_I2C_Read... [15:29:36]Read from MH i2c: D1 [15:29:36]MH_I2C_Read... [15:29:36]Read from MH i2c: D1 01 00 [15:29:36]MH_I2C_Read... [15:29:36]Read from MH i2c: D1 01 00 DD 0D 00 BB [15:29:36]Write to MH i2c: 01 00 00 DE 0D EB [15:29:36]Write i2c OK [15:29:36]MH_I2C_Read... [15:29:36]OFD Sender: No OFD packet to send [15:29:37]*** Cut start [15:29:37]*** Partial cut [15:29:37]*** CUTSNS_PIN = 1 [15:29:37]*** CUTSNS_PIN = 0 [15:29:37]*** Brake cut motor [15:29:37]Read from MH i2c: 01 [15:29:37]MH_I2C_Read... [15:29:37]*** Stop cut motor [15:29:37]*** Cut end [15:29:37]Read from MH i2c: 01 07 00 [15:29:37]MH_I2C_Read... [15:29:37]Read from MH i2c: 01 07 00 DE 0D 00 00 00 00 00 FF 0F 00 [15:29:37]process_action close_receipt done [15:29:37]requested_data is exist [15:29:37]produce_requested_data [15:29:37]requested_item fm.sn is exist - process it [15:29:37]wFMCommunicate request_size=4 [15:29:37]MH_SAM_APDU [15:29:37]CAPDU: 80 11 00 00 [15:29:37]Write to MH i2c: E2 08 00 DF 0D 80 11 00 00 00 00 00 00 66 [15:29:37]Write i2c OK [15:29:37]MH_I2C_Read... [15:29:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:29:37]Read from MH i2c: E2 [15:29:37]MH_I2C_Read... [15:29:37]Read from MH i2c: E2 17 00 [15:29:37]MH_I2C_Read... [15:29:37]Read from MH i2c: E2 17 00 DF 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B8 [15:29:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:29:37]wFMCommunicate OK [15:29:37]requested_item fd.num is exist - process it [15:29:37]SAM_PROTO_GetFieldsCounters [15:29:37]wFMCommunicate request_size=4 [15:29:37]MH_SAM_APDU [15:29:37]CAPDU: 80 13 00 00 [15:29:37]Write to MH i2c: E2 08 00 E0 0D 80 13 00 00 00 00 00 00 69 [15:29:37]Write i2c OK [15:29:37]MH_I2C_Read... [15:29:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:29:38]Read from MH i2c: E2 [15:29:38]MH_I2C_Read... [15:29:38]Read from MH i2c: E2 62 00 [15:29:38]MH_I2C_Read... [15:29:38]Read from MH i2c: E2 62 00 E0 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 77 [15:29:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:29:38]wFMCommunicate OK [15:29:38]SAM_PROTO_GetFieldsCounters done [15:29:38]requested_item shift.num is exist - process it [15:29:38]requested_item shift.opened is exist - process it [15:29:38]req_shift_opened [15:29:38]FM_GetShiftState [15:29:38]SAM_PROTO_GetShiftState [15:29:38]wFMCommunicate request_size=4 [15:29:38]MH_SAM_APDU [15:29:38]CAPDU: 80 13 01 00 [15:29:38]Write to MH i2c: E2 08 00 E1 0D 80 13 01 00 00 00 00 00 6B [15:29:38]Write i2c OK [15:29:38]MH_I2C_Read... [15:29:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:29:38]Read from MH i2c: E2 [15:29:38]MH_I2C_Read... [15:29:38]Read from MH i2c: E2 0E 00 [15:29:38]MH_I2C_Read... [15:29:38]Read from MH i2c: E2 0E 00 E1 0D 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 3F [15:29:38]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [15:29:38]wFMCommunicate OK [15:29:38]SAM_PROTO_GetShiftState done [15:29:38]FM_GetShiftState done [15:29:38]req_shift_opened done [15:29:38]requested_item shift.open_date is exist - process it [15:29:38]req_shift_open_date [15:29:38]req_shift_open_date done [15:29:38]produce_requested_data done [15:29:38]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22202,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [15:29:38]process_action_free close_receipt [15:29:38]json_value_free [15:29:38]json_value_free done [15:29:38]process_json_proto returns [15:29:38]Send response to host [15:29:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22202,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [15:29:38]free response buf [15:29:38]execute_script done [15:29:38]execute_script returns [15:29:38]free content buf [15:29:38]Sock 8.Close socket [15:29:38]Sock 8.Thread stoped [15:29:41]OFD Sender: No OFD packet to send [15:29:46]OFD Sender: No OFD packet to send [15:29:51]OFD Sender: No OFD packet to send [15:29:56]OFD Sender: No OFD packet to send [15:30:01]OFD Sender: No OFD packet to send [15:30:06]OFD Sender: No OFD packet to send [15:30:11]OFD Sender: No OFD packet to send [15:30:16]OFD Sender: No OFD packet to send [15:30:21]OFD Sender: No OFD packet to send [15:30:26]OFD Sender: No OFD packet to send [15:30:31]OFD Sender: No OFD packet to send [15:30:36]OFD Sender: No OFD packet to send [15:30:41]OFD Sender: No OFD packet to send [15:30:46]OFD Sender: No OFD packet to send [15:30:51]OFD Sender: No OFD packet to send [15:30:56]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:27]OFD Sender: No OFD packet to send [15:34:32]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:55]accept exits with 9 [15:40:55]New connection [15:40:55]New thread 3066695012 created [15:40:55]Thread 3066838372 joined [15:40:55]Waiting for new connection... [15:40:55] Sock 9.Parse request [15:40:55]Sock 9.Check first char [15:40:55]Sock 9.First char is OK [15:40:55]request: POST /json_proto HTTP/1.0 [15:40:55]Method: POST [15:40:55]URL: /json_proto [15:40:55]Method is POST - this is cgi request [15:40:55]url: /json_proto [15:40:55]query_string will be loaded in cgi processing [15:40:55]execute_cgi json_proto POST (null) [15:40:55]execute_cgi path=json_proto method=POST [15:40:55]POST find Content-Length [15:40:55]Host: 172.17.35.133:8080 [15:40:55]Content-Length: 966 [15:40:55]Content-Type: application/json [15:40:55] [15:40:55]POST finish read [15:40:55]Found Content-Length = 966 [15:40:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254418", "tax_sys" : 0, "items" : [ { "code": "4630007400662", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:40:55]execute_script... [15:40:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254418", "tax_sys" : 0, "items" : [ { "code": "4630007400662", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:40:55]POST & json_proto [15:40:55]process_json_proto [15:40:55]json parsed OK: [15:40:55]protocol is kg_v1.0 [15:40:55]action value=close_receipt [15:40:55]process_action close_receipt [15:40:55]cmd_close_receipt [15:40:55]MH_GetDate [15:40:55]Write to MH i2c: F0 00 00 E2 0D DE [15:40:55]Write i2c OK [15:40:55]MH_I2C_Read... [15:40:55]Read from MH i2c: F0 [15:40:55]MH_I2C_Read... [15:40:55]Read from MH i2c: F0 09 00 [15:40:55]MH_I2C_Read... [15:40:55]Read from MH i2c: F0 09 00 E2 0D 00 0A B6 6D 66 8C 55 28 65 E8 [15:40:55]GetLastDocTimeStamp 1718465377 [15:40:55]current date 1718466058 [15:40:55]FM_GetShiftState [15:40:55]SAM_PROTO_GetShiftState [15:40:55]wFMCommunicate request_size=4 [15:40:55]MH_SAM_APDU [15:40:55]CAPDU: 80 13 01 00 [15:40:55]Write to MH i2c: E2 08 00 E3 0D 80 13 01 00 00 00 00 00 6D [15:40:55]Write i2c OK [15:40:55]MH_I2C_Read... [15:40:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:40:55]Read from MH i2c: E2 [15:40:55]MH_I2C_Read... [15:40:55]Read from MH i2c: E2 0E 00 [15:40:55]MH_I2C_Read... [15:40:55]Read from MH i2c: E2 0E 00 E3 0D 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 41 [15:40:55]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [15:40:55]wFMCommunicate OK [15:40:55]SAM_PROTO_GetShiftState done [15:40:55]FM_GetShiftState done [15:40:55]opened in 1718410776 [15:40:55]opened+sec_in_day 1718497176 [15:40:55]quantity*price = 13000 [15:40:55]sum+1 = 13001 [15:40:55]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4650243871828 Gorilla эн нап манго-кокос 0,45 ж/б 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.12 НДС 12% : 25.48 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 48 15.06.2024 15:40 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22203 ФПД: 159587415905778 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T154058&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22203&fm=159587415905778&tin=02508201610067®Number=0000000000099755&sum=24000 0 [15:40:56]StoreToDocumentArchive [15:40:56]shift 326 fd 22203 [15:40:56]save to /storage/0326/doc_00022203 [15:40:56]save last doc name /storage/0326/doc_00022203 to /storage/kkm_last_doc_name [15:40:56]save OK [15:40:56]Clear old archive folders... [15:40:56]ProcessDocumentItem done err = 0, tmpTLVsize=408 [15:40:56]tlvbuf is 001AB480 [15:40:56]SAM_PROTO_ClearQueue [15:40:56]wFMCommunicate request_size=4 [15:40:56]MH_SAM_APDU [15:40:56]CAPDU: 80 09 00 00 [15:40:56]Write to MH i2c: E2 08 00 F0 0D 80 09 00 00 00 00 00 00 6F [15:40:56]Write i2c OK [15:40:56]MH_I2C_Read... [15:40:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:40:56]Read from MH i2c: E2 [15:40:56]MH_I2C_Read... [15:40:56]Read from MH i2c: E2 03 00 [15:40:56]MH_I2C_Read... [15:40:56]Read from MH i2c: E2 03 00 F0 0D 00 90 00 71 [15:40:56]RAPDU: 90 00 [15:40:56]wFMCommunicate OK [15:40:56]SAM_PROTO_ClearQueue done [15:40:56]KKMCreateOFDPacket [15:40:56]OFDProtocolAddRootSTLVToBuf [15:40:56]FM_MakeSignedData [15:40:56]FM_MakeSignedData [15:40:56]SAM_PROTO_SignData [15:40:56]wFMCommunicate request_size=4 [15:40:56]MH_SAM_APDU [15:40:56]CAPDU: 80 0D 01 02 [15:40:56]Write to MH i2c: E2 08 00 F1 0D 80 0D 01 02 00 00 00 00 77 [15:40:56]Write i2c OK [15:40:56]MH_I2C_Read... [15:40:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:40:56]Read from MH i2c: E2 [15:40:56]MH_I2C_Read... [15:40:56]Read from MH i2c: E2 03 00 [15:40:56]MH_I2C_Read... [15:40:56]Read from MH i2c: E2 03 00 F1 0D 00 90 00 72 [15:40:56]RAPDU: 90 00 [15:40:56]wFMCommunicate OK [15:40:56]wFMCommunicate request_size=255 [15:40:56]MH_SAM_APDU [15:40:56]CAPDU: 80 0D 02 02 FA 03 00 98 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 [15:40:56]Write to MH i2c: E2 02 01 F2 0D 80 0D 02 02 FA 00 03 00 98 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4D [15:40:56]Write i2c OK [15:40:56]MH_I2C_Read... [15:40:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:56]Read from MH i2c: E2 [15:40:56]MH_I2C_Read... [15:40:56]Read from MH i2c: E2 03 00 [15:40:56]MH_I2C_Read... [15:40:56]Read from MH i2c: E2 03 00 F2 0D 00 90 00 73 [15:40:56]RAPDU: 90 00 [15:40:56]wFMCommunicate OK [15:40:56]wFMCommunicate request_size=167 [15:40:56]MH_SAM_APDU [15:40:56]CAPDU: 80 0D 02 02 A2 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 0A B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BB 56 00 00 35 04 06 00 91 24 D7 3C 55 F2 [15:40:56]Write to MH i2c: E2 AA 00 F3 0D 80 0D 02 02 A2 00 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 0A B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BB 56 00 00 35 04 06 00 91 24 D7 3C 55 F2 00 00 39 [15:40:56]Write i2c OK [15:40:56]MH_I2C_Read... [15:40:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:57]Read from MH i2c: E2 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: E2 03 00 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: E2 03 00 F3 0D 00 90 00 74 [15:40:57]RAPDU: 90 00 [15:40:57]wFMCommunicate OK [15:40:57]wFMCommunicate request_size=4 [15:40:57]MH_SAM_APDU [15:40:57]CAPDU: 80 0D 03 02 [15:40:57]Write to MH i2c: E2 08 00 F4 0D 80 0D 03 02 00 00 00 00 7C [15:40:57]Write i2c OK [15:40:57]MH_I2C_Read... [15:40:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:40:57]Read from MH i2c: E2 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: E2 0B 00 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: E2 0B 00 F4 0D 00 98 E0 80 78 93 19 CA 85 90 00 E8 [15:40:57]RAPDU: 98 E0 80 78 93 19 CA 85 90 00 [15:40:57]wFMCommunicate OK [15:40:57]SAM_PROTO_SignData done [15:40:57]FM_MakeSignedData done [15:40:57]CreateOFDProtocolMessage [15:40:57]wFMCommunicate request_size=4 [15:40:57]MH_SAM_APDU [15:40:57]CAPDU: 80 11 00 00 [15:40:57]Write to MH i2c: E2 08 00 F5 0D 80 11 00 00 00 00 00 00 7C [15:40:57]Write i2c OK [15:40:57]MH_I2C_Read... [15:40:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:40:57]Read from MH i2c: E2 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: E2 17 00 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: E2 17 00 F5 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 CE [15:40:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:40:57]wFMCommunicate OK [15:40:57]CreateOFDProtocolMessage done [15:40:57]OFDSenderStorePacket 22203 [15:40:57]StoreOFDPacket docnum=22203 [15:40:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 AC 01 00 00 85 E3 A4 01 AD 45 5A 03 01 00 03 00 98 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 0A B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BB 56 00 00 35 04 06 00 91 24 D7 3C 55 F2 98 E0 80 78 93 19 CA 85 [15:40:57]CheckFolder [15:40:57]dirname=/storage/ofd_packets [15:40:57]CheckFolder done [15:40:57]ProducePacketName [15:40:57]name=ofd_packets/00022203 [15:40:57]NVStorageSaveData ofd_packets/00022203 [15:40:57]File name is /storage/ofd_packets/00022203 [15:40:57]Write 458 bytes [15:40:57]NVStorageSaveData done [15:40:57]OFDSenderStorePacket done [15:40:57]KKMCreateOFDPacket done [15:40:57]NVStorageSaveData kkm_last_timestamp [15:40:57]File name is /storage/kkm_last_timestamp [15:40:57]Write 4 bytes [15:40:57]NVStorageSaveData done [15:40:57]ExternCall_PrintAddStr [15:40:57]wPrintStart [15:40:57]Write to MH i2c: 01 00 00 F6 0D 03 [15:40:57]Write i2c OK [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: 01 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: 01 07 00 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: 01 07 00 F6 0D 00 00 00 00 00 FF 0F 18 [15:40:57]RasterBufferAndPrint [15:40:57]line Счет N : (3)254418 [15:40:57]line ИНН: 02508201610067 [15:40:57]line Контрольно-Кассовый Чек [15:40:57]line ПРОДАЖА [15:40:57]line Товар: 4630007400662 [15:40:57]line Семечки ДЖИНН 140г синий [15:40:57]line 1.000 * 130.00 [15:40:57]line = 130.00 [15:40:57]line НДС 12% НСП 1% [15:40:57]line > о реализуемом товаре [15:40:57]line Товар: 4650243871828 [15:40:57]line Gorilla эн нап манго-кокос 0,45 ж/б [15:40:57]line 1.000 * 110.00 [15:40:57]line = 110.00 [15:40:57]line НДС 12% НСП 1% [15:40:57]line > о реализуемом товаре [15:40:57]line ИТОГО: 240.00 [15:40:57]line НСП 1% : 2.12 [15:40:57]line НДС 12% : 25.48 [15:40:57]line Наличными: 240.00 [15:40:57]line Безнал.: 0.00 [15:40:57]line Место: АЗС № 76 "Партнер Нефть" [15:40:57]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:40:57]line СНО: Общий режим [15:40:57]line Чек 48 15.06.2024 15:40 [15:40:57]line Смена: 326 ФФД: 1.0 [15:40:57]line ЗНМ: 0300000200 [15:40:57]line РНМ: 0000000000099755 [15:40:57]line Версия ККМ: 001 [15:40:57]line ФМ: 0000000000965344 [15:40:57]line ФД: 22203 [15:40:57]line ФПД: 159587415905778 [15:40:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T154058&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22203&fm=159587415905778&tin=02508201610067®Number=0000000000099755&sum=24000 [15:40:57]line 0 [15:40:57]OFD Sender: Processing packet 22203 [packets to send 5, broken 4] [15:40:57]ProducePacketName [15:40:57]name=ofd_packets/00022203 [15:40:57]OFD Sender: To server: pG, [15:40:57]CommunicateWithHost lk.salyk.kg:30040 [15:40:57]ConnectInit lk.salyk.kg [15:40:57]written 0, free lines is 4095 [15:40:57]Connected sock=10 [15:40:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 AC 01 00 00 85 E3 A4 01 AD 45 5A 03 01 00 03 00 98 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 0A B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BB 56 00 00 35 04 06 00 91 24 D7 3C 55 F2 98 E0 80 78 93 19 CA 85 [15:40:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 BC 80 47 00 49 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BB 56 00 00 F4 03 04 00 C7 5E 6D 66 B6 04 01 00 00 17 78 92 07 5B 0A 1F 61 [15:40:57]CommunicateWithHost err = 0 [15:40:57]CheckOFDResponse [15:40:57]1017 (14) - 77093643461234 [15:40:57]1041 (16) - 0000000000965344 [15:40:57]1040 (4) - 22203 [15:40:57]1012 (4) - 15.06.2024 09:28 [15:40:57]1206 (1) - 0 [15:40:57]OFD Sender: Remove packet 22203 [15:40:57]ProducePacketName [15:40:57]name=ofd_packets/00022203 [15:40:57]NVStorageDeleteData [15:40:57]Write to MH i2c: 01 00 00 25 0E 33 [15:40:57]Write i2c OK [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: 01 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: 01 07 00 [15:40:57]MH_I2C_Read... [15:40:57]Read from MH i2c: 01 07 00 25 0E 00 00 00 00 00 D1 0C 17 [15:40:57]RasterBufferAndPrint [15:40:57]line [15:40:57]line [15:40:57]line [15:40:57]line [15:40:57]line [15:40:57]written 0, free lines is 3290 [15:40:58]MH_Cut [15:40:58]Write to MH i2c: D1 01 00 2C 0E 01 0C [15:40:58]Write i2c OK [15:40:58]MH_I2C_Read... [15:40:58]Read from MH i2c: D1 [15:40:58]MH_I2C_Read... [15:40:58]Read from MH i2c: D1 01 00 [15:40:58]MH_I2C_Read... [15:40:58]Read from MH i2c: D1 01 00 2C 0E 00 0B [15:40:58]Write to MH i2c: 01 00 00 2D 0E 3B [15:40:58]Write i2c OK [15:40:58]MH_I2C_Read... [15:40:58]OFD Sender: No OFD packet to send [15:40:58]*** Cut start [15:40:58]*** Partial cut [15:40:58]*** CUTSNS_PIN = 1 [15:40:58]*** CUTSNS_PIN = 0 [15:40:58]*** Brake cut motor [15:40:59]Read from MH i2c: 01 [15:40:59]MH_I2C_Read... [15:40:59]*** Stop cut motor [15:40:59]*** Cut end [15:40:59]Read from MH i2c: 01 07 00 [15:40:59]MH_I2C_Read... [15:40:59]Read from MH i2c: 01 07 00 2D 0E 00 00 00 00 00 FF 0F 50 [15:40:59]process_action close_receipt done [15:40:59]requested_data is exist [15:40:59]produce_requested_data [15:40:59]requested_item fm.sn is exist - process it [15:40:59]wFMCommunicate request_size=4 [15:40:59]MH_SAM_APDU [15:40:59]CAPDU: 80 11 00 00 [15:40:59]Write to MH i2c: E2 08 00 2E 0E 80 11 00 00 00 00 00 00 B6 [15:40:59]Write i2c OK [15:40:59]MH_I2C_Read... [15:40:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:40:59]Read from MH i2c: E2 [15:40:59]MH_I2C_Read... [15:40:59]Read from MH i2c: E2 17 00 [15:40:59]MH_I2C_Read... [15:40:59]Read from MH i2c: E2 17 00 2E 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 08 [15:40:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:40:59]wFMCommunicate OK [15:40:59]requested_item fd.num is exist - process it [15:40:59]SAM_PROTO_GetFieldsCounters [15:40:59]wFMCommunicate request_size=4 [15:40:59]MH_SAM_APDU [15:40:59]CAPDU: 80 13 00 00 [15:40:59]Write to MH i2c: E2 08 00 2F 0E 80 13 00 00 00 00 00 00 B9 [15:40:59]Write i2c OK [15:40:59]MH_I2C_Read... [15:40:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:40:59]Read from MH i2c: E2 [15:40:59]MH_I2C_Read... [15:40:59]Read from MH i2c: E2 62 00 [15:40:59]MH_I2C_Read... [15:40:59]Read from MH i2c: E2 62 00 2F 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BB 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 CB [15:40:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BB 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:40:59]wFMCommunicate OK [15:40:59]SAM_PROTO_GetFieldsCounters done [15:40:59]requested_item shift.num is exist - process it [15:40:59]requested_item shift.opened is exist - process it [15:40:59]req_shift_opened [15:40:59]FM_GetShiftState [15:40:59]SAM_PROTO_GetShiftState [15:40:59]wFMCommunicate request_size=4 [15:40:59]MH_SAM_APDU [15:40:59]CAPDU: 80 13 01 00 [15:40:59]Write to MH i2c: E2 08 00 30 0E 80 13 01 00 00 00 00 00 BB [15:40:59]Write i2c OK [15:40:59]MH_I2C_Read... [15:40:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:40:59]Read from MH i2c: E2 [15:40:59]MH_I2C_Read... [15:40:59]Read from MH i2c: E2 0E 00 [15:40:59]MH_I2C_Read... [15:40:59]Read from MH i2c: E2 0E 00 30 0E 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 8F [15:40:59]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [15:40:59]wFMCommunicate OK [15:40:59]SAM_PROTO_GetShiftState done [15:40:59]FM_GetShiftState done [15:40:59]req_shift_opened done [15:40:59]requested_item shift.open_date is exist - process it [15:40:59]req_shift_open_date [15:40:59]req_shift_open_date done [15:40:59]produce_requested_data done [15:40:59]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22203,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [15:40:59]process_action_free close_receipt [15:40:59]json_value_free [15:40:59]json_value_free done [15:40:59]process_json_proto returns [15:40:59]Send response to host [15:40:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22203,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [15:40:59]free response buf [15:40:59]execute_script done [15:40:59]execute_script returns [15:40:59]free content buf [15:40:59]Sock 9.Close socket [15:40:59]Sock 9.Thread stoped [15:41:03]OFD Sender: No OFD packet to send [15:41:08]OFD Sender: No OFD packet to send [15:41:13]OFD Sender: No OFD packet to send [15:41:18]OFD Sender: No OFD packet to send [15:41:23]OFD Sender: No OFD packet to send [15:41:28]OFD Sender: No OFD packet to send [15:41:33]OFD Sender: No OFD packet to send [15:41:38]OFD Sender: No OFD packet to send [15:41:43]OFD Sender: No OFD packet to send [15:41:48]OFD Sender: No OFD packet to send [15:41:53]OFD Sender: No OFD packet to send [15:41:58]OFD Sender: No OFD packet to send [15:42:03]OFD Sender: No OFD packet to send [15:42:08]OFD Sender: No OFD packet to send [15:42:13]OFD Sender: No OFD packet to send [15:42:18]OFD Sender: No OFD packet to send [15:42:23]OFD Sender: No OFD packet to send [15:42:28]OFD Sender: No OFD packet to send [15:42:33]OFD Sender: No OFD packet to send [15:42:38]OFD Sender: No OFD packet to send [15:42:43]OFD Sender: No OFD packet to send [15:42:48]OFD Sender: No OFD packet to send [15:42:53]OFD Sender: No OFD packet to send [15:42:58]OFD Sender: No OFD packet to send [15:43:03]OFD Sender: No OFD packet to send [15:43:08]OFD Sender: No OFD packet to send [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:26]accept exits with 8 [15:43:26]New connection [15:43:26]New thread 3066838372 created [15:43:26]Thread 3066695012 joined [15:43:26]Waiting for new connection... [15:43:26] Sock 8.Parse request [15:43:26]Sock 8.Check first char [15:43:26]Sock 8.First char is OK [15:43:26]request: POST /json_proto HTTP/1.0 [15:43:26]Method: POST [15:43:26]URL: /json_proto [15:43:26]Method is POST - this is cgi request [15:43:26]url: /json_proto [15:43:26]query_string will be loaded in cgi processing [15:43:26]execute_cgi json_proto POST (null) [15:43:26]execute_cgi path=json_proto method=POST [15:43:26]POST find Content-Length [15:43:26]Host: 172.17.35.133:8080 [15:43:26]Content-Length: 698 [15:43:26]Content-Type: application/json [15:43:26] [15:43:26]POST finish read [15:43:26]Found Content-Length = 698 [15:43:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254419", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:26]execute_script... [15:43:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254419", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:26]POST & json_proto [15:43:26]process_json_proto [15:43:26]json parsed OK: [15:43:26]protocol is kg_v1.0 [15:43:26]action value=close_receipt [15:43:26]process_action close_receipt [15:43:26]cmd_close_receipt [15:43:26]MH_GetDate [15:43:26]Write to MH i2c: F0 00 00 31 0E 2E [15:43:26]Write i2c OK [15:43:26]MH_I2C_Read... [15:43:26]Read from MH i2c: F0 [15:43:26]MH_I2C_Read... [15:43:26]Read from MH i2c: F0 09 00 [15:43:26]MH_I2C_Read... [15:43:26]Read from MH i2c: F0 09 00 31 0E 00 A1 B6 6D 66 8C 55 28 65 CF [15:43:26]GetLastDocTimeStamp 1718466058 [15:43:26]current date 1718466209 [15:43:26]FM_GetShiftState [15:43:26]SAM_PROTO_GetShiftState [15:43:26]wFMCommunicate request_size=4 [15:43:26]MH_SAM_APDU [15:43:26]CAPDU: 80 13 01 00 [15:43:26]Write to MH i2c: E2 08 00 32 0E 80 13 01 00 00 00 00 00 BD [15:43:26]Write i2c OK [15:43:26]MH_I2C_Read... [15:43:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:26]Read from MH i2c: E2 [15:43:26]MH_I2C_Read... [15:43:26]Read from MH i2c: E2 0E 00 [15:43:26]MH_I2C_Read... [15:43:26]Read from MH i2c: E2 0E 00 32 0E 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 91 [15:43:26]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [15:43:26]wFMCommunicate OK [15:43:26]SAM_PROTO_GetShiftState done [15:43:26]FM_GetShiftState done [15:43:26]opened in 1718410776 [15:43:26]opened+sec_in_day 1718497176 [15:43:26]quantity*price = 10000 [15:43:26]sum+1 = 10001 [15:43:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 49 15.06.2024 15:43 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22204 ФПД: 132965759296470 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T154329&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22204&fm=132965759296470&tin=02508201610067®Number=0000000000099755&sum=10000 0 [15:43:27]StoreToDocumentArchive [15:43:27]shift 326 fd 22204 [15:43:27]save to /storage/0326/doc_00022204 [15:43:27]save last doc name /storage/0326/doc_00022204 to /storage/kkm_last_doc_name [15:43:27]save OK [15:43:27]Clear old archive folders... [15:43:27]ProcessDocumentItem done err = 0, tmpTLVsize=298 [15:43:27]tlvbuf is 001BBEB0 [15:43:27]SAM_PROTO_ClearQueue [15:43:27]wFMCommunicate request_size=4 [15:43:27]MH_SAM_APDU [15:43:27]CAPDU: 80 09 00 00 [15:43:27]Write to MH i2c: E2 08 00 3F 0E 80 09 00 00 00 00 00 00 BF [15:43:27]Write i2c OK [15:43:27]MH_I2C_Read... [15:43:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:43:27]Read from MH i2c: E2 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 03 00 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 03 00 3F 0E 00 90 00 C1 [15:43:27]RAPDU: 90 00 [15:43:27]wFMCommunicate OK [15:43:27]SAM_PROTO_ClearQueue done [15:43:27]KKMCreateOFDPacket [15:43:27]OFDProtocolAddRootSTLVToBuf [15:43:27]FM_MakeSignedData [15:43:27]FM_MakeSignedData [15:43:27]SAM_PROTO_SignData [15:43:27]wFMCommunicate request_size=4 [15:43:27]MH_SAM_APDU [15:43:27]CAPDU: 80 0D 01 02 [15:43:27]Write to MH i2c: E2 08 00 40 0E 80 0D 01 02 00 00 00 00 C7 [15:43:27]Write i2c OK [15:43:27]MH_I2C_Read... [15:43:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:43:27]Read from MH i2c: E2 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 03 00 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 03 00 40 0E 00 90 00 C2 [15:43:27]RAPDU: 90 00 [15:43:27]wFMCommunicate OK [15:43:27]wFMCommunicate request_size=255 [15:43:27]MH_SAM_APDU [15:43:27]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A1 B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [15:43:27]Write to MH i2c: E2 02 01 41 0E 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A1 B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 D2 [15:43:27]Write i2c OK [15:43:27]MH_I2C_Read... [15:43:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:27]Read from MH i2c: E2 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 03 00 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 03 00 41 0E 00 90 00 C3 [15:43:27]RAPDU: 90 00 [15:43:27]wFMCommunicate OK [15:43:27]wFMCommunicate request_size=57 [15:43:27]MH_SAM_APDU [15:43:27]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BC 56 00 00 35 04 06 00 78 EE 80 D9 A3 D6 [15:43:27]Write to MH i2c: E2 3C 00 42 0E 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BC 56 00 00 35 04 06 00 78 EE 80 D9 A3 D6 00 00 DA [15:43:27]Write i2c OK [15:43:27]MH_I2C_Read... [15:43:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:27]Read from MH i2c: E2 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 03 00 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 03 00 42 0E 00 90 00 C4 [15:43:27]RAPDU: 90 00 [15:43:27]wFMCommunicate OK [15:43:27]wFMCommunicate request_size=4 [15:43:27]MH_SAM_APDU [15:43:27]CAPDU: 80 0D 03 02 [15:43:27]Write to MH i2c: E2 08 00 43 0E 80 0D 03 02 00 00 00 00 CC [15:43:27]Write i2c OK [15:43:27]MH_I2C_Read... [15:43:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:43:27]Read from MH i2c: E2 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 0B 00 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 0B 00 43 0E 00 28 70 F2 EF B0 1F 27 5B 90 00 97 [15:43:27]RAPDU: 28 70 F2 EF B0 1F 27 5B 90 00 [15:43:27]wFMCommunicate OK [15:43:27]SAM_PROTO_SignData done [15:43:27]FM_MakeSignedData done [15:43:27]CreateOFDProtocolMessage [15:43:27]wFMCommunicate request_size=4 [15:43:27]MH_SAM_APDU [15:43:27]CAPDU: 80 11 00 00 [15:43:27]Write to MH i2c: E2 08 00 44 0E 80 11 00 00 00 00 00 00 CC [15:43:27]Write i2c OK [15:43:27]MH_I2C_Read... [15:43:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:27]Read from MH i2c: E2 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 17 00 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: E2 17 00 44 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 1E [15:43:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:43:27]wFMCommunicate OK [15:43:27]CreateOFDProtocolMessage done [15:43:27]OFDSenderStorePacket 22204 [15:43:27]StoreOFDPacket docnum=22204 [15:43:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 FA 4C 36 01 BB D1 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A1 B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BC 56 00 00 35 04 06 00 78 EE 80 D9 A3 D6 28 70 F2 EF B0 1F 27 5B [15:43:27]CheckFolder [15:43:27]dirname=/storage/ofd_packets [15:43:27]CheckFolder done [15:43:27]ProducePacketName [15:43:27]name=ofd_packets/00022204 [15:43:27]NVStorageSaveData ofd_packets/00022204 [15:43:27]File name is /storage/ofd_packets/00022204 [15:43:27]Write 348 bytes [15:43:27]NVStorageSaveData done [15:43:27]OFDSenderStorePacket done [15:43:27]KKMCreateOFDPacket done [15:43:27]NVStorageSaveData kkm_last_timestamp [15:43:27]File name is /storage/kkm_last_timestamp [15:43:27]Write 4 bytes [15:43:27]NVStorageSaveData done [15:43:27]ExternCall_PrintAddStr [15:43:27]wPrintStart [15:43:27]Write to MH i2c: 01 00 00 45 0E 53 [15:43:27]Write i2c OK [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: 01 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: 01 07 00 [15:43:27]MH_I2C_Read... [15:43:27]Read from MH i2c: 01 07 00 45 0E 00 00 00 00 00 FF 0F 68 [15:43:27]RasterBufferAndPrint [15:43:27]line Счет N : (3)254419 [15:43:27]line ИНН: 02508201610067 [15:43:27]line Контрольно-Кассовый Чек [15:43:27]line ПРОДАЖА [15:43:27]line Товар: 4870001571528 [15:43:27]line Вода ASU пит н.газ персик ПЭТ 1,0 л [15:43:27]line 1.000 * 100.00 [15:43:27]line = 100.00 [15:43:27]line НДС 12% НСП 1% [15:43:27]line > о реализуемом товаре [15:43:27]line ИТОГО: 100.00 [15:43:27]line НСП 1% : 0.88 [15:43:27]line НДС 12% : 10.62 [15:43:27]line Наличными: 100.00 [15:43:27]line Безнал.: 0.00 [15:43:27]line Место: АЗС № 76 "Партнер Нефть" [15:43:27]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:43:27]line СНО: Общий режим [15:43:27]line Чек 49 15.06.2024 15:43 [15:43:27]line Смена: 326 ФФД: 1.0 [15:43:27]line ЗНМ: 0300000200 [15:43:27]line РНМ: 0000000000099755 [15:43:27]line Версия ККМ: 001 [15:43:27]line ФМ: 0000000000965344 [15:43:27]line ФД: 22204 [15:43:27]line ФПД: 132965759296470 [15:43:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T154329&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22204&fm=132965759296470&tin=02508201610067®Number=0000000000099755&sum=10000 [15:43:28]line 0 [15:43:28]OFD Sender: Processing packet 22204 [packets to send 5, broken 4] [15:43:28]ProducePacketName [15:43:28]name=ofd_packets/00022204 [15:43:28]OFD Sender: To server: pG, [15:43:28]CommunicateWithHost lk.salyk.kg:30040 [15:43:28]ConnectInit lk.salyk.kg [15:43:28]written 0, free lines is 4095 [15:43:28]Connected sock=10 [15:43:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 FA 4C 36 01 BB D1 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A1 B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BC 56 00 00 35 04 06 00 78 EE 80 D9 A3 D6 28 70 F2 EF B0 1F 27 5B [15:43:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 9F FC 47 00 80 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BC 56 00 00 F4 03 04 00 5E 5F 6D 66 B6 04 01 00 00 10 48 58 FB AD 3E 59 1C [15:43:28]CommunicateWithHost err = 0 [15:43:28]CheckOFDResponse [15:43:28]1017 (14) - 77093643461234 [15:43:28]1041 (16) - 0000000000965344 [15:43:28]1040 (4) - 22204 [15:43:28]1012 (4) - 15.06.2024 09:31 [15:43:28]1206 (1) - 0 [15:43:28]OFD Sender: Remove packet 22204 [15:43:28]ProducePacketName [15:43:28]name=ofd_packets/00022204 [15:43:28]NVStorageDeleteData [15:43:28]Write to MH i2c: 01 00 00 6E 0E 7C [15:43:28]Write i2c OK [15:43:28]MH_I2C_Read... [15:43:28]Read from MH i2c: 01 [15:43:28]MH_I2C_Read... [15:43:28]Read from MH i2c: 01 07 00 [15:43:28]MH_I2C_Read... [15:43:28]Read from MH i2c: 01 07 00 6E 0E 00 00 00 00 00 13 0D A3 [15:43:28]RasterBufferAndPrint [15:43:28]line [15:43:28]line [15:43:28]line [15:43:28]line [15:43:28]line [15:43:28]written 0, free lines is 3354 [15:43:28]MH_Cut [15:43:28]Write to MH i2c: D1 01 00 75 0E 01 55 [15:43:28]Write i2c OK [15:43:28]MH_I2C_Read... [15:43:28]Read from MH i2c: D1 [15:43:28]MH_I2C_Read... [15:43:28]Read from MH i2c: D1 01 00 [15:43:28]MH_I2C_Read... [15:43:28]Read from MH i2c: D1 01 00 75 0E 00 54 [15:43:28]Write to MH i2c: 01 00 00 76 0E 84 [15:43:28]Write i2c OK [15:43:28]MH_I2C_Read... [15:43:28]OFD Sender: No OFD packet to send [15:43:29]*** Cut start [15:43:29]*** Partial cut [15:43:29]*** CUTSNS_PIN = 1 [15:43:29]*** CUTSNS_PIN = 0 [15:43:29]*** Brake cut motor [15:43:29]Read from MH i2c: 01 [15:43:29]MH_I2C_Read... [15:43:29]*** Stop cut motor [15:43:29]*** Cut end [15:43:29]Read from MH i2c: 01 07 00 [15:43:29]MH_I2C_Read... [15:43:29]Read from MH i2c: 01 07 00 76 0E 00 00 00 00 00 FF 0F 99 [15:43:29]process_action close_receipt done [15:43:29]requested_data is exist [15:43:29]produce_requested_data [15:43:29]requested_item fm.sn is exist - process it [15:43:29]wFMCommunicate request_size=4 [15:43:29]MH_SAM_APDU [15:43:29]CAPDU: 80 11 00 00 [15:43:29]Write to MH i2c: E2 08 00 77 0E 80 11 00 00 00 00 00 00 FF [15:43:29]Write i2c OK [15:43:29]MH_I2C_Read... [15:43:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:29]Read from MH i2c: E2 [15:43:29]MH_I2C_Read... [15:43:29]Read from MH i2c: E2 17 00 [15:43:29]MH_I2C_Read... [15:43:29]Read from MH i2c: E2 17 00 77 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 51 [15:43:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:43:29]wFMCommunicate OK [15:43:29]requested_item fd.num is exist - process it [15:43:29]SAM_PROTO_GetFieldsCounters [15:43:29]wFMCommunicate request_size=4 [15:43:29]MH_SAM_APDU [15:43:29]CAPDU: 80 13 00 00 [15:43:29]Write to MH i2c: E2 08 00 78 0E 80 13 00 00 00 00 00 00 02 [15:43:29]Write i2c OK [15:43:29]MH_I2C_Read... [15:43:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:43:30]Read from MH i2c: E2 [15:43:30]MH_I2C_Read... [15:43:30]Read from MH i2c: E2 62 00 [15:43:30]MH_I2C_Read... [15:43:30]Read from MH i2c: E2 62 00 78 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BC 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 18 [15:43:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BC 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:43:30]wFMCommunicate OK [15:43:30]SAM_PROTO_GetFieldsCounters done [15:43:30]requested_item shift.num is exist - process it [15:43:30]requested_item shift.opened is exist - process it [15:43:30]req_shift_opened [15:43:30]FM_GetShiftState [15:43:30]SAM_PROTO_GetShiftState [15:43:30]wFMCommunicate request_size=4 [15:43:30]MH_SAM_APDU [15:43:30]CAPDU: 80 13 01 00 [15:43:30]Write to MH i2c: E2 08 00 79 0E 80 13 01 00 00 00 00 00 04 [15:43:30]Write i2c OK [15:43:30]MH_I2C_Read... [15:43:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:30]Read from MH i2c: E2 [15:43:30]MH_I2C_Read... [15:43:30]Read from MH i2c: E2 0E 00 [15:43:30]MH_I2C_Read... [15:43:30]Read from MH i2c: E2 0E 00 79 0E 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 D8 [15:43:30]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [15:43:30]wFMCommunicate OK [15:43:30]SAM_PROTO_GetShiftState done [15:43:30]FM_GetShiftState done [15:43:30]req_shift_opened done [15:43:30]requested_item shift.open_date is exist - process it [15:43:30]req_shift_open_date [15:43:30]req_shift_open_date done [15:43:30]produce_requested_data done [15:43:30]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22204,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [15:43:30]process_action_free close_receipt [15:43:30]json_value_free [15:43:30]json_value_free done [15:43:30]process_json_proto returns [15:43:30]Send response to host [15:43:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22204,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [15:43:30]free response buf [15:43:30]execute_script done [15:43:30]execute_script returns [15:43:30]free content buf [15:43:30]Sock 8.Close socket [15:43:30]Sock 8.Thread stoped [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]accept exits with 9 [15:43:58]New connection [15:43:58]New thread 3066695012 created [15:43:58]Thread 3066838372 joined [15:43:58]Waiting for new connection... [15:43:58] Sock 9.Parse request [15:43:58]Sock 9.Check first char [15:43:58]Sock 9.First char is OK [15:43:58]request: POST /json_proto HTTP/1.0 [15:43:58]Method: POST [15:43:58]URL: /json_proto [15:43:58]Method is POST - this is cgi request [15:43:58]url: /json_proto [15:43:58]query_string will be loaded in cgi processing [15:43:58]execute_cgi json_proto POST (null) [15:43:58]execute_cgi path=json_proto method=POST [15:43:58]POST find Content-Length [15:43:58]Host: 172.17.35.133:8080 [15:43:58]Content-Length: 621 [15:43:58]Content-Type: application/json [15:43:58] [15:43:58]POST finish read [15:43:58]Found Content-Length = 621 [15:43:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254420", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:58]execute_script... [15:43:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254420", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:58]POST & json_proto [15:43:58]process_json_proto [15:43:58]json parsed OK: [15:43:58]protocol is kg_v1.0 [15:43:58]action value=close_receipt [15:43:58]process_action close_receipt [15:43:58]cmd_close_receipt [15:43:58]MH_GetDate [15:43:58]Write to MH i2c: F0 00 00 7A 0E 77 [15:43:58]Write i2c OK [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: F0 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: F0 09 00 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: F0 09 00 7A 0E 00 C1 B6 6D 66 8C 55 28 65 38 [15:43:58]GetLastDocTimeStamp 1718466209 [15:43:58]current date 1718466241 [15:43:58]FM_GetShiftState [15:43:58]SAM_PROTO_GetShiftState [15:43:58]wFMCommunicate request_size=4 [15:43:58]MH_SAM_APDU [15:43:58]CAPDU: 80 13 01 00 [15:43:58]Write to MH i2c: E2 08 00 7B 0E 80 13 01 00 00 00 00 00 06 [15:43:58]Write i2c OK [15:43:58]MH_I2C_Read... [15:43:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:58]Read from MH i2c: E2 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 0E 00 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 0E 00 7B 0E 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 DA [15:43:58]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [15:43:58]wFMCommunicate OK [15:43:58]SAM_PROTO_GetShiftState done [15:43:58]FM_GetShiftState done [15:43:58]opened in 1718410776 [15:43:58]opened+sec_in_day 1718497176 [15:43:58]quantity*price = 14000 [15:43:58]sum+1 = 14001 [15:43:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 50 15.06.2024 15:44 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22205 ФПД: 154642585274427 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T154401&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22205&fm=154642585274427&tin=02508201610067®Number=0000000000099755&sum=14000 0 [15:43:59]StoreToDocumentArchive [15:43:59]shift 326 fd 22205 [15:43:59]save to /storage/0326/doc_00022205 [15:43:59]save last doc name /storage/0326/doc_00022205 to /storage/kkm_last_doc_name [15:43:59]save OK [15:43:59]Clear old archive folders... [15:43:59]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:43:59]tlvbuf is 001AAA40 [15:43:59]SAM_PROTO_ClearQueue [15:43:59]wFMCommunicate request_size=4 [15:43:59]MH_SAM_APDU [15:43:59]CAPDU: 80 09 00 00 [15:43:59]Write to MH i2c: E2 08 00 88 0E 80 09 00 00 00 00 00 00 08 [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:43:59]Read from MH i2c: E2 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 03 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 03 00 88 0E 00 90 00 0A [15:43:59]RAPDU: 90 00 [15:43:59]wFMCommunicate OK [15:43:59]SAM_PROTO_ClearQueue done [15:43:59]KKMCreateOFDPacket [15:43:59]OFDProtocolAddRootSTLVToBuf [15:43:59]FM_MakeSignedData [15:43:59]FM_MakeSignedData [15:43:59]SAM_PROTO_SignData [15:43:59]wFMCommunicate request_size=4 [15:43:59]MH_SAM_APDU [15:43:59]CAPDU: 80 0D 01 02 [15:43:59]Write to MH i2c: E2 08 00 89 0E 80 0D 01 02 00 00 00 00 10 [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:43:59]Read from MH i2c: E2 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 03 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 03 00 89 0E 00 90 00 0B [15:43:59]RAPDU: 90 00 [15:43:59]wFMCommunicate OK [15:43:59]wFMCommunicate request_size=255 [15:43:59]MH_SAM_APDU [15:43:59]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 C1 B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 [15:43:59]Write to MH i2c: E2 02 01 8A 0E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 C1 B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 00 00 D2 [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:59]Read from MH i2c: E2 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 03 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 03 00 8A 0E 00 90 00 0C [15:43:59]RAPDU: 90 00 [15:43:59]wFMCommunicate OK [15:43:59]wFMCommunicate request_size=32 [15:43:59]MH_SAM_APDU [15:43:59]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 34 34 10 04 04 00 BD 56 00 00 35 04 06 00 8C A5 88 5C C8 3B [15:43:59]Write to MH i2c: E2 23 00 8B 0E 80 0D 02 02 1B 00 30 30 30 39 36 35 33 34 34 10 04 04 00 BD 56 00 00 35 04 06 00 8C A5 88 5C C8 3B 00 00 9A [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:59]Read from MH i2c: E2 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 03 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 03 00 8B 0E 00 90 00 0D [15:43:59]RAPDU: 90 00 [15:43:59]wFMCommunicate OK [15:43:59]wFMCommunicate request_size=4 [15:43:59]MH_SAM_APDU [15:43:59]CAPDU: 80 0D 03 02 [15:43:59]Write to MH i2c: E2 08 00 8C 0E 80 0D 03 02 00 00 00 00 15 [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:43:59]Read from MH i2c: E2 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 0B 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 0B 00 8C 0E 00 54 7B 6B 56 57 26 80 28 90 00 CB [15:43:59]RAPDU: 54 7B 6B 56 57 26 80 28 90 00 [15:43:59]wFMCommunicate OK [15:43:59]SAM_PROTO_SignData done [15:43:59]FM_MakeSignedData done [15:43:59]CreateOFDProtocolMessage [15:43:59]wFMCommunicate request_size=4 [15:43:59]MH_SAM_APDU [15:43:59]CAPDU: 80 11 00 00 [15:43:59]Write to MH i2c: E2 08 00 8D 0E 80 11 00 00 00 00 00 00 15 [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:59]Read from MH i2c: E2 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 17 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: E2 17 00 8D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 67 [15:43:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:43:59]wFMCommunicate OK [15:43:59]CreateOFDProtocolMessage done [15:43:59]OFDSenderStorePacket 22205 [15:43:59]StoreOFDPacket docnum=22205 [15:43:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 02 FF 1D 01 68 10 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 C1 B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BD 56 00 00 35 04 06 00 8C A5 88 5C C8 3B 54 7B 6B 56 57 26 80 28 [15:43:59]CheckFolder [15:43:59]dirname=/storage/ofd_packets [15:43:59]CheckFolder done [15:43:59]ProducePacketName [15:43:59]name=ofd_packets/00022205 [15:43:59]NVStorageSaveData ofd_packets/00022205 [15:43:59]File name is /storage/ofd_packets/00022205 [15:43:59]Write 323 bytes [15:43:59]NVStorageSaveData done [15:43:59]OFDSenderStorePacket done [15:43:59]KKMCreateOFDPacket done [15:43:59]NVStorageSaveData kkm_last_timestamp [15:43:59]File name is /storage/kkm_last_timestamp [15:43:59]Write 4 bytes [15:43:59]NVStorageSaveData done [15:43:59]ExternCall_PrintAddStr [15:43:59]wPrintStart [15:43:59]Write to MH i2c: 01 00 00 8E 0E 9C [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 07 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 07 00 8E 0E 00 00 00 00 00 FF 0F B1 [15:43:59]RasterBufferAndPrint [15:43:59]line Счет N : (3)254420 [15:43:59]line ИНН: 02508201610067 [15:43:59]line Контрольно-Кассовый Чек [15:43:59]line ПРОДАЖА [15:43:59]line Товар: 48743570 [15:43:59]line Сигареты Winston XStyle Blue [15:43:59]line 1.000 * 140.00 [15:43:59]line = 140.00 [15:43:59]line НДС 12% НСП 1% [15:43:59]line > о реализуемом товаре [15:43:59]line ИТОГО: 140.00 [15:43:59]line НСП 1% : 1.24 [15:43:59]line НДС 12% : 14.87 [15:43:59]line Наличными: 140.00 [15:43:59]line Безнал.: 0.00 [15:43:59]line Место: АЗС № 76 "Партнер Нефть" [15:43:59]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:43:59]line СНО: Общий режим [15:43:59]line Чек 50 15.06.2024 15:44 [15:43:59]line Смена: 326 ФФД: 1.0 [15:43:59]line ЗНМ: 0300000200 [15:43:59]line РНМ: 0000000000099755 [15:43:59]line Версия ККМ: 001 [15:43:59]line ФМ: 0000000000965344 [15:43:59]line ФД: 22205 [15:43:59]line ФПД: 154642585274427 [15:44:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T154401&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22205&fm=154642585274427&tin=02508201610067®Number=0000000000099755&sum=14000 [15:44:00]line 0 [15:44:00]OFD Sender: Processing packet 22205 [packets to send 5, broken 4] [15:44:00]ProducePacketName [15:44:00]name=ofd_packets/00022205 [15:44:00]OFD Sender: To server: pG, [15:44:00]CommunicateWithHost lk.salyk.kg:30040 [15:44:00]ConnectInit lk.salyk.kg [15:44:00]written 0, free lines is 4095 [15:44:00]Connected sock=11 [15:44:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 02 FF 1D 01 68 10 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 C1 B6 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BD 56 00 00 35 04 06 00 8C A5 88 5C C8 3B 54 7B 6B 56 57 26 80 28 [15:44:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 04 4C 47 00 EE 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BD 56 00 00 F4 03 04 00 7E 5F 6D 66 B6 04 01 00 00 AE 1B 42 3A B5 07 13 8C [15:44:00]CommunicateWithHost err = 0 [15:44:00]CheckOFDResponse [15:44:00]1017 (14) - 77093643461234 [15:44:00]1041 (16) - 0000000000965344 [15:44:00]1040 (4) - 22205 [15:44:00]1012 (4) - 15.06.2024 09:31 [15:44:00]1206 (1) - 0 [15:44:00]OFD Sender: Remove packet 22205 [15:44:00]ProducePacketName [15:44:00]name=ofd_packets/00022205 [15:44:00]NVStorageDeleteData [15:44:00]Write to MH i2c: 01 00 00 B6 0E C4 [15:44:00]Write i2c OK [15:44:00]MH_I2C_Read... [15:44:00]Read from MH i2c: 01 [15:44:00]MH_I2C_Read... [15:44:00]Read from MH i2c: 01 07 00 [15:44:00]MH_I2C_Read... [15:44:00]Read from MH i2c: 01 07 00 B6 0E 00 00 00 00 00 0F 0D E7 [15:44:00]RasterBufferAndPrint [15:44:00]line [15:44:00]line [15:44:00]line [15:44:00]line [15:44:00]line [15:44:00]written 0, free lines is 3349 [15:44:00]MH_Cut [15:44:00]Write to MH i2c: D1 01 00 BD 0E 01 9D [15:44:00]Write i2c OK [15:44:00]MH_I2C_Read... [15:44:00]Read from MH i2c: D1 [15:44:00]MH_I2C_Read... [15:44:00]Read from MH i2c: D1 01 00 [15:44:00]MH_I2C_Read... [15:44:00]Read from MH i2c: D1 01 00 BD 0E 00 9C [15:44:00]Write to MH i2c: 01 00 00 BE 0E CC [15:44:00]Write i2c OK [15:44:00]MH_I2C_Read... [15:44:00]OFD Sender: No OFD packet to send [15:44:01]*** Cut start [15:44:01]*** Partial cut [15:44:01]*** CUTSNS_PIN = 1 [15:44:01]*** CUTSNS_PIN = 0 [15:44:01]*** Brake cut motor [15:44:01]Read from MH i2c: 01 [15:44:01]MH_I2C_Read... [15:44:01]*** Stop cut motor [15:44:01]*** Cut end [15:44:01]Read from MH i2c: 01 07 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: 01 07 00 BE 0E 00 00 00 00 00 FF 0F E1 [15:44:01]process_action close_receipt done [15:44:01]requested_data is exist [15:44:01]produce_requested_data [15:44:01]requested_item fm.sn is exist - process it [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 11 00 00 [15:44:01]Write to MH i2c: E2 08 00 BF 0E 80 11 00 00 00 00 00 00 47 [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 17 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 17 00 BF 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 99 [15:44:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:44:02]wFMCommunicate OK [15:44:02]requested_item fd.num is exist - process it [15:44:02]SAM_PROTO_GetFieldsCounters [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 13 00 00 [15:44:02]Write to MH i2c: E2 08 00 C0 0E 80 13 00 00 00 00 00 00 4A [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 62 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 62 00 C0 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BD 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 64 [15:44:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BD 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:44:02]wFMCommunicate OK [15:44:02]SAM_PROTO_GetFieldsCounters done [15:44:02]requested_item shift.num is exist - process it [15:44:02]requested_item shift.opened is exist - process it [15:44:02]req_shift_opened [15:44:02]FM_GetShiftState [15:44:02]SAM_PROTO_GetShiftState [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 13 01 00 [15:44:02]Write to MH i2c: E2 08 00 C1 0E 80 13 01 00 00 00 00 00 4C [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 0E 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 0E 00 C1 0E 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 20 [15:44:02]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [15:44:02]wFMCommunicate OK [15:44:02]SAM_PROTO_GetShiftState done [15:44:02]FM_GetShiftState done [15:44:02]req_shift_opened done [15:44:02]requested_item shift.open_date is exist - process it [15:44:02]req_shift_open_date [15:44:02]req_shift_open_date done [15:44:02]produce_requested_data done [15:44:02]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22205,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [15:44:02]process_action_free close_receipt [15:44:02]json_value_free [15:44:02]json_value_free done [15:44:02]process_json_proto returns [15:44:02]Send response to host [15:44:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22205,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [15:44:02]free response buf [15:44:02]execute_script done [15:44:02]execute_script returns [15:44:02]free content buf [15:44:02]Sock 9.Close socket [15:44:02]Sock 9.Thread stoped [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:51]OFD Sender: No OFD packet to send [15:52:56]OFD Sender: No OFD packet to send [15:53:01]OFD Sender: No OFD packet to send [15:53:06]OFD Sender: No OFD packet to send [15:53:11]OFD Sender: No OFD packet to send [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:31]OFD Sender: No OFD packet to send [15:55:36]OFD Sender: No OFD packet to send [15:55:41]OFD Sender: No OFD packet to send [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:16]OFD Sender: No OFD packet to send [15:56:21]OFD Sender: No OFD packet to send [15:56:26]OFD Sender: No OFD packet to send [15:56:31]OFD Sender: No OFD packet to send [15:56:36]OFD Sender: No OFD packet to send [15:56:41]OFD Sender: No OFD packet to send [15:56:46]OFD Sender: No OFD packet to send [15:56:51]OFD Sender: No OFD packet to send [15:56:56]OFD Sender: No OFD packet to send [15:57:01]OFD Sender: No OFD packet to send [15:57:06]OFD Sender: No OFD packet to send [15:57:11]OFD Sender: No OFD packet to send [15:57:16]OFD Sender: No OFD packet to send [15:57:21]OFD Sender: No OFD packet to send [15:57:26]OFD Sender: No OFD packet to send [15:57:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]accept exits with 8 [16:00:01]New connection [16:00:01]New thread 3066838372 created [16:00:01]Thread 3066695012 joined [16:00:01]Waiting for new connection... [16:00:01] Sock 8.Parse request [16:00:01]Sock 8.Check first char [16:00:01]Sock 8.First char is OK [16:00:01]request: POST /json_proto HTTP/1.0 [16:00:01]Method: POST [16:00:01]URL: /json_proto [16:00:01]Method is POST - this is cgi request [16:00:01]url: /json_proto [16:00:01]query_string will be loaded in cgi processing [16:00:01]execute_cgi json_proto POST (null) [16:00:01]execute_cgi path=json_proto method=POST [16:00:01]POST find Content-Length [16:00:01]Host: 172.17.35.133:8080 [16:00:01]Content-Length: 715 [16:00:01]Content-Type: application/json [16:00:01] [16:00:01]POST finish read [16:00:01]Found Content-Length = 715 [16:00:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254421", "tax_sys" : 0, "items" : [ { "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:00:01]execute_script... [16:00:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254421", "tax_sys" : 0, "items" : [ { "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:00:01]POST & json_proto [16:00:01]process_json_proto [16:00:01]json parsed OK: [16:00:01]protocol is kg_v1.0 [16:00:01]action value=close_receipt [16:00:01]process_action close_receipt [16:00:01]cmd_close_receipt [16:00:01]MH_GetDate [16:00:01]Write to MH i2c: F0 00 00 C2 0E BF [16:00:01]Write i2c OK [16:00:01]MH_I2C_Read... [16:00:01]Read from MH i2c: F0 [16:00:01]MH_I2C_Read... [16:00:01]Read from MH i2c: F0 09 00 [16:00:01]MH_I2C_Read... [16:00:01]Read from MH i2c: F0 09 00 C2 0E 00 84 BA 6D 66 8C 55 28 65 47 [16:00:01]GetLastDocTimeStamp 1718466241 [16:00:01]current date 1718467204 [16:00:01]FM_GetShiftState [16:00:01]SAM_PROTO_GetShiftState [16:00:01]wFMCommunicate request_size=4 [16:00:01]MH_SAM_APDU [16:00:01]CAPDU: 80 13 01 00 [16:00:01]Write to MH i2c: E2 08 00 C3 0E 80 13 01 00 00 00 00 00 4E [16:00:01]Write i2c OK [16:00:01]MH_I2C_Read... [16:00:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:01]Read from MH i2c: E2 [16:00:01]MH_I2C_Read... [16:00:01]Read from MH i2c: E2 0E 00 [16:00:01]MH_I2C_Read... [16:00:01]Read from MH i2c: E2 0E 00 C3 0E 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 22 [16:00:01]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:00:01]wFMCommunicate OK [16:00:01]SAM_PROTO_GetShiftState done [16:00:01]FM_GetShiftState done [16:00:01]opened in 1718410776 [16:00:01]opened+sec_in_day 1718497176 [16:00:01]quantity*price = 7000 [16:00:01]sum+1 = 7001 [16:00:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 51 15.06.2024 16:00 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22206 ФПД: 272303900767545 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T160004&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22206&fm=272303900767545&tin=02508201610067®Number=0000000000099755&sum=7000 0 [16:00:02]StoreToDocumentArchive [16:00:02]shift 326 fd 22206 [16:00:02]save to /storage/0326/doc_00022206 [16:00:02]save last doc name /storage/0326/doc_00022206 to /storage/kkm_last_doc_name [16:00:02]save OK [16:00:02]Clear old archive folders... [16:00:02]ProcessDocumentItem done err = 0, tmpTLVsize=298 [16:00:02]tlvbuf is 0021F160 [16:00:02]SAM_PROTO_ClearQueue [16:00:02]wFMCommunicate request_size=4 [16:00:02]MH_SAM_APDU [16:00:02]CAPDU: 80 09 00 00 [16:00:02]Write to MH i2c: E2 08 00 D0 0E 80 09 00 00 00 00 00 00 50 [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:00:02]Read from MH i2c: E2 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 03 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 03 00 D0 0E 00 90 00 52 [16:00:02]RAPDU: 90 00 [16:00:02]wFMCommunicate OK [16:00:02]SAM_PROTO_ClearQueue done [16:00:02]KKMCreateOFDPacket [16:00:02]OFDProtocolAddRootSTLVToBuf [16:00:02]FM_MakeSignedData [16:00:02]FM_MakeSignedData [16:00:02]SAM_PROTO_SignData [16:00:02]wFMCommunicate request_size=4 [16:00:02]MH_SAM_APDU [16:00:02]CAPDU: 80 0D 01 02 [16:00:02]Write to MH i2c: E2 08 00 D1 0E 80 0D 01 02 00 00 00 00 58 [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:00:02]Read from MH i2c: E2 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 03 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 03 00 D1 0E 00 90 00 53 [16:00:02]RAPDU: 90 00 [16:00:02]wFMCommunicate OK [16:00:02]wFMCommunicate request_size=255 [16:00:02]MH_SAM_APDU [16:00:02]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 84 BA 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [16:00:02]Write to MH i2c: E2 02 01 D2 0E 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 84 BA 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 8A [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:02]Read from MH i2c: E2 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 03 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 03 00 D2 0E 00 90 00 54 [16:00:02]RAPDU: 90 00 [16:00:02]wFMCommunicate OK [16:00:02]wFMCommunicate request_size=57 [16:00:02]MH_SAM_APDU [16:00:02]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BE 56 00 00 35 04 06 00 F7 A8 B1 46 B5 39 [16:00:02]Write to MH i2c: E2 3C 00 D3 0E 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BE 56 00 00 35 04 06 00 F7 A8 B1 46 B5 39 00 00 B9 [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:02]Read from MH i2c: E2 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 03 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 03 00 D3 0E 00 90 00 55 [16:00:02]RAPDU: 90 00 [16:00:02]wFMCommunicate OK [16:00:02]wFMCommunicate request_size=4 [16:00:02]MH_SAM_APDU [16:00:02]CAPDU: 80 0D 03 02 [16:00:02]Write to MH i2c: E2 08 00 D4 0E 80 0D 03 02 00 00 00 00 5D [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:00:02]Read from MH i2c: E2 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 0B 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 0B 00 D4 0E 00 1A 40 94 32 33 54 CB 70 90 00 40 [16:00:02]RAPDU: 1A 40 94 32 33 54 CB 70 90 00 [16:00:02]wFMCommunicate OK [16:00:02]SAM_PROTO_SignData done [16:00:02]FM_MakeSignedData done [16:00:02]CreateOFDProtocolMessage [16:00:02]wFMCommunicate request_size=4 [16:00:02]MH_SAM_APDU [16:00:02]CAPDU: 80 11 00 00 [16:00:02]Write to MH i2c: E2 08 00 D5 0E 80 11 00 00 00 00 00 00 5D [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:02]Read from MH i2c: E2 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 17 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 17 00 D5 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AF [16:00:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:00:02]wFMCommunicate OK [16:00:02]CreateOFDProtocolMessage done [16:00:02]OFDSenderStorePacket 22206 [16:00:02]StoreOFDPacket docnum=22206 [16:00:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 33 DC 36 01 B3 7B 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 84 BA 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BE 56 00 00 35 04 06 00 F7 A8 B1 46 B5 39 1A 40 94 32 33 54 CB 70 [16:00:02]CheckFolder [16:00:02]dirname=/storage/ofd_packets [16:00:02]CheckFolder done [16:00:02]ProducePacketName [16:00:02]name=ofd_packets/00022206 [16:00:02]NVStorageSaveData ofd_packets/00022206 [16:00:02]File name is /storage/ofd_packets/00022206 [16:00:02]Write 348 bytes [16:00:02]NVStorageSaveData done [16:00:02]OFDSenderStorePacket done [16:00:02]KKMCreateOFDPacket done [16:00:02]NVStorageSaveData kkm_last_timestamp [16:00:02]File name is /storage/kkm_last_timestamp [16:00:02]Write 4 bytes [16:00:02]NVStorageSaveData done [16:00:02]ExternCall_PrintAddStr [16:00:02]wPrintStart [16:00:02]Write to MH i2c: 01 00 00 D6 0E E4 [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: 01 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: 01 07 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: 01 07 00 D6 0E 00 00 00 00 00 FF 0F F9 [16:00:02]RasterBufferAndPrint [16:00:02]line Счет N : (3)254421 [16:00:02]line ИНН: 02508201610067 [16:00:02]line Контрольно-Кассовый Чек [16:00:02]line ПРОДАЖА [16:00:02]line Товар: 4700007110073 [16:00:02]line Сэндвич с кетчупом Талас Даамы [16:00:02]line 1.000 * 70.00 [16:00:02]line = 70.00 [16:00:02]line НДС 12% НСП 1% [16:00:02]line > о реализуемом товаре [16:00:02]line ИТОГО: 70.00 [16:00:02]line НСП 1% : 0.62 [16:00:02]line НДС 12% : 7.43 [16:00:02]line Наличными: 70.00 [16:00:02]line Безнал.: 0.00 [16:00:02]line Место: АЗС № 76 "Партнер Нефть" [16:00:02]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:00:02]line СНО: Общий режим [16:00:02]line Чек 51 15.06.2024 16:00 [16:00:02]line Смена: 326 ФФД: 1.0 [16:00:02]line ЗНМ: 0300000200 [16:00:02]line РНМ: 0000000000099755 [16:00:02]line Версия ККМ: 001 [16:00:02]line ФМ: 0000000000965344 [16:00:02]line ФД: 22206 [16:00:02]line ФПД: 272303900767545 [16:00:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T160004&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22206&fm=272303900767545&tin=02508201610067®Number=0000000000099755&sum=7000 [16:00:03]line 0 [16:00:03]OFD Sender: Processing packet 22206 [packets to send 5, broken 4] [16:00:03]ProducePacketName [16:00:03]name=ofd_packets/00022206 [16:00:03]OFD Sender: To server: pG, [16:00:03]CommunicateWithHost lk.salyk.kg:30040 [16:00:03]ConnectInit lk.salyk.kg [16:00:03]written 0, free lines is 4095 [16:00:03]Connected sock=10 [16:00:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 33 DC 36 01 B3 7B 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 84 BA 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BE 56 00 00 35 04 06 00 F7 A8 B1 46 B5 39 1A 40 94 32 33 54 CB 70 [16:00:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 80 83 47 00 34 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BE 56 00 00 F4 03 04 00 41 63 6D 66 B6 04 01 00 00 F4 FB E8 63 28 C0 95 09 [16:00:03]CommunicateWithHost err = 0 [16:00:03]CheckOFDResponse [16:00:03]1017 (14) - 77093643461234 [16:00:03]1041 (16) - 0000000000965344 [16:00:03]1040 (4) - 22206 [16:00:03]1012 (4) - 15.06.2024 09:47 [16:00:03]1206 (1) - 0 [16:00:03]OFD Sender: Remove packet 22206 [16:00:03]ProducePacketName [16:00:03]name=ofd_packets/00022206 [16:00:03]NVStorageDeleteData [16:00:03]Write to MH i2c: 01 00 00 FF 0E 0D [16:00:03]Write i2c OK [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: 01 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: 01 07 00 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: 01 07 00 FF 0E 00 00 00 00 00 06 0D 27 [16:00:03]RasterBufferAndPrint [16:00:03]line [16:00:03]line [16:00:03]line [16:00:03]line [16:00:03]line [16:00:03]written 0, free lines is 3343 [16:00:03]MH_Cut [16:00:03]Write to MH i2c: D1 01 00 06 0F 01 E7 [16:00:03]Write i2c OK [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: D1 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: D1 01 00 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: D1 01 00 06 0F 00 E6 [16:00:03]Write to MH i2c: 01 00 00 07 0F 16 [16:00:03]Write i2c OK [16:00:03]MH_I2C_Read... [16:00:04]OFD Sender: No OFD packet to send [16:00:04]*** Cut start [16:00:04]*** Partial cut [16:00:04]*** CUTSNS_PIN = 1 [16:00:04]*** CUTSNS_PIN = 0 [16:00:04]*** Brake cut motor [16:00:04]Read from MH i2c: 01 [16:00:04]MH_I2C_Read... [16:00:04]*** Stop cut motor [16:00:04]*** Cut end [16:00:04]Read from MH i2c: 01 07 00 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: 01 07 00 07 0F 00 00 00 00 00 FF 0F 2B [16:00:04]process_action close_receipt done [16:00:04]requested_data is exist [16:00:04]produce_requested_data [16:00:04]requested_item fm.sn is exist - process it [16:00:04]wFMCommunicate request_size=4 [16:00:04]MH_SAM_APDU [16:00:04]CAPDU: 80 11 00 00 [16:00:04]Write to MH i2c: E2 08 00 08 0F 80 11 00 00 00 00 00 00 91 [16:00:04]Write i2c OK [16:00:04]MH_I2C_Read... [16:00:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:05]Read from MH i2c: E2 [16:00:05]MH_I2C_Read... [16:00:05]Read from MH i2c: E2 17 00 [16:00:05]MH_I2C_Read... [16:00:05]Read from MH i2c: E2 17 00 08 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E3 [16:00:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:00:05]wFMCommunicate OK [16:00:05]requested_item fd.num is exist - process it [16:00:05]SAM_PROTO_GetFieldsCounters [16:00:05]wFMCommunicate request_size=4 [16:00:05]MH_SAM_APDU [16:00:05]CAPDU: 80 13 00 00 [16:00:05]Write to MH i2c: E2 08 00 09 0F 80 13 00 00 00 00 00 00 94 [16:00:05]Write i2c OK [16:00:05]MH_I2C_Read... [16:00:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:00:05]Read from MH i2c: E2 [16:00:05]MH_I2C_Read... [16:00:05]Read from MH i2c: E2 62 00 [16:00:05]MH_I2C_Read... [16:00:05]Read from MH i2c: E2 62 00 09 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BE 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 B2 [16:00:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BE 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:00:05]wFMCommunicate OK [16:00:05]SAM_PROTO_GetFieldsCounters done [16:00:05]requested_item shift.num is exist - process it [16:00:05]requested_item shift.opened is exist - process it [16:00:05]req_shift_opened [16:00:05]FM_GetShiftState [16:00:05]SAM_PROTO_GetShiftState [16:00:05]wFMCommunicate request_size=4 [16:00:05]MH_SAM_APDU [16:00:05]CAPDU: 80 13 01 00 [16:00:05]Write to MH i2c: E2 08 00 0A 0F 80 13 01 00 00 00 00 00 96 [16:00:05]Write i2c OK [16:00:05]MH_I2C_Read... [16:00:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:05]Read from MH i2c: E2 [16:00:05]MH_I2C_Read... [16:00:05]Read from MH i2c: E2 0E 00 [16:00:05]MH_I2C_Read... [16:00:05]Read from MH i2c: E2 0E 00 0A 0F 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 6A [16:00:05]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:00:05]wFMCommunicate OK [16:00:05]SAM_PROTO_GetShiftState done [16:00:05]FM_GetShiftState done [16:00:05]req_shift_opened done [16:00:05]requested_item shift.open_date is exist - process it [16:00:05]req_shift_open_date [16:00:05]req_shift_open_date done [16:00:05]produce_requested_data done [16:00:05]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22206,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [16:00:05]process_action_free close_receipt [16:00:05]json_value_free [16:00:05]json_value_free done [16:00:05]process_json_proto returns [16:00:05]Send response to host [16:00:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22206,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [16:00:05]free response buf [16:00:05]execute_script done [16:00:05]execute_script returns [16:00:05]free content buf [16:00:05]Sock 8.Close socket [16:00:05]Sock 8.Thread stoped [16:00:09]OFD Sender: No OFD packet to send [16:00:14]OFD Sender: No OFD packet to send [16:00:19]OFD Sender: No OFD packet to send [16:00:24]OFD Sender: No OFD packet to send [16:00:29]OFD Sender: No OFD packet to send [16:00:34]OFD Sender: No OFD packet to send [16:00:39]OFD Sender: No OFD packet to send [16:00:44]OFD Sender: No OFD packet to send [16:00:49]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:19]OFD Sender: No OFD packet to send [16:04:24]OFD Sender: No OFD packet to send [16:04:29]OFD Sender: No OFD packet to send [16:04:34]OFD Sender: No OFD packet to send [16:04:39]OFD Sender: No OFD packet to send [16:04:44]OFD Sender: No OFD packet to send [16:04:49]OFD Sender: No OFD packet to send [16:04:54]OFD Sender: No OFD packet to send [16:04:59]OFD Sender: No OFD packet to send [16:05:04]OFD Sender: No OFD packet to send [16:05:09]OFD Sender: No OFD packet to send [16:05:14]OFD Sender: No OFD packet to send [16:05:19]OFD Sender: No OFD packet to send [16:05:24]OFD Sender: No OFD packet to send [16:05:29]OFD Sender: No OFD packet to send [16:05:34]OFD Sender: No OFD packet to send [16:05:39]OFD Sender: No OFD packet to send [16:05:44]OFD Sender: No OFD packet to send [16:05:49]OFD Sender: No OFD packet to send [16:05:54]OFD Sender: No OFD packet to send [16:05:59]OFD Sender: No OFD packet to send [16:06:04]OFD Sender: No OFD packet to send [16:06:09]OFD Sender: No OFD packet to send [16:06:14]OFD Sender: No OFD packet to send [16:06:19]OFD Sender: No OFD packet to send [16:06:24]OFD Sender: No OFD packet to send [16:06:29]OFD Sender: No OFD packet to send [16:06:34]OFD Sender: No OFD packet to send [16:06:39]OFD Sender: No OFD packet to send [16:06:44]OFD Sender: No OFD packet to send [16:06:49]OFD Sender: No OFD packet to send [16:06:54]OFD Sender: No OFD packet to send [16:06:59]OFD Sender: No OFD packet to send [16:07:04]OFD Sender: No OFD packet to send [16:07:09]OFD Sender: No OFD packet to send [16:07:14]OFD Sender: No OFD packet to send [16:07:19]OFD Sender: No OFD packet to send [16:07:24]OFD Sender: No OFD packet to send [16:07:29]OFD Sender: No OFD packet to send [16:07:34]OFD Sender: No OFD packet to send [16:07:39]OFD Sender: No OFD packet to send [16:07:44]OFD Sender: No OFD packet to send [16:07:49]OFD Sender: No OFD packet to send [16:07:54]OFD Sender: No OFD packet to send [16:07:59]OFD Sender: No OFD packet to send [16:08:04]OFD Sender: No OFD packet to send [16:08:09]OFD Sender: No OFD packet to send [16:08:14]OFD Sender: No OFD packet to send [16:08:19]OFD Sender: No OFD packet to send [16:08:24]OFD Sender: No OFD packet to send [16:08:29]OFD Sender: No OFD packet to send [16:08:34]OFD Sender: No OFD packet to send [16:08:39]OFD Sender: No OFD packet to send [16:08:44]OFD Sender: No OFD packet to send [16:08:49]OFD Sender: No OFD packet to send [16:08:54]OFD Sender: No OFD packet to send [16:08:59]OFD Sender: No OFD packet to send [16:09:04]OFD Sender: No OFD packet to send [16:09:09]OFD Sender: No OFD packet to send [16:09:14]OFD Sender: No OFD packet to send [16:09:19]OFD Sender: No OFD packet to send [16:09:24]OFD Sender: No OFD packet to send [16:09:27]accept exits with 9 [16:09:27]New connection [16:09:27]New thread 3066695012 created [16:09:27]Thread 3066838372 joined [16:09:27]Waiting for new connection... [16:09:27] Sock 9.Parse request [16:09:27]Sock 9.Check first char [16:09:27]Sock 9.First char is OK [16:09:27]request: POST /json_proto HTTP/1.0 [16:09:27]Method: POST [16:09:27]URL: /json_proto [16:09:27]Method is POST - this is cgi request [16:09:27]url: /json_proto [16:09:27]query_string will be loaded in cgi processing [16:09:27]execute_cgi json_proto POST (null) [16:09:27]execute_cgi path=json_proto method=POST [16:09:27]POST find Content-Length [16:09:27]Host: 172.17.35.133:8080 [16:09:27]Content-Length: 618 [16:09:27]Content-Type: application/json [16:09:27] [16:09:27]POST finish read [16:09:27]Found Content-Length = 618 [16:09:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254422", "tax_sys" : 0, "items" : [ { "code": "46123428", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:09:27]execute_script... [16:09:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254422", "tax_sys" : 0, "items" : [ { "code": "46123428", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:09:27]POST & json_proto [16:09:27]process_json_proto [16:09:27]json parsed OK: [16:09:27]protocol is kg_v1.0 [16:09:27]action value=close_receipt [16:09:27]process_action close_receipt [16:09:27]cmd_close_receipt [16:09:27]MH_GetDate [16:09:27]Write to MH i2c: F0 00 00 0B 0F 09 [16:09:27]Write i2c OK [16:09:27]MH_I2C_Read... [16:09:27]Read from MH i2c: F0 [16:09:27]MH_I2C_Read... [16:09:27]Read from MH i2c: F0 09 00 [16:09:27]MH_I2C_Read... [16:09:27]Read from MH i2c: F0 09 00 0B 0F 00 BA BC 6D 66 8C 55 28 65 C9 [16:09:27]GetLastDocTimeStamp 1718467204 [16:09:27]current date 1718467770 [16:09:27]FM_GetShiftState [16:09:27]SAM_PROTO_GetShiftState [16:09:27]wFMCommunicate request_size=4 [16:09:27]MH_SAM_APDU [16:09:27]CAPDU: 80 13 01 00 [16:09:27]Write to MH i2c: E2 08 00 0C 0F 80 13 01 00 00 00 00 00 98 [16:09:27]Write i2c OK [16:09:27]MH_I2C_Read... [16:09:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:09:27]Read from MH i2c: E2 [16:09:27]MH_I2C_Read... [16:09:27]Read from MH i2c: E2 0E 00 [16:09:27]MH_I2C_Read... [16:09:27]Read from MH i2c: E2 0E 00 0C 0F 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 6C [16:09:27]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:09:27]wFMCommunicate OK [16:09:27]SAM_PROTO_GetShiftState done [16:09:27]FM_GetShiftState done [16:09:27]opened in 1718410776 [16:09:27]opened+sec_in_day 1718497176 [16:09:27]quantity*price = 15500 [16:09:27]sum+1 = 15501 [16:09:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 52 15.06.2024 16:09 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22207 ФПД: 114596215486590 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T160930&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22207&fm=114596215486590&tin=02508201610067®Number=0000000000099755&sum=15500 0 [16:09:28]StoreToDocumentArchive [16:09:28]shift 326 fd 22207 [16:09:28]save to /storage/0326/doc_00022207 [16:09:28]save last doc name /storage/0326/doc_00022207 to /storage/kkm_last_doc_name [16:09:28]save OK [16:09:28]Clear old archive folders... [16:09:28]ProcessDocumentItem done err = 0, tmpTLVsize=270 [16:09:28]tlvbuf is 0021FFC0 [16:09:28]SAM_PROTO_ClearQueue [16:09:28]wFMCommunicate request_size=4 [16:09:28]MH_SAM_APDU [16:09:28]CAPDU: 80 09 00 00 [16:09:28]Write to MH i2c: E2 08 00 19 0F 80 09 00 00 00 00 00 00 9A [16:09:28]Write i2c OK [16:09:28]MH_I2C_Read... [16:09:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:09:28]Read from MH i2c: E2 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 03 00 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 03 00 19 0F 00 90 00 9C [16:09:28]RAPDU: 90 00 [16:09:28]wFMCommunicate OK [16:09:28]SAM_PROTO_ClearQueue done [16:09:28]KKMCreateOFDPacket [16:09:28]OFDProtocolAddRootSTLVToBuf [16:09:28]FM_MakeSignedData [16:09:28]FM_MakeSignedData [16:09:28]SAM_PROTO_SignData [16:09:28]wFMCommunicate request_size=4 [16:09:28]MH_SAM_APDU [16:09:28]CAPDU: 80 0D 01 02 [16:09:28]Write to MH i2c: E2 08 00 1A 0F 80 0D 01 02 00 00 00 00 A2 [16:09:28]Write i2c OK [16:09:28]MH_I2C_Read... [16:09:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:09:28]Read from MH i2c: E2 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 03 00 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 03 00 1A 0F 00 90 00 9D [16:09:28]RAPDU: 90 00 [16:09:28]wFMCommunicate OK [16:09:28]wFMCommunicate request_size=255 [16:09:28]MH_SAM_APDU [16:09:28]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 BA BC 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [16:09:28]Write to MH i2c: E2 02 01 1B 0F 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 BA BC 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 C9 [16:09:28]Write i2c OK [16:09:28]MH_I2C_Read... [16:09:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:09:28]Read from MH i2c: E2 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 03 00 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 03 00 1B 0F 00 90 00 9E [16:09:28]RAPDU: 90 00 [16:09:28]wFMCommunicate OK [16:09:28]wFMCommunicate request_size=29 [16:09:28]MH_SAM_APDU [16:09:28]CAPDU: 80 0D 02 02 18 39 36 35 33 34 34 10 04 04 00 BF 56 00 00 35 04 06 00 68 39 82 B7 78 7E [16:09:28]Write to MH i2c: E2 20 00 1C 0F 80 0D 02 02 18 00 39 36 35 33 34 34 10 04 04 00 BF 56 00 00 35 04 06 00 68 39 82 B7 78 7E 00 00 50 [16:09:28]Write i2c OK [16:09:28]MH_I2C_Read... [16:09:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:09:28]Read from MH i2c: E2 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 03 00 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 03 00 1C 0F 00 90 00 9F [16:09:28]RAPDU: 90 00 [16:09:28]wFMCommunicate OK [16:09:28]wFMCommunicate request_size=4 [16:09:28]MH_SAM_APDU [16:09:28]CAPDU: 80 0D 03 02 [16:09:28]Write to MH i2c: E2 08 00 1D 0F 80 0D 03 02 00 00 00 00 A7 [16:09:28]Write i2c OK [16:09:28]MH_I2C_Read... [16:09:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:09:28]Read from MH i2c: E2 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 0B 00 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 0B 00 1D 0F 00 C3 6B B5 E9 6D 6D 6C 21 90 00 DB [16:09:28]RAPDU: C3 6B B5 E9 6D 6D 6C 21 90 00 [16:09:28]wFMCommunicate OK [16:09:28]SAM_PROTO_SignData done [16:09:28]FM_MakeSignedData done [16:09:28]CreateOFDProtocolMessage [16:09:28]wFMCommunicate request_size=4 [16:09:28]MH_SAM_APDU [16:09:28]CAPDU: 80 11 00 00 [16:09:28]Write to MH i2c: E2 08 00 1E 0F 80 11 00 00 00 00 00 00 A7 [16:09:28]Write i2c OK [16:09:28]MH_I2C_Read... [16:09:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:09:28]Read from MH i2c: E2 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 17 00 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: E2 17 00 1E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F9 [16:09:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:09:28]wFMCommunicate OK [16:09:28]CreateOFDProtocolMessage done [16:09:28]OFDSenderStorePacket 22207 [16:09:28]StoreOFDPacket docnum=22207 [16:09:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 22 01 00 00 8B 28 1A 01 33 86 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 BA BC 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BF 56 00 00 35 04 06 00 68 39 82 B7 78 7E C3 6B B5 E9 6D 6D 6C 21 [16:09:28]CheckFolder [16:09:28]dirname=/storage/ofd_packets [16:09:28]CheckFolder done [16:09:28]ProducePacketName [16:09:28]name=ofd_packets/00022207 [16:09:28]NVStorageSaveData ofd_packets/00022207 [16:09:28]File name is /storage/ofd_packets/00022207 [16:09:28]Write 320 bytes [16:09:28]NVStorageSaveData done [16:09:28]OFDSenderStorePacket done [16:09:28]KKMCreateOFDPacket done [16:09:28]NVStorageSaveData kkm_last_timestamp [16:09:28]File name is /storage/kkm_last_timestamp [16:09:28]Write 4 bytes [16:09:28]NVStorageSaveData done [16:09:28]ExternCall_PrintAddStr [16:09:28]wPrintStart [16:09:28]Write to MH i2c: 01 00 00 1F 0F 2E [16:09:28]OFD Sender: Processing packet 22207 [packets to send 5, broken 4] [16:09:28]ProducePacketName [16:09:28]name=ofd_packets/00022207 [16:09:28]OFD Sender: To server: pG, [16:09:28]CommunicateWithHost lk.salyk.kg:30040 [16:09:28]ConnectInit lk.salyk.kg [16:09:28]Write i2c OK [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: 01 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: 01 07 00 [16:09:28]MH_I2C_Read... [16:09:28]Read from MH i2c: 01 07 00 1F 0F 00 00 00 00 00 FF 0F 43 [16:09:28]RasterBufferAndPrint [16:09:28]line Счет N : (3)254422 [16:09:28]line ИНН: 02508201610067 [16:09:28]line Контрольно-Кассовый Чек [16:09:28]line ПРОДАЖА [16:09:28]line Товар: 46123428 [16:09:28]line Сигареты Mevius Wind Blue [16:09:28]line 1.000 * 155.00 [16:09:28]line = 155.00 [16:09:28]line НДС 12% НСП 1% [16:09:28]line > о реализуемом товаре [16:09:28]line ИТОГО: 155.00 [16:09:28]line НСП 1% : 1.37 [16:09:28]line НДС 12% : 16.46 [16:09:28]line Наличными: 155.00 [16:09:28]line Безнал.: 0.00 [16:09:28]line Место: АЗС № 76 "Партнер Нефть" [16:09:28]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:09:28]line СНО: Общий режим [16:09:28]line Чек 52 15.06.2024 16:09 [16:09:28]line Смена: 326 ФФД: 1.0 [16:09:28]line ЗНМ: 0300000200 [16:09:28]line РНМ: 0000000000099755 [16:09:28]line Версия ККМ: 001 [16:09:28]line ФМ: 0000000000965344 [16:09:28]line ФД: 22207 [16:09:28]line ФПД: 114596215486590 [16:09:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T160930&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22207&fm=114596215486590&tin=02508201610067®Number=0000000000099755&sum=15500 [16:09:29]line 0 [16:09:29]Connected sock=11 [16:09:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 22 01 00 00 8B 28 1A 01 33 86 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 BA BC 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BF 56 00 00 35 04 06 00 68 39 82 B7 78 7E C3 6B B5 E9 6D 6D 6C 21 [16:09:29]written 0, free lines is 4095 [16:09:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 C1 80 47 00 F1 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 BF 56 00 00 F4 03 04 00 77 65 6D 66 B6 04 01 00 00 A9 EF 44 0E 2A 85 D1 67 [16:09:29]CommunicateWithHost err = 0 [16:09:29]CheckOFDResponse [16:09:29]1017 (14) - 77093643461234 [16:09:29]1041 (16) - 0000000000965344 [16:09:29]1040 (4) - 22207 [16:09:29]1012 (4) - 15.06.2024 09:57 [16:09:29]1206 (1) - 0 [16:09:29]OFD Sender: Remove packet 22207 [16:09:29]ProducePacketName [16:09:29]name=ofd_packets/00022207 [16:09:29]NVStorageDeleteData [16:09:29]Write to MH i2c: 01 00 00 47 0F 56 [16:09:29]Write i2c OK [16:09:29]MH_I2C_Read... [16:09:29]Read from MH i2c: 01 [16:09:29]MH_I2C_Read... [16:09:29]Read from MH i2c: 01 07 00 [16:09:29]MH_I2C_Read... [16:09:29]Read from MH i2c: 01 07 00 47 0F 00 00 00 00 00 16 0D 80 [16:09:29]RasterBufferAndPrint [16:09:29]line [16:09:29]line [16:09:29]line [16:09:29]line [16:09:29]line [16:09:29]written 0, free lines is 3357 [16:09:29]MH_Cut [16:09:29]Write to MH i2c: D1 01 00 4E 0F 01 2F [16:09:29]Write i2c OK [16:09:29]MH_I2C_Read... [16:09:29]Read from MH i2c: D1 [16:09:29]MH_I2C_Read... [16:09:29]Read from MH i2c: D1 01 00 [16:09:29]MH_I2C_Read... [16:09:29]Read from MH i2c: D1 01 00 4E 0F 00 2E [16:09:29]Write to MH i2c: 01 00 00 4F 0F 5E [16:09:29]Write i2c OK [16:09:29]MH_I2C_Read... [16:09:29]OFD Sender: No OFD packet to send [16:09:30]*** Cut start [16:09:30]*** Partial cut [16:09:30]*** CUTSNS_PIN = 1 [16:09:30]*** CUTSNS_PIN = 0 [16:09:30]*** Brake cut motor [16:09:30]Read from MH i2c: 01 [16:09:30]MH_I2C_Read... [16:09:30]*** Stop cut motor [16:09:30]*** Cut end [16:09:30]Read from MH i2c: 01 07 00 [16:09:30]MH_I2C_Read... [16:09:30]Read from MH i2c: 01 07 00 4F 0F 00 00 00 00 00 FF 0F 73 [16:09:30]process_action close_receipt done [16:09:30]requested_data is exist [16:09:30]produce_requested_data [16:09:30]requested_item fm.sn is exist - process it [16:09:30]wFMCommunicate request_size=4 [16:09:30]MH_SAM_APDU [16:09:30]CAPDU: 80 11 00 00 [16:09:30]Write to MH i2c: E2 08 00 50 0F 80 11 00 00 00 00 00 00 D9 [16:09:30]Write i2c OK [16:09:30]MH_I2C_Read... [16:09:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:09:30]Read from MH i2c: E2 [16:09:30]MH_I2C_Read... [16:09:30]Read from MH i2c: E2 17 00 [16:09:30]MH_I2C_Read... [16:09:30]Read from MH i2c: E2 17 00 50 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2B [16:09:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:09:30]wFMCommunicate OK [16:09:30]requested_item fd.num is exist - process it [16:09:30]SAM_PROTO_GetFieldsCounters [16:09:30]wFMCommunicate request_size=4 [16:09:30]MH_SAM_APDU [16:09:30]CAPDU: 80 13 00 00 [16:09:30]Write to MH i2c: E2 08 00 51 0F 80 13 00 00 00 00 00 00 DC [16:09:30]Write i2c OK [16:09:30]MH_I2C_Read... [16:09:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:09:30]Read from MH i2c: E2 [16:09:30]MH_I2C_Read... [16:09:30]Read from MH i2c: E2 62 00 [16:09:30]MH_I2C_Read... [16:09:30]Read from MH i2c: E2 62 00 51 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BF 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [16:09:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 BF 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:09:30]wFMCommunicate OK [16:09:30]SAM_PROTO_GetFieldsCounters done [16:09:30]requested_item shift.num is exist - process it [16:09:30]requested_item shift.opened is exist - process it [16:09:30]req_shift_opened [16:09:30]FM_GetShiftState [16:09:30]SAM_PROTO_GetShiftState [16:09:30]wFMCommunicate request_size=4 [16:09:30]MH_SAM_APDU [16:09:30]CAPDU: 80 13 01 00 [16:09:30]Write to MH i2c: E2 08 00 52 0F 80 13 01 00 00 00 00 00 DE [16:09:30]Write i2c OK [16:09:30]MH_I2C_Read... [16:09:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:09:31]Read from MH i2c: E2 [16:09:31]MH_I2C_Read... [16:09:31]Read from MH i2c: E2 0E 00 [16:09:31]MH_I2C_Read... [16:09:31]Read from MH i2c: E2 0E 00 52 0F 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 B2 [16:09:31]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:09:31]wFMCommunicate OK [16:09:31]SAM_PROTO_GetShiftState done [16:09:31]FM_GetShiftState done [16:09:31]req_shift_opened done [16:09:31]requested_item shift.open_date is exist - process it [16:09:31]req_shift_open_date [16:09:31]req_shift_open_date done [16:09:31]produce_requested_data done [16:09:31]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22207,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [16:09:31]process_action_free close_receipt [16:09:31]json_value_free [16:09:31]json_value_free done [16:09:31]process_json_proto returns [16:09:31]Send response to host [16:09:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22207,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [16:09:31]free response buf [16:09:31]execute_script done [16:09:31]execute_script returns [16:09:31]free content buf [16:09:31]Sock 9.Close socket [16:09:31]Sock 9.Thread stoped [16:09:34]OFD Sender: No OFD packet to send [16:09:39]OFD Sender: No OFD packet to send [16:09:44]OFD Sender: No OFD packet to send [16:09:49]OFD Sender: No OFD packet to send [16:09:54]OFD Sender: No OFD packet to send [16:09:59]OFD Sender: No OFD packet to send [16:10:04]OFD Sender: No OFD packet to send [16:10:09]OFD Sender: No OFD packet to send [16:10:14]OFD Sender: No OFD packet to send [16:10:19]OFD Sender: No OFD packet to send [16:10:24]OFD Sender: No OFD packet to send [16:10:29]OFD Sender: No OFD packet to send [16:10:34]OFD Sender: No OFD packet to send [16:10:39]OFD Sender: No OFD packet to send [16:10:44]OFD Sender: No OFD packet to send [16:10:49]OFD Sender: No OFD packet to send [16:10:54]OFD Sender: No OFD packet to send [16:10:59]OFD Sender: No OFD packet to send [16:11:04]OFD Sender: No OFD packet to send [16:11:09]OFD Sender: No OFD packet to send [16:11:14]OFD Sender: No OFD packet to send [16:11:19]OFD Sender: No OFD packet to send [16:11:24]OFD Sender: No OFD packet to send [16:11:29]OFD Sender: No OFD packet to send [16:11:34]OFD Sender: No OFD packet to send [16:11:39]OFD Sender: No OFD packet to send [16:11:44]OFD Sender: No OFD packet to send [16:11:49]OFD Sender: No OFD packet to send [16:11:54]OFD Sender: No OFD packet to send [16:11:59]OFD Sender: No OFD packet to send [16:12:04]OFD Sender: No OFD packet to send [16:12:09]OFD Sender: No OFD packet to send [16:12:14]OFD Sender: No OFD packet to send [16:12:19]OFD Sender: No OFD packet to send [16:12:24]OFD Sender: No OFD packet to send [16:12:29]OFD Sender: No OFD packet to send [16:12:34]OFD Sender: No OFD packet to send [16:12:39]OFD Sender: No OFD packet to send [16:12:44]OFD Sender: No OFD packet to send [16:12:49]OFD Sender: No OFD packet to send [16:12:54]OFD Sender: No OFD packet to send [16:12:59]OFD Sender: No OFD packet to send [16:13:04]OFD Sender: No OFD packet to send [16:13:09]OFD Sender: No OFD packet to send [16:13:14]OFD Sender: No OFD packet to send [16:13:19]OFD Sender: No OFD packet to send [16:13:24]OFD Sender: No OFD packet to send [16:13:29]OFD Sender: No OFD packet to send [16:13:34]OFD Sender: No OFD packet to send [16:13:39]OFD Sender: No OFD packet to send [16:13:44]OFD Sender: No OFD packet to send [16:13:49]OFD Sender: No OFD packet to send [16:13:54]OFD Sender: No OFD packet to send [16:13:59]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:14]OFD Sender: No OFD packet to send [16:14:19]OFD Sender: No OFD packet to send [16:14:24]OFD Sender: No OFD packet to send [16:14:29]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:40]OFD Sender: No OFD packet to send [16:15:45]OFD Sender: No OFD packet to send [16:15:50]OFD Sender: No OFD packet to send [16:15:55]OFD Sender: No OFD packet to send [16:16:00]OFD Sender: No OFD packet to send [16:16:05]OFD Sender: No OFD packet to send [16:16:10]OFD Sender: No OFD packet to send [16:16:15]OFD Sender: No OFD packet to send [16:16:20]OFD Sender: No OFD packet to send [16:16:25]OFD Sender: No OFD packet to send [16:16:30]OFD Sender: No OFD packet to send [16:16:35]OFD Sender: No OFD packet to send [16:16:40]OFD Sender: No OFD packet to send [16:16:45]OFD Sender: No OFD packet to send [16:16:50]OFD Sender: No OFD packet to send [16:16:55]OFD Sender: No OFD packet to send [16:17:00]OFD Sender: No OFD packet to send [16:17:05]OFD Sender: No OFD packet to send [16:17:10]OFD Sender: No OFD packet to send [16:17:15]OFD Sender: No OFD packet to send [16:17:20]OFD Sender: No OFD packet to send [16:17:25]OFD Sender: No OFD packet to send [16:17:30]OFD Sender: No OFD packet to send [16:17:35]OFD Sender: No OFD packet to send [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:30]OFD Sender: No OFD packet to send [16:18:35]OFD Sender: No OFD packet to send [16:18:40]OFD Sender: No OFD packet to send [16:18:45]OFD Sender: No OFD packet to send [16:18:50]OFD Sender: No OFD packet to send [16:18:55]OFD Sender: No OFD packet to send [16:19:00]OFD Sender: No OFD packet to send [16:19:05]OFD Sender: No OFD packet to send [16:19:10]OFD Sender: No OFD packet to send [16:19:14]accept exits with 8 [16:19:14]New connection [16:19:14]New thread 3066838372 created [16:19:14]Thread 3066695012 joined [16:19:14]Waiting for new connection... [16:19:14] Sock 8.Parse request [16:19:14]Sock 8.Check first char [16:19:14]Sock 8.First char is OK [16:19:14]request: POST /json_proto HTTP/1.0 [16:19:14]Method: POST [16:19:14]URL: /json_proto [16:19:14]Method is POST - this is cgi request [16:19:14]url: /json_proto [16:19:14]query_string will be loaded in cgi processing [16:19:14]execute_cgi json_proto POST (null) [16:19:14]execute_cgi path=json_proto method=POST [16:19:14]POST find Content-Length [16:19:14]Host: 172.17.35.133:8080 [16:19:14]Content-Length: 916 [16:19:14]Content-Type: application/json [16:19:14] [16:19:14]POST finish read [16:19:14]Found Content-Length = 916 [16:19:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254423", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000011527", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:19:14]execute_script... [16:19:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254423", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000011527", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:19:14]POST & json_proto [16:19:14]process_json_proto [16:19:14]json parsed OK: [16:19:14]protocol is kg_v1.0 [16:19:14]action value=close_receipt [16:19:14]process_action close_receipt [16:19:14]cmd_close_receipt [16:19:14]MH_GetDate [16:19:14]Write to MH i2c: F0 00 00 53 0F 51 [16:19:14]Write i2c OK [16:19:14]MH_I2C_Read... [16:19:14]Read from MH i2c: F0 [16:19:14]MH_I2C_Read... [16:19:14]Read from MH i2c: F0 09 00 [16:19:14]MH_I2C_Read... [16:19:14]Read from MH i2c: F0 09 00 53 0F 00 06 BF 6D 66 8C 55 28 65 60 [16:19:14]GetLastDocTimeStamp 1718467770 [16:19:14]current date 1718468358 [16:19:14]FM_GetShiftState [16:19:14]SAM_PROTO_GetShiftState [16:19:14]wFMCommunicate request_size=4 [16:19:14]MH_SAM_APDU [16:19:14]CAPDU: 80 13 01 00 [16:19:14]Write to MH i2c: E2 08 00 54 0F 80 13 01 00 00 00 00 00 E0 [16:19:14]Write i2c OK [16:19:14]MH_I2C_Read... [16:19:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:19:14]Read from MH i2c: E2 [16:19:14]MH_I2C_Read... [16:19:14]Read from MH i2c: E2 0E 00 [16:19:14]MH_I2C_Read... [16:19:14]Read from MH i2c: E2 0E 00 54 0F 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 B4 [16:19:14]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:19:14]wFMCommunicate OK [16:19:14]SAM_PROTO_GetShiftState done [16:19:14]FM_GetShiftState done [16:19:14]opened in 1718410776 [16:19:14]opened+sec_in_day 1718497176 [16:19:14]quantity*price = 17000 [16:19:14]sum+1 = 17001 [16:19:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000011527 Напиток Фанта 0,33л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 255.00 НСП 1% : 2.25 НДС 12% : 27.08 Наличными: 255.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 53 15.06.2024 16:19 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22208 ФПД: 51008848899977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T161918&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22208&fm=51008848899977&tin=02508201610067®Number=0000000000099755&sum=25500 0 [16:19:15]StoreToDocumentArchive [16:19:15]shift 326 fd 22208 [16:19:15]save to /storage/0326/doc_00022208 [16:19:15]save last doc name /storage/0326/doc_00022208 to /storage/kkm_last_doc_name [16:19:15]save OK [16:19:15]Clear old archive folders... [16:19:15]ProcessDocumentItem done err = 0, tmpTLVsize=385 [16:19:15]tlvbuf is B6EA57E0 [16:19:15]SAM_PROTO_ClearQueue [16:19:15]wFMCommunicate request_size=4 [16:19:15]MH_SAM_APDU [16:19:15]CAPDU: 80 09 00 00 [16:19:15]Write to MH i2c: E2 08 00 61 0F 80 09 00 00 00 00 00 00 E2 [16:19:15]Write i2c OK [16:19:15]MH_I2C_Read... [16:19:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:19:15]Read from MH i2c: E2 [16:19:15]MH_I2C_Read... [16:19:15]Read from MH i2c: E2 03 00 [16:19:15]MH_I2C_Read... [16:19:15]Read from MH i2c: E2 03 00 61 0F 00 90 00 E4 [16:19:15]RAPDU: 90 00 [16:19:15]wFMCommunicate OK [16:19:15]SAM_PROTO_ClearQueue done [16:19:15]KKMCreateOFDPacket [16:19:15]OFDProtocolAddRootSTLVToBuf [16:19:15]FM_MakeSignedData [16:19:15]FM_MakeSignedData [16:19:15]SAM_PROTO_SignData [16:19:15]wFMCommunicate request_size=4 [16:19:15]MH_SAM_APDU [16:19:15]CAPDU: 80 0D 01 02 [16:19:15]Write to MH i2c: E2 08 00 62 0F 80 0D 01 02 00 00 00 00 EA [16:19:15]Write i2c OK [16:19:15]MH_I2C_Read... [16:19:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:19:15]Read from MH i2c: E2 [16:19:15]MH_I2C_Read... [16:19:15]Read from MH i2c: E2 03 00 [16:19:15]MH_I2C_Read... [16:19:15]Read from MH i2c: E2 03 00 62 0F 00 90 00 E5 [16:19:15]RAPDU: 90 00 [16:19:15]wFMCommunicate OK [16:19:15]wFMCommunicate request_size=255 [16:19:15]MH_SAM_APDU [16:19:15]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [16:19:15]Write to MH i2c: E2 02 01 63 0F 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 A7 [16:19:15]Write i2c OK [16:19:15]MH_I2C_Read... [16:19:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:19:15]Read from MH i2c: E2 [16:19:15]MH_I2C_Read... [16:19:15]Read from MH i2c: E2 03 00 [16:19:15]MH_I2C_Read... [16:19:15]Read from MH i2c: E2 03 00 63 0F 00 90 00 E6 [16:19:15]RAPDU: 90 00 [16:19:15]wFMCommunicate OK [16:19:15]wFMCommunicate request_size=144 [16:19:15]MH_SAM_APDU [16:19:15]CAPDU: 80 0D 02 02 8B 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 06 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C0 56 00 00 35 04 06 00 2E 64 6C 51 AF 89 [16:19:15]Write to MH i2c: E2 93 00 64 0F 80 0D 02 02 8B 00 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 06 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C0 56 00 00 35 04 06 00 2E 64 6C 51 AF 89 00 00 68 [16:19:15]Write i2c OK [16:19:15]MH_I2C_Read... [16:19:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:19:16]Read from MH i2c: E2 [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: E2 03 00 [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: E2 03 00 64 0F 00 90 00 E7 [16:19:16]RAPDU: 90 00 [16:19:16]wFMCommunicate OK [16:19:16]wFMCommunicate request_size=4 [16:19:16]MH_SAM_APDU [16:19:16]CAPDU: 80 0D 03 02 [16:19:16]Write to MH i2c: E2 08 00 65 0F 80 0D 03 02 00 00 00 00 EF [16:19:16]Write i2c OK [16:19:16]MH_I2C_Read... [16:19:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:19:16]Read from MH i2c: E2 [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: E2 0B 00 [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: E2 0B 00 65 0F 00 A6 9C 77 42 4B 39 B5 94 90 00 B8 [16:19:16]RAPDU: A6 9C 77 42 4B 39 B5 94 90 00 [16:19:16]wFMCommunicate OK [16:19:16]SAM_PROTO_SignData done [16:19:16]FM_MakeSignedData done [16:19:16]CreateOFDProtocolMessage [16:19:16]wFMCommunicate request_size=4 [16:19:16]MH_SAM_APDU [16:19:16]CAPDU: 80 11 00 00 [16:19:16]Write to MH i2c: E2 08 00 66 0F 80 11 00 00 00 00 00 00 EF [16:19:16]Write i2c OK [16:19:16]MH_I2C_Read... [16:19:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:19:16]Read from MH i2c: E2 [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: E2 17 00 [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: E2 17 00 66 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 41 [16:19:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:19:16]wFMCommunicate OK [16:19:16]CreateOFDProtocolMessage done [16:19:16]OFDSenderStorePacket 22208 [16:19:16]StoreOFDPacket docnum=22208 [16:19:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 95 01 00 00 65 95 8D 01 74 3B 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 06 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C0 56 00 00 35 04 06 00 2E 64 6C 51 AF 89 A6 9C 77 42 4B 39 B5 94 [16:19:16]CheckFolder [16:19:16]dirname=/storage/ofd_packets [16:19:16]CheckFolder done [16:19:16]ProducePacketName [16:19:16]name=ofd_packets/00022208 [16:19:16]NVStorageSaveData ofd_packets/00022208 [16:19:16]File name is /storage/ofd_packets/00022208 [16:19:16]Write 435 bytes [16:19:16]NVStorageSaveData done [16:19:16]OFDSenderStorePacket done [16:19:16]KKMCreateOFDPacket done [16:19:16]NVStorageSaveData kkm_last_timestamp [16:19:16]File name is /storage/kkm_last_timestamp [16:19:16]Write 4 bytes [16:19:16]NVStorageSaveData done [16:19:16]ExternCall_PrintAddStr [16:19:16]wPrintStart [16:19:16]Write to MH i2c: 01 00 00 67 0F 76 [16:19:16]Write i2c OK [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: 01 [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: 01 07 00 [16:19:16]MH_I2C_Read... [16:19:16]Read from MH i2c: 01 07 00 67 0F 00 00 00 00 00 FF 0F 8B [16:19:16]RasterBufferAndPrint [16:19:16]line Счет N : (3)254423 [16:19:16]line ИНН: 02508201610067 [16:19:16]line Контрольно-Кассовый Чек [16:19:16]line ПРОДАЖА [16:19:16]line Товар: 5449000000996 [16:19:16]line Напиток Кока-Кола 0,33л [16:19:16]line 2.000 * 85.00 [16:19:16]line = 170.00 [16:19:16]line НДС 12% НСП 1% [16:19:16]line > о реализуемом товаре [16:19:16]line Товар: 5449000011527 [16:19:16]line Напиток Фанта 0,33л [16:19:16]line 1.000 * 85.00 [16:19:16]line = 85.00 [16:19:16]line НДС 12% НСП 1% [16:19:16]line > о реализуемом товаре [16:19:16]line ИТОГО: 255.00 [16:19:16]line НСП 1% : 2.25 [16:19:16]line НДС 12% : 27.08 [16:19:16]line Наличными: 255.00 [16:19:16]line Безнал.: 0.00 [16:19:16]line Место: АЗС № 76 "Партнер Нефть" [16:19:16]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:19:16]line СНО: Общий режим [16:19:16]line Чек 53 15.06.2024 16:19 [16:19:16]line Смена: 326 ФФД: 1.0 [16:19:16]line ЗНМ: 0300000200 [16:19:16]line РНМ: 0000000000099755 [16:19:16]line Версия ККМ: 001 [16:19:16]line ФМ: 0000000000965344 [16:19:16]line ФД: 22208 [16:19:16]line ФПД: 51008848899977 [16:19:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T161918&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22208&fm=51008848899977&tin=02508201610067®Number=0000000000099755&sum=25500 [16:19:16]line 0 [16:19:16]OFD Sender: Processing packet 22208 [packets to send 5, broken 4] [16:19:16]ProducePacketName [16:19:16]name=ofd_packets/00022208 [16:19:16]OFD Sender: To server: pG, [16:19:16]CommunicateWithHost lk.salyk.kg:30040 [16:19:16]ConnectInit lk.salyk.kg [16:19:16]written 0, free lines is 4095 [16:19:16]Connected sock=10 [16:19:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 95 01 00 00 65 95 8D 01 74 3B 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 06 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C0 56 00 00 35 04 06 00 2E 64 6C 51 AF 89 A6 9C 77 42 4B 39 B5 94 [16:19:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 26 BC 47 00 39 B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C0 56 00 00 F4 03 04 00 C3 67 6D 66 B6 04 01 00 00 85 56 3E 55 9C A3 11 79 [16:19:16]CommunicateWithHost err = 0 [16:19:16]CheckOFDResponse [16:19:16]1017 (14) - 77093643461234 [16:19:16]1041 (16) - 0000000000965344 [16:19:16]1040 (4) - 22208 [16:19:16]1012 (4) - 15.06.2024 10:06 [16:19:16]1206 (1) - 0 [16:19:16]OFD Sender: Remove packet 22208 [16:19:16]ProducePacketName [16:19:16]name=ofd_packets/00022208 [16:19:16]NVStorageDeleteData [16:19:17]Write to MH i2c: 01 00 00 95 0F A4 [16:19:17]Write i2c OK [16:19:17]MH_I2C_Read... [16:19:17]Read from MH i2c: 01 [16:19:17]MH_I2C_Read... [16:19:17]Read from MH i2c: 01 07 00 [16:19:17]MH_I2C_Read... [16:19:17]Read from MH i2c: 01 07 00 95 0F 00 00 00 00 00 EA 0C A1 [16:19:17]RasterBufferAndPrint [16:19:17]line [16:19:17]line [16:19:17]line [16:19:17]line [16:19:17]line [16:19:17]written 0, free lines is 3315 [16:19:17]MH_Cut [16:19:17]Write to MH i2c: D1 01 00 9C 0F 01 7D [16:19:17]Write i2c OK [16:19:17]MH_I2C_Read... [16:19:17]Read from MH i2c: D1 [16:19:17]MH_I2C_Read... [16:19:17]Read from MH i2c: D1 01 00 [16:19:17]MH_I2C_Read... [16:19:17]Read from MH i2c: D1 01 00 9C 0F 00 7C [16:19:17]Write to MH i2c: 01 00 00 9D 0F AC [16:19:17]Write i2c OK [16:19:17]MH_I2C_Read... [16:19:17]OFD Sender: No OFD packet to send [16:19:17]*** Cut start [16:19:17]*** Partial cut [16:19:17]*** CUTSNS_PIN = 1 [16:19:17]*** CUTSNS_PIN = 0 [16:19:18]*** Brake cut motor [16:19:18]Read from MH i2c: 01 [16:19:18]MH_I2C_Read... [16:19:18]*** Stop cut motor [16:19:18]*** Cut end [16:19:18]Read from MH i2c: 01 07 00 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: 01 07 00 9D 0F 00 00 00 00 00 FF 0F C1 [16:19:18]process_action close_receipt done [16:19:18]requested_data is exist [16:19:18]produce_requested_data [16:19:18]requested_item fm.sn is exist - process it [16:19:18]wFMCommunicate request_size=4 [16:19:18]MH_SAM_APDU [16:19:18]CAPDU: 80 11 00 00 [16:19:18]Write to MH i2c: E2 08 00 9E 0F 80 11 00 00 00 00 00 00 27 [16:19:18]Write i2c OK [16:19:18]MH_I2C_Read... [16:19:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:19:18]Read from MH i2c: E2 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: E2 17 00 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: E2 17 00 9E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 79 [16:19:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:19:18]wFMCommunicate OK [16:19:18]requested_item fd.num is exist - process it [16:19:18]SAM_PROTO_GetFieldsCounters [16:19:18]wFMCommunicate request_size=4 [16:19:18]MH_SAM_APDU [16:19:18]CAPDU: 80 13 00 00 [16:19:18]Write to MH i2c: E2 08 00 9F 0F 80 13 00 00 00 00 00 00 2A [16:19:18]Write i2c OK [16:19:18]MH_I2C_Read... [16:19:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:19:18]Read from MH i2c: E2 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: E2 62 00 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: E2 62 00 9F 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C0 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [16:19:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C0 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:19:18]wFMCommunicate OK [16:19:18]SAM_PROTO_GetFieldsCounters done [16:19:18]requested_item shift.num is exist - process it [16:19:18]requested_item shift.opened is exist - process it [16:19:18]req_shift_opened [16:19:18]FM_GetShiftState [16:19:18]SAM_PROTO_GetShiftState [16:19:18]wFMCommunicate request_size=4 [16:19:18]MH_SAM_APDU [16:19:18]CAPDU: 80 13 01 00 [16:19:18]Write to MH i2c: E2 08 00 A0 0F 80 13 01 00 00 00 00 00 2C [16:19:18]Write i2c OK [16:19:18]MH_I2C_Read... [16:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:19:18]Read from MH i2c: E2 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: E2 0E 00 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: E2 0E 00 A0 0F 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 00 [16:19:18]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:19:18]wFMCommunicate OK [16:19:18]SAM_PROTO_GetShiftState done [16:19:18]FM_GetShiftState done [16:19:18]req_shift_opened done [16:19:18]requested_item shift.open_date is exist - process it [16:19:18]req_shift_open_date [16:19:18]req_shift_open_date done [16:19:18]produce_requested_data done [16:19:18]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22208,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [16:19:18]process_action_free close_receipt [16:19:18]json_value_free [16:19:18]json_value_free done [16:19:18]process_json_proto returns [16:19:18]Send response to host [16:19:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22208,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [16:19:18]free response buf [16:19:18]execute_script done [16:19:18]execute_script returns [16:19:18]free content buf [16:19:18]Sock 8.Close socket [16:19:18]Sock 8.Thread stoped [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:06]accept exits with 9 [16:20:06]New connection [16:20:06]New thread 3066695012 created [16:20:06]Thread 3066838372 joined [16:20:06]Waiting for new connection... [16:20:06] Sock 9.Parse request [16:20:06]Sock 9.Check first char [16:20:06]Sock 9.First char is OK [16:20:06]request: POST /json_proto HTTP/1.0 [16:20:06]Method: POST [16:20:06]URL: /json_proto [16:20:06]Method is POST - this is cgi request [16:20:06]url: /json_proto [16:20:06]query_string will be loaded in cgi processing [16:20:06]execute_cgi json_proto POST (null) [16:20:06]execute_cgi path=json_proto method=POST [16:20:06]POST find Content-Length [16:20:06]Host: 172.17.35.133:8080 [16:20:06]Content-Length: 631 [16:20:06]Content-Type: application/json [16:20:06] [16:20:06]POST finish read [16:20:06]Found Content-Length = 631 [16:20:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254424", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:20:06]execute_script... [16:20:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254424", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:20:06]POST & json_proto [16:20:06]process_json_proto [16:20:06]json parsed OK: [16:20:06]protocol is kg_v1.0 [16:20:06]action value=close_receipt [16:20:06]process_action close_receipt [16:20:06]cmd_close_receipt [16:20:06]MH_GetDate [16:20:06]Write to MH i2c: F0 00 00 A1 0F 9F [16:20:06]Write i2c OK [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: F0 [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: F0 09 00 [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: F0 09 00 A1 0F 00 39 BF 6D 66 8C 55 28 65 E1 [16:20:06]GetLastDocTimeStamp 1718468358 [16:20:06]current date 1718468409 [16:20:06]FM_GetShiftState [16:20:06]SAM_PROTO_GetShiftState [16:20:06]wFMCommunicate request_size=4 [16:20:06]MH_SAM_APDU [16:20:06]CAPDU: 80 13 01 00 [16:20:06]Write to MH i2c: E2 08 00 A2 0F 80 13 01 00 00 00 00 00 2E [16:20:06]Write i2c OK [16:20:06]MH_I2C_Read... [16:20:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:20:06]Read from MH i2c: E2 [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: E2 0E 00 [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: E2 0E 00 A2 0F 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 02 [16:20:06]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:20:06]wFMCommunicate OK [16:20:06]SAM_PROTO_GetShiftState done [16:20:06]FM_GetShiftState done [16:20:06]opened in 1718410776 [16:20:06]opened+sec_in_day 1718497176 [16:20:06]quantity*price = 4500 [16:20:06]sum+1 = 4501 [16:20:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 54 15.06.2024 16:20 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22209 ФПД: 88210548515155 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T162009&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22209&fm=88210548515155&tin=02508201610067®Number=0000000000099755&sum=4500 0 [16:20:07]StoreToDocumentArchive [16:20:07]shift 326 fd 22209 [16:20:07]save to /storage/0326/doc_00022209 [16:20:07]save last doc name /storage/0326/doc_00022209 to /storage/kkm_last_doc_name [16:20:07]save OK [16:20:07]Clear old archive folders... [16:20:07]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:20:07]tlvbuf is 001B6B20 [16:20:07]SAM_PROTO_ClearQueue [16:20:07]wFMCommunicate request_size=4 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 09 00 00 [16:20:07]Write to MH i2c: E2 08 00 AF 0F 80 09 00 00 00 00 00 00 30 [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 AF 0F 00 90 00 32 [16:20:07]RAPDU: 90 00 [16:20:07]wFMCommunicate OK [16:20:07]SAM_PROTO_ClearQueue done [16:20:07]KKMCreateOFDPacket [16:20:07]OFDProtocolAddRootSTLVToBuf [16:20:07]FM_MakeSignedData [16:20:07]FM_MakeSignedData [16:20:07]SAM_PROTO_SignData [16:20:07]wFMCommunicate request_size=4 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 0D 01 02 [16:20:07]Write to MH i2c: E2 08 00 B0 0F 80 0D 01 02 00 00 00 00 38 [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 B0 0F 00 90 00 33 [16:20:07]RAPDU: 90 00 [16:20:07]wFMCommunicate OK [16:20:07]wFMCommunicate request_size=255 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 39 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 [16:20:07]Write to MH i2c: E2 02 01 B1 0F 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 39 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 00 00 BC [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]OFD Sender: No OFD packet to send [16:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 B1 0F 00 90 00 34 [16:20:07]RAPDU: 90 00 [16:20:07]wFMCommunicate OK [16:20:07]wFMCommunicate request_size=33 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C1 56 00 00 35 04 06 00 50 3A 1E 68 E1 53 [16:20:07]Write to MH i2c: E2 24 00 B2 0F 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C1 56 00 00 35 04 06 00 50 3A 1E 68 E1 53 00 00 24 [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 B2 0F 00 90 00 35 [16:20:07]RAPDU: 90 00 [16:20:07]wFMCommunicate OK [16:20:07]wFMCommunicate request_size=4 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 0D 03 02 [16:20:07]Write to MH i2c: E2 08 00 B3 0F 80 0D 03 02 00 00 00 00 3D [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 0B 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 0B 00 B3 0F 00 B9 5E 9D 4B 32 EA F7 C8 90 00 18 [16:20:07]RAPDU: B9 5E 9D 4B 32 EA F7 C8 90 00 [16:20:07]wFMCommunicate OK [16:20:07]SAM_PROTO_SignData done [16:20:07]FM_MakeSignedData done [16:20:07]CreateOFDProtocolMessage [16:20:07]wFMCommunicate request_size=4 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 11 00 00 [16:20:07]Write to MH i2c: E2 08 00 B4 0F 80 11 00 00 00 00 00 00 3D [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 17 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 17 00 B4 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8F [16:20:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:20:07]wFMCommunicate OK [16:20:07]CreateOFDProtocolMessage done [16:20:07]OFDSenderStorePacket 22209 [16:20:07]StoreOFDPacket docnum=22209 [16:20:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 26 01 00 00 6C EA 1E 01 B7 CB 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 39 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C1 56 00 00 35 04 06 00 50 3A 1E 68 E1 53 B9 5E 9D 4B 32 EA F7 C8 [16:20:07]CheckFolder [16:20:07]dirname=/storage/ofd_packets [16:20:07]CheckFolder done [16:20:07]ProducePacketName [16:20:07]name=ofd_packets/00022209 [16:20:07]NVStorageSaveData ofd_packets/00022209 [16:20:07]File name is /storage/ofd_packets/00022209 [16:20:07]Write 324 bytes [16:20:07]NVStorageSaveData done [16:20:07]OFDSenderStorePacket done [16:20:07]KKMCreateOFDPacket done [16:20:07]NVStorageSaveData kkm_last_timestamp [16:20:07]File name is /storage/kkm_last_timestamp [16:20:07]Write 4 bytes [16:20:07]NVStorageSaveData done [16:20:07]ExternCall_PrintAddStr [16:20:07]wPrintStart [16:20:07]Write to MH i2c: 01 00 00 B5 0F C4 [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: 01 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: 01 07 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: 01 07 00 B5 0F 00 00 00 00 00 FF 0F D9 [16:20:07]RasterBufferAndPrint [16:20:07]line Счет N : (3)254424 [16:20:07]line ИНН: 02508201610067 [16:20:07]line Контрольно-Кассовый Чек [16:20:07]line ПРОДАЖА [16:20:07]line Товар: 50173822 [16:20:07]line Р/ж Orbit б/сах мята 13,6г [16:20:07]line 1.000 * 45.00 [16:20:07]line = 45.00 [16:20:07]line НДС 12% НСП 1% [16:20:07]line > о реализуемом товаре [16:20:07]line ИТОГО: 45.00 [16:20:07]line НСП 1% : 0.40 [16:20:07]line НДС 12% : 4.78 [16:20:07]line Наличными: 45.00 [16:20:07]line Безнал.: 0.00 [16:20:07]line Место: АЗС № 76 "Партнер Нефть" [16:20:07]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:20:07]line СНО: Общий режим [16:20:07]line Чек 54 15.06.2024 16:20 [16:20:07]line Смена: 326 ФФД: 1.0 [16:20:07]line ЗНМ: 0300000200 [16:20:08]line РНМ: 0000000000099755 [16:20:08]line Версия ККМ: 001 [16:20:08]line ФМ: 0000000000965344 [16:20:08]line ФД: 22209 [16:20:08]line ФПД: 88210548515155 [16:20:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T162009&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22209&fm=88210548515155&tin=02508201610067®Number=0000000000099755&sum=4500 [16:20:08]line 0 [16:20:08]OFD Sender: Processing packet 22209 [packets to send 5, broken 4] [16:20:08]ProducePacketName [16:20:08]name=ofd_packets/00022209 [16:20:08]OFD Sender: To server: pG, [16:20:08]CommunicateWithHost lk.salyk.kg:30040 [16:20:08]ConnectInit lk.salyk.kg [16:20:08]written 0, free lines is 4095 [16:20:08]Connected sock=10 [16:20:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 26 01 00 00 6C EA 1E 01 B7 CB 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 39 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C1 56 00 00 35 04 06 00 50 3A 1E 68 E1 53 B9 5E 9D 4B 32 EA F7 C8 [16:20:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 E8 B8 47 00 5B 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C1 56 00 00 F4 03 04 00 F6 67 6D 66 B6 04 01 00 00 08 7B CC DD F7 7C 3B D1 [16:20:08]CommunicateWithHost err = 0 [16:20:08]CheckOFDResponse [16:20:08]1017 (14) - 77093643461234 [16:20:08]1041 (16) - 0000000000965344 [16:20:08]1040 (4) - 22209 [16:20:08]1012 (4) - 15.06.2024 10:07 [16:20:08]1206 (1) - 0 [16:20:08]OFD Sender: Remove packet 22209 [16:20:08]ProducePacketName [16:20:08]name=ofd_packets/00022209 [16:20:08]NVStorageDeleteData [16:20:08]Write to MH i2c: 01 00 00 DD 0F EC [16:20:08]Write i2c OK [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: 01 [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: 01 07 00 [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: 01 07 00 DD 0F 00 00 00 00 00 16 0D 16 [16:20:08]RasterBufferAndPrint [16:20:08]line [16:20:08]line [16:20:08]line [16:20:08]line [16:20:08]line [16:20:08]written 0, free lines is 3357 [16:20:08]MH_Cut [16:20:08]Write to MH i2c: D1 01 00 E4 0F 01 C5 [16:20:08]Write i2c OK [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: D1 [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: D1 01 00 [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: D1 01 00 E4 0F 00 C4 [16:20:08]Write to MH i2c: 01 00 00 E5 0F F4 [16:20:08]Write i2c OK [16:20:08]MH_I2C_Read... [16:20:08]OFD Sender: No OFD packet to send [16:20:09]*** Cut start [16:20:09]*** Partial cut [16:20:09]*** CUTSNS_PIN = 1 [16:20:09]*** CUTSNS_PIN = 0 [16:20:09]*** Brake cut motor [16:20:09]Read from MH i2c: 01 [16:20:09]MH_I2C_Read... [16:20:09]*** Stop cut motor [16:20:09]*** Cut end [16:20:09]Read from MH i2c: 01 07 00 [16:20:09]MH_I2C_Read... [16:20:09]Read from MH i2c: 01 07 00 E5 0F 00 00 00 00 00 FF 0F 09 [16:20:09]process_action close_receipt done [16:20:09]requested_data is exist [16:20:09]produce_requested_data [16:20:09]requested_item fm.sn is exist - process it [16:20:09]wFMCommunicate request_size=4 [16:20:09]MH_SAM_APDU [16:20:09]CAPDU: 80 11 00 00 [16:20:09]Write to MH i2c: E2 08 00 E6 0F 80 11 00 00 00 00 00 00 6F [16:20:09]Write i2c OK [16:20:09]MH_I2C_Read... [16:20:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:20:09]Read from MH i2c: E2 [16:20:09]MH_I2C_Read... [16:20:09]Read from MH i2c: E2 17 00 [16:20:09]MH_I2C_Read... [16:20:09]Read from MH i2c: E2 17 00 E6 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C1 [16:20:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:20:09]wFMCommunicate OK [16:20:09]requested_item fd.num is exist - process it [16:20:09]SAM_PROTO_GetFieldsCounters [16:20:09]wFMCommunicate request_size=4 [16:20:09]MH_SAM_APDU [16:20:09]CAPDU: 80 13 00 00 [16:20:09]Write to MH i2c: E2 08 00 E7 0F 80 13 00 00 00 00 00 00 72 [16:20:09]Write i2c OK [16:20:09]MH_I2C_Read... [16:20:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:20:10]Read from MH i2c: E2 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 62 00 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 62 00 E7 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C1 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [16:20:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C1 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:20:10]wFMCommunicate OK [16:20:10]SAM_PROTO_GetFieldsCounters done [16:20:10]requested_item shift.num is exist - process it [16:20:10]requested_item shift.opened is exist - process it [16:20:10]req_shift_opened [16:20:10]FM_GetShiftState [16:20:10]SAM_PROTO_GetShiftState [16:20:10]wFMCommunicate request_size=4 [16:20:10]MH_SAM_APDU [16:20:10]CAPDU: 80 13 01 00 [16:20:10]Write to MH i2c: E2 08 00 E8 0F 80 13 01 00 00 00 00 00 74 [16:20:10]Write i2c OK [16:20:10]MH_I2C_Read... [16:20:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:20:10]Read from MH i2c: E2 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 0E 00 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 0E 00 E8 0F 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 48 [16:20:10]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:20:10]wFMCommunicate OK [16:20:10]SAM_PROTO_GetShiftState done [16:20:10]FM_GetShiftState done [16:20:10]req_shift_opened done [16:20:10]requested_item shift.open_date is exist - process it [16:20:10]req_shift_open_date [16:20:10]req_shift_open_date done [16:20:10]produce_requested_data done [16:20:10]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22209,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [16:20:10]process_action_free close_receipt [16:20:10]json_value_free [16:20:10]json_value_free done [16:20:10]process_json_proto returns [16:20:10]Send response to host [16:20:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22209,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [16:20:10]free response buf [16:20:10]execute_script done [16:20:10]execute_script returns [16:20:10]free content buf [16:20:10]Sock 9.Close socket [16:20:10]Sock 9.Thread stoped [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:08]OFD Sender: No OFD packet to send [16:21:13]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:35]accept exits with 8 [16:21:35]New connection [16:21:35]New thread 3066838372 created [16:21:35]Thread 3066695012 joined [16:21:35]Waiting for new connection... [16:21:35] Sock 8.Parse request [16:21:35]Sock 8.Check first char [16:21:35]Sock 8.First char is OK [16:21:35]request: POST /json_proto HTTP/1.0 [16:21:35]Method: POST [16:21:35]URL: /json_proto [16:21:35]Method is POST - this is cgi request [16:21:35]url: /json_proto [16:21:35]query_string will be loaded in cgi processing [16:21:35]execute_cgi json_proto POST (null) [16:21:35]execute_cgi path=json_proto method=POST [16:21:35]POST find Content-Length [16:21:35]Host: 172.17.35.133:8080 [16:21:35]Content-Length: 990 [16:21:35]Content-Type: application/json [16:21:35] [16:21:35]POST finish read [16:21:35]Found Content-Length = 990 [16:21:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254425", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 3.000, "sum" : 177.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 297.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:21:35]execute_script... [16:21:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254425", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 3.000, "sum" : 177.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 297.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:21:35]POST & json_proto [16:21:35]process_json_proto [16:21:35]json parsed OK: [16:21:35]protocol is kg_v1.0 [16:21:35]action value=close_receipt [16:21:35]process_action close_receipt [16:21:35]cmd_close_receipt [16:21:35]MH_GetDate [16:21:35]Write to MH i2c: F0 00 00 E9 0F E7 [16:21:35]Write i2c OK [16:21:35]MH_I2C_Read... [16:21:35]Read from MH i2c: F0 [16:21:35]MH_I2C_Read... [16:21:35]Read from MH i2c: F0 09 00 [16:21:35]MH_I2C_Read... [16:21:35]Read from MH i2c: F0 09 00 E9 0F 00 92 BF 6D 66 8C 55 28 65 82 [16:21:35]GetLastDocTimeStamp 1718468409 [16:21:35]current date 1718468498 [16:21:35]FM_GetShiftState [16:21:35]SAM_PROTO_GetShiftState [16:21:35]wFMCommunicate request_size=4 [16:21:35]MH_SAM_APDU [16:21:35]CAPDU: 80 13 01 00 [16:21:35]Write to MH i2c: E2 08 00 EA 0F 80 13 01 00 00 00 00 00 76 [16:21:35]Write i2c OK [16:21:35]MH_I2C_Read... [16:21:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:21:35]Read from MH i2c: E2 [16:21:35]MH_I2C_Read... [16:21:35]Read from MH i2c: E2 0E 00 [16:21:35]MH_I2C_Read... [16:21:35]Read from MH i2c: E2 0E 00 EA 0F 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 4A [16:21:35]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:21:35]wFMCommunicate OK [16:21:35]SAM_PROTO_GetShiftState done [16:21:35]FM_GetShiftState done [16:21:35]opened in 1718410776 [16:21:35]opened+sec_in_day 1718497176 [16:21:35]quantity*price = 12000 [16:21:35]sum+1 = 12001 [16:21:35]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 3.000 * 59.00 = 177.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 297.00 НСП 1% : 2.63 НДС 12% : 31.54 Наличными: 297.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 55 15.06.2024 16:21 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22210 ФПД: 278259954451573 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T162139&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22210&fm=278259954451573&tin=02508201610067®Number=0000000000099755&sum=29700 0 [16:21:36]StoreToDocumentArchive [16:21:36]shift 326 fd 22210 [16:21:36]save to /storage/0326/doc_00022210 [16:21:36]save last doc name /storage/0326/doc_00022210 to /storage/kkm_last_doc_name [16:21:36]save OK [16:21:36]Clear old archive folders... [16:21:36]ProcessDocumentItem done err = 0, tmpTLVsize=414 [16:21:36]tlvbuf is 001CD530 [16:21:36]SAM_PROTO_ClearQueue [16:21:36]wFMCommunicate request_size=4 [16:21:36]MH_SAM_APDU [16:21:36]CAPDU: 80 09 00 00 [16:21:36]Write to MH i2c: E2 08 00 F7 0F 80 09 00 00 00 00 00 00 78 [16:21:36]Write i2c OK [16:21:36]MH_I2C_Read... [16:21:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:21:36]Read from MH i2c: E2 [16:21:36]MH_I2C_Read... [16:21:36]Read from MH i2c: E2 03 00 [16:21:36]MH_I2C_Read... [16:21:36]Read from MH i2c: E2 03 00 F7 0F 00 90 00 7A [16:21:36]RAPDU: 90 00 [16:21:36]wFMCommunicate OK [16:21:36]SAM_PROTO_ClearQueue done [16:21:36]KKMCreateOFDPacket [16:21:36]OFDProtocolAddRootSTLVToBuf [16:21:36]FM_MakeSignedData [16:21:36]FM_MakeSignedData [16:21:36]SAM_PROTO_SignData [16:21:36]wFMCommunicate request_size=4 [16:21:36]MH_SAM_APDU [16:21:36]CAPDU: 80 0D 01 02 [16:21:36]Write to MH i2c: E2 08 00 F8 0F 80 0D 01 02 00 00 00 00 80 [16:21:36]Write i2c OK [16:21:36]MH_I2C_Read... [16:21:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:21:36]Read from MH i2c: E2 [16:21:36]MH_I2C_Read... [16:21:36]Read from MH i2c: E2 03 00 [16:21:36]MH_I2C_Read... [16:21:36]Read from MH i2c: E2 03 00 F8 0F 00 90 00 7B [16:21:36]RAPDU: 90 00 [16:21:36]wFMCommunicate OK [16:21:36]wFMCommunicate request_size=255 [16:21:36]MH_SAM_APDU [16:21:36]CAPDU: 80 0D 02 02 FA 03 00 9E 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 24 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 [16:21:36]Write to MH i2c: E2 02 01 F9 0F 80 0D 02 02 FA 00 03 00 9E 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 24 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 00 00 BF [16:21:36]Write i2c OK [16:21:36]MH_I2C_Read... [16:21:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:21:36]Read from MH i2c: E2 [16:21:36]MH_I2C_Read... [16:21:36]Read from MH i2c: E2 03 00 [16:21:36]MH_I2C_Read... [16:21:36]Read from MH i2c: E2 03 00 F9 0F 00 90 00 7C [16:21:36]RAPDU: 90 00 [16:21:36]wFMCommunicate OK [16:21:36]wFMCommunicate request_size=173 [16:21:36]MH_SAM_APDU [16:21:36]CAPDU: 80 0D 02 02 A8 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 0C 00 00 00 00 07 04 06 00 04 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 93 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C2 56 00 00 35 04 06 00 FD 13 71 BD 84 75 [16:21:36]Write to MH i2c: E2 B0 00 FA 0F 80 0D 02 02 A8 00 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 0C 00 00 00 00 07 04 06 00 04 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 93 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C2 56 00 00 35 04 06 00 FD 13 71 BD 84 75 00 00 68 [16:21:36]Write i2c OK [16:21:36]MH_I2C_Read... [16:21:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:21:37]Read from MH i2c: E2 [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: E2 03 00 [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: E2 03 00 FA 0F 00 90 00 7D [16:21:37]RAPDU: 90 00 [16:21:37]wFMCommunicate OK [16:21:37]wFMCommunicate request_size=4 [16:21:37]MH_SAM_APDU [16:21:37]CAPDU: 80 0D 03 02 [16:21:37]Write to MH i2c: E2 08 00 FB 0F 80 0D 03 02 00 00 00 00 85 [16:21:37]Write i2c OK [16:21:37]MH_I2C_Read... [16:21:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:21:37]Read from MH i2c: E2 [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: E2 0B 00 [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: E2 0B 00 FB 0F 00 A0 8B 06 4A 88 73 B1 C3 90 00 70 [16:21:37]RAPDU: A0 8B 06 4A 88 73 B1 C3 90 00 [16:21:37]wFMCommunicate OK [16:21:37]SAM_PROTO_SignData done [16:21:37]FM_MakeSignedData done [16:21:37]CreateOFDProtocolMessage [16:21:37]wFMCommunicate request_size=4 [16:21:37]MH_SAM_APDU [16:21:37]CAPDU: 80 11 00 00 [16:21:37]Write to MH i2c: E2 08 00 FC 0F 80 11 00 00 00 00 00 00 85 [16:21:37]Write i2c OK [16:21:37]MH_I2C_Read... [16:21:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:21:37]Read from MH i2c: E2 [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: E2 17 00 [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: E2 17 00 FC 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D7 [16:21:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:21:37]wFMCommunicate OK [16:21:37]CreateOFDProtocolMessage done [16:21:37]OFDSenderStorePacket 22210 [16:21:37]StoreOFDPacket docnum=22210 [16:21:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B2 01 00 00 BE 84 AA 01 E7 41 5A 03 01 00 03 00 9E 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 24 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 0C 00 00 00 00 07 04 06 00 04 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 93 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C2 56 00 00 35 04 06 00 FD 13 71 BD 84 75 A0 8B 06 4A 88 73 B1 C3 [16:21:37]CheckFolder [16:21:37]dirname=/storage/ofd_packets [16:21:37]CheckFolder done [16:21:37]ProducePacketName [16:21:37]name=ofd_packets/00022210 [16:21:37]NVStorageSaveData ofd_packets/00022210 [16:21:37]File name is /storage/ofd_packets/00022210 [16:21:37]Write 464 bytes [16:21:37]NVStorageSaveData done [16:21:37]OFDSenderStorePacket done [16:21:37]KKMCreateOFDPacket done [16:21:37]NVStorageSaveData kkm_last_timestamp [16:21:37]File name is /storage/kkm_last_timestamp [16:21:37]Write 4 bytes [16:21:37]NVStorageSaveData done [16:21:37]ExternCall_PrintAddStr [16:21:37]wPrintStart [16:21:37]Write to MH i2c: 01 00 00 FD 0F 0C [16:21:37]OFD Sender: Processing packet 22210 [packets to send 5, broken 4] [16:21:37]ProducePacketName [16:21:37]name=ofd_packets/00022210 [16:21:37]OFD Sender: To server: pG, [16:21:37]CommunicateWithHost lk.salyk.kg:30040 [16:21:37]ConnectInit lk.salyk.kg [16:21:37]Write i2c OK [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: 01 [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: 01 07 00 [16:21:37]MH_I2C_Read... [16:21:37]Read from MH i2c: 01 07 00 FD 0F 00 00 00 00 00 FF 0F 21 [16:21:37]RasterBufferAndPrint [16:21:37]line Счет N : (3)254425 [16:21:37]line ИНН: 02508201610067 [16:21:37]line Контрольно-Кассовый Чек [16:21:37]line ПРОДАЖА [16:21:37]line Товар: 4700000160792 [16:21:37]line Снек Курут классический (круглый) [16:21:37]line 2.000 * 60.00 [16:21:37]line = 120.00 [16:21:37]line НДС 12% НСП 1% [16:21:37]line > о реализуемом товаре [16:21:37]line Товар: 4607065001445 [16:21:37]line Шок батончик Snickers 50,5г [16:21:37]line 3.000 * 59.00 [16:21:37]line = 177.00 [16:21:37]line НДС 12% НСП 1% [16:21:37]line > о реализуемом товаре [16:21:37]line ИТОГО: 297.00 [16:21:37]line НСП 1% : 2.63 [16:21:37]line НДС 12% : 31.54 [16:21:37]line Наличными: 297.00 [16:21:37]line Безнал.: 0.00 [16:21:37]line Место: АЗС № 76 "Партнер Нефть" [16:21:37]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:21:37]line СНО: Общий режим [16:21:37]line Чек 55 15.06.2024 16:21 [16:21:37]line Смена: 326 ФФД: 1.0 [16:21:37]line ЗНМ: 0300000200 [16:21:37]line РНМ: 0000000000099755 [16:21:37]line Версия ККМ: 001 [16:21:37]line ФМ: 0000000000965344 [16:21:37]line ФД: 22210 [16:21:37]line ФПД: 278259954451573 [16:21:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T162139&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22210&fm=278259954451573&tin=02508201610067®Number=0000000000099755&sum=29700 [16:21:37]line 0 [16:21:37]written 0, free lines is 4095 [16:21:37]Connected sock=10 [16:21:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B2 01 00 00 BE 84 AA 01 E7 41 5A 03 01 00 03 00 9E 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 24 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 0C 00 00 00 00 07 04 06 00 04 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 93 BF 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C2 56 00 00 35 04 06 00 FD 13 71 BD 84 75 A0 8B 06 4A 88 73 B1 C3 [16:21:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B9 F1 47 00 0A 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C2 56 00 00 F4 03 04 00 50 68 6D 66 B6 04 01 00 00 F3 23 6B 35 71 CC 12 58 [16:21:37]CommunicateWithHost err = 0 [16:21:37]CheckOFDResponse [16:21:37]1017 (14) - 77093643461234 [16:21:37]1041 (16) - 0000000000965344 [16:21:37]1040 (4) - 22210 [16:21:37]1012 (4) - 15.06.2024 10:09 [16:21:37]1206 (1) - 0 [16:21:37]OFD Sender: Remove packet 22210 [16:21:37]ProducePacketName [16:21:37]name=ofd_packets/00022210 [16:21:37]NVStorageDeleteData [16:21:38]Write to MH i2c: 01 00 00 2C 10 3C [16:21:38]Write i2c OK [16:21:38]MH_I2C_Read... [16:21:38]Read from MH i2c: 01 [16:21:38]MH_I2C_Read... [16:21:38]Read from MH i2c: 01 07 00 [16:21:38]MH_I2C_Read... [16:21:38]Read from MH i2c: 01 07 00 2C 10 00 00 00 00 00 D3 0C 22 [16:21:38]RasterBufferAndPrint [16:21:38]line [16:21:38]line [16:21:38]line [16:21:38]line [16:21:38]line [16:21:38]written 0, free lines is 3289 [16:21:38]MH_Cut [16:21:38]Write to MH i2c: D1 01 00 33 10 01 15 [16:21:38]Write i2c OK [16:21:38]MH_I2C_Read... [16:21:38]Read from MH i2c: D1 [16:21:38]MH_I2C_Read... [16:21:38]Read from MH i2c: D1 01 00 [16:21:38]MH_I2C_Read... [16:21:38]Read from MH i2c: D1 01 00 33 10 00 14 [16:21:38]Write to MH i2c: 01 00 00 34 10 44 [16:21:38]Write i2c OK [16:21:38]MH_I2C_Read... [16:21:38]OFD Sender: No OFD packet to send [16:21:38]*** Cut start [16:21:38]*** Partial cut [16:21:38]*** CUTSNS_PIN = 1 [16:21:38]*** CUTSNS_PIN = 0 [16:21:38]*** Brake cut motor [16:21:39]Read from MH i2c: 01 [16:21:39]MH_I2C_Read... [16:21:39]*** Stop cut motor [16:21:39]*** Cut end [16:21:39]Read from MH i2c: 01 07 00 [16:21:39]MH_I2C_Read... [16:21:39]Read from MH i2c: 01 07 00 34 10 00 00 00 00 00 FF 0F 59 [16:21:39]process_action close_receipt done [16:21:39]requested_data is exist [16:21:39]produce_requested_data [16:21:39]requested_item fm.sn is exist - process it [16:21:39]wFMCommunicate request_size=4 [16:21:39]MH_SAM_APDU [16:21:39]CAPDU: 80 11 00 00 [16:21:39]Write to MH i2c: E2 08 00 35 10 80 11 00 00 00 00 00 00 BF [16:21:39]Write i2c OK [16:21:39]MH_I2C_Read... [16:21:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:21:39]Read from MH i2c: E2 [16:21:39]MH_I2C_Read... [16:21:39]Read from MH i2c: E2 17 00 [16:21:39]MH_I2C_Read... [16:21:39]Read from MH i2c: E2 17 00 35 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 11 [16:21:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:21:39]wFMCommunicate OK [16:21:39]requested_item fd.num is exist - process it [16:21:39]SAM_PROTO_GetFieldsCounters [16:21:39]wFMCommunicate request_size=4 [16:21:39]MH_SAM_APDU [16:21:39]CAPDU: 80 13 00 00 [16:21:39]Write to MH i2c: E2 08 00 36 10 80 13 00 00 00 00 00 00 C2 [16:21:39]Write i2c OK [16:21:39]MH_I2C_Read... [16:21:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:21:39]Read from MH i2c: E2 [16:21:39]MH_I2C_Read... [16:21:39]Read from MH i2c: E2 62 00 [16:21:39]MH_I2C_Read... [16:21:39]Read from MH i2c: E2 62 00 36 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C2 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [16:21:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C2 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:21:39]wFMCommunicate OK [16:21:39]SAM_PROTO_GetFieldsCounters done [16:21:39]requested_item shift.num is exist - process it [16:21:39]requested_item shift.opened is exist - process it [16:21:39]req_shift_opened [16:21:39]FM_GetShiftState [16:21:39]SAM_PROTO_GetShiftState [16:21:39]wFMCommunicate request_size=4 [16:21:39]MH_SAM_APDU [16:21:39]CAPDU: 80 13 01 00 [16:21:39]Write to MH i2c: E2 08 00 37 10 80 13 01 00 00 00 00 00 C4 [16:21:39]Write i2c OK [16:21:39]MH_I2C_Read... [16:21:39]Read from MH i2c: E2 [16:21:39]MH_I2C_Read... [16:21:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:21:39]Read from MH i2c: E2 0E 00 [16:21:39]MH_I2C_Read... [16:21:39]Read from MH i2c: E2 0E 00 37 10 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 98 [16:21:39]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:21:39]wFMCommunicate OK [16:21:39]SAM_PROTO_GetShiftState done [16:21:39]FM_GetShiftState done [16:21:39]req_shift_opened done [16:21:39]requested_item shift.open_date is exist - process it [16:21:39]req_shift_open_date [16:21:39]req_shift_open_date done [16:21:39]produce_requested_data done [16:21:39]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22210,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [16:21:39]process_action_free close_receipt [16:21:39]json_value_free [16:21:39]json_value_free done [16:21:39]process_json_proto returns [16:21:39]Send response to host [16:21:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22210,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [16:21:39]free response buf [16:21:39]execute_script done [16:21:39]execute_script returns [16:21:39]free content buf [16:21:39]Sock 8.Close socket [16:21:39]Sock 8.Thread stoped [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:43]OFD Sender: No OFD packet to send [16:22:48]OFD Sender: No OFD packet to send [16:22:53]OFD Sender: No OFD packet to send [16:22:58]OFD Sender: No OFD packet to send [16:23:03]OFD Sender: No OFD packet to send [16:23:08]OFD Sender: No OFD packet to send [16:23:13]OFD Sender: No OFD packet to send [16:23:18]OFD Sender: No OFD packet to send [16:23:23]OFD Sender: No OFD packet to send [16:23:28]OFD Sender: No OFD packet to send [16:23:33]OFD Sender: No OFD packet to send [16:23:38]OFD Sender: No OFD packet to send [16:23:43]OFD Sender: No OFD packet to send [16:23:48]OFD Sender: No OFD packet to send [16:23:53]OFD Sender: No OFD packet to send [16:23:58]OFD Sender: No OFD packet to send [16:24:03]OFD Sender: No OFD packet to send [16:24:08]OFD Sender: No OFD packet to send [16:24:13]OFD Sender: No OFD packet to send [16:24:18]OFD Sender: No OFD packet to send [16:24:23]OFD Sender: No OFD packet to send [16:24:28]OFD Sender: No OFD packet to send [16:24:33]OFD Sender: No OFD packet to send [16:24:38]OFD Sender: No OFD packet to send [16:24:43]OFD Sender: No OFD packet to send [16:24:48]OFD Sender: No OFD packet to send [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:25:03]OFD Sender: No OFD packet to send [16:25:08]OFD Sender: No OFD packet to send [16:25:13]OFD Sender: No OFD packet to send [16:25:18]OFD Sender: No OFD packet to send [16:25:23]OFD Sender: No OFD packet to send [16:25:28]OFD Sender: No OFD packet to send [16:25:33]OFD Sender: No OFD packet to send [16:25:38]OFD Sender: No OFD packet to send [16:25:43]OFD Sender: No OFD packet to send [16:25:48]OFD Sender: No OFD packet to send [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]OFD Sender: No OFD packet to send [16:26:18]OFD Sender: No OFD packet to send [16:26:23]OFD Sender: No OFD packet to send [16:26:28]OFD Sender: No OFD packet to send [16:26:33]OFD Sender: No OFD packet to send [16:26:38]OFD Sender: No OFD packet to send [16:26:43]OFD Sender: No OFD packet to send [16:26:48]OFD Sender: No OFD packet to send [16:26:53]OFD Sender: No OFD packet to send [16:26:58]OFD Sender: No OFD packet to send [16:27:03]OFD Sender: No OFD packet to send [16:27:08]OFD Sender: No OFD packet to send [16:27:13]OFD Sender: No OFD packet to send [16:27:18]OFD Sender: No OFD packet to send [16:27:23]OFD Sender: No OFD packet to send [16:27:28]OFD Sender: No OFD packet to send [16:27:33]OFD Sender: No OFD packet to send [16:27:38]OFD Sender: No OFD packet to send [16:27:43]OFD Sender: No OFD packet to send [16:27:48]OFD Sender: No OFD packet to send [16:27:53]OFD Sender: No OFD packet to send [16:27:58]OFD Sender: No OFD packet to send [16:28:03]OFD Sender: No OFD packet to send [16:28:08]OFD Sender: No OFD packet to send [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:14]OFD Sender: No OFD packet to send [16:36:19]OFD Sender: No OFD packet to send [16:36:24]OFD Sender: No OFD packet to send [16:36:29]OFD Sender: No OFD packet to send [16:36:34]OFD Sender: No OFD packet to send [16:36:39]OFD Sender: No OFD packet to send [16:36:44]OFD Sender: No OFD packet to send [16:36:49]OFD Sender: No OFD packet to send [16:36:54]OFD Sender: No OFD packet to send [16:36:59]OFD Sender: No OFD packet to send [16:37:04]OFD Sender: No OFD packet to send [16:37:09]OFD Sender: No OFD packet to send [16:37:14]OFD Sender: No OFD packet to send [16:37:19]OFD Sender: No OFD packet to send [16:37:24]OFD Sender: No OFD packet to send [16:37:29]OFD Sender: No OFD packet to send [16:37:34]OFD Sender: No OFD packet to send [16:37:39]OFD Sender: No OFD packet to send [16:37:44]OFD Sender: No OFD packet to send [16:37:49]OFD Sender: No OFD packet to send [16:37:54]OFD Sender: No OFD packet to send [16:37:59]OFD Sender: No OFD packet to send [16:38:04]OFD Sender: No OFD packet to send [16:38:09]OFD Sender: No OFD packet to send [16:38:14]OFD Sender: No OFD packet to send [16:38:19]OFD Sender: No OFD packet to send [16:38:24]OFD Sender: No OFD packet to send [16:38:29]OFD Sender: No OFD packet to send [16:38:34]OFD Sender: No OFD packet to send [16:38:39]OFD Sender: No OFD packet to send [16:38:44]OFD Sender: No OFD packet to send [16:38:49]OFD Sender: No OFD packet to send [16:38:54]OFD Sender: No OFD packet to send [16:38:59]OFD Sender: No OFD packet to send [16:39:04]OFD Sender: No OFD packet to send [16:39:09]OFD Sender: No OFD packet to send [16:39:14]OFD Sender: No OFD packet to send [16:39:19]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:34]OFD Sender: No OFD packet to send [16:39:39]OFD Sender: No OFD packet to send [16:39:44]OFD Sender: No OFD packet to send [16:39:49]OFD Sender: No OFD packet to send [16:39:54]OFD Sender: No OFD packet to send [16:39:59]OFD Sender: No OFD packet to send [16:40:04]OFD Sender: No OFD packet to send [16:40:09]OFD Sender: No OFD packet to send [16:40:14]OFD Sender: No OFD packet to send [16:40:19]OFD Sender: No OFD packet to send [16:40:24]OFD Sender: No OFD packet to send [16:40:29]OFD Sender: No OFD packet to send [16:40:34]OFD Sender: No OFD packet to send [16:40:39]OFD Sender: No OFD packet to send [16:40:44]OFD Sender: No OFD packet to send [16:40:49]OFD Sender: No OFD packet to send [16:40:54]OFD Sender: No OFD packet to send [16:40:59]OFD Sender: No OFD packet to send [16:41:04]OFD Sender: No OFD packet to send [16:41:09]OFD Sender: No OFD packet to send [16:41:14]OFD Sender: No OFD packet to send [16:41:19]OFD Sender: No OFD packet to send [16:41:24]OFD Sender: No OFD packet to send [16:41:29]OFD Sender: No OFD packet to send [16:41:34]OFD Sender: No OFD packet to send [16:41:39]OFD Sender: No OFD packet to send [16:41:44]OFD Sender: No OFD packet to send [16:41:49]OFD Sender: No OFD packet to send [16:41:54]OFD Sender: No OFD packet to send [16:41:59]OFD Sender: No OFD packet to send [16:42:04]OFD Sender: No OFD packet to send [16:42:09]OFD Sender: No OFD packet to send [16:42:14]OFD Sender: No OFD packet to send [16:42:19]OFD Sender: No OFD packet to send [16:42:24]OFD Sender: No OFD packet to send [16:42:29]OFD Sender: No OFD packet to send [16:42:34]OFD Sender: No OFD packet to send [16:42:39]OFD Sender: No OFD packet to send [16:42:44]OFD Sender: No OFD packet to send [16:42:49]OFD Sender: No OFD packet to send [16:42:54]OFD Sender: No OFD packet to send [16:42:59]OFD Sender: No OFD packet to send [16:43:04]OFD Sender: No OFD packet to send [16:43:09]OFD Sender: No OFD packet to send [16:43:14]OFD Sender: No OFD packet to send [16:43:19]OFD Sender: No OFD packet to send [16:43:24]OFD Sender: No OFD packet to send [16:43:29]OFD Sender: No OFD packet to send [16:43:34]OFD Sender: No OFD packet to send [16:43:39]OFD Sender: No OFD packet to send [16:43:44]OFD Sender: No OFD packet to send [16:43:49]OFD Sender: No OFD packet to send [16:43:54]OFD Sender: No OFD packet to send [16:43:59]OFD Sender: No OFD packet to send [16:44:04]OFD Sender: No OFD packet to send [16:44:09]OFD Sender: No OFD packet to send [16:44:14]OFD Sender: No OFD packet to send [16:44:19]OFD Sender: No OFD packet to send [16:44:24]OFD Sender: No OFD packet to send [16:44:29]OFD Sender: No OFD packet to send [16:44:34]OFD Sender: No OFD packet to send [16:44:39]OFD Sender: No OFD packet to send [16:44:44]OFD Sender: No OFD packet to send [16:44:49]OFD Sender: No OFD packet to send [16:44:54]OFD Sender: No OFD packet to send [16:44:59]OFD Sender: No OFD packet to send [16:45:04]OFD Sender: No OFD packet to send [16:45:09]OFD Sender: No OFD packet to send [16:45:14]OFD Sender: No OFD packet to send [16:45:19]OFD Sender: No OFD packet to send [16:45:24]OFD Sender: No OFD packet to send [16:45:29]OFD Sender: No OFD packet to send [16:45:34]OFD Sender: No OFD packet to send [16:45:39]OFD Sender: No OFD packet to send [16:45:44]OFD Sender: No OFD packet to send [16:45:49]OFD Sender: No OFD packet to send [16:45:54]OFD Sender: No OFD packet to send [16:45:59]OFD Sender: No OFD packet to send [16:46:04]OFD Sender: No OFD packet to send [16:46:09]OFD Sender: No OFD packet to send [16:46:14]OFD Sender: No OFD packet to send [16:46:19]OFD Sender: No OFD packet to send [16:46:24]OFD Sender: No OFD packet to send [16:46:29]OFD Sender: No OFD packet to send [16:46:34]OFD Sender: No OFD packet to send [16:46:39]OFD Sender: No OFD packet to send [16:46:44]OFD Sender: No OFD packet to send [16:46:49]OFD Sender: No OFD packet to send [16:46:54]OFD Sender: No OFD packet to send [16:46:59]OFD Sender: No OFD packet to send [16:47:04]OFD Sender: No OFD packet to send [16:47:09]OFD Sender: No OFD packet to send [16:47:14]OFD Sender: No OFD packet to send [16:47:19]OFD Sender: No OFD packet to send [16:47:24]OFD Sender: No OFD packet to send [16:47:29]OFD Sender: No OFD packet to send [16:47:34]OFD Sender: No OFD packet to send [16:47:39]OFD Sender: No OFD packet to send [16:47:44]OFD Sender: No OFD packet to send [16:47:49]OFD Sender: No OFD packet to send [16:47:54]OFD Sender: No OFD packet to send [16:47:59]OFD Sender: No OFD packet to send [16:48:04]OFD Sender: No OFD packet to send [16:48:09]OFD Sender: No OFD packet to send [16:48:14]OFD Sender: No OFD packet to send [16:48:19]OFD Sender: No OFD packet to send [16:48:24]OFD Sender: No OFD packet to send [16:48:29]OFD Sender: No OFD packet to send [16:48:34]OFD Sender: No OFD packet to send [16:48:39]OFD Sender: No OFD packet to send [16:48:44]OFD Sender: No OFD packet to send [16:48:49]OFD Sender: No OFD packet to send [16:48:54]OFD Sender: No OFD packet to send [16:48:59]OFD Sender: No OFD packet to send [16:49:04]OFD Sender: No OFD packet to send [16:49:09]OFD Sender: No OFD packet to send [16:49:14]OFD Sender: No OFD packet to send [16:49:19]OFD Sender: No OFD packet to send [16:49:24]OFD Sender: No OFD packet to send [16:49:29]OFD Sender: No OFD packet to send [16:49:34]OFD Sender: No OFD packet to send [16:49:39]OFD Sender: No OFD packet to send [16:49:44]OFD Sender: No OFD packet to send [16:49:49]OFD Sender: No OFD packet to send [16:49:54]OFD Sender: No OFD packet to send [16:49:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [16:51:39]OFD Sender: No OFD packet to send [16:51:44]OFD Sender: No OFD packet to send [16:51:49]OFD Sender: No OFD packet to send [16:51:54]OFD Sender: No OFD packet to send [16:51:59]OFD Sender: No OFD packet to send [16:52:04]OFD Sender: No OFD packet to send [16:52:09]OFD Sender: No OFD packet to send [16:52:14]OFD Sender: No OFD packet to send [16:52:19]OFD Sender: No OFD packet to send [16:52:24]OFD Sender: No OFD packet to send [16:52:29]OFD Sender: No OFD packet to send [16:52:34]OFD Sender: No OFD packet to send [16:52:39]OFD Sender: No OFD packet to send [16:52:44]OFD Sender: No OFD packet to send [16:52:49]OFD Sender: No OFD packet to send [16:52:54]OFD Sender: No OFD packet to send [16:52:59]OFD Sender: No OFD packet to send [16:53:04]OFD Sender: No OFD packet to send [16:53:09]OFD Sender: No OFD packet to send [16:53:14]OFD Sender: No OFD packet to send [16:53:19]OFD Sender: No OFD packet to send [16:53:24]OFD Sender: No OFD packet to send [16:53:29]OFD Sender: No OFD packet to send [16:53:34]OFD Sender: No OFD packet to send [16:53:39]OFD Sender: No OFD packet to send [16:53:44]OFD Sender: No OFD packet to send [16:53:49]OFD Sender: No OFD packet to send [16:53:54]OFD Sender: No OFD packet to send [16:53:59]OFD Sender: No OFD packet to send [16:54:04]OFD Sender: No OFD packet to send [16:54:09]OFD Sender: No OFD packet to send [16:54:14]OFD Sender: No OFD packet to send [16:54:19]OFD Sender: No OFD packet to send [16:54:24]OFD Sender: No OFD packet to send [16:54:29]OFD Sender: No OFD packet to send [16:54:34]OFD Sender: No OFD packet to send [16:54:39]OFD Sender: No OFD packet to send [16:54:44]OFD Sender: No OFD packet to send [16:54:49]OFD Sender: No OFD packet to send [16:54:54]OFD Sender: No OFD packet to send [16:54:59]OFD Sender: No OFD packet to send [16:55:04]OFD Sender: No OFD packet to send [16:55:09]OFD Sender: No OFD packet to send [16:55:14]OFD Sender: No OFD packet to send [16:55:19]OFD Sender: No OFD packet to send [16:55:24]OFD Sender: No OFD packet to send [16:55:29]OFD Sender: No OFD packet to send [16:55:34]OFD Sender: No OFD packet to send [16:55:39]OFD Sender: No OFD packet to send [16:55:44]OFD Sender: No OFD packet to send [16:55:49]OFD Sender: No OFD packet to send [16:55:54]OFD Sender: No OFD packet to send [16:55:59]OFD Sender: No OFD packet to send [16:56:04]OFD Sender: No OFD packet to send [16:56:09]OFD Sender: No OFD packet to send [16:56:14]OFD Sender: No OFD packet to send [16:56:19]OFD Sender: No OFD packet to send [16:56:24]OFD Sender: No OFD packet to send [16:56:29]OFD Sender: No OFD packet to send [16:56:34]OFD Sender: No OFD packet to send [16:56:39]OFD Sender: No OFD packet to send [16:56:44]OFD Sender: No OFD packet to send [16:56:49]OFD Sender: No OFD packet to send [16:56:54]OFD Sender: No OFD packet to send [16:56:59]OFD Sender: No OFD packet to send [16:57:04]OFD Sender: No OFD packet to send [16:57:09]OFD Sender: No OFD packet to send [16:57:14]OFD Sender: No OFD packet to send [16:57:19]OFD Sender: No OFD packet to send [16:57:24]OFD Sender: No OFD packet to send [16:57:29]OFD Sender: No OFD packet to send [16:57:34]OFD Sender: No OFD packet to send [16:57:39]OFD Sender: No OFD packet to send [16:57:44]OFD Sender: No OFD packet to send [16:57:50]OFD Sender: No OFD packet to send [16:57:55]OFD Sender: No OFD packet to send [16:58:00]OFD Sender: No OFD packet to send [16:58:05]OFD Sender: No OFD packet to send [16:58:10]OFD Sender: No OFD packet to send [16:58:15]OFD Sender: No OFD packet to send [16:58:20]OFD Sender: No OFD packet to send [16:58:25]OFD Sender: No OFD packet to send [16:58:30]OFD Sender: No OFD packet to send [16:58:35]OFD Sender: No OFD packet to send [16:58:40]OFD Sender: No OFD packet to send [16:58:44]accept exits with 9 [16:58:44]New connection [16:58:44]New thread 3066695012 created [16:58:44]Thread 3066838372 joined [16:58:44]Waiting for new connection... [16:58:44] Sock 9.Parse request [16:58:44]Sock 9.Check first char [16:58:44]Sock 9.First char is OK [16:58:44]request: POST /json_proto HTTP/1.0 [16:58:44]Method: POST [16:58:44]URL: /json_proto [16:58:44]Method is POST - this is cgi request [16:58:44]url: /json_proto [16:58:44]query_string will be loaded in cgi processing [16:58:44]execute_cgi json_proto POST (null) [16:58:44]execute_cgi path=json_proto method=POST [16:58:44]POST find Content-Length [16:58:44]Host: 172.17.35.133:8080 [16:58:44]Content-Length: 643 [16:58:44]Content-Type: application/json [16:58:44] [16:58:44]POST finish read [16:58:44]Found Content-Length = 643 [16:58:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254426", "tax_sys" : 0, "items" : [ { "code": "46198051", "name": "\u0420/\u0436 mentos pure white \u043D\u0435\u0436\u043D \u043C\u044F\u0442\u0430 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:58:44]execute_script... [16:58:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254426", "tax_sys" : 0, "items" : [ { "code": "46198051", "name": "\u0420/\u0436 mentos pure white \u043D\u0435\u0436\u043D \u043C\u044F\u0442\u0430 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:58:44]POST & json_proto [16:58:44]process_json_proto [16:58:44]json parsed OK: [16:58:44]protocol is kg_v1.0 [16:58:44]action value=close_receipt [16:58:44]process_action close_receipt [16:58:44]cmd_close_receipt [16:58:44]MH_GetDate [16:58:44]Write to MH i2c: F0 00 00 38 10 37 [16:58:44]Write i2c OK [16:58:44]MH_I2C_Read... [16:58:44]Read from MH i2c: F0 [16:58:44]MH_I2C_Read... [16:58:44]Read from MH i2c: F0 09 00 [16:58:44]MH_I2C_Read... [16:58:44]Read from MH i2c: F0 09 00 38 10 00 47 C8 6D 66 8C 55 28 65 90 [16:58:44]GetLastDocTimeStamp 1718468499 [16:58:44]current date 1718470727 [16:58:44]FM_GetShiftState [16:58:44]SAM_PROTO_GetShiftState [16:58:44]wFMCommunicate request_size=4 [16:58:44]MH_SAM_APDU [16:58:44]CAPDU: 80 13 01 00 [16:58:44]Write to MH i2c: E2 08 00 39 10 80 13 01 00 00 00 00 00 C6 [16:58:44]Write i2c OK [16:58:44]MH_I2C_Read... [16:58:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:44]Read from MH i2c: E2 [16:58:44]MH_I2C_Read... [16:58:44]Read from MH i2c: E2 0E 00 [16:58:44]MH_I2C_Read... [16:58:44]Read from MH i2c: E2 0E 00 39 10 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 9A [16:58:44]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:58:44]wFMCommunicate OK [16:58:44]SAM_PROTO_GetShiftState done [16:58:44]FM_GetShiftState done [16:58:44]opened in 1718410776 [16:58:44]opened+sec_in_day 1718497176 [16:58:44]quantity*price = 20500 [16:58:44]sum+1 = 20501 [16:58:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 56 15.06.2024 16:58 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22211 ФПД: 27464088106104 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T165847&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22211&fm=27464088106104&tin=02508201610067®Number=0000000000099755&sum=20500 0 [16:58:45]StoreToDocumentArchive [16:58:45]shift 326 fd 22211 [16:58:45]save to /storage/0326/doc_00022211 [16:58:45]save last doc name /storage/0326/doc_00022211 to /storage/kkm_last_doc_name [16:58:45]save OK [16:58:45]Clear old archive folders... [16:58:45]ProcessDocumentItem done err = 0, tmpTLVsize=283 [16:58:45]tlvbuf is B6E8C330 [16:58:45]SAM_PROTO_ClearQueue [16:58:45]wFMCommunicate request_size=4 [16:58:45]MH_SAM_APDU [16:58:45]CAPDU: 80 09 00 00 [16:58:45]Write to MH i2c: E2 08 00 46 10 80 09 00 00 00 00 00 00 C8 [16:58:45]Write i2c OK [16:58:45]MH_I2C_Read... [16:58:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:58:45]Read from MH i2c: E2 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 03 00 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 03 00 46 10 00 90 00 CA [16:58:45]RAPDU: 90 00 [16:58:45]wFMCommunicate OK [16:58:45]SAM_PROTO_ClearQueue done [16:58:45]KKMCreateOFDPacket [16:58:45]OFDProtocolAddRootSTLVToBuf [16:58:45]FM_MakeSignedData [16:58:45]FM_MakeSignedData [16:58:45]SAM_PROTO_SignData [16:58:45]wFMCommunicate request_size=4 [16:58:45]MH_SAM_APDU [16:58:45]CAPDU: 80 0D 01 02 [16:58:45]Write to MH i2c: E2 08 00 47 10 80 0D 01 02 00 00 00 00 D0 [16:58:45]Write i2c OK [16:58:45]MH_I2C_Read... [16:58:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:58:45]Read from MH i2c: E2 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 03 00 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 03 00 47 10 00 90 00 CB [16:58:45]RAPDU: 90 00 [16:58:45]wFMCommunicate OK [16:58:45]wFMCommunicate request_size=255 [16:58:45]MH_SAM_APDU [16:58:45]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 47 C8 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 [16:58:45]Write to MH i2c: E2 02 01 48 10 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 47 C8 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 00 00 30 [16:58:45]Write i2c OK [16:58:45]MH_I2C_Read... [16:58:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:45]Read from MH i2c: E2 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 03 00 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 03 00 48 10 00 90 00 CC [16:58:45]RAPDU: 90 00 [16:58:45]wFMCommunicate OK [16:58:45]wFMCommunicate request_size=42 [16:58:45]MH_SAM_APDU [16:58:45]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C3 56 00 00 35 04 06 00 18 FA 7B 37 34 78 [16:58:45]Write to MH i2c: E2 2D 00 49 10 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C3 56 00 00 35 04 06 00 18 FA 7B 37 34 78 00 00 30 [16:58:45]Write i2c OK [16:58:45]MH_I2C_Read... [16:58:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:45]Read from MH i2c: E2 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 03 00 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 03 00 49 10 00 90 00 CD [16:58:45]RAPDU: 90 00 [16:58:45]wFMCommunicate OK [16:58:45]wFMCommunicate request_size=4 [16:58:45]MH_SAM_APDU [16:58:45]CAPDU: 80 0D 03 02 [16:58:45]Write to MH i2c: E2 08 00 4A 10 80 0D 03 02 00 00 00 00 D5 [16:58:45]Write i2c OK [16:58:45]MH_I2C_Read... [16:58:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:58:45]Read from MH i2c: E2 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 0B 00 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 0B 00 4A 10 00 87 04 9E 7B 22 CE 5C 09 90 00 CF [16:58:45]RAPDU: 87 04 9E 7B 22 CE 5C 09 90 00 [16:58:45]wFMCommunicate OK [16:58:45]SAM_PROTO_SignData done [16:58:45]FM_MakeSignedData done [16:58:45]CreateOFDProtocolMessage [16:58:45]wFMCommunicate request_size=4 [16:58:45]MH_SAM_APDU [16:58:45]CAPDU: 80 11 00 00 [16:58:45]Write to MH i2c: E2 08 00 4B 10 80 11 00 00 00 00 00 00 D5 [16:58:45]Write i2c OK [16:58:45]MH_I2C_Read... [16:58:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:58:45]Read from MH i2c: E2 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 17 00 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: E2 17 00 4B 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 27 [16:58:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:58:45]wFMCommunicate OK [16:58:45]CreateOFDProtocolMessage done [16:58:45]OFDSenderStorePacket 22211 [16:58:45]StoreOFDPacket docnum=22211 [16:58:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2F 01 00 00 49 99 27 01 D2 D6 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 47 C8 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C3 56 00 00 35 04 06 00 18 FA 7B 37 34 78 87 04 9E 7B 22 CE 5C 09 [16:58:45]CheckFolder [16:58:45]dirname=/storage/ofd_packets [16:58:45]CheckFolder done [16:58:45]ProducePacketName [16:58:45]name=ofd_packets/00022211 [16:58:45]NVStorageSaveData ofd_packets/00022211 [16:58:45]File name is /storage/ofd_packets/00022211 [16:58:45]Write 333 bytes [16:58:45]NVStorageSaveData done [16:58:45]OFDSenderStorePacket done [16:58:45]KKMCreateOFDPacket done [16:58:45]NVStorageSaveData kkm_last_timestamp [16:58:45]File name is /storage/kkm_last_timestamp [16:58:45]Write 4 bytes [16:58:45]NVStorageSaveData done [16:58:45]ExternCall_PrintAddStr [16:58:45]wPrintStart [16:58:45]Write to MH i2c: 01 00 00 4C 10 5C [16:58:45]Write i2c OK [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: 01 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: 01 07 00 [16:58:45]MH_I2C_Read... [16:58:45]Read from MH i2c: 01 07 00 4C 10 00 00 00 00 00 FF 0F 71 [16:58:45]RasterBufferAndPrint [16:58:45]line Счет N : (3)254426 [16:58:45]line ИНН: 02508201610067 [16:58:45]line Контрольно-Кассовый Чек [16:58:45]line ПРОДАЖА [16:58:45]line Товар: 46198051 [16:58:45]line Р/ж mentos pure white нежн мята 54г [16:58:45]line 1.000 * 205.00 [16:58:45]line = 205.00 [16:58:45]line НДС 12% НСП 1% [16:58:45]line > о реализуемом товаре [16:58:45]line ИТОГО: 205.00 [16:58:45]line НСП 1% : 1.81 [16:58:45]line НДС 12% : 21.77 [16:58:45]line Наличными: 205.00 [16:58:45]line Безнал.: 0.00 [16:58:45]line Место: АЗС № 76 "Партнер Нефть" [16:58:45]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:58:45]line СНО: Общий режим [16:58:45]line Чек 56 15.06.2024 16:58 [16:58:45]line Смена: 326 ФФД: 1.0 [16:58:45]line ЗНМ: 0300000200 [16:58:45]line РНМ: 0000000000099755 [16:58:45]line Версия ККМ: 001 [16:58:45]line ФМ: 0000000000965344 [16:58:45]line ФД: 22211 [16:58:45]line ФПД: 27464088106104 [16:58:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T165847&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22211&fm=27464088106104&tin=02508201610067®Number=0000000000099755&sum=20500 [16:58:46]line 0 [16:58:46]OFD Sender: Processing packet 22211 [packets to send 5, broken 4] [16:58:46]ProducePacketName [16:58:46]name=ofd_packets/00022211 [16:58:46]OFD Sender: To server: pG, [16:58:46]CommunicateWithHost lk.salyk.kg:30040 [16:58:46]ConnectInit lk.salyk.kg [16:58:46]written 0, free lines is 4095 [16:58:46]Connected sock=10 [16:58:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2F 01 00 00 49 99 27 01 D2 D6 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 47 C8 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C3 56 00 00 35 04 06 00 18 FA 7B 37 34 78 87 04 9E 7B 22 CE 5C 09 [16:58:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 EB 88 47 00 B0 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C3 56 00 00 F4 03 04 00 04 71 6D 66 B6 04 01 00 00 A5 A3 94 FE 01 2D 51 99 [16:58:46]CommunicateWithHost err = 0 [16:58:46]CheckOFDResponse [16:58:46]1017 (14) - 77093643461234 [16:58:46]1041 (16) - 0000000000965344 [16:58:46]1040 (4) - 22211 [16:58:46]1012 (4) - 15.06.2024 10:46 [16:58:46]1206 (1) - 0 [16:58:46]OFD Sender: Remove packet 22211 [16:58:46]ProducePacketName [16:58:46]name=ofd_packets/00022211 [16:58:46]NVStorageDeleteData [16:58:46]Write to MH i2c: 01 00 00 75 10 85 [16:58:46]Write i2c OK [16:58:46]MH_I2C_Read... [16:58:46]Read from MH i2c: 01 [16:58:46]MH_I2C_Read... [16:58:46]Read from MH i2c: 01 07 00 [16:58:46]MH_I2C_Read... [16:58:46]Read from MH i2c: 01 07 00 75 10 00 00 00 00 00 04 0D 9D [16:58:46]RasterBufferAndPrint [16:58:46]line [16:58:46]line [16:58:46]line [16:58:46]line [16:58:46]line [16:58:46]written 0, free lines is 3340 [16:58:46]MH_Cut [16:58:46]Write to MH i2c: D1 01 00 7C 10 01 5E [16:58:46]Write i2c OK [16:58:46]MH_I2C_Read... [16:58:46]Read from MH i2c: D1 [16:58:46]MH_I2C_Read... [16:58:46]Read from MH i2c: D1 01 00 [16:58:46]MH_I2C_Read... [16:58:46]Read from MH i2c: D1 01 00 7C 10 00 5D [16:58:46]Write to MH i2c: 01 00 00 7D 10 8D [16:58:46]Write i2c OK [16:58:46]MH_I2C_Read... [16:58:46]OFD Sender: No OFD packet to send [16:58:47]*** Cut start [16:58:47]*** Partial cut [16:58:47]*** CUTSNS_PIN = 1 [16:58:47]*** CUTSNS_PIN = 0 [16:58:47]*** Brake cut motor [16:58:47]Read from MH i2c: 01 [16:58:47]MH_I2C_Read... [16:58:47]*** Stop cut motor [16:58:47]*** Cut end [16:58:47]Read from MH i2c: 01 07 00 [16:58:47]MH_I2C_Read... [16:58:47]Read from MH i2c: 01 07 00 7D 10 00 00 00 00 00 FF 0F A2 [16:58:47]process_action close_receipt done [16:58:47]requested_data is exist [16:58:47]produce_requested_data [16:58:47]requested_item fm.sn is exist - process it [16:58:47]wFMCommunicate request_size=4 [16:58:47]MH_SAM_APDU [16:58:47]CAPDU: 80 11 00 00 [16:58:47]Write to MH i2c: E2 08 00 7E 10 80 11 00 00 00 00 00 00 08 [16:58:47]Write i2c OK [16:58:47]MH_I2C_Read... [16:58:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:58:47]Read from MH i2c: E2 [16:58:47]MH_I2C_Read... [16:58:47]Read from MH i2c: E2 17 00 [16:58:47]MH_I2C_Read... [16:58:47]Read from MH i2c: E2 17 00 7E 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 5A [16:58:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:58:47]wFMCommunicate OK [16:58:47]requested_item fd.num is exist - process it [16:58:47]SAM_PROTO_GetFieldsCounters [16:58:47]wFMCommunicate request_size=4 [16:58:47]MH_SAM_APDU [16:58:47]CAPDU: 80 13 00 00 [16:58:47]Write to MH i2c: E2 08 00 7F 10 80 13 00 00 00 00 00 00 0B [16:58:47]Write i2c OK [16:58:47]MH_I2C_Read... [16:58:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:58:48]Read from MH i2c: E2 [16:58:48]MH_I2C_Read... [16:58:48]Read from MH i2c: E2 62 00 [16:58:48]MH_I2C_Read... [16:58:48]Read from MH i2c: E2 62 00 7F 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C3 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [16:58:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C3 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:58:48]wFMCommunicate OK [16:58:48]SAM_PROTO_GetFieldsCounters done [16:58:48]requested_item shift.num is exist - process it [16:58:48]requested_item shift.opened is exist - process it [16:58:48]req_shift_opened [16:58:48]FM_GetShiftState [16:58:48]SAM_PROTO_GetShiftState [16:58:48]wFMCommunicate request_size=4 [16:58:48]MH_SAM_APDU [16:58:48]CAPDU: 80 13 01 00 [16:58:48]Write to MH i2c: E2 08 00 80 10 80 13 01 00 00 00 00 00 0D [16:58:48]Write i2c OK [16:58:48]MH_I2C_Read... [16:58:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:48]Read from MH i2c: E2 [16:58:48]MH_I2C_Read... [16:58:48]Read from MH i2c: E2 0E 00 [16:58:48]MH_I2C_Read... [16:58:48]Read from MH i2c: E2 0E 00 80 10 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 E1 [16:58:48]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [16:58:48]wFMCommunicate OK [16:58:48]SAM_PROTO_GetShiftState done [16:58:48]FM_GetShiftState done [16:58:48]req_shift_opened done [16:58:48]requested_item shift.open_date is exist - process it [16:58:48]req_shift_open_date [16:58:48]req_shift_open_date done [16:58:48]produce_requested_data done [16:58:48]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22211,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [16:58:48]process_action_free close_receipt [16:58:48]json_value_free [16:58:48]json_value_free done [16:58:48]process_json_proto returns [16:58:48]Send response to host [16:58:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22211,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [16:58:48]free response buf [16:58:48]execute_script done [16:58:48]execute_script returns [16:58:48]free content buf [16:58:48]Sock 9.Close socket [16:58:48]Sock 9.Thread stoped [16:58:52]OFD Sender: No OFD packet to send [16:58:57]OFD Sender: No OFD packet to send [16:59:02]OFD Sender: No OFD packet to send [16:59:07]OFD Sender: No OFD packet to send [16:59:12]OFD Sender: No OFD packet to send [16:59:17]OFD Sender: No OFD packet to send [16:59:22]OFD Sender: No OFD packet to send [16:59:27]OFD Sender: No OFD packet to send [16:59:32]OFD Sender: No OFD packet to send [16:59:37]OFD Sender: No OFD packet to send [16:59:42]OFD Sender: No OFD packet to send [16:59:47]OFD Sender: No OFD packet to send [16:59:52]OFD Sender: No OFD packet to send [16:59:57]OFD Sender: No OFD packet to send [17:00:02]OFD Sender: No OFD packet to send [17:00:07]OFD Sender: No OFD packet to send [17:00:12]OFD Sender: No OFD packet to send [17:00:17]OFD Sender: No OFD packet to send [17:00:22]OFD Sender: No OFD packet to send [17:00:27]OFD Sender: No OFD packet to send [17:00:32]OFD Sender: No OFD packet to send [17:00:37]OFD Sender: No OFD packet to send [17:00:42]OFD Sender: No OFD packet to send [17:00:47]OFD Sender: No OFD packet to send [17:00:52]OFD Sender: No OFD packet to send [17:00:57]OFD Sender: No OFD packet to send [17:01:02]OFD Sender: No OFD packet to send [17:01:07]OFD Sender: No OFD packet to send [17:01:12]OFD Sender: No OFD packet to send [17:01:17]OFD Sender: No OFD packet to send [17:01:22]OFD Sender: No OFD packet to send [17:01:27]OFD Sender: No OFD packet to send [17:01:32]OFD Sender: No OFD packet to send [17:01:37]OFD Sender: No OFD packet to send [17:01:42]OFD Sender: No OFD packet to send [17:01:47]OFD Sender: No OFD packet to send [17:01:52]OFD Sender: No OFD packet to send [17:01:57]OFD Sender: No OFD packet to send [17:02:02]OFD Sender: No OFD packet to send [17:02:07]OFD Sender: No OFD packet to send [17:02:12]OFD Sender: No OFD packet to send [17:02:17]OFD Sender: No OFD packet to send [17:02:22]OFD Sender: No OFD packet to send [17:02:27]OFD Sender: No OFD packet to send [17:02:32]OFD Sender: No OFD packet to send [17:02:37]OFD Sender: No OFD packet to send [17:02:42]OFD Sender: No OFD packet to send [17:02:47]OFD Sender: No OFD packet to send [17:02:52]OFD Sender: No OFD packet to send [17:02:57]OFD Sender: No OFD packet to send [17:03:02]OFD Sender: No OFD packet to send [17:03:07]OFD Sender: No OFD packet to send [17:03:12]OFD Sender: No OFD packet to send [17:03:17]OFD Sender: No OFD packet to send [17:03:22]OFD Sender: No OFD packet to send [17:03:27]OFD Sender: No OFD packet to send [17:03:32]OFD Sender: No OFD packet to send [17:03:37]OFD Sender: No OFD packet to send [17:03:42]OFD Sender: No OFD packet to send [17:03:47]OFD Sender: No OFD packet to send [17:03:52]OFD Sender: No OFD packet to send [17:03:57]OFD Sender: No OFD packet to send [17:04:02]OFD Sender: No OFD packet to send [17:04:07]OFD Sender: No OFD packet to send [17:04:12]OFD Sender: No OFD packet to send [17:04:17]OFD Sender: No OFD packet to send [17:04:22]OFD Sender: No OFD packet to send [17:04:27]OFD Sender: No OFD packet to send [17:04:32]OFD Sender: No OFD packet to send [17:04:37]OFD Sender: No OFD packet to send [17:04:42]OFD Sender: No OFD packet to send [17:04:47]OFD Sender: No OFD packet to send [17:04:52]OFD Sender: No OFD packet to send [17:04:57]OFD Sender: No OFD packet to send [17:05:02]OFD Sender: No OFD packet to send [17:05:07]OFD Sender: No OFD packet to send [17:05:12]OFD Sender: No OFD packet to send [17:05:17]OFD Sender: No OFD packet to send [17:05:22]OFD Sender: No OFD packet to send [17:05:27]OFD Sender: No OFD packet to send [17:05:32]OFD Sender: No OFD packet to send [17:05:37]OFD Sender: No OFD packet to send [17:05:42]OFD Sender: No OFD packet to send [17:05:47]OFD Sender: No OFD packet to send [17:05:52]OFD Sender: No OFD packet to send [17:05:57]OFD Sender: No OFD packet to send [17:06:02]OFD Sender: No OFD packet to send [17:06:07]OFD Sender: No OFD packet to send [17:06:12]OFD Sender: No OFD packet to send [17:06:17]OFD Sender: No OFD packet to send [17:06:22]OFD Sender: No OFD packet to send [17:06:27]OFD Sender: No OFD packet to send [17:06:32]OFD Sender: No OFD packet to send [17:06:37]OFD Sender: No OFD packet to send [17:06:42]OFD Sender: No OFD packet to send [17:06:47]OFD Sender: No OFD packet to send [17:06:52]OFD Sender: No OFD packet to send [17:06:57]OFD Sender: No OFD packet to send [17:07:02]OFD Sender: No OFD packet to send [17:07:07]OFD Sender: No OFD packet to send [17:07:12]OFD Sender: No OFD packet to send [17:07:17]OFD Sender: No OFD packet to send [17:07:22]OFD Sender: No OFD packet to send [17:07:27]OFD Sender: No OFD packet to send [17:07:32]OFD Sender: No OFD packet to send [17:07:37]OFD Sender: No OFD packet to send [17:07:42]OFD Sender: No OFD packet to send [17:07:47]OFD Sender: No OFD packet to send [17:07:52]OFD Sender: No OFD packet to send [17:07:57]OFD Sender: No OFD packet to send [17:08:02]OFD Sender: No OFD packet to send [17:08:07]OFD Sender: No OFD packet to send [17:08:12]OFD Sender: No OFD packet to send [17:08:17]OFD Sender: No OFD packet to send [17:08:22]OFD Sender: No OFD packet to send [17:08:27]OFD Sender: No OFD packet to send [17:08:32]OFD Sender: No OFD packet to send [17:08:37]OFD Sender: No OFD packet to send [17:08:42]OFD Sender: No OFD packet to send [17:08:47]OFD Sender: No OFD packet to send [17:08:52]OFD Sender: No OFD packet to send [17:08:57]OFD Sender: No OFD packet to send [17:09:02]OFD Sender: No OFD packet to send [17:09:07]OFD Sender: No OFD packet to send [17:09:12]OFD Sender: No OFD packet to send [17:09:17]OFD Sender: No OFD packet to send [17:09:22]OFD Sender: No OFD packet to send [17:09:27]OFD Sender: No OFD packet to send [17:09:32]OFD Sender: No OFD packet to send [17:09:37]OFD Sender: No OFD packet to send [17:09:42]OFD Sender: No OFD packet to send [17:09:47]OFD Sender: No OFD packet to send [17:09:52]OFD Sender: No OFD packet to send [17:09:57]OFD Sender: No OFD packet to send [17:10:02]OFD Sender: No OFD packet to send [17:10:07]OFD Sender: No OFD packet to send [17:10:12]OFD Sender: No OFD packet to send [17:10:17]OFD Sender: No OFD packet to send [17:10:22]OFD Sender: No OFD packet to send [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:33]OFD Sender: No OFD packet to send [17:20:38]OFD Sender: No OFD packet to send [17:20:43]OFD Sender: No OFD packet to send [17:20:48]OFD Sender: No OFD packet to send [17:20:53]OFD Sender: No OFD packet to send [17:20:58]OFD Sender: No OFD packet to send [17:21:03]OFD Sender: No OFD packet to send [17:21:08]OFD Sender: No OFD packet to send [17:21:13]OFD Sender: No OFD packet to send [17:21:18]OFD Sender: No OFD packet to send [17:21:23]OFD Sender: No OFD packet to send [17:21:28]OFD Sender: No OFD packet to send [17:21:33]OFD Sender: No OFD packet to send [17:21:38]OFD Sender: No OFD packet to send [17:21:43]OFD Sender: No OFD packet to send [17:21:48]OFD Sender: No OFD packet to send [17:21:53]OFD Sender: No OFD packet to send [17:21:58]OFD Sender: No OFD packet to send [17:22:03]OFD Sender: No OFD packet to send [17:22:08]OFD Sender: No OFD packet to send [17:22:13]OFD Sender: No OFD packet to send [17:22:18]OFD Sender: No OFD packet to send [17:22:23]OFD Sender: No OFD packet to send [17:22:28]OFD Sender: No OFD packet to send [17:22:33]OFD Sender: No OFD packet to send [17:22:38]OFD Sender: No OFD packet to send [17:22:43]OFD Sender: No OFD packet to send [17:22:48]OFD Sender: No OFD packet to send [17:22:53]OFD Sender: No OFD packet to send [17:22:58]OFD Sender: No OFD packet to send [17:23:03]OFD Sender: No OFD packet to send [17:23:08]OFD Sender: No OFD packet to send [17:23:13]OFD Sender: No OFD packet to send [17:23:18]OFD Sender: No OFD packet to send [17:23:23]OFD Sender: No OFD packet to send [17:23:28]OFD Sender: No OFD packet to send [17:23:33]OFD Sender: No OFD packet to send [17:23:38]OFD Sender: No OFD packet to send [17:23:43]OFD Sender: No OFD packet to send [17:23:48]OFD Sender: No OFD packet to send [17:23:53]OFD Sender: No OFD packet to send [17:23:58]OFD Sender: No OFD packet to send [17:24:03]OFD Sender: No OFD packet to send [17:24:08]OFD Sender: No OFD packet to send [17:24:13]OFD Sender: No OFD packet to send [17:24:18]OFD Sender: No OFD packet to send [17:24:23]OFD Sender: No OFD packet to send [17:24:23]accept exits with 8 [17:24:23]New connection [17:24:23]New thread 3066838372 created [17:24:23]Thread 3066695012 joined [17:24:23]Waiting for new connection... [17:24:23] Sock 8.Parse request [17:24:23]Sock 8.Check first char [17:24:23]Sock 8.First char is OK [17:24:23]request: POST /json_proto HTTP/1.0 [17:24:23]Method: POST [17:24:23]URL: /json_proto [17:24:23]Method is POST - this is cgi request [17:24:23]url: /json_proto [17:24:23]query_string will be loaded in cgi processing [17:24:23]execute_cgi json_proto POST (null) [17:24:23]execute_cgi path=json_proto method=POST [17:24:23]POST find Content-Length [17:24:23]Host: 172.17.35.133:8080 [17:24:23]Content-Length: 1112 [17:24:23]Content-Type: application/json [17:24:23] [17:24:23]POST finish read [17:24:23]Found Content-Length = 1112 [17:24:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254427", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 6.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46123428", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 525.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:24:23]execute_script... [17:24:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254427", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 6.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46123428", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 525.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:24:23]POST & json_proto [17:24:23]process_json_proto [17:24:23]json parsed OK: [17:24:23]protocol is kg_v1.0 [17:24:23]action value=close_receipt [17:24:23]process_action close_receipt [17:24:23]cmd_close_receipt [17:24:23]MH_GetDate [17:24:23]Write to MH i2c: F0 00 00 81 10 80 [17:24:23]Write i2c OK [17:24:23]MH_I2C_Read... [17:24:23]Read from MH i2c: F0 [17:24:23]MH_I2C_Read... [17:24:23]Read from MH i2c: F0 09 00 [17:24:23]MH_I2C_Read... [17:24:23]Read from MH i2c: F0 09 00 81 10 00 4B CE 6D 66 8C 55 28 65 E3 [17:24:23]GetLastDocTimeStamp 1718470727 [17:24:23]current date 1718472267 [17:24:23]FM_GetShiftState [17:24:23]SAM_PROTO_GetShiftState [17:24:23]wFMCommunicate request_size=4 [17:24:23]MH_SAM_APDU [17:24:23]CAPDU: 80 13 01 00 [17:24:23]Write to MH i2c: E2 08 00 82 10 80 13 01 00 00 00 00 00 0F [17:24:23]Write i2c OK [17:24:23]MH_I2C_Read... [17:24:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:24:23]Read from MH i2c: E2 [17:24:23]MH_I2C_Read... [17:24:23]Read from MH i2c: E2 0E 00 [17:24:23]MH_I2C_Read... [17:24:23]Read from MH i2c: E2 0E 00 82 10 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 E3 [17:24:23]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [17:24:23]wFMCommunicate OK [17:24:23]SAM_PROTO_GetShiftState done [17:24:23]FM_GetShiftState done [17:24:23]opened in 1718410776 [17:24:23]opened+sec_in_day 1718497176 [17:24:23]quantity*price = 24000 [17:24:23]sum+1 = 24001 [17:24:23]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46123428 Сигареты Mevius Wind Blue 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 525.00 НСП 1% : 4.64 НДС 12% : 55.75 Наличными: 525.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 57 15.06.2024 17:24 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22212 ФПД: 169185349477676 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T172427&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22212&fm=169185349477676&tin=02508201610067®Number=0000000000099755&sum=52500 0 [17:24:24]StoreToDocumentArchive [17:24:24]shift 326 fd 22212 [17:24:24]save to /storage/0326/doc_00022212 [17:24:24]save last doc name /storage/0326/doc_00022212 to /storage/kkm_last_doc_name [17:24:24]save OK [17:24:24]Clear old archive folders... [17:24:24]ProcessDocumentItem done err = 0, tmpTLVsize=477 [17:24:24]tlvbuf is 00201640 [17:24:24]SAM_PROTO_ClearQueue [17:24:24]wFMCommunicate request_size=4 [17:24:24]MH_SAM_APDU [17:24:24]CAPDU: 80 09 00 00 [17:24:24]Write to MH i2c: E2 08 00 8F 10 80 09 00 00 00 00 00 00 11 [17:24:24]Write i2c OK [17:24:24]MH_I2C_Read... [17:24:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:24:24]Read from MH i2c: E2 [17:24:24]MH_I2C_Read... [17:24:24]Read from MH i2c: E2 03 00 [17:24:24]MH_I2C_Read... [17:24:24]Read from MH i2c: E2 03 00 8F 10 00 90 00 13 [17:24:24]RAPDU: 90 00 [17:24:24]wFMCommunicate OK [17:24:24]SAM_PROTO_ClearQueue done [17:24:24]KKMCreateOFDPacket [17:24:24]OFDProtocolAddRootSTLVToBuf [17:24:24]FM_MakeSignedData [17:24:24]FM_MakeSignedData [17:24:24]SAM_PROTO_SignData [17:24:24]wFMCommunicate request_size=4 [17:24:24]MH_SAM_APDU [17:24:24]CAPDU: 80 0D 01 02 [17:24:24]Write to MH i2c: E2 08 00 90 10 80 0D 01 02 00 00 00 00 19 [17:24:24]Write i2c OK [17:24:24]MH_I2C_Read... [17:24:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:24:24]Read from MH i2c: E2 [17:24:24]MH_I2C_Read... [17:24:24]Read from MH i2c: E2 03 00 [17:24:24]MH_I2C_Read... [17:24:24]Read from MH i2c: E2 03 00 90 10 00 90 00 14 [17:24:24]RAPDU: 90 00 [17:24:24]wFMCommunicate OK [17:24:24]wFMCommunicate request_size=255 [17:24:24]MH_SAM_APDU [17:24:24]CAPDU: 80 0D 02 02 FA 03 00 DD 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 [17:24:25]Write to MH i2c: E2 02 01 91 10 80 0D 02 02 FA 00 03 00 DD 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 00 00 C8 [17:24:25]Write i2c OK [17:24:25]MH_I2C_Read... [17:24:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:25]Read from MH i2c: E2 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: E2 03 00 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: E2 03 00 91 10 00 90 00 15 [17:24:25]RAPDU: 90 00 [17:24:25]wFMCommunicate OK [17:24:25]wFMCommunicate request_size=236 [17:24:25]MH_SAM_APDU [17:24:25]CAPDU: 80 0D 02 02 E7 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 4B CE 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C4 56 00 00 35 04 06 00 99 DF 88 A8 25 2C [17:24:25]Write to MH i2c: E2 EF 00 92 10 80 0D 02 02 E7 00 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 4B CE 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C4 56 00 00 35 04 06 00 99 DF 88 A8 25 2C 00 00 0C [17:24:25]Write i2c OK [17:24:25]MH_I2C_Read... [17:24:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:25]Read from MH i2c: E2 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: E2 03 00 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: E2 03 00 92 10 00 90 00 16 [17:24:25]RAPDU: 90 00 [17:24:25]wFMCommunicate OK [17:24:25]wFMCommunicate request_size=4 [17:24:25]MH_SAM_APDU [17:24:25]CAPDU: 80 0D 03 02 [17:24:25]Write to MH i2c: E2 08 00 93 10 80 0D 03 02 00 00 00 00 1E [17:24:25]Write i2c OK [17:24:25]MH_I2C_Read... [17:24:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:24:25]Read from MH i2c: E2 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: E2 0B 00 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: E2 0B 00 93 10 00 10 33 47 6F CB 01 57 95 90 00 D0 [17:24:25]RAPDU: 10 33 47 6F CB 01 57 95 90 00 [17:24:25]wFMCommunicate OK [17:24:25]SAM_PROTO_SignData done [17:24:25]FM_MakeSignedData done [17:24:25]CreateOFDProtocolMessage [17:24:25]wFMCommunicate request_size=4 [17:24:25]MH_SAM_APDU [17:24:25]CAPDU: 80 11 00 00 [17:24:25]Write to MH i2c: E2 08 00 94 10 80 11 00 00 00 00 00 00 1E [17:24:25]Write i2c OK [17:24:25]MH_I2C_Read... [17:24:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:25]Read from MH i2c: E2 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: E2 17 00 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: E2 17 00 94 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 70 [17:24:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:24:25]wFMCommunicate OK [17:24:25]CreateOFDProtocolMessage done [17:24:25]OFDSenderStorePacket 22212 [17:24:25]StoreOFDPacket docnum=22212 [17:24:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 F1 01 00 00 F6 75 E9 01 52 F4 5A 03 01 00 03 00 DD 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 4B CE 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C4 56 00 00 35 04 06 00 99 DF 88 A8 25 2C 10 33 47 6F CB 01 57 95 [17:24:25]CheckFolder [17:24:25]dirname=/storage/ofd_packets [17:24:25]CheckFolder done [17:24:25]ProducePacketName [17:24:25]name=ofd_packets/00022212 [17:24:25]NVStorageSaveData ofd_packets/00022212 [17:24:25]File name is /storage/ofd_packets/00022212 [17:24:25]Write 527 bytes [17:24:25]NVStorageSaveData done [17:24:25]OFDSenderStorePacket done [17:24:25]KKMCreateOFDPacket done [17:24:25]NVStorageSaveData kkm_last_timestamp [17:24:25]File name is /storage/kkm_last_timestamp [17:24:25]Write 4 bytes [17:24:25]NVStorageSaveData done [17:24:25]ExternCall_PrintAddStr [17:24:25]wPrintStart [17:24:25]Write to MH i2c: 01 00 00 95 10 A5 [17:24:25]Write i2c OK [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: 01 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: 01 07 00 [17:24:25]MH_I2C_Read... [17:24:25]Read from MH i2c: 01 07 00 95 10 00 00 00 00 00 FF 0F BA [17:24:25]RasterBufferAndPrint [17:24:25]line Счет N : (3)254427 [17:24:25]line ИНН: 02508201610067 [17:24:25]line Контрольно-Кассовый Чек [17:24:25]line ПРОДАЖА [17:24:25]line Товар: 4700000160211 [17:24:25]line Вода Легенда 0,5л [17:24:25]line 6.000 * 40.00 [17:24:25]line = 240.00 [17:24:25]line НДС 12% НСП 1% [17:24:25]line > о реализуемом товаре [17:24:25]line Товар: 2000036230011 [17:24:25]line Кофе Латте XL(GABB TRADE) [17:24:25]line 1.000 * 130.00 [17:24:25]line = 130.00 [17:24:25]line НДС 12% НСП 1% [17:24:25]line > о реализуемом товаре [17:24:25]line Товар: 46123428 [17:24:25]line Сигареты Mevius Wind Blue [17:24:25]line 1.000 * 155.00 [17:24:25]line = 155.00 [17:24:25]line НДС 12% НСП 1% [17:24:25]line > о реализуемом товаре [17:24:25]line ИТОГО: 525.00 [17:24:25]line НСП 1% : 4.64 [17:24:25]line НДС 12% : 55.75 [17:24:25]line Наличными: 525.00 [17:24:25]line Безнал.: 0.00 [17:24:25]line Место: АЗС № 76 "Партнер Нефть" [17:24:25]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:24:25]line СНО: Общий режим [17:24:25]line Чек 57 15.06.2024 17:24 [17:24:25]line Смена: 326 ФФД: 1.0 [17:24:25]line ЗНМ: 0300000200 [17:24:25]line РНМ: 0000000000099755 [17:24:25]line Версия ККМ: 001 [17:24:25]line ФМ: 0000000000965344 [17:24:25]line ФД: 22212 [17:24:25]line ФПД: 169185349477676 [17:24:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T172427&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22212&fm=169185349477676&tin=02508201610067®Number=0000000000099755&sum=52500 [17:24:25]line 0 [17:24:25]written 0, free lines is 4095 [17:24:25]OFD Sender: Processing packet 22212 [packets to send 5, broken 4] [17:24:25]ProducePacketName [17:24:25]name=ofd_packets/00022212 [17:24:25]OFD Sender: To server: pG, [17:24:25]CommunicateWithHost lk.salyk.kg:30040 [17:24:25]ConnectInit lk.salyk.kg [17:24:25]Connected sock=10 [17:24:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 F1 01 00 00 F6 75 E9 01 52 F4 5A 03 01 00 03 00 DD 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 4B CE 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C4 56 00 00 35 04 06 00 99 DF 88 A8 25 2C 10 33 47 6F CB 01 57 95 [17:24:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 1F FE 47 00 2D 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C4 56 00 00 F4 03 04 00 08 77 6D 66 B6 04 01 00 00 48 0F 21 FC 0C EC 3F 77 [17:24:26]CommunicateWithHost err = 0 [17:24:26]CheckOFDResponse [17:24:26]1017 (14) - 77093643461234 [17:24:26]1041 (16) - 0000000000965344 [17:24:26]1040 (4) - 22212 [17:24:26]1012 (4) - 15.06.2024 11:12 [17:24:26]1206 (1) - 0 [17:24:26]OFD Sender: Remove packet 22212 [17:24:26]ProducePacketName [17:24:26]name=ofd_packets/00022212 [17:24:26]NVStorageDeleteData [17:24:26]Write to MH i2c: 01 00 00 C9 10 D9 [17:24:26]Write i2c OK [17:24:26]MH_I2C_Read... [17:24:26]Read from MH i2c: 01 [17:24:26]MH_I2C_Read... [17:24:26]Read from MH i2c: 01 07 00 [17:24:26]MH_I2C_Read... [17:24:26]Read from MH i2c: 01 07 00 C9 10 00 00 00 00 00 84 0C 70 [17:24:26]RasterBufferAndPrint [17:24:26]line [17:24:26]line [17:24:26]line [17:24:26]line [17:24:26]line [17:24:26]written 0, free lines is 3213 [17:24:26]MH_Cut [17:24:26]Write to MH i2c: D1 01 00 D0 10 01 B2 [17:24:26]Write i2c OK [17:24:26]MH_I2C_Read... [17:24:26]Read from MH i2c: D1 [17:24:26]MH_I2C_Read... [17:24:26]Read from MH i2c: D1 01 00 [17:24:26]MH_I2C_Read... [17:24:26]Read from MH i2c: D1 01 00 D0 10 00 B1 [17:24:26]Write to MH i2c: 01 00 00 D1 10 E1 [17:24:26]Write i2c OK [17:24:26]MH_I2C_Read... [17:24:26]OFD Sender: No OFD packet to send [17:24:27]*** Cut start [17:24:27]*** Partial cut [17:24:27]*** CUTSNS_PIN = 1 [17:24:27]*** CUTSNS_PIN = 0 [17:24:27]*** Brake cut motor [17:24:27]Read from MH i2c: 01 [17:24:27]MH_I2C_Read... [17:24:27]*** Stop cut motor [17:24:27]*** Cut end [17:24:27]Read from MH i2c: 01 07 00 [17:24:27]MH_I2C_Read... [17:24:27]Read from MH i2c: 01 07 00 D1 10 00 00 00 00 00 FF 0F F6 [17:24:27]process_action close_receipt done [17:24:27]requested_data is exist [17:24:27]produce_requested_data [17:24:27]requested_item fm.sn is exist - process it [17:24:27]wFMCommunicate request_size=4 [17:24:27]MH_SAM_APDU [17:24:27]CAPDU: 80 11 00 00 [17:24:27]Write to MH i2c: E2 08 00 D2 10 80 11 00 00 00 00 00 00 5C [17:24:27]Write i2c OK [17:24:27]MH_I2C_Read... [17:24:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:27]Read from MH i2c: E2 [17:24:27]MH_I2C_Read... [17:24:27]Read from MH i2c: E2 17 00 [17:24:27]MH_I2C_Read... [17:24:27]Read from MH i2c: E2 17 00 D2 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AE [17:24:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:24:27]wFMCommunicate OK [17:24:27]requested_item fd.num is exist - process it [17:24:27]SAM_PROTO_GetFieldsCounters [17:24:27]wFMCommunicate request_size=4 [17:24:27]MH_SAM_APDU [17:24:27]CAPDU: 80 13 00 00 [17:24:27]Write to MH i2c: E2 08 00 D3 10 80 13 00 00 00 00 00 00 5F [17:24:27]Write i2c OK [17:24:27]MH_I2C_Read... [17:24:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:24:27]Read from MH i2c: E2 [17:24:27]MH_I2C_Read... [17:24:27]Read from MH i2c: E2 62 00 [17:24:27]MH_I2C_Read... [17:24:27]Read from MH i2c: E2 62 00 D3 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C4 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [17:24:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C4 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:24:27]wFMCommunicate OK [17:24:27]SAM_PROTO_GetFieldsCounters done [17:24:27]requested_item shift.num is exist - process it [17:24:27]requested_item shift.opened is exist - process it [17:24:27]req_shift_opened [17:24:27]FM_GetShiftState [17:24:27]SAM_PROTO_GetShiftState [17:24:27]wFMCommunicate request_size=4 [17:24:27]MH_SAM_APDU [17:24:27]CAPDU: 80 13 01 00 [17:24:27]Write to MH i2c: E2 08 00 D4 10 80 13 01 00 00 00 00 00 61 [17:24:27]Write i2c OK [17:24:27]MH_I2C_Read... [17:24:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:24:27]Read from MH i2c: E2 [17:24:27]MH_I2C_Read... [17:24:27]Read from MH i2c: E2 0E 00 [17:24:27]MH_I2C_Read... [17:24:27]Read from MH i2c: E2 0E 00 D4 10 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 35 [17:24:27]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [17:24:27]wFMCommunicate OK [17:24:27]SAM_PROTO_GetShiftState done [17:24:27]FM_GetShiftState done [17:24:27]req_shift_opened done [17:24:27]requested_item shift.open_date is exist - process it [17:24:27]req_shift_open_date [17:24:27]req_shift_open_date done [17:24:27]produce_requested_data done [17:24:27]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22212,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [17:24:27]process_action_free close_receipt [17:24:27]json_value_free [17:24:27]json_value_free done [17:24:27]process_json_proto returns [17:24:27]Send response to host [17:24:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22212,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [17:24:27]free response buf [17:24:27]execute_script done [17:24:27]execute_script returns [17:24:27]free content buf [17:24:27]Sock 8.Close socket [17:24:27]Sock 8.Thread stoped [17:24:31]OFD Sender: No OFD packet to send [17:24:36]OFD Sender: No OFD packet to send [17:24:41]OFD Sender: No OFD packet to send [17:24:46]OFD Sender: No OFD packet to send [17:24:51]OFD Sender: No OFD packet to send [17:24:56]OFD Sender: No OFD packet to send [17:25:01]OFD Sender: No OFD packet to send [17:25:06]OFD Sender: No OFD packet to send [17:25:11]OFD Sender: No OFD packet to send [17:25:16]OFD Sender: No OFD packet to send [17:25:21]OFD Sender: No OFD packet to send [17:25:26]OFD Sender: No OFD packet to send [17:25:31]OFD Sender: No OFD packet to send [17:25:36]OFD Sender: No OFD packet to send [17:25:41]OFD Sender: No OFD packet to send [17:25:46]OFD Sender: No OFD packet to send [17:25:51]OFD Sender: No OFD packet to send [17:25:56]OFD Sender: No OFD packet to send [17:26:01]OFD Sender: No OFD packet to send [17:26:06]OFD Sender: No OFD packet to send [17:26:11]OFD Sender: No OFD packet to send [17:26:16]OFD Sender: No OFD packet to send [17:26:21]OFD Sender: No OFD packet to send [17:26:26]OFD Sender: No OFD packet to send [17:26:31]OFD Sender: No OFD packet to send [17:26:36]OFD Sender: No OFD packet to send [17:26:41]OFD Sender: No OFD packet to send [17:26:46]OFD Sender: No OFD packet to send [17:26:51]OFD Sender: No OFD packet to send [17:26:56]OFD Sender: No OFD packet to send [17:27:01]OFD Sender: No OFD packet to send [17:27:06]OFD Sender: No OFD packet to send [17:27:11]OFD Sender: No OFD packet to send [17:27:16]OFD Sender: No OFD packet to send [17:27:21]OFD Sender: No OFD packet to send [17:27:26]OFD Sender: No OFD packet to send [17:27:31]OFD Sender: No OFD packet to send [17:27:36]OFD Sender: No OFD packet to send [17:27:41]OFD Sender: No OFD packet to send [17:27:46]OFD Sender: No OFD packet to send [17:27:51]OFD Sender: No OFD packet to send [17:27:56]OFD Sender: No OFD packet to send [17:28:01]OFD Sender: No OFD packet to send [17:28:06]OFD Sender: No OFD packet to send [17:28:11]OFD Sender: No OFD packet to send [17:28:16]OFD Sender: No OFD packet to send [17:28:21]OFD Sender: No OFD packet to send [17:28:26]OFD Sender: No OFD packet to send [17:28:31]OFD Sender: No OFD packet to send [17:28:36]OFD Sender: No OFD packet to send [17:28:41]OFD Sender: No OFD packet to send [17:28:46]OFD Sender: No OFD packet to send [17:28:51]OFD Sender: No OFD packet to send [17:28:56]OFD Sender: No OFD packet to send [17:29:01]OFD Sender: No OFD packet to send [17:29:06]OFD Sender: No OFD packet to send [17:29:11]OFD Sender: No OFD packet to send [17:29:16]OFD Sender: No OFD packet to send [17:29:21]OFD Sender: No OFD packet to send [17:29:26]OFD Sender: No OFD packet to send [17:29:31]OFD Sender: No OFD packet to send [17:29:36]OFD Sender: No OFD packet to send [17:29:41]OFD Sender: No OFD packet to send [17:29:46]OFD Sender: No OFD packet to send [17:29:51]OFD Sender: No OFD packet to send [17:29:56]OFD Sender: No OFD packet to send [17:30:01]OFD Sender: No OFD packet to send [17:30:06]OFD Sender: No OFD packet to send [17:30:11]OFD Sender: No OFD packet to send [17:30:16]OFD Sender: No OFD packet to send [17:30:21]OFD Sender: No OFD packet to send [17:30:26]OFD Sender: No OFD packet to send [17:30:31]OFD Sender: No OFD packet to send [17:30:36]OFD Sender: No OFD packet to send [17:30:41]OFD Sender: No OFD packet to send [17:30:46]OFD Sender: No OFD packet to send [17:30:51]OFD Sender: No OFD packet to send [17:30:56]OFD Sender: No OFD packet to send [17:31:01]OFD Sender: No OFD packet to send [17:31:06]OFD Sender: No OFD packet to send [17:31:11]OFD Sender: No OFD packet to send [17:31:16]OFD Sender: No OFD packet to send [17:31:21]OFD Sender: No OFD packet to send [17:31:26]OFD Sender: No OFD packet to send [17:31:31]OFD Sender: No OFD packet to send [17:31:36]OFD Sender: No OFD packet to send [17:31:41]OFD Sender: No OFD packet to send [17:31:46]OFD Sender: No OFD packet to send [17:31:51]OFD Sender: No OFD packet to send [17:31:56]OFD Sender: No OFD packet to send [17:32:01]OFD Sender: No OFD packet to send [17:32:06]OFD Sender: No OFD packet to send [17:32:11]OFD Sender: No OFD packet to send [17:32:16]OFD Sender: No OFD packet to send [17:32:21]OFD Sender: No OFD packet to send [17:32:26]OFD Sender: No OFD packet to send [17:32:31]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:17]OFD Sender: No OFD packet to send [17:34:22]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:32]OFD Sender: No OFD packet to send [17:34:37]OFD Sender: No OFD packet to send [17:34:42]OFD Sender: No OFD packet to send [17:34:47]OFD Sender: No OFD packet to send [17:34:52]OFD Sender: No OFD packet to send [17:34:57]OFD Sender: No OFD packet to send [17:35:02]OFD Sender: No OFD packet to send [17:35:07]OFD Sender: No OFD packet to send [17:35:12]OFD Sender: No OFD packet to send [17:35:17]OFD Sender: No OFD packet to send [17:35:22]OFD Sender: No OFD packet to send [17:35:27]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]OFD Sender: No OFD packet to send [17:36:52]OFD Sender: No OFD packet to send [17:36:57]OFD Sender: No OFD packet to send [17:37:02]OFD Sender: No OFD packet to send [17:37:07]OFD Sender: No OFD packet to send [17:37:12]OFD Sender: No OFD packet to send [17:37:17]OFD Sender: No OFD packet to send [17:37:22]OFD Sender: No OFD packet to send [17:37:27]OFD Sender: No OFD packet to send [17:37:32]OFD Sender: No OFD packet to send [17:37:37]OFD Sender: No OFD packet to send [17:37:42]OFD Sender: No OFD packet to send [17:37:47]OFD Sender: No OFD packet to send [17:37:52]OFD Sender: No OFD packet to send [17:37:57]OFD Sender: No OFD packet to send [17:38:02]OFD Sender: No OFD packet to send [17:38:07]OFD Sender: No OFD packet to send [17:38:12]OFD Sender: No OFD packet to send [17:38:17]OFD Sender: No OFD packet to send [17:38:22]OFD Sender: No OFD packet to send [17:38:27]OFD Sender: No OFD packet to send [17:38:32]OFD Sender: No OFD packet to send [17:38:37]OFD Sender: No OFD packet to send [17:38:42]OFD Sender: No OFD packet to send [17:38:47]OFD Sender: No OFD packet to send [17:38:52]OFD Sender: No OFD packet to send [17:38:57]OFD Sender: No OFD packet to send [17:39:02]OFD Sender: No OFD packet to send [17:39:07]OFD Sender: No OFD packet to send [17:39:12]OFD Sender: No OFD packet to send [17:39:17]OFD Sender: No OFD packet to send [17:39:22]OFD Sender: No OFD packet to send [17:39:27]OFD Sender: No OFD packet to send [17:39:32]OFD Sender: No OFD packet to send [17:39:37]OFD Sender: No OFD packet to send [17:39:42]OFD Sender: No OFD packet to send [17:39:47]OFD Sender: No OFD packet to send [17:39:52]OFD Sender: No OFD packet to send [17:39:57]OFD Sender: No OFD packet to send [17:40:02]OFD Sender: No OFD packet to send [17:40:07]OFD Sender: No OFD packet to send [17:40:12]OFD Sender: No OFD packet to send [17:40:17]OFD Sender: No OFD packet to send [17:40:22]OFD Sender: No OFD packet to send [17:40:27]OFD Sender: No OFD packet to send [17:40:32]OFD Sender: No OFD packet to send [17:40:37]OFD Sender: No OFD packet to send [17:40:42]OFD Sender: No OFD packet to send [17:40:47]OFD Sender: No OFD packet to send [17:40:52]OFD Sender: No OFD packet to send [17:40:57]OFD Sender: No OFD packet to send [17:41:02]OFD Sender: No OFD packet to send [17:41:07]OFD Sender: No OFD packet to send [17:41:12]OFD Sender: No OFD packet to send [17:41:17]OFD Sender: No OFD packet to send [17:41:22]OFD Sender: No OFD packet to send [17:41:27]OFD Sender: No OFD packet to send [17:41:32]OFD Sender: No OFD packet to send [17:41:37]OFD Sender: No OFD packet to send [17:41:42]OFD Sender: No OFD packet to send [17:41:47]OFD Sender: No OFD packet to send [17:41:52]OFD Sender: No OFD packet to send [17:41:57]OFD Sender: No OFD packet to send [17:42:02]OFD Sender: No OFD packet to send [17:42:07]OFD Sender: No OFD packet to send [17:42:12]OFD Sender: No OFD packet to send [17:42:17]OFD Sender: No OFD packet to send [17:42:22]OFD Sender: No OFD packet to send [17:42:27]OFD Sender: No OFD packet to send [17:42:32]OFD Sender: No OFD packet to send [17:42:37]OFD Sender: No OFD packet to send [17:42:42]OFD Sender: No OFD packet to send [17:42:47]OFD Sender: No OFD packet to send [17:42:52]OFD Sender: No OFD packet to send [17:42:57]OFD Sender: No OFD packet to send [17:43:02]OFD Sender: No OFD packet to send [17:43:07]OFD Sender: No OFD packet to send [17:43:12]OFD Sender: No OFD packet to send [17:43:17]OFD Sender: No OFD packet to send [17:43:22]OFD Sender: No OFD packet to send [17:43:27]OFD Sender: No OFD packet to send [17:43:32]OFD Sender: No OFD packet to send [17:43:37]OFD Sender: No OFD packet to send [17:43:42]OFD Sender: No OFD packet to send [17:43:47]OFD Sender: No OFD packet to send [17:43:52]OFD Sender: No OFD packet to send [17:43:57]OFD Sender: No OFD packet to send [17:44:02]OFD Sender: No OFD packet to send [17:44:07]OFD Sender: No OFD packet to send [17:44:12]OFD Sender: No OFD packet to send [17:44:17]OFD Sender: No OFD packet to send [17:44:22]OFD Sender: No OFD packet to send [17:44:27]OFD Sender: No OFD packet to send [17:44:32]OFD Sender: No OFD packet to send [17:44:37]OFD Sender: No OFD packet to send [17:44:42]OFD Sender: No OFD packet to send [17:44:47]OFD Sender: No OFD packet to send [17:44:52]OFD Sender: No OFD packet to send [17:44:57]OFD Sender: No OFD packet to send [17:45:02]OFD Sender: No OFD packet to send [17:45:07]OFD Sender: No OFD packet to send [17:45:12]OFD Sender: No OFD packet to send [17:45:17]OFD Sender: No OFD packet to send [17:45:22]OFD Sender: No OFD packet to send [17:45:27]OFD Sender: No OFD packet to send [17:45:32]OFD Sender: No OFD packet to send [17:45:37]OFD Sender: No OFD packet to send [17:45:42]OFD Sender: No OFD packet to send [17:45:47]OFD Sender: No OFD packet to send [17:45:52]OFD Sender: No OFD packet to send [17:45:57]OFD Sender: No OFD packet to send [17:46:02]OFD Sender: No OFD packet to send [17:46:07]OFD Sender: No OFD packet to send [17:46:12]OFD Sender: No OFD packet to send [17:46:17]accept exits with 9 [17:46:17]New connection [17:46:17]New thread 3066695012 created [17:46:17]Thread 3066838372 joined [17:46:17]Waiting for new connection... [17:46:17] Sock 9.Parse request [17:46:17]Sock 9.Check first char [17:46:17]Sock 9.First char is OK [17:46:17]request: POST /json_proto HTTP/1.0 [17:46:17]Method: POST [17:46:17]URL: /json_proto [17:46:17]Method is POST - this is cgi request [17:46:17]url: /json_proto [17:46:17]query_string will be loaded in cgi processing [17:46:17]execute_cgi json_proto POST (null) [17:46:17]execute_cgi path=json_proto method=POST [17:46:17]POST find Content-Length [17:46:17]Host: 172.17.35.133:8080 [17:46:17]Content-Length: 1222 [17:46:17]Content-Type: application/json [17:46:17] [17:46:17]POST finish read [17:46:17]Found Content-Length = 1222 [17:46:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254429", "tax_sys" : 0, "items" : [ { "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:46:17]execute_script... [17:46:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254429", "tax_sys" : 0, "items" : [ { "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:46:17]POST & json_proto [17:46:17]process_json_proto [17:46:17]json parsed OK: [17:46:17]protocol is kg_v1.0 [17:46:17]action value=close_receipt [17:46:17]process_action close_receipt [17:46:17]cmd_close_receipt [17:46:17]MH_GetDate [17:46:17]Write to MH i2c: F0 00 00 D5 10 D4 [17:46:17]Write i2c OK [17:46:17]MH_I2C_Read... [17:46:17]Read from MH i2c: F0 [17:46:17]MH_I2C_Read... [17:46:17]Read from MH i2c: F0 09 00 [17:46:17]MH_I2C_Read... [17:46:17]Read from MH i2c: F0 09 00 D5 10 00 6D D3 6D 66 8C 55 28 65 5E [17:46:17]GetLastDocTimeStamp 1718472267 [17:46:17]current date 1718473581 [17:46:17]FM_GetShiftState [17:46:17]SAM_PROTO_GetShiftState [17:46:17]wFMCommunicate request_size=4 [17:46:17]MH_SAM_APDU [17:46:17]CAPDU: 80 13 01 00 [17:46:17]Write to MH i2c: E2 08 00 D6 10 80 13 01 00 00 00 00 00 63 [17:46:17]Write i2c OK [17:46:17]MH_I2C_Read... [17:46:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:46:17]Read from MH i2c: E2 [17:46:17]MH_I2C_Read... [17:46:17]Read from MH i2c: E2 0E 00 [17:46:17]MH_I2C_Read... [17:46:17]Read from MH i2c: E2 0E 00 D6 10 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 37 [17:46:17]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [17:46:17]wFMCommunicate OK [17:46:17]SAM_PROTO_GetShiftState done [17:46:17]FM_GetShiftState done [17:46:17]opened in 1718410776 [17:46:17]opened+sec_in_day 1718497176 [17:46:17]quantity*price = 6500 [17:46:17]sum+1 = 6501 [17:46:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112003956 Шок батончик ALBENI SUPER Альбени Супер 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.23 НДС 12% : 14.86 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 58 15.06.2024 17:46 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22213 ФПД: 219058796900157 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T174621&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22213&fm=219058796900157&tin=02508201610067®Number=0000000000099755&sum=14000 0 [17:46:18]StoreToDocumentArchive [17:46:18]shift 326 fd 22213 [17:46:18]save to /storage/0326/doc_00022213 [17:46:18]save last doc name /storage/0326/doc_00022213 to /storage/kkm_last_doc_name [17:46:18]save OK [17:46:18]Clear old archive folders... [17:46:18]ProcessDocumentItem done err = 0, tmpTLVsize=431 [17:46:18]tlvbuf is 001BC2E0 [17:46:18]SAM_PROTO_ClearQueue [17:46:18]wFMCommunicate request_size=4 [17:46:18]MH_SAM_APDU [17:46:18]CAPDU: 80 09 00 00 [17:46:18]Write to MH i2c: E2 08 00 E3 10 80 09 00 00 00 00 00 00 65 [17:46:18]Write i2c OK [17:46:18]MH_I2C_Read... [17:46:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:46:18]Read from MH i2c: E2 [17:46:18]MH_I2C_Read... [17:46:18]Read from MH i2c: E2 03 00 [17:46:18]MH_I2C_Read... [17:46:18]Read from MH i2c: E2 03 00 E3 10 00 90 00 67 [17:46:18]RAPDU: 90 00 [17:46:18]wFMCommunicate OK [17:46:18]SAM_PROTO_ClearQueue done [17:46:18]KKMCreateOFDPacket [17:46:18]OFDProtocolAddRootSTLVToBuf [17:46:18]FM_MakeSignedData [17:46:18]FM_MakeSignedData [17:46:18]SAM_PROTO_SignData [17:46:18]wFMCommunicate request_size=4 [17:46:18]MH_SAM_APDU [17:46:18]CAPDU: 80 0D 01 02 [17:46:18]Write to MH i2c: E2 08 00 E4 10 80 0D 01 02 00 00 00 00 6D [17:46:18]Write i2c OK [17:46:18]MH_I2C_Read... [17:46:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:46:18]Read from MH i2c: E2 [17:46:18]MH_I2C_Read... [17:46:18]Read from MH i2c: E2 03 00 [17:46:18]MH_I2C_Read... [17:46:18]Read from MH i2c: E2 03 00 E4 10 00 90 00 68 [17:46:18]RAPDU: 90 00 [17:46:18]wFMCommunicate OK [17:46:18]wFMCommunicate request_size=255 [17:46:18]MH_SAM_APDU [17:46:18]CAPDU: 80 0D 02 02 FA 03 00 AF 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C [17:46:18]Write to MH i2c: E2 02 01 E5 10 80 0D 02 02 FA 00 03 00 AF 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 00 00 EF [17:46:18]Write i2c OK [17:46:18]MH_I2C_Read... [17:46:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:18]Read from MH i2c: E2 [17:46:18]MH_I2C_Read... [17:46:18]Read from MH i2c: E2 03 00 [17:46:18]MH_I2C_Read... [17:46:18]Read from MH i2c: E2 03 00 E5 10 00 90 00 69 [17:46:18]RAPDU: 90 00 [17:46:18]wFMCommunicate OK [17:46:18]wFMCommunicate request_size=190 [17:46:18]MH_SAM_APDU [17:46:18]CAPDU: 80 0D 02 02 B9 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 6D D3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C5 56 00 00 35 04 06 00 C7 3B 99 C6 2F 3D [17:46:19]Write to MH i2c: E2 C1 00 E6 10 80 0D 02 02 B9 00 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 6D D3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C5 56 00 00 35 04 06 00 C7 3B 99 C6 2F 3D 00 00 94 [17:46:19]Write i2c OK [17:46:19]MH_I2C_Read... [17:46:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:19]Read from MH i2c: E2 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: E2 03 00 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: E2 03 00 E6 10 00 90 00 6A [17:46:19]RAPDU: 90 00 [17:46:19]wFMCommunicate OK [17:46:19]wFMCommunicate request_size=4 [17:46:19]MH_SAM_APDU [17:46:19]CAPDU: 80 0D 03 02 [17:46:19]Write to MH i2c: E2 08 00 E7 10 80 0D 03 02 00 00 00 00 72 [17:46:19]Write i2c OK [17:46:19]MH_I2C_Read... [17:46:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:46:19]Read from MH i2c: E2 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: E2 0B 00 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: E2 0B 00 E7 10 00 19 5E 04 06 BB D5 B4 50 90 00 88 [17:46:19]RAPDU: 19 5E 04 06 BB D5 B4 50 90 00 [17:46:19]wFMCommunicate OK [17:46:19]SAM_PROTO_SignData done [17:46:19]FM_MakeSignedData done [17:46:19]CreateOFDProtocolMessage [17:46:19]wFMCommunicate request_size=4 [17:46:19]MH_SAM_APDU [17:46:19]CAPDU: 80 11 00 00 [17:46:19]Write to MH i2c: E2 08 00 E8 10 80 11 00 00 00 00 00 00 72 [17:46:19]Write i2c OK [17:46:19]MH_I2C_Read... [17:46:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:46:19]Read from MH i2c: E2 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: E2 17 00 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: E2 17 00 E8 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C4 [17:46:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:46:19]wFMCommunicate OK [17:46:19]CreateOFDProtocolMessage done [17:46:19]OFDSenderStorePacket 22213 [17:46:19]StoreOFDPacket docnum=22213 [17:46:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 C3 01 00 00 EB 53 BB 01 D2 B5 5A 03 01 00 03 00 AF 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 6D D3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C5 56 00 00 35 04 06 00 C7 3B 99 C6 2F 3D 19 5E 04 06 BB D5 B4 50 [17:46:19]CheckFolder [17:46:19]dirname=/storage/ofd_packets [17:46:19]CheckFolder done [17:46:19]ProducePacketName [17:46:19]name=ofd_packets/00022213 [17:46:19]NVStorageSaveData ofd_packets/00022213 [17:46:19]File name is /storage/ofd_packets/00022213 [17:46:19]Write 481 bytes [17:46:19]NVStorageSaveData done [17:46:19]OFDSenderStorePacket done [17:46:19]KKMCreateOFDPacket done [17:46:19]NVStorageSaveData kkm_last_timestamp [17:46:19]File name is /storage/kkm_last_timestamp [17:46:19]Write 4 bytes [17:46:19]NVStorageSaveData done [17:46:19]ExternCall_PrintAddStr [17:46:19]wPrintStart [17:46:19]Write to MH i2c: 01 00 00 E9 10 F9 [17:46:19]Write i2c OK [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: 01 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: 01 07 00 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: 01 07 00 E9 10 00 00 00 00 00 FF 0F 0E [17:46:19]RasterBufferAndPrint [17:46:19]line Счет N : (3)254429 [17:46:19]line ИНН: 02508201610067 [17:46:19]line Контрольно-Кассовый Чек [17:46:19]line ПРОДАЖА [17:46:19]line Товар: 4870001571535 [17:46:19]line Вода ASU пит н.газ персик ПЭТ 0,5л [17:46:19]line 1.000 * 65.00 [17:46:19]line = 65.00 [17:46:19]line НДС 12% НСП 1% [17:46:19]line > о реализуемом товаре [17:46:19]line Товар: 4870112003956 [17:46:19]line Шок батончик ALBENI SUPER Альбени Супер [17:46:19]line 1.000 * 75.00 [17:46:19]line = 75.00 [17:46:19]line НДС 12% НСП 1% [17:46:19]line > о реализуемом товаре [17:46:19]line ИТОГО: 140.00 [17:46:19]line НСП 1% : 1.23 [17:46:19]line НДС 12% : 14.86 [17:46:19]line Наличными: 0.00 [17:46:19]line Безнал.: 140.00 [17:46:19]line Место: АЗС № 76 "Партнер Нефть" [17:46:19]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:46:19]line СНО: Общий режим [17:46:19]line Чек 58 15.06.2024 17:46 [17:46:19]line Смена: 326 ФФД: 1.0 [17:46:19]line ЗНМ: 0300000200 [17:46:19]line РНМ: 0000000000099755 [17:46:19]line Версия ККМ: 001 [17:46:19]line Платежная система: АКБ Кыргызстан [17:46:19]line ФМ: 0000000000965344 [17:46:19]line ФД: 22213 [17:46:19]line ФПД: 219058796900157 [17:46:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T174621&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22213&fm=219058796900157&tin=02508201610067®Number=0000000000099755&sum=14000 [17:46:19]line 0 [17:46:19]written 0, free lines is 4095 [17:46:19]OFD Sender: Processing packet 22213 [packets to send 5, broken 4] [17:46:19]ProducePacketName [17:46:19]name=ofd_packets/00022213 [17:46:19]OFD Sender: To server: pG, [17:46:19]CommunicateWithHost lk.salyk.kg:30040 [17:46:19]ConnectInit lk.salyk.kg [17:46:19]Connected sock=10 [17:46:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 C3 01 00 00 EB 53 BB 01 D2 B5 5A 03 01 00 03 00 AF 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 6D D3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C5 56 00 00 35 04 06 00 C7 3B 99 C6 2F 3D 19 5E 04 06 BB D5 B4 50 [17:46:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 AA C0 47 00 20 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C5 56 00 00 F4 03 04 00 2A 7C 6D 66 B6 04 01 00 00 B9 2E 3A EC C3 AC 14 A3 [17:46:19]CommunicateWithHost err = 0 [17:46:19]CheckOFDResponse [17:46:19]1017 (14) - 77093643461234 [17:46:19]1041 (16) - 0000000000965344 [17:46:19]1040 (4) - 22213 [17:46:19]1012 (4) - 15.06.2024 11:34 [17:46:19]1206 (1) - 0 [17:46:19]OFD Sender: Remove packet 22213 [17:46:19]ProducePacketName [17:46:19]name=ofd_packets/00022213 [17:46:19]NVStorageDeleteData [17:46:19]Write to MH i2c: 01 00 00 1B 11 2C [17:46:19]Write i2c OK [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: 01 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: 01 07 00 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: 01 07 00 1B 11 00 00 00 00 00 96 0C D5 [17:46:19]RasterBufferAndPrint [17:46:19]line [17:46:19]line [17:46:19]line [17:46:19]line [17:46:19]line [17:46:19]written 0, free lines is 3229 [17:46:19]MH_Cut [17:46:19]Write to MH i2c: D1 01 00 22 11 01 05 [17:46:19]Write i2c OK [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: D1 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: D1 01 00 [17:46:19]MH_I2C_Read... [17:46:19]Read from MH i2c: D1 01 00 22 11 00 04 [17:46:19]Write to MH i2c: 01 00 00 23 11 34 [17:46:19]Write i2c OK [17:46:19]MH_I2C_Read... [17:46:20]OFD Sender: No OFD packet to send [17:46:20]*** Cut start [17:46:20]*** Partial cut [17:46:20]*** CUTSNS_PIN = 1 [17:46:20]*** CUTSNS_PIN = 0 [17:46:20]*** Brake cut motor [17:46:21]Read from MH i2c: 01 [17:46:21]MH_I2C_Read... [17:46:21]*** Stop cut motor [17:46:21]*** Cut end [17:46:21]Read from MH i2c: 01 07 00 [17:46:21]MH_I2C_Read... [17:46:21]Read from MH i2c: 01 07 00 23 11 00 00 00 00 00 FF 0F 49 [17:46:21]process_action close_receipt done [17:46:21]requested_data is exist [17:46:21]produce_requested_data [17:46:21]requested_item fm.sn is exist - process it [17:46:21]wFMCommunicate request_size=4 [17:46:21]MH_SAM_APDU [17:46:21]CAPDU: 80 11 00 00 [17:46:21]Write to MH i2c: E2 08 00 24 11 80 11 00 00 00 00 00 00 AF [17:46:21]Write i2c OK [17:46:21]MH_I2C_Read... [17:46:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:46:21]Read from MH i2c: E2 [17:46:21]MH_I2C_Read... [17:46:21]Read from MH i2c: E2 17 00 [17:46:21]MH_I2C_Read... [17:46:21]Read from MH i2c: E2 17 00 24 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 01 [17:46:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:46:21]wFMCommunicate OK [17:46:21]requested_item fd.num is exist - process it [17:46:21]SAM_PROTO_GetFieldsCounters [17:46:21]wFMCommunicate request_size=4 [17:46:21]MH_SAM_APDU [17:46:21]CAPDU: 80 13 00 00 [17:46:21]Write to MH i2c: E2 08 00 25 11 80 13 00 00 00 00 00 00 B2 [17:46:21]Write i2c OK [17:46:21]MH_I2C_Read... [17:46:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:46:21]Read from MH i2c: E2 [17:46:21]MH_I2C_Read... [17:46:21]Read from MH i2c: E2 62 00 [17:46:21]MH_I2C_Read... [17:46:21]Read from MH i2c: E2 62 00 25 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C5 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [17:46:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C5 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:46:21]wFMCommunicate OK [17:46:21]SAM_PROTO_GetFieldsCounters done [17:46:21]requested_item shift.num is exist - process it [17:46:21]requested_item shift.opened is exist - process it [17:46:21]req_shift_opened [17:46:21]FM_GetShiftState [17:46:21]SAM_PROTO_GetShiftState [17:46:21]wFMCommunicate request_size=4 [17:46:21]MH_SAM_APDU [17:46:21]CAPDU: 80 13 01 00 [17:46:21]Write to MH i2c: E2 08 00 26 11 80 13 01 00 00 00 00 00 B4 [17:46:21]Write i2c OK [17:46:21]MH_I2C_Read... [17:46:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:46:21]Read from MH i2c: E2 [17:46:21]MH_I2C_Read... [17:46:21]Read from MH i2c: E2 0E 00 [17:46:21]MH_I2C_Read... [17:46:21]Read from MH i2c: E2 0E 00 26 11 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 88 [17:46:21]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [17:46:21]wFMCommunicate OK [17:46:21]SAM_PROTO_GetShiftState done [17:46:21]FM_GetShiftState done [17:46:21]req_shift_opened done [17:46:21]requested_item shift.open_date is exist - process it [17:46:21]req_shift_open_date [17:46:21]req_shift_open_date done [17:46:21]produce_requested_data done [17:46:21]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22213,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [17:46:21]process_action_free close_receipt [17:46:21]json_value_free [17:46:21]json_value_free done [17:46:21]process_json_proto returns [17:46:21]Send response to host [17:46:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22213,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [17:46:21]free response buf [17:46:21]execute_script done [17:46:21]execute_script returns [17:46:21]free content buf [17:46:21]Sock 9.Close socket [17:46:21]Sock 9.Thread stoped [17:46:25]OFD Sender: No OFD packet to send [17:46:30]OFD Sender: No OFD packet to send [17:46:35]OFD Sender: No OFD packet to send [17:46:40]OFD Sender: No OFD packet to send [17:46:45]OFD Sender: No OFD packet to send [17:46:50]OFD Sender: No OFD packet to send [17:46:55]OFD Sender: No OFD packet to send [17:47:00]OFD Sender: No OFD packet to send [17:47:05]OFD Sender: No OFD packet to send [17:47:10]OFD Sender: No OFD packet to send [17:47:15]OFD Sender: No OFD packet to send [17:47:20]OFD Sender: No OFD packet to send [17:47:25]OFD Sender: No OFD packet to send [17:47:30]OFD Sender: No OFD packet to send [17:47:35]OFD Sender: No OFD packet to send [17:47:40]OFD Sender: No OFD packet to send [17:47:45]OFD Sender: No OFD packet to send [17:47:50]OFD Sender: No OFD packet to send [17:47:55]OFD Sender: No OFD packet to send [17:48:00]OFD Sender: No OFD packet to send [17:48:05]OFD Sender: No OFD packet to send [17:48:10]OFD Sender: No OFD packet to send [17:48:15]OFD Sender: No OFD packet to send [17:48:20]OFD Sender: No OFD packet to send [17:48:25]OFD Sender: No OFD packet to send [17:48:30]OFD Sender: No OFD packet to send [17:48:35]OFD Sender: No OFD packet to send [17:48:40]OFD Sender: No OFD packet to send [17:48:45]OFD Sender: No OFD packet to send [17:48:50]OFD Sender: No OFD packet to send [17:48:55]OFD Sender: No OFD packet to send [17:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:43]accept exits with 8 [17:49:43]New connection [17:49:43]New thread 3066838372 created [17:49:43]Thread 3066695012 joined [17:49:43]Waiting for new connection... [17:49:43] Sock 8.Parse request [17:49:43]Sock 8.Check first char [17:49:43]Sock 8.First char is OK [17:49:43]request: POST /json_proto HTTP/1.0 [17:49:43]Method: POST [17:49:43]URL: /json_proto [17:49:43]Method is POST - this is cgi request [17:49:43]url: /json_proto [17:49:43]query_string will be loaded in cgi processing [17:49:43]execute_cgi json_proto POST (null) [17:49:43]execute_cgi path=json_proto method=POST [17:49:43]POST find Content-Length [17:49:43]Host: 172.17.35.133:8080 [17:49:43]Content-Length: 928 [17:49:43]Content-Type: application/json [17:49:43] [17:49:43]POST finish read [17:49:43]Found Content-Length = 928 [17:49:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254430", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:49:43]execute_script... [17:49:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254430", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:49:43]POST & json_proto [17:49:43]process_json_proto [17:49:43]json parsed OK: [17:49:43]protocol is kg_v1.0 [17:49:43]action value=close_receipt [17:49:43]process_action close_receipt [17:49:43]cmd_close_receipt [17:49:43]MH_GetDate [17:49:43]Write to MH i2c: F0 00 00 27 11 27 [17:49:43]Write i2c OK [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: F0 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: F0 09 00 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: F0 09 00 27 11 00 3B D4 6D 66 8C 55 28 65 80 [17:49:43]GetLastDocTimeStamp 1718473581 [17:49:43]current date 1718473787 [17:49:43]FM_GetShiftState [17:49:43]SAM_PROTO_GetShiftState [17:49:43]wFMCommunicate request_size=4 [17:49:43]MH_SAM_APDU [17:49:43]CAPDU: 80 13 01 00 [17:49:43]Write to MH i2c: E2 08 00 28 11 80 13 01 00 00 00 00 00 B6 [17:49:43]Write i2c OK [17:49:43]MH_I2C_Read... [17:49:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:49:43]Read from MH i2c: E2 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: E2 0E 00 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: E2 0E 00 28 11 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 8A [17:49:43]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [17:49:43]wFMCommunicate OK [17:49:43]SAM_PROTO_GetShiftState done [17:49:43]FM_GetShiftState done [17:49:43]opened in 1718410776 [17:49:43]opened+sec_in_day 1718497176 [17:49:43]quantity*price = 18000 [17:49:43]sum+1 = 18001 [17:49:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173976 Жев Orbit Winterfresh под 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 59 15.06.2024 17:49 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22214 ФПД: 162926606081168 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T174947&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22214&fm=162926606081168&tin=02508201610067®Number=0000000000099755&sum=22500 0 [17:49:44]StoreToDocumentArchive [17:49:44]shift 326 fd 22214 [17:49:44]save to /storage/0326/doc_00022214 [17:49:44]save last doc name /storage/0326/doc_00022214 to /storage/kkm_last_doc_name [17:49:44]save OK [17:49:44]Clear old archive folders... [17:49:44]ProcessDocumentItem done err = 0, tmpTLVsize=400 [17:49:44]tlvbuf is 001BBDE0 [17:49:44]SAM_PROTO_ClearQueue [17:49:44]wFMCommunicate request_size=4 [17:49:44]MH_SAM_APDU [17:49:44]CAPDU: 80 09 00 00 [17:49:44]Write to MH i2c: E2 08 00 35 11 80 09 00 00 00 00 00 00 B8 [17:49:44]Write i2c OK [17:49:44]MH_I2C_Read... [17:49:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:49:44]Read from MH i2c: E2 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 03 00 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 03 00 35 11 00 90 00 BA [17:49:44]RAPDU: 90 00 [17:49:44]wFMCommunicate OK [17:49:44]SAM_PROTO_ClearQueue done [17:49:44]KKMCreateOFDPacket [17:49:44]OFDProtocolAddRootSTLVToBuf [17:49:44]FM_MakeSignedData [17:49:44]FM_MakeSignedData [17:49:44]SAM_PROTO_SignData [17:49:44]wFMCommunicate request_size=4 [17:49:44]MH_SAM_APDU [17:49:44]CAPDU: 80 0D 01 02 [17:49:44]Write to MH i2c: E2 08 00 36 11 80 0D 01 02 00 00 00 00 C0 [17:49:44]Write i2c OK [17:49:44]MH_I2C_Read... [17:49:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:49:44]Read from MH i2c: E2 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 03 00 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 03 00 36 11 00 90 00 BB [17:49:44]RAPDU: 90 00 [17:49:44]wFMCommunicate OK [17:49:44]wFMCommunicate request_size=255 [17:49:44]MH_SAM_APDU [17:49:44]CAPDU: 80 0D 02 02 FA 03 00 90 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB [17:49:44]Write to MH i2c: E2 02 01 37 11 80 0D 02 02 FA 00 03 00 90 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 00 00 63 [17:49:44]Write i2c OK [17:49:44]MH_I2C_Read... [17:49:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:49:44]Read from MH i2c: E2 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 03 00 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 03 00 37 11 00 90 00 BC [17:49:44]RAPDU: 90 00 [17:49:44]wFMCommunicate OK [17:49:44]wFMCommunicate request_size=159 [17:49:44]MH_SAM_APDU [17:49:44]CAPDU: 80 0D 02 02 9A 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 3B D4 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C6 56 00 00 35 04 06 00 94 2E 4E 7A DC 90 [17:49:44]Write to MH i2c: E2 A2 00 38 11 80 0D 02 02 9A 00 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 3B D4 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C6 56 00 00 35 04 06 00 94 2E 4E 7A DC 90 00 00 28 [17:49:44]Write i2c OK [17:49:44]MH_I2C_Read... [17:49:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:49:44]Read from MH i2c: E2 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 03 00 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 03 00 38 11 00 90 00 BD [17:49:44]RAPDU: 90 00 [17:49:44]wFMCommunicate OK [17:49:44]wFMCommunicate request_size=4 [17:49:44]MH_SAM_APDU [17:49:44]CAPDU: 80 0D 03 02 [17:49:44]Write to MH i2c: E2 08 00 39 11 80 0D 03 02 00 00 00 00 C5 [17:49:44]Write i2c OK [17:49:44]MH_I2C_Read... [17:49:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:49:44]Read from MH i2c: E2 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 0B 00 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 0B 00 39 11 00 83 9F 36 6B 49 25 BE 36 90 00 EB [17:49:44]RAPDU: 83 9F 36 6B 49 25 BE 36 90 00 [17:49:44]wFMCommunicate OK [17:49:44]SAM_PROTO_SignData done [17:49:44]FM_MakeSignedData done [17:49:44]CreateOFDProtocolMessage [17:49:44]wFMCommunicate request_size=4 [17:49:44]MH_SAM_APDU [17:49:44]CAPDU: 80 11 00 00 [17:49:44]Write to MH i2c: E2 08 00 3A 11 80 11 00 00 00 00 00 00 C5 [17:49:44]Write i2c OK [17:49:44]MH_I2C_Read... [17:49:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:49:44]Read from MH i2c: E2 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 17 00 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: E2 17 00 3A 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 17 [17:49:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:49:44]wFMCommunicate OK [17:49:44]CreateOFDProtocolMessage done [17:49:44]OFDSenderStorePacket 22214 [17:49:44]StoreOFDPacket docnum=22214 [17:49:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A4 01 00 00 AE 09 9C 01 ED 3E 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 3B D4 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C6 56 00 00 35 04 06 00 94 2E 4E 7A DC 90 83 9F 36 6B 49 25 BE 36 [17:49:44]CheckFolder [17:49:44]dirname=/storage/ofd_packets [17:49:44]CheckFolder done [17:49:44]ProducePacketName [17:49:44]name=ofd_packets/00022214 [17:49:44]NVStorageSaveData ofd_packets/00022214 [17:49:44]File name is /storage/ofd_packets/00022214 [17:49:44]Write 450 bytes [17:49:44]NVStorageSaveData done [17:49:44]OFDSenderStorePacket done [17:49:44]KKMCreateOFDPacket done [17:49:44]NVStorageSaveData kkm_last_timestamp [17:49:44]File name is /storage/kkm_last_timestamp [17:49:44]Write 4 bytes [17:49:44]NVStorageSaveData done [17:49:44]ExternCall_PrintAddStr [17:49:44]wPrintStart [17:49:44]Write to MH i2c: 01 00 00 3B 11 4C [17:49:44]Write i2c OK [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: 01 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: 01 07 00 [17:49:44]MH_I2C_Read... [17:49:44]Read from MH i2c: 01 07 00 3B 11 00 00 00 00 00 FF 0F 61 [17:49:45]RasterBufferAndPrint [17:49:45]line Счет N : (3)254430 [17:49:45]line ИНН: 02508201610067 [17:49:45]line Контрольно-Кассовый Чек [17:49:45]line ПРОДАЖА [17:49:45]line Товар: 5449000273673 [17:49:45]line Сок Piko Pulpy красный виноград ПЭТ 1л [17:49:45]line 1.000 * 180.00 [17:49:45]line = 180.00 [17:49:45]line НДС 12% НСП 1% [17:49:45]line > о реализуемом товаре [17:49:45]line Товар: 50173976 [17:49:45]line Жев Orbit Winterfresh под [17:49:45]line 1.000 * 45.00 [17:49:45]line = 45.00 [17:49:45]line НДС 12% НСП 1% [17:49:45]line > о реализуемом товаре [17:49:45]line ИТОГО: 225.00 [17:49:45]line НСП 1% : 1.99 [17:49:45]line НДС 12% : 23.89 [17:49:45]line Наличными: 225.00 [17:49:45]line Безнал.: 0.00 [17:49:45]line Место: АЗС № 76 "Партнер Нефть" [17:49:45]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:49:45]line СНО: Общий режим [17:49:45]line Чек 59 15.06.2024 17:49 [17:49:45]line Смена: 326 ФФД: 1.0 [17:49:45]line ЗНМ: 0300000200 [17:49:45]line РНМ: 0000000000099755 [17:49:45]line Версия ККМ: 001 [17:49:45]line ФМ: 0000000000965344 [17:49:45]line ФД: 22214 [17:49:45]line ФПД: 162926606081168 [17:49:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T174947&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22214&fm=162926606081168&tin=02508201610067®Number=0000000000099755&sum=22500 [17:49:45]line 0 [17:49:45]OFD Sender: Processing packet 22214 [packets to send 5, broken 4] [17:49:45]ProducePacketName [17:49:45]name=ofd_packets/00022214 [17:49:45]OFD Sender: To server: pG, [17:49:45]CommunicateWithHost lk.salyk.kg:30040 [17:49:45]ConnectInit lk.salyk.kg [17:49:45]written 0, free lines is 4095 [17:49:45]Connected sock=11 [17:49:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A4 01 00 00 AE 09 9C 01 ED 3E 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 3B D4 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C6 56 00 00 35 04 06 00 94 2E 4E 7A DC 90 83 9F 36 6B 49 25 BE 36 [17:49:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 AF 9A 47 00 A8 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C6 56 00 00 F4 03 04 00 F7 7C 6D 66 B6 04 01 00 00 EB 1A 01 B0 62 D1 E7 B6 [17:49:45]CommunicateWithHost err = 0 [17:49:45]CheckOFDResponse [17:49:45]1017 (14) - 77093643461234 [17:49:45]1041 (16) - 0000000000965344 [17:49:45]1040 (4) - 22214 [17:49:45]1012 (4) - 15.06.2024 11:37 [17:49:45]1206 (1) - 0 [17:49:45]OFD Sender: Remove packet 22214 [17:49:45]ProducePacketName [17:49:45]name=ofd_packets/00022214 [17:49:45]NVStorageDeleteData [17:49:45]Write to MH i2c: 01 00 00 6A 11 7B [17:49:45]Write i2c OK [17:49:45]MH_I2C_Read... [17:49:45]Read from MH i2c: 01 [17:49:45]MH_I2C_Read... [17:49:45]Read from MH i2c: 01 07 00 [17:49:45]MH_I2C_Read... [17:49:45]Read from MH i2c: 01 07 00 6A 11 00 00 00 00 00 CE 0C 5C [17:49:45]RasterBufferAndPrint [17:49:45]line [17:49:45]line [17:49:45]line [17:49:45]line [17:49:45]line [17:49:45]written 0, free lines is 3284 [17:49:45]MH_Cut [17:49:45]Write to MH i2c: D1 01 00 71 11 01 54 [17:49:45]Write i2c OK [17:49:45]MH_I2C_Read... [17:49:45]Read from MH i2c: D1 [17:49:45]MH_I2C_Read... [17:49:45]Read from MH i2c: D1 01 00 [17:49:45]MH_I2C_Read... [17:49:45]Read from MH i2c: D1 01 00 71 11 00 53 [17:49:45]Write to MH i2c: 01 00 00 72 11 83 [17:49:45]Write i2c OK [17:49:45]MH_I2C_Read... [17:49:46]OFD Sender: No OFD packet to send [17:49:46]*** Cut start [17:49:46]*** Partial cut [17:49:46]*** CUTSNS_PIN = 1 [17:49:46]*** CUTSNS_PIN = 0 [17:49:46]*** Brake cut motor [17:49:47]Read from MH i2c: 01 [17:49:47]MH_I2C_Read... [17:49:47]*** Stop cut motor [17:49:47]*** Cut end [17:49:47]Read from MH i2c: 01 07 00 [17:49:47]MH_I2C_Read... [17:49:47]Read from MH i2c: 01 07 00 72 11 00 00 00 00 00 FF 0F 98 [17:49:47]process_action close_receipt done [17:49:47]requested_data is exist [17:49:47]produce_requested_data [17:49:47]requested_item fm.sn is exist - process it [17:49:47]wFMCommunicate request_size=4 [17:49:47]MH_SAM_APDU [17:49:47]CAPDU: 80 11 00 00 [17:49:47]Write to MH i2c: E2 08 00 73 11 80 11 00 00 00 00 00 00 FE [17:49:47]Write i2c OK [17:49:47]MH_I2C_Read... [17:49:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:49:47]Read from MH i2c: E2 [17:49:47]MH_I2C_Read... [17:49:47]Read from MH i2c: E2 17 00 [17:49:47]MH_I2C_Read... [17:49:47]Read from MH i2c: E2 17 00 73 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 50 [17:49:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:49:47]wFMCommunicate OK [17:49:47]requested_item fd.num is exist - process it [17:49:47]SAM_PROTO_GetFieldsCounters [17:49:47]wFMCommunicate request_size=4 [17:49:47]MH_SAM_APDU [17:49:47]CAPDU: 80 13 00 00 [17:49:47]Write to MH i2c: E2 08 00 74 11 80 13 00 00 00 00 00 00 01 [17:49:47]Write i2c OK [17:49:47]MH_I2C_Read... [17:49:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:49:47]Read from MH i2c: E2 [17:49:47]MH_I2C_Read... [17:49:47]Read from MH i2c: E2 62 00 [17:49:47]MH_I2C_Read... [17:49:47]Read from MH i2c: E2 62 00 74 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C6 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [17:49:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C6 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:49:47]wFMCommunicate OK [17:49:47]SAM_PROTO_GetFieldsCounters done [17:49:47]requested_item shift.num is exist - process it [17:49:47]requested_item shift.opened is exist - process it [17:49:47]req_shift_opened [17:49:47]FM_GetShiftState [17:49:47]SAM_PROTO_GetShiftState [17:49:47]wFMCommunicate request_size=4 [17:49:47]MH_SAM_APDU [17:49:47]CAPDU: 80 13 01 00 [17:49:47]Write to MH i2c: E2 08 00 75 11 80 13 01 00 00 00 00 00 03 [17:49:47]Write i2c OK [17:49:47]MH_I2C_Read... [17:49:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:49:47]Read from MH i2c: E2 [17:49:47]MH_I2C_Read... [17:49:47]Read from MH i2c: E2 0E 00 [17:49:47]MH_I2C_Read... [17:49:47]Read from MH i2c: E2 0E 00 75 11 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 D7 [17:49:47]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [17:49:47]wFMCommunicate OK [17:49:47]SAM_PROTO_GetShiftState done [17:49:47]FM_GetShiftState done [17:49:47]req_shift_opened done [17:49:47]requested_item shift.open_date is exist - process it [17:49:47]req_shift_open_date [17:49:47]req_shift_open_date done [17:49:47]produce_requested_data done [17:49:47]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22214,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [17:49:47]process_action_free close_receipt [17:49:47]json_value_free [17:49:47]json_value_free done [17:49:47]process_json_proto returns [17:49:47]Send response to host [17:49:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22214,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [17:49:47]free response buf [17:49:47]execute_script done [17:49:47]execute_script returns [17:49:47]free content buf [17:49:47]Sock 8.Close socket [17:49:47]Sock 8.Thread stoped [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:31]OFD Sender: No OFD packet to send [17:55:36]OFD Sender: No OFD packet to send [17:55:41]OFD Sender: No OFD packet to send [17:55:46]OFD Sender: No OFD packet to send [17:55:51]OFD Sender: No OFD packet to send [17:55:56]OFD Sender: No OFD packet to send [17:56:01]OFD Sender: No OFD packet to send [17:56:06]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]OFD Sender: No OFD packet to send [18:08:21]OFD Sender: No OFD packet to send [18:08:26]OFD Sender: No OFD packet to send [18:08:31]OFD Sender: No OFD packet to send [18:08:36]OFD Sender: No OFD packet to send [18:08:41]OFD Sender: No OFD packet to send [18:08:46]OFD Sender: No OFD packet to send [18:08:51]OFD Sender: No OFD packet to send [18:08:56]OFD Sender: No OFD packet to send [18:09:01]OFD Sender: No OFD packet to send [18:09:06]OFD Sender: No OFD packet to send [18:09:11]OFD Sender: No OFD packet to send [18:09:16]OFD Sender: No OFD packet to send [18:09:21]OFD Sender: No OFD packet to send [18:09:26]OFD Sender: No OFD packet to send [18:09:31]OFD Sender: No OFD packet to send [18:09:36]OFD Sender: No OFD packet to send [18:09:41]OFD Sender: No OFD packet to send [18:09:46]OFD Sender: No OFD packet to send [18:09:51]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:17]OFD Sender: No OFD packet to send [18:10:22]OFD Sender: No OFD packet to send [18:10:27]OFD Sender: No OFD packet to send [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:32]OFD Sender: No OFD packet to send [18:13:37]OFD Sender: No OFD packet to send [18:13:42]OFD Sender: No OFD packet to send [18:13:47]OFD Sender: No OFD packet to send [18:13:52]OFD Sender: No OFD packet to send [18:13:57]OFD Sender: No OFD packet to send [18:14:02]OFD Sender: No OFD packet to send [18:14:07]OFD Sender: No OFD packet to send [18:14:12]OFD Sender: No OFD packet to send [18:14:17]OFD Sender: No OFD packet to send [18:14:22]OFD Sender: No OFD packet to send [18:14:27]OFD Sender: No OFD packet to send [18:14:32]OFD Sender: No OFD packet to send [18:14:37]OFD Sender: No OFD packet to send [18:14:42]OFD Sender: No OFD packet to send [18:14:47]OFD Sender: No OFD packet to send [18:14:52]OFD Sender: No OFD packet to send [18:14:57]OFD Sender: No OFD packet to send [18:15:02]OFD Sender: No OFD packet to send [18:15:07]OFD Sender: No OFD packet to send [18:15:12]OFD Sender: No OFD packet to send [18:15:17]OFD Sender: No OFD packet to send [18:15:22]OFD Sender: No OFD packet to send [18:15:27]OFD Sender: No OFD packet to send [18:15:32]OFD Sender: No OFD packet to send [18:15:37]OFD Sender: No OFD packet to send [18:15:42]OFD Sender: No OFD packet to send [18:15:47]OFD Sender: No OFD packet to send [18:15:52]OFD Sender: No OFD packet to send [18:15:57]OFD Sender: No OFD packet to send [18:16:02]OFD Sender: No OFD packet to send [18:16:07]OFD Sender: No OFD packet to send [18:16:12]OFD Sender: No OFD packet to send [18:16:17]OFD Sender: No OFD packet to send [18:16:22]OFD Sender: No OFD packet to send [18:16:27]OFD Sender: No OFD packet to send [18:16:32]OFD Sender: No OFD packet to send [18:16:37]OFD Sender: No OFD packet to send [18:16:42]OFD Sender: No OFD packet to send [18:16:47]OFD Sender: No OFD packet to send [18:16:52]OFD Sender: No OFD packet to send [18:16:57]OFD Sender: No OFD packet to send [18:17:02]OFD Sender: No OFD packet to send [18:17:07]OFD Sender: No OFD packet to send [18:17:12]OFD Sender: No OFD packet to send [18:17:17]OFD Sender: No OFD packet to send [18:17:22]OFD Sender: No OFD packet to send [18:17:27]OFD Sender: No OFD packet to send [18:17:32]OFD Sender: No OFD packet to send [18:17:37]OFD Sender: No OFD packet to send [18:17:42]OFD Sender: No OFD packet to send [18:17:47]OFD Sender: No OFD packet to send [18:17:52]OFD Sender: No OFD packet to send [18:17:57]OFD Sender: No OFD packet to send [18:18:02]OFD Sender: No OFD packet to send [18:18:07]OFD Sender: No OFD packet to send [18:18:12]OFD Sender: No OFD packet to send [18:18:17]OFD Sender: No OFD packet to send [18:18:22]OFD Sender: No OFD packet to send [18:18:27]OFD Sender: No OFD packet to send [18:18:32]OFD Sender: No OFD packet to send [18:18:37]OFD Sender: No OFD packet to send [18:18:42]OFD Sender: No OFD packet to send [18:18:47]OFD Sender: No OFD packet to send [18:18:52]OFD Sender: No OFD packet to send [18:18:57]OFD Sender: No OFD packet to send [18:19:02]OFD Sender: No OFD packet to send [18:19:07]OFD Sender: No OFD packet to send [18:19:12]OFD Sender: No OFD packet to send [18:19:17]OFD Sender: No OFD packet to send [18:19:22]OFD Sender: No OFD packet to send [18:19:27]OFD Sender: No OFD packet to send [18:19:32]OFD Sender: No OFD packet to send [18:19:37]OFD Sender: No OFD packet to send [18:19:42]OFD Sender: No OFD packet to send [18:19:47]OFD Sender: No OFD packet to send [18:19:52]OFD Sender: No OFD packet to send [18:19:57]OFD Sender: No OFD packet to send [18:20:02]OFD Sender: No OFD packet to send [18:20:07]OFD Sender: No OFD packet to send [18:20:12]OFD Sender: No OFD packet to send [18:20:17]OFD Sender: No OFD packet to send [18:20:22]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:32]OFD Sender: No OFD packet to send [18:20:37]OFD Sender: No OFD packet to send [18:20:42]OFD Sender: No OFD packet to send [18:20:47]OFD Sender: No OFD packet to send [18:20:52]OFD Sender: No OFD packet to send [18:20:57]OFD Sender: No OFD packet to send [18:21:02]OFD Sender: No OFD packet to send [18:21:07]OFD Sender: No OFD packet to send [18:21:12]OFD Sender: No OFD packet to send [18:21:17]OFD Sender: No OFD packet to send [18:21:22]OFD Sender: No OFD packet to send [18:21:27]OFD Sender: No OFD packet to send [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:27]OFD Sender: No OFD packet to send [18:24:32]OFD Sender: No OFD packet to send [18:24:37]OFD Sender: No OFD packet to send [18:24:42]OFD Sender: No OFD packet to send [18:24:47]OFD Sender: No OFD packet to send [18:24:52]OFD Sender: No OFD packet to send [18:24:57]OFD Sender: No OFD packet to send [18:25:02]OFD Sender: No OFD packet to send [18:25:07]OFD Sender: No OFD packet to send [18:25:12]OFD Sender: No OFD packet to send [18:25:17]OFD Sender: No OFD packet to send [18:25:22]OFD Sender: No OFD packet to send [18:25:27]OFD Sender: No OFD packet to send [18:25:32]OFD Sender: No OFD packet to send [18:25:37]OFD Sender: No OFD packet to send [18:25:42]OFD Sender: No OFD packet to send [18:25:47]OFD Sender: No OFD packet to send [18:25:52]OFD Sender: No OFD packet to send [18:25:57]OFD Sender: No OFD packet to send [18:26:02]OFD Sender: No OFD packet to send [18:26:07]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:42]OFD Sender: No OFD packet to send [18:27:47]OFD Sender: No OFD packet to send [18:27:52]OFD Sender: No OFD packet to send [18:27:57]OFD Sender: No OFD packet to send [18:28:02]OFD Sender: No OFD packet to send [18:28:07]OFD Sender: No OFD packet to send [18:28:12]OFD Sender: No OFD packet to send [18:28:17]OFD Sender: No OFD packet to send [18:28:22]OFD Sender: No OFD packet to send [18:28:27]OFD Sender: No OFD packet to send [18:28:32]OFD Sender: No OFD packet to send [18:28:37]OFD Sender: No OFD packet to send [18:28:42]OFD Sender: No OFD packet to send [18:28:47]OFD Sender: No OFD packet to send [18:28:52]OFD Sender: No OFD packet to send [18:28:57]OFD Sender: No OFD packet to send [18:29:02]OFD Sender: No OFD packet to send [18:29:07]OFD Sender: No OFD packet to send [18:29:12]OFD Sender: No OFD packet to send [18:29:17]OFD Sender: No OFD packet to send [18:29:22]OFD Sender: No OFD packet to send [18:29:27]OFD Sender: No OFD packet to send [18:29:32]OFD Sender: No OFD packet to send [18:29:37]OFD Sender: No OFD packet to send [18:29:42]OFD Sender: No OFD packet to send [18:29:47]OFD Sender: No OFD packet to send [18:29:52]OFD Sender: No OFD packet to send [18:29:57]OFD Sender: No OFD packet to send [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:47]OFD Sender: No OFD packet to send [18:30:52]OFD Sender: No OFD packet to send [18:30:57]OFD Sender: No OFD packet to send [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:33]OFD Sender: No OFD packet to send [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:58]OFD Sender: No OFD packet to send [18:36:03]OFD Sender: No OFD packet to send [18:36:08]OFD Sender: No OFD packet to send [18:36:13]OFD Sender: No OFD packet to send [18:36:18]OFD Sender: No OFD packet to send [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:38]OFD Sender: No OFD packet to send [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]OFD Sender: No OFD packet to send [18:40:43]OFD Sender: No OFD packet to send [18:40:48]OFD Sender: No OFD packet to send [18:40:53]OFD Sender: No OFD packet to send [18:40:58]OFD Sender: No OFD packet to send [18:41:03]OFD Sender: No OFD packet to send [18:41:08]OFD Sender: No OFD packet to send [18:41:13]OFD Sender: No OFD packet to send [18:41:18]OFD Sender: No OFD packet to send [18:41:23]OFD Sender: No OFD packet to send [18:41:28]OFD Sender: No OFD packet to send [18:41:33]OFD Sender: No OFD packet to send [18:41:38]OFD Sender: No OFD packet to send [18:41:43]OFD Sender: No OFD packet to send [18:41:48]OFD Sender: No OFD packet to send [18:41:53]OFD Sender: No OFD packet to send [18:41:58]OFD Sender: No OFD packet to send [18:42:03]OFD Sender: No OFD packet to send [18:42:08]OFD Sender: No OFD packet to send [18:42:13]OFD Sender: No OFD packet to send [18:42:18]OFD Sender: No OFD packet to send [18:42:23]OFD Sender: No OFD packet to send [18:42:28]OFD Sender: No OFD packet to send [18:42:33]OFD Sender: No OFD packet to send [18:42:38]OFD Sender: No OFD packet to send [18:42:43]OFD Sender: No OFD packet to send [18:42:48]OFD Sender: No OFD packet to send [18:42:53]OFD Sender: No OFD packet to send [18:42:58]OFD Sender: No OFD packet to send [18:43:03]OFD Sender: No OFD packet to send [18:43:08]OFD Sender: No OFD packet to send [18:43:13]OFD Sender: No OFD packet to send [18:43:18]OFD Sender: No OFD packet to send [18:43:23]OFD Sender: No OFD packet to send [18:43:28]OFD Sender: No OFD packet to send [18:43:33]OFD Sender: No OFD packet to send [18:43:38]OFD Sender: No OFD packet to send [18:43:43]OFD Sender: No OFD packet to send [18:43:48]OFD Sender: No OFD packet to send [18:43:53]OFD Sender: No OFD packet to send [18:43:58]OFD Sender: No OFD packet to send [18:44:03]OFD Sender: No OFD packet to send [18:44:08]OFD Sender: No OFD packet to send [18:44:13]OFD Sender: No OFD packet to send [18:44:18]OFD Sender: No OFD packet to send [18:44:23]OFD Sender: No OFD packet to send [18:44:28]OFD Sender: No OFD packet to send [18:44:33]OFD Sender: No OFD packet to send [18:44:38]OFD Sender: No OFD packet to send [18:44:43]OFD Sender: No OFD packet to send [18:44:48]OFD Sender: No OFD packet to send [18:44:53]OFD Sender: No OFD packet to send [18:44:58]OFD Sender: No OFD packet to send [18:45:03]OFD Sender: No OFD packet to send [18:45:08]OFD Sender: No OFD packet to send [18:45:13]OFD Sender: No OFD packet to send [18:45:18]OFD Sender: No OFD packet to send [18:45:23]OFD Sender: No OFD packet to send [18:45:28]OFD Sender: No OFD packet to send [18:45:33]OFD Sender: No OFD packet to send [18:45:38]OFD Sender: No OFD packet to send [18:45:43]OFD Sender: No OFD packet to send [18:45:48]OFD Sender: No OFD packet to send [18:45:53]OFD Sender: No OFD packet to send [18:45:58]OFD Sender: No OFD packet to send [18:46:03]OFD Sender: No OFD packet to send [18:46:08]OFD Sender: No OFD packet to send [18:46:13]OFD Sender: No OFD packet to send [18:46:18]OFD Sender: No OFD packet to send [18:46:23]OFD Sender: No OFD packet to send [18:46:28]OFD Sender: No OFD packet to send [18:46:33]OFD Sender: No OFD packet to send [18:46:38]OFD Sender: No OFD packet to send [18:46:43]OFD Sender: No OFD packet to send [18:46:48]OFD Sender: No OFD packet to send [18:46:53]OFD Sender: No OFD packet to send [18:46:58]OFD Sender: No OFD packet to send [18:47:03]OFD Sender: No OFD packet to send [18:47:08]OFD Sender: No OFD packet to send [18:47:13]OFD Sender: No OFD packet to send [18:47:18]OFD Sender: No OFD packet to send [18:47:23]OFD Sender: No OFD packet to send [18:47:28]OFD Sender: No OFD packet to send [18:47:33]OFD Sender: No OFD packet to send [18:47:38]OFD Sender: No OFD packet to send [18:47:43]OFD Sender: No OFD packet to send [18:47:48]OFD Sender: No OFD packet to send [18:47:53]OFD Sender: No OFD packet to send [18:47:58]OFD Sender: No OFD packet to send [18:48:03]OFD Sender: No OFD packet to send [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:08]OFD Sender: No OFD packet to send [18:51:13]OFD Sender: No OFD packet to send [18:51:18]OFD Sender: No OFD packet to send [18:51:23]OFD Sender: No OFD packet to send [18:51:28]OFD Sender: No OFD packet to send [18:51:31]accept exits with 9 [18:51:31]New connection [18:51:31]New thread 3066695012 created [18:51:31]Thread 3066838372 joined [18:51:31]Waiting for new connection... [18:51:31] Sock 9.Parse request [18:51:31]Sock 9.Check first char [18:51:31]Sock 9.First char is OK [18:51:31]request: POST /json_proto HTTP/1.0 [18:51:31]Method: POST [18:51:31]URL: /json_proto [18:51:31]Method is POST - this is cgi request [18:51:31]url: /json_proto [18:51:31]query_string will be loaded in cgi processing [18:51:31]execute_cgi json_proto POST (null) [18:51:31]execute_cgi path=json_proto method=POST [18:51:31]POST find Content-Length [18:51:31]Host: 172.17.35.133:8080 [18:51:31]Content-Length: 711 [18:51:31]Content-Type: application/json [18:51:31] [18:51:31]POST finish read [18:51:31]Found Content-Length = 711 [18:51:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254431", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:51:31]execute_script... [18:51:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254431", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:51:31]POST & json_proto [18:51:31]process_json_proto [18:51:31]json parsed OK: [18:51:31]protocol is kg_v1.0 [18:51:31]action value=close_receipt [18:51:31]process_action close_receipt [18:51:31]cmd_close_receipt [18:51:31]MH_GetDate [18:51:31]Write to MH i2c: F0 00 00 76 11 76 [18:51:31]Write i2c OK [18:51:31]MH_I2C_Read... [18:51:31]Read from MH i2c: F0 [18:51:31]MH_I2C_Read... [18:51:31]Read from MH i2c: F0 09 00 [18:51:31]MH_I2C_Read... [18:51:31]Read from MH i2c: F0 09 00 76 11 00 B7 E2 6D 66 8C 55 28 65 59 [18:51:31]GetLastDocTimeStamp 1718473787 [18:51:31]current date 1718477495 [18:51:31]FM_GetShiftState [18:51:31]SAM_PROTO_GetShiftState [18:51:31]wFMCommunicate request_size=4 [18:51:31]MH_SAM_APDU [18:51:31]CAPDU: 80 13 01 00 [18:51:31]Write to MH i2c: E2 08 00 77 11 80 13 01 00 00 00 00 00 05 [18:51:31]Write i2c OK [18:51:31]MH_I2C_Read... [18:51:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:51:31]Read from MH i2c: E2 [18:51:31]MH_I2C_Read... [18:51:31]Read from MH i2c: E2 0E 00 [18:51:31]MH_I2C_Read... [18:51:31]Read from MH i2c: E2 0E 00 77 11 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 D9 [18:51:31]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [18:51:31]wFMCommunicate OK [18:51:31]SAM_PROTO_GetShiftState done [18:51:31]FM_GetShiftState done [18:51:31]opened in 1718410776 [18:51:31]opened+sec_in_day 1718497176 [18:51:31]quantity*price = 8500 [18:51:31]sum+1 = 8501 [18:51:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 60 15.06.2024 18:51 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22215 ФПД: 135850751083423 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T185135&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22215&fm=135850751083423&tin=02508201610067®Number=0000000000099755&sum=8500 0 [18:51:32]StoreToDocumentArchive [18:51:32]shift 326 fd 22215 [18:51:32]save to /storage/0326/doc_00022215 [18:51:32]save last doc name /storage/0326/doc_00022215 to /storage/kkm_last_doc_name [18:51:32]save OK [18:51:32]Clear old archive folders... [18:51:32]ProcessDocumentItem done err = 0, tmpTLVsize=302 [18:51:32]tlvbuf is B6EA5140 [18:51:32]SAM_PROTO_ClearQueue [18:51:32]wFMCommunicate request_size=4 [18:51:32]MH_SAM_APDU [18:51:32]CAPDU: 80 09 00 00 [18:51:32]Write to MH i2c: E2 08 00 84 11 80 09 00 00 00 00 00 00 07 [18:51:32]Write i2c OK [18:51:32]MH_I2C_Read... [18:51:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:51:32]Read from MH i2c: E2 [18:51:32]MH_I2C_Read... [18:51:32]Read from MH i2c: E2 03 00 [18:51:32]MH_I2C_Read... [18:51:32]Read from MH i2c: E2 03 00 84 11 00 90 00 09 [18:51:32]RAPDU: 90 00 [18:51:32]wFMCommunicate OK [18:51:32]SAM_PROTO_ClearQueue done [18:51:32]KKMCreateOFDPacket [18:51:32]OFDProtocolAddRootSTLVToBuf [18:51:32]FM_MakeSignedData [18:51:32]FM_MakeSignedData [18:51:32]SAM_PROTO_SignData [18:51:32]wFMCommunicate request_size=4 [18:51:32]MH_SAM_APDU [18:51:32]CAPDU: 80 0D 01 02 [18:51:32]Write to MH i2c: E2 08 00 85 11 80 0D 01 02 00 00 00 00 0F [18:51:32]Write i2c OK [18:51:32]MH_I2C_Read... [18:51:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:51:32]Read from MH i2c: E2 [18:51:32]MH_I2C_Read... [18:51:32]Read from MH i2c: E2 03 00 [18:51:32]MH_I2C_Read... [18:51:32]Read from MH i2c: E2 03 00 85 11 00 90 00 0A [18:51:32]RAPDU: 90 00 [18:51:32]wFMCommunicate OK [18:51:32]wFMCommunicate request_size=255 [18:51:32]MH_SAM_APDU [18:51:32]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 B7 E2 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 [18:51:32]Write to MH i2c: E2 02 01 86 11 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 B7 E2 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 00 00 3C [18:51:32]Write i2c OK [18:51:32]MH_I2C_Read... [18:51:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:51:33]Read from MH i2c: E2 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: E2 03 00 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: E2 03 00 86 11 00 90 00 0B [18:51:33]RAPDU: 90 00 [18:51:33]wFMCommunicate OK [18:51:33]wFMCommunicate request_size=61 [18:51:33]MH_SAM_APDU [18:51:33]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C7 56 00 00 35 04 06 00 7B 8E 37 C2 C3 9F [18:51:33]Write to MH i2c: E2 40 00 87 11 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C7 56 00 00 35 04 06 00 7B 8E 37 C2 C3 9F 00 00 D1 [18:51:33]Write i2c OK [18:51:33]MH_I2C_Read... [18:51:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:51:33]Read from MH i2c: E2 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: E2 03 00 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: E2 03 00 87 11 00 90 00 0C [18:51:33]RAPDU: 90 00 [18:51:33]wFMCommunicate OK [18:51:33]wFMCommunicate request_size=4 [18:51:33]MH_SAM_APDU [18:51:33]CAPDU: 80 0D 03 02 [18:51:33]Write to MH i2c: E2 08 00 88 11 80 0D 03 02 00 00 00 00 14 [18:51:33]Write i2c OK [18:51:33]MH_I2C_Read... [18:51:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:51:33]Read from MH i2c: E2 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: E2 0B 00 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: E2 0B 00 88 11 00 6E 1A 8D 90 36 B8 21 2B 90 00 F4 [18:51:33]RAPDU: 6E 1A 8D 90 36 B8 21 2B 90 00 [18:51:33]wFMCommunicate OK [18:51:33]SAM_PROTO_SignData done [18:51:33]FM_MakeSignedData done [18:51:33]CreateOFDProtocolMessage [18:51:33]wFMCommunicate request_size=4 [18:51:33]MH_SAM_APDU [18:51:33]CAPDU: 80 11 00 00 [18:51:33]Write to MH i2c: E2 08 00 89 11 80 11 00 00 00 00 00 00 14 [18:51:33]Write i2c OK [18:51:33]MH_I2C_Read... [18:51:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:51:33]Read from MH i2c: E2 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: E2 17 00 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: E2 17 00 89 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 66 [18:51:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:51:33]wFMCommunicate OK [18:51:33]CreateOFDProtocolMessage done [18:51:33]OFDSenderStorePacket 22215 [18:51:33]StoreOFDPacket docnum=22215 [18:51:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 47 53 3A 01 DD 02 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 B7 E2 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C7 56 00 00 35 04 06 00 7B 8E 37 C2 C3 9F 6E 1A 8D 90 36 B8 21 2B [18:51:33]CheckFolder [18:51:33]dirname=/storage/ofd_packets [18:51:33]CheckFolder done [18:51:33]ProducePacketName [18:51:33]name=ofd_packets/00022215 [18:51:33]NVStorageSaveData ofd_packets/00022215 [18:51:33]File name is /storage/ofd_packets/00022215 [18:51:33]Write 352 bytes [18:51:33]NVStorageSaveData done [18:51:33]OFDSenderStorePacket done [18:51:33]KKMCreateOFDPacket done [18:51:33]NVStorageSaveData kkm_last_timestamp [18:51:33]File name is /storage/kkm_last_timestamp [18:51:33]Write 4 bytes [18:51:33]NVStorageSaveData done [18:51:33]ExternCall_PrintAddStr [18:51:33]wPrintStart [18:51:33]Write to MH i2c: 01 00 00 8A 11 9B [18:51:33]Write i2c OK [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: 01 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: 01 07 00 [18:51:33]MH_I2C_Read... [18:51:33]Read from MH i2c: 01 07 00 8A 11 00 00 00 00 00 FF 0F B0 [18:51:33]RasterBufferAndPrint [18:51:33]line Счет N : (3)254431 [18:51:33]line ИНН: 02508201610067 [18:51:33]line Контрольно-Кассовый Чек [18:51:33]line ПРОДАЖА [18:51:33]line Товар: 4870001571030 [18:51:33]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [18:51:33]line 1.000 * 85.00 [18:51:33]line = 85.00 [18:51:33]line НДС 12% НСП 1% [18:51:33]line > о реализуемом товаре [18:51:33]line ИТОГО: 85.00 [18:51:33]line НСП 1% : 0.75 [18:51:33]line НДС 12% : 9.03 [18:51:33]line Наличными: 85.00 [18:51:33]line Безнал.: 0.00 [18:51:33]line Место: АЗС № 76 "Партнер Нефть" [18:51:33]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:51:33]line СНО: Общий режим [18:51:33]line Чек 60 15.06.2024 18:51 [18:51:33]line Смена: 326 ФФД: 1.0 [18:51:33]line ЗНМ: 0300000200 [18:51:33]line РНМ: 0000000000099755 [18:51:33]line Версия ККМ: 001 [18:51:33]line ФМ: 0000000000965344 [18:51:33]line ФД: 22215 [18:51:33]line ФПД: 135850751083423 [18:51:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T185135&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22215&fm=135850751083423&tin=02508201610067®Number=0000000000099755&sum=8500 [18:51:33]line 0 [18:51:33]OFD Sender: Processing packet 22215 [packets to send 5, broken 4] [18:51:33]ProducePacketName [18:51:33]name=ofd_packets/00022215 [18:51:33]OFD Sender: To server: pG, [18:51:33]CommunicateWithHost lk.salyk.kg:30040 [18:51:33]ConnectInit lk.salyk.kg [18:51:33]written 0, free lines is 4095 [18:51:33]Connected sock=10 [18:51:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 47 53 3A 01 DD 02 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 B7 E2 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C7 56 00 00 35 04 06 00 7B 8E 37 C2 C3 9F 6E 1A 8D 90 36 B8 21 2B [18:51:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 17 1D 47 00 3F 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C7 56 00 00 F4 03 04 00 74 8B 6D 66 B6 04 01 00 00 BF A4 F4 A8 DB 75 EC 16 [18:51:33]CommunicateWithHost err = 0 [18:51:33]CheckOFDResponse [18:51:33]1017 (14) - 77093643461234 [18:51:33]1041 (16) - 0000000000965344 [18:51:33]1040 (4) - 22215 [18:51:33]1012 (4) - 15.06.2024 12:39 [18:51:33]1206 (1) - 0 [18:51:33]OFD Sender: Remove packet 22215 [18:51:33]ProducePacketName [18:51:33]name=ofd_packets/00022215 [18:51:33]NVStorageDeleteData [18:51:34]Write to MH i2c: 01 00 00 B3 11 C4 [18:51:34]Write i2c OK [18:51:34]MH_I2C_Read... [18:51:34]Read from MH i2c: 01 [18:51:34]MH_I2C_Read... [18:51:34]Read from MH i2c: 01 07 00 [18:51:34]MH_I2C_Read... [18:51:34]Read from MH i2c: 01 07 00 B3 11 00 00 00 00 00 17 0D EF [18:51:34]RasterBufferAndPrint [18:51:34]line [18:51:34]line [18:51:34]line [18:51:34]line [18:51:34]line [18:51:34]written 0, free lines is 3362 [18:51:34]MH_Cut [18:51:34]Write to MH i2c: D1 01 00 BA 11 01 9D [18:51:34]Write i2c OK [18:51:34]MH_I2C_Read... [18:51:34]Read from MH i2c: D1 [18:51:34]MH_I2C_Read... [18:51:34]Read from MH i2c: D1 01 00 [18:51:34]MH_I2C_Read... [18:51:34]Read from MH i2c: D1 01 00 BA 11 00 9C [18:51:34]Write to MH i2c: 01 00 00 BB 11 CC [18:51:34]Write i2c OK [18:51:34]MH_I2C_Read... [18:51:34]OFD Sender: No OFD packet to send [18:51:34]*** Cut start [18:51:34]*** Partial cut [18:51:34]*** CUTSNS_PIN = 1 [18:51:34]*** CUTSNS_PIN = 0 [18:51:34]*** Brake cut motor [18:51:35]Read from MH i2c: 01 [18:51:35]MH_I2C_Read... [18:51:35]*** Stop cut motor [18:51:35]*** Cut end [18:51:35]Read from MH i2c: 01 07 00 [18:51:35]MH_I2C_Read... [18:51:35]Read from MH i2c: 01 07 00 BB 11 00 00 00 00 00 FF 0F E1 [18:51:35]process_action close_receipt done [18:51:35]requested_data is exist [18:51:35]produce_requested_data [18:51:35]requested_item fm.sn is exist - process it [18:51:35]wFMCommunicate request_size=4 [18:51:35]MH_SAM_APDU [18:51:35]CAPDU: 80 11 00 00 [18:51:35]Write to MH i2c: E2 08 00 BC 11 80 11 00 00 00 00 00 00 47 [18:51:35]Write i2c OK [18:51:35]MH_I2C_Read... [18:51:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:51:35]Read from MH i2c: E2 [18:51:35]MH_I2C_Read... [18:51:35]Read from MH i2c: E2 17 00 [18:51:35]MH_I2C_Read... [18:51:35]Read from MH i2c: E2 17 00 BC 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 99 [18:51:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:51:35]wFMCommunicate OK [18:51:35]requested_item fd.num is exist - process it [18:51:35]SAM_PROTO_GetFieldsCounters [18:51:35]wFMCommunicate request_size=4 [18:51:35]MH_SAM_APDU [18:51:35]CAPDU: 80 13 00 00 [18:51:35]Write to MH i2c: E2 08 00 BD 11 80 13 00 00 00 00 00 00 4A [18:51:35]Write i2c OK [18:51:35]MH_I2C_Read... [18:51:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:51:35]Read from MH i2c: E2 [18:51:35]MH_I2C_Read... [18:51:35]Read from MH i2c: E2 62 00 [18:51:35]MH_I2C_Read... [18:51:35]Read from MH i2c: E2 62 00 BD 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C7 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [18:51:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C7 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:51:35]wFMCommunicate OK [18:51:35]SAM_PROTO_GetFieldsCounters done [18:51:35]requested_item shift.num is exist - process it [18:51:35]requested_item shift.opened is exist - process it [18:51:35]req_shift_opened [18:51:35]FM_GetShiftState [18:51:35]SAM_PROTO_GetShiftState [18:51:35]wFMCommunicate request_size=4 [18:51:35]MH_SAM_APDU [18:51:35]CAPDU: 80 13 01 00 [18:51:35]Write to MH i2c: E2 08 00 BE 11 80 13 01 00 00 00 00 00 4C [18:51:35]Write i2c OK [18:51:35]MH_I2C_Read... [18:51:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:51:35]Read from MH i2c: E2 [18:51:35]MH_I2C_Read... [18:51:35]Read from MH i2c: E2 0E 00 [18:51:35]MH_I2C_Read... [18:51:35]Read from MH i2c: E2 0E 00 BE 11 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 20 [18:51:35]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [18:51:35]wFMCommunicate OK [18:51:35]SAM_PROTO_GetShiftState done [18:51:35]FM_GetShiftState done [18:51:35]req_shift_opened done [18:51:35]requested_item shift.open_date is exist - process it [18:51:35]req_shift_open_date [18:51:35]req_shift_open_date done [18:51:35]produce_requested_data done [18:51:35]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22215,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [18:51:35]process_action_free close_receipt [18:51:35]json_value_free [18:51:35]json_value_free done [18:51:35]process_json_proto returns [18:51:35]Send response to host [18:51:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22215,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [18:51:35]free response buf [18:51:35]execute_script done [18:51:35]execute_script returns [18:51:35]free content buf [18:51:35]Sock 9.Close socket [18:51:35]Sock 9.Thread stoped [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:25]accept exits with 8 [18:53:25]New connection [18:53:25]New thread 3066838372 created [18:53:25]Thread 3066695012 joined [18:53:25]Waiting for new connection... [18:53:25] Sock 8.Parse request [18:53:25]Sock 8.Check first char [18:53:25]Sock 8.First char is OK [18:53:25]request: POST /json_proto HTTP/1.0 [18:53:25]Method: POST [18:53:25]URL: /json_proto [18:53:25]Method is POST - this is cgi request [18:53:25]url: /json_proto [18:53:25]query_string will be loaded in cgi processing [18:53:25]execute_cgi json_proto POST (null) [18:53:25]execute_cgi path=json_proto method=POST [18:53:25]POST find Content-Length [18:53:25]Host: 172.17.35.133:8080 [18:53:25]Content-Length: 740 [18:53:25]Content-Type: application/json [18:53:25] [18:53:25]POST finish read [18:53:25]Found Content-Length = 740 [18:53:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254432", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:53:25]execute_script... [18:53:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254432", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:53:25]POST & json_proto [18:53:25]process_json_proto [18:53:25]json parsed OK: [18:53:25]protocol is kg_v1.0 [18:53:25]action value=close_receipt [18:53:25]process_action close_receipt [18:53:25]cmd_close_receipt [18:53:25]MH_GetDate [18:53:25]Write to MH i2c: F0 00 00 BF 11 BF [18:53:25]Write i2c OK [18:53:25]MH_I2C_Read... [18:53:25]Read from MH i2c: F0 [18:53:25]MH_I2C_Read... [18:53:25]Read from MH i2c: F0 09 00 [18:53:25]MH_I2C_Read... [18:53:25]Read from MH i2c: F0 09 00 BF 11 00 2A E3 6D 66 8C 55 28 65 16 [18:53:25]GetLastDocTimeStamp 1718477495 [18:53:25]current date 1718477610 [18:53:25]FM_GetShiftState [18:53:25]SAM_PROTO_GetShiftState [18:53:25]wFMCommunicate request_size=4 [18:53:25]MH_SAM_APDU [18:53:25]CAPDU: 80 13 01 00 [18:53:25]Write to MH i2c: E2 08 00 C0 11 80 13 01 00 00 00 00 00 4E [18:53:25]Write i2c OK [18:53:25]MH_I2C_Read... [18:53:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:25]Read from MH i2c: E2 [18:53:25]MH_I2C_Read... [18:53:25]Read from MH i2c: E2 0E 00 [18:53:25]MH_I2C_Read... [18:53:25]Read from MH i2c: E2 0E 00 C0 11 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 22 [18:53:25]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [18:53:25]wFMCommunicate OK [18:53:25]SAM_PROTO_GetShiftState done [18:53:25]FM_GetShiftState done [18:53:25]opened in 1718410776 [18:53:25]opened+sec_in_day 1718497176 [18:53:25]quantity*price = 9500 [18:53:25]sum+1 = 9501 [18:53:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 61 15.06.2024 18:53 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22216 ФПД: 35324414413672 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T185330&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22216&fm=35324414413672&tin=02508201610067®Number=0000000000099755&sum=9500 0 [18:53:27]StoreToDocumentArchive [18:53:27]shift 326 fd 22216 [18:53:27]save to /storage/0326/doc_00022216 [18:53:27]save last doc name /storage/0326/doc_00022216 to /storage/kkm_last_doc_name [18:53:27]save OK [18:53:27]Clear old archive folders... [18:53:27]ProcessDocumentItem done err = 0, tmpTLVsize=311 [18:53:27]tlvbuf is 0021F9A0 [18:53:27]SAM_PROTO_ClearQueue [18:53:27]wFMCommunicate request_size=4 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 09 00 00 [18:53:27]Write to MH i2c: E2 08 00 CD 11 80 09 00 00 00 00 00 00 50 [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:53:27]Read from MH i2c: E2 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 CD 11 00 90 00 52 [18:53:27]RAPDU: 90 00 [18:53:27]wFMCommunicate OK [18:53:27]SAM_PROTO_ClearQueue done [18:53:27]KKMCreateOFDPacket [18:53:27]OFDProtocolAddRootSTLVToBuf [18:53:27]FM_MakeSignedData [18:53:27]FM_MakeSignedData [18:53:27]SAM_PROTO_SignData [18:53:27]wFMCommunicate request_size=4 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 0D 01 02 [18:53:27]Write to MH i2c: E2 08 00 CE 11 80 0D 01 02 00 00 00 00 58 [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:53:27]Read from MH i2c: E2 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 CE 11 00 90 00 53 [18:53:27]RAPDU: 90 00 [18:53:27]wFMCommunicate OK [18:53:27]wFMCommunicate request_size=255 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 2A E3 6D 66 0E 04 04 00 46 01 [18:53:27]Write to MH i2c: E2 02 01 CF 11 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 2A E3 6D 66 0E 04 04 00 46 01 00 00 47 [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:27]Read from MH i2c: E2 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 CF 11 00 90 00 54 [18:53:27]RAPDU: 90 00 [18:53:27]wFMCommunicate OK [18:53:27]wFMCommunicate request_size=70 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C8 56 00 00 35 04 06 00 20 20 9B 2C 4B 68 [18:53:27]Write to MH i2c: E2 49 00 D0 11 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C8 56 00 00 35 04 06 00 20 20 9B 2C 4B 68 00 00 53 [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:27]Read from MH i2c: E2 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 D0 11 00 90 00 55 [18:53:27]RAPDU: 90 00 [18:53:27]wFMCommunicate OK [18:53:27]wFMCommunicate request_size=4 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 0D 03 02 [18:53:27]Write to MH i2c: E2 08 00 D1 11 80 0D 03 02 00 00 00 00 5D [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:53:27]Read from MH i2c: E2 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 0B 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 0B 00 D1 11 00 AC FE 0B 2D 8B 40 05 BE 90 00 CE [18:53:27]RAPDU: AC FE 0B 2D 8B 40 05 BE 90 00 [18:53:27]wFMCommunicate OK [18:53:27]SAM_PROTO_SignData done [18:53:27]FM_MakeSignedData done [18:53:27]CreateOFDProtocolMessage [18:53:27]wFMCommunicate request_size=4 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 11 00 00 [18:53:27]Write to MH i2c: E2 08 00 D2 11 80 11 00 00 00 00 00 00 5D [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:27]Read from MH i2c: E2 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 17 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 17 00 D2 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AF [18:53:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:53:27]wFMCommunicate OK [18:53:27]CreateOFDProtocolMessage done [18:53:27]OFDSenderStorePacket 22216 [18:53:27]StoreOFDPacket docnum=22216 [18:53:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4B 01 00 00 65 A0 43 01 86 08 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 2A E3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C8 56 00 00 35 04 06 00 20 20 9B 2C 4B 68 AC FE 0B 2D 8B 40 05 BE [18:53:27]CheckFolder [18:53:27]dirname=/storage/ofd_packets [18:53:27]CheckFolder done [18:53:27]ProducePacketName [18:53:27]name=ofd_packets/00022216 [18:53:27]NVStorageSaveData ofd_packets/00022216 [18:53:27]File name is /storage/ofd_packets/00022216 [18:53:27]Write 361 bytes [18:53:27]NVStorageSaveData done [18:53:27]OFDSenderStorePacket done [18:53:27]KKMCreateOFDPacket done [18:53:27]NVStorageSaveData kkm_last_timestamp [18:53:27]File name is /storage/kkm_last_timestamp [18:53:27]Write 4 bytes [18:53:27]NVStorageSaveData done [18:53:27]ExternCall_PrintAddStr [18:53:27]wPrintStart [18:53:27]Write to MH i2c: 01 00 00 D3 11 E4 [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: 01 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: 01 07 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: 01 07 00 D3 11 00 00 00 00 00 FF 0F F9 [18:53:27]RasterBufferAndPrint [18:53:27]line Счет N : (3)254432 [18:53:27]line ИНН: 02508201610067 [18:53:27]line Контрольно-Кассовый Чек [18:53:27]line ПРОДАЖА [18:53:27]line Товар: 4700000481972 [18:53:27]line Напиток энерг Nitro грейпфрут-маракуйя 0 [18:53:27]line 1.000 * 95.00 [18:53:27]line = 95.00 [18:53:27]line НДС 12% НСП 1% [18:53:27]line > о реализуемом товаре [18:53:27]line ИТОГО: 95.00 [18:53:27]line НСП 1% : 0.84 [18:53:27]line НДС 12% : 10.09 [18:53:27]line Наличными: 95.00 [18:53:27]line Безнал.: 0.00 [18:53:27]line Место: АЗС № 76 "Партнер Нефть" [18:53:27]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:53:27]line СНО: Общий режим [18:53:27]line Чек 61 15.06.2024 18:53 [18:53:27]line Смена: 326 ФФД: 1.0 [18:53:27]line ЗНМ: 0300000200 [18:53:27]line РНМ: 0000000000099755 [18:53:27]line Версия ККМ: 001 [18:53:27]line ФМ: 0000000000965344 [18:53:27]line ФД: 22216 [18:53:27]line ФПД: 35324414413672 [18:53:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T185330&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22216&fm=35324414413672&tin=02508201610067®Number=0000000000099755&sum=9500 [18:53:27]line 0 [18:53:27]OFD Sender: Processing packet 22216 [packets to send 5, broken 4] [18:53:27]ProducePacketName [18:53:27]name=ofd_packets/00022216 [18:53:27]OFD Sender: To server: pG, [18:53:27]CommunicateWithHost lk.salyk.kg:30040 [18:53:27]ConnectInit lk.salyk.kg [18:53:27]written 0, free lines is 4095 [18:53:28]Connected sock=10 [18:53:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4B 01 00 00 65 A0 43 01 86 08 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 2A E3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C8 56 00 00 35 04 06 00 20 20 9B 2C 4B 68 AC FE 0B 2D 8B 40 05 BE [18:53:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 22 42 47 00 90 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C8 56 00 00 F4 03 04 00 E6 8B 6D 66 B6 04 01 00 00 71 5E FB 44 2E 6C 4D F2 [18:53:28]CommunicateWithHost err = 0 [18:53:28]CheckOFDResponse [18:53:28]1017 (14) - 77093643461234 [18:53:28]1041 (16) - 0000000000965344 [18:53:28]1040 (4) - 22216 [18:53:28]1012 (4) - 15.06.2024 12:41 [18:53:28]1206 (1) - 0 [18:53:28]OFD Sender: Remove packet 22216 [18:53:28]ProducePacketName [18:53:28]name=ofd_packets/00022216 [18:53:28]NVStorageDeleteData [18:53:28]Write to MH i2c: 01 00 00 FC 11 0D [18:53:28]Write i2c OK [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: 01 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: 01 07 00 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: 01 07 00 FC 11 00 00 00 00 00 13 0D 34 [18:53:28]RasterBufferAndPrint [18:53:28]line [18:53:28]line [18:53:28]line [18:53:28]line [18:53:28]line [18:53:28]written 0, free lines is 3357 [18:53:28]MH_Cut [18:53:28]Write to MH i2c: D1 01 00 03 12 01 E7 [18:53:28]Write i2c OK [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: D1 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: D1 01 00 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: D1 01 00 03 12 00 E6 [18:53:28]Write to MH i2c: 01 00 00 04 12 16 [18:53:28]Write i2c OK [18:53:28]MH_I2C_Read... [18:53:28]OFD Sender: No OFD packet to send [18:53:29]*** Cut start [18:53:29]*** Partial cut [18:53:29]*** CUTSNS_PIN = 1 [18:53:29]*** CUTSNS_PIN = 0 [18:53:29]*** Brake cut motor [18:53:29]Read from MH i2c: 01 [18:53:29]MH_I2C_Read... [18:53:29]*** Stop cut motor [18:53:29]*** Cut end [18:53:29]Read from MH i2c: 01 07 00 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: 01 07 00 04 12 00 00 00 00 00 FF 0F 2B [18:53:29]process_action close_receipt done [18:53:29]requested_data is exist [18:53:29]produce_requested_data [18:53:29]requested_item fm.sn is exist - process it [18:53:29]wFMCommunicate request_size=4 [18:53:29]MH_SAM_APDU [18:53:29]CAPDU: 80 11 00 00 [18:53:29]Write to MH i2c: E2 08 00 05 12 80 11 00 00 00 00 00 00 91 [18:53:29]Write i2c OK [18:53:29]MH_I2C_Read... [18:53:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:29]Read from MH i2c: E2 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: E2 17 00 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: E2 17 00 05 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E3 [18:53:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:53:29]wFMCommunicate OK [18:53:29]requested_item fd.num is exist - process it [18:53:29]SAM_PROTO_GetFieldsCounters [18:53:29]wFMCommunicate request_size=4 [18:53:29]MH_SAM_APDU [18:53:29]CAPDU: 80 13 00 00 [18:53:29]Write to MH i2c: E2 08 00 06 12 80 13 00 00 00 00 00 00 94 [18:53:29]Write i2c OK [18:53:29]MH_I2C_Read... [18:53:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:53:29]Read from MH i2c: E2 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: E2 62 00 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: E2 62 00 06 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C8 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 DA [18:53:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C8 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:53:29]wFMCommunicate OK [18:53:29]SAM_PROTO_GetFieldsCounters done [18:53:29]requested_item shift.num is exist - process it [18:53:29]requested_item shift.opened is exist - process it [18:53:29]req_shift_opened [18:53:29]FM_GetShiftState [18:53:29]SAM_PROTO_GetShiftState [18:53:29]wFMCommunicate request_size=4 [18:53:29]MH_SAM_APDU [18:53:29]CAPDU: 80 13 01 00 [18:53:29]Write to MH i2c: E2 08 00 07 12 80 13 01 00 00 00 00 00 96 [18:53:29]Write i2c OK [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: E2 [18:53:29]MH_I2C_Read... [18:53:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:29]Read from MH i2c: E2 0E 00 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: E2 0E 00 07 12 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 6A [18:53:29]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [18:53:29]wFMCommunicate OK [18:53:29]SAM_PROTO_GetShiftState done [18:53:29]FM_GetShiftState done [18:53:29]req_shift_opened done [18:53:29]requested_item shift.open_date is exist - process it [18:53:29]req_shift_open_date [18:53:29]req_shift_open_date done [18:53:29]produce_requested_data done [18:53:29]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22216,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [18:53:29]process_action_free close_receipt [18:53:29]json_value_free [18:53:29]json_value_free done [18:53:29]process_json_proto returns [18:53:29]Send response to host [18:53:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22216,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [18:53:29]free response buf [18:53:29]execute_script done [18:53:29]execute_script returns [18:53:29]free content buf [18:53:29]Sock 8.Close socket [18:53:29]Sock 8.Thread stoped [18:53:33]OFD Sender: No OFD packet to send [18:53:38]OFD Sender: No OFD packet to send [18:53:43]OFD Sender: No OFD packet to send [18:53:48]OFD Sender: No OFD packet to send [18:53:53]OFD Sender: No OFD packet to send [18:53:58]OFD Sender: No OFD packet to send [18:54:03]OFD Sender: No OFD packet to send [18:54:08]OFD Sender: No OFD packet to send [18:54:13]OFD Sender: No OFD packet to send [18:54:18]OFD Sender: No OFD packet to send [18:54:23]OFD Sender: No OFD packet to send [18:54:28]OFD Sender: No OFD packet to send [18:54:33]OFD Sender: No OFD packet to send [18:54:38]OFD Sender: No OFD packet to send [18:54:43]OFD Sender: No OFD packet to send [18:54:48]OFD Sender: No OFD packet to send [18:54:53]OFD Sender: No OFD packet to send [18:54:58]OFD Sender: No OFD packet to send [18:55:03]OFD Sender: No OFD packet to send [18:55:08]OFD Sender: No OFD packet to send [18:55:13]OFD Sender: No OFD packet to send [18:55:18]OFD Sender: No OFD packet to send [18:55:23]OFD Sender: No OFD packet to send [18:55:28]OFD Sender: No OFD packet to send [18:55:33]OFD Sender: No OFD packet to send [18:55:38]OFD Sender: No OFD packet to send [18:55:43]OFD Sender: No OFD packet to send [18:55:48]OFD Sender: No OFD packet to send [18:55:53]OFD Sender: No OFD packet to send [18:55:58]OFD Sender: No OFD packet to send [18:56:03]OFD Sender: No OFD packet to send [18:56:08]OFD Sender: No OFD packet to send [18:56:13]OFD Sender: No OFD packet to send [18:56:18]OFD Sender: No OFD packet to send [18:56:23]OFD Sender: No OFD packet to send [18:56:28]OFD Sender: No OFD packet to send [18:56:33]OFD Sender: No OFD packet to send [18:56:38]OFD Sender: No OFD packet to send [18:56:43]OFD Sender: No OFD packet to send [18:56:48]OFD Sender: No OFD packet to send [18:56:53]OFD Sender: No OFD packet to send [18:56:58]OFD Sender: No OFD packet to send [18:57:03]OFD Sender: No OFD packet to send [18:57:08]OFD Sender: No OFD packet to send [18:57:13]OFD Sender: No OFD packet to send [18:57:18]OFD Sender: No OFD packet to send [18:57:23]OFD Sender: No OFD packet to send [18:57:28]OFD Sender: No OFD packet to send [18:57:33]OFD Sender: No OFD packet to send [18:57:38]OFD Sender: No OFD packet to send [18:57:43]OFD Sender: No OFD packet to send [18:57:48]OFD Sender: No OFD packet to send [18:57:53]OFD Sender: No OFD packet to send [18:57:58]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:29]OFD Sender: No OFD packet to send [18:58:34]OFD Sender: No OFD packet to send [18:58:39]OFD Sender: No OFD packet to send [18:58:44]OFD Sender: No OFD packet to send [18:58:49]OFD Sender: No OFD packet to send [18:58:54]OFD Sender: No OFD packet to send [18:58:59]OFD Sender: No OFD packet to send [18:59:04]OFD Sender: No OFD packet to send [18:59:09]OFD Sender: No OFD packet to send [18:59:14]OFD Sender: No OFD packet to send [18:59:19]OFD Sender: No OFD packet to send [18:59:24]OFD Sender: No OFD packet to send [18:59:29]OFD Sender: No OFD packet to send [18:59:34]OFD Sender: No OFD packet to send [18:59:39]OFD Sender: No OFD packet to send [18:59:44]OFD Sender: No OFD packet to send [18:59:49]OFD Sender: No OFD packet to send [18:59:54]OFD Sender: No OFD packet to send [18:59:59]OFD Sender: No OFD packet to send [19:00:04]OFD Sender: No OFD packet to send [19:00:09]OFD Sender: No OFD packet to send [19:00:14]OFD Sender: No OFD packet to send [19:00:19]OFD Sender: No OFD packet to send [19:00:24]OFD Sender: No OFD packet to send [19:00:29]OFD Sender: No OFD packet to send [19:00:34]OFD Sender: No OFD packet to send [19:00:39]OFD Sender: No OFD packet to send [19:00:44]OFD Sender: No OFD packet to send [19:00:49]OFD Sender: No OFD packet to send [19:00:54]OFD Sender: No OFD packet to send [19:00:59]OFD Sender: No OFD packet to send [19:01:04]OFD Sender: No OFD packet to send [19:01:09]OFD Sender: No OFD packet to send [19:01:14]OFD Sender: No OFD packet to send [19:01:19]OFD Sender: No OFD packet to send [19:01:24]OFD Sender: No OFD packet to send [19:01:29]OFD Sender: No OFD packet to send [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:02:04]OFD Sender: No OFD packet to send [19:02:09]OFD Sender: No OFD packet to send [19:02:14]OFD Sender: No OFD packet to send [19:02:19]OFD Sender: No OFD packet to send [19:02:24]OFD Sender: No OFD packet to send [19:02:29]OFD Sender: No OFD packet to send [19:02:34]OFD Sender: No OFD packet to send [19:02:39]OFD Sender: No OFD packet to send [19:02:44]OFD Sender: No OFD packet to send [19:02:49]OFD Sender: No OFD packet to send [19:02:54]OFD Sender: No OFD packet to send [19:02:59]OFD Sender: No OFD packet to send [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:54]OFD Sender: No OFD packet to send [19:06:59]OFD Sender: No OFD packet to send [19:07:04]OFD Sender: No OFD packet to send [19:07:09]OFD Sender: No OFD packet to send [19:07:14]OFD Sender: No OFD packet to send [19:07:19]OFD Sender: No OFD packet to send [19:07:24]OFD Sender: No OFD packet to send [19:07:29]OFD Sender: No OFD packet to send [19:07:34]OFD Sender: No OFD packet to send [19:07:39]OFD Sender: No OFD packet to send [19:07:44]OFD Sender: No OFD packet to send [19:07:49]OFD Sender: No OFD packet to send [19:07:54]OFD Sender: No OFD packet to send [19:07:59]OFD Sender: No OFD packet to send [19:08:04]OFD Sender: No OFD packet to send [19:08:09]OFD Sender: No OFD packet to send [19:08:14]OFD Sender: No OFD packet to send [19:08:19]OFD Sender: No OFD packet to send [19:08:24]OFD Sender: No OFD packet to send [19:08:29]OFD Sender: No OFD packet to send [19:08:34]OFD Sender: No OFD packet to send [19:08:39]OFD Sender: No OFD packet to send [19:08:44]OFD Sender: No OFD packet to send [19:08:49]OFD Sender: No OFD packet to send [19:08:54]OFD Sender: No OFD packet to send [19:08:59]OFD Sender: No OFD packet to send [19:09:04]OFD Sender: No OFD packet to send [19:09:09]OFD Sender: No OFD packet to send [19:09:14]OFD Sender: No OFD packet to send [19:09:19]OFD Sender: No OFD packet to send [19:09:24]OFD Sender: No OFD packet to send [19:09:29]OFD Sender: No OFD packet to send [19:09:34]OFD Sender: No OFD packet to send [19:09:39]OFD Sender: No OFD packet to send [19:09:44]OFD Sender: No OFD packet to send [19:09:49]OFD Sender: No OFD packet to send [19:09:54]OFD Sender: No OFD packet to send [19:09:59]OFD Sender: No OFD packet to send [19:10:04]OFD Sender: No OFD packet to send [19:10:09]OFD Sender: No OFD packet to send [19:10:14]OFD Sender: No OFD packet to send [19:10:19]OFD Sender: No OFD packet to send [19:10:24]OFD Sender: No OFD packet to send [19:10:29]OFD Sender: No OFD packet to send [19:10:34]OFD Sender: No OFD packet to send [19:10:39]OFD Sender: No OFD packet to send [19:10:44]OFD Sender: No OFD packet to send [19:10:49]OFD Sender: No OFD packet to send [19:10:54]OFD Sender: No OFD packet to send [19:10:59]OFD Sender: No OFD packet to send [19:11:04]OFD Sender: No OFD packet to send [19:11:09]OFD Sender: No OFD packet to send [19:11:14]OFD Sender: No OFD packet to send [19:11:19]OFD Sender: No OFD packet to send [19:11:24]OFD Sender: No OFD packet to send [19:11:29]OFD Sender: No OFD packet to send [19:11:34]OFD Sender: No OFD packet to send [19:11:39]OFD Sender: No OFD packet to send [19:11:44]OFD Sender: No OFD packet to send [19:11:49]OFD Sender: No OFD packet to send [19:11:54]OFD Sender: No OFD packet to send [19:11:59]OFD Sender: No OFD packet to send [19:12:04]OFD Sender: No OFD packet to send [19:12:09]OFD Sender: No OFD packet to send [19:12:14]OFD Sender: No OFD packet to send [19:12:19]OFD Sender: No OFD packet to send [19:12:24]OFD Sender: No OFD packet to send [19:12:29]OFD Sender: No OFD packet to send [19:12:34]OFD Sender: No OFD packet to send [19:12:39]OFD Sender: No OFD packet to send [19:12:44]OFD Sender: No OFD packet to send [19:12:49]OFD Sender: No OFD packet to send [19:12:54]OFD Sender: No OFD packet to send [19:12:59]OFD Sender: No OFD packet to send [19:13:04]OFD Sender: No OFD packet to send [19:13:09]OFD Sender: No OFD packet to send [19:13:14]OFD Sender: No OFD packet to send [19:13:19]OFD Sender: No OFD packet to send [19:13:24]OFD Sender: No OFD packet to send [19:13:29]OFD Sender: No OFD packet to send [19:13:34]OFD Sender: No OFD packet to send [19:13:39]OFD Sender: No OFD packet to send [19:13:44]OFD Sender: No OFD packet to send [19:13:49]OFD Sender: No OFD packet to send [19:13:54]OFD Sender: No OFD packet to send [19:13:59]OFD Sender: No OFD packet to send [19:14:04]OFD Sender: No OFD packet to send [19:14:09]OFD Sender: No OFD packet to send [19:14:14]OFD Sender: No OFD packet to send [19:14:19]OFD Sender: No OFD packet to send [19:14:24]OFD Sender: No OFD packet to send [19:14:29]OFD Sender: No OFD packet to send [19:14:34]OFD Sender: No OFD packet to send [19:14:39]OFD Sender: No OFD packet to send [19:14:44]OFD Sender: No OFD packet to send [19:14:49]OFD Sender: No OFD packet to send [19:14:54]OFD Sender: No OFD packet to send [19:14:59]OFD Sender: No OFD packet to send [19:15:04]OFD Sender: No OFD packet to send [19:15:09]OFD Sender: No OFD packet to send [19:15:14]OFD Sender: No OFD packet to send [19:15:19]OFD Sender: No OFD packet to send [19:15:24]OFD Sender: No OFD packet to send [19:15:29]OFD Sender: No OFD packet to send [19:15:34]OFD Sender: No OFD packet to send [19:15:39]OFD Sender: No OFD packet to send [19:15:44]OFD Sender: No OFD packet to send [19:15:49]OFD Sender: No OFD packet to send [19:15:54]OFD Sender: No OFD packet to send [19:15:59]OFD Sender: No OFD packet to send [19:16:04]OFD Sender: No OFD packet to send [19:16:09]OFD Sender: No OFD packet to send [19:16:14]OFD Sender: No OFD packet to send [19:16:19]OFD Sender: No OFD packet to send [19:16:24]OFD Sender: No OFD packet to send [19:16:29]OFD Sender: No OFD packet to send [19:16:34]OFD Sender: No OFD packet to send [19:16:39]OFD Sender: No OFD packet to send [19:16:44]OFD Sender: No OFD packet to send [19:16:49]OFD Sender: No OFD packet to send [19:16:54]OFD Sender: No OFD packet to send [19:16:59]OFD Sender: No OFD packet to send [19:17:04]OFD Sender: No OFD packet to send [19:17:09]OFD Sender: No OFD packet to send [19:17:14]OFD Sender: No OFD packet to send [19:17:19]OFD Sender: No OFD packet to send [19:17:24]OFD Sender: No OFD packet to send [19:17:29]OFD Sender: No OFD packet to send [19:17:34]OFD Sender: No OFD packet to send [19:17:39]OFD Sender: No OFD packet to send [19:17:44]OFD Sender: No OFD packet to send [19:17:49]OFD Sender: No OFD packet to send [19:17:54]OFD Sender: No OFD packet to send [19:17:59]OFD Sender: No OFD packet to send [19:18:04]OFD Sender: No OFD packet to send [19:18:09]OFD Sender: No OFD packet to send [19:18:14]OFD Sender: No OFD packet to send [19:18:19]OFD Sender: No OFD packet to send [19:18:24]OFD Sender: No OFD packet to send [19:18:29]OFD Sender: No OFD packet to send [19:18:34]OFD Sender: No OFD packet to send [19:18:39]OFD Sender: No OFD packet to send [19:18:44]OFD Sender: No OFD packet to send [19:18:49]OFD Sender: No OFD packet to send [19:18:54]OFD Sender: No OFD packet to send [19:18:59]OFD Sender: No OFD packet to send [19:19:04]OFD Sender: No OFD packet to send [19:19:09]OFD Sender: No OFD packet to send [19:19:14]OFD Sender: No OFD packet to send [19:19:19]OFD Sender: No OFD packet to send [19:19:24]OFD Sender: No OFD packet to send [19:19:29]OFD Sender: No OFD packet to send [19:19:34]OFD Sender: No OFD packet to send [19:19:40]OFD Sender: No OFD packet to send [19:19:45]OFD Sender: No OFD packet to send [19:19:50]OFD Sender: No OFD packet to send [19:19:55]OFD Sender: No OFD packet to send [19:20:00]OFD Sender: No OFD packet to send [19:20:05]OFD Sender: No OFD packet to send [19:20:10]OFD Sender: No OFD packet to send [19:20:15]OFD Sender: No OFD packet to send [19:20:20]OFD Sender: No OFD packet to send [19:20:25]OFD Sender: No OFD packet to send [19:20:30]OFD Sender: No OFD packet to send [19:20:35]OFD Sender: No OFD packet to send [19:20:40]OFD Sender: No OFD packet to send [19:20:45]OFD Sender: No OFD packet to send [19:20:50]OFD Sender: No OFD packet to send [19:20:55]OFD Sender: No OFD packet to send [19:21:00]OFD Sender: No OFD packet to send [19:21:05]OFD Sender: No OFD packet to send [19:21:10]OFD Sender: No OFD packet to send [19:21:15]OFD Sender: No OFD packet to send [19:21:20]OFD Sender: No OFD packet to send [19:21:25]OFD Sender: No OFD packet to send [19:21:30]OFD Sender: No OFD packet to send [19:21:35]OFD Sender: No OFD packet to send [19:21:40]OFD Sender: No OFD packet to send [19:21:45]OFD Sender: No OFD packet to send [19:21:50]OFD Sender: No OFD packet to send [19:21:55]OFD Sender: No OFD packet to send [19:22:00]OFD Sender: No OFD packet to send [19:22:05]OFD Sender: No OFD packet to send [19:22:10]OFD Sender: No OFD packet to send [19:22:15]OFD Sender: No OFD packet to send [19:22:20]OFD Sender: No OFD packet to send [19:22:25]OFD Sender: No OFD packet to send [19:22:30]OFD Sender: No OFD packet to send [19:22:35]OFD Sender: No OFD packet to send [19:22:40]OFD Sender: No OFD packet to send [19:22:45]OFD Sender: No OFD packet to send [19:22:50]OFD Sender: No OFD packet to send [19:22:55]OFD Sender: No OFD packet to send [19:23:00]OFD Sender: No OFD packet to send [19:23:05]OFD Sender: No OFD packet to send [19:23:10]OFD Sender: No OFD packet to send [19:23:15]OFD Sender: No OFD packet to send [19:23:20]OFD Sender: No OFD packet to send [19:23:25]OFD Sender: No OFD packet to send [19:23:30]OFD Sender: No OFD packet to send [19:23:35]OFD Sender: No OFD packet to send [19:23:40]OFD Sender: No OFD packet to send [19:23:45]OFD Sender: No OFD packet to send [19:23:50]OFD Sender: No OFD packet to send [19:23:55]OFD Sender: No OFD packet to send [19:24:00]OFD Sender: No OFD packet to send [19:24:05]OFD Sender: No OFD packet to send [19:24:10]OFD Sender: No OFD packet to send [19:24:15]OFD Sender: No OFD packet to send [19:24:20]OFD Sender: No OFD packet to send [19:24:25]OFD Sender: No OFD packet to send [19:24:30]OFD Sender: No OFD packet to send [19:24:35]OFD Sender: No OFD packet to send [19:24:40]OFD Sender: No OFD packet to send [19:24:45]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:10]OFD Sender: No OFD packet to send [19:39:15]OFD Sender: No OFD packet to send [19:39:20]OFD Sender: No OFD packet to send [19:39:25]OFD Sender: No OFD packet to send [19:39:30]OFD Sender: No OFD packet to send [19:39:35]OFD Sender: No OFD packet to send [19:39:40]OFD Sender: No OFD packet to send [19:39:45]OFD Sender: No OFD packet to send [19:39:50]OFD Sender: No OFD packet to send [19:39:55]OFD Sender: No OFD packet to send [19:40:00]OFD Sender: No OFD packet to send [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:25]OFD Sender: No OFD packet to send [19:40:30]OFD Sender: No OFD packet to send [19:40:35]OFD Sender: No OFD packet to send [19:40:36]accept exits with 9 [19:40:36]New connection [19:40:36]New thread 3066695012 created [19:40:36]Thread 3066838372 joined [19:40:36]Waiting for new connection... [19:40:36] Sock 9.Parse request [19:40:36]Sock 9.Check first char [19:40:36]Sock 9.First char is OK [19:40:36]request: POST /json_proto HTTP/1.0 [19:40:36]Method: POST [19:40:36]URL: /json_proto [19:40:36]Method is POST - this is cgi request [19:40:36]url: /json_proto [19:40:36]query_string will be loaded in cgi processing [19:40:36]execute_cgi json_proto POST (null) [19:40:36]execute_cgi path=json_proto method=POST [19:40:36]POST find Content-Length [19:40:36]Host: 172.17.35.133:8080 [19:40:36]Content-Length: 613 [19:40:36]Content-Type: application/json [19:40:36] [19:40:36]POST finish read [19:40:36]Found Content-Length = 613 [19:40:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254433", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:40:36]execute_script... [19:40:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254433", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:40:36]POST & json_proto [19:40:36]process_json_proto [19:40:36]json parsed OK: [19:40:36]protocol is kg_v1.0 [19:40:36]action value=close_receipt [19:40:36]process_action close_receipt [19:40:36]cmd_close_receipt [19:40:36]MH_GetDate [19:40:36]Write to MH i2c: F0 00 00 08 12 09 [19:40:36]Write i2c OK [19:40:36]MH_I2C_Read... [19:40:36]Read from MH i2c: F0 [19:40:36]MH_I2C_Read... [19:40:36]Read from MH i2c: F0 09 00 [19:40:36]MH_I2C_Read... [19:40:36]Read from MH i2c: F0 09 00 08 12 00 39 EE 6D 66 8C 55 28 65 7A [19:40:36]GetLastDocTimeStamp 1718477610 [19:40:36]current date 1718480441 [19:40:36]FM_GetShiftState [19:40:36]SAM_PROTO_GetShiftState [19:40:36]wFMCommunicate request_size=4 [19:40:36]MH_SAM_APDU [19:40:36]CAPDU: 80 13 01 00 [19:40:36]Write to MH i2c: E2 08 00 09 12 80 13 01 00 00 00 00 00 98 [19:40:36]Write i2c OK [19:40:36]MH_I2C_Read... [19:40:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:40:36]Read from MH i2c: E2 [19:40:36]MH_I2C_Read... [19:40:36]Read from MH i2c: E2 0E 00 [19:40:36]MH_I2C_Read... [19:40:36]Read from MH i2c: E2 0E 00 09 12 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 6C [19:40:36]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [19:40:36]wFMCommunicate OK [19:40:36]SAM_PROTO_GetShiftState done [19:40:36]FM_GetShiftState done [19:40:36]opened in 1718410776 [19:40:36]opened+sec_in_day 1718497176 [19:40:36]quantity*price = 8000 [19:40:36]sum+1 = 8001 [19:40:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 62 15.06.2024 19:40 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22217 ФПД: 22280536372128 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T194041&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22217&fm=22280536372128&tin=02508201610067®Number=0000000000099755&sum=8000 0 [19:40:37]StoreToDocumentArchive [19:40:37]shift 326 fd 22217 [19:40:37]save to /storage/0326/doc_00022217 [19:40:37]save last doc name /storage/0326/doc_00022217 to /storage/kkm_last_doc_name [19:40:37]save OK [19:40:37]Clear old archive folders... [19:40:37]ProcessDocumentItem done err = 0, tmpTLVsize=268 [19:40:37]tlvbuf is 001BB9B0 [19:40:37]SAM_PROTO_ClearQueue [19:40:37]wFMCommunicate request_size=4 [19:40:37]MH_SAM_APDU [19:40:37]CAPDU: 80 09 00 00 [19:40:37]Write to MH i2c: E2 08 00 16 12 80 09 00 00 00 00 00 00 9A [19:40:37]Write i2c OK [19:40:37]MH_I2C_Read... [19:40:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:40:37]Read from MH i2c: E2 [19:40:37]MH_I2C_Read... [19:40:37]Read from MH i2c: E2 03 00 [19:40:37]MH_I2C_Read... [19:40:37]Read from MH i2c: E2 03 00 16 12 00 90 00 9C [19:40:37]RAPDU: 90 00 [19:40:37]wFMCommunicate OK [19:40:37]SAM_PROTO_ClearQueue done [19:40:37]KKMCreateOFDPacket [19:40:37]OFDProtocolAddRootSTLVToBuf [19:40:37]FM_MakeSignedData [19:40:37]FM_MakeSignedData [19:40:37]SAM_PROTO_SignData [19:40:37]wFMCommunicate request_size=4 [19:40:37]MH_SAM_APDU [19:40:37]CAPDU: 80 0D 01 02 [19:40:37]Write to MH i2c: E2 08 00 17 12 80 0D 01 02 00 00 00 00 A2 [19:40:37]Write i2c OK [19:40:37]MH_I2C_Read... [19:40:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:40:38]Read from MH i2c: E2 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 03 00 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 03 00 17 12 00 90 00 9D [19:40:38]RAPDU: 90 00 [19:40:38]wFMCommunicate OK [19:40:38]wFMCommunicate request_size=255 [19:40:38]MH_SAM_APDU [19:40:38]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 39 EE 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [19:40:38]Write to MH i2c: E2 02 01 18 12 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 39 EE 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 3E [19:40:38]Write i2c OK [19:40:38]MH_I2C_Read... [19:40:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:40:38]Read from MH i2c: E2 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 03 00 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 03 00 18 12 00 90 00 9E [19:40:38]RAPDU: 90 00 [19:40:38]wFMCommunicate OK [19:40:38]wFMCommunicate request_size=27 [19:40:38]MH_SAM_APDU [19:40:38]CAPDU: 80 0D 02 02 16 35 33 34 34 10 04 04 00 C9 56 00 00 35 04 06 00 14 43 97 74 B3 A0 [19:40:38]Write to MH i2c: E2 1E 00 19 12 80 0D 02 02 16 00 35 33 34 34 10 04 04 00 C9 56 00 00 35 04 06 00 14 43 97 74 B3 A0 00 00 CC [19:40:38]Write i2c OK [19:40:38]MH_I2C_Read... [19:40:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:40:38]Read from MH i2c: E2 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 03 00 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 03 00 19 12 00 90 00 9F [19:40:38]RAPDU: 90 00 [19:40:38]wFMCommunicate OK [19:40:38]wFMCommunicate request_size=4 [19:40:38]MH_SAM_APDU [19:40:38]CAPDU: 80 0D 03 02 [19:40:38]Write to MH i2c: E2 08 00 1A 12 80 0D 03 02 00 00 00 00 A7 [19:40:38]Write i2c OK [19:40:38]MH_I2C_Read... [19:40:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:40:38]Read from MH i2c: E2 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 0B 00 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 0B 00 1A 12 00 15 AD 4B 1F FF 24 EB 05 90 00 E7 [19:40:38]RAPDU: 15 AD 4B 1F FF 24 EB 05 90 00 [19:40:38]wFMCommunicate OK [19:40:38]SAM_PROTO_SignData done [19:40:38]FM_MakeSignedData done [19:40:38]CreateOFDProtocolMessage [19:40:38]wFMCommunicate request_size=4 [19:40:38]MH_SAM_APDU [19:40:38]CAPDU: 80 11 00 00 [19:40:38]Write to MH i2c: E2 08 00 1B 12 80 11 00 00 00 00 00 00 A7 [19:40:38]Write i2c OK [19:40:38]MH_I2C_Read... [19:40:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:40:38]Read from MH i2c: E2 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 17 00 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: E2 17 00 1B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F9 [19:40:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:40:38]wFMCommunicate OK [19:40:38]CreateOFDProtocolMessage done [19:40:38]OFDSenderStorePacket 22217 [19:40:38]StoreOFDPacket docnum=22217 [19:40:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 20 01 00 00 A4 88 18 01 23 44 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 39 EE 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C9 56 00 00 35 04 06 00 14 43 97 74 B3 A0 15 AD 4B 1F FF 24 EB 05 [19:40:38]CheckFolder [19:40:38]dirname=/storage/ofd_packets [19:40:38]CheckFolder done [19:40:38]ProducePacketName [19:40:38]name=ofd_packets/00022217 [19:40:38]NVStorageSaveData ofd_packets/00022217 [19:40:38]File name is /storage/ofd_packets/00022217 [19:40:38]Write 318 bytes [19:40:38]NVStorageSaveData done [19:40:38]OFDSenderStorePacket done [19:40:38]KKMCreateOFDPacket done [19:40:38]NVStorageSaveData kkm_last_timestamp [19:40:38]File name is /storage/kkm_last_timestamp [19:40:38]Write 4 bytes [19:40:38]NVStorageSaveData done [19:40:38]ExternCall_PrintAddStr [19:40:38]wPrintStart [19:40:38]Write to MH i2c: 01 00 00 1C 12 2E [19:40:38]Write i2c OK [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: 01 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: 01 07 00 [19:40:38]MH_I2C_Read... [19:40:38]Read from MH i2c: 01 07 00 1C 12 00 00 00 00 00 FF 0F 43 [19:40:38]RasterBufferAndPrint [19:40:38]line Счет N : (3)254433 [19:40:38]line ИНН: 02508201610067 [19:40:38]line Контрольно-Кассовый Чек [19:40:38]line ПРОДАЖА [19:40:38]line Товар: 4870001570057 [19:40:38]line Напиток Pepsi 0,5л [19:40:38]line 1.000 * 80.00 [19:40:38]line = 80.00 [19:40:38]line НДС 12% НСП 1% [19:40:38]line > о реализуемом товаре [19:40:38]line ИТОГО: 80.00 [19:40:38]line НСП 1% : 0.71 [19:40:38]line НДС 12% : 8.50 [19:40:38]line Наличными: 80.00 [19:40:38]line Безнал.: 0.00 [19:40:38]line Место: АЗС № 76 "Партнер Нефть" [19:40:38]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:40:38]line СНО: Общий режим [19:40:38]line Чек 62 15.06.2024 19:40 [19:40:38]line Смена: 326 ФФД: 1.0 [19:40:38]line ЗНМ: 0300000200 [19:40:38]line РНМ: 0000000000099755 [19:40:38]line Версия ККМ: 001 [19:40:38]line ФМ: 0000000000965344 [19:40:38]line ФД: 22217 [19:40:38]line ФПД: 22280536372128 [19:40:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T194041&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22217&fm=22280536372128&tin=02508201610067®Number=0000000000099755&sum=8000 [19:40:38]line 0 [19:40:38]OFD Sender: Processing packet 22217 [packets to send 5, broken 4] [19:40:38]ProducePacketName [19:40:38]name=ofd_packets/00022217 [19:40:38]OFD Sender: To server: pG, [19:40:38]CommunicateWithHost lk.salyk.kg:30040 [19:40:38]ConnectInit lk.salyk.kg [19:40:38]written 0, free lines is 4095 [19:40:38]Connected sock=10 [19:40:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 20 01 00 00 A4 88 18 01 23 44 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 39 EE 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C9 56 00 00 35 04 06 00 14 43 97 74 B3 A0 15 AD 4B 1F FF 24 EB 05 [19:40:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 24 ED 47 00 3A BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 C9 56 00 00 F4 03 04 00 F5 96 6D 66 B6 04 01 00 00 72 20 72 AB DF 80 7F E6 [19:40:39]CommunicateWithHost err = 0 [19:40:39]CheckOFDResponse [19:40:39]1017 (14) - 77093643461234 [19:40:39]1041 (16) - 0000000000965344 [19:40:39]1040 (4) - 22217 [19:40:39]1012 (4) - 15.06.2024 13:28 [19:40:39]1206 (1) - 0 [19:40:39]OFD Sender: Remove packet 22217 [19:40:39]ProducePacketName [19:40:39]name=ofd_packets/00022217 [19:40:39]NVStorageDeleteData [19:40:39]Write to MH i2c: 01 00 00 44 12 56 [19:40:39]Write i2c OK [19:40:39]MH_I2C_Read... [19:40:39]Read from MH i2c: 01 [19:40:39]MH_I2C_Read... [19:40:39]Read from MH i2c: 01 07 00 [19:40:39]MH_I2C_Read... [19:40:39]Read from MH i2c: 01 07 00 44 12 00 00 00 00 00 14 0D 7E [19:40:39]RasterBufferAndPrint [19:40:39]line [19:40:39]line [19:40:39]line [19:40:39]line [19:40:39]line [19:40:39]written 0, free lines is 3358 [19:40:39]MH_Cut [19:40:39]Write to MH i2c: D1 01 00 4B 12 01 2F [19:40:39]Write i2c OK [19:40:39]MH_I2C_Read... [19:40:39]Read from MH i2c: D1 [19:40:39]MH_I2C_Read... [19:40:39]Read from MH i2c: D1 01 00 [19:40:39]MH_I2C_Read... [19:40:39]Read from MH i2c: D1 01 00 4B 12 00 2E [19:40:39]Write to MH i2c: 01 00 00 4C 12 5E [19:40:39]Write i2c OK [19:40:39]MH_I2C_Read... [19:40:39]OFD Sender: No OFD packet to send [19:40:39]*** Cut start [19:40:39]*** Partial cut [19:40:39]*** CUTSNS_PIN = 1 [19:40:39]*** CUTSNS_PIN = 0 [19:40:40]*** Brake cut motor [19:40:40]Read from MH i2c: 01 [19:40:40]MH_I2C_Read... [19:40:40]*** Stop cut motor [19:40:40]*** Cut end [19:40:40]Read from MH i2c: 01 07 00 [19:40:40]MH_I2C_Read... [19:40:40]Read from MH i2c: 01 07 00 4C 12 00 00 00 00 00 FF 0F 73 [19:40:40]process_action close_receipt done [19:40:40]requested_data is exist [19:40:40]produce_requested_data [19:40:40]requested_item fm.sn is exist - process it [19:40:40]wFMCommunicate request_size=4 [19:40:40]MH_SAM_APDU [19:40:40]CAPDU: 80 11 00 00 [19:40:40]Write to MH i2c: E2 08 00 4D 12 80 11 00 00 00 00 00 00 D9 [19:40:40]Write i2c OK [19:40:40]MH_I2C_Read... [19:40:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:40:40]Read from MH i2c: E2 [19:40:40]MH_I2C_Read... [19:40:40]Read from MH i2c: E2 17 00 [19:40:40]MH_I2C_Read... [19:40:40]Read from MH i2c: E2 17 00 4D 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2B [19:40:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:40:40]wFMCommunicate OK [19:40:40]requested_item fd.num is exist - process it [19:40:40]SAM_PROTO_GetFieldsCounters [19:40:40]wFMCommunicate request_size=4 [19:40:40]MH_SAM_APDU [19:40:40]CAPDU: 80 13 00 00 [19:40:40]Write to MH i2c: E2 08 00 4E 12 80 13 00 00 00 00 00 00 DC [19:40:40]Write i2c OK [19:40:40]MH_I2C_Read... [19:40:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:40:40]Read from MH i2c: E2 [19:40:40]MH_I2C_Read... [19:40:40]Read from MH i2c: E2 62 00 [19:40:40]MH_I2C_Read... [19:40:40]Read from MH i2c: E2 62 00 4E 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 26 [19:40:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 C9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:40:40]wFMCommunicate OK [19:40:40]SAM_PROTO_GetFieldsCounters done [19:40:40]requested_item shift.num is exist - process it [19:40:40]requested_item shift.opened is exist - process it [19:40:40]req_shift_opened [19:40:40]FM_GetShiftState [19:40:40]SAM_PROTO_GetShiftState [19:40:40]wFMCommunicate request_size=4 [19:40:40]MH_SAM_APDU [19:40:40]CAPDU: 80 13 01 00 [19:40:40]Write to MH i2c: E2 08 00 4F 12 80 13 01 00 00 00 00 00 DE [19:40:40]Write i2c OK [19:40:40]MH_I2C_Read... [19:40:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:40:40]Read from MH i2c: E2 [19:40:40]MH_I2C_Read... [19:40:40]Read from MH i2c: E2 0E 00 [19:40:40]MH_I2C_Read... [19:40:40]Read from MH i2c: E2 0E 00 4F 12 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 B2 [19:40:40]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [19:40:40]wFMCommunicate OK [19:40:40]SAM_PROTO_GetShiftState done [19:40:40]FM_GetShiftState done [19:40:40]req_shift_opened done [19:40:40]requested_item shift.open_date is exist - process it [19:40:40]req_shift_open_date [19:40:40]req_shift_open_date done [19:40:40]produce_requested_data done [19:40:40]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22217,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [19:40:40]process_action_free close_receipt [19:40:40]json_value_free [19:40:40]json_value_free done [19:40:40]process_json_proto returns [19:40:40]Send response to host [19:40:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22217,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [19:40:40]free response buf [19:40:40]execute_script done [19:40:40]execute_script returns [19:40:40]free content buf [19:40:40]Sock 9.Close socket [19:40:40]Sock 9.Thread stoped [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:04]OFD Sender: No OFD packet to send [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:39]OFD Sender: No OFD packet to send [19:43:44]OFD Sender: No OFD packet to send [19:43:49]OFD Sender: No OFD packet to send [19:43:54]OFD Sender: No OFD packet to send [19:43:59]OFD Sender: No OFD packet to send [19:44:04]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:39]OFD Sender: No OFD packet to send [19:44:44]OFD Sender: No OFD packet to send [19:44:49]OFD Sender: No OFD packet to send [19:44:54]OFD Sender: No OFD packet to send [19:44:59]OFD Sender: No OFD packet to send [19:45:04]OFD Sender: No OFD packet to send [19:45:09]OFD Sender: No OFD packet to send [19:45:14]OFD Sender: No OFD packet to send [19:45:19]OFD Sender: No OFD packet to send [19:45:24]OFD Sender: No OFD packet to send [19:45:29]OFD Sender: No OFD packet to send [19:45:34]OFD Sender: No OFD packet to send [19:45:39]OFD Sender: No OFD packet to send [19:45:44]OFD Sender: No OFD packet to send [19:45:49]OFD Sender: No OFD packet to send [19:45:54]OFD Sender: No OFD packet to send [19:45:59]OFD Sender: No OFD packet to send [19:46:04]OFD Sender: No OFD packet to send [19:46:09]OFD Sender: No OFD packet to send [19:46:14]OFD Sender: No OFD packet to send [19:46:19]OFD Sender: No OFD packet to send [19:46:24]OFD Sender: No OFD packet to send [19:46:29]OFD Sender: No OFD packet to send [19:46:34]OFD Sender: No OFD packet to send [19:46:39]OFD Sender: No OFD packet to send [19:46:44]OFD Sender: No OFD packet to send [19:46:49]OFD Sender: No OFD packet to send [19:46:54]OFD Sender: No OFD packet to send [19:46:59]OFD Sender: No OFD packet to send [19:47:04]OFD Sender: No OFD packet to send [19:47:09]OFD Sender: No OFD packet to send [19:47:14]OFD Sender: No OFD packet to send [19:47:19]OFD Sender: No OFD packet to send [19:47:24]OFD Sender: No OFD packet to send [19:47:29]OFD Sender: No OFD packet to send [19:47:34]OFD Sender: No OFD packet to send [19:47:39]OFD Sender: No OFD packet to send [19:47:44]OFD Sender: No OFD packet to send [19:47:49]OFD Sender: No OFD packet to send [19:47:54]OFD Sender: No OFD packet to send [19:47:59]OFD Sender: No OFD packet to send [19:48:04]OFD Sender: No OFD packet to send [19:48:09]OFD Sender: No OFD packet to send [19:48:14]OFD Sender: No OFD packet to send [19:48:19]OFD Sender: No OFD packet to send [19:48:24]OFD Sender: No OFD packet to send [19:48:29]OFD Sender: No OFD packet to send [19:48:34]OFD Sender: No OFD packet to send [19:48:39]OFD Sender: No OFD packet to send [19:48:45]OFD Sender: No OFD packet to send [19:48:50]OFD Sender: No OFD packet to send [19:48:55]OFD Sender: No OFD packet to send [19:49:00]OFD Sender: No OFD packet to send [19:49:05]OFD Sender: No OFD packet to send [19:49:10]OFD Sender: No OFD packet to send [19:49:15]OFD Sender: No OFD packet to send [19:49:20]OFD Sender: No OFD packet to send [19:49:25]OFD Sender: No OFD packet to send [19:49:30]OFD Sender: No OFD packet to send [19:49:35]OFD Sender: No OFD packet to send [19:49:40]OFD Sender: No OFD packet to send [19:49:45]OFD Sender: No OFD packet to send [19:49:50]OFD Sender: No OFD packet to send [19:49:55]OFD Sender: No OFD packet to send [19:50:00]OFD Sender: No OFD packet to send [19:50:05]OFD Sender: No OFD packet to send [19:50:10]OFD Sender: No OFD packet to send [19:50:15]OFD Sender: No OFD packet to send [19:50:20]OFD Sender: No OFD packet to send [19:50:25]OFD Sender: No OFD packet to send [19:50:30]OFD Sender: No OFD packet to send [19:50:35]OFD Sender: No OFD packet to send [19:50:40]OFD Sender: No OFD packet to send [19:50:45]OFD Sender: No OFD packet to send [19:50:50]OFD Sender: No OFD packet to send [19:50:55]OFD Sender: No OFD packet to send [19:51:00]OFD Sender: No OFD packet to send [19:51:05]OFD Sender: No OFD packet to send [19:51:10]OFD Sender: No OFD packet to send [19:51:15]OFD Sender: No OFD packet to send [19:51:20]OFD Sender: No OFD packet to send [19:51:25]OFD Sender: No OFD packet to send [19:51:30]OFD Sender: No OFD packet to send [19:51:35]OFD Sender: No OFD packet to send [19:51:40]OFD Sender: No OFD packet to send [19:51:45]OFD Sender: No OFD packet to send [19:51:50]OFD Sender: No OFD packet to send [19:51:55]OFD Sender: No OFD packet to send [19:52:00]OFD Sender: No OFD packet to send [19:52:05]OFD Sender: No OFD packet to send [19:52:10]OFD Sender: No OFD packet to send [19:52:15]OFD Sender: No OFD packet to send [19:52:20]OFD Sender: No OFD packet to send [19:52:25]OFD Sender: No OFD packet to send [19:52:30]OFD Sender: No OFD packet to send [19:52:35]OFD Sender: No OFD packet to send [19:52:40]OFD Sender: No OFD packet to send [19:52:45]OFD Sender: No OFD packet to send [19:52:50]OFD Sender: No OFD packet to send [19:52:55]OFD Sender: No OFD packet to send [19:53:00]OFD Sender: No OFD packet to send [19:53:05]OFD Sender: No OFD packet to send [19:53:10]OFD Sender: No OFD packet to send [19:53:15]OFD Sender: No OFD packet to send [19:53:20]OFD Sender: No OFD packet to send [19:53:25]OFD Sender: No OFD packet to send [19:53:30]OFD Sender: No OFD packet to send [19:53:35]OFD Sender: No OFD packet to send [19:53:40]OFD Sender: No OFD packet to send [19:53:45]OFD Sender: No OFD packet to send [19:53:50]OFD Sender: No OFD packet to send [19:53:55]OFD Sender: No OFD packet to send [19:54:00]OFD Sender: No OFD packet to send [19:54:05]OFD Sender: No OFD packet to send [19:54:10]OFD Sender: No OFD packet to send [19:54:15]OFD Sender: No OFD packet to send [19:54:20]OFD Sender: No OFD packet to send [19:54:25]OFD Sender: No OFD packet to send [19:54:30]OFD Sender: No OFD packet to send [19:54:35]OFD Sender: No OFD packet to send [19:54:40]OFD Sender: No OFD packet to send [19:54:45]OFD Sender: No OFD packet to send [19:54:50]OFD Sender: No OFD packet to send [19:54:55]OFD Sender: No OFD packet to send [19:55:00]OFD Sender: No OFD packet to send [19:55:05]OFD Sender: No OFD packet to send [19:55:10]OFD Sender: No OFD packet to send [19:55:15]OFD Sender: No OFD packet to send [19:55:20]OFD Sender: No OFD packet to send [19:55:25]OFD Sender: No OFD packet to send [19:55:30]OFD Sender: No OFD packet to send [19:55:35]OFD Sender: No OFD packet to send [19:55:40]OFD Sender: No OFD packet to send [19:55:45]OFD Sender: No OFD packet to send [19:55:50]OFD Sender: No OFD packet to send [19:55:55]OFD Sender: No OFD packet to send [19:56:00]OFD Sender: No OFD packet to send [19:56:05]OFD Sender: No OFD packet to send [19:56:10]OFD Sender: No OFD packet to send [19:56:15]OFD Sender: No OFD packet to send [19:56:20]OFD Sender: No OFD packet to send [19:56:25]OFD Sender: No OFD packet to send [19:56:30]OFD Sender: No OFD packet to send [19:56:35]OFD Sender: No OFD packet to send [19:56:40]OFD Sender: No OFD packet to send [19:56:45]OFD Sender: No OFD packet to send [19:56:50]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:25]OFD Sender: No OFD packet to send [19:58:30]OFD Sender: No OFD packet to send [19:58:35]OFD Sender: No OFD packet to send [19:58:40]OFD Sender: No OFD packet to send [19:58:45]OFD Sender: No OFD packet to send [19:58:50]OFD Sender: No OFD packet to send [19:58:55]OFD Sender: No OFD packet to send [19:59:00]OFD Sender: No OFD packet to send [19:59:05]OFD Sender: No OFD packet to send [19:59:10]OFD Sender: No OFD packet to send [19:59:15]OFD Sender: No OFD packet to send [19:59:20]OFD Sender: No OFD packet to send [19:59:25]OFD Sender: No OFD packet to send [19:59:30]OFD Sender: No OFD packet to send [19:59:35]OFD Sender: No OFD packet to send [19:59:40]OFD Sender: No OFD packet to send [19:59:45]OFD Sender: No OFD packet to send [19:59:50]OFD Sender: No OFD packet to send [19:59:55]OFD Sender: No OFD packet to send [20:00:00]OFD Sender: No OFD packet to send [20:00:05]OFD Sender: No OFD packet to send [20:00:10]OFD Sender: No OFD packet to send [20:00:15]OFD Sender: No OFD packet to send [20:00:20]OFD Sender: No OFD packet to send [20:00:25]OFD Sender: No OFD packet to send [20:00:30]OFD Sender: No OFD packet to send [20:00:35]OFD Sender: No OFD packet to send [20:00:40]OFD Sender: No OFD packet to send [20:00:45]OFD Sender: No OFD packet to send [20:00:50]OFD Sender: No OFD packet to send [20:00:55]OFD Sender: No OFD packet to send [20:01:00]OFD Sender: No OFD packet to send [20:01:05]OFD Sender: No OFD packet to send [20:01:10]OFD Sender: No OFD packet to send [20:01:15]OFD Sender: No OFD packet to send [20:01:20]OFD Sender: No OFD packet to send [20:01:25]OFD Sender: No OFD packet to send [20:01:30]OFD Sender: No OFD packet to send [20:01:35]OFD Sender: No OFD packet to send [20:01:40]OFD Sender: No OFD packet to send [20:01:45]OFD Sender: No OFD packet to send [20:01:50]OFD Sender: No OFD packet to send [20:01:55]OFD Sender: No OFD packet to send [20:02:00]OFD Sender: No OFD packet to send [20:02:05]OFD Sender: No OFD packet to send [20:02:10]OFD Sender: No OFD packet to send [20:02:15]OFD Sender: No OFD packet to send [20:02:20]OFD Sender: No OFD packet to send [20:02:25]OFD Sender: No OFD packet to send [20:02:30]OFD Sender: No OFD packet to send [20:02:35]OFD Sender: No OFD packet to send [20:02:40]OFD Sender: No OFD packet to send [20:02:45]OFD Sender: No OFD packet to send [20:02:50]OFD Sender: No OFD packet to send [20:02:55]OFD Sender: No OFD packet to send [20:03:00]OFD Sender: No OFD packet to send [20:03:05]OFD Sender: No OFD packet to send [20:03:10]OFD Sender: No OFD packet to send [20:03:15]OFD Sender: No OFD packet to send [20:03:20]OFD Sender: No OFD packet to send [20:03:25]OFD Sender: No OFD packet to send [20:03:30]OFD Sender: No OFD packet to send [20:03:35]OFD Sender: No OFD packet to send [20:03:40]OFD Sender: No OFD packet to send [20:03:45]OFD Sender: No OFD packet to send [20:03:50]OFD Sender: No OFD packet to send [20:03:55]OFD Sender: No OFD packet to send [20:04:00]OFD Sender: No OFD packet to send [20:04:05]OFD Sender: No OFD packet to send [20:04:10]OFD Sender: No OFD packet to send [20:04:15]OFD Sender: No OFD packet to send [20:04:20]OFD Sender: No OFD packet to send [20:04:25]OFD Sender: No OFD packet to send [20:04:30]OFD Sender: No OFD packet to send [20:04:35]OFD Sender: No OFD packet to send [20:04:40]OFD Sender: No OFD packet to send [20:04:45]OFD Sender: No OFD packet to send [20:04:50]OFD Sender: No OFD packet to send [20:04:55]OFD Sender: No OFD packet to send [20:05:00]OFD Sender: No OFD packet to send [20:05:05]OFD Sender: No OFD packet to send [20:05:10]accept exits with 8 [20:05:10]New connection [20:05:10]New thread 3066838372 created [20:05:10]Thread 3066695012 joined [20:05:10]Waiting for new connection... [20:05:10] Sock 8.Parse request [20:05:10]Sock 8.Check first char [20:05:10]Sock 8.First char is OK [20:05:10]request: POST /json_proto HTTP/1.0 [20:05:10]Method: POST [20:05:10]URL: /json_proto [20:05:10]Method is POST - this is cgi request [20:05:10]url: /json_proto [20:05:10]query_string will be loaded in cgi processing [20:05:10]execute_cgi json_proto POST (null) [20:05:10]execute_cgi path=json_proto method=POST [20:05:10]POST find Content-Length [20:05:10]Host: 172.17.35.133:8080 [20:05:10]Content-Length: 1168 [20:05:10]Content-Type: application/json [20:05:10] [20:05:10]POST finish read [20:05:10]Found Content-Length = 1168 [20:05:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254434", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 269.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:05:10]execute_script... [20:05:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254434", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 269.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:05:10]POST & json_proto [20:05:10]process_json_proto [20:05:10]json parsed OK: [20:05:10]protocol is kg_v1.0 [20:05:10]action value=close_receipt [20:05:10]process_action close_receipt [20:05:10]cmd_close_receipt [20:05:10]MH_GetDate [20:05:10]Write to MH i2c: F0 00 00 50 12 51 [20:05:10]Write i2c OK [20:05:10]MH_I2C_Read... [20:05:10]Read from MH i2c: F0 [20:05:10]MH_I2C_Read... [20:05:10]Read from MH i2c: F0 09 00 [20:05:10]MH_I2C_Read... [20:05:10]Read from MH i2c: F0 09 00 50 12 00 FA F3 6D 66 8C 55 28 65 88 [20:05:10]GetLastDocTimeStamp 1718480441 [20:05:10]current date 1718481914 [20:05:10]FM_GetShiftState [20:05:10]SAM_PROTO_GetShiftState [20:05:10]wFMCommunicate request_size=4 [20:05:10]MH_SAM_APDU [20:05:10]CAPDU: 80 13 01 00 [20:05:10]Write to MH i2c: E2 08 00 51 12 80 13 01 00 00 00 00 00 E0 [20:05:10]Write i2c OK [20:05:10]MH_I2C_Read... [20:05:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:05:10]Read from MH i2c: E2 [20:05:10]MH_I2C_Read... [20:05:10]Read from MH i2c: E2 0E 00 [20:05:10]MH_I2C_Read... [20:05:10]Read from MH i2c: E2 0E 00 51 12 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 B4 [20:05:10]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:05:10]wFMCommunicate OK [20:05:10]SAM_PROTO_GetShiftState done [20:05:10]FM_GetShiftState done [20:05:10]opened in 1718410776 [20:05:10]opened+sec_in_day 1718497176 [20:05:10]quantity*price = 17000 [20:05:10]sum+1 = 17001 [20:05:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 269.00 НСП 1% : 2.37 НДС 12% : 28.56 Наличными: 269.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 63 15.06.2024 20:05 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22218 ФПД: 188314810201750 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T200514&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22218&fm=188314810201750&tin=02508201610067®Number=0000000000099755&sum=26900 0 [20:05:11]StoreToDocumentArchive [20:05:11]shift 326 fd 22218 [20:05:11]save to /storage/0326/doc_00022218 [20:05:11]save last doc name /storage/0326/doc_00022218 to /storage/kkm_last_doc_name [20:05:11]save OK [20:05:11]Clear old archive folders... [20:05:11]ProcessDocumentItem done err = 0, tmpTLVsize=493 [20:05:11]tlvbuf is 001FAD70 [20:05:11]SAM_PROTO_ClearQueue [20:05:11]wFMCommunicate request_size=4 [20:05:11]MH_SAM_APDU [20:05:11]CAPDU: 80 09 00 00 [20:05:11]Write to MH i2c: E2 08 00 5E 12 80 09 00 00 00 00 00 00 E2 [20:05:11]Write i2c OK [20:05:11]MH_I2C_Read... [20:05:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:05:11]Read from MH i2c: E2 [20:05:11]MH_I2C_Read... [20:05:11]Read from MH i2c: E2 03 00 [20:05:11]MH_I2C_Read... [20:05:11]Read from MH i2c: E2 03 00 5E 12 00 90 00 E4 [20:05:11]RAPDU: 90 00 [20:05:11]wFMCommunicate OK [20:05:11]SAM_PROTO_ClearQueue done [20:05:11]KKMCreateOFDPacket [20:05:11]OFDProtocolAddRootSTLVToBuf [20:05:11]FM_MakeSignedData [20:05:11]FM_MakeSignedData [20:05:11]SAM_PROTO_SignData [20:05:11]wFMCommunicate request_size=4 [20:05:11]MH_SAM_APDU [20:05:11]CAPDU: 80 0D 01 02 [20:05:11]Write to MH i2c: E2 08 00 5F 12 80 0D 01 02 00 00 00 00 EA [20:05:11]Write i2c OK [20:05:11]MH_I2C_Read... [20:05:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:05:11]Read from MH i2c: E2 [20:05:11]MH_I2C_Read... [20:05:11]Read from MH i2c: E2 03 00 [20:05:11]MH_I2C_Read... [20:05:11]Read from MH i2c: E2 03 00 5F 12 00 90 00 E5 [20:05:11]RAPDU: 90 00 [20:05:11]wFMCommunicate OK [20:05:11]wFMCommunicate request_size=255 [20:05:11]MH_SAM_APDU [20:05:11]CAPDU: 80 0D 02 02 FA 03 00 ED 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 [20:05:11]Write to MH i2c: E2 02 01 60 12 80 0D 02 02 FA 00 03 00 ED 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 00 00 F8 [20:05:11]Write i2c OK [20:05:11]MH_I2C_Read... [20:05:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:05:12]Read from MH i2c: E2 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: E2 03 00 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: E2 03 00 60 12 00 90 00 E6 [20:05:12]RAPDU: 90 00 [20:05:12]wFMCommunicate OK [20:05:12]wFMCommunicate request_size=252 [20:05:12]MH_SAM_APDU [20:05:12]CAPDU: 80 0D 02 02 F7 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 FA F3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CA 56 00 00 35 04 06 00 AB 45 75 5E 36 96 [20:05:12]Write to MH i2c: E2 FF 00 61 12 80 0D 02 02 F7 00 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 FA F3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CA 56 00 00 35 04 06 00 AB 45 75 5E 36 96 00 00 FF [20:05:12]Write i2c OK [20:05:12]MH_I2C_Read... [20:05:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:05:12]Read from MH i2c: E2 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: E2 03 00 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: E2 03 00 61 12 00 90 00 E7 [20:05:12]RAPDU: 90 00 [20:05:12]wFMCommunicate OK [20:05:12]wFMCommunicate request_size=4 [20:05:12]MH_SAM_APDU [20:05:12]CAPDU: 80 0D 03 02 [20:05:12]Write to MH i2c: E2 08 00 62 12 80 0D 03 02 00 00 00 00 EF [20:05:12]Write i2c OK [20:05:12]MH_I2C_Read... [20:05:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:05:12]Read from MH i2c: E2 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: E2 0B 00 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: E2 0B 00 62 12 00 CA BD 5C 63 58 81 27 D5 90 00 0B [20:05:12]RAPDU: CA BD 5C 63 58 81 27 D5 90 00 [20:05:12]wFMCommunicate OK [20:05:12]SAM_PROTO_SignData done [20:05:12]FM_MakeSignedData done [20:05:12]CreateOFDProtocolMessage [20:05:12]wFMCommunicate request_size=4 [20:05:12]MH_SAM_APDU [20:05:12]CAPDU: 80 11 00 00 [20:05:12]Write to MH i2c: E2 08 00 63 12 80 11 00 00 00 00 00 00 EF [20:05:12]Write i2c OK [20:05:12]MH_I2C_Read... [20:05:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:05:12]Read from MH i2c: E2 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: E2 17 00 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: E2 17 00 63 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 41 [20:05:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:05:12]wFMCommunicate OK [20:05:12]CreateOFDProtocolMessage done [20:05:12]OFDSenderStorePacket 22218 [20:05:12]StoreOFDPacket docnum=22218 [20:05:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 01 02 00 00 C5 92 F9 01 B2 6E 5A 03 01 00 03 00 ED 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 FA F3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CA 56 00 00 35 04 06 00 AB 45 75 5E 36 96 CA BD 5C 63 58 81 27 D5 [20:05:12]CheckFolder [20:05:12]dirname=/storage/ofd_packets [20:05:12]CheckFolder done [20:05:12]ProducePacketName [20:05:12]name=ofd_packets/00022218 [20:05:12]NVStorageSaveData ofd_packets/00022218 [20:05:12]File name is /storage/ofd_packets/00022218 [20:05:12]Write 543 bytes [20:05:12]NVStorageSaveData done [20:05:12]OFDSenderStorePacket done [20:05:12]KKMCreateOFDPacket done [20:05:12]NVStorageSaveData kkm_last_timestamp [20:05:12]File name is /storage/kkm_last_timestamp [20:05:12]Write 4 bytes [20:05:12]NVStorageSaveData done [20:05:12]ExternCall_PrintAddStr [20:05:12]wPrintStart [20:05:12]Write to MH i2c: 01 00 00 64 12 76 [20:05:12]Write i2c OK [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: 01 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: 01 07 00 [20:05:12]MH_I2C_Read... [20:05:12]Read from MH i2c: 01 07 00 64 12 00 00 00 00 00 FF 0F 8B [20:05:12]RasterBufferAndPrint [20:05:12]line Счет N : (3)254434 [20:05:12]line ИНН: 02508201610067 [20:05:12]line Контрольно-Кассовый Чек [20:05:12]line ПРОДАЖА [20:05:12]line Товар: 5449000000996 [20:05:12]line Напиток Кока-Кола 0,33л [20:05:12]line 2.000 * 85.00 [20:05:12]line = 170.00 [20:05:12]line НДС 12% НСП 1% [20:05:12]line > о реализуемом товаре [20:05:12]line Товар: 4607065001445 [20:05:12]line Шок батончик Snickers 50,5г [20:05:12]line 1.000 * 59.00 [20:05:12]line = 59.00 [20:05:12]line НДС 12% НСП 1% [20:05:12]line > о реализуемом товаре [20:05:12]line Товар: 4700000160211 [20:05:12]line Вода Легенда 0,5л [20:05:12]line 1.000 * 40.00 [20:05:12]line = 40.00 [20:05:12]line НДС 12% НСП 1% [20:05:12]line > о реализуемом товаре [20:05:12]line ИТОГО: 269.00 [20:05:12]line НСП 1% : 2.37 [20:05:12]line НДС 12% : 28.56 [20:05:12]line Наличными: 269.00 [20:05:12]line Безнал.: 0.00 [20:05:12]line Место: АЗС № 76 "Партнер Нефть" [20:05:12]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [20:05:12]line СНО: Общий режим [20:05:12]line Чек 63 15.06.2024 20:05 [20:05:12]line Смена: 326 ФФД: 1.0 [20:05:12]line ЗНМ: 0300000200 [20:05:12]line РНМ: 0000000000099755 [20:05:12]line Версия ККМ: 001 [20:05:12]line ФМ: 0000000000965344 [20:05:12]line ФД: 22218 [20:05:12]line ФПД: 188314810201750 [20:05:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T200514&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22218&fm=188314810201750&tin=02508201610067®Number=0000000000099755&sum=26900 [20:05:12]line 0 [20:05:12]written 0, free lines is 4095 [20:05:12]OFD Sender: Processing packet 22218 [packets to send 5, broken 4] [20:05:12]ProducePacketName [20:05:12]name=ofd_packets/00022218 [20:05:12]OFD Sender: To server: pG, [20:05:12]CommunicateWithHost lk.salyk.kg:30040 [20:05:12]ConnectInit lk.salyk.kg [20:05:12]Connected sock=11 [20:05:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 01 02 00 00 C5 92 F9 01 B2 6E 5A 03 01 00 03 00 ED 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 FA F3 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CA 56 00 00 35 04 06 00 AB 45 75 5E 36 96 CA BD 5C 63 58 81 27 D5 [20:05:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 FA D7 47 00 39 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CA 56 00 00 F4 03 04 00 B7 9C 6D 66 B6 04 01 00 00 61 87 07 BD EE 8F 31 F3 [20:05:12]CommunicateWithHost err = 0 [20:05:12]CheckOFDResponse [20:05:12]1017 (14) - 77093643461234 [20:05:12]1041 (16) - 0000000000965344 [20:05:12]1040 (4) - 22218 [20:05:12]1012 (4) - 15.06.2024 13:52 [20:05:12]1206 (1) - 0 [20:05:12]OFD Sender: Remove packet 22218 [20:05:12]ProducePacketName [20:05:12]name=ofd_packets/00022218 [20:05:12]NVStorageDeleteData [20:05:13]Write to MH i2c: 01 00 00 98 12 AA [20:05:13]Write i2c OK [20:05:13]MH_I2C_Read... [20:05:13]Read from MH i2c: 01 [20:05:13]MH_I2C_Read... [20:05:13]Read from MH i2c: 01 07 00 [20:05:13]MH_I2C_Read... [20:05:13]Read from MH i2c: 01 07 00 98 12 00 00 00 00 00 A9 0C 66 [20:05:13]RasterBufferAndPrint [20:05:13]line [20:05:13]line [20:05:13]line [20:05:13]line [20:05:13]line [20:05:13]written 0, free lines is 3249 [20:05:13]MH_Cut [20:05:13]Write to MH i2c: D1 01 00 9F 12 01 83 [20:05:13]Write i2c OK [20:05:13]MH_I2C_Read... [20:05:13]Read from MH i2c: D1 [20:05:13]MH_I2C_Read... [20:05:13]Read from MH i2c: D1 01 00 [20:05:13]MH_I2C_Read... [20:05:13]Read from MH i2c: D1 01 00 9F 12 00 82 [20:05:13]Write to MH i2c: 01 00 00 A0 12 B2 [20:05:13]Write i2c OK [20:05:13]MH_I2C_Read... [20:05:13]OFD Sender: No OFD packet to send [20:05:13]*** Cut start [20:05:13]*** Partial cut [20:05:13]*** CUTSNS_PIN = 1 [20:05:13]*** CUTSNS_PIN = 0 [20:05:14]*** Brake cut motor [20:05:14]Read from MH i2c: 01 [20:05:14]MH_I2C_Read... [20:05:14]*** Stop cut motor [20:05:14]*** Cut end [20:05:14]Read from MH i2c: 01 07 00 [20:05:14]MH_I2C_Read... [20:05:14]Read from MH i2c: 01 07 00 A0 12 00 00 00 00 00 FF 0F C7 [20:05:14]process_action close_receipt done [20:05:14]requested_data is exist [20:05:14]produce_requested_data [20:05:14]requested_item fm.sn is exist - process it [20:05:14]wFMCommunicate request_size=4 [20:05:14]MH_SAM_APDU [20:05:14]CAPDU: 80 11 00 00 [20:05:14]Write to MH i2c: E2 08 00 A1 12 80 11 00 00 00 00 00 00 2D [20:05:14]Write i2c OK [20:05:14]MH_I2C_Read... [20:05:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:05:14]Read from MH i2c: E2 [20:05:14]MH_I2C_Read... [20:05:14]Read from MH i2c: E2 17 00 [20:05:14]MH_I2C_Read... [20:05:14]Read from MH i2c: E2 17 00 A1 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7F [20:05:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:05:14]wFMCommunicate OK [20:05:14]requested_item fd.num is exist - process it [20:05:14]SAM_PROTO_GetFieldsCounters [20:05:14]wFMCommunicate request_size=4 [20:05:14]MH_SAM_APDU [20:05:14]CAPDU: 80 13 00 00 [20:05:14]Write to MH i2c: E2 08 00 A2 12 80 13 00 00 00 00 00 00 30 [20:05:14]Write i2c OK [20:05:14]MH_I2C_Read... [20:05:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:05:14]Read from MH i2c: E2 [20:05:14]MH_I2C_Read... [20:05:14]Read from MH i2c: E2 62 00 [20:05:14]MH_I2C_Read... [20:05:14]Read from MH i2c: E2 62 00 A2 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 7E [20:05:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:05:14]wFMCommunicate OK [20:05:14]SAM_PROTO_GetFieldsCounters done [20:05:14]requested_item shift.num is exist - process it [20:05:14]requested_item shift.opened is exist - process it [20:05:14]req_shift_opened [20:05:14]FM_GetShiftState [20:05:14]SAM_PROTO_GetShiftState [20:05:14]wFMCommunicate request_size=4 [20:05:14]MH_SAM_APDU [20:05:14]CAPDU: 80 13 01 00 [20:05:14]Write to MH i2c: E2 08 00 A3 12 80 13 01 00 00 00 00 00 32 [20:05:14]Write i2c OK [20:05:14]MH_I2C_Read... [20:05:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:05:14]Read from MH i2c: E2 [20:05:14]MH_I2C_Read... [20:05:14]Read from MH i2c: E2 0E 00 [20:05:14]MH_I2C_Read... [20:05:14]Read from MH i2c: E2 0E 00 A3 12 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 06 [20:05:14]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:05:14]wFMCommunicate OK [20:05:14]SAM_PROTO_GetShiftState done [20:05:14]FM_GetShiftState done [20:05:14]req_shift_opened done [20:05:14]requested_item shift.open_date is exist - process it [20:05:14]req_shift_open_date [20:05:14]req_shift_open_date done [20:05:14]produce_requested_data done [20:05:14]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22218,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [20:05:14]process_action_free close_receipt [20:05:14]json_value_free [20:05:14]json_value_free done [20:05:14]process_json_proto returns [20:05:14]Send response to host [20:05:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22218,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [20:05:14]free response buf [20:05:14]execute_script done [20:05:14]execute_script returns [20:05:14]free content buf [20:05:14]Sock 8.Close socket [20:05:14]Sock 8.Thread stoped [20:05:18]OFD Sender: No OFD packet to send [20:05:23]OFD Sender: No OFD packet to send [20:05:28]OFD Sender: No OFD packet to send [20:05:33]OFD Sender: No OFD packet to send [20:05:38]OFD Sender: No OFD packet to send [20:05:43]OFD Sender: No OFD packet to send [20:05:48]OFD Sender: No OFD packet to send [20:05:53]OFD Sender: No OFD packet to send [20:05:58]OFD Sender: No OFD packet to send [20:06:03]OFD Sender: No OFD packet to send [20:06:08]OFD Sender: No OFD packet to send [20:06:13]OFD Sender: No OFD packet to send [20:06:18]OFD Sender: No OFD packet to send [20:06:23]OFD Sender: No OFD packet to send [20:06:28]OFD Sender: No OFD packet to send [20:06:33]OFD Sender: No OFD packet to send [20:06:38]OFD Sender: No OFD packet to send [20:06:43]OFD Sender: No OFD packet to send [20:06:48]OFD Sender: No OFD packet to send [20:06:53]OFD Sender: No OFD packet to send [20:06:58]OFD Sender: No OFD packet to send [20:07:03]OFD Sender: No OFD packet to send [20:07:08]OFD Sender: No OFD packet to send [20:07:13]OFD Sender: No OFD packet to send [20:07:18]OFD Sender: No OFD packet to send [20:07:23]OFD Sender: No OFD packet to send [20:07:28]OFD Sender: No OFD packet to send [20:07:33]OFD Sender: No OFD packet to send [20:07:38]OFD Sender: No OFD packet to send [20:07:43]OFD Sender: No OFD packet to send [20:07:48]OFD Sender: No OFD packet to send [20:07:53]OFD Sender: No OFD packet to send [20:07:58]OFD Sender: No OFD packet to send [20:08:03]OFD Sender: No OFD packet to send [20:08:08]OFD Sender: No OFD packet to send [20:08:13]OFD Sender: No OFD packet to send [20:08:18]OFD Sender: No OFD packet to send [20:08:23]OFD Sender: No OFD packet to send [20:08:28]OFD Sender: No OFD packet to send [20:08:33]OFD Sender: No OFD packet to send [20:08:38]OFD Sender: No OFD packet to send [20:08:43]OFD Sender: No OFD packet to send [20:08:48]OFD Sender: No OFD packet to send [20:08:53]OFD Sender: No OFD packet to send [20:08:58]OFD Sender: No OFD packet to send [20:09:03]OFD Sender: No OFD packet to send [20:09:08]OFD Sender: No OFD packet to send [20:09:13]OFD Sender: No OFD packet to send [20:09:18]OFD Sender: No OFD packet to send [20:09:23]OFD Sender: No OFD packet to send [20:09:28]OFD Sender: No OFD packet to send [20:09:33]OFD Sender: No OFD packet to send [20:09:38]OFD Sender: No OFD packet to send [20:09:43]OFD Sender: No OFD packet to send [20:09:48]OFD Sender: No OFD packet to send [20:09:53]OFD Sender: No OFD packet to send [20:09:58]OFD Sender: No OFD packet to send [20:10:03]OFD Sender: No OFD packet to send [20:10:08]OFD Sender: No OFD packet to send [20:10:13]OFD Sender: No OFD packet to send [20:10:18]OFD Sender: No OFD packet to send [20:10:23]OFD Sender: No OFD packet to send [20:10:28]OFD Sender: No OFD packet to send [20:10:33]OFD Sender: No OFD packet to send [20:10:38]OFD Sender: No OFD packet to send [20:10:43]OFD Sender: No OFD packet to send [20:10:48]OFD Sender: No OFD packet to send [20:10:53]OFD Sender: No OFD packet to send [20:10:58]OFD Sender: No OFD packet to send [20:11:03]OFD Sender: No OFD packet to send [20:11:08]OFD Sender: No OFD packet to send [20:11:13]OFD Sender: No OFD packet to send [20:11:18]OFD Sender: No OFD packet to send [20:11:23]OFD Sender: No OFD packet to send [20:11:28]OFD Sender: No OFD packet to send [20:11:33]OFD Sender: No OFD packet to send [20:11:38]OFD Sender: No OFD packet to send [20:11:43]OFD Sender: No OFD packet to send [20:11:48]OFD Sender: No OFD packet to send [20:11:53]OFD Sender: No OFD packet to send [20:11:58]OFD Sender: No OFD packet to send [20:12:03]OFD Sender: No OFD packet to send [20:12:08]OFD Sender: No OFD packet to send [20:12:13]OFD Sender: No OFD packet to send [20:12:18]OFD Sender: No OFD packet to send [20:12:23]OFD Sender: No OFD packet to send [20:12:28]OFD Sender: No OFD packet to send [20:12:33]OFD Sender: No OFD packet to send [20:12:38]OFD Sender: No OFD packet to send [20:12:43]OFD Sender: No OFD packet to send [20:12:48]OFD Sender: No OFD packet to send [20:12:53]OFD Sender: No OFD packet to send [20:12:58]OFD Sender: No OFD packet to send [20:13:00]accept exits with 9 [20:13:00]New connection [20:13:00]New thread 3066695012 created [20:13:00]Thread 3066838372 joined [20:13:00]Waiting for new connection... [20:13:00] Sock 9.Parse request [20:13:00]Sock 9.Check first char [20:13:00]Sock 9.First char is OK [20:13:00]request: POST /json_proto HTTP/1.0 [20:13:00]Method: POST [20:13:00]URL: /json_proto [20:13:00]Method is POST - this is cgi request [20:13:00]url: /json_proto [20:13:00]query_string will be loaded in cgi processing [20:13:00]execute_cgi json_proto POST (null) [20:13:00]execute_cgi path=json_proto method=POST [20:13:00]POST find Content-Length [20:13:00]Host: 172.17.35.133:8080 [20:13:00]Content-Length: 884 [20:13:00]Content-Type: application/json [20:13:00] [20:13:00]POST finish read [20:13:00]Found Content-Length = 884 [20:13:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254435", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 3.000, "sum" : 414.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 571.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:13:00]execute_script... [20:13:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254435", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 3.000, "sum" : 414.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 571.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:13:00]POST & json_proto [20:13:00]process_json_proto [20:13:00]json parsed OK: [20:13:00]protocol is kg_v1.0 [20:13:00]action value=close_receipt [20:13:00]process_action close_receipt [20:13:00]cmd_close_receipt [20:13:00]MH_GetDate [20:13:00]Write to MH i2c: F0 00 00 A4 12 A5 [20:13:00]Write i2c OK [20:13:00]MH_I2C_Read... [20:13:00]Read from MH i2c: F0 [20:13:00]MH_I2C_Read... [20:13:00]Read from MH i2c: F0 09 00 [20:13:00]MH_I2C_Read... [20:13:00]Read from MH i2c: F0 09 00 A4 12 00 D0 F5 6D 66 8C 55 28 65 B4 [20:13:00]GetLastDocTimeStamp 1718481914 [20:13:00]current date 1718482384 [20:13:00]FM_GetShiftState [20:13:00]SAM_PROTO_GetShiftState [20:13:00]wFMCommunicate request_size=4 [20:13:00]MH_SAM_APDU [20:13:00]CAPDU: 80 13 01 00 [20:13:00]Write to MH i2c: E2 08 00 A5 12 80 13 01 00 00 00 00 00 34 [20:13:00]Write i2c OK [20:13:00]MH_I2C_Read... [20:13:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:00]Read from MH i2c: E2 [20:13:00]MH_I2C_Read... [20:13:00]Read from MH i2c: E2 0E 00 [20:13:00]MH_I2C_Read... [20:13:00]Read from MH i2c: E2 0E 00 A5 12 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 08 [20:13:00]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:13:00]wFMCommunicate OK [20:13:00]SAM_PROTO_GetShiftState done [20:13:00]FM_GetShiftState done [20:13:00]opened in 1718410776 [20:13:00]opened+sec_in_day 1718497176 [20:13:00]quantity*price = 41400 [20:13:00]sum+1 = 41401 [20:13:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 90162602 Энерг напиток Red bull 0,25л 1.000 * 157.00 = 157.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 571.00 НСП 1% : 5.05 НДС 12% : 60.63 Наличными: 571.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 64 15.06.2024 20:13 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22219 ФПД: 66560631335389 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T201304&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22219&fm=66560631335389&tin=02508201610067®Number=0000000000099755&sum=57100 0 [20:13:01]StoreToDocumentArchive [20:13:01]shift 326 fd 22219 [20:13:01]save to /storage/0326/doc_00022219 [20:13:01]save last doc name /storage/0326/doc_00022219 to /storage/kkm_last_doc_name [20:13:01]save OK [20:13:01]Clear old archive folders... [20:13:01]ProcessDocumentItem done err = 0, tmpTLVsize=382 [20:13:01]tlvbuf is 001DAA10 [20:13:01]SAM_PROTO_ClearQueue [20:13:01]wFMCommunicate request_size=4 [20:13:01]MH_SAM_APDU [20:13:01]CAPDU: 80 09 00 00 [20:13:01]Write to MH i2c: E2 08 00 B2 12 80 09 00 00 00 00 00 00 36 [20:13:01]Write i2c OK [20:13:01]MH_I2C_Read... [20:13:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:13:01]Read from MH i2c: E2 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 03 00 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 03 00 B2 12 00 90 00 38 [20:13:01]RAPDU: 90 00 [20:13:01]wFMCommunicate OK [20:13:01]SAM_PROTO_ClearQueue done [20:13:01]KKMCreateOFDPacket [20:13:01]OFDProtocolAddRootSTLVToBuf [20:13:01]FM_MakeSignedData [20:13:01]FM_MakeSignedData [20:13:01]SAM_PROTO_SignData [20:13:01]wFMCommunicate request_size=4 [20:13:01]MH_SAM_APDU [20:13:01]CAPDU: 80 0D 01 02 [20:13:01]Write to MH i2c: E2 08 00 B3 12 80 0D 01 02 00 00 00 00 3E [20:13:01]Write i2c OK [20:13:01]MH_I2C_Read... [20:13:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:13:01]Read from MH i2c: E2 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 03 00 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 03 00 B3 12 00 90 00 39 [20:13:01]RAPDU: 90 00 [20:13:01]wFMCommunicate OK [20:13:01]wFMCommunicate request_size=255 [20:13:01]MH_SAM_APDU [20:13:01]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 B8 A1 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C DF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 01 [20:13:01]Write to MH i2c: E2 02 01 B4 12 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 B8 A1 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C DF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 01 00 00 40 [20:13:01]Write i2c OK [20:13:01]MH_I2C_Read... [20:13:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:01]Read from MH i2c: E2 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 03 00 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 03 00 B4 12 00 90 00 3A [20:13:01]RAPDU: 90 00 [20:13:01]wFMCommunicate OK [20:13:01]wFMCommunicate request_size=141 [20:13:01]MH_SAM_APDU [20:13:01]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 17 00 00 00 00 07 04 06 00 0C DF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D0 F5 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CB 56 00 00 35 04 06 00 3C 89 5A C9 69 DD [20:13:01]Write to MH i2c: E2 90 00 B5 12 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 17 00 00 00 00 07 04 06 00 0C DF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D0 F5 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CB 56 00 00 35 04 06 00 3C 89 5A C9 69 DD 00 00 A6 [20:13:01]Write i2c OK [20:13:01]MH_I2C_Read... [20:13:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:01]Read from MH i2c: E2 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 03 00 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 03 00 B5 12 00 90 00 3B [20:13:01]RAPDU: 90 00 [20:13:01]wFMCommunicate OK [20:13:01]wFMCommunicate request_size=4 [20:13:01]MH_SAM_APDU [20:13:01]CAPDU: 80 0D 03 02 [20:13:01]Write to MH i2c: E2 08 00 B6 12 80 0D 03 02 00 00 00 00 43 [20:13:01]Write i2c OK [20:13:01]MH_I2C_Read... [20:13:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:13:01]Read from MH i2c: E2 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 0B 00 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 0B 00 B6 12 00 8B 5C 91 E2 4B 10 75 59 90 00 C7 [20:13:01]RAPDU: 8B 5C 91 E2 4B 10 75 59 90 00 [20:13:01]wFMCommunicate OK [20:13:01]SAM_PROTO_SignData done [20:13:01]FM_MakeSignedData done [20:13:01]CreateOFDProtocolMessage [20:13:01]wFMCommunicate request_size=4 [20:13:01]MH_SAM_APDU [20:13:01]CAPDU: 80 11 00 00 [20:13:01]Write to MH i2c: E2 08 00 B7 12 80 11 00 00 00 00 00 00 43 [20:13:01]Write i2c OK [20:13:01]MH_I2C_Read... [20:13:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:01]Read from MH i2c: E2 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 17 00 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: E2 17 00 B7 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 95 [20:13:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:13:01]wFMCommunicate OK [20:13:01]CreateOFDProtocolMessage done [20:13:01]OFDSenderStorePacket 22219 [20:13:01]StoreOFDPacket docnum=22219 [20:13:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 92 01 00 00 2A 17 8A 01 34 C3 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 B8 A1 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C DF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 17 00 00 00 00 07 04 06 00 0C DF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D0 F5 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CB 56 00 00 35 04 06 00 3C 89 5A C9 69 DD 8B 5C 91 E2 4B 10 75 59 [20:13:01]CheckFolder [20:13:01]dirname=/storage/ofd_packets [20:13:01]CheckFolder done [20:13:01]ProducePacketName [20:13:01]name=ofd_packets/00022219 [20:13:01]NVStorageSaveData ofd_packets/00022219 [20:13:01]File name is /storage/ofd_packets/00022219 [20:13:01]Write 432 bytes [20:13:01]NVStorageSaveData done [20:13:01]OFDSenderStorePacket done [20:13:01]KKMCreateOFDPacket done [20:13:01]NVStorageSaveData kkm_last_timestamp [20:13:01]File name is /storage/kkm_last_timestamp [20:13:01]Write 4 bytes [20:13:01]NVStorageSaveData done [20:13:01]ExternCall_PrintAddStr [20:13:01]wPrintStart [20:13:01]Write to MH i2c: 01 00 00 B8 12 CA [20:13:01]Write i2c OK [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: 01 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: 01 07 00 [20:13:01]MH_I2C_Read... [20:13:01]Read from MH i2c: 01 07 00 B8 12 00 00 00 00 00 FF 0F DF [20:13:01]RasterBufferAndPrint [20:13:01]line Счет N : (3)254435 [20:13:01]line ИНН: 02508201610067 [20:13:01]line Контрольно-Кассовый Чек [20:13:01]line ПРОДАЖА [20:13:01]line Товар: 4640030091645 [20:13:02]line Сигареты ESSE Exchange M [20:13:02]line 3.000 * 138.00 [20:13:02]line = 414.00 [20:13:02]line НДС 12% НСП 1% [20:13:02]line > о реализуемом товаре [20:13:02]line Товар: 90162602 [20:13:02]line Энерг напиток Red bull 0,25л [20:13:02]line 1.000 * 157.00 [20:13:02]line = 157.00 [20:13:02]line НДС 12% НСП 1% [20:13:02]line > о реализуемом товаре [20:13:02]line ИТОГО: 571.00 [20:13:02]line НСП 1% : 5.05 [20:13:02]line НДС 12% : 60.63 [20:13:02]line Наличными: 571.00 [20:13:02]line Безнал.: 0.00 [20:13:02]line Место: АЗС № 76 "Партнер Нефть" [20:13:02]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [20:13:02]line СНО: Общий режим [20:13:02]line Чек 64 15.06.2024 20:13 [20:13:02]line Смена: 326 ФФД: 1.0 [20:13:02]line ЗНМ: 0300000200 [20:13:02]line РНМ: 0000000000099755 [20:13:02]line Версия ККМ: 001 [20:13:02]line ФМ: 0000000000965344 [20:13:02]line ФД: 22219 [20:13:02]line ФПД: 66560631335389 [20:13:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T201304&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22219&fm=66560631335389&tin=02508201610067®Number=0000000000099755&sum=57100 [20:13:02]line 0 [20:13:02]OFD Sender: Processing packet 22219 [packets to send 5, broken 4] [20:13:02]ProducePacketName [20:13:02]name=ofd_packets/00022219 [20:13:02]OFD Sender: To server: pG, [20:13:02]CommunicateWithHost lk.salyk.kg:30040 [20:13:02]ConnectInit lk.salyk.kg [20:13:02]written 0, free lines is 4095 [20:13:02]Connected sock=10 [20:13:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 92 01 00 00 2A 17 8A 01 34 C3 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 B8 A1 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C DF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 17 00 00 00 00 07 04 06 00 0C DF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D0 F5 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CB 56 00 00 35 04 06 00 3C 89 5A C9 69 DD 8B 5C 91 E2 4B 10 75 59 [20:13:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 2D C9 47 00 06 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CB 56 00 00 F4 03 04 00 8D 9E 6D 66 B6 04 01 00 00 84 71 98 AE BB 03 5B F7 [20:13:02]CommunicateWithHost err = 0 [20:13:02]CheckOFDResponse [20:13:02]1017 (14) - 77093643461234 [20:13:02]1041 (16) - 0000000000965344 [20:13:02]1040 (4) - 22219 [20:13:02]1012 (4) - 15.06.2024 14:00 [20:13:02]1206 (1) - 0 [20:13:02]OFD Sender: Remove packet 22219 [20:13:02]ProducePacketName [20:13:02]name=ofd_packets/00022219 [20:13:02]NVStorageDeleteData [20:13:02]Write to MH i2c: 01 00 00 E6 12 F8 [20:13:02]Write i2c OK [20:13:02]MH_I2C_Read... [20:13:02]Read from MH i2c: 01 [20:13:02]MH_I2C_Read... [20:13:02]Read from MH i2c: 01 07 00 [20:13:02]MH_I2C_Read... [20:13:02]Read from MH i2c: 01 07 00 E6 12 00 00 00 00 00 D6 0C E1 [20:13:02]RasterBufferAndPrint [20:13:02]line [20:13:02]line [20:13:02]line [20:13:02]line [20:13:02]line [20:13:02]written 0, free lines is 3295 [20:13:02]MH_Cut [20:13:02]Write to MH i2c: D1 01 00 ED 12 01 D1 [20:13:02]Write i2c OK [20:13:02]MH_I2C_Read... [20:13:02]Read from MH i2c: D1 [20:13:02]MH_I2C_Read... [20:13:02]Read from MH i2c: D1 01 00 [20:13:02]MH_I2C_Read... [20:13:02]Read from MH i2c: D1 01 00 ED 12 00 D0 [20:13:02]Write to MH i2c: 01 00 00 EE 12 00 [20:13:02]Write i2c OK [20:13:02]MH_I2C_Read... [20:13:02]OFD Sender: No OFD packet to send [20:13:03]*** Cut start [20:13:03]*** Partial cut [20:13:03]*** CUTSNS_PIN = 1 [20:13:03]*** CUTSNS_PIN = 0 [20:13:03]*** Brake cut motor [20:13:03]Read from MH i2c: 01 [20:13:03]MH_I2C_Read... [20:13:03]*** Stop cut motor [20:13:04]*** Cut end [20:13:04]Read from MH i2c: 01 07 00 [20:13:04]MH_I2C_Read... [20:13:04]Read from MH i2c: 01 07 00 EE 12 00 00 00 00 00 FF 0F 15 [20:13:04]process_action close_receipt done [20:13:04]requested_data is exist [20:13:04]produce_requested_data [20:13:04]requested_item fm.sn is exist - process it [20:13:04]wFMCommunicate request_size=4 [20:13:04]MH_SAM_APDU [20:13:04]CAPDU: 80 11 00 00 [20:13:04]Write to MH i2c: E2 08 00 EF 12 80 11 00 00 00 00 00 00 7B [20:13:04]Write i2c OK [20:13:04]MH_I2C_Read... [20:13:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:04]Read from MH i2c: E2 [20:13:04]MH_I2C_Read... [20:13:04]Read from MH i2c: E2 17 00 [20:13:04]MH_I2C_Read... [20:13:04]Read from MH i2c: E2 17 00 EF 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 CD [20:13:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:13:04]wFMCommunicate OK [20:13:04]requested_item fd.num is exist - process it [20:13:04]SAM_PROTO_GetFieldsCounters [20:13:04]wFMCommunicate request_size=4 [20:13:04]MH_SAM_APDU [20:13:04]CAPDU: 80 13 00 00 [20:13:04]Write to MH i2c: E2 08 00 F0 12 80 13 00 00 00 00 00 00 7E [20:13:04]Write i2c OK [20:13:04]MH_I2C_Read... [20:13:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:13:04]Read from MH i2c: E2 [20:13:04]MH_I2C_Read... [20:13:04]Read from MH i2c: E2 62 00 [20:13:04]MH_I2C_Read... [20:13:04]Read from MH i2c: E2 62 00 F0 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CB 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [20:13:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CB 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:13:04]wFMCommunicate OK [20:13:04]SAM_PROTO_GetFieldsCounters done [20:13:04]requested_item shift.num is exist - process it [20:13:04]requested_item shift.opened is exist - process it [20:13:04]req_shift_opened [20:13:04]FM_GetShiftState [20:13:04]SAM_PROTO_GetShiftState [20:13:04]wFMCommunicate request_size=4 [20:13:04]MH_SAM_APDU [20:13:04]CAPDU: 80 13 01 00 [20:13:04]Write to MH i2c: E2 08 00 F1 12 80 13 01 00 00 00 00 00 80 [20:13:04]Write i2c OK [20:13:04]MH_I2C_Read... [20:13:04]Read from MH i2c: E2 [20:13:04]MH_I2C_Read... [20:13:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:04]Read from MH i2c: E2 0E 00 [20:13:04]MH_I2C_Read... [20:13:04]Read from MH i2c: E2 0E 00 F1 12 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 54 [20:13:04]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:13:04]wFMCommunicate OK [20:13:04]SAM_PROTO_GetShiftState done [20:13:04]FM_GetShiftState done [20:13:04]req_shift_opened done [20:13:04]requested_item shift.open_date is exist - process it [20:13:04]req_shift_open_date [20:13:04]req_shift_open_date done [20:13:04]produce_requested_data done [20:13:04]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22219,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [20:13:04]process_action_free close_receipt [20:13:04]json_value_free [20:13:04]json_value_free done [20:13:04]process_json_proto returns [20:13:04]Send response to host [20:13:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22219,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [20:13:04]free response buf [20:13:04]execute_script done [20:13:04]execute_script returns [20:13:04]free content buf [20:13:04]Sock 9.Close socket [20:13:04]Sock 9.Thread stoped [20:13:07]OFD Sender: No OFD packet to send [20:13:12]OFD Sender: No OFD packet to send [20:13:17]OFD Sender: No OFD packet to send [20:13:22]OFD Sender: No OFD packet to send [20:13:27]OFD Sender: No OFD packet to send [20:13:33]OFD Sender: No OFD packet to send [20:13:38]OFD Sender: No OFD packet to send [20:13:42]accept exits with 8 [20:13:42]New connection [20:13:42]New thread 3066838372 created [20:13:42]Thread 3066695012 joined [20:13:42]Waiting for new connection... [20:13:42] Sock 8.Parse request [20:13:42]Sock 8.Check first char [20:13:42]Sock 8.First char is OK [20:13:42]request: POST /json_proto HTTP/1.0 [20:13:42]Method: POST [20:13:42]URL: /json_proto [20:13:42]Method is POST - this is cgi request [20:13:42]url: /json_proto [20:13:42]query_string will be loaded in cgi processing [20:13:42]execute_cgi json_proto POST (null) [20:13:42]execute_cgi path=json_proto method=POST [20:13:42]POST find Content-Length [20:13:42]Host: 172.17.35.133:8080 [20:13:42]Content-Length: 835 [20:13:42]Content-Type: application/json [20:13:42] [20:13:42]POST finish read [20:13:42]Found Content-Length = 835 [20:13:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254436", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:13:42]execute_script... [20:13:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254436", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:13:42]POST & json_proto [20:13:42]process_json_proto [20:13:42]json parsed OK: [20:13:42]protocol is kg_v1.0 [20:13:42]action value=close_receipt [20:13:42]process_action close_receipt [20:13:42]cmd_close_receipt [20:13:42]MH_GetDate [20:13:42]Write to MH i2c: F0 00 00 F2 12 F3 [20:13:42]Write i2c OK [20:13:42]MH_I2C_Read... [20:13:42]Read from MH i2c: F0 [20:13:42]MH_I2C_Read... [20:13:42]Read from MH i2c: F0 09 00 [20:13:42]MH_I2C_Read... [20:13:42]Read from MH i2c: F0 09 00 F2 12 00 FB F5 6D 66 8C 55 28 65 2D [20:13:42]GetLastDocTimeStamp 1718482384 [20:13:42]current date 1718482427 [20:13:42]FM_GetShiftState [20:13:42]SAM_PROTO_GetShiftState [20:13:42]wFMCommunicate request_size=4 [20:13:42]MH_SAM_APDU [20:13:42]CAPDU: 80 13 01 00 [20:13:42]Write to MH i2c: E2 08 00 F3 12 80 13 01 00 00 00 00 00 82 [20:13:42]Write i2c OK [20:13:42]MH_I2C_Read... [20:13:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:42]Read from MH i2c: E2 [20:13:42]MH_I2C_Read... [20:13:42]Read from MH i2c: E2 0E 00 [20:13:42]MH_I2C_Read... [20:13:42]Read from MH i2c: E2 0E 00 F3 12 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 56 [20:13:42]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:13:42]wFMCommunicate OK [20:13:42]SAM_PROTO_GetShiftState done [20:13:42]FM_GetShiftState done [20:13:42]opened in 1718410776 [20:13:42]opened+sec_in_day 1718497176 [20:13:42]quantity*price = 11300 [20:13:42]sum+1 = 11301 [20:13:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 113.00 НСП 1% : 1.00 НДС 12% : 12.00 Наличными: 0.00 Безнал.: 113.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 65 15.06.2024 20:13 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965344 ФД: 22220 ФПД: 134106390200767 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T201347&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22220&fm=134106390200767&tin=02508201610067®Number=0000000000099755&sum=11300 0 [20:13:43]StoreToDocumentArchive [20:13:43]shift 326 fd 22220 [20:13:43]save to /storage/0326/doc_00022220 [20:13:43]save last doc name /storage/0326/doc_00022220 to /storage/kkm_last_doc_name [20:13:43]save OK [20:13:43]Clear old archive folders... [20:13:43]ProcessDocumentItem done err = 0, tmpTLVsize=278 [20:13:43]tlvbuf is 001FF270 [20:13:43]SAM_PROTO_ClearQueue [20:13:43]wFMCommunicate request_size=4 [20:13:43]MH_SAM_APDU [20:13:43]CAPDU: 80 09 00 00 [20:13:43]Write to MH i2c: E2 08 00 00 13 80 09 00 00 00 00 00 00 85 [20:13:43]Write i2c OK [20:13:43]MH_I2C_Read... [20:13:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:13:44]Read from MH i2c: E2 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 03 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 03 00 00 13 00 90 00 87 [20:13:44]RAPDU: 90 00 [20:13:44]wFMCommunicate OK [20:13:44]SAM_PROTO_ClearQueue done [20:13:44]KKMCreateOFDPacket [20:13:44]OFDProtocolAddRootSTLVToBuf [20:13:44]FM_MakeSignedData [20:13:44]FM_MakeSignedData [20:13:44]SAM_PROTO_SignData [20:13:44]wFMCommunicate request_size=4 [20:13:44]MH_SAM_APDU [20:13:44]CAPDU: 80 0D 01 02 [20:13:44]Write to MH i2c: E2 08 00 01 13 80 0D 01 02 00 00 00 00 8D [20:13:44]Write i2c OK [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 [20:13:44]MH_I2C_Read... [20:13:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:13:44]Read from MH i2c: E2 03 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 03 00 01 13 00 90 00 88 [20:13:44]RAPDU: 90 00 [20:13:44]wFMCommunicate OK [20:13:44]wFMCommunicate request_size=255 [20:13:44]MH_SAM_APDU [20:13:44]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 FB F5 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 [20:13:44]Write to MH i2c: E2 02 01 02 13 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 FB F5 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 00 00 33 [20:13:44]Write i2c OK [20:13:44]MH_I2C_Read... [20:13:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:44]Read from MH i2c: E2 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 03 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 03 00 02 13 00 90 00 89 [20:13:44]RAPDU: 90 00 [20:13:44]wFMCommunicate OK [20:13:44]wFMCommunicate request_size=37 [20:13:44]MH_SAM_APDU [20:13:44]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CC 56 00 00 35 04 06 00 79 F8 13 C0 01 BF [20:13:44]Write to MH i2c: E2 28 00 03 13 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CC 56 00 00 35 04 06 00 79 F8 13 C0 01 BF 00 00 0C [20:13:44]Write i2c OK [20:13:44]MH_I2C_Read... [20:13:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:44]Read from MH i2c: E2 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 03 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 03 00 03 13 00 90 00 8A [20:13:44]RAPDU: 90 00 [20:13:44]wFMCommunicate OK [20:13:44]wFMCommunicate request_size=4 [20:13:44]MH_SAM_APDU [20:13:44]CAPDU: 80 0D 03 02 [20:13:44]Write to MH i2c: E2 08 00 04 13 80 0D 03 02 00 00 00 00 92 [20:13:44]Write i2c OK [20:13:44]MH_I2C_Read... [20:13:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:13:44]Read from MH i2c: E2 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 0B 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 0B 00 04 13 00 9C EF 1B B9 6A 06 8A 0B 90 00 F7 [20:13:44]RAPDU: 9C EF 1B B9 6A 06 8A 0B 90 00 [20:13:44]wFMCommunicate OK [20:13:44]SAM_PROTO_SignData done [20:13:44]FM_MakeSignedData done [20:13:44]CreateOFDProtocolMessage [20:13:44]wFMCommunicate request_size=4 [20:13:44]MH_SAM_APDU [20:13:44]CAPDU: 80 11 00 00 [20:13:44]Write to MH i2c: E2 08 00 05 13 80 11 00 00 00 00 00 00 92 [20:13:44]Write i2c OK [20:13:44]MH_I2C_Read... [20:13:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:44]Read from MH i2c: E2 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 17 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 17 00 05 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E4 [20:13:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:13:44]wFMCommunicate OK [20:13:44]CreateOFDProtocolMessage done [20:13:44]OFDSenderStorePacket 22220 [20:13:44]StoreOFDPacket docnum=22220 [20:13:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2A 01 00 00 B7 AB 22 01 B1 F1 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 FB F5 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CC 56 00 00 35 04 06 00 79 F8 13 C0 01 BF 9C EF 1B B9 6A 06 8A 0B [20:13:44]CheckFolder [20:13:44]dirname=/storage/ofd_packets [20:13:44]CheckFolder done [20:13:44]ProducePacketName [20:13:44]name=ofd_packets/00022220 [20:13:44]NVStorageSaveData ofd_packets/00022220 [20:13:44]File name is /storage/ofd_packets/00022220 [20:13:44]Write 328 bytes [20:13:44]NVStorageSaveData done [20:13:44]OFDSenderStorePacket done [20:13:44]KKMCreateOFDPacket done [20:13:44]NVStorageSaveData kkm_last_timestamp [20:13:44]File name is /storage/kkm_last_timestamp [20:13:44]Write 4 bytes [20:13:44]NVStorageSaveData done [20:13:44]ExternCall_PrintAddStr [20:13:44]wPrintStart [20:13:44]Write to MH i2c: 01 00 00 06 13 19 [20:13:44]Write i2c OK [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: 01 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: 01 07 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: 01 07 00 06 13 00 00 00 00 00 FF 0F 2E [20:13:44]RasterBufferAndPrint [20:13:44]line Счет N : (3)254436 [20:13:44]line ИНН: 02508201610067 [20:13:44]line Контрольно-Кассовый Чек [20:13:44]line ПРОДАЖА [20:13:44]line Товар: 5449000054227 [20:13:44]line Напиток Кока-Кола 1л [20:13:44]line 1.000 * 113.00 [20:13:44]line = 113.00 [20:13:44]line НДС 12% НСП 1% [20:13:44]line > о реализуемом товаре [20:13:44]line ИТОГО: 113.00 [20:13:44]line НСП 1% : 1.00 [20:13:44]line НДС 12% : 12.00 [20:13:44]line Наличными: 0.00 [20:13:44]line Безнал.: 113.00 [20:13:44]line Место: АЗС № 76 "Партнер Нефть" [20:13:44]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [20:13:44]line СНО: Общий режим [20:13:44]line Чек 65 15.06.2024 20:13 [20:13:44]line Смена: 326 ФФД: 1.0 [20:13:44]line ЗНМ: 0300000200 [20:13:44]line РНМ: 0000000000099755 [20:13:44]line Версия ККМ: 001 [20:13:44]line Платежная система: Бакай Банк [20:13:44]line ФМ: 0000000000965344 [20:13:44]line ФД: 22220 [20:13:44]line ФПД: 134106390200767 [20:13:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T201347&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22220&fm=134106390200767&tin=02508201610067®Number=0000000000099755&sum=11300 [20:13:44]line 0 [20:13:44]OFD Sender: Processing packet 22220 [packets to send 5, broken 4] [20:13:44]ProducePacketName [20:13:44]name=ofd_packets/00022220 [20:13:44]OFD Sender: To server: pG, [20:13:44]CommunicateWithHost lk.salyk.kg:30040 [20:13:44]ConnectInit lk.salyk.kg [20:13:44]written 0, free lines is 4095 [20:13:44]Connected sock=10 [20:13:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2A 01 00 00 B7 AB 22 01 B1 F1 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 FB F5 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CC 56 00 00 35 04 06 00 79 F8 13 C0 01 BF 9C EF 1B B9 6A 06 8A 0B [20:13:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 E9 EA 47 00 4E AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CC 56 00 00 F4 03 04 00 B7 9E 6D 66 B6 04 01 00 00 C1 AD 3C 01 5F CF D3 A3 [20:13:45]CommunicateWithHost err = 0 [20:13:45]CheckOFDResponse [20:13:45]1017 (14) - 77093643461234 [20:13:45]1041 (16) - 0000000000965344 [20:13:45]1040 (4) - 22220 [20:13:45]1012 (4) - 15.06.2024 14:01 [20:13:45]1206 (1) - 0 [20:13:45]OFD Sender: Remove packet 22220 [20:13:45]ProducePacketName [20:13:45]name=ofd_packets/00022220 [20:13:45]NVStorageDeleteData [20:13:45]Write to MH i2c: 01 00 00 30 13 43 [20:13:45]Write i2c OK [20:13:45]MH_I2C_Read... [20:13:45]Read from MH i2c: 01 [20:13:45]MH_I2C_Read... [20:13:45]Read from MH i2c: 01 07 00 [20:13:45]MH_I2C_Read... [20:13:45]Read from MH i2c: 01 07 00 30 13 00 00 00 00 00 06 0D 5D [20:13:45]RasterBufferAndPrint [20:13:45]line [20:13:45]line [20:13:45]line [20:13:45]line [20:13:45]line [20:13:45]written 0, free lines is 3340 [20:13:45]MH_Cut [20:13:45]Write to MH i2c: D1 01 00 37 13 01 1C [20:13:45]Write i2c OK [20:13:45]MH_I2C_Read... [20:13:45]Read from MH i2c: D1 [20:13:45]MH_I2C_Read... [20:13:45]Read from MH i2c: D1 01 00 [20:13:45]MH_I2C_Read... [20:13:45]Read from MH i2c: D1 01 00 37 13 00 1B [20:13:45]Write to MH i2c: 01 00 00 38 13 4B [20:13:45]Write i2c OK [20:13:45]MH_I2C_Read... [20:13:45]OFD Sender: No OFD packet to send [20:13:45]*** Cut start [20:13:45]*** Partial cut [20:13:45]*** CUTSNS_PIN = 1 [20:13:45]*** CUTSNS_PIN = 0 [20:13:46]*** Brake cut motor [20:13:46]Read from MH i2c: 01 [20:13:46]MH_I2C_Read... [20:13:46]*** Stop cut motor [20:13:46]*** Cut end [20:13:46]Read from MH i2c: 01 07 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: 01 07 00 38 13 00 00 00 00 00 FF 0F 60 [20:13:46]process_action close_receipt done [20:13:46]requested_data is exist [20:13:46]produce_requested_data [20:13:46]requested_item fm.sn is exist - process it [20:13:46]wFMCommunicate request_size=4 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 11 00 00 [20:13:46]Write to MH i2c: E2 08 00 39 13 80 11 00 00 00 00 00 00 C6 [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 17 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 17 00 39 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 18 [20:13:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:13:46]wFMCommunicate OK [20:13:46]requested_item fd.num is exist - process it [20:13:46]SAM_PROTO_GetFieldsCounters [20:13:46]wFMCommunicate request_size=4 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 13 00 00 [20:13:46]Write to MH i2c: E2 08 00 3A 13 80 13 00 00 00 00 00 00 C9 [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 62 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 62 00 3A 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CC 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 1F [20:13:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CC 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:13:46]wFMCommunicate OK [20:13:46]SAM_PROTO_GetFieldsCounters done [20:13:46]requested_item shift.num is exist - process it [20:13:46]requested_item shift.opened is exist - process it [20:13:46]req_shift_opened [20:13:46]FM_GetShiftState [20:13:46]SAM_PROTO_GetShiftState [20:13:46]wFMCommunicate request_size=4 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 13 01 00 [20:13:46]Write to MH i2c: E2 08 00 3B 13 80 13 01 00 00 00 00 00 CB [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 0E 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 0E 00 3B 13 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 9F [20:13:46]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:13:46]wFMCommunicate OK [20:13:46]SAM_PROTO_GetShiftState done [20:13:46]FM_GetShiftState done [20:13:46]req_shift_opened done [20:13:46]requested_item shift.open_date is exist - process it [20:13:46]req_shift_open_date [20:13:46]req_shift_open_date done [20:13:46]produce_requested_data done [20:13:46]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22220,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [20:13:46]process_action_free close_receipt [20:13:46]json_value_free [20:13:46]json_value_free done [20:13:46]process_json_proto returns [20:13:46]Send response to host [20:13:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22220,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [20:13:46]free response buf [20:13:46]execute_script done [20:13:46]execute_script returns [20:13:46]free content buf [20:13:46]Sock 8.Close socket [20:13:46]Sock 8.Thread stoped [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:35]OFD Sender: No OFD packet to send [20:16:40]OFD Sender: No OFD packet to send [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:15]OFD Sender: No OFD packet to send [20:17:20]OFD Sender: No OFD packet to send [20:17:25]OFD Sender: No OFD packet to send [20:17:30]OFD Sender: No OFD packet to send [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:02]accept exits with 9 [20:20:02]New connection [20:20:02]New thread 3066695012 created [20:20:02]Thread 3066838372 joined [20:20:02]Waiting for new connection... [20:20:02] Sock 9.Parse request [20:20:02]Sock 9.Check first char [20:20:02]Sock 9.First char is OK [20:20:02]request: POST /json_proto HTTP/1.0 [20:20:02]Method: POST [20:20:02]URL: /json_proto [20:20:02]Method is POST - this is cgi request [20:20:02]url: /json_proto [20:20:02]query_string will be loaded in cgi processing [20:20:02]execute_cgi json_proto POST (null) [20:20:02]execute_cgi path=json_proto method=POST [20:20:02]POST find Content-Length [20:20:02]Host: 172.17.35.133:8080 [20:20:02]Content-Length: 890 [20:20:02]Content-Type: application/json [20:20:02] [20:20:02]POST finish read [20:20:02]Found Content-Length = 890 [20:20:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254437", "tax_sys" : 0, "items" : [ { "code": "4600452021149", "name": "\u0428\u043E\u043A.Oz.\u043C\u043E\u043B.MilkExtraHazeln.90\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:20:02]execute_script... [20:20:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254437", "tax_sys" : 0, "items" : [ { "code": "4600452021149", "name": "\u0428\u043E\u043A.Oz.\u043C\u043E\u043B.MilkExtraHazeln.90\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:20:02]POST & json_proto [20:20:02]process_json_proto [20:20:02]json parsed OK: [20:20:02]protocol is kg_v1.0 [20:20:02]action value=close_receipt [20:20:02]process_action close_receipt [20:20:02]cmd_close_receipt [20:20:02]MH_GetDate [20:20:02]Write to MH i2c: F0 00 00 3C 13 3E [20:20:02]Write i2c OK [20:20:02]MH_I2C_Read... [20:20:02]Read from MH i2c: F0 [20:20:02]MH_I2C_Read... [20:20:02]Read from MH i2c: F0 09 00 [20:20:02]MH_I2C_Read... [20:20:02]Read from MH i2c: F0 09 00 3C 13 00 76 F7 6D 66 8C 55 28 65 F5 [20:20:02]GetLastDocTimeStamp 1718482427 [20:20:02]current date 1718482806 [20:20:02]FM_GetShiftState [20:20:02]SAM_PROTO_GetShiftState [20:20:02]wFMCommunicate request_size=4 [20:20:02]MH_SAM_APDU [20:20:02]CAPDU: 80 13 01 00 [20:20:02]Write to MH i2c: E2 08 00 3D 13 80 13 01 00 00 00 00 00 CD [20:20:02]Write i2c OK [20:20:02]MH_I2C_Read... [20:20:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:20:02]Read from MH i2c: E2 [20:20:02]MH_I2C_Read... [20:20:02]Read from MH i2c: E2 0E 00 [20:20:02]MH_I2C_Read... [20:20:02]Read from MH i2c: E2 0E 00 3D 13 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 A1 [20:20:02]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:20:02]wFMCommunicate OK [20:20:02]SAM_PROTO_GetShiftState done [20:20:02]FM_GetShiftState done [20:20:02]opened in 1718410776 [20:20:02]opened+sec_in_day 1718497176 [20:20:02]quantity*price = 9500 [20:20:02]sum+1 = 9501 [20:20:02]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 66 15.06.2024 20:20 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22221 ФПД: 132866713343344 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T202006&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22221&fm=132866713343344&tin=02508201610067®Number=0000000000099755&sum=17000 0 [20:20:03]StoreToDocumentArchive [20:20:03]shift 326 fd 22221 [20:20:03]save to /storage/0326/doc_00022221 [20:20:03]save last doc name /storage/0326/doc_00022221 to /storage/kkm_last_doc_name [20:20:03]save OK [20:20:03]Clear old archive folders... [20:20:03]ProcessDocumentItem done err = 0, tmpTLVsize=384 [20:20:03]tlvbuf is 001C2140 [20:20:03]SAM_PROTO_ClearQueue [20:20:03]wFMCommunicate request_size=4 [20:20:03]MH_SAM_APDU [20:20:03]CAPDU: 80 09 00 00 [20:20:03]Write to MH i2c: E2 08 00 4A 13 80 09 00 00 00 00 00 00 CF [20:20:03]Write i2c OK [20:20:03]MH_I2C_Read... [20:20:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:20:03]Read from MH i2c: E2 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 03 00 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 03 00 4A 13 00 90 00 D1 [20:20:03]RAPDU: 90 00 [20:20:03]wFMCommunicate OK [20:20:03]SAM_PROTO_ClearQueue done [20:20:03]KKMCreateOFDPacket [20:20:03]OFDProtocolAddRootSTLVToBuf [20:20:03]FM_MakeSignedData [20:20:03]FM_MakeSignedData [20:20:03]SAM_PROTO_SignData [20:20:03]wFMCommunicate request_size=4 [20:20:03]MH_SAM_APDU [20:20:03]CAPDU: 80 0D 01 02 [20:20:03]Write to MH i2c: E2 08 00 4B 13 80 0D 01 02 00 00 00 00 D7 [20:20:03]Write i2c OK [20:20:03]MH_I2C_Read... [20:20:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:20:03]Read from MH i2c: E2 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 03 00 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 03 00 4B 13 00 90 00 D2 [20:20:03]RAPDU: 90 00 [20:20:03]wFMCommunicate OK [20:20:03]wFMCommunicate request_size=255 [20:20:03]MH_SAM_APDU [20:20:03]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 34 39 06 04 25 00 D0 A8 D0 BE D0 BA 2E 4F 7A 2E D0 BC D0 BE D0 BB 2E 4D 69 6C 6B 45 78 74 72 61 48 61 7A 65 6C 6E 2E 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [20:20:03]Write to MH i2c: E2 02 01 4C 13 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 34 39 06 04 25 00 D0 A8 D0 BE D0 BA 2E 4F 7A 2E D0 BC D0 BE D0 BB 2E 4D 69 6C 6B 45 78 74 72 61 48 61 7A 65 6C 6E 2E 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 15 [20:20:03]Write i2c OK [20:20:03]MH_I2C_Read... [20:20:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:20:03]Read from MH i2c: E2 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 03 00 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 03 00 4C 13 00 90 00 D3 [20:20:03]RAPDU: 90 00 [20:20:03]wFMCommunicate OK [20:20:03]wFMCommunicate request_size=143 [20:20:03]MH_SAM_APDU [20:20:03]CAPDU: 80 0D 02 02 8A 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 76 F7 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CD 56 00 00 35 04 06 00 78 D7 71 40 55 70 [20:20:03]Write to MH i2c: E2 92 00 4D 13 80 0D 02 02 8A 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 76 F7 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CD 56 00 00 35 04 06 00 78 D7 71 40 55 70 00 00 29 [20:20:03]Write i2c OK [20:20:03]MH_I2C_Read... [20:20:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:20:03]Read from MH i2c: E2 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 03 00 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 03 00 4D 13 00 90 00 D4 [20:20:03]RAPDU: 90 00 [20:20:03]wFMCommunicate OK [20:20:03]wFMCommunicate request_size=4 [20:20:03]MH_SAM_APDU [20:20:03]CAPDU: 80 0D 03 02 [20:20:03]Write to MH i2c: E2 08 00 4E 13 80 0D 03 02 00 00 00 00 DC [20:20:03]Write i2c OK [20:20:03]MH_I2C_Read... [20:20:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:20:03]Read from MH i2c: E2 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 0B 00 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 0B 00 4E 13 00 76 D8 9C 30 98 C6 35 68 90 00 F2 [20:20:03]RAPDU: 76 D8 9C 30 98 C6 35 68 90 00 [20:20:03]wFMCommunicate OK [20:20:03]SAM_PROTO_SignData done [20:20:03]FM_MakeSignedData done [20:20:03]CreateOFDProtocolMessage [20:20:03]wFMCommunicate request_size=4 [20:20:03]MH_SAM_APDU [20:20:03]CAPDU: 80 11 00 00 [20:20:03]Write to MH i2c: E2 08 00 4F 13 80 11 00 00 00 00 00 00 DC [20:20:03]Write i2c OK [20:20:03]MH_I2C_Read... [20:20:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:20:03]Read from MH i2c: E2 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 17 00 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: E2 17 00 4F 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2E [20:20:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:20:03]wFMCommunicate OK [20:20:03]CreateOFDProtocolMessage done [20:20:03]OFDSenderStorePacket 22221 [20:20:03]StoreOFDPacket docnum=22221 [20:20:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 94 01 00 00 28 89 8C 01 73 40 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 34 39 06 04 25 00 D0 A8 D0 BE D0 BA 2E 4F 7A 2E D0 BC D0 BE D0 BB 2E 4D 69 6C 6B 45 78 74 72 61 48 61 7A 65 6C 6E 2E 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 76 F7 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CD 56 00 00 35 04 06 00 78 D7 71 40 55 70 76 D8 9C 30 98 C6 35 68 [20:20:03]CheckFolder [20:20:03]dirname=/storage/ofd_packets [20:20:03]CheckFolder done [20:20:03]ProducePacketName [20:20:03]name=ofd_packets/00022221 [20:20:03]NVStorageSaveData ofd_packets/00022221 [20:20:03]File name is /storage/ofd_packets/00022221 [20:20:03]Write 434 bytes [20:20:03]NVStorageSaveData done [20:20:03]OFDSenderStorePacket done [20:20:03]KKMCreateOFDPacket done [20:20:03]NVStorageSaveData kkm_last_timestamp [20:20:03]File name is /storage/kkm_last_timestamp [20:20:03]Write 4 bytes [20:20:03]NVStorageSaveData done [20:20:03]ExternCall_PrintAddStr [20:20:03]wPrintStart [20:20:03]Write to MH i2c: 01 00 00 50 13 63 [20:20:03]Write i2c OK [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: 01 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: 01 07 00 [20:20:03]MH_I2C_Read... [20:20:03]Read from MH i2c: 01 07 00 50 13 00 00 00 00 00 FF 0F 78 [20:20:03]RasterBufferAndPrint [20:20:03]line Счет N : (3)254437 [20:20:03]line ИНН: 02508201610067 [20:20:03]line Контрольно-Кассовый Чек [20:20:03]line ПРОДАЖА [20:20:03]line Товар: 4600452021149 [20:20:04]line Шок.Oz.мол.MilkExtraHazeln.90г [20:20:04]line 1.000 * 95.00 [20:20:04]line = 95.00 [20:20:04]line НДС 12% НСП 1% [20:20:04]line > о реализуемом товаре [20:20:04]line Товар: 54491472 [20:20:04]line Напиток Кока-Кола 0,5л [20:20:04]line 1.000 * 75.00 [20:20:04]line = 75.00 [20:20:04]line НДС 12% НСП 1% [20:20:04]line > о реализуемом товаре [20:20:04]line ИТОГО: 170.00 [20:20:04]line НСП 1% : 1.50 [20:20:04]line НДС 12% : 18.05 [20:20:04]line Наличными: 170.00 [20:20:04]line Безнал.: 0.00 [20:20:04]line Место: АЗС № 76 "Партнер Нефть" [20:20:04]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [20:20:04]line СНО: Общий режим [20:20:04]line Чек 66 15.06.2024 20:20 [20:20:04]line Смена: 326 ФФД: 1.0 [20:20:04]line ЗНМ: 0300000200 [20:20:04]line РНМ: 0000000000099755 [20:20:04]line Версия ККМ: 001 [20:20:04]line ФМ: 0000000000965344 [20:20:04]line ФД: 22221 [20:20:04]line ФПД: 132866713343344 [20:20:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T202006&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22221&fm=132866713343344&tin=02508201610067®Number=0000000000099755&sum=17000 [20:20:04]line 0 [20:20:04]OFD Sender: Processing packet 22221 [packets to send 5, broken 4] [20:20:04]ProducePacketName [20:20:04]name=ofd_packets/00022221 [20:20:04]OFD Sender: To server: pG, [20:20:04]CommunicateWithHost lk.salyk.kg:30040 [20:20:04]ConnectInit lk.salyk.kg [20:20:04]written 0, free lines is 4095 [20:20:04]Connected sock=10 [20:20:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 94 01 00 00 28 89 8C 01 73 40 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 34 39 06 04 25 00 D0 A8 D0 BE D0 BA 2E 4F 7A 2E D0 BC D0 BE D0 BB 2E 4D 69 6C 6B 45 78 74 72 61 48 61 7A 65 6C 6E 2E 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 76 F7 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CD 56 00 00 35 04 06 00 78 D7 71 40 55 70 76 D8 9C 30 98 C6 35 68 [20:20:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 58 6D 47 00 A4 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CD 56 00 00 F4 03 04 00 33 A0 6D 66 B6 04 01 00 00 4C E6 5A 43 E4 61 44 E2 [20:20:04]CommunicateWithHost err = 0 [20:20:04]CheckOFDResponse [20:20:04]1017 (14) - 77093643461234 [20:20:04]1041 (16) - 0000000000965344 [20:20:04]1040 (4) - 22221 [20:20:04]1012 (4) - 15.06.2024 14:07 [20:20:04]1206 (1) - 0 [20:20:04]OFD Sender: Remove packet 22221 [20:20:04]ProducePacketName [20:20:04]name=ofd_packets/00022221 [20:20:04]NVStorageDeleteData [20:20:04]Write to MH i2c: 01 00 00 7E 13 91 [20:20:04]Write i2c OK [20:20:04]MH_I2C_Read... [20:20:04]Read from MH i2c: 01 [20:20:04]MH_I2C_Read... [20:20:04]Read from MH i2c: 01 07 00 [20:20:04]MH_I2C_Read... [20:20:04]Read from MH i2c: 01 07 00 7E 13 00 00 00 00 00 F1 0C 95 [20:20:04]RasterBufferAndPrint [20:20:04]line [20:20:04]line [20:20:04]line [20:20:04]line [20:20:04]line [20:20:04]written 0, free lines is 3319 [20:20:04]MH_Cut [20:20:04]Write to MH i2c: D1 01 00 85 13 01 6A [20:20:04]Write i2c OK [20:20:04]MH_I2C_Read... [20:20:04]Read from MH i2c: D1 [20:20:04]MH_I2C_Read... [20:20:04]Read from MH i2c: D1 01 00 [20:20:04]MH_I2C_Read... [20:20:04]Read from MH i2c: D1 01 00 85 13 00 69 [20:20:04]Write to MH i2c: 01 00 00 86 13 99 [20:20:04]Write i2c OK [20:20:04]MH_I2C_Read... [20:20:05]OFD Sender: No OFD packet to send [20:20:05]*** Cut start [20:20:05]*** Partial cut [20:20:05]*** CUTSNS_PIN = 1 [20:20:05]*** CUTSNS_PIN = 0 [20:20:05]*** Brake cut motor [20:20:06]Read from MH i2c: 01 [20:20:06]MH_I2C_Read... [20:20:06]*** Stop cut motor [20:20:06]*** Cut end [20:20:06]Read from MH i2c: 01 07 00 [20:20:06]MH_I2C_Read... [20:20:06]Read from MH i2c: 01 07 00 86 13 00 00 00 00 00 FF 0F AE [20:20:06]process_action close_receipt done [20:20:06]requested_data is exist [20:20:06]produce_requested_data [20:20:06]requested_item fm.sn is exist - process it [20:20:06]wFMCommunicate request_size=4 [20:20:06]MH_SAM_APDU [20:20:06]CAPDU: 80 11 00 00 [20:20:06]Write to MH i2c: E2 08 00 87 13 80 11 00 00 00 00 00 00 14 [20:20:06]Write i2c OK [20:20:06]MH_I2C_Read... [20:20:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:20:06]Read from MH i2c: E2 [20:20:06]MH_I2C_Read... [20:20:06]Read from MH i2c: E2 17 00 [20:20:06]MH_I2C_Read... [20:20:06]Read from MH i2c: E2 17 00 87 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 66 [20:20:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:20:06]wFMCommunicate OK [20:20:06]requested_item fd.num is exist - process it [20:20:06]SAM_PROTO_GetFieldsCounters [20:20:06]wFMCommunicate request_size=4 [20:20:06]MH_SAM_APDU [20:20:06]CAPDU: 80 13 00 00 [20:20:06]Write to MH i2c: E2 08 00 88 13 80 13 00 00 00 00 00 00 17 [20:20:06]Write i2c OK [20:20:06]MH_I2C_Read... [20:20:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:20:06]Read from MH i2c: E2 [20:20:06]MH_I2C_Read... [20:20:06]Read from MH i2c: E2 62 00 [20:20:06]MH_I2C_Read... [20:20:06]Read from MH i2c: E2 62 00 88 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CD 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 71 [20:20:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CD 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:20:06]wFMCommunicate OK [20:20:06]SAM_PROTO_GetFieldsCounters done [20:20:06]requested_item shift.num is exist - process it [20:20:06]requested_item shift.opened is exist - process it [20:20:06]req_shift_opened [20:20:06]FM_GetShiftState [20:20:06]SAM_PROTO_GetShiftState [20:20:06]wFMCommunicate request_size=4 [20:20:06]MH_SAM_APDU [20:20:06]CAPDU: 80 13 01 00 [20:20:06]Write to MH i2c: E2 08 00 89 13 80 13 01 00 00 00 00 00 19 [20:20:06]Write i2c OK [20:20:06]MH_I2C_Read... [20:20:06]Read from MH i2c: E2 [20:20:06]MH_I2C_Read... [20:20:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:20:06]Read from MH i2c: E2 0E 00 [20:20:06]MH_I2C_Read... [20:20:06]Read from MH i2c: E2 0E 00 89 13 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 ED [20:20:06]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:20:06]wFMCommunicate OK [20:20:06]SAM_PROTO_GetShiftState done [20:20:06]FM_GetShiftState done [20:20:06]req_shift_opened done [20:20:06]requested_item shift.open_date is exist - process it [20:20:06]req_shift_open_date [20:20:06]req_shift_open_date done [20:20:06]produce_requested_data done [20:20:06]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22221,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [20:20:06]process_action_free close_receipt [20:20:06]json_value_free [20:20:06]json_value_free done [20:20:06]process_json_proto returns [20:20:06]Send response to host [20:20:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22221,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [20:20:06]free response buf [20:20:06]execute_script done [20:20:06]execute_script returns [20:20:06]free content buf [20:20:06]Sock 9.Close socket [20:20:06]Sock 9.Thread stoped [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:47]accept exits with 8 [20:36:47]New connection [20:36:47]New thread 3066838372 created [20:36:47]Thread 3066695012 joined [20:36:47]Waiting for new connection... [20:36:47] Sock 8.Parse request [20:36:47]Sock 8.Check first char [20:36:47]Sock 8.First char is OK [20:36:47]request: POST /json_proto HTTP/1.0 [20:36:47]Method: POST [20:36:47]URL: /json_proto [20:36:47]Method is POST - this is cgi request [20:36:47]url: /json_proto [20:36:47]query_string will be loaded in cgi processing [20:36:47]execute_cgi json_proto POST (null) [20:36:47]execute_cgi path=json_proto method=POST [20:36:47]POST find Content-Length [20:36:47]Host: 172.17.35.133:8080 [20:36:47]Content-Length: 698 [20:36:47]Content-Type: application/json [20:36:47] [20:36:47]POST finish read [20:36:47]Found Content-Length = 698 [20:36:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254438", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:36:47]execute_script... [20:36:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254438", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:36:47]POST & json_proto [20:36:47]process_json_proto [20:36:47]json parsed OK: [20:36:47]protocol is kg_v1.0 [20:36:47]action value=close_receipt [20:36:47]process_action close_receipt [20:36:47]cmd_close_receipt [20:36:47]MH_GetDate [20:36:47]Write to MH i2c: F0 00 00 8A 13 8C [20:36:47]Write i2c OK [20:36:47]MH_I2C_Read... [20:36:47]Read from MH i2c: F0 [20:36:47]MH_I2C_Read... [20:36:47]Read from MH i2c: F0 09 00 [20:36:47]MH_I2C_Read... [20:36:47]Read from MH i2c: F0 09 00 8A 13 00 64 FB 6D 66 8C 55 28 65 35 [20:36:47]GetLastDocTimeStamp 1718482806 [20:36:47]current date 1718483812 [20:36:47]FM_GetShiftState [20:36:47]SAM_PROTO_GetShiftState [20:36:47]wFMCommunicate request_size=4 [20:36:47]MH_SAM_APDU [20:36:47]CAPDU: 80 13 01 00 [20:36:47]Write to MH i2c: E2 08 00 8B 13 80 13 01 00 00 00 00 00 1B [20:36:47]Write i2c OK [20:36:47]MH_I2C_Read... [20:36:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:36:47]Read from MH i2c: E2 [20:36:47]MH_I2C_Read... [20:36:47]Read from MH i2c: E2 0E 00 [20:36:47]MH_I2C_Read... [20:36:47]Read from MH i2c: E2 0E 00 8B 13 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 EF [20:36:47]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:36:47]wFMCommunicate OK [20:36:47]SAM_PROTO_GetShiftState done [20:36:47]FM_GetShiftState done [20:36:47]opened in 1718410776 [20:36:47]opened+sec_in_day 1718497176 [20:36:47]quantity*price = 10000 [20:36:47]sum+1 = 10001 [20:36:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 67 15.06.2024 20:36 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22222 ФПД: 46427742123978 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T203652&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22222&fm=46427742123978&tin=02508201610067®Number=0000000000099755&sum=10000 0 [20:36:49]StoreToDocumentArchive [20:36:49]shift 326 fd 22222 [20:36:49]save to /storage/0326/doc_00022222 [20:36:49]save last doc name /storage/0326/doc_00022222 to /storage/kkm_last_doc_name [20:36:49]save OK [20:36:49]Clear old archive folders... [20:36:49]ProcessDocumentItem done err = 0, tmpTLVsize=298 [20:36:49]tlvbuf is 001CFD00 [20:36:49]SAM_PROTO_ClearQueue [20:36:49]wFMCommunicate request_size=4 [20:36:49]MH_SAM_APDU [20:36:49]CAPDU: 80 09 00 00 [20:36:49]Write to MH i2c: E2 08 00 98 13 80 09 00 00 00 00 00 00 1D [20:36:49]Write i2c OK [20:36:49]MH_I2C_Read... [20:36:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:36:49]Read from MH i2c: E2 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 03 00 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 03 00 98 13 00 90 00 1F [20:36:49]RAPDU: 90 00 [20:36:49]wFMCommunicate OK [20:36:49]SAM_PROTO_ClearQueue done [20:36:49]KKMCreateOFDPacket [20:36:49]OFDProtocolAddRootSTLVToBuf [20:36:49]FM_MakeSignedData [20:36:49]FM_MakeSignedData [20:36:49]SAM_PROTO_SignData [20:36:49]wFMCommunicate request_size=4 [20:36:49]MH_SAM_APDU [20:36:49]CAPDU: 80 0D 01 02 [20:36:49]Write to MH i2c: E2 08 00 99 13 80 0D 01 02 00 00 00 00 25 [20:36:49]Write i2c OK [20:36:49]MH_I2C_Read... [20:36:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:36:49]Read from MH i2c: E2 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 03 00 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 03 00 99 13 00 90 00 20 [20:36:49]RAPDU: 90 00 [20:36:49]wFMCommunicate OK [20:36:49]wFMCommunicate request_size=255 [20:36:49]MH_SAM_APDU [20:36:49]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 64 FB 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [20:36:49]Write to MH i2c: E2 02 01 9A 13 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 64 FB 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 4A [20:36:49]Write i2c OK [20:36:49]MH_I2C_Read... [20:36:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:36:49]Read from MH i2c: E2 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 03 00 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 03 00 9A 13 00 90 00 21 [20:36:49]RAPDU: 90 00 [20:36:49]wFMCommunicate OK [20:36:49]wFMCommunicate request_size=57 [20:36:49]MH_SAM_APDU [20:36:49]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CE 56 00 00 35 04 06 00 2A 39 CD 13 B7 CA [20:36:49]Write to MH i2c: E2 3C 00 9B 13 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CE 56 00 00 35 04 06 00 2A 39 CD 13 B7 CA 00 00 D6 [20:36:49]Write i2c OK [20:36:49]MH_I2C_Read... [20:36:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:36:49]Read from MH i2c: E2 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 03 00 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 03 00 9B 13 00 90 00 22 [20:36:49]RAPDU: 90 00 [20:36:49]wFMCommunicate OK [20:36:49]wFMCommunicate request_size=4 [20:36:49]MH_SAM_APDU [20:36:49]CAPDU: 80 0D 03 02 [20:36:49]Write to MH i2c: E2 08 00 9C 13 80 0D 03 02 00 00 00 00 2A [20:36:49]Write i2c OK [20:36:49]MH_I2C_Read... [20:36:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:36:49]Read from MH i2c: E2 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 0B 00 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 0B 00 9C 13 00 21 77 3F DC 22 3D 47 9A 90 00 1E [20:36:49]RAPDU: 21 77 3F DC 22 3D 47 9A 90 00 [20:36:49]wFMCommunicate OK [20:36:49]SAM_PROTO_SignData done [20:36:49]FM_MakeSignedData done [20:36:49]CreateOFDProtocolMessage [20:36:49]wFMCommunicate request_size=4 [20:36:49]MH_SAM_APDU [20:36:49]CAPDU: 80 11 00 00 [20:36:49]Write to MH i2c: E2 08 00 9D 13 80 11 00 00 00 00 00 00 2A [20:36:49]Write i2c OK [20:36:49]MH_I2C_Read... [20:36:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:36:49]Read from MH i2c: E2 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 17 00 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: E2 17 00 9D 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7C [20:36:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:36:49]wFMCommunicate OK [20:36:49]CreateOFDProtocolMessage done [20:36:49]OFDSenderStorePacket 22222 [20:36:49]StoreOFDPacket docnum=22222 [20:36:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 42 7C 36 01 68 94 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 64 FB 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CE 56 00 00 35 04 06 00 2A 39 CD 13 B7 CA 21 77 3F DC 22 3D 47 9A [20:36:49]CheckFolder [20:36:49]dirname=/storage/ofd_packets [20:36:49]CheckFolder done [20:36:49]ProducePacketName [20:36:49]name=ofd_packets/00022222 [20:36:49]NVStorageSaveData ofd_packets/00022222 [20:36:49]File name is /storage/ofd_packets/00022222 [20:36:49]Write 348 bytes [20:36:49]NVStorageSaveData done [20:36:49]OFDSenderStorePacket done [20:36:49]KKMCreateOFDPacket done [20:36:49]NVStorageSaveData kkm_last_timestamp [20:36:49]File name is /storage/kkm_last_timestamp [20:36:49]OFD Sender: Processing packet 22222 [packets to send 5, broken 4] [20:36:49]ProducePacketName [20:36:49]name=ofd_packets/00022222 [20:36:49]OFD Sender: To server: pG, [20:36:49]CommunicateWithHost lk.salyk.kg:30040 [20:36:49]ConnectInit lk.salyk.kg [20:36:49]Write 4 bytes [20:36:49]NVStorageSaveData done [20:36:49]ExternCall_PrintAddStr [20:36:49]wPrintStart [20:36:49]Write to MH i2c: 01 00 00 9E 13 B1 [20:36:49]Write i2c OK [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: 01 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: 01 07 00 [20:36:49]MH_I2C_Read... [20:36:49]Read from MH i2c: 01 07 00 9E 13 00 00 00 00 00 FF 0F C6 [20:36:49]RasterBufferAndPrint [20:36:49]line Счет N : (3)254438 [20:36:49]line ИНН: 02508201610067 [20:36:49]line Контрольно-Кассовый Чек [20:36:49]line ПРОДАЖА [20:36:49]line Товар: 4870001571528 [20:36:49]line Вода ASU пит н.газ персик ПЭТ 1,0 л [20:36:49]line 1.000 * 100.00 [20:36:49]line = 100.00 [20:36:49]line НДС 12% НСП 1% [20:36:49]line > о реализуемом товаре [20:36:49]line ИТОГО: 100.00 [20:36:49]line НСП 1% : 0.88 [20:36:49]line НДС 12% : 10.62 [20:36:49]line Наличными: 100.00 [20:36:49]line Безнал.: 0.00 [20:36:49]line Место: АЗС № 76 "Партнер Нефть" [20:36:49]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [20:36:49]line СНО: Общий режим [20:36:49]line Чек 67 15.06.2024 20:36 [20:36:49]line Смена: 326 ФФД: 1.0 [20:36:49]line ЗНМ: 0300000200 [20:36:49]line РНМ: 0000000000099755 [20:36:49]line Версия ККМ: 001 [20:36:49]line ФМ: 0000000000965344 [20:36:49]line ФД: 22222 [20:36:49]line ФПД: 46427742123978 [20:36:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T203652&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22222&fm=46427742123978&tin=02508201610067®Number=0000000000099755&sum=10000 [20:36:49]line 0 [20:36:49]Connected sock=11 [20:36:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 42 7C 36 01 68 94 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 64 FB 6D 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CE 56 00 00 35 04 06 00 2A 39 CD 13 B7 CA 21 77 3F DC 22 3D 47 9A [20:36:50]written 0, free lines is 4095 [20:36:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 9C 2D 47 00 A5 BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CE 56 00 00 F4 03 04 00 20 A4 6D 66 B6 04 01 00 00 AA E3 08 21 3E 52 88 3D [20:36:50]CommunicateWithHost err = 0 [20:36:50]CheckOFDResponse [20:36:50]1017 (14) - 77093643461234 [20:36:50]1041 (16) - 0000000000965344 [20:36:50]1040 (4) - 22222 [20:36:50]1012 (4) - 15.06.2024 14:24 [20:36:50]1206 (1) - 0 [20:36:50]OFD Sender: Remove packet 22222 [20:36:50]ProducePacketName [20:36:50]name=ofd_packets/00022222 [20:36:50]NVStorageDeleteData [20:36:50]Write to MH i2c: 01 00 00 C7 13 DA [20:36:50]Write i2c OK [20:36:50]MH_I2C_Read... [20:36:50]Read from MH i2c: 01 [20:36:50]MH_I2C_Read... [20:36:50]Read from MH i2c: 01 07 00 [20:36:50]MH_I2C_Read... [20:36:50]Read from MH i2c: 01 07 00 C7 13 00 00 00 00 00 12 0D 00 [20:36:50]RasterBufferAndPrint [20:36:50]line [20:36:50]line [20:36:50]line [20:36:50]line [20:36:50]line [20:36:50]written 0, free lines is 3353 [20:36:50]MH_Cut [20:36:50]Write to MH i2c: D1 01 00 CE 13 01 B3 [20:36:50]Write i2c OK [20:36:50]MH_I2C_Read... [20:36:50]Read from MH i2c: D1 [20:36:50]MH_I2C_Read... [20:36:50]Read from MH i2c: D1 01 00 [20:36:50]MH_I2C_Read... [20:36:50]Read from MH i2c: D1 01 00 CE 13 00 B2 [20:36:50]Write to MH i2c: 01 00 00 CF 13 E2 [20:36:50]Write i2c OK [20:36:50]MH_I2C_Read... [20:36:50]OFD Sender: No OFD packet to send [20:36:51]*** Cut start [20:36:51]*** Partial cut [20:36:51]*** CUTSNS_PIN = 1 [20:36:51]*** CUTSNS_PIN = 0 [20:36:51]*** Brake cut motor [20:36:51]Read from MH i2c: 01 [20:36:51]MH_I2C_Read... [20:36:51]*** Stop cut motor [20:36:51]*** Cut end [20:36:51]Read from MH i2c: 01 07 00 [20:36:51]MH_I2C_Read... [20:36:51]Read from MH i2c: 01 07 00 CF 13 00 00 00 00 00 FF 0F F7 [20:36:51]process_action close_receipt done [20:36:51]requested_data is exist [20:36:51]produce_requested_data [20:36:51]requested_item fm.sn is exist - process it [20:36:51]wFMCommunicate request_size=4 [20:36:51]MH_SAM_APDU [20:36:51]CAPDU: 80 11 00 00 [20:36:51]Write to MH i2c: E2 08 00 D0 13 80 11 00 00 00 00 00 00 5D [20:36:51]Write i2c OK [20:36:51]MH_I2C_Read... [20:36:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:36:51]Read from MH i2c: E2 [20:36:51]MH_I2C_Read... [20:36:51]Read from MH i2c: E2 17 00 [20:36:51]MH_I2C_Read... [20:36:51]Read from MH i2c: E2 17 00 D0 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AF [20:36:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:36:51]wFMCommunicate OK [20:36:51]requested_item fd.num is exist - process it [20:36:51]SAM_PROTO_GetFieldsCounters [20:36:51]wFMCommunicate request_size=4 [20:36:51]MH_SAM_APDU [20:36:51]CAPDU: 80 13 00 00 [20:36:51]Write to MH i2c: E2 08 00 D1 13 80 13 00 00 00 00 00 00 60 [20:36:51]Write i2c OK [20:36:51]MH_I2C_Read... [20:36:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:36:51]Read from MH i2c: E2 [20:36:51]MH_I2C_Read... [20:36:51]Read from MH i2c: E2 62 00 [20:36:51]MH_I2C_Read... [20:36:51]Read from MH i2c: E2 62 00 D1 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CE 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 BE [20:36:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CE 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:36:51]wFMCommunicate OK [20:36:51]SAM_PROTO_GetFieldsCounters done [20:36:51]requested_item shift.num is exist - process it [20:36:51]requested_item shift.opened is exist - process it [20:36:51]req_shift_opened [20:36:51]FM_GetShiftState [20:36:51]SAM_PROTO_GetShiftState [20:36:51]wFMCommunicate request_size=4 [20:36:51]MH_SAM_APDU [20:36:51]CAPDU: 80 13 01 00 [20:36:51]Write to MH i2c: E2 08 00 D2 13 80 13 01 00 00 00 00 00 62 [20:36:51]Write i2c OK [20:36:51]MH_I2C_Read... [20:36:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:36:51]Read from MH i2c: E2 [20:36:51]MH_I2C_Read... [20:36:51]Read from MH i2c: E2 0E 00 [20:36:51]MH_I2C_Read... [20:36:51]Read from MH i2c: E2 0E 00 D2 13 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 36 [20:36:51]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [20:36:51]wFMCommunicate OK [20:36:51]SAM_PROTO_GetShiftState done [20:36:51]FM_GetShiftState done [20:36:51]req_shift_opened done [20:36:51]requested_item shift.open_date is exist - process it [20:36:51]req_shift_open_date [20:36:51]req_shift_open_date done [20:36:51]produce_requested_data done [20:36:51]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22222,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [20:36:51]process_action_free close_receipt [20:36:51]json_value_free [20:36:51]json_value_free done [20:36:51]process_json_proto returns [20:36:51]Send response to host [20:36:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22222,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [20:36:51]free response buf [20:36:51]execute_script done [20:36:51]execute_script returns [20:36:51]free content buf [20:36:51]Sock 8.Close socket [20:36:51]Sock 8.Thread stoped [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:30]OFD Sender: No OFD packet to send [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:46]OFD Sender: No OFD packet to send [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:21]OFD Sender: No OFD packet to send [20:46:26]OFD Sender: No OFD packet to send [20:46:31]OFD Sender: No OFD packet to send [20:46:36]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:41]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:06]OFD Sender: No OFD packet to send [20:51:11]OFD Sender: No OFD packet to send [20:51:16]OFD Sender: No OFD packet to send [20:51:21]OFD Sender: No OFD packet to send [20:51:26]OFD Sender: No OFD packet to send [20:51:31]OFD Sender: No OFD packet to send [20:51:36]OFD Sender: No OFD packet to send [20:51:41]OFD Sender: No OFD packet to send [20:51:46]OFD Sender: No OFD packet to send [20:51:51]OFD Sender: No OFD packet to send [20:51:56]OFD Sender: No OFD packet to send [20:52:01]OFD Sender: No OFD packet to send [20:52:06]OFD Sender: No OFD packet to send [20:52:11]OFD Sender: No OFD packet to send [20:52:16]OFD Sender: No OFD packet to send [20:52:21]OFD Sender: No OFD packet to send [20:52:26]OFD Sender: No OFD packet to send [20:52:31]OFD Sender: No OFD packet to send [20:52:36]OFD Sender: No OFD packet to send [20:52:41]OFD Sender: No OFD packet to send [20:52:46]OFD Sender: No OFD packet to send [20:52:51]OFD Sender: No OFD packet to send [20:52:56]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:36]OFD Sender: No OFD packet to send [20:54:41]OFD Sender: No OFD packet to send [20:54:46]OFD Sender: No OFD packet to send [20:54:51]OFD Sender: No OFD packet to send [20:54:56]OFD Sender: No OFD packet to send [20:55:01]OFD Sender: No OFD packet to send [20:55:06]OFD Sender: No OFD packet to send [20:55:11]OFD Sender: No OFD packet to send [20:55:16]OFD Sender: No OFD packet to send [20:55:21]OFD Sender: No OFD packet to send [20:55:26]OFD Sender: No OFD packet to send [20:55:31]OFD Sender: No OFD packet to send [20:55:36]OFD Sender: No OFD packet to send [20:55:41]OFD Sender: No OFD packet to send [20:55:46]OFD Sender: No OFD packet to send [20:55:51]OFD Sender: No OFD packet to send [20:55:56]OFD Sender: No OFD packet to send [20:56:01]OFD Sender: No OFD packet to send [20:56:06]OFD Sender: No OFD packet to send [20:56:11]OFD Sender: No OFD packet to send [20:56:16]OFD Sender: No OFD packet to send [20:56:21]OFD Sender: No OFD packet to send [20:56:26]OFD Sender: No OFD packet to send [20:56:31]OFD Sender: No OFD packet to send [20:56:36]OFD Sender: No OFD packet to send [20:56:41]OFD Sender: No OFD packet to send [20:56:46]OFD Sender: No OFD packet to send [20:56:51]OFD Sender: No OFD packet to send [20:56:56]OFD Sender: No OFD packet to send [20:57:01]OFD Sender: No OFD packet to send [20:57:06]OFD Sender: No OFD packet to send [20:57:11]OFD Sender: No OFD packet to send [20:57:16]OFD Sender: No OFD packet to send [20:57:21]OFD Sender: No OFD packet to send [20:57:26]OFD Sender: No OFD packet to send [20:57:31]OFD Sender: No OFD packet to send [20:57:36]OFD Sender: No OFD packet to send [20:57:41]OFD Sender: No OFD packet to send [20:57:46]OFD Sender: No OFD packet to send [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]OFD Sender: No OFD packet to send [21:11:42]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:02]OFD Sender: No OFD packet to send [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:52]OFD Sender: No OFD packet to send [21:18:57]OFD Sender: No OFD packet to send [21:19:02]OFD Sender: No OFD packet to send [21:19:07]OFD Sender: No OFD packet to send [21:19:12]accept exits with 9 [21:19:12]New connection [21:19:12]New thread 3066695012 created [21:19:12]Thread 3066838372 joined [21:19:12]Waiting for new connection... [21:19:12] Sock 9.Parse request [21:19:12]Sock 9.Check first char [21:19:12]Sock 9.First char is OK [21:19:12]request: POST /json_proto HTTP/1.0 [21:19:12]Method: POST [21:19:12]URL: /json_proto [21:19:12]Method is POST - this is cgi request [21:19:12]url: /json_proto [21:19:12]query_string will be loaded in cgi processing [21:19:12]execute_cgi json_proto POST (null) [21:19:12]execute_cgi path=json_proto method=POST [21:19:12]POST find Content-Length [21:19:12]Host: 172.17.35.133:8080 [21:19:12]Content-Length: 844 [21:19:12]Content-Type: application/json [21:19:12] [21:19:12]POST finish read [21:19:12]Found Content-Length = 844 [21:19:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610382", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 15.200, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:19:12]execute_script... [21:19:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610382", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 15.200, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:19:12]POST & json_proto [21:19:12]process_json_proto [21:19:12]json parsed OK: [21:19:12]protocol is kg_v1.0 [21:19:12]action value=close_receipt [21:19:12]process_action close_receipt [21:19:12]cmd_close_receipt [21:19:12]MH_GetDate [21:19:12]Write to MH i2c: F0 00 00 D3 13 D5 [21:19:12]Write i2c OK [21:19:12]MH_I2C_Read... [21:19:12]Read from MH i2c: F0 [21:19:12]MH_I2C_Read... [21:19:12]Read from MH i2c: F0 09 00 [21:19:12]MH_I2C_Read... [21:19:12]Read from MH i2c: F0 09 00 D3 13 00 54 05 6E 66 8C 55 28 65 79 [21:19:12]GetLastDocTimeStamp 1718483812 [21:19:12]current date 1718486356 [21:19:12]FM_GetShiftState [21:19:12]SAM_PROTO_GetShiftState [21:19:12]wFMCommunicate request_size=4 [21:19:12]MH_SAM_APDU [21:19:12]CAPDU: 80 13 01 00 [21:19:12]Write to MH i2c: E2 08 00 D4 13 80 13 01 00 00 00 00 00 64 [21:19:12]Write i2c OK [21:19:12]MH_I2C_Read... [21:19:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:12]Read from MH i2c: E2 [21:19:12]MH_I2C_Read... [21:19:12]Read from MH i2c: E2 0E 00 [21:19:12]MH_I2C_Read... [21:19:12]Read from MH i2c: E2 0E 00 D4 13 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 38 [21:19:12]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:19:12]wFMCommunicate OK [21:19:12]SAM_PROTO_GetShiftState done [21:19:12]FM_GetShiftState done [21:19:12]opened in 1718410776 [21:19:12]opened+sec_in_day 1718497176 [21:19:12]quantity*price = 100016 [21:19:12]sum+1 = 100017 [21:19:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.16 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 68 15.06.2024 21:19 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22223 ФПД: 246953067868408 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T211916&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22223&fm=246953067868408&tin=02508201610067®Number=0000000000099755&sum=100016 [21:19:13]StoreToDocumentArchive [21:19:13]shift 326 fd 22223 [21:19:13]save to /storage/0326/doc_00022223 [21:19:13]save last doc name /storage/0326/doc_00022223 to /storage/kkm_last_doc_name [21:19:13]save OK [21:19:13]Clear old archive folders... [21:19:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:19:13]tlvbuf is 001DAEA0 [21:19:13]SAM_PROTO_ClearQueue [21:19:13]wFMCommunicate request_size=4 [21:19:13]MH_SAM_APDU [21:19:13]CAPDU: 80 09 00 00 [21:19:13]Write to MH i2c: E2 08 00 E1 13 80 09 00 00 00 00 00 00 66 [21:19:13]Write i2c OK [21:19:13]MH_I2C_Read... [21:19:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:19:13]Read from MH i2c: E2 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 03 00 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 03 00 E1 13 00 90 00 68 [21:19:13]RAPDU: 90 00 [21:19:13]wFMCommunicate OK [21:19:13]SAM_PROTO_ClearQueue done [21:19:13]KKMCreateOFDPacket [21:19:13]OFDProtocolAddRootSTLVToBuf [21:19:13]FM_MakeSignedData [21:19:13]FM_MakeSignedData [21:19:13]SAM_PROTO_SignData [21:19:13]wFMCommunicate request_size=4 [21:19:13]MH_SAM_APDU [21:19:13]CAPDU: 80 0D 01 02 [21:19:13]Write to MH i2c: E2 08 00 E2 13 80 0D 01 02 00 00 00 00 6E [21:19:13]Write i2c OK [21:19:13]MH_I2C_Read... [21:19:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:19:13]Read from MH i2c: E2 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 03 00 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 03 00 E2 13 00 90 00 69 [21:19:13]RAPDU: 90 00 [21:19:13]wFMCommunicate OK [21:19:13]wFMCommunicate request_size=255 [21:19:13]MH_SAM_APDU [21:19:13]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 3B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 54 05 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CF 56 00 00 35 04 06 00 E0 [21:19:13]Write to MH i2c: E2 02 01 E3 13 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 3B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 54 05 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CF 56 00 00 35 04 06 00 E0 00 00 69 [21:19:13]Write i2c OK [21:19:13]MH_I2C_Read... [21:19:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:13]Read from MH i2c: E2 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 03 00 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 03 00 E3 13 00 90 00 6A [21:19:13]RAPDU: 90 00 [21:19:13]wFMCommunicate OK [21:19:13]wFMCommunicate request_size=10 [21:19:13]MH_SAM_APDU [21:19:13]CAPDU: 80 0D 02 02 05 9A 3D E2 F0 F8 [21:19:13]Write to MH i2c: E2 0D 00 E4 13 80 0D 02 02 05 00 9A 3D E2 F0 F8 00 00 1C [21:19:13]Write i2c OK [21:19:13]MH_I2C_Read... [21:19:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:13]Read from MH i2c: E2 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 03 00 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 03 00 E4 13 00 90 00 6B [21:19:13]RAPDU: 90 00 [21:19:13]wFMCommunicate OK [21:19:13]wFMCommunicate request_size=4 [21:19:13]MH_SAM_APDU [21:19:13]CAPDU: 80 0D 03 02 [21:19:13]Write to MH i2c: E2 08 00 E5 13 80 0D 03 02 00 00 00 00 73 [21:19:13]Write i2c OK [21:19:13]MH_I2C_Read... [21:19:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:19:13]Read from MH i2c: E2 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 0B 00 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 0B 00 E5 13 00 94 0B 9C 11 E7 E3 C5 53 90 00 A2 [21:19:13]RAPDU: 94 0B 9C 11 E7 E3 C5 53 90 00 [21:19:13]wFMCommunicate OK [21:19:13]SAM_PROTO_SignData done [21:19:13]FM_MakeSignedData done [21:19:13]CreateOFDProtocolMessage [21:19:13]wFMCommunicate request_size=4 [21:19:13]MH_SAM_APDU [21:19:13]CAPDU: 80 11 00 00 [21:19:13]Write to MH i2c: E2 08 00 E6 13 80 11 00 00 00 00 00 00 73 [21:19:13]Write i2c OK [21:19:13]MH_I2C_Read... [21:19:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:13]Read from MH i2c: E2 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 17 00 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: E2 17 00 E6 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C5 [21:19:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:19:13]wFMCommunicate OK [21:19:13]CreateOFDProtocolMessage done [21:19:13]OFDSenderStorePacket 22223 [21:19:13]StoreOFDPacket docnum=22223 [21:19:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 06 99 07 01 79 DF 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 3B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 54 05 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CF 56 00 00 35 04 06 00 E0 9A 3D E2 F0 F8 94 0B 9C 11 E7 E3 C5 53 [21:19:13]CheckFolder [21:19:13]dirname=/storage/ofd_packets [21:19:13]CheckFolder done [21:19:13]ProducePacketName [21:19:13]name=ofd_packets/00022223 [21:19:13]NVStorageSaveData ofd_packets/00022223 [21:19:13]File name is /storage/ofd_packets/00022223 [21:19:13]Write 301 bytes [21:19:13]NVStorageSaveData done [21:19:13]OFDSenderStorePacket done [21:19:13]KKMCreateOFDPacket done [21:19:13]NVStorageSaveData kkm_last_timestamp [21:19:13]File name is /storage/kkm_last_timestamp [21:19:13]Write 4 bytes [21:19:13]NVStorageSaveData done [21:19:13]ExternCall_PrintAddStr [21:19:13]wPrintStart [21:19:13]Write to MH i2c: 01 00 00 E7 13 FA [21:19:13]Write i2c OK [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: 01 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: 01 07 00 [21:19:13]MH_I2C_Read... [21:19:13]Read from MH i2c: 01 07 00 E7 13 00 00 00 00 00 FF 0F 0F [21:19:13]RasterBufferAndPrint [21:19:13]line Счет N : (1)1610382 [21:19:13]line ИНН: 02508201610067 [21:19:13]line Контрольно-Кассовый Чек [21:19:13]line ПРОДАЖА [21:19:13]line ТРК (МРК, ГНК) : 33 [21:19:13]line Товар: 2710124130 [21:19:13]line Аи-92-К-5 [21:19:13]line 15.200 * 65.80 [21:19:13]line = 1000.16 [21:19:13]line НДС 12% НСП 1% [21:19:13]line > о реализуемом товаре [21:19:13]line ИТОГО: 1000.16 [21:19:13]line НСП 1% : 8.85 [21:19:13]line НДС 12% : 106.21 [21:19:13]line Наличными: 0.00 [21:19:13]line Безнал.: 1000.16 [21:19:13]line Место: АЗС № 76 "Партнер Нефть" [21:19:13]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [21:19:13]line СНО: Общий режим [21:19:13]line Чек 68 15.06.2024 21:19 [21:19:13]line Смена: 326 ФФД: 1.0 [21:19:13]line ЗНМ: 0300000200 [21:19:13]line РНМ: 0000000000099755 [21:19:13]line Версия ККМ: 001 [21:19:13]line Платежная система: АКБ Кыргызстан [21:19:13]line ФМ: 0000000000965344 [21:19:13]line ФД: 22223 [21:19:13]line ФПД: 246953067868408 [21:19:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T211916&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22223&fm=246953067868408&tin=02508201610067®Number=0000000000099755&sum=100016 [21:19:14]OFD Sender: Processing packet 22223 [packets to send 5, broken 4] [21:19:14]ProducePacketName [21:19:14]name=ofd_packets/00022223 [21:19:14]OFD Sender: To server: pG, [21:19:14]CommunicateWithHost lk.salyk.kg:30040 [21:19:14]ConnectInit lk.salyk.kg [21:19:14]written 0, free lines is 4095 [21:19:14]Connected sock=10 [21:19:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 06 99 07 01 79 DF 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 3B 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 54 05 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CF 56 00 00 35 04 06 00 E0 9A 3D E2 F0 F8 94 0B 9C 11 E7 E3 C5 53 [21:19:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 1D 0A 47 00 1C CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 CF 56 00 00 F4 03 04 00 11 AE 6D 66 B6 04 01 00 00 42 73 EC 7F 60 25 FA 97 [21:19:14]CommunicateWithHost err = 0 [21:19:14]CheckOFDResponse [21:19:14]1017 (14) - 77093643461234 [21:19:14]1041 (16) - 0000000000965344 [21:19:14]1040 (4) - 22223 [21:19:14]1012 (4) - 15.06.2024 15:06 [21:19:14]1206 (1) - 0 [21:19:14]OFD Sender: Remove packet 22223 [21:19:14]ProducePacketName [21:19:14]name=ofd_packets/00022223 [21:19:14]NVStorageDeleteData [21:19:14]Write to MH i2c: 01 00 00 11 14 25 [21:19:14]Write i2c OK [21:19:14]MH_I2C_Read... [21:19:14]Read from MH i2c: 01 [21:19:14]MH_I2C_Read... [21:19:14]Read from MH i2c: 01 07 00 [21:19:14]MH_I2C_Read... [21:19:14]Read from MH i2c: 01 07 00 11 14 00 00 00 00 00 06 0D 3F [21:19:14]RasterBufferAndPrint [21:19:14]line [21:19:14]line [21:19:14]line [21:19:14]line [21:19:14]line [21:19:14]written 0, free lines is 3340 [21:19:14]MH_Cut [21:19:14]Write to MH i2c: D1 01 00 18 14 01 FE [21:19:14]Write i2c OK [21:19:14]MH_I2C_Read... [21:19:14]Read from MH i2c: D1 [21:19:14]MH_I2C_Read... [21:19:14]Read from MH i2c: D1 01 00 [21:19:14]MH_I2C_Read... [21:19:14]Read from MH i2c: D1 01 00 18 14 00 FD [21:19:14]Write to MH i2c: 01 00 00 19 14 2D [21:19:14]Write i2c OK [21:19:14]MH_I2C_Read... [21:19:14]OFD Sender: No OFD packet to send [21:19:15]*** Cut start [21:19:15]*** Partial cut [21:19:15]*** CUTSNS_PIN = 1 [21:19:15]*** CUTSNS_PIN = 0 [21:19:15]*** Brake cut motor [21:19:15]Read from MH i2c: 01 [21:19:15]MH_I2C_Read... [21:19:15]*** Stop cut motor [21:19:15]*** Cut end [21:19:15]Read from MH i2c: 01 07 00 [21:19:15]MH_I2C_Read... [21:19:15]Read from MH i2c: 01 07 00 19 14 00 00 00 00 00 FF 0F 42 [21:19:15]process_action close_receipt done [21:19:15]requested_data is exist [21:19:15]produce_requested_data [21:19:15]requested_item fm.sn is exist - process it [21:19:15]wFMCommunicate request_size=4 [21:19:15]MH_SAM_APDU [21:19:15]CAPDU: 80 11 00 00 [21:19:15]Write to MH i2c: E2 08 00 1A 14 80 11 00 00 00 00 00 00 A8 [21:19:15]Write i2c OK [21:19:15]MH_I2C_Read... [21:19:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:15]Read from MH i2c: E2 [21:19:15]MH_I2C_Read... [21:19:15]Read from MH i2c: E2 17 00 [21:19:15]MH_I2C_Read... [21:19:15]Read from MH i2c: E2 17 00 1A 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FA [21:19:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:19:15]wFMCommunicate OK [21:19:15]requested_item fd.num is exist - process it [21:19:15]SAM_PROTO_GetFieldsCounters [21:19:15]wFMCommunicate request_size=4 [21:19:15]MH_SAM_APDU [21:19:15]CAPDU: 80 13 00 00 [21:19:15]Write to MH i2c: E2 08 00 1B 14 80 13 00 00 00 00 00 00 AB [21:19:15]Write i2c OK [21:19:15]MH_I2C_Read... [21:19:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:19:16]Read from MH i2c: E2 [21:19:16]MH_I2C_Read... [21:19:16]Read from MH i2c: E2 62 00 [21:19:16]MH_I2C_Read... [21:19:16]Read from MH i2c: E2 62 00 1B 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CF 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [21:19:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 CF 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:19:16]wFMCommunicate OK [21:19:16]SAM_PROTO_GetFieldsCounters done [21:19:16]requested_item shift.num is exist - process it [21:19:16]requested_item shift.opened is exist - process it [21:19:16]req_shift_opened [21:19:16]FM_GetShiftState [21:19:16]SAM_PROTO_GetShiftState [21:19:16]wFMCommunicate request_size=4 [21:19:16]MH_SAM_APDU [21:19:16]CAPDU: 80 13 01 00 [21:19:16]Write to MH i2c: E2 08 00 1C 14 80 13 01 00 00 00 00 00 AD [21:19:16]Write i2c OK [21:19:16]MH_I2C_Read... [21:19:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:16]Read from MH i2c: E2 [21:19:16]MH_I2C_Read... [21:19:16]Read from MH i2c: E2 0E 00 [21:19:16]MH_I2C_Read... [21:19:16]Read from MH i2c: E2 0E 00 1C 14 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 81 [21:19:16]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:19:16]wFMCommunicate OK [21:19:16]SAM_PROTO_GetShiftState done [21:19:16]FM_GetShiftState done [21:19:16]req_shift_opened done [21:19:16]requested_item shift.open_date is exist - process it [21:19:16]req_shift_open_date [21:19:16]req_shift_open_date done [21:19:16]produce_requested_data done [21:19:16]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22223,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [21:19:16]process_action_free close_receipt [21:19:16]json_value_free [21:19:16]json_value_free done [21:19:16]process_json_proto returns [21:19:16]Send response to host [21:19:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22223,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [21:19:16]free response buf [21:19:16]execute_script done [21:19:16]execute_script returns [21:19:16]free content buf [21:19:16]Sock 9.Close socket [21:19:16]Sock 9.Thread stoped [21:19:19]OFD Sender: No OFD packet to send [21:19:24]OFD Sender: No OFD packet to send [21:19:29]OFD Sender: No OFD packet to send [21:19:34]OFD Sender: No OFD packet to send [21:19:39]OFD Sender: No OFD packet to send [21:19:44]OFD Sender: No OFD packet to send [21:19:49]OFD Sender: No OFD packet to send [21:19:54]OFD Sender: No OFD packet to send [21:19:59]OFD Sender: No OFD packet to send [21:20:04]OFD Sender: No OFD packet to send [21:20:09]OFD Sender: No OFD packet to send [21:20:14]OFD Sender: No OFD packet to send [21:20:19]OFD Sender: No OFD packet to send [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:10]OFD Sender: No OFD packet to send [21:21:15]OFD Sender: No OFD packet to send [21:21:20]OFD Sender: No OFD packet to send [21:21:25]OFD Sender: No OFD packet to send [21:21:30]OFD Sender: No OFD packet to send [21:21:35]OFD Sender: No OFD packet to send [21:21:40]OFD Sender: No OFD packet to send [21:21:45]OFD Sender: No OFD packet to send [21:21:50]OFD Sender: No OFD packet to send [21:21:55]OFD Sender: No OFD packet to send [21:22:00]OFD Sender: No OFD packet to send [21:22:05]OFD Sender: No OFD packet to send [21:22:10]OFD Sender: No OFD packet to send [21:22:15]OFD Sender: No OFD packet to send [21:22:20]OFD Sender: No OFD packet to send [21:22:25]OFD Sender: No OFD packet to send [21:22:30]OFD Sender: No OFD packet to send [21:22:35]OFD Sender: No OFD packet to send [21:22:40]OFD Sender: No OFD packet to send [21:22:45]OFD Sender: No OFD packet to send [21:22:50]OFD Sender: No OFD packet to send [21:22:55]OFD Sender: No OFD packet to send [21:23:00]OFD Sender: No OFD packet to send [21:23:05]OFD Sender: No OFD packet to send [21:23:10]OFD Sender: No OFD packet to send [21:23:15]OFD Sender: No OFD packet to send [21:23:20]OFD Sender: No OFD packet to send [21:23:25]OFD Sender: No OFD packet to send [21:23:30]OFD Sender: No OFD packet to send [21:23:35]OFD Sender: No OFD packet to send [21:23:40]OFD Sender: No OFD packet to send [21:23:45]OFD Sender: No OFD packet to send [21:23:50]OFD Sender: No OFD packet to send [21:23:55]OFD Sender: No OFD packet to send [21:24:00]OFD Sender: No OFD packet to send [21:24:05]OFD Sender: No OFD packet to send [21:24:10]OFD Sender: No OFD packet to send [21:24:15]OFD Sender: No OFD packet to send [21:24:20]OFD Sender: No OFD packet to send [21:24:25]OFD Sender: No OFD packet to send [21:24:30]OFD Sender: No OFD packet to send [21:24:35]OFD Sender: No OFD packet to send [21:24:40]OFD Sender: No OFD packet to send [21:24:45]OFD Sender: No OFD packet to send [21:24:50]OFD Sender: No OFD packet to send [21:24:55]OFD Sender: No OFD packet to send [21:25:00]OFD Sender: No OFD packet to send [21:25:05]OFD Sender: No OFD packet to send [21:25:10]OFD Sender: No OFD packet to send [21:25:15]OFD Sender: No OFD packet to send [21:25:20]OFD Sender: No OFD packet to send [21:25:25]OFD Sender: No OFD packet to send [21:25:30]OFD Sender: No OFD packet to send [21:25:35]OFD Sender: No OFD packet to send [21:25:40]OFD Sender: No OFD packet to send [21:25:45]OFD Sender: No OFD packet to send [21:25:50]OFD Sender: No OFD packet to send [21:25:55]OFD Sender: No OFD packet to send [21:26:00]OFD Sender: No OFD packet to send [21:26:05]OFD Sender: No OFD packet to send [21:26:10]OFD Sender: No OFD packet to send [21:26:15]OFD Sender: No OFD packet to send [21:26:20]OFD Sender: No OFD packet to send [21:26:25]OFD Sender: No OFD packet to send [21:26:30]OFD Sender: No OFD packet to send [21:26:35]OFD Sender: No OFD packet to send [21:26:40]OFD Sender: No OFD packet to send [21:26:45]OFD Sender: No OFD packet to send [21:26:50]OFD Sender: No OFD packet to send [21:26:55]OFD Sender: No OFD packet to send [21:27:00]OFD Sender: No OFD packet to send [21:27:05]OFD Sender: No OFD packet to send [21:27:10]OFD Sender: No OFD packet to send [21:27:15]OFD Sender: No OFD packet to send [21:27:20]OFD Sender: No OFD packet to send [21:27:25]OFD Sender: No OFD packet to send [21:27:30]OFD Sender: No OFD packet to send [21:27:35]OFD Sender: No OFD packet to send [21:27:40]OFD Sender: No OFD packet to send [21:27:45]OFD Sender: No OFD packet to send [21:27:50]OFD Sender: No OFD packet to send [21:27:55]OFD Sender: No OFD packet to send [21:28:00]OFD Sender: No OFD packet to send [21:28:05]OFD Sender: No OFD packet to send [21:28:10]OFD Sender: No OFD packet to send [21:28:15]OFD Sender: No OFD packet to send [21:28:20]OFD Sender: No OFD packet to send [21:28:25]OFD Sender: No OFD packet to send [21:28:30]OFD Sender: No OFD packet to send [21:28:35]OFD Sender: No OFD packet to send [21:28:40]OFD Sender: No OFD packet to send [21:28:45]OFD Sender: No OFD packet to send [21:28:50]OFD Sender: No OFD packet to send [21:28:55]OFD Sender: No OFD packet to send [21:29:00]OFD Sender: No OFD packet to send [21:29:05]OFD Sender: No OFD packet to send [21:29:10]OFD Sender: No OFD packet to send [21:29:15]OFD Sender: No OFD packet to send [21:29:20]OFD Sender: No OFD packet to send [21:29:25]OFD Sender: No OFD packet to send [21:29:30]OFD Sender: No OFD packet to send [21:29:35]OFD Sender: No OFD packet to send [21:29:40]OFD Sender: No OFD packet to send [21:29:45]OFD Sender: No OFD packet to send [21:29:50]OFD Sender: No OFD packet to send [21:29:55]OFD Sender: No OFD packet to send [21:30:00]OFD Sender: No OFD packet to send [21:30:05]OFD Sender: No OFD packet to send [21:30:10]OFD Sender: No OFD packet to send [21:30:15]OFD Sender: No OFD packet to send [21:30:20]OFD Sender: No OFD packet to send [21:30:25]OFD Sender: No OFD packet to send [21:30:30]OFD Sender: No OFD packet to send [21:30:35]OFD Sender: No OFD packet to send [21:30:40]OFD Sender: No OFD packet to send [21:30:45]OFD Sender: No OFD packet to send [21:30:50]OFD Sender: No OFD packet to send [21:30:55]OFD Sender: No OFD packet to send [21:31:00]OFD Sender: No OFD packet to send [21:31:05]OFD Sender: No OFD packet to send [21:31:10]OFD Sender: No OFD packet to send [21:31:15]OFD Sender: No OFD packet to send [21:31:20]OFD Sender: No OFD packet to send [21:31:25]OFD Sender: No OFD packet to send [21:31:30]OFD Sender: No OFD packet to send [21:31:35]OFD Sender: No OFD packet to send [21:31:40]OFD Sender: No OFD packet to send [21:31:45]OFD Sender: No OFD packet to send [21:31:50]OFD Sender: No OFD packet to send [21:31:55]OFD Sender: No OFD packet to send [21:32:00]OFD Sender: No OFD packet to send [21:32:05]OFD Sender: No OFD packet to send [21:32:10]OFD Sender: No OFD packet to send [21:32:15]OFD Sender: No OFD packet to send [21:32:20]OFD Sender: No OFD packet to send [21:32:25]OFD Sender: No OFD packet to send [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:40]OFD Sender: No OFD packet to send [21:35:45]OFD Sender: No OFD packet to send [21:35:50]OFD Sender: No OFD packet to send [21:35:55]OFD Sender: No OFD packet to send [21:36:00]OFD Sender: No OFD packet to send [21:36:05]OFD Sender: No OFD packet to send [21:36:10]OFD Sender: No OFD packet to send [21:36:15]OFD Sender: No OFD packet to send [21:36:20]OFD Sender: No OFD packet to send [21:36:25]OFD Sender: No OFD packet to send [21:36:30]OFD Sender: No OFD packet to send [21:36:35]OFD Sender: No OFD packet to send [21:36:40]OFD Sender: No OFD packet to send [21:36:45]OFD Sender: No OFD packet to send [21:36:50]OFD Sender: No OFD packet to send [21:36:55]OFD Sender: No OFD packet to send [21:37:00]OFD Sender: No OFD packet to send [21:37:05]OFD Sender: No OFD packet to send [21:37:10]OFD Sender: No OFD packet to send [21:37:15]OFD Sender: No OFD packet to send [21:37:20]OFD Sender: No OFD packet to send [21:37:25]OFD Sender: No OFD packet to send [21:37:30]OFD Sender: No OFD packet to send [21:37:35]OFD Sender: No OFD packet to send [21:37:40]OFD Sender: No OFD packet to send [21:37:45]OFD Sender: No OFD packet to send [21:37:50]OFD Sender: No OFD packet to send [21:37:55]OFD Sender: No OFD packet to send [21:38:00]OFD Sender: No OFD packet to send [21:38:05]OFD Sender: No OFD packet to send [21:38:10]OFD Sender: No OFD packet to send [21:38:15]OFD Sender: No OFD packet to send [21:38:20]OFD Sender: No OFD packet to send [21:38:25]OFD Sender: No OFD packet to send [21:38:30]OFD Sender: No OFD packet to send [21:38:35]OFD Sender: No OFD packet to send [21:38:39]accept exits with 8 [21:38:39]New connection [21:38:39]New thread 3066838372 created [21:38:39]Thread 3066695012 joined [21:38:39]Waiting for new connection... [21:38:39] Sock 8.Parse request [21:38:39]Sock 8.Check first char [21:38:39]Sock 8.First char is OK [21:38:39]request: POST /json_proto HTTP/1.0 [21:38:39]Method: POST [21:38:39]URL: /json_proto [21:38:39]Method is POST - this is cgi request [21:38:39]url: /json_proto [21:38:39]query_string will be loaded in cgi processing [21:38:39]execute_cgi json_proto POST (null) [21:38:39]execute_cgi path=json_proto method=POST [21:38:39]POST find Content-Length [21:38:39]Host: 172.17.35.133:8080 [21:38:39]Content-Length: 621 [21:38:39]Content-Type: application/json [21:38:39] [21:38:39]POST finish read [21:38:39]Found Content-Length = 621 [21:38:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254439", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:38:39]execute_script... [21:38:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254439", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:38:39]POST & json_proto [21:38:39]process_json_proto [21:38:39]json parsed OK: [21:38:39]protocol is kg_v1.0 [21:38:39]action value=close_receipt [21:38:39]process_action close_receipt [21:38:39]cmd_close_receipt [21:38:39]MH_GetDate [21:38:39]Write to MH i2c: F0 00 00 1D 14 20 [21:38:39]Write i2c OK [21:38:39]MH_I2C_Read... [21:38:39]Read from MH i2c: F0 [21:38:39]MH_I2C_Read... [21:38:39]Read from MH i2c: F0 09 00 [21:38:39]MH_I2C_Read... [21:38:39]Read from MH i2c: F0 09 00 1D 14 00 E4 09 6E 66 8C 55 28 65 58 [21:38:39]GetLastDocTimeStamp 1718486356 [21:38:39]current date 1718487524 [21:38:39]FM_GetShiftState [21:38:39]SAM_PROTO_GetShiftState [21:38:39]wFMCommunicate request_size=4 [21:38:39]MH_SAM_APDU [21:38:39]CAPDU: 80 13 01 00 [21:38:39]Write to MH i2c: E2 08 00 1E 14 80 13 01 00 00 00 00 00 AF [21:38:39]Write i2c OK [21:38:39]MH_I2C_Read... [21:38:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:38:39]Read from MH i2c: E2 [21:38:39]MH_I2C_Read... [21:38:39]Read from MH i2c: E2 0E 00 [21:38:39]MH_I2C_Read... [21:38:39]Read from MH i2c: E2 0E 00 1E 14 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 83 [21:38:39]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:38:39]wFMCommunicate OK [21:38:39]SAM_PROTO_GetShiftState done [21:38:39]FM_GetShiftState done [21:38:39]opened in 1718410776 [21:38:39]opened+sec_in_day 1718497176 [21:38:39]quantity*price = 14000 [21:38:39]sum+1 = 14001 [21:38:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 69 15.06.2024 21:38 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22224 ФПД: 66907326364421 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T213844&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22224&fm=66907326364421&tin=02508201610067®Number=0000000000099755&sum=14000 0 [21:38:40]StoreToDocumentArchive [21:38:40]shift 326 fd 22224 [21:38:40]save to /storage/0326/doc_00022224 [21:38:40]save last doc name /storage/0326/doc_00022224 to /storage/kkm_last_doc_name [21:38:40]save OK [21:38:40]Clear old archive folders... [21:38:40]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:38:40]tlvbuf is 0020AA30 [21:38:40]SAM_PROTO_ClearQueue [21:38:40]wFMCommunicate request_size=4 [21:38:40]MH_SAM_APDU [21:38:40]CAPDU: 80 09 00 00 [21:38:40]Write to MH i2c: E2 08 00 2B 14 80 09 00 00 00 00 00 00 B1 [21:38:40]Write i2c OK [21:38:40]MH_I2C_Read... [21:38:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:38:40]Read from MH i2c: E2 [21:38:40]MH_I2C_Read... [21:38:40]Read from MH i2c: E2 03 00 [21:38:40]MH_I2C_Read... [21:38:40]Read from MH i2c: E2 03 00 2B 14 00 90 00 B3 [21:38:40]RAPDU: 90 00 [21:38:40]wFMCommunicate OK [21:38:40]SAM_PROTO_ClearQueue done [21:38:40]KKMCreateOFDPacket [21:38:40]OFDProtocolAddRootSTLVToBuf [21:38:40]FM_MakeSignedData [21:38:40]FM_MakeSignedData [21:38:40]SAM_PROTO_SignData [21:38:40]wFMCommunicate request_size=4 [21:38:40]MH_SAM_APDU [21:38:40]CAPDU: 80 0D 01 02 [21:38:40]Write to MH i2c: E2 08 00 2C 14 80 0D 01 02 00 00 00 00 B9 [21:38:40]Write i2c OK [21:38:40]MH_I2C_Read... [21:38:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:38:41]Read from MH i2c: E2 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 03 00 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 03 00 2C 14 00 90 00 B4 [21:38:41]RAPDU: 90 00 [21:38:41]wFMCommunicate OK [21:38:41]wFMCommunicate request_size=255 [21:38:41]MH_SAM_APDU [21:38:41]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 E4 09 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 [21:38:41]Write to MH i2c: E2 02 01 2D 14 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 E4 09 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 00 00 05 [21:38:41]Write i2c OK [21:38:41]MH_I2C_Read... [21:38:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:38:41]Read from MH i2c: E2 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 03 00 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 03 00 2D 14 00 90 00 B5 [21:38:41]RAPDU: 90 00 [21:38:41]wFMCommunicate OK [21:38:41]wFMCommunicate request_size=32 [21:38:41]MH_SAM_APDU [21:38:41]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 34 34 10 04 04 00 D0 56 00 00 35 04 06 00 3C DA 13 6B BB 05 [21:38:41]Write to MH i2c: E2 23 00 2E 14 80 0D 02 02 1B 00 30 30 30 39 36 35 33 34 34 10 04 04 00 D0 56 00 00 35 04 06 00 3C DA 13 6B BB 05 00 00 92 [21:38:41]Write i2c OK [21:38:41]MH_I2C_Read... [21:38:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:38:41]Read from MH i2c: E2 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 03 00 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 03 00 2E 14 00 90 00 B6 [21:38:41]RAPDU: 90 00 [21:38:41]wFMCommunicate OK [21:38:41]wFMCommunicate request_size=4 [21:38:41]MH_SAM_APDU [21:38:41]CAPDU: 80 0D 03 02 [21:38:41]Write to MH i2c: E2 08 00 2F 14 80 0D 03 02 00 00 00 00 BE [21:38:41]Write i2c OK [21:38:41]MH_I2C_Read... [21:38:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:38:41]Read from MH i2c: E2 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 0B 00 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 0B 00 2F 14 00 AF 06 09 23 99 D6 AE 81 90 00 3E [21:38:41]RAPDU: AF 06 09 23 99 D6 AE 81 90 00 [21:38:41]wFMCommunicate OK [21:38:41]SAM_PROTO_SignData done [21:38:41]FM_MakeSignedData done [21:38:41]CreateOFDProtocolMessage [21:38:41]wFMCommunicate request_size=4 [21:38:41]MH_SAM_APDU [21:38:41]CAPDU: 80 11 00 00 [21:38:41]Write to MH i2c: E2 08 00 30 14 80 11 00 00 00 00 00 00 BE [21:38:41]Write i2c OK [21:38:41]MH_I2C_Read... [21:38:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:38:41]Read from MH i2c: E2 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 17 00 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: E2 17 00 30 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 10 [21:38:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:38:41]wFMCommunicate OK [21:38:41]CreateOFDProtocolMessage done [21:38:41]OFDSenderStorePacket 22224 [21:38:41]StoreOFDPacket docnum=22224 [21:38:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 7F EB 1D 01 5E C9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 E4 09 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D0 56 00 00 35 04 06 00 3C DA 13 6B BB 05 AF 06 09 23 99 D6 AE 81 [21:38:41]CheckFolder [21:38:41]dirname=/storage/ofd_packets [21:38:41]CheckFolder done [21:38:41]ProducePacketName [21:38:41]name=ofd_packets/00022224 [21:38:41]NVStorageSaveData ofd_packets/00022224 [21:38:41]File name is /storage/ofd_packets/00022224 [21:38:41]Write 323 bytes [21:38:41]NVStorageSaveData done [21:38:41]OFDSenderStorePacket done [21:38:41]KKMCreateOFDPacket done [21:38:41]NVStorageSaveData kkm_last_timestamp [21:38:41]File name is /storage/kkm_last_timestamp [21:38:41]Write 4 bytes [21:38:41]NVStorageSaveData done [21:38:41]ExternCall_PrintAddStr [21:38:41]wPrintStart [21:38:41]Write to MH i2c: 01 00 00 31 14 45 [21:38:41]Write i2c OK [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: 01 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: 01 07 00 [21:38:41]MH_I2C_Read... [21:38:41]Read from MH i2c: 01 07 00 31 14 00 00 00 00 00 FF 0F 5A [21:38:41]RasterBufferAndPrint [21:38:41]line Счет N : (3)254439 [21:38:41]line ИНН: 02508201610067 [21:38:41]line Контрольно-Кассовый Чек [21:38:41]line ПРОДАЖА [21:38:41]line Товар: 48743570 [21:38:41]line Сигареты Winston XStyle Blue [21:38:41]line 1.000 * 140.00 [21:38:41]line = 140.00 [21:38:41]line НДС 12% НСП 1% [21:38:41]line > о реализуемом товаре [21:38:41]line ИТОГО: 140.00 [21:38:41]line НСП 1% : 1.24 [21:38:41]line НДС 12% : 14.87 [21:38:41]line Наличными: 140.00 [21:38:41]line Безнал.: 0.00 [21:38:41]line Место: АЗС № 76 "Партнер Нефть" [21:38:41]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [21:38:41]line СНО: Общий режим [21:38:41]line Чек 69 15.06.2024 21:38 [21:38:41]line Смена: 326 ФФД: 1.0 [21:38:41]line ЗНМ: 0300000200 [21:38:41]line РНМ: 0000000000099755 [21:38:41]line Версия ККМ: 001 [21:38:41]line ФМ: 0000000000965344 [21:38:41]line ФД: 22224 [21:38:41]line ФПД: 66907326364421 [21:38:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T213844&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22224&fm=66907326364421&tin=02508201610067®Number=0000000000099755&sum=14000 [21:38:41]line 0 [21:38:41]OFD Sender: Processing packet 22224 [packets to send 5, broken 4] [21:38:41]ProducePacketName [21:38:41]name=ofd_packets/00022224 [21:38:41]OFD Sender: To server: pG, [21:38:41]CommunicateWithHost lk.salyk.kg:30040 [21:38:41]ConnectInit lk.salyk.kg [21:38:41]written 0, free lines is 4095 [21:38:41]Connected sock=10 [21:38:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 7F EB 1D 01 5E C9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 E4 09 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D0 56 00 00 35 04 06 00 3C DA 13 6B BB 05 AF 06 09 23 99 D6 AE 81 [21:38:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B2 F3 47 00 51 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D0 56 00 00 F4 03 04 00 A0 B2 6D 66 B6 04 01 00 00 D5 FF DC DB DE C0 DF 26 [21:38:42]CommunicateWithHost err = 0 [21:38:42]CheckOFDResponse [21:38:42]1017 (14) - 77093643461234 [21:38:42]1041 (16) - 0000000000965344 [21:38:42]1040 (4) - 22224 [21:38:42]1012 (4) - 15.06.2024 15:26 [21:38:42]1206 (1) - 0 [21:38:42]OFD Sender: Remove packet 22224 [21:38:42]ProducePacketName [21:38:42]name=ofd_packets/00022224 [21:38:42]NVStorageDeleteData [21:38:42]Write to MH i2c: 01 00 00 59 14 6D [21:38:42]Write i2c OK [21:38:42]MH_I2C_Read... [21:38:42]Read from MH i2c: 01 [21:38:42]MH_I2C_Read... [21:38:42]Read from MH i2c: 01 07 00 [21:38:42]MH_I2C_Read... [21:38:42]Read from MH i2c: 01 07 00 59 14 00 00 00 00 00 1E 0D 9F [21:38:42]RasterBufferAndPrint [21:38:42]line [21:38:42]line [21:38:42]line [21:38:42]line [21:38:42]line [21:38:42]written 0, free lines is 3364 [21:38:42]MH_Cut [21:38:42]Write to MH i2c: D1 01 00 60 14 01 46 [21:38:42]Write i2c OK [21:38:42]MH_I2C_Read... [21:38:42]Read from MH i2c: D1 [21:38:42]MH_I2C_Read... [21:38:42]Read from MH i2c: D1 01 00 [21:38:42]MH_I2C_Read... [21:38:42]Read from MH i2c: D1 01 00 60 14 00 45 [21:38:42]Write to MH i2c: 01 00 00 61 14 75 [21:38:42]Write i2c OK [21:38:42]MH_I2C_Read... [21:38:42]OFD Sender: No OFD packet to send [21:38:42]*** Cut start [21:38:42]*** Partial cut [21:38:42]*** CUTSNS_PIN = 1 [21:38:42]*** CUTSNS_PIN = 0 [21:38:43]*** Brake cut motor [21:38:43]Read from MH i2c: 01 [21:38:43]MH_I2C_Read... [21:38:43]*** Stop cut motor [21:38:43]*** Cut end [21:38:43]Read from MH i2c: 01 07 00 [21:38:43]MH_I2C_Read... [21:38:43]Read from MH i2c: 01 07 00 61 14 00 00 00 00 00 FF 0F 8A [21:38:43]process_action close_receipt done [21:38:43]requested_data is exist [21:38:43]produce_requested_data [21:38:43]requested_item fm.sn is exist - process it [21:38:43]wFMCommunicate request_size=4 [21:38:43]MH_SAM_APDU [21:38:43]CAPDU: 80 11 00 00 [21:38:43]Write to MH i2c: E2 08 00 62 14 80 11 00 00 00 00 00 00 F0 [21:38:43]Write i2c OK [21:38:43]MH_I2C_Read... [21:38:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:38:43]Read from MH i2c: E2 [21:38:43]MH_I2C_Read... [21:38:43]Read from MH i2c: E2 17 00 [21:38:43]MH_I2C_Read... [21:38:43]Read from MH i2c: E2 17 00 62 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 42 [21:38:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:38:43]wFMCommunicate OK [21:38:43]requested_item fd.num is exist - process it [21:38:43]SAM_PROTO_GetFieldsCounters [21:38:43]wFMCommunicate request_size=4 [21:38:43]MH_SAM_APDU [21:38:43]CAPDU: 80 13 00 00 [21:38:43]Write to MH i2c: E2 08 00 63 14 80 13 00 00 00 00 00 00 F3 [21:38:43]Write i2c OK [21:38:43]MH_I2C_Read... [21:38:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:38:43]Read from MH i2c: E2 [21:38:43]MH_I2C_Read... [21:38:43]Read from MH i2c: E2 62 00 [21:38:43]MH_I2C_Read... [21:38:43]Read from MH i2c: E2 62 00 63 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D0 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [21:38:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D0 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:38:43]wFMCommunicate OK [21:38:43]SAM_PROTO_GetFieldsCounters done [21:38:43]requested_item shift.num is exist - process it [21:38:43]requested_item shift.opened is exist - process it [21:38:43]req_shift_opened [21:38:43]FM_GetShiftState [21:38:43]SAM_PROTO_GetShiftState [21:38:43]wFMCommunicate request_size=4 [21:38:43]MH_SAM_APDU [21:38:43]CAPDU: 80 13 01 00 [21:38:43]Write to MH i2c: E2 08 00 64 14 80 13 01 00 00 00 00 00 F5 [21:38:43]Write i2c OK [21:38:43]MH_I2C_Read... [21:38:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:38:43]Read from MH i2c: E2 [21:38:43]MH_I2C_Read... [21:38:43]Read from MH i2c: E2 0E 00 [21:38:43]MH_I2C_Read... [21:38:43]Read from MH i2c: E2 0E 00 64 14 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 C9 [21:38:43]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:38:43]wFMCommunicate OK [21:38:43]SAM_PROTO_GetShiftState done [21:38:43]FM_GetShiftState done [21:38:43]req_shift_opened done [21:38:43]requested_item shift.open_date is exist - process it [21:38:43]req_shift_open_date [21:38:43]req_shift_open_date done [21:38:43]produce_requested_data done [21:38:43]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22224,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [21:38:43]process_action_free close_receipt [21:38:43]json_value_free [21:38:43]json_value_free done [21:38:43]process_json_proto returns [21:38:43]Send response to host [21:38:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22224,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [21:38:43]free response buf [21:38:43]execute_script done [21:38:43]execute_script returns [21:38:43]free content buf [21:38:43]Sock 8.Close socket [21:38:43]Sock 8.Thread stoped [21:38:47]OFD Sender: No OFD packet to send [21:38:52]OFD Sender: No OFD packet to send [21:38:57]OFD Sender: No OFD packet to send [21:39:02]OFD Sender: No OFD packet to send [21:39:07]OFD Sender: No OFD packet to send [21:39:12]OFD Sender: No OFD packet to send [21:39:17]OFD Sender: No OFD packet to send [21:39:22]OFD Sender: No OFD packet to send [21:39:27]OFD Sender: No OFD packet to send [21:39:32]OFD Sender: No OFD packet to send [21:39:37]OFD Sender: No OFD packet to send [21:39:42]OFD Sender: No OFD packet to send [21:39:47]OFD Sender: No OFD packet to send [21:39:52]OFD Sender: No OFD packet to send [21:39:57]OFD Sender: No OFD packet to send [21:40:02]OFD Sender: No OFD packet to send [21:40:07]OFD Sender: No OFD packet to send [21:40:12]OFD Sender: No OFD packet to send [21:40:17]OFD Sender: No OFD packet to send [21:40:22]OFD Sender: No OFD packet to send [21:40:27]OFD Sender: No OFD packet to send [21:40:32]OFD Sender: No OFD packet to send [21:40:37]OFD Sender: No OFD packet to send [21:40:42]OFD Sender: No OFD packet to send [21:40:47]OFD Sender: No OFD packet to send [21:40:52]OFD Sender: No OFD packet to send [21:40:57]OFD Sender: No OFD packet to send [21:41:02]OFD Sender: No OFD packet to send [21:41:07]OFD Sender: No OFD packet to send [21:41:12]OFD Sender: No OFD packet to send [21:41:17]OFD Sender: No OFD packet to send [21:41:22]OFD Sender: No OFD packet to send [21:41:26]accept exits with 9 [21:41:26]New connection [21:41:26]New thread 3066695012 created [21:41:26]Thread 3066838372 joined [21:41:26]Waiting for new connection... [21:41:26] Sock 9.Parse request [21:41:26]Sock 9.Check first char [21:41:26]Sock 9.First char is OK [21:41:26]request: POST /json_proto HTTP/1.0 [21:41:26]Method: POST [21:41:26]URL: /json_proto [21:41:26]Method is POST - this is cgi request [21:41:26]url: /json_proto [21:41:26]query_string will be loaded in cgi processing [21:41:26]execute_cgi json_proto POST (null) [21:41:26]execute_cgi path=json_proto method=POST [21:41:26]POST find Content-Length [21:41:26]Host: 172.17.35.133:8080 [21:41:26]Content-Length: 1038 [21:41:26]Content-Type: application/json [21:41:26] [21:41:26]POST finish read [21:41:26]Found Content-Length = 1038 [21:41:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254440", "tax_sys" : 0, "items" : [ { "code": "48745178", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Sparkle Mix", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 9.000, "sum" : 1215.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1355.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:41:26]execute_script... [21:41:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254440", "tax_sys" : 0, "items" : [ { "code": "48745178", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Sparkle Mix", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 9.000, "sum" : 1215.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1355.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:41:26]POST & json_proto [21:41:26]process_json_proto [21:41:26]json parsed OK: [21:41:26]protocol is kg_v1.0 [21:41:26]action value=close_receipt [21:41:26]process_action close_receipt [21:41:26]cmd_close_receipt [21:41:26]MH_GetDate [21:41:26]Write to MH i2c: F0 00 00 65 14 68 [21:41:26]Write i2c OK [21:41:26]MH_I2C_Read... [21:41:26]Read from MH i2c: F0 [21:41:26]MH_I2C_Read... [21:41:26]Read from MH i2c: F0 09 00 [21:41:26]MH_I2C_Read... [21:41:26]Read from MH i2c: F0 09 00 65 14 00 8A 0A 6E 66 8C 55 28 65 47 [21:41:26]GetLastDocTimeStamp 1718487524 [21:41:26]current date 1718487690 [21:41:26]FM_GetShiftState [21:41:26]SAM_PROTO_GetShiftState [21:41:26]wFMCommunicate request_size=4 [21:41:26]MH_SAM_APDU [21:41:26]CAPDU: 80 13 01 00 [21:41:26]Write to MH i2c: E2 08 00 66 14 80 13 01 00 00 00 00 00 F7 [21:41:26]Write i2c OK [21:41:26]MH_I2C_Read... [21:41:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:41:26]Read from MH i2c: E2 [21:41:26]MH_I2C_Read... [21:41:26]Read from MH i2c: E2 0E 00 [21:41:26]MH_I2C_Read... [21:41:26]Read from MH i2c: E2 0E 00 66 14 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 CB [21:41:26]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:41:26]wFMCommunicate OK [21:41:26]SAM_PROTO_GetShiftState done [21:41:26]FM_GetShiftState done [21:41:26]opened in 1718410776 [21:41:26]opened+sec_in_day 1718497176 [21:41:26]quantity*price = 14000 [21:41:26]sum+1 = 14001 [21:41:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48744997 Сигареты Winston Compact Blue 9.000 * 135.00 = 1215.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1355.00 НСП 1% : 11.99 НДС 12% : 143.90 Наличными: 0.00 Безнал.: 1355.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 70 15.06.2024 21:41 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965344 ФД: 22225 ФПД: 89845816013211 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T214130&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22225&fm=89845816013211&tin=02508201610067®Number=0000000000099755&sum=135500 0 [21:41:27]StoreToDocumentArchive [21:41:27]shift 326 fd 22225 [21:41:27]save to /storage/0326/doc_00022225 [21:41:27]save last doc name /storage/0326/doc_00022225 to /storage/kkm_last_doc_name [21:41:27]save OK [21:41:27]Clear old archive folders... [21:41:27]ProcessDocumentItem done err = 0, tmpTLVsize=377 [21:41:27]tlvbuf is B6E8C4E0 [21:41:27]SAM_PROTO_ClearQueue [21:41:27]wFMCommunicate request_size=4 [21:41:27]MH_SAM_APDU [21:41:27]CAPDU: 80 09 00 00 [21:41:27]Write to MH i2c: E2 08 00 73 14 80 09 00 00 00 00 00 00 F9 [21:41:27]Write i2c OK [21:41:27]MH_I2C_Read... [21:41:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:41:27]Read from MH i2c: E2 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 03 00 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 03 00 73 14 00 90 00 FB [21:41:27]RAPDU: 90 00 [21:41:27]wFMCommunicate OK [21:41:27]SAM_PROTO_ClearQueue done [21:41:27]KKMCreateOFDPacket [21:41:27]OFDProtocolAddRootSTLVToBuf [21:41:27]FM_MakeSignedData [21:41:27]FM_MakeSignedData [21:41:27]SAM_PROTO_SignData [21:41:27]wFMCommunicate request_size=4 [21:41:27]MH_SAM_APDU [21:41:27]CAPDU: 80 0D 01 02 [21:41:27]Write to MH i2c: E2 08 00 74 14 80 0D 01 02 00 00 00 00 01 [21:41:27]Write i2c OK [21:41:27]MH_I2C_Read... [21:41:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:41:27]Read from MH i2c: E2 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 03 00 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 03 00 74 14 00 90 00 FC [21:41:27]RAPDU: 90 00 [21:41:27]wFMCommunicate OK [21:41:27]wFMCommunicate request_size=255 [21:41:27]MH_SAM_APDU [21:41:27]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 35 31 37 38 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 70 61 72 6B 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 28 23 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 9C DA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 11 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 04 00 00 00 00 EE [21:41:27]Write to MH i2c: E2 02 01 75 14 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 35 31 37 38 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 70 61 72 6B 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 28 23 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 9C DA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 11 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 04 00 00 00 00 EE 00 00 48 [21:41:27]Write i2c OK [21:41:27]MH_I2C_Read... [21:41:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:41:27]Read from MH i2c: E2 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 03 00 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 03 00 75 14 00 90 00 FD [21:41:27]RAPDU: 90 00 [21:41:27]wFMCommunicate OK [21:41:27]wFMCommunicate request_size=136 [21:41:27]MH_SAM_APDU [21:41:27]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 38 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 11 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 8A 0A 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D1 56 00 00 35 04 06 00 51 B6 DB F2 B1 9B [21:41:27]Write to MH i2c: E2 8B 00 76 14 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 38 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 11 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 8A 0A 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D1 56 00 00 35 04 06 00 51 B6 DB F2 B1 9B 00 00 5B [21:41:27]Write i2c OK [21:41:27]MH_I2C_Read... [21:41:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:41:27]Read from MH i2c: E2 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 03 00 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 03 00 76 14 00 90 00 FE [21:41:27]RAPDU: 90 00 [21:41:27]wFMCommunicate OK [21:41:27]wFMCommunicate request_size=4 [21:41:27]MH_SAM_APDU [21:41:27]CAPDU: 80 0D 03 02 [21:41:27]Write to MH i2c: E2 08 00 77 14 80 0D 03 02 00 00 00 00 06 [21:41:27]Write i2c OK [21:41:27]MH_I2C_Read... [21:41:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:41:27]OFD Sender: No OFD packet to send [21:41:27]Read from MH i2c: E2 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 0B 00 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 0B 00 77 14 00 81 76 89 39 C4 02 14 57 90 00 F1 [21:41:27]RAPDU: 81 76 89 39 C4 02 14 57 90 00 [21:41:27]wFMCommunicate OK [21:41:27]SAM_PROTO_SignData done [21:41:27]FM_MakeSignedData done [21:41:27]CreateOFDProtocolMessage [21:41:27]wFMCommunicate request_size=4 [21:41:27]MH_SAM_APDU [21:41:27]CAPDU: 80 11 00 00 [21:41:27]Write to MH i2c: E2 08 00 78 14 80 11 00 00 00 00 00 00 06 [21:41:27]Write i2c OK [21:41:27]MH_I2C_Read... [21:41:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:41:27]Read from MH i2c: E2 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 17 00 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: E2 17 00 78 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 58 [21:41:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:41:27]wFMCommunicate OK [21:41:27]CreateOFDProtocolMessage done [21:41:27]OFDSenderStorePacket 22225 [21:41:27]StoreOFDPacket docnum=22225 [21:41:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 8D 01 00 00 80 B5 85 01 9C 77 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 35 31 37 38 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 70 61 72 6B 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 28 23 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 9C DA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 11 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 38 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 11 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 8A 0A 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D1 56 00 00 35 04 06 00 51 B6 DB F2 B1 9B 81 76 89 39 C4 02 14 57 [21:41:27]CheckFolder [21:41:27]dirname=/storage/ofd_packets [21:41:27]CheckFolder done [21:41:27]ProducePacketName [21:41:27]name=ofd_packets/00022225 [21:41:27]NVStorageSaveData ofd_packets/00022225 [21:41:27]File name is /storage/ofd_packets/00022225 [21:41:27]Write 427 bytes [21:41:27]NVStorageSaveData done [21:41:27]OFDSenderStorePacket done [21:41:27]KKMCreateOFDPacket done [21:41:27]NVStorageSaveData kkm_last_timestamp [21:41:27]File name is /storage/kkm_last_timestamp [21:41:27]Write 4 bytes [21:41:27]NVStorageSaveData done [21:41:27]ExternCall_PrintAddStr [21:41:27]wPrintStart [21:41:27]Write to MH i2c: 01 00 00 79 14 8D [21:41:27]Write i2c OK [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: 01 [21:41:27]MH_I2C_Read... [21:41:27]Read from MH i2c: 01 07 00 [21:41:28]MH_I2C_Read... [21:41:28]OFD Sender: Processing packet 22225 [packets to send 5, broken 4] [21:41:28]ProducePacketName [21:41:28]name=ofd_packets/00022225 [21:41:28]Read from MH i2c: 01 OFD Sender: To server: pG, [21:41:28]07 CommunicateWithHost lk.salyk.kg:30040 [21:41:28]00 ConnectInit lk.salyk.kg [21:41:28]79 14 00 00 00 00 00 FF 0F A2 [21:41:28]RasterBufferAndPrint [21:41:28]line Счет N : (3)254440 [21:41:28]line ИНН: 02508201610067 [21:41:28]line Контрольно-Кассовый Чек [21:41:28]line ПРОДАЖА [21:41:28]line Товар: 48745178 [21:41:28]line Сигареты Winston Sparkle Mix [21:41:28]line 1.000 * 140.00 [21:41:28]line = 140.00 [21:41:28]line НДС 12% НСП 1% [21:41:28]line > о реализуемом товаре [21:41:28]line Товар: 48744997 [21:41:28]line Сигареты Winston Compact Blue [21:41:28]line 9.000 * 135.00 [21:41:28]line = 1215.00 [21:41:28]line НДС 12% НСП 1% [21:41:28]line > о реализуемом товаре [21:41:28]line ИТОГО: 1355.00 [21:41:28]line НСП 1% : 11.99 [21:41:28]line НДС 12% : 143.90 [21:41:28]line Наличными: 0.00 [21:41:28]line Безнал.: 1355.00 [21:41:28]line Место: АЗС № 76 "Партнер Нефть" [21:41:28]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [21:41:28]line СНО: Общий режим [21:41:28]line Чек 70 15.06.2024 21:41 [21:41:28]line Смена: 326 ФФД: 1.0 [21:41:28]line ЗНМ: 0300000200 [21:41:28]line РНМ: 0000000000099755 [21:41:28]line Версия ККМ: 001 [21:41:28]line Платежная система: Бакай Банк [21:41:28]line ФМ: 0000000000965344 [21:41:28]line ФД: 22225 [21:41:28]line ФПД: 89845816013211 [21:41:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T214130&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22225&fm=89845816013211&tin=02508201610067®Number=0000000000099755&sum=135500 [21:41:28]line 0 [21:41:28]written 0, free lines is 4095 [21:41:28]Connected sock=11 [21:41:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 8D 01 00 00 80 B5 85 01 9C 77 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 35 31 37 38 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 70 61 72 6B 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 28 23 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 9C DA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 11 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 38 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 11 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 8A 0A 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D1 56 00 00 35 04 06 00 51 B6 DB F2 B1 9B 81 76 89 39 C4 02 14 57 [21:41:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 78 35 47 00 AB D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D1 56 00 00 F4 03 04 00 47 B3 6D 66 B6 04 01 00 00 0F E3 21 7D 67 CA 5A 9A [21:41:28]CommunicateWithHost err = 0 [21:41:28]CheckOFDResponse [21:41:28]1017 (14) - 77093643461234 [21:41:28]1041 (16) - 0000000000965344 [21:41:28]1040 (4) - 22225 [21:41:28]1012 (4) - 15.06.2024 15:29 [21:41:28]1206 (1) - 0 [21:41:28]OFD Sender: Remove packet 22225 [21:41:28]ProducePacketName [21:41:28]name=ofd_packets/00022225 [21:41:28]NVStorageDeleteData [21:41:28]Write to MH i2c: 01 00 00 AA 14 BE [21:41:28]Write i2c OK [21:41:28]MH_I2C_Read... [21:41:28]Read from MH i2c: 01 [21:41:28]MH_I2C_Read... [21:41:28]Read from MH i2c: 01 07 00 [21:41:28]MH_I2C_Read... [21:41:28]Read from MH i2c: 01 07 00 AA 14 00 00 00 00 00 A6 0C 77 [21:41:28]RasterBufferAndPrint [21:41:28]line [21:41:28]line [21:41:28]line [21:41:28]line [21:41:28]line [21:41:28]written 0, free lines is 3247 [21:41:28]MH_Cut [21:41:28]Write to MH i2c: D1 01 00 B1 14 01 97 [21:41:28]Write i2c OK [21:41:28]MH_I2C_Read... [21:41:28]Read from MH i2c: D1 [21:41:28]MH_I2C_Read... [21:41:28]Read from MH i2c: D1 01 00 [21:41:28]MH_I2C_Read... [21:41:28]Read from MH i2c: D1 01 00 B1 14 00 96 [21:41:28]Write to MH i2c: 01 00 00 B2 14 C6 [21:41:28]Write i2c OK [21:41:28]MH_I2C_Read... [21:41:29]OFD Sender: No OFD packet to send [21:41:29]*** Cut start [21:41:29]*** Partial cut [21:41:29]*** CUTSNS_PIN = 1 [21:41:29]*** CUTSNS_PIN = 0 [21:41:29]*** Brake cut motor [21:41:30]Read from MH i2c: *** Stop cut motor [21:41:30]01 *** Cut end [21:41:30] [21:41:30]MH_I2C_Read... [21:41:30]Read from MH i2c: 01 07 00 [21:41:30]MH_I2C_Read... [21:41:30]Read from MH i2c: 01 07 00 B2 14 00 00 00 00 00 FF 0F DB [21:41:30]process_action close_receipt done [21:41:30]requested_data is exist [21:41:30]produce_requested_data [21:41:30]requested_item fm.sn is exist - process it [21:41:30]wFMCommunicate request_size=4 [21:41:30]MH_SAM_APDU [21:41:30]CAPDU: 80 11 00 00 [21:41:30]Write to MH i2c: E2 08 00 B3 14 80 11 00 00 00 00 00 00 41 [21:41:30]Write i2c OK [21:41:30]MH_I2C_Read... [21:41:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:41:30]Read from MH i2c: E2 [21:41:30]MH_I2C_Read... [21:41:30]Read from MH i2c: E2 17 00 [21:41:30]MH_I2C_Read... [21:41:30]Read from MH i2c: E2 17 00 B3 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 93 [21:41:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:41:30]wFMCommunicate OK [21:41:30]requested_item fd.num is exist - process it [21:41:30]SAM_PROTO_GetFieldsCounters [21:41:30]wFMCommunicate request_size=4 [21:41:30]MH_SAM_APDU [21:41:30]CAPDU: 80 13 00 00 [21:41:30]Write to MH i2c: E2 08 00 B4 14 80 13 00 00 00 00 00 00 44 [21:41:30]Write i2c OK [21:41:30]MH_I2C_Read... [21:41:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:41:30]Read from MH i2c: E2 [21:41:30]MH_I2C_Read... [21:41:30]Read from MH i2c: E2 62 00 [21:41:30]MH_I2C_Read... [21:41:30]Read from MH i2c: E2 62 00 B4 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D1 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 AE [21:41:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D1 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:41:30]wFMCommunicate OK [21:41:30]SAM_PROTO_GetFieldsCounters done [21:41:30]requested_item shift.num is exist - process it [21:41:30]requested_item shift.opened is exist - process it [21:41:30]req_shift_opened [21:41:30]FM_GetShiftState [21:41:30]SAM_PROTO_GetShiftState [21:41:30]wFMCommunicate request_size=4 [21:41:30]MH_SAM_APDU [21:41:30]CAPDU: 80 13 01 00 [21:41:30]Write to MH i2c: E2 08 00 B5 14 80 13 01 00 00 00 00 00 46 [21:41:30]Write i2c OK [21:41:30]MH_I2C_Read... [21:41:30]Read from MH i2c: E2 [21:41:30]MH_I2C_Read... [21:41:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:41:30]Read from MH i2c: E2 0E 00 [21:41:30]MH_I2C_Read... [21:41:30]Read from MH i2c: E2 0E 00 B5 14 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 1A [21:41:30]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:41:30]wFMCommunicate OK [21:41:30]SAM_PROTO_GetShiftState done [21:41:30]FM_GetShiftState done [21:41:30]req_shift_opened done [21:41:30]requested_item shift.open_date is exist - process it [21:41:30]req_shift_open_date [21:41:30]req_shift_open_date done [21:41:30]produce_requested_data done [21:41:30]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22225,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [21:41:30]process_action_free close_receipt [21:41:30]json_value_free [21:41:30]json_value_free done [21:41:30]process_json_proto returns [21:41:30]Send response to host [21:41:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22225,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [21:41:30]free response buf [21:41:30]execute_script done [21:41:30]execute_script returns [21:41:30]free content buf [21:41:30]Sock 9.Close socket [21:41:30]Sock 9.Thread stoped [21:41:34]OFD Sender: No OFD packet to send [21:41:39]OFD Sender: No OFD packet to send [21:41:44]OFD Sender: No OFD packet to send [21:41:49]OFD Sender: No OFD packet to send [21:41:54]OFD Sender: No OFD packet to send [21:41:59]OFD Sender: No OFD packet to send [21:42:04]OFD Sender: No OFD packet to send [21:42:09]OFD Sender: No OFD packet to send [21:42:14]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:14]OFD Sender: No OFD packet to send [21:46:19]OFD Sender: No OFD packet to send [21:46:24]OFD Sender: No OFD packet to send [21:46:29]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:04]OFD Sender: No OFD packet to send [21:47:09]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:34]OFD Sender: No OFD packet to send [21:48:39]OFD Sender: No OFD packet to send [21:48:44]OFD Sender: No OFD packet to send [21:48:49]OFD Sender: No OFD packet to send [21:48:54]OFD Sender: No OFD packet to send [21:48:59]OFD Sender: No OFD packet to send [21:49:04]OFD Sender: No OFD packet to send [21:49:09]OFD Sender: No OFD packet to send [21:49:14]OFD Sender: No OFD packet to send [21:49:19]OFD Sender: No OFD packet to send [21:49:24]OFD Sender: No OFD packet to send [21:49:29]OFD Sender: No OFD packet to send [21:49:34]OFD Sender: No OFD packet to send [21:49:39]OFD Sender: No OFD packet to send [21:49:44]OFD Sender: No OFD packet to send [21:49:49]OFD Sender: No OFD packet to send [21:49:54]OFD Sender: No OFD packet to send [21:49:59]OFD Sender: No OFD packet to send [21:50:04]OFD Sender: No OFD packet to send [21:50:09]OFD Sender: No OFD packet to send [21:50:14]OFD Sender: No OFD packet to send [21:50:19]OFD Sender: No OFD packet to send [21:50:24]OFD Sender: No OFD packet to send [21:50:29]OFD Sender: No OFD packet to send [21:50:34]OFD Sender: No OFD packet to send [21:50:39]OFD Sender: No OFD packet to send [21:50:44]OFD Sender: No OFD packet to send [21:50:49]OFD Sender: No OFD packet to send [21:50:54]OFD Sender: No OFD packet to send [21:50:59]OFD Sender: No OFD packet to send [21:51:04]OFD Sender: No OFD packet to send [21:51:09]OFD Sender: No OFD packet to send [21:51:14]OFD Sender: No OFD packet to send [21:51:19]OFD Sender: No OFD packet to send [21:51:24]OFD Sender: No OFD packet to send [21:51:29]OFD Sender: No OFD packet to send [21:51:34]OFD Sender: No OFD packet to send [21:51:39]OFD Sender: No OFD packet to send [21:51:44]OFD Sender: No OFD packet to send [21:51:49]OFD Sender: No OFD packet to send [21:51:54]OFD Sender: No OFD packet to send [21:51:59]OFD Sender: No OFD packet to send [21:52:04]OFD Sender: No OFD packet to send [21:52:04]accept exits with 8 [21:52:04]New connection [21:52:04]New thread 3066838372 created [21:52:04]Thread 3066695012 joined [21:52:04]Waiting for new connection... [21:52:04] Sock 8.Parse request [21:52:04]Sock 8.Check first char [21:52:04]Sock 8.First char is OK [21:52:04]request: POST /json_proto HTTP/1.0 [21:52:04]Method: POST [21:52:04]URL: /json_proto [21:52:04]Method is POST - this is cgi request [21:52:04]url: /json_proto [21:52:04]query_string will be loaded in cgi processing [21:52:04]execute_cgi json_proto POST (null) [21:52:04]execute_cgi path=json_proto method=POST [21:52:04]POST find Content-Length [21:52:04]Host: 172.17.35.133:8080 [21:52:04]Content-Length: 632 [21:52:04]Content-Type: application/json [21:52:04] [21:52:04]POST finish read [21:52:04]Found Content-Length = 632 [21:52:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254441", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:04]execute_script... [21:52:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254441", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:04]POST & json_proto [21:52:04]process_json_proto [21:52:04]json parsed OK: [21:52:04]protocol is kg_v1.0 [21:52:04]action value=close_receipt [21:52:04]process_action close_receipt [21:52:04]cmd_close_receipt [21:52:04]MH_GetDate [21:52:04]Write to MH i2c: F0 00 00 B6 14 B9 [21:52:04]Write i2c OK [21:52:04]MH_I2C_Read... [21:52:04]Read from MH i2c: F0 [21:52:04]MH_I2C_Read... [21:52:04]Read from MH i2c: F0 09 00 [21:52:04]MH_I2C_Read... [21:52:04]Read from MH i2c: F0 09 00 B6 14 00 09 0D 6E 66 8C 55 28 65 1A [21:52:04]GetLastDocTimeStamp 1718487690 [21:52:04]current date 1718488329 [21:52:04]FM_GetShiftState [21:52:04]SAM_PROTO_GetShiftState [21:52:04]wFMCommunicate request_size=4 [21:52:04]MH_SAM_APDU [21:52:04]CAPDU: 80 13 01 00 [21:52:04]Write to MH i2c: E2 08 00 B7 14 80 13 01 00 00 00 00 00 48 [21:52:04]Write i2c OK [21:52:04]MH_I2C_Read... [21:52:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:04]Read from MH i2c: E2 [21:52:04]MH_I2C_Read... [21:52:04]Read from MH i2c: E2 0E 00 [21:52:04]MH_I2C_Read... [21:52:04]Read from MH i2c: E2 0E 00 B7 14 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 1C [21:52:04]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:52:04]wFMCommunicate OK [21:52:04]SAM_PROTO_GetShiftState done [21:52:04]FM_GetShiftState done [21:52:04]opened in 1718410776 [21:52:04]opened+sec_in_day 1718497176 [21:52:04]quantity*price = 6000 [21:52:04]sum+1 = 6001 [21:52:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 71 15.06.2024 21:52 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22226 ФПД: 223145713951880 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T215209&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22226&fm=223145713951880&tin=02508201610067®Number=0000000000099755&sum=6000 0 [21:52:05]StoreToDocumentArchive [21:52:05]shift 326 fd 22226 [21:52:05]save to /storage/0326/doc_00022226 [21:52:05]save last doc name /storage/0326/doc_00022226 to /storage/kkm_last_doc_name [21:52:05]save OK [21:52:05]Clear old archive folders... [21:52:05]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:52:05]tlvbuf is 001CD560 [21:52:05]SAM_PROTO_ClearQueue [21:52:05]wFMCommunicate request_size=4 [21:52:05]MH_SAM_APDU [21:52:05]CAPDU: 80 09 00 00 [21:52:05]Write to MH i2c: E2 08 00 C4 14 80 09 00 00 00 00 00 00 4A [21:52:05]Write i2c OK [21:52:05]MH_I2C_Read... [21:52:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:52:06]Read from MH i2c: E2 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 03 00 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 03 00 C4 14 00 90 00 4C [21:52:06]RAPDU: 90 00 [21:52:06]wFMCommunicate OK [21:52:06]SAM_PROTO_ClearQueue done [21:52:06]KKMCreateOFDPacket [21:52:06]OFDProtocolAddRootSTLVToBuf [21:52:06]FM_MakeSignedData [21:52:06]FM_MakeSignedData [21:52:06]SAM_PROTO_SignData [21:52:06]wFMCommunicate request_size=4 [21:52:06]MH_SAM_APDU [21:52:06]CAPDU: 80 0D 01 02 [21:52:06]Write to MH i2c: E2 08 00 C5 14 80 0D 01 02 00 00 00 00 52 [21:52:06]Write i2c OK [21:52:06]MH_I2C_Read... [21:52:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:52:06]Read from MH i2c: E2 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 03 00 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 03 00 C5 14 00 90 00 4D [21:52:06]RAPDU: 90 00 [21:52:06]wFMCommunicate OK [21:52:06]wFMCommunicate request_size=255 [21:52:06]MH_SAM_APDU [21:52:06]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 09 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:52:06]Write to MH i2c: E2 02 01 C6 14 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 09 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 03 [21:52:06]Write i2c OK [21:52:06]MH_I2C_Read... [21:52:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:52:06]Read from MH i2c: E2 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 03 00 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 03 00 C6 14 00 90 00 4E [21:52:06]RAPDU: 90 00 [21:52:06]wFMCommunicate OK [21:52:06]wFMCommunicate request_size=30 [21:52:06]MH_SAM_APDU [21:52:06]CAPDU: 80 0D 02 02 19 30 39 36 35 33 34 34 10 04 04 00 D2 56 00 00 35 04 06 00 CA F3 29 03 64 88 [21:52:06]Write to MH i2c: E2 21 00 C7 14 80 0D 02 02 19 00 30 39 36 35 33 34 34 10 04 04 00 D2 56 00 00 35 04 06 00 CA F3 29 03 64 88 00 00 4A [21:52:06]Write i2c OK [21:52:06]MH_I2C_Read... [21:52:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:52:06]Read from MH i2c: E2 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 03 00 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 03 00 C7 14 00 90 00 4F [21:52:06]RAPDU: 90 00 [21:52:06]wFMCommunicate OK [21:52:06]wFMCommunicate request_size=4 [21:52:06]MH_SAM_APDU [21:52:06]CAPDU: 80 0D 03 02 [21:52:06]Write to MH i2c: E2 08 00 C8 14 80 0D 03 02 00 00 00 00 57 [21:52:06]Write i2c OK [21:52:06]MH_I2C_Read... [21:52:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:52:06]Read from MH i2c: E2 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 0B 00 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 0B 00 C8 14 00 75 28 5D 37 BF 5B C3 5E 90 00 C4 [21:52:06]RAPDU: 75 28 5D 37 BF 5B C3 5E 90 00 [21:52:06]wFMCommunicate OK [21:52:06]SAM_PROTO_SignData done [21:52:06]FM_MakeSignedData done [21:52:06]CreateOFDProtocolMessage [21:52:06]wFMCommunicate request_size=4 [21:52:06]MH_SAM_APDU [21:52:06]CAPDU: 80 11 00 00 [21:52:06]Write to MH i2c: E2 08 00 C9 14 80 11 00 00 00 00 00 00 57 [21:52:06]Write i2c OK [21:52:06]MH_I2C_Read... [21:52:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:52:06]Read from MH i2c: E2 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 17 00 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: E2 17 00 C9 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A9 [21:52:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:52:06]wFMCommunicate OK [21:52:06]CreateOFDProtocolMessage done [21:52:06]OFDSenderStorePacket 22226 [21:52:06]StoreOFDPacket docnum=22226 [21:52:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 23 01 00 00 38 DB 1B 01 51 9E 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 09 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D2 56 00 00 35 04 06 00 CA F3 29 03 64 88 75 28 5D 37 BF 5B C3 5E [21:52:06]CheckFolder [21:52:06]dirname=/storage/ofd_packets [21:52:06]CheckFolder done [21:52:06]ProducePacketName [21:52:06]name=ofd_packets/00022226 [21:52:06]NVStorageSaveData ofd_packets/00022226 [21:52:06]File name is /storage/ofd_packets/00022226 [21:52:06]Write 321 bytes [21:52:06]NVStorageSaveData done [21:52:06]OFDSenderStorePacket done [21:52:06]KKMCreateOFDPacket done [21:52:06]NVStorageSaveData kkm_last_timestamp [21:52:06]File name is /storage/kkm_last_timestamp [21:52:06]Write 4 bytes [21:52:06]NVStorageSaveData done [21:52:06]ExternCall_PrintAddStr [21:52:06]wPrintStart [21:52:06]Write to MH i2c: 01 00 00 CA 14 DE [21:52:06]Write i2c OK [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: 01 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: 01 07 00 [21:52:06]MH_I2C_Read... [21:52:06]Read from MH i2c: 01 07 00 CA 14 00 00 00 00 00 FF 0F F3 [21:52:06]RasterBufferAndPrint [21:52:06]line Счет N : (3)254441 [21:52:06]line ИНН: 02508201610067 [21:52:06]line Контрольно-Кассовый Чек [21:52:06]line ПРОДАЖА [21:52:06]line Товар: 4700000160204 [21:52:06]line Вода Легенда 1,5л [21:52:06]line 1.000 * 60.00 [21:52:06]line = 60.00 [21:52:06]line НДС 12% НСП 1% [21:52:06]line > о реализуемом товаре [21:52:06]line ИТОГО: 60.00 [21:52:06]line НСП 1% : 0.53 [21:52:06]line НДС 12% : 6.37 [21:52:06]line Наличными: 60.00 [21:52:06]line Безнал.: 0.00 [21:52:06]line Место: АЗС № 76 "Партнер Нефть" [21:52:06]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [21:52:06]line СНО: Общий режим [21:52:06]line Чек 71 15.06.2024 21:52 [21:52:06]line Смена: 326 ФФД: 1.0 [21:52:06]line ЗНМ: 0300000200 [21:52:06]line РНМ: 0000000000099755 [21:52:06]line Версия ККМ: 001 [21:52:06]line ФМ: 0000000000965344 [21:52:06]line ФД: 22226 [21:52:06]line ФПД: 223145713951880 [21:52:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T215209&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22226&fm=223145713951880&tin=02508201610067®Number=0000000000099755&sum=6000 [21:52:06]line 0 [21:52:06]OFD Sender: Processing packet 22226 [packets to send 5, broken 4] [21:52:06]ProducePacketName [21:52:06]name=ofd_packets/00022226 [21:52:06]OFD Sender: To server: pG, [21:52:06]CommunicateWithHost lk.salyk.kg:30040 [21:52:06]ConnectInit lk.salyk.kg [21:52:06]written 0, free lines is 4095 [21:52:06]Connected sock=10 [21:52:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 23 01 00 00 38 DB 1B 01 51 9E 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 09 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D2 56 00 00 35 04 06 00 CA F3 29 03 64 88 75 28 5D 37 BF 5B C3 5E [21:52:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 CC E7 47 00 05 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D2 56 00 00 F4 03 04 00 C5 B5 6D 66 B6 04 01 00 00 AA C2 0F 4C 90 7D B3 E9 [21:52:07]CommunicateWithHost err = 0 [21:52:07]CheckOFDResponse [21:52:07]1017 (14) - 77093643461234 [21:52:07]1041 (16) - 0000000000965344 [21:52:07]1040 (4) - 22226 [21:52:07]1012 (4) - 15.06.2024 15:39 [21:52:07]1206 (1) - 0 [21:52:07]OFD Sender: Remove packet 22226 [21:52:07]ProducePacketName [21:52:07]name=ofd_packets/00022226 [21:52:07]NVStorageDeleteData [21:52:07]Write to MH i2c: 01 00 00 F2 14 06 [21:52:07]Write i2c OK [21:52:07]MH_I2C_Read... [21:52:07]Read from MH i2c: 01 [21:52:07]MH_I2C_Read... [21:52:07]Read from MH i2c: 01 07 00 [21:52:07]MH_I2C_Read... [21:52:07]Read from MH i2c: 01 07 00 F2 14 00 00 00 00 00 32 0D 4C [21:52:07]RasterBufferAndPrint [21:52:07]line [21:52:07]line [21:52:07]line [21:52:07]line [21:52:07]line [21:52:07]written 0, free lines is 3384 [21:52:07]MH_Cut [21:52:07]Write to MH i2c: D1 01 00 F9 14 01 DF [21:52:07]Write i2c OK [21:52:07]MH_I2C_Read... [21:52:07]Read from MH i2c: D1 [21:52:07]MH_I2C_Read... [21:52:07]Read from MH i2c: D1 01 00 [21:52:07]MH_I2C_Read... [21:52:07]Read from MH i2c: D1 01 00 F9 14 00 DE [21:52:07]Write to MH i2c: 01 00 00 FA 14 0E [21:52:07]Write i2c OK [21:52:07]MH_I2C_Read... [21:52:07]OFD Sender: No OFD packet to send [21:52:07]*** Cut start [21:52:07]*** Partial cut [21:52:07]*** CUTSNS_PIN = 1 [21:52:08]*** CUTSNS_PIN = 0 [21:52:08]*** Brake cut motor [21:52:08]Read from MH i2c: 01 [21:52:08]MH_I2C_Read... [21:52:08]*** Stop cut motor [21:52:08]*** Cut end [21:52:08]Read from MH i2c: 01 07 00 [21:52:08]MH_I2C_Read... [21:52:08]Read from MH i2c: 01 07 00 FA 14 00 00 00 00 00 FF 0F 23 [21:52:08]process_action close_receipt done [21:52:08]requested_data is exist [21:52:08]produce_requested_data [21:52:08]requested_item fm.sn is exist - process it [21:52:08]wFMCommunicate request_size=4 [21:52:08]MH_SAM_APDU [21:52:08]CAPDU: 80 11 00 00 [21:52:08]Write to MH i2c: E2 08 00 FB 14 80 11 00 00 00 00 00 00 89 [21:52:08]Write i2c OK [21:52:08]MH_I2C_Read... [21:52:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:52:08]Read from MH i2c: E2 [21:52:08]MH_I2C_Read... [21:52:08]Read from MH i2c: E2 17 00 [21:52:08]MH_I2C_Read... [21:52:08]Read from MH i2c: E2 17 00 FB 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 DB [21:52:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:52:08]wFMCommunicate OK [21:52:08]requested_item fd.num is exist - process it [21:52:08]SAM_PROTO_GetFieldsCounters [21:52:08]wFMCommunicate request_size=4 [21:52:08]MH_SAM_APDU [21:52:08]CAPDU: 80 13 00 00 [21:52:08]Write to MH i2c: E2 08 00 FC 14 80 13 00 00 00 00 00 00 8C [21:52:08]Write i2c OK [21:52:08]MH_I2C_Read... [21:52:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:52:08]Read from MH i2c: E2 [21:52:08]MH_I2C_Read... [21:52:08]Read from MH i2c: E2 62 00 [21:52:08]MH_I2C_Read... [21:52:08]Read from MH i2c: E2 62 00 FC 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D2 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [21:52:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D2 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:52:08]wFMCommunicate OK [21:52:08]SAM_PROTO_GetFieldsCounters done [21:52:08]requested_item shift.num is exist - process it [21:52:08]requested_item shift.opened is exist - process it [21:52:08]req_shift_opened [21:52:08]FM_GetShiftState [21:52:08]SAM_PROTO_GetShiftState [21:52:08]wFMCommunicate request_size=4 [21:52:08]MH_SAM_APDU [21:52:08]CAPDU: 80 13 01 00 [21:52:08]Write to MH i2c: E2 08 00 FD 14 80 13 01 00 00 00 00 00 8E [21:52:08]Write i2c OK [21:52:08]MH_I2C_Read... [21:52:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:08]Read from MH i2c: E2 [21:52:08]MH_I2C_Read... [21:52:08]Read from MH i2c: E2 0E 00 [21:52:08]MH_I2C_Read... [21:52:08]Read from MH i2c: E2 0E 00 FD 14 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 62 [21:52:08]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:52:08]wFMCommunicate OK [21:52:08]SAM_PROTO_GetShiftState done [21:52:08]FM_GetShiftState done [21:52:08]req_shift_opened done [21:52:08]requested_item shift.open_date is exist - process it [21:52:08]req_shift_open_date [21:52:08]req_shift_open_date done [21:52:08]produce_requested_data done [21:52:08]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22226,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [21:52:08]process_action_free close_receipt [21:52:08]json_value_free [21:52:08]json_value_free done [21:52:08]process_json_proto returns [21:52:08]Send response to host [21:52:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22226,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [21:52:08]free response buf [21:52:08]execute_script done [21:52:08]execute_script returns [21:52:08]free content buf [21:52:08]Sock 8.Close socket [21:52:08]Sock 8.Thread stoped [21:52:12]OFD Sender: No OFD packet to send [21:52:17]OFD Sender: No OFD packet to send [21:52:22]OFD Sender: No OFD packet to send [21:52:27]OFD Sender: No OFD packet to send [21:52:32]OFD Sender: No OFD packet to send [21:52:37]OFD Sender: No OFD packet to send [21:52:42]OFD Sender: No OFD packet to send [21:52:47]OFD Sender: No OFD packet to send [21:52:52]OFD Sender: No OFD packet to send [21:52:57]OFD Sender: No OFD packet to send [21:53:02]OFD Sender: No OFD packet to send [21:53:02]accept exits with 9 [21:53:02]New connection [21:53:02]New thread 3066695012 created [21:53:02]Thread 3066838372 joined [21:53:02]Waiting for new connection... [21:53:02] Sock 9.Parse request [21:53:02]Sock 9.Check first char [21:53:02]Sock 9.First char is OK [21:53:02]request: POST /json_proto HTTP/1.0 [21:53:02]Method: POST [21:53:02]URL: /json_proto [21:53:02]Method is POST - this is cgi request [21:53:02]url: /json_proto [21:53:02]query_string will be loaded in cgi processing [21:53:02]execute_cgi json_proto POST (null) [21:53:02]execute_cgi path=json_proto method=POST [21:53:02]POST find Content-Length [21:53:02]Host: 172.17.35.133:8080 [21:53:02]Content-Length: 655 [21:53:02]Content-Type: application/json [21:53:02] [21:53:02]POST finish read [21:53:02]Found Content-Length = 655 [21:53:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254442", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 72.00, "quantity" : 1.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 72.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:02]execute_script... [21:53:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254442", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 72.00, "quantity" : 1.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 72.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:02]POST & json_proto [21:53:02]process_json_proto [21:53:02]json parsed OK: [21:53:02]protocol is kg_v1.0 [21:53:02]action value=close_receipt [21:53:02]process_action close_receipt [21:53:02]cmd_close_receipt [21:53:02]MH_GetDate [21:53:02]Write to MH i2c: F0 00 00 FE 14 01 [21:53:02]Write i2c OK [21:53:02]MH_I2C_Read... [21:53:02]Read from MH i2c: F0 [21:53:02]MH_I2C_Read... [21:53:02]Read from MH i2c: F0 09 00 [21:53:02]MH_I2C_Read... [21:53:02]Read from MH i2c: F0 09 00 FE 14 00 43 0D 6E 66 8C 55 28 65 9C [21:53:02]GetLastDocTimeStamp 1718488329 [21:53:02]current date 1718488387 [21:53:02]FM_GetShiftState [21:53:02]SAM_PROTO_GetShiftState [21:53:02]wFMCommunicate request_size=4 [21:53:02]MH_SAM_APDU [21:53:02]CAPDU: 80 13 01 00 [21:53:02]Write to MH i2c: E2 08 00 FF 14 80 13 01 00 00 00 00 00 90 [21:53:02]Write i2c OK [21:53:02]MH_I2C_Read... [21:53:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:02]Read from MH i2c: E2 [21:53:02]MH_I2C_Read... [21:53:02]Read from MH i2c: E2 0E 00 [21:53:02]MH_I2C_Read... [21:53:02]Read from MH i2c: E2 0E 00 FF 14 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 64 [21:53:02]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:53:02]wFMCommunicate OK [21:53:02]SAM_PROTO_GetShiftState done [21:53:02]FM_GetShiftState done [21:53:02]opened in 1718410776 [21:53:02]opened+sec_in_day 1718497176 [21:53:02]quantity*price = 7200 [21:53:02]sum+1 = 7201 [21:53:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 72.00 НСП 1% : 0.64 НДС 12% : 7.65 Наличными: 72.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 72 15.06.2024 21:53 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22227 ФПД: 211481918578511 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T215307&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22227&fm=211481918578511&tin=02508201610067®Number=0000000000099755&sum=7200 0 [21:53:03]StoreToDocumentArchive [21:53:03]shift 326 fd 22227 [21:53:03]save to /storage/0326/doc_00022227 [21:53:03]save last doc name /storage/0326/doc_00022227 to /storage/kkm_last_doc_name [21:53:03]save OK [21:53:03]Clear old archive folders... [21:53:03]ProcessDocumentItem done err = 0, tmpTLVsize=294 [21:53:03]tlvbuf is 001EE480 [21:53:03]SAM_PROTO_ClearQueue [21:53:03]wFMCommunicate request_size=4 [21:53:03]MH_SAM_APDU [21:53:03]CAPDU: 80 09 00 00 [21:53:03]Write to MH i2c: E2 08 00 0C 15 80 09 00 00 00 00 00 00 93 [21:53:03]Write i2c OK [21:53:03]MH_I2C_Read... [21:53:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:53:03]Read from MH i2c: E2 [21:53:03]MH_I2C_Read... [21:53:03]Read from MH i2c: E2 03 00 [21:53:03]MH_I2C_Read... [21:53:03]Read from MH i2c: E2 03 00 0C 15 00 90 00 95 [21:53:03]RAPDU: 90 00 [21:53:03]wFMCommunicate OK [21:53:03]SAM_PROTO_ClearQueue done [21:53:03]KKMCreateOFDPacket [21:53:03]OFDProtocolAddRootSTLVToBuf [21:53:03]FM_MakeSignedData [21:53:03]FM_MakeSignedData [21:53:03]SAM_PROTO_SignData [21:53:03]wFMCommunicate request_size=4 [21:53:03]MH_SAM_APDU [21:53:03]CAPDU: 80 0D 01 02 [21:53:03]Write to MH i2c: E2 08 00 0D 15 80 0D 01 02 00 00 00 00 9B [21:53:03]Write i2c OK [21:53:03]MH_I2C_Read... [21:53:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:53:04]Read from MH i2c: E2 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 03 00 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 03 00 0D 15 00 90 00 96 [21:53:04]RAPDU: 90 00 [21:53:04]wFMCommunicate OK [21:53:04]wFMCommunicate request_size=255 [21:53:04]MH_SAM_APDU [21:53:04]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 43 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [21:53:04]Write to MH i2c: E2 02 01 0E 15 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 43 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 38 [21:53:04]Write i2c OK [21:53:04]MH_I2C_Read... [21:53:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:04]Read from MH i2c: E2 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 03 00 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 03 00 0E 15 00 90 00 97 [21:53:04]RAPDU: 90 00 [21:53:04]wFMCommunicate OK [21:53:04]wFMCommunicate request_size=53 [21:53:04]MH_SAM_APDU [21:53:04]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D3 56 00 00 35 04 06 00 C0 57 78 A2 1F 4F [21:53:04]Write to MH i2c: E2 38 00 0F 15 80 0D 02 02 30 00 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D3 56 00 00 35 04 06 00 C0 57 78 A2 1F 4F 00 00 64 [21:53:04]Write i2c OK [21:53:04]MH_I2C_Read... [21:53:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:04]Read from MH i2c: E2 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 03 00 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 03 00 0F 15 00 90 00 98 [21:53:04]RAPDU: 90 00 [21:53:04]wFMCommunicate OK [21:53:04]wFMCommunicate request_size=4 [21:53:04]MH_SAM_APDU [21:53:04]CAPDU: 80 0D 03 02 [21:53:04]Write to MH i2c: E2 08 00 10 15 80 0D 03 02 00 00 00 00 A0 [21:53:04]Write i2c OK [21:53:04]MH_I2C_Read... [21:53:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:53:04]Read from MH i2c: E2 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 0B 00 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 0B 00 10 15 00 15 76 CA 67 9D C9 B7 9D 90 00 17 [21:53:04]RAPDU: 15 76 CA 67 9D C9 B7 9D 90 00 [21:53:04]wFMCommunicate OK [21:53:04]SAM_PROTO_SignData done [21:53:04]FM_MakeSignedData done [21:53:04]CreateOFDProtocolMessage [21:53:04]wFMCommunicate request_size=4 [21:53:04]MH_SAM_APDU [21:53:04]CAPDU: 80 11 00 00 [21:53:04]Write to MH i2c: E2 08 00 11 15 80 11 00 00 00 00 00 00 A0 [21:53:04]Write i2c OK [21:53:04]MH_I2C_Read... [21:53:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:04]Read from MH i2c: E2 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 17 00 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: E2 17 00 11 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F2 [21:53:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:53:04]wFMCommunicate OK [21:53:04]CreateOFDProtocolMessage done [21:53:04]OFDSenderStorePacket 22227 [21:53:04]StoreOFDPacket docnum=22227 [21:53:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3A 01 00 00 EE 96 32 01 7F C1 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 43 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D3 56 00 00 35 04 06 00 C0 57 78 A2 1F 4F 15 76 CA 67 9D C9 B7 9D [21:53:04]CheckFolder [21:53:04]dirname=/storage/ofd_packets [21:53:04]CheckFolder done [21:53:04]ProducePacketName [21:53:04]name=ofd_packets/00022227 [21:53:04]NVStorageSaveData ofd_packets/00022227 [21:53:04]File name is /storage/ofd_packets/00022227 [21:53:04]Write 344 bytes [21:53:04]NVStorageSaveData done [21:53:04]OFDSenderStorePacket done [21:53:04]KKMCreateOFDPacket done [21:53:04]NVStorageSaveData kkm_last_timestamp [21:53:04]File name is /storage/kkm_last_timestamp [21:53:04]Write 4 bytes [21:53:04]NVStorageSaveData done [21:53:04]ExternCall_PrintAddStr [21:53:04]wPrintStart [21:53:04]Write to MH i2c: 01 00 00 12 15 27 [21:53:04]Write i2c OK [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: 01 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: 01 07 00 [21:53:04]MH_I2C_Read... [21:53:04]Read from MH i2c: 01 07 00 12 15 00 00 00 00 00 FF 0F 3C [21:53:04]RasterBufferAndPrint [21:53:04]line Счет N : (3)254442 [21:53:04]line ИНН: 02508201610067 [21:53:04]line Контрольно-Кассовый Чек [21:53:04]line ПРОДАЖА [21:53:04]line Товар: 4600682557456 [21:53:04]line Напиток FLash up energy эн ж/б 0,5/0,45л [21:53:04]line 1.000 * 72.00 [21:53:04]line = 72.00 [21:53:04]line НДС 12% НСП 1% [21:53:04]line > о реализуемом товаре [21:53:04]line ИТОГО: 72.00 [21:53:04]line НСП 1% : 0.64 [21:53:04]line НДС 12% : 7.65 [21:53:04]line Наличными: 72.00 [21:53:04]line Безнал.: 0.00 [21:53:04]line Место: АЗС № 76 "Партнер Нефть" [21:53:04]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [21:53:04]line СНО: Общий режим [21:53:04]line Чек 72 15.06.2024 21:53 [21:53:04]line Смена: 326 ФФД: 1.0 [21:53:04]line ЗНМ: 0300000200 [21:53:04]line РНМ: 0000000000099755 [21:53:04]line Версия ККМ: 001 [21:53:04]line ФМ: 0000000000965344 [21:53:04]line ФД: 22227 [21:53:04]line ФПД: 211481918578511 [21:53:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T215307&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22227&fm=211481918578511&tin=02508201610067®Number=0000000000099755&sum=7200 [21:53:04]line 0 [21:53:04]OFD Sender: Processing packet 22227 [packets to send 5, broken 4] [21:53:04]ProducePacketName [21:53:04]name=ofd_packets/00022227 [21:53:04]OFD Sender: To server: pG, [21:53:04]CommunicateWithHost lk.salyk.kg:30040 [21:53:04]ConnectInit lk.salyk.kg [21:53:04]written 0, free lines is 4095 [21:53:04]Connected sock=10 [21:53:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3A 01 00 00 EE 96 32 01 7F C1 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 43 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D3 56 00 00 35 04 06 00 C0 57 78 A2 1F 4F 15 76 CA 67 9D C9 B7 9D [21:53:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 CF 3A 47 00 7D D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D3 56 00 00 F4 03 04 00 FF B5 6D 66 B6 04 01 00 00 D2 A7 49 A9 B6 9E BC FA [21:53:05]CommunicateWithHost err = 0 [21:53:05]CheckOFDResponse [21:53:05]1017 (14) - 77093643461234 [21:53:05]1041 (16) - 0000000000965344 [21:53:05]1040 (4) - 22227 [21:53:05]1012 (4) - 15.06.2024 15:40 [21:53:05]1206 (1) - 0 [21:53:05]OFD Sender: Remove packet 22227 [21:53:05]ProducePacketName [21:53:05]name=ofd_packets/00022227 [21:53:05]NVStorageDeleteData [21:53:05]Write to MH i2c: 01 00 00 3B 15 50 [21:53:05]Write i2c OK [21:53:05]MH_I2C_Read... [21:53:05]Read from MH i2c: 01 [21:53:05]MH_I2C_Read... [21:53:05]Read from MH i2c: 01 07 00 [21:53:05]MH_I2C_Read... [21:53:05]Read from MH i2c: 01 07 00 3B 15 00 00 00 00 00 15 0D 79 [21:53:05]RasterBufferAndPrint [21:53:05]line [21:53:05]line [21:53:05]line [21:53:05]line [21:53:05]line [21:53:05]written 0, free lines is 3359 [21:53:05]MH_Cut [21:53:05]Write to MH i2c: D1 01 00 42 15 01 29 [21:53:05]Write i2c OK [21:53:05]MH_I2C_Read... [21:53:05]Read from MH i2c: D1 [21:53:05]MH_I2C_Read... [21:53:05]Read from MH i2c: D1 01 00 [21:53:05]MH_I2C_Read... [21:53:05]Read from MH i2c: D1 01 00 42 15 00 28 [21:53:05]Write to MH i2c: 01 00 00 43 15 58 [21:53:05]Write i2c OK [21:53:05]MH_I2C_Read... [21:53:05]OFD Sender: No OFD packet to send [21:53:05]*** Cut start [21:53:05]*** Partial cut [21:53:05]*** CUTSNS_PIN = 1 [21:53:06]*** CUTSNS_PIN = 0 [21:53:06]*** Brake cut motor [21:53:06]Read from MH i2c: 01 [21:53:06]MH_I2C_Read... [21:53:06]*** Stop cut motor [21:53:06]*** Cut end [21:53:06]Read from MH i2c: 01 07 00 [21:53:06]MH_I2C_Read... [21:53:06]Read from MH i2c: 01 07 00 43 15 00 00 00 00 00 FF 0F 6D [21:53:06]process_action close_receipt done [21:53:06]requested_data is exist [21:53:06]produce_requested_data [21:53:06]requested_item fm.sn is exist - process it [21:53:06]wFMCommunicate request_size=4 [21:53:06]MH_SAM_APDU [21:53:06]CAPDU: 80 11 00 00 [21:53:06]Write to MH i2c: E2 08 00 44 15 80 11 00 00 00 00 00 00 D3 [21:53:06]Write i2c OK [21:53:06]MH_I2C_Read... [21:53:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:06]Read from MH i2c: E2 [21:53:06]MH_I2C_Read... [21:53:06]Read from MH i2c: E2 17 00 [21:53:06]MH_I2C_Read... [21:53:06]Read from MH i2c: E2 17 00 44 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 25 [21:53:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:53:06]wFMCommunicate OK [21:53:06]requested_item fd.num is exist - process it [21:53:06]SAM_PROTO_GetFieldsCounters [21:53:06]wFMCommunicate request_size=4 [21:53:06]MH_SAM_APDU [21:53:06]CAPDU: 80 13 00 00 [21:53:06]Write to MH i2c: E2 08 00 45 15 80 13 00 00 00 00 00 00 D6 [21:53:06]Write i2c OK [21:53:06]MH_I2C_Read... [21:53:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:53:06]Read from MH i2c: E2 [21:53:06]MH_I2C_Read... [21:53:06]Read from MH i2c: E2 62 00 [21:53:06]MH_I2C_Read... [21:53:06]Read from MH i2c: E2 62 00 45 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D3 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [21:53:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D3 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:53:06]wFMCommunicate OK [21:53:06]SAM_PROTO_GetFieldsCounters done [21:53:06]requested_item shift.num is exist - process it [21:53:06]requested_item shift.opened is exist - process it [21:53:06]req_shift_opened [21:53:06]FM_GetShiftState [21:53:06]SAM_PROTO_GetShiftState [21:53:06]wFMCommunicate request_size=4 [21:53:06]MH_SAM_APDU [21:53:06]CAPDU: 80 13 01 00 [21:53:06]Write to MH i2c: E2 08 00 46 15 80 13 01 00 00 00 00 00 D8 [21:53:06]Write i2c OK [21:53:06]MH_I2C_Read... [21:53:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:06]Read from MH i2c: E2 [21:53:06]MH_I2C_Read... [21:53:06]Read from MH i2c: E2 0E 00 [21:53:06]MH_I2C_Read... [21:53:06]Read from MH i2c: E2 0E 00 46 15 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 AC [21:53:06]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:53:06]wFMCommunicate OK [21:53:06]SAM_PROTO_GetShiftState done [21:53:06]FM_GetShiftState done [21:53:06]req_shift_opened done [21:53:06]requested_item shift.open_date is exist - process it [21:53:06]req_shift_open_date [21:53:06]req_shift_open_date done [21:53:06]produce_requested_data done [21:53:06]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22227,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [21:53:06]process_action_free close_receipt [21:53:06]json_value_free [21:53:06]json_value_free done [21:53:06]process_json_proto returns [21:53:06]Send response to host [21:53:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22227,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [21:53:06]free response buf [21:53:06]execute_script done [21:53:06]execute_script returns [21:53:06]free content buf [21:53:06]Sock 9.Close socket [21:53:06]Sock 9.Thread stoped [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:40]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:08]accept exits with 8 [21:54:08]New connection [21:54:08]New thread 3066838372 created [21:54:08]Thread 3066695012 joined [21:54:08]Waiting for new connection... [21:54:08] Sock 8.Parse request [21:54:08]Sock 8.Check first char [21:54:08]Sock 8.First char is OK [21:54:08]request: POST /json_proto HTTP/1.0 [21:54:08]Method: POST [21:54:08]URL: /json_proto [21:54:08]Method is POST - this is cgi request [21:54:08]url: /json_proto [21:54:08]query_string will be loaded in cgi processing [21:54:08]execute_cgi json_proto POST (null) [21:54:08]execute_cgi path=json_proto method=POST [21:54:08]POST find Content-Length [21:54:08]Host: 172.17.35.133:8080 [21:54:08]Content-Length: 892 [21:54:08]Content-Type: application/json [21:54:08] [21:54:08]POST finish read [21:54:08]Found Content-Length = 892 [21:54:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254443", "tax_sys" : 0, "items" : [ { "code": "48741200", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:54:08]execute_script... [21:54:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254443", "tax_sys" : 0, "items" : [ { "code": "48741200", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:54:08]POST & json_proto [21:54:08]process_json_proto [21:54:08]json parsed OK: [21:54:08]protocol is kg_v1.0 [21:54:08]action value=close_receipt [21:54:08]process_action close_receipt [21:54:08]cmd_close_receipt [21:54:08]MH_GetDate [21:54:08]Write to MH i2c: F0 00 00 47 15 4B [21:54:08]Write i2c OK [21:54:08]MH_I2C_Read... [21:54:08]Read from MH i2c: F0 [21:54:08]MH_I2C_Read... [21:54:08]Read from MH i2c: F0 09 00 [21:54:08]MH_I2C_Read... [21:54:08]Read from MH i2c: F0 09 00 47 15 00 85 0D 6E 66 8C 55 28 65 28 [21:54:08]GetLastDocTimeStamp 1718488387 [21:54:08]current date 1718488453 [21:54:08]FM_GetShiftState [21:54:08]SAM_PROTO_GetShiftState [21:54:08]wFMCommunicate request_size=4 [21:54:08]MH_SAM_APDU [21:54:08]CAPDU: 80 13 01 00 [21:54:08]Write to MH i2c: E2 08 00 48 15 80 13 01 00 00 00 00 00 DA [21:54:08]Write i2c OK [21:54:08]MH_I2C_Read... [21:54:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:08]Read from MH i2c: E2 [21:54:08]MH_I2C_Read... [21:54:08]Read from MH i2c: E2 0E 00 [21:54:08]MH_I2C_Read... [21:54:08]Read from MH i2c: E2 0E 00 48 15 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 AE [21:54:08]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:54:08]wFMCommunicate OK [21:54:08]SAM_PROTO_GetShiftState done [21:54:08]FM_GetShiftState done [21:54:08]opened in 1718410776 [21:54:08]opened+sec_in_day 1718497176 [21:54:08]quantity*price = 14000 [21:54:08]sum+1 = 14001 [21:54:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000000439 Напиток Кока-Кола 1,5л 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 295.00 НСП 1% : 2.61 НДС 12% : 31.33 Наличными: 295.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 73 15.06.2024 21:54 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22228 ФПД: 53731612307705 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T215413&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22228&fm=53731612307705&tin=02508201610067®Number=0000000000099755&sum=29500 0 [21:54:10]StoreToDocumentArchive [21:54:10]shift 326 fd 22228 [21:54:10]save to /storage/0326/doc_00022228 [21:54:10]save last doc name /storage/0326/doc_00022228 to /storage/kkm_last_doc_name [21:54:10]save OK [21:54:10]Clear old archive folders... [21:54:10]ProcessDocumentItem done err = 0, tmpTLVsize=378 [21:54:10]tlvbuf is 001CD5C0 [21:54:10]SAM_PROTO_ClearQueue [21:54:10]wFMCommunicate request_size=4 [21:54:10]MH_SAM_APDU [21:54:10]CAPDU: 80 09 00 00 [21:54:10]Write to MH i2c: E2 08 00 55 15 80 09 00 00 00 00 00 00 DC [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:54:10]Read from MH i2c: E2 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 03 00 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 03 00 55 15 00 90 00 DE [21:54:10]RAPDU: 90 00 [21:54:10]wFMCommunicate OK [21:54:10]SAM_PROTO_ClearQueue done [21:54:10]KKMCreateOFDPacket [21:54:10]OFDProtocolAddRootSTLVToBuf [21:54:10]FM_MakeSignedData [21:54:10]FM_MakeSignedData [21:54:10]SAM_PROTO_SignData [21:54:10]wFMCommunicate request_size=4 [21:54:10]MH_SAM_APDU [21:54:10]CAPDU: 80 0D 01 02 [21:54:10]Write to MH i2c: E2 08 00 56 15 80 0D 01 02 00 00 00 00 E4 [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:54:10]Read from MH i2c: E2 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 03 00 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 03 00 56 15 00 90 00 DF [21:54:10]RAPDU: 90 00 [21:54:10]wFMCommunicate OK [21:54:10]wFMCommunicate request_size=255 [21:54:10]MH_SAM_APDU [21:54:10]CAPDU: 80 0D 02 02 FA 03 00 7A 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 31 32 30 30 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 [21:54:10]Write to MH i2c: E2 02 01 57 15 80 0D 02 02 FA 00 03 00 7A 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 31 32 30 30 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 00 00 AD [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:10]Read from MH i2c: E2 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 03 00 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 03 00 57 15 00 90 00 E0 [21:54:10]RAPDU: 90 00 [21:54:10]wFMCommunicate OK [21:54:10]wFMCommunicate request_size=137 [21:54:10]MH_SAM_APDU [21:54:10]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 85 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D4 56 00 00 35 04 06 00 30 DE 5D AA 30 F9 [21:54:10]Write to MH i2c: E2 8C 00 58 15 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 85 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D4 56 00 00 35 04 06 00 30 DE 5D AA 30 F9 00 00 7B [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:10]Read from MH i2c: E2 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 03 00 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 03 00 58 15 00 90 00 E1 [21:54:10]RAPDU: 90 00 [21:54:10]wFMCommunicate OK [21:54:10]wFMCommunicate request_size=4 [21:54:10]MH_SAM_APDU [21:54:10]CAPDU: 80 0D 03 02 [21:54:10]Write to MH i2c: E2 08 00 59 15 80 0D 03 02 00 00 00 00 E9 [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:54:10]Read from MH i2c: E2 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 0B 00 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 0B 00 59 15 00 87 6C 29 BA 99 6C 6E 93 90 00 C6 [21:54:10]RAPDU: 87 6C 29 BA 99 6C 6E 93 90 00 [21:54:10]wFMCommunicate OK [21:54:10]SAM_PROTO_SignData done [21:54:10]FM_MakeSignedData done [21:54:10]CreateOFDProtocolMessage [21:54:10]wFMCommunicate request_size=4 [21:54:10]MH_SAM_APDU [21:54:10]CAPDU: 80 11 00 00 [21:54:10]Write to MH i2c: E2 08 00 5A 15 80 11 00 00 00 00 00 00 E9 [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:10]Read from MH i2c: E2 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 17 00 [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: E2 17 00 5A 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 3B [21:54:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:54:10]wFMCommunicate OK [21:54:10]CreateOFDProtocolMessage done [21:54:10]OFDSenderStorePacket 22228 [21:54:10]StoreOFDPacket docnum=22228 [21:54:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 8E 01 00 00 09 81 86 01 1D DC 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 31 32 30 30 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 85 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D4 56 00 00 35 04 06 00 30 DE 5D AA 30 F9 87 6C 29 BA 99 6C 6E 93 [21:54:10]CheckFolder [21:54:10]dirname=/storage/ofd_packets [21:54:10]CheckFolder done [21:54:10]ProducePacketName [21:54:10]name=ofd_packets/00022228 [21:54:10]NVStorageSaveData ofd_packets/00022228 [21:54:10]File name is /storage/ofd_packets/00022228 [21:54:10]Write 428 bytes [21:54:10]NVStorageSaveData done [21:54:10]OFDSenderStorePacket done [21:54:10]KKMCreateOFDPacket done [21:54:10]NVStorageSaveData kkm_last_timestamp [21:54:10]File name is /storage/kkm_last_timestamp [21:54:10]Write 4 bytes [21:54:10]NVStorageSaveData done [21:54:10]ExternCall_PrintAddStr [21:54:10]wPrintStart [21:54:10]Write to MH i2c: 01 00 00 5B 15 70 [21:54:10]Write i2c OK [21:54:10]MH_I2C_Read... [21:54:10]Read from MH i2c: 01 [21:54:11]MH_I2C_Read... [21:54:11]OFD Sender: Processing packet 22228 [packets to send 5, broken 4] [21:54:11]ProducePacketName [21:54:11]name=ofd_packets/00022228 [21:54:11]OFD Sender: To server: pG, [21:54:11]CommunicateWithHost lk.salyk.kg:30040 [21:54:11]ConnectInit lk.salyk.kg [21:54:11]Read from MH i2c: 01 07 00 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: 01 07 00 5B 15 00 00 00 00 00 FF 0F 85 [21:54:11]RasterBufferAndPrint [21:54:11]line Счет N : (3)254443 [21:54:11]line ИНН: 02508201610067 [21:54:11]line Контрольно-Кассовый Чек [21:54:11]line ПРОДАЖА [21:54:11]line Товар: 48741200 [21:54:11]line Сигареты Winston Silver [21:54:11]line 1.000 * 140.00 [21:54:11]line = 140.00 [21:54:11]line НДС 12% НСП 1% [21:54:11]line > о реализуемом товаре [21:54:11]line Товар: 5449000000439 [21:54:11]line Напиток Кока-Кола 1,5л [21:54:11]line 1.000 * 155.00 [21:54:11]line = 155.00 [21:54:11]line НДС 12% НСП 1% [21:54:11]line > о реализуемом товаре [21:54:11]line ИТОГО: 295.00 [21:54:11]line НСП 1% : 2.61 [21:54:11]line НДС 12% : 31.33 [21:54:11]line Наличными: 295.00 [21:54:11]line Безнал.: 0.00 [21:54:11]line Место: АЗС № 76 "Партнер Нефть" [21:54:11]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [21:54:11]line СНО: Общий режим [21:54:11]line Чек 73 15.06.2024 21:54 [21:54:11]line Смена: 326 ФФД: 1.0 [21:54:11]line ЗНМ: 0300000200 [21:54:11]line РНМ: 0000000000099755 [21:54:11]line Версия ККМ: 001 [21:54:11]line ФМ: 0000000000965344 [21:54:11]line ФД: 22228 [21:54:11]line ФПД: 53731612307705 [21:54:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T215413&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22228&fm=53731612307705&tin=02508201610067®Number=0000000000099755&sum=29500 [21:54:11]line 0 [21:54:11]written 0, free lines is 4095 [21:54:11]Connected sock=10 [21:54:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 8E 01 00 00 09 81 86 01 1D DC 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 31 32 30 30 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 85 0D 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D4 56 00 00 35 04 06 00 30 DE 5D AA 30 F9 87 6C 29 BA 99 6C 6E 93 [21:54:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 5D 1F 47 00 76 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D4 56 00 00 F4 03 04 00 42 B6 6D 66 B6 04 01 00 00 42 F4 C4 26 5F 4A 21 38 [21:54:11]CommunicateWithHost err = 0 [21:54:11]CheckOFDResponse [21:54:11]1017 (14) - 77093643461234 [21:54:11]1041 (16) - 0000000000965344 [21:54:11]1040 (4) - 22228 [21:54:11]1012 (4) - 15.06.2024 15:41 [21:54:11]1206 (1) - 0 [21:54:11]OFD Sender: Remove packet 22228 [21:54:11]ProducePacketName [21:54:11]name=ofd_packets/00022228 [21:54:11]NVStorageDeleteData [21:54:11]Write to MH i2c: 01 00 00 89 15 9E [21:54:11]Write i2c OK [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: 01 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: 01 07 00 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: 01 07 00 89 15 00 00 00 00 00 E8 0C 99 [21:54:11]RasterBufferAndPrint [21:54:11]line [21:54:11]line [21:54:11]line [21:54:11]line [21:54:11]line [21:54:11]written 0, free lines is 3313 [21:54:11]MH_Cut [21:54:11]Write to MH i2c: D1 01 00 90 15 01 77 [21:54:11]Write i2c OK [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: D1 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: D1 01 00 [21:54:11]MH_I2C_Read... [21:54:11]Read from MH i2c: D1 01 00 90 15 00 76 [21:54:11]Write to MH i2c: 01 00 00 91 15 A6 [21:54:11]Write i2c OK [21:54:11]MH_I2C_Read... [21:54:11]OFD Sender: No OFD packet to send [21:54:12]*** Cut start [21:54:12]*** Partial cut [21:54:12]*** CUTSNS_PIN = 1 [21:54:12]*** CUTSNS_PIN = 0 [21:54:12]*** Brake cut motor [21:54:12]Read from MH i2c: 01 [21:54:12]MH_I2C_Read... [21:54:12]*** Stop cut motor [21:54:12]*** Cut end [21:54:12]Read from MH i2c: 01 07 00 [21:54:12]MH_I2C_Read... [21:54:12]Read from MH i2c: 01 07 00 91 15 00 00 00 00 00 FF 0F BB [21:54:12]process_action close_receipt done [21:54:12]requested_data is exist [21:54:12]produce_requested_data [21:54:12]requested_item fm.sn is exist - process it [21:54:12]wFMCommunicate request_size=4 [21:54:12]MH_SAM_APDU [21:54:12]CAPDU: 80 11 00 00 [21:54:12]Write to MH i2c: E2 08 00 92 15 80 11 00 00 00 00 00 00 21 [21:54:12]Write i2c OK [21:54:12]MH_I2C_Read... [21:54:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:12]Read from MH i2c: E2 [21:54:12]MH_I2C_Read... [21:54:12]Read from MH i2c: E2 17 00 [21:54:12]MH_I2C_Read... [21:54:12]Read from MH i2c: E2 17 00 92 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 73 [21:54:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [21:54:12]wFMCommunicate OK [21:54:12]requested_item fd.num is exist - process it [21:54:12]SAM_PROTO_GetFieldsCounters [21:54:12]wFMCommunicate request_size=4 [21:54:12]MH_SAM_APDU [21:54:12]CAPDU: 80 13 00 00 [21:54:12]Write to MH i2c: E2 08 00 93 15 80 13 00 00 00 00 00 00 24 [21:54:12]Write i2c OK [21:54:12]MH_I2C_Read... [21:54:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:54:13]Read from MH i2c: E2 [21:54:13]MH_I2C_Read... [21:54:13]Read from MH i2c: E2 62 00 [21:54:13]MH_I2C_Read... [21:54:13]Read from MH i2c: E2 62 00 93 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D4 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [21:54:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D4 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:54:13]wFMCommunicate OK [21:54:13]SAM_PROTO_GetFieldsCounters done [21:54:13]requested_item shift.num is exist - process it [21:54:13]requested_item shift.opened is exist - process it [21:54:13]req_shift_opened [21:54:13]FM_GetShiftState [21:54:13]SAM_PROTO_GetShiftState [21:54:13]wFMCommunicate request_size=4 [21:54:13]MH_SAM_APDU [21:54:13]CAPDU: 80 13 01 00 [21:54:13]Write to MH i2c: E2 08 00 94 15 80 13 01 00 00 00 00 00 26 [21:54:13]Write i2c OK [21:54:13]MH_I2C_Read... [21:54:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:13]Read from MH i2c: E2 [21:54:13]MH_I2C_Read... [21:54:13]Read from MH i2c: E2 0E 00 [21:54:13]MH_I2C_Read... [21:54:13]Read from MH i2c: E2 0E 00 94 15 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 FA [21:54:13]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [21:54:13]wFMCommunicate OK [21:54:13]SAM_PROTO_GetShiftState done [21:54:13]FM_GetShiftState done [21:54:13]req_shift_opened done [21:54:13]requested_item shift.open_date is exist - process it [21:54:13]req_shift_open_date [21:54:13]req_shift_open_date done [21:54:13]produce_requested_data done [21:54:13]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22228,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [21:54:13]process_action_free close_receipt [21:54:13]json_value_free [21:54:13]json_value_free done [21:54:13]process_json_proto returns [21:54:13]Send response to host [21:54:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22228,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [21:54:13]free response buf [21:54:13]execute_script done [21:54:13]execute_script returns [21:54:13]free content buf [21:54:13]Sock 8.Close socket [21:54:13]Sock 8.Thread stoped [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:51]OFD Sender: No OFD packet to send [21:55:56]OFD Sender: No OFD packet to send [21:56:01]OFD Sender: No OFD packet to send [21:56:06]OFD Sender: No OFD packet to send [21:56:11]OFD Sender: No OFD packet to send [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:49]accept exits with 9 [22:00:49]New connection [22:00:49]New thread 3066695012 created [22:00:49]Thread 3066838372 joined [22:00:49]Waiting for new connection... [22:00:49] Sock 9.Parse request [22:00:49]Sock 9.Check first char [22:00:49]Sock 9.First char is OK [22:00:49]request: POST /json_proto HTTP/1.0 [22:00:49]Method: POST [22:00:49]URL: /json_proto [22:00:49]Method is POST - this is cgi request [22:00:49]url: /json_proto [22:00:49]query_string will be loaded in cgi processing [22:00:49]execute_cgi json_proto POST (null) [22:00:49]execute_cgi path=json_proto method=POST [22:00:49]POST find Content-Length [22:00:49]Host: 172.17.35.133:8080 [22:00:49]Content-Length: 664 [22:00:49]Content-Type: application/json [22:00:49] [22:00:49]POST finish read [22:00:49]Found Content-Length = 664 [22:00:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254444", "tax_sys" : 0, "items" : [ { "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:00:49]execute_script... [22:00:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254444", "tax_sys" : 0, "items" : [ { "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:00:49]POST & json_proto [22:00:49]process_json_proto [22:00:49]json parsed OK: [22:00:49]protocol is kg_v1.0 [22:00:49]action value=close_receipt [22:00:49]process_action close_receipt [22:00:49]cmd_close_receipt [22:00:49]MH_GetDate [22:00:49]Write to MH i2c: F0 00 00 95 15 99 [22:00:49]Write i2c OK [22:00:49]MH_I2C_Read... [22:00:49]Read from MH i2c: F0 [22:00:49]MH_I2C_Read... [22:00:49]Read from MH i2c: F0 09 00 [22:00:49]MH_I2C_Read... [22:00:49]Read from MH i2c: F0 09 00 95 15 00 16 0F 6E 66 8C 55 28 65 09 [22:00:49]GetLastDocTimeStamp 1718488453 [22:00:49]current date 1718488854 [22:00:49]FM_GetShiftState [22:00:49]SAM_PROTO_GetShiftState [22:00:49]wFMCommunicate request_size=4 [22:00:49]MH_SAM_APDU [22:00:49]CAPDU: 80 13 01 00 [22:00:49]Write to MH i2c: E2 08 00 96 15 80 13 01 00 00 00 00 00 28 [22:00:49]Write i2c OK [22:00:49]MH_I2C_Read... [22:00:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:49]Read from MH i2c: E2 [22:00:49]MH_I2C_Read... [22:00:49]Read from MH i2c: E2 0E 00 [22:00:49]MH_I2C_Read... [22:00:49]Read from MH i2c: E2 0E 00 96 15 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 FC [22:00:49]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [22:00:49]wFMCommunicate OK [22:00:49]SAM_PROTO_GetShiftState done [22:00:49]FM_GetShiftState done [22:00:49]opened in 1718410776 [22:00:49]opened+sec_in_day 1718497176 [22:00:49]quantity*price = 8500 [22:00:49]sum+1 = 8501 [22:00:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 74 15.06.2024 22:00 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22229 ФПД: 51513175852262 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T220054&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22229&fm=51513175852262&tin=02508201610067®Number=0000000000099755&sum=8500 0 [22:00:50]StoreToDocumentArchive [22:00:50]shift 326 fd 22229 [22:00:50]save to /storage/0326/doc_00022229 [22:00:50]save last doc name /storage/0326/doc_00022229 to /storage/kkm_last_doc_name [22:00:50]save OK [22:00:50]Clear old archive folders... [22:00:50]ProcessDocumentItem done err = 0, tmpTLVsize=283 [22:00:50]tlvbuf is 0020CBF0 [22:00:50]SAM_PROTO_ClearQueue [22:00:50]wFMCommunicate request_size=4 [22:00:50]MH_SAM_APDU [22:00:50]CAPDU: 80 09 00 00 [22:00:50]Write to MH i2c: E2 08 00 A3 15 80 09 00 00 00 00 00 00 2A [22:00:50]Write i2c OK [22:00:50]MH_I2C_Read... [22:00:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:00:50]Read from MH i2c: E2 [22:00:50]MH_I2C_Read... [22:00:50]Read from MH i2c: E2 03 00 [22:00:50]MH_I2C_Read... [22:00:50]Read from MH i2c: E2 03 00 A3 15 00 90 00 2C [22:00:50]RAPDU: 90 00 [22:00:50]wFMCommunicate OK [22:00:50]SAM_PROTO_ClearQueue done [22:00:50]KKMCreateOFDPacket [22:00:50]OFDProtocolAddRootSTLVToBuf [22:00:50]FM_MakeSignedData [22:00:50]FM_MakeSignedData [22:00:50]SAM_PROTO_SignData [22:00:50]wFMCommunicate request_size=4 [22:00:50]MH_SAM_APDU [22:00:50]CAPDU: 80 0D 01 02 [22:00:50]Write to MH i2c: E2 08 00 A4 15 80 0D 01 02 00 00 00 00 32 [22:00:50]Write i2c OK [22:00:50]MH_I2C_Read... [22:00:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:00:51]Read from MH i2c: E2 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 03 00 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 03 00 A4 15 00 90 00 2D [22:00:51]RAPDU: 90 00 [22:00:51]wFMCommunicate OK [22:00:51]wFMCommunicate request_size=255 [22:00:51]MH_SAM_APDU [22:00:51]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 16 0F 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 [22:00:51]Write to MH i2c: E2 02 01 A5 15 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 16 0F 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 00 00 DC [22:00:51]Write i2c OK [22:00:51]MH_I2C_Read... [22:00:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:51]Read from MH i2c: E2 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 03 00 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 03 00 A5 15 00 90 00 2E [22:00:51]RAPDU: 90 00 [22:00:51]wFMCommunicate OK [22:00:51]wFMCommunicate request_size=42 [22:00:51]MH_SAM_APDU [22:00:51]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D5 56 00 00 35 04 06 00 2E D9 D8 8C 44 E6 [22:00:51]Write to MH i2c: E2 2D 00 A6 15 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D5 56 00 00 35 04 06 00 2E D9 D8 8C 44 E6 00 00 C9 [22:00:51]Write i2c OK [22:00:51]MH_I2C_Read... [22:00:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:51]Read from MH i2c: E2 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 03 00 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 03 00 A6 15 00 90 00 2F [22:00:51]RAPDU: 90 00 [22:00:51]wFMCommunicate OK [22:00:51]wFMCommunicate request_size=4 [22:00:51]MH_SAM_APDU [22:00:51]CAPDU: 80 0D 03 02 [22:00:51]Write to MH i2c: E2 08 00 A7 15 80 0D 03 02 00 00 00 00 37 [22:00:51]Write i2c OK [22:00:51]MH_I2C_Read... [22:00:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:00:51]Read from MH i2c: E2 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 0B 00 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 0B 00 A7 15 00 B6 65 A8 F8 5A FF FF 6B 90 00 B6 [22:00:51]RAPDU: B6 65 A8 F8 5A FF FF 6B 90 00 [22:00:51]wFMCommunicate OK [22:00:51]SAM_PROTO_SignData done [22:00:51]FM_MakeSignedData done [22:00:51]CreateOFDProtocolMessage [22:00:51]wFMCommunicate request_size=4 [22:00:51]MH_SAM_APDU [22:00:51]CAPDU: 80 11 00 00 [22:00:51]Write to MH i2c: E2 08 00 A8 15 80 11 00 00 00 00 00 00 37 [22:00:51]Write i2c OK [22:00:51]MH_I2C_Read... [22:00:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:51]Read from MH i2c: E2 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 17 00 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: E2 17 00 A8 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 89 [22:00:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:00:51]wFMCommunicate OK [22:00:51]CreateOFDProtocolMessage done [22:00:51]OFDSenderStorePacket 22229 [22:00:51]StoreOFDPacket docnum=22229 [22:00:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2F 01 00 00 84 5E 27 01 85 5D 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 16 0F 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D5 56 00 00 35 04 06 00 2E D9 D8 8C 44 E6 B6 65 A8 F8 5A FF FF 6B [22:00:51]CheckFolder [22:00:51]dirname=/storage/ofd_packets [22:00:51]CheckFolder done [22:00:51]ProducePacketName [22:00:51]name=ofd_packets/00022229 [22:00:51]NVStorageSaveData ofd_packets/00022229 [22:00:51]File name is /storage/ofd_packets/00022229 [22:00:51]Write 333 bytes [22:00:51]NVStorageSaveData done [22:00:51]OFDSenderStorePacket done [22:00:51]KKMCreateOFDPacket done [22:00:51]NVStorageSaveData kkm_last_timestamp [22:00:51]File name is /storage/kkm_last_timestamp [22:00:51]Write 4 bytes [22:00:51]NVStorageSaveData done [22:00:51]ExternCall_PrintAddStr [22:00:51]wPrintStart [22:00:51]Write to MH i2c: 01 00 00 A9 15 BE [22:00:51]Write i2c OK [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: 01 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: 01 07 00 [22:00:51]MH_I2C_Read... [22:00:51]Read from MH i2c: 01 07 00 A9 15 00 00 00 00 00 FF 0F D3 [22:00:51]RasterBufferAndPrint [22:00:51]line Счет N : (3)254444 [22:00:51]line ИНН: 02508201610067 [22:00:51]line Контрольно-Кассовый Чек [22:00:51]line ПРОДАЖА [22:00:51]line Товар: 4700003010803 [22:00:51]line Чай Летс Гоу Малина 0,9л [22:00:51]line 1.000 * 85.00 [22:00:51]line = 85.00 [22:00:51]line НДС 12% НСП 1% [22:00:51]line > о реализуемом товаре [22:00:51]line ИТОГО: 85.00 [22:00:51]line НСП 1% : 0.75 [22:00:51]line НДС 12% : 9.03 [22:00:51]line Наличными: 85.00 [22:00:51]line Безнал.: 0.00 [22:00:51]line Место: АЗС № 76 "Партнер Нефть" [22:00:51]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:00:51]line СНО: Общий режим [22:00:51]line Чек 74 15.06.2024 22:00 [22:00:51]line Смена: 326 ФФД: 1.0 [22:00:51]line ЗНМ: 0300000200 [22:00:51]line РНМ: 0000000000099755 [22:00:51]line Версия ККМ: 001 [22:00:51]line ФМ: 0000000000965344 [22:00:51]line ФД: 22229 [22:00:51]line ФПД: 51513175852262 [22:00:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T220054&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22229&fm=51513175852262&tin=02508201610067®Number=0000000000099755&sum=8500 [22:00:51]line 0 [22:00:51]OFD Sender: Processing packet 22229 [packets to send 5, broken 4] [22:00:51]ProducePacketName [22:00:51]name=ofd_packets/00022229 [22:00:51]OFD Sender: To server: pG, [22:00:51]CommunicateWithHost lk.salyk.kg:30040 [22:00:51]ConnectInit lk.salyk.kg [22:00:51]written 0, free lines is 4095 [22:00:51]Connected sock=10 [22:00:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2F 01 00 00 84 5E 27 01 85 5D 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 16 0F 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D5 56 00 00 35 04 06 00 2E D9 D8 8C 44 E6 B6 65 A8 F8 5A FF FF 6B [22:00:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 A0 22 47 00 A6 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D5 56 00 00 F4 03 04 00 D2 B7 6D 66 B6 04 01 00 00 29 E1 9C F7 A1 D9 71 D0 [22:00:52]CommunicateWithHost err = 0 [22:00:52]CheckOFDResponse [22:00:52]1017 (14) - 77093643461234 [22:00:52]1041 (16) - 0000000000965344 [22:00:52]1040 (4) - 22229 [22:00:52]1012 (4) - 15.06.2024 15:48 [22:00:52]1206 (1) - 0 [22:00:52]OFD Sender: Remove packet 22229 [22:00:52]ProducePacketName [22:00:52]name=ofd_packets/00022229 [22:00:52]NVStorageDeleteData [22:00:52]Write to MH i2c: 01 00 00 D1 15 E6 [22:00:52]Write i2c OK [22:00:52]MH_I2C_Read... [22:00:52]Read from MH i2c: 01 [22:00:52]MH_I2C_Read... [22:00:52]Read from MH i2c: 01 07 00 [22:00:52]MH_I2C_Read... [22:00:52]Read from MH i2c: 01 07 00 D1 15 00 00 00 00 00 2B 0D 25 [22:00:52]RasterBufferAndPrint [22:00:52]line [22:00:52]line [22:00:52]line [22:00:52]line [22:00:52]line [22:00:52]written 0, free lines is 3378 [22:00:52]MH_Cut [22:00:52]Write to MH i2c: D1 01 00 D8 15 01 BF [22:00:52]Write i2c OK [22:00:52]MH_I2C_Read... [22:00:52]Read from MH i2c: D1 [22:00:52]MH_I2C_Read... [22:00:52]Read from MH i2c: D1 01 00 [22:00:52]MH_I2C_Read... [22:00:52]Read from MH i2c: D1 01 00 D8 15 00 BE [22:00:52]Write to MH i2c: 01 00 00 D9 15 EE [22:00:52]Write i2c OK [22:00:52]MH_I2C_Read... [22:00:52]OFD Sender: No OFD packet to send [22:00:52]*** Cut start [22:00:52]*** Partial cut [22:00:52]*** CUTSNS_PIN = 1 [22:00:52]*** CUTSNS_PIN = 0 [22:00:53]*** Brake cut motor [22:00:53]Read from MH i2c: 01 [22:00:53]MH_I2C_Read... [22:00:53]*** Stop cut motor [22:00:53]*** Cut end [22:00:53]Read from MH i2c: 01 07 00 [22:00:53]MH_I2C_Read... [22:00:53]Read from MH i2c: 01 07 00 D9 15 00 00 00 00 00 FF 0F 03 [22:00:53]process_action close_receipt done [22:00:53]requested_data is exist [22:00:53]produce_requested_data [22:00:53]requested_item fm.sn is exist - process it [22:00:53]wFMCommunicate request_size=4 [22:00:53]MH_SAM_APDU [22:00:53]CAPDU: 80 11 00 00 [22:00:53]Write to MH i2c: E2 08 00 DA 15 80 11 00 00 00 00 00 00 69 [22:00:53]Write i2c OK [22:00:53]MH_I2C_Read... [22:00:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:53]Read from MH i2c: E2 [22:00:53]MH_I2C_Read... [22:00:53]Read from MH i2c: E2 17 00 [22:00:53]MH_I2C_Read... [22:00:53]Read from MH i2c: E2 17 00 DA 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 BB [22:00:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:00:53]wFMCommunicate OK [22:00:53]requested_item fd.num is exist - process it [22:00:53]SAM_PROTO_GetFieldsCounters [22:00:53]wFMCommunicate request_size=4 [22:00:53]MH_SAM_APDU [22:00:53]CAPDU: 80 13 00 00 [22:00:53]Write to MH i2c: E2 08 00 DB 15 80 13 00 00 00 00 00 00 6C [22:00:53]Write i2c OK [22:00:53]MH_I2C_Read... [22:00:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:00:53]Read from MH i2c: E2 [22:00:53]MH_I2C_Read... [22:00:53]Read from MH i2c: E2 62 00 [22:00:53]MH_I2C_Read... [22:00:53]Read from MH i2c: E2 62 00 DB 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D5 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [22:00:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D5 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:00:53]wFMCommunicate OK [22:00:53]SAM_PROTO_GetFieldsCounters done [22:00:53]requested_item shift.num is exist - process it [22:00:53]requested_item shift.opened is exist - process it [22:00:53]req_shift_opened [22:00:53]FM_GetShiftState [22:00:53]SAM_PROTO_GetShiftState [22:00:53]wFMCommunicate request_size=4 [22:00:53]MH_SAM_APDU [22:00:53]CAPDU: 80 13 01 00 [22:00:53]Write to MH i2c: E2 08 00 DC 15 80 13 01 00 00 00 00 00 6E [22:00:53]Write i2c OK [22:00:53]MH_I2C_Read... [22:00:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:53]Read from MH i2c: E2 [22:00:53]MH_I2C_Read... [22:00:53]Read from MH i2c: E2 0E 00 [22:00:53]MH_I2C_Read... [22:00:53]Read from MH i2c: E2 0E 00 DC 15 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 42 [22:00:53]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [22:00:53]wFMCommunicate OK [22:00:53]SAM_PROTO_GetShiftState done [22:00:53]FM_GetShiftState done [22:00:53]req_shift_opened done [22:00:53]requested_item shift.open_date is exist - process it [22:00:53]req_shift_open_date [22:00:53]req_shift_open_date done [22:00:53]produce_requested_data done [22:00:53]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22229,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [22:00:53]process_action_free close_receipt [22:00:53]json_value_free [22:00:53]json_value_free done [22:00:53]process_json_proto returns [22:00:53]Send response to host [22:00:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22229,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [22:00:53]free response buf [22:00:53]execute_script done [22:00:53]execute_script returns [22:00:53]free content buf [22:00:53]Sock 9.Close socket [22:00:53]Sock 9.Thread stoped [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:07]OFD Sender: No OFD packet to send [22:04:12]OFD Sender: No OFD packet to send [22:04:17]OFD Sender: No OFD packet to send [22:04:22]OFD Sender: No OFD packet to send [22:04:27]OFD Sender: No OFD packet to send [22:04:32]OFD Sender: No OFD packet to send [22:04:37]OFD Sender: No OFD packet to send [22:04:42]OFD Sender: No OFD packet to send [22:04:47]OFD Sender: No OFD packet to send [22:04:52]OFD Sender: No OFD packet to send [22:04:57]OFD Sender: No OFD packet to send [22:05:02]OFD Sender: No OFD packet to send [22:05:07]OFD Sender: No OFD packet to send [22:05:12]OFD Sender: No OFD packet to send [22:05:17]OFD Sender: No OFD packet to send [22:05:22]OFD Sender: No OFD packet to send [22:05:27]OFD Sender: No OFD packet to send [22:05:32]OFD Sender: No OFD packet to send [22:05:37]OFD Sender: No OFD packet to send [22:05:42]OFD Sender: No OFD packet to send [22:05:47]OFD Sender: No OFD packet to send [22:05:52]OFD Sender: No OFD packet to send [22:05:57]OFD Sender: No OFD packet to send [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:16]accept exits with 8 [22:07:16]New connection [22:07:16]New thread 3066838372 created [22:07:16]Thread 3066695012 joined [22:07:16]Waiting for new connection... [22:07:16] Sock 8.Parse request [22:07:16]Sock 8.Check first char [22:07:16]Sock 8.First char is OK [22:07:16]request: POST /json_proto HTTP/1.0 [22:07:16]Method: POST [22:07:16]URL: /json_proto [22:07:16]Method is POST - this is cgi request [22:07:16]url: /json_proto [22:07:16]query_string will be loaded in cgi processing [22:07:16]execute_cgi json_proto POST (null) [22:07:16]execute_cgi path=json_proto method=POST [22:07:16]POST find Content-Length [22:07:16]Host: 172.17.35.133:8080 [22:07:16]Content-Length: 1347 [22:07:16]Content-Type: application/json [22:07:16] [22:07:16]POST finish read [22:07:16]Found Content-Length = 1347 [22:07:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254445", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 72.00, "quantity" : 1.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:07:16]execute_script... [22:07:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254445", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 72.00, "quantity" : 1.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:07:16]POST & json_proto [22:07:16]process_json_proto [22:07:16]json parsed OK: [22:07:16]protocol is kg_v1.0 [22:07:16]action value=close_receipt [22:07:16]process_action close_receipt [22:07:16]cmd_close_receipt [22:07:16]MH_GetDate [22:07:16]Write to MH i2c: F0 00 00 DD 15 E1 [22:07:16]Write i2c OK [22:07:16]MH_I2C_Read... [22:07:16]Read from MH i2c: F0 [22:07:16]MH_I2C_Read... [22:07:16]Read from MH i2c: F0 09 00 [22:07:16]MH_I2C_Read... [22:07:16]Read from MH i2c: F0 09 00 DD 15 00 99 10 6E 66 8C 55 28 65 D5 [22:07:16]GetLastDocTimeStamp 1718488854 [22:07:16]current date 1718489241 [22:07:16]FM_GetShiftState [22:07:16]SAM_PROTO_GetShiftState [22:07:16]wFMCommunicate request_size=4 [22:07:16]MH_SAM_APDU [22:07:16]CAPDU: 80 13 01 00 [22:07:16]Write to MH i2c: E2 08 00 DE 15 80 13 01 00 00 00 00 00 70 [22:07:16]Write i2c OK [22:07:16]MH_I2C_Read... [22:07:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:07:16]Read from MH i2c: E2 [22:07:16]MH_I2C_Read... [22:07:16]Read from MH i2c: E2 0E 00 [22:07:16]MH_I2C_Read... [22:07:16]Read from MH i2c: E2 0E 00 DE 15 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 44 [22:07:16]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [22:07:16]wFMCommunicate OK [22:07:16]SAM_PROTO_GetShiftState done [22:07:16]FM_GetShiftState done [22:07:16]opened in 1718410776 [22:07:16]opened+sec_in_day 1718497176 [22:07:16]quantity*price = 11300 [22:07:16]sum+1 = 11301 [22:07:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521254 Чай холодный MAXI черный со вкусом клубн 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 72.00 = 72.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 310.00 НСП 1% : 2.75 НДС 12% : 32.92 Наличными: 310.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 75 15.06.2024 22:07 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22230 ФПД: 204118992035105 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T220721&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22230&fm=204118992035105&tin=02508201610067®Number=0000000000099755&sum=31000 0 [22:07:17]StoreToDocumentArchive [22:07:17]shift 326 fd 22230 [22:07:17]save to /storage/0326/doc_00022230 [22:07:17]save last doc name /storage/0326/doc_00022230 to /storage/kkm_last_doc_name [22:07:17]save OK [22:07:17]Clear old archive folders... [22:07:17]ProcessDocumentItem done err = 0, tmpTLVsize=569 [22:07:17]tlvbuf is 001DAF20 [22:07:17]SAM_PROTO_ClearQueue [22:07:17]wFMCommunicate request_size=4 [22:07:17]MH_SAM_APDU [22:07:17]CAPDU: 80 09 00 00 [22:07:17]Write to MH i2c: E2 08 00 EB 15 80 09 00 00 00 00 00 00 72 [22:07:17]Write i2c OK [22:07:17]MH_I2C_Read... [22:07:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:07:17]Read from MH i2c: E2 [22:07:17]MH_I2C_Read... [22:07:17]Read from MH i2c: E2 03 00 [22:07:17]MH_I2C_Read... [22:07:17]Read from MH i2c: E2 03 00 EB 15 00 90 00 74 [22:07:17]RAPDU: 90 00 [22:07:17]wFMCommunicate OK [22:07:17]SAM_PROTO_ClearQueue done [22:07:17]KKMCreateOFDPacket [22:07:17]OFDProtocolAddRootSTLVToBuf [22:07:17]FM_MakeSignedData [22:07:17]FM_MakeSignedData [22:07:17]SAM_PROTO_SignData [22:07:17]wFMCommunicate request_size=4 [22:07:17]MH_SAM_APDU [22:07:17]CAPDU: 80 0D 01 02 [22:07:17]Write to MH i2c: E2 08 00 EC 15 80 0D 01 02 00 00 00 00 7A [22:07:17]Write i2c OK [22:07:17]MH_I2C_Read... [22:07:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:07:17]Read from MH i2c: E2 [22:07:17]MH_I2C_Read... [22:07:17]Read from MH i2c: E2 03 00 [22:07:17]MH_I2C_Read... [22:07:17]Read from MH i2c: E2 03 00 EC 15 00 90 00 75 [22:07:17]RAPDU: 90 00 [22:07:17]wFMCommunicate OK [22:07:17]wFMCommunicate request_size=255 [22:07:17]MH_SAM_APDU [22:07:17]CAPDU: 80 0D 02 02 FA 03 00 39 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 [22:07:17]Write to MH i2c: E2 02 01 ED 15 80 0D 02 02 FA 00 03 00 39 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 00 00 A9 [22:07:17]Write i2c OK [22:07:17]MH_I2C_Read... [22:07:17]OFD Sender: No OFD packet to send [22:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:07:18]Read from MH i2c: E2 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 03 00 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 03 00 ED 15 00 90 00 76 [22:07:18]RAPDU: 90 00 [22:07:18]wFMCommunicate OK [22:07:18]wFMCommunicate request_size=255 [22:07:18]MH_SAM_APDU [22:07:18]CAPDU: 80 0D 02 02 FA 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 99 10 [22:07:18]Write to MH i2c: E2 02 01 EE 15 80 0D 02 02 FA 00 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 99 10 00 00 3F [22:07:18]Write i2c OK [22:07:18]MH_I2C_Read... [22:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:07:18]Read from MH i2c: E2 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 03 00 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 03 00 EE 15 00 90 00 77 [22:07:18]RAPDU: 90 00 [22:07:18]wFMCommunicate OK [22:07:18]wFMCommunicate request_size=78 [22:07:18]MH_SAM_APDU [22:07:18]CAPDU: 80 0D 02 02 49 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D6 56 00 00 35 04 06 00 B9 A5 28 03 1D 21 [22:07:18]Write to MH i2c: E2 51 00 EF 15 80 0D 02 02 49 00 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D6 56 00 00 35 04 06 00 B9 A5 28 03 1D 21 00 00 D2 [22:07:18]Write i2c OK [22:07:18]MH_I2C_Read... [22:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:07:18]Read from MH i2c: E2 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 03 00 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 03 00 EF 15 00 90 00 78 [22:07:18]RAPDU: 90 00 [22:07:18]wFMCommunicate OK [22:07:18]wFMCommunicate request_size=4 [22:07:18]MH_SAM_APDU [22:07:18]CAPDU: 80 0D 03 02 [22:07:18]Write to MH i2c: E2 08 00 F0 15 80 0D 03 02 00 00 00 00 80 [22:07:18]Write i2c OK [22:07:18]MH_I2C_Read... [22:07:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:07:18]Read from MH i2c: E2 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 0B 00 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 0B 00 F0 15 00 E1 19 8E 28 79 81 6E FC 90 00 95 [22:07:18]RAPDU: E1 19 8E 28 79 81 6E FC 90 00 [22:07:18]wFMCommunicate OK [22:07:18]SAM_PROTO_SignData done [22:07:18]FM_MakeSignedData done [22:07:18]CreateOFDProtocolMessage [22:07:18]wFMCommunicate request_size=4 [22:07:18]MH_SAM_APDU [22:07:18]CAPDU: 80 11 00 00 [22:07:18]Write to MH i2c: E2 08 00 F1 15 80 11 00 00 00 00 00 00 80 [22:07:18]Write i2c OK [22:07:18]MH_I2C_Read... [22:07:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:07:18]Read from MH i2c: E2 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 17 00 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: E2 17 00 F1 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D2 [22:07:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:07:18]wFMCommunicate OK [22:07:18]CreateOFDProtocolMessage done [22:07:18]OFDSenderStorePacket 22230 [22:07:18]StoreOFDPacket docnum=22230 [22:07:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4D 02 00 00 8B E1 45 02 D8 56 5A 03 01 00 03 00 39 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 99 10 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D6 56 00 00 35 04 06 00 B9 A5 28 03 1D 21 E1 19 8E 28 79 81 6E FC [22:07:18]CheckFolder [22:07:18]dirname=/storage/ofd_packets [22:07:18]CheckFolder done [22:07:18]ProducePacketName [22:07:18]name=ofd_packets/00022230 [22:07:18]NVStorageSaveData ofd_packets/00022230 [22:07:18]File name is /storage/ofd_packets/00022230 [22:07:18]Write 619 bytes [22:07:18]NVStorageSaveData done [22:07:18]OFDSenderStorePacket done [22:07:18]KKMCreateOFDPacket done [22:07:18]NVStorageSaveData kkm_last_timestamp [22:07:18]File name is /storage/kkm_last_timestamp [22:07:18]Write 4 bytes [22:07:18]NVStorageSaveData done [22:07:18]ExternCall_PrintAddStr [22:07:18]wPrintStart [22:07:18]Write to MH i2c: 01 00 00 F2 15 07 [22:07:18]Write i2c OK [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: 01 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: 01 07 00 [22:07:18]MH_I2C_Read... [22:07:18]Read from MH i2c: 01 07 00 F2 15 00 00 00 00 00 FF 0F 1C [22:07:18]RasterBufferAndPrint [22:07:18]line Счет N : (3)254445 [22:07:18]line ИНН: 02508201610067 [22:07:18]line Контрольно-Кассовый Чек [22:07:18]line ПРОДАЖА [22:07:18]line Товар: 4870202521216 [22:07:18]line Напиток MAXI чай 1,2 зел.лимон (новый) [22:07:18]line 1.000 * 113.00 [22:07:18]line = 113.00 [22:07:18]line НДС 12% НСП 1% [22:07:18]line > о реализуемом товаре [22:07:18]line Товар: 4870202521254 [22:07:18]line Чай холодный MAXI черный со вкусом клубн [22:07:18]line 1.000 * 125.00 [22:07:18]line = 125.00 [22:07:18]line НДС 12% НСП 1% [22:07:18]line > о реализуемом товаре [22:07:18]line Товар: 4600682557456 [22:07:18]line Напиток FLash up energy эн ж/б 0,5/0,45л [22:07:18]line 1.000 * 72.00 [22:07:18]line = 72.00 [22:07:18]line НДС 12% НСП 1% [22:07:18]line > о реализуемом товаре [22:07:18]line ИТОГО: 310.00 [22:07:18]line НСП 1% : 2.75 [22:07:18]line НДС 12% : 32.92 [22:07:18]line Наличными: 310.00 [22:07:18]line Безнал.: 0.00 [22:07:18]line Место: АЗС № 76 "Партнер Нефть" [22:07:18]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:07:18]line СНО: Общий режим [22:07:18]line Чек 75 15.06.2024 22:07 [22:07:18]line Смена: 326 ФФД: 1.0 [22:07:18]line ЗНМ: 0300000200 [22:07:18]line РНМ: 0000000000099755 [22:07:18]line Версия ККМ: 001 [22:07:18]line ФМ: 0000000000965344 [22:07:18]line ФД: 22230 [22:07:18]line ФПД: 204118992035105 [22:07:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T220721&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22230&fm=204118992035105&tin=02508201610067®Number=0000000000099755&sum=31000 [22:07:18]line 0 [22:07:18]OFD Sender: Processing packet 22230 [packets to send 5, broken 4] [22:07:18]ProducePacketName [22:07:18]name=ofd_packets/00022230 [22:07:18]OFD Sender: To server: pG, [22:07:18]CommunicateWithHost lk.salyk.kg:30040 [22:07:18]ConnectInit lk.salyk.kg [22:07:18]written 0, free lines is 4095 [22:07:18]Connected sock=10 [22:07:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4D 02 00 00 8B E1 45 02 D8 56 5A 03 01 00 03 00 39 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 99 10 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D6 56 00 00 35 04 06 00 B9 A5 28 03 1D 21 E1 19 8E 28 79 81 6E FC [22:07:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 72 59 47 00 92 39 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D6 56 00 00 F4 03 04 00 55 B9 6D 66 B6 04 01 00 00 32 51 0B 6D 35 B0 F6 3B [22:07:19]CommunicateWithHost err = 0 [22:07:19]CheckOFDResponse [22:07:19]1017 (14) - 77093643461234 [22:07:19]1041 (16) - 0000000000965344 [22:07:19]1040 (4) - 22230 [22:07:19]1012 (4) - 15.06.2024 15:55 [22:07:19]1206 (1) - 0 [22:07:19]OFD Sender: Remove packet 22230 [22:07:19]ProducePacketName [22:07:19]name=ofd_packets/00022230 [22:07:19]NVStorageDeleteData [22:07:19]Write to MH i2c: 01 00 00 29 16 3F [22:07:19]Write i2c OK [22:07:19]MH_I2C_Read... [22:07:19]Read from MH i2c: 01 [22:07:19]MH_I2C_Read... [22:07:19]Read from MH i2c: 01 07 00 [22:07:19]MH_I2C_Read... [22:07:19]Read from MH i2c: 01 07 00 29 16 00 00 00 00 00 8B 0C DD [22:07:19]RasterBufferAndPrint [22:07:19]line [22:07:19]line [22:07:19]line [22:07:19]line [22:07:19]line [22:07:19]written 0, free lines is 3220 [22:07:19]MH_Cut [22:07:19]Write to MH i2c: D1 01 00 30 16 01 18 [22:07:19]Write i2c OK [22:07:19]MH_I2C_Read... [22:07:19]Read from MH i2c: D1 [22:07:19]MH_I2C_Read... [22:07:19]Read from MH i2c: D1 01 00 [22:07:19]MH_I2C_Read... [22:07:19]Read from MH i2c: D1 01 00 30 16 00 17 [22:07:19]Write to MH i2c: 01 00 00 31 16 47 [22:07:19]Write i2c OK [22:07:19]MH_I2C_Read... [22:07:19]OFD Sender: No OFD packet to send [22:07:20]*** Cut start [22:07:20]*** Partial cut [22:07:20]*** CUTSNS_PIN = 1 [22:07:20]*** CUTSNS_PIN = 0 [22:07:20]*** Brake cut motor [22:07:20]Read from MH i2c: 01 [22:07:20]MH_I2C_Read... [22:07:20]*** Stop cut motor [22:07:20]*** Cut end [22:07:20]Read from MH i2c: 01 07 00 [22:07:20]MH_I2C_Read... [22:07:20]Read from MH i2c: 01 07 00 31 16 00 00 00 00 00 FF 0F 5C [22:07:20]process_action close_receipt done [22:07:20]requested_data is exist [22:07:20]produce_requested_data [22:07:20]requested_item fm.sn is exist - process it [22:07:20]wFMCommunicate request_size=4 [22:07:20]MH_SAM_APDU [22:07:20]CAPDU: 80 11 00 00 [22:07:20]Write to MH i2c: E2 08 00 32 16 80 11 00 00 00 00 00 00 C2 [22:07:20]Write i2c OK [22:07:20]MH_I2C_Read... [22:07:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:07:20]Read from MH i2c: E2 [22:07:20]MH_I2C_Read... [22:07:20]Read from MH i2c: E2 17 00 [22:07:20]MH_I2C_Read... [22:07:20]Read from MH i2c: E2 17 00 32 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 14 [22:07:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:07:20]wFMCommunicate OK [22:07:20]requested_item fd.num is exist - process it [22:07:20]SAM_PROTO_GetFieldsCounters [22:07:20]wFMCommunicate request_size=4 [22:07:20]MH_SAM_APDU [22:07:20]CAPDU: 80 13 00 00 [22:07:20]Write to MH i2c: E2 08 00 33 16 80 13 00 00 00 00 00 00 C5 [22:07:20]Write i2c OK [22:07:20]MH_I2C_Read... [22:07:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:07:21]Read from MH i2c: E2 [22:07:21]MH_I2C_Read... [22:07:21]Read from MH i2c: E2 62 00 [22:07:21]MH_I2C_Read... [22:07:21]Read from MH i2c: E2 62 00 33 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D6 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [22:07:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D6 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:07:21]wFMCommunicate OK [22:07:21]SAM_PROTO_GetFieldsCounters done [22:07:21]requested_item shift.num is exist - process it [22:07:21]requested_item shift.opened is exist - process it [22:07:21]req_shift_opened [22:07:21]FM_GetShiftState [22:07:21]SAM_PROTO_GetShiftState [22:07:21]wFMCommunicate request_size=4 [22:07:21]MH_SAM_APDU [22:07:21]CAPDU: 80 13 01 00 [22:07:21]Write to MH i2c: E2 08 00 34 16 80 13 01 00 00 00 00 00 C7 [22:07:21]Write i2c OK [22:07:21]MH_I2C_Read... [22:07:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:07:21]Read from MH i2c: E2 [22:07:21]MH_I2C_Read... [22:07:21]Read from MH i2c: E2 0E 00 [22:07:21]MH_I2C_Read... [22:07:21]Read from MH i2c: E2 0E 00 34 16 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 9B [22:07:21]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [22:07:21]wFMCommunicate OK [22:07:21]SAM_PROTO_GetShiftState done [22:07:21]FM_GetShiftState done [22:07:21]req_shift_opened done [22:07:21]requested_item shift.open_date is exist - process it [22:07:21]req_shift_open_date [22:07:21]req_shift_open_date done [22:07:21]produce_requested_data done [22:07:21]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22230,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [22:07:21]process_action_free close_receipt [22:07:21]json_value_free [22:07:21]json_value_free done [22:07:21]process_json_proto returns [22:07:21]Send response to host [22:07:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22230,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [22:07:21]free response buf [22:07:21]execute_script done [22:07:21]execute_script returns [22:07:21]free content buf [22:07:21]Sock 8.Close socket [22:07:21]Sock 8.Thread stoped [22:07:24]OFD Sender: No OFD packet to send [22:07:29]OFD Sender: No OFD packet to send [22:07:34]OFD Sender: No OFD packet to send [22:07:39]OFD Sender: No OFD packet to send [22:07:44]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:08:59]OFD Sender: No OFD packet to send [22:09:04]OFD Sender: No OFD packet to send [22:09:09]OFD Sender: No OFD packet to send [22:09:14]OFD Sender: No OFD packet to send [22:09:18]accept exits with 9 [22:09:18]New connection [22:09:18]New thread 3066695012 created [22:09:18]Thread 3066838372 joined [22:09:18]Waiting for new connection... [22:09:18] Sock 9.Parse request [22:09:18]Sock 9.Check first char [22:09:18]Sock 9.First char is OK [22:09:18]request: POST /json_proto HTTP/1.0 [22:09:18]Method: POST [22:09:18]URL: /json_proto [22:09:18]Method is POST - this is cgi request [22:09:18]url: /json_proto [22:09:18]query_string will be loaded in cgi processing [22:09:18]execute_cgi json_proto POST (null) [22:09:18]execute_cgi path=json_proto method=POST [22:09:18]POST find Content-Length [22:09:18]Host: 172.17.35.133:8080 [22:09:18]Content-Length: 1006 [22:09:18]Content-Type: application/json [22:09:18] [22:09:18]POST finish read [22:09:18]Found Content-Length = 1006 [22:09:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254446", "tax_sys" : 0, "items" : [ { "code": "47000405990016", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 508.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:18]execute_script... [22:09:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254446", "tax_sys" : 0, "items" : [ { "code": "47000405990016", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 508.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:18]POST & json_proto [22:09:18]process_json_proto [22:09:18]json parsed OK: [22:09:18]protocol is kg_v1.0 [22:09:18]action value=close_receipt [22:09:18]process_action close_receipt [22:09:18]cmd_close_receipt [22:09:18]MH_GetDate [22:09:18]Write to MH i2c: F0 00 00 35 16 3A [22:09:18]Write i2c OK [22:09:18]MH_I2C_Read... [22:09:18]Read from MH i2c: F0 [22:09:18]MH_I2C_Read... [22:09:18]Read from MH i2c: F0 09 00 [22:09:18]MH_I2C_Read... [22:09:18]Read from MH i2c: F0 09 00 35 16 00 13 11 6E 66 8C 55 28 65 A9 [22:09:18]GetLastDocTimeStamp 1718489241 [22:09:18]current date 1718489363 [22:09:18]FM_GetShiftState [22:09:18]SAM_PROTO_GetShiftState [22:09:18]wFMCommunicate request_size=4 [22:09:18]MH_SAM_APDU [22:09:18]CAPDU: 80 13 01 00 [22:09:18]Write to MH i2c: E2 08 00 36 16 80 13 01 00 00 00 00 00 C9 [22:09:18]Write i2c OK [22:09:18]MH_I2C_Read... [22:09:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:19]Read from MH i2c: E2 [22:09:19]MH_I2C_Read... [22:09:19]Read from MH i2c: E2 0E 00 [22:09:19]MH_I2C_Read... [22:09:19]Read from MH i2c: E2 0E 00 36 16 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 9D [22:09:19]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [22:09:19]wFMCommunicate OK [22:09:19]SAM_PROTO_GetShiftState done [22:09:19]FM_GetShiftState done [22:09:19]opened in 1718410776 [22:09:19]opened+sec_in_day 1718497176 [22:09:19]quantity*price = 39500 [22:09:19]sum+1 = 39501 [22:09:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 508.00 НСП 1% : 4.50 НДС 12% : 53.95 Наличными: 508.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 76 15.06.2024 22:09 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22231 ФПД: 152395601826137 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T220923&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22231&fm=152395601826137&tin=02508201610067®Number=0000000000099755&sum=50800 0 [22:09:20]StoreToDocumentArchive [22:09:20]shift 326 fd 22231 [22:09:20]save to /storage/0326/doc_00022231 [22:09:20]save last doc name /storage/0326/doc_00022231 to /storage/kkm_last_doc_name [22:09:20]save OK [22:09:20]Clear old archive folders... [22:09:20]ProcessDocumentItem done err = 0, tmpTLVsize=412 [22:09:20]tlvbuf is 001A6EE0 [22:09:20]SAM_PROTO_ClearQueue [22:09:20]wFMCommunicate request_size=4 [22:09:20]MH_SAM_APDU [22:09:20]CAPDU: 80 09 00 00 [22:09:20]Write to MH i2c: E2 08 00 43 16 80 09 00 00 00 00 00 00 CB [22:09:20]Write i2c OK [22:09:20]MH_I2C_Read... [22:09:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:09:20]Read from MH i2c: E2 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 03 00 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 03 00 43 16 00 90 00 CD [22:09:20]RAPDU: 90 00 [22:09:20]wFMCommunicate OK [22:09:20]SAM_PROTO_ClearQueue done [22:09:20]KKMCreateOFDPacket [22:09:20]OFDProtocolAddRootSTLVToBuf [22:09:20]FM_MakeSignedData [22:09:20]FM_MakeSignedData [22:09:20]SAM_PROTO_SignData [22:09:20]wFMCommunicate request_size=4 [22:09:20]MH_SAM_APDU [22:09:20]CAPDU: 80 0D 01 02 [22:09:20]Write to MH i2c: E2 08 00 44 16 80 0D 01 02 00 00 00 00 D3 [22:09:20]Write i2c OK [22:09:20]MH_I2C_Read... [22:09:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:09:20]Read from MH i2c: E2 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 03 00 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 03 00 44 16 00 90 00 CE [22:09:20]RAPDU: 90 00 [22:09:20]wFMCommunicate OK [22:09:20]wFMCommunicate request_size=255 [22:09:20]MH_SAM_APDU [22:09:20]CAPDU: 80 0D 02 02 FA 03 00 9C 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [22:09:20]Write to MH i2c: E2 02 01 45 16 80 0D 02 02 FA 00 03 00 9C 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 33 [22:09:20]Write i2c OK [22:09:20]MH_I2C_Read... [22:09:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:20]Read from MH i2c: E2 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 03 00 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 03 00 45 16 00 90 00 CF [22:09:20]RAPDU: 90 00 [22:09:20]wFMCommunicate OK [22:09:20]wFMCommunicate request_size=171 [22:09:20]MH_SAM_APDU [22:09:20]CAPDU: 80 0D 02 02 A6 01 FC 03 06 00 70 C6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 15 00 00 00 00 07 04 06 00 70 C6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 13 11 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D7 56 00 00 35 04 06 00 8A 9A 5D B6 51 59 [22:09:20]Write to MH i2c: E2 AE 00 46 16 80 0D 02 02 A6 00 01 FC 03 06 00 70 C6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 15 00 00 00 00 07 04 06 00 70 C6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 13 11 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D7 56 00 00 35 04 06 00 8A 9A 5D B6 51 59 00 00 5E [22:09:20]Write i2c OK [22:09:20]MH_I2C_Read... [22:09:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:20]Read from MH i2c: E2 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 03 00 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 03 00 46 16 00 90 00 D0 [22:09:20]RAPDU: 90 00 [22:09:20]wFMCommunicate OK [22:09:20]wFMCommunicate request_size=4 [22:09:20]MH_SAM_APDU [22:09:20]CAPDU: 80 0D 03 02 [22:09:20]Write to MH i2c: E2 08 00 47 16 80 0D 03 02 00 00 00 00 D8 [22:09:20]Write i2c OK [22:09:20]MH_I2C_Read... [22:09:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:09:20]Read from MH i2c: E2 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 0B 00 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 0B 00 47 16 00 F4 A4 2E 2B 89 2C 20 5E 90 00 FD [22:09:20]RAPDU: F4 A4 2E 2B 89 2C 20 5E 90 00 [22:09:20]wFMCommunicate OK [22:09:20]SAM_PROTO_SignData done [22:09:20]FM_MakeSignedData done [22:09:20]CreateOFDProtocolMessage [22:09:20]wFMCommunicate request_size=4 [22:09:20]MH_SAM_APDU [22:09:20]CAPDU: 80 11 00 00 [22:09:20]Write to MH i2c: E2 08 00 48 16 80 11 00 00 00 00 00 00 D8 [22:09:20]Write i2c OK [22:09:20]MH_I2C_Read... [22:09:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:20]Read from MH i2c: E2 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 17 00 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: E2 17 00 48 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2A [22:09:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:09:20]wFMCommunicate OK [22:09:20]CreateOFDProtocolMessage done [22:09:20]OFDSenderStorePacket 22231 [22:09:20]StoreOFDPacket docnum=22231 [22:09:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B0 01 00 00 FD 3C A8 01 E8 09 5A 03 01 00 03 00 9C 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 C6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 15 00 00 00 00 07 04 06 00 70 C6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 13 11 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D7 56 00 00 35 04 06 00 8A 9A 5D B6 51 59 F4 A4 2E 2B 89 2C 20 5E [22:09:20]CheckFolder [22:09:20]dirname=/storage/ofd_packets [22:09:20]CheckFolder done [22:09:20]ProducePacketName [22:09:20]name=ofd_packets/00022231 [22:09:20]NVStorageSaveData ofd_packets/00022231 [22:09:20]File name is /storage/ofd_packets/00022231 [22:09:20]Write 462 bytes [22:09:20]NVStorageSaveData done [22:09:20]OFDSenderStorePacket done [22:09:20]KKMCreateOFDPacket done [22:09:20]NVStorageSaveData kkm_last_timestamp [22:09:20]File name is /storage/kkm_last_timestamp [22:09:20]Write 4 bytes [22:09:20]NVStorageSaveData done [22:09:20]ExternCall_PrintAddStr [22:09:20]wPrintStart [22:09:20]Write to MH i2c: 01 00 00 49 16 5F [22:09:20]Write i2c OK [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: 01 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: 01 07 00 [22:09:20]MH_I2C_Read... [22:09:20]Read from MH i2c: 01 07 00 49 16 00 00 00 00 00 FF 0F 74 [22:09:20]RasterBufferAndPrint [22:09:20]line Счет N : (3)254446 [22:09:20]line ИНН: 02508201610067 [22:09:20]line Контрольно-Кассовый Чек [22:09:20]line ПРОДАЖА [22:09:21]line Товар: 47000405990016 [22:09:21]line Уголь древесный Партнер Нефть 3кг [22:09:21]line 1.000 * 395.00 [22:09:21]line = 395.00 [22:09:21]line НДС 12% НСП 1% [22:09:21]line > о реализуемом товаре [22:09:21]line Товар: 5449000054227 [22:09:21]line Напиток Кока-Кола 1л [22:09:21]line 1.000 * 113.00 [22:09:21]line = 113.00 [22:09:21]line НДС 12% НСП 1% [22:09:21]line > о реализуемом товаре [22:09:21]line ИТОГО: 508.00 [22:09:21]line НСП 1% : 4.50 [22:09:21]line НДС 12% : 53.95 [22:09:21]line Наличными: 508.00 [22:09:21]line Безнал.: 0.00 [22:09:21]line Место: АЗС № 76 "Партнер Нефть" [22:09:21]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:09:21]line СНО: Общий режим [22:09:21]line Чек 76 15.06.2024 22:09 [22:09:21]line Смена: 326 ФФД: 1.0 [22:09:21]line ЗНМ: 0300000200 [22:09:21]line РНМ: 0000000000099755 [22:09:21]line Версия ККМ: 001 [22:09:21]line ФМ: 0000000000965344 [22:09:21]line ФД: 22231 [22:09:21]line ФПД: 152395601826137 [22:09:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T220923&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22231&fm=152395601826137&tin=02508201610067®Number=0000000000099755&sum=50800 [22:09:21]line 0 [22:09:21]OFD Sender: Processing packet 22231 [packets to send 5, broken 4] [22:09:21]ProducePacketName [22:09:21]name=ofd_packets/00022231 [22:09:21]OFD Sender: To server: pG, [22:09:21]CommunicateWithHost lk.salyk.kg:30040 [22:09:21]ConnectInit lk.salyk.kg [22:09:21]written 0, free lines is 4095 [22:09:21]Connected sock=10 [22:09:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B0 01 00 00 FD 3C A8 01 E8 09 5A 03 01 00 03 00 9C 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 C6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 15 00 00 00 00 07 04 06 00 70 C6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 13 11 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D7 56 00 00 35 04 06 00 8A 9A 5D B6 51 59 F4 A4 2E 2B 89 2C 20 5E [22:09:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 A5 FA 47 00 A9 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D7 56 00 00 F4 03 04 00 D0 B9 6D 66 B6 04 01 00 00 CC 04 26 2E 23 75 CC 0F [22:09:21]CommunicateWithHost err = 0 [22:09:21]CheckOFDResponse [22:09:21]1017 (14) - 77093643461234 [22:09:21]1041 (16) - 0000000000965344 [22:09:21]1040 (4) - 22231 [22:09:21]1012 (4) - 15.06.2024 15:57 [22:09:21]1206 (1) - 0 [22:09:21]OFD Sender: Remove packet 22231 [22:09:21]ProducePacketName [22:09:21]name=ofd_packets/00022231 [22:09:21]NVStorageDeleteData [22:09:21]Write to MH i2c: 01 00 00 78 16 8E [22:09:21]Write i2c OK [22:09:21]MH_I2C_Read... [22:09:21]Read from MH i2c: 01 [22:09:21]MH_I2C_Read... [22:09:21]Read from MH i2c: 01 07 00 [22:09:21]MH_I2C_Read... [22:09:21]Read from MH i2c: 01 07 00 78 16 00 00 00 00 00 C3 0C 64 [22:09:21]RasterBufferAndPrint [22:09:21]line [22:09:21]line [22:09:21]line [22:09:21]line [22:09:21]line [22:09:21]written 0, free lines is 3273 [22:09:21]MH_Cut [22:09:21]Write to MH i2c: D1 01 00 7F 16 01 67 [22:09:21]Write i2c OK [22:09:21]MH_I2C_Read... [22:09:21]Read from MH i2c: D1 [22:09:21]MH_I2C_Read... [22:09:21]Read from MH i2c: D1 01 00 [22:09:21]MH_I2C_Read... [22:09:21]Read from MH i2c: D1 01 00 7F 16 00 66 [22:09:21]Write to MH i2c: 01 00 00 80 16 96 [22:09:21]Write i2c OK [22:09:21]MH_I2C_Read... [22:09:21]OFD Sender: No OFD packet to send [22:09:22]*** Cut start [22:09:22]*** Partial cut [22:09:22]*** CUTSNS_PIN = 1 [22:09:22]*** CUTSNS_PIN = 0 [22:09:22]*** Brake cut motor [22:09:23]Read from MH i2c: 01 [22:09:23]MH_I2C_Read... [22:09:23]*** Stop cut motor [22:09:23]*** Cut end [22:09:23]Read from MH i2c: 01 07 00 [22:09:23]MH_I2C_Read... [22:09:23]Read from MH i2c: 01 07 00 80 16 00 00 00 00 00 FF 0F AB [22:09:23]process_action close_receipt done [22:09:23]requested_data is exist [22:09:23]produce_requested_data [22:09:23]requested_item fm.sn is exist - process it [22:09:23]wFMCommunicate request_size=4 [22:09:23]MH_SAM_APDU [22:09:23]CAPDU: 80 11 00 00 [22:09:23]Write to MH i2c: E2 08 00 81 16 80 11 00 00 00 00 00 00 11 [22:09:23]Write i2c OK [22:09:23]MH_I2C_Read... [22:09:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:23]Read from MH i2c: E2 [22:09:23]MH_I2C_Read... [22:09:23]Read from MH i2c: E2 17 00 [22:09:23]MH_I2C_Read... [22:09:23]Read from MH i2c: E2 17 00 81 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 63 [22:09:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:09:23]wFMCommunicate OK [22:09:23]requested_item fd.num is exist - process it [22:09:23]SAM_PROTO_GetFieldsCounters [22:09:23]wFMCommunicate request_size=4 [22:09:23]MH_SAM_APDU [22:09:23]CAPDU: 80 13 00 00 [22:09:23]Write to MH i2c: E2 08 00 82 16 80 13 00 00 00 00 00 00 14 [22:09:23]Write i2c OK [22:09:23]MH_I2C_Read... [22:09:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:09:23]Read from MH i2c: E2 [22:09:23]MH_I2C_Read... [22:09:23]Read from MH i2c: E2 62 00 [22:09:23]MH_I2C_Read... [22:09:23]Read from MH i2c: E2 62 00 82 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D7 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [22:09:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D7 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:09:23]wFMCommunicate OK [22:09:23]SAM_PROTO_GetFieldsCounters done [22:09:23]requested_item shift.num is exist - process it [22:09:23]requested_item shift.opened is exist - process it [22:09:23]req_shift_opened [22:09:23]FM_GetShiftState [22:09:23]SAM_PROTO_GetShiftState [22:09:23]wFMCommunicate request_size=4 [22:09:23]MH_SAM_APDU [22:09:23]CAPDU: 80 13 01 00 [22:09:23]Write to MH i2c: E2 08 00 83 16 80 13 01 00 00 00 00 00 16 [22:09:23]Write i2c OK [22:09:23]MH_I2C_Read... [22:09:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:23]Read from MH i2c: E2 [22:09:23]MH_I2C_Read... [22:09:23]Read from MH i2c: E2 0E 00 [22:09:23]MH_I2C_Read... [22:09:23]Read from MH i2c: E2 0E 00 83 16 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 EA [22:09:23]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [22:09:23]wFMCommunicate OK [22:09:23]SAM_PROTO_GetShiftState done [22:09:23]FM_GetShiftState done [22:09:23]req_shift_opened done [22:09:23]requested_item shift.open_date is exist - process it [22:09:23]req_shift_open_date [22:09:23]req_shift_open_date done [22:09:23]produce_requested_data done [22:09:23]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22231,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [22:09:23]process_action_free close_receipt [22:09:23]json_value_free [22:09:23]json_value_free done [22:09:23]process_json_proto returns [22:09:23]Send response to host [22:09:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22231,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [22:09:23]free response buf [22:09:23]execute_script done [22:09:23]execute_script returns [22:09:23]free content buf [22:09:23]Sock 9.Close socket [22:09:23]Sock 9.Thread stoped [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09:42]OFD Sender: No OFD packet to send [22:09:47]OFD Sender: No OFD packet to send [22:09:52]OFD Sender: No OFD packet to send [22:09:57]OFD Sender: No OFD packet to send [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:32]OFD Sender: No OFD packet to send [22:10:37]OFD Sender: No OFD packet to send [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:17]OFD Sender: No OFD packet to send [22:12:22]OFD Sender: No OFD packet to send [22:12:27]OFD Sender: No OFD packet to send [22:12:32]OFD Sender: No OFD packet to send [22:12:37]OFD Sender: No OFD packet to send [22:12:42]OFD Sender: No OFD packet to send [22:12:47]OFD Sender: No OFD packet to send [22:12:52]OFD Sender: No OFD packet to send [22:12:57]OFD Sender: No OFD packet to send [22:13:02]OFD Sender: No OFD packet to send [22:13:07]OFD Sender: No OFD packet to send [22:13:12]OFD Sender: No OFD packet to send [22:13:17]OFD Sender: No OFD packet to send [22:13:22]OFD Sender: No OFD packet to send [22:13:27]OFD Sender: No OFD packet to send [22:13:32]OFD Sender: No OFD packet to send [22:13:37]OFD Sender: No OFD packet to send [22:13:42]OFD Sender: No OFD packet to send [22:13:47]OFD Sender: No OFD packet to send [22:13:52]OFD Sender: No OFD packet to send [22:13:57]OFD Sender: No OFD packet to send [22:14:02]OFD Sender: No OFD packet to send [22:14:07]OFD Sender: No OFD packet to send [22:14:12]OFD Sender: No OFD packet to send [22:14:17]OFD Sender: No OFD packet to send [22:14:22]OFD Sender: No OFD packet to send [22:14:27]OFD Sender: No OFD packet to send [22:14:32]OFD Sender: No OFD packet to send [22:14:37]OFD Sender: No OFD packet to send [22:14:42]OFD Sender: No OFD packet to send [22:14:47]OFD Sender: No OFD packet to send [22:14:52]OFD Sender: No OFD packet to send [22:14:57]OFD Sender: No OFD packet to send [22:15:02]OFD Sender: No OFD packet to send [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:37]OFD Sender: No OFD packet to send [22:17:42]OFD Sender: No OFD packet to send [22:17:47]OFD Sender: No OFD packet to send [22:17:52]OFD Sender: No OFD packet to send [22:17:57]OFD Sender: No OFD packet to send [22:18:02]OFD Sender: No OFD packet to send [22:18:07]OFD Sender: No OFD packet to send [22:18:12]OFD Sender: No OFD packet to send [22:18:17]OFD Sender: No OFD packet to send [22:18:22]OFD Sender: No OFD packet to send [22:18:27]OFD Sender: No OFD packet to send [22:18:32]OFD Sender: No OFD packet to send [22:18:37]OFD Sender: No OFD packet to send [22:18:42]OFD Sender: No OFD packet to send [22:18:47]OFD Sender: No OFD packet to send [22:18:52]OFD Sender: No OFD packet to send [22:18:57]OFD Sender: No OFD packet to send [22:19:02]OFD Sender: No OFD packet to send [22:19:07]OFD Sender: No OFD packet to send [22:19:12]OFD Sender: No OFD packet to send [22:19:17]OFD Sender: No OFD packet to send [22:19:22]OFD Sender: No OFD packet to send [22:19:27]OFD Sender: No OFD packet to send [22:19:32]OFD Sender: No OFD packet to send [22:19:37]OFD Sender: No OFD packet to send [22:19:42]OFD Sender: No OFD packet to send [22:19:47]OFD Sender: No OFD packet to send [22:19:52]OFD Sender: No OFD packet to send [22:19:57]OFD Sender: No OFD packet to send [22:20:02]OFD Sender: No OFD packet to send [22:20:07]OFD Sender: No OFD packet to send [22:20:12]OFD Sender: No OFD packet to send [22:20:17]OFD Sender: No OFD packet to send [22:20:22]OFD Sender: No OFD packet to send [22:20:27]OFD Sender: No OFD packet to send [22:20:32]OFD Sender: No OFD packet to send [22:20:37]OFD Sender: No OFD packet to send [22:20:42]OFD Sender: No OFD packet to send [22:20:47]OFD Sender: No OFD packet to send [22:20:52]OFD Sender: No OFD packet to send [22:20:57]OFD Sender: No OFD packet to send [22:21:02]OFD Sender: No OFD packet to send [22:21:07]OFD Sender: No OFD packet to send [22:21:12]OFD Sender: No OFD packet to send [22:21:17]OFD Sender: No OFD packet to send [22:21:22]OFD Sender: No OFD packet to send [22:21:27]OFD Sender: No OFD packet to send [22:21:32]OFD Sender: No OFD packet to send [22:21:37]OFD Sender: No OFD packet to send [22:21:42]OFD Sender: No OFD packet to send [22:21:47]OFD Sender: No OFD packet to send [22:21:52]OFD Sender: No OFD packet to send [22:21:57]OFD Sender: No OFD packet to send [22:22:02]OFD Sender: No OFD packet to send [22:22:07]OFD Sender: No OFD packet to send [22:22:12]OFD Sender: No OFD packet to send [22:22:17]OFD Sender: No OFD packet to send [22:22:22]OFD Sender: No OFD packet to send [22:22:27]OFD Sender: No OFD packet to send [22:22:32]OFD Sender: No OFD packet to send [22:22:37]OFD Sender: No OFD packet to send [22:22:42]OFD Sender: No OFD packet to send [22:22:47]OFD Sender: No OFD packet to send [22:22:52]OFD Sender: No OFD packet to send [22:22:57]OFD Sender: No OFD packet to send [22:23:02]OFD Sender: No OFD packet to send [22:23:07]OFD Sender: No OFD packet to send [22:23:12]OFD Sender: No OFD packet to send [22:23:17]OFD Sender: No OFD packet to send [22:23:22]OFD Sender: No OFD packet to send [22:23:27]OFD Sender: No OFD packet to send [22:23:32]OFD Sender: No OFD packet to send [22:23:37]OFD Sender: No OFD packet to send [22:23:42]OFD Sender: No OFD packet to send [22:23:47]OFD Sender: No OFD packet to send [22:23:52]OFD Sender: No OFD packet to send [22:23:57]OFD Sender: No OFD packet to send [22:24:02]OFD Sender: No OFD packet to send [22:24:07]OFD Sender: No OFD packet to send [22:24:12]OFD Sender: No OFD packet to send [22:24:17]OFD Sender: No OFD packet to send [22:24:22]OFD Sender: No OFD packet to send [22:24:27]OFD Sender: No OFD packet to send [22:24:32]OFD Sender: No OFD packet to send [22:24:37]OFD Sender: No OFD packet to send [22:24:42]OFD Sender: No OFD packet to send [22:24:47]OFD Sender: No OFD packet to send [22:24:52]OFD Sender: No OFD packet to send [22:24:57]OFD Sender: No OFD packet to send [22:25:02]OFD Sender: No OFD packet to send [22:25:07]OFD Sender: No OFD packet to send [22:25:12]OFD Sender: No OFD packet to send [22:25:17]OFD Sender: No OFD packet to send [22:25:22]OFD Sender: No OFD packet to send [22:25:27]OFD Sender: No OFD packet to send [22:25:32]OFD Sender: No OFD packet to send [22:25:37]OFD Sender: No OFD packet to send [22:25:42]OFD Sender: No OFD packet to send [22:25:47]OFD Sender: No OFD packet to send [22:25:52]OFD Sender: No OFD packet to send [22:25:57]OFD Sender: No OFD packet to send [22:26:02]OFD Sender: No OFD packet to send [22:26:07]OFD Sender: No OFD packet to send [22:26:12]OFD Sender: No OFD packet to send [22:26:17]OFD Sender: No OFD packet to send [22:26:22]OFD Sender: No OFD packet to send [22:26:27]OFD Sender: No OFD packet to send [22:26:32]OFD Sender: No OFD packet to send [22:26:37]OFD Sender: No OFD packet to send [22:26:42]OFD Sender: No OFD packet to send [22:26:47]OFD Sender: No OFD packet to send [22:26:52]OFD Sender: No OFD packet to send [22:26:57]OFD Sender: No OFD packet to send [22:27:02]OFD Sender: No OFD packet to send [22:27:07]OFD Sender: No OFD packet to send [22:27:12]OFD Sender: No OFD packet to send [22:27:17]OFD Sender: No OFD packet to send [22:27:22]OFD Sender: No OFD packet to send [22:27:27]OFD Sender: No OFD packet to send [22:27:32]OFD Sender: No OFD packet to send [22:27:37]OFD Sender: No OFD packet to send [22:27:42]OFD Sender: No OFD packet to send [22:27:47]OFD Sender: No OFD packet to send [22:27:52]OFD Sender: No OFD packet to send [22:27:57]OFD Sender: No OFD packet to send [22:28:02]OFD Sender: No OFD packet to send [22:28:07]OFD Sender: No OFD packet to send [22:28:12]OFD Sender: No OFD packet to send [22:28:17]OFD Sender: No OFD packet to send [22:28:22]OFD Sender: No OFD packet to send [22:28:27]OFD Sender: No OFD packet to send [22:28:32]OFD Sender: No OFD packet to send [22:28:37]OFD Sender: No OFD packet to send [22:28:42]OFD Sender: No OFD packet to send [22:28:47]OFD Sender: No OFD packet to send [22:28:52]OFD Sender: No OFD packet to send [22:28:57]OFD Sender: No OFD packet to send [22:29:02]OFD Sender: No OFD packet to send [22:29:07]OFD Sender: No OFD packet to send [22:29:12]OFD Sender: No OFD packet to send [22:29:17]OFD Sender: No OFD packet to send [22:29:22]OFD Sender: No OFD packet to send [22:29:27]OFD Sender: No OFD packet to send [22:29:32]OFD Sender: No OFD packet to send [22:29:37]OFD Sender: No OFD packet to send [22:29:42]OFD Sender: No OFD packet to send [22:29:47]OFD Sender: No OFD packet to send [22:29:52]OFD Sender: No OFD packet to send [22:29:57]OFD Sender: No OFD packet to send [22:30:02]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:27]OFD Sender: No OFD packet to send [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:43]OFD Sender: No OFD packet to send [22:30:48]OFD Sender: No OFD packet to send [22:30:53]OFD Sender: No OFD packet to send [22:30:58]OFD Sender: No OFD packet to send [22:31:03]OFD Sender: No OFD packet to send [22:31:08]OFD Sender: No OFD packet to send [22:31:13]OFD Sender: No OFD packet to send [22:31:18]OFD Sender: No OFD packet to send [22:31:23]OFD Sender: No OFD packet to send [22:31:28]OFD Sender: No OFD packet to send [22:31:33]OFD Sender: No OFD packet to send [22:31:38]OFD Sender: No OFD packet to send [22:31:43]OFD Sender: No OFD packet to send [22:31:48]OFD Sender: No OFD packet to send [22:31:53]OFD Sender: No OFD packet to send [22:31:58]OFD Sender: No OFD packet to send [22:32:03]OFD Sender: No OFD packet to send [22:32:08]OFD Sender: No OFD packet to send [22:32:13]OFD Sender: No OFD packet to send [22:32:18]OFD Sender: No OFD packet to send [22:32:23]OFD Sender: No OFD packet to send [22:32:28]OFD Sender: No OFD packet to send [22:32:33]OFD Sender: No OFD packet to send [22:32:38]OFD Sender: No OFD packet to send [22:32:43]OFD Sender: No OFD packet to send [22:32:48]OFD Sender: No OFD packet to send [22:32:53]OFD Sender: No OFD packet to send [22:32:58]OFD Sender: No OFD packet to send [22:33:03]OFD Sender: No OFD packet to send [22:33:08]OFD Sender: No OFD packet to send [22:33:13]OFD Sender: No OFD packet to send [22:33:18]OFD Sender: No OFD packet to send [22:33:23]OFD Sender: No OFD packet to send [22:33:28]OFD Sender: No OFD packet to send [22:33:33]OFD Sender: No OFD packet to send [22:33:38]OFD Sender: No OFD packet to send [22:33:43]OFD Sender: No OFD packet to send [22:33:48]OFD Sender: No OFD packet to send [22:33:53]OFD Sender: No OFD packet to send [22:33:58]OFD Sender: No OFD packet to send [22:34:03]OFD Sender: No OFD packet to send [22:34:08]OFD Sender: No OFD packet to send [22:34:13]OFD Sender: No OFD packet to send [22:34:18]OFD Sender: No OFD packet to send [22:34:23]OFD Sender: No OFD packet to send [22:34:28]OFD Sender: No OFD packet to send [22:34:33]OFD Sender: No OFD packet to send [22:34:38]OFD Sender: No OFD packet to send [22:34:43]OFD Sender: No OFD packet to send [22:34:48]OFD Sender: No OFD packet to send [22:34:53]OFD Sender: No OFD packet to send [22:34:58]OFD Sender: No OFD packet to send [22:35:03]OFD Sender: No OFD packet to send [22:35:08]OFD Sender: No OFD packet to send [22:35:13]OFD Sender: No OFD packet to send [22:35:18]OFD Sender: No OFD packet to send [22:35:23]OFD Sender: No OFD packet to send [22:35:28]OFD Sender: No OFD packet to send [22:35:33]OFD Sender: No OFD packet to send [22:35:38]OFD Sender: No OFD packet to send [22:35:43]OFD Sender: No OFD packet to send [22:35:48]OFD Sender: No OFD packet to send [22:35:53]OFD Sender: No OFD packet to send [22:35:58]OFD Sender: No OFD packet to send [22:36:03]OFD Sender: No OFD packet to send [22:36:08]OFD Sender: No OFD packet to send [22:36:13]OFD Sender: No OFD packet to send [22:36:18]OFD Sender: No OFD packet to send [22:36:23]OFD Sender: No OFD packet to send [22:36:28]OFD Sender: No OFD packet to send [22:36:33]OFD Sender: No OFD packet to send [22:36:38]OFD Sender: No OFD packet to send [22:36:43]OFD Sender: No OFD packet to send [22:36:48]OFD Sender: No OFD packet to send [22:36:53]OFD Sender: No OFD packet to send [22:36:58]OFD Sender: No OFD packet to send [22:37:03]OFD Sender: No OFD packet to send [22:37:08]OFD Sender: No OFD packet to send [22:37:13]OFD Sender: No OFD packet to send [22:37:18]OFD Sender: No OFD packet to send [22:37:23]OFD Sender: No OFD packet to send [22:37:28]OFD Sender: No OFD packet to send [22:37:33]OFD Sender: No OFD packet to send [22:37:38]OFD Sender: No OFD packet to send [22:37:43]OFD Sender: No OFD packet to send [22:37:48]OFD Sender: No OFD packet to send [22:37:53]OFD Sender: No OFD packet to send [22:37:58]OFD Sender: No OFD packet to send [22:38:03]OFD Sender: No OFD packet to send [22:38:08]OFD Sender: No OFD packet to send [22:38:13]OFD Sender: No OFD packet to send [22:38:18]OFD Sender: No OFD packet to send [22:38:23]OFD Sender: No OFD packet to send [22:38:28]OFD Sender: No OFD packet to send [22:38:33]OFD Sender: No OFD packet to send [22:38:38]OFD Sender: No OFD packet to send [22:38:43]OFD Sender: No OFD packet to send [22:38:48]OFD Sender: No OFD packet to send [22:38:53]OFD Sender: No OFD packet to send [22:38:58]OFD Sender: No OFD packet to send [22:39:03]OFD Sender: No OFD packet to send [22:39:08]OFD Sender: No OFD packet to send [22:39:13]OFD Sender: No OFD packet to send [22:39:18]OFD Sender: No OFD packet to send [22:39:23]OFD Sender: No OFD packet to send [22:39:28]OFD Sender: No OFD packet to send [22:39:33]OFD Sender: No OFD packet to send [22:39:38]OFD Sender: No OFD packet to send [22:39:43]OFD Sender: No OFD packet to send [22:39:48]OFD Sender: No OFD packet to send [22:39:53]OFD Sender: No OFD packet to send [22:39:58]OFD Sender: No OFD packet to send [22:40:03]OFD Sender: No OFD packet to send [22:40:08]OFD Sender: No OFD packet to send [22:40:13]OFD Sender: No OFD packet to send [22:40:18]OFD Sender: No OFD packet to send [22:40:23]OFD Sender: No OFD packet to send [22:40:28]OFD Sender: No OFD packet to send [22:40:33]OFD Sender: No OFD packet to send [22:40:38]OFD Sender: No OFD packet to send [22:40:43]OFD Sender: No OFD packet to send [22:40:48]OFD Sender: No OFD packet to send [22:40:53]OFD Sender: No OFD packet to send [22:40:58]OFD Sender: No OFD packet to send [22:41:03]OFD Sender: No OFD packet to send [22:41:08]OFD Sender: No OFD packet to send [22:41:13]OFD Sender: No OFD packet to send [22:41:18]OFD Sender: No OFD packet to send [22:41:23]OFD Sender: No OFD packet to send [22:41:28]OFD Sender: No OFD packet to send [22:41:33]OFD Sender: No OFD packet to send [22:41:38]OFD Sender: No OFD packet to send [22:41:43]OFD Sender: No OFD packet to send [22:41:48]OFD Sender: No OFD packet to send [22:41:53]OFD Sender: No OFD packet to send [22:41:58]OFD Sender: No OFD packet to send [22:42:03]OFD Sender: No OFD packet to send [22:42:08]OFD Sender: No OFD packet to send [22:42:13]OFD Sender: No OFD packet to send [22:42:18]OFD Sender: No OFD packet to send [22:42:23]OFD Sender: No OFD packet to send [22:42:28]OFD Sender: No OFD packet to send [22:42:33]OFD Sender: No OFD packet to send [22:42:38]OFD Sender: No OFD packet to send [22:42:43]OFD Sender: No OFD packet to send [22:42:48]OFD Sender: No OFD packet to send [22:42:53]OFD Sender: No OFD packet to send [22:42:58]OFD Sender: No OFD packet to send [22:43:03]OFD Sender: No OFD packet to send [22:43:08]OFD Sender: No OFD packet to send [22:43:13]OFD Sender: No OFD packet to send [22:43:18]OFD Sender: No OFD packet to send [22:43:23]OFD Sender: No OFD packet to send [22:43:28]OFD Sender: No OFD packet to send [22:43:33]OFD Sender: No OFD packet to send [22:43:38]OFD Sender: No OFD packet to send [22:43:43]OFD Sender: No OFD packet to send [22:43:48]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:48]OFD Sender: No OFD packet to send [22:44:53]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:18]OFD Sender: No OFD packet to send [22:45:23]OFD Sender: No OFD packet to send [22:45:28]OFD Sender: No OFD packet to send [22:45:33]OFD Sender: No OFD packet to send [22:45:38]OFD Sender: No OFD packet to send [22:45:43]OFD Sender: No OFD packet to send [22:45:48]OFD Sender: No OFD packet to send [22:45:53]OFD Sender: No OFD packet to send [22:45:58]OFD Sender: No OFD packet to send [22:46:03]OFD Sender: No OFD packet to send [22:46:08]OFD Sender: No OFD packet to send [22:46:13]OFD Sender: No OFD packet to send [22:46:18]OFD Sender: No OFD packet to send [22:46:23]OFD Sender: No OFD packet to send [22:46:28]OFD Sender: No OFD packet to send [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:58]OFD Sender: No OFD packet to send [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52:19]OFD Sender: No OFD packet to send [22:52:24]OFD Sender: No OFD packet to send [22:52:29]OFD Sender: No OFD packet to send [22:52:34]OFD Sender: No OFD packet to send [22:52:39]OFD Sender: No OFD packet to send [22:52:44]OFD Sender: No OFD packet to send [22:52:49]OFD Sender: No OFD packet to send [22:52:54]OFD Sender: No OFD packet to send [22:52:59]OFD Sender: No OFD packet to send [22:53:04]OFD Sender: No OFD packet to send [22:53:09]OFD Sender: No OFD packet to send [22:53:14]OFD Sender: No OFD packet to send [22:53:19]OFD Sender: No OFD packet to send [22:53:24]OFD Sender: No OFD packet to send [22:53:29]OFD Sender: No OFD packet to send [22:53:34]OFD Sender: No OFD packet to send [22:53:39]OFD Sender: No OFD packet to send [22:53:44]OFD Sender: No OFD packet to send [22:53:49]OFD Sender: No OFD packet to send [22:53:54]OFD Sender: No OFD packet to send [22:53:59]OFD Sender: No OFD packet to send [22:54:04]OFD Sender: No OFD packet to send [22:54:09]OFD Sender: No OFD packet to send [22:54:14]OFD Sender: No OFD packet to send [22:54:19]OFD Sender: No OFD packet to send [22:54:24]OFD Sender: No OFD packet to send [22:54:29]OFD Sender: No OFD packet to send [22:54:34]OFD Sender: No OFD packet to send [22:54:39]OFD Sender: No OFD packet to send [22:54:44]OFD Sender: No OFD packet to send [22:54:49]OFD Sender: No OFD packet to send [22:54:54]OFD Sender: No OFD packet to send [22:54:59]OFD Sender: No OFD packet to send [22:55:04]OFD Sender: No OFD packet to send [22:55:09]OFD Sender: No OFD packet to send [22:55:14]OFD Sender: No OFD packet to send [22:55:19]OFD Sender: No OFD packet to send [22:55:24]OFD Sender: No OFD packet to send [22:55:29]OFD Sender: No OFD packet to send [22:55:34]OFD Sender: No OFD packet to send [22:55:39]OFD Sender: No OFD packet to send [22:55:44]OFD Sender: No OFD packet to send [22:55:49]OFD Sender: No OFD packet to send [22:55:54]OFD Sender: No OFD packet to send [22:55:59]OFD Sender: No OFD packet to send [22:56:04]OFD Sender: No OFD packet to send [22:56:09]OFD Sender: No OFD packet to send [22:56:14]OFD Sender: No OFD packet to send [22:56:19]OFD Sender: No OFD packet to send [22:56:24]OFD Sender: No OFD packet to send [22:56:29]OFD Sender: No OFD packet to send [22:56:34]OFD Sender: No OFD packet to send [22:56:39]OFD Sender: No OFD packet to send [22:56:44]OFD Sender: No OFD packet to send [22:56:49]OFD Sender: No OFD packet to send [22:56:54]OFD Sender: No OFD packet to send [22:56:59]OFD Sender: No OFD packet to send [22:57:04]OFD Sender: No OFD packet to send [22:57:09]OFD Sender: No OFD packet to send [22:57:14]OFD Sender: No OFD packet to send [22:57:19]OFD Sender: No OFD packet to send [22:57:24]OFD Sender: No OFD packet to send [22:57:29]OFD Sender: No OFD packet to send [22:57:34]OFD Sender: No OFD packet to send [22:57:39]OFD Sender: No OFD packet to send [22:57:44]OFD Sender: No OFD packet to send [22:57:49]OFD Sender: No OFD packet to send [22:57:54]OFD Sender: No OFD packet to send [22:57:59]OFD Sender: No OFD packet to send [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:14]OFD Sender: No OFD packet to send [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:19]OFD Sender: No OFD packet to send [23:04:24]OFD Sender: No OFD packet to send [23:04:29]OFD Sender: No OFD packet to send [23:04:34]OFD Sender: No OFD packet to send [23:04:39]OFD Sender: No OFD packet to send [23:04:44]OFD Sender: No OFD packet to send [23:04:49]OFD Sender: No OFD packet to send [23:04:54]OFD Sender: No OFD packet to send [23:04:59]OFD Sender: No OFD packet to send [23:05:04]OFD Sender: No OFD packet to send [23:05:09]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:40]accept exits with 8 [23:18:40]New connection [23:18:40]New thread 3066838372 created [23:18:40]Thread 3066695012 joined [23:18:40]Waiting for new connection... [23:18:40] Sock 8.Parse request [23:18:40]Sock 8.Check first char [23:18:40]Sock 8.First char is OK [23:18:40]request: POST /json_proto HTTP/1.0 [23:18:40]Method: POST [23:18:40]URL: /json_proto [23:18:40]Method is POST - this is cgi request [23:18:40]url: /json_proto [23:18:40]query_string will be loaded in cgi processing [23:18:40]execute_cgi json_proto POST (null) [23:18:40]execute_cgi path=json_proto method=POST [23:18:40]POST find Content-Length [23:18:40]Host: 172.17.35.133:8080 [23:18:40]Content-Length: 1704 [23:18:40]Content-Type: application/json [23:18:40] [23:18:40]POST finish read [23:18:40]Found Content-Length = 1704 [23:18:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254447", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002325441", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 434.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:18:40]execute_script... [23:18:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254447", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002325441", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 434.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:18:40]POST & json_proto [23:18:40]process_json_proto [23:18:40]json parsed OK: [23:18:40]protocol is kg_v1.0 [23:18:40]action value=close_receipt [23:18:40]process_action close_receipt [23:18:40]cmd_close_receipt [23:18:40]MH_GetDate [23:18:40]Write to MH i2c: F0 00 00 84 16 89 [23:18:40]Write i2c OK [23:18:40]MH_I2C_Read... [23:18:40]Read from MH i2c: F0 [23:18:40]MH_I2C_Read... [23:18:40]Read from MH i2c: F0 09 00 [23:18:40]MH_I2C_Read... [23:18:40]Read from MH i2c: F0 09 00 84 16 00 55 21 6E 66 8C 55 28 65 4A [23:18:40]GetLastDocTimeStamp 1718489363 [23:18:40]current date 1718493525 [23:18:40]FM_GetShiftState [23:18:40]SAM_PROTO_GetShiftState [23:18:40]wFMCommunicate request_size=4 [23:18:40]MH_SAM_APDU [23:18:40]CAPDU: 80 13 01 00 [23:18:40]Write to MH i2c: E2 08 00 85 16 80 13 01 00 00 00 00 00 18 [23:18:40]Write i2c OK [23:18:40]MH_I2C_Read... [23:18:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:18:40]Read from MH i2c: E2 [23:18:40]MH_I2C_Read... [23:18:40]Read from MH i2c: E2 0E 00 [23:18:40]MH_I2C_Read... [23:18:40]Read from MH i2c: E2 0E 00 85 16 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 EC [23:18:40]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [23:18:40]wFMCommunicate OK [23:18:40]SAM_PROTO_GetShiftState done [23:18:40]FM_GetShiftState done [23:18:40]opened in 1718410776 [23:18:40]opened+sec_in_day 1718497176 [23:18:40]quantity*price = 9500 [23:18:40]sum+1 = 9501 [23:18:40]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002325441 Вода ASU пит н.газ лимон ПЭТ 0,5л 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036200014 Кофе Эспрессо (GABB TRADE) 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 434.00 НСП 1% : 3.83 НДС 12% : 46.08 Наличными: 434.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 77 15.06.2024 23:18 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22232 ФПД: 103841244571376 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T231846&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22232&fm=103841244571376&tin=02508201610067®Number=0000000000099755&sum=43400 0 [23:18:41]StoreToDocumentArchive [23:18:41]shift 326 fd 22232 [23:18:41]save to /storage/0326/doc_00022232 [23:18:41]save last doc name /storage/0326/doc_00022232 to /storage/kkm_last_doc_name [23:18:41]save OK [23:18:41]Clear old archive folders... [23:18:41]ProcessDocumentItem done err = 0, tmpTLVsize=726 [23:18:41]tlvbuf is 001DFA80 [23:18:41]SAM_PROTO_ClearQueue [23:18:41]wFMCommunicate request_size=4 [23:18:41]MH_SAM_APDU [23:18:41]CAPDU: 80 09 00 00 [23:18:41]Write to MH i2c: E2 08 00 92 16 80 09 00 00 00 00 00 00 1A [23:18:41]Write i2c OK [23:18:41]MH_I2C_Read... [23:18:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:18:41]Read from MH i2c: E2 [23:18:41]MH_I2C_Read... [23:18:41]Read from MH i2c: E2 03 00 [23:18:41]MH_I2C_Read... [23:18:41]Read from MH i2c: E2 03 00 92 16 00 90 00 1C [23:18:41]RAPDU: 90 00 [23:18:41]wFMCommunicate OK [23:18:41]SAM_PROTO_ClearQueue done [23:18:41]KKMCreateOFDPacket [23:18:41]OFDProtocolAddRootSTLVToBuf [23:18:41]FM_MakeSignedData [23:18:41]FM_MakeSignedData [23:18:41]SAM_PROTO_SignData [23:18:41]wFMCommunicate request_size=4 [23:18:41]MH_SAM_APDU [23:18:41]CAPDU: 80 0D 01 02 [23:18:41]Write to MH i2c: E2 08 00 93 16 80 0D 01 02 00 00 00 00 22 [23:18:41]Write i2c OK [23:18:41]MH_I2C_Read... [23:18:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:18:42]Read from MH i2c: E2 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 03 00 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 03 00 93 16 00 90 00 1D [23:18:42]RAPDU: 90 00 [23:18:42]wFMCommunicate OK [23:18:42]wFMCommunicate request_size=255 [23:18:42]MH_SAM_APDU [23:18:42]CAPDU: 80 0D 02 02 FA 03 00 D6 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 34 34 31 06 04 35 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 [23:18:42]Write to MH i2c: E2 02 01 94 16 80 0D 02 02 FA 00 03 00 D6 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 34 34 31 06 04 35 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 00 00 65 [23:18:42]Write i2c OK [23:18:42]MH_I2C_Read... [23:18:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:18:42]Read from MH i2c: E2 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 03 00 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 03 00 94 16 00 90 00 1E [23:18:42]RAPDU: 90 00 [23:18:42]wFMCommunicate OK [23:18:42]wFMCommunicate request_size=255 [23:18:42]MH_SAM_APDU [23:18:42]CAPDU: 80 0D 02 02 FA 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 [23:18:42]Write to MH i2c: E2 02 01 95 16 80 0D 02 02 FA 00 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 00 00 F6 [23:18:42]Write i2c OK [23:18:42]MH_I2C_Read... [23:18:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:18:42]Read from MH i2c: E2 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 03 00 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 03 00 95 16 00 90 00 1F [23:18:42]RAPDU: 90 00 [23:18:42]wFMCommunicate OK [23:18:42]wFMCommunicate request_size=235 [23:18:42]MH_SAM_APDU [23:18:42]CAPDU: 80 0D 02 02 E6 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 12 00 00 00 00 07 04 06 00 88 A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 56 21 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D8 56 00 00 35 04 06 00 5E 71 6C 7E E6 F0 [23:18:42]Write to MH i2c: E2 EE 00 96 16 80 0D 02 02 E6 00 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 12 00 00 00 00 07 04 06 00 88 A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 56 21 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D8 56 00 00 35 04 06 00 5E 71 6C 7E E6 F0 00 00 9F [23:18:42]Write i2c OK [23:18:42]MH_I2C_Read... [23:18:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:18:42]Read from MH i2c: E2 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 03 00 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 03 00 96 16 00 90 00 20 [23:18:42]RAPDU: 90 00 [23:18:42]wFMCommunicate OK [23:18:42]wFMCommunicate request_size=4 [23:18:42]MH_SAM_APDU [23:18:42]CAPDU: 80 0D 03 02 [23:18:42]Write to MH i2c: E2 08 00 97 16 80 0D 03 02 00 00 00 00 28 [23:18:42]Write i2c OK [23:18:42]MH_I2C_Read... [23:18:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:18:42]Read from MH i2c: E2 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 0B 00 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 0B 00 97 16 00 B3 3F 48 A3 C0 77 9B 6C 90 00 44 [23:18:42]RAPDU: B3 3F 48 A3 C0 77 9B 6C 90 00 [23:18:42]wFMCommunicate OK [23:18:42]SAM_PROTO_SignData done [23:18:42]FM_MakeSignedData done [23:18:42]CreateOFDProtocolMessage [23:18:42]wFMCommunicate request_size=4 [23:18:42]MH_SAM_APDU [23:18:42]CAPDU: 80 11 00 00 [23:18:42]Write to MH i2c: E2 08 00 98 16 80 11 00 00 00 00 00 00 28 [23:18:42]Write i2c OK [23:18:42]MH_I2C_Read... [23:18:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:18:42]Read from MH i2c: E2 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 17 00 [23:18:42]MH_I2C_Read... [23:18:42]Read from MH i2c: E2 17 00 98 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7A [23:18:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:18:42]wFMCommunicate OK [23:18:42]CreateOFDProtocolMessage done [23:18:42]OFDSenderStorePacket 22232 [23:18:42]StoreOFDPacket docnum=22232 [23:18:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 EA 02 00 00 E3 CA E2 02 38 6E 5A 03 01 00 03 00 D6 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 34 34 31 06 04 35 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 12 00 00 00 00 07 04 06 00 88 A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 56 21 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D8 56 00 00 35 04 06 00 5E 71 6C 7E E6 F0 B3 3F 48 A3 C0 77 9B 6C [23:18:43]CheckFolder [23:18:43]dirname=/storage/ofd_packets [23:18:43]CheckFolder done [23:18:43]ProducePacketName [23:18:43]name=ofd_packets/00022232 [23:18:43]NVStorageSaveData ofd_packets/00022232 [23:18:43]File name is /storage/ofd_packets/00022232 [23:18:43]Write 776 bytes [23:18:43]NVStorageSaveData done [23:18:43]OFDSenderStorePacket done [23:18:43]KKMCreateOFDPacket done [23:18:43]NVStorageSaveData kkm_last_timestamp [23:18:43]File name is /storage/kkm_last_timestamp [23:18:43]Write 4 bytes [23:18:43]NVStorageSaveData done [23:18:43]ExternCall_PrintAddStr [23:18:43]wPrintStart [23:18:43]Write to MH i2c: 01 00 00 99 16 AF [23:18:43]Write i2c OK [23:18:43]MH_I2C_Read... [23:18:43]Read from MH i2c: 01 [23:18:43]MH_I2C_Read... [23:18:43]Read from MH i2c: 01 07 00 [23:18:43]MH_I2C_Read... [23:18:43]Read from MH i2c: 01 07 00 99 16 00 00 00 00 00 FF 0F C4 [23:18:43]RasterBufferAndPrint [23:18:43]line Счет N : (3)254447 [23:18:43]line ИНН: 02508201610067 [23:18:43]line Контрольно-Кассовый Чек [23:18:43]line ПРОДАЖА [23:18:43]line Товар: 2000036190018 [23:18:43]line Кофе Американо XL(GABB TRADE) [23:18:43]line 1.000 * 95.00 [23:18:43]line = 95.00 [23:18:43]line НДС 12% НСП 1% [23:18:43]line > о реализуемом товаре [23:18:43]line Товар: 4870002325441 [23:18:43]line Вода ASU пит н.газ лимон ПЭТ 0,5л [23:18:43]line 1.000 * 65.00 [23:18:43]line = 65.00 [23:18:43]line НДС 12% НСП 1% [23:18:43]line > о реализуемом товаре [23:18:43]line Товар: 4607065001445 [23:18:43]line Шок батончик Snickers 50,5г [23:18:43]line 1.000 * 59.00 [23:18:43]line = 59.00 [23:18:43]line НДС 12% НСП 1% [23:18:43]line > о реализуемом товаре [23:18:43]line Товар: 4870001570071 [23:18:43]line Напиток Pepsi 1л [23:18:43]line 1.000 * 110.00 [23:18:43]line = 110.00 [23:18:43]line НДС 12% НСП 1% [23:18:43]line > о реализуемом товаре [23:18:43]line Товар: 2000036200014 [23:18:43]line Кофе Эспрессо (GABB TRADE) [23:18:43]line 1.000 * 105.00 [23:18:43]line = 105.00 [23:18:43]line НДС 12% НСП 1% [23:18:43]line > о реализуемом товаре [23:18:43]line ИТОГО: 434.00 [23:18:43]line НСП 1% : 3.83 [23:18:43]line НДС 12% : 46.08 [23:18:43]line Наличными: 434.00 [23:18:43]line Безнал.: 0.00 [23:18:43]line Место: АЗС № 76 "Партнер Нефть" [23:18:43]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [23:18:43]line СНО: Общий режим [23:18:43]line Чек 77 15.06.2024 23:18 [23:18:43]line Смена: 326 ФФД: 1.0 [23:18:43]line ЗНМ: 0300000200 [23:18:43]line РНМ: 0000000000099755 [23:18:43]line Версия ККМ: 001 [23:18:43]line ФМ: 0000000000965344 [23:18:43]line ФД: 22232 [23:18:43]line ФПД: 103841244571376 [23:18:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T231846&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22232&fm=103841244571376&tin=02508201610067®Number=0000000000099755&sum=43400 [23:18:43]line 0 [23:18:43]written 0, free lines is 4095 [23:18:43]OFD Sender: Processing packet 22232 [packets to send 5, broken 4] [23:18:43]ProducePacketName [23:18:43]name=ofd_packets/00022232 [23:18:43]OFD Sender: To server: pG, [23:18:43]CommunicateWithHost lk.salyk.kg:30040 [23:18:43]ConnectInit lk.salyk.kg [23:18:43]Connected sock=10 [23:18:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 EA 02 00 00 E3 CA E2 02 38 6E 5A 03 01 00 03 00 D6 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 34 34 31 06 04 35 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 12 00 00 00 00 07 04 06 00 88 A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 56 21 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D8 56 00 00 35 04 06 00 5E 71 6C 7E E6 F0 B3 3F 48 A3 C0 77 9B 6C [23:18:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B2 05 47 00 00 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D8 56 00 00 F4 03 04 00 12 CA 6D 66 B6 04 01 00 00 DE BB 54 8E 1D 83 A9 FC [23:18:43]CommunicateWithHost err = 0 [23:18:43]CheckOFDResponse [23:18:43]1017 (14) - 77093643461234 [23:18:43]1041 (16) - 0000000000965344 [23:18:43]1040 (4) - 22232 [23:18:43]1012 (4) - 15.06.2024 17:06 [23:18:43]1206 (1) - 0 [23:18:43]OFD Sender: Remove packet 22232 [23:18:43]ProducePacketName [23:18:43]name=ofd_packets/00022232 [23:18:43]NVStorageDeleteData [23:18:44]Write to MH i2c: 01 00 00 DB 16 F1 [23:18:44]Write i2c OK [23:18:44]MH_I2C_Read... [23:18:44]Read from MH i2c: 01 [23:18:44]MH_I2C_Read... [23:18:44]Read from MH i2c: 01 07 00 [23:18:44]MH_I2C_Read... [23:18:44]Read from MH i2c: 01 07 00 DB 16 00 00 00 00 00 EC 0B EF [23:18:44]RasterBufferAndPrint [23:18:44]line [23:18:44]line [23:18:44]line [23:18:44]line [23:18:44]line [23:18:44]written 0, free lines is 3064 [23:18:44]MH_Cut [23:18:44]Write to MH i2c: D1 01 00 E2 16 01 CA [23:18:44]Write i2c OK [23:18:44]MH_I2C_Read... [23:18:44]Read from MH i2c: D1 [23:18:44]MH_I2C_Read... [23:18:44]Read from MH i2c: D1 01 00 [23:18:44]MH_I2C_Read... [23:18:44]Read from MH i2c: D1 01 00 E2 16 00 C9 [23:18:44]Write to MH i2c: 01 00 00 E3 16 F9 [23:18:44]Write i2c OK [23:18:44]MH_I2C_Read... [23:18:44]OFD Sender: No OFD packet to send [23:18:44]*** Cut start [23:18:44]*** Partial cut [23:18:44]*** CUTSNS_PIN = 1 [23:18:44]*** CUTSNS_PIN = 0 [23:18:45]*** Brake cut motor [23:18:45]Read from MH i2c: 01 [23:18:45]MH_I2C_Read... [23:18:45]*** Stop cut motor [23:18:45]*** Cut end [23:18:45]Read from MH i2c: 01 07 00 [23:18:45]MH_I2C_Read... [23:18:45]Read from MH i2c: 01 07 00 E3 16 00 00 00 00 00 FF 0F 0E [23:18:45]process_action close_receipt done [23:18:45]requested_data is exist [23:18:45]produce_requested_data [23:18:45]requested_item fm.sn is exist - process it [23:18:45]wFMCommunicate request_size=4 [23:18:45]MH_SAM_APDU [23:18:45]CAPDU: 80 11 00 00 [23:18:45]Write to MH i2c: E2 08 00 E4 16 80 11 00 00 00 00 00 00 74 [23:18:45]Write i2c OK [23:18:45]MH_I2C_Read... [23:18:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:18:45]Read from MH i2c: E2 [23:18:45]MH_I2C_Read... [23:18:45]Read from MH i2c: E2 17 00 [23:18:45]MH_I2C_Read... [23:18:45]Read from MH i2c: E2 17 00 E4 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C6 [23:18:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:18:45]wFMCommunicate OK [23:18:45]requested_item fd.num is exist - process it [23:18:45]SAM_PROTO_GetFieldsCounters [23:18:45]wFMCommunicate request_size=4 [23:18:45]MH_SAM_APDU [23:18:45]CAPDU: 80 13 00 00 [23:18:45]Write to MH i2c: E2 08 00 E5 16 80 13 00 00 00 00 00 00 77 [23:18:45]Write i2c OK [23:18:45]MH_I2C_Read... [23:18:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:18:45]Read from MH i2c: E2 [23:18:45]MH_I2C_Read... [23:18:45]Read from MH i2c: E2 62 00 [23:18:45]MH_I2C_Read... [23:18:45]Read from MH i2c: E2 62 00 E5 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D8 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 FD [23:18:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D8 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:18:45]wFMCommunicate OK [23:18:45]SAM_PROTO_GetFieldsCounters done [23:18:45]requested_item shift.num is exist - process it [23:18:45]requested_item shift.opened is exist - process it [23:18:45]req_shift_opened [23:18:45]FM_GetShiftState [23:18:45]SAM_PROTO_GetShiftState [23:18:45]wFMCommunicate request_size=4 [23:18:45]MH_SAM_APDU [23:18:45]CAPDU: 80 13 01 00 [23:18:45]Write to MH i2c: E2 08 00 E6 16 80 13 01 00 00 00 00 00 79 [23:18:45]Write i2c OK [23:18:45]MH_I2C_Read... [23:18:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:18:45]Read from MH i2c: E2 [23:18:45]MH_I2C_Read... [23:18:45]Read from MH i2c: E2 0E 00 [23:18:45]MH_I2C_Read... [23:18:45]Read from MH i2c: E2 0E 00 E6 16 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 4D [23:18:45]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [23:18:45]wFMCommunicate OK [23:18:45]SAM_PROTO_GetShiftState done [23:18:45]FM_GetShiftState done [23:18:45]req_shift_opened done [23:18:45]requested_item shift.open_date is exist - process it [23:18:45]req_shift_open_date [23:18:45]req_shift_open_date done [23:18:45]produce_requested_data done [23:18:45]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22232,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [23:18:45]process_action_free close_receipt [23:18:45]json_value_free [23:18:45]json_value_free done [23:18:45]process_json_proto returns [23:18:45]Send response to host [23:18:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22232,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [23:18:45]free response buf [23:18:45]execute_script done [23:18:45]execute_script returns [23:18:45]free content buf [23:18:45]Sock 8.Close socket [23:18:45]Sock 8.Thread stoped [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:51]accept exits with 9 [23:39:51]New connection [23:39:51]New thread 3066695012 created [23:39:51]Thread 3066838372 joined [23:39:51]Waiting for new connection... [23:39:51] Sock 9.Parse request [23:39:51]Sock 9.Check first char [23:39:51]Sock 9.First char is OK [23:39:51]request: POST /json_proto HTTP/1.0 [23:39:51]Method: POST [23:39:51]URL: /json_proto [23:39:51]Method is POST - this is cgi request [23:39:51]url: /json_proto [23:39:51]query_string will be loaded in cgi processing [23:39:51]execute_cgi json_proto POST (null) [23:39:51]execute_cgi path=json_proto method=POST [23:39:51]POST find Content-Length [23:39:51]Host: 172.17.35.133:8080 [23:39:51]Content-Length: 856 [23:39:51]Content-Type: application/json [23:39:51] [23:39:51]POST finish read [23:39:51]Found Content-Length = 856 [23:39:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254448", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 72.00, "quantity" : 1.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 72.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:39:51]execute_script... [23:39:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254448", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 72.00, "quantity" : 1.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 72.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:39:51]POST & json_proto [23:39:51]process_json_proto [23:39:51]json parsed OK: [23:39:51]protocol is kg_v1.0 [23:39:51]action value=close_receipt [23:39:51]process_action close_receipt [23:39:51]cmd_close_receipt [23:39:51]MH_GetDate [23:39:51]Write to MH i2c: F0 00 00 E7 16 EC [23:39:51]Write i2c OK [23:39:51]MH_I2C_Read... [23:39:51]Read from MH i2c: F0 [23:39:51]MH_I2C_Read... [23:39:51]Read from MH i2c: F0 09 00 [23:39:51]MH_I2C_Read... [23:39:51]Read from MH i2c: F0 09 00 E7 16 00 4C 26 6E 66 8C 55 28 65 A9 [23:39:51]GetLastDocTimeStamp 1718493526 [23:39:51]current date 1718494796 [23:39:51]FM_GetShiftState [23:39:51]SAM_PROTO_GetShiftState [23:39:51]wFMCommunicate request_size=4 [23:39:51]MH_SAM_APDU [23:39:51]CAPDU: 80 13 01 00 [23:39:51]Write to MH i2c: E2 08 00 E8 16 80 13 01 00 00 00 00 00 7B [23:39:51]Write i2c OK [23:39:51]MH_I2C_Read... [23:39:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:39:51]Read from MH i2c: E2 [23:39:51]MH_I2C_Read... [23:39:51]Read from MH i2c: E2 0E 00 [23:39:51]MH_I2C_Read... [23:39:51]Read from MH i2c: E2 0E 00 E8 16 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 4F [23:39:51]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [23:39:51]wFMCommunicate OK [23:39:51]SAM_PROTO_GetShiftState done [23:39:51]FM_GetShiftState done [23:39:51]opened in 1718410776 [23:39:51]opened+sec_in_day 1718497176 [23:39:51]quantity*price = 7200 [23:39:51]sum+1 = 7201 [23:39:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 72.00 НСП 1% : 0.64 НДС 12% : 7.65 Наличными: 0.00 Безнал.: 72.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 78 15.06.2024 23:39 Смена: 326 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22233 ФПД: 74859435794065 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T233956&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22233&fm=74859435794065&tin=02508201610067®Number=0000000000099755&sum=7200 0 [23:39:52]StoreToDocumentArchive [23:39:52]shift 326 fd 22233 [23:39:52]save to /storage/0326/doc_00022233 [23:39:52]save last doc name /storage/0326/doc_00022233 to /storage/kkm_last_doc_name [23:39:52]save OK [23:39:52]Clear old archive folders... [23:39:52]ProcessDocumentItem done err = 0, tmpTLVsize=294 [23:39:52]tlvbuf is B6F39AC0 [23:39:52]SAM_PROTO_ClearQueue [23:39:52]wFMCommunicate request_size=4 [23:39:52]MH_SAM_APDU [23:39:52]CAPDU: 80 09 00 00 [23:39:52]Write to MH i2c: E2 08 00 F5 16 80 09 00 00 00 00 00 00 7D [23:39:52]Write i2c OK [23:39:52]MH_I2C_Read... [23:39:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:39:52]Read from MH i2c: E2 [23:39:52]MH_I2C_Read... [23:39:52]Read from MH i2c: E2 03 00 [23:39:52]MH_I2C_Read... [23:39:52]Read from MH i2c: E2 03 00 F5 16 00 90 00 7F [23:39:52]RAPDU: 90 00 [23:39:52]wFMCommunicate OK [23:39:52]SAM_PROTO_ClearQueue done [23:39:52]KKMCreateOFDPacket [23:39:52]OFDProtocolAddRootSTLVToBuf [23:39:52]FM_MakeSignedData [23:39:52]FM_MakeSignedData [23:39:52]SAM_PROTO_SignData [23:39:52]wFMCommunicate request_size=4 [23:39:52]MH_SAM_APDU [23:39:52]CAPDU: 80 0D 01 02 [23:39:52]Write to MH i2c: E2 08 00 F6 16 80 0D 01 02 00 00 00 00 85 [23:39:52]Write i2c OK [23:39:52]MH_I2C_Read... [23:39:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:39:52]Read from MH i2c: E2 [23:39:52]MH_I2C_Read... [23:39:52]Read from MH i2c: E2 03 00 [23:39:52]MH_I2C_Read... [23:39:52]Read from MH i2c: E2 03 00 F6 16 00 90 00 80 [23:39:52]RAPDU: 90 00 [23:39:52]wFMCommunicate OK [23:39:52]wFMCommunicate request_size=255 [23:39:52]MH_SAM_APDU [23:39:52]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 1C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 4C 26 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [23:39:52]Write to MH i2c: E2 02 01 F7 16 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 1C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 4C 26 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 4A [23:39:52]Write i2c OK [23:39:52]MH_I2C_Read... [23:39:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:53]Read from MH i2c: E2 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: E2 03 00 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: E2 03 00 F7 16 00 90 00 81 [23:39:53]RAPDU: 90 00 [23:39:53]wFMCommunicate OK [23:39:53]wFMCommunicate request_size=53 [23:39:53]MH_SAM_APDU [23:39:53]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D9 56 00 00 35 04 06 00 44 15 92 14 1E 91 [23:39:53]Write to MH i2c: E2 38 00 F8 16 80 0D 02 02 30 00 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D9 56 00 00 35 04 06 00 44 15 92 14 1E 91 00 00 63 [23:39:53]Write i2c OK [23:39:53]MH_I2C_Read... [23:39:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:53]Read from MH i2c: E2 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: E2 03 00 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: E2 03 00 F8 16 00 90 00 82 [23:39:53]RAPDU: 90 00 [23:39:53]wFMCommunicate OK [23:39:53]wFMCommunicate request_size=4 [23:39:53]MH_SAM_APDU [23:39:53]CAPDU: 80 0D 03 02 [23:39:53]Write to MH i2c: E2 08 00 F9 16 80 0D 03 02 00 00 00 00 8A [23:39:53]Write i2c OK [23:39:53]MH_I2C_Read... [23:39:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:39:53]Read from MH i2c: E2 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: E2 0B 00 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: E2 0B 00 F9 16 00 AB EC 83 B1 7B 43 A2 7E 90 00 34 [23:39:53]RAPDU: AB EC 83 B1 7B 43 A2 7E 90 00 [23:39:53]wFMCommunicate OK [23:39:53]SAM_PROTO_SignData done [23:39:53]FM_MakeSignedData done [23:39:53]CreateOFDProtocolMessage [23:39:53]wFMCommunicate request_size=4 [23:39:53]MH_SAM_APDU [23:39:53]CAPDU: 80 11 00 00 [23:39:53]Write to MH i2c: E2 08 00 FA 16 80 11 00 00 00 00 00 00 8A [23:39:53]Write i2c OK [23:39:53]MH_I2C_Read... [23:39:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:39:53]Read from MH i2c: E2 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: E2 17 00 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: E2 17 00 FA 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 DC [23:39:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:39:53]wFMCommunicate OK [23:39:53]CreateOFDProtocolMessage done [23:39:53]OFDSenderStorePacket 22233 [23:39:53]StoreOFDPacket docnum=22233 [23:39:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3A 01 00 00 5B FB 32 01 92 53 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 1C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 4C 26 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D9 56 00 00 35 04 06 00 44 15 92 14 1E 91 AB EC 83 B1 7B 43 A2 7E [23:39:53]CheckFolder [23:39:53]dirname=/storage/ofd_packets [23:39:53]CheckFolder done [23:39:53]ProducePacketName [23:39:53]name=ofd_packets/00022233 [23:39:53]NVStorageSaveData ofd_packets/00022233 [23:39:53]File name is /storage/ofd_packets/00022233 [23:39:53]Write 344 bytes [23:39:53]NVStorageSaveData done [23:39:53]OFDSenderStorePacket done [23:39:53]KKMCreateOFDPacket done [23:39:53]NVStorageSaveData kkm_last_timestamp [23:39:53]File name is /storage/kkm_last_timestamp [23:39:53]Write 4 bytes [23:39:53]NVStorageSaveData done [23:39:53]ExternCall_PrintAddStr [23:39:53]wPrintStart [23:39:53]Write to MH i2c: 01 00 00 FB 16 11 [23:39:53]Write i2c OK [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: 01 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: 01 07 00 [23:39:53]MH_I2C_Read... [23:39:53]Read from MH i2c: 01 07 00 FB 16 00 00 00 00 00 FF 0F 26 [23:39:53]RasterBufferAndPrint [23:39:53]line Счет N : (3)254448 [23:39:53]line ИНН: 02508201610067 [23:39:53]line Контрольно-Кассовый Чек [23:39:53]line ПРОДАЖА [23:39:53]line Товар: 4600682557456 [23:39:53]line Напиток FLash up energy эн ж/б 0,5/0,45л [23:39:53]line 1.000 * 72.00 [23:39:53]line = 72.00 [23:39:53]line НДС 12% НСП 1% [23:39:53]line > о реализуемом товаре [23:39:53]line ИТОГО: 72.00 [23:39:53]line НСП 1% : 0.64 [23:39:53]line НДС 12% : 7.65 [23:39:53]line Наличными: 0.00 [23:39:53]line Безнал.: 72.00 [23:39:53]line Место: АЗС № 76 "Партнер Нефть" [23:39:53]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [23:39:53]line СНО: Общий режим [23:39:53]line Чек 78 15.06.2024 23:39 [23:39:53]line Смена: 326 ФФД: 1.0 [23:39:53]line ЗНМ: 0300000200 [23:39:53]line РНМ: 0000000000099755 [23:39:53]line Версия ККМ: 001 [23:39:53]line Платежная система: АКБ Кыргызстан [23:39:53]line ФМ: 0000000000965344 [23:39:53]line ФД: 22233 [23:39:53]line ФПД: 74859435794065 [23:39:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240615T233956&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22233&fm=74859435794065&tin=02508201610067®Number=0000000000099755&sum=7200 [23:39:53]line 0 [23:39:53]OFD Sender: Processing packet 22233 [packets to send 5, broken 4] [23:39:53]ProducePacketName [23:39:53]name=ofd_packets/00022233 [23:39:53]OFD Sender: To server: pG, [23:39:53]CommunicateWithHost lk.salyk.kg:30040 [23:39:53]ConnectInit lk.salyk.kg [23:39:53]written 0, free lines is 4095 [23:39:53]Connected sock=10 [23:39:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3A 01 00 00 5B FB 32 01 92 53 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 1C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 4C 26 6E 66 0E 04 04 00 46 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D9 56 00 00 35 04 06 00 44 15 92 14 1E 91 AB EC 83 B1 7B 43 A2 7E [23:39:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 EE F5 47 00 CB CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 D9 56 00 00 F4 03 04 00 08 CF 6D 66 B6 04 01 00 00 4D 0F 4A 69 3F 0F 81 99 [23:39:53]CommunicateWithHost err = 0 [23:39:53]CheckOFDResponse [23:39:53]1017 (14) - 77093643461234 [23:39:53]1041 (16) - 0000000000965344 [23:39:53]1040 (4) - 22233 [23:39:53]1012 (4) - 15.06.2024 17:27 [23:39:53]1206 (1) - 0 [23:39:53]OFD Sender: Remove packet 22233 [23:39:53]ProducePacketName [23:39:53]name=ofd_packets/00022233 [23:39:53]NVStorageDeleteData [23:39:54]Write to MH i2c: 01 00 00 26 17 3D [23:39:54]Write i2c OK [23:39:54]MH_I2C_Read... [23:39:54]Read from MH i2c: 01 [23:39:54]MH_I2C_Read... [23:39:54]Read from MH i2c: 01 07 00 [23:39:54]MH_I2C_Read... [23:39:54]Read from MH i2c: 01 07 00 26 17 00 00 00 00 00 F5 0C 45 [23:39:54]RasterBufferAndPrint [23:39:54]line [23:39:54]line [23:39:54]line [23:39:54]line [23:39:54]line [23:39:54]written 0, free lines is 3323 [23:39:54]MH_Cut [23:39:54]Write to MH i2c: D1 01 00 2D 17 01 16 [23:39:54]Write i2c OK [23:39:54]MH_I2C_Read... [23:39:54]Read from MH i2c: D1 [23:39:54]MH_I2C_Read... [23:39:54]Read from MH i2c: D1 01 00 [23:39:54]MH_I2C_Read... [23:39:54]Read from MH i2c: D1 01 00 2D 17 00 15 [23:39:54]Write to MH i2c: 01 00 00 2E 17 45 [23:39:54]Write i2c OK [23:39:54]MH_I2C_Read... [23:39:54]OFD Sender: No OFD packet to send [23:39:54]*** Cut start [23:39:54]*** Partial cut [23:39:54]*** CUTSNS_PIN = 1 [23:39:54]*** CUTSNS_PIN = 0 [23:39:55]*** Brake cut motor [23:39:55]Read from MH i2c: 01 [23:39:55]MH_I2C_Read... [23:39:55]*** Stop cut motor [23:39:55]*** Cut end [23:39:55]Read from MH i2c: 01 07 00 [23:39:55]MH_I2C_Read... [23:39:55]Read from MH i2c: 01 07 00 2E 17 00 00 00 00 00 FF 0F 5A [23:39:55]process_action close_receipt done [23:39:55]requested_data is exist [23:39:55]produce_requested_data [23:39:55]requested_item fm.sn is exist - process it [23:39:55]wFMCommunicate request_size=4 [23:39:55]MH_SAM_APDU [23:39:55]CAPDU: 80 11 00 00 [23:39:55]Write to MH i2c: E2 08 00 2F 17 80 11 00 00 00 00 00 00 C0 [23:39:55]Write i2c OK [23:39:55]MH_I2C_Read... [23:39:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:39:55]Read from MH i2c: E2 [23:39:55]MH_I2C_Read... [23:39:55]Read from MH i2c: E2 17 00 [23:39:55]MH_I2C_Read... [23:39:55]Read from MH i2c: E2 17 00 2F 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 12 [23:39:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:39:55]wFMCommunicate OK [23:39:55]requested_item fd.num is exist - process it [23:39:55]SAM_PROTO_GetFieldsCounters [23:39:55]wFMCommunicate request_size=4 [23:39:55]MH_SAM_APDU [23:39:55]CAPDU: 80 13 00 00 [23:39:55]Write to MH i2c: E2 08 00 30 17 80 13 00 00 00 00 00 00 C3 [23:39:55]Write i2c OK [23:39:55]MH_I2C_Read... [23:39:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:39:55]Read from MH i2c: E2 [23:39:55]MH_I2C_Read... [23:39:55]Read from MH i2c: E2 62 00 [23:39:55]MH_I2C_Read... [23:39:55]Read from MH i2c: E2 62 00 30 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [23:39:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:39:55]wFMCommunicate OK [23:39:55]SAM_PROTO_GetFieldsCounters done [23:39:55]requested_item shift.num is exist - process it [23:39:55]requested_item shift.opened is exist - process it [23:39:55]req_shift_opened [23:39:55]FM_GetShiftState [23:39:55]SAM_PROTO_GetShiftState [23:39:55]wFMCommunicate request_size=4 [23:39:55]MH_SAM_APDU [23:39:55]CAPDU: 80 13 01 00 [23:39:55]Write to MH i2c: E2 08 00 31 17 80 13 01 00 00 00 00 00 C5 [23:39:55]Write i2c OK [23:39:55]MH_I2C_Read... [23:39:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:39:55]Read from MH i2c: E2 [23:39:55]MH_I2C_Read... [23:39:55]Read from MH i2c: E2 0E 00 [23:39:55]MH_I2C_Read... [23:39:55]Read from MH i2c: E2 0E 00 31 17 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 99 [23:39:55]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [23:39:55]wFMCommunicate OK [23:39:55]SAM_PROTO_GetShiftState done [23:39:55]FM_GetShiftState done [23:39:55]req_shift_opened done [23:39:55]requested_item shift.open_date is exist - process it [23:39:55]req_shift_open_date [23:39:55]req_shift_open_date done [23:39:55]produce_requested_data done [23:39:55]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22233,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [23:39:55]process_action_free close_receipt [23:39:55]json_value_free [23:39:55]json_value_free done [23:39:55]process_json_proto returns [23:39:55]Send response to host [23:39:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22233,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [23:39:55]free response buf [23:39:55]execute_script done [23:39:55]execute_script returns [23:39:55]free content buf [23:39:55]Sock 9.Close socket [23:39:55]Sock 9.Thread stoped [23:39:59]OFD Sender: No OFD packet to send [23:40:04]OFD Sender: No OFD packet to send [23:40:09]OFD Sender: No OFD packet to send [23:40:14]OFD Sender: No OFD packet to send [23:40:19]OFD Sender: No OFD packet to send [23:40:24]OFD Sender: No OFD packet to send [23:40:29]OFD Sender: No OFD packet to send [23:40:34]OFD Sender: No OFD packet to send [23:40:39]OFD Sender: No OFD packet to send [23:40:44]OFD Sender: No OFD packet to send [23:40:49]OFD Sender: No OFD packet to send [23:40:54]OFD Sender: No OFD packet to send [23:40:59]OFD Sender: No OFD packet to send [23:41:04]OFD Sender: No OFD packet to send [23:41:09]OFD Sender: No OFD packet to send [23:41:14]OFD Sender: No OFD packet to send [23:41:19]OFD Sender: No OFD packet to send [23:41:24]OFD Sender: No OFD packet to send [23:41:29]OFD Sender: No OFD packet to send [23:41:34]OFD Sender: No OFD packet to send [23:41:39]OFD Sender: No OFD packet to send [23:41:44]OFD Sender: No OFD packet to send [23:41:49]OFD Sender: No OFD packet to send [23:41:54]OFD Sender: No OFD packet to send [23:41:59]OFD Sender: No OFD packet to send [23:42:04]OFD Sender: No OFD packet to send [23:42:09]OFD Sender: No OFD packet to send [23:42:14]OFD Sender: No OFD packet to send [23:42:19]OFD Sender: No OFD packet to send [23:42:24]OFD Sender: No OFD packet to send [23:42:29]OFD Sender: No OFD packet to send [23:42:34]OFD Sender: No OFD packet to send [23:42:39]OFD Sender: No OFD packet to send [23:42:44]OFD Sender: No OFD packet to send [23:42:49]OFD Sender: No OFD packet to send [23:42:54]OFD Sender: No OFD packet to send [23:42:59]OFD Sender: No OFD packet to send [23:43:04]OFD Sender: No OFD packet to send [23:43:09]OFD Sender: No OFD packet to send [23:43:14]OFD Sender: No OFD packet to send [23:43:19]OFD Sender: No OFD packet to send [23:43:24]OFD Sender: No OFD packet to send [23:43:29]OFD Sender: No OFD packet to send [23:43:34]OFD Sender: No OFD packet to send [23:43:39]OFD Sender: No OFD packet to send [23:43:44]OFD Sender: No OFD packet to send [23:43:49]OFD Sender: No OFD packet to send [23:43:54]OFD Sender: No OFD packet to send [23:43:59]OFD Sender: No OFD packet to send [23:44:04]OFD Sender: No OFD packet to send [23:44:09]OFD Sender: No OFD packet to send [23:44:14]OFD Sender: No OFD packet to send [23:44:19]OFD Sender: No OFD packet to send [23:44:24]OFD Sender: No OFD packet to send [23:44:29]OFD Sender: No OFD packet to send [23:44:34]OFD Sender: No OFD packet to send [23:44:39]OFD Sender: No OFD packet to send [23:44:44]OFD Sender: No OFD packet to send [23:44:49]OFD Sender: No OFD packet to send [23:44:54]OFD Sender: No OFD packet to send [23:44:59]OFD Sender: No OFD packet to send [23:45:04]OFD Sender: No OFD packet to send [23:45:09]OFD Sender: No OFD packet to send [23:45:14]OFD Sender: No OFD packet to send [23:45:19]OFD Sender: No OFD packet to send [23:45:24]OFD Sender: No OFD packet to send [23:45:29]OFD Sender: No OFD packet to send [23:45:34]OFD Sender: No OFD packet to send [23:45:39]OFD Sender: No OFD packet to send [23:45:44]OFD Sender: No OFD packet to send [23:45:49]OFD Sender: No OFD packet to send [23:45:54]OFD Sender: No OFD packet to send [23:45:59]OFD Sender: No OFD packet to send [23:46:04]OFD Sender: No OFD packet to send [23:46:09]OFD Sender: No OFD packet to send [23:46:14]OFD Sender: No OFD packet to send [23:46:19]OFD Sender: No OFD packet to send [23:46:24]OFD Sender: No OFD packet to send [23:46:29]OFD Sender: No OFD packet to send [23:46:34]OFD Sender: No OFD packet to send [23:46:39]OFD Sender: No OFD packet to send [23:46:44]OFD Sender: No OFD packet to send [23:46:49]OFD Sender: No OFD packet to send [23:46:54]OFD Sender: No OFD packet to send [23:46:59]OFD Sender: No OFD packet to send [23:47:04]OFD Sender: No OFD packet to send [23:47:09]OFD Sender: No OFD packet to send [23:47:14]OFD Sender: No OFD packet to send [23:47:19]OFD Sender: No OFD packet to send [23:47:24]OFD Sender: No OFD packet to send [23:47:29]OFD Sender: No OFD packet to send [23:47:34]OFD Sender: No OFD packet to send [23:47:39]OFD Sender: No OFD packet to send [23:47:44]OFD Sender: No OFD packet to send [23:47:49]OFD Sender: No OFD packet to send [23:47:54]OFD Sender: No OFD packet to send [23:47:59]OFD Sender: No OFD packet to send [23:48:04]OFD Sender: No OFD packet to send [23:48:09]OFD Sender: No OFD packet to send [23:48:14]OFD Sender: No OFD packet to send [23:48:19]OFD Sender: No OFD packet to send [23:48:24]OFD Sender: No OFD packet to send [23:48:29]OFD Sender: No OFD packet to send [23:48:34]OFD Sender: No OFD packet to send [23:48:39]OFD Sender: No OFD packet to send [23:48:44]OFD Sender: No OFD packet to send [23:48:49]OFD Sender: No OFD packet to send [23:48:54]OFD Sender: No OFD packet to send [23:48:59]OFD Sender: No OFD packet to send [23:49:04]OFD Sender: No OFD packet to send [23:49:09]OFD Sender: No OFD packet to send [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:10]OFD Sender: No OFD packet to send [23:57:15]OFD Sender: No OFD packet to send [23:57:20]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:27]accept exits with 8 [00:05:27]New connection [00:05:27]New thread 3066838372 created [00:05:27]Thread 3066695012 joined [00:05:27]Waiting for new connection... [00:05:27] Sock 8.Parse request [00:05:27]Sock 8.Check first char [00:05:27]Sock 8.First char is OK [00:05:27]request: POST /json_proto HTTP/1.0 [00:05:27]Method: POST [00:05:27]URL: /json_proto [00:05:27]Method is POST - this is cgi request [00:05:27]url: /json_proto [00:05:27]query_string will be loaded in cgi processing [00:05:27]execute_cgi json_proto POST (null) [00:05:27]execute_cgi path=json_proto method=POST [00:05:27]POST find Content-Length [00:05:27]Host: 172.17.35.133:8080 [00:05:27]Content-Length: 215 [00:05:27]Content-Type: application/json [00:05:27] [00:05:27]POST finish read [00:05:27]Found Content-Length = 215 [00:05:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:27]execute_script... [00:05:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:27]POST & json_proto [00:05:27]process_json_proto [00:05:27]json parsed OK: [00:05:27]protocol is kg_v1.0 [00:05:27]action value=get_value [00:05:27]process_action get_value [00:05:27]cmd_get_value [00:05:27]process_action get_value done [00:05:27]requested_data is exist [00:05:27]produce_requested_data [00:05:27]requested_item kkm.sn is exist - process it [00:05:27]requested_item kkm.ver is exist - process it [00:05:27]requested_item fm.sn is exist - process it [00:05:27]wFMCommunicate request_size=4 [00:05:27]MH_SAM_APDU [00:05:27]CAPDU: 80 11 00 00 [00:05:27]Write to MH i2c: E2 08 00 32 17 80 11 00 00 00 00 00 00 C3 [00:05:27]Write i2c OK [00:05:27]MH_I2C_Read... [00:05:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:27]Read from MH i2c: E2 [00:05:27]MH_I2C_Read... [00:05:27]Read from MH i2c: E2 17 00 [00:05:27]MH_I2C_Read... [00:05:27]Read from MH i2c: E2 17 00 32 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 15 [00:05:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:05:27]wFMCommunicate OK [00:05:27]requested_item fd.num is exist - process it [00:05:27]SAM_PROTO_GetFieldsCounters [00:05:27]wFMCommunicate request_size=4 [00:05:27]MH_SAM_APDU [00:05:27]CAPDU: 80 13 00 00 [00:05:27]Write to MH i2c: E2 08 00 33 17 80 13 00 00 00 00 00 00 C6 [00:05:27]Write i2c OK [00:05:27]MH_I2C_Read... [00:05:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:28]Read from MH i2c: E2 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 62 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 62 00 33 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [00:05:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:05:28]wFMCommunicate OK [00:05:28]SAM_PROTO_GetFieldsCounters done [00:05:28]requested_item shift.num is exist - process it [00:05:28]requested_item shift.opened is exist - process it [00:05:28]req_shift_opened [00:05:28]FM_GetShiftState [00:05:28]SAM_PROTO_GetShiftState [00:05:28]wFMCommunicate request_size=4 [00:05:28]MH_SAM_APDU [00:05:28]CAPDU: 80 13 01 00 [00:05:28]Write to MH i2c: E2 08 00 34 17 80 13 01 00 00 00 00 00 C8 [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:28]Read from MH i2c: E2 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 0E 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 0E 00 34 17 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 9C [00:05:28]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [00:05:28]wFMCommunicate OK [00:05:28]SAM_PROTO_GetShiftState done [00:05:28]FM_GetShiftState done [00:05:28]req_shift_opened done [00:05:28]requested_item shift.open_date is exist - process it [00:05:28]req_shift_open_date [00:05:28]req_shift_open_date done [00:05:28]produce_requested_data done [00:05:28]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22233,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [00:05:28]process_action_free get_value [00:05:28]json_value_free [00:05:28]json_value_free done [00:05:28]process_json_proto returns [00:05:28]Send response to host [00:05:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22233,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [00:05:28]free response buf [00:05:28]execute_script done [00:05:28]execute_script returns [00:05:28]free content buf [00:05:28]Sock 8.Close socket [00:05:28]Sock 8.Thread stoped [00:05:28]accept exits with 9 [00:05:28]New connection [00:05:28]New thread 3066695012 created [00:05:28]Thread 3066838372 joined [00:05:28]Waiting for new connection... [00:05:28] Sock 9.Parse request [00:05:28]Sock 9.Check first char [00:05:28]Sock 9.First char is OK [00:05:28]request: POST /json_proto HTTP/1.0 [00:05:28]Method: POST [00:05:28]URL: /json_proto [00:05:28]Method is POST - this is cgi request [00:05:28]url: /json_proto [00:05:28]query_string will be loaded in cgi processing [00:05:28]execute_cgi json_proto POST (null) [00:05:28]execute_cgi path=json_proto method=POST [00:05:28]POST find Content-Length [00:05:28]Host: 172.17.35.133:8080 [00:05:28]Content-Length: 331 [00:05:28]Content-Type: application/json [00:05:28] [00:05:28]POST finish read [00:05:28]Found Content-Length = 331 [00:05:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:28]execute_script... [00:05:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:28]POST & json_proto [00:05:28]process_json_proto [00:05:28]json parsed OK: [00:05:28]protocol is kg_v1.0 [00:05:28]action value=get_value [00:05:28]process_action get_value [00:05:28]cmd_get_value [00:05:28]process_action get_value done [00:05:28]requested_data is exist [00:05:28]produce_requested_data [00:05:28]requested_item fm.sale.total is exist - process it [00:05:28]SAM_PROTO_GetFMData [00:05:28]wFMCommunicate request_size=4 [00:05:28]MH_SAM_APDU [00:05:28]CAPDU: 80 13 03 00 [00:05:28]Write to MH i2c: E2 08 00 35 17 80 13 03 00 00 00 00 00 CB [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:28]Read from MH i2c: E2 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 FD 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 FD 00 35 17 00 C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 54 [00:05:28]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 [00:05:28]wFMCommunicate OK [00:05:28]wFMCommunicate request_size=4 [00:05:28]MH_SAM_APDU [00:05:28]CAPDU: 80 17 00 00 [00:05:28]Write to MH i2c: E2 08 00 36 17 80 17 00 00 00 00 00 00 CD [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 FD 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 FD 00 36 17 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 D8 [00:05:29]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=4 [00:05:29]MH_SAM_APDU [00:05:29]CAPDU: 80 17 00 00 [00:05:29]Write to MH i2c: E2 08 00 37 17 80 17 00 00 00 00 00 00 CE [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 FD 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 FD 00 37 17 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EC [00:05:29]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=4 [00:05:29]MH_SAM_APDU [00:05:29]CAPDU: 80 17 00 00 [00:05:29]Write to MH i2c: E2 08 00 38 17 80 17 00 00 00 00 00 00 CF [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 FD 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 FD 00 38 17 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 41 [00:05:29]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=4 [00:05:29]MH_SAM_APDU [00:05:29]CAPDU: 80 17 00 00 [00:05:29]Write to MH i2c: E2 08 00 39 17 80 17 00 00 00 00 00 00 D0 [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 E0 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 E0 00 39 17 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BA [00:05:29]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:29]wFMCommunicate OK [00:05:29]SAM_PROTO_GetFMData done [00:05:29]requested_item fm.sale_refund.total is exist - process it [00:05:29]requested_item fm.buy.total is exist - process it [00:05:29]requested_item shift.sale.total is exist - process it [00:05:29]SAM_PROTO_GetShiftData [00:05:29]wFMCommunicate request_size=4 [00:05:29]MH_SAM_APDU [00:05:29]CAPDU: 80 13 02 00 [00:05:29]Write to MH i2c: E2 08 00 3A 17 80 13 02 00 00 00 00 00 CF [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 FD 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 FD 00 3A 17 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 76 [00:05:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:05:30]wFMCommunicate OK [00:05:30]wFMCommunicate request_size=4 [00:05:30]MH_SAM_APDU [00:05:30]CAPDU: 80 17 00 00 [00:05:30]Write to MH i2c: E2 08 00 3B 17 80 17 00 00 00 00 00 00 D2 [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 FD 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 FD 00 3B 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 F4 [00:05:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:05:30]wFMCommunicate OK [00:05:30]wFMCommunicate request_size=4 [00:05:30]MH_SAM_APDU [00:05:30]CAPDU: 80 17 00 00 [00:05:30]Write to MH i2c: E2 08 00 3C 17 80 17 00 00 00 00 00 00 D3 [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:30]OFD Sender: No OFD packet to send [00:05:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 FD 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 FD 00 3C 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 8A [00:05:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:05:30]wFMCommunicate OK [00:05:30]wFMCommunicate request_size=4 [00:05:30]MH_SAM_APDU [00:05:30]CAPDU: 80 17 00 00 [00:05:30]Write to MH i2c: E2 08 00 3D 17 80 17 00 00 00 00 00 00 D4 [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:31]Read from MH i2c: E2 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: E2 FD 00 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: E2 FD 00 3D 17 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 46 [00:05:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:05:31]wFMCommunicate OK [00:05:31]wFMCommunicate request_size=4 [00:05:31]MH_SAM_APDU [00:05:31]CAPDU: 80 17 00 00 [00:05:31]Write to MH i2c: E2 08 00 3E 17 80 17 00 00 00 00 00 00 D5 [00:05:31]Write i2c OK [00:05:31]MH_I2C_Read... [00:05:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:05:31]Read from MH i2c: E2 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: E2 CB 00 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: E2 CB 00 3E 17 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BE [00:05:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:31]wFMCommunicate OK [00:05:31]SAM_PROTO_GetShiftData done [00:05:31]requested_item shift.sale.total_cash is exist - process it [00:05:31]requested_item shift.sale_refund.total is exist - process it [00:05:31]requested_item shift.sale_refund.total_cash is exist - process it [00:05:31]requested_item shift.buy.total is exist - process it [00:05:31]requested_item shift.buy.total_cash is exist - process it [00:05:31]produce_requested_data done [00:05:31]produce_requested_data return {"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:05:31]process_action_free get_value [00:05:31]json_value_free [00:05:31]json_value_free done [00:05:31]process_json_proto returns [00:05:31]Send response to host [00:05:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:05:31]free response buf [00:05:31]execute_script done [00:05:31]execute_script returns [00:05:31]free content buf [00:05:31]Sock 9.Close socket [00:05:31]Sock 9.Thread stoped [00:05:31]accept exits with 8 [00:05:31]New connection [00:05:31]New thread 3066838372 created [00:05:31]Thread 3066695012 joined [00:05:31]Waiting for new connection... [00:05:31] Sock 8.Parse request [00:05:31]Sock 8.Check first char [00:05:31]Sock 8.First char is OK [00:05:31]request: POST /json_proto HTTP/1.0 [00:05:31]Method: POST [00:05:31]URL: /json_proto [00:05:31]Method is POST - this is cgi request [00:05:31]url: /json_proto [00:05:31]query_string will be loaded in cgi processing [00:05:31]execute_cgi json_proto POST (null) [00:05:31]execute_cgi path=json_proto method=POST [00:05:31]POST find Content-Length [00:05:31]Host: 172.17.35.133:8080 [00:05:31]Content-Length: 331 [00:05:31]Content-Type: application/json [00:05:31] [00:05:31]POST finish read [00:05:31]Found Content-Length = 331 [00:05:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:31]execute_script... [00:05:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:31]POST & json_proto [00:05:31]process_json_proto [00:05:31]json parsed OK: [00:05:31]protocol is kg_v1.0 [00:05:31]action value=get_value [00:05:31]process_action get_value [00:05:31]cmd_get_value [00:05:31]process_action get_value done [00:05:31]requested_data is exist [00:05:31]produce_requested_data [00:05:31]requested_item fm.sale.total is exist - process it [00:05:31]SAM_PROTO_GetFMData [00:05:31]wFMCommunicate request_size=4 [00:05:31]MH_SAM_APDU [00:05:31]CAPDU: 80 13 03 00 [00:05:31]Write to MH i2c: E2 08 00 3F 17 80 13 03 00 00 00 00 00 D5 [00:05:31]Write i2c OK [00:05:31]MH_I2C_Read... [00:05:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:32]Read from MH i2c: E2 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 3F 17 00 C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 5E [00:05:32]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 [00:05:32]wFMCommunicate OK [00:05:32]wFMCommunicate request_size=4 [00:05:32]MH_SAM_APDU [00:05:32]CAPDU: 80 17 00 00 [00:05:32]Write to MH i2c: E2 08 00 40 17 80 17 00 00 00 00 00 00 D7 [00:05:32]Write i2c OK [00:05:32]MH_I2C_Read... [00:05:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:32]Read from MH i2c: E2 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 40 17 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 E2 [00:05:32]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 [00:05:32]wFMCommunicate OK [00:05:32]wFMCommunicate request_size=4 [00:05:32]MH_SAM_APDU [00:05:32]CAPDU: 80 17 00 00 [00:05:32]Write to MH i2c: E2 08 00 41 17 80 17 00 00 00 00 00 00 D8 [00:05:32]Write i2c OK [00:05:32]MH_I2C_Read... [00:05:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:32]Read from MH i2c: E2 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 41 17 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F6 [00:05:32]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:05:32]wFMCommunicate OK [00:05:32]wFMCommunicate request_size=4 [00:05:32]MH_SAM_APDU [00:05:32]CAPDU: 80 17 00 00 [00:05:32]Write to MH i2c: E2 08 00 42 17 80 17 00 00 00 00 00 00 D9 [00:05:32]Write i2c OK [00:05:32]MH_I2C_Read... [00:05:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:33]Read from MH i2c: E2 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 FD 00 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 FD 00 42 17 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4B [00:05:33]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:05:33]wFMCommunicate OK [00:05:33]wFMCommunicate request_size=4 [00:05:33]MH_SAM_APDU [00:05:33]CAPDU: 80 17 00 00 [00:05:33]Write to MH i2c: E2 08 00 43 17 80 17 00 00 00 00 00 00 DA [00:05:33]Write i2c OK [00:05:33]MH_I2C_Read... [00:05:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:05:33]Read from MH i2c: E2 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 E0 00 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 E0 00 43 17 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C4 [00:05:33]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:33]wFMCommunicate OK [00:05:33]SAM_PROTO_GetFMData done [00:05:33]requested_item fm.sale_refund.total is exist - process it [00:05:33]requested_item fm.buy.total is exist - process it [00:05:33]requested_item shift.sale.total is exist - process it [00:05:33]SAM_PROTO_GetShiftData [00:05:33]wFMCommunicate request_size=4 [00:05:33]MH_SAM_APDU [00:05:33]CAPDU: 80 13 02 00 [00:05:33]Write to MH i2c: E2 08 00 44 17 80 13 02 00 00 00 00 00 D9 [00:05:33]Write i2c OK [00:05:33]MH_I2C_Read... [00:05:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:34]Read from MH i2c: E2 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 44 17 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 80 [00:05:34]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:05:34]wFMCommunicate OK [00:05:34]wFMCommunicate request_size=4 [00:05:34]MH_SAM_APDU [00:05:34]CAPDU: 80 17 00 00 [00:05:34]Write to MH i2c: E2 08 00 45 17 80 17 00 00 00 00 00 00 DC [00:05:34]Write i2c OK [00:05:34]MH_I2C_Read... [00:05:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:34]Read from MH i2c: E2 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 45 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FE [00:05:34]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:05:34]wFMCommunicate OK [00:05:34]wFMCommunicate request_size=4 [00:05:34]MH_SAM_APDU [00:05:34]CAPDU: 80 17 00 00 [00:05:34]Write to MH i2c: E2 08 00 46 17 80 17 00 00 00 00 00 00 DD [00:05:34]Write i2c OK [00:05:34]MH_I2C_Read... [00:05:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:34]Read from MH i2c: E2 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 46 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 94 [00:05:34]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:05:34]wFMCommunicate OK [00:05:34]wFMCommunicate request_size=4 [00:05:34]MH_SAM_APDU [00:05:34]CAPDU: 80 17 00 00 [00:05:34]Write to MH i2c: E2 08 00 47 17 80 17 00 00 00 00 00 00 DE [00:05:34]Write i2c OK [00:05:34]MH_I2C_Read... [00:05:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:35]Read from MH i2c: E2 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 FD 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 FD 00 47 17 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 50 [00:05:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:05:35]wFMCommunicate OK [00:05:35]wFMCommunicate request_size=4 [00:05:35]MH_SAM_APDU [00:05:35]CAPDU: 80 17 00 00 [00:05:35]Write to MH i2c: E2 08 00 48 17 80 17 00 00 00 00 00 00 DF [00:05:35]Write i2c OK [00:05:35]MH_I2C_Read... [00:05:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:05:35]Read from MH i2c: E2 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 CB 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 CB 00 48 17 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C8 [00:05:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:35]wFMCommunicate OK [00:05:35]SAM_PROTO_GetShiftData done [00:05:35]requested_item shift.sale.total_cash is exist - process it [00:05:35]requested_item shift.sale_refund.total is exist - process it [00:05:35]requested_item shift.sale_refund.total_cash is exist - process it [00:05:35]requested_item shift.buy.total is exist - process it [00:05:35]requested_item shift.buy.total_cash is exist - process it [00:05:35]produce_requested_data done [00:05:35]produce_requested_data return {"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:05:35]process_action_free get_value [00:05:35]json_value_free [00:05:35]json_value_free done [00:05:35]process_json_proto returns [00:05:35]Send response to host [00:05:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:05:35]free response buf [00:05:35]execute_script done [00:05:35]execute_script returns [00:05:35]free content buf [00:05:35]Sock 8.Close socket [00:05:35]Sock 8.Thread stoped [00:05:35]accept exits with 9 [00:05:35]New connection [00:05:35]New thread 3066695012 created [00:05:35]Thread 3066838372 joined [00:05:35]Waiting for new connection... [00:05:35] Sock 9.Parse request [00:05:35]Sock 9.Check first char [00:05:35]Sock 9.First char is OK [00:05:35]request: POST /json_proto HTTP/1.0 [00:05:35]Method: POST [00:05:35]URL: /json_proto [00:05:35]Method is POST - this is cgi request [00:05:35]url: /json_proto [00:05:35]query_string will be loaded in cgi processing [00:05:35]execute_cgi json_proto POST (null) [00:05:35]execute_cgi path=json_proto method=POST [00:05:35]POST find Content-Length [00:05:35]Host: 172.17.35.133:8080 [00:05:35]Content-Length: 241 [00:05:35]Content-Type: application/json [00:05:35] [00:05:35]POST finish read [00:05:35]Found Content-Length = 241 [00:05:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0427\u043E\u0440\u043E \u0443. \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:35]execute_script... [00:05:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0427\u043E\u0440\u043E \u0443. \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:35]POST & json_proto [00:05:35]process_json_proto [00:05:35]json parsed OK: [00:05:35]protocol is kg_v1.0 [00:05:35]action value=x_report [00:05:35]process_action x_report [00:05:35]cmd_x_report [00:05:35]MH_GetDate [00:05:35]Write to MH i2c: F0 00 00 49 17 4F [00:05:35]Write i2c OK [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: F0 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: F0 09 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: F0 09 00 49 17 00 55 2C 6E 66 8C 55 28 65 1B [00:05:35]GetLastDocTimeStamp 1718494796 [00:05:35]current date 1718496341 [00:05:35]FM_GetShiftState [00:05:35]SAM_PROTO_GetShiftState [00:05:35]wFMCommunicate request_size=4 [00:05:35]MH_SAM_APDU [00:05:35]CAPDU: 80 13 01 00 [00:05:35]Write to MH i2c: E2 08 00 4A 17 80 13 01 00 00 00 00 00 DE [00:05:35]Write i2c OK [00:05:35]MH_I2C_Read... [00:05:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:35]Read from MH i2c: E2 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 0E 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 0E 00 4A 17 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 B2 [00:05:35]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [00:05:35]wFMCommunicate OK [00:05:35]SAM_PROTO_GetShiftState done [00:05:35]FM_GetShiftState done [00:05:35]KKMCreateXReportDocument [00:05:35]Load OK [00:05:35]Malloc new data [00:05:35]MH_GetDate [00:05:35]Write to MH i2c: F0 00 00 4B 17 51 [00:05:35]Write i2c OK [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: F0 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: F0 09 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: F0 09 00 4B 17 00 55 2C 6E 66 8C 55 28 65 1D [00:05:35]Malloc new data [00:05:35]Malloc new data [00:05:35]wFMCommunicate request_size=4 [00:05:35]MH_SAM_APDU [00:05:35]CAPDU: 80 11 00 00 [00:05:35]Write to MH i2c: E2 08 00 4C 17 80 11 00 00 00 00 00 00 DD [00:05:35]Write i2c OK [00:05:35]MH_I2C_Read... [00:05:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:35]Read from MH i2c: E2 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 17 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 17 00 4C 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2F [00:05:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:05:35]wFMCommunicate OK [00:05:35]SAM_PROTO_GetFieldsCounters [00:05:35]wFMCommunicate request_size=4 [00:05:35]MH_SAM_APDU [00:05:35]CAPDU: 80 13 00 00 [00:05:35]Write to MH i2c: E2 08 00 4D 17 80 13 00 00 00 00 00 00 E0 [00:05:35]OFD Sender: No OFD packet to send [00:05:35]Write i2c OK [00:05:35]MH_I2C_Read... [00:05:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:35]Read from MH i2c: E2 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 62 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 62 00 4D 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 6A [00:05:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:05:36]wFMCommunicate OK [00:05:36]SAM_PROTO_GetFieldsCounters done [00:05:36]Malloc new data [00:05:36]Malloc new data [00:05:36]Malloc new data [00:05:36]KKMCreateXReportDocument OK [00:05:36]KKMSetXReportData OK [00:05:36]KKMPrepareXReportFMData [00:05:36]SAM_PROTO_GetShiftData [00:05:36]wFMCommunicate request_size=4 [00:05:36]MH_SAM_APDU [00:05:36]CAPDU: 80 13 02 00 [00:05:36]Write to MH i2c: E2 08 00 4E 17 80 13 02 00 00 00 00 00 E3 [00:05:36]Write i2c OK [00:05:36]MH_I2C_Read... [00:05:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:36]Read from MH i2c: E2 [00:05:36]MH_I2C_Read... [00:05:36]Read from MH i2c: E2 FD 00 [00:05:36]MH_I2C_Read... [00:05:36]Read from MH i2c: E2 FD 00 4E 17 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 8A [00:05:36]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:05:36]wFMCommunicate OK [00:05:36]wFMCommunicate request_size=4 [00:05:36]MH_SAM_APDU [00:05:36]CAPDU: 80 17 00 00 [00:05:36]Write to MH i2c: E2 08 00 4F 17 80 17 00 00 00 00 00 00 E6 [00:05:36]Write i2c OK [00:05:36]MH_I2C_Read... [00:05:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:36]Read from MH i2c: E2 [00:05:36]MH_I2C_Read... [00:05:36]Read from MH i2c: E2 FD 00 [00:05:36]MH_I2C_Read... [00:05:36]Read from MH i2c: E2 FD 00 4F 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 08 [00:05:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:05:37]wFMCommunicate OK [00:05:37]wFMCommunicate request_size=4 [00:05:37]MH_SAM_APDU [00:05:37]CAPDU: 80 17 00 00 [00:05:37]Write to MH i2c: E2 08 00 50 17 80 17 00 00 00 00 00 00 E7 [00:05:37]Write i2c OK [00:05:37]MH_I2C_Read... [00:05:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:37]Read from MH i2c: E2 [00:05:37]MH_I2C_Read... [00:05:37]Read from MH i2c: E2 FD 00 [00:05:37]MH_I2C_Read... [00:05:37]Read from MH i2c: E2 FD 00 50 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 9E [00:05:37]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:05:37]wFMCommunicate OK [00:05:37]wFMCommunicate request_size=4 [00:05:37]MH_SAM_APDU [00:05:37]CAPDU: 80 17 00 00 [00:05:37]Write to MH i2c: E2 08 00 51 17 80 17 00 00 00 00 00 00 E8 [00:05:37]Write i2c OK [00:05:37]MH_I2C_Read... [00:05:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:37]Read from MH i2c: E2 [00:05:37]MH_I2C_Read... [00:05:37]Read from MH i2c: E2 FD 00 [00:05:37]MH_I2C_Read... [00:05:37]Read from MH i2c: E2 FD 00 51 17 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 5A [00:05:37]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:05:38]wFMCommunicate OK [00:05:38]wFMCommunicate request_size=4 [00:05:38]MH_SAM_APDU [00:05:38]CAPDU: 80 17 00 00 [00:05:38]Write to MH i2c: E2 08 00 52 17 80 17 00 00 00 00 00 00 E9 [00:05:38]Write i2c OK [00:05:38]MH_I2C_Read... [00:05:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:05:38]Read from MH i2c: E2 [00:05:38]MH_I2C_Read... [00:05:38]Read from MH i2c: E2 CB 00 [00:05:38]MH_I2C_Read... [00:05:38]Read from MH i2c: E2 CB 00 52 17 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D2 [00:05:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:38]wFMCommunicate OK [00:05:38]SAM_PROTO_GetShiftData done [00:05:38]1194 (1194) - счетчики итогов смены [00:05:38] 1134 (4) - 78 - количество чеков со всеми признаками расчетов [00:05:38] 1129 (155) - счетчики операций «приход» [00:05:38] 1135 (4) - 78 - количество чеков по признаку расчетов [00:05:38] 1201 (3) - 22497.79 - общая итоговая сумма в чеках [00:05:38] 1136 (3) - 16487.00 - итоговая сумма в чеках наличными [00:05:38] 1138 (3) - 6010.79 - итоговая сумма в чеках безналичными [00:05:38] 1024 (122) - суммы налогов [00:05:38] 1006 (9) - суммы НДС [00:05:38] 1010 (1) - 0% - код ставки НДС [00:05:38] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:38] 1006 (12) - суммы НДС [00:05:38] 1010 (1) - 12% - код ставки НДС [00:05:38] 1011 (3) - 2389.21 - сумма НДС по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 0% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (11) - суммы НСП [00:05:38] 1014 (1) - 1% - код ставки НСП [00:05:38] 1015 (2) - 198.99 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 2% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 3% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 5% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 0,50% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 1,50% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1130 (141) - счетчики операций «возврат прихода» [00:05:38] 1135 (4) - 0 - количество чеков по признаку расчетов [00:05:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:05:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:05:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:05:38] 1024 (117) - суммы налогов [00:05:38] 1006 (9) - суммы НДС [00:05:38] 1010 (1) - 0% - код ставки НДС [00:05:38] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:38] 1006 (9) - суммы НДС [00:05:38] 1010 (1) - 12% - код ставки НДС [00:05:38] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 0% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 1% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 2% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 3% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 5% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 0,50% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 1,50% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1131 (141) - счетчики операций «расход» [00:05:38] 1135 (4) - 0 - количество чеков по признаку расчетов [00:05:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:05:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:05:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:05:38] 1024 (117) - суммы налогов [00:05:38] 1006 (9) - суммы НДС [00:05:38] 1010 (1) - 0% - код ставки НДС [00:05:38] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:38] 1006 (9) - суммы НДС [00:05:38] 1010 (1) - 12% - код ставки НДС [00:05:38] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 0% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 1% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 2% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 3% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 5% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 0,50% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 1,50% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1132 (141) - счетчики операций «возврат расхода» [00:05:38] 1135 (4) - 0 - количество чеков по признаку расчетов [00:05:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:05:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:05:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:05:38] 1024 (117) - суммы налогов [00:05:38] 1006 (9) - суммы НДС [00:05:38] 1010 (1) - 0% - код ставки НДС [00:05:38] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:38] 1006 (9) - суммы НДС [00:05:38] 1010 (1) - 12% - код ставки НДС [00:05:38] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 0% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 1% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 2% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 3% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 5% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 0,50% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1007 (9) - суммы НСП [00:05:38] 1014 (1) - 1,50% - код ставки НСП [00:05:38] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:38] 1133 (588) - - счетчики коррекции - не используются [00:05:38]SetTLVBufToDocument [00:05:38]Processing tag 1194 (04AA) [00:05:38]Load OK [00:05:38]SetTLVBufToDocument [00:05:38]Processing tag 1134 (046E) [00:05:38]Malloc new data [00:05:38]Processing tag 1129 (0469) [00:05:38]Load OK [00:05:38]SetTLVBufToDocument [00:05:38]Processing tag 1135 (046F) [00:05:38]Malloc new data [00:05:38]Processing tag 1201 (04B1) [00:05:38]Malloc new data [00:05:38]Processing tag 1136 (0470) [00:05:38]Malloc new data [00:05:38]Processing tag 1138 (0472) [00:05:38]Malloc new data [00:05:38]Processing tag 1024 (0400) [00:05:38]Load OK [00:05:38]SetTLVBufToDocument [00:05:38]Processing tag 1006 (03EE) [00:05:38]Load OK [00:05:38]SetTLVBufToDocument [00:05:38]Processing tag 1010 (03F2) [00:05:38]Malloc new data [00:05:38]Processing tag 1011 (03F3) [00:05:38]Malloc new data [00:05:38]SetTLVBufToDocument err=0 [00:05:38]Processing tag 1006 (03EE) [00:05:38]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1010 (03F2) [00:05:39]Malloc new data [00:05:39]Processing tag 1011 (03F3) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1130 (046A) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1135 (046F) [00:05:39]Malloc new data [00:05:39]Processing tag 1201 (04B1) [00:05:39]Malloc new data [00:05:39]Processing tag 1136 (0470) [00:05:39]Malloc new data [00:05:39]Processing tag 1138 (0472) [00:05:39]Malloc new data [00:05:39]Processing tag 1024 (0400) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1006 (03EE) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1010 (03F2) [00:05:39]Malloc new data [00:05:39]Processing tag 1011 (03F3) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1006 (03EE) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1010 (03F2) [00:05:39]Malloc new data [00:05:39]Processing tag 1011 (03F3) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1131 (046B) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1135 (046F) [00:05:39]Malloc new data [00:05:39]Processing tag 1201 (04B1) [00:05:39]Malloc new data [00:05:39]Processing tag 1136 (0470) [00:05:39]Malloc new data [00:05:39]Processing tag 1138 (0472) [00:05:39]Malloc new data [00:05:39]Processing tag 1024 (0400) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1006 (03EE) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1010 (03F2) [00:05:39]Malloc new data [00:05:39]Processing tag 1011 (03F3) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1006 (03EE) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1010 (03F2) [00:05:39]Malloc new data [00:05:39]Processing tag 1011 (03F3) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1132 (046C) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1135 (046F) [00:05:39]Malloc new data [00:05:39]Processing tag 1201 (04B1) [00:05:39]Malloc new data [00:05:39]Processing tag 1136 (0470) [00:05:39]Malloc new data [00:05:39]Processing tag 1138 (0472) [00:05:39]Malloc new data [00:05:39]Processing tag 1024 (0400) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1006 (03EE) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1010 (03F2) [00:05:39]Malloc new data [00:05:39]Processing tag 1011 (03F3) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1006 (03EE) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1010 (03F2) [00:05:39]Malloc new data [00:05:39]Processing tag 1011 (03F3) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1007 (03EF) [00:05:39]Load OK [00:05:39]SetTLVBufToDocument [00:05:39]Processing tag 1014 (03F6) [00:05:39]Malloc new data [00:05:39]Processing tag 1015 (03F7) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Processing tag 1133 (046D) [00:05:39]Malloc new data [00:05:39]SetTLVBufToDocument err=0 [00:05:39]SetTLVBufToDocument err=0 [00:05:39]Malloc new data [00:05:39]SAM_PROTO_GetFMData [00:05:39]wFMCommunicate request_size=4 [00:05:39]MH_SAM_APDU [00:05:39]CAPDU: 80 13 03 00 [00:05:39]Write to MH i2c: E2 08 00 53 17 80 13 03 00 00 00 00 00 E9 [00:05:39]Write i2c OK [00:05:39]MH_I2C_Read... [00:05:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:40]Read from MH i2c: E2 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 FD 00 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 FD 00 53 17 00 C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 72 [00:05:40]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 [00:05:40]wFMCommunicate OK [00:05:40]wFMCommunicate request_size=4 [00:05:40]MH_SAM_APDU [00:05:40]CAPDU: 80 17 00 00 [00:05:40]Write to MH i2c: E2 08 00 54 17 80 17 00 00 00 00 00 00 EB [00:05:40]Write i2c OK [00:05:40]MH_I2C_Read... [00:05:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:40]Read from MH i2c: E2 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 FD 00 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 FD 00 54 17 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 F6 [00:05:40]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 [00:05:40]wFMCommunicate OK [00:05:40]wFMCommunicate request_size=4 [00:05:40]MH_SAM_APDU [00:05:40]CAPDU: 80 17 00 00 [00:05:40]Write to MH i2c: E2 08 00 55 17 80 17 00 00 00 00 00 00 EC [00:05:40]Write i2c OK [00:05:40]MH_I2C_Read... [00:05:40]OFD Sender: No OFD packet to send [00:05:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:41]Read from MH i2c: E2 [00:05:41]MH_I2C_Read... [00:05:41]Read from MH i2c: E2 FD 00 [00:05:41]MH_I2C_Read... [00:05:41]Read from MH i2c: E2 FD 00 55 17 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0A [00:05:41]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:05:41]wFMCommunicate OK [00:05:41]wFMCommunicate request_size=4 [00:05:41]MH_SAM_APDU [00:05:41]CAPDU: 80 17 00 00 [00:05:41]Write to MH i2c: E2 08 00 56 17 80 17 00 00 00 00 00 00 ED [00:05:41]Write i2c OK [00:05:41]MH_I2C_Read... [00:05:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:41]Read from MH i2c: E2 [00:05:41]MH_I2C_Read... [00:05:41]Read from MH i2c: E2 FD 00 [00:05:41]MH_I2C_Read... [00:05:41]Read from MH i2c: E2 FD 00 56 17 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5F [00:05:41]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:05:41]wFMCommunicate OK [00:05:41]wFMCommunicate request_size=4 [00:05:41]MH_SAM_APDU [00:05:41]CAPDU: 80 17 00 00 [00:05:41]Write to MH i2c: E2 08 00 57 17 80 17 00 00 00 00 00 00 EE [00:05:41]Write i2c OK [00:05:41]MH_I2C_Read... [00:05:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:05:42]Read from MH i2c: E2 [00:05:42]MH_I2C_Read... [00:05:42]Read from MH i2c: E2 E0 00 [00:05:42]MH_I2C_Read... [00:05:42]Read from MH i2c: E2 E0 00 57 17 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D8 [00:05:42]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:42]wFMCommunicate OK [00:05:42]SAM_PROTO_GetFMData done [00:05:42]FM_GetFMData:85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:05:42]oper:6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:05:43]total:8C 7E 23 25 [00:05:43]Malloc new data [00:05:43]oper:6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 [00:05:43]total:C0 49 AA [00:05:43]Malloc new data [00:05:43]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:05:43]total: [00:05:43]Malloc new data [00:05:43]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:05:43]total: [00:05:43]Malloc new data [00:05:43]KKMPrepareXReportFMData err=0 [00:05:43]Х отчет ИНН: 02508201610067 Кассир: Чоро у. К. 16.06.2024 00:05 Смена: 266 РНМ: 0000000000099755 ЗНМ: 0300000200 СНО: Общий режим Всего чеков: 78 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 22497.79 Итого наличными: 16487.00 Итого безнал.: 6010.79 НДС 0% : 0.00 НДС 12% : 2389.21 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 198.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Общий итог: 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 Нал. в кассе: 16487.00 НС Приход: 6230831.48 НС Возвр.Прихода: 111600.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965344 [00:05:43]StoreToDocumentArchive [00:05:43]MH_GetDate [00:05:43]Write to MH i2c: F0 00 00 58 17 5E [00:05:43]Write i2c OK [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: F0 [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: F0 09 00 [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: F0 09 00 58 17 00 5C 2C 6E 66 8C 55 28 65 31 [00:05:43]shift 266 fd 1718496348 [00:05:43]Create dir for shift 0266 [00:05:43]save to /storage/0266/doc_1718496348 [00:05:43]save last doc name /storage/0266/doc_1718496348 to /storage/kkm_last_doc_name [00:05:43]save OK [00:05:43]Clear old archive folders... [00:05:43]NVStorageSaveData kkm_last_timestamp [00:05:43]File name is /storage/kkm_last_timestamp [00:05:43]Write 4 bytes [00:05:43]NVStorageSaveData done [00:05:43]ExternCall_PrintAddStr [00:05:43]wPrintStart [00:05:43]Write to MH i2c: 01 00 00 59 17 70 [00:05:43]Write i2c OK [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: 01 [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: 01 07 00 [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: 01 07 00 59 17 00 00 00 00 00 FF 0F 85 [00:05:43]RasterBufferAndPrint [00:05:43]line Х отчет [00:05:43]line ИНН: 02508201610067 [00:05:43]line Кассир: Чоро у. К. [00:05:43]line 16.06.2024 00:05 [00:05:43]line Смена: 266 [00:05:43]line РНМ: 0000000000099755 [00:05:43]line ЗНМ: 0300000200 [00:05:43]line СНО: Общий режим [00:05:43]line Всего чеков: 78 [00:05:43]line ИТОГИ ПРИХОД [00:05:43]line Чеков: 78 [00:05:43]line Общий итог: 22497.79 [00:05:43]line Итого наличными: 16487.00 [00:05:43]line Итого безнал.: 6010.79 [00:05:43]line НДС 0% : 0.00 [00:05:43]line НДС 12% : 2389.21 [00:05:43]line НСП 0% : 0.00 [00:05:43]line НСП 1,50% : 0.00 [00:05:43]line НСП 0,50% : 0.00 [00:05:43]line НСП 5% : 0.00 [00:05:43]line НСП 3% : 0.00 [00:05:43]line НСП 2% : 0.00 [00:05:43]line НСП 1% : 198.99 [00:05:43]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:05:43]line Чеков: 0 [00:05:43]line Общий итог: 0.00 [00:05:43]line Итого наличными: 0.00 [00:05:43]line Итого безнал.: 0.00 [00:05:43]line НДС 0% : 0.00 [00:05:43]line НДС 12% : 0.00 [00:05:43]line НСП 0% : 0.00 [00:05:43]line НСП 1,50% : 0.00 [00:05:43]line НСП 0,50% : 0.00 [00:05:43]line НСП 5% : 0.00 [00:05:43]line НСП 3% : 0.00 [00:05:43]line НСП 2% : 0.00 [00:05:43]line НСП 1% : 0.00 [00:05:43]line ИТОГИ РАСХОД [00:05:43]line Чеков: 0 [00:05:43]line Общий итог: 0.00 [00:05:43]line Итого наличными: 0.00 [00:05:43]line Итого безнал.: 0.00 [00:05:43]line НДС 0% : 0.00 [00:05:43]line НДС 12% : 0.00 [00:05:43]line НСП 0% : 0.00 [00:05:43]line НСП 1,50% : 0.00 [00:05:43]line НСП 0,50% : 0.00 [00:05:43]line НСП 5% : 0.00 [00:05:43]line НСП 3% : 0.00 [00:05:43]line НСП 2% : 0.00 [00:05:43]line НСП 1% : 0.00 [00:05:43]line ИТОГИ ВОЗВРАТ РАСХОДА [00:05:43]line Чеков: 0 [00:05:43]line Общий итог: 0.00 [00:05:43]line Итого наличными: 0.00 [00:05:43]line Итого безнал.: 0.00 [00:05:43]line НДС 0% : 0.00 [00:05:43]line НДС 12% : 0.00 [00:05:43]line НСП 0% : 0.00 [00:05:43]line НСП 1,50% : 0.00 [00:05:43]line НСП 0,50% : 0.00 [00:05:43]line НСП 5% : 0.00 [00:05:43]line НСП 3% : 0.00 [00:05:43]line НСП 2% : 0.00 [00:05:43]line НСП 1% : 0.00 [00:05:43]line Сумма внесений: 0.00 [00:05:43]line Сумма выплат: 0.00 [00:05:43]line Нал. в кассе: 16487.00 [00:05:43]line НС Приход: 6230831.48 [00:05:43]line НС Возвр.Прихода: 111600.00 [00:05:43]line НС Расход: 0.00 [00:05:43]line НС Возвр.Расхода: 0.00 [00:05:43]line ФМ: 0000000000965344 [00:05:43]written 0, free lines is 4095 [00:05:44]Write to MH i2c: 01 00 00 A4 17 BB [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: 01 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: 01 07 00 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: 01 07 00 A4 17 00 00 00 00 00 19 0B E6 [00:05:44]RasterBufferAndPrint [00:05:44]line [00:05:44]line [00:05:44]line [00:05:44]line [00:05:44]line [00:05:44]written 0, free lines is 2877 [00:05:44]MH_Cut [00:05:44]Write to MH i2c: D1 01 00 AB 17 01 94 [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: D1 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: D1 01 00 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: D1 01 00 AB 17 00 93 [00:05:44]Write to MH i2c: 01 00 00 AC 17 C3 [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:45]*** Cut start [00:05:45]*** Partial cut [00:05:45]*** CUTSNS_PIN = 1 [00:05:45]*** CUTSNS_PIN = 0 [00:05:45]*** Brake cut motor [00:05:45]Read from MH i2c: 01 [00:05:45]MH_I2C_Read... [00:05:45]*** Stop cut motor [00:05:45]*** Cut end [00:05:45]Read from MH i2c: 01 07 00 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: 01 07 00 AC 17 00 00 00 00 00 FF 0F D8 [00:05:45]process_action x_report done [00:05:45]requested_data is exist [00:05:45]produce_requested_data [00:05:45]requested_item fd.num is exist - process it [00:05:45]SAM_PROTO_GetFieldsCounters [00:05:45]wFMCommunicate request_size=4 [00:05:45]MH_SAM_APDU [00:05:45]CAPDU: 80 13 00 00 [00:05:45]Write to MH i2c: E2 08 00 AD 17 80 13 00 00 00 00 00 00 40 [00:05:45]Write i2c OK [00:05:45]MH_I2C_Read... [00:05:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:45]OFD Sender: No OFD packet to send [00:05:45]Read from MH i2c: E2 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 62 00 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 62 00 AD 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 CA [00:05:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:05:46]wFMCommunicate OK [00:05:46]SAM_PROTO_GetFieldsCounters done [00:05:46]requested_item shift.num is exist - process it [00:05:46]requested_item shift.opened is exist - process it [00:05:46]req_shift_opened [00:05:46]FM_GetShiftState [00:05:46]SAM_PROTO_GetShiftState [00:05:46]wFMCommunicate request_size=4 [00:05:46]MH_SAM_APDU [00:05:46]CAPDU: 80 13 01 00 [00:05:46]Write to MH i2c: E2 08 00 AE 17 80 13 01 00 00 00 00 00 42 [00:05:46]Write i2c OK [00:05:46]MH_I2C_Read... [00:05:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:46]Read from MH i2c: E2 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 0E 00 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 0E 00 AE 17 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 16 [00:05:46]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [00:05:46]wFMCommunicate OK [00:05:46]SAM_PROTO_GetShiftState done [00:05:46]FM_GetShiftState done [00:05:46]req_shift_opened done [00:05:46]requested_item shift.open_date is exist - process it [00:05:46]req_shift_open_date [00:05:46]req_shift_open_date done [00:05:46]produce_requested_data done [00:05:46]produce_requested_data return {"fd.num":22233,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [00:05:46]process_action_free x_report [00:05:46]json_value_free [00:05:46]json_value_free done [00:05:46]process_json_proto returns [00:05:46]Send response to host [00:05:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22233,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [00:05:46]free response buf [00:05:46]execute_script done [00:05:46]execute_script returns [00:05:46]free content buf [00:05:46]Sock 9.Close socket [00:05:46]Sock 9.Thread stoped [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:17]accept exits with 8 [00:06:17]New connection [00:06:17]New thread 3066838372 created [00:06:17]Thread 3066695012 joined [00:06:17]Waiting for new connection... [00:06:17] Sock 8.Parse request [00:06:17]Sock 8.Check first char [00:06:17]Sock 8.First char is OK [00:06:17]request: POST /json_proto HTTP/1.0 [00:06:17]Method: POST [00:06:17]URL: /json_proto [00:06:17]Method is POST - this is cgi request [00:06:17]url: /json_proto [00:06:17]query_string will be loaded in cgi processing [00:06:17]execute_cgi json_proto POST (null) [00:06:17]execute_cgi path=json_proto method=POST [00:06:17]POST find Content-Length [00:06:17]Host: 172.17.35.133:8080 [00:06:17]Content-Length: 215 [00:06:17]Content-Type: application/json [00:06:17] [00:06:17]POST finish read [00:06:17]Found Content-Length = 215 [00:06:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:17]execute_script... [00:06:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:17]POST & json_proto [00:06:17]process_json_proto [00:06:17]json parsed OK: [00:06:17]protocol is kg_v1.0 [00:06:17]action value=get_value [00:06:17]process_action get_value [00:06:17]cmd_get_value [00:06:17]process_action get_value done [00:06:17]requested_data is exist [00:06:17]produce_requested_data [00:06:17]requested_item kkm.sn is exist - process it [00:06:17]requested_item kkm.ver is exist - process it [00:06:17]requested_item fm.sn is exist - process it [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 11 00 00 [00:06:17]Write to MH i2c: E2 08 00 AF 17 80 11 00 00 00 00 00 00 40 [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 17 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 17 00 AF 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 92 [00:06:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:06:17]wFMCommunicate OK [00:06:17]requested_item fd.num is exist - process it [00:06:17]SAM_PROTO_GetFieldsCounters [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 13 00 00 [00:06:17]Write to MH i2c: E2 08 00 B0 17 80 13 00 00 00 00 00 00 43 [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 62 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 62 00 B0 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 CD [00:06:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 D9 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:17]wFMCommunicate OK [00:06:17]SAM_PROTO_GetFieldsCounters done [00:06:17]requested_item shift.num is exist - process it [00:06:17]requested_item shift.opened is exist - process it [00:06:17]req_shift_opened [00:06:17]FM_GetShiftState [00:06:17]SAM_PROTO_GetShiftState [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 13 01 00 [00:06:17]Write to MH i2c: E2 08 00 B1 17 80 13 01 00 00 00 00 00 45 [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 0E 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 0E 00 B1 17 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 19 [00:06:17]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [00:06:17]wFMCommunicate OK [00:06:17]SAM_PROTO_GetShiftState done [00:06:17]FM_GetShiftState done [00:06:17]req_shift_opened done [00:06:17]requested_item shift.open_date is exist - process it [00:06:17]req_shift_open_date [00:06:17]req_shift_open_date done [00:06:17]produce_requested_data done [00:06:17]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22233,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776} [00:06:17]process_action_free get_value [00:06:17]json_value_free [00:06:17]json_value_free done [00:06:17]process_json_proto returns [00:06:17]Send response to host [00:06:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22233,"shift.num":326,"shift.opened":1,"shift.open_date":1718410776}}} [00:06:17]free response buf [00:06:17]execute_script done [00:06:17]execute_script returns [00:06:17]free content buf [00:06:17]Sock 8.Close socket [00:06:17]Sock 8.Thread stoped [00:06:17]accept exits with 9 [00:06:17]New connection [00:06:17]New thread 3066695012 created [00:06:17]Thread 3066838372 joined [00:06:17]Waiting for new connection... [00:06:17] Sock 9.Parse request [00:06:17]Sock 9.Check first char [00:06:17]Sock 9.First char is OK [00:06:17]request: POST /json_proto HTTP/1.0 [00:06:17]Method: POST [00:06:17]URL: /json_proto [00:06:17]Method is POST - this is cgi request [00:06:17]url: /json_proto [00:06:17]query_string will be loaded in cgi processing [00:06:17]execute_cgi json_proto POST (null) [00:06:17]execute_cgi path=json_proto method=POST [00:06:17]POST find Content-Length [00:06:17]Host: 172.17.35.133:8080 [00:06:17]Content-Length: 331 [00:06:17]Content-Type: application/json [00:06:17] [00:06:17]POST finish read [00:06:17]Found Content-Length = 331 [00:06:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:17]execute_script... [00:06:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:17]POST & json_proto [00:06:17]process_json_proto [00:06:17]json parsed OK: [00:06:17]protocol is kg_v1.0 [00:06:17]action value=get_value [00:06:17]process_action get_value [00:06:17]cmd_get_value [00:06:17]process_action get_value done [00:06:17]requested_data is exist [00:06:17]produce_requested_data [00:06:17]requested_item fm.sale.total is exist - process it [00:06:17]SAM_PROTO_GetFMData [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 13 03 00 [00:06:17]Write to MH i2c: E2 08 00 B2 17 80 13 03 00 00 00 00 00 48 [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 B2 17 00 C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 D1 [00:06:18]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 [00:06:18]wFMCommunicate OK [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 17 00 00 [00:06:18]Write to MH i2c: E2 08 00 B3 17 80 17 00 00 00 00 00 00 4A [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 B3 17 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 55 [00:06:18]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 [00:06:18]wFMCommunicate OK [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 17 00 00 [00:06:18]Write to MH i2c: E2 08 00 B4 17 80 17 00 00 00 00 00 00 4B [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 B4 17 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 69 [00:06:18]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:18]wFMCommunicate OK [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 17 00 00 [00:06:18]Write to MH i2c: E2 08 00 B5 17 80 17 00 00 00 00 00 00 4C [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 B5 17 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BE [00:06:19]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:19]wFMCommunicate OK [00:06:19]wFMCommunicate request_size=4 [00:06:19]MH_SAM_APDU [00:06:19]CAPDU: 80 17 00 00 [00:06:19]Write to MH i2c: E2 08 00 B6 17 80 17 00 00 00 00 00 00 4D [00:06:19]Write i2c OK [00:06:19]MH_I2C_Read... [00:06:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:06:19]Read from MH i2c: E2 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 E0 00 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 E0 00 B6 17 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 37 [00:06:19]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:19]wFMCommunicate OK [00:06:19]SAM_PROTO_GetFMData done [00:06:19]requested_item fm.sale_refund.total is exist - process it [00:06:19]requested_item fm.buy.total is exist - process it [00:06:19]requested_item shift.sale.total is exist - process it [00:06:19]SAM_PROTO_GetShiftData [00:06:19]wFMCommunicate request_size=4 [00:06:19]MH_SAM_APDU [00:06:19]CAPDU: 80 13 02 00 [00:06:19]Write to MH i2c: E2 08 00 B7 17 80 13 02 00 00 00 00 00 4C [00:06:19]Write i2c OK [00:06:19]MH_I2C_Read... [00:06:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:19]Read from MH i2c: E2 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 FD 00 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 FD 00 B7 17 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F3 [00:06:19]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:06:19]wFMCommunicate OK [00:06:19]wFMCommunicate request_size=4 [00:06:19]MH_SAM_APDU [00:06:19]CAPDU: 80 17 00 00 [00:06:19]Write to MH i2c: E2 08 00 B8 17 80 17 00 00 00 00 00 00 4F [00:06:19]Write i2c OK [00:06:19]MH_I2C_Read... [00:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:20]Read from MH i2c: E2 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 B8 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 71 [00:06:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:06:20]wFMCommunicate OK [00:06:20]wFMCommunicate request_size=4 [00:06:20]MH_SAM_APDU [00:06:20]CAPDU: 80 17 00 00 [00:06:20]Write to MH i2c: E2 08 00 B9 17 80 17 00 00 00 00 00 00 50 [00:06:20]Write i2c OK [00:06:20]MH_I2C_Read... [00:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:20]Read from MH i2c: E2 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 B9 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 07 [00:06:20]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:06:20]wFMCommunicate OK [00:06:20]wFMCommunicate request_size=4 [00:06:20]MH_SAM_APDU [00:06:20]CAPDU: 80 17 00 00 [00:06:20]Write to MH i2c: E2 08 00 BA 17 80 17 00 00 00 00 00 00 51 [00:06:20]Write i2c OK [00:06:20]MH_I2C_Read... [00:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:20]Read from MH i2c: E2 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 BA 17 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C3 [00:06:21]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:06:21]wFMCommunicate OK [00:06:21]wFMCommunicate request_size=4 [00:06:21]MH_SAM_APDU [00:06:21]CAPDU: 80 17 00 00 [00:06:21]Write to MH i2c: E2 08 00 BB 17 80 17 OFD Sender: No OFD packet to send [00:06:21]00 00 00 00 00 00 52 [00:06:21]Write i2c OK [00:06:21]MH_I2C_Read... [00:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:06:21]Read from MH i2c: E2 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 CB 00 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 CB 00 BB 17 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3B [00:06:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:21]wFMCommunicate OK [00:06:21]SAM_PROTO_GetShiftData done [00:06:21]requested_item shift.sale.total_cash is exist - process it [00:06:21]requested_item shift.sale_refund.total is exist - process it [00:06:21]requested_item shift.sale_refund.total_cash is exist - process it [00:06:21]requested_item shift.buy.total is exist - process it [00:06:21]requested_item shift.buy.total_cash is exist - process it [00:06:21]produce_requested_data done [00:06:21]produce_requested_data return {"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:06:21]process_action_free get_value [00:06:21]json_value_free [00:06:21]json_value_free done [00:06:21]process_json_proto returns [00:06:21]Send response to host [00:06:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:06:21]free response buf [00:06:21]execute_script done [00:06:21]execute_script returns [00:06:21]free content buf [00:06:21]Sock 9.Close socket [00:06:21]Sock 9.Thread stoped [00:06:21]accept exits with 8 [00:06:21]New connection [00:06:21]New thread 3066838372 created [00:06:21]Thread 3066695012 joined [00:06:21]Waiting for new connection... [00:06:21] Sock 8.Parse request [00:06:21]Sock 8.Check first char [00:06:21]Sock 8.First char is OK [00:06:21]request: POST /json_proto HTTP/1.0 [00:06:21]Method: POST [00:06:21]URL: /json_proto [00:06:21]Method is POST - this is cgi request [00:06:21]url: /json_proto [00:06:21]query_string will be loaded in cgi processing [00:06:21]execute_cgi json_proto POST (null) [00:06:21]execute_cgi path=json_proto method=POST [00:06:21]POST find Content-Length [00:06:21]Host: 172.17.35.133:8080 [00:06:21]Content-Length: 331 [00:06:21]Content-Type: application/json [00:06:21] [00:06:21]POST finish read [00:06:21]Found Content-Length = 331 [00:06:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:21]execute_script... [00:06:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:21]POST & json_proto [00:06:21]process_json_proto [00:06:21]json parsed OK: [00:06:21]protocol is kg_v1.0 [00:06:21]action value=get_value [00:06:21]process_action get_value [00:06:21]cmd_get_value [00:06:21]process_action get_value done [00:06:21]requested_data is exist [00:06:21]produce_requested_data [00:06:21]requested_item fm.sale.total is exist - process it [00:06:21]SAM_PROTO_GetFMData [00:06:21]wFMCommunicate request_size=4 [00:06:21]MH_SAM_APDU [00:06:21]CAPDU: 80 13 03 00 [00:06:21]Write to MH i2c: E2 08 00 BC 17 80 13 03 00 00 00 00 00 52 [00:06:21]Write i2c OK [00:06:21]MH_I2C_Read... [00:06:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:21]Read from MH i2c: E2 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 FD 00 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 FD 00 BC 17 00 C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 DB [00:06:21]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 [00:06:22]wFMCommunicate OK [00:06:22]wFMCommunicate request_size=4 [00:06:22]MH_SAM_APDU [00:06:22]CAPDU: 80 17 00 00 [00:06:22]Write to MH i2c: E2 08 00 BD 17 80 17 00 00 00 00 00 00 54 [00:06:22]Write i2c OK [00:06:22]MH_I2C_Read... [00:06:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:22]Read from MH i2c: E2 [00:06:22]MH_I2C_Read... [00:06:22]Read from MH i2c: E2 FD 00 [00:06:22]MH_I2C_Read... [00:06:22]Read from MH i2c: E2 FD 00 BD 17 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 5F [00:06:22]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 [00:06:22]wFMCommunicate OK [00:06:22]wFMCommunicate request_size=4 [00:06:22]MH_SAM_APDU [00:06:22]CAPDU: 80 17 00 00 [00:06:22]Write to MH i2c: E2 08 00 BE 17 80 17 00 00 00 00 00 00 55 [00:06:22]Write i2c OK [00:06:22]MH_I2C_Read... [00:06:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:22]Read from MH i2c: E2 [00:06:22]MH_I2C_Read... [00:06:22]Read from MH i2c: E2 FD 00 [00:06:22]MH_I2C_Read... [00:06:22]Read from MH i2c: E2 FD 00 BE 17 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 73 [00:06:22]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:22]wFMCommunicate OK [00:06:22]wFMCommunicate request_size=4 [00:06:22]MH_SAM_APDU [00:06:22]CAPDU: 80 17 00 00 [00:06:22]Write to MH i2c: E2 08 00 BF 17 80 17 00 00 00 00 00 00 56 [00:06:22]Write i2c OK [00:06:22]MH_I2C_Read... [00:06:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:23]Read from MH i2c: E2 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 FD 00 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 FD 00 BF 17 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C8 [00:06:23]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:23]wFMCommunicate OK [00:06:23]wFMCommunicate request_size=4 [00:06:23]MH_SAM_APDU [00:06:23]CAPDU: 80 17 00 00 [00:06:23]Write to MH i2c: E2 08 00 C0 17 80 17 00 00 00 00 00 00 57 [00:06:23]Write i2c OK [00:06:23]MH_I2C_Read... [00:06:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:06:23]Read from MH i2c: E2 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 E0 00 [00:06:23]MH_I2C_Read... [00:06:23]Read from MH i2c: E2 E0 00 C0 17 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 41 [00:06:23]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:23]wFMCommunicate OK [00:06:23]SAM_PROTO_GetFMData done [00:06:23]requested_item fm.sale_refund.total is exist - process it [00:06:23]requested_item fm.buy.total is exist - process it [00:06:23]requested_item shift.sale.total is exist - process it [00:06:23]SAM_PROTO_GetShiftData [00:06:23]wFMCommunicate request_size=4 [00:06:23]MH_SAM_APDU [00:06:23]CAPDU: 80 13 02 00 [00:06:23]Write to MH i2c: E2 08 00 C1 17 80 13 02 00 00 00 00 00 56 [00:06:23]Write i2c OK [00:06:23]MH_I2C_Read... [00:06:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:24]Read from MH i2c: E2 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 FD 00 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 FD 00 C1 17 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 FD [00:06:24]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:06:24]wFMCommunicate OK [00:06:24]wFMCommunicate request_size=4 [00:06:24]MH_SAM_APDU [00:06:24]CAPDU: 80 17 00 00 [00:06:24]Write to MH i2c: E2 08 00 C2 17 80 17 00 00 00 00 00 00 59 [00:06:24]Write i2c OK [00:06:24]MH_I2C_Read... [00:06:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:24]Read from MH i2c: E2 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 FD 00 [00:06:24]MH_I2C_Read... [00:06:24]Read from MH i2c: E2 FD 00 C2 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 7B [00:06:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:06:24]wFMCommunicate OK [00:06:24]wFMCommunicate request_size=4 [00:06:24]MH_SAM_APDU [00:06:24]CAPDU: 80 17 00 00 [00:06:24]Write to MH i2c: E2 08 00 C3 17 80 17 00 00 00 00 00 00 5A [00:06:24]Write i2c OK [00:06:24]MH_I2C_Read... [00:06:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:25]Read from MH i2c: E2 [00:06:25]MH_I2C_Read... [00:06:25]Read from MH i2c: E2 FD 00 [00:06:25]MH_I2C_Read... [00:06:25]Read from MH i2c: E2 FD 00 C3 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 11 [00:06:25]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:06:25]wFMCommunicate OK [00:06:25]wFMCommunicate request_size=4 [00:06:25]MH_SAM_APDU [00:06:25]CAPDU: 80 17 00 00 [00:06:25]Write to MH i2c: E2 08 00 C4 17 80 17 00 00 00 00 00 00 5B [00:06:25]Write i2c OK [00:06:25]MH_I2C_Read... [00:06:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:25]Read from MH i2c: E2 [00:06:25]MH_I2C_Read... [00:06:25]Read from MH i2c: E2 FD 00 [00:06:25]MH_I2C_Read... [00:06:25]Read from MH i2c: E2 FD 00 C4 17 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 CD [00:06:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:06:25]wFMCommunicate OK [00:06:25]wFMCommunicate request_size=4 [00:06:25]MH_SAM_APDU [00:06:25]CAPDU: 80 17 00 00 [00:06:25]Write to MH i2c: E2 08 00 C5 17 80 17 00 00 00 00 00 00 5C [00:06:25]Write i2c OK [00:06:25]MH_I2C_Read... [00:06:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 CB 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 CB 00 C5 17 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 45 [00:06:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:26]wFMCommunicate OK [00:06:26]SAM_PROTO_GetShiftData done [00:06:26]requested_item shift.sale.total_cash is exist - process it [00:06:26]requested_item shift.sale_refund.total is exist - process it [00:06:26]requested_item shift.sale_refund.total_cash is exist - process it [00:06:26]requested_item shift.buy.total is exist - process it [00:06:26]requested_item shift.buy.total_cash is exist - process it [00:06:26]produce_requested_data done [00:06:26]produce_requested_data return {"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:06:26]process_action_free get_value [00:06:26]json_value_free [00:06:26]json_value_free done [00:06:26]process_json_proto returns [00:06:26]Send response to host [00:06:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:06:26]free response buf [00:06:26]execute_script done [00:06:26]execute_script returns [00:06:26]free content buf [00:06:26]Sock 8.Close socket [00:06:26]Sock 8.Thread stoped [00:06:26]OFD Sender: No OFD packet to send [00:06:26]accept exits with 9 [00:06:26]New connection [00:06:26]New thread 3066695012 created [00:06:26]Thread 3066838372 joined [00:06:26]Waiting for new connection... [00:06:26] Sock 9.Parse request [00:06:26]Sock 9.Check first char [00:06:26]Sock 9.First char is OK [00:06:26]request: POST /json_proto HTTP/1.0 [00:06:26]Method: POST [00:06:26]URL: /json_proto [00:06:26]Method is POST - this is cgi request [00:06:26]url: /json_proto [00:06:26]query_string will be loaded in cgi processing [00:06:26]execute_cgi json_proto POST (null) [00:06:26]execute_cgi path=json_proto method=POST [00:06:26]POST find Content-Length [00:06:26]Host: 172.17.35.133:8080 [00:06:26]Content-Length: 244 [00:06:26]Content-Type: application/json [00:06:26] [00:06:26]POST finish read [00:06:26]Found Content-Length = 244 [00:06:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0427\u043E\u0440\u043E \u0443. \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:26]execute_script... [00:06:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0427\u043E\u0440\u043E \u0443. \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:26]POST & json_proto [00:06:26]process_json_proto [00:06:26]json parsed OK: [00:06:26]protocol is kg_v1.0 [00:06:26]action value=close_shift [00:06:26]process_action close_shift [00:06:26]cmd_close_shift [00:06:26]MH_GetDate [00:06:26]Write to MH i2c: F0 00 00 C6 17 CC [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: F0 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: F0 09 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: F0 09 00 C6 17 00 87 2C 6E 66 8C 55 28 65 CA [00:06:26]GetLastDocTimeStamp 1718496341 [00:06:26]current date 1718496391 [00:06:26]FM_GetShiftState [00:06:26]SAM_PROTO_GetShiftState [00:06:26]wFMCommunicate request_size=4 [00:06:26]MH_SAM_APDU [00:06:26]CAPDU: 80 13 01 00 [00:06:26]Write to MH i2c: E2 08 00 C7 17 80 13 01 00 00 00 00 00 5B [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 0E 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 0E 00 C7 17 00 09 00 01 18 DE 6C 66 00 00 00 00 90 00 2F [00:06:26]RAPDU: 09 00 01 18 DE 6C 66 00 00 00 00 90 00 [00:06:26]wFMCommunicate OK [00:06:26]SAM_PROTO_GetShiftState done [00:06:26]FM_GetShiftState done [00:06:26]KKMCreateCloseShiftDocument [00:06:26]Load OK [00:06:26]Malloc new data [00:06:26]MH_GetDate [00:06:26]Write to MH i2c: F0 00 00 C8 17 CE [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: F0 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: F0 09 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: F0 09 00 C8 17 00 87 2C 6E 66 8C 55 28 65 CC [00:06:26]Malloc new data [00:06:26]Malloc new data [00:06:26]Malloc new data [00:06:26]Malloc new data [00:06:26]KKMCreateCloseShiftDocument OK [00:06:26]KKMSetCloseShiftData OK [00:06:26]ProcessDocumentItem done err = 0, tmpTLVsize=67 [00:06:26]tlvbuf is 0025B780 [00:06:26]KKMLoadAndSignCloseShiftData [00:06:26]SAM_PROTO_ProcessDocument [00:06:26]wFMCommunicate request_size=9 [00:06:26]MH_SAM_APDU [00:06:26]CAPDU: 80 15 01 00 04 05 00 43 00 [00:06:26]Write to MH i2c: E2 0C 00 C9 17 80 15 01 00 04 00 05 00 43 00 00 00 AF [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 C9 17 00 90 00 54 [00:06:26]RAPDU: 90 00 [00:06:26]wFMCommunicate OK [00:06:26]wFMCommunicate request_size=23 [00:06:26]MH_SAM_APDU [00:06:26]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:06:26]Write to MH i2c: E2 1A 00 CA 17 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 56 [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 CA 17 00 90 00 55 [00:06:26]RAPDU: 90 00 [00:06:26]wFMCommunicate OK [00:06:26]wFMCommunicate request_size=26 [00:06:26]MH_SAM_APDU [00:06:26]CAPDU: 80 15 02 00 15 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 [00:06:26]Write to MH i2c: E2 1D 00 CB 17 80 15 02 00 15 00 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 00 00 FB [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 CB 17 00 90 00 56 [00:06:26]RAPDU: 90 00 [00:06:26]wFMCommunicate OK [00:06:26]wFMCommunicate request_size=13 [00:06:26]MH_SAM_APDU [00:06:26]CAPDU: 80 15 02 00 08 F4 03 04 00 87 2C 6E 66 [00:06:26]Write to MH i2c: E2 10 00 CC 17 80 15 02 00 08 00 F4 03 04 00 87 2C 6E 66 00 00 F5 [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 CC 17 00 90 00 57 [00:06:26]RAPDU: 90 00 [00:06:26]wFMCommunicate OK [00:06:26]wFMCommunicate request_size=25 [00:06:26]MH_SAM_APDU [00:06:26]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 [00:06:26]Write to MH i2c: E2 1C 00 CD 17 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 00 00 D0 [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:26]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:26]Read from MH i2c: E2 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 [00:06:26]MH_I2C_Read... [00:06:26]Read from MH i2c: E2 03 00 CD 17 00 90 00 58 [00:06:26]RAPDU: 90 00 [00:06:26]wFMCommunicate OK [00:06:26]wFMCommunicate request_size=4 [00:06:26]MH_SAM_APDU [00:06:26]CAPDU: 80 15 03 00 [00:06:26]Write to MH i2c: E2 08 00 CE 17 80 15 03 00 00 00 00 00 66 [00:06:26]Write i2c OK [00:06:26]MH_I2C_Read... [00:06:27]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:06:27]Read from MH i2c: E2 [00:06:27]MH_I2C_Read... [00:06:27]Read from MH i2c: E2 FD 00 [00:06:27]MH_I2C_Read... [00:06:27]Read from MH i2c: E2 FD 00 CE 17 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DA 56 00 00 0E 04 04 00 46 01 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 C0 [00:06:27]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DA 56 00 00 0E 04 04 00 46 01 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:06:27]wFMCommunicate OK [00:06:27]SAM_PROTO_ProcessDocument answer len = 1265 [00:06:27]SAM_PROTO_ProcessDocument remain to read = 1017 [00:06:27]wFMCommunicate request_size=4 [00:06:27]MH_SAM_APDU [00:06:27]CAPDU: 80 17 00 00 [00:06:27]Write to MH i2c: E2 08 00 CF 17 80 17 00 00 00 00 00 00 66 [00:06:27]Write i2c OK [00:06:27]MH_I2C_Read... [00:06:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:27]Read from MH i2c: E2 [00:06:27]MH_I2C_Read... [00:06:27]Read from MH i2c: E2 FD 00 [00:06:27]MH_I2C_Read... [00:06:27]Read from MH i2c: E2 FD 00 CF 17 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AF [00:06:28]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:28]wFMCommunicate OK [00:06:28]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:06:28]SAM_PROTO_ProcessDocument remain to read = 767 [00:06:28]wFMCommunicate request_size=4 [00:06:28]MH_SAM_APDU [00:06:28]CAPDU: 80 17 00 00 [00:06:28]Write to MH i2c: E2 08 00 D0 17 80 17 00 00 00 00 00 00 67 [00:06:28]Write i2c OK [00:06:28]MH_I2C_Read... [00:06:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:28]Read from MH i2c: E2 [00:06:28]MH_I2C_Read... [00:06:28]Read from MH i2c: E2 FD 00 [00:06:28]MH_I2C_Read... [00:06:28]Read from MH i2c: E2 FD 00 D0 17 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C9 [00:06:28]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:28]wFMCommunicate OK [00:06:28]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:06:28]SAM_PROTO_ProcessDocument remain to read = 517 [00:06:28]wFMCommunicate request_size=4 [00:06:28]MH_SAM_APDU [00:06:28]CAPDU: 80 17 00 00 [00:06:28]Write to MH i2c: E2 08 00 D1 17 80 17 00 00 00 00 00 00 68 [00:06:28]Write i2c OK [00:06:28]MH_I2C_Read... [00:06:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:28]Read from MH i2c: E2 [00:06:28]MH_I2C_Read... [00:06:28]Read from MH i2c: E2 FD 00 [00:06:28]MH_I2C_Read... [00:06:28]Read from MH i2c: E2 FD 00 D1 17 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F2 [00:06:29]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:29]wFMCommunicate OK [00:06:29]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:06:29]SAM_PROTO_ProcessDocument remain to read = 267 [00:06:29]wFMCommunicate request_size=4 [00:06:29]MH_SAM_APDU [00:06:29]CAPDU: 80 17 00 00 [00:06:29]Write to MH i2c: E2 08 00 D2 17 80 17 00 00 00 00 00 00 69 [00:06:29]Write i2c OK [00:06:29]MH_I2C_Read... [00:06:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:29]Read from MH i2c: E2 [00:06:29]MH_I2C_Read... [00:06:29]Read from MH i2c: E2 FD 00 [00:06:29]MH_I2C_Read... [00:06:29]Read from MH i2c: E2 FD 00 D2 17 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 31 [00:06:29]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:29]wFMCommunicate OK [00:06:29]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:06:29]SAM_PROTO_ProcessDocument remain to read = 17 [00:06:29]wFMCommunicate request_size=4 [00:06:29]MH_SAM_APDU [00:06:29]CAPDU: 80 17 00 00 [00:06:29]Write to MH i2c: E2 08 00 D3 17 80 17 00 00 00 00 00 00 6A [00:06:29]Write i2c OK [00:06:29]MH_I2C_Read... [00:06:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:06:29]Read from MH i2c: E2 [00:06:29]MH_I2C_Read... [00:06:29]Read from MH i2c: E2 14 00 [00:06:29]MH_I2C_Read... [00:06:29]Read from MH i2c: E2 14 00 D3 17 00 01 00 06 F7 03 00 00 35 04 06 00 AC A2 98 CC 09 54 90 00 BE [00:06:29]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 AC A2 98 CC 09 54 90 00 [00:06:29]wFMCommunicate OK [00:06:29]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:06:29]SAM_PROTO_ProcessDocument done [00:06:29]1209 (1) - 1.0 - номер версии ФФД [00:06:29]1041 (16) - 0000000000965344 - номер ФМ [00:06:29]1040 (4) - 22234 - номер ФД [00:06:29]1038 (4) - 326 - номер смены [00:06:29]1118 (4) - 78 - количество кассовых чеков за смену [00:06:29]1111 (4) - 80 - общее количество ФД за смену [00:06:29]1194 (1194) - счетчики итогов смены [00:06:29] 1134 (4) - 78 - количество чеков со всеми признаками расчетов [00:06:29] 1129 (155) - счетчики операций «приход» [00:06:29] 1135 (4) - 78 - количество чеков по признаку расчетов [00:06:29] 1201 (3) - 22497.79 - общая итоговая сумма в чеках [00:06:29] 1136 (3) - 16487.00 - итоговая сумма в чеках наличными [00:06:29] 1138 (3) - 6010.79 - итоговая сумма в чеках безналичными [00:06:29] 1024 (122) - суммы налогов [00:06:29] 1006 (9) - суммы НДС [00:06:29] 1010 (1) - 0% - код ставки НДС [00:06:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:29] 1006 (12) - суммы НДС [00:06:29] 1010 (1) - 12% - код ставки НДС [00:06:29] 1011 (3) - 2389.21 - сумма НДС по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 0% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:29] 1007 (11) - суммы НСП [00:06:29] 1014 (1) - 1% - код ставки НСП [00:06:29] 1015 (2) - 198.99 - сумма НСП по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 2% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 3% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 5% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 0,50% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 1,50% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:29] 1130 (141) - счетчики операций «возврат прихода» [00:06:29] 1135 (4) - 0 - количество чеков по признаку расчетов [00:06:29] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:06:29] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:06:29] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:06:29] 1024 (117) - суммы налогов [00:06:29] 1006 (9) - суммы НДС [00:06:29] 1010 (1) - 0% - код ставки НДС [00:06:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:29] 1006 (9) - суммы НДС [00:06:29] 1010 (1) - 12% - код ставки НДС [00:06:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 0% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 1% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:29] 1007 (9) - суммы НСП [00:06:29] 1014 (1) - 2% - код ставки НСП [00:06:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 3% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 5% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 0,50% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 1,50% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1131 (141) - счетчики операций «расход» [00:06:30] 1135 (4) - 0 - количество чеков по признаку расчетов [00:06:30] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:06:30] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:06:30] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:06:30] 1024 (117) - суммы налогов [00:06:30] 1006 (9) - суммы НДС [00:06:30] 1010 (1) - 0% - код ставки НДС [00:06:30] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:30] 1006 (9) - суммы НДС [00:06:30] 1010 (1) - 12% - код ставки НДС [00:06:30] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 0% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 1% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 2% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 3% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 5% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 0,50% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 1,50% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1132 (141) - счетчики операций «возврат расхода» [00:06:30] 1135 (4) - 0 - количество чеков по признаку расчетов [00:06:30] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:06:30] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:06:30] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:06:30] 1024 (117) - суммы налогов [00:06:30] 1006 (9) - суммы НДС [00:06:30] 1010 (1) - 0% - код ставки НДС [00:06:30] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:30] 1006 (9) - суммы НДС [00:06:30] 1010 (1) - 12% - код ставки НДС [00:06:30] 1011 (0) - 0.00 - сумма НДС по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 0% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 1% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 2% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 3% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 5% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 0,50% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1007 (9) - суммы НСП [00:06:30] 1014 (1) - 1,50% - код ставки НСП [00:06:30] 1015 (0) - 0.00 - сумма НСП по ставке [00:06:30] 1133 (588) - - счетчики коррекции - не используются [00:06:30]1077 (6) - 189814348187988 - ФПД [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1209 (04B9) [00:06:30]Malloc new data [00:06:30]Processing tag 1041 (0411) [00:06:30]Processing tag 1040 (0410) [00:06:30]Malloc new data [00:06:30]Processing tag 1038 (040E) [00:06:30]Malloc new data [00:06:30]Processing tag 1118 (045E) [00:06:30]Malloc new data [00:06:30]Processing tag 1111 (0457) [00:06:30]Malloc new data [00:06:30]Processing tag 1194 (04AA) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1134 (046E) [00:06:30]Malloc new data [00:06:30]Processing tag 1129 (0469) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1135 (046F) [00:06:30]Malloc new data [00:06:30]Processing tag 1201 (04B1) [00:06:30]Malloc new data [00:06:30]Processing tag 1136 (0470) [00:06:30]Malloc new data [00:06:30]Processing tag 1138 (0472) [00:06:30]Malloc new data [00:06:30]Processing tag 1024 (0400) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1006 (03EE) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1010 (03F2) [00:06:30]Malloc new data [00:06:30]Processing tag 1011 (03F3) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1006 (03EE) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1010 (03F2) [00:06:30]Malloc new data [00:06:30]Processing tag 1011 (03F3) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]SetTLVBufToDocument err=0 [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1130 (046A) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1135 (046F) [00:06:30]Malloc new data [00:06:30]Processing tag 1201 (04B1) [00:06:30]Malloc new data [00:06:30]Processing tag 1136 (0470) [00:06:30]Malloc new data [00:06:30]Processing tag 1138 (0472) [00:06:30]Malloc new data [00:06:30]Processing tag 1024 (0400) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1006 (03EE) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1010 (03F2) [00:06:30]Malloc new data [00:06:30]Processing tag 1011 (03F3) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1006 (03EE) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1010 (03F2) [00:06:30]Malloc new data [00:06:30]Processing tag 1011 (03F3) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]SetTLVBufToDocument err=0 [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1131 (046B) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1135 (046F) [00:06:30]Malloc new data [00:06:30]Processing tag 1201 (04B1) [00:06:30]Malloc new data [00:06:30]Processing tag 1136 (0470) [00:06:30]Malloc new data [00:06:30]Processing tag 1138 (0472) [00:06:30]Malloc new data [00:06:30]Processing tag 1024 (0400) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1006 (03EE) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1010 (03F2) [00:06:30]Malloc new data [00:06:30]Processing tag 1011 (03F3) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1006 (03EE) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1010 (03F2) [00:06:30]Malloc new data [00:06:30]Processing tag 1011 (03F3) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]SetTLVBufToDocument err=0 [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1132 (046C) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1135 (046F) [00:06:30]Malloc new data [00:06:30]Processing tag 1201 (04B1) [00:06:30]Malloc new data [00:06:30]Processing tag 1136 (0470) [00:06:30]Malloc new data [00:06:30]Processing tag 1138 (0472) [00:06:30]Malloc new data [00:06:30]Processing tag 1024 (0400) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1006 (03EE) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1010 (03F2) [00:06:30]Malloc new data [00:06:30]Processing tag 1011 (03F3) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1006 (03EE) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1010 (03F2) [00:06:30]Malloc new data [00:06:30]Processing tag 1011 (03F3) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:30]Processing tag 1014 (03F6) [00:06:30]Malloc new data [00:06:30]Processing tag 1015 (03F7) [00:06:30]Malloc new data [00:06:30]SetTLVBufToDocument err=0 [00:06:30]Processing tag 1007 (03EF) [00:06:30]Load OK [00:06:30]SetTLVBufToDocument [00:06:31]Processing tag 1014 (03F6) [00:06:31]Malloc new data [00:06:31]Processing tag 1015 (03F7) [00:06:31]Malloc new data [00:06:31]SetTLVBufToDocument err=0 [00:06:31]SetTLVBufToDocument err=0 [00:06:31]SetTLVBufToDocument err=0 [00:06:31]Processing tag 1133 (046D) [00:06:31]Malloc new data [00:06:31]SetTLVBufToDocument err=0 [00:06:31]Processing tag 1077 (0435) [00:06:31]Malloc new data [00:06:31]SetTLVBufToDocument err=0 [00:06:31]Malloc new data [00:06:31]SAM_PROTO_GetFMData [00:06:31]wFMCommunicate request_size=4 [00:06:31]MH_SAM_APDU [00:06:31]CAPDU: 80 13 03 00 [00:06:31]Write to MH i2c: E2 08 00 D4 17 80 13 03 00 00 00 00 00 6A [00:06:31]Write i2c OK [00:06:31]MH_I2C_Read... [00:06:31]OFD Sender: No OFD packet to send [00:06:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:31]Read from MH i2c: E2 [00:06:31]MH_I2C_Read... [00:06:31]Read from MH i2c: E2 FD 00 [00:06:31]MH_I2C_Read... [00:06:31]Read from MH i2c: E2 FD 00 D4 17 00 C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 F3 [00:06:31]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 [00:06:31]wFMCommunicate OK [00:06:31]wFMCommunicate request_size=4 [00:06:31]MH_SAM_APDU [00:06:31]CAPDU: 80 17 00 00 [00:06:31]Write to MH i2c: E2 08 00 D5 17 80 17 00 00 00 00 00 00 6C [00:06:31]Write i2c OK [00:06:31]MH_I2C_Read... [00:06:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:32]Read from MH i2c: E2 [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: E2 FD 00 [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: E2 FD 00 D5 17 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 77 [00:06:32]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 [00:06:32]wFMCommunicate OK [00:06:32]wFMCommunicate request_size=4 [00:06:32]MH_SAM_APDU [00:06:32]CAPDU: 80 17 00 00 [00:06:32]Write to MH i2c: E2 08 00 D6 17 80 17 00 00 00 00 00 00 6D [00:06:32]Write i2c OK [00:06:32]MH_I2C_Read... [00:06:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:32]Read from MH i2c: E2 [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: E2 FD 00 [00:06:32]MH_I2C_Read... [00:06:32]Read from MH i2c: E2 FD 00 D6 17 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8B [00:06:32]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:33]wFMCommunicate OK [00:06:33]wFMCommunicate request_size=4 [00:06:33]MH_SAM_APDU [00:06:33]CAPDU: 80 17 00 00 [00:06:33]Write to MH i2c: E2 08 00 D7 17 80 17 00 00 00 00 00 00 6E [00:06:33]Write i2c OK [00:06:33]MH_I2C_Read... [00:06:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:33]Read from MH i2c: E2 [00:06:33]MH_I2C_Read... [00:06:33]Read from MH i2c: E2 FD 00 [00:06:33]MH_I2C_Read... [00:06:33]Read from MH i2c: E2 FD 00 D7 17 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E0 [00:06:33]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:33]wFMCommunicate OK [00:06:33]wFMCommunicate request_size=4 [00:06:33]MH_SAM_APDU [00:06:33]CAPDU: 80 17 00 00 [00:06:33]Write to MH i2c: E2 08 00 D8 17 80 17 00 00 00 00 00 00 6F [00:06:33]Write i2c OK [00:06:33]MH_I2C_Read... [00:06:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:06:33]Read from MH i2c: E2 [00:06:33]MH_I2C_Read... [00:06:33]Read from MH i2c: E2 E0 00 [00:06:33]MH_I2C_Read... [00:06:33]Read from MH i2c: E2 E0 00 D8 17 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 59 [00:06:34]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:34]wFMCommunicate OK [00:06:34]SAM_PROTO_GetFMData done [00:06:34]Malloc new data [00:06:34]Malloc new data [00:06:34]Malloc new data [00:06:34]Malloc new data [00:06:34]KKMLoadAndSignCloseShiftData err=0 [00:06:34]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Чоро у. К. 16.06.2024 00:06 Смена: 326 РНМ: 0000000000099755 ЗНМ: 0300000200 СНО: Общий режим Чеков за смену: 78 ФД за смену: 80 Всего чеков: 78 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 22497.79 Итого наличными: 16487.00 Итого безнал.: 6010.79 НДС 0% : 0.00 НДС 12% : 2389.21 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 198.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Общий итог: 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 Нал. в кассе: 16487.00 НС Приход: 6230831.48 НС Возвр.Прихода: 111600.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 22234 ФМ: 0000000000965344 ФПД: 189814348187988 [00:06:34]StoreToDocumentArchive [00:06:34]shift 326 fd 22234 [00:06:34]save to /storage/0326/doc_00022234 [00:06:34]save last doc name /storage/0326/doc_00022234 to /storage/kkm_last_doc_name [00:06:34]save OK [00:06:34]Clear old archive folders... [00:06:34]Remove dir /storage/0266 [00:06:34]opendir ok [00:06:34]file . [00:06:34]file .. [00:06:34]file doc_1718496348 [00:06:34]remove file /storage/0266/doc_1718496348 [00:06:34]remove dir /storage/0266 [00:06:34]NVStorageSaveData kkm_registers [00:06:34]File name is /storage/kkm_registers [00:06:34]Write 24 bytes [00:06:34]NVStorageSaveData done [00:06:34]NVStorageSaveData kkm_registers [00:06:34]File name is /storage/kkm_registers [00:06:34]Write 24 bytes [00:06:34]NVStorageSaveData done [00:06:34]ProcessDocumentItem done err = 0, tmpTLVsize=1375 [00:06:34]tlvbuf is 0029C8C0 [00:06:34]SAM_PROTO_ClearQueue [00:06:34]wFMCommunicate request_size=4 [00:06:34]MH_SAM_APDU [00:06:34]CAPDU: 80 09 00 00 [00:06:34]Write to MH i2c: E2 08 00 D9 17 80 09 00 00 00 00 00 00 62 [00:06:34]Write i2c OK [00:06:34]MH_I2C_Read... [00:06:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:06:34]Read from MH i2c: E2 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: E2 03 00 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: E2 03 00 D9 17 00 90 00 64 [00:06:34]RAPDU: 90 00 [00:06:34]wFMCommunicate OK [00:06:34]SAM_PROTO_ClearQueue done [00:06:34]KKMCreateOFDPacket [00:06:34]OFDProtocolAddRootSTLVToBuf [00:06:34]FM_MakeSignedData [00:06:34]FM_MakeSignedData [00:06:34]SAM_PROTO_SignData [00:06:34]wFMCommunicate request_size=4 [00:06:34]MH_SAM_APDU [00:06:34]CAPDU: 80 0D 01 02 [00:06:34]Write to MH i2c: E2 08 00 DA 17 80 0D 01 02 00 00 00 00 6A [00:06:34]Write i2c OK [00:06:34]MH_I2C_Read... [00:06:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:06:34]Read from MH i2c: E2 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: E2 03 00 [00:06:34]MH_I2C_Read... [00:06:34]Read from MH i2c: E2 03 00 DA 17 00 90 00 65 [00:06:34]RAPDU: 90 00 [00:06:34]wFMCommunicate OK [00:06:34]wFMCommunicate request_size=255 [00:06:34]MH_SAM_APDU [00:06:34]CAPDU: 80 0D 02 02 FA 05 00 5F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F4 03 04 00 87 2C 6E 66 0E 04 04 00 46 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 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 [00:06:34]Write to MH i2c: E2 02 01 DB 17 80 0D 02 02 FA 00 05 00 5F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F4 03 04 00 87 2C 6E 66 0E 04 04 00 46 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 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 00 00 68 [00:06:34]Write i2c OK [00:06:34]MH_I2C_Read... [00:06:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:34]Read from MH i2c: E2 [00:06:35]MH_I2C_Read... [00:06:35]Read from MH i2c: E2 03 00 [00:06:35]MH_I2C_Read... [00:06:35]Read from MH i2c: E2 03 00 DB 17 00 90 00 66 [00:06:35]RAPDU: 90 00 [00:06:35]wFMCommunicate OK [00:06:35]wFMCommunicate request_size=255 [00:06:35]MH_SAM_APDU [00:06:35]CAPDU: 80 0D 02 02 FA 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D 6A 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 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 [00:06:35]Write to MH i2c: E2 02 01 DC 17 80 0D 02 02 FA 00 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D 6A 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 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 00 00 EA [00:06:35]Write i2c OK [00:06:35]MH_I2C_Read... [00:06:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:35]Read from MH i2c: E2 [00:06:35]MH_I2C_Read... [00:06:35]Read from MH i2c: E2 03 00 [00:06:35]MH_I2C_Read... [00:06:35]Read from MH i2c: E2 03 00 DC 17 00 90 00 67 [00:06:35]RAPDU: 90 00 [00:06:35]wFMCommunicate OK [00:06:35]wFMCommunicate request_size=255 [00:06:35]MH_SAM_APDU [00:06:35]CAPDU: 80 0D 02 02 FA 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 [00:06:35]Write to MH i2c: E2 02 01 DD 17 80 0D 02 02 FA 00 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 00 00 A8 [00:06:36]Write i2c OK [00:06:36]MH_I2C_Read... [00:06:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:36]Read from MH i2c: E2 [00:06:36]MH_I2C_Read... [00:06:36]Read from MH i2c: E2 03 00 [00:06:36]MH_I2C_Read... [00:06:36]Read from MH i2c: E2 03 00 DD 17 00 90 00 68 [00:06:36]RAPDU: 90 00 [00:06:36]wFMCommunicate OK [00:06:36]wFMCommunicate request_size=255 [00:06:36]MH_SAM_APDU [00:06:36]CAPDU: 80 0D 02 02 FA 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 OFD Sender: No OFD packet to send [00:06:36]00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF [00:06:36]Write to MH i2c: E2 02 01 DE 17 80 0D 02 02 FA 00 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 00 00 B6 [00:06:36]Write i2c OK [00:06:36]MH_I2C_Read... [00:06:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:37]Read from MH i2c: E2 [00:06:37]MH_I2C_Read... [00:06:37]Read from MH i2c: E2 03 00 [00:06:37]MH_I2C_Read... [00:06:37]Read from MH i2c: E2 03 00 DE 17 00 90 00 69 [00:06:37]RAPDU: 90 00 [00:06:37]wFMCommunicate OK [00:06:37]wFMCommunicate request_size=255 [00:06:37]MH_SAM_APDU [00:06:37]CAPDU: 80 0D 02 02 FA 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:06:37]Write to MH i2c: E2 02 01 DF 17 80 0D 02 02 FA 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 07 [00:06:37]Write i2c OK [00:06:37]MH_I2C_Read... [00:06:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:37]Read from MH i2c: E2 [00:06:37]MH_I2C_Read... [00:06:37]Read from MH i2c: E2 03 00 [00:06:37]MH_I2C_Read... [00:06:37]Read from MH i2c: E2 03 00 DF 17 00 90 00 6A [00:06:37]RAPDU: 90 00 [00:06:37]wFMCommunicate OK [00:06:37]wFMCommunicate request_size=134 [00:06:37]MH_SAM_APDU [00:06:37]CAPDU: 80 0D 02 02 81 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DA 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 AC A2 98 CC 09 54 [00:06:37]Write to MH i2c: E2 89 00 E0 17 80 0D 02 02 81 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DA 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 AC A2 98 CC 09 54 00 00 EB [00:06:37]Write i2c OK [00:06:37]MH_I2C_Read... [00:06:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:38]Read from MH i2c: E2 [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: E2 03 00 [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: E2 03 00 E0 17 00 90 00 6B [00:06:38]RAPDU: 90 00 [00:06:38]wFMCommunicate OK [00:06:38]wFMCommunicate request_size=4 [00:06:38]MH_SAM_APDU [00:06:38]CAPDU: 80 0D 03 02 [00:06:38]Write to MH i2c: E2 08 00 E1 17 80 0D 03 02 00 00 00 00 73 [00:06:38]Write i2c OK [00:06:38]MH_I2C_Read... [00:06:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:06:38]Read from MH i2c: E2 [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: E2 0B 00 [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: E2 0B 00 E1 17 00 7A B2 D0 7C 04 5D C4 20 90 00 31 [00:06:38]RAPDU: 7A B2 D0 7C 04 5D C4 20 90 00 [00:06:38]wFMCommunicate OK [00:06:38]SAM_PROTO_SignData done [00:06:38]FM_MakeSignedData done [00:06:38]CreateOFDProtocolMessage [00:06:38]wFMCommunicate request_size=4 [00:06:38]MH_SAM_APDU [00:06:38]CAPDU: 80 11 00 00 [00:06:38]Write to MH i2c: E2 08 00 E2 17 80 11 00 00 00 00 00 00 73 [00:06:38]Write i2c OK [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: E2 [00:06:38]MH_I2C_Read... [00:06:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:38]Read from MH i2c: E2 17 00 [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: E2 17 00 E2 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C5 [00:06:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:06:38]wFMCommunicate OK [00:06:38]CreateOFDProtocolMessage done [00:06:38]OFDSenderStorePacket 22234 [00:06:38]StoreOFDPacket docnum=22234 [00:06:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 73 05 00 00 C3 DD 6B 05 63 21 5A 05 01 00 05 00 5F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F4 03 04 00 87 2C 6E 66 0E 04 04 00 46 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 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 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D 6A 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 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 DA 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 AC A2 98 CC 09 54 7A B2 D0 7C 04 5D C4 20 [00:06:38]CheckFolder [00:06:38]dirname=/storage/ofd_packets [00:06:38]CheckFolder done [00:06:38]ProducePacketName [00:06:38]name=ofd_packets/00022234 [00:06:38]NVStorageSaveData ofd_packets/00022234 [00:06:38]File name is /storage/ofd_packets/00022234 [00:06:38]Write 1425 bytes [00:06:38]NVStorageSaveData done [00:06:38]OFDSenderStorePacket done [00:06:38]KKMCreateOFDPacket done [00:06:38]NVStorageSaveData kkm_last_timestamp [00:06:38]File name is /storage/kkm_last_timestamp [00:06:38]Write 4 bytes [00:06:38]NVStorageSaveData done [00:06:38]ExternCall_PrintAddStr [00:06:38]wPrintStart [00:06:38]Write to MH i2c: 01 00 00 E3 17 FA [00:06:38]Write i2c OK [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: 01 [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: 01 07 00 [00:06:38]MH_I2C_Read... [00:06:38]Read from MH i2c: 01 07 00 E3 17 00 00 00 00 00 FF 0F 0F [00:06:38]RasterBufferAndPrint [00:06:38]line Отчет о закрытии смены [00:06:38]line ФФД: 1.0 [00:06:38]line ИНН: 02508201610067 [00:06:38]line Кассир: Чоро у. К. [00:06:38]line 16.06.2024 00:06 [00:06:38]line Смена: 326 [00:06:38]line РНМ: 0000000000099755 [00:06:38]line ЗНМ: 0300000200 [00:06:38]line СНО: Общий режим [00:06:38]line Чеков за смену: 78 [00:06:38]line ФД за смену: 80 [00:06:38]line Всего чеков: 78 [00:06:38]line ИТОГИ ПРИХОД [00:06:38]line Чеков: 78 [00:06:38]line Общий итог: 22497.79 [00:06:38]line Итого наличными: 16487.00 [00:06:38]line Итого безнал.: 6010.79 [00:06:38]line НДС 0% : 0.00 [00:06:38]line НДС 12% : 2389.21 [00:06:38]line НСП 0% : 0.00 [00:06:38]line НСП 1,50% : 0.00 [00:06:38]line НСП 0,50% : 0.00 [00:06:38]line НСП 5% : 0.00 [00:06:38]line НСП 3% : 0.00 [00:06:38]line НСП 2% : 0.00 [00:06:38]line НСП 1% : 198.99 [00:06:38]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:06:38]line Чеков: 0 [00:06:38]line Общий итог: 0.00 [00:06:38]line Итого наличными: 0.00 [00:06:38]line Итого безнал.: 0.00 [00:06:38]line НДС 0% : 0.00 [00:06:38]line НДС 12% : 0.00 [00:06:38]line НСП 0% : 0.00 [00:06:38]line НСП 1,50% : 0.00 [00:06:38]line НСП 0,50% : 0.00 [00:06:38]line НСП 5% : 0.00 [00:06:38]line НСП 3% : 0.00 [00:06:38]line НСП 2% : 0.00 [00:06:38]line НСП 1% : 0.00 [00:06:38]line ИТОГИ РАСХОД [00:06:38]line Чеков: 0 [00:06:38]line Общий итог: 0.00 [00:06:38]line Итого наличными: 0.00 [00:06:38]line Итого безнал.: 0.00 [00:06:38]line НДС 0% : 0.00 [00:06:38]line НДС 12% : 0.00 [00:06:38]line НСП 0% : 0.00 [00:06:38]line НСП 1,50% : 0.00 [00:06:38]line НСП 0,50% : 0.00 [00:06:38]line НСП 5% : 0.00 [00:06:38]line НСП 3% : 0.00 [00:06:38]line НСП 2% : 0.00 [00:06:38]line НСП 1% : 0.00 [00:06:38]line ИТОГИ ВОЗВРАТ РАСХОДА [00:06:38]line Чеков: 0 [00:06:38]line Общий итог: 0.00 [00:06:38]line Итого наличными: 0.00 [00:06:38]line Итого безнал.: 0.00 [00:06:38]line НДС 0% : 0.00 [00:06:38]line НДС 12% : 0.00 [00:06:38]line НСП 0% : 0.00 [00:06:38]line НСП 1,50% : 0.00 [00:06:38]line НСП 0,50% : 0.00 [00:06:38]line НСП 5% : 0.00 [00:06:38]line НСП 3% : 0.00 [00:06:38]line НСП 2% : 0.00 [00:06:38]line НСП 1% : 0.00 [00:06:38]line Сумма внесений: 0.00 [00:06:38]line Сумма выплат: 0.00 [00:06:38]line Нал. в кассе: 16487.00 [00:06:38]line НС Приход: 6230831.48 [00:06:38]line НС Возвр.Прихода: 111600.00 [00:06:38]line НС Расход: 0.00 [00:06:38]line НС Возвр.Расхода: 0.00 [00:06:38]line ФД: 22234 [00:06:38]line ФМ: 0000000000965344 [00:06:38]line ФПД: 189814348187988 [00:06:38]OFD Sender: Processing packet 22234 [packets to send 5, broken 4] [00:06:38]ProducePacketName [00:06:38]name=ofd_packets/00022234 [00:06:38]OFD Sender: To server: pG, [00:06:38]CommunicateWithHost lk.salyk.kg:30040 [00:06:38]ConnectInit lk.salyk.kg [00:06:38]written 0, free lines is 4095 [00:06:38]Connected sock=10 [00:06:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 73 05 00 00 C3 DD 6B 05 63 21 5A 05 01 00 05 00 5F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F4 03 04 00 87 2C 6E 66 0E 04 04 00 46 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 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 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D 6A 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 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 Write to MH i2c: EF 01 03 00 09 00 00 33 F6 18 03 4B 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 [00:06:39]00 Write i2c OK [00:06:39]01 MH_I2C_Read... [00:06:39]F7 Read from MH i2c: 03 01 00 [00:06:39]00 MH_I2C_Read... [00:06:39]EF 03 09 00 F6 03 01 00 02 F7 03 00 00 Read from MH i2c: EF 01 03 07 09 00 00 [00:06:39]F6 MH_I2C_Read... [00:06:39]03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 04 01 F7 07 03 00 00 33 00 18 EF 00 03 00 09 00 00 00 F6 00 03 32 0D 01 91 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 [00:06:40]F7 RasterBufferAndPrint [00:06:40]03 line [00:06:40]00 line [00:06:40]00 line [00:06:40]7A line [00:06:40]04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 line [00:06:40]70 04 00 00 72 04 00 00 00 04 75 00 EE written 0, free lines is 3525 [00:06:40]03 09 00 F2 03 01 00 00 F3 03 00 00 EE MH_Cut [00:06:40]03 Write to MH i2c: 09 D1 01 00 00 F2 3A 03 18 01 01 00 24 01 [00:06:40]F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 Write i2c OK [00:06:40]EF MH_I2C_Read... [00:06:40]03 Read from MH i2c: 09 D1 00 [00:06:40]F6 MH_I2C_Read... [00:06:40]03 01 Read from MH i2c: 00 D1 04 01 F7 00 03 [00:06:40]00 MH_I2C_Read... [00:06:40]00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 Read from MH i2c: 09 D1 00 01 F6 00 03 3A 01 18 00 00 06 F7 23 03 [00:06:40]00 Write to MH i2c: 00 01 D1 00 04 00 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 3B 70 18 04 53 00 [00:06:40]00 72 04 00 00 00 04 75 00 Write i2c OK [00:06:40]EE MH_I2C_Read... [00:06:40]03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DA 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 AC A2 98 CC 09 54 7A B2 D0 7C 04 5D C4 20 [00:06:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 09 A9 47 00 F8 EA A5 07 01 *** Cut start [00:06:40]00 *** Partial cut [00:06:40]07 *** CUTSNS_PIN = 1 [00:06:40]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 *** CUTSNS_PIN = 0 [00:06:40]36 35 33 34 34 10 04 04 00 DA 56 00 00 F4 03 04 00 4F D5 6D 66 B6 04 01 00 00 36 C0 80 FA 07 8B 03 C0 [00:06:40]CommunicateWithHost err = 0 [00:06:40]CheckOFDResponse [00:06:40]1017 (14) - 77093643461234 [00:06:40]1041 (16) - 0000000000965344 [00:06:40]1040 (4) - 22234 [00:06:40]1012 (4) - 15.06.2024 17:54 [00:06:40]1206 (1) - 0 [00:06:40]OFD Sender: Remove packet 22234 [00:06:40]ProducePacketName [00:06:40]name=ofd_packets/00022234 [00:06:40]NVStorageDeleteData [00:06:40]*** Brake cut motor [00:06:41]OFD Sender: No OFD packet to send [00:06:41]Read from MH i2c: 01 [00:06:41]MH_I2C_Read... [00:06:41]*** Stop cut motor [00:06:41]*** Cut end [00:06:41]Read from MH i2c: 01 07 00 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: 01 07 00 3B 18 00 00 00 00 00 FF 0F 68 [00:06:41]process_action close_shift done [00:06:41]requested_data is exist [00:06:41]produce_requested_data [00:06:41]requested_item fd.num is exist - process it [00:06:41]SAM_PROTO_GetFieldsCounters [00:06:41]wFMCommunicate request_size=4 [00:06:41]MH_SAM_APDU [00:06:41]CAPDU: 80 13 00 00 [00:06:41]Write to MH i2c: E2 08 00 3C 18 80 13 00 00 00 00 00 00 D0 [00:06:41]Write i2c OK [00:06:41]MH_I2C_Read... [00:06:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:41]Read from MH i2c: E2 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 62 00 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 62 00 3C 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 5C [00:06:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:41]wFMCommunicate OK [00:06:41]SAM_PROTO_GetFieldsCounters done [00:06:41]requested_item shift.num is exist - process it [00:06:41]requested_item shift.opened is exist - process it [00:06:41]req_shift_opened [00:06:41]FM_GetShiftState [00:06:41]SAM_PROTO_GetShiftState [00:06:41]wFMCommunicate request_size=4 [00:06:41]MH_SAM_APDU [00:06:41]CAPDU: 80 13 01 00 [00:06:41]Write to MH i2c: E2 08 00 3D 18 80 13 01 00 00 00 00 00 D2 [00:06:41]Write i2c OK [00:06:41]MH_I2C_Read... [00:06:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:41]Read from MH i2c: E2 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 0E 00 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 0E 00 3D 18 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DD [00:06:41]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:41]wFMCommunicate OK [00:06:41]SAM_PROTO_GetShiftState done [00:06:41]FM_GetShiftState done [00:06:41]req_shift_opened done [00:06:41]requested_item shift.open_date is exist - process it [00:06:41]req_shift_open_date [00:06:41]FM_GetShiftState [00:06:41]SAM_PROTO_GetShiftState [00:06:41]wFMCommunicate request_size=4 [00:06:41]MH_SAM_APDU [00:06:41]CAPDU: 80 13 01 00 [00:06:41]Write to MH i2c: E2 08 00 3E 18 80 13 01 00 00 00 00 00 D3 [00:06:41]Write i2c OK [00:06:41]MH_I2C_Read... [00:06:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:41]Read from MH i2c: E2 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 0E 00 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 0E 00 3E 18 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DE [00:06:41]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:41]wFMCommunicate OK [00:06:41]SAM_PROTO_GetShiftState done [00:06:41]FM_GetShiftState done [00:06:41]req_shift_open_date done [00:06:41]produce_requested_data done [00:06:41]produce_requested_data return {"fd.num":22234,"shift.num":326,"shift.opened":0,"shift.open_date":0} [00:06:41]process_action_free close_shift [00:06:41]json_value_free [00:06:41]json_value_free done [00:06:41]process_json_proto returns [00:06:41]Send response to host [00:06:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22234,"shift.num":326,"shift.opened":0,"shift.open_date":0}}} [00:06:41]free response buf [00:06:41]execute_script done [00:06:41]execute_script returns [00:06:41]free content buf [00:06:41]Sock 9.Close socket [00:06:41]Sock 9.Thread stoped [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]OFD Sender: No OFD packet to send [00:17:56]OFD Sender: No OFD packet to send [00:18:01]OFD Sender: No OFD packet to send [00:18:06]OFD Sender: No OFD packet to send [00:18:11]OFD Sender: No OFD packet to send [00:18:16]OFD Sender: No OFD packet to send [00:18:21]OFD Sender: No OFD packet to send [00:18:26]OFD Sender: No OFD packet to send [00:18:31]OFD Sender: No OFD packet to send [00:18:36]OFD Sender: No OFD packet to send [00:18:41]OFD Sender: No OFD packet to send [00:18:46]OFD Sender: No OFD packet to send [00:18:51]OFD Sender: No OFD packet to send [00:18:56]OFD Sender: No OFD packet to send [00:19:01]OFD Sender: No OFD packet to send [00:19:06]OFD Sender: No OFD packet to send [00:19:11]OFD Sender: No OFD packet to send [00:19:16]OFD Sender: No OFD packet to send [00:19:21]OFD Sender: No OFD packet to send [00:19:26]OFD Sender: No OFD packet to send [00:19:31]OFD Sender: No OFD packet to send [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:27]accept exits with 8 [00:21:27]New connection [00:21:27]New thread 3066838372 created [00:21:27]Thread 3066695012 joined [00:21:27]Waiting for new connection... [00:21:27] Sock 8.Parse request [00:21:27]Sock 8.Check first char [00:21:27]Sock 8.First char is OK [00:21:27]request: POST /json_proto HTTP/1.0 [00:21:27]Method: POST [00:21:27]URL: /json_proto [00:21:27]Method is POST - this is cgi request [00:21:27]url: /json_proto [00:21:27]query_string will be loaded in cgi processing [00:21:27]execute_cgi json_proto POST (null) [00:21:27]execute_cgi path=json_proto method=POST [00:21:27]POST find Content-Length [00:21:27]Host: 172.17.35.133:8080 [00:21:27]Content-Length: 215 [00:21:27]Content-Type: application/json [00:21:27] [00:21:27]POST finish read [00:21:27]Found Content-Length = 215 [00:21:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:21:27]execute_script... [00:21:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:21:27]POST & json_proto [00:21:27]process_json_proto [00:21:27]json parsed OK: [00:21:27]protocol is kg_v1.0 [00:21:27]action value=get_value [00:21:27]process_action get_value [00:21:27]cmd_get_value [00:21:27]process_action get_value done [00:21:27]requested_data is exist [00:21:27]produce_requested_data [00:21:27]requested_item kkm.sn is exist - process it [00:21:27]requested_item kkm.ver is exist - process it [00:21:27]requested_item fm.sn is exist - process it [00:21:27]wFMCommunicate request_size=4 [00:21:27]MH_SAM_APDU [00:21:27]CAPDU: 80 11 00 00 [00:21:27]Write to MH i2c: E2 08 00 3F 18 80 11 00 00 00 00 00 00 D1 [00:21:27]Write i2c OK [00:21:27]MH_I2C_Read... [00:21:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:21:27]Read from MH i2c: E2 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: E2 17 00 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: E2 17 00 3F 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 23 [00:21:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:21:27]wFMCommunicate OK [00:21:27]requested_item fd.num is exist - process it [00:21:27]SAM_PROTO_GetFieldsCounters [00:21:27]wFMCommunicate request_size=4 [00:21:27]MH_SAM_APDU [00:21:27]CAPDU: 80 13 00 00 [00:21:27]Write to MH i2c: E2 08 00 40 18 80 13 00 00 00 00 00 00 D4 [00:21:27]Write i2c OK [00:21:27]MH_I2C_Read... [00:21:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:21:27]Read from MH i2c: E2 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: E2 62 00 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: E2 62 00 40 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 60 [00:21:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DA 56 00 00 0E 04 04 00 46 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:21:27]wFMCommunicate OK [00:21:27]SAM_PROTO_GetFieldsCounters done [00:21:27]requested_item shift.num is exist - process it [00:21:27]requested_item shift.opened is exist - process it [00:21:27]req_shift_opened [00:21:27]FM_GetShiftState [00:21:27]SAM_PROTO_GetShiftState [00:21:27]wFMCommunicate request_size=4 [00:21:27]MH_SAM_APDU [00:21:27]CAPDU: 80 13 01 00 [00:21:27]Write to MH i2c: E2 08 00 41 18 80 13 01 00 00 00 00 00 D6 [00:21:27]Write i2c OK [00:21:27]MH_I2C_Read... [00:21:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:27]Read from MH i2c: E2 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: E2 0E 00 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: E2 0E 00 41 18 00 09 00 00 00 00 00 00 00 00 00 00 90 00 E1 [00:21:27]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:21:27]wFMCommunicate OK [00:21:27]SAM_PROTO_GetShiftState done [00:21:27]FM_GetShiftState done [00:21:27]req_shift_opened done [00:21:27]requested_item shift.open_date is exist - process it [00:21:27]req_shift_open_date [00:21:27]FM_GetShiftState [00:21:27]SAM_PROTO_GetShiftState [00:21:27]wFMCommunicate request_size=4 [00:21:27]MH_SAM_APDU [00:21:27]CAPDU: 80 13 01 00 [00:21:27]Write to MH i2c: E2 08 00 42 18 80 13 01 00 00 00 00 00 D7 [00:21:27]Write i2c OK [00:21:27]MH_I2C_Read... [00:21:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:27]Read from MH i2c: E2 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: E2 0E 00 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: E2 0E 00 42 18 00 09 00 00 00 00 00 00 00 00 00 00 90 00 E2 [00:21:27]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:21:27]wFMCommunicate OK [00:21:27]SAM_PROTO_GetShiftState done [00:21:27]FM_GetShiftState done [00:21:27]req_shift_open_date done [00:21:27]produce_requested_data done [00:21:27]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22234,"shift.num":326,"shift.opened":0,"shift.open_date":0} [00:21:27]process_action_free get_value [00:21:27]json_value_free [00:21:27]json_value_free done [00:21:27]process_json_proto returns [00:21:27]Send response to host [00:21:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22234,"shift.num":326,"shift.opened":0,"shift.open_date":0}}} [00:21:27]free response buf [00:21:27]execute_script done [00:21:27]execute_script returns [00:21:27]free content buf [00:21:27]Sock 8.Close socket [00:21:27]Sock 8.Thread stoped [00:21:27]accept exits with 9 [00:21:27]New connection [00:21:27]New thread 3066695012 created [00:21:27]Thread 3066838372 joined [00:21:27]Waiting for new connection... [00:21:27] Sock 9.Parse request [00:21:27]Sock 9.Check first char [00:21:27]Sock 9.First char is OK [00:21:27]request: POST /json_proto HTTP/1.0 [00:21:27]Method: POST [00:21:27]URL: /json_proto [00:21:27]Method is POST - this is cgi request [00:21:27]url: /json_proto [00:21:27]query_string will be loaded in cgi processing [00:21:27]execute_cgi json_proto POST (null) [00:21:27]execute_cgi path=json_proto method=POST [00:21:27]POST find Content-Length [00:21:27]Host: 172.17.35.133:8080 [00:21:27]Content-Length: 331 [00:21:27]Content-Type: application/json [00:21:27] [00:21:27]POST finish read [00:21:27]Found Content-Length = 331 [00:21:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:21:27]execute_script... [00:21:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:21:28]POST & json_proto [00:21:28]process_json_proto [00:21:28]json parsed OK: [00:21:28]protocol is kg_v1.0 [00:21:28]action value=get_value [00:21:28]process_action get_value [00:21:28]cmd_get_value [00:21:28]process_action get_value done [00:21:28]requested_data is exist [00:21:28]produce_requested_data [00:21:28]requested_item fm.sale.total is exist - process it [00:21:28]SAM_PROTO_GetFMData [00:21:28]wFMCommunicate request_size=4 [00:21:28]MH_SAM_APDU [00:21:28]CAPDU: 80 13 03 00 [00:21:28]Write to MH i2c: E2 08 00 43 18 80 13 03 00 00 00 00 00 DA [00:21:28]Write i2c OK [00:21:28]MH_I2C_Read... [00:21:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:21:28]Read from MH i2c: E2 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 FD 00 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 FD 00 43 18 00 C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 63 [00:21:28]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 [00:21:28]wFMCommunicate OK [00:21:28]wFMCommunicate request_size=4 [00:21:28]MH_SAM_APDU [00:21:28]CAPDU: 80 17 00 00 [00:21:28]Write to MH i2c: E2 08 00 44 18 80 17 00 00 00 00 00 00 DC [00:21:28]Write i2c OK [00:21:28]MH_I2C_Read... [00:21:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:28]Read from MH i2c: E2 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 FD 00 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 FD 00 44 18 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 E7 [00:21:28]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 [00:21:28]wFMCommunicate OK [00:21:28]wFMCommunicate request_size=4 [00:21:28]MH_SAM_APDU [00:21:28]CAPDU: 80 17 00 00 [00:21:28]Write to MH i2c: E2 08 00 45 18 80 17 00 00 00 00 00 00 DD [00:21:28]Write i2c OK [00:21:28]MH_I2C_Read... [00:21:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:29]Read from MH i2c: E2 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 FD 00 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 FD 00 45 18 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FB [00:21:29]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:29]wFMCommunicate OK [00:21:29]wFMCommunicate request_size=4 [00:21:29]MH_SAM_APDU [00:21:29]CAPDU: 80 17 00 00 [00:21:29]Write to MH i2c: E2 08 00 46 18 80 17 00 00 00 00 00 00 DE [00:21:29]Write i2c OK [00:21:29]MH_I2C_Read... [00:21:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:29]Read from MH i2c: E2 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 FD 00 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 FD 00 46 18 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 50 [00:21:29]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:29]wFMCommunicate OK [00:21:29]wFMCommunicate request_size=4 [00:21:29]MH_SAM_APDU [00:21:29]CAPDU: 80 17 00 00 [00:21:29]Write to MH i2c: E2 08 00 47 18 80 17 00 00 00 00 00 00 DF [00:21:29]Write i2c OK [00:21:29]MH_I2C_Read... [00:21:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:21:29]Read from MH i2c: E2 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 E0 00 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 E0 00 47 18 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C9 [00:21:29]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:21:29]wFMCommunicate OK [00:21:29]SAM_PROTO_GetFMData done [00:21:29]requested_item fm.sale_refund.total is exist - process it [00:21:29]requested_item fm.buy.total is exist - process it [00:21:29]requested_item shift.sale.total is exist - process it [00:21:29]SAM_PROTO_GetShiftData [00:21:29]wFMCommunicate request_size=4 [00:21:29]MH_SAM_APDU [00:21:29]CAPDU: 80 13 02 00 [00:21:29]Write to MH i2c: E2 08 00 48 18 80 13 02 00 00 00 00 00 DE [00:21:29]Write i2c OK [00:21:29]MH_I2C_Read... [00:21:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:21:30]Read from MH i2c: E2 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 48 18 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 85 [00:21:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 33 54 22 70 04 03 00 3C 28 19 72 04 03 00 F7 2B 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 A5 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BB 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:21:30]wFMCommunicate OK [00:21:30]wFMCommunicate request_size=4 [00:21:30]MH_SAM_APDU [00:21:30]CAPDU: 80 17 00 00 [00:21:30]Write to MH i2c: E2 08 00 49 18 80 17 00 00 00 00 00 00 E1 [00:21:30]Write i2c OK [00:21:30]MH_I2C_Read... [00:21:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:30]Read from MH i2c: E2 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 49 18 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 03 [00:21:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:21:30]wFMCommunicate OK [00:21:30]wFMCommunicate request_size=4 [00:21:30]MH_SAM_APDU [00:21:30]CAPDU: 80 17 00 00 [00:21:30]Write to MH i2c: E2 08 00 4A 18 80 17 00 00 00 00 00 00 E2 [00:21:30]Write i2c OK [00:21:30]MH_I2C_Read... [00:21:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:30]Read from MH i2c: E2 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 4A 18 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 99 [00:21:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:21:30]wFMCommunicate OK [00:21:30]wFMCommunicate request_size=4 [00:21:30]MH_SAM_APDU [00:21:30]CAPDU: 80 17 00 00 [00:21:30]Write to MH i2c: E2 08 00 4B 18 80 17 00 00 00 00 00 00 E3 [00:21:30]Write i2c OK [00:21:30]MH_I2C_Read... [00:21:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:30]Read from MH i2c: E2 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 4B 18 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 55 [00:21:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:21:31]wFMCommunicate OK [00:21:31]wFMCommunicate request_size=4 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 17 00 00 [00:21:31]Write to MH i2c: E2 08 00 4C 18 80 17 00 00 00 00 00 00 E4 [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:21:31]Read from MH i2c: E2 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 CB 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 CB 00 4C 18 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CD [00:21:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:21:31]wFMCommunicate OK [00:21:31]SAM_PROTO_GetShiftData done [00:21:31]requested_item shift.sale.total_cash is exist - process it [00:21:31]requested_item shift.sale_refund.total is exist - process it [00:21:31]requested_item shift.sale_refund.total_cash is exist - process it [00:21:31]requested_item shift.buy.total is exist - process it [00:21:31]requested_item shift.buy.total_cash is exist - process it [00:21:31]produce_requested_data done [00:21:31]produce_requested_data return {"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:21:31]process_action_free get_value [00:21:31]json_value_free [00:21:31]json_value_free done [00:21:31]process_json_proto returns [00:21:31]Send response to host [00:21:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":22497.79,"shift.sale.total_cash":16487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:21:31]free response buf [00:21:31]execute_script done [00:21:31]execute_script returns [00:21:31]free content buf [00:21:31]Sock 9.Close socket [00:21:31]Sock 9.Thread stoped [00:21:31]accept exits with 8 [00:21:31]New connection [00:21:31]New thread 3066838372 created [00:21:31]Thread 3066695012 joined [00:21:31]Waiting for new connection... [00:21:31] Sock 8.Parse request [00:21:31]Sock 8.Check first char [00:21:31]Sock 8.First char is OK [00:21:31]request: POST /json_proto HTTP/1.0 [00:21:31]Method: POST [00:21:31]URL: /json_proto [00:21:31]Method is POST - this is cgi request [00:21:31]url: /json_proto [00:21:31]query_string will be loaded in cgi processing [00:21:31]execute_cgi json_proto POST (null) [00:21:31]execute_cgi path=json_proto method=POST [00:21:31]POST find Content-Length [00:21:31]Host: 172.17.35.133:8080 [00:21:31]Content-Length: 277 [00:21:31]Content-Type: application/json [00:21:31] [00:21:31]POST finish read [00:21:31]Found Content-Length = 277 [00:21:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u043A\u0443\u043B\u043E\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:21:31]execute_script... [00:21:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u043A\u0443\u043B\u043E\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:21:31]POST & json_proto [00:21:31]process_json_proto [00:21:31]json parsed OK: [00:21:31]protocol is kg_v1.0 [00:21:31]action value=open_shift [00:21:31]process_action open_shift [00:21:31]cmd_open_shift [00:21:31]MH_GetDate [00:21:31]Write to MH i2c: F0 00 00 4D 18 54 [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: F0 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: F0 09 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: F0 09 00 4D 18 00 10 30 6E 66 8C 55 28 65 DF [00:21:31]GetLastDocTimeStamp 1718496391 [00:21:31]current date 1718497296 [00:21:31]FM_GetShiftState [00:21:31]SAM_PROTO_GetShiftState [00:21:31]wFMCommunicate request_size=4 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 13 01 00 [00:21:31]Write to MH i2c: E2 08 00 4E 18 80 13 01 00 00 00 00 00 E3 [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:31]Read from MH i2c: E2 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 0E 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 0E 00 4E 18 00 09 00 00 00 00 00 00 00 00 00 00 90 00 EE [00:21:31]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:21:31]wFMCommunicate OK [00:21:31]SAM_PROTO_GetShiftState done [00:21:31]FM_GetShiftState done [00:21:31]KKMCreateOpenShiftDocument [00:21:31]Load OK [00:21:31]Malloc new data [00:21:31]MH_GetDate [00:21:31]Write to MH i2c: F0 00 00 4F 18 56 [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: F0 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: F0 09 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: F0 09 00 4F 18 00 11 30 6E 66 8C 55 28 65 E2 [00:21:31]Malloc new data [00:21:31]KKMCreateOpenShiftDocument OK [00:21:31]KKMSetOpenShiftData OK [00:21:31]ProcessDocumentItem done err = 0, tmpTLVsize=219 [00:21:31]tlvbuf is 00270460 [00:21:31]KKMLoadAndSignOpenShiftData [00:21:31]SAM_PROTO_ProcessDocument [00:21:31]wFMCommunicate request_size=9 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 15 01 00 04 02 00 DB 00 [00:21:31]Write to MH i2c: E2 0C 00 50 18 80 15 01 00 04 00 02 00 DB 00 00 00 CC [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:21:31]Read from MH i2c: E2 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 03 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 03 00 50 18 00 90 00 DC [00:21:31]RAPDU: 90 00 [00:21:31]wFMCommunicate OK [00:21:31]wFMCommunicate request_size=23 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:21:31]Write to MH i2c: E2 1A 00 51 18 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 DE [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:31]Read from MH i2c: E2 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 03 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 03 00 51 18 00 90 00 DD [00:21:31]RAPDU: 90 00 [00:21:31]wFMCommunicate OK [00:21:31]wFMCommunicate request_size=36 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 [00:21:31]Write to MH i2c: E2 27 00 52 18 80 15 02 00 1F 00 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 00 00 26 [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:31]Read from MH i2c: E2 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 03 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 03 00 52 18 00 90 00 DE [00:21:31]RAPDU: 90 00 [00:21:31]wFMCommunicate OK [00:21:31]wFMCommunicate request_size=102 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 15 02 00 61 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 [00:21:31]Write to MH i2c: E2 69 00 53 18 80 15 02 00 61 00 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 00 00 4B [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]OFD Sender: No OFD packet to send [00:21:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:32]Read from MH i2c: E2 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 03 00 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 03 00 53 18 00 90 00 DF [00:21:32]RAPDU: 90 00 [00:21:32]wFMCommunicate OK [00:21:32]wFMCommunicate request_size=50 [00:21:32]MH_SAM_APDU [00:21:32]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:21:32]Write to MH i2c: E2 35 00 54 18 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 68 [00:21:32]Write i2c OK [00:21:32]MH_I2C_Read... [00:21:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:32]Read from MH i2c: E2 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 03 00 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 03 00 54 18 00 90 00 E0 [00:21:32]RAPDU: 90 00 [00:21:32]wFMCommunicate OK [00:21:32]wFMCommunicate request_size=13 [00:21:32]MH_SAM_APDU [00:21:32]CAPDU: 80 15 02 00 08 F4 03 04 00 11 30 6E 66 [00:21:32]Write to MH i2c: E2 10 00 55 18 80 15 02 00 08 00 F4 03 04 00 11 30 6E 66 00 00 0D [00:21:32]Write i2c OK [00:21:32]MH_I2C_Read... [00:21:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:32]Read from MH i2c: E2 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 03 00 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 03 00 55 18 00 90 00 E1 [00:21:32]RAPDU: 90 00 [00:21:32]wFMCommunicate OK [00:21:32]wFMCommunicate request_size=25 [00:21:32]MH_SAM_APDU [00:21:32]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 [00:21:32]Write to MH i2c: E2 1C 00 56 18 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 00 00 5A [00:21:32]Write i2c OK [00:21:32]MH_I2C_Read... [00:21:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:32]Read from MH i2c: E2 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 03 00 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 03 00 56 18 00 90 00 E2 [00:21:32]RAPDU: 90 00 [00:21:32]wFMCommunicate OK [00:21:32]wFMCommunicate request_size=4 [00:21:32]MH_SAM_APDU [00:21:32]CAPDU: 80 15 03 00 [00:21:32]Write to MH i2c: E2 08 00 57 18 80 15 03 00 00 00 00 00 F0 [00:21:32]Write i2c OK [00:21:32]MH_I2C_Read... [00:21:32]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:21:32]Read from MH i2c: E2 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 38 00 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 38 00 57 18 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DB 56 00 00 0E 04 04 00 47 01 00 00 35 04 06 00 C4 29 F9 39 48 E2 90 00 7D [00:21:32]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DB 56 00 00 0E 04 04 00 47 01 00 00 35 04 06 00 C4 29 F9 39 48 E2 90 00 [00:21:32]wFMCommunicate OK [00:21:32]SAM_PROTO_ProcessDocument answer len = 51 [00:21:32]SAM_PROTO_ProcessDocument done [00:21:32]SetTLVBufToDocument [00:21:32]Processing tag 1209 (04B9) [00:21:32]Malloc new data [00:21:32]Processing tag 1041 (0411) [00:21:32]Processing tag 1040 (0410) [00:21:32]Malloc new data [00:21:32]Processing tag 1038 (040E) [00:21:32]Malloc new data [00:21:32]Processing tag 1077 (0435) [00:21:32]Malloc new data [00:21:32]SetTLVBufToDocument err=0 [00:21:32]KKMLoadAndSignOpenShiftData store KKM data [00:21:32]KKMLoadAndSignOpenShiftData err=0 [00:21:32]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Кадыркулова Б. Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 Место: АЗС № 76 "Партнер Нефть" 16.06.2024 00:21 Смена: 327 РНМ: 0000000000099755 ЗНМ: 0300000200 ФД: 22235 ФМ: 0000000000965344 ФПД: 215684553984226 [00:21:32]StoreToDocumentArchive [00:21:32]shift 327 fd 22235 [00:21:32]Create dir for shift 0327 [00:21:32]save to /storage/0327/doc_00022235 [00:21:32]save last doc name /storage/0327/doc_00022235 to /storage/kkm_last_doc_name [00:21:32]save OK [00:21:32]Clear old archive folders... [00:21:32]Remove dir /storage/0326 [00:21:32]opendir ok [00:21:32]file . [00:21:32]file .. [00:21:32]file doc_00022155 [00:21:32]remove file /storage/0326/doc_00022155 [00:21:32]file doc_00022156 [00:21:32]remove file /storage/0326/doc_00022156 [00:21:32]file doc_00022157 [00:21:32]remove file /storage/0326/doc_00022157 [00:21:32]file doc_00022158 [00:21:32]remove file /storage/0326/doc_00022158 [00:21:32]file doc_00022159 [00:21:32]remove file /storage/0326/doc_00022159 [00:21:32]file doc_00022160 [00:21:32]remove file /storage/0326/doc_00022160 [00:21:32]file doc_00022161 [00:21:32]remove file /storage/0326/doc_00022161 [00:21:32]file doc_00022162 [00:21:32]remove file /storage/0326/doc_00022162 [00:21:32]file doc_00022163 [00:21:32]remove file /storage/0326/doc_00022163 [00:21:32]file doc_00022164 [00:21:32]remove file /storage/0326/doc_00022164 [00:21:32]file doc_00022165 [00:21:32]remove file /storage/0326/doc_00022165 [00:21:32]file doc_00022166 [00:21:32]remove file /storage/0326/doc_00022166 [00:21:32]file doc_00022167 [00:21:32]remove file /storage/0326/doc_00022167 [00:21:32]file doc_00022168 [00:21:32]remove file /storage/0326/doc_00022168 [00:21:32]file doc_00022169 [00:21:32]remove file /storage/0326/doc_00022169 [00:21:32]file doc_00022170 [00:21:32]remove file /storage/0326/doc_00022170 [00:21:32]file doc_00022171 [00:21:32]remove file /storage/0326/doc_00022171 [00:21:32]file doc_00022172 [00:21:32]remove file /storage/0326/doc_00022172 [00:21:32]file doc_00022173 [00:21:32]remove file /storage/0326/doc_00022173 [00:21:32]file doc_00022174 [00:21:32]remove file /storage/0326/doc_00022174 [00:21:32]file doc_00022175 [00:21:32]remove file /storage/0326/doc_00022175 [00:21:32]file doc_00022176 [00:21:32]remove file /storage/0326/doc_00022176 [00:21:32]file doc_00022177 [00:21:32]remove file /storage/0326/doc_00022177 [00:21:32]file doc_00022178 [00:21:32]remove file /storage/0326/doc_00022178 [00:21:32]file doc_00022179 [00:21:32]remove file /storage/0326/doc_00022179 [00:21:32]file doc_00022180 [00:21:32]remove file /storage/0326/doc_00022180 [00:21:32]file doc_00022181 [00:21:32]remove file /storage/0326/doc_00022181 [00:21:32]file doc_00022182 [00:21:32]remove file /storage/0326/doc_00022182 [00:21:32]file doc_00022183 [00:21:32]remove file /storage/0326/doc_00022183 [00:21:32]file doc_00022184 [00:21:32]remove file /storage/0326/doc_00022184 [00:21:32]file doc_00022185 [00:21:32]remove file /storage/0326/doc_00022185 [00:21:32]file doc_00022186 [00:21:32]remove file /storage/0326/doc_00022186 [00:21:32]file doc_00022187 [00:21:32]remove file /storage/0326/doc_00022187 [00:21:32]file doc_00022188 [00:21:32]remove file /storage/0326/doc_00022188 [00:21:32]file doc_00022189 [00:21:32]remove file /storage/0326/doc_00022189 [00:21:32]file doc_00022190 [00:21:32]remove file /storage/0326/doc_00022190 [00:21:32]file doc_00022191 [00:21:32]remove file /storage/0326/doc_00022191 [00:21:32]file doc_00022192 [00:21:32]remove file /storage/0326/doc_00022192 [00:21:32]file doc_00022193 [00:21:32]remove file /storage/0326/doc_00022193 [00:21:32]file doc_00022194 [00:21:32]remove file /storage/0326/doc_00022194 [00:21:32]file doc_00022195 [00:21:32]remove file /storage/0326/doc_00022195 [00:21:32]file doc_00022196 [00:21:32]remove file /storage/0326/doc_00022196 [00:21:32]file doc_00022197 [00:21:32]remove file /storage/0326/doc_00022197 [00:21:32]file doc_00022198 [00:21:32]remove file /storage/0326/doc_00022198 [00:21:32]file doc_00022199 [00:21:32]remove file /storage/0326/doc_00022199 [00:21:32]file doc_00022200 [00:21:32]remove file /storage/0326/doc_00022200 [00:21:32]file doc_00022201 [00:21:32]remove file /storage/0326/doc_00022201 [00:21:32]file doc_00022202 [00:21:32]remove file /storage/0326/doc_00022202 [00:21:32]file doc_00022203 [00:21:32]remove file /storage/0326/doc_00022203 [00:21:32]file doc_00022204 [00:21:32]remove file /storage/0326/doc_00022204 [00:21:32]file doc_00022205 [00:21:32]remove file /storage/0326/doc_00022205 [00:21:32]file doc_00022206 [00:21:32]remove file /storage/0326/doc_00022206 [00:21:32]file doc_00022207 [00:21:32]remove file /storage/0326/doc_00022207 [00:21:32]file doc_00022208 [00:21:32]remove file /storage/0326/doc_00022208 [00:21:32]file doc_00022209 [00:21:32]remove file /storage/0326/doc_00022209 [00:21:32]file doc_00022210 [00:21:32]remove file /storage/0326/doc_00022210 [00:21:32]file doc_00022211 [00:21:32]remove file /storage/0326/doc_00022211 [00:21:32]file doc_00022212 [00:21:32]remove file /storage/0326/doc_00022212 [00:21:32]file doc_00022213 [00:21:32]remove file /storage/0326/doc_00022213 [00:21:32]file doc_00022214 [00:21:32]remove file /storage/0326/doc_00022214 [00:21:32]file doc_00022215 [00:21:32]remove file /storage/0326/doc_00022215 [00:21:32]file doc_00022216 [00:21:32]remove file /storage/0326/doc_00022216 [00:21:32]file doc_00022217 [00:21:32]remove file /storage/0326/doc_00022217 [00:21:32]file doc_00022218 [00:21:32]remove file /storage/0326/doc_00022218 [00:21:32]file doc_00022219 [00:21:32]remove file /storage/0326/doc_00022219 [00:21:32]file doc_00022220 [00:21:32]remove file /storage/0326/doc_00022220 [00:21:32]file doc_00022221 [00:21:32]remove file /storage/0326/doc_00022221 [00:21:32]file doc_00022222 [00:21:32]remove file /storage/0326/doc_00022222 [00:21:32]file doc_00022223 [00:21:32]remove file /storage/0326/doc_00022223 [00:21:32]file doc_00022224 [00:21:32]remove file /storage/0326/doc_00022224 [00:21:32]file doc_00022225 [00:21:32]remove file /storage/0326/doc_00022225 [00:21:32]file doc_00022226 [00:21:32]remove file /storage/0326/doc_00022226 [00:21:32]file doc_00022227 [00:21:32]remove file /storage/0326/doc_00022227 [00:21:32]file doc_00022228 [00:21:32]remove file /storage/0326/doc_00022228 [00:21:32]file doc_00022229 [00:21:32]remove file /storage/0326/doc_00022229 [00:21:32]file doc_00022230 [00:21:32]remove file /storage/0326/doc_00022230 [00:21:32]file doc_00022231 [00:21:32]remove file /storage/0326/doc_00022231 [00:21:32]file doc_00022232 [00:21:33]remove file /storage/0326/doc_00022232 [00:21:33]file doc_00022233 [00:21:33]remove file /storage/0326/doc_00022233 [00:21:33]file doc_00022234 [00:21:33]remove file /storage/0326/doc_00022234 [00:21:33]remove dir /storage/0326 [00:21:33]ProcessDocumentItem done err = 0, tmpTLVsize=270 [00:21:33]tlvbuf is 00051440 [00:21:33]SAM_PROTO_ClearQueue [00:21:33]wFMCommunicate request_size=4 [00:21:33]MH_SAM_APDU [00:21:33]CAPDU: 80 09 00 00 [00:21:33]Write to MH i2c: E2 08 00 58 18 80 09 00 00 00 00 00 00 E2 [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:21:33]Read from MH i2c: E2 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 03 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 03 00 58 18 00 90 00 E4 [00:21:33]RAPDU: 90 00 [00:21:33]wFMCommunicate OK [00:21:33]SAM_PROTO_ClearQueue done [00:21:33]KKMCreateOFDPacket [00:21:33]OFDProtocolAddRootSTLVToBuf [00:21:33]FM_MakeSignedData [00:21:33]FM_MakeSignedData [00:21:33]SAM_PROTO_SignData [00:21:33]wFMCommunicate request_size=4 [00:21:33]MH_SAM_APDU [00:21:33]CAPDU: 80 0D 01 02 [00:21:33]Write to MH i2c: E2 08 00 59 18 80 0D 01 02 00 00 00 00 EA [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 [00:21:33]MH_I2C_Read... [00:21:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:21:33]Read from MH i2c: E2 03 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 03 00 59 18 00 90 00 E5 [00:21:33]RAPDU: 90 00 [00:21:33]wFMCommunicate OK [00:21:33]wFMCommunicate request_size=255 [00:21:33]MH_SAM_APDU [00:21:33]CAPDU: 80 0D 02 02 FA 02 00 0E 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 11 30 6E 66 0E 04 04 00 47 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DB 56 00 00 11 04 10 00 30 30 [00:21:33]Write to MH i2c: E2 02 01 5A 18 80 0D 02 02 FA 00 02 00 0E 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 11 30 6E 66 0E 04 04 00 47 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DB 56 00 00 11 04 10 00 30 30 00 00 C0 [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:33]Read from MH i2c: E2 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 03 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 03 00 5A 18 00 90 00 E6 [00:21:33]RAPDU: 90 00 [00:21:33]wFMCommunicate OK [00:21:33]wFMCommunicate request_size=29 [00:21:33]MH_SAM_APDU [00:21:33]CAPDU: 80 0D 02 02 18 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 C4 29 F9 39 48 E2 [00:21:33]Write to MH i2c: E2 20 00 5B 18 80 0D 02 02 18 00 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 C4 29 F9 39 48 E2 00 00 64 [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:33]Read from MH i2c: E2 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 03 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 03 00 5B 18 00 90 00 E7 [00:21:33]RAPDU: 90 00 [00:21:33]wFMCommunicate OK [00:21:33]wFMCommunicate request_size=4 [00:21:33]MH_SAM_APDU [00:21:33]CAPDU: 80 0D 03 02 [00:21:33]Write to MH i2c: E2 08 00 5C 18 80 0D 03 02 00 00 00 00 EF [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:21:33]Read from MH i2c: E2 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 0B 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 0B 00 5C 18 00 34 3E A0 6D B0 10 FD F9 90 00 25 [00:21:33]RAPDU: 34 3E A0 6D B0 10 FD F9 90 00 [00:21:33]wFMCommunicate OK [00:21:33]SAM_PROTO_SignData done [00:21:33]FM_MakeSignedData done [00:21:33]CreateOFDProtocolMessage [00:21:33]wFMCommunicate request_size=4 [00:21:33]MH_SAM_APDU [00:21:33]CAPDU: 80 11 00 00 [00:21:33]Write to MH i2c: E2 08 00 5D 18 80 11 00 00 00 00 00 00 EF [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:21:33]Read from MH i2c: E2 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 17 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 17 00 5D 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 41 [00:21:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:21:33]wFMCommunicate OK [00:21:33]CreateOFDProtocolMessage done [00:21:33]OFDSenderStorePacket 22235 [00:21:33]StoreOFDPacket docnum=22235 [00:21:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 22 01 00 00 1A 4A 1A 01 DF A4 5A 02 01 00 02 00 0E 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 11 30 6E 66 0E 04 04 00 47 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DB 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 C4 29 F9 39 48 E2 34 3E A0 6D B0 10 FD F9 [00:21:33]CheckFolder [00:21:33]dirname=/storage/ofd_packets [00:21:33]CheckFolder done [00:21:33]ProducePacketName [00:21:33]name=ofd_packets/00022235 [00:21:33]NVStorageSaveData ofd_packets/00022235 [00:21:33]File name is /storage/ofd_packets/00022235 [00:21:33]Write 320 bytes [00:21:33]NVStorageSaveData done [00:21:33]OFDSenderStorePacket done [00:21:33]KKMCreateOFDPacket done [00:21:33]NVStorageSaveData kkm_last_timestamp [00:21:33]File name is /storage/kkm_last_timestamp [00:21:33]Write 4 bytes [00:21:33]NVStorageSaveData done [00:21:33]ExternCall_PrintAddStr [00:21:33]wPrintStart [00:21:33]Write to MH i2c: 01 00 00 5E 18 76 [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: 01 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: 01 07 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: 01 07 00 5E 18 00 00 00 00 00 FF 0F 8B [00:21:33]RasterBufferAndPrint [00:21:33]line Отчет об открытии смены [00:21:33]line ФФД: 1.0 [00:21:33]line ИНН: 02508201610067 [00:21:33]line Кассир: Кадыркулова Б. [00:21:33]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [00:21:33]line Место: АЗС № 76 "Партнер Нефть" [00:21:33]line 16.06.2024 00:21 [00:21:33]line Смена: 327 [00:21:33]line РНМ: 0000000000099755 [00:21:33]line ЗНМ: 0300000200 [00:21:33]line ФД: 22235 [00:21:33]line ФМ: 0000000000965344 [00:21:33]line ФПД: 215684553984226 [00:21:33]written 0, free lines is 4095 [00:21:33]OFD Sender: Processing packet 22235 [packets to send 5, broken 4] [00:21:33]ProducePacketName [00:21:33]name=ofd_packets/00022235 [00:21:33]OFD Sender: To server: pG, [00:21:33]CommunicateWithHost lk.salyk.kg:30040 [00:21:33]ConnectInit lk.salyk.kg [00:21:33]Connected sock=10 [00:21:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 22 01 00 00 1A 4A 1A 01 DF A4 5A 02 01 00 02 00 0E 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 11 30 6E 66 0E 04 04 00 47 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DB 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 C4 29 F9 39 48 E2 34 3E A0 6D B0 10 FD F9 [00:21:33]Write to MH i2c: 01 00 00 70 18 88 [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: 01 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: 01 07 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: 01 07 00 70 18 00 00 00 00 00 5F 0E FC [00:21:33]RasterBufferAndPrint [00:21:33]line [00:21:33]line [00:21:33]line [00:21:33]line [00:21:33]line [00:21:33]written 0, free lines is 3693 [00:21:33]MH_Cut [00:21:33]Write to MH i2c: D1 01 00 77 18 01 61 [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: D1 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: D1 01 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: D1 01 00 77 18 00 60 [00:21:33]Write to MH i2c: 01 00 00 78 18 90 [00:21:34]Write i2c OK [00:21:34]MH_I2C_Read... [00:21:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 78 C3 47 00 D9 2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DB 56 00 00 F4 03 04 00 CD D8 6D 66 B6 04 01 00 00 3A 35 97 7F DD BD EE 0F [00:21:34]CommunicateWithHost err = 0 [00:21:34]CheckOFDResponse [00:21:34]1017 (14) - 77093643461234 [00:21:34]1041 (16) - 0000000000965344 [00:21:34]1040 (4) - 22235 [00:21:34]1012 (4) - 15.06.2024 18:09 [00:21:34]1206 (1) - 0 [00:21:34]OFD Sender: Remove packet 22235 [00:21:34]ProducePacketName [00:21:34]name=ofd_packets/00022235 [00:21:34]NVStorageDeleteData [00:21:34]*** Cut start [00:21:34]*** Partial cut [00:21:34]*** CUTSNS_PIN = 1 [00:21:34]*** CUTSNS_PIN = 0 [00:21:34]OFD Sender: No OFD packet to send [00:21:34]*** Brake cut motor [00:21:35]Read from MH i2c: 01 [00:21:35]MH_I2C_Read... [00:21:35]*** Stop cut motor [00:21:35]*** Cut end [00:21:35]Read from MH i2c: 01 07 00 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: 01 07 00 78 18 00 00 00 00 00 FF 0F A5 [00:21:35]process_action open_shift done [00:21:35]requested_data is exist [00:21:35]produce_requested_data [00:21:35]requested_item fd.num is exist - process it [00:21:35]SAM_PROTO_GetFieldsCounters [00:21:35]wFMCommunicate request_size=4 [00:21:35]MH_SAM_APDU [00:21:35]CAPDU: 80 13 00 00 [00:21:35]Write to MH i2c: E2 08 00 79 18 80 13 00 00 00 00 00 00 0D [00:21:35]Write i2c OK [00:21:35]MH_I2C_Read... [00:21:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:21:35]Read from MH i2c: E2 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 62 00 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 62 00 79 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DB 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [00:21:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DB 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:21:35]wFMCommunicate OK [00:21:35]SAM_PROTO_GetFieldsCounters done [00:21:35]requested_item shift.num is exist - process it [00:21:35]requested_item shift.opened is exist - process it [00:21:35]req_shift_opened [00:21:35]FM_GetShiftState [00:21:35]SAM_PROTO_GetShiftState [00:21:35]wFMCommunicate request_size=4 [00:21:35]MH_SAM_APDU [00:21:35]CAPDU: 80 13 01 00 [00:21:35]Write to MH i2c: E2 08 00 7A 18 80 13 01 00 00 00 00 00 0F [00:21:35]Write i2c OK [00:21:35]MH_I2C_Read... [00:21:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:35]Read from MH i2c: E2 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 0E 00 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 0E 00 7A 18 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 30 [00:21:35]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [00:21:35]wFMCommunicate OK [00:21:35]SAM_PROTO_GetShiftState done [00:21:35]FM_GetShiftState done [00:21:35]req_shift_opened done [00:21:35]requested_item shift.open_date is exist - process it [00:21:35]req_shift_open_date [00:21:35]req_shift_open_date done [00:21:35]produce_requested_data done [00:21:35]produce_requested_data return {"fd.num":22235,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [00:21:35]process_action_free open_shift [00:21:35]json_value_free [00:21:35]json_value_free done [00:21:35]process_json_proto returns [00:21:35]Send response to host [00:21:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22235,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [00:21:35]free response buf [00:21:35]execute_script done [00:21:35]execute_script returns [00:21:35]free content buf [00:21:35]Sock 8.Close socket [00:21:35]Sock 8.Thread stoped [00:21:35]accept exits with 9 [00:21:35]New connection [00:21:35]New thread 3066695012 created [00:21:35]Thread 3066838372 joined [00:21:35]Waiting for new connection... [00:21:35] Sock 9.Parse request [00:21:35]Sock 9.Check first char [00:21:35]Sock 9.First char is OK [00:21:35]request: POST /json_proto HTTP/1.0 [00:21:35]Method: POST [00:21:35]URL: /json_proto [00:21:35]Method is POST - this is cgi request [00:21:35]url: /json_proto [00:21:35]query_string will be loaded in cgi processing [00:21:35]execute_cgi json_proto POST (null) [00:21:35]execute_cgi path=json_proto method=POST [00:21:35]POST find Content-Length [00:21:35]Host: 172.17.35.133:8080 [00:21:35]Content-Length: 331 [00:21:35]Content-Type: application/json [00:21:35] [00:21:35]POST finish read [00:21:35]Found Content-Length = 331 [00:21:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:21:35]execute_script... [00:21:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:21:35]POST & json_proto [00:21:35]process_json_proto [00:21:35]json parsed OK: [00:21:35]protocol is kg_v1.0 [00:21:35]action value=get_value [00:21:35]process_action get_value [00:21:35]cmd_get_value [00:21:35]process_action get_value done [00:21:35]requested_data is exist [00:21:35]produce_requested_data [00:21:35]requested_item fm.sale.total is exist - process it [00:21:35]SAM_PROTO_GetFMData [00:21:35]wFMCommunicate request_size=4 [00:21:35]MH_SAM_APDU [00:21:35]CAPDU: 80 13 03 00 [00:21:35]Write to MH i2c: E2 08 00 7B 18 80 13 03 00 00 00 00 00 12 [00:21:35]Write i2c OK [00:21:35]MH_I2C_Read... [00:21:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:21:35]Read from MH i2c: E2 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 FD 00 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 FD 00 7B 18 00 C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 9B [00:21:35]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 4D 54 00 00 69 04 A2 00 6F 04 04 00 36 54 00 00 B1 04 04 00 8C 7E 23 25 70 04 04 00 70 26 5D 20 72 04 04 00 1C 58 C6 04 00 04 7E 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 56 A8 F1 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C1 16 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 15 12 EF 03 09 00 F6 90 00 [00:21:35]wFMCommunicate OK [00:21:35]wFMCommunicate request_size=4 [00:21:35]MH_SAM_APDU [00:21:35]CAPDU: 80 17 00 00 [00:21:35]Write to MH i2c: E2 08 00 7C 18 80 17 00 00 00 00 00 00 14 [00:21:35]Write i2c OK [00:21:35]MH_I2C_Read... [00:21:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:36]Read from MH i2c: E2 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 7C 18 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 1F [00:21:36]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 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 90 00 [00:21:36]wFMCommunicate OK [00:21:36]wFMCommunicate request_size=4 [00:21:36]MH_SAM_APDU [00:21:36]CAPDU: 80 17 00 00 [00:21:36]Write to MH i2c: E2 08 00 7D 18 80 17 00 00 00 00 00 00 15 [00:21:36]Write i2c OK [00:21:36]MH_I2C_Read... [00:21:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:36]Read from MH i2c: E2 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 7D 18 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 33 [00:21:36]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:36]wFMCommunicate OK [00:21:36]wFMCommunicate request_size=4 [00:21:36]MH_SAM_APDU [00:21:36]CAPDU: 80 17 00 00 [00:21:36]Write to MH i2c: E2 08 00 7E 18 80 17 00 00 00 00 00 00 16 [00:21:36]Write i2c OK [00:21:36]MH_I2C_Read... [00:21:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:37]Read from MH i2c: E2 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: E2 FD 00 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: E2 FD 00 7E 18 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 88 [00:21:37]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:37]wFMCommunicate OK [00:21:37]wFMCommunicate request_size=4 [00:21:37]MH_SAM_APDU [00:21:37]CAPDU: 80 17 00 00 [00:21:37]Write to MH i2c: E2 08 00 7F 18 80 17 00 00 00 00 00 00 17 [00:21:37]Write i2c OK [00:21:37]MH_I2C_Read... [00:21:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:21:37]Read from MH i2c: E2 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: E2 E0 00 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: E2 E0 00 7F 18 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 01 [00:21:37]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:21:37]wFMCommunicate OK [00:21:37]SAM_PROTO_GetFMData done [00:21:37]requested_item fm.sale_refund.total is exist - process it [00:21:37]requested_item fm.buy.total is exist - process it [00:21:37]requested_item shift.sale.total is exist - process it [00:21:37]SAM_PROTO_GetShiftData [00:21:37]wFMCommunicate request_size=4 [00:21:37]MH_SAM_APDU [00:21:37]CAPDU: 80 13 02 00 [00:21:37]Write to MH i2c: E2 08 00 80 18 80 13 02 00 00 00 00 00 16 [00:21:37]Write i2c OK [00:21:37]MH_I2C_Read... [00:21:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:21:38]Read from MH i2c: E2 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 FD 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 FD 00 80 18 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 89 [00:21:38]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:21:38]wFMCommunicate OK [00:21:38]wFMCommunicate request_size=4 [00:21:38]MH_SAM_APDU [00:21:38]CAPDU: 80 17 00 00 [00:21:38]Write to MH i2c: E2 08 00 81 18 80 17 00 00 00 00 00 00 19 [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:38]Read from MH i2c: E2 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 FD 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 FD 00 81 18 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 21 [00:21:38]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:21:38]wFMCommunicate OK [00:21:38]wFMCommunicate request_size=4 [00:21:38]MH_SAM_APDU [00:21:38]CAPDU: 80 17 00 00 [00:21:38]Write to MH i2c: E2 08 00 82 18 80 17 00 00 00 00 00 00 1A [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:39]Read from MH i2c: E2 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 FD 00 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 FD 00 82 18 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 EC [00:21:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:21:39]wFMCommunicate OK [00:21:39]wFMCommunicate request_size=4 [00:21:39]MH_SAM_APDU [00:21:39]CAPDU: 80 17 00 00 [00:21:39]Write to MH i2c: E2 08 00 83 18 80 17 00 00 00 00 00 00 1B [00:21:39]Write i2c OK [00:21:39]MH_I2C_Read... [00:21:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:39]Read from MH i2c: E2 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 FD 00 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 FD 00 83 18 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 8D [00:21:39]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:21:39]wFMCommunicate OK [00:21:39]wFMCommunicate request_size=4 [00:21:39]MH_SAM_APDU [00:21:39]CAPDU: 80 17 00 00 [00:21:39]Write to MH i2c: E2 08 00 84 18 80 17 00 00 00 00 00 00 1C [00:21:39]OFD Sender: No OFD packet to send [00:21:39]Write i2c OK [00:21:39]MH_I2C_Read... [00:21:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:21:39]Read from MH i2c: E2 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 BD 00 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 BD 00 84 18 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 02 [00:21:40]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:21:40]wFMCommunicate OK [00:21:40]SAM_PROTO_GetShiftData done [00:21:40]requested_item shift.sale.total_cash is exist - process it [00:21:40]requested_item shift.sale_refund.total is exist - process it [00:21:40]requested_item shift.sale_refund.total_cash is exist - process it [00:21:40]requested_item shift.buy.total is exist - process it [00:21:40]requested_item shift.buy.total_cash is exist - process it [00:21:40]produce_requested_data done [00:21:40]produce_requested_data return {"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:21:40]process_action_free get_value [00:21:40]json_value_free [00:21:40]json_value_free done [00:21:40]process_json_proto returns [00:21:40]Send response to host [00:21:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6230831.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:21:40]free response buf [00:21:40]execute_script done [00:21:40]execute_script returns [00:21:40]free content buf [00:21:40]Sock 9.Close socket [00:21:40]Sock 9.Thread stoped [00:21:44]OFD Sender: No OFD packet to send [00:21:49]OFD Sender: No OFD packet to send [00:21:54]OFD Sender: No OFD packet to send [00:21:59]OFD Sender: No OFD packet to send [00:22:04]OFD Sender: No OFD packet to send [00:22:09]OFD Sender: No OFD packet to send [00:22:14]OFD Sender: No OFD packet to send [00:22:19]OFD Sender: No OFD packet to send [00:22:24]OFD Sender: No OFD packet to send [00:22:29]OFD Sender: No OFD packet to send [00:22:34]OFD Sender: No OFD packet to send [00:22:39]OFD Sender: No OFD packet to send [00:22:44]OFD Sender: No OFD packet to send [00:22:49]OFD Sender: No OFD packet to send [00:22:54]OFD Sender: No OFD packet to send [00:22:59]OFD Sender: No OFD packet to send [00:23:04]OFD Sender: No OFD packet to send [00:23:09]OFD Sender: No OFD packet to send [00:23:14]OFD Sender: No OFD packet to send [00:23:19]OFD Sender: No OFD packet to send [00:23:24]OFD Sender: No OFD packet to send [00:23:29]OFD Sender: No OFD packet to send [00:23:34]OFD Sender: No OFD packet to send [00:23:39]OFD Sender: No OFD packet to send [00:23:44]OFD Sender: No OFD packet to send [00:23:49]OFD Sender: No OFD packet to send [00:23:54]OFD Sender: No OFD packet to send [00:23:59]OFD Sender: No OFD packet to send [00:24:04]OFD Sender: No OFD packet to send [00:24:09]OFD Sender: No OFD packet to send [00:24:14]OFD Sender: No OFD packet to send [00:24:19]OFD Sender: No OFD packet to send [00:24:24]OFD Sender: No OFD packet to send [00:24:29]OFD Sender: No OFD packet to send [00:24:34]OFD Sender: No OFD packet to send [00:24:39]OFD Sender: No OFD packet to send [00:24:44]OFD Sender: No OFD packet to send [00:24:49]OFD Sender: No OFD packet to send [00:24:54]OFD Sender: No OFD packet to send [00:24:59]OFD Sender: No OFD packet to send [00:25:04]OFD Sender: No OFD packet to send [00:25:09]OFD Sender: No OFD packet to send [00:25:14]OFD Sender: No OFD packet to send [00:25:19]OFD Sender: No OFD packet to send [00:25:24]OFD Sender: No OFD packet to send [00:25:29]OFD Sender: No OFD packet to send [00:25:34]OFD Sender: No OFD packet to send [00:25:39]OFD Sender: No OFD packet to send [00:25:44]OFD Sender: No OFD packet to send [00:25:49]OFD Sender: No OFD packet to send [00:25:54]OFD Sender: No OFD packet to send [00:25:59]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:49]OFD Sender: No OFD packet to send [00:26:54]OFD Sender: No OFD packet to send [00:26:59]OFD Sender: No OFD packet to send [00:27:04]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [00:35:40]OFD Sender: No OFD packet to send [00:35:45]OFD Sender: No OFD packet to send [00:35:50]OFD Sender: No OFD packet to send [00:35:55]OFD Sender: No OFD packet to send [00:36:00]OFD Sender: No OFD packet to send [00:36:05]OFD Sender: No OFD packet to send [00:36:10]OFD Sender: No OFD packet to send [00:36:15]OFD Sender: No OFD packet to send [00:36:20]OFD Sender: No OFD packet to send [00:36:25]OFD Sender: No OFD packet to send [00:36:30]OFD Sender: No OFD packet to send [00:36:35]OFD Sender: No OFD packet to send [00:36:40]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:10]OFD Sender: No OFD packet to send [00:37:15]OFD Sender: No OFD packet to send [00:37:20]OFD Sender: No OFD packet to send [00:37:25]OFD Sender: No OFD packet to send [00:37:30]OFD Sender: No OFD packet to send [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:55]OFD Sender: No OFD packet to send [00:38:00]OFD Sender: No OFD packet to send [00:38:05]OFD Sender: No OFD packet to send [00:38:10]OFD Sender: No OFD packet to send [00:38:15]OFD Sender: No OFD packet to send [00:38:20]OFD Sender: No OFD packet to send [00:38:25]OFD Sender: No OFD packet to send [00:38:30]OFD Sender: No OFD packet to send [00:38:35]OFD Sender: No OFD packet to send [00:38:40]OFD Sender: No OFD packet to send [00:38:45]OFD Sender: No OFD packet to send [00:38:50]OFD Sender: No OFD packet to send [00:38:55]OFD Sender: No OFD packet to send [00:39:00]OFD Sender: No OFD packet to send [00:39:05]OFD Sender: No OFD packet to send [00:39:10]OFD Sender: No OFD packet to send [00:39:15]OFD Sender: No OFD packet to send [00:39:20]OFD Sender: No OFD packet to send [00:39:25]OFD Sender: No OFD packet to send [00:39:30]OFD Sender: No OFD packet to send [00:39:35]OFD Sender: No OFD packet to send [00:39:40]OFD Sender: No OFD packet to send [00:39:45]OFD Sender: No OFD packet to send [00:39:50]OFD Sender: No OFD packet to send [00:39:55]OFD Sender: No OFD packet to send [00:40:00]OFD Sender: No OFD packet to send [00:40:05]OFD Sender: No OFD packet to send [00:40:10]OFD Sender: No OFD packet to send [00:40:15]OFD Sender: No OFD packet to send [00:40:20]OFD Sender: No OFD packet to send [00:40:25]OFD Sender: No OFD packet to send [00:40:30]OFD Sender: No OFD packet to send [00:40:35]OFD Sender: No OFD packet to send [00:40:40]OFD Sender: No OFD packet to send [00:40:45]OFD Sender: No OFD packet to send [00:40:50]OFD Sender: No OFD packet to send [00:40:55]OFD Sender: No OFD packet to send [00:41:00]OFD Sender: No OFD packet to send [00:41:05]OFD Sender: No OFD packet to send [00:41:10]OFD Sender: No OFD packet to send [00:41:15]OFD Sender: No OFD packet to send [00:41:20]OFD Sender: No OFD packet to send [00:41:25]OFD Sender: No OFD packet to send [00:41:30]OFD Sender: No OFD packet to send [00:41:35]OFD Sender: No OFD packet to send [00:41:40]OFD Sender: No OFD packet to send [00:41:45]OFD Sender: No OFD packet to send [00:41:50]OFD Sender: No OFD packet to send [00:41:55]OFD Sender: No OFD packet to send [00:42:00]OFD Sender: No OFD packet to send [00:42:05]OFD Sender: No OFD packet to send [00:42:10]OFD Sender: No OFD packet to send [00:42:15]OFD Sender: No OFD packet to send [00:42:20]OFD Sender: No OFD packet to send [00:42:25]OFD Sender: No OFD packet to send [00:42:30]OFD Sender: No OFD packet to send [00:42:35]OFD Sender: No OFD packet to send [00:42:40]OFD Sender: No OFD packet to send [00:42:45]OFD Sender: No OFD packet to send [00:42:50]OFD Sender: No OFD packet to send [00:42:55]OFD Sender: No OFD packet to send [00:43:00]OFD Sender: No OFD packet to send [00:43:05]OFD Sender: No OFD packet to send [00:43:10]OFD Sender: No OFD packet to send [00:43:15]OFD Sender: No OFD packet to send [00:43:20]OFD Sender: No OFD packet to send [00:43:25]OFD Sender: No OFD packet to send [00:43:30]OFD Sender: No OFD packet to send [00:43:35]OFD Sender: No OFD packet to send [00:43:40]OFD Sender: No OFD packet to send [00:43:45]OFD Sender: No OFD packet to send [00:43:50]OFD Sender: No OFD packet to send [00:43:55]OFD Sender: No OFD packet to send [00:44:00]OFD Sender: No OFD packet to send [00:44:05]OFD Sender: No OFD packet to send [00:44:10]OFD Sender: No OFD packet to send [00:44:15]OFD Sender: No OFD packet to send [00:44:20]OFD Sender: No OFD packet to send [00:44:25]OFD Sender: No OFD packet to send [00:44:30]OFD Sender: No OFD packet to send [00:44:35]OFD Sender: No OFD packet to send [00:44:40]OFD Sender: No OFD packet to send [00:44:45]OFD Sender: No OFD packet to send [00:44:50]OFD Sender: No OFD packet to send [00:44:55]OFD Sender: No OFD packet to send [00:45:00]OFD Sender: No OFD packet to send [00:45:05]OFD Sender: No OFD packet to send [00:45:10]OFD Sender: No OFD packet to send [00:45:15]OFD Sender: No OFD packet to send [00:45:20]OFD Sender: No OFD packet to send [00:45:25]OFD Sender: No OFD packet to send [00:45:30]OFD Sender: No OFD packet to send [00:45:35]OFD Sender: No OFD packet to send [00:45:40]OFD Sender: No OFD packet to send [00:45:45]OFD Sender: No OFD packet to send [00:45:50]OFD Sender: No OFD packet to send [00:45:55]OFD Sender: No OFD packet to send [00:46:00]OFD Sender: No OFD packet to send [00:46:05]OFD Sender: No OFD packet to send [00:46:10]OFD Sender: No OFD packet to send [00:46:15]OFD Sender: No OFD packet to send [00:46:20]OFD Sender: No OFD packet to send [00:46:25]OFD Sender: No OFD packet to send [00:46:30]OFD Sender: No OFD packet to send [00:46:35]OFD Sender: No OFD packet to send [00:46:40]OFD Sender: No OFD packet to send [00:46:45]OFD Sender: No OFD packet to send [00:46:50]OFD Sender: No OFD packet to send [00:46:55]OFD Sender: No OFD packet to send [00:47:00]OFD Sender: No OFD packet to send [00:47:05]OFD Sender: No OFD packet to send [00:47:10]OFD Sender: No OFD packet to send [00:47:15]OFD Sender: No OFD packet to send [00:47:20]OFD Sender: No OFD packet to send [00:47:25]OFD Sender: No OFD packet to send [00:47:30]OFD Sender: No OFD packet to send [00:47:35]OFD Sender: No OFD packet to send [00:47:40]OFD Sender: No OFD packet to send [00:47:45]OFD Sender: No OFD packet to send [00:47:50]OFD Sender: No OFD packet to send [00:47:55]OFD Sender: No OFD packet to send [00:48:00]OFD Sender: No OFD packet to send [00:48:05]OFD Sender: No OFD packet to send [00:48:10]OFD Sender: No OFD packet to send [00:48:15]OFD Sender: No OFD packet to send [00:48:20]OFD Sender: No OFD packet to send [00:48:25]OFD Sender: No OFD packet to send [00:48:30]OFD Sender: No OFD packet to send [00:48:35]OFD Sender: No OFD packet to send [00:48:40]OFD Sender: No OFD packet to send [00:48:46]OFD Sender: No OFD packet to send [00:48:51]OFD Sender: No OFD packet to send [00:48:56]OFD Sender: No OFD packet to send [00:49:01]OFD Sender: No OFD packet to send [00:49:06]OFD Sender: No OFD packet to send [00:49:11]OFD Sender: No OFD packet to send [00:49:16]OFD Sender: No OFD packet to send [00:49:21]OFD Sender: No OFD packet to send [00:49:26]OFD Sender: No OFD packet to send [00:49:31]OFD Sender: No OFD packet to send [00:49:36]OFD Sender: No OFD packet to send [00:49:41]OFD Sender: No OFD packet to send [00:49:46]OFD Sender: No OFD packet to send [00:49:51]OFD Sender: No OFD packet to send [00:49:56]OFD Sender: No OFD packet to send [00:50:01]OFD Sender: No OFD packet to send [00:50:06]OFD Sender: No OFD packet to send [00:50:11]OFD Sender: No OFD packet to send [00:50:16]OFD Sender: No OFD packet to send [00:50:21]OFD Sender: No OFD packet to send [00:50:26]OFD Sender: No OFD packet to send [00:50:31]OFD Sender: No OFD packet to send [00:50:36]OFD Sender: No OFD packet to send [00:50:41]OFD Sender: No OFD packet to send [00:50:46]OFD Sender: No OFD packet to send [00:50:51]OFD Sender: No OFD packet to send [00:50:56]OFD Sender: No OFD packet to send [00:51:01]OFD Sender: No OFD packet to send [00:51:06]OFD Sender: No OFD packet to send [00:51:11]OFD Sender: No OFD packet to send [00:51:16]OFD Sender: No OFD packet to send [00:51:21]OFD Sender: No OFD packet to send [00:51:26]OFD Sender: No OFD packet to send [00:51:31]OFD Sender: No OFD packet to send [00:51:36]OFD Sender: No OFD packet to send [00:51:41]OFD Sender: No OFD packet to send [00:51:46]OFD Sender: No OFD packet to send [00:51:51]OFD Sender: No OFD packet to send [00:51:56]OFD Sender: No OFD packet to send [00:52:01]OFD Sender: No OFD packet to send [00:52:06]OFD Sender: No OFD packet to send [00:52:11]OFD Sender: No OFD packet to send [00:52:16]OFD Sender: No OFD packet to send [00:52:21]OFD Sender: No OFD packet to send [00:52:26]OFD Sender: No OFD packet to send [00:52:31]OFD Sender: No OFD packet to send [00:52:36]OFD Sender: No OFD packet to send [00:52:41]OFD Sender: No OFD packet to send [00:52:46]OFD Sender: No OFD packet to send [00:52:51]OFD Sender: No OFD packet to send [00:52:56]OFD Sender: No OFD packet to send [00:53:01]OFD Sender: No OFD packet to send [00:53:06]OFD Sender: No OFD packet to send [00:53:11]OFD Sender: No OFD packet to send [00:53:16]OFD Sender: No OFD packet to send [00:53:21]OFD Sender: No OFD packet to send [00:53:26]OFD Sender: No OFD packet to send [00:53:31]OFD Sender: No OFD packet to send [00:53:36]OFD Sender: No OFD packet to send [00:53:41]OFD Sender: No OFD packet to send [00:53:46]OFD Sender: No OFD packet to send [00:53:48]accept exits with 8 [00:53:48]New connection [00:53:48]New thread 3066838372 created [00:53:48]Thread 3066695012 joined [00:53:48]Waiting for new connection... [00:53:48] Sock 8.Parse request [00:53:48]Sock 8.Check first char [00:53:48]Sock 8.First char is OK [00:53:48]request: POST /json_proto HTTP/1.0 [00:53:48]Method: POST [00:53:48]URL: /json_proto [00:53:48]Method is POST - this is cgi request [00:53:48]url: /json_proto [00:53:48]query_string will be loaded in cgi processing [00:53:48]execute_cgi json_proto POST (null) [00:53:48]execute_cgi path=json_proto method=POST [00:53:48]POST find Content-Length [00:53:48]Host: 172.17.35.133:8080 [00:53:48]Content-Length: 732 [00:53:48]Content-Type: application/json [00:53:48] [00:53:48]POST finish read [00:53:48]Found Content-Length = 732 [00:53:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254450", "tax_sys" : 0, "items" : [ { "code": "47000405990016", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:53:48]execute_script... [00:53:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254450", "tax_sys" : 0, "items" : [ { "code": "47000405990016", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:53:48]POST & json_proto [00:53:48]process_json_proto [00:53:48]json parsed OK: [00:53:48]protocol is kg_v1.0 [00:53:48]action value=close_receipt [00:53:48]process_action close_receipt [00:53:48]cmd_close_receipt [00:53:48]MH_GetDate [00:53:48]Write to MH i2c: F0 00 00 85 18 8C [00:53:48]Write i2c OK [00:53:48]MH_I2C_Read... [00:53:48]Read from MH i2c: F0 [00:53:48]MH_I2C_Read... [00:53:48]Read from MH i2c: F0 09 00 [00:53:48]MH_I2C_Read... [00:53:48]Read from MH i2c: F0 09 00 85 18 00 A2 37 6E 66 8C 55 28 65 B0 [00:53:48]GetLastDocTimeStamp 1718497297 [00:53:48]current date 1718499234 [00:53:48]FM_GetShiftState [00:53:48]SAM_PROTO_GetShiftState [00:53:48]wFMCommunicate request_size=4 [00:53:48]MH_SAM_APDU [00:53:48]CAPDU: 80 13 01 00 [00:53:48]Write to MH i2c: E2 08 00 86 18 80 13 01 00 00 00 00 00 1B [00:53:48]Write i2c OK [00:53:48]MH_I2C_Read... [00:53:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:48]Read from MH i2c: E2 [00:53:48]MH_I2C_Read... [00:53:48]Read from MH i2c: E2 0E 00 [00:53:48]MH_I2C_Read... [00:53:48]Read from MH i2c: E2 0E 00 86 18 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 3C [00:53:48]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [00:53:48]wFMCommunicate OK [00:53:48]SAM_PROTO_GetShiftState done [00:53:48]FM_GetShiftState done [00:53:48]opened in 1718497297 [00:53:48]opened+sec_in_day 1718583697 [00:53:48]quantity*price = 39500 [00:53:48]sum+1 = 39501 [00:53:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 395.00 НСП 1% : 3.50 НДС 12% : 41.95 Наличными: 395.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 1 16.06.2024 00:53 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22236 ФПД: 106293654759676 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T005354&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22236&fm=106293654759676&tin=02508201610067®Number=0000000000099755&sum=39500 0 [00:53:49]StoreToDocumentArchive [00:53:49]shift 327 fd 22236 [00:53:49]save to /storage/0327/doc_00022236 [00:53:49]save last doc name /storage/0327/doc_00022236 to /storage/kkm_last_doc_name [00:53:49]save OK [00:53:49]Clear old archive folders... [00:53:49]ProcessDocumentItem done err = 0, tmpTLVsize=304 [00:53:49]tlvbuf is 0020A5F0 [00:53:49]SAM_PROTO_ClearQueue [00:53:49]wFMCommunicate request_size=4 [00:53:49]MH_SAM_APDU [00:53:49]CAPDU: 80 09 00 00 [00:53:49]Write to MH i2c: E2 08 00 93 18 80 09 00 00 00 00 00 00 1D [00:53:49]Write i2c OK [00:53:49]MH_I2C_Read... [00:53:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:53:49]Read from MH i2c: E2 [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: E2 03 00 [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: E2 03 00 93 18 00 90 00 1F [00:53:49]RAPDU: 90 00 [00:53:49]wFMCommunicate OK [00:53:49]SAM_PROTO_ClearQueue done [00:53:49]KKMCreateOFDPacket [00:53:49]OFDProtocolAddRootSTLVToBuf [00:53:49]FM_MakeSignedData [00:53:49]FM_MakeSignedData [00:53:49]SAM_PROTO_SignData [00:53:49]wFMCommunicate request_size=4 [00:53:49]MH_SAM_APDU [00:53:49]CAPDU: 80 0D 01 02 [00:53:49]Write to MH i2c: E2 08 00 94 18 80 0D 01 02 00 00 00 00 25 [00:53:49]Write i2c OK [00:53:49]MH_I2C_Read... [00:53:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:53:49]Read from MH i2c: E2 [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: E2 03 00 [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: E2 03 00 94 18 00 90 00 20 [00:53:49]RAPDU: 90 00 [00:53:49]wFMCommunicate OK [00:53:49]wFMCommunicate request_size=255 [00:53:49]MH_SAM_APDU [00:53:49]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 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 A2 37 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 [00:53:49]Write to MH i2c: E2 02 01 95 18 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 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 A2 37 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 00 00 E1 [00:53:49]Write i2c OK [00:53:49]MH_I2C_Read... [00:53:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:50]Read from MH i2c: E2 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 03 00 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 03 00 95 18 00 90 00 21 [00:53:50]RAPDU: 90 00 [00:53:50]wFMCommunicate OK [00:53:50]wFMCommunicate request_size=63 [00:53:50]MH_SAM_APDU [00:53:50]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DC 56 00 00 35 04 06 00 60 AC 6B 88 A8 FC [00:53:50]Write to MH i2c: E2 42 00 96 18 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DC 56 00 00 35 04 06 00 60 AC 6B 88 A8 FC 00 00 50 [00:53:50]Write i2c OK [00:53:50]MH_I2C_Read... [00:53:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:50]Read from MH i2c: E2 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 03 00 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 03 00 96 18 00 90 00 22 [00:53:50]RAPDU: 90 00 [00:53:50]wFMCommunicate OK [00:53:50]wFMCommunicate request_size=4 [00:53:50]MH_SAM_APDU [00:53:50]CAPDU: 80 0D 03 02 [00:53:50]Write to MH i2c: E2 08 00 97 18 80 0D 03 02 00 00 00 00 2A [00:53:50]Write i2c OK [00:53:50]MH_I2C_Read... [00:53:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:53:50]Read from MH i2c: E2 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 0B 00 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 0B 00 97 18 00 62 B6 88 4B 11 D3 19 7B 90 00 8E [00:53:50]RAPDU: 62 B6 88 4B 11 D3 19 7B 90 00 [00:53:50]wFMCommunicate OK [00:53:50]SAM_PROTO_SignData done [00:53:50]FM_MakeSignedData done [00:53:50]CreateOFDProtocolMessage [00:53:50]wFMCommunicate request_size=4 [00:53:50]MH_SAM_APDU [00:53:50]CAPDU: 80 11 00 00 [00:53:50]Write to MH i2c: E2 08 00 98 18 80 11 00 00 00 00 00 00 2A [00:53:50]Write i2c OK [00:53:50]MH_I2C_Read... [00:53:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:50]Read from MH i2c: E2 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 17 00 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 17 00 98 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7C [00:53:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:53:50]wFMCommunicate OK [00:53:50]CreateOFDProtocolMessage done [00:53:50]OFDSenderStorePacket 22236 [00:53:50]StoreOFDPacket docnum=22236 [00:53:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 44 01 00 00 54 B5 3C 01 95 83 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 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 A2 37 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DC 56 00 00 35 04 06 00 60 AC 6B 88 A8 FC 62 B6 88 4B 11 D3 19 7B [00:53:50]CheckFolder [00:53:50]dirname=/storage/ofd_packets [00:53:50]CheckFolder done [00:53:50]ProducePacketName [00:53:50]name=ofd_packets/00022236 [00:53:50]NVStorageSaveData ofd_packets/00022236 [00:53:50]File name is /storage/ofd_packets/00022236 [00:53:50]Write 354 bytes [00:53:50]NVStorageSaveData done [00:53:50]OFDSenderStorePacket done [00:53:50]KKMCreateOFDPacket done [00:53:50]NVStorageSaveData kkm_last_timestamp [00:53:50]File name is /storage/kkm_last_timestamp [00:53:50]Write 4 bytes [00:53:50]NVStorageSaveData done [00:53:50]ExternCall_PrintAddStr [00:53:50]wPrintStart [00:53:50]Write to MH i2c: 01 00 00 99 18 B1 [00:53:50]OFD Sender: Processing packet 22236 [packets to send 5, broken 4] [00:53:50]ProducePacketName [00:53:50]name=ofd_packets/00022236 [00:53:50]OFD Sender: To server: pG, [00:53:50]CommunicateWithHost lk.salyk.kg:30040 [00:53:50]ConnectInit lk.salyk.kg [00:53:50]Write i2c OK [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: 01 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: 01 07 00 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: 01 07 00 99 18 00 00 00 00 00 FF 0F C6 [00:53:50]RasterBufferAndPrint [00:53:50]line Счет N : (3)254450 [00:53:50]line ИНН: 02508201610067 [00:53:50]line Контрольно-Кассовый Чек [00:53:50]line ПРОДАЖА [00:53:50]line Товар: 47000405990016 [00:53:50]line Уголь древесный Партнер Нефть 3кг [00:53:50]line 1.000 * 395.00 [00:53:50]line = 395.00 [00:53:50]line НДС 12% НСП 1% [00:53:50]line > о реализуемом товаре [00:53:50]line ИТОГО: 395.00 [00:53:50]line НСП 1% : 3.50 [00:53:50]line НДС 12% : 41.95 [00:53:50]line Наличными: 395.00 [00:53:50]line Безнал.: 0.00 [00:53:50]line Место: АЗС № 76 "Партнер Нефть" [00:53:50]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [00:53:50]line СНО: Общий режим [00:53:50]line Чек 1 16.06.2024 00:53 [00:53:50]line Смена: 327 ФФД: 1.0 [00:53:50]line ЗНМ: 0300000200 [00:53:50]line РНМ: 0000000000099755 [00:53:50]line Версия ККМ: 001 [00:53:50]line ФМ: 0000000000965344 [00:53:50]line ФД: 22236 [00:53:50]line ФПД: 106293654759676 [00:53:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T005354&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22236&fm=106293654759676&tin=02508201610067®Number=0000000000099755&sum=39500 [00:53:50]line 0 [00:53:50]Connected sock=10 [00:53:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 44 01 00 00 54 B5 3C 01 95 83 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 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 A2 37 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DC 56 00 00 35 04 06 00 60 AC 6B 88 A8 FC 62 B6 88 4B 11 D3 19 7B [00:53:50]written 0, free lines is 4095 [00:53:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 1A A7 47 00 51 D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DC 56 00 00 F4 03 04 00 5D E0 6D 66 B6 04 01 00 00 CB A4 0E 65 6B 7B AB DC [00:53:50]CommunicateWithHost err = 0 [00:53:50]CheckOFDResponse [00:53:50]1017 (14) - 77093643461234 [00:53:50]1041 (16) - 0000000000965344 [00:53:50]1040 (4) - 22236 [00:53:50]1012 (4) - 15.06.2024 18:41 [00:53:50]1206 (1) - 0 [00:53:50]OFD Sender: Remove packet 22236 [00:53:50]ProducePacketName [00:53:50]name=ofd_packets/00022236 [00:53:50]NVStorageDeleteData [00:53:51]Write to MH i2c: 01 00 00 C2 18 DA [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: 01 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: 01 07 00 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: 01 07 00 C2 18 00 00 00 00 00 11 0D FF [00:53:51]RasterBufferAndPrint [00:53:51]line [00:53:51]line [00:53:51]line [00:53:51]line [00:53:51]line [00:53:51]written 0, free lines is 3351 [00:53:51]MH_Cut [00:53:51]Write to MH i2c: D1 01 00 C9 18 01 B3 [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: D1 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: D1 01 00 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: D1 01 00 C9 18 00 B2 [00:53:51]Write to MH i2c: 01 00 00 CA 18 E2 [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]OFD Sender: No OFD packet to send [00:53:51]*** Cut start [00:53:51]*** Partial cut [00:53:51]*** CUTSNS_PIN = 1 [00:53:51]*** CUTSNS_PIN = 0 [00:53:52]*** Brake cut motor [00:53:52]Read from MH i2c: 01 [00:53:52]MH_I2C_Read... [00:53:52]*** Stop cut motor [00:53:52]*** Cut end [00:53:52]Read from MH i2c: 01 07 00 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: 01 07 00 CA 18 00 00 00 00 00 FF 0F F7 [00:53:52]process_action close_receipt done [00:53:52]requested_data is exist [00:53:52]produce_requested_data [00:53:52]requested_item fm.sn is exist - process it [00:53:52]wFMCommunicate request_size=4 [00:53:52]MH_SAM_APDU [00:53:52]CAPDU: 80 11 00 00 [00:53:52]Write to MH i2c: E2 08 00 CB 18 80 11 00 00 00 00 00 00 5D [00:53:52]Write i2c OK [00:53:52]MH_I2C_Read... [00:53:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:52]Read from MH i2c: E2 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: E2 17 00 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: E2 17 00 CB 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AF [00:53:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:53:52]wFMCommunicate OK [00:53:52]requested_item fd.num is exist - process it [00:53:52]SAM_PROTO_GetFieldsCounters [00:53:52]wFMCommunicate request_size=4 [00:53:52]MH_SAM_APDU [00:53:52]CAPDU: 80 13 00 00 [00:53:52]Write to MH i2c: E2 08 00 CC 18 80 13 00 00 00 00 00 00 60 [00:53:52]Write i2c OK [00:53:52]MH_I2C_Read... [00:53:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:53:52]Read from MH i2c: E2 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: E2 62 00 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: E2 62 00 CC 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DC 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [00:53:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DC 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:53:52]wFMCommunicate OK [00:53:52]SAM_PROTO_GetFieldsCounters done [00:53:52]requested_item shift.num is exist - process it [00:53:52]requested_item shift.opened is exist - process it [00:53:52]req_shift_opened [00:53:52]FM_GetShiftState [00:53:52]SAM_PROTO_GetShiftState [00:53:52]wFMCommunicate request_size=4 [00:53:52]MH_SAM_APDU [00:53:52]CAPDU: 80 13 01 00 [00:53:52]Write to MH i2c: E2 08 00 CD 18 80 13 01 00 00 00 00 00 62 [00:53:52]Write i2c OK [00:53:52]MH_I2C_Read... [00:53:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:52]Read from MH i2c: E2 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: E2 0E 00 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: E2 0E 00 CD 18 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 83 [00:53:52]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [00:53:52]wFMCommunicate OK [00:53:52]SAM_PROTO_GetShiftState done [00:53:52]FM_GetShiftState done [00:53:52]req_shift_opened done [00:53:52]requested_item shift.open_date is exist - process it [00:53:52]req_shift_open_date [00:53:52]req_shift_open_date done [00:53:52]produce_requested_data done [00:53:52]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22236,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [00:53:52]process_action_free close_receipt [00:53:52]json_value_free [00:53:52]json_value_free done [00:53:52]process_json_proto returns [00:53:52]Send response to host [00:53:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22236,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [00:53:52]free response buf [00:53:52]execute_script done [00:53:52]execute_script returns [00:53:52]free content buf [00:53:52]Sock 8.Close socket [00:53:52]Sock 8.Thread stoped [00:53:56]OFD Sender: No OFD packet to send [00:54:01]OFD Sender: No OFD packet to send [00:54:06]OFD Sender: No OFD packet to send [00:54:11]OFD Sender: No OFD packet to send [00:54:16]OFD Sender: No OFD packet to send [00:54:21]OFD Sender: No OFD packet to send [00:54:26]OFD Sender: No OFD packet to send [00:54:31]OFD Sender: No OFD packet to send [00:54:36]OFD Sender: No OFD packet to send [00:54:41]OFD Sender: No OFD packet to send [00:54:46]OFD Sender: No OFD packet to send [00:54:51]OFD Sender: No OFD packet to send [00:54:56]OFD Sender: No OFD packet to send [00:55:01]OFD Sender: No OFD packet to send [00:55:06]OFD Sender: No OFD packet to send [00:55:11]OFD Sender: No OFD packet to send [00:55:16]OFD Sender: No OFD packet to send [00:55:21]OFD Sender: No OFD packet to send [00:55:26]OFD Sender: No OFD packet to send [00:55:31]OFD Sender: No OFD packet to send [00:55:36]OFD Sender: No OFD packet to send [00:55:41]OFD Sender: No OFD packet to send [00:55:46]OFD Sender: No OFD packet to send [00:55:51]OFD Sender: No OFD packet to send [00:55:56]OFD Sender: No OFD packet to send [00:56:01]OFD Sender: No OFD packet to send [00:56:06]OFD Sender: No OFD packet to send [00:56:11]OFD Sender: No OFD packet to send [00:56:16]OFD Sender: No OFD packet to send [00:56:21]OFD Sender: No OFD packet to send [00:56:26]OFD Sender: No OFD packet to send [00:56:31]OFD Sender: No OFD packet to send [00:56:36]OFD Sender: No OFD packet to send [00:56:41]OFD Sender: No OFD packet to send [00:56:46]OFD Sender: No OFD packet to send [00:56:51]OFD Sender: No OFD packet to send [00:56:56]OFD Sender: No OFD packet to send [00:57:01]OFD Sender: No OFD packet to send [00:57:06]OFD Sender: No OFD packet to send [00:57:11]OFD Sender: No OFD packet to send [00:57:16]OFD Sender: No OFD packet to send [00:57:21]OFD Sender: No OFD packet to send [00:57:26]OFD Sender: No OFD packet to send [00:57:31]OFD Sender: No OFD packet to send [00:57:36]OFD Sender: No OFD packet to send [00:57:41]OFD Sender: No OFD packet to send [00:57:46]OFD Sender: No OFD packet to send [00:57:51]OFD Sender: No OFD packet to send [00:57:56]OFD Sender: No OFD packet to send [00:58:01]OFD Sender: No OFD packet to send [00:58:06]OFD Sender: No OFD packet to send [00:58:11]OFD Sender: No OFD packet to send [00:58:16]OFD Sender: No OFD packet to send [00:58:21]OFD Sender: No OFD packet to send [00:58:26]OFD Sender: No OFD packet to send [00:58:31]OFD Sender: No OFD packet to send [00:58:36]OFD Sender: No OFD packet to send [00:58:41]OFD Sender: No OFD packet to send [00:58:46]OFD Sender: No OFD packet to send [00:58:51]OFD Sender: No OFD packet to send [00:58:56]OFD Sender: No OFD packet to send [00:59:01]OFD Sender: No OFD packet to send [00:59:06]OFD Sender: No OFD packet to send [00:59:11]OFD Sender: No OFD packet to send [00:59:16]OFD Sender: No OFD packet to send [00:59:21]OFD Sender: No OFD packet to send [00:59:26]OFD Sender: No OFD packet to send [00:59:31]OFD Sender: No OFD packet to send [00:59:36]OFD Sender: No OFD packet to send [00:59:41]OFD Sender: No OFD packet to send [00:59:46]OFD Sender: No OFD packet to send [00:59:51]OFD Sender: No OFD packet to send [00:59:56]OFD Sender: No OFD packet to send [01:00:01]OFD Sender: No OFD packet to send [01:00:06]OFD Sender: No OFD packet to send [01:00:11]OFD Sender: No OFD packet to send [01:00:16]OFD Sender: No OFD packet to send [01:00:21]OFD Sender: No OFD packet to send [01:00:26]OFD Sender: No OFD packet to send [01:00:31]OFD Sender: No OFD packet to send [01:00:36]OFD Sender: No OFD packet to send [01:00:41]OFD Sender: No OFD packet to send [01:00:46]OFD Sender: No OFD packet to send [01:00:51]OFD Sender: No OFD packet to send [01:00:56]OFD Sender: No OFD packet to send [01:01:01]OFD Sender: No OFD packet to send [01:01:06]OFD Sender: No OFD packet to send [01:01:11]OFD Sender: No OFD packet to send [01:01:16]OFD Sender: No OFD packet to send [01:01:21]OFD Sender: No OFD packet to send [01:01:26]OFD Sender: No OFD packet to send [01:01:31]OFD Sender: No OFD packet to send [01:01:36]OFD Sender: No OFD packet to send [01:01:41]OFD Sender: No OFD packet to send [01:01:46]OFD Sender: No OFD packet to send [01:01:51]OFD Sender: No OFD packet to send [01:01:56]OFD Sender: No OFD packet to send [01:02:01]OFD Sender: No OFD packet to send [01:02:06]OFD Sender: No OFD packet to send [01:02:11]OFD Sender: No OFD packet to send [01:02:16]OFD Sender: No OFD packet to send [01:02:21]OFD Sender: No OFD packet to send [01:02:26]OFD Sender: No OFD packet to send [01:02:31]OFD Sender: No OFD packet to send [01:02:36]OFD Sender: No OFD packet to send [01:02:41]OFD Sender: No OFD packet to send [01:02:46]OFD Sender: No OFD packet to send [01:02:51]OFD Sender: No OFD packet to send [01:02:56]OFD Sender: No OFD packet to send [01:03:01]OFD Sender: No OFD packet to send [01:03:06]OFD Sender: No OFD packet to send [01:03:11]OFD Sender: No OFD packet to send [01:03:16]OFD Sender: No OFD packet to send [01:03:21]OFD Sender: No OFD packet to send [01:03:26]OFD Sender: No OFD packet to send [01:03:31]OFD Sender: No OFD packet to send [01:03:36]OFD Sender: No OFD packet to send [01:03:41]OFD Sender: No OFD packet to send [01:03:46]OFD Sender: No OFD packet to send [01:03:51]OFD Sender: No OFD packet to send [01:03:56]OFD Sender: No OFD packet to send [01:04:01]OFD Sender: No OFD packet to send [01:04:06]OFD Sender: No OFD packet to send [01:04:11]OFD Sender: No OFD packet to send [01:04:16]OFD Sender: No OFD packet to send [01:04:21]OFD Sender: No OFD packet to send [01:04:26]OFD Sender: No OFD packet to send [01:04:31]OFD Sender: No OFD packet to send [01:04:36]OFD Sender: No OFD packet to send [01:04:41]OFD Sender: No OFD packet to send [01:04:46]OFD Sender: No OFD packet to send [01:04:51]OFD Sender: No OFD packet to send [01:04:56]OFD Sender: No OFD packet to send [01:05:01]OFD Sender: No OFD packet to send [01:05:06]OFD Sender: No OFD packet to send [01:05:11]OFD Sender: No OFD packet to send [01:05:16]OFD Sender: No OFD packet to send [01:05:21]OFD Sender: No OFD packet to send [01:05:26]OFD Sender: No OFD packet to send [01:05:31]OFD Sender: No OFD packet to send [01:05:36]OFD Sender: No OFD packet to send [01:05:41]OFD Sender: No OFD packet to send [01:05:46]OFD Sender: No OFD packet to send [01:05:51]OFD Sender: No OFD packet to send [01:05:56]OFD Sender: No OFD packet to send [01:06:01]OFD Sender: No OFD packet to send [01:06:06]OFD Sender: No OFD packet to send [01:06:11]OFD Sender: No OFD packet to send [01:06:16]OFD Sender: No OFD packet to send [01:06:21]OFD Sender: No OFD packet to send [01:06:26]OFD Sender: No OFD packet to send [01:06:31]OFD Sender: No OFD packet to send [01:06:36]OFD Sender: No OFD packet to send [01:06:41]OFD Sender: No OFD packet to send [01:06:46]OFD Sender: No OFD packet to send [01:06:51]OFD Sender: No OFD packet to send [01:06:56]OFD Sender: No OFD packet to send [01:07:01]OFD Sender: No OFD packet to send [01:07:06]OFD Sender: No OFD packet to send [01:07:11]OFD Sender: No OFD packet to send [01:07:16]OFD Sender: No OFD packet to send [01:07:21]OFD Sender: No OFD packet to send [01:07:26]OFD Sender: No OFD packet to send [01:07:31]OFD Sender: No OFD packet to send [01:07:36]OFD Sender: No OFD packet to send [01:07:41]OFD Sender: No OFD packet to send [01:07:47]OFD Sender: No OFD packet to send [01:07:52]OFD Sender: No OFD packet to send [01:07:57]OFD Sender: No OFD packet to send [01:08:02]OFD Sender: No OFD packet to send [01:08:07]OFD Sender: No OFD packet to send [01:08:12]OFD Sender: No OFD packet to send [01:08:17]OFD Sender: No OFD packet to send [01:08:22]OFD Sender: No OFD packet to send [01:08:27]OFD Sender: No OFD packet to send [01:08:32]OFD Sender: No OFD packet to send [01:08:37]OFD Sender: No OFD packet to send [01:08:42]OFD Sender: No OFD packet to send [01:08:47]OFD Sender: No OFD packet to send [01:08:52]OFD Sender: No OFD packet to send [01:08:57]OFD Sender: No OFD packet to send [01:09:02]OFD Sender: No OFD packet to send [01:09:07]OFD Sender: No OFD packet to send [01:09:12]OFD Sender: No OFD packet to send [01:09:17]OFD Sender: No OFD packet to send [01:09:22]OFD Sender: No OFD packet to send [01:09:27]OFD Sender: No OFD packet to send [01:09:32]OFD Sender: No OFD packet to send [01:09:37]OFD Sender: No OFD packet to send [01:09:42]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]OFD Sender: No OFD packet to send [01:17:37]OFD Sender: No OFD packet to send [01:17:42]OFD Sender: No OFD packet to send [01:17:47]OFD Sender: No OFD packet to send [01:17:52]OFD Sender: No OFD packet to send [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:17]OFD Sender: No OFD packet to send [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:27]OFD Sender: No OFD packet to send [01:20:32]OFD Sender: No OFD packet to send [01:20:37]OFD Sender: No OFD packet to send [01:20:42]OFD Sender: No OFD packet to send [01:20:47]OFD Sender: No OFD packet to send [01:20:52]OFD Sender: No OFD packet to send [01:20:57]OFD Sender: No OFD packet to send [01:21:02]OFD Sender: No OFD packet to send [01:21:07]OFD Sender: No OFD packet to send [01:21:12]OFD Sender: No OFD packet to send [01:21:17]OFD Sender: No OFD packet to send [01:21:22]OFD Sender: No OFD packet to send [01:21:27]OFD Sender: No OFD packet to send [01:21:32]OFD Sender: No OFD packet to send [01:21:37]OFD Sender: No OFD packet to send [01:21:42]OFD Sender: No OFD packet to send [01:21:47]OFD Sender: No OFD packet to send [01:21:52]OFD Sender: No OFD packet to send [01:21:57]OFD Sender: No OFD packet to send [01:22:02]OFD Sender: No OFD packet to send [01:22:07]OFD Sender: No OFD packet to send [01:22:12]OFD Sender: No OFD packet to send [01:22:17]OFD Sender: No OFD packet to send [01:22:22]OFD Sender: No OFD packet to send [01:22:27]OFD Sender: No OFD packet to send [01:22:32]OFD Sender: No OFD packet to send [01:22:37]OFD Sender: No OFD packet to send [01:22:42]OFD Sender: No OFD packet to send [01:22:47]OFD Sender: No OFD packet to send [01:22:52]OFD Sender: No OFD packet to send [01:22:57]OFD Sender: No OFD packet to send [01:23:02]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:27:07]OFD Sender: No OFD packet to send [01:27:12]OFD Sender: No OFD packet to send [01:27:17]OFD Sender: No OFD packet to send [01:27:22]OFD Sender: No OFD packet to send [01:27:27]OFD Sender: No OFD packet to send [01:27:32]OFD Sender: No OFD packet to send [01:27:37]OFD Sender: No OFD packet to send [01:27:42]OFD Sender: No OFD packet to send [01:27:47]OFD Sender: No OFD packet to send [01:27:52]OFD Sender: No OFD packet to send [01:27:57]OFD Sender: No OFD packet to send [01:28:02]OFD Sender: No OFD packet to send [01:28:07]OFD Sender: No OFD packet to send [01:28:12]OFD Sender: No OFD packet to send [01:28:17]OFD Sender: No OFD packet to send [01:28:22]OFD Sender: No OFD packet to send [01:28:27]OFD Sender: No OFD packet to send [01:28:32]OFD Sender: No OFD packet to send [01:28:37]OFD Sender: No OFD packet to send [01:28:42]OFD Sender: No OFD packet to send [01:28:47]OFD Sender: No OFD packet to send [01:28:52]OFD Sender: No OFD packet to send [01:28:57]OFD Sender: No OFD packet to send [01:29:02]OFD Sender: No OFD packet to send [01:29:07]OFD Sender: No OFD packet to send [01:29:12]OFD Sender: No OFD packet to send [01:29:18]OFD Sender: No OFD packet to send [01:29:23]OFD Sender: No OFD packet to send [01:29:28]OFD Sender: No OFD packet to send [01:29:33]OFD Sender: No OFD packet to send [01:29:38]OFD Sender: No OFD packet to send [01:29:43]OFD Sender: No OFD packet to send [01:29:48]OFD Sender: No OFD packet to send [01:29:53]OFD Sender: No OFD packet to send [01:29:58]OFD Sender: No OFD packet to send [01:30:03]OFD Sender: No OFD packet to send [01:30:08]OFD Sender: No OFD packet to send [01:30:13]OFD Sender: No OFD packet to send [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:43]OFD Sender: No OFD packet to send [01:31:48]OFD Sender: No OFD packet to send [01:31:53]OFD Sender: No OFD packet to send [01:31:58]OFD Sender: No OFD packet to send [01:32:03]OFD Sender: No OFD packet to send [01:32:08]OFD Sender: No OFD packet to send [01:32:13]OFD Sender: No OFD packet to send [01:32:18]OFD Sender: No OFD packet to send [01:32:23]OFD Sender: No OFD packet to send [01:32:28]OFD Sender: No OFD packet to send [01:32:33]OFD Sender: No OFD packet to send [01:32:38]OFD Sender: No OFD packet to send [01:32:43]OFD Sender: No OFD packet to send [01:32:48]OFD Sender: No OFD packet to send [01:32:53]OFD Sender: No OFD packet to send [01:32:58]OFD Sender: No OFD packet to send [01:33:03]OFD Sender: No OFD packet to send [01:33:08]OFD Sender: No OFD packet to send [01:33:13]OFD Sender: No OFD packet to send [01:33:18]OFD Sender: No OFD packet to send [01:33:23]OFD Sender: No OFD packet to send [01:33:28]OFD Sender: No OFD packet to send [01:33:33]OFD Sender: No OFD packet to send [01:33:38]OFD Sender: No OFD packet to send [01:33:43]OFD Sender: No OFD packet to send [01:33:48]OFD Sender: No OFD packet to send [01:33:53]OFD Sender: No OFD packet to send [01:33:58]OFD Sender: No OFD packet to send [01:34:03]OFD Sender: No OFD packet to send [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:23]OFD Sender: No OFD packet to send [01:35:28]OFD Sender: No OFD packet to send [01:35:33]OFD Sender: No OFD packet to send [01:35:38]OFD Sender: No OFD packet to send [01:35:43]OFD Sender: No OFD packet to send [01:35:48]OFD Sender: No OFD packet to send [01:35:53]OFD Sender: No OFD packet to send [01:35:58]OFD Sender: No OFD packet to send [01:36:03]OFD Sender: No OFD packet to send [01:36:08]OFD Sender: No OFD packet to send [01:36:13]OFD Sender: No OFD packet to send [01:36:18]OFD Sender: No OFD packet to send [01:36:23]OFD Sender: No OFD packet to send [01:36:28]OFD Sender: No OFD packet to send [01:36:33]OFD Sender: No OFD packet to send [01:36:34]recv_with_timeout no data received [01:36:38]OFD Sender: No OFD packet to send [01:36:43]OFD Sender: No OFD packet to send [01:36:48]OFD Sender: No OFD packet to send [01:36:53]OFD Sender: No OFD packet to send [01:36:58]OFD Sender: No OFD packet to send [01:37:03]OFD Sender: No OFD packet to send [01:37:08]OFD Sender: No OFD packet to send [01:37:13]OFD Sender: No OFD packet to send [01:37:18]OFD Sender: No OFD packet to send [01:37:23]OFD Sender: No OFD packet to send [01:37:28]OFD Sender: No OFD packet to send [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:43:45]ConnectInit Can't connect to host [01:43:48]OFD Sender: No OFD packet to send [01:43:53]OFD Sender: No OFD packet to send [01:43:58]OFD Sender: No OFD packet to send [01:44:03]OFD Sender: No OFD packet to send [01:44:08]OFD Sender: No OFD packet to send [01:44:13]OFD Sender: No OFD packet to send [01:44:18]OFD Sender: No OFD packet to send [01:44:23]OFD Sender: No OFD packet to send [01:44:28]OFD Sender: No OFD packet to send [01:44:33]OFD Sender: No OFD packet to send [01:44:38]OFD Sender: No OFD packet to send [01:44:43]OFD Sender: No OFD packet to send [01:44:48]OFD Sender: No OFD packet to send [01:44:53]OFD Sender: No OFD packet to send [01:48:40]ConnectInit Can't connect to host [01:48:43]OFD Sender: No OFD packet to send [01:48:48]OFD Sender: No OFD packet to send [01:48:53]OFD Sender: No OFD packet to send [01:48:58]OFD Sender: No OFD packet to send [01:49:03]OFD Sender: No OFD packet to send [01:49:08]OFD Sender: No OFD packet to send [01:49:13]OFD Sender: No OFD packet to send [01:49:18]OFD Sender: No OFD packet to send [01:49:23]OFD Sender: No OFD packet to send [01:49:28]OFD Sender: No OFD packet to send [01:49:33]OFD Sender: No OFD packet to send [01:50:28]OFD Sender: No OFD packet to send [01:50:33]OFD Sender: No OFD packet to send [01:50:38]OFD Sender: No OFD packet to send [01:50:43]OFD Sender: No OFD packet to send [01:50:48]OFD Sender: No OFD packet to send [01:50:53]OFD Sender: No OFD packet to send [01:50:58]OFD Sender: No OFD packet to send [01:51:03]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:36]ConnectInit Can't connect to host [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:54]OFD Sender: No OFD packet to send [02:04:59]OFD Sender: No OFD packet to send [02:05:04]OFD Sender: No OFD packet to send [02:05:09]OFD Sender: No OFD packet to send [02:05:14]OFD Sender: No OFD packet to send [02:05:19]OFD Sender: No OFD packet to send [02:05:24]OFD Sender: No OFD packet to send [02:05:29]OFD Sender: No OFD packet to send [02:05:34]OFD Sender: No OFD packet to send [02:05:39]OFD Sender: No OFD packet to send [02:05:44]OFD Sender: No OFD packet to send [02:05:49]OFD Sender: No OFD packet to send [02:05:54]OFD Sender: No OFD packet to send [02:05:59]OFD Sender: No OFD packet to send [02:06:04]OFD Sender: No OFD packet to send [02:06:09]OFD Sender: No OFD packet to send [02:06:14]OFD Sender: No OFD packet to send [02:06:19]OFD Sender: No OFD packet to send [02:06:24]OFD Sender: No OFD packet to send [02:06:29]OFD Sender: No OFD packet to send [02:06:34]OFD Sender: No OFD packet to send [02:06:39]OFD Sender: No OFD packet to send [02:06:44]OFD Sender: No OFD packet to send [02:06:49]OFD Sender: No OFD packet to send [02:06:54]OFD Sender: No OFD packet to send [02:06:59]OFD Sender: No OFD packet to send [02:07:04]OFD Sender: No OFD packet to send [02:07:09]OFD Sender: No OFD packet to send [02:07:14]OFD Sender: No OFD packet to send [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:07:59]OFD Sender: No OFD packet to send [02:08:04]OFD Sender: No OFD packet to send [02:08:09]OFD Sender: No OFD packet to send [02:08:14]OFD Sender: No OFD packet to send [02:08:19]OFD Sender: No OFD packet to send [02:08:24]OFD Sender: No OFD packet to send [02:08:29]OFD Sender: No OFD packet to send [02:08:34]OFD Sender: No OFD packet to send [02:08:39]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:19]OFD Sender: No OFD packet to send [02:09:24]OFD Sender: No OFD packet to send [02:09:29]OFD Sender: No OFD packet to send [02:09:34]OFD Sender: No OFD packet to send [02:09:39]OFD Sender: No OFD packet to send [02:09:44]OFD Sender: No OFD packet to send [02:09:49]OFD Sender: No OFD packet to send [02:09:54]OFD Sender: No OFD packet to send [02:09:59]OFD Sender: No OFD packet to send [02:10:04]OFD Sender: No OFD packet to send [02:10:09]OFD Sender: No OFD packet to send [02:10:14]OFD Sender: No OFD packet to send [02:10:19]OFD Sender: No OFD packet to send [02:10:24]OFD Sender: No OFD packet to send [02:10:29]OFD Sender: No OFD packet to send [02:10:34]OFD Sender: No OFD packet to send [02:10:39]OFD Sender: No OFD packet to send [02:10:44]OFD Sender: No OFD packet to send [02:10:49]OFD Sender: No OFD packet to send [02:10:54]OFD Sender: No OFD packet to send [02:10:59]OFD Sender: No OFD packet to send [02:11:04]OFD Sender: No OFD packet to send [02:11:09]OFD Sender: No OFD packet to send [02:11:14]OFD Sender: No OFD packet to send [02:11:19]OFD Sender: No OFD packet to send [02:11:24]OFD Sender: No OFD packet to send [02:11:29]OFD Sender: No OFD packet to send [02:11:34]OFD Sender: No OFD packet to send [02:11:39]OFD Sender: No OFD packet to send [02:11:44]OFD Sender: No OFD packet to send [02:11:49]OFD Sender: No OFD packet to send [02:11:54]OFD Sender: No OFD packet to send [02:11:59]OFD Sender: No OFD packet to send [02:12:04]OFD Sender: No OFD packet to send [02:12:09]OFD Sender: No OFD packet to send [02:12:14]OFD Sender: No OFD packet to send [02:12:19]OFD Sender: No OFD packet to send [02:12:24]OFD Sender: No OFD packet to send [02:12:29]OFD Sender: No OFD packet to send [02:12:34]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:27]accept exits with 9 [02:21:27]New connection [02:21:27]New thread 3066695012 created [02:21:27]Thread 3066838372 joined [02:21:27]Waiting for new connection... [02:21:27] Sock 9.Parse request [02:21:27]Sock 9.Check first char [02:21:27]Sock 9.First char is OK [02:21:27]request: POST /json_proto HTTP/1.0 [02:21:27]Method: POST [02:21:27]URL: /json_proto [02:21:27]Method is POST - this is cgi request [02:21:27]url: /json_proto [02:21:27]query_string will be loaded in cgi processing [02:21:27]execute_cgi json_proto POST (null) [02:21:27]execute_cgi path=json_proto method=POST [02:21:27]POST find Content-Length [02:21:27]Host: 172.17.35.133:8080 [02:21:27]Content-Length: 948 [02:21:27]Content-Type: application/json [02:21:27] [02:21:27]POST finish read [02:21:27]Found Content-Length = 948 [02:21:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254451", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 502.00, "quantity" : 1.000, "sum" : 502.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 502.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:21:27]execute_script... [02:21:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254451", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 502.00, "quantity" : 1.000, "sum" : 502.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 502.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:21:27]POST & json_proto [02:21:27]process_json_proto [02:21:27]json parsed OK: [02:21:27]protocol is kg_v1.0 [02:21:27]action value=close_receipt [02:21:27]process_action close_receipt [02:21:27]cmd_close_receipt [02:21:27]MH_GetDate [02:21:27]Write to MH i2c: F0 00 00 CE 18 D5 [02:21:27]Write i2c OK [02:21:27]MH_I2C_Read... [02:21:27]Read from MH i2c: F0 [02:21:27]MH_I2C_Read... [02:21:27]Read from MH i2c: F0 09 00 [02:21:27]MH_I2C_Read... [02:21:27]Read from MH i2c: F0 09 00 CE 18 00 2D 4C 6E 66 8C 55 28 65 99 [02:21:27]GetLastDocTimeStamp 1718499234 [02:21:27]current date 1718504493 [02:21:27]FM_GetShiftState [02:21:27]SAM_PROTO_GetShiftState [02:21:27]wFMCommunicate request_size=4 [02:21:27]MH_SAM_APDU [02:21:27]CAPDU: 80 13 01 00 [02:21:27]Write to MH i2c: E2 08 00 CF 18 80 13 01 00 00 00 00 00 64 [02:21:27]Write i2c OK [02:21:27]MH_I2C_Read... [02:21:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:21:27]Read from MH i2c: E2 [02:21:27]MH_I2C_Read... [02:21:27]Read from MH i2c: E2 0E 00 [02:21:27]MH_I2C_Read... [02:21:27]Read from MH i2c: E2 0E 00 CF 18 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 85 [02:21:27]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [02:21:27]wFMCommunicate OK [02:21:27]SAM_PROTO_GetShiftState done [02:21:27]FM_GetShiftState done [02:21:27]opened in 1718497297 [02:21:27]opened+sec_in_day 1718583697 [02:21:27]quantity*price = 50200 [02:21:27]sum+1 = 50201 [02:21:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 502.00 НСП 1% : 4.44 НДС 12% : 53.31 Наличными: 0.00 Безнал.: 502.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 2 16.06.2024 02:21 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22237 ФПД: 144963084535408 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T022133&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22237&fm=144963084535408&tin=02508201610067®Number=0000000000099755&sum=50200 0 [02:21:28]StoreToDocumentArchive [02:21:28]shift 327 fd 22237 [02:21:28]save to /storage/0327/doc_00022237 [02:21:28]save last doc name /storage/0327/doc_00022237 to /storage/kkm_last_doc_name [02:21:28]save OK [02:21:28]Clear old archive folders... [02:21:28]ProcessDocumentItem done err = 0, tmpTLVsize=307 [02:21:28]tlvbuf is 0020A390 [02:21:28]SAM_PROTO_ClearQueue [02:21:28]wFMCommunicate request_size=4 [02:21:28]MH_SAM_APDU [02:21:28]CAPDU: 80 09 00 00 [02:21:28]Write to MH i2c: E2 08 00 DC 18 80 09 00 00 00 00 00 00 66 [02:21:28]Write i2c OK [02:21:28]MH_I2C_Read... [02:21:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:21:28]Read from MH i2c: E2 [02:21:28]MH_I2C_Read... [02:21:28]Read from MH i2c: E2 03 00 [02:21:28]MH_I2C_Read... [02:21:28]Read from MH i2c: E2 03 00 DC 18 00 90 00 68 [02:21:28]RAPDU: 90 00 [02:21:28]wFMCommunicate OK [02:21:28]SAM_PROTO_ClearQueue done [02:21:28]KKMCreateOFDPacket [02:21:28]OFDProtocolAddRootSTLVToBuf [02:21:28]FM_MakeSignedData [02:21:28]FM_MakeSignedData [02:21:28]SAM_PROTO_SignData [02:21:28]wFMCommunicate request_size=4 [02:21:28]MH_SAM_APDU [02:21:28]CAPDU: 80 0D 01 02 [02:21:28]Write to MH i2c: E2 08 00 DD 18 80 0D 01 02 00 00 00 00 6E [02:21:28]Write i2c OK [02:21:28]MH_I2C_Read... [02:21:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:21:28]Read from MH i2c: E2 [02:21:28]MH_I2C_Read... [02:21:28]Read from MH i2c: E2 03 00 [02:21:28]MH_I2C_Read... [02:21:28]Read from MH i2c: E2 03 00 DD 18 00 90 00 69 [02:21:28]RAPDU: 90 00 [02:21:28]wFMCommunicate OK [02:21:28]wFMCommunicate request_size=255 [02:21:28]MH_SAM_APDU [02:21:28]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 C4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 2D 4C 6E 66 0E 04 04 00 47 01 00 00 B9 04 [02:21:28]Write to MH i2c: E2 02 01 DE 18 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 C4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 2D 4C 6E 66 0E 04 04 00 47 01 00 00 B9 04 00 00 8B [02:21:28]Write i2c OK [02:21:28]MH_I2C_Read... [02:21:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:21:29]Read from MH i2c: E2 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: E2 03 00 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: E2 03 00 DE 18 00 90 00 6A [02:21:29]RAPDU: 90 00 [02:21:29]wFMCommunicate OK [02:21:29]wFMCommunicate request_size=66 [02:21:29]MH_SAM_APDU [02:21:29]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DD 56 00 00 35 04 06 00 83 D7 D9 28 C6 70 [02:21:29]Write to MH i2c: E2 45 00 DF 18 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DD 56 00 00 35 04 06 00 83 D7 D9 28 C6 70 00 00 90 [02:21:29]Write i2c OK [02:21:29]MH_I2C_Read... [02:21:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:21:29]Read from MH i2c: E2 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: E2 03 00 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: E2 03 00 DF 18 00 90 00 6B [02:21:29]RAPDU: 90 00 [02:21:29]wFMCommunicate OK [02:21:29]wFMCommunicate request_size=4 [02:21:29]MH_SAM_APDU [02:21:29]CAPDU: 80 0D 03 02 [02:21:29]Write to MH i2c: E2 08 00 E0 18 80 0D 03 02 00 00 00 00 73 [02:21:29]Write i2c OK [02:21:29]MH_I2C_Read... [02:21:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:21:29]Read from MH i2c: E2 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: E2 0B 00 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: E2 0B 00 E0 18 00 30 33 C6 F0 97 5F B3 24 90 00 5A [02:21:29]RAPDU: 30 33 C6 F0 97 5F B3 24 90 00 [02:21:29]wFMCommunicate OK [02:21:29]SAM_PROTO_SignData done [02:21:29]FM_MakeSignedData done [02:21:29]CreateOFDProtocolMessage [02:21:29]wFMCommunicate request_size=4 [02:21:29]MH_SAM_APDU [02:21:29]CAPDU: 80 11 00 00 [02:21:29]Write to MH i2c: E2 08 00 E1 18 80 11 00 00 00 00 00 00 73 [02:21:29]Write i2c OK [02:21:29]MH_I2C_Read... [02:21:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:21:29]Read from MH i2c: E2 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: E2 17 00 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: E2 17 00 E1 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C5 [02:21:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:21:29]wFMCommunicate OK [02:21:29]CreateOFDProtocolMessage done [02:21:29]OFDSenderStorePacket 22237 [02:21:29]StoreOFDPacket docnum=22237 [02:21:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 47 01 00 00 59 3F 3F 01 6F FF 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 C4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 2D 4C 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DD 56 00 00 35 04 06 00 83 D7 D9 28 C6 70 30 33 C6 F0 97 5F B3 24 [02:21:29]CheckFolder [02:21:29]dirname=/storage/ofd_packets [02:21:29]CheckFolder done [02:21:29]ProducePacketName [02:21:29]name=ofd_packets/00022237 [02:21:29]NVStorageSaveData ofd_packets/00022237 [02:21:29]File name is /storage/ofd_packets/00022237 [02:21:29]Write 357 bytes [02:21:29]NVStorageSaveData done [02:21:29]OFDSenderStorePacket done [02:21:29]KKMCreateOFDPacket done [02:21:29]NVStorageSaveData kkm_last_timestamp [02:21:29]File name is /storage/kkm_last_timestamp [02:21:29]Write 4 bytes [02:21:29]NVStorageSaveData done [02:21:29]ExternCall_PrintAddStr [02:21:29]wPrintStart [02:21:29]Write to MH i2c: 01 00 00 E2 18 FA [02:21:29]Write i2c OK [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: 01 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: 01 07 00 [02:21:29]MH_I2C_Read... [02:21:29]Read from MH i2c: 01 07 00 E2 18 00 00 00 00 00 FF 0F 0F [02:21:29]RasterBufferAndPrint [02:21:29]line Счет N : (3)254451 [02:21:29]line ИНН: 02508201610067 [02:21:29]line Контрольно-Кассовый Чек [02:21:29]line ПРОДАЖА [02:21:29]line Товар: 2000029770012 [02:21:29]line Очки солнцезащитные в ассортименте [02:21:29]line 1.000 * 502.00 [02:21:29]line = 502.00 [02:21:29]line НДС 12% НСП 1% [02:21:29]line > о реализуемом товаре [02:21:29]line ИТОГО: 502.00 [02:21:29]line НСП 1% : 4.44 [02:21:29]line НДС 12% : 53.31 [02:21:29]line Наличными: 0.00 [02:21:29]line Безнал.: 502.00 [02:21:29]line Место: АЗС № 76 "Партнер Нефть" [02:21:29]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [02:21:29]line СНО: Общий режим [02:21:29]line Чек 2 16.06.2024 02:21 [02:21:29]line Смена: 327 ФФД: 1.0 [02:21:29]line ЗНМ: 0300000200 [02:21:29]line РНМ: 0000000000099755 [02:21:29]line Версия ККМ: 001 [02:21:29]line Платежная система: АКБ Кыргызстан [02:21:29]line ФМ: 0000000000965344 [02:21:29]line ФД: 22237 [02:21:29]line ФПД: 144963084535408 [02:21:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T022133&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22237&fm=144963084535408&tin=02508201610067®Number=0000000000099755&sum=50200 [02:21:29]line 0 [02:21:29]OFD Sender: Processing packet 22237 [packets to send 5, broken 4] [02:21:29]ProducePacketName [02:21:29]name=ofd_packets/00022237 [02:21:29]OFD Sender: To server: pG, [02:21:29]CommunicateWithHost lk.salyk.kg:30040 [02:21:29]ConnectInit lk.salyk.kg [02:21:29]written 0, free lines is 4095 [02:21:29]Connected sock=11 [02:21:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 47 01 00 00 59 3F 3F 01 6F FF 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 C4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 2D 4C 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DD 56 00 00 35 04 06 00 83 D7 D9 28 C6 70 30 33 C6 F0 97 5F B3 24 [02:21:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 81 48 47 00 22 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DD 56 00 00 F4 03 04 00 E9 F4 6D 66 B6 04 01 00 00 5B 56 24 74 19 9F 3A 9D [02:21:29]CommunicateWithHost err = 0 [02:21:29]CheckOFDResponse [02:21:29]1017 (14) - 77093643461234 [02:21:29]1041 (16) - 0000000000965344 [02:21:29]1040 (4) - 22237 [02:21:29]1012 (4) - 15.06.2024 20:09 [02:21:29]1206 (1) - 0 [02:21:29]OFD Sender: Remove packet 22237 [02:21:29]ProducePacketName [02:21:29]name=ofd_packets/00022237 [02:21:29]NVStorageDeleteData [02:21:30]Write to MH i2c: 01 00 00 0D 19 26 [02:21:30]Write i2c OK [02:21:30]MH_I2C_Read... [02:21:30]Read from MH i2c: 01 [02:21:30]MH_I2C_Read... [02:21:30]Read from MH i2c: 01 07 00 [02:21:30]MH_I2C_Read... [02:21:30]Read from MH i2c: 01 07 00 0D 19 00 00 00 00 00 E3 0C 1C [02:21:30]RasterBufferAndPrint [02:21:30]line [02:21:30]line [02:21:30]line [02:21:30]line [02:21:30]line [02:21:30]written 0, free lines is 3305 [02:21:30]MH_Cut [02:21:30]Write to MH i2c: D1 01 00 14 19 01 FF [02:21:30]Write i2c OK [02:21:30]MH_I2C_Read... [02:21:30]Read from MH i2c: D1 [02:21:30]MH_I2C_Read... [02:21:30]Read from MH i2c: D1 01 00 [02:21:30]MH_I2C_Read... [02:21:30]Read from MH i2c: D1 01 00 14 19 00 FE [02:21:30]Write to MH i2c: 01 00 00 15 19 2E [02:21:30]Write i2c OK [02:21:30]MH_I2C_Read... [02:21:30]OFD Sender: No OFD packet to send [02:21:30]*** Cut start [02:21:30]*** Partial cut [02:21:30]*** CUTSNS_PIN = 1 [02:21:30]*** CUTSNS_PIN = 0 [02:21:31]*** Brake cut motor [02:21:31]Read from MH i2c: 01 [02:21:31]MH_I2C_Read... [02:21:31]*** Stop cut motor [02:21:31]*** Cut end [02:21:31]Read from MH i2c: 01 07 00 [02:21:31]MH_I2C_Read... [02:21:31]Read from MH i2c: 01 07 00 15 19 00 00 00 00 00 FF 0F 43 [02:21:31]process_action close_receipt done [02:21:31]requested_data is exist [02:21:31]produce_requested_data [02:21:31]requested_item fm.sn is exist - process it [02:21:31]wFMCommunicate request_size=4 [02:21:31]MH_SAM_APDU [02:21:31]CAPDU: 80 11 00 00 [02:21:31]Write to MH i2c: E2 08 00 16 19 80 11 00 00 00 00 00 00 A9 [02:21:31]Write i2c OK [02:21:31]MH_I2C_Read... [02:21:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:21:31]Read from MH i2c: E2 [02:21:31]MH_I2C_Read... [02:21:31]Read from MH i2c: E2 17 00 [02:21:31]MH_I2C_Read... [02:21:31]Read from MH i2c: E2 17 00 16 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FB [02:21:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:21:31]wFMCommunicate OK [02:21:31]requested_item fd.num is exist - process it [02:21:31]SAM_PROTO_GetFieldsCounters [02:21:31]wFMCommunicate request_size=4 [02:21:31]MH_SAM_APDU [02:21:31]CAPDU: 80 13 00 00 [02:21:31]Write to MH i2c: E2 08 00 17 19 80 13 00 00 00 00 00 00 AC [02:21:31]Write i2c OK [02:21:31]MH_I2C_Read... [02:21:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:21:31]Read from MH i2c: E2 [02:21:31]MH_I2C_Read... [02:21:31]Read from MH i2c: E2 62 00 [02:21:31]MH_I2C_Read... [02:21:31]Read from MH i2c: E2 62 00 17 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DD 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [02:21:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DD 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:21:31]wFMCommunicate OK [02:21:31]SAM_PROTO_GetFieldsCounters done [02:21:31]requested_item shift.num is exist - process it [02:21:31]requested_item shift.opened is exist - process it [02:21:31]req_shift_opened [02:21:31]FM_GetShiftState [02:21:31]SAM_PROTO_GetShiftState [02:21:31]wFMCommunicate request_size=4 [02:21:31]MH_SAM_APDU [02:21:31]CAPDU: 80 13 01 00 [02:21:31]Write to MH i2c: E2 08 00 18 19 80 13 01 00 00 00 00 00 AE [02:21:31]Write i2c OK [02:21:31]MH_I2C_Read... [02:21:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:21:31]Read from MH i2c: E2 [02:21:31]MH_I2C_Read... [02:21:31]Read from MH i2c: E2 0E 00 [02:21:31]MH_I2C_Read... [02:21:31]Read from MH i2c: E2 0E 00 18 19 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 CF [02:21:31]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [02:21:31]wFMCommunicate OK [02:21:31]SAM_PROTO_GetShiftState done [02:21:31]FM_GetShiftState done [02:21:31]req_shift_opened done [02:21:31]requested_item shift.open_date is exist - process it [02:21:31]req_shift_open_date [02:21:31]req_shift_open_date done [02:21:31]produce_requested_data done [02:21:31]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22237,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [02:21:31]process_action_free close_receipt [02:21:31]json_value_free [02:21:31]json_value_free done [02:21:31]process_json_proto returns [02:21:31]Send response to host [02:21:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22237,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [02:21:31]free response buf [02:21:31]execute_script done [02:21:31]execute_script returns [02:21:31]free content buf [02:21:31]Sock 9.Close socket [02:21:31]Sock 9.Thread stoped [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:50]OFD Sender: No OFD packet to send [02:28:55]OFD Sender: No OFD packet to send [02:29:00]OFD Sender: No OFD packet to send [02:29:05]OFD Sender: No OFD packet to send [02:29:10]OFD Sender: No OFD packet to send [02:29:15]OFD Sender: No OFD packet to send [02:29:20]OFD Sender: No OFD packet to send [02:29:25]OFD Sender: No OFD packet to send [02:29:30]OFD Sender: No OFD packet to send [02:29:35]OFD Sender: No OFD packet to send [02:29:40]OFD Sender: No OFD packet to send [02:29:45]OFD Sender: No OFD packet to send [02:29:50]OFD Sender: No OFD packet to send [02:29:55]OFD Sender: No OFD packet to send [02:30:00]OFD Sender: No OFD packet to send [02:30:05]OFD Sender: No OFD packet to send [02:30:10]OFD Sender: No OFD packet to send [02:30:15]OFD Sender: No OFD packet to send [02:30:20]OFD Sender: No OFD packet to send [02:30:25]OFD Sender: No OFD packet to send [02:30:30]OFD Sender: No OFD packet to send [02:30:35]OFD Sender: No OFD packet to send [02:30:40]OFD Sender: No OFD packet to send [02:30:45]OFD Sender: No OFD packet to send [02:30:50]OFD Sender: No OFD packet to send [02:30:55]OFD Sender: No OFD packet to send [02:31:00]OFD Sender: No OFD packet to send [02:31:05]OFD Sender: No OFD packet to send [02:31:10]OFD Sender: No OFD packet to send [02:31:15]OFD Sender: No OFD packet to send [02:31:20]OFD Sender: No OFD packet to send [02:31:25]OFD Sender: No OFD packet to send [02:31:30]OFD Sender: No OFD packet to send [02:31:35]OFD Sender: No OFD packet to send [02:31:40]OFD Sender: No OFD packet to send [02:31:45]OFD Sender: No OFD packet to send [02:31:50]OFD Sender: No OFD packet to send [02:31:55]OFD Sender: No OFD packet to send [02:32:00]OFD Sender: No OFD packet to send [02:32:05]OFD Sender: No OFD packet to send [02:32:10]OFD Sender: No OFD packet to send [02:32:15]OFD Sender: No OFD packet to send [02:32:20]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:46]OFD Sender: No OFD packet to send [02:48:51]OFD Sender: No OFD packet to send [02:48:56]OFD Sender: No OFD packet to send [02:49:01]OFD Sender: No OFD packet to send [02:49:06]OFD Sender: No OFD packet to send [02:49:11]OFD Sender: No OFD packet to send [02:49:16]OFD Sender: No OFD packet to send [02:49:21]OFD Sender: No OFD packet to send [02:49:26]OFD Sender: No OFD packet to send [02:49:31]OFD Sender: No OFD packet to send [02:49:36]OFD Sender: No OFD packet to send [02:49:46]OFD Sender: No OFD packet to send [02:49:51]OFD Sender: No OFD packet to send [02:49:56]OFD Sender: No OFD packet to send [02:50:01]OFD Sender: No OFD packet to send [02:50:06]OFD Sender: No OFD packet to send [02:50:11]OFD Sender: No OFD packet to send [02:50:16]OFD Sender: No OFD packet to send [02:50:21]OFD Sender: No OFD packet to send [02:50:26]OFD Sender: No OFD packet to send [02:50:31]OFD Sender: No OFD packet to send [02:50:36]OFD Sender: No OFD packet to send [02:50:41]OFD Sender: No OFD packet to send [02:50:46]OFD Sender: No OFD packet to send [02:50:51]OFD Sender: No OFD packet to send [02:50:56]OFD Sender: No OFD packet to send [02:51:01]OFD Sender: No OFD packet to send [02:51:06]OFD Sender: No OFD packet to send [02:51:11]OFD Sender: No OFD packet to send [02:51:16]OFD Sender: No OFD packet to send [02:51:21]OFD Sender: No OFD packet to send [02:51:26]OFD Sender: No OFD packet to send [02:51:31]OFD Sender: No OFD packet to send [02:51:36]OFD Sender: No OFD packet to send [02:51:41]OFD Sender: No OFD packet to send [02:51:46]OFD Sender: No OFD packet to send [02:51:51]OFD Sender: No OFD packet to send [02:51:56]OFD Sender: No OFD packet to send [02:51:59]ConnectInit Can't connect to host [02:52:01]OFD Sender: No OFD packet to send [02:52:06]OFD Sender: No OFD packet to send [02:52:11]OFD Sender: No OFD packet to send [02:52:16]OFD Sender: No OFD packet to send [02:52:21]OFD Sender: No OFD packet to send [02:52:26]OFD Sender: No OFD packet to send [02:52:31]OFD Sender: No OFD packet to send [02:52:36]OFD Sender: No OFD packet to send [02:52:41]OFD Sender: No OFD packet to send [02:52:46]OFD Sender: No OFD packet to send [02:52:51]OFD Sender: No OFD packet to send [02:52:56]OFD Sender: No OFD packet to send [02:53:01]OFD Sender: No OFD packet to send [02:53:06]OFD Sender: No OFD packet to send [02:53:11]OFD Sender: No OFD packet to send [02:53:16]OFD Sender: No OFD packet to send [02:53:21]OFD Sender: No OFD packet to send [02:53:26]OFD Sender: No OFD packet to send [02:53:31]OFD Sender: No OFD packet to send [02:53:36]OFD Sender: No OFD packet to send [02:53:41]OFD Sender: No OFD packet to send [02:53:46]OFD Sender: No OFD packet to send [02:53:51]OFD Sender: No OFD packet to send [02:53:56]OFD Sender: No OFD packet to send [02:54:01]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:27]OFD Sender: No OFD packet to send [02:56:32]OFD Sender: No OFD packet to send [02:56:37]OFD Sender: No OFD packet to send [02:56:42]OFD Sender: No OFD packet to send [02:56:47]OFD Sender: No OFD packet to send [02:56:52]OFD Sender: No OFD packet to send [02:56:57]OFD Sender: No OFD packet to send [02:57:02]OFD Sender: No OFD packet to send [02:57:07]OFD Sender: No OFD packet to send [02:57:12]OFD Sender: No OFD packet to send [02:57:17]OFD Sender: No OFD packet to send [02:57:22]OFD Sender: No OFD packet to send [02:57:27]OFD Sender: No OFD packet to send [02:57:32]OFD Sender: No OFD packet to send [02:57:37]OFD Sender: No OFD packet to send [02:57:42]OFD Sender: No OFD packet to send [02:57:47]OFD Sender: No OFD packet to send [02:57:52]OFD Sender: No OFD packet to send [02:57:57]OFD Sender: No OFD packet to send [02:58:02]OFD Sender: No OFD packet to send [02:58:07]OFD Sender: No OFD packet to send [02:58:12]OFD Sender: No OFD packet to send [02:58:15]accept exits with 8 [02:58:15]New connection [02:58:15]New thread 3066838372 created [02:58:15]Thread 3066695012 joined [02:58:15]Waiting for new connection... [02:58:15] Sock 8.Parse request [02:58:15]Sock 8.Check first char [02:58:15]Sock 8.First char is OK [02:58:15]request: POST /json_proto HTTP/1.0 [02:58:15]Method: POST [02:58:15]URL: /json_proto [02:58:15]Method is POST - this is cgi request [02:58:15]url: /json_proto [02:58:15]query_string will be loaded in cgi processing [02:58:15]execute_cgi json_proto POST (null) [02:58:15]execute_cgi path=json_proto method=POST [02:58:15]POST find Content-Length [02:58:15]Host: 172.17.35.133:8080 [02:58:15]Content-Length: 983 [02:58:15]Content-Type: application/json [02:58:15] [02:58:15]POST finish read [02:58:15]Found Content-Length = 983 [02:58:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254452", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:58:15]execute_script... [02:58:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254452", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:58:15]POST & json_proto [02:58:15]process_json_proto [02:58:15]json parsed OK: [02:58:15]protocol is kg_v1.0 [02:58:15]action value=close_receipt [02:58:15]process_action close_receipt [02:58:15]cmd_close_receipt [02:58:15]MH_GetDate [02:58:15]Write to MH i2c: F0 00 00 19 19 21 [02:58:15]Write i2c OK [02:58:15]MH_I2C_Read... [02:58:15]Read from MH i2c: F0 [02:58:15]MH_I2C_Read... [02:58:15]Read from MH i2c: F0 09 00 [02:58:15]MH_I2C_Read... [02:58:15]Read from MH i2c: F0 09 00 19 19 00 CD 54 6E 66 8C 55 28 65 8D [02:58:15]GetLastDocTimeStamp 1718504493 [02:58:15]current date 1718506701 [02:58:15]FM_GetShiftState [02:58:15]SAM_PROTO_GetShiftState [02:58:15]wFMCommunicate request_size=4 [02:58:15]MH_SAM_APDU [02:58:15]CAPDU: 80 13 01 00 [02:58:15]Write to MH i2c: E2 08 00 1A 19 80 13 01 00 00 00 00 00 B0 [02:58:15]Write i2c OK [02:58:15]MH_I2C_Read... [02:58:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:58:15]Read from MH i2c: E2 [02:58:15]MH_I2C_Read... [02:58:15]Read from MH i2c: E2 0E 00 [02:58:15]MH_I2C_Read... [02:58:15]Read from MH i2c: E2 0E 00 1A 19 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 D1 [02:58:15]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [02:58:15]wFMCommunicate OK [02:58:15]SAM_PROTO_GetShiftState done [02:58:15]FM_GetShiftState done [02:58:15]opened in 1718497297 [02:58:15]opened+sec_in_day 1718583697 [02:58:15]quantity*price = 8500 [02:58:15]sum+1 = 8501 [02:58:15]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700002083914 Водка Сары челек 0,35л 1.000 * 260.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 345.00 НСП 1% : 3.05 НДС 12% : 36.64 Наличными: 345.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 3 16.06.2024 02:58 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22238 ФПД: 3647954336822 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T025821&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22238&fm=3647954336822&tin=02508201610067®Number=0000000000099755&sum=34500 0 [02:58:16]StoreToDocumentArchive [02:58:16]shift 327 fd 22238 [02:58:16]save to /storage/0327/doc_00022238 [02:58:16]save last doc name /storage/0327/doc_00022238 to /storage/kkm_last_doc_name [02:58:16]save OK [02:58:16]Clear old archive folders... [02:58:16]ProcessDocumentItem done err = 0, tmpTLVsize=411 [02:58:16]tlvbuf is 001C7360 [02:58:16]SAM_PROTO_ClearQueue [02:58:16]wFMCommunicate request_size=4 [02:58:16]MH_SAM_APDU [02:58:16]CAPDU: 80 09 00 00 [02:58:16]Write to MH i2c: E2 08 00 27 19 80 09 00 00 00 00 00 00 B2 [02:58:16]Write i2c OK [02:58:16]MH_I2C_Read... [02:58:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:58:16]Read from MH i2c: E2 [02:58:16]MH_I2C_Read... [02:58:16]Read from MH i2c: E2 03 00 [02:58:16]MH_I2C_Read... [02:58:16]Read from MH i2c: E2 03 00 27 19 00 90 00 B4 [02:58:16]RAPDU: 90 00 [02:58:16]wFMCommunicate OK [02:58:16]SAM_PROTO_ClearQueue done [02:58:16]KKMCreateOFDPacket [02:58:16]OFDProtocolAddRootSTLVToBuf [02:58:16]FM_MakeSignedData [02:58:16]FM_MakeSignedData [02:58:16]SAM_PROTO_SignData [02:58:16]wFMCommunicate request_size=4 [02:58:16]MH_SAM_APDU [02:58:16]CAPDU: 80 0D 01 02 [02:58:16]Write to MH i2c: E2 08 00 28 19 80 0D 01 02 00 00 00 00 BA [02:58:16]Write i2c OK [02:58:16]MH_I2C_Read... [02:58:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:58:17]Read from MH i2c: E2 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 03 00 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 03 00 28 19 00 90 00 B5 [02:58:17]RAPDU: 90 00 [02:58:17]wFMCommunicate OK [02:58:17]wFMCommunicate request_size=255 [02:58:17]MH_SAM_APDU [02:58:17]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [02:58:17]Write to MH i2c: E2 02 01 29 19 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 8F [02:58:17]Write i2c OK [02:58:17]MH_I2C_Read... [02:58:17]OFD Sender: No OFD packet to send [02:58:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:58:17]Read from MH i2c: E2 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 03 00 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 03 00 29 19 00 90 00 B6 [02:58:17]RAPDU: 90 00 [02:58:17]wFMCommunicate OK [02:58:17]wFMCommunicate request_size=170 [02:58:17]MH_SAM_APDU [02:58:17]CAPDU: 80 0D 02 02 A5 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 CD 54 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DE 56 00 00 35 04 06 00 03 51 5B 05 BC 36 [02:58:17]Write to MH i2c: E2 AD 00 2A 19 80 0D 02 02 A5 00 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 CD 54 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DE 56 00 00 35 04 06 00 03 51 5B 05 BC 36 00 00 90 [02:58:17]Write i2c OK [02:58:17]MH_I2C_Read... [02:58:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:58:17]Read from MH i2c: E2 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 03 00 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 03 00 2A 19 00 90 00 B7 [02:58:17]RAPDU: 90 00 [02:58:17]wFMCommunicate OK [02:58:17]wFMCommunicate request_size=4 [02:58:17]MH_SAM_APDU [02:58:17]CAPDU: 80 0D 03 02 [02:58:17]Write to MH i2c: E2 08 00 2B 19 80 0D 03 02 00 00 00 00 BF [02:58:17]Write i2c OK [02:58:17]MH_I2C_Read... [02:58:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:58:17]Read from MH i2c: E2 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 0B 00 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 0B 00 2B 19 00 C0 E0 13 2C 11 90 45 ED 90 00 72 [02:58:17]RAPDU: C0 E0 13 2C 11 90 45 ED 90 00 [02:58:17]wFMCommunicate OK [02:58:17]SAM_PROTO_SignData done [02:58:17]FM_MakeSignedData done [02:58:17]CreateOFDProtocolMessage [02:58:17]wFMCommunicate request_size=4 [02:58:17]MH_SAM_APDU [02:58:17]CAPDU: 80 11 00 00 [02:58:17]Write to MH i2c: E2 08 00 2C 19 80 11 00 00 00 00 00 00 BF [02:58:17]Write i2c OK [02:58:17]MH_I2C_Read... [02:58:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:58:17]Read from MH i2c: E2 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 17 00 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: E2 17 00 2C 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 11 [02:58:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:58:17]wFMCommunicate OK [02:58:17]CreateOFDProtocolMessage done [02:58:17]OFDSenderStorePacket 22238 [02:58:17]StoreOFDPacket docnum=22238 [02:58:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 AF 01 00 00 75 49 A7 01 2E AB 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 CD 54 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DE 56 00 00 35 04 06 00 03 51 5B 05 BC 36 C0 E0 13 2C 11 90 45 ED [02:58:17]CheckFolder [02:58:17]dirname=/storage/ofd_packets [02:58:17]CheckFolder done [02:58:17]ProducePacketName [02:58:17]name=ofd_packets/00022238 [02:58:17]NVStorageSaveData ofd_packets/00022238 [02:58:17]File name is /storage/ofd_packets/00022238 [02:58:17]Write 461 bytes [02:58:17]NVStorageSaveData done [02:58:17]OFDSenderStorePacket done [02:58:17]KKMCreateOFDPacket done [02:58:17]NVStorageSaveData kkm_last_timestamp [02:58:17]File name is /storage/kkm_last_timestamp [02:58:17]Write 4 bytes [02:58:17]NVStorageSaveData done [02:58:17]ExternCall_PrintAddStr [02:58:17]wPrintStart [02:58:17]Write to MH i2c: 01 00 00 2D 19 46 [02:58:17]OFD Sender: Processing packet 22238 [packets to send 5, broken 4] [02:58:17]ProducePacketName [02:58:17]name=ofd_packets/00022238 [02:58:17]OFD Sender: To server: pG, [02:58:17]CommunicateWithHost lk.salyk.kg:30040 [02:58:17]ConnectInit lk.salyk.kg [02:58:17]Write i2c OK [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: 01 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: 01 07 00 [02:58:17]MH_I2C_Read... [02:58:17]Read from MH i2c: 01 07 00 2D 19 00 00 00 00 00 FF 0F 5B [02:58:17]RasterBufferAndPrint [02:58:17]line Счет N : (3)254452 [02:58:17]line ИНН: 02508201610067 [02:58:17]line Контрольно-Кассовый Чек [02:58:17]line ПРОДАЖА [02:58:17]line Товар: 4870001571030 [02:58:17]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [02:58:17]line 1.000 * 85.00 [02:58:17]line = 85.00 [02:58:17]line НДС 12% НСП 1% [02:58:17]line > о реализуемом товаре [02:58:17]line Товар: 4700002083914 [02:58:17]line Водка Сары челек 0,35л [02:58:17]line 1.000 * 260.00 [02:58:17]line = 260.00 [02:58:17]line НДС 12% НСП 1% [02:58:17]line > о реализуемом товаре [02:58:17]line ИТОГО: 345.00 [02:58:17]line НСП 1% : 3.05 [02:58:17]line НДС 12% : 36.64 [02:58:17]line Наличными: 345.00 [02:58:17]line Безнал.: 0.00 [02:58:17]line Место: АЗС № 76 "Партнер Нефть" [02:58:17]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [02:58:17]line СНО: Общий режим [02:58:17]line Чек 3 16.06.2024 02:58 [02:58:17]line Смена: 327 ФФД: 1.0 [02:58:17]line ЗНМ: 0300000200 [02:58:17]line РНМ: 0000000000099755 [02:58:17]line Версия ККМ: 001 [02:58:17]line ФМ: 0000000000965344 [02:58:17]line ФД: 22238 [02:58:17]line ФПД: 3647954336822 [02:58:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T025821&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22238&fm=3647954336822&tin=02508201610067®Number=0000000000099755&sum=34500 [02:58:17]line 0 [02:58:17]written 0, free lines is 4095 [02:58:18]Connected sock=10 [02:58:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 AF 01 00 00 75 49 A7 01 2E AB 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 CD 54 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DE 56 00 00 35 04 06 00 03 51 5B 05 BC 36 C0 E0 13 2C 11 90 45 ED [02:58:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 F6 F6 47 00 F5 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 DE 56 00 00 F4 03 04 00 89 FD 6D 66 B6 04 01 00 00 EB D8 8D 96 4E C4 20 44 [02:58:18]CommunicateWithHost err = 0 [02:58:18]CheckOFDResponse [02:58:18]1017 (14) - 77093643461234 [02:58:18]1041 (16) - 0000000000965344 [02:58:18]1040 (4) - 22238 [02:58:18]1012 (4) - 15.06.2024 20:46 [02:58:18]1206 (1) - 0 [02:58:18]OFD Sender: Remove packet 22238 [02:58:18]ProducePacketName [02:58:18]name=ofd_packets/00022238 [02:58:18]NVStorageDeleteData [02:58:18]Write to MH i2c: 01 00 00 5C 19 75 [02:58:18]Write i2c OK [02:58:18]MH_I2C_Read... [02:58:18]Read from MH i2c: 01 [02:58:18]MH_I2C_Read... [02:58:18]Read from MH i2c: 01 07 00 [02:58:18]MH_I2C_Read... [02:58:18]Read from MH i2c: 01 07 00 5C 19 00 00 00 00 00 F5 0C 7D [02:58:18]RasterBufferAndPrint [02:58:18]line [02:58:18]line [02:58:18]line [02:58:18]line [02:58:18]line [02:58:18]written 0, free lines is 3327 [02:58:18]MH_Cut [02:58:18]Write to MH i2c: D1 01 00 63 19 01 4E [02:58:18]Write i2c OK [02:58:18]MH_I2C_Read... [02:58:18]Read from MH i2c: D1 [02:58:18]MH_I2C_Read... [02:58:18]Read from MH i2c: D1 01 00 [02:58:18]MH_I2C_Read... [02:58:18]Read from MH i2c: D1 01 00 63 19 00 4D [02:58:18]Write to MH i2c: 01 00 00 64 19 7D [02:58:18]Write i2c OK [02:58:18]MH_I2C_Read... [02:58:18]OFD Sender: No OFD packet to send [02:58:19]*** Cut start [02:58:19]*** Partial cut [02:58:19]*** CUTSNS_PIN = 1 [02:58:19]*** CUTSNS_PIN = 0 [02:58:19]*** Brake cut motor [02:58:19]Read from MH i2c: 01 [02:58:19]MH_I2C_Read... [02:58:19]*** Stop cut motor [02:58:19]*** Cut end [02:58:19]Read from MH i2c: 01 07 00 [02:58:19]MH_I2C_Read... [02:58:19]Read from MH i2c: 01 07 00 64 19 00 00 00 00 00 FF 0F 92 [02:58:19]process_action close_receipt done [02:58:19]requested_data is exist [02:58:19]produce_requested_data [02:58:19]requested_item fm.sn is exist - process it [02:58:19]wFMCommunicate request_size=4 [02:58:19]MH_SAM_APDU [02:58:19]CAPDU: 80 11 00 00 [02:58:19]Write to MH i2c: E2 08 00 65 19 80 11 00 00 00 00 00 00 F8 [02:58:19]Write i2c OK [02:58:19]MH_I2C_Read... [02:58:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:58:19]Read from MH i2c: E2 [02:58:19]MH_I2C_Read... [02:58:19]Read from MH i2c: E2 17 00 [02:58:19]MH_I2C_Read... [02:58:19]Read from MH i2c: E2 17 00 65 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4A [02:58:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:58:19]wFMCommunicate OK [02:58:19]requested_item fd.num is exist - process it [02:58:19]SAM_PROTO_GetFieldsCounters [02:58:19]wFMCommunicate request_size=4 [02:58:19]MH_SAM_APDU [02:58:19]CAPDU: 80 13 00 00 [02:58:19]Write to MH i2c: E2 08 00 66 19 80 13 00 00 00 00 00 00 FB [02:58:19]Write i2c OK [02:58:19]MH_I2C_Read... [02:58:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:58:19]Read from MH i2c: E2 [02:58:19]MH_I2C_Read... [02:58:19]Read from MH i2c: E2 62 00 [02:58:19]MH_I2C_Read... [02:58:19]Read from MH i2c: E2 62 00 66 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DE 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [02:58:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DE 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:58:19]wFMCommunicate OK [02:58:19]SAM_PROTO_GetFieldsCounters done [02:58:19]requested_item shift.num is exist - process it [02:58:19]requested_item shift.opened is exist - process it [02:58:19]req_shift_opened [02:58:19]FM_GetShiftState [02:58:19]SAM_PROTO_GetShiftState [02:58:19]wFMCommunicate request_size=4 [02:58:19]MH_SAM_APDU [02:58:19]CAPDU: 80 13 01 00 [02:58:19]Write to MH i2c: E2 08 00 67 19 80 13 01 00 00 00 00 00 FD [02:58:19]Write i2c OK [02:58:19]MH_I2C_Read... [02:58:20]Read from MH i2c: E2 [02:58:20]MH_I2C_Read... [02:58:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:58:20]Read from MH i2c: E2 0E 00 [02:58:20]MH_I2C_Read... [02:58:20]Read from MH i2c: E2 0E 00 67 19 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 1E [02:58:20]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [02:58:20]wFMCommunicate OK [02:58:20]SAM_PROTO_GetShiftState done [02:58:20]FM_GetShiftState done [02:58:20]req_shift_opened done [02:58:20]requested_item shift.open_date is exist - process it [02:58:20]req_shift_open_date [02:58:20]req_shift_open_date done [02:58:20]produce_requested_data done [02:58:20]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22238,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [02:58:20]process_action_free close_receipt [02:58:20]json_value_free [02:58:20]json_value_free done [02:58:20]process_json_proto returns [02:58:20]Send response to host [02:58:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22238,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [02:58:20]free response buf [02:58:20]execute_script done [02:58:20]execute_script returns [02:58:20]free content buf [02:58:20]Sock 8.Close socket [02:58:20]Sock 8.Thread stoped [02:58:23]OFD Sender: No OFD packet to send [02:58:28]OFD Sender: No OFD packet to send [02:58:33]OFD Sender: No OFD packet to send [02:58:38]OFD Sender: No OFD packet to send [02:58:43]OFD Sender: No OFD packet to send [02:58:48]OFD Sender: No OFD packet to send [02:58:53]OFD Sender: No OFD packet to send [02:58:58]OFD Sender: No OFD packet to send [02:59:03]OFD Sender: No OFD packet to send [02:59:08]OFD Sender: No OFD packet to send [02:59:13]OFD Sender: No OFD packet to send [02:59:18]OFD Sender: No OFD packet to send [02:59:23]OFD Sender: No OFD packet to send [02:59:28]OFD Sender: No OFD packet to send [02:59:33]OFD Sender: No OFD packet to send [02:59:38]OFD Sender: No OFD packet to send [02:59:43]OFD Sender: No OFD packet to send [02:59:48]OFD Sender: No OFD packet to send [02:59:53]OFD Sender: No OFD packet to send [02:59:58]OFD Sender: No OFD packet to send [03:00:03]OFD Sender: No OFD packet to send [03:00:08]OFD Sender: No OFD packet to send [03:00:13]OFD Sender: No OFD packet to send [03:00:18]OFD Sender: No OFD packet to send [03:00:23]OFD Sender: No OFD packet to send [03:00:28]OFD Sender: No OFD packet to send [03:00:33]OFD Sender: No OFD packet to send [03:00:38]OFD Sender: No OFD packet to send [03:00:43]OFD Sender: No OFD packet to send [03:00:48]OFD Sender: No OFD packet to send [03:00:53]OFD Sender: No OFD packet to send [03:00:58]OFD Sender: No OFD packet to send [03:01:03]OFD Sender: No OFD packet to send [03:01:08]OFD Sender: No OFD packet to send [03:01:13]OFD Sender: No OFD packet to send [03:01:18]OFD Sender: No OFD packet to send [03:01:23]OFD Sender: No OFD packet to send [03:01:28]OFD Sender: No OFD packet to send [03:01:33]OFD Sender: No OFD packet to send [03:01:38]OFD Sender: No OFD packet to send [03:01:43]OFD Sender: No OFD packet to send [03:01:48]OFD Sender: No OFD packet to send [03:01:53]OFD Sender: No OFD packet to send [03:01:58]OFD Sender: No OFD packet to send [03:02:03]OFD Sender: No OFD packet to send [03:02:08]OFD Sender: No OFD packet to send [03:02:13]OFD Sender: No OFD packet to send [03:02:18]OFD Sender: No OFD packet to send [03:02:23]OFD Sender: No OFD packet to send [03:02:28]OFD Sender: No OFD packet to send [03:02:33]OFD Sender: No OFD packet to send [03:02:38]OFD Sender: No OFD packet to send [03:02:43]OFD Sender: No OFD packet to send [03:02:48]OFD Sender: No OFD packet to send [03:02:53]OFD Sender: No OFD packet to send [03:02:58]OFD Sender: No OFD packet to send [03:03:03]OFD Sender: No OFD packet to send [03:03:08]OFD Sender: No OFD packet to send [03:03:13]OFD Sender: No OFD packet to send [03:03:18]OFD Sender: No OFD packet to send [03:03:23]OFD Sender: No OFD packet to send [03:03:28]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08:24]OFD Sender: No OFD packet to send [03:08:29]OFD Sender: No OFD packet to send [03:08:34]OFD Sender: No OFD packet to send [03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:19]OFD Sender: No OFD packet to send [03:09:24]OFD Sender: No OFD packet to send [03:09:29]OFD Sender: No OFD packet to send [03:09:34]OFD Sender: No OFD packet to send [03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send