[07:53:00]ConnectInit Can't connect to host [07:53:01]ConnectInit Can't take IP for lk.salyk.kg [07:53:01]CommunicateWithHost connect error [07:53:01]CommunicateWithHost err = -1 [07:53:01]OFD Sender: Server communicate error [07:53:06]OFD Sender: Processing packet 22022 [packets to send 14, broken 4] [07:53:06]ProducePacketName [07:53:06]name=ofd_packets/00022022 [07:53:06]OFD Sender: To server: pG, [07:53:06]CommunicateWithHost lk.salyk.kg:30040 [07:53:06]ConnectInit lk.salyk.kg [07:53:06]Connected sock=10 [07:53: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 28 01 00 00 B3 B6 20 01 75 CF 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 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 E3 54 6A 66 0E 04 04 00 44 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 06 56 00 00 35 04 06 00 B0 4A 20 27 01 19 5B 18 3B 18 14 F2 26 7C [07:53: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 17 2D 47 00 53 65 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 06 56 00 00 F4 03 04 00 2C 4E 6A 66 B6 04 01 00 00 96 20 B5 DE E9 40 37 17 [07:53:06]CommunicateWithHost err = 0 [07:53:06]CheckOFDResponse [07:53:06]1017 (14) - 77093643461234 [07:53:06]1041 (16) - 0000000000965344 [07:53:06]1040 (4) - 22022 [07:53:06]1012 (4) - 13.06.2024 01:41 [07:53:06]1206 (1) - 0 [07:53:06]OFD Sender: Remove packet 22022 [07:53:06]ProducePacketName [07:53:06]name=ofd_packets/00022022 [07:53:06]NVStorageDeleteData [07:53:07]OFD Sender: Processing packet 22023 [packets to send 13, broken 4] [07:53:07]ProducePacketName [07:53:07]name=ofd_packets/00022023 [07:53:07]OFD Sender: To server: pG, [07:53:07]CommunicateWithHost lk.salyk.kg:30040 [07:53:07]ConnectInit lk.salyk.kg [07:53:07]Connected sock=9 [07:53:07]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 38 58 23 01 03 1D 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 03 00 00 00 F4 03 04 00 15 64 6A 66 0E 04 04 00 44 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 07 56 00 00 35 04 06 00 15 57 8B A5 19 A6 A7 C6 73 0F E2 52 AD 98 [07:53: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 3F A5 47 00 90 17 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 07 56 00 00 F4 03 04 00 2D 4E 6A 66 B6 04 01 00 00 20 A2 21 58 63 51 00 F2 [07:53:07]CommunicateWithHost err = 0 [07:53:07]CheckOFDResponse [07:53:07]1017 (14) - 77093643461234 [07:53:07]1041 (16) - 0000000000965344 [07:53:07]1040 (4) - 22023 [07:53:07]1012 (4) - 13.06.2024 01:41 [07:53:07]1206 (1) - 0 [07:53:07]OFD Sender: Remove packet 22023 [07:53:07]ProducePacketName [07:53:07]name=ofd_packets/00022023 [07:53:07]NVStorageDeleteData [07:53:08]OFD Sender: Processing packet 22024 [packets to send 12, broken 4] [07:53:08]ProducePacketName [07:53:08]name=ofd_packets/00022024 [07:53:08]OFD Sender: To server: pG, [07:53:08]CommunicateWithHost lk.salyk.kg:30040 [07:53:08]ConnectInit lk.salyk.kg [07:53:08]Connected sock=9 [07:53: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 53 02 00 00 5E F8 4B 02 15 5E 5A 03 01 00 03 00 3F 02 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 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 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 30 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 11 00 00 00 00 07 04 06 00 30 A7 00 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 E4 73 6A 66 0E 04 04 00 44 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 08 56 00 00 35 04 06 00 A0 7B 20 C6 CF DB 8E 87 4F 3D 49 07 38 90 [07:53: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 68 10 47 00 2B E5 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 08 56 00 00 F4 03 04 00 2E 4E 6A 66 B6 04 01 00 00 B6 7F AD D9 CD 44 19 ED [07:53:09]CommunicateWithHost err = 0 [07:53:09]CheckOFDResponse [07:53:09]1017 (14) - 77093643461234 [07:53:09]1041 (16) - 0000000000965344 [07:53:09]1040 (4) - 22024 [07:53:09]1012 (4) - 13.06.2024 01:41 [07:53:09]1206 (1) - 0 [07:53:09]OFD Sender: Remove packet 22024 [07:53:09]ProducePacketName [07:53:09]name=ofd_packets/00022024 [07:53:09]NVStorageDeleteData [07:53:09]OFD Sender: Processing packet 22025 [packets to send 11, broken 4] [07:53:09]ProducePacketName [07:53:09]name=ofd_packets/00022025 [07:53:09]OFD Sender: To server: pG, [07:53:09]CommunicateWithHost lk.salyk.kg:30040 [07:53:09]ConnectInit lk.salyk.kg [07:53:09]Connected sock=9 [07:53: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 43 01 00 00 17 FB 3B 01 2E 49 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 05 00 00 00 F4 03 04 00 1C 77 6A 66 0E 04 04 00 44 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 09 56 00 00 35 04 06 00 39 86 8E 65 11 D2 3D ED 3A 26 B7 CF F6 C4 [07:53: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 61 B9 47 00 7F 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 09 56 00 00 F4 03 04 00 2F 4E 6A 66 B6 04 01 00 00 CC AB 45 76 5B 8A 32 13 [07:53:10]CommunicateWithHost err = 0 [07:53:10]CheckOFDResponse [07:53:10]1017 (14) - 77093643461234 [07:53:10]1041 (16) - 0000000000965344 [07:53:10]1040 (4) - 22025 [07:53:10]1012 (4) - 13.06.2024 01:41 [07:53:10]1206 (1) - 0 [07:53:10]OFD Sender: Remove packet 22025 [07:53:10]ProducePacketName [07:53:10]name=ofd_packets/00022025 [07:53:10]NVStorageDeleteData [07:53:10]OFD Sender: Processing packet 22026 [packets to send 10, broken 4] [07:53:10]ProducePacketName [07:53:10]name=ofd_packets/00022026 [07:53:10]OFD Sender: To server: pG, [07:53:10]CommunicateWithHost lk.salyk.kg:30040 [07:53:10]ConnectInit lk.salyk.kg [07:53:11]Connected sock=9 [07:53: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 2E 01 00 00 D0 EC 26 01 93 BA 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 [07:53:32]ConnectInit Can't take IP for lk.salyk.kg [07:53:32]CommunicateWithHost connect error [07:53:32]CommunicateWithHost err = -1 [07:53:32]OFD Sender: Server communicate error [07:53:37]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:53:37]ProducePacketName [07:53:37]name=ofd_packets/00022031 [07:53:37]OFD Sender: To server: pG, [07:53:37]CommunicateWithHost lk.salyk.kg:30040 [07:53:37]ConnectInit lk.salyk.kg [07:53:42]ConnectInit Can't take IP for lk.salyk.kg [07:53:42]CommunicateWithHost connect error [07:53:42]CommunicateWithHost err = -1 [07:53:42]OFD Sender: Server communicate error [07:53:47]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:53:47]ProducePacketName [07:53:47]name=ofd_packets/00022031 [07:53:47]OFD Sender: To server: pG, [07:53:47]CommunicateWithHost lk.salyk.kg:30040 [07:53:47]ConnectInit lk.salyk.kg [07:53:52]ConnectInit Can't take IP for lk.salyk.kg [07:53:52]CommunicateWithHost connect error [07:53:52]CommunicateWithHost err = -1 [07:53:52]OFD Sender: Server communicate error [07:53:57]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:53:57]ProducePacketName [07:53:57]name=ofd_packets/00022031 [07:53:57]OFD Sender: To server: pG, [07:53:57]CommunicateWithHost lk.salyk.kg:30040 [07:53:57]ConnectInit lk.salyk.kg [07:54:02]ConnectInit Can't take IP for lk.salyk.kg [07:54:02]CommunicateWithHost connect error [07:54:02]CommunicateWithHost err = -1 [07:54:02]OFD Sender: Server communicate error [07:54:07]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:54:07]ProducePacketName [07:54:07]name=ofd_packets/00022031 [07:54:07]OFD Sender: To server: pG, [07:54:07]CommunicateWithHost lk.salyk.kg:30040 [07:54:07]ConnectInit lk.salyk.kg [07:54:12]ConnectInit Can't take IP for lk.salyk.kg [07:54:12]CommunicateWithHost connect error [07:54:12]CommunicateWithHost err = -1 [07:54:12]OFD Sender: Server communicate error [07:54:17]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:54:17]ProducePacketName [07:54:17]name=ofd_packets/00022031 [07:54:17]OFD Sender: To server: pG, [07:54:17]CommunicateWithHost lk.salyk.kg:30040 [07:54:17]ConnectInit lk.salyk.kg [07:54:22]ConnectInit Can't take IP for lk.salyk.kg [07:54:22]CommunicateWithHost connect error [07:54:22]CommunicateWithHost err = -1 [07:54:22]OFD Sender: Server communicate error [07:54:27]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:54:27]ProducePacketName [07:54:27]name=ofd_packets/00022031 [07:54:27]OFD Sender: To server: pG, [07:54:27]CommunicateWithHost lk.salyk.kg:30040 [07:54:27]ConnectInit lk.salyk.kg [07:54:32]ConnectInit Can't take IP for lk.salyk.kg [07:54:32]CommunicateWithHost connect error [07:54:32]CommunicateWithHost err = -1 [07:54:32]OFD Sender: Server communicate error [07:54:37]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:54:37]ProducePacketName [07:54:37]name=ofd_packets/00022031 [07:54:37]OFD Sender: To server: pG, [07:54:37]CommunicateWithHost lk.salyk.kg:30040 [07:54:37]ConnectInit lk.salyk.kg [07:54:42]ConnectInit Can't take IP for lk.salyk.kg [07:54:42]CommunicateWithHost connect error [07:54:42]CommunicateWithHost err = -1 [07:54:42]OFD Sender: Server communicate error [07:54:47]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:54:47]ProducePacketName [07:54:47]name=ofd_packets/00022031 [07:54:47]OFD Sender: To server: pG, [07:54:47]CommunicateWithHost lk.salyk.kg:30040 [07:54:47]ConnectInit lk.salyk.kg [07:54:52]ConnectInit Can't take IP for lk.salyk.kg [07:54:52]CommunicateWithHost connect error [07:54:52]CommunicateWithHost err = -1 [07:54:52]OFD Sender: Server communicate error [07:54:57]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:54:57]ProducePacketName [07:54:57]name=ofd_packets/00022031 [07:54:57]OFD Sender: To server: pG, [07:54:57]CommunicateWithHost lk.salyk.kg:30040 [07:54:57]ConnectInit lk.salyk.kg [07:55:02]ConnectInit Can't take IP for lk.salyk.kg [07:55:02]CommunicateWithHost connect error [07:55:02]CommunicateWithHost err = -1 [07:55:02]OFD Sender: Server communicate error [07:55:07]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:55:07]ProducePacketName [07:55:07]name=ofd_packets/00022031 [07:55:07]OFD Sender: To server: pG, [07:55:07]CommunicateWithHost lk.salyk.kg:30040 [07:55:07]ConnectInit lk.salyk.kg [07:55:12]ConnectInit Can't take IP for lk.salyk.kg [07:55:12]CommunicateWithHost connect error [07:55:12]CommunicateWithHost err = -1 [07:55:12]OFD Sender: Server communicate error [07:55:17]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:55:17]ProducePacketName [07:55:17]name=ofd_packets/00022031 [07:55:17]OFD Sender: To server: pG, [07:55:17]CommunicateWithHost lk.salyk.kg:30040 [07:55:17]ConnectInit lk.salyk.kg [07:55:22]ConnectInit Can't take IP for lk.salyk.kg [07:55:22]CommunicateWithHost connect error [07:55:22]CommunicateWithHost err = -1 [07:55:22]OFD Sender: Server communicate error [07:55:27]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:55:27]ProducePacketName [07:55:27]name=ofd_packets/00022031 [07:55:27]OFD Sender: To server: pG, [07:55:27]CommunicateWithHost lk.salyk.kg:30040 [07:55:27]ConnectInit lk.salyk.kg [07:55:32]ConnectInit Can't take IP for lk.salyk.kg [07:55:32]CommunicateWithHost connect error [07:55:32]CommunicateWithHost err = -1 [07:55:32]OFD Sender: Server communicate error [07:55:37]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:55:37]ProducePacketName [07:55:37]name=ofd_packets/00022031 [07:55:37]OFD Sender: To server: pG, [07:55:37]CommunicateWithHost lk.salyk.kg:30040 [07:55:37]ConnectInit lk.salyk.kg [07:55:38]ConnectInit Can't connect to host [07:55:42]ConnectInit Can't take IP for lk.salyk.kg [07:55:42]CommunicateWithHost connect error [07:55:42]CommunicateWithHost err = -1 [07:55:42]OFD Sender: Server communicate error [07:55:47]OFD Sender: Processing packet 22031 [packets to send 5, broken 4] [07:55:47]ProducePacketName [07:55:47]name=ofd_packets/00022031 [07:55:47]OFD Sender: To server: pG, [07:55:47]CommunicateWithHost lk.salyk.kg:30040 [07:55:47]ConnectInit lk.salyk.kg [07:55:47]Connected sock=9 [07:55:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A0 01 00 00 BB 60 98 01 07 76 5A 03 01 00 03 00 8C 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 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 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 6F 94 6A 66 0E 04 04 00 44 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 0F 56 00 00 35 04 06 00 EF 84 3D F7 55 C8 DC 58 D3 1B 6C 7B 63 AA [07:55: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 33 90 47 00 14 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 0F 56 00 00 F4 03 04 00 CD 4E 6A 66 B6 04 01 00 00 EA 20 4F 2C E4 66 20 1E [07:55:48]CommunicateWithHost err = 0 [07:55:48]CheckOFDResponse [07:55:48]1017 (14) - 77093643461234 [07:55:48]1041 (16) - 0000000000965344 [07:55:48]1040 (4) - 22031 [07:55:48]1012 (4) - 13.06.2024 01:43 [07:55:48]1206 (1) - 0 [07:55:48]OFD Sender: Remove packet 22031 [07:55:48]ProducePacketName [07:55:48]name=ofd_packets/00022031 [07:55:48]NVStorageDeleteData [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [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:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:39]accept exits with 8 [08:00:39]New connection [08:00:39]New thread 3067178340 created [08:00:39]Thread 3067321700 joined [08:00:39]Waiting for new connection... [08:00:39] Sock 8.Parse request [08:00:39]Sock 8.Check first char [08:00:39]Sock 8.First char is OK [08:00:39]request: POST /json_proto HTTP/1.0 [08:00:39]Method: POST [08:00:39]URL: /json_proto [08:00:39]Method is POST - this is cgi request [08:00:39]url: /json_proto [08:00:39]query_string will be loaded in cgi processing [08:00:39]execute_cgi json_proto POST (null) [08:00:39]execute_cgi path=json_proto method=POST [08:00:39]POST find Content-Length [08:00:39]Host: 172.17.35.133:8080 [08:00:39]Content-Length: 611 [08:00:39]Content-Type: application/json [08:00:39] [08:00:39]POST finish read [08:00:39]Found Content-Length = 611 [08:00:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254266", "tax_sys" : 0, "items" : [ { "code": "48742078", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Silver", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:00:39]execute_script... [08:00: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)254266", "tax_sys" : 0, "items" : [ { "code": "48742078", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Silver", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:00:39]POST & json_proto [08:00:39]process_json_proto [08:00:39]json parsed OK: [08:00:39]protocol is kg_v1.0 [08:00:39]action value=close_receipt [08:00:39]process_action close_receipt [08:00:39]cmd_close_receipt [08:00:39]MH_GetDate [08:00:39]Write to MH i2c: F0 00 00 02 1F 10 [08:00:39]Write i2c OK [08:00:39]MH_I2C_Read... [08:00:39]Read from MH i2c: F0 [08:00:39]MH_I2C_Read... [08:00:39]Read from MH i2c: F0 09 00 [08:00:39]MH_I2C_Read... [08:00:39]Read from MH i2c: F0 09 00 02 1F 00 2F A7 6A 66 8C 55 28 65 2D [08:00:39]GetLastDocTimeStamp 1718260847 [08:00:39]current date 1718265647 [08:00:39]FM_GetShiftState [08:00:39]SAM_PROTO_GetShiftState [08:00:39]wFMCommunicate request_size=4 [08:00:39]MH_SAM_APDU [08:00:39]CAPDU: 80 13 01 00 [08:00:39]Write to MH i2c: E2 08 00 03 1F 80 13 01 00 00 00 00 00 9F [08:00:39]Write i2c OK [08:00:39]MH_I2C_Read... [08:00:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:00:39]Read from MH i2c: E2 [08:00:39]MH_I2C_Read... [08:00:39]Read from MH i2c: E2 0E 00 [08:00:39]MH_I2C_Read... [08:00:39]Read from MH i2c: E2 0E 00 03 1F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 BD [08:00:39]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [08:00:39]wFMCommunicate OK [08:00:39]SAM_PROTO_GetShiftState done [08:00:39]FM_GetShiftState done [08:00:39]opened in 1718237959 [08:00:39]opened+sec_in_day 1718324359 [08:00:39]quantity*price = 13000 [08:00:39]sum+1 = 13001 [08:00:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 12 13.06.2024 08:00 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22032 ФПД: 260143662220989 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T080047&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22032&fm=260143662220989&tin=02508201610067®Number=0000000000099755&sum=13000 0 [08:00:40]StoreToDocumentArchive [08:00:40]shift 324 fd 22032 [08:00:40]save to /storage/0324/doc_00022032 [08:00:40]save last doc name /storage/0324/doc_00022032 to /storage/kkm_last_doc_name [08:00:40]save OK [08:00:40]Clear old archive folders... [08:00:40]ProcessDocumentItem done err = 0, tmpTLVsize=263 [08:00:40]tlvbuf is B6F1B0E0 [08:00:40]SAM_PROTO_ClearQueue [08:00:40]wFMCommunicate request_size=4 [08:00:40]MH_SAM_APDU [08:00:40]CAPDU: 80 09 00 00 [08:00:40]Write to MH i2c: E2 08 00 10 1F 80 09 00 00 00 00 00 00 A1 [08:00:40]Write i2c OK [08:00:40]MH_I2C_Read... [08:00:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:00:40]Read from MH i2c: E2 [08:00:40]MH_I2C_Read... [08:00:40]Read from MH i2c: E2 03 00 [08:00:40]MH_I2C_Read... [08:00:40]Read from MH i2c: E2 03 00 10 1F 00 90 00 A3 [08:00:40]RAPDU: 90 00 [08:00:40]wFMCommunicate OK [08:00:40]SAM_PROTO_ClearQueue done [08:00:40]KKMCreateOFDPacket [08:00:40]OFDProtocolAddRootSTLVToBuf [08:00:40]FM_MakeSignedData [08:00:40]FM_MakeSignedData [08:00:40]SAM_PROTO_SignData [08:00:40]wFMCommunicate request_size=4 [08:00:40]MH_SAM_APDU [08:00:40]CAPDU: 80 0D 01 02 [08:00:40]Write to MH i2c: E2 08 00 11 1F 80 0D 01 02 00 00 00 00 A9 [08:00:40]Write i2c OK [08:00:40]MH_I2C_Read... [08:00:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:00:40]Read from MH i2c: E2 [08:00:40]MH_I2C_Read... [08:00:40]Read from MH i2c: E2 03 00 [08:00:40]MH_I2C_Read... [08:00:40]Read from MH i2c: E2 03 00 11 1F 00 90 00 A4 [08:00:40]RAPDU: 90 00 [08:00:40]wFMCommunicate OK [08:00:40]wFMCommunicate request_size=255 [08:00:40]MH_SAM_APDU [08:00:40]CAPDU: 80 0D 02 02 FA 03 00 07 01 1E 04 01 00 01 23 04 59 00 8A 04 08 00 34 38 37 34 32 30 37 38 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 69 6C 76 65 72 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 0C 00 00 00 F4 03 04 00 2F A7 6A 66 0E 04 04 00 44 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 [08:00:40]Write to MH i2c: E2 02 01 12 1F 80 0D 02 02 FA 00 03 00 07 01 1E 04 01 00 01 23 04 59 00 8A 04 08 00 34 38 37 34 32 30 37 38 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 69 6C 76 65 72 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 0C 00 00 00 F4 03 04 00 2F A7 6A 66 0E 04 04 00 44 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 00 00 40 [08:00:40]Write i2c OK [08:00:40]MH_I2C_Read... [08:00:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:00:41]Read from MH i2c: E2 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: E2 03 00 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: E2 03 00 12 1F 00 90 00 A5 [08:00:41]RAPDU: 90 00 [08:00:41]wFMCommunicate OK [08:00:41]wFMCommunicate request_size=22 [08:00:41]MH_SAM_APDU [08:00:41]CAPDU: 80 0D 02 02 11 04 04 00 10 56 00 00 35 04 06 00 EC 99 6A 93 C6 BD [08:00:41]Write to MH i2c: E2 19 00 13 1F 80 0D 02 02 11 00 04 04 00 10 56 00 00 35 04 06 00 EC 99 6A 93 C6 BD 00 00 80 [08:00:41]Write i2c OK [08:00:41]MH_I2C_Read... [08:00:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:00:41]Read from MH i2c: E2 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: E2 03 00 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: E2 03 00 13 1F 00 90 00 A6 [08:00:41]RAPDU: 90 00 [08:00:41]wFMCommunicate OK [08:00:41]wFMCommunicate request_size=4 [08:00:41]MH_SAM_APDU [08:00:41]CAPDU: 80 0D 03 02 [08:00:41]Write to MH i2c: E2 08 00 14 1F 80 0D 03 02 00 00 00 00 AE [08:00:41]Write i2c OK [08:00:41]MH_I2C_Read... [08:00:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:00:41]Read from MH i2c: E2 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: E2 0B 00 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: E2 0B 00 14 1F 00 6B D4 78 CC 70 1B 8C 8D 90 00 D6 [08:00:41]RAPDU: 6B D4 78 CC 70 1B 8C 8D 90 00 [08:00:41]wFMCommunicate OK [08:00:41]SAM_PROTO_SignData done [08:00:41]FM_MakeSignedData done [08:00:41]CreateOFDProtocolMessage [08:00:41]wFMCommunicate request_size=4 [08:00:41]MH_SAM_APDU [08:00:41]CAPDU: 80 11 00 00 [08:00:41]Write to MH i2c: E2 08 00 15 1F 80 11 00 00 00 00 00 00 AE [08:00:41]Write i2c OK [08:00:41]MH_I2C_Read... [08:00:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:00:41]Read from MH i2c: E2 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: E2 17 00 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: E2 17 00 15 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 00 [08:00:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:00:41]wFMCommunicate OK [08:00:41]CreateOFDProtocolMessage done [08:00:41]OFDSenderStorePacket 22032 [08:00:41]StoreOFDPacket docnum=22032 [08:00: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 1B 01 00 00 35 1E 13 01 D2 4B 5A 03 01 00 03 00 07 01 1E 04 01 00 01 23 04 59 00 8A 04 08 00 34 38 37 34 32 30 37 38 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 69 6C 76 65 72 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 0C 00 00 00 F4 03 04 00 2F A7 6A 66 0E 04 04 00 44 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 10 56 00 00 35 04 06 00 EC 99 6A 93 C6 BD 6B D4 78 CC 70 1B 8C 8D [08:00:41]CheckFolder [08:00:41]dirname=/storage/ofd_packets [08:00:41]CheckFolder done [08:00:41]ProducePacketName [08:00:41]name=ofd_packets/00022032 [08:00:41]NVStorageSaveData ofd_packets/00022032 [08:00:41]File name is /storage/ofd_packets/00022032 [08:00:41]Write 313 bytes [08:00:41]NVStorageSaveData done [08:00:41]OFDSenderStorePacket done [08:00:41]KKMCreateOFDPacket done [08:00:41]NVStorageSaveData kkm_last_timestamp [08:00:41]File name is /storage/kkm_last_timestamp [08:00:41]Write 4 bytes [08:00:41]NVStorageSaveData done [08:00:41]ExternCall_PrintAddStr [08:00:41]wPrintStart [08:00:41]Write to MH i2c: 01 00 00 16 1F 35 [08:00:41]Write i2c OK [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: 01 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: 01 07 00 [08:00:41]MH_I2C_Read... [08:00:41]Read from MH i2c: 01 07 00 16 1F 00 00 00 00 00 FF 0F 4A [08:00:41]RasterBufferAndPrint [08:00:41]line Счет N : (3)254266 [08:00:41]line ИНН: 02508201610067 [08:00:41]line Контрольно-Кассовый Чек [08:00:41]line ПРОДАЖА [08:00:41]line Товар: 48742078 [08:00:41]line Сигареты LD Silver [08:00:41]line 1.000 * 130.00 [08:00:41]line = 130.00 [08:00:41]line НДС 12% НСП 1% [08:00:41]line > о реализуемом товаре [08:00:41]line ИТОГО: 130.00 [08:00:41]line НСП 1% : 1.15 [08:00:41]line НДС 12% : 13.80 [08:00:41]line Наличными: 130.00 [08:00:41]line Безнал.: 0.00 [08:00:41]line Место: АЗС № 76 "Партнер Нефть" [08:00:41]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:00:41]line СНО: Общий режим [08:00:41]line Чек 12 13.06.2024 08:00 [08:00:41]line Смена: 324 ФФД: 1.0 [08:00:41]line ЗНМ: 0300000200 [08:00:41]line РНМ: 0000000000099755 [08:00:41]line Версия ККМ: 001 [08:00:41]line ФМ: 0000000000965344 [08:00:41]line ФД: 22032 [08:00:41]line ФПД: 260143662220989 [08:00:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T080047&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22032&fm=260143662220989&tin=02508201610067®Number=0000000000099755&sum=13000 [08:00:41]line 0 [08:00:41]OFD Sender: Processing packet 22032 [packets to send 5, broken 4] [08:00:41]ProducePacketName [08:00:41]name=ofd_packets/00022032 [08:00:41]OFD Sender: To server: pG, [08:00:41]CommunicateWithHost lk.salyk.kg:30040 [08:00:41]ConnectInit lk.salyk.kg [08:00:41]written 0, free lines is 4095 [08:00:41]Connected sock=10 [08:00: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 1B 01 00 00 35 1E 13 01 D2 4B 5A 03 01 00 03 00 07 01 1E 04 01 00 01 23 04 59 00 8A 04 08 00 34 38 37 34 32 30 37 38 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 69 6C 76 65 72 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 0C 00 00 00 F4 03 04 00 2F A7 6A 66 0E 04 04 00 44 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 10 56 00 00 35 04 06 00 EC 99 6A 93 C6 BD 6B D4 78 CC 70 1B 8C 8D [08:00: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 03 A6 47 00 CE 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 10 56 00 00 F4 03 04 00 F3 4F 6A 66 B6 04 01 00 00 FC 83 AE 37 91 3B 5F 13 [08:00:42]CommunicateWithHost err = 0 [08:00:42]CheckOFDResponse [08:00:42]1017 (14) - 77093643461234 [08:00:42]1041 (16) - 0000000000965344 [08:00:42]1040 (4) - 22032 [08:00:42]1012 (4) - 13.06.2024 01:48 [08:00:42]1206 (1) - 0 [08:00:42]OFD Sender: Remove packet 22032 [08:00:42]ProducePacketName [08:00:42]name=ofd_packets/00022032 [08:00:42]NVStorageDeleteData [08:00:42]Write to MH i2c: 01 00 00 3E 1F 5D [08:00:42]Write i2c OK [08:00:42]MH_I2C_Read... [08:00:42]Read from MH i2c: 01 [08:00:42]MH_I2C_Read... [08:00:42]Read from MH i2c: 01 07 00 [08:00:42]MH_I2C_Read... [08:00:42]Read from MH i2c: 01 07 00 3E 1F 00 00 00 00 00 1A 0D 8B [08:00:42]RasterBufferAndPrint [08:00:42]line [08:00:42]line [08:00:42]line [08:00:42]line [08:00:42]line [08:00:42]written 0, free lines is 3363 [08:00:42]MH_Cut [08:00:42]Write to MH i2c: D1 01 00 45 1F 01 36 [08:00:42]Write i2c OK [08:00:42]MH_I2C_Read... [08:00:42]Read from MH i2c: D1 [08:00:42]MH_I2C_Read... [08:00:42]Read from MH i2c: D1 01 00 [08:00:42]MH_I2C_Read... [08:00:42]Read from MH i2c: D1 01 00 45 1F 00 35 [08:00:42]Write to MH i2c: 01 00 00 46 1F 65 [08:00:42]Write i2c OK [08:00:42]MH_I2C_Read... [08:00:42]OFD Sender: No OFD packet to send [08:00:42]*** Cut start [08:00:42]*** Partial cut [08:00:42]*** CUTSNS_PIN = 1 [08:00:42]*** CUTSNS_PIN = 0 [08:00:43]*** Brake cut motor [08:00:43]Read from MH i2c: 01 [08:00:43]MH_I2C_Read... [08:00:43]*** Stop cut motor [08:00:43]*** Cut end [08:00:43]Read from MH i2c: 01 07 00 [08:00:43]MH_I2C_Read... [08:00:43]Read from MH i2c: 01 07 00 46 1F 00 00 00 00 00 FF 0F 7A [08:00:43]process_action close_receipt done [08:00:43]requested_data is exist [08:00:43]produce_requested_data [08:00:43]requested_item fm.sn is exist - process it [08:00:43]wFMCommunicate request_size=4 [08:00:43]MH_SAM_APDU [08:00:43]CAPDU: 80 11 00 00 [08:00:43]Write to MH i2c: E2 08 00 47 1F 80 11 00 00 00 00 00 00 E0 [08:00:43]Write i2c OK [08:00:43]MH_I2C_Read... [08:00:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:00:43]Read from MH i2c: E2 [08:00:43]MH_I2C_Read... [08:00:43]Read from MH i2c: E2 17 00 [08:00:43]MH_I2C_Read... [08:00:43]Read from MH i2c: E2 17 00 47 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 32 [08:00:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:00:43]wFMCommunicate OK [08:00:43]requested_item fd.num is exist - process it [08:00:43]SAM_PROTO_GetFieldsCounters [08:00:43]wFMCommunicate request_size=4 [08:00:43]MH_SAM_APDU [08:00:43]CAPDU: 80 13 00 00 [08:00:43]Write to MH i2c: E2 08 00 48 1F 80 13 00 00 00 00 00 00 E3 [08:00:43]Write i2c OK [08:00:43]MH_I2C_Read... [08:00:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:00:43]Read from MH i2c: E2 [08:00:43]MH_I2C_Read... [08:00:43]Read from MH i2c: E2 62 00 [08:00:43]MH_I2C_Read... [08:00:43]Read from MH i2c: E2 62 00 48 1F 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 10 56 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [08:00: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 10 56 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:00:43]wFMCommunicate OK [08:00:43]SAM_PROTO_GetFieldsCounters done [08:00:43]requested_item shift.num is exist - process it [08:00:43]requested_item shift.opened is exist - process it [08:00:43]req_shift_opened [08:00:43]FM_GetShiftState [08:00:43]SAM_PROTO_GetShiftState [08:00:43]wFMCommunicate request_size=4 [08:00:43]MH_SAM_APDU [08:00:43]CAPDU: 80 13 01 00 [08:00:43]Write to MH i2c: E2 08 00 49 1F 80 13 01 00 00 00 00 00 E5 [08:00:43]Write i2c OK [08:00:43]MH_I2C_Read... [08:00:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:00:43]Read from MH i2c: E2 [08:00:43]MH_I2C_Read... [08:00:43]Read from MH i2c: E2 0E 00 [08:00:43]MH_I2C_Read... [08:00:43]Read from MH i2c: E2 0E 00 49 1F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 03 [08:00:43]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [08:00:43]wFMCommunicate OK [08:00:43]SAM_PROTO_GetShiftState done [08:00:43]FM_GetShiftState done [08:00:43]req_shift_opened done [08:00:43]requested_item shift.open_date is exist - process it [08:00:43]req_shift_open_date [08:00:43]req_shift_open_date done [08:00:43]produce_requested_data done [08:00:43]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22032,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [08:00:43]process_action_free close_receipt [08:00:43]json_value_free [08:00:43]json_value_free done [08:00:43]process_json_proto returns [08:00:43]Send response to host [08:00:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22032,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [08:00:43]free response buf [08:00:43]execute_script done [08:00:43]execute_script returns [08:00:43]free content buf [08:00:43]Sock 8.Close socket [08:00:43]Sock 8.Thread stoped [08:00:47]OFD Sender: No OFD packet to send [08:00:52]OFD Sender: No OFD packet to send [08:00:57]OFD Sender: No OFD packet to send [08:01:02]OFD Sender: No OFD packet to send [08:01:07]OFD Sender: No OFD packet to send [08:01:12]OFD Sender: No OFD packet to send [08:01:17]OFD Sender: No OFD packet to send [08:01:22]OFD Sender: No OFD packet to send [08:01:27]OFD Sender: No OFD packet to send [08:01:32]OFD Sender: No OFD packet to send [08:01:37]OFD Sender: No OFD packet to send [08:01:42]OFD Sender: No OFD packet to send [08:01:47]OFD Sender: No OFD packet to send [08:01:52]OFD Sender: No OFD packet to send [08:01:57]OFD Sender: No OFD packet to send [08:02:02]OFD Sender: No OFD packet to send [08:02:07]OFD Sender: No OFD packet to send [08:02:12]OFD Sender: No OFD packet to send [08:02:17]OFD Sender: No OFD packet to send [08:02:22]OFD Sender: No OFD packet to send [08:02:27]OFD Sender: No OFD packet to send [08:02:32]OFD Sender: No OFD packet to send [08:02:37]OFD Sender: No OFD packet to send [08:02:42]OFD Sender: No OFD packet to send [08:02:47]OFD Sender: No OFD packet to send [08:02:52]OFD Sender: No OFD packet to send [08:02:57]OFD Sender: No OFD packet to send [08:03:02]OFD Sender: No OFD packet to send [08:03:07]OFD Sender: No OFD packet to send [08:03:12]OFD Sender: No OFD packet to send [08:03:17]OFD Sender: No OFD packet to send [08:03:22]OFD Sender: No OFD packet to send [08:03:27]OFD Sender: No OFD packet to send [08:03:32]OFD Sender: No OFD packet to send [08:03:37]OFD Sender: No OFD packet to send [08:03:42]OFD Sender: No OFD packet to send [08:03:47]OFD Sender: No OFD packet to send [08:03:52]OFD Sender: No OFD packet to send [08:03:57]OFD Sender: No OFD packet to send [08:04:02]OFD Sender: No OFD packet to send [08:04:07]OFD Sender: No OFD packet to send [08:04:12]OFD Sender: No OFD packet to send [08:04:17]OFD Sender: No OFD packet to send [08:04:22]OFD Sender: No OFD packet to send [08:04:27]OFD Sender: No OFD packet to send [08:04:32]OFD Sender: No OFD packet to send [08:04:37]OFD Sender: No OFD packet to send [08:04:42]OFD Sender: No OFD packet to send [08:04:47]OFD Sender: No OFD packet to send [08:04:52]OFD Sender: No OFD packet to send [08:04:57]OFD Sender: No OFD packet to send [08:05:02]OFD Sender: No OFD packet to send [08:05:07]OFD Sender: No OFD packet to send [08:05:12]OFD Sender: No OFD packet to send [08:05:17]OFD Sender: No OFD packet to send [08:05:22]OFD Sender: No OFD packet to send [08:05:27]OFD Sender: No OFD packet to send [08:05:31]accept exits with 9 [08:05:31]New connection [08:05:31]New thread 3067321700 created [08:05:31]Thread 3067178340 joined [08:05:31]Waiting for new connection... [08:05:31] Sock 9.Parse request [08:05:31]Sock 9.Check first char [08:05:31]Sock 9.First char is OK [08:05:31]request: POST /json_proto HTTP/1.0 [08:05:31]Method: POST [08:05:31]URL: /json_proto [08:05:31]Method is POST - this is cgi request [08:05:31]url: /json_proto [08:05:31]query_string will be loaded in cgi processing [08:05:31]execute_cgi json_proto POST (null) [08:05:31]execute_cgi path=json_proto method=POST [08:05:31]POST find Content-Length [08:05:31]Host: 172.17.35.133:8080 [08:05:31]Content-Length: 815 [08:05:31]Content-Type: application/json [08:05:31] [08:05:31]POST finish read [08:05:31]Found Content-Length = 815 [08:05:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254267", "tax_sys" : 0, "items" : [ { "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 }]} ], "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" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:05:31]execute_script... [08:05: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)254267", "tax_sys" : 0, "items" : [ { "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 }]} ], "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" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:05:31]POST & json_proto [08:05:31]process_json_proto [08:05:31]json parsed OK: [08:05:31]protocol is kg_v1.0 [08:05:31]action value=close_receipt [08:05:31]process_action close_receipt [08:05:31]cmd_close_receipt [08:05:31]MH_GetDate [08:05:31]Write to MH i2c: F0 00 00 4A 1F 58 [08:05:31]Write i2c OK [08:05:31]MH_I2C_Read... [08:05:31]Read from MH i2c: F0 [08:05:31]MH_I2C_Read... [08:05:31]Read from MH i2c: F0 09 00 [08:05:31]MH_I2C_Read... [08:05:31]Read from MH i2c: F0 09 00 4A 1F 00 53 A8 6A 66 8C 55 28 65 9A [08:05:31]GetLastDocTimeStamp 1718265647 [08:05:31]current date 1718265939 [08:05:31]FM_GetShiftState [08:05:31]SAM_PROTO_GetShiftState [08:05:31]wFMCommunicate request_size=4 [08:05:31]MH_SAM_APDU [08:05:31]CAPDU: 80 13 01 00 [08:05:31]Write to MH i2c: E2 08 00 4B 1F 80 13 01 00 00 00 00 00 E7 [08:05:31]Write i2c OK [08:05:31]MH_I2C_Read... [08:05:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:05:31]Read from MH i2c: E2 [08:05:31]MH_I2C_Read... [08:05:31]Read from MH i2c: E2 0E 00 [08:05:31]MH_I2C_Read... [08:05:31]Read from MH i2c: E2 0E 00 4B 1F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 05 [08:05:31]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [08:05:31]wFMCommunicate OK [08:05:31]SAM_PROTO_GetShiftState done [08:05:31]FM_GetShiftState done [08:05:31]opened in 1718237959 [08:05:31]opened+sec_in_day 1718324359 [08:05:31]quantity*price = 11000 [08:05:31]sum+1 = 11001 [08:05:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 13 13.06.2024 08:05 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22033 ФПД: 116412175478812 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T080539&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22033&fm=116412175478812&tin=02508201610067®Number=0000000000099755&sum=11000 0 [08:05:32]StoreToDocumentArchive [08:05:32]shift 324 fd 22033 [08:05:32]save to /storage/0324/doc_00022033 [08:05:32]save last doc name /storage/0324/doc_00022033 to /storage/kkm_last_doc_name [08:05:32]save OK [08:05:32]Clear old archive folders... [08:05:32]ProcessDocumentItem done err = 0, tmpTLVsize=266 [08:05:32]tlvbuf is B6F02A20 [08:05:32]SAM_PROTO_ClearQueue [08:05:32]wFMCommunicate request_size=4 [08:05:32]MH_SAM_APDU [08:05:32]CAPDU: 80 09 00 00 [08:05:32]Write to MH i2c: E2 08 00 58 1F 80 09 00 00 00 00 00 00 E9 [08:05:32]Write i2c OK [08:05:32]MH_I2C_Read... [08:05:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:05:32]Read from MH i2c: E2 [08:05:32]MH_I2C_Read... [08:05:32]Read from MH i2c: E2 03 00 [08:05:32]MH_I2C_Read... [08:05:32]Read from MH i2c: E2 03 00 58 1F 00 90 00 EB [08:05:32]RAPDU: 90 00 [08:05:32]wFMCommunicate OK [08:05:32]SAM_PROTO_ClearQueue done [08:05:32]KKMCreateOFDPacket [08:05:32]OFDProtocolAddRootSTLVToBuf [08:05:32]FM_MakeSignedData [08:05:32]FM_MakeSignedData [08:05:32]SAM_PROTO_SignData [08:05:32]wFMCommunicate request_size=4 [08:05:32]MH_SAM_APDU [08:05:32]CAPDU: 80 0D 01 02 [08:05:32]Write to MH i2c: E2 08 00 59 1F 80 0D 01 02 00 00 00 00 F1 [08:05:32]Write i2c OK [08:05:32]MH_I2C_Read... [08:05:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:05:32]Read from MH i2c: E2 [08:05:32]MH_I2C_Read... [08:05:32]Read from MH i2c: E2 03 00 [08:05:32]MH_I2C_Read... [08:05:32]Read from MH i2c: E2 03 00 59 1F 00 90 00 EC [08:05:32]RAPDU: 90 00 [08:05:32]wFMCommunicate OK [08:05:32]wFMCommunicate request_size=255 [08:05:32]MH_SAM_APDU [08:05:32]CAPDU: 80 0D 02 02 FA 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 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 53 A8 6A 66 0E 04 04 00 44 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:05:32]Write to MH i2c: E2 02 01 5A 1F 80 0D 02 02 FA 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 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 53 A8 6A 66 0E 04 04 00 44 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 8E [08:05:32]Write i2c OK [08:05:32]MH_I2C_Read... [08:05:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:05:33]Read from MH i2c: E2 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: E2 03 00 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: E2 03 00 5A 1F 00 90 00 ED [08:05:33]RAPDU: 90 00 [08:05:33]wFMCommunicate OK [08:05:33]wFMCommunicate request_size=25 [08:05:33]MH_SAM_APDU [08:05:33]CAPDU: 80 0D 02 02 14 34 34 10 04 04 00 11 56 00 00 35 04 06 00 69 E0 52 5D F0 1C [08:05:33]Write to MH i2c: E2 1C 00 5B 1F 80 0D 02 02 14 00 34 34 10 04 04 00 11 56 00 00 35 04 06 00 69 E0 52 5D F0 1C 00 00 46 [08:05:33]Write i2c OK [08:05:33]MH_I2C_Read... [08:05:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:05:33]Read from MH i2c: E2 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: E2 03 00 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: E2 03 00 5B 1F 00 90 00 EE [08:05:33]RAPDU: 90 00 [08:05:33]wFMCommunicate OK [08:05:33]wFMCommunicate request_size=4 [08:05:33]MH_SAM_APDU [08:05:33]CAPDU: 80 0D 03 02 [08:05:33]Write to MH i2c: E2 08 00 5C 1F 80 0D 03 02 00 00 00 00 F6 [08:05:33]Write i2c OK [08:05:33]MH_I2C_Read... [08:05:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:05:33]Read from MH i2c: E2 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: E2 0B 00 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: E2 0B 00 5C 1F 00 3A 6B 35 99 E4 67 FC 3A 90 00 EB [08:05:33]RAPDU: 3A 6B 35 99 E4 67 FC 3A 90 00 [08:05:33]wFMCommunicate OK [08:05:33]SAM_PROTO_SignData done [08:05:33]FM_MakeSignedData done [08:05:33]CreateOFDProtocolMessage [08:05:33]wFMCommunicate request_size=4 [08:05:33]MH_SAM_APDU [08:05:33]CAPDU: 80 11 00 00 [08:05:33]Write to MH i2c: E2 08 00 5D 1F 80 11 00 00 00 00 00 00 F6 [08:05:33]Write i2c OK [08:05:33]MH_I2C_Read... [08:05:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:05:33]Read from MH i2c: E2 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: E2 17 00 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: E2 17 00 5D 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 48 [08: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 [08:05:33]wFMCommunicate OK [08:05:33]CreateOFDProtocolMessage done [08:05:33]OFDSenderStorePacket 22033 [08:05:33]StoreOFDPacket docnum=22033 [08:05: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 1E 01 00 00 55 24 16 01 74 92 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 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 53 A8 6A 66 0E 04 04 00 44 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 11 56 00 00 35 04 06 00 69 E0 52 5D F0 1C 3A 6B 35 99 E4 67 FC 3A [08:05:33]CheckFolder [08:05:33]dirname=/storage/ofd_packets [08:05:33]CheckFolder done [08:05:33]ProducePacketName [08:05:33]name=ofd_packets/00022033 [08:05:33]NVStorageSaveData ofd_packets/00022033 [08:05:33]File name is /storage/ofd_packets/00022033 [08:05:33]Write 316 bytes [08:05:33]NVStorageSaveData done [08:05:33]OFDSenderStorePacket done [08:05:33]KKMCreateOFDPacket done [08:05:33]NVStorageSaveData kkm_last_timestamp [08:05:33]File name is /storage/kkm_last_timestamp [08:05:33]Write 4 bytes [08:05:33]NVStorageSaveData done [08:05:33]ExternCall_PrintAddStr [08:05:33]wPrintStart [08:05:33]Write to MH i2c: 01 00 00 5E 1F 7D [08:05:33]Write i2c OK [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: 01 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: 01 07 00 [08:05:33]MH_I2C_Read... [08:05:33]Read from MH i2c: 01 07 00 5E 1F 00 00 00 00 00 FF 0F 92 [08:05:33]RasterBufferAndPrint [08:05:33]line Счет N : (3)254267 [08:05:33]line ИНН: 02508201610067 [08:05:33]line Контрольно-Кассовый Чек [08:05:33]line ПРОДАЖА [08:05:33]line Товар: 4870001570071 [08:05:33]line Напиток Pepsi 1л [08:05:33]line 1.000 * 110.00 [08:05:33]line = 110.00 [08:05:33]line НДС 12% НСП 1% [08:05:33]line > о реализуемом товаре [08:05:33]line ИТОГО: 110.00 [08:05:33]line НСП 1% : 0.97 [08:05:33]line НДС 12% : 11.68 [08:05:33]line Наличными: 0.00 [08:05:33]line Безнал.: 110.00 [08:05:33]line Место: АЗС № 76 "Партнер Нефть" [08:05:33]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:05:33]line СНО: Общий режим [08:05:33]line Чек 13 13.06.2024 08:05 [08:05:33]line Смена: 324 ФФД: 1.0 [08:05:33]line ЗНМ: 0300000200 [08:05:33]line РНМ: 0000000000099755 [08:05:33]line Версия ККМ: 001 [08:05:33]line Платежная система: АКБ Кыргызстан [08:05:33]line ФМ: 0000000000965344 [08:05:33]line ФД: 22033 [08:05:33]line ФПД: 116412175478812 [08:05:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T080539&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22033&fm=116412175478812&tin=02508201610067®Number=0000000000099755&sum=11000 [08:05:33]line 0 [08:05:33]OFD Sender: Processing packet 22033 [packets to send 5, broken 4] [08:05:33]ProducePacketName [08:05:33]name=ofd_packets/00022033 [08:05:33]OFD Sender: To server: pG, [08:05:33]CommunicateWithHost lk.salyk.kg:30040 [08:05:33]ConnectInit lk.salyk.kg [08:05:33]written 0, free lines is 4095 [08:05:33]Connected sock=10 [08:05: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 1E 01 00 00 55 24 16 01 74 92 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 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 53 A8 6A 66 0E 04 04 00 44 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 11 56 00 00 35 04 06 00 69 E0 52 5D F0 1C 3A 6B 35 99 E4 67 FC 3A [08:05: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 23 9E 47 00 7C 4D 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 11 56 00 00 F4 03 04 00 17 51 6A 66 B6 04 01 00 00 06 50 24 92 C6 3F 1B BF [08:05:34]CommunicateWithHost err = 0 [08:05:34]CheckOFDResponse [08:05:34]1017 (14) - 77093643461234 [08:05:34]1041 (16) - 0000000000965344 [08:05:34]1040 (4) - 22033 [08:05:34]1012 (4) - 13.06.2024 01:53 [08:05:34]1206 (1) - 0 [08:05:34]OFD Sender: Remove packet 22033 [08:05:34]ProducePacketName [08:05:34]name=ofd_packets/00022033 [08:05:34]NVStorageDeleteData [08:05:34]Write to MH i2c: 01 00 00 88 1F A7 [08:05:34]Write i2c OK [08:05:34]MH_I2C_Read... [08:05:34]Read from MH i2c: 01 [08:05:34]MH_I2C_Read... [08:05:34]Read from MH i2c: 01 07 00 [08:05:34]MH_I2C_Read... [08:05:34]Read from MH i2c: 01 07 00 88 1F 00 00 00 00 00 F6 0C B0 [08:05:34]RasterBufferAndPrint [08:05:34]line [08:05:34]line [08:05:34]line [08:05:34]line [08:05:34]line [08:05:34]written 0, free lines is 3324 [08:05:34]MH_Cut [08:05:34]Write to MH i2c: D1 01 00 8F 1F 01 80 [08:05:34]Write i2c OK [08:05:34]MH_I2C_Read... [08:05:34]Read from MH i2c: D1 [08:05:34]MH_I2C_Read... [08:05:34]Read from MH i2c: D1 01 00 [08:05:34]MH_I2C_Read... [08:05:34]Read from MH i2c: D1 01 00 8F 1F 00 7F [08:05:34]Write to MH i2c: 01 00 00 90 1F AF [08:05:34]Write i2c OK [08:05:34]MH_I2C_Read... [08:05:34]OFD Sender: No OFD packet to send [08:05:34]*** Cut start [08:05:34]*** Partial cut [08:05:34]*** CUTSNS_PIN = 1 [08:05:34]*** CUTSNS_PIN = 0 [08:05:35]*** Brake cut motor [08:05:35]Read from MH i2c: 01 [08:05:35]MH_I2C_Read... [08:05:35]*** Stop cut motor [08:05:35]*** Cut end [08:05:35]Read from MH i2c: 01 07 00 [08:05:35]MH_I2C_Read... [08:05:35]Read from MH i2c: 01 07 00 90 1F 00 00 00 00 00 FF 0F C4 [08:05:35]process_action close_receipt done [08:05:35]requested_data is exist [08:05:35]produce_requested_data [08:05:35]requested_item fm.sn is exist - process it [08:05:35]wFMCommunicate request_size=4 [08:05:35]MH_SAM_APDU [08:05:35]CAPDU: 80 11 00 00 [08:05:35]Write to MH i2c: E2 08 00 91 1F 80 11 00 00 00 00 00 00 2A [08:05:35]Write i2c OK [08:05:35]MH_I2C_Read... [08:05:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:05:35]Read from MH i2c: E2 [08:05:35]MH_I2C_Read... [08:05:35]Read from MH i2c: E2 17 00 [08:05:35]MH_I2C_Read... [08:05:35]Read from MH i2c: E2 17 00 91 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7C [08: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 [08:05:35]wFMCommunicate OK [08:05:35]requested_item fd.num is exist - process it [08:05:35]SAM_PROTO_GetFieldsCounters [08:05:35]wFMCommunicate request_size=4 [08:05:35]MH_SAM_APDU [08:05:35]CAPDU: 80 13 00 00 [08:05:35]Write to MH i2c: E2 08 00 92 1F 80 13 00 00 00 00 00 00 2D [08:05:35]Write i2c OK [08:05:35]MH_I2C_Read... [08:05:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:05:35]Read from MH i2c: E2 [08:05:35]MH_I2C_Read... [08:05:35]Read from MH i2c: E2 62 00 [08:05:35]MH_I2C_Read... [08:05:35]Read from MH i2c: E2 62 00 92 1F 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 11 56 00 00 0E 04 04 00 44 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 2A [08:05: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 11 56 00 00 0E 04 04 00 44 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 [08:05:35]wFMCommunicate OK [08:05:35]SAM_PROTO_GetFieldsCounters done [08:05:35]requested_item shift.num is exist - process it [08:05:35]requested_item shift.opened is exist - process it [08:05:35]req_shift_opened [08:05:35]FM_GetShiftState [08:05:35]SAM_PROTO_GetShiftState [08:05:35]wFMCommunicate request_size=4 [08:05:35]MH_SAM_APDU [08:05:35]CAPDU: 80 13 01 00 [08:05:35]Write to MH i2c: E2 08 00 93 1F 80 13 01 00 00 00 00 00 2F [08:05:35]Write i2c OK [08:05:35]MH_I2C_Read... [08:05:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:05:35]Read from MH i2c: E2 [08:05:35]MH_I2C_Read... [08:05:35]Read from MH i2c: E2 0E 00 [08:05:35]MH_I2C_Read... [08:05:35]Read from MH i2c: E2 0E 00 93 1F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 4D [08:05:35]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [08:05:35]wFMCommunicate OK [08:05:35]SAM_PROTO_GetShiftState done [08:05:35]FM_GetShiftState done [08:05:35]req_shift_opened done [08:05:35]requested_item shift.open_date is exist - process it [08:05:35]req_shift_open_date [08:05:35]req_shift_open_date done [08:05:35]produce_requested_data done [08:05:35]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22033,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [08:05:35]process_action_free close_receipt [08:05:35]json_value_free [08:05:35]json_value_free done [08:05:35]process_json_proto returns [08:05:35]Send response to host [08:05:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22033,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [08:05:35]free response buf [08:05:35]execute_script done [08:05:35]execute_script returns [08:05:35]free content buf [08:05:35]Sock 9.Close socket [08:05:35]Sock 9.Thread stoped [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:24]OFD Sender: No OFD packet to send [08:08:29]OFD Sender: No OFD packet to send [08:08:34]OFD Sender: No OFD packet to send [08:08:39]OFD Sender: No OFD packet to send [08:08:44]OFD Sender: No OFD packet to send [08:08:49]OFD Sender: No OFD packet to send [08:08:54]OFD Sender: No OFD packet to send [08:08:59]OFD Sender: No OFD packet to send [08:09:04]OFD Sender: No OFD packet to send [08:09:09]OFD Sender: No OFD packet to send [08:09:14]OFD Sender: No OFD packet to send [08:09:19]OFD Sender: No OFD packet to send [08:09:24]OFD Sender: No OFD packet to send [08:09:29]OFD Sender: No OFD packet to send [08:09:34]OFD Sender: No OFD packet to send [08:09:39]OFD Sender: No OFD packet to send [08:09:44]OFD Sender: No OFD packet to send [08:09:49]OFD Sender: No OFD packet to send [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:09]OFD Sender: No OFD packet to send [08:10:14]OFD Sender: No OFD packet to send [08:10:19]OFD Sender: No OFD packet to send [08:10:24]OFD Sender: No OFD packet to send [08:10:29]OFD Sender: No OFD packet to send [08:10:34]OFD Sender: No OFD packet to send [08:10:39]OFD Sender: No OFD packet to send [08:10:44]OFD Sender: No OFD packet to send [08:10:49]OFD Sender: No OFD packet to send [08:10:54]OFD Sender: No OFD packet to send [08:10:59]OFD Sender: No OFD packet to send [08:11:04]OFD Sender: No OFD packet to send [08:11:09]OFD Sender: No OFD packet to send [08:11:14]OFD Sender: No OFD packet to send [08:11:19]OFD Sender: No OFD packet to send [08:11:24]OFD Sender: No OFD packet to send [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:19]OFD Sender: No OFD packet to send [08:12:24]OFD Sender: No OFD packet to send [08:12:29]OFD Sender: No OFD packet to send [08:12:34]OFD Sender: No OFD packet to send [08:12:39]OFD Sender: No OFD packet to send [08:12:44]OFD Sender: No OFD packet to send [08:12:49]OFD Sender: No OFD packet to send [08:12:54]OFD Sender: No OFD packet to send [08:12:59]OFD Sender: No OFD packet to send [08:13:04]OFD Sender: No OFD packet to send [08:13:09]OFD Sender: No OFD packet to send [08:13:14]OFD Sender: No OFD packet to send [08:13:19]OFD Sender: No OFD packet to send [08:13:24]OFD Sender: No OFD packet to send [08:13:29]OFD Sender: No OFD packet to send [08:13:34]OFD Sender: No OFD packet to send [08:13:39]OFD Sender: No OFD packet to send [08:13:44]OFD Sender: No OFD packet to send [08:13:49]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:13:59]OFD Sender: No OFD packet to send [08:14:04]OFD Sender: No OFD packet to send [08:14:09]OFD Sender: No OFD packet to send [08:14:14]OFD Sender: No OFD packet to send [08:14:19]OFD Sender: No OFD packet to send [08:14:24]OFD Sender: No OFD packet to send [08:14:29]OFD Sender: No OFD packet to send [08:14:34]OFD Sender: No OFD packet to send [08:14:39]OFD Sender: No OFD packet to send [08:14:44]OFD Sender: No OFD packet to send [08:14:49]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:40]OFD Sender: No OFD packet to send [08:15:45]OFD Sender: No OFD packet to send [08:15:50]OFD Sender: No OFD packet to send [08:15:55]OFD Sender: No OFD packet to send [08:16:00]OFD Sender: No OFD packet to send [08:16:05]OFD Sender: No OFD packet to send [08:16:10]OFD Sender: No OFD packet to send [08:16:15]OFD Sender: No OFD packet to send [08:16:20]OFD Sender: No OFD packet to send [08:16:25]OFD Sender: No OFD packet to send [08:16:30]OFD Sender: No OFD packet to send [08:16:35]OFD Sender: No OFD packet to send [08:16:40]OFD Sender: No OFD packet to send [08:16:45]OFD Sender: No OFD packet to send [08:16:50]OFD Sender: No OFD packet to send [08:16:55]OFD Sender: No OFD packet to send [08:17:00]OFD Sender: No OFD packet to send [08:17:05]OFD Sender: No OFD packet to send [08:17:10]OFD Sender: No OFD packet to send [08:17:15]OFD Sender: No OFD packet to send [08:17:20]OFD Sender: No OFD packet to send [08:17:25]OFD Sender: No OFD packet to send [08:17:30]OFD Sender: No OFD packet to send [08:17:35]OFD Sender: No OFD packet to send [08:17:40]OFD Sender: No OFD packet to send [08:17:45]OFD Sender: No OFD packet to send [08:17:50]OFD Sender: No OFD packet to send [08:17:55]OFD Sender: No OFD packet to send [08:18:00]OFD Sender: No OFD packet to send [08:18:05]OFD Sender: No OFD packet to send [08:18:10]OFD Sender: No OFD packet to send [08:18:15]OFD Sender: No OFD packet to send [08:18:20]OFD Sender: No OFD packet to send [08:18:25]OFD Sender: No OFD packet to send [08:18:30]OFD Sender: No OFD packet to send [08:18:35]OFD Sender: No OFD packet to send [08:18:40]OFD Sender: No OFD packet to send [08:18:45]OFD Sender: No OFD packet to send [08:18:50]OFD Sender: No OFD packet to send [08:18:55]OFD Sender: No OFD packet to send [08:19:00]OFD Sender: No OFD packet to send [08:19:05]OFD Sender: No OFD packet to send [08:19:10]OFD Sender: No OFD packet to send [08:19:15]OFD Sender: No OFD packet to send [08:19:20]OFD Sender: No OFD packet to send [08:19:25]OFD Sender: No OFD packet to send [08:19:30]OFD Sender: No OFD packet to send [08:19:35]OFD Sender: No OFD packet to send [08:19:40]OFD Sender: No OFD packet to send [08:19:45]OFD Sender: No OFD packet to send [08:19:50]OFD Sender: No OFD packet to send [08:19:55]OFD Sender: No OFD packet to send [08:20:00]OFD Sender: No OFD packet to send [08:20:05]OFD Sender: No OFD packet to send [08:20:10]OFD Sender: No OFD packet to send [08:20:15]OFD Sender: No OFD packet to send [08:20:20]OFD Sender: No OFD packet to send [08:20:25]OFD Sender: No OFD packet to send [08:20:30]OFD Sender: No OFD packet to send [08:20:35]OFD Sender: No OFD packet to send [08:20:40]OFD Sender: No OFD packet to send [08:20:45]OFD Sender: No OFD packet to send [08:20:50]OFD Sender: No OFD packet to send [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:55]OFD Sender: No OFD packet to send [08:23:00]OFD Sender: No OFD packet to send [08:23:05]OFD Sender: No OFD packet to send [08:23:10]OFD Sender: No OFD packet to send [08:23:15]OFD Sender: No OFD packet to send [08:23:20]OFD Sender: No OFD packet to send [08:23:25]OFD Sender: No OFD packet to send [08:23:30]OFD Sender: No OFD packet to send [08:23:35]OFD Sender: No OFD packet to send [08:23:40]OFD Sender: No OFD packet to send [08:23:45]OFD Sender: No OFD packet to send [08:23:50]OFD Sender: No OFD packet to send [08:23:55]OFD Sender: No OFD packet to send [08:24:00]OFD Sender: No OFD packet to send [08:24:05]OFD Sender: No OFD packet to send [08:24:10]OFD Sender: No OFD packet to send [08:24:15]OFD Sender: No OFD packet to send [08:24:20]OFD Sender: No OFD packet to send [08:24:25]OFD Sender: No OFD packet to send [08:24:30]OFD Sender: No OFD packet to send [08:24:35]OFD Sender: No OFD packet to send [08:24:40]OFD Sender: No OFD packet to send [08:24:45]OFD Sender: No OFD packet to send [08:24:50]OFD Sender: No OFD packet to send [08:24:55]OFD Sender: No OFD packet to send [08:24:57]accept exits with 8 [08:24:57]New connection [08:24:57]New thread 3067178340 created [08:24:57]Thread 3067321700 joined [08:24:57]Waiting for new connection... [08:24:57] Sock 8.Parse request [08:24:57]Sock 8.Check first char [08:24:57]Sock 8.First char is OK [08:24:57]request: POST /json_proto HTTP/1.0 [08:24:57]Method: POST [08:24:57]URL: /json_proto [08:24:57]Method is POST - this is cgi request [08:24:57]url: /json_proto [08:24:57]query_string will be loaded in cgi processing [08:24:57]execute_cgi json_proto POST (null) [08:24:57]execute_cgi path=json_proto method=POST [08:24:57]POST find Content-Length [08:24:57]Host: 172.17.35.133:8080 [08:24:57]Content-Length: 654 [08:24:57]Content-Type: application/json [08:24:57] [08:24:57]POST finish read [08:24:57]Found Content-Length = 654 [08:24:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254268", "tax_sys" : 0, "items" : [ { "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" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:57]execute_script... [08:24:57]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)254268", "tax_sys" : 0, "items" : [ { "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" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:57]POST & json_proto [08:24:57]process_json_proto [08:24:57]json parsed OK: [08:24:57]protocol is kg_v1.0 [08:24:57]action value=close_receipt [08:24:57]process_action close_receipt [08:24:57]cmd_close_receipt [08:24:57]MH_GetDate [08:24:57]Write to MH i2c: F0 00 00 94 1F A2 [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: F0 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: F0 09 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: F0 09 00 94 1F 00 E1 AC 6A 66 8C 55 28 65 76 [08:24:57]GetLastDocTimeStamp 1718265939 [08:24:57]current date 1718267105 [08:24:57]FM_GetShiftState [08:24:57]SAM_PROTO_GetShiftState [08:24:57]wFMCommunicate request_size=4 [08:24:57]MH_SAM_APDU [08:24:57]CAPDU: 80 13 01 00 [08:24:57]Write to MH i2c: E2 08 00 95 1F 80 13 01 00 00 00 00 00 31 [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 0E 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 0E 00 95 1F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 4F [08:24:57]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [08:24:57]wFMCommunicate OK [08:24:57]SAM_PROTO_GetShiftState done [08:24:57]FM_GetShiftState done [08:24:57]opened in 1718237959 [08:24:57]opened+sec_in_day 1718324359 [08:24:57]quantity*price = 15000 [08:24:57]sum+1 = 15001 [08:24:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 14 13.06.2024 08:25 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22034 ФПД: 146344805774416 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T082505&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22034&fm=146344805774416&tin=02508201610067®Number=0000000000099755&sum=15000 0 [08:24:58]StoreToDocumentArchive [08:24:58]shift 324 fd 22034 [08:24:58]save to /storage/0324/doc_00022034 [08:24:58]save last doc name /storage/0324/doc_00022034 to /storage/kkm_last_doc_name [08:24:58]save OK [08:24:58]Clear old archive folders... [08:24:58]ProcessDocumentItem done err = 0, tmpTLVsize=275 [08:24:58]tlvbuf is 002581E0 [08:24:58]SAM_PROTO_ClearQueue [08:24:58]wFMCommunicate request_size=4 [08:24:58]MH_SAM_APDU [08:24:58]CAPDU: 80 09 00 00 [08:24:58]Write to MH i2c: E2 08 00 A2 1F 80 09 00 00 00 00 00 00 33 [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:24:58]Read from MH i2c: E2 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 03 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 03 00 A2 1F 00 90 00 35 [08:24:58]RAPDU: 90 00 [08:24:58]wFMCommunicate OK [08:24:58]SAM_PROTO_ClearQueue done [08:24:58]KKMCreateOFDPacket [08:24:58]OFDProtocolAddRootSTLVToBuf [08:24:58]FM_MakeSignedData [08:24:58]FM_MakeSignedData [08:24:58]SAM_PROTO_SignData [08:24:58]wFMCommunicate request_size=4 [08:24:58]MH_SAM_APDU [08:24:58]CAPDU: 80 0D 01 02 [08:24:58]Write to MH i2c: E2 08 00 A3 1F 80 0D 01 02 00 00 00 00 3B [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:24:58]Read from MH i2c: E2 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 03 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 03 00 A3 1F 00 90 00 36 [08:24:58]RAPDU: 90 00 [08:24:58]wFMCommunicate OK [08:24:58]wFMCommunicate request_size=255 [08:24:58]MH_SAM_APDU [08:24:58]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 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 E1 AC 6A 66 0E 04 04 00 44 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 [08:24:58]Write to MH i2c: E2 02 01 A4 1F 80 0D 02 02 FA 00 03 00 13 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 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 E1 AC 6A 66 0E 04 04 00 44 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 00 00 6E [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:59]Read from MH i2c: E2 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: E2 03 00 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: E2 03 00 A4 1F 00 90 00 37 [08:24:59]RAPDU: 90 00 [08:24:59]wFMCommunicate OK [08:24:59]wFMCommunicate request_size=34 [08:24:59]MH_SAM_APDU [08:24:59]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 12 56 00 00 35 04 06 00 85 19 8E 29 B4 50 [08:24:59]Write to MH i2c: E2 25 00 A5 1F 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 12 56 00 00 35 04 06 00 85 19 8E 29 B4 50 00 00 BF [08:24:59]Write i2c OK [08:24:59]MH_I2C_Read... [08:24:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:59]Read from MH i2c: E2 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: E2 03 00 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: E2 03 00 A5 1F 00 90 00 38 [08:24:59]RAPDU: 90 00 [08:24:59]wFMCommunicate OK [08:24:59]wFMCommunicate request_size=4 [08:24:59]MH_SAM_APDU [08:24:59]CAPDU: 80 0D 03 02 [08:24:59]Write to MH i2c: E2 08 00 A6 1F 80 0D 03 02 00 00 00 00 40 [08:24:59]Write i2c OK [08:24:59]MH_I2C_Read... [08:24:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:24:59]Read from MH i2c: E2 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: E2 0B 00 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: E2 0B 00 A6 1F 00 B8 C9 D3 98 87 F7 87 BA 90 00 EC [08:24:59]RAPDU: B8 C9 D3 98 87 F7 87 BA 90 00 [08:24:59]wFMCommunicate OK [08:24:59]SAM_PROTO_SignData done [08:24:59]FM_MakeSignedData done [08:24:59]CreateOFDProtocolMessage [08:24:59]wFMCommunicate request_size=4 [08:24:59]MH_SAM_APDU [08:24:59]CAPDU: 80 11 00 00 [08:24:59]Write to MH i2c: E2 08 00 A7 1F 80 11 00 00 00 00 00 00 40 [08:24:59]Write i2c OK [08:24:59]MH_I2C_Read... [08:24:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:59]Read from MH i2c: E2 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: E2 17 00 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: E2 17 00 A7 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 92 [08:24:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:24:59]wFMCommunicate OK [08:24:59]CreateOFDProtocolMessage done [08:24:59]OFDSenderStorePacket 22034 [08:24:59]StoreOFDPacket docnum=22034 [08:24: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 27 01 00 00 3F 7D 1F 01 12 21 5A 03 01 00 03 00 13 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 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 E1 AC 6A 66 0E 04 04 00 44 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 12 56 00 00 35 04 06 00 85 19 8E 29 B4 50 B8 C9 D3 98 87 F7 87 BA [08:24:59]CheckFolder [08:24:59]dirname=/storage/ofd_packets [08:24:59]CheckFolder done [08:24:59]ProducePacketName [08:24:59]name=ofd_packets/00022034 [08:24:59]NVStorageSaveData ofd_packets/00022034 [08:24:59]File name is /storage/ofd_packets/00022034 [08:24:59]Write 325 bytes [08:24:59]NVStorageSaveData done [08:24:59]OFDSenderStorePacket done [08:24:59]KKMCreateOFDPacket done [08:24:59]NVStorageSaveData kkm_last_timestamp [08:24:59]File name is /storage/kkm_last_timestamp [08:24:59]Write 4 bytes [08:24:59]NVStorageSaveData done [08:24:59]ExternCall_PrintAddStr [08:24:59]wPrintStart [08:24:59]Write to MH i2c: 01 00 00 A8 1F C7 [08:24:59]Write i2c OK [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: 01 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: 01 07 00 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: 01 07 00 A8 1F 00 00 00 00 00 FF 0F DC [08:24:59]RasterBufferAndPrint [08:24:59]line Счет N : (3)254268 [08:24:59]line ИНН: 02508201610067 [08:24:59]line Контрольно-Кассовый Чек [08:24:59]line ПРОДАЖА [08:24:59]line Товар: 54491472 [08:24:59]line Напиток Кока-Кола 0,5л [08:24:59]line 2.000 * 75.00 [08:24:59]line = 150.00 [08:24:59]line НДС 12% НСП 1% [08:24:59]line > о реализуемом товаре [08:24:59]line ИТОГО: 150.00 [08:24:59]line НСП 1% : 1.33 [08:24:59]line НДС 12% : 15.93 [08:24:59]line Наличными: 150.00 [08:24:59]line Безнал.: 0.00 [08:24:59]line Место: АЗС № 76 "Партнер Нефть" [08:24:59]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:24:59]line СНО: Общий режим [08:24:59]line Чек 14 13.06.2024 08:25 [08:24:59]line Смена: 324 ФФД: 1.0 [08:24:59]line ЗНМ: 0300000200 [08:24:59]line РНМ: 0000000000099755 [08:24:59]line Версия ККМ: 001 [08:24:59]line ФМ: 0000000000965344 [08:24:59]line ФД: 22034 [08:24:59]line ФПД: 146344805774416 [08:24:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T082505&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22034&fm=146344805774416&tin=02508201610067®Number=0000000000099755&sum=15000 [08:24:59]line 0 [08:24:59]OFD Sender: Processing packet 22034 [packets to send 5, broken 4] [08:24:59]ProducePacketName [08:24:59]name=ofd_packets/00022034 [08:24:59]OFD Sender: To server: pG, [08:24:59]CommunicateWithHost lk.salyk.kg:30040 [08:24:59]ConnectInit lk.salyk.kg [08:24:59]written 0, free lines is 4095 [08:24:59]Connected sock=10 [08:24:59]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 3F 7D 1F 01 12 21 5A 03 01 00 03 00 13 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 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 E1 AC 6A 66 0E 04 04 00 44 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 12 56 00 00 35 04 06 00 85 19 8E 29 B4 50 B8 C9 D3 98 87 F7 87 BA [08:24:59]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 4E 41 47 00 6B 77 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 12 56 00 00 F4 03 04 00 A5 55 6A 66 B6 04 01 00 00 5C 7A 8C C0 23 55 9F CC [08:24:59]CommunicateWithHost err = 0 [08:24:59]CheckOFDResponse [08:24:59]1017 (14) - 77093643461234 [08:24:59]1041 (16) - 0000000000965344 [08:24:59]1040 (4) - 22034 [08:24:59]1012 (4) - 13.06.2024 02:12 [08:24:59]1206 (1) - 0 [08:24:59]OFD Sender: Remove packet 22034 [08:24:59]ProducePacketName [08:24:59]name=ofd_packets/00022034 [08:24:59]NVStorageDeleteData [08:25:00]Write to MH i2c: 01 00 00 D0 1F EF [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: 01 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: 01 07 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: 01 07 00 D0 1F 00 00 00 00 00 0C 0D 0F [08:25:00]RasterBufferAndPrint [08:25:00]line [08:25:00]line [08:25:00]line [08:25:00]line [08:25:00]line [08:25:00]written 0, free lines is 3349 [08:25:00]MH_Cut [08:25:00]Write to MH i2c: D1 01 00 D7 1F 01 C8 [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: D1 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: D1 01 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: D1 01 00 D7 1F 00 C7 [08:25:00]Write to MH i2c: 01 00 00 D8 1F F7 [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]OFD Sender: No OFD packet to send [08:25:00]*** Cut start [08:25:00]*** Partial cut [08:25:00]*** CUTSNS_PIN = 1 [08:25:00]*** CUTSNS_PIN = 0 [08:25:01]*** Brake cut motor [08:25:01]Read from MH i2c: 01 [08:25:01]MH_I2C_Read... [08:25:01]*** Stop cut motor [08:25:01]*** Cut end [08:25:01]Read from MH i2c: 01 07 00 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: 01 07 00 D8 1F 00 00 00 00 00 FF 0F 0C [08:25:01]process_action close_receipt done [08:25:01]requested_data is exist [08:25:01]produce_requested_data [08:25:01]requested_item fm.sn is exist - process it [08:25:01]wFMCommunicate request_size=4 [08:25:01]MH_SAM_APDU [08:25:01]CAPDU: 80 11 00 00 [08:25:01]Write to MH i2c: E2 08 00 D9 1F 80 11 00 00 00 00 00 00 72 [08:25:01]Write i2c OK [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: E2 [08:25:01]MH_I2C_Read... [08:25:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:01]Read from MH i2c: E2 17 00 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: E2 17 00 D9 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C4 [08:25:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:25:01]wFMCommunicate OK [08:25:01]requested_item fd.num is exist - process it [08:25:01]SAM_PROTO_GetFieldsCounters [08:25:01]wFMCommunicate request_size=4 [08:25:01]MH_SAM_APDU [08:25:01]CAPDU: 80 13 00 00 [08:25:01]Write to MH i2c: E2 08 00 DA 1F 80 13 00 00 00 00 00 00 75 [08:25:01]Write i2c OK [08:25:01]MH_I2C_Read... [08:25:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:01]Read from MH i2c: E2 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: E2 62 00 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: E2 62 00 DA 1F 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 12 56 00 00 0E 04 04 00 44 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 76 [08:25:01]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 12 56 00 00 0E 04 04 00 44 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 [08:25:01]wFMCommunicate OK [08:25:01]SAM_PROTO_GetFieldsCounters done [08:25:01]requested_item shift.num is exist - process it [08:25:01]requested_item shift.opened is exist - process it [08:25:01]req_shift_opened [08:25:01]FM_GetShiftState [08:25:01]SAM_PROTO_GetShiftState [08:25:01]wFMCommunicate request_size=4 [08:25:01]MH_SAM_APDU [08:25:01]CAPDU: 80 13 01 00 [08:25:01]Write to MH i2c: E2 08 00 DB 1F 80 13 01 00 00 00 00 00 77 [08:25:01]Write i2c OK [08:25:01]MH_I2C_Read... [08:25:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:01]Read from MH i2c: E2 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: E2 0E 00 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: E2 0E 00 DB 1F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 95 [08:25:01]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [08:25:01]wFMCommunicate OK [08:25:01]SAM_PROTO_GetShiftState done [08:25:01]FM_GetShiftState done [08:25:01]req_shift_opened done [08:25:01]requested_item shift.open_date is exist - process it [08:25:01]req_shift_open_date [08:25:01]req_shift_open_date done [08:25:01]produce_requested_data done [08:25:01]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22034,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [08:25:01]process_action_free close_receipt [08:25:01]json_value_free [08:25:01]json_value_free done [08:25:01]process_json_proto returns [08:25:01]Send response to host [08:25:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22034,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [08:25:01]free response buf [08:25:01]execute_script done [08:25:01]execute_script returns [08:25:01]free content buf [08:25:01]Sock 8.Close socket [08:25:01]Sock 8.Thread stoped [08:25:05]OFD Sender: No OFD packet to send [08:25:10]OFD Sender: No OFD packet to send [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:35]OFD Sender: No OFD packet to send [08:25:40]OFD Sender: No OFD packet to send [08:25:45]OFD Sender: No OFD packet to send [08:25:50]OFD Sender: No OFD packet to send [08:25:55]OFD Sender: No OFD packet to send [08:26:00]OFD Sender: No OFD packet to send [08:26:05]OFD Sender: No OFD packet to send [08:26:10]OFD Sender: No OFD packet to send [08:26:15]OFD Sender: No OFD packet to send [08:26:20]OFD Sender: No OFD packet to send [08:26:25]OFD Sender: No OFD packet to send [08:26:30]OFD Sender: No OFD packet to send [08:26:35]OFD Sender: No OFD packet to send [08:26:40]OFD Sender: No OFD packet to send [08:26:45]OFD Sender: No OFD packet to send [08:26:50]OFD Sender: No OFD packet to send [08:26:55]OFD Sender: No OFD packet to send [08:27:00]OFD Sender: No OFD packet to send [08:27:05]OFD Sender: No OFD packet to send [08:27:10]OFD Sender: No OFD packet to send [08:27:15]OFD Sender: No OFD packet to send [08:27:20]OFD Sender: No OFD packet to send [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:20]OFD Sender: No OFD packet to send [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:40]OFD Sender: No OFD packet to send [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:55]OFD Sender: No OFD packet to send [08:33:00]OFD Sender: No OFD packet to send [08:33:05]OFD Sender: No OFD packet to send [08:33:10]OFD Sender: No OFD packet to send [08:33:15]OFD Sender: No OFD packet to send [08:33:20]OFD Sender: No OFD packet to send [08:33:25]OFD Sender: No OFD packet to send [08:33:30]OFD Sender: No OFD packet to send [08:33:35]OFD Sender: No OFD packet to send [08:33:40]OFD Sender: No OFD packet to send [08:33:45]OFD Sender: No OFD packet to send [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:16]OFD Sender: No OFD packet to send [08:36:21]OFD Sender: No OFD packet to send [08:36:26]OFD Sender: No OFD packet to send [08:36:31]OFD Sender: No OFD packet to send [08:36:36]OFD Sender: No OFD packet to send [08:36:41]OFD Sender: No OFD packet to send [08:36:46]OFD Sender: No OFD packet to send [08:36:51]OFD Sender: No OFD packet to send [08:36:56]OFD Sender: No OFD packet to send [08:37:01]OFD Sender: No OFD packet to send [08:37:06]OFD Sender: No OFD packet to send [08:37:11]OFD Sender: No OFD packet to send [08:37:16]OFD Sender: No OFD packet to send [08:37:21]OFD Sender: No OFD packet to send [08:37:26]OFD Sender: No OFD packet to send [08:37:31]OFD Sender: No OFD packet to send [08:37:36]OFD Sender: No OFD packet to send [08:37:41]OFD Sender: No OFD packet to send [08:37:46]OFD Sender: No OFD packet to send [08:37:51]OFD Sender: No OFD packet to send [08:37:56]OFD Sender: No OFD packet to send [08:38:01]OFD Sender: No OFD packet to send [08:38:06]OFD Sender: No OFD packet to send [08:38:11]OFD Sender: No OFD packet to send [08:38:16]OFD Sender: No OFD packet to send [08:38:21]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:21]OFD Sender: No OFD packet to send [08:39:26]OFD Sender: No OFD packet to send [08:39:31]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:11]OFD Sender: No OFD packet to send [08:40:16]OFD Sender: No OFD packet to send [08:40:21]OFD Sender: No OFD packet to send [08:40:26]OFD Sender: No OFD packet to send [08:40:31]OFD Sender: No OFD packet to send [08:40:36]OFD Sender: No OFD packet to send [08:40:41]OFD Sender: No OFD packet to send [08:40:46]OFD Sender: No OFD packet to send [08:40:51]OFD Sender: No OFD packet to send [08:40:56]OFD Sender: No OFD packet to send [08:41:01]OFD Sender: No OFD packet to send [08:41:06]OFD Sender: No OFD packet to send [08:41:11]OFD Sender: No OFD packet to send [08:41:16]OFD Sender: No OFD packet to send [08:41:21]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:31]OFD Sender: No OFD packet to send [08:41:36]OFD Sender: No OFD packet to send [08:41:41]OFD Sender: No OFD packet to send [08:41:46]OFD Sender: No OFD packet to send [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:34]accept exits with 9 [08:45:34]New connection [08:45:34]New thread 3067321700 created [08:45:34]Thread 3067178340 joined [08:45:34]Waiting for new connection... [08:45:34] Sock 9.Parse request [08:45:34]Sock 9.Check first char [08:45:34]Sock 9.First char is OK [08:45:34]request: POST /json_proto HTTP/1.0 [08:45:34]Method: POST [08:45:34]URL: /json_proto [08:45:34]Method is POST - this is cgi request [08:45:34]url: /json_proto [08:45:34]query_string will be loaded in cgi processing [08:45:34]execute_cgi json_proto POST (null) [08:45:34]execute_cgi path=json_proto method=POST [08:45:34]POST find Content-Length [08:45:34]Host: 172.17.35.133:8080 [08:45:34]Content-Length: 1120 [08:45:34]Content-Type: application/json [08:45:34] [08:45:34]POST finish read [08:45:34]Found Content-Length = 1120 [08:45:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254269", "tax_sys" : 0, "items" : [ { "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743273", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Marlboro Touch", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:45:34]execute_script... [08:45: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)254269", "tax_sys" : 0, "items" : [ { "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743273", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Marlboro Touch", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:45:34]POST & json_proto [08:45:34]process_json_proto [08:45:34]json parsed OK: [08:45:34]protocol is kg_v1.0 [08:45:34]action value=close_receipt [08:45:34]process_action close_receipt [08:45:34]cmd_close_receipt [08:45:34]MH_GetDate [08:45:34]Write to MH i2c: F0 00 00 DC 1F EA [08:45:34]Write i2c OK [08:45:34]MH_I2C_Read... [08:45:34]Read from MH i2c: F0 [08:45:34]MH_I2C_Read... [08:45:34]Read from MH i2c: F0 09 00 [08:45:34]MH_I2C_Read... [08:45:34]Read from MH i2c: F0 09 00 DC 1F 00 B5 B1 6A 66 8C 55 28 65 97 [08:45:34]GetLastDocTimeStamp 1718267105 [08:45:34]current date 1718268341 [08:45:34]FM_GetShiftState [08:45:34]SAM_PROTO_GetShiftState [08:45:34]wFMCommunicate request_size=4 [08:45:34]MH_SAM_APDU [08:45:34]CAPDU: 80 13 01 00 [08:45:34]Write to MH i2c: E2 08 00 DD 1F 80 13 01 00 00 00 00 00 79 [08:45:34]Write i2c OK [08:45:34]MH_I2C_Read... [08:45:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:34]Read from MH i2c: E2 [08:45:34]MH_I2C_Read... [08:45:34]Read from MH i2c: E2 0E 00 [08:45:34]MH_I2C_Read... [08:45:34]Read from MH i2c: E2 0E 00 DD 1F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 97 [08:45:34]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [08:45:34]wFMCommunicate OK [08:45:34]SAM_PROTO_GetShiftState done [08:45:34]FM_GetShiftState done [08:45:34]opened in 1718237959 [08:45:34]opened+sec_in_day 1718324359 [08:45:34]quantity*price = 17500 [08:45:34]sum+1 = 17501 [08:45:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 2.000 * 95.00 = 190.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743273 Сигареты Marlboro Touch 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 15 13.06.2024 08:45 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22035 ФПД: 92405872365336 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T084541&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22035&fm=92405872365336&tin=02508201610067®Number=0000000000099755&sum=50000 0 [08:45:35]StoreToDocumentArchive [08:45:35]shift 324 fd 22035 [08:45:35]save to /storage/0324/doc_00022035 [08:45:35]save last doc name /storage/0324/doc_00022035 to /storage/kkm_last_doc_name [08:45:35]save OK [08:45:35]Clear old archive folders... [08:45:35]ProcessDocumentItem done err = 0, tmpTLVsize=489 [08:45:35]tlvbuf is 00276FA0 [08:45:35]SAM_PROTO_ClearQueue [08:45:35]wFMCommunicate request_size=4 [08:45:35]MH_SAM_APDU [08:45:35]CAPDU: 80 09 00 00 [08:45:35]Write to MH i2c: E2 08 00 EA 1F 80 09 00 00 00 00 00 00 7B [08:45:35]Write i2c OK [08:45:35]MH_I2C_Read... [08:45:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:45:35]Read from MH i2c: E2 [08:45:35]MH_I2C_Read... [08:45:35]Read from MH i2c: E2 03 00 [08:45:35]MH_I2C_Read... [08:45:35]Read from MH i2c: E2 03 00 EA 1F 00 90 00 7D [08:45:35]RAPDU: 90 00 [08:45:35]wFMCommunicate OK [08:45:35]SAM_PROTO_ClearQueue done [08:45:35]KKMCreateOFDPacket [08:45:35]OFDProtocolAddRootSTLVToBuf [08:45:35]FM_MakeSignedData [08:45:35]FM_MakeSignedData [08:45:35]SAM_PROTO_SignData [08:45:35]wFMCommunicate request_size=4 [08:45:35]MH_SAM_APDU [08:45:35]CAPDU: 80 0D 01 02 [08:45:35]Write to MH i2c: E2 08 00 EB 1F 80 0D 01 02 00 00 00 00 83 [08:45:35]Write i2c OK [08:45:35]MH_I2C_Read... [08:45:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:45:35]Read from MH i2c: E2 [08:45:35]MH_I2C_Read... [08:45:35]Read from MH i2c: E2 03 00 [08:45:35]MH_I2C_Read... [08:45:35]Read from MH i2c: E2 03 00 EB 1F 00 90 00 7E [08:45:35]RAPDU: 90 00 [08:45:35]wFMCommunicate OK [08:45:35]wFMCommunicate request_size=255 [08:45:35]MH_SAM_APDU [08:45:35]CAPDU: 80 0D 02 02 FA 03 00 E9 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 [08:45:35]Write to MH i2c: E2 02 01 EC 1F 80 0D 02 02 FA 00 03 00 E9 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 00 00 58 [08:45:35]Write i2c OK [08:45:35]MH_I2C_Read... [08:45:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:35]Read from MH i2c: E2 [08:45:35]MH_I2C_Read... [08:45:35]Read from MH i2c: E2 03 00 [08:45:35]MH_I2C_Read... [08:45:35]Read from MH i2c: E2 03 00 EC 1F 00 90 00 7F [08:45:35]RAPDU: 90 00 [08:45:35]wFMCommunicate OK [08:45:35]wFMCommunicate request_size=248 [08:45:35]MH_SAM_APDU [08:45:35]CAPDU: 80 0D 02 02 F3 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 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 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 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 B5 B1 6A 66 0E 04 04 00 44 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 13 56 00 00 35 04 06 00 54 0A EB 32 8F 18 [08:45:35]Write to MH i2c: E2 FB 00 ED 1F 80 0D 02 02 F3 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 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 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 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 B5 B1 6A 66 0E 04 04 00 44 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 13 56 00 00 35 04 06 00 54 0A EB 32 8F 18 00 00 6B [08:45:35]Write i2c OK [08:45:35]MH_I2C_Read... [08:45:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:36]Read from MH i2c: E2 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: E2 03 00 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: E2 03 00 ED 1F 00 90 00 80 [08:45:36]RAPDU: 90 00 [08:45:36]wFMCommunicate OK [08:45:36]wFMCommunicate request_size=4 [08:45:36]MH_SAM_APDU [08:45:36]CAPDU: 80 0D 03 02 [08:45:36]Write to MH i2c: E2 08 00 EE 1F 80 0D 03 02 00 00 00 00 88 [08:45:36]Write i2c OK [08:45:36]MH_I2C_Read... [08:45:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:45:36]Read from MH i2c: E2 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: E2 0B 00 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: E2 0B 00 EE 1F 00 57 A4 72 26 92 3B 3A 5D 90 00 80 [08:45:36]RAPDU: 57 A4 72 26 92 3B 3A 5D 90 00 [08:45:36]wFMCommunicate OK [08:45:36]SAM_PROTO_SignData done [08:45:36]FM_MakeSignedData done [08:45:36]CreateOFDProtocolMessage [08:45:36]wFMCommunicate request_size=4 [08:45:36]MH_SAM_APDU [08:45:36]CAPDU: 80 11 00 00 [08:45:36]Write to MH i2c: E2 08 00 EF 1F 80 11 00 00 00 00 00 00 88 [08:45:36]Write i2c OK [08:45:36]MH_I2C_Read... [08:45:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:36]Read from MH i2c: E2 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: E2 17 00 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: E2 17 00 EF 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 DA [08:45:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:45:36]wFMCommunicate OK [08:45:36]CreateOFDProtocolMessage done [08:45:36]OFDSenderStorePacket 22035 [08:45:36]StoreOFDPacket docnum=22035 [08:45:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 FD 01 00 00 5D 3A F5 01 EC 9F 5A 03 01 00 03 00 E9 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 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 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 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 B5 B1 6A 66 0E 04 04 00 44 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 13 56 00 00 35 04 06 00 54 0A EB 32 8F 18 57 A4 72 26 92 3B 3A 5D [08:45:36]CheckFolder [08:45:36]dirname=/storage/ofd_packets [08:45:36]CheckFolder done [08:45:36]ProducePacketName [08:45:36]name=ofd_packets/00022035 [08:45:36]NVStorageSaveData ofd_packets/00022035 [08:45:36]File name is /storage/ofd_packets/00022035 [08:45:36]Write 539 bytes [08:45:36]NVStorageSaveData done [08:45:36]OFDSenderStorePacket done [08:45:36]KKMCreateOFDPacket done [08:45:36]NVStorageSaveData kkm_last_timestamp [08:45:36]File name is /storage/kkm_last_timestamp [08:45:36]Write 4 bytes [08:45:36]NVStorageSaveData done [08:45:36]ExternCall_PrintAddStr [08:45:36]wPrintStart [08:45:36]Write to MH i2c: 01 00 00 F0 1F 0F [08:45:36]OFD Sender: Processing packet 22035 [packets to send 5, broken 4] [08:45:36]ProducePacketName [08:45:36]name=ofd_packets/00022035 [08:45:36]OFD Sender: To server: pG, [08:45:36]CommunicateWithHost lk.salyk.kg:30040 [08:45:36]ConnectInit lk.salyk.kg [08:45:36]Write i2c OK [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: 01 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: 01 07 00 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: 01 07 00 F0 1F 00 00 00 00 00 FF 0F 24 [08:45:36]RasterBufferAndPrint [08:45:36]line Счет N : (3)254269 [08:45:36]line ИНН: 02508201610067 [08:45:36]line Контрольно-Кассовый Чек [08:45:36]line ПРОДАЖА [08:45:36]line Товар: 4870002329487 [08:45:36]line Напиток Pepsi 1,5л [08:45:36]line 1.000 * 175.00 [08:45:36]line = 175.00 [08:45:36]line НДС 12% НСП 1% [08:45:36]line > о реализуемом товаре [08:45:36]line Товар: 4700000480050 [08:45:36]line Напиток Nitro Energy эн green ж/б 0,45л [08:45:36]line 2.000 * 95.00 [08:45:36]line = 190.00 [08:45:36]line НДС 12% НСП 1% [08:45:36]line > о реализуемом товаре [08:45:36]line Товар: 48743273 [08:45:36]line Сигареты Marlboro Touch [08:45:36]line 1.000 * 135.00 [08:45:36]line = 135.00 [08:45:36]line НДС 12% НСП 1% [08:45:36]line > о реализуемом товаре [08:45:36]line ИТОГО: 500.00 [08:45:36]line НСП 1% : 4.42 [08:45:36]line НДС 12% : 53.10 [08:45:36]line Наличными: 500.00 [08:45:36]line Безнал.: 0.00 [08:45:36]line Место: АЗС № 76 "Партнер Нефть" [08:45:36]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [08:45:36]line СНО: Общий режим [08:45:36]line Чек 15 13.06.2024 08:45 [08:45:36]line Смена: 324 ФФД: 1.0 [08:45:36]line ЗНМ: 0300000200 [08:45:36]line РНМ: 0000000000099755 [08:45:36]line Версия ККМ: 001 [08:45:36]line ФМ: 0000000000965344 [08:45:36]line ФД: 22035 [08:45:36]line ФПД: 92405872365336 [08:45:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T084541&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22035&fm=92405872365336&tin=02508201610067®Number=0000000000099755&sum=50000 [08:45:36]line 0 [08:45:36]written 0, free lines is 4095 [08:45:36]Connected sock=10 [08:45: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 FD 01 00 00 5D 3A F5 01 EC 9F 5A 03 01 00 03 00 E9 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 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 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 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 B5 B1 6A 66 0E 04 04 00 44 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 13 56 00 00 35 04 06 00 54 0A EB 32 8F 18 57 A4 72 26 92 3B 3A 5D [08:45:36]Write to MH i2c: 01 00 00 25 20 45 [08:45:36]Write i2c OK [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: 01 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: 01 07 00 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: 01 07 00 25 20 00 00 00 00 00 7F 0C D7 [08:45:36]RasterBufferAndPrint [08:45:36]line [08:45:36]line [08:45:36]line [08:45:36]line [08:45:36]line [08:45:36]written 0, free lines is 3208 [08:45:36]MH_Cut [08:45:36]Write to MH i2c: D1 01 00 2C 20 01 1E [08:45:36]Write i2c OK [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: D1 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: D1 01 00 [08:45:36]MH_I2C_Read... [08:45:36]Read from MH i2c: D1 01 00 2C 20 00 1D [08:45:36]Write to MH i2c: 01 00 00 2D 20 4D [08:45:36]Write i2c OK [08:45:36]MH_I2C_Read... [08:45: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 39 55 47 00 27 5C 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 13 56 00 00 F4 03 04 00 7A 5A 6A 66 B6 04 01 00 00 F6 C6 81 64 B5 CD 9D 06 [08:45:36]CommunicateWithHost err = 0 [08:45:36]CheckOFDResponse [08:45:36]1017 (14) - 77093643461234 [08:45:36]1041 (16) - 0000000000965344 [08:45:36]1040 (4) - 22035 [08:45:36]1012 (4) - 13.06.2024 02:33 [08:45:36]1206 (1) - 0 [08:45:36]OFD Sender: Remove packet 22035 [08:45:36]ProducePacketName [08:45:36]name=ofd_packets/00022035 [08:45:36]NVStorageDeleteData [08:45:37]OFD Sender: No OFD packet to send [08:45:37]*** Cut start [08:45:37]*** Partial cut [08:45:37]*** CUTSNS_PIN = 1 [08:45:37]*** CUTSNS_PIN = 0 [08:45:37]*** Brake cut motor [08:45:38]Read from MH i2c: 01 [08:45:38]MH_I2C_Read... [08:45:38]*** Stop cut motor [08:45:38]*** Cut end [08:45:38]Read from MH i2c: 01 07 00 [08:45:38]MH_I2C_Read... [08:45:38]Read from MH i2c: 01 07 00 2D 20 00 00 00 00 00 FF 0F 62 [08:45:38]process_action close_receipt done [08:45:38]requested_data is exist [08:45:38]produce_requested_data [08:45:38]requested_item fm.sn is exist - process it [08:45:38]wFMCommunicate request_size=4 [08:45:38]MH_SAM_APDU [08:45:38]CAPDU: 80 11 00 00 [08:45:38]Write to MH i2c: E2 08 00 2E 20 80 11 00 00 00 00 00 00 C8 [08:45:38]Write i2c OK [08:45:38]MH_I2C_Read... [08:45:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:38]Read from MH i2c: E2 [08:45:38]MH_I2C_Read... [08:45:38]Read from MH i2c: E2 17 00 [08:45:38]MH_I2C_Read... [08:45:38]Read from MH i2c: E2 17 00 2E 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 1A [08:45:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [08:45:38]wFMCommunicate OK [08:45:38]requested_item fd.num is exist - process it [08:45:38]SAM_PROTO_GetFieldsCounters [08:45:38]wFMCommunicate request_size=4 [08:45:38]MH_SAM_APDU [08:45:38]CAPDU: 80 13 00 00 [08:45:38]Write to MH i2c: E2 08 00 2F 20 80 13 00 00 00 00 00 00 CB [08:45:38]Write i2c OK [08:45:38]MH_I2C_Read... [08:45:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:45:38]Read from MH i2c: E2 [08:45:38]MH_I2C_Read... [08:45:38]Read from MH i2c: E2 62 00 [08:45:38]MH_I2C_Read... [08:45:38]Read from MH i2c: E2 62 00 2F 20 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 13 56 00 00 0E 04 04 00 44 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 D0 [08:45: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 13 56 00 00 0E 04 04 00 44 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 [08:45:38]wFMCommunicate OK [08:45:38]SAM_PROTO_GetFieldsCounters done [08:45:38]requested_item shift.num is exist - process it [08:45:38]requested_item shift.opened is exist - process it [08:45:38]req_shift_opened [08:45:38]FM_GetShiftState [08:45:38]SAM_PROTO_GetShiftState [08:45:38]wFMCommunicate request_size=4 [08:45:38]MH_SAM_APDU [08:45:38]CAPDU: 80 13 01 00 [08:45:38]Write to MH i2c: E2 08 00 30 20 80 13 01 00 00 00 00 00 CD [08:45:38]Write i2c OK [08:45:38]MH_I2C_Read... [08:45:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:38]Read from MH i2c: E2 [08:45:38]MH_I2C_Read... [08:45:38]Read from MH i2c: E2 0E 00 [08:45:38]MH_I2C_Read... [08:45:38]Read from MH i2c: E2 0E 00 30 20 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 EB [08:45:38]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [08:45:38]wFMCommunicate OK [08:45:38]SAM_PROTO_GetShiftState done [08:45:38]FM_GetShiftState done [08:45:38]req_shift_opened done [08:45:38]requested_item shift.open_date is exist - process it [08:45:38]req_shift_open_date [08:45:38]req_shift_open_date done [08:45:38]produce_requested_data done [08:45:38]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22035,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [08:45:38]process_action_free close_receipt [08:45:38]json_value_free [08:45:38]json_value_free done [08:45:38]process_json_proto returns [08:45:38]Send response to host [08:45:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22035,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [08:45:38]free response buf [08:45:38]execute_script done [08:45:38]execute_script returns [08:45:38]free content buf [08:45:38]Sock 9.Close socket [08:45:38]Sock 9.Thread stoped [08:45:42]OFD Sender: No OFD packet to send [08:45:47]OFD Sender: No OFD packet to send [08:45:52]OFD Sender: No OFD packet to send [08:45:57]OFD Sender: No OFD packet to send [08:46:02]OFD Sender: No OFD packet to send [08:46:07]OFD Sender: No OFD packet to send [08:46:12]OFD Sender: No OFD packet to send [08:46:17]OFD Sender: No OFD packet to send [08:46:22]OFD Sender: No OFD packet to send [08:46:27]OFD Sender: No OFD packet to send [08:46:32]OFD Sender: No OFD packet to send [08:46:37]OFD Sender: No OFD packet to send [08:46:42]OFD Sender: No OFD packet to send [08:46:47]OFD Sender: No OFD packet to send [08:46:52]OFD Sender: No OFD packet to send [08:46:57]OFD Sender: No OFD packet to send [08:47:02]OFD Sender: No OFD packet to send [08:47:07]OFD Sender: No OFD packet to send [08:47:12]OFD Sender: No OFD packet to send [08:47:17]OFD Sender: No OFD packet to send [08:47:22]OFD Sender: No OFD packet to send [08:47:27]OFD Sender: No OFD packet to send [08:47:32]OFD Sender: No OFD packet to send [08:47:37]OFD Sender: No OFD packet to send [08:47:42]OFD Sender: No OFD packet to send [08:47:47]OFD Sender: No OFD packet to send [08:47:52]OFD Sender: No OFD packet to send [08:47:57]OFD Sender: No OFD packet to send [08:48:02]OFD Sender: No OFD packet to send [08:48:07]OFD Sender: No OFD packet to send [08:48:12]OFD Sender: No OFD packet to send [08:48:17]OFD Sender: No OFD packet to send [08:48:22]OFD Sender: No OFD packet to send [08:48:27]OFD Sender: No OFD packet to send [08:48:32]OFD Sender: No OFD packet to send [08:48:37]OFD Sender: No OFD packet to send [08:48:42]OFD Sender: No OFD packet to send [08:48:47]OFD Sender: No OFD packet to send [08:48:52]OFD Sender: No OFD packet to send [08:48:57]OFD Sender: No OFD packet to send [08:49:02]OFD Sender: No OFD packet to send [08:49:07]OFD Sender: No OFD packet to send [08:49:12]OFD Sender: No OFD packet to send [08:49:17]OFD Sender: No OFD packet to send [08:49:22]OFD Sender: No OFD packet to send [08:49:27]OFD Sender: No OFD packet to send [08:49:32]OFD Sender: No OFD packet to send [08:49:37]OFD Sender: No OFD packet to send [08:49:42]OFD Sender: No OFD packet to send [08:49:47]OFD Sender: No OFD packet to send [08:49:52]OFD Sender: No OFD packet to send [08:49:57]OFD Sender: No OFD packet to send [08:50:02]OFD Sender: No OFD packet to send [08:50:07]OFD Sender: No OFD packet to send [08:50:12]OFD Sender: No OFD packet to send [08:50:17]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:37]OFD Sender: No OFD packet to send [08:50:42]OFD Sender: No OFD packet to send [08:50:47]OFD Sender: No OFD packet to send [08:50:52]OFD Sender: No OFD packet to send [08:50:57]OFD Sender: No OFD packet to send [08:51:02]OFD Sender: No OFD packet to send [08:51:07]OFD Sender: No OFD packet to send [08:51:12]OFD Sender: No OFD packet to send [08:51:17]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:48]OFD Sender: No OFD packet to send [08:58:53]OFD Sender: No OFD packet to send [08:58:58]OFD Sender: No OFD packet to send [08:59:03]OFD Sender: No OFD packet to send [08:59:08]OFD Sender: No OFD packet to send [08:59:13]OFD Sender: No OFD packet to send [08:59:18]OFD Sender: No OFD packet to send [08:59:23]OFD Sender: No OFD packet to send [08:59:28]OFD Sender: No OFD packet to send [08:59:33]OFD Sender: No OFD packet to send [08:59:38]OFD Sender: No OFD packet to send [08:59:43]OFD Sender: No OFD packet to send [08:59:48]OFD Sender: No OFD packet to send [08:59:53]OFD Sender: No OFD packet to send [08:59:58]OFD Sender: No OFD packet to send [09:00:03]OFD Sender: No OFD packet to send [09:00:08]OFD Sender: No OFD packet to send [09:00:13]OFD Sender: No OFD packet to send [09:00:18]OFD Sender: No OFD packet to send [09:00:23]OFD Sender: No OFD packet to send [09:00:28]OFD Sender: No OFD packet to send [09:00:33]OFD Sender: No OFD packet to send [09:00:38]OFD Sender: No OFD packet to send [09:00:43]OFD Sender: No OFD packet to send [09:00:48]OFD Sender: No OFD packet to send [09:00:53]OFD Sender: No OFD packet to send [09:00:58]OFD Sender: No OFD packet to send [09:01:03]OFD Sender: No OFD packet to send [09:01:08]OFD Sender: No OFD packet to send [09:01:13]OFD Sender: No OFD packet to send [09:01:18]OFD Sender: No OFD packet to send [09:01:23]OFD Sender: No OFD packet to send [09:01:28]OFD Sender: No OFD packet to send [09:01:33]OFD Sender: No OFD packet to send [09:01:38]OFD Sender: No OFD packet to send [09:01:43]OFD Sender: No OFD packet to send [09:01:48]OFD Sender: No OFD packet to send [09:01:53]OFD Sender: No OFD packet to send [09:01:58]OFD Sender: No OFD packet to send [09:02:03]OFD Sender: No OFD packet to send [09:02:08]OFD Sender: No OFD packet to send [09:02:13]OFD Sender: No OFD packet to send [09:02:18]OFD Sender: No OFD packet to send [09:02:23]OFD Sender: No OFD packet to send [09:02:28]OFD Sender: No OFD packet to send [09:02:33]OFD Sender: No OFD packet to send [09:02:38]OFD Sender: No OFD packet to send [09:02:43]OFD Sender: No OFD packet to send [09:02:48]OFD Sender: No OFD packet to send [09:02:53]OFD Sender: No OFD packet to send [09:02:58]OFD Sender: No OFD packet to send [09:03:03]OFD Sender: No OFD packet to send [09:03:08]OFD Sender: No OFD packet to send [09:03:13]OFD Sender: No OFD packet to send [09:03:18]OFD Sender: No OFD packet to send [09:03:23]OFD Sender: No OFD packet to send [09:03:28]OFD Sender: No OFD packet to send [09:03:33]OFD Sender: No OFD packet to send [09:03:38]OFD Sender: No OFD packet to send [09:03:43]OFD Sender: No OFD packet to send [09:03:48]OFD Sender: No OFD packet to send [09:03:53]OFD Sender: No OFD packet to send [09:03:58]OFD Sender: No OFD packet to send [09:04:03]OFD Sender: No OFD packet to send [09:04:08]OFD Sender: No OFD packet to send [09:04:13]OFD Sender: No OFD packet to send [09:04:18]OFD Sender: No OFD packet to send [09:04:23]OFD Sender: No OFD packet to send [09:04:28]OFD Sender: No OFD packet to send [09:04:33]OFD Sender: No OFD packet to send [09:04:38]OFD Sender: No OFD packet to send [09:04:43]OFD Sender: No OFD packet to send [09:04:48]OFD Sender: No OFD packet to send [09:04:53]OFD Sender: No OFD packet to send [09:04:58]OFD Sender: No OFD packet to send [09:05:03]OFD Sender: No OFD packet to send [09:05:08]OFD Sender: No OFD packet to send [09:05:13]OFD Sender: No OFD packet to send [09:05:18]OFD Sender: No OFD packet to send [09:05:23]OFD Sender: No OFD packet to send [09:05:28]OFD Sender: No OFD packet to send [09:05:33]OFD Sender: No OFD packet to send [09:05:38]OFD Sender: No OFD packet to send [09:05:43]OFD Sender: No OFD packet to send [09:05:48]OFD Sender: No OFD packet to send [09:05:53]OFD Sender: No OFD packet to send [09:05:58]OFD Sender: No OFD packet to send [09:06:03]OFD Sender: No OFD packet to send [09:06:08]OFD Sender: No OFD packet to send [09:06:13]OFD Sender: No OFD packet to send [09:06:18]OFD Sender: No OFD packet to send [09:06:23]OFD Sender: No OFD packet to send [09:06:28]OFD Sender: No OFD packet to send [09:06:33]OFD Sender: No OFD packet to send [09:06:38]OFD Sender: No OFD packet to send [09:06:43]OFD Sender: No OFD packet to send [09:06:48]OFD Sender: No OFD packet to send [09:06:53]OFD Sender: No OFD packet to send [09:06:58]OFD Sender: No OFD packet to send [09:07:03]OFD Sender: No OFD packet to send [09:07:08]OFD Sender: No OFD packet to send [09:07:13]OFD Sender: No OFD packet to send [09:07:18]OFD Sender: No OFD packet to send [09:07:23]OFD Sender: No OFD packet to send [09:07:28]OFD Sender: No OFD packet to send [09:07:33]OFD Sender: No OFD packet to send [09:07:38]OFD Sender: No OFD packet to send [09:07:43]OFD Sender: No OFD packet to send [09:07:48]OFD Sender: No OFD packet to send [09:07:53]OFD Sender: No OFD packet to send [09:07:58]OFD Sender: No OFD packet to send [09:08:03]OFD Sender: No OFD packet to send [09:08:08]OFD Sender: No OFD packet to send [09:08:13]OFD Sender: No OFD packet to send [09:08:18]OFD Sender: No OFD packet to send [09:08:23]OFD Sender: No OFD packet to send [09:08:28]OFD Sender: No OFD packet to send [09:08:33]OFD Sender: No OFD packet to send [09:08:38]OFD Sender: No OFD packet to send [09:08:43]OFD Sender: No OFD packet to send [09:08:48]OFD Sender: No OFD packet to send [09:08:53]OFD Sender: No OFD packet to send [09:08:58]OFD Sender: No OFD packet to send [09:09:03]OFD Sender: No OFD packet to send [09:09:08]OFD Sender: No OFD packet to send [09:09:13]OFD Sender: No OFD packet to send [09:09:18]OFD Sender: No OFD packet to send [09:09:23]OFD Sender: No OFD packet to send [09:09:28]OFD Sender: No OFD packet to send [09:09:33]OFD Sender: No OFD packet to send [09:09:38]OFD Sender: No OFD packet to send [09:09:43]OFD Sender: No OFD packet to send [09:09:48]OFD Sender: No OFD packet to send [09:09:53]OFD Sender: No OFD packet to send [09:09:58]OFD Sender: No OFD packet to send [09:10:03]OFD Sender: No OFD packet to send [09:10:08]OFD Sender: No OFD packet to send [09:10:13]OFD Sender: No OFD packet to send [09:10:18]OFD Sender: No OFD packet to send [09:10:23]OFD Sender: No OFD packet to send [09:10:28]OFD Sender: No OFD packet to send [09:10:33]OFD Sender: No OFD packet to send [09:10:38]OFD Sender: No OFD packet to send [09:10:43]OFD Sender: No OFD packet to send [09:10:48]OFD Sender: No OFD packet to send [09:10:53]OFD Sender: No OFD packet to send [09:10:58]OFD Sender: No OFD packet to send [09:11:03]OFD Sender: No OFD packet to send [09:11:08]OFD Sender: No OFD packet to send [09:11:13]OFD Sender: No OFD packet to send [09:11:18]OFD Sender: No OFD packet to send [09:11:23]OFD Sender: No OFD packet to send [09:11:28]OFD Sender: No OFD packet to send [09:11:33]OFD Sender: No OFD packet to send [09:11:38]OFD Sender: No OFD packet to send [09:11:43]OFD Sender: No OFD packet to send [09:11:48]OFD Sender: No OFD packet to send [09:11:53]OFD Sender: No OFD packet to send [09:11:58]OFD Sender: No OFD packet to send [09:12:03]OFD Sender: No OFD packet to send [09:12:08]OFD Sender: No OFD packet to send [09:12:13]OFD Sender: No OFD packet to send [09:12:18]OFD Sender: No OFD packet to send [09:12:23]OFD Sender: No OFD packet to send [09:12:28]OFD Sender: No OFD packet to send [09:12:33]OFD Sender: No OFD packet to send [09:12:38]OFD Sender: No OFD packet to send [09:12:43]OFD Sender: No OFD packet to send [09:12:48]OFD Sender: No OFD packet to send [09:12:53]OFD Sender: No OFD packet to send [09:12:58]OFD Sender: No OFD packet to send [09:13:03]OFD Sender: No OFD packet to send [09:13:08]OFD Sender: No OFD packet to send [09:13:13]OFD Sender: No OFD packet to send [09:13:18]OFD Sender: No OFD packet to send [09:13:23]OFD Sender: No OFD packet to send [09:13:28]OFD Sender: No OFD packet to send [09:13:33]OFD Sender: No OFD packet to send [09:13:38]OFD Sender: No OFD packet to send [09:13:43]OFD Sender: No OFD packet to send [09:13:48]OFD Sender: No OFD packet to send [09:13:53]OFD Sender: No OFD packet to send [09:13:58]OFD Sender: No OFD packet to send [09:14:03]OFD Sender: No OFD packet to send [09:14:08]OFD Sender: No OFD packet to send [09:14:13]OFD Sender: No OFD packet to send [09:14:18]OFD Sender: No OFD packet to send [09:14:23]OFD Sender: No OFD packet to send [09:14:28]OFD Sender: No OFD packet to send [09:14:33]OFD Sender: No OFD packet to send [09:14:38]OFD Sender: No OFD packet to send [09:14:43]OFD Sender: No OFD packet to send [09:14:48]OFD Sender: No OFD packet to send [09:14:53]OFD Sender: No OFD packet to send [09:14:58]OFD Sender: No OFD packet to send [09:15:03]OFD Sender: No OFD packet to send [09:15:08]OFD Sender: No OFD packet to send [09:15:13]OFD Sender: No OFD packet to send [09:15:18]OFD Sender: No OFD packet to send [09:15:23]OFD Sender: No OFD packet to send [09:15:28]OFD Sender: No OFD packet to send [09:15:33]OFD Sender: No OFD packet to send [09:15:38]OFD Sender: No OFD packet to send [09:15:43]OFD Sender: No OFD packet to send [09:15:48]OFD Sender: No OFD packet to send [09:15:53]OFD Sender: No OFD packet to send [09:15:58]OFD Sender: No OFD packet to send [09:16:03]OFD Sender: No OFD packet to send [09:16:08]OFD Sender: No OFD packet to send [09:16:13]OFD Sender: No OFD packet to send [09:16:18]OFD Sender: No OFD packet to send [09:16:23]OFD Sender: No OFD packet to send [09:16:28]OFD Sender: No OFD packet to send [09:16:33]OFD Sender: No OFD packet to send [09:16:38]OFD Sender: No OFD packet to send [09:16:43]OFD Sender: No OFD packet to send [09:16:48]OFD Sender: No OFD packet to send [09:16:53]OFD Sender: No OFD packet to send [09:16:58]OFD Sender: No OFD packet to send [09:17:03]OFD Sender: No OFD packet to send [09:17:08]OFD Sender: No OFD packet to send [09:17:13]OFD Sender: No OFD packet to send [09:17:18]OFD Sender: No OFD packet to send [09:17:23]OFD Sender: No OFD packet to send [09:17:28]OFD Sender: No OFD packet to send [09:17:33]OFD Sender: No OFD packet to send [09:17:38]OFD Sender: No OFD packet to send [09:17:43]OFD Sender: No OFD packet to send [09:17:48]OFD Sender: No OFD packet to send [09:17:53]OFD Sender: No OFD packet to send [09:17:58]OFD Sender: No OFD packet to send [09:18:03]OFD Sender: No OFD packet to send [09:18:08]OFD Sender: No OFD packet to send [09:18:13]OFD Sender: No OFD packet to send [09:18:18]OFD Sender: No OFD packet to send [09:18:23]OFD Sender: No OFD packet to send [09:18:28]OFD Sender: No OFD packet to send [09:18:33]OFD Sender: No OFD packet to send [09:18:38]OFD Sender: No OFD packet to send [09:18:43]OFD Sender: No OFD packet to send [09:18:48]OFD Sender: No OFD packet to send [09:18:53]OFD Sender: No OFD packet to send [09:18:58]OFD Sender: No OFD packet to send [09:19:03]OFD Sender: No OFD packet to send [09:19:08]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:49]OFD Sender: No OFD packet to send [09:23:54]OFD Sender: No OFD packet to send [09:23:59]OFD Sender: No OFD packet to send [09:24:04]OFD Sender: No OFD packet to send [09:24:09]OFD Sender: No OFD packet to send [09:24:14]OFD Sender: No OFD packet to send [09:24:19]OFD Sender: No OFD packet to send [09:24:24]OFD Sender: No OFD packet to send [09:24:29]OFD Sender: No OFD packet to send [09:24:34]OFD Sender: No OFD packet to send [09:24:39]OFD Sender: No OFD packet to send [09:24:44]OFD Sender: No OFD packet to send [09:24:49]OFD Sender: No OFD packet to send [09:24:54]OFD Sender: No OFD packet to send [09:24:59]OFD Sender: No OFD packet to send [09:25:04]OFD Sender: No OFD packet to send [09:25:09]OFD Sender: No OFD packet to send [09:25:14]OFD Sender: No OFD packet to send [09:25:19]OFD Sender: No OFD packet to send [09:25:24]OFD Sender: No OFD packet to send [09:25:29]OFD Sender: No OFD packet to send [09:25:34]OFD Sender: No OFD packet to send [09:25:39]OFD Sender: No OFD packet to send [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:54]OFD Sender: No OFD packet to send [09:25:59]OFD Sender: No OFD packet to send [09:26:04]OFD Sender: No OFD packet to send [09:26:09]OFD Sender: No OFD packet to send [09:26:14]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:29]OFD Sender: No OFD packet to send [09:29:34]OFD Sender: No OFD packet to send [09:29:39]OFD Sender: No OFD packet to send [09:29:44]OFD Sender: No OFD packet to send [09:29:49]OFD Sender: No OFD packet to send [09:29:54]OFD Sender: No OFD packet to send [09:29:59]OFD Sender: No OFD packet to send [09:30:04]OFD Sender: No OFD packet to send [09:30:09]OFD Sender: No OFD packet to send [09:30:14]OFD Sender: No OFD packet to send [09:30:19]OFD Sender: No OFD packet to send [09:30:24]OFD Sender: No OFD packet to send [09:30:29]OFD Sender: No OFD packet to send [09:30:34]OFD Sender: No OFD packet to send [09:30:39]OFD Sender: No OFD packet to send [09:30:44]OFD Sender: No OFD packet to send [09:30:49]OFD Sender: No OFD packet to send [09:30:54]OFD Sender: No OFD packet to send [09:30:59]OFD Sender: No OFD packet to send [09:31:04]OFD Sender: No OFD packet to send [09:31:09]OFD Sender: No OFD packet to send [09:31:14]OFD Sender: No OFD packet to send [09:31:19]OFD Sender: No OFD packet to send [09:31:24]OFD Sender: No OFD packet to send [09:31:29]OFD Sender: No OFD packet to send [09:31:34]OFD Sender: No OFD packet to send [09:31:39]OFD Sender: No OFD packet to send [09:31:44]OFD Sender: No OFD packet to send [09:31:49]OFD Sender: No OFD packet to send [09:31:54]OFD Sender: No OFD packet to send [09:31:59]OFD Sender: No OFD packet to send [09:32:04]OFD Sender: No OFD packet to send [09:32:09]OFD Sender: No OFD packet to send [09:32:14]OFD Sender: No OFD packet to send [09:32:19]OFD Sender: No OFD packet to send [09:32:24]OFD Sender: No OFD packet to send [09:32:29]OFD Sender: No OFD packet to send [09:32:34]OFD Sender: No OFD packet to send [09:32:39]OFD Sender: No OFD packet to send [09:32:44]OFD Sender: No OFD packet to send [09:32:49]OFD Sender: No OFD packet to send [09:32:54]OFD Sender: No OFD packet to send [09:32:59]OFD Sender: No OFD packet to send [09:33:04]OFD Sender: No OFD packet to send [09:33:09]OFD Sender: No OFD packet to send [09:33:14]OFD Sender: No OFD packet to send [09:33:19]OFD Sender: No OFD packet to send [09:33:24]OFD Sender: No OFD packet to send [09:33:29]OFD Sender: No OFD packet to send [09:33:34]OFD Sender: No OFD packet to send [09:33:39]OFD Sender: No OFD packet to send [09:33:44]OFD Sender: No OFD packet to send [09:33:49]OFD Sender: No OFD packet to send [09:33:54]OFD Sender: No OFD packet to send [09:33:59]OFD Sender: No OFD packet to send [09:34:04]OFD Sender: No OFD packet to send [09:34:09]OFD Sender: No OFD packet to send [09:34:14]OFD Sender: No OFD packet to send [09:34:19]OFD Sender: No OFD packet to send [09:34:24]OFD Sender: No OFD packet to send [09:34:29]OFD Sender: No OFD packet to send [09:34:34]OFD Sender: No OFD packet to send [09:34:39]OFD Sender: No OFD packet to send [09:34:44]OFD Sender: No OFD packet to send [09:34:49]OFD Sender: No OFD packet to send [09:34:54]OFD Sender: No OFD packet to send [09:34:59]OFD Sender: No OFD packet to send [09:35:04]OFD Sender: No OFD packet to send [09:35:09]OFD Sender: No OFD packet to send [09:35:14]OFD Sender: No OFD packet to send [09:35:19]OFD Sender: No OFD packet to send [09:35:24]OFD Sender: No OFD packet to send [09:35:29]OFD Sender: No OFD packet to send [09:35:34]OFD Sender: No OFD packet to send [09:35:39]OFD Sender: No OFD packet to send [09:35:44]OFD Sender: No OFD packet to send [09:35:49]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:29]OFD Sender: No OFD packet to send [09:36:34]OFD Sender: No OFD packet to send [09:36:39]OFD Sender: No OFD packet to send [09:36:44]OFD Sender: No OFD packet to send [09:36:49]OFD Sender: No OFD packet to send [09:36:54]OFD Sender: No OFD packet to send [09:36:59]OFD Sender: No OFD packet to send [09:37:04]OFD Sender: No OFD packet to send [09:37:09]OFD Sender: No OFD packet to send [09:37:14]OFD Sender: No OFD packet to send [09:37:19]OFD Sender: No OFD packet to send [09:37:24]OFD Sender: No OFD packet to send [09:37:29]OFD Sender: No OFD packet to send [09:37:34]OFD Sender: No OFD packet to send [09:37:39]OFD Sender: No OFD packet to send [09:37:44]OFD Sender: No OFD packet to send [09:37:49]OFD Sender: No OFD packet to send [09:37:54]OFD Sender: No OFD packet to send [09:37:59]OFD Sender: No OFD packet to send [09:38:04]OFD Sender: No OFD packet to send [09:38:09]OFD Sender: No OFD packet to send [09:38:14]OFD Sender: No OFD packet to send [09:38:19]OFD Sender: No OFD packet to send [09:38:24]OFD Sender: No OFD packet to send [09:38:29]OFD Sender: No OFD packet to send [09:38:34]OFD Sender: No OFD packet to send [09:38:39]OFD Sender: No OFD packet to send [09:38:44]OFD Sender: No OFD packet to send [09:38:49]OFD Sender: No OFD packet to send [09:38:54]OFD Sender: No OFD packet to send [09:38:59]OFD Sender: No OFD packet to send [09:39:04]OFD Sender: No OFD packet to send [09:39:09]OFD Sender: No OFD packet to send [09:39:14]OFD Sender: No OFD packet to send [09:39:19]OFD Sender: No OFD packet to send [09:39:24]OFD Sender: No OFD packet to send [09:39:29]OFD Sender: No OFD packet to send [09:39:34]OFD Sender: No OFD packet to send [09:39:39]OFD Sender: No OFD packet to send [09:39:44]OFD Sender: No OFD packet to send [09:39:49]OFD Sender: No OFD packet to send [09:39:54]OFD Sender: No OFD packet to send [09:39:59]OFD Sender: No OFD packet to send [09:40:04]OFD Sender: No OFD packet to send [09:40:09]OFD Sender: No OFD packet to send [09:40:14]OFD Sender: No OFD packet to send [09:40:19]OFD Sender: No OFD packet to send [09:40:24]OFD Sender: No OFD packet to send [09:40:29]OFD Sender: No OFD packet to send [09:40:34]OFD Sender: No OFD packet to send [09:40:39]OFD Sender: No OFD packet to send [09:40:44]OFD Sender: No OFD packet to send [09:40:49]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:10]OFD Sender: No OFD packet to send [09:45:15]OFD Sender: No OFD packet to send [09:45:20]OFD Sender: No OFD packet to send [09:45:25]OFD Sender: No OFD packet to send [09:45:30]OFD Sender: No OFD packet to send [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:20]OFD Sender: No OFD packet to send [09:46:25]OFD Sender: No OFD packet to send [09:46:30]OFD Sender: No OFD packet to send [09:46:35]OFD Sender: No OFD packet to send [09:46:40]OFD Sender: No OFD packet to send [09:46:45]OFD Sender: No OFD packet to send [09:46:50]OFD Sender: No OFD packet to send [09:46:55]OFD Sender: No OFD packet to send [09:47:00]OFD Sender: No OFD packet to send [09:47:05]OFD Sender: No OFD packet to send [09:47:10]OFD Sender: No OFD packet to send [09:47:15]OFD Sender: No OFD packet to send [09:47:20]OFD Sender: No OFD packet to send [09:47:25]OFD Sender: No OFD packet to send [09:47:30]OFD Sender: No OFD packet to send [09:47:35]OFD Sender: No OFD packet to send [09:47:40]OFD Sender: No OFD packet to send [09:47:45]OFD Sender: No OFD packet to send [09:47:50]OFD Sender: No OFD packet to send [09:47:55]OFD Sender: No OFD packet to send [09:48:00]OFD Sender: No OFD packet to send [09:48:05]OFD Sender: No OFD packet to send [09:48:10]OFD Sender: No OFD packet to send [09:48:15]OFD Sender: No OFD packet to send [09:48:20]OFD Sender: No OFD packet to send [09:48:25]OFD Sender: No OFD packet to send [09:48:30]OFD Sender: No OFD packet to send [09:48:35]OFD Sender: No OFD packet to send [09:48:40]OFD Sender: No OFD packet to send [09:48:45]OFD Sender: No OFD packet to send [09:48:50]OFD Sender: No OFD packet to send [09:48:55]OFD Sender: No OFD packet to send [09:49:00]OFD Sender: No OFD packet to send [09:49:05]OFD Sender: No OFD packet to send [09:49:10]OFD Sender: No OFD packet to send [09:49:15]OFD Sender: No OFD packet to send [09:49:20]OFD Sender: No OFD packet to send [09:49:25]OFD Sender: No OFD packet to send [09:49:30]OFD Sender: No OFD packet to send [09:49:35]OFD Sender: No OFD packet to send [09:49:40]OFD Sender: No OFD packet to send [09:49:45]OFD Sender: No OFD packet to send [09:49:50]OFD Sender: No OFD packet to send [09:49:55]OFD Sender: No OFD packet to send [09:50:00]OFD Sender: No OFD packet to send [09:50:05]OFD Sender: No OFD packet to send [09:50:10]OFD Sender: No OFD packet to send [09:50:15]OFD Sender: No OFD packet to send [09:50:20]OFD Sender: No OFD packet to send [09:50:25]OFD Sender: No OFD packet to send [09:50:30]OFD Sender: No OFD packet to send [09:50:35]OFD Sender: No OFD packet to send [09:50:40]OFD Sender: No OFD packet to send [09:50:45]OFD Sender: No OFD packet to send [09:50:50]OFD Sender: No OFD packet to send [09:50:55]OFD Sender: No OFD packet to send [09:51:00]OFD Sender: No OFD packet to send [09:51:05]OFD Sender: No OFD packet to send [09:51:10]OFD Sender: No OFD packet to send [09:51:15]OFD Sender: No OFD packet to send [09:51:20]OFD Sender: No OFD packet to send [09:51:25]OFD Sender: No OFD packet to send [09:51:30]OFD Sender: No OFD packet to send [09:51:35]OFD Sender: No OFD packet to send [09:51:40]OFD Sender: No OFD packet to send [09:51:45]OFD Sender: No OFD packet to send [09:51:50]OFD Sender: No OFD packet to send [09:51:55]OFD Sender: No OFD packet to send [09:52:00]OFD Sender: No OFD packet to send [09:52:05]OFD Sender: No OFD packet to send [09:52:10]OFD Sender: No OFD packet to send [09:52:15]OFD Sender: No OFD packet to send [09:52:20]OFD Sender: No OFD packet to send [09:52:25]OFD Sender: No OFD packet to send [09:52:30]OFD Sender: No OFD packet to send [09:52:35]OFD Sender: No OFD packet to send [09:52:40]OFD Sender: No OFD packet to send [09:52:45]OFD Sender: No OFD packet to send [09:52:50]OFD Sender: No OFD packet to send [09:52:55]OFD Sender: No OFD packet to send [09:53:00]OFD Sender: No OFD packet to send [09:53:05]OFD Sender: No OFD packet to send [09:53:10]OFD Sender: No OFD packet to send [09:53:15]OFD Sender: No OFD packet to send [09:53:20]OFD Sender: No OFD packet to send [09:53:25]OFD Sender: No OFD packet to send [09:53:30]OFD Sender: No OFD packet to send [09:53:35]OFD Sender: No OFD packet to send [09:53:40]OFD Sender: No OFD packet to send [09:53:45]OFD Sender: No OFD packet to send [09:53:50]OFD Sender: No OFD packet to send [09:53:55]OFD Sender: No OFD packet to send [09:54:00]OFD Sender: No OFD packet to send [09:54:05]OFD Sender: No OFD packet to send [09:54:10]OFD Sender: No OFD packet to send [09:54:15]OFD Sender: No OFD packet to send [09:54:20]OFD Sender: No OFD packet to send [09:54:25]OFD Sender: No OFD packet to send [09:54:30]OFD Sender: No OFD packet to send [09:54:35]OFD Sender: No OFD packet to send [09:54:40]OFD Sender: No OFD packet to send [09:54:45]OFD Sender: No OFD packet to send [09:54:50]OFD Sender: No OFD packet to send [09:54:55]OFD Sender: No OFD packet to send [09:55:00]OFD Sender: No OFD packet to send [09:55:05]OFD Sender: No OFD packet to send [09:55:10]OFD Sender: No OFD packet to send [09:55:15]OFD Sender: No OFD packet to send [09:55:20]OFD Sender: No OFD packet to send [09:55:25]OFD Sender: No OFD packet to send [09:55:30]OFD Sender: No OFD packet to send [09:55:35]OFD Sender: No OFD packet to send [09:55:40]OFD Sender: No OFD packet to send [09:55:45]OFD Sender: No OFD packet to send [09:55:50]OFD Sender: No OFD packet to send [09:55:55]OFD Sender: No OFD packet to send [09:56:00]OFD Sender: No OFD packet to send [09:56:05]OFD Sender: No OFD packet to send [09:56:10]OFD Sender: No OFD packet to send [09:56:15]OFD Sender: No OFD packet to send [09:56:20]OFD Sender: No OFD packet to send [09:56:25]OFD Sender: No OFD packet to send [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [09:56:40]OFD Sender: No OFD packet to send [09:56:45]OFD Sender: No OFD packet to send [09:56:50]OFD Sender: No OFD packet to send [09:56:55]OFD Sender: No OFD packet to send [09:57:00]OFD Sender: No OFD packet to send [09:57:05]OFD Sender: No OFD packet to send [09:57:10]OFD Sender: No OFD packet to send [09:57:15]OFD Sender: No OFD packet to send [09:57:20]OFD Sender: No OFD packet to send [09:57:25]OFD Sender: No OFD packet to send [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]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:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:36]OFD Sender: No OFD packet to send [10:13:41]OFD Sender: No OFD packet to send [10:13:46]OFD Sender: No OFD packet to send [10:13:51]OFD Sender: No OFD packet to send [10:13:56]OFD Sender: No OFD packet to send [10:14:01]OFD Sender: No OFD packet to send [10:14:06]OFD Sender: No OFD packet to send [10:14:11]OFD Sender: No OFD packet to send [10:14:16]OFD Sender: No OFD packet to send [10:14:21]OFD Sender: No OFD packet to send [10:14:26]OFD Sender: No OFD packet to send [10:14:31]OFD Sender: No OFD packet to send [10:14:36]OFD Sender: No OFD packet to send [10:14:41]OFD Sender: No OFD packet to send [10:14:46]OFD Sender: No OFD packet to send [10:14:51]OFD Sender: No OFD packet to send [10:14:56]OFD Sender: No OFD packet to send [10:15:01]OFD Sender: No OFD packet to send [10:15:06]OFD Sender: No OFD packet to send [10:15:11]OFD Sender: No OFD packet to send [10:15:16]OFD Sender: No OFD packet to send [10:15:21]OFD Sender: No OFD packet to send [10:15:26]OFD Sender: No OFD packet to send [10:15:31]OFD Sender: No OFD packet to send [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:36]OFD Sender: No OFD packet to send [10:16:41]OFD Sender: No OFD packet to send [10:16:46]OFD Sender: No OFD packet to send [10:16:51]OFD Sender: No OFD packet to send [10:16:56]OFD Sender: No OFD packet to send [10:17:01]OFD Sender: No OFD packet to send [10:17:06]OFD Sender: No OFD packet to send [10:17:11]OFD Sender: No OFD packet to send [10:17:16]OFD Sender: No OFD packet to send [10:17:21]OFD Sender: No OFD packet to send [10:17:26]OFD Sender: No OFD packet to send [10:17:31]OFD Sender: No OFD packet to send [10:17:36]OFD Sender: No OFD packet to send [10:17:41]OFD Sender: No OFD packet to send [10:17:46]OFD Sender: No OFD packet to send [10:17:51]OFD Sender: No OFD packet to send [10:17:56]OFD Sender: No OFD packet to send [10:18:01]OFD Sender: No OFD packet to send [10:18:06]OFD Sender: No OFD packet to send [10:18:11]OFD Sender: No OFD packet to send [10:18:16]OFD Sender: No OFD packet to send [10:18:21]OFD Sender: No OFD packet to send [10:18:26]OFD Sender: No OFD packet to send [10:18:31]OFD Sender: No OFD packet to send [10:18:36]OFD Sender: No OFD packet to send [10:18:41]OFD Sender: No OFD packet to send [10:18:46]OFD Sender: No OFD packet to send [10:18:51]OFD Sender: No OFD packet to send [10:18:56]OFD Sender: No OFD packet to send [10:19:01]OFD Sender: No OFD packet to send [10:19:06]OFD Sender: No OFD packet to send [10:19:11]OFD Sender: No OFD packet to send [10:19:16]OFD Sender: No OFD packet to send [10:19:21]OFD Sender: No OFD packet to send [10:19:26]OFD Sender: No OFD packet to send [10:19:31]OFD Sender: No OFD packet to send [10:19:36]OFD Sender: No OFD packet to send [10:19:41]OFD Sender: No OFD packet to send [10:19:46]OFD Sender: No OFD packet to send [10:19:51]OFD Sender: No OFD packet to send [10:19:56]OFD Sender: No OFD packet to send [10:20:01]OFD Sender: No OFD packet to send [10:20:06]OFD Sender: No OFD packet to send [10:20:11]OFD Sender: No OFD packet to send [10:20:16]OFD Sender: No OFD packet to send [10:20:21]OFD Sender: No OFD packet to send [10:20:26]OFD Sender: No OFD packet to send [10:20:31]OFD Sender: No OFD packet to send [10:20:36]OFD Sender: No OFD packet to send [10:20:41]OFD Sender: No OFD packet to send [10:20:46]OFD Sender: No OFD packet to send [10:20:51]OFD Sender: No OFD packet to send [10:20:56]OFD Sender: No OFD packet to send [10:21:01]OFD Sender: No OFD packet to send [10:21:06]OFD Sender: No OFD packet to send [10:21:11]OFD Sender: No OFD packet to send [10:21:16]OFD Sender: No OFD packet to send [10:21:21]OFD Sender: No OFD packet to send [10:21:26]OFD Sender: No OFD packet to send [10:21:31]OFD Sender: No OFD packet to send [10:21:36]OFD Sender: No OFD packet to send [10:21:41]OFD Sender: No OFD packet to send [10:21:46]OFD Sender: No OFD packet to send [10:21:51]OFD Sender: No OFD packet to send [10:21:56]OFD Sender: No OFD packet to send [10:21:57]accept exits with 8 [10:21:57]New connection [10:21:57]New thread 3067178340 created [10:21:57]Thread 3067321700 joined [10:21:57]Waiting for new connection... [10:21:57] Sock 8.Parse request [10:21:57]Sock 8.Check first char [10:21:57]Sock 8.First char is OK [10:21:57]request: POST /json_proto HTTP/1.0 [10:21:57]Method: POST [10:21:57]URL: /json_proto [10:21:57]Method is POST - this is cgi request [10:21:57]url: /json_proto [10:21:57]query_string will be loaded in cgi processing [10:21:57]execute_cgi json_proto POST (null) [10:21:57]execute_cgi path=json_proto method=POST [10:21:57]POST find Content-Length [10:21:57]Host: 172.17.35.133:8080 [10:21:57]Content-Length: 628 [10:21:57]Content-Type: application/json [10:21:57] [10:21:57]POST finish read [10:21:57]Found Content-Length = 628 [10:21:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254270", "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 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:21:57]execute_script... [10:21:57]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)254270", "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 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:21:57]POST & json_proto [10:21:57]process_json_proto [10:21:57]json parsed OK: [10:21:57]protocol is kg_v1.0 [10:21:57]action value=close_receipt [10:21:57]process_action close_receipt [10:21:57]cmd_close_receipt [10:21:57]MH_GetDate [10:21:57]Write to MH i2c: F0 00 00 31 20 40 [10:21:57]Write i2c OK [10:21:57]MH_I2C_Read... [10:21:57]Read from MH i2c: F0 [10:21:57]MH_I2C_Read... [10:21:57]Read from MH i2c: F0 09 00 [10:21:57]MH_I2C_Read... [10:21:57]Read from MH i2c: F0 09 00 31 20 00 4D C8 6A 66 8C 55 28 65 9C [10:21:57]GetLastDocTimeStamp 1718268341 [10:21:57]current date 1718274125 [10:21:57]FM_GetShiftState [10:21:57]SAM_PROTO_GetShiftState [10:21:57]wFMCommunicate request_size=4 [10:21:57]MH_SAM_APDU [10:21:57]CAPDU: 80 13 01 00 [10:21:57]Write to MH i2c: E2 08 00 32 20 80 13 01 00 00 00 00 00 CF [10:21:57]Write i2c OK [10:21:57]MH_I2C_Read... [10:21:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:21:57]Read from MH i2c: E2 [10:21:57]MH_I2C_Read... [10:21:57]Read from MH i2c: E2 0E 00 [10:21:57]MH_I2C_Read... [10:21:57]Read from MH i2c: E2 0E 00 32 20 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 ED [10:21:57]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [10:21:57]wFMCommunicate OK [10:21:57]SAM_PROTO_GetShiftState done [10:21:57]FM_GetShiftState done [10:21:57]opened in 1718237959 [10:21:57]opened+sec_in_day 1718324359 [10:21:57]quantity*price = 13000 [10:21:57]sum+1 = 13001 [10:21:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 16 13.06.2024 10:22 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22036 ФПД: 119970723499830 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T102205&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22036&fm=119970723499830&tin=02508201610067®Number=0000000000099755&sum=13000 0 [10:21:58]StoreToDocumentArchive [10:21:58]shift 324 fd 22036 [10:21:58]save to /storage/0324/doc_00022036 [10:21:58]save last doc name /storage/0324/doc_00022036 to /storage/kkm_last_doc_name [10:21:58]save OK [10:21:58]Clear old archive folders... [10:21:58]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:21:58]tlvbuf is 00258210 [10:21:58]SAM_PROTO_ClearQueue [10:21:58]wFMCommunicate request_size=4 [10:21:58]MH_SAM_APDU [10:21:58]CAPDU: 80 09 00 00 [10:21:58]Write to MH i2c: E2 08 00 3F 20 80 09 00 00 00 00 00 00 D1 [10:21:58]Write i2c OK [10:21:58]MH_I2C_Read... [10:21:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:21:58]Read from MH i2c: E2 [10:21:58]MH_I2C_Read... [10:21:58]Read from MH i2c: E2 03 00 [10:21:58]MH_I2C_Read... [10:21:58]Read from MH i2c: E2 03 00 3F 20 00 90 00 D3 [10:21:58]RAPDU: 90 00 [10:21:58]wFMCommunicate OK [10:21:58]SAM_PROTO_ClearQueue done [10:21:58]KKMCreateOFDPacket [10:21:58]OFDProtocolAddRootSTLVToBuf [10:21:58]FM_MakeSignedData [10:21:58]FM_MakeSignedData [10:21:58]SAM_PROTO_SignData [10:21:58]wFMCommunicate request_size=4 [10:21:58]MH_SAM_APDU [10:21:58]CAPDU: 80 0D 01 02 [10:21:58]Write to MH i2c: E2 08 00 40 20 80 0D 01 02 00 00 00 00 D9 [10:21:58]Write i2c OK [10:21:58]MH_I2C_Read... [10:21:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:21:58]Read from MH i2c: E2 [10:21:58]MH_I2C_Read... [10:21:58]Read from MH i2c: E2 03 00 [10:21:58]MH_I2C_Read... [10:21:58]Read from MH i2c: E2 03 00 40 20 00 90 00 D4 [10:21:58]RAPDU: 90 00 [10:21:58]wFMCommunicate OK [10:21:58]wFMCommunicate request_size=255 [10:21:58]MH_SAM_APDU [10:21:58]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 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 10 00 00 00 F4 03 04 00 4D C8 6A 66 0E 04 04 00 44 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:21:58]Write to MH i2c: E2 02 01 41 20 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 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 10 00 00 00 F4 03 04 00 4D C8 6A 66 0E 04 04 00 44 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 38 [10:21:58]Write i2c OK [10:21:58]MH_I2C_Read... [10:21:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:21:59]Read from MH i2c: E2 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: E2 03 00 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: E2 03 00 41 20 00 90 00 D5 [10:21:59]RAPDU: 90 00 [10:21:59]wFMCommunicate OK [10:21:59]wFMCommunicate request_size=35 [10:21:59]MH_SAM_APDU [10:21:59]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 14 56 00 00 35 04 06 00 6D 1C DC 5B 8F 36 [10:21:59]Write to MH i2c: E2 26 00 42 20 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 14 56 00 00 35 04 06 00 6D 1C DC 5B 8F 36 00 00 BD [10:21:59]Write i2c OK [10:21:59]MH_I2C_Read... [10:21:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:21:59]Read from MH i2c: E2 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: E2 03 00 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: E2 03 00 42 20 00 90 00 D6 [10:21:59]RAPDU: 90 00 [10:21:59]wFMCommunicate OK [10:21:59]wFMCommunicate request_size=4 [10:21:59]MH_SAM_APDU [10:21:59]CAPDU: 80 0D 03 02 [10:21:59]Write to MH i2c: E2 08 00 43 20 80 0D 03 02 00 00 00 00 DE [10:21:59]Write i2c OK [10:21:59]MH_I2C_Read... [10:21:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:21:59]Read from MH i2c: E2 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: E2 0B 00 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: E2 0B 00 43 20 00 54 DB A8 7B 0D 4C 76 44 90 00 44 [10:21:59]RAPDU: 54 DB A8 7B 0D 4C 76 44 90 00 [10:21:59]wFMCommunicate OK [10:21:59]SAM_PROTO_SignData done [10:21:59]FM_MakeSignedData done [10:21:59]CreateOFDProtocolMessage [10:21:59]wFMCommunicate request_size=4 [10:21:59]MH_SAM_APDU [10:21:59]CAPDU: 80 11 00 00 [10:21:59]Write to MH i2c: E2 08 00 44 20 80 11 00 00 00 00 00 00 DE [10:21:59]Write i2c OK [10:21:59]MH_I2C_Read... [10:21:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:59]Read from MH i2c: E2 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: E2 17 00 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: E2 17 00 44 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 30 [10:21: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:21:59]wFMCommunicate OK [10:21:59]CreateOFDProtocolMessage done [10:21:59]OFDSenderStorePacket 22036 [10:21:59]StoreOFDPacket docnum=22036 [10:21: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 28 01 00 00 37 70 20 01 D9 AC 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 10 00 00 00 F4 03 04 00 4D C8 6A 66 0E 04 04 00 44 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 14 56 00 00 35 04 06 00 6D 1C DC 5B 8F 36 54 DB A8 7B 0D 4C 76 44 [10:21:59]CheckFolder [10:21:59]dirname=/storage/ofd_packets [10:21:59]CheckFolder done [10:21:59]ProducePacketName [10:21:59]name=ofd_packets/00022036 [10:21:59]NVStorageSaveData ofd_packets/00022036 [10:21:59]File name is /storage/ofd_packets/00022036 [10:21:59]Write 326 bytes [10:21:59]NVStorageSaveData done [10:21:59]OFDSenderStorePacket done [10:21:59]KKMCreateOFDPacket done [10:21:59]NVStorageSaveData kkm_last_timestamp [10:21:59]File name is /storage/kkm_last_timestamp [10:21:59]OFD Sender: Processing packet 22036 [packets to send 5, broken 4] [10:21:59]ProducePacketName [10:21:59]name=ofd_packets/00022036 [10:21:59]OFD Sender: To server: pG, [10:21:59]CommunicateWithHost lk.salyk.kg:30040 [10:21:59]ConnectInit lk.salyk.kg [10:21:59]Write 4 bytes [10:21:59]NVStorageSaveData done [10:21:59]ExternCall_PrintAddStr [10:21:59]wPrintStart [10:21:59]Write to MH i2c: 01 00 00 45 20 65 [10:21:59]Write i2c OK [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: 01 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: 01 07 00 [10:21:59]MH_I2C_Read... [10:21:59]Read from MH i2c: 01 07 00 45 20 00 00 00 00 00 FF 0F 7A [10:21:59]RasterBufferAndPrint [10:21:59]line Счет N : (3)254270 [10:21:59]line ИНН: 02508201610067 [10:21:59]line Контрольно-Кассовый Чек [10:21:59]line ПРОДАЖА [10:21:59]line Товар: 2000036230011 [10:21:59]line Кофе Латте XL(GABB TRADE) [10:21:59]line 1.000 * 130.00 [10:21:59]line = 130.00 [10:21:59]line НДС 12% НСП 1% [10:21:59]line > о реализуемом товаре [10:21:59]line ИТОГО: 130.00 [10:21:59]line НСП 1% : 1.15 [10:21:59]line НДС 12% : 13.80 [10:21:59]line Наличными: 130.00 [10:21:59]line Безнал.: 0.00 [10:21:59]line Место: АЗС № 76 "Партнер Нефть" [10:21:59]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:21:59]line СНО: Общий режим [10:21:59]line Чек 16 13.06.2024 10:22 [10:21:59]line Смена: 324 ФФД: 1.0 [10:21:59]line ЗНМ: 0300000200 [10:21:59]line РНМ: 0000000000099755 [10:21:59]line Версия ККМ: 001 [10:21:59]line ФМ: 0000000000965344 [10:21:59]line ФД: 22036 [10:21:59]line ФПД: 119970723499830 [10:21:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T102205&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22036&fm=119970723499830&tin=02508201610067®Number=0000000000099755&sum=13000 [10:21:59]line 0 [10:21:59]Connected sock=11 [10:21:59]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 37 70 20 01 D9 AC 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 10 00 00 00 F4 03 04 00 4D C8 6A 66 0E 04 04 00 44 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 14 56 00 00 35 04 06 00 6D 1C DC 5B 8F 36 54 DB A8 7B 0D 4C 76 44 [10:21:59]written 0, free lines is 4095 [10:21:59]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 2B 47 00 8A 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 14 56 00 00 F4 03 04 00 11 71 6A 66 B6 04 01 00 00 A6 ED A3 AE 54 09 73 3E [10:21:59]CommunicateWithHost err = 0 [10:21:59]CheckOFDResponse [10:21:59]1017 (14) - 77093643461234 [10:21:59]1041 (16) - 0000000000965344 [10:21:59]1040 (4) - 22036 [10:21:59]1012 (4) - 13.06.2024 04:09 [10:21:59]1206 (1) - 0 [10:21:59]OFD Sender: Remove packet 22036 [10:21:59]ProducePacketName [10:21:59]name=ofd_packets/00022036 [10:21:59]NVStorageDeleteData [10:22:00]Write to MH i2c: 01 00 00 6D 20 8D [10:22:00]Write i2c OK [10:22:00]MH_I2C_Read... [10:22:00]Read from MH i2c: 01 [10:22:00]MH_I2C_Read... [10:22:00]Read from MH i2c: 01 07 00 [10:22:00]MH_I2C_Read... [10:22:00]Read from MH i2c: 01 07 00 6D 20 00 00 00 00 00 26 0D C7 [10:22:00]RasterBufferAndPrint [10:22:00]line [10:22:00]line [10:22:00]line [10:22:00]line [10:22:00]line [10:22:00]written 0, free lines is 3375 [10:22:00]MH_Cut [10:22:00]Write to MH i2c: D1 01 00 74 20 01 66 [10:22:00]Write i2c OK [10:22:00]MH_I2C_Read... [10:22:00]Read from MH i2c: D1 [10:22:00]MH_I2C_Read... [10:22:00]Read from MH i2c: D1 01 00 [10:22:00]MH_I2C_Read... [10:22:00]Read from MH i2c: D1 01 00 74 20 00 65 [10:22:00]Write to MH i2c: 01 00 00 75 20 95 [10:22:00]Write i2c OK [10:22:00]MH_I2C_Read... [10:22:00]OFD Sender: No OFD packet to send [10:22:00]*** Cut start [10:22:00]*** Partial cut [10:22:00]*** CUTSNS_PIN = 1 [10:22:00]*** CUTSNS_PIN = 0 [10:22:01]*** Brake cut motor [10:22:01]Read from MH i2c: 01 [10:22:01]MH_I2C_Read... [10:22:01]*** Stop cut motor [10:22:01]Read from MH i2c: 01 07 00 [10:22:01]MH_I2C_Read... [10:22:01]*** Cut end [10:22:01]Read from MH i2c: 01 07 00 75 20 00 00 00 00 00 FF 0F AA [10:22:01]process_action close_receipt done [10:22:01]requested_data is exist [10:22:01]produce_requested_data [10:22:01]requested_item fm.sn is exist - process it [10:22:01]wFMCommunicate request_size=4 [10:22:01]MH_SAM_APDU [10:22:01]CAPDU: 80 11 00 00 [10:22:01]Write to MH i2c: E2 08 00 76 20 80 11 00 00 00 00 00 00 10 [10:22:01]Write i2c OK [10:22:01]MH_I2C_Read... [10:22:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:01]Read from MH i2c: E2 [10:22:01]MH_I2C_Read... [10:22:01]Read from MH i2c: E2 17 00 [10:22:01]MH_I2C_Read... [10:22:01]Read from MH i2c: E2 17 00 76 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 62 [10:22:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:22:01]wFMCommunicate OK [10:22:01]requested_item fd.num is exist - process it [10:22:01]SAM_PROTO_GetFieldsCounters [10:22:01]wFMCommunicate request_size=4 [10:22:01]MH_SAM_APDU [10:22:01]CAPDU: 80 13 00 00 [10:22:01]Write to MH i2c: E2 08 00 77 20 80 13 00 00 00 00 00 00 13 [10:22:01]Write i2c OK [10:22:01]MH_I2C_Read... [10:22:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:22:01]Read from MH i2c: E2 [10:22:01]MH_I2C_Read... [10:22:01]Read from MH i2c: E2 62 00 [10:22:01]MH_I2C_Read... [10:22:01]Read from MH i2c: E2 62 00 77 20 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 14 56 00 00 0E 04 04 00 44 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 1C [10:22:01]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 14 56 00 00 0E 04 04 00 44 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 [10:22:01]wFMCommunicate OK [10:22:01]SAM_PROTO_GetFieldsCounters done [10:22:01]requested_item shift.num is exist - process it [10:22:01]requested_item shift.opened is exist - process it [10:22:01]req_shift_opened [10:22:01]FM_GetShiftState [10:22:01]SAM_PROTO_GetShiftState [10:22:01]wFMCommunicate request_size=4 [10:22:01]MH_SAM_APDU [10:22:01]CAPDU: 80 13 01 00 [10:22:01]Write to MH i2c: E2 08 00 78 20 80 13 01 00 00 00 00 00 15 [10:22:01]Write i2c OK [10:22:01]MH_I2C_Read... [10:22:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:01]Read from MH i2c: E2 [10:22:01]MH_I2C_Read... [10:22:01]Read from MH i2c: E2 0E 00 [10:22:01]MH_I2C_Read... [10:22:01]Read from MH i2c: E2 0E 00 78 20 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 33 [10:22:01]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [10:22:01]wFMCommunicate OK [10:22:01]SAM_PROTO_GetShiftState done [10:22:01]FM_GetShiftState done [10:22:01]req_shift_opened done [10:22:01]requested_item shift.open_date is exist - process it [10:22:01]req_shift_open_date [10:22:01]req_shift_open_date done [10:22:01]produce_requested_data done [10:22:01]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22036,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [10:22:01]process_action_free close_receipt [10:22:01]json_value_free [10:22:01]json_value_free done [10:22:01]process_json_proto returns [10:22:01]Send response to host [10:22:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22036,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [10:22:01]free response buf [10:22:01]execute_script done [10:22:01]execute_script returns [10:22:01]free content buf [10:22:01]Sock 8.Close socket [10:22:01]Sock 8.Thread stoped [10:22:02]accept exits with 9 [10:22:02]New connection [10:22:02]New thread 3067321700 created [10:22:02]Thread 3067178340 joined [10:22:02]Waiting for new connection... [10:22:02] Sock 9.Parse request [10:22:02]Sock 9.Check first char [10:22:02]Sock 9.First char is OK [10:22:02]request: POST /json_proto HTTP/1.0 [10:22:02]Method: POST [10:22:02]URL: /json_proto [10:22:02]Method is POST - this is cgi request [10:22:02]url: /json_proto [10:22:02]query_string will be loaded in cgi processing [10:22:02]execute_cgi json_proto POST (null) [10:22:02]execute_cgi path=json_proto method=POST [10:22:02]POST find Content-Length [10:22:02]Host: 172.17.35.133:8080 [10:22:02]Content-Length: 688 [10:22:02]Content-Type: application/json [10:22:02] [10:22:02]POST finish read [10:22:02]Found Content-Length = 688 [10:22:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609567", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 72.10, "quantity" : 15.000, "sum" : 1081.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1081.00, "total" : 1081.00, "payments": [ { "type": 0, "sum" : 1081.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:02]execute_script... [10:22: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 : (1)1609567", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 72.10, "quantity" : 15.000, "sum" : 1081.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1081.00, "total" : 1081.00, "payments": [ { "type": 0, "sum" : 1081.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:02]POST & json_proto [10:22:02]process_json_proto [10:22:02]json parsed OK: [10:22:02]protocol is kg_v1.0 [10:22:02]action value=close_receipt [10:22:02]process_action close_receipt [10:22:02]cmd_close_receipt [10:22:02]MH_GetDate [10:22:02]Write to MH i2c: F0 00 00 79 20 88 [10:22:02]Write i2c OK [10:22:02]MH_I2C_Read... [10:22:02]Read from MH i2c: F0 [10:22:02]MH_I2C_Read... [10:22:02]Read from MH i2c: F0 09 00 [10:22:02]MH_I2C_Read... [10:22:02]Read from MH i2c: F0 09 00 79 20 00 52 C8 6A 66 8C 55 28 65 E9 [10:22:02]GetLastDocTimeStamp 1718274125 [10:22:02]current date 1718274130 [10:22:02]FM_GetShiftState [10:22:02]SAM_PROTO_GetShiftState [10:22:02]wFMCommunicate request_size=4 [10:22:02]MH_SAM_APDU [10:22:02]CAPDU: 80 13 01 00 [10:22:02]Write to MH i2c: E2 08 00 7A 20 80 13 01 00 00 00 00 00 17 [10:22:02]Write i2c OK [10:22:02]MH_I2C_Read... [10:22:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:02]Read from MH i2c: E2 [10:22:02]MH_I2C_Read... [10:22:02]Read from MH i2c: E2 0E 00 [10:22:02]MH_I2C_Read... [10:22:02]Read from MH i2c: E2 0E 00 7A 20 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 35 [10:22:02]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [10:22:02]wFMCommunicate OK [10:22:02]SAM_PROTO_GetShiftState done [10:22:02]FM_GetShiftState done [10:22:02]opened in 1718237959 [10:22:02]opened+sec_in_day 1718324359 [10:22:02]quantity*price = 108150 [10:22:02]sum+1 = 108151 [10:22:02]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.50 ИТОГО: 1081.00 Внесено: 1081.00 СДАЧА: 0.00 НСП 1% : 9.57 НДС 12% : 114.85 Наличными: 1081.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 17 13.06.2024 10:22 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22037 ФПД: 117573883143426 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T102210&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22037&fm=117573883143426&tin=02508201610067®Number=0000000000099755&sum=108100 [10:22:04]StoreToDocumentArchive [10:22:04]shift 324 fd 22037 [10:22:04]save to /storage/0324/doc_00022037 [10:22:04]save last doc name /storage/0324/doc_00022037 to /storage/kkm_last_doc_name [10:22:04]save OK [10:22:04]Clear old archive folders... [10:22:04]ProcessDocumentItem done err = 0, tmpTLVsize=252 [10:22:04]tlvbuf is B6F02BB0 [10:22:04]SAM_PROTO_ClearQueue [10:22:04]wFMCommunicate request_size=4 [10:22:04]MH_SAM_APDU [10:22:04]CAPDU: 80 09 00 00 [10:22:04]Write to MH i2c: E2 08 00 87 20 80 09 00 00 00 00 00 00 19 [10:22:04]Write i2c OK [10:22:04]MH_I2C_Read... [10:22:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:22:04]Read from MH i2c: E2 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 03 00 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 03 00 87 20 00 90 00 1B [10:22:04]RAPDU: 90 00 [10:22:04]wFMCommunicate OK [10:22:04]SAM_PROTO_ClearQueue done [10:22:04]KKMCreateOFDPacket [10:22:04]OFDProtocolAddRootSTLVToBuf [10:22:04]FM_MakeSignedData [10:22:04]FM_MakeSignedData [10:22:04]SAM_PROTO_SignData [10:22:04]wFMCommunicate request_size=4 [10:22:04]MH_SAM_APDU [10:22:04]CAPDU: 80 0D 01 02 [10:22:04]Write to MH i2c: E2 08 00 88 20 80 0D 01 02 00 00 00 00 21 [10:22:04]Write i2c OK [10:22:04]MH_I2C_Read... [10:22:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:22:04]Read from MH i2c: E2 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 03 00 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 03 00 88 20 00 90 00 1C [10:22:04]RAPDU: 90 00 [10:22:04]wFMCommunicate OK [10:22:04]wFMCommunicate request_size=255 [10:22:04]MH_SAM_APDU [10:22:04]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 98 3A 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 76 A6 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 A6 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 2C 00 00 00 00 07 04 06 00 44 A6 01 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 52 C8 6A 66 0E 04 04 00 44 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 15 56 00 00 35 04 06 00 [10:22:04]Write to MH i2c: E2 02 01 89 20 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 98 3A 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 76 A6 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 A6 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 2C 00 00 00 00 07 04 06 00 44 A6 01 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 52 C8 6A 66 0E 04 04 00 44 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 15 56 00 00 35 04 06 00 00 00 ED [10:22:04]Write i2c OK [10:22:04]MH_I2C_Read... [10:22:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:04]Read from MH i2c: E2 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 03 00 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 03 00 89 20 00 90 00 1D [10:22:04]RAPDU: 90 00 [10:22:04]wFMCommunicate OK [10:22:04]wFMCommunicate request_size=11 [10:22:04]MH_SAM_APDU [10:22:04]CAPDU: 80 0D 02 02 06 6A EE CD 8A 25 02 [10:22:04]Write to MH i2c: E2 0E 00 8A 20 80 0D 02 02 06 00 6A EE CD 8A 25 02 00 00 06 [10:22:04]Write i2c OK [10:22:04]MH_I2C_Read... [10:22:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:04]Read from MH i2c: E2 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 03 00 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 03 00 8A 20 00 90 00 1E [10:22:04]RAPDU: 90 00 [10:22:04]wFMCommunicate OK [10:22:04]wFMCommunicate request_size=4 [10:22:04]MH_SAM_APDU [10:22:04]CAPDU: 80 0D 03 02 [10:22:04]Write to MH i2c: E2 08 00 8B 20 80 0D 03 02 00 00 00 00 26 [10:22:04]Write i2c OK [10:22:04]MH_I2C_Read... [10:22:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:22:04]Read from MH i2c: E2 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 0B 00 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 0B 00 8B 20 00 4D 6C 70 7D 40 E4 B2 CC 90 00 6F [10:22:04]RAPDU: 4D 6C 70 7D 40 E4 B2 CC 90 00 [10:22:04]wFMCommunicate OK [10:22:04]SAM_PROTO_SignData done [10:22:04]FM_MakeSignedData done [10:22:04]CreateOFDProtocolMessage [10:22:04]wFMCommunicate request_size=4 [10:22:04]MH_SAM_APDU [10:22:04]CAPDU: 80 11 00 00 [10:22:04]Write to MH i2c: E2 08 00 8C 20 80 11 00 00 00 00 00 00 26 [10:22:04]Write i2c OK [10:22:04]MH_I2C_Read... [10:22:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:04]Read from MH i2c: E2 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 17 00 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: E2 17 00 8C 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 78 [10:22:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:22:04]wFMCommunicate OK [10:22:04]CreateOFDProtocolMessage done [10:22:04]OFDSenderStorePacket 22037 [10:22:04]StoreOFDPacket docnum=22037 [10:22: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 10 01 00 00 7C 95 08 01 38 D2 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 98 3A 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 76 A6 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 A6 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 2C 00 00 00 00 07 04 06 00 44 A6 01 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 52 C8 6A 66 0E 04 04 00 44 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 15 56 00 00 35 04 06 00 6A EE CD 8A 25 02 4D 6C 70 7D 40 E4 B2 CC [10:22:04]CheckFolder [10:22:04]dirname=/storage/ofd_packets [10:22:04]CheckFolder done [10:22:04]ProducePacketName [10:22:04]name=ofd_packets/00022037 [10:22:04]NVStorageSaveData ofd_packets/00022037 [10:22:04]File name is /storage/ofd_packets/00022037 [10:22:04]Write 302 bytes [10:22:04]NVStorageSaveData done [10:22:04]OFDSenderStorePacket done [10:22:04]KKMCreateOFDPacket done [10:22:04]NVStorageSaveData kkm_last_timestamp [10:22:04]File name is /storage/kkm_last_timestamp [10:22:04]Write 4 bytes [10:22:04]NVStorageSaveData done [10:22:04]ExternCall_PrintAddStr [10:22:04]wPrintStart [10:22:04]Write to MH i2c: 01 00 00 8D 20 AD [10:22:04]Write i2c OK [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: 01 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: 01 07 00 [10:22:04]MH_I2C_Read... [10:22:04]Read from MH i2c: 01 07 00 8D 20 00 00 00 00 00 FF 0F C2 [10:22:04]RasterBufferAndPrint [10:22:04]line Счет N : (1)1609567 [10:22:04]line ИНН: 02508201610067 [10:22:04]line Контрольно-Кассовый Чек [10:22:04]line ПРОДАЖА [10:22:04]line ТРК (МРК, ГНК) : 41 [10:22:04]line Товар: 2710194210 [10:22:04]line ДТ(л)-К-4 [10:22:04]line 15.000 * 72.10 [10:22:04]line = 1081.50 [10:22:04]line НДС 12% НСП 1% [10:22:04]line > о реализуемом товаре [10:22:04]line ОКРУГЛЕНИЕ: -0.50 [10:22:04]line ИТОГО: 1081.00 [10:22:04]line Внесено: 1081.00 [10:22:04]line СДАЧА: 0.00 [10:22:04]line НСП 1% : 9.57 [10:22:04]line НДС 12% : 114.85 [10:22:04]line Наличными: 1081.00 [10:22:04]line Безнал.: 0.00 [10:22:04]line Место: АЗС № 76 "Партнер Нефть" [10:22:04]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:22:04]line СНО: Общий режим [10:22:04]line Чек 17 13.06.2024 10:22 [10:22:04]line Смена: 324 ФФД: 1.0 [10:22:04]line ЗНМ: 0300000200 [10:22:04]line РНМ: 0000000000099755 [10:22:04]line Версия ККМ: 001 [10:22:04]line ФМ: 0000000000965344 [10:22:04]line ФД: 22037 [10:22:04]line ФПД: 117573883143426 [10:22:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T102210&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22037&fm=117573883143426&tin=02508201610067®Number=0000000000099755&sum=108100 [10:22:04]written 0, free lines is 4095 [10:22:04]OFD Sender: Processing packet 22037 [packets to send 5, broken 4] [10:22:04]ProducePacketName [10:22:04]name=ofd_packets/00022037 [10:22:04]OFD Sender: To server: pG, [10:22:04]CommunicateWithHost lk.salyk.kg:30040 [10:22:04]ConnectInit lk.salyk.kg [10:22:04]Connected sock=10 [10:22: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 10 01 00 00 7C 95 08 01 38 D2 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 98 3A 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 76 A6 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 A6 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 2C 00 00 00 00 07 04 06 00 44 A6 01 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 52 C8 6A 66 0E 04 04 00 44 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 15 56 00 00 35 04 06 00 6A EE CD 8A 25 02 4D 6C 70 7D 40 E4 B2 CC [10:22: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 2B C3 47 00 D8 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 15 56 00 00 F4 03 04 00 16 71 6A 66 B6 04 01 00 00 BA F8 34 6A 07 DA 78 80 [10:22:05]CommunicateWithHost err = 0 [10:22:05]CheckOFDResponse [10:22:05]1017 (14) - 77093643461234 [10:22:05]1041 (16) - 0000000000965344 [10:22:05]1040 (4) - 22037 [10:22:05]1012 (4) - 13.06.2024 04:09 [10:22:05]1206 (1) - 0 [10:22:05]OFD Sender: Remove packet 22037 [10:22:05]ProducePacketName [10:22:05]name=ofd_packets/00022037 [10:22:05]NVStorageDeleteData [10:22:05]Write to MH i2c: 01 00 00 B8 20 D8 [10:22:05]Write i2c OK [10:22:05]MH_I2C_Read... [10:22:05]Read from MH i2c: 01 [10:22:05]MH_I2C_Read... [10:22:05]Read from MH i2c: 01 07 00 [10:22:05]MH_I2C_Read... [10:22:05]Read from MH i2c: 01 07 00 B8 20 00 00 00 00 00 12 0D FE [10:22:05]RasterBufferAndPrint [10:22:05]line [10:22:05]line [10:22:05]line [10:22:05]line [10:22:05]line [10:22:05]written 0, free lines is 3362 [10:22:05]MH_Cut [10:22:05]Write to MH i2c: D1 01 00 BF 20 01 B1 [10:22:05]Write i2c OK [10:22:05]MH_I2C_Read... [10:22:05]Read from MH i2c: D1 [10:22:05]MH_I2C_Read... [10:22:05]Read from MH i2c: D1 01 00 [10:22:05]MH_I2C_Read... [10:22:05]Read from MH i2c: D1 01 00 BF 20 00 B0 [10:22:05]Write to MH i2c: 01 00 00 C0 20 E0 [10:22:05]Write i2c OK [10:22:05]MH_I2C_Read... [10:22:05]OFD Sender: No OFD packet to send [10:22:05]*** Cut start [10:22:05]*** Partial cut [10:22:05]*** CUTSNS_PIN = 1 [10:22:05]*** CUTSNS_PIN = 0 [10:22:06]*** Brake cut motor [10:22:06]Read from MH i2c: 01 [10:22:06]MH_I2C_Read... [10:22:06]*** Stop cut motor [10:22:06]*** Cut end [10:22:06]Read from MH i2c: 01 07 00 [10:22:06]MH_I2C_Read... [10:22:06]Read from MH i2c: 01 07 00 C0 20 00 00 00 00 00 FF 0F F5 [10:22:06]process_action close_receipt done [10:22:06]requested_data is exist [10:22:06]produce_requested_data [10:22:06]requested_item fm.sn is exist - process it [10:22:06]wFMCommunicate request_size=4 [10:22:06]MH_SAM_APDU [10:22:06]CAPDU: 80 11 00 00 [10:22:06]Write to MH i2c: E2 08 00 C1 20 80 11 00 00 00 00 00 00 5B [10:22:06]Write i2c OK [10:22:06]MH_I2C_Read... [10:22:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:06]Read from MH i2c: E2 [10:22:06]MH_I2C_Read... [10:22:06]Read from MH i2c: E2 17 00 [10:22:06]MH_I2C_Read... [10:22:06]Read from MH i2c: E2 17 00 C1 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AD [10:22: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:22:06]wFMCommunicate OK [10:22:06]requested_item fd.num is exist - process it [10:22:06]SAM_PROTO_GetFieldsCounters [10:22:06]wFMCommunicate request_size=4 [10:22:06]MH_SAM_APDU [10:22:06]CAPDU: 80 13 00 00 [10:22:06]Write to MH i2c: E2 08 00 C2 20 80 13 00 00 00 00 00 00 5E [10:22:06]Write i2c OK [10:22:06]MH_I2C_Read... [10:22:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:22:06]Read from MH i2c: E2 [10:22:06]MH_I2C_Read... [10:22:06]Read from MH i2c: E2 62 00 [10:22:06]MH_I2C_Read... [10:22:06]Read from MH i2c: E2 62 00 C2 20 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 15 56 00 00 0E 04 04 00 44 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 6B [10:22: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 15 56 00 00 0E 04 04 00 44 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 [10:22:06]wFMCommunicate OK [10:22:06]SAM_PROTO_GetFieldsCounters done [10:22:06]requested_item shift.num is exist - process it [10:22:06]requested_item shift.opened is exist - process it [10:22:06]req_shift_opened [10:22:06]FM_GetShiftState [10:22:06]SAM_PROTO_GetShiftState [10:22:06]wFMCommunicate request_size=4 [10:22:06]MH_SAM_APDU [10:22:06]CAPDU: 80 13 01 00 [10:22:06]Write to MH i2c: E2 08 00 C3 20 80 13 01 00 00 00 00 00 60 [10:22:06]Write i2c OK [10:22:06]MH_I2C_Read... [10:22:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:06]Read from MH i2c: E2 [10:22:06]MH_I2C_Read... [10:22:06]Read from MH i2c: E2 0E 00 [10:22:06]MH_I2C_Read... [10:22:06]Read from MH i2c: E2 0E 00 C3 20 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 7E [10:22:06]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [10:22:06]wFMCommunicate OK [10:22:06]SAM_PROTO_GetShiftState done [10:22:06]FM_GetShiftState done [10:22:06]req_shift_opened done [10:22:06]requested_item shift.open_date is exist - process it [10:22:06]req_shift_open_date [10:22:06]req_shift_open_date done [10:22:06]produce_requested_data done [10:22:06]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22037,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [10:22:06]process_action_free close_receipt [10:22:06]json_value_free [10:22:06]json_value_free done [10:22:06]process_json_proto returns [10:22:06]Send response to host [10:22:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22037,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [10:22:06]free response buf [10:22:06]execute_script done [10:22:06]execute_script returns [10:22:06]free content buf [10:22:06]Sock 9.Close socket [10:22:06]Sock 9.Thread stoped [10:22:10]OFD Sender: No OFD packet to send [10:22:15]OFD Sender: No OFD packet to send [10:22:20]accept exits with 8 [10:22:20]New connection [10:22:20]New thread 3067178340 created [10:22:20]Thread 3067321700 joined [10:22:20]Waiting for new connection... [10:22:20] Sock 8.Parse request [10:22:20]Sock 8.Check first char [10:22:20]Sock 8.First char is OK [10:22:20]request: POST /json_proto HTTP/1.0 [10:22:20]Method: POST [10:22:20]URL: /json_proto [10:22:20]Method is POST - this is cgi request [10:22:20]url: /json_proto [10:22:20]query_string will be loaded in cgi processing [10:22:20]execute_cgi json_proto POST (null) [10:22:20]execute_cgi path=json_proto method=POST [10:22:20]POST find Content-Length [10:22:20]Host: 172.17.35.133:8080 [10:22:20]Content-Length: 829 [10:22:20]Content-Type: application/json [10:22:20] [10:22:20]POST finish read [10:22:20]Found Content-Length = 829 [10:22:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254271", "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:20]execute_script... [10:22:20]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)254271", "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:20]POST & json_proto [10:22:20]process_json_proto [10:22:20]json parsed OK: [10:22:20]protocol is kg_v1.0 [10:22:20]action value=close_receipt [10:22:20]process_action close_receipt [10:22:20]cmd_close_receipt [10:22:20]MH_GetDate [10:22:20]Write to MH i2c: F0 00 00 C4 20 D3 [10:22:20]Write i2c OK [10:22:20]MH_I2C_Read... [10:22:20]Read from MH i2c: F0 [10:22:20]MH_I2C_Read... [10:22:20]Read from MH i2c: F0 09 00 [10:22:20]MH_I2C_Read... [10:22:20]Read from MH i2c: F0 09 00 C4 20 00 64 C8 6A 66 8C 55 28 65 46 [10:22:20]GetLastDocTimeStamp 1718274130 [10:22:20]current date 1718274148 [10:22:20]FM_GetShiftState [10:22:20]SAM_PROTO_GetShiftState [10:22:20]wFMCommunicate request_size=4 [10:22:20]MH_SAM_APDU [10:22:20]CAPDU: 80 13 01 00 [10:22:20]Write to MH i2c: E2 08 00 C5 20 80 13 01 00 00 00 00 00 62 [10:22:20]Write i2c OK [10:22:20]MH_I2C_Read... [10:22:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:20]Read from MH i2c: E2 [10:22:20]MH_I2C_Read... [10:22:20]Read from MH i2c: E2 0E 00 [10:22:20]MH_I2C_Read... [10:22:20]Read from MH i2c: E2 0E 00 C5 20 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 80 [10:22:20]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [10:22:20]wFMCommunicate OK [10:22:20]SAM_PROTO_GetShiftState done [10:22:20]FM_GetShiftState done [10:22:20]opened in 1718237959 [10:22:20]opened+sec_in_day 1718324359 [10:22:20]quantity*price = 13000 [10:22:20]sum+1 = 13001 [10:22:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 18 13.06.2024 10:22 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22038 ФПД: 67014130298542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T102228&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22038&fm=67014130298542&tin=02508201610067®Number=0000000000099755&sum=13000 0 [10:22:21]StoreToDocumentArchive [10:22:21]shift 324 fd 22038 [10:22:21]save to /storage/0324/doc_00022038 [10:22:21]save last doc name /storage/0324/doc_00022038 to /storage/kkm_last_doc_name [10:22:21]save OK [10:22:21]Clear old archive folders... [10:22:21]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:22:21]tlvbuf is 003779B0 [10:22:21]SAM_PROTO_ClearQueue [10:22:21]wFMCommunicate request_size=4 [10:22:21]MH_SAM_APDU [10:22:21]CAPDU: 80 09 00 00 [10:22:21]Write to MH i2c: E2 08 00 D2 20 80 09 00 00 00 00 00 00 64 [10:22:21]Write i2c OK [10:22:21]MH_I2C_Read... [10:22:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:22:21]Read from MH i2c: E2 [10:22:21]MH_I2C_Read... [10:22:21]Read from MH i2c: E2 03 00 [10:22:21]MH_I2C_Read... [10:22:21]Read from MH i2c: E2 03 00 D2 20 00 90 00 66 [10:22:21]RAPDU: 90 00 [10:22:21]wFMCommunicate OK [10:22:21]SAM_PROTO_ClearQueue done [10:22:21]KKMCreateOFDPacket [10:22:21]OFDProtocolAddRootSTLVToBuf [10:22:21]FM_MakeSignedData [10:22:21]FM_MakeSignedData [10:22:21]SAM_PROTO_SignData [10:22:21]wFMCommunicate request_size=4 [10:22:21]MH_SAM_APDU [10:22:21]CAPDU: 80 0D 01 02 [10:22:21]Write to MH i2c: E2 08 00 D3 20 80 0D 01 02 00 00 00 00 6C [10:22:21]Write i2c OK [10:22:21]MH_I2C_Read... [10:22:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:22:21]Read from MH i2c: E2 [10:22:21]MH_I2C_Read... [10:22:21]Read from MH i2c: E2 03 00 [10:22:21]MH_I2C_Read... [10:22:21]Read from MH i2c: E2 03 00 D3 20 00 90 00 67 [10:22:21]RAPDU: 90 00 [10:22:21]wFMCommunicate OK [10:22:21]wFMCommunicate request_size=255 [10:22:21]MH_SAM_APDU [10:22:21]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 12 00 00 00 F4 03 04 00 64 C8 6A 66 0E 04 04 00 44 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:22:21]Write to MH i2c: E2 02 01 D4 20 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 12 00 00 00 F4 03 04 00 64 C8 6A 66 0E 04 04 00 44 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 E4 [10:22:21]Write i2c OK [10:22:21]MH_I2C_Read... [10:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:22]Read from MH i2c: E2 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: E2 03 00 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: E2 03 00 D4 20 00 90 00 68 [10:22:22]RAPDU: 90 00 [10:22:22]wFMCommunicate OK [10:22:22]wFMCommunicate request_size=35 [10:22:22]MH_SAM_APDU [10:22:22]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 16 56 00 00 35 04 06 00 3C F2 F1 6E 6E AE [10:22:22]Write to MH i2c: E2 26 00 D5 20 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 16 56 00 00 35 04 06 00 3C F2 F1 6E 6E AE 00 00 76 [10:22:22]Write i2c OK [10:22:22]MH_I2C_Read... [10:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:22]Read from MH i2c: E2 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: E2 03 00 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: E2 03 00 D5 20 00 90 00 69 [10:22:22]RAPDU: 90 00 [10:22:22]wFMCommunicate OK [10:22:22]wFMCommunicate request_size=4 [10:22:22]MH_SAM_APDU [10:22:22]CAPDU: 80 0D 03 02 [10:22:22]Write to MH i2c: E2 08 00 D6 20 80 0D 03 02 00 00 00 00 71 [10:22:22]Write i2c OK [10:22:22]MH_I2C_Read... [10:22:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:22:22]Read from MH i2c: E2 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: E2 0B 00 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: E2 0B 00 D6 20 00 FE 79 F9 8D 2A 10 A7 F7 90 00 47 [10:22:22]RAPDU: FE 79 F9 8D 2A 10 A7 F7 90 00 [10:22:22]wFMCommunicate OK [10:22:22]SAM_PROTO_SignData done [10:22:22]FM_MakeSignedData done [10:22:22]CreateOFDProtocolMessage [10:22:22]wFMCommunicate request_size=4 [10:22:22]MH_SAM_APDU [10:22:22]CAPDU: 80 11 00 00 [10:22:22]Write to MH i2c: E2 08 00 D7 20 80 11 00 00 00 00 00 00 71 [10:22:22]Write i2c OK [10:22:22]MH_I2C_Read... [10:22:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:22]Read from MH i2c: E2 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: E2 17 00 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: E2 17 00 D7 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C3 [10:22:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:22:22]wFMCommunicate OK [10:22:22]CreateOFDProtocolMessage done [10:22:22]OFDSenderStorePacket 22038 [10:22:22]StoreOFDPacket docnum=22038 [10:22:22]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 8B DD 20 01 12 58 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 12 00 00 00 F4 03 04 00 64 C8 6A 66 0E 04 04 00 44 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 16 56 00 00 35 04 06 00 3C F2 F1 6E 6E AE FE 79 F9 8D 2A 10 A7 F7 [10:22:22]CheckFolder [10:22:22]dirname=/storage/ofd_packets [10:22:22]CheckFolder done [10:22:22]ProducePacketName [10:22:22]name=ofd_packets/00022038 [10:22:22]NVStorageSaveData ofd_packets/00022038 [10:22:22]File name is /storage/ofd_packets/00022038 [10:22:22]Write 326 bytes [10:22:22]NVStorageSaveData done [10:22:22]OFDSenderStorePacket done [10:22:22]KKMCreateOFDPacket done [10:22:22]NVStorageSaveData kkm_last_timestamp [10:22:22]File name is /storage/kkm_last_timestamp [10:22:22]Write 4 bytes [10:22:22]NVStorageSaveData done [10:22:22]ExternCall_PrintAddStr [10:22:22]wPrintStart [10:22:22]Write to MH i2c: 01 00 00 D8 20 F8 [10:22:22]Write i2c OK [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: 01 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: 01 07 00 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: 01 07 00 D8 20 00 00 00 00 00 FF 0F 0D [10:22:22]RasterBufferAndPrint [10:22:22]line Счет N : (3)254271 [10:22:22]line ИНН: 02508201610067 [10:22:22]line Контрольно-Кассовый Чек [10:22:22]line ПРОДАЖА [10:22:22]line Товар: 2000036230011 [10:22:22]line Кофе Латте XL(GABB TRADE) [10:22:22]line 1.000 * 130.00 [10:22:22]line = 130.00 [10:22:22]line НДС 12% НСП 1% [10:22:22]line > о реализуемом товаре [10:22:22]line ИТОГО: 130.00 [10:22:22]line НСП 1% : 1.15 [10:22:22]line НДС 12% : 13.80 [10:22:22]line Наличными: 0.00 [10:22:22]line Безнал.: 130.00 [10:22:22]line Место: АЗС № 76 "Партнер Нефть" [10:22:22]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:22:22]line СНО: Общий режим [10:22:22]line Чек 18 13.06.2024 10:22 [10:22:22]line Смена: 324 ФФД: 1.0 [10:22:22]line ЗНМ: 0300000200 [10:22:22]line РНМ: 0000000000099755 [10:22:22]line Версия ККМ: 001 [10:22:22]line Платежная система: АКБ Кыргызстан [10:22:22]line ФМ: 0000000000965344 [10:22:22]line ФД: 22038 [10:22:22]line ФПД: 67014130298542 [10:22:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T102228&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22038&fm=67014130298542&tin=02508201610067®Number=0000000000099755&sum=13000 [10:22:22]line 0 [10:22:22]written 0, free lines is 4095 [10:22:22]OFD Sender: Processing packet 22038 [packets to send 5, broken 4] [10:22:22]ProducePacketName [10:22:22]name=ofd_packets/00022038 [10:22:22]OFD Sender: To server: pG, [10:22:22]CommunicateWithHost lk.salyk.kg:30040 [10:22:22]ConnectInit lk.salyk.kg [10:22:22]Connected sock=10 [10:22: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 28 01 00 00 8B DD 20 01 12 58 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 12 00 00 00 F4 03 04 00 64 C8 6A 66 0E 04 04 00 44 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 16 56 00 00 35 04 06 00 3C F2 F1 6E 6E AE FE 79 F9 8D 2A 10 A7 F7 [10:22: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 E5 F8 47 00 1A AE 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 16 56 00 00 F4 03 04 00 28 71 6A 66 B6 04 01 00 00 06 97 C2 23 AF 37 5F 94 [10:22:22]CommunicateWithHost err = 0 [10:22:22]CheckOFDResponse [10:22:22]1017 (14) - 77093643461234 [10:22:22]1041 (16) - 0000000000965344 [10:22:22]1040 (4) - 22038 [10:22:22]1012 (4) - 13.06.2024 04:10 [10:22:22]1206 (1) - 0 [10:22:22]OFD Sender: Remove packet 22038 [10:22:22]ProducePacketName [10:22:22]name=ofd_packets/00022038 [10:22:22]NVStorageDeleteData [10:22:22]Write to MH i2c: 01 00 00 02 21 23 [10:22:22]Write i2c OK [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: 01 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: 01 07 00 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: 01 07 00 02 21 00 00 00 00 00 21 0D 58 [10:22:22]RasterBufferAndPrint [10:22:22]line [10:22:22]line [10:22:22]line [10:22:22]line [10:22:22]line [10:22:22]written 0, free lines is 3376 [10:22:22]MH_Cut [10:22:22]Write to MH i2c: D1 01 00 09 21 01 FC [10:22:22]Write i2c OK [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: D1 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: D1 01 00 [10:22:22]MH_I2C_Read... [10:22:22]Read from MH i2c: D1 01 00 09 21 00 FB [10:22:22]Write to MH i2c: 01 00 00 0A 21 2B [10:22:22]Write i2c OK [10:22:22]MH_I2C_Read... [10:22:23]OFD Sender: No OFD packet to send [10:22:23]*** Cut start [10:22:23]*** Partial cut [10:22:23]*** CUTSNS_PIN = 1 [10:22:23]*** CUTSNS_PIN = 0 [10:22:23]*** Brake cut motor [10:22:24]Read from MH i2c: 01 [10:22:24]MH_I2C_Read... [10:22:24]*** Stop cut motor [10:22:24]*** Cut end [10:22:24]Read from MH i2c: 01 07 00 [10:22:24]MH_I2C_Read... [10:22:24]Read from MH i2c: 01 07 00 0A 21 00 00 00 00 00 FF 0F 40 [10:22:24]process_action close_receipt done [10:22:24]requested_data is exist [10:22:24]produce_requested_data [10:22:24]requested_item fm.sn is exist - process it [10:22:24]wFMCommunicate request_size=4 [10:22:24]MH_SAM_APDU [10:22:24]CAPDU: 80 11 00 00 [10:22:24]Write to MH i2c: E2 08 00 0B 21 80 11 00 00 00 00 00 00 A6 [10:22:24]Write i2c OK [10:22:24]MH_I2C_Read... [10:22:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:24]Read from MH i2c: E2 [10:22:24]MH_I2C_Read... [10:22:24]Read from MH i2c: E2 17 00 [10:22:24]MH_I2C_Read... [10:22:24]Read from MH i2c: E2 17 00 0B 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F8 [10:22:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:22:24]wFMCommunicate OK [10:22:24]requested_item fd.num is exist - process it [10:22:24]SAM_PROTO_GetFieldsCounters [10:22:24]wFMCommunicate request_size=4 [10:22:24]MH_SAM_APDU [10:22:24]CAPDU: 80 13 00 00 [10:22:24]Write to MH i2c: E2 08 00 0C 21 80 13 00 00 00 00 00 00 A9 [10:22:24]Write i2c OK [10:22:24]MH_I2C_Read... [10:22:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:22:24]Read from MH i2c: E2 [10:22:24]MH_I2C_Read... [10:22:24]Read from MH i2c: E2 62 00 [10:22:24]MH_I2C_Read... [10:22:24]Read from MH i2c: E2 62 00 0C 21 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 16 56 00 00 0E 04 04 00 44 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 BA [10:22:24]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 16 56 00 00 0E 04 04 00 44 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 [10:22:24]wFMCommunicate OK [10:22:24]SAM_PROTO_GetFieldsCounters done [10:22:24]requested_item shift.num is exist - process it [10:22:24]requested_item shift.opened is exist - process it [10:22:24]req_shift_opened [10:22:24]FM_GetShiftState [10:22:24]SAM_PROTO_GetShiftState [10:22:24]wFMCommunicate request_size=4 [10:22:24]MH_SAM_APDU [10:22:24]CAPDU: 80 13 01 00 [10:22:24]Write to MH i2c: E2 08 00 0D 21 80 13 01 00 00 00 00 00 AB [10:22:24]Write i2c OK [10:22:24]MH_I2C_Read... [10:22:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:24]Read from MH i2c: E2 [10:22:24]MH_I2C_Read... [10:22:24]Read from MH i2c: E2 0E 00 [10:22:24]MH_I2C_Read... [10:22:24]Read from MH i2c: E2 0E 00 0D 21 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 C9 [10:22:24]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [10:22:24]wFMCommunicate OK [10:22:24]SAM_PROTO_GetShiftState done [10:22:24]FM_GetShiftState done [10:22:24]req_shift_opened done [10:22:24]requested_item shift.open_date is exist - process it [10:22:24]req_shift_open_date [10:22:24]req_shift_open_date done [10:22:24]produce_requested_data done [10:22:24]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22038,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [10:22:24]process_action_free close_receipt [10:22:24]json_value_free [10:22:24]json_value_free done [10:22:24]process_json_proto returns [10:22:24]Send response to host [10:22:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22038,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [10:22:24]free response buf [10:22:24]execute_script done [10:22:24]execute_script returns [10:22:24]free content buf [10:22:24]Sock 8.Close socket [10:22:24]Sock 8.Thread stoped [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:24:03]OFD Sender: No OFD packet to send [10:24:08]OFD Sender: No OFD packet to send [10:24:13]OFD Sender: No OFD packet to send [10:24:18]OFD Sender: No OFD packet to send [10:24:23]OFD Sender: No OFD packet to send [10:24:28]OFD Sender: No OFD packet to send [10:24:33]OFD Sender: No OFD packet to send [10:24:38]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:18]OFD Sender: No OFD packet to send [10:25:23]OFD Sender: No OFD packet to send [10:25:28]OFD Sender: No OFD packet to send [10:25:33]OFD Sender: No OFD packet to send [10:25:38]OFD Sender: No OFD packet to send [10:25:43]OFD Sender: No OFD packet to send [10:25:48]OFD Sender: No OFD packet to send [10:25:53]OFD Sender: No OFD packet to send [10:25:58]OFD Sender: No OFD packet to send [10:26:03]OFD Sender: No OFD packet to send [10:26:08]OFD Sender: No OFD packet to send [10:26:13]OFD Sender: No OFD packet to send [10:26:18]OFD Sender: No OFD packet to send [10:26:23]OFD Sender: No OFD packet to send [10:26:28]OFD Sender: No OFD packet to send [10:26:33]OFD Sender: No OFD packet to send [10:26:38]OFD Sender: No OFD packet to send [10:26:43]OFD Sender: No OFD packet to send [10:26:48]OFD Sender: No OFD packet to send [10:26:53]OFD Sender: No OFD packet to send [10:26:58]OFD Sender: No OFD packet to send [10:27:03]OFD Sender: No OFD packet to send [10:27:08]OFD Sender: No OFD packet to send [10:27:13]OFD Sender: No OFD packet to send [10:27:18]OFD Sender: No OFD packet to send [10:27:23]OFD Sender: No OFD packet to send [10:27:28]OFD Sender: No OFD packet to send [10:27:33]OFD Sender: No OFD packet to send [10:27:38]OFD Sender: No OFD packet to send [10:27:43]OFD Sender: No OFD packet to send [10:27:48]OFD Sender: No OFD packet to send [10:27:53]OFD Sender: No OFD packet to send [10:27:58]OFD Sender: No OFD packet to send [10:28:03]OFD Sender: No OFD packet to send [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]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:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:48]OFD Sender: No OFD packet to send [10:36:53]OFD Sender: No OFD packet to send [10:36:58]OFD Sender: No OFD packet to send [10:37:03]OFD Sender: No OFD packet to send [10:37:08]OFD Sender: No OFD packet to send [10:37:13]OFD Sender: No OFD packet to send [10:37:18]OFD Sender: No OFD packet to send [10:37:23]OFD Sender: No OFD packet to send [10:37:28]OFD Sender: No OFD packet to send [10:37:31]accept exits with 9 [10:37:31]New connection [10:37:31]New thread 3067321700 created [10:37:31]Thread 3067178340 joined [10:37:31]Waiting for new connection... [10:37:31] Sock 9.Parse request [10:37:31]Sock 9.Check first char [10:37:31]Sock 9.First char is OK [10:37:31]request: POST /json_proto HTTP/1.0 [10:37:31]Method: POST [10:37:31]URL: /json_proto [10:37:31]Method is POST - this is cgi request [10:37:31]url: /json_proto [10:37:31]query_string will be loaded in cgi processing [10:37:31]execute_cgi json_proto POST (null) [10:37:31]execute_cgi path=json_proto method=POST [10:37:31]POST find Content-Length [10:37:31]Host: 172.17.35.133:8080 [10:37:31]Content-Length: 695 [10:37:31]Content-Type: application/json [10:37:31] [10:37:31]POST finish read [10:37:31]Found Content-Length = 695 [10:37:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254272", "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" ] } } [10:37:31]execute_script... [10:37: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)254272", "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" ] } } [10:37:31]POST & json_proto [10:37:31]process_json_proto [10:37:31]json parsed OK: [10:37:31]protocol is kg_v1.0 [10:37:31]action value=close_receipt [10:37:31]process_action close_receipt [10:37:31]cmd_close_receipt [10:37:31]MH_GetDate [10:37:31]Write to MH i2c: F0 00 00 0E 21 1E [10:37:31]Write i2c OK [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: F0 [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: F0 09 00 [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: F0 09 00 0E 21 00 F3 CB 6A 66 8C 55 28 65 23 [10:37:31]GetLastDocTimeStamp 1718274148 [10:37:31]current date 1718275059 [10:37:31]FM_GetShiftState [10:37:31]SAM_PROTO_GetShiftState [10:37:31]wFMCommunicate request_size=4 [10:37:31]MH_SAM_APDU [10:37:31]CAPDU: 80 13 01 00 [10:37:31]Write to MH i2c: E2 08 00 0F 21 80 13 01 00 00 00 00 00 AD [10:37:31]Write i2c OK [10:37:31]MH_I2C_Read... [10:37:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:31]Read from MH i2c: E2 [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: E2 0E 00 [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: E2 0E 00 0F 21 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 CB [10:37:31]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [10:37:31]wFMCommunicate OK [10:37:31]SAM_PROTO_GetShiftState done [10:37:31]FM_GetShiftState done [10:37:31]opened in 1718237959 [10:37:31]opened+sec_in_day 1718324359 [10:37:31]quantity*price = 9500 [10:37:31]sum+1 = 9501 [10:37:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 19 13.06.2024 10:37 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22039 ФПД: 69539077815010 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T103739&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22039&fm=69539077815010&tin=02508201610067®Number=0000000000099755&sum=9500 0 [10:37:32]StoreToDocumentArchive [10:37:32]shift 324 fd 22039 [10:37:32]save to /storage/0324/doc_00022039 [10:37:32]save last doc name /storage/0324/doc_00022039 to /storage/kkm_last_doc_name [10:37:32]save OK [10:37:32]Clear old archive folders... [10:37:32]ProcessDocumentItem done err = 0, tmpTLVsize=302 [10:37:32]tlvbuf is 00257F40 [10:37:32]SAM_PROTO_ClearQueue [10:37:32]wFMCommunicate request_size=4 [10:37:32]MH_SAM_APDU [10:37:32]CAPDU: 80 09 00 00 [10:37:32]Write to MH i2c: E2 08 00 1C 21 80 09 00 00 00 00 00 00 AF [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:37:32]Read from MH i2c: E2 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 1C 21 00 90 00 B1 [10:37:32]RAPDU: 90 00 [10:37:32]wFMCommunicate OK [10:37:32]SAM_PROTO_ClearQueue done [10:37:32]KKMCreateOFDPacket [10:37:32]OFDProtocolAddRootSTLVToBuf [10:37:32]FM_MakeSignedData [10:37:32]FM_MakeSignedData [10:37:32]SAM_PROTO_SignData [10:37:32]wFMCommunicate request_size=4 [10:37:32]MH_SAM_APDU [10:37:32]CAPDU: 80 0D 01 02 [10:37:32]Write to MH i2c: E2 08 00 1D 21 80 0D 01 02 00 00 00 00 B7 [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:37:32]Read from MH i2c: E2 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 1D 21 00 90 00 B2 [10:37:32]RAPDU: 90 00 [10:37:32]wFMCommunicate OK [10:37:32]wFMCommunicate request_size=255 [10:37:32]MH_SAM_APDU [10:37: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 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 13 00 00 00 F4 03 04 00 F3 CB 6A 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 [10:37:32]Write to MH i2c: E2 02 01 1E 21 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 13 00 00 00 F4 03 04 00 F3 CB 6A 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 00 00 7C [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:33]Read from MH i2c: E2 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: E2 03 00 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: E2 03 00 1E 21 00 90 00 B3 [10:37:33]RAPDU: 90 00 [10:37:33]wFMCommunicate OK [10:37:33]wFMCommunicate request_size=61 [10:37:33]MH_SAM_APDU [10:37: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 17 56 00 00 35 04 06 00 3F 3E D4 07 FA E2 [10:37:33]Write to MH i2c: E2 40 00 1F 21 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 17 56 00 00 35 04 06 00 3F 3E D4 07 FA E2 00 00 99 [10:37:33]Write i2c OK [10:37:33]MH_I2C_Read... [10:37:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:33]Read from MH i2c: E2 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: E2 03 00 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: E2 03 00 1F 21 00 90 00 B4 [10:37:33]RAPDU: 90 00 [10:37:33]wFMCommunicate OK [10:37:33]wFMCommunicate request_size=4 [10:37:33]MH_SAM_APDU [10:37:33]CAPDU: 80 0D 03 02 [10:37:33]Write to MH i2c: E2 08 00 20 21 80 0D 03 02 00 00 00 00 BC [10:37:33]Write i2c OK [10:37:33]MH_I2C_Read... [10:37:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:37:33]Read from MH i2c: E2 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: E2 0B 00 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: E2 0B 00 20 21 00 89 D1 65 22 9E 00 F5 B9 90 00 EA [10:37:33]RAPDU: 89 D1 65 22 9E 00 F5 B9 90 00 [10:37:33]wFMCommunicate OK [10:37:33]SAM_PROTO_SignData done [10:37:33]FM_MakeSignedData done [10:37:33]CreateOFDProtocolMessage [10:37:33]wFMCommunicate request_size=4 [10:37:33]MH_SAM_APDU [10:37:33]CAPDU: 80 11 00 00 [10:37:33]Write to MH i2c: E2 08 00 21 21 80 11 00 00 00 00 00 00 BC [10:37:33]Write i2c OK [10:37:33]MH_I2C_Read... [10:37:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:33]Read from MH i2c: E2 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: E2 17 00 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: E2 17 00 21 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 0E [10:37: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:37:33]wFMCommunicate OK [10:37:33]CreateOFDProtocolMessage done [10:37:33]OFDSenderStorePacket 22039 [10:37:33]StoreOFDPacket docnum=22039 [10:37: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 BE F6 3A 01 79 4B 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 13 00 00 00 F4 03 04 00 F3 CB 6A 66 0E 04 04 00 44 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 17 56 00 00 35 04 06 00 3F 3E D4 07 FA E2 89 D1 65 22 9E 00 F5 B9 [10:37:33]CheckFolder [10:37:33]dirname=/storage/ofd_packets [10:37:33]CheckFolder done [10:37:33]ProducePacketName [10:37:33]name=ofd_packets/00022039 [10:37:33]NVStorageSaveData ofd_packets/00022039 [10:37:33]File name is /storage/ofd_packets/00022039 [10:37:33]Write 352 bytes [10:37:33]NVStorageSaveData done [10:37:33]OFDSenderStorePacket done [10:37:33]KKMCreateOFDPacket done [10:37:33]NVStorageSaveData kkm_last_timestamp [10:37:33]File name is /storage/kkm_last_timestamp [10:37:33]Write 4 bytes [10:37:33]NVStorageSaveData done [10:37:33]ExternCall_PrintAddStr [10:37:33]wPrintStart [10:37:33]Write to MH i2c: 01 00 00 22 21 43 [10:37:33]Write i2c OK [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: 01 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: 01 07 00 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: 01 07 00 22 21 00 00 00 00 00 FF 0F 58 [10:37:33]RasterBufferAndPrint [10:37:33]line Счет N : (3)254272 [10:37:33]line ИНН: 02508201610067 [10:37:33]line Контрольно-Кассовый Чек [10:37:33]line ПРОДАЖА [10:37:33]line Товар: 4631162227163 [10:37:33]line Напиток газированный Mojito LEMON LIME ж [10:37:33]line 1.000 * 95.00 [10:37:33]line = 95.00 [10:37:33]line НДС 12% НСП 1% [10:37:33]line > о реализуемом товаре [10:37:33]line ИТОГО: 95.00 [10:37:33]line НСП 1% : 0.84 [10:37:33]line НДС 12% : 10.09 [10:37:33]line Наличными: 95.00 [10:37:33]line Безнал.: 0.00 [10:37:33]line Место: АЗС № 76 "Партнер Нефть" [10:37:33]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:37:33]line СНО: Общий режим [10:37:33]line Чек 19 13.06.2024 10:37 [10:37:33]line Смена: 324 ФФД: 1.0 [10:37:33]line ЗНМ: 0300000200 [10:37:33]line РНМ: 0000000000099755 [10:37:33]line Версия ККМ: 001 [10:37:33]line ФМ: 0000000000965344 [10:37:33]line ФД: 22039 [10:37:33]line ФПД: 69539077815010 [10:37:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T103739&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22039&fm=69539077815010&tin=02508201610067®Number=0000000000099755&sum=9500 [10:37:33]line 0 [10:37:33]OFD Sender: Processing packet 22039 [packets to send 5, broken 4] [10:37:33]ProducePacketName [10:37:33]name=ofd_packets/00022039 [10:37:33]OFD Sender: To server: pG, [10:37:33]CommunicateWithHost lk.salyk.kg:30040 [10:37:33]ConnectInit lk.salyk.kg [10:37:33]written 0, free lines is 4095 [10:37:33]Connected sock=10 [10:37: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 BE F6 3A 01 79 4B 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 13 00 00 00 F4 03 04 00 F3 CB 6A 66 0E 04 04 00 44 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 17 56 00 00 35 04 06 00 3F 3E D4 07 FA E2 89 D1 65 22 9E 00 F5 B9 [10:37: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 12 8E 47 00 46 0F 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 17 56 00 00 F4 03 04 00 B7 74 6A 66 B6 04 01 00 00 4A ED 83 38 BF 69 E9 4E [10:37:34]CommunicateWithHost err = 0 [10:37:34]CheckOFDResponse [10:37:34]1017 (14) - 77093643461234 [10:37:34]1041 (16) - 0000000000965344 [10:37:34]1040 (4) - 22039 [10:37:34]1012 (4) - 13.06.2024 04:25 [10:37:34]1206 (1) - 0 [10:37:34]OFD Sender: Remove packet 22039 [10:37:34]ProducePacketName [10:37:34]name=ofd_packets/00022039 [10:37:34]NVStorageDeleteData [10:37:34]Write to MH i2c: 01 00 00 4B 21 6C [10:37:34]Write i2c OK [10:37:34]MH_I2C_Read... [10:37:34]Read from MH i2c: 01 [10:37:34]MH_I2C_Read... [10:37:34]Read from MH i2c: 01 07 00 [10:37:34]MH_I2C_Read... [10:37:34]Read from MH i2c: 01 07 00 4B 21 00 00 00 00 00 15 0D 95 [10:37:34]RasterBufferAndPrint [10:37:34]line [10:37:34]line [10:37:34]line [10:37:34]line [10:37:34]line [10:37:34]written 0, free lines is 3356 [10:37:34]MH_Cut [10:37:34]Write to MH i2c: D1 01 00 52 21 01 45 [10:37:34]Write i2c OK [10:37:34]MH_I2C_Read... [10:37:34]Read from MH i2c: D1 [10:37:34]MH_I2C_Read... [10:37:34]Read from MH i2c: D1 01 00 [10:37:34]MH_I2C_Read... [10:37:34]Read from MH i2c: D1 01 00 52 21 00 44 [10:37:34]Write to MH i2c: 01 00 00 53 21 74 [10:37:34]Write i2c OK [10:37:34]MH_I2C_Read... [10:37:34]OFD Sender: No OFD packet to send [10:37:34]*** Cut start [10:37:34]*** Partial cut [10:37:34]*** CUTSNS_PIN = 1 [10:37:34]*** CUTSNS_PIN = 0 [10:37:35]*** Brake cut motor [10:37:35]Read from MH i2c: 01 [10:37:35]MH_I2C_Read... [10:37:35]*** Stop cut motor [10:37:35]*** Cut end [10:37:35]Read from MH i2c: 01 07 00 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: 01 07 00 53 21 00 00 00 00 00 FF 0F 89 [10:37:35]process_action close_receipt done [10:37:35]requested_data is exist [10:37:35]produce_requested_data [10:37:35]requested_item fm.sn is exist - process it [10:37:35]wFMCommunicate request_size=4 [10:37:35]MH_SAM_APDU [10:37:35]CAPDU: 80 11 00 00 [10:37:35]Write to MH i2c: E2 08 00 54 21 80 11 00 00 00 00 00 00 EF [10:37:35]Write i2c OK [10:37:35]MH_I2C_Read... [10:37:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:35]Read from MH i2c: E2 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 17 00 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 17 00 54 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 41 [10:37: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:37:35]wFMCommunicate OK [10:37:35]requested_item fd.num is exist - process it [10:37:35]SAM_PROTO_GetFieldsCounters [10:37:35]wFMCommunicate request_size=4 [10:37:35]MH_SAM_APDU [10:37:35]CAPDU: 80 13 00 00 [10:37:35]Write to MH i2c: E2 08 00 55 21 80 13 00 00 00 00 00 00 F2 [10:37:35]Write i2c OK [10:37:35]MH_I2C_Read... [10:37:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:37:35]Read from MH i2c: E2 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 62 00 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 62 00 55 21 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 17 56 00 00 0E 04 04 00 44 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 07 [10:37: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 17 56 00 00 0E 04 04 00 44 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 [10:37:35]wFMCommunicate OK [10:37:35]SAM_PROTO_GetFieldsCounters done [10:37:35]requested_item shift.num is exist - process it [10:37:35]requested_item shift.opened is exist - process it [10:37:35]req_shift_opened [10:37:35]FM_GetShiftState [10:37:35]SAM_PROTO_GetShiftState [10:37:35]wFMCommunicate request_size=4 [10:37:35]MH_SAM_APDU [10:37:35]CAPDU: 80 13 01 00 [10:37:35]Write to MH i2c: E2 08 00 56 21 80 13 01 00 00 00 00 00 F4 [10:37:35]Write i2c OK [10:37:35]MH_I2C_Read... [10:37:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:35]Read from MH i2c: E2 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 0E 00 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 0E 00 56 21 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 12 [10:37:35]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [10:37:35]wFMCommunicate OK [10:37:35]SAM_PROTO_GetShiftState done [10:37:35]FM_GetShiftState done [10:37:35]req_shift_opened done [10:37:35]requested_item shift.open_date is exist - process it [10:37:35]req_shift_open_date [10:37:35]req_shift_open_date done [10:37:35]produce_requested_data done [10:37:35]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22039,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [10:37:35]process_action_free close_receipt [10:37:35]json_value_free [10:37:35]json_value_free done [10:37:35]process_json_proto returns [10:37:35]Send response to host [10:37:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22039,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [10:37:35]free response buf [10:37:35]execute_script done [10:37:35]execute_script returns [10:37:35]free content buf [10:37:35]Sock 9.Close socket [10:37:35]Sock 9.Thread stoped [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:04]OFD Sender: No OFD packet to send [10:43:09]OFD Sender: No OFD packet to send [10:43:14]OFD Sender: No OFD packet to send [10:43:19]OFD Sender: No OFD packet to send [10:43:24]OFD Sender: No OFD packet to send [10:43:29]OFD Sender: No OFD packet to send [10:43:34]OFD Sender: No OFD packet to send [10:43:39]OFD Sender: No OFD packet to send [10:43:44]OFD Sender: No OFD packet to send [10:43:49]OFD Sender: No OFD packet to send [10:43:54]OFD Sender: No OFD packet to send [10:43:59]OFD Sender: No OFD packet to send [10:44:04]OFD Sender: No OFD packet to send [10:44:09]OFD Sender: No OFD packet to send [10:44:14]OFD Sender: No OFD packet to send [10:44:19]OFD Sender: No OFD packet to send [10:44:24]OFD Sender: No OFD packet to send [10:44:29]OFD Sender: No OFD packet to send [10:44:34]OFD Sender: No OFD packet to send [10:44:39]OFD Sender: No OFD packet to send [10:44:44]OFD Sender: No OFD packet to send [10:44:49]OFD Sender: No OFD packet to send [10:44:54]OFD Sender: No OFD packet to send [10:44:59]OFD Sender: No OFD packet to send [10:45:04]OFD Sender: No OFD packet to send [10:45:09]OFD Sender: No OFD packet to send [10:45:14]OFD Sender: No OFD packet to send [10:45:19]OFD Sender: No OFD packet to send [10:45:24]OFD Sender: No OFD packet to send [10:45:29]OFD Sender: No OFD packet to send [10:45:34]OFD Sender: No OFD packet to send [10:45:39]OFD Sender: No OFD packet to send [10:45:44]OFD Sender: No OFD packet to send [10:45:49]OFD Sender: No OFD packet to send [10:45:54]OFD Sender: No OFD packet to send [10:45:59]OFD Sender: No OFD packet to send [10:46:04]OFD Sender: No OFD packet to send [10:46:09]OFD Sender: No OFD packet to send [10:46:14]OFD Sender: No OFD packet to send [10:46:19]OFD Sender: No OFD packet to send [10:46:24]OFD Sender: No OFD packet to send [10:46:29]OFD Sender: No OFD packet to send [10:46:34]OFD Sender: No OFD packet to send [10:46:39]OFD Sender: No OFD packet to send [10:46:44]OFD Sender: No OFD packet to send [10:46:49]OFD Sender: No OFD packet to send [10:46:54]OFD Sender: No OFD packet to send [10:46:59]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:05]OFD Sender: No OFD packet to send [10:51:10]OFD Sender: No OFD packet to send [10:51:15]OFD Sender: No OFD packet to send [10:51:20]OFD Sender: No OFD packet to send [10:51:25]OFD Sender: No OFD packet to send [10:51:30]OFD Sender: No OFD packet to send [10:51:35]OFD Sender: No OFD packet to send [10:51:40]OFD Sender: No OFD packet to send [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:55]OFD Sender: No OFD packet to send [10:52:00]OFD Sender: No OFD packet to send [10:52:05]OFD Sender: No OFD packet to send [10:52:10]OFD Sender: No OFD packet to send [10:52:15]OFD Sender: No OFD packet to send [10:52:20]OFD Sender: No OFD packet to send [10:52:25]OFD Sender: No OFD packet to send [10:52:30]OFD Sender: No OFD packet to send [10:52:35]OFD Sender: No OFD packet to send [10:52:40]OFD Sender: No OFD packet to send [10:52:45]OFD Sender: No OFD packet to send [10:52:50]OFD Sender: No OFD packet to send [10:52:55]OFD Sender: No OFD packet to send [10:53:00]OFD Sender: No OFD packet to send [10:53:05]OFD Sender: No OFD packet to send [10:53:10]OFD Sender: No OFD packet to send [10:53:15]OFD Sender: No OFD packet to send [10:53:20]OFD Sender: No OFD packet to send [10:53:25]OFD Sender: No OFD packet to send [10:53:30]OFD Sender: No OFD packet to send [10:53:35]OFD Sender: No OFD packet to send [10:53:40]OFD Sender: No OFD packet to send [10:53:45]OFD Sender: No OFD packet to send [10:53:50]OFD Sender: No OFD packet to send [10:53:55]OFD Sender: No OFD packet to send [10:54:00]OFD Sender: No OFD packet to send [10:54:05]OFD Sender: No OFD packet to send [10:54:10]OFD Sender: No OFD packet to send [10:54:15]OFD Sender: No OFD packet to send [10:54:20]OFD Sender: No OFD packet to send [10:54:25]OFD Sender: No OFD packet to send [10:54:30]OFD Sender: No OFD packet to send [10:54:35]OFD Sender: No OFD packet to send [10:54:40]OFD Sender: No OFD packet to send [10:54:45]OFD Sender: No OFD packet to send [10:54:50]OFD Sender: No OFD packet to send [10:54:55]OFD Sender: No OFD packet to send [10:55:00]OFD Sender: No OFD packet to send [10:55:05]OFD Sender: No OFD packet to send [10:55:10]OFD Sender: No OFD packet to send [10:55:15]OFD Sender: No OFD packet to send [10:55:20]OFD Sender: No OFD packet to send [10:55:25]OFD Sender: No OFD packet to send [10:55:30]OFD Sender: No OFD packet to send [10:55:35]OFD Sender: No OFD packet to send [10:55:40]OFD Sender: No OFD packet to send [10:55:45]OFD Sender: No OFD packet to send [10:55:50]OFD Sender: No OFD packet to send [10:55:55]OFD Sender: No OFD packet to send [10:56:00]OFD Sender: No OFD packet to send [10:56:05]OFD Sender: No OFD packet to send [10:56:10]OFD Sender: No OFD packet to send [10:56:15]OFD Sender: No OFD packet to send [10:56:20]OFD Sender: No OFD packet to send [10:56:25]OFD Sender: No OFD packet to send [10:56:30]OFD Sender: No OFD packet to send [10:56:35]OFD Sender: No OFD packet to send [10:56:40]OFD Sender: No OFD packet to send [10:56:45]OFD Sender: No OFD packet to send [10:56:50]OFD Sender: No OFD packet to send [10:56:55]OFD Sender: No OFD packet to send [10:57:00]OFD Sender: No OFD packet to send [10:57:05]OFD Sender: No OFD packet to send [10:57:10]OFD Sender: No OFD packet to send [10:57:15]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]OFD Sender: No OFD packet to send [10:59:30]OFD Sender: No OFD packet to send [10:59:35]OFD Sender: No OFD packet to send [10:59:40]OFD Sender: No OFD packet to send [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:05]OFD Sender: No OFD packet to send [11:00:10]OFD Sender: No OFD packet to send [11:00:15]OFD Sender: No OFD packet to send [11:00:20]OFD Sender: No OFD packet to send [11:00:25]OFD Sender: No OFD packet to send [11:00:30]OFD Sender: No OFD packet to send [11:00:35]OFD Sender: No OFD packet to send [11:00:40]OFD Sender: No OFD packet to send [11:00:45]OFD Sender: No OFD packet to send [11:00:50]OFD Sender: No OFD packet to send [11:00:55]OFD Sender: No OFD packet to send [11:01:00]OFD Sender: No OFD packet to send [11:01:05]OFD Sender: No OFD packet to send [11:01:10]OFD Sender: No OFD packet to send [11:01:15]OFD Sender: No OFD packet to send [11:01:20]OFD Sender: No OFD packet to send [11:01:25]OFD Sender: No OFD packet to send [11:01:30]OFD Sender: No OFD packet to send [11:01:35]OFD Sender: No OFD packet to send [11:01:40]OFD Sender: No OFD packet to send [11:01:45]OFD Sender: No OFD packet to send [11:01:50]OFD Sender: No OFD packet to send [11:01:55]OFD Sender: No OFD packet to send [11:02:00]OFD Sender: No OFD packet to send [11:02:05]OFD Sender: No OFD packet to send [11:02:10]OFD Sender: No OFD packet to send [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:05]OFD Sender: No OFD packet to send [11:08:10]OFD Sender: No OFD packet to send [11:08:15]OFD Sender: No OFD packet to send [11:08:20]OFD Sender: No OFD packet to send [11:08:25]OFD Sender: No OFD packet to send [11:08:30]OFD Sender: No OFD packet to send [11:08:36]OFD Sender: No OFD packet to send [11:08:41]OFD Sender: No OFD packet to send [11:08:46]OFD Sender: No OFD packet to send [11:08:51]OFD Sender: No OFD packet to send [11:08:56]OFD Sender: No OFD packet to send [11:09:01]OFD Sender: No OFD packet to send [11:09:06]OFD Sender: No OFD packet to send [11:09:11]OFD Sender: No OFD packet to send [11:09:16]OFD Sender: No OFD packet to send [11:09:21]OFD Sender: No OFD packet to send [11:09:26]OFD Sender: No OFD packet to send [11:09:31]OFD Sender: No OFD packet to send [11:09:36]OFD Sender: No OFD packet to send [11:09:41]OFD Sender: No OFD packet to send [11:09:46]OFD Sender: No OFD packet to send [11:09:51]OFD Sender: No OFD packet to send [11:09:56]OFD Sender: No OFD packet to send [11:10:01]OFD Sender: No OFD packet to send [11:10:06]OFD Sender: No OFD packet to send [11:10:11]OFD Sender: No OFD packet to send [11:10:16]OFD Sender: No OFD packet to send [11:10:21]OFD Sender: No OFD packet to send [11:10:26]OFD Sender: No OFD packet to send [11:10:31]OFD Sender: No OFD packet to send [11:10:36]OFD Sender: No OFD packet to send [11:10:41]OFD Sender: No OFD packet to send [11:10:46]OFD Sender: No OFD packet to send [11:10:51]OFD Sender: No OFD packet to send [11:10:56]OFD Sender: No OFD packet to send [11:11:01]OFD Sender: No OFD packet to send [11:11:06]OFD Sender: No OFD packet to send [11:11:11]OFD Sender: No OFD packet to send [11:11:16]OFD Sender: No OFD packet to send [11:11:21]OFD Sender: No OFD packet to send [11:11:26]OFD Sender: No OFD packet to send [11:11:31]OFD Sender: No OFD packet to send [11:11:36]OFD Sender: No OFD packet to send [11:11:41]OFD Sender: No OFD packet to send [11:11:46]OFD Sender: No OFD packet to send [11:11:51]OFD Sender: No OFD packet to send [11:11:56]OFD Sender: No OFD packet to send [11:12:01]OFD Sender: No OFD packet to send [11:12:06]OFD Sender: No OFD packet to send [11:12:11]OFD Sender: No OFD packet to send [11:12:16]OFD Sender: No OFD packet to send [11:12:21]OFD Sender: No OFD packet to send [11:12:26]OFD Sender: No OFD packet to send [11:12:31]OFD Sender: No OFD packet to send [11:12:36]OFD Sender: No OFD packet to send [11:12:41]OFD Sender: No OFD packet to send [11:12:46]OFD Sender: No OFD packet to send [11:12:51]OFD Sender: No OFD packet to send [11:12:56]OFD Sender: No OFD packet to send [11:13:01]OFD Sender: No OFD packet to send [11:13:06]OFD Sender: No OFD packet to send [11:13:11]OFD Sender: No OFD packet to send [11:13:16]OFD Sender: No OFD packet to send [11:13:21]OFD Sender: No OFD packet to send [11:13:26]OFD Sender: No OFD packet to send [11:13:31]OFD Sender: No OFD packet to send [11:13:36]OFD Sender: No OFD packet to send [11:13:41]OFD Sender: No OFD packet to send [11:13:46]OFD Sender: No OFD packet to send [11:13:51]OFD Sender: No OFD packet to send [11:13:56]OFD Sender: No OFD packet to send [11:14:01]OFD Sender: No OFD packet to send [11:14:06]OFD Sender: No OFD packet to send [11:14:11]OFD Sender: No OFD packet to send [11:14:16]OFD Sender: No OFD packet to send [11:14:21]OFD Sender: No OFD packet to send [11:14:26]OFD Sender: No OFD packet to send [11:14:31]OFD Sender: No OFD packet to send [11:14:36]OFD Sender: No OFD packet to send [11:14:41]OFD Sender: No OFD packet to send [11:14:46]OFD Sender: No OFD packet to send [11:14:51]OFD Sender: No OFD packet to send [11:14:56]OFD Sender: No OFD packet to send [11:15:01]OFD Sender: No OFD packet to send [11:15:06]OFD Sender: No OFD packet to send [11:15:11]OFD Sender: No OFD packet to send [11:15:16]OFD Sender: No OFD packet to send [11:15:21]OFD Sender: No OFD packet to send [11:15:26]OFD Sender: No OFD packet to send [11:15:31]OFD Sender: No OFD packet to send [11:15:36]OFD Sender: No OFD packet to send [11:15:41]OFD Sender: No OFD packet to send [11:15:46]OFD Sender: No OFD packet to send [11:15:51]OFD Sender: No OFD packet to send [11:15:56]OFD Sender: No OFD packet to send [11:16:01]OFD Sender: No OFD packet to send [11:16:06]OFD Sender: No OFD packet to send [11:16:11]OFD Sender: No OFD packet to send [11:16:16]OFD Sender: No OFD packet to send [11:16:21]OFD Sender: No OFD packet to send [11:16:26]OFD Sender: No OFD packet to send [11:16:31]OFD Sender: No OFD packet to send [11:16:36]OFD Sender: No OFD packet to send [11:16:41]OFD Sender: No OFD packet to send [11:16:46]OFD Sender: No OFD packet to send [11:16:51]OFD Sender: No OFD packet to send [11:16:56]OFD Sender: No OFD packet to send [11:17:01]OFD Sender: No OFD packet to send [11:17:06]OFD Sender: No OFD packet to send [11:17:11]OFD Sender: No OFD packet to send [11:17:16]OFD Sender: No OFD packet to send [11:17:21]OFD Sender: No OFD packet to send [11:17:26]OFD Sender: No OFD packet to send [11:17:31]OFD Sender: No OFD packet to send [11:17:36]OFD Sender: No OFD packet to send [11:17:41]OFD Sender: No OFD packet to send [11:17:46]OFD Sender: No OFD packet to send [11:17:51]OFD Sender: No OFD packet to send [11:17:56]OFD Sender: No OFD packet to send [11:18:01]OFD Sender: No OFD packet to send [11:18:06]OFD Sender: No OFD packet to send [11:18:11]OFD Sender: No OFD packet to send [11:18:16]OFD Sender: No OFD packet to send [11:18:21]OFD Sender: No OFD packet to send [11:18:26]OFD Sender: No OFD packet to send [11:18:31]OFD Sender: No OFD packet to send [11:18:36]OFD Sender: No OFD packet to send [11:18:41]OFD Sender: No OFD packet to send [11:18:46]OFD Sender: No OFD packet to send [11:18:51]OFD Sender: No OFD packet to send [11:18:56]OFD Sender: No OFD packet to send [11:19:01]OFD Sender: No OFD packet to send [11:19:06]OFD Sender: No OFD packet to send [11:19:11]OFD Sender: No OFD packet to send [11:19:16]OFD Sender: No OFD packet to send [11:19:21]OFD Sender: No OFD packet to send [11:19:26]OFD Sender: No OFD packet to send [11:19:31]OFD Sender: No OFD packet to send [11:19:36]OFD Sender: No OFD packet to send [11:19:41]OFD Sender: No OFD packet to send [11:19:46]OFD Sender: No OFD packet to send [11:19:51]OFD Sender: No OFD packet to send [11:19:56]OFD Sender: No OFD packet to send [11:20:01]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:16]OFD Sender: No OFD packet to send [11:20:21]OFD Sender: No OFD packet to send [11:20:26]OFD Sender: No OFD packet to send [11:20:31]OFD Sender: No OFD packet to send [11:20:36]OFD Sender: No OFD packet to send [11:20:41]OFD Sender: No OFD packet to send [11:20:46]OFD Sender: No OFD packet to send [11:20:51]OFD Sender: No OFD packet to send [11:20:56]OFD Sender: No OFD packet to send [11:21:01]OFD Sender: No OFD packet to send [11:21:06]OFD Sender: No OFD packet to send [11:21:11]OFD Sender: No OFD packet to send [11:21:16]OFD Sender: No OFD packet to send [11:21:21]OFD Sender: No OFD packet to send [11:21:26]OFD Sender: No OFD packet to send [11:21:31]OFD Sender: No OFD packet to send [11:21:36]OFD Sender: No OFD packet to send [11:21:41]OFD Sender: No OFD packet to send [11:21:46]OFD Sender: No OFD packet to send [11:21:51]OFD Sender: No OFD packet to send [11:21:56]OFD Sender: No OFD packet to send [11:22:01]OFD Sender: No OFD packet to send [11:22:06]OFD Sender: No OFD packet to send [11:22:11]OFD Sender: No OFD packet to send [11:22:16]OFD Sender: No OFD packet to send [11:22:21]OFD Sender: No OFD packet to send [11:22:26]OFD Sender: No OFD packet to send [11:22:31]OFD Sender: No OFD packet to send [11:22:36]OFD Sender: No OFD packet to send [11:22:41]OFD Sender: No OFD packet to send [11:22:46]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]OFD Sender: No OFD packet to send [11:23:41]OFD Sender: No OFD packet to send [11:23:46]OFD Sender: No OFD packet to send [11:23:51]OFD Sender: No OFD packet to send [11:23:56]OFD Sender: No OFD packet to send [11:24:01]OFD Sender: No OFD packet to send [11:24:06]OFD Sender: No OFD packet to send [11:24:11]OFD Sender: No OFD packet to send [11:24:16]OFD Sender: No OFD packet to send [11:24:21]OFD Sender: No OFD packet to send [11:24:26]OFD Sender: No OFD packet to send [11:24:31]OFD Sender: No OFD packet to send [11:24:36]OFD Sender: No OFD packet to send [11:24:41]OFD Sender: No OFD packet to send [11:24:46]OFD Sender: No OFD packet to send [11:24:51]OFD Sender: No OFD packet to send [11:24:56]OFD Sender: No OFD packet to send [11:25:01]OFD Sender: No OFD packet to send [11:25:06]OFD Sender: No OFD packet to send [11:25:11]OFD Sender: No OFD packet to send [11:25:16]OFD Sender: No OFD packet to send [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]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:02]OFD Sender: No OFD packet to send [11:30:07]OFD Sender: No OFD packet to send [11:30:12]OFD Sender: No OFD packet to send [11:30:17]OFD Sender: No OFD packet to send [11:30:22]OFD Sender: No OFD packet to send [11:30:27]OFD Sender: No OFD packet to send [11:30:32]OFD Sender: No OFD packet to send [11:30:37]OFD Sender: No OFD packet to send [11:30:42]OFD Sender: No OFD packet to send [11:30:47]OFD Sender: No OFD packet to send [11:30:52]OFD Sender: No OFD packet to send [11:30:57]OFD Sender: No OFD packet to send [11:31:02]OFD Sender: No OFD packet to send [11:31:07]OFD Sender: No OFD packet to send [11:31:12]OFD Sender: No OFD packet to send [11:31:17]OFD Sender: No OFD packet to send [11:31:22]OFD Sender: No OFD packet to send [11:31:27]OFD Sender: No OFD packet to send [11:31:32]OFD Sender: No OFD packet to send [11:31:37]OFD Sender: No OFD packet to send [11:31:42]OFD Sender: No OFD packet to send [11:31:47]OFD Sender: No OFD packet to send [11:31:52]OFD Sender: No OFD packet to send [11:31:57]OFD Sender: No OFD packet to send [11:32:02]OFD Sender: No OFD packet to send [11:32:07]OFD Sender: No OFD packet to send [11:32:12]OFD Sender: No OFD packet to send [11:32:17]OFD Sender: No OFD packet to send [11:32:22]OFD Sender: No OFD packet to send [11:32:27]OFD Sender: No OFD packet to send [11:32:32]OFD Sender: No OFD packet to send [11:32:37]OFD Sender: No OFD packet to send [11:32:42]OFD Sender: No OFD packet to send [11:32:47]OFD Sender: No OFD packet to send [11:32:52]OFD Sender: No OFD packet to send [11:32:57]OFD Sender: No OFD packet to send [11:33:02]OFD Sender: No OFD packet to send [11:33:07]OFD Sender: No OFD packet to send [11:33:12]OFD Sender: No OFD packet to send [11:33:17]OFD Sender: No OFD packet to send [11:33:22]OFD Sender: No OFD packet to send [11:33:27]OFD Sender: No OFD packet to send [11:33:32]OFD Sender: No OFD packet to send [11:33:37]OFD Sender: No OFD packet to send [11:33:42]OFD Sender: No OFD packet to send [11:33:47]OFD Sender: No OFD packet to send [11:33:52]OFD Sender: No OFD packet to send [11:33:57]OFD Sender: No OFD packet to send [11:34:02]OFD Sender: No OFD packet to send [11:34:07]OFD Sender: No OFD packet to send [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:44]accept exits with 8 [11:48:44]New connection [11:48:44]New thread 3067178340 created [11:48:44]Thread 3067321700 joined [11:48:44]Waiting for new connection... [11:48:44] Sock 8.Parse request [11:48:44]Sock 8.Check first char [11:48:44]Sock 8.First char is OK [11:48:44]request: POST /json_proto HTTP/1.0 [11:48:44]Method: POST [11:48:44]URL: /json_proto [11:48:44]Method is POST - this is cgi request [11:48:44]url: /json_proto [11:48:44]query_string will be loaded in cgi processing [11:48:44]execute_cgi json_proto POST (null) [11:48:44]execute_cgi path=json_proto method=POST [11:48:44]POST find Content-Length [11:48:44]Host: 172.17.35.133:8080 [11:48:44]Content-Length: 654 [11:48:44]Content-Type: application/json [11:48:44] [11:48:44]POST finish read [11:48:44]Found Content-Length = 654 [11:48:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254273", "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" ] } } [11:48:44]execute_script... [11:48: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)254273", "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" ] } } [11:48:44]POST & json_proto [11:48:44]process_json_proto [11:48:44]json parsed OK: [11:48:44]protocol is kg_v1.0 [11:48:44]action value=close_receipt [11:48:44]process_action close_receipt [11:48:44]cmd_close_receipt [11:48:44]MH_GetDate [11:48:44]Write to MH i2c: F0 00 00 57 21 67 [11:48:44]Write i2c OK [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: F0 [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: F0 09 00 [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: F0 09 00 57 21 00 A5 DC 6A 66 8C 55 28 65 2F [11:48:44]GetLastDocTimeStamp 1718275059 [11:48:44]current date 1718279333 [11:48:44]FM_GetShiftState [11:48:44]SAM_PROTO_GetShiftState [11:48:44]wFMCommunicate request_size=4 [11:48:44]MH_SAM_APDU [11:48:44]CAPDU: 80 13 01 00 [11:48:44]Write to MH i2c: E2 08 00 58 21 80 13 01 00 00 00 00 00 F6 [11:48:44]Write i2c OK [11:48:44]MH_I2C_Read... [11:48:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:44]Read from MH i2c: E2 [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: E2 0E 00 [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: E2 0E 00 58 21 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 14 [11:48:44]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [11:48:44]wFMCommunicate OK [11:48:44]SAM_PROTO_GetShiftState done [11:48:44]FM_GetShiftState done [11:48:44]opened in 1718237959 [11:48:44]opened+sec_in_day 1718324359 [11:48:44]quantity*price = 9500 [11:48:44]sum+1 = 9501 [11:48:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 20 13.06.2024 11:48 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22040 ФПД: 188572556304638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T114853&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22040&fm=188572556304638&tin=02508201610067®Number=0000000000099755&sum=9500 0 [11:48:45]StoreToDocumentArchive [11:48:45]shift 324 fd 22040 [11:48:45]save to /storage/0324/doc_00022040 [11:48:45]save last doc name /storage/0324/doc_00022040 to /storage/kkm_last_doc_name [11:48:45]save OK [11:48:45]Clear old archive folders... [11:48:45]ProcessDocumentItem done err = 0, tmpTLVsize=293 [11:48:45]tlvbuf is 00258840 [11:48:45]SAM_PROTO_ClearQueue [11:48:45]wFMCommunicate request_size=4 [11:48:45]MH_SAM_APDU [11:48:45]CAPDU: 80 09 00 00 [11:48:45]Write to MH i2c: E2 08 00 65 21 80 09 00 00 00 00 00 00 F8 [11:48:45]Write i2c OK [11:48:45]MH_I2C_Read... [11:48:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:48:45]Read from MH i2c: E2 [11:48:45]MH_I2C_Read... [11:48:45]Read from MH i2c: E2 03 00 [11:48:45]MH_I2C_Read... [11:48:45]Read from MH i2c: E2 03 00 65 21 00 90 00 FA [11:48:45]RAPDU: 90 00 [11:48:45]wFMCommunicate OK [11:48:45]SAM_PROTO_ClearQueue done [11:48:45]KKMCreateOFDPacket [11:48:45]OFDProtocolAddRootSTLVToBuf [11:48:45]FM_MakeSignedData [11:48:45]FM_MakeSignedData [11:48:45]SAM_PROTO_SignData [11:48:45]wFMCommunicate request_size=4 [11:48:45]MH_SAM_APDU [11:48:45]CAPDU: 80 0D 01 02 [11:48:45]Write to MH i2c: E2 08 00 66 21 80 0D 01 02 00 00 00 00 00 [11:48:45]Write i2c OK [11:48:45]MH_I2C_Read... [11:48:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:48:45]Read from MH i2c: E2 [11:48:45]MH_I2C_Read... [11:48:45]Read from MH i2c: E2 03 00 [11:48:45]MH_I2C_Read... [11:48:45]Read from MH i2c: E2 03 00 66 21 00 90 00 FB [11:48:45]RAPDU: 90 00 [11:48:45]wFMCommunicate OK [11:48:45]wFMCommunicate request_size=255 [11:48:45]MH_SAM_APDU [11:48:45]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 14 00 00 00 F4 03 04 00 A5 DC 6A 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [11:48:45]Write to MH i2c: E2 02 01 67 21 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 14 00 00 00 F4 03 04 00 A5 DC 6A 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 4A [11:48:45]Write i2c OK [11:48:45]MH_I2C_Read... [11:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:48:46]Read from MH i2c: E2 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 03 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 03 00 67 21 00 90 00 FC [11:48:46]RAPDU: 90 00 [11:48:46]wFMCommunicate OK [11:48:46]wFMCommunicate request_size=52 [11:48:46]MH_SAM_APDU [11:48:46]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 18 56 00 00 35 04 06 00 AB 81 78 3B A0 FE [11:48:46]Write to MH i2c: E2 37 00 68 21 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 18 56 00 00 35 04 06 00 AB 81 78 3B A0 FE 00 00 BA [11:48:46]Write i2c OK [11:48:46]MH_I2C_Read... [11:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:48:46]Read from MH i2c: E2 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 03 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 03 00 68 21 00 90 00 FD [11:48:46]RAPDU: 90 00 [11:48:46]wFMCommunicate OK [11:48:46]wFMCommunicate request_size=4 [11:48:46]MH_SAM_APDU [11:48:46]CAPDU: 80 0D 03 02 [11:48:46]Write to MH i2c: E2 08 00 69 21 80 0D 03 02 00 00 00 00 05 [11:48:46]Write i2c OK [11:48:46]MH_I2C_Read... [11:48:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:48:46]Read from MH i2c: E2 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 0B 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 0B 00 69 21 00 8F 16 22 C4 18 10 5C CB 90 00 E0 [11:48:46]RAPDU: 8F 16 22 C4 18 10 5C CB 90 00 [11:48:46]wFMCommunicate OK [11:48:46]SAM_PROTO_SignData done [11:48:46]FM_MakeSignedData done [11:48:46]CreateOFDProtocolMessage [11:48:46]wFMCommunicate request_size=4 [11:48:46]MH_SAM_APDU [11:48:46]CAPDU: 80 11 00 00 [11:48:46]Write to MH i2c: E2 08 00 6A 21 80 11 00 00 00 00 00 00 05 [11:48:46]Write i2c OK [11:48:46]MH_I2C_Read... [11:48:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:46]Read from MH i2c: E2 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 17 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 17 00 6A 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 57 [11:48:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:48:46]wFMCommunicate OK [11:48:46]CreateOFDProtocolMessage done [11:48:46]OFDSenderStorePacket 22040 [11:48:46]StoreOFDPacket docnum=22040 [11:48:46]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 1B F5 31 01 0D CE 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 14 00 00 00 F4 03 04 00 A5 DC 6A 66 0E 04 04 00 44 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 18 56 00 00 35 04 06 00 AB 81 78 3B A0 FE 8F 16 22 C4 18 10 5C CB [11:48:46]CheckFolder [11:48:46]dirname=/storage/ofd_packets [11:48:46]CheckFolder done [11:48:46]ProducePacketName [11:48:46]name=ofd_packets/00022040 [11:48:46]NVStorageSaveData ofd_packets/00022040 [11:48:46]File name is /storage/ofd_packets/00022040 [11:48:46]Write 343 bytes [11:48:46]NVStorageSaveData done [11:48:46]OFDSenderStorePacket done [11:48:46]KKMCreateOFDPacket done [11:48:46]NVStorageSaveData kkm_last_timestamp [11:48:46]File name is /storage/kkm_last_timestamp [11:48:46]Write 4 bytes [11:48:46]NVStorageSaveData done [11:48:46]ExternCall_PrintAddStr [11:48:46]wPrintStart [11:48:46]Write to MH i2c: 01 00 00 6B 21 8C [11:48:46]Write i2c OK [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: 01 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: 01 07 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: 01 07 00 6B 21 00 00 00 00 00 FF 0F A1 [11:48:46]RasterBufferAndPrint [11:48:46]line Счет N : (3)254273 [11:48:46]line ИНН: 02508201610067 [11:48:46]line Контрольно-Кассовый Чек [11:48:46]line ПРОДАЖА [11:48:46]line Товар: 4700000480050 [11:48:46]line Напиток Nitro Energy эн green ж/б 0,45л [11:48:46]line 1.000 * 95.00 [11:48:46]line = 95.00 [11:48:46]line НДС 12% НСП 1% [11:48:46]line > о реализуемом товаре [11:48:46]line ИТОГО: 95.00 [11:48:46]line НСП 1% : 0.84 [11:48:46]line НДС 12% : 10.09 [11:48:46]line Наличными: 95.00 [11:48:46]line Безнал.: 0.00 [11:48:46]line Место: АЗС № 76 "Партнер Нефть" [11:48:46]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:48:46]line СНО: Общий режим [11:48:46]line Чек 20 13.06.2024 11:48 [11:48:46]line Смена: 324 ФФД: 1.0 [11:48:46]line ЗНМ: 0300000200 [11:48:46]line РНМ: 0000000000099755 [11:48:46]line Версия ККМ: 001 [11:48:46]line ФМ: 0000000000965344 [11:48:46]line ФД: 22040 [11:48:46]line ФПД: 188572556304638 [11:48:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T114853&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22040&fm=188572556304638&tin=02508201610067®Number=0000000000099755&sum=9500 [11:48:46]line 0 [11:48:46]OFD Sender: Processing packet 22040 [packets to send 5, broken 4] [11:48:46]ProducePacketName [11:48:46]name=ofd_packets/00022040 [11:48:46]OFD Sender: To server: pG, [11:48:46]CommunicateWithHost lk.salyk.kg:30040 [11:48:46]ConnectInit lk.salyk.kg [11:48:46]written 0, free lines is 4095 [11:48:46]Connected sock=10 [11:48: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 39 01 00 00 1B F5 31 01 0D CE 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 14 00 00 00 F4 03 04 00 A5 DC 6A 66 0E 04 04 00 44 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 18 56 00 00 35 04 06 00 AB 81 78 3B A0 FE 8F 16 22 C4 18 10 5C CB [11:48: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 D9 29 47 00 54 10 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 18 56 00 00 F4 03 04 00 68 85 6A 66 B6 04 01 00 00 DA 61 11 91 73 CE 8C 3A [11:48:46]CommunicateWithHost err = 0 [11:48:46]CheckOFDResponse [11:48:46]1017 (14) - 77093643461234 [11:48:46]1041 (16) - 0000000000965344 [11:48:46]1040 (4) - 22040 [11:48:46]1012 (4) - 13.06.2024 05:36 [11:48:46]1206 (1) - 0 [11:48:46]OFD Sender: Remove packet 22040 [11:48:46]ProducePacketName [11:48:46]name=ofd_packets/00022040 [11:48:46]NVStorageDeleteData [11:48:47]Write to MH i2c: 01 00 00 94 21 B5 [11:48:47]Write i2c OK [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: 01 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: 01 07 00 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: 01 07 00 94 21 00 00 00 00 00 05 0D CE [11:48:47]RasterBufferAndPrint [11:48:47]line [11:48:47]line [11:48:47]line [11:48:47]line [11:48:47]line [11:48:47]written 0, free lines is 3339 [11:48:47]MH_Cut [11:48:47]Write to MH i2c: D1 01 00 9B 21 01 8E [11:48:47]Write i2c OK [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: D1 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: D1 01 00 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: D1 01 00 9B 21 00 8D [11:48:47]Write to MH i2c: 01 00 00 9C 21 BD [11:48:47]Write i2c OK [11:48:47]MH_I2C_Read... [11:48:47]OFD Sender: No OFD packet to send [11:48:47]*** Cut start [11:48:47]*** Partial cut [11:48:47]*** CUTSNS_PIN = 1 [11:48:47]*** CUTSNS_PIN = 0 [11:48:47]*** Brake cut motor [11:48:48]Read from MH i2c: 01 [11:48:48]MH_I2C_Read... [11:48:48]*** Stop cut motor [11:48:48]*** Cut end [11:48:48]Read from MH i2c: 01 07 00 [11:48:48]MH_I2C_Read... [11:48:48]Read from MH i2c: 01 07 00 9C 21 00 00 00 00 00 FF 0F D2 [11:48:48]process_action close_receipt done [11:48:48]requested_data is exist [11:48:48]produce_requested_data [11:48:48]requested_item fm.sn is exist - process it [11:48:48]wFMCommunicate request_size=4 [11:48:48]MH_SAM_APDU [11:48:48]CAPDU: 80 11 00 00 [11:48:48]Write to MH i2c: E2 08 00 9D 21 80 11 00 00 00 00 00 00 38 [11:48:48]Write i2c OK [11:48:48]MH_I2C_Read... [11:48:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:48]Read from MH i2c: E2 [11:48:48]MH_I2C_Read... [11:48:48]Read from MH i2c: E2 17 00 [11:48:48]MH_I2C_Read... [11:48:48]Read from MH i2c: E2 17 00 9D 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8A [11:48:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:48:48]wFMCommunicate OK [11:48:48]requested_item fd.num is exist - process it [11:48:48]SAM_PROTO_GetFieldsCounters [11:48:48]wFMCommunicate request_size=4 [11:48:48]MH_SAM_APDU [11:48:48]CAPDU: 80 13 00 00 [11:48:48]Write to MH i2c: E2 08 00 9E 21 80 13 00 00 00 00 00 00 3B [11:48:48]Write i2c OK [11:48:48]MH_I2C_Read... [11:48:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:48:48]Read from MH i2c: E2 [11:48:48]MH_I2C_Read... [11:48:48]Read from MH i2c: E2 62 00 [11:48:48]MH_I2C_Read... [11:48:48]Read from MH i2c: E2 62 00 9E 21 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 18 56 00 00 0E 04 04 00 44 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 54 [11:48: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 18 56 00 00 0E 04 04 00 44 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 [11:48:48]wFMCommunicate OK [11:48:48]SAM_PROTO_GetFieldsCounters done [11:48:48]requested_item shift.num is exist - process it [11:48:48]requested_item shift.opened is exist - process it [11:48:48]req_shift_opened [11:48:48]FM_GetShiftState [11:48:48]SAM_PROTO_GetShiftState [11:48:48]wFMCommunicate request_size=4 [11:48:48]MH_SAM_APDU [11:48:48]CAPDU: 80 13 01 00 [11:48:48]Write to MH i2c: E2 08 00 9F 21 80 13 01 00 00 00 00 00 3D [11:48:48]Write i2c OK [11:48:48]MH_I2C_Read... [11:48:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:48]Read from MH i2c: E2 [11:48:48]MH_I2C_Read... [11:48:48]Read from MH i2c: E2 0E 00 [11:48:48]MH_I2C_Read... [11:48:48]Read from MH i2c: E2 0E 00 9F 21 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 5B [11:48:48]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [11:48:48]wFMCommunicate OK [11:48:48]SAM_PROTO_GetShiftState done [11:48:48]FM_GetShiftState done [11:48:48]req_shift_opened done [11:48:48]requested_item shift.open_date is exist - process it [11:48:48]req_shift_open_date [11:48:48]req_shift_open_date done [11:48:48]produce_requested_data done [11:48:48]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22040,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [11:48:48]process_action_free close_receipt [11:48:48]json_value_free [11:48:48]json_value_free done [11:48:48]process_json_proto returns [11:48:48]Send response to host [11:48:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22040,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [11:48:48]free response buf [11:48:48]execute_script done [11:48:48]execute_script returns [11:48:48]free content buf [11:48:48]Sock 8.Close socket [11:48:48]Sock 8.Thread stoped [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:11]accept exits with 9 [11:49:11]New connection [11:49:11]New thread 3067321700 created [11:49:11]Thread 3067178340 joined [11:49:11]Waiting for new connection... [11:49:11] Sock 9.Parse request [11:49:11]Sock 9.Check first char [11:49:11]Sock 9.First char is OK [11:49:11]request: POST /json_proto HTTP/1.0 [11:49:11]Method: POST [11:49:11]URL: /json_proto [11:49:11]Method is POST - this is cgi request [11:49:11]url: /json_proto [11:49:11]query_string will be loaded in cgi processing [11:49:11]execute_cgi json_proto POST (null) [11:49:11]execute_cgi path=json_proto method=POST [11:49:11]POST find Content-Length [11:49:11]Host: 172.17.35.133:8080 [11:49:11]Content-Length: 829 [11:49:11]Content-Type: application/json [11:49:11] [11:49:11]POST finish read [11:49:11]Found Content-Length = 829 [11:49:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254274", "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:11]execute_script... [11:49: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)254274", "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:11]POST & json_proto [11:49:11]process_json_proto [11:49:11]json parsed OK: [11:49:11]protocol is kg_v1.0 [11:49:11]action value=close_receipt [11:49:11]process_action close_receipt [11:49:11]cmd_close_receipt [11:49:11]MH_GetDate [11:49:11]Write to MH i2c: F0 00 00 A0 21 B0 [11:49:11]Write i2c OK [11:49:11]MH_I2C_Read... [11:49:11]Read from MH i2c: F0 [11:49:11]MH_I2C_Read... [11:49:11]Read from MH i2c: F0 09 00 [11:49:11]MH_I2C_Read... [11:49:11]Read from MH i2c: F0 09 00 A0 21 00 BF DC 6A 66 8C 55 28 65 92 [11:49:11]GetLastDocTimeStamp 1718279333 [11:49:11]current date 1718279359 [11:49:11]FM_GetShiftState [11:49:11]SAM_PROTO_GetShiftState [11:49:11]wFMCommunicate request_size=4 [11:49:11]MH_SAM_APDU [11:49:11]CAPDU: 80 13 01 00 [11:49:11]Write to MH i2c: E2 08 00 A1 21 80 13 01 00 00 00 00 00 3F [11:49:11]Write i2c OK [11:49:11]MH_I2C_Read... [11:49:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:11]Read from MH i2c: E2 [11:49:11]MH_I2C_Read... [11:49:11]Read from MH i2c: E2 0E 00 [11:49:11]MH_I2C_Read... [11:49:11]Read from MH i2c: E2 0E 00 A1 21 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 5D [11:49:11]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [11:49:11]wFMCommunicate OK [11:49:11]SAM_PROTO_GetShiftState done [11:49:11]FM_GetShiftState done [11:49:11]opened in 1718237959 [11:49:11]opened+sec_in_day 1718324359 [11:49:11]quantity*price = 13000 [11:49:11]sum+1 = 13001 [11:49:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 21 13.06.2024 11:49 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22041 ФПД: 245809291554982 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T114919&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22041&fm=245809291554982&tin=02508201610067®Number=0000000000099755&sum=13000 0 [11:49:12]StoreToDocumentArchive [11:49:12]shift 324 fd 22041 [11:49:12]save to /storage/0324/doc_00022041 [11:49:12]save last doc name /storage/0324/doc_00022041 to /storage/kkm_last_doc_name [11:49:12]save OK [11:49:12]Clear old archive folders... [11:49:12]ProcessDocumentItem done err = 0, tmpTLVsize=276 [11:49:12]tlvbuf is B6F029D0 [11:49:12]SAM_PROTO_ClearQueue [11:49:12]wFMCommunicate request_size=4 [11:49:12]MH_SAM_APDU [11:49:12]CAPDU: 80 09 00 00 [11:49:12]Write to MH i2c: E2 08 00 AE 21 80 09 00 00 00 00 00 00 41 [11:49:12]Write i2c OK [11:49:12]MH_I2C_Read... [11:49:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:49:12]Read from MH i2c: E2 [11:49:12]MH_I2C_Read... [11:49:12]Read from MH i2c: E2 03 00 [11:49:12]MH_I2C_Read... [11:49:12]Read from MH i2c: E2 03 00 AE 21 00 90 00 43 [11:49:12]RAPDU: 90 00 [11:49:12]wFMCommunicate OK [11:49:12]SAM_PROTO_ClearQueue done [11:49:12]KKMCreateOFDPacket [11:49:12]OFDProtocolAddRootSTLVToBuf [11:49:12]FM_MakeSignedData [11:49:12]FM_MakeSignedData [11:49:12]SAM_PROTO_SignData [11:49:12]wFMCommunicate request_size=4 [11:49:12]MH_SAM_APDU [11:49:12]CAPDU: 80 0D 01 02 [11:49:12]Write to MH i2c: E2 08 00 AF 21 80 0D 01 02 00 00 00 00 49 [11:49:12]Write i2c OK [11:49:12]MH_I2C_Read... [11:49:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:49:12]Read from MH i2c: E2 [11:49:12]MH_I2C_Read... [11:49:12]Read from MH i2c: E2 03 00 [11:49:12]MH_I2C_Read... [11:49:12]Read from MH i2c: E2 03 00 AF 21 00 90 00 44 [11:49:12]RAPDU: 90 00 [11:49:12]wFMCommunicate OK [11:49:12]wFMCommunicate request_size=255 [11:49:12]MH_SAM_APDU [11:49:12]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 15 00 00 00 F4 03 04 00 BF DC 6A 66 0E 04 04 00 44 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 [11:49:12]Write to MH i2c: E2 02 01 B0 21 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 15 00 00 00 F4 03 04 00 BF DC 6A 66 0E 04 04 00 44 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 33 [11:49:12]Write i2c OK [11:49:12]MH_I2C_Read... [11:49:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:12]Read from MH i2c: E2 [11:49:12]MH_I2C_Read... [11:49:12]Read from MH i2c: E2 03 00 [11:49:12]MH_I2C_Read... [11:49:12]Read from MH i2c: E2 03 00 B0 21 00 90 00 45 [11:49:12]RAPDU: 90 00 [11:49:12]wFMCommunicate OK [11:49:12]wFMCommunicate request_size=35 [11:49:12]MH_SAM_APDU [11:49:12]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 19 56 00 00 35 04 06 00 DF 8F EF 81 70 A6 [11:49:12]Write to MH i2c: E2 26 00 B1 21 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 19 56 00 00 35 04 06 00 DF 8F EF 81 70 A6 00 00 A1 [11:49:12]Write i2c OK [11:49:12]MH_I2C_Read... [11:49:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:13]Read from MH i2c: E2 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: E2 03 00 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: E2 03 00 B1 21 00 90 00 46 [11:49:13]RAPDU: 90 00 [11:49:13]wFMCommunicate OK [11:49:13]wFMCommunicate request_size=4 [11:49:13]MH_SAM_APDU [11:49:13]CAPDU: 80 0D 03 02 [11:49:13]Write to MH i2c: E2 08 00 B2 21 80 0D 03 02 00 00 00 00 4E [11:49:13]Write i2c OK [11:49:13]MH_I2C_Read... [11:49:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:49:13]Read from MH i2c: E2 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: E2 0B 00 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: E2 0B 00 B2 21 00 EC 59 CB A5 D1 E6 50 9F 90 00 AA [11:49:13]RAPDU: EC 59 CB A5 D1 E6 50 9F 90 00 [11:49:13]wFMCommunicate OK [11:49:13]SAM_PROTO_SignData done [11:49:13]FM_MakeSignedData done [11:49:13]CreateOFDProtocolMessage [11:49:13]wFMCommunicate request_size=4 [11:49:13]MH_SAM_APDU [11:49:13]CAPDU: 80 11 00 00 [11:49:13]Write to MH i2c: E2 08 00 B3 21 80 11 00 00 00 00 00 00 4E [11:49:13]Write i2c OK [11:49:13]MH_I2C_Read... [11:49:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:13]Read from MH i2c: E2 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: E2 17 00 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: E2 17 00 B3 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A0 [11:49:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:49:13]wFMCommunicate OK [11:49:13]CreateOFDProtocolMessage done [11:49:13]OFDSenderStorePacket 22041 [11:49:13]StoreOFDPacket docnum=22041 [11:49: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 28 01 00 00 BE 28 20 01 B0 C8 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 15 00 00 00 F4 03 04 00 BF DC 6A 66 0E 04 04 00 44 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 19 56 00 00 35 04 06 00 DF 8F EF 81 70 A6 EC 59 CB A5 D1 E6 50 9F [11:49:13]CheckFolder [11:49:13]dirname=/storage/ofd_packets [11:49:13]CheckFolder done [11:49:13]ProducePacketName [11:49:13]name=ofd_packets/00022041 [11:49:13]NVStorageSaveData ofd_packets/00022041 [11:49:13]File name is /storage/ofd_packets/00022041 [11:49:13]Write 326 bytes [11:49:13]NVStorageSaveData done [11:49:13]OFDSenderStorePacket done [11:49:13]KKMCreateOFDPacket done [11:49:13]NVStorageSaveData kkm_last_timestamp [11:49:13]File name is /storage/kkm_last_timestamp [11:49:13]Write 4 bytes [11:49:13]NVStorageSaveData done [11:49:13]ExternCall_PrintAddStr [11:49:13]wPrintStart [11:49:13]Write to MH i2c: 01 00 00 B4 21 D5 [11:49:13]Write i2c OK [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: 01 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: 01 07 00 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: 01 07 00 B4 21 00 00 00 00 00 FF 0F EA [11:49:13]RasterBufferAndPrint [11:49:13]line Счет N : (3)254274 [11:49:13]line ИНН: 02508201610067 [11:49:13]line Контрольно-Кассовый Чек [11:49:13]line ПРОДАЖА [11:49:13]line Товар: 2000036230011 [11:49:13]line Кофе Латте XL(GABB TRADE) [11:49:13]line 1.000 * 130.00 [11:49:13]line = 130.00 [11:49:13]line НДС 12% НСП 1% [11:49:13]line > о реализуемом товаре [11:49:13]line ИТОГО: 130.00 [11:49:13]line НСП 1% : 1.15 [11:49:13]line НДС 12% : 13.80 [11:49:13]line Наличными: 0.00 [11:49:13]line Безнал.: 130.00 [11:49:13]line Место: АЗС № 76 "Партнер Нефть" [11:49:13]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:49:13]line СНО: Общий режим [11:49:13]line Чек 21 13.06.2024 11:49 [11:49:13]line Смена: 324 ФФД: 1.0 [11:49:13]line ЗНМ: 0300000200 [11:49:13]line РНМ: 0000000000099755 [11:49:13]line Версия ККМ: 001 [11:49:13]line Платежная система: АКБ Кыргызстан [11:49:13]line ФМ: 0000000000965344 [11:49:13]line ФД: 22041 [11:49:13]line ФПД: 245809291554982 [11:49:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T114919&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22041&fm=245809291554982&tin=02508201610067®Number=0000000000099755&sum=13000 [11:49:13]line 0 [11:49:13]OFD Sender: Processing packet 22041 [packets to send 5, broken 4] [11:49:13]ProducePacketName [11:49:13]name=ofd_packets/00022041 [11:49:13]OFD Sender: To server: pG, [11:49:13]CommunicateWithHost lk.salyk.kg:30040 [11:49:13]ConnectInit lk.salyk.kg [11:49:13]written 0, free lines is 4095 [11:49:13]Connected sock=10 [11:49: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 28 01 00 00 BE 28 20 01 B0 C8 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 15 00 00 00 F4 03 04 00 BF DC 6A 66 0E 04 04 00 44 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 19 56 00 00 35 04 06 00 DF 8F EF 81 70 A6 EC 59 CB A5 D1 E6 50 9F [11:49: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 1B B1 47 00 FE BA 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 19 56 00 00 F4 03 04 00 83 85 6A 66 B6 04 01 00 00 42 E9 03 64 52 C9 6E 92 [11:49:13]CommunicateWithHost err = 0 [11:49:13]CheckOFDResponse [11:49:13]1017 (14) - 77093643461234 [11:49:13]1041 (16) - 0000000000965344 [11:49:13]1040 (4) - 22041 [11:49:13]1012 (4) - 13.06.2024 05:37 [11:49:13]1206 (1) - 0 [11:49:13]OFD Sender: Remove packet 22041 [11:49:13]ProducePacketName [11:49:13]name=ofd_packets/00022041 [11:49:13]NVStorageDeleteData [11:49:13]Write to MH i2c: 01 00 00 DE 21 FF [11:49:13]Write i2c OK [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: 01 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: 01 07 00 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: 01 07 00 DE 21 00 00 00 00 00 08 0D 1B [11:49:13]RasterBufferAndPrint [11:49:13]line [11:49:13]line [11:49:13]line [11:49:13]line [11:49:13]line [11:49:13]written 0, free lines is 3343 [11:49:13]MH_Cut [11:49:13]Write to MH i2c: D1 01 00 E5 21 01 D8 [11:49:13]Write i2c OK [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: D1 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: D1 01 00 [11:49:13]MH_I2C_Read... [11:49:13]Read from MH i2c: D1 01 00 E5 21 00 D7 [11:49:13]Write to MH i2c: 01 00 00 E6 21 07 [11:49:13]Write i2c OK [11:49:13]MH_I2C_Read... [11:49:14]OFD Sender: No OFD packet to send [11:49:14]*** Cut start [11:49:14]*** Partial cut [11:49:14]*** CUTSNS_PIN = 1 [11:49:14]*** CUTSNS_PIN = 0 [11:49:14]*** Brake cut motor [11:49:15]Read from MH i2c: 01 [11:49:15]MH_I2C_Read... [11:49:15]*** Stop cut motor [11:49:15]*** Cut end [11:49:15]Read from MH i2c: 01 07 00 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: 01 07 00 E6 21 00 00 00 00 00 FF 0F 1C [11:49:15]process_action close_receipt done [11:49:15]requested_data is exist [11:49:15]produce_requested_data [11:49:15]requested_item fm.sn is exist - process it [11:49:15]wFMCommunicate request_size=4 [11:49:15]MH_SAM_APDU [11:49:15]CAPDU: 80 11 00 00 [11:49:15]Write to MH i2c: E2 08 00 E7 21 80 11 00 00 00 00 00 00 82 [11:49:15]Write i2c OK [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 [11:49:15]MH_I2C_Read... [11:49:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:15]Read from MH i2c: E2 17 00 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 17 00 E7 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D4 [11:49:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:49:15]wFMCommunicate OK [11:49:15]requested_item fd.num is exist - process it [11:49:15]SAM_PROTO_GetFieldsCounters [11:49:15]wFMCommunicate request_size=4 [11:49:15]MH_SAM_APDU [11:49:15]CAPDU: 80 13 00 00 [11:49:15]Write to MH i2c: E2 08 00 E8 21 80 13 00 00 00 00 00 00 85 [11:49:15]Write i2c OK [11:49:15]MH_I2C_Read... [11:49:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:49:15]Read from MH i2c: E2 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 62 00 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 62 00 E8 21 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 19 56 00 00 0E 04 04 00 44 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 A2 [11:49: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 19 56 00 00 0E 04 04 00 44 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 [11:49:15]wFMCommunicate OK [11:49:15]SAM_PROTO_GetFieldsCounters done [11:49:15]requested_item shift.num is exist - process it [11:49:15]requested_item shift.opened is exist - process it [11:49:15]req_shift_opened [11:49:15]FM_GetShiftState [11:49:15]SAM_PROTO_GetShiftState [11:49:15]wFMCommunicate request_size=4 [11:49:15]MH_SAM_APDU [11:49:15]CAPDU: 80 13 01 00 [11:49:15]Write to MH i2c: E2 08 00 E9 21 80 13 01 00 00 00 00 00 87 [11:49:15]Write i2c OK [11:49:15]MH_I2C_Read... [11:49:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:15]Read from MH i2c: E2 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 0E 00 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 0E 00 E9 21 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 A5 [11:49:15]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [11:49:15]wFMCommunicate OK [11:49:15]SAM_PROTO_GetShiftState done [11:49:15]FM_GetShiftState done [11:49:15]req_shift_opened done [11:49:15]requested_item shift.open_date is exist - process it [11:49:15]req_shift_open_date [11:49:15]req_shift_open_date done [11:49:15]produce_requested_data done [11:49:15]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22041,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [11:49:15]process_action_free close_receipt [11:49:15]json_value_free [11:49:15]json_value_free done [11:49:15]process_json_proto returns [11:49:15]Send response to host [11:49:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22041,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [11:49:15]free response buf [11:49:15]execute_script done [11:49:15]execute_script returns [11:49:15]free content buf [11:49:15]Sock 9.Close socket [11:49:15]Sock 9.Thread stoped [11:49:19]OFD Sender: No OFD packet to send [11:49:24]OFD Sender: No OFD packet to send [11:49:29]OFD Sender: No OFD packet to send [11:49:34]OFD Sender: No OFD packet to send [11:49:39]OFD Sender: No OFD packet to send [11:49:44]OFD Sender: No OFD packet to send [11:49:49]OFD Sender: No OFD packet to send [11:49:54]OFD Sender: No OFD packet to send [11:49:59]OFD Sender: No OFD packet to send [11:50:04]OFD Sender: No OFD packet to send [11:50:09]OFD Sender: No OFD packet to send [11:50:14]OFD Sender: No OFD packet to send [11:50:19]OFD Sender: No OFD packet to send [11:50:24]OFD Sender: No OFD packet to send [11:50:29]OFD Sender: No OFD packet to send [11:50:34]OFD Sender: No OFD packet to send [11:50:39]OFD Sender: No OFD packet to send [11:50:44]OFD Sender: No OFD packet to send [11:50:49]OFD Sender: No OFD packet to send [11:50:54]OFD Sender: No OFD packet to send [11:50:59]OFD Sender: No OFD packet to send [11:51:04]OFD Sender: No OFD packet to send [11:51:09]OFD Sender: No OFD packet to send [11:51:14]OFD Sender: No OFD packet to send [11:51:19]OFD Sender: No OFD packet to send [11:51:24]OFD Sender: No OFD packet to send [11:51:29]OFD Sender: No OFD packet to send [11:51:34]OFD Sender: No OFD packet to send [11:51:39]OFD Sender: No OFD packet to send [11:51:44]OFD Sender: No OFD packet to send [11:51:49]OFD Sender: No OFD packet to send [11:51:54]OFD Sender: No OFD packet to send [11:51:59]OFD Sender: No OFD packet to send [11:52:04]OFD Sender: No OFD packet to send [11:52:09]OFD Sender: No OFD packet to send [11:52:14]OFD Sender: No OFD packet to send [11:52:19]OFD Sender: No OFD packet to send [11:52:24]OFD Sender: No OFD packet to send [11:52:29]OFD Sender: No OFD packet to send [11:52:34]OFD Sender: No OFD packet to send [11:52:39]OFD Sender: No OFD packet to send [11:52:44]OFD Sender: No OFD packet to send [11:52:49]OFD Sender: No OFD packet to send [11:52:54]OFD Sender: No OFD packet to send [11:52:59]OFD Sender: No OFD packet to send [11:53:04]OFD Sender: No OFD packet to send [11:53:09]OFD Sender: No OFD packet to send [11:53:14]OFD Sender: No OFD packet to send [11:53:19]OFD Sender: No OFD packet to send [11:53:24]OFD Sender: No OFD packet to send [11:53:29]OFD Sender: No OFD packet to send [11:53:34]OFD Sender: No OFD packet to send [11:53:39]OFD Sender: No OFD packet to send [11:53:44]OFD Sender: No OFD packet to send [11:53:49]OFD Sender: No OFD packet to send [11:53:54]OFD Sender: No OFD packet to send [11:53:59]OFD Sender: No OFD packet to send [11:54:04]OFD Sender: No OFD packet to send [11:54:09]OFD Sender: No OFD packet to send [11:54:14]OFD Sender: No OFD packet to send [11:54:19]OFD Sender: No OFD packet to send [11:54:24]OFD Sender: No OFD packet to send [11:54:29]OFD Sender: No OFD packet to send [11:54:34]OFD Sender: No OFD packet to send [11:54:39]OFD Sender: No OFD packet to send [11:54:44]OFD Sender: No OFD packet to send [11:54:49]OFD Sender: No OFD packet to send [11:54:54]OFD Sender: No OFD packet to send [11:54:59]OFD Sender: No OFD packet to send [11:55:04]OFD Sender: No OFD packet to send [11:55:09]OFD Sender: No OFD packet to send [11:55:14]OFD Sender: No OFD packet to send [11:55:19]OFD Sender: No OFD packet to send [11:55:24]OFD Sender: No OFD packet to send [11:55:29]OFD Sender: No OFD packet to send [11:55:34]OFD Sender: No OFD packet to send [11:55:39]OFD Sender: No OFD packet to send [11:55:44]OFD Sender: No OFD packet to send [11:55:49]OFD Sender: No OFD packet to send [11:55:54]OFD Sender: No OFD packet to send [11:55:59]OFD Sender: No OFD packet to send [11:56:04]OFD Sender: No OFD packet to send [11:56:09]OFD Sender: No OFD packet to send [11:56:14]OFD Sender: No OFD packet to send [11:56:19]OFD Sender: No OFD packet to send [11:56:24]OFD Sender: No OFD packet to send [11:56:29]OFD Sender: No OFD packet to send [11:56:34]OFD Sender: No OFD packet to send [11:56:39]OFD Sender: No OFD packet to send [11:56:44]OFD Sender: No OFD packet to send [11:56:49]OFD Sender: No OFD packet to send [11:56:54]OFD Sender: No OFD packet to send [11:56:59]OFD Sender: No OFD packet to send [11:57:04]OFD Sender: No OFD packet to send [11:57:09]OFD Sender: No OFD packet to send [11:57:14]OFD Sender: No OFD packet to send [11:57:19]OFD Sender: No OFD packet to send [11:57:24]OFD Sender: No OFD packet to send [11:57:29]OFD Sender: No OFD packet to send [11:57:34]OFD Sender: No OFD packet to send [11:57:39]OFD Sender: No OFD packet to send [11:57:44]OFD Sender: No OFD packet to send [11:57:49]OFD Sender: No OFD packet to send [11:57:54]OFD Sender: No OFD packet to send [11:57:59]OFD Sender: No OFD packet to send [11:58:04]OFD Sender: No OFD packet to send [11:58:09]OFD Sender: No OFD packet to send [11:58:14]OFD Sender: No OFD packet to send [11:58:19]OFD Sender: No OFD packet to send [11:58:24]OFD Sender: No OFD packet to send [11:58:29]OFD Sender: No OFD packet to send [11:58:34]OFD Sender: No OFD packet to send [11:58:39]OFD Sender: No OFD packet to send [11:58:44]OFD Sender: No OFD packet to send [11:58:49]OFD Sender: No OFD packet to send [11:58:54]OFD Sender: No OFD packet to send [11:58:59]OFD Sender: No OFD packet to send [11:59:04]OFD Sender: No OFD packet to send [11:59:09]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:19]OFD Sender: No OFD packet to send [11:59:24]OFD Sender: No OFD packet to send [11:59:29]OFD Sender: No OFD packet to send [11:59:34]OFD Sender: No OFD packet to send [11:59:39]OFD Sender: No OFD packet to send [11:59:44]OFD Sender: No OFD packet to send [11:59:49]OFD Sender: No OFD packet to send [11:59:54]OFD Sender: No OFD packet to send [11:59:59]OFD Sender: No OFD packet to send [12:00:04]OFD Sender: No OFD packet to send [12:00:09]OFD Sender: No OFD packet to send [12:00:14]OFD Sender: No OFD packet to send [12:00:19]OFD Sender: No OFD packet to send [12:00:24]OFD Sender: No OFD packet to send [12:00:29]OFD Sender: No OFD packet to send [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:19]OFD Sender: No OFD packet to send [12:01:24]OFD Sender: No OFD packet to send [12:01:29]OFD Sender: No OFD packet to send [12:01:34]OFD Sender: No OFD packet to send [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:59]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:10]OFD Sender: No OFD packet to send [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:35]OFD Sender: No OFD packet to send [12:06:40]OFD Sender: No OFD packet to send [12:06:45]OFD Sender: No OFD packet to send [12:06:50]OFD Sender: No OFD packet to send [12:06:55]OFD Sender: No OFD packet to send [12:07:00]OFD Sender: No OFD packet to send [12:07:05]OFD Sender: No OFD packet to send [12:07:10]OFD Sender: No OFD packet to send [12:07:15]OFD Sender: No OFD packet to send [12:07:20]OFD Sender: No OFD packet to send [12:07:25]OFD Sender: No OFD packet to send [12:07:30]OFD Sender: No OFD packet to send [12:07:35]OFD Sender: No OFD packet to send [12:07:40]OFD Sender: No OFD packet to send [12:07:45]OFD Sender: No OFD packet to send [12:07:50]OFD Sender: No OFD packet to send [12:07:55]OFD Sender: No OFD packet to send [12:08:00]OFD Sender: No OFD packet to send [12:08:05]OFD Sender: No OFD packet to send [12:08:10]OFD Sender: No OFD packet to send [12:08:15]OFD Sender: No OFD packet to send [12:08:20]OFD Sender: No OFD packet to send [12:08:25]OFD Sender: No OFD packet to send [12:08:30]OFD Sender: No OFD packet to send [12:08:35]OFD Sender: No OFD packet to send [12:08:40]OFD Sender: No OFD packet to send [12:08:45]OFD Sender: No OFD packet to send [12:08:50]OFD Sender: No OFD packet to send [12:08:55]OFD Sender: No OFD packet to send [12:09:00]OFD Sender: No OFD packet to send [12:09:05]OFD Sender: No OFD packet to send [12:09:10]OFD Sender: No OFD packet to send [12:09:15]OFD Sender: No OFD packet to send [12:09:20]OFD Sender: No OFD packet to send [12:09:25]OFD Sender: No OFD packet to send [12:09:30]OFD Sender: No OFD packet to send [12:09:35]OFD Sender: No OFD packet to send [12:09:40]OFD Sender: No OFD packet to send [12:09:45]OFD Sender: No OFD packet to send [12:09:50]OFD Sender: No OFD packet to send [12:09:55]OFD Sender: No OFD packet to send [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23:00]OFD Sender: No OFD packet to send [12:23:05]OFD Sender: No OFD packet to send [12:23:10]OFD Sender: No OFD packet to send [12:23:15]OFD Sender: No OFD packet to send [12:23:20]OFD Sender: No OFD packet to send [12:23:25]OFD Sender: No OFD packet to send [12:23:30]OFD Sender: No OFD packet to send [12:23:35]OFD Sender: No OFD packet to send [12:23:40]OFD Sender: No OFD packet to send [12:23:45]OFD Sender: No OFD packet to send [12:23:50]OFD Sender: No OFD packet to send [12:23:55]OFD Sender: No OFD packet to send [12:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:10]OFD Sender: No OFD packet to send [12:24:15]OFD Sender: No OFD packet to send [12:24:20]OFD Sender: No OFD packet to send [12:24:25]OFD Sender: No OFD packet to send [12:24:30]OFD Sender: No OFD packet to send [12:24:35]OFD Sender: No OFD packet to send [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:16]OFD Sender: No OFD packet to send [12:38:21]OFD Sender: No OFD packet to send [12:38:26]OFD Sender: No OFD packet to send [12:38:31]OFD Sender: No OFD packet to send [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:39:01]OFD Sender: No OFD packet to send [12:39:06]OFD Sender: No OFD packet to send [12:39:11]OFD Sender: No OFD packet to send [12:39:16]OFD Sender: No OFD packet to send [12:39:21]OFD Sender: No OFD packet to send [12:39:26]OFD Sender: No OFD packet to send [12:39:31]OFD Sender: No OFD packet to send [12:39:36]OFD Sender: No OFD packet to send [12:39:41]OFD Sender: No OFD packet to send [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]OFD Sender: No OFD packet to send [12:40:06]OFD Sender: No OFD packet to send [12:40:11]OFD Sender: No OFD packet to send [12:40:16]OFD Sender: No OFD packet to send [12:40:21]OFD Sender: No OFD packet to send [12:40:26]OFD Sender: No OFD packet to send [12:40:31]OFD Sender: No OFD packet to send [12:40:36]OFD Sender: No OFD packet to send [12:40:41]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42: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:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:32]OFD Sender: No OFD packet to send [12:47:37]OFD Sender: No OFD packet to send [12:47:42]OFD Sender: No OFD packet to send [12:47:47]OFD Sender: No OFD packet to send [12:47:52]OFD Sender: No OFD packet to send [12:47:57]OFD Sender: No OFD packet to send [12:48:02]OFD Sender: No OFD packet to send [12:48:05]accept exits with 8 [12:48:05]New connection [12:48:05]New thread 3067178340 created [12:48:05]Thread 3067321700 joined [12:48:05]Waiting for new connection... [12:48:05] Sock 8.Parse request [12:48:05]Sock 8.Check first char [12:48:05]Sock 8.First char is OK [12:48:05]request: POST /json_proto HTTP/1.0 [12:48:05]Method: POST [12:48:05]URL: /json_proto [12:48:05]Method is POST - this is cgi request [12:48:05]url: /json_proto [12:48:05]query_string will be loaded in cgi processing [12:48:05]execute_cgi json_proto POST (null) [12:48:05]execute_cgi path=json_proto method=POST [12:48:05]POST find Content-Length [12:48:05]Host: 172.17.35.133:8080 [12:48:05]Content-Length: 688 [12:48:05]Content-Type: application/json [12:48:05] [12:48:05]POST finish read [12:48:05]Found Content-Length = 688 [12:48:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254275", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:05]execute_script... [12:48: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)254275", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:05]POST & json_proto [12:48:05]process_json_proto [12:48:05]json parsed OK: [12:48:05]protocol is kg_v1.0 [12:48:05]action value=close_receipt [12:48:05]process_action close_receipt [12:48:05]cmd_close_receipt [12:48:05]MH_GetDate [12:48:05]Write to MH i2c: F0 00 00 EA 21 FA [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: F0 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: F0 09 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: F0 09 00 EA 21 00 8E EA 6A 66 8C 55 28 65 B9 [12:48:05]GetLastDocTimeStamp 1718279359 [12:48:05]current date 1718282894 [12:48:05]FM_GetShiftState [12:48:05]SAM_PROTO_GetShiftState [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 13 01 00 [12:48:05]Write to MH i2c: E2 08 00 EB 21 80 13 01 00 00 00 00 00 89 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 0E 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 0E 00 EB 21 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 A7 [12:48:05]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [12:48:05]wFMCommunicate OK [12:48:05]SAM_PROTO_GetShiftState done [12:48:05]FM_GetShiftState done [12:48:05]opened in 1718237959 [12:48:05]opened+sec_in_day 1718324359 [12:48:05]quantity*price = 6500 [12:48:05]sum+1 = 6501 [12:48:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 22 13.06.2024 12:48 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22042 ФПД: 92749756037968 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T124814&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22042&fm=92749756037968&tin=02508201610067®Number=0000000000099755&sum=6500 0 [12:48:06]StoreToDocumentArchive [12:48:06]shift 324 fd 22042 [12:48:06]save to /storage/0324/doc_00022042 [12:48:06]save last doc name /storage/0324/doc_00022042 to /storage/kkm_last_doc_name [12:48:06]save OK [12:48:06]Clear old archive folders... [12:48:06]ProcessDocumentItem done err = 0, tmpTLVsize=295 [12:48:06]tlvbuf is 003C9FD0 [12:48:06]SAM_PROTO_ClearQueue [12:48:06]wFMCommunicate request_size=4 [12:48:06]MH_SAM_APDU [12:48:06]CAPDU: 80 09 00 00 [12:48:06]Write to MH i2c: E2 08 00 F8 21 80 09 00 00 00 00 00 00 8B [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:48:06]Read from MH i2c: E2 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 03 00 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 03 00 F8 21 00 90 00 8D [12:48:06]RAPDU: 90 00 [12:48:06]wFMCommunicate OK [12:48:06]SAM_PROTO_ClearQueue done [12:48:06]KKMCreateOFDPacket [12:48:06]OFDProtocolAddRootSTLVToBuf [12:48:06]FM_MakeSignedData [12:48:06]FM_MakeSignedData [12:48:06]SAM_PROTO_SignData [12:48:06]wFMCommunicate request_size=4 [12:48:06]MH_SAM_APDU [12:48:06]CAPDU: 80 0D 01 02 [12:48:06]Write to MH i2c: E2 08 00 F9 21 80 0D 01 02 00 00 00 00 93 [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:48:06]Read from MH i2c: E2 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 03 00 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 03 00 F9 21 00 90 00 8E [12:48:06]RAPDU: 90 00 [12:48:06]wFMCommunicate OK [12:48:06]wFMCommunicate request_size=255 [12:48:06]MH_SAM_APDU [12:48:06]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 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 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 8E EA 6A 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [12:48:06]Write to MH i2c: E2 02 01 FA 21 80 0D 02 02 FA 00 03 00 27 01 1E 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 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 8E EA 6A 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 76 [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:06]Read from MH i2c: E2 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 03 00 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 03 00 FA 21 00 90 00 8F [12:48:06]RAPDU: 90 00 [12:48:06]wFMCommunicate OK [12:48:06]wFMCommunicate request_size=54 [12:48:06]MH_SAM_APDU [12:48:06]CAPDU: 80 0D 02 02 31 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 1A 56 00 00 35 04 06 00 54 5A FC 42 FB 50 [12:48:06]Write to MH i2c: E2 39 00 FB 21 80 0D 02 02 31 00 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 1A 56 00 00 35 04 06 00 54 5A FC 42 FB 50 00 00 6D [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:07]Read from MH i2c: E2 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: E2 03 00 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: E2 03 00 FB 21 00 90 00 90 [12:48:07]RAPDU: 90 00 [12:48:07]wFMCommunicate OK [12:48:07]wFMCommunicate request_size=4 [12:48:07]MH_SAM_APDU [12:48:07]CAPDU: 80 0D 03 02 [12:48:07]Write to MH i2c: E2 08 00 FC 21 80 0D 03 02 00 00 00 00 98 [12:48:07]Write i2c OK [12:48:07]MH_I2C_Read... [12:48:07]OFD Sender: No OFD packet to send [12:48:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:48:07]Read from MH i2c: E2 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: E2 0B 00 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: E2 0B 00 FC 21 00 A6 A0 0A 11 D6 EE E7 6E 90 00 13 [12:48:07]RAPDU: A6 A0 0A 11 D6 EE E7 6E 90 00 [12:48:07]wFMCommunicate OK [12:48:07]SAM_PROTO_SignData done [12:48:07]FM_MakeSignedData done [12:48:07]CreateOFDProtocolMessage [12:48:07]wFMCommunicate request_size=4 [12:48:07]MH_SAM_APDU [12:48:07]CAPDU: 80 11 00 00 [12:48:07]Write to MH i2c: E2 08 00 FD 21 80 11 00 00 00 00 00 00 98 [12:48:07]Write i2c OK [12:48:07]MH_I2C_Read... [12:48:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:07]Read from MH i2c: E2 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: E2 17 00 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: E2 17 00 FD 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EA [12:48:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:48:07]wFMCommunicate OK [12:48:07]CreateOFDProtocolMessage done [12:48:07]OFDSenderStorePacket 22042 [12:48:07]StoreOFDPacket docnum=22042 [12:48: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 3B 01 00 00 84 49 33 01 3E 3B 5A 03 01 00 03 00 27 01 1E 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 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 8E EA 6A 66 0E 04 04 00 44 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 1A 56 00 00 35 04 06 00 54 5A FC 42 FB 50 A6 A0 0A 11 D6 EE E7 6E [12:48:07]CheckFolder [12:48:07]dirname=/storage/ofd_packets [12:48:07]CheckFolder done [12:48:07]ProducePacketName [12:48:07]name=ofd_packets/00022042 [12:48:07]NVStorageSaveData ofd_packets/00022042 [12:48:07]File name is /storage/ofd_packets/00022042 [12:48:07]Write 345 bytes [12:48:07]NVStorageSaveData done [12:48:07]OFDSenderStorePacket done [12:48:07]KKMCreateOFDPacket done [12:48:07]NVStorageSaveData kkm_last_timestamp [12:48:07]File name is /storage/kkm_last_timestamp [12:48:07]Write 4 bytes [12:48:07]NVStorageSaveData done [12:48:07]ExternCall_PrintAddStr [12:48:07]wPrintStart [12:48:07]Write to MH i2c: 01 00 00 FE 21 1F [12:48:07]Write i2c OK [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: 01 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: 01 07 00 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: 01 07 00 FE 21 00 00 00 00 00 FF 0F 34 [12:48:07]RasterBufferAndPrint [12:48:07]line Счет N : (3)254275 [12:48:07]line ИНН: 02508201610067 [12:48:07]line Контрольно-Кассовый Чек [12:48:07]line ПРОДАЖА [12:48:07]line Товар: 4870002325441 [12:48:07]line Вода ASU пит н.газ лимон ПЭТ 0,5л [12:48:07]line 1.000 * 65.00 [12:48:07]line = 65.00 [12:48:07]line НДС 12% НСП 1% [12:48:07]line > о реализуемом товаре [12:48:07]line ИТОГО: 65.00 [12:48:07]line НСП 1% : 0.57 [12:48:07]line НДС 12% : 6.90 [12:48:07]line Наличными: 65.00 [12:48:07]line Безнал.: 0.00 [12:48:07]line Место: АЗС № 76 "Партнер Нефть" [12:48:07]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:48:07]line СНО: Общий режим [12:48:07]line Чек 22 13.06.2024 12:48 [12:48:07]line Смена: 324 ФФД: 1.0 [12:48:07]line ЗНМ: 0300000200 [12:48:07]line РНМ: 0000000000099755 [12:48:07]line Версия ККМ: 001 [12:48:07]line ФМ: 0000000000965344 [12:48:07]line ФД: 22042 [12:48:07]line ФПД: 92749756037968 [12:48:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T124814&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22042&fm=92749756037968&tin=02508201610067®Number=0000000000099755&sum=6500 [12:48:07]line 0 [12:48:07]OFD Sender: Processing packet 22042 [packets to send 5, broken 4] [12:48:07]ProducePacketName [12:48:07]name=ofd_packets/00022042 [12:48:07]OFD Sender: To server: pG, [12:48:07]CommunicateWithHost lk.salyk.kg:30040 [12:48:07]ConnectInit lk.salyk.kg [12:48:07]written 0, free lines is 4095 [12:48:07]Connected sock=10 [12:48:07]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 3B 01 00 00 84 49 33 01 3E 3B 5A 03 01 00 03 00 27 01 1E 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 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 8E EA 6A 66 0E 04 04 00 44 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 1A 56 00 00 35 04 06 00 54 5A FC 42 FB 50 A6 A0 0A 11 D6 EE E7 6E [12:48: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 AF F9 47 00 E1 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 1A 56 00 00 F4 03 04 00 51 93 6A 66 B6 04 01 00 00 C1 42 6A 33 56 36 0E 33 [12:48:07]CommunicateWithHost err = 0 [12:48:07]CheckOFDResponse [12:48:07]1017 (14) - 77093643461234 [12:48:07]1041 (16) - 0000000000965344 [12:48:07]1040 (4) - 22042 [12:48:07]1012 (4) - 13.06.2024 06:36 [12:48:07]1206 (1) - 0 [12:48:07]OFD Sender: Remove packet 22042 [12:48:07]ProducePacketName [12:48:07]name=ofd_packets/00022042 [12:48:07]NVStorageDeleteData [12:48:07]Write to MH i2c: 01 00 00 27 22 49 [12:48:07]Write i2c OK [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: 01 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: 01 07 00 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: 01 07 00 27 22 00 00 00 00 00 07 0D 64 [12:48:07]RasterBufferAndPrint [12:48:07]line [12:48:07]line [12:48:07]line [12:48:07]line [12:48:07]line [12:48:07]written 0, free lines is 3341 [12:48:07]MH_Cut [12:48:07]Write to MH i2c: D1 01 00 2E 22 01 22 [12:48:07]Write i2c OK [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: D1 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: D1 01 00 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: D1 01 00 2E 22 00 21 [12:48:07]Write to MH i2c: 01 00 00 2F 22 51 [12:48:07]Write i2c OK [12:48:07]MH_I2C_Read... [12:48:08]OFD Sender: No OFD packet to send [12:48:08]*** Cut start [12:48:08]*** Partial cut [12:48:08]*** CUTSNS_PIN = 1 [12:48:08]*** CUTSNS_PIN = 0 [12:48:08]*** Brake cut motor [12:48:09]Read from MH i2c: 01 [12:48:09]MH_I2C_Read... [12:48:09]*** Stop cut motor [12:48:09]*** Cut end [12:48:09]Read from MH i2c: 01 07 00 [12:48:09]MH_I2C_Read... [12:48:09]Read from MH i2c: 01 07 00 2F 22 00 00 00 00 00 FF 0F 66 [12:48:09]process_action close_receipt done [12:48:09]requested_data is exist [12:48:09]produce_requested_data [12:48:09]requested_item fm.sn is exist - process it [12:48:09]wFMCommunicate request_size=4 [12:48:09]MH_SAM_APDU [12:48:09]CAPDU: 80 11 00 00 [12:48:09]Write to MH i2c: E2 08 00 30 22 80 11 00 00 00 00 00 00 CC [12:48:09]Write i2c OK [12:48:09]MH_I2C_Read... [12:48:09]Read from MH i2c: E2 [12:48:09]MH_I2C_Read... [12:48:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:09]Read from MH i2c: E2 17 00 [12:48:09]MH_I2C_Read... [12:48:09]Read from MH i2c: E2 17 00 30 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 1E [12:48: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:48:09]wFMCommunicate OK [12:48:09]requested_item fd.num is exist - process it [12:48:09]SAM_PROTO_GetFieldsCounters [12:48:09]wFMCommunicate request_size=4 [12:48:09]MH_SAM_APDU [12:48:09]CAPDU: 80 13 00 00 [12:48:09]Write to MH i2c: E2 08 00 31 22 80 13 00 00 00 00 00 00 CF [12:48:09]Write i2c OK [12:48:09]MH_I2C_Read... [12:48:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:48:09]Read from MH i2c: E2 [12:48:09]MH_I2C_Read... [12:48:09]Read from MH i2c: E2 62 00 [12:48:09]MH_I2C_Read... [12:48:09]Read from MH i2c: E2 62 00 31 22 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 1A 56 00 00 0E 04 04 00 44 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 F0 [12:48: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 1A 56 00 00 0E 04 04 00 44 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 [12:48:09]wFMCommunicate OK [12:48:09]SAM_PROTO_GetFieldsCounters done [12:48:09]requested_item shift.num is exist - process it [12:48:09]requested_item shift.opened is exist - process it [12:48:09]req_shift_opened [12:48:09]FM_GetShiftState [12:48:09]SAM_PROTO_GetShiftState [12:48:09]wFMCommunicate request_size=4 [12:48:09]MH_SAM_APDU [12:48:09]CAPDU: 80 13 01 00 [12:48:09]Write to MH i2c: E2 08 00 32 22 80 13 01 00 00 00 00 00 D1 [12:48:09]Write i2c OK [12:48:09]MH_I2C_Read... [12:48:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:09]Read from MH i2c: E2 [12:48:09]MH_I2C_Read... [12:48:09]Read from MH i2c: E2 0E 00 [12:48:09]MH_I2C_Read... [12:48:09]Read from MH i2c: E2 0E 00 32 22 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 EF [12:48:09]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [12:48:09]wFMCommunicate OK [12:48:09]SAM_PROTO_GetShiftState done [12:48:09]FM_GetShiftState done [12:48:09]req_shift_opened done [12:48:09]requested_item shift.open_date is exist - process it [12:48:09]req_shift_open_date [12:48:09]req_shift_open_date done [12:48:09]produce_requested_data done [12:48:09]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22042,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [12:48:09]process_action_free close_receipt [12:48:09]json_value_free [12:48:09]json_value_free done [12:48:09]process_json_proto returns [12:48:09]Send response to host [12:48:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22042,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [12:48:09]free response buf [12:48:09]execute_script done [12:48:09]execute_script returns [12:48:09]free content buf [12:48:09]Sock 8.Close socket [12:48:09]Sock 8.Thread stoped [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [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:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:10]accept exits with 9 [13:01:10]New connection [13:01:10]New thread 3067321700 created [13:01:10]Thread 3067178340 joined [13:01:10]Waiting for new connection... [13:01:10] Sock 9.Parse request [13:01:10]Sock 9.Check first char [13:01:10]Sock 9.First char is OK [13:01:10]request: POST /json_proto HTTP/1.0 [13:01:10]Method: POST [13:01:10]URL: /json_proto [13:01:10]Method is POST - this is cgi request [13:01:10]url: /json_proto [13:01:10]query_string will be loaded in cgi processing [13:01:10]execute_cgi json_proto POST (null) [13:01:10]execute_cgi path=json_proto method=POST [13:01:10]POST find Content-Length [13:01:10]Host: 172.17.35.133:8080 [13:01:10]Content-Length: 2279 [13:01:10]Content-Type: application/json [13:01:10] [13:01:10]POST finish read [13:01:10]Found Content-Length = 2279 [13:01:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254276", "tax_sys" : 0, "items" : [ { "code": "4602441011186", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0438\u0437 \u0427\u0415\u0420\u041D\u041E\u0413\u041E\u041B \u0433\u0430\u0437 \u0442\u0430\u0440\u0445\u0443\u043D \u0441\u0442 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4870209744687", "name": "\u0413\u0440\u0435\u043D\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0422\u043E\u043C\u0430\u0442 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46196798", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030031", "name": "\u041A\u0443\u0440\u0443\u0442 orbit", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 649.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:01:10]execute_script... [13:01: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)254276", "tax_sys" : 0, "items" : [ { "code": "4602441011186", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0438\u0437 \u0427\u0415\u0420\u041D\u041E\u0413\u041E\u041B \u0433\u0430\u0437 \u0442\u0430\u0440\u0445\u0443\u043D \u0441\u0442 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4870209744687", "name": "\u0413\u0440\u0435\u043D\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0422\u043E\u043C\u0430\u0442 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46196798", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030031", "name": "\u041A\u0443\u0440\u0443\u0442 orbit", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 649.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:01:11]POST & json_proto [13:01:11]process_json_proto [13:01:11]json parsed OK: [13:01:11]protocol is kg_v1.0 [13:01:11]action value=close_receipt [13:01:11]process_action close_receipt [13:01:11]cmd_close_receipt [13:01:11]MH_GetDate [13:01:11]Write to MH i2c: F0 00 00 33 22 44 [13:01:11]Write i2c OK [13:01:11]MH_I2C_Read... [13:01:11]Read from MH i2c: F0 [13:01:11]MH_I2C_Read... [13:01:11]Read from MH i2c: F0 09 00 [13:01:11]MH_I2C_Read... [13:01:11]Read from MH i2c: F0 09 00 33 22 00 9F ED 6A 66 8C 55 28 65 17 [13:01:11]GetLastDocTimeStamp 1718282894 [13:01:11]current date 1718283679 [13:01:11]FM_GetShiftState [13:01:11]SAM_PROTO_GetShiftState [13:01:11]wFMCommunicate request_size=4 [13:01:11]MH_SAM_APDU [13:01:11]CAPDU: 80 13 01 00 [13:01:11]Write to MH i2c: E2 08 00 34 22 80 13 01 00 00 00 00 00 D3 [13:01:11]Write i2c OK [13:01:11]MH_I2C_Read... [13:01:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:01:11]Read from MH i2c: E2 [13:01:11]MH_I2C_Read... [13:01:11]Read from MH i2c: E2 0E 00 [13:01:11]MH_I2C_Read... [13:01:11]Read from MH i2c: E2 0E 00 34 22 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 F1 [13:01:11]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:01:11]wFMCommunicate OK [13:01:11]SAM_PROTO_GetShiftState done [13:01:11]FM_GetShiftState done [13:01:11]opened in 1718237959 [13:01:11]opened+sec_in_day 1718324359 [13:01:11]quantity*price = 12500 [13:01:11]sum+1 = 12501 [13:01:11]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860019001346 Вода Боржоми 0,5л ст 1.000 * 160.00 = 160.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001571535 Вода ASU пит н.газ персик ПЭТ 0,5л 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870209744687 Гренки Флинт Томат 100 гр 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46196798 Сигареты Mevius Revo 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700026030109 Курут чобого 1.000 * 42.00 = 42.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700026030031 Курут orbit 1.000 * 42.00 = 42.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 649.00 НСП 1% : 5.74 НДС 12% : 68.91 Наличными: 649.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 23 13.06.2024 13:01 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22043 ФПД: 2321786965103 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T130119&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22043&fm=2321786965103&tin=02508201610067®Number=0000000000099755&sum=64900 0 [13:01:12]StoreToDocumentArchive [13:01:12]shift 324 fd 22043 [13:01:12]save to /storage/0324/doc_00022043 [13:01:12]save last doc name /storage/0324/doc_00022043 to /storage/kkm_last_doc_name [13:01:12]save OK [13:01:12]Clear old archive folders... [13:01:12]ProcessDocumentItem done err = 0, tmpTLVsize=935 [13:01:12]tlvbuf is 00258390 [13:01:12]SAM_PROTO_ClearQueue [13:01:12]wFMCommunicate request_size=4 [13:01:12]MH_SAM_APDU [13:01:12]CAPDU: 80 09 00 00 [13:01:12]Write to MH i2c: E2 08 00 41 22 80 09 00 00 00 00 00 00 D5 [13:01:12]Write i2c OK [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 [13:01:12]MH_I2C_Read... [13:01:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:01:12]Read from MH i2c: E2 03 00 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 03 00 41 22 00 90 00 D7 [13:01:12]RAPDU: 90 00 [13:01:12]wFMCommunicate OK [13:01:12]SAM_PROTO_ClearQueue done [13:01:12]KKMCreateOFDPacket [13:01:12]OFDProtocolAddRootSTLVToBuf [13:01:12]FM_MakeSignedData [13:01:12]FM_MakeSignedData [13:01:12]SAM_PROTO_SignData [13:01:12]wFMCommunicate request_size=4 [13:01:12]MH_SAM_APDU [13:01:12]CAPDU: 80 0D 01 02 [13:01:12]Write to MH i2c: E2 08 00 42 22 80 0D 01 02 00 00 00 00 DD [13:01:12]Write i2c OK [13:01:12]MH_I2C_Read... [13:01:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:01:12]Read from MH i2c: E2 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 03 00 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 03 00 42 22 00 90 00 D8 [13:01:12]RAPDU: 90 00 [13:01:12]wFMCommunicate OK [13:01:12]wFMCommunicate request_size=255 [13:01:12]MH_SAM_APDU [13:01:12]CAPDU: 80 0D 02 02 FA 03 00 A7 03 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 38 36 06 04 43 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B8 D0 B7 20 D0 A7 D0 95 D0 A0 D0 9D D0 9E D0 93 D0 9E D0 9B 20 D0 B3 D0 B0 D0 B7 20 D1 82 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 D1 81 D1 82 20 30 2C 35 D0 BB 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 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [13:01:12]Write to MH i2c: E2 02 01 43 22 80 0D 02 02 FA 00 03 00 A7 03 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 38 36 06 04 43 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B8 D0 B7 20 D0 A7 D0 95 D0 A0 D0 9D D0 9E D0 93 D0 9E D0 9B 20 D0 B3 D0 B0 D0 B7 20 D1 82 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 D1 81 D1 82 20 30 2C 35 D0 BB 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 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 15 [13:01:12]Write i2c OK [13:01:12]MH_I2C_Read... [13:01:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:12]Read from MH i2c: E2 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 03 00 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 03 00 43 22 00 90 00 D9 [13:01:12]RAPDU: 90 00 [13:01:12]wFMCommunicate OK [13:01:12]wFMCommunicate request_size=255 [13:01:12]MH_SAM_APDU [13:01:12]CAPDU: 80 0D 02 02 FA 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 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 36 38 37 06 04 2B 00 D0 93 D1 80 D0 B5 D0 BD D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A2 D0 BE D0 BC D0 B0 D1 82 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 5B 00 [13:01:12]Write to MH i2c: E2 02 01 44 22 80 0D 02 02 FA 00 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 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 36 38 37 06 04 2B 00 D0 93 D1 80 D0 B5 D0 BD D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A2 D0 BE D0 BC D0 B0 D1 82 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 5B 00 00 00 BF [13:01:12]Write i2c OK [13:01:12]MH_I2C_Read... [13:01:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:13]Read from MH i2c: E2 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 03 00 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 03 00 44 22 00 90 00 DA [13:01:13]RAPDU: 90 00 [13:01:13]wFMCommunicate OK [13:01:13]wFMCommunicate request_size=255 [13:01:13]MH_SAM_APDU [13:01:13]CAPDU: 80 0D 02 02 FA 8A 04 08 00 34 36 31 39 36 37 39 38 06 04 1C 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 52 65 76 6F 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 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 [13:01:13]Write to MH i2c: E2 02 01 45 22 80 0D 02 02 FA 00 8A 04 08 00 34 36 31 39 36 37 39 38 06 04 1C 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 52 65 76 6F 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 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 00 00 CC [13:01:13]Write i2c OK [13:01:13]MH_I2C_Read... [13:01:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:13]Read from MH i2c: E2 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 03 00 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 03 00 45 22 00 90 00 DB [13:01:13]RAPDU: 90 00 [13:01:13]wFMCommunicate OK [13:01:13]wFMCommunicate request_size=194 [13:01:13]MH_SAM_APDU [13:01:13]CAPDU: 80 0D 02 02 BD 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1A 00 00 00 00 07 04 06 00 84 FD 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 9F ED 6A 66 0E 04 04 00 44 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 1B 56 00 00 35 04 06 00 02 1C 95 49 8C 6F [13:01:13]Write to MH i2c: E2 C5 00 46 22 80 0D 02 02 BD 00 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1A 00 00 00 00 07 04 06 00 84 FD 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 9F ED 6A 66 0E 04 04 00 44 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 1B 56 00 00 35 04 06 00 02 1C 95 49 8C 6F 00 00 44 [13:01:13]Write i2c OK [13:01:13]MH_I2C_Read... [13:01:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:13]Read from MH i2c: E2 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 03 00 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 03 00 46 22 00 90 00 DC [13:01:13]RAPDU: 90 00 [13:01:13]wFMCommunicate OK [13:01:13]wFMCommunicate request_size=4 [13:01:13]MH_SAM_APDU [13:01:13]CAPDU: 80 0D 03 02 [13:01:13]Write to MH i2c: E2 08 00 47 22 80 0D 03 02 00 00 00 00 E4 [13:01:13]Write i2c OK [13:01:13]MH_I2C_Read... [13:01:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:01:13]Read from MH i2c: E2 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 0B 00 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 0B 00 47 22 00 E7 0A C0 E4 82 33 19 89 90 00 D1 [13:01:13]RAPDU: E7 0A C0 E4 82 33 19 89 90 00 [13:01:13]wFMCommunicate OK [13:01:13]SAM_PROTO_SignData done [13:01:13]FM_MakeSignedData done [13:01:13]CreateOFDProtocolMessage [13:01:13]wFMCommunicate request_size=4 [13:01:13]MH_SAM_APDU [13:01:13]CAPDU: 80 11 00 00 [13:01:13]Write to MH i2c: E2 08 00 48 22 80 11 00 00 00 00 00 00 E4 [13:01:13]Write i2c OK [13:01:13]MH_I2C_Read... [13:01:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:13]Read from MH i2c: E2 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 17 00 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 17 00 48 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 36 [13:01:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:01:13]wFMCommunicate OK [13:01:13]CreateOFDProtocolMessage done [13:01:13]OFDSenderStorePacket 22043 [13:01:13]StoreOFDPacket docnum=22043 [13:01: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 BB 03 00 00 A0 EC B3 03 DD B0 5A 03 01 00 03 00 A7 03 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 38 36 06 04 43 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B8 D0 B7 20 D0 A7 D0 95 D0 A0 D0 9D D0 9E D0 93 D0 9E D0 9B 20 D0 B3 D0 B0 D0 B7 20 D1 82 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 D1 81 D1 82 20 30 2C 35 D0 BB 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 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 36 38 37 06 04 2B 00 D0 93 D1 80 D0 B5 D0 BD D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A2 D0 BE D0 BC D0 B0 D1 82 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 5B 00 8A 04 08 00 34 36 31 39 36 37 39 38 06 04 1C 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 52 65 76 6F 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 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1A 00 00 00 00 07 04 06 00 84 FD 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 9F ED 6A 66 0E 04 04 00 44 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 1B 56 00 00 35 04 06 00 02 1C 95 49 8C 6F E7 0A C0 E4 82 33 19 89 [13:01:14]CheckFolder [13:01:14]dirname=/storage/ofd_packets [13:01:14]CheckFolder done [13:01:14]ProducePacketName [13:01:14]name=ofd_packets/00022043 [13:01:14]NVStorageSaveData ofd_packets/00022043 [13:01:14]File name is /storage/ofd_packets/00022043 [13:01:14]Write 985 bytes [13:01:14]NVStorageSaveData done [13:01:14]OFDSenderStorePacket done [13:01:14]KKMCreateOFDPacket done [13:01:14]NVStorageSaveData kkm_last_timestamp [13:01:14]File name is /storage/kkm_last_timestamp [13:01:14]Write 4 bytes [13:01:14]NVStorageSaveData done [13:01:14]ExternCall_PrintAddStr [13:01:14]wPrintStart [13:01:14]Write to MH i2c: 01 00 00 49 22 6B [13:01:14]OFD Sender: No OFD packet to send [13:01:14]Write i2c OK [13:01:14]MH_I2C_Read... [13:01:14]Read from MH i2c: 01 [13:01:14]MH_I2C_Read... [13:01:14]Read from MH i2c: 01 07 00 [13:01:14]MH_I2C_Read... [13:01:14]Read from MH i2c: 01 07 00 49 22 00 00 00 00 00 FF 0F 80 [13:01:14]RasterBufferAndPrint [13:01:14]line Счет N : (3)254276 [13:01:14]line ИНН: 02508201610067 [13:01:14]line Контрольно-Кассовый Чек [13:01:14]line ПРОДАЖА [13:01:14]line Товар: 4602441011186 [13:01:14]line Напиток из ЧЕРНОГОЛ газ тархун ст 0,5л [13:01:14]line 1.000 * 125.00 [13:01:14]line = 125.00 [13:01:14]line НДС 12% НСП 1% [13:01:14]line > о реализуемом товаре [13:01:14]line Товар: 4860019001346 [13:01:14]line Вода Боржоми 0,5л ст [13:01:14]line 1.000 * 160.00 [13:01:14]line = 160.00 [13:01:14]line НДС 12% НСП 1% [13:01:14]line > о реализуемом товаре [13:01:14]line Товар: 4870001571535 [13:01:14]line Вода ASU пит н.газ персик ПЭТ 0,5л [13:01:14]line 1.000 * 65.00 [13:01:14]line = 65.00 [13:01:14]line НДС 12% НСП 1% [13:01:14]line > о реализуемом товаре [13:01:14]line Товар: 4870209744687 [13:01:14]line Гренки Флинт Томат 100 гр [13:01:14]line 1.000 * 60.00 [13:01:14]line = 60.00 [13:01:14]line НДС 12% НСП 1% [13:01:14]line > о реализуемом товаре [13:01:14]line Товар: 46196798 [13:01:14]line Сигареты Mevius Revo [13:01:14]line 1.000 * 155.00 [13:01:14]line = 155.00 [13:01:14]line НДС 12% НСП 1% [13:01:14]line > о реализуемом товаре [13:01:14]line Товар: 4700026030109 [13:01:14]line Курут чобого [13:01:14]line 1.000 * 42.00 [13:01:14]line = 42.00 [13:01:14]line НДС 12% НСП 1% [13:01:14]line > о реализуемом товаре [13:01:14]line Товар: 4700026030031 [13:01:14]line Курут orbit [13:01:14]line 1.000 * 42.00 [13:01:14]line = 42.00 [13:01:14]line НДС 12% НСП 1% [13:01:14]line > о реализуемом товаре [13:01:14]line ИТОГО: 649.00 [13:01:14]line НСП 1% : 5.74 [13:01:14]line НДС 12% : 68.91 [13:01:14]line Наличными: 649.00 [13:01:14]line Безнал.: 0.00 [13:01:14]line Место: АЗС № 76 "Партнер Нефть" [13:01:14]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:01:14]line СНО: Общий режим [13:01:14]line Чек 23 13.06.2024 13:01 [13:01:14]line Смена: 324 ФФД: 1.0 [13:01:14]line ЗНМ: 0300000200 [13:01:14]line РНМ: 0000000000099755 [13:01:14]line Версия ККМ: 001 [13:01:14]line ФМ: 0000000000965344 [13:01:14]line ФД: 22043 [13:01:14]line ФПД: 2321786965103 [13:01:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T130119&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22043&fm=2321786965103&tin=02508201610067®Number=0000000000099755&sum=64900 [13:01:14]line 0 [13:01:14]written 0, free lines is 4095 [13:01:14]OFD Sender: Processing packet 22043 [packets to send 5, broken 4] [13:01:14]ProducePacketName [13:01:14]name=ofd_packets/00022043 [13:01:14]OFD Sender: To server: pG, [13:01:14]CommunicateWithHost lk.salyk.kg:30040 [13:01:14]ConnectInit lk.salyk.kg [13:01:14]Connected sock=10 [13:01: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 BB 03 00 00 A0 EC B3 03 DD B0 5A 03 01 00 03 00 A7 03 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 38 36 06 04 43 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B8 D0 B7 20 D0 A7 D0 95 D0 A0 D0 9D D0 9E D0 93 D0 9E D0 9B 20 D0 B3 D0 B0 D0 B7 20 D1 82 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 D1 81 D1 82 20 30 2C 35 D0 BB 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 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 36 38 37 06 04 2B 00 D0 93 D1 80 D0 B5 D0 BD D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A2 D0 BE D0 BC D0 B0 D1 82 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 5B 00 8A 04 08 00 34 36 31 39 36 37 39 38 06 04 1C 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 52 65 76 6F 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 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1A 00 00 00 00 07 04 06 00 84 FD 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 9F ED 6A 66 0E 04 04 00 44 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 1B 56 00 00 35 04 06 00 02 1C 95 49 8C 6F E7 0A C0 E4 82 33 19 89 [13:01: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 93 74 47 00 65 BC 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 1B 56 00 00 F4 03 04 00 64 96 6A 66 B6 04 01 00 00 3F E3 4E 72 12 9B 69 EE [13:01:14]CommunicateWithHost err = 0 [13:01:14]CheckOFDResponse [13:01:14]1017 (14) - 77093643461234 [13:01:14]1041 (16) - 0000000000965344 [13:01:14]1040 (4) - 22043 [13:01:14]1012 (4) - 13.06.2024 06:49 [13:01:14]1206 (1) - 0 [13:01:14]OFD Sender: Remove packet 22043 [13:01:14]ProducePacketName [13:01:14]name=ofd_packets/00022043 [13:01:14]NVStorageDeleteData [13:01:15]Write to MH i2c: 01 00 00 97 22 B9 [13:01:15]Write i2c OK [13:01:15]MH_I2C_Read... [13:01:15]Read from MH i2c: 01 [13:01:15]MH_I2C_Read... [13:01:15]Read from MH i2c: 01 07 00 [13:01:15]MH_I2C_Read... [13:01:15]Read from MH i2c: 01 07 00 97 22 00 00 00 00 00 2E 0B F9 [13:01:15]RasterBufferAndPrint [13:01:15]line [13:01:15]line [13:01:15]line [13:01:15]line [13:01:15]line [13:01:15]written 0, free lines is 2874 [13:01:15]MH_Cut [13:01:15]Write to MH i2c: D1 01 00 9E 22 01 92 [13:01:15]Write i2c OK [13:01:15]MH_I2C_Read... [13:01:15]Read from MH i2c: D1 [13:01:15]MH_I2C_Read... [13:01:15]Read from MH i2c: D1 01 00 [13:01:15]MH_I2C_Read... [13:01:15]Read from MH i2c: D1 01 00 9E 22 00 91 [13:01:15]Write to MH i2c: 01 00 00 9F 22 C1 [13:01:15]Write i2c OK [13:01:15]MH_I2C_Read... [13:01:15]OFD Sender: No OFD packet to send [13:01:15]*** Cut start [13:01:15]*** Partial cut [13:01:15]*** CUTSNS_PIN = 1 [13:01:16]*** CUTSNS_PIN = 0 [13:01:16]*** Brake cut motor [13:01:16]Read from MH i2c: 01 [13:01:16]MH_I2C_Read... [13:01:16]*** Stop cut motor [13:01:16]*** Cut end [13:01:16]Read from MH i2c: 01 07 00 [13:01:16]MH_I2C_Read... [13:01:16]Read from MH i2c: 01 07 00 9F 22 00 00 00 00 00 FF 0F D6 [13:01:16]process_action close_receipt done [13:01:16]requested_data is exist [13:01:16]produce_requested_data [13:01:16]requested_item fm.sn is exist - process it [13:01:16]wFMCommunicate request_size=4 [13:01:16]MH_SAM_APDU [13:01:16]CAPDU: 80 11 00 00 [13:01:16]Write to MH i2c: E2 08 00 A0 22 80 11 00 00 00 00 00 00 3C [13:01:16]Write i2c OK [13:01:16]MH_I2C_Read... [13:01:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:16]Read from MH i2c: E2 [13:01:16]MH_I2C_Read... [13:01:16]Read from MH i2c: E2 17 00 [13:01:16]MH_I2C_Read... [13:01:16]Read from MH i2c: E2 17 00 A0 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8E [13:01:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:01:16]wFMCommunicate OK [13:01:16]requested_item fd.num is exist - process it [13:01:16]SAM_PROTO_GetFieldsCounters [13:01:16]wFMCommunicate request_size=4 [13:01:16]MH_SAM_APDU [13:01:16]CAPDU: 80 13 00 00 [13:01:16]Write to MH i2c: E2 08 00 A1 22 80 13 00 00 00 00 00 00 3F [13:01:16]Write i2c OK [13:01:16]MH_I2C_Read... [13:01:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:01:16]Read from MH i2c: E2 [13:01:16]MH_I2C_Read... [13:01:16]Read from MH i2c: E2 62 00 [13:01:16]MH_I2C_Read... [13:01:16]Read from MH i2c: E2 62 00 A1 22 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 1B 56 00 00 0E 04 04 00 44 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 64 [13:01: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 1B 56 00 00 0E 04 04 00 44 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 [13:01:16]wFMCommunicate OK [13:01:16]SAM_PROTO_GetFieldsCounters done [13:01:16]requested_item shift.num is exist - process it [13:01:16]requested_item shift.opened is exist - process it [13:01:16]req_shift_opened [13:01:16]FM_GetShiftState [13:01:16]SAM_PROTO_GetShiftState [13:01:16]wFMCommunicate request_size=4 [13:01:16]MH_SAM_APDU [13:01:16]CAPDU: 80 13 01 00 [13:01:16]Write to MH i2c: E2 08 00 A2 22 80 13 01 00 00 00 00 00 41 [13:01:16]Write i2c OK [13:01:16]MH_I2C_Read... [13:01:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:01:16]Read from MH i2c: E2 [13:01:16]MH_I2C_Read... [13:01:16]Read from MH i2c: E2 0E 00 [13:01:16]MH_I2C_Read... [13:01:16]Read from MH i2c: E2 0E 00 A2 22 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 5F [13:01:16]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:01:16]wFMCommunicate OK [13:01:16]SAM_PROTO_GetShiftState done [13:01:16]FM_GetShiftState done [13:01:16]req_shift_opened done [13:01:16]requested_item shift.open_date is exist - process it [13:01:16]req_shift_open_date [13:01:16]req_shift_open_date done [13:01:16]produce_requested_data done [13:01:16]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22043,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [13:01:16]process_action_free close_receipt [13:01:16]json_value_free [13:01:16]json_value_free done [13:01:16]process_json_proto returns [13:01:16]Send response to host [13:01:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22043,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [13:01:16]free response buf [13:01:16]execute_script done [13:01:16]execute_script returns [13:01:16]free content buf [13:01:16]Sock 9.Close socket [13:01:16]Sock 9.Thread stoped [13:01:20]OFD Sender: No OFD packet to send [13:01:25]OFD Sender: No OFD packet to send [13:01:30]OFD Sender: No OFD packet to send [13:01:35]OFD Sender: No OFD packet to send [13:01:40]OFD Sender: No OFD packet to send [13:01:45]OFD Sender: No OFD packet to send [13:01:50]OFD Sender: No OFD packet to send [13:01:55]OFD Sender: No OFD packet to send [13:02:00]OFD Sender: No OFD packet to send [13:02:05]OFD Sender: No OFD packet to send [13:02:10]OFD Sender: No OFD packet to send [13:02:15]OFD Sender: No OFD packet to send [13:02:20]OFD Sender: No OFD packet to send [13:02:25]OFD Sender: No OFD packet to send [13:02:30]OFD Sender: No OFD packet to send [13:02:35]OFD Sender: No OFD packet to send [13:02:40]OFD Sender: No OFD packet to send [13:02:45]OFD Sender: No OFD packet to send [13:02:50]OFD Sender: No OFD packet to send [13:02:55]OFD Sender: No OFD packet to send [13:03:00]OFD Sender: No OFD packet to send [13:03:05]OFD Sender: No OFD packet to send [13:03:10]OFD Sender: No OFD packet to send [13:03:15]OFD Sender: No OFD packet to send [13:03:20]OFD Sender: No OFD packet to send [13:03:25]OFD Sender: No OFD packet to send [13:03:30]OFD Sender: No OFD packet to send [13:03:35]OFD Sender: No OFD packet to send [13:03:40]OFD Sender: No OFD packet to send [13:03:45]OFD Sender: No OFD packet to send [13:03:50]OFD Sender: No OFD packet to send [13:03:55]OFD Sender: No OFD packet to send [13:04:00]OFD Sender: No OFD packet to send [13:04:05]OFD Sender: No OFD packet to send [13:04:10]OFD Sender: No OFD packet to send [13:04:15]OFD Sender: No OFD packet to send [13:04:20]OFD Sender: No OFD packet to send [13:04:25]OFD Sender: No OFD packet to send [13:04:30]OFD Sender: No OFD packet to send [13:04:35]OFD Sender: No OFD packet to send [13:04:40]OFD Sender: No OFD packet to send [13:04:45]OFD Sender: No OFD packet to send [13:04:50]OFD Sender: No OFD packet to send [13:04:55]OFD Sender: No OFD packet to send [13:05:00]OFD Sender: No OFD packet to send [13:05:05]OFD Sender: No OFD packet to send [13:05:10]OFD Sender: No OFD packet to send [13:05:15]OFD Sender: No OFD packet to send [13:05:20]OFD Sender: No OFD packet to send [13:05:25]OFD Sender: No OFD packet to send [13:05:30]OFD Sender: No OFD packet to send [13:05:35]OFD Sender: No OFD packet to send [13:05:40]OFD Sender: No OFD packet to send [13:05:45]OFD Sender: No OFD packet to send [13:05:50]OFD Sender: No OFD packet to send [13:05:55]OFD Sender: No OFD packet to send [13:06:00]OFD Sender: No OFD packet to send [13:06:05]OFD Sender: No OFD packet to send [13:06:10]OFD Sender: No OFD packet to send [13:06:15]OFD Sender: No OFD packet to send [13:06:20]OFD Sender: No OFD packet to send [13:06:25]OFD Sender: No OFD packet to send [13:06:30]OFD Sender: No OFD packet to send [13:06:35]OFD Sender: No OFD packet to send [13:06:40]OFD Sender: No OFD packet to send [13:06:45]OFD Sender: No OFD packet to send [13:06:50]OFD Sender: No OFD packet to send [13:06:55]OFD Sender: No OFD packet to send [13:07:00]OFD Sender: No OFD packet to send [13:07:05]OFD Sender: No OFD packet to send [13:07:10]OFD Sender: No OFD packet to send [13:07:15]OFD Sender: No OFD packet to send [13:07:20]OFD Sender: No OFD packet to send [13:07:25]OFD Sender: No OFD packet to send [13:07:30]OFD Sender: No OFD packet to send [13:07:35]OFD Sender: No OFD packet to send [13:07:40]OFD Sender: No OFD packet to send [13:07:45]OFD Sender: No OFD packet to send [13:07:50]OFD Sender: No OFD packet to send [13:07:55]OFD Sender: No OFD packet to send [13:08:00]OFD Sender: No OFD packet to send [13:08:05]OFD Sender: No OFD packet to send [13:08:10]OFD Sender: No OFD packet to send [13:08:15]OFD Sender: No OFD packet to send [13:08:20]OFD Sender: No OFD packet to send [13:08:25]OFD Sender: No OFD packet to send [13:08:30]OFD Sender: No OFD packet to send [13:08:35]OFD Sender: No OFD packet to send [13:08:40]OFD Sender: No OFD packet to send [13:08:45]OFD Sender: No OFD packet to send [13:08:50]OFD Sender: No OFD packet to send [13:08:55]OFD Sender: No OFD packet to send [13:09:00]OFD Sender: No OFD packet to send [13:09:05]OFD Sender: No OFD packet to send [13:09:10]OFD Sender: No OFD packet to send [13:09:15]OFD Sender: No OFD packet to send [13:09:20]OFD Sender: No OFD packet to send [13:09:25]OFD Sender: No OFD packet to send [13:09:30]OFD Sender: No OFD packet to send [13:09:35]OFD Sender: No OFD packet to send [13:09:40]OFD Sender: No OFD packet to send [13:09:45]OFD Sender: No OFD packet to send [13:09:50]OFD Sender: No OFD packet to send [13:09:55]OFD Sender: No OFD packet to send [13:10:00]OFD Sender: No OFD packet to send [13:10:05]OFD Sender: No OFD packet to send [13:10:10]OFD Sender: No OFD packet to send [13:10:15]OFD Sender: No OFD packet to send [13:10:20]OFD Sender: No OFD packet to send [13:10:25]OFD Sender: No OFD packet to send [13:10:30]OFD Sender: No OFD packet to send [13:10:35]OFD Sender: No OFD packet to send [13:10:40]OFD Sender: No OFD packet to send [13:10:45]OFD Sender: No OFD packet to send [13:10:50]OFD Sender: No OFD packet to send [13:10:55]OFD Sender: No OFD packet to send [13:11:00]OFD Sender: No OFD packet to send [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:30]OFD Sender: No OFD packet to send [13:11:35]OFD Sender: No OFD packet to send [13:11:40]OFD Sender: No OFD packet to send [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:05]OFD Sender: No OFD packet to send [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:20]OFD Sender: No OFD packet to send [13:12:25]OFD Sender: No OFD packet to send [13:12:30]OFD Sender: No OFD packet to send [13:12:35]OFD Sender: No OFD packet to send [13:12:40]OFD Sender: No OFD packet to send [13:12:45]OFD Sender: No OFD packet to send [13:12:50]OFD Sender: No OFD packet to send [13:12:55]OFD Sender: No OFD packet to send [13:13:00]OFD Sender: No OFD packet to send [13:13:05]OFD Sender: No OFD packet to send [13:13:10]OFD Sender: No OFD packet to send [13:13:15]OFD Sender: No OFD packet to send [13:13:20]OFD Sender: No OFD packet to send [13:13:25]OFD Sender: No OFD packet to send [13:13:30]OFD Sender: No OFD packet to send [13:13:33]accept exits with 8 [13:13:33]New connection [13:13:33]New thread 3067178340 created [13:13:33]Thread 3067321700 joined [13:13:33]Waiting for new connection... [13:13:33] Sock 8.Parse request [13:13:33]Sock 8.Check first char [13:13:33]Sock 8.First char is OK [13:13:33]request: POST /json_proto HTTP/1.0 [13:13:33]Method: POST [13:13:33]URL: /json_proto [13:13:33]Method is POST - this is cgi request [13:13:33]url: /json_proto [13:13:33]query_string will be loaded in cgi processing [13:13:33]execute_cgi json_proto POST (null) [13:13:33]execute_cgi path=json_proto method=POST [13:13:33]POST find Content-Length [13:13:33]Host: 172.17.35.133:8080 [13:13:33]Content-Length: 568 [13:13:33]Content-Type: application/json [13:13:33] [13:13:33]POST finish read [13:13:33]Found Content-Length = 568 [13:13:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254278", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:33]execute_script... [13:13:33]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)254278", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:33]POST & json_proto [13:13:33]process_json_proto [13:13:33]json parsed OK: [13:13:33]protocol is kg_v1.0 [13:13:33]action value=close_receipt [13:13:33]process_action close_receipt [13:13:33]cmd_close_receipt [13:13:33]MH_GetDate [13:13:33]Write to MH i2c: F0 00 00 A3 22 B4 [13:13:33]Write i2c OK [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: F0 [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: F0 09 00 [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: F0 09 00 A3 22 00 86 F0 6A 66 8C 55 28 65 71 [13:13:33]GetLastDocTimeStamp 1718283679 [13:13:33]current date 1718284422 [13:13:33]FM_GetShiftState [13:13:33]SAM_PROTO_GetShiftState [13:13:33]wFMCommunicate request_size=4 [13:13:33]MH_SAM_APDU [13:13:33]CAPDU: 80 13 01 00 [13:13:33]Write to MH i2c: E2 08 00 A4 22 80 13 01 00 00 00 00 00 43 [13:13:33]Write i2c OK [13:13:33]MH_I2C_Read... [13:13:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:33]Read from MH i2c: E2 [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: E2 0E 00 [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: E2 0E 00 A4 22 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 61 [13:13:33]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:13:33]wFMCommunicate OK [13:13:33]SAM_PROTO_GetShiftState done [13:13:33]FM_GetShiftState done [13:13:33]opened in 1718237959 [13:13:33]opened+sec_in_day 1718324359 [13:13:33]quantity*price = 13000 [13:13:33]sum+1 = 13001 [13:13:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 24 13.06.2024 13:13 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22044 ФПД: 7292971898487 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T131342&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22044&fm=7292971898487&tin=02508201610067®Number=0000000000099755&sum=13000 0 [13:13:34]StoreToDocumentArchive [13:13:34]shift 324 fd 22044 [13:13:34]save to /storage/0324/doc_00022044 [13:13:34]save last doc name /storage/0324/doc_00022044 to /storage/kkm_last_doc_name [13:13:34]save OK [13:13:34]Clear old archive folders... [13:13:34]ProcessDocumentItem done err = 0, tmpTLVsize=252 [13:13:34]tlvbuf is 00297EE0 [13:13:34]SAM_PROTO_ClearQueue [13:13:34]wFMCommunicate request_size=4 [13:13:34]MH_SAM_APDU [13:13:34]CAPDU: 80 09 00 00 [13:13:34]Write to MH i2c: E2 08 00 B1 22 80 09 00 00 00 00 00 00 45 [13:13:34]Write i2c OK [13:13:34]MH_I2C_Read... [13:13:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:13:34]Read from MH i2c: E2 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 03 00 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 03 00 B1 22 00 90 00 47 [13:13:34]RAPDU: 90 00 [13:13:34]wFMCommunicate OK [13:13:34]SAM_PROTO_ClearQueue done [13:13:34]KKMCreateOFDPacket [13:13:34]OFDProtocolAddRootSTLVToBuf [13:13:34]FM_MakeSignedData [13:13:34]FM_MakeSignedData [13:13:34]SAM_PROTO_SignData [13:13:34]wFMCommunicate request_size=4 [13:13:34]MH_SAM_APDU [13:13:34]CAPDU: 80 0D 01 02 [13:13:34]Write to MH i2c: E2 08 00 B2 22 80 0D 01 02 00 00 00 00 4D [13:13:34]Write i2c OK [13:13:34]MH_I2C_Read... [13:13:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:13:34]Read from MH i2c: E2 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 03 00 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 03 00 B2 22 00 90 00 48 [13:13:34]RAPDU: 90 00 [13:13:34]wFMCommunicate OK [13:13:34]wFMCommunicate request_size=255 [13:13:34]MH_SAM_APDU [13:13:34]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 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 18 00 00 00 F4 03 04 00 86 F0 6A 66 0E 04 04 00 44 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 1C 56 00 00 35 04 06 00 [13:13:34]Write to MH i2c: E2 02 01 B3 22 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 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 18 00 00 00 F4 03 04 00 86 F0 6A 66 0E 04 04 00 44 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 1C 56 00 00 35 04 06 00 00 00 84 [13:13:34]Write i2c OK [13:13:34]MH_I2C_Read... [13:13:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:34]Read from MH i2c: E2 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 03 00 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 03 00 B3 22 00 90 00 49 [13:13:34]RAPDU: 90 00 [13:13:34]wFMCommunicate OK [13:13:34]wFMCommunicate request_size=11 [13:13:34]MH_SAM_APDU [13:13:34]CAPDU: 80 0D 02 02 06 06 A2 06 FF D6 77 [13:13:34]Write to MH i2c: E2 0E 00 B4 22 80 0D 02 02 06 00 06 A2 06 FF D6 77 00 00 56 [13:13:34]Write i2c OK [13:13:34]MH_I2C_Read... [13:13:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:34]Read from MH i2c: E2 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 03 00 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 03 00 B4 22 00 90 00 4A [13:13:34]RAPDU: 90 00 [13:13:34]wFMCommunicate OK [13:13:34]wFMCommunicate request_size=4 [13:13:34]MH_SAM_APDU [13:13:34]CAPDU: 80 0D 03 02 [13:13:34]Write to MH i2c: E2 08 00 B5 22 80 0D 03 02 00 00 00 00 52 [13:13:34]Write i2c OK [13:13:34]MH_I2C_Read... [13:13:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:13:34]Read from MH i2c: E2 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 0B 00 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 0B 00 B5 22 00 A9 38 8A 0D A0 04 CE 56 90 00 93 [13:13:34]RAPDU: A9 38 8A 0D A0 04 CE 56 90 00 [13:13:34]wFMCommunicate OK [13:13:34]SAM_PROTO_SignData done [13:13:34]FM_MakeSignedData done [13:13:34]CreateOFDProtocolMessage [13:13:34]wFMCommunicate request_size=4 [13:13:34]MH_SAM_APDU [13:13:34]CAPDU: 80 11 00 00 [13:13:34]Write to MH i2c: E2 08 00 B6 22 80 11 00 00 00 00 00 00 52 [13:13:34]Write i2c OK [13:13:34]MH_I2C_Read... [13:13:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:34]Read from MH i2c: E2 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 17 00 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: E2 17 00 B6 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A4 [13:13: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:13:34]wFMCommunicate OK [13:13:34]CreateOFDProtocolMessage done [13:13:34]OFDSenderStorePacket 22044 [13:13:34]StoreOFDPacket docnum=22044 [13:13: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 10 01 00 00 02 7D 08 01 79 1D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 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 18 00 00 00 F4 03 04 00 86 F0 6A 66 0E 04 04 00 44 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 1C 56 00 00 35 04 06 00 06 A2 06 FF D6 77 A9 38 8A 0D A0 04 CE 56 [13:13:34]CheckFolder [13:13:34]dirname=/storage/ofd_packets [13:13:34]CheckFolder done [13:13:34]ProducePacketName [13:13:34]name=ofd_packets/00022044 [13:13:34]NVStorageSaveData ofd_packets/00022044 [13:13:34]File name is /storage/ofd_packets/00022044 [13:13:34]Write 302 bytes [13:13:34]NVStorageSaveData done [13:13:34]OFDSenderStorePacket done [13:13:34]KKMCreateOFDPacket done [13:13:34]NVStorageSaveData kkm_last_timestamp [13:13:34]File name is /storage/kkm_last_timestamp [13:13:34]Write 4 bytes [13:13:34]NVStorageSaveData done [13:13:34]ExternCall_PrintAddStr [13:13:34]wPrintStart [13:13:34]Write to MH i2c: 01 00 00 B7 22 D9 [13:13:34]Write i2c OK [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: 01 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: 01 07 00 [13:13:34]MH_I2C_Read... [13:13:34]Read from MH i2c: 01 07 00 B7 22 00 00 00 00 00 FF 0F EE [13:13:34]RasterBufferAndPrint [13:13:34]line Счет N : (3)254278 [13:13:34]line ИНН: 02508201610067 [13:13:34]line Контрольно-Кассовый Чек [13:13:34]line ПРОДАЖА [13:13:34]line Товар: 48744539 [13:13:34]line LD Compact Blue [13:13:34]line 1.000 * 130.00 [13:13:34]line = 130.00 [13:13:34]line НДС 12% НСП 1% [13:13:34]line > о реализуемом товаре [13:13:34]line ИТОГО: 130.00 [13:13:34]line НСП 1% : 1.15 [13:13:34]line НДС 12% : 13.80 [13:13:34]line Наличными: 130.00 [13:13:34]line Безнал.: 0.00 [13:13:34]line Место: АЗС № 76 "Партнер Нефть" [13:13:34]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:13:34]line СНО: Общий режим [13:13:34]line Чек 24 13.06.2024 13:13 [13:13:34]line Смена: 324 ФФД: 1.0 [13:13:34]line ЗНМ: 0300000200 [13:13:34]line РНМ: 0000000000099755 [13:13:34]line Версия ККМ: 001 [13:13:34]line ФМ: 0000000000965344 [13:13:34]line ФД: 22044 [13:13:34]line ФПД: 7292971898487 [13:13:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T131342&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22044&fm=7292971898487&tin=02508201610067®Number=0000000000099755&sum=13000 [13:13:35]line 0 [13:13:35]OFD Sender: Processing packet 22044 [packets to send 5, broken 4] [13:13:35]ProducePacketName [13:13:35]name=ofd_packets/00022044 [13:13:35]OFD Sender: To server: pG, [13:13:35]CommunicateWithHost lk.salyk.kg:30040 [13:13:35]ConnectInit lk.salyk.kg [13:13:35]written 0, free lines is 4095 [13:13:35]Connected sock=10 [13:13:35]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 02 7D 08 01 79 1D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 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 18 00 00 00 F4 03 04 00 86 F0 6A 66 0E 04 04 00 44 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 1C 56 00 00 35 04 06 00 06 A2 06 FF D6 77 A9 38 8A 0D A0 04 CE 56 [13:13:35]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 4A A8 47 00 7E AE 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 1C 56 00 00 F4 03 04 00 49 99 6A 66 B6 04 01 00 00 C6 BA 73 05 EA 38 68 27 [13:13:35]CommunicateWithHost err = 0 [13:13:35]CheckOFDResponse [13:13:35]1017 (14) - 77093643461234 [13:13:35]1041 (16) - 0000000000965344 [13:13:35]1040 (4) - 22044 [13:13:35]1012 (4) - 13.06.2024 07:01 [13:13:35]1206 (1) - 0 [13:13:35]OFD Sender: Remove packet 22044 [13:13:35]ProducePacketName [13:13:35]name=ofd_packets/00022044 [13:13:35]NVStorageDeleteData [13:13:35]Write to MH i2c: 01 00 00 DF 22 01 [13:13:35]Write i2c OK [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: 01 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: 01 07 00 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: 01 07 00 DF 22 00 00 00 00 00 0E 0D 23 [13:13:35]RasterBufferAndPrint [13:13:35]line [13:13:35]line [13:13:35]line [13:13:35]line [13:13:35]line [13:13:35]written 0, free lines is 3348 [13:13:35]MH_Cut [13:13:35]Write to MH i2c: D1 01 00 E6 22 01 DA [13:13:35]Write i2c OK [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: D1 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: D1 01 00 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: D1 01 00 E6 22 00 D9 [13:13:35]Write to MH i2c: 01 00 00 E7 22 09 [13:13:35]Write i2c OK [13:13:35]MH_I2C_Read... [13:13:36]OFD Sender: No OFD packet to send [13:13:36]*** Cut start [13:13:36]*** Partial cut [13:13:36]*** CUTSNS_PIN = 1 [13:13:36]*** CUTSNS_PIN = 0 [13:13:36]*** Brake cut motor [13:13:37]Read from MH i2c: 01 [13:13:37]MH_I2C_Read... [13:13:37]*** Stop cut motor [13:13:37]*** Cut end [13:13:37]Read from MH i2c: 01 07 00 [13:13:37]MH_I2C_Read... [13:13:37]Read from MH i2c: 01 07 00 E7 22 00 00 00 00 00 FF 0F 1E [13:13:37]process_action close_receipt done [13:13:37]requested_data is exist [13:13:37]produce_requested_data [13:13:37]requested_item fm.sn is exist - process it [13:13:37]wFMCommunicate request_size=4 [13:13:37]MH_SAM_APDU [13:13:37]CAPDU: 80 11 00 00 [13:13:37]Write to MH i2c: E2 08 00 E8 22 80 11 00 00 00 00 00 00 84 [13:13:37]Write i2c OK [13:13:37]MH_I2C_Read... [13:13:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:37]Read from MH i2c: E2 [13:13:37]MH_I2C_Read... [13:13:37]Read from MH i2c: E2 17 00 [13:13:37]MH_I2C_Read... [13:13:37]Read from MH i2c: E2 17 00 E8 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D6 [13:13:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:13:37]wFMCommunicate OK [13:13:37]requested_item fd.num is exist - process it [13:13:37]SAM_PROTO_GetFieldsCounters [13:13:37]wFMCommunicate request_size=4 [13:13:37]MH_SAM_APDU [13:13:37]CAPDU: 80 13 00 00 [13:13:37]Write to MH i2c: E2 08 00 E9 22 80 13 00 00 00 00 00 00 87 [13:13:37]Write i2c OK [13:13:37]MH_I2C_Read... [13:13:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:13:37]Read from MH i2c: E2 [13:13:37]MH_I2C_Read... [13:13:37]Read from MH i2c: E2 62 00 [13:13:37]MH_I2C_Read... [13:13:37]Read from MH i2c: E2 62 00 E9 22 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 1C 56 00 00 0E 04 04 00 44 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 B0 [13:13:37]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 1C 56 00 00 0E 04 04 00 44 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 [13:13:37]wFMCommunicate OK [13:13:37]SAM_PROTO_GetFieldsCounters done [13:13:37]requested_item shift.num is exist - process it [13:13:37]requested_item shift.opened is exist - process it [13:13:37]req_shift_opened [13:13:37]FM_GetShiftState [13:13:37]SAM_PROTO_GetShiftState [13:13:37]wFMCommunicate request_size=4 [13:13:37]MH_SAM_APDU [13:13:37]CAPDU: 80 13 01 00 [13:13:37]Write to MH i2c: E2 08 00 EA 22 80 13 01 00 00 00 00 00 89 [13:13:37]Write i2c OK [13:13:37]MH_I2C_Read... [13:13:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:37]Read from MH i2c: E2 [13:13:37]MH_I2C_Read... [13:13:37]Read from MH i2c: E2 0E 00 [13:13:37]MH_I2C_Read... [13:13:37]Read from MH i2c: E2 0E 00 EA 22 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 A7 [13:13:37]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:13:37]wFMCommunicate OK [13:13:37]SAM_PROTO_GetShiftState done [13:13:37]FM_GetShiftState done [13:13:37]req_shift_opened done [13:13:37]requested_item shift.open_date is exist - process it [13:13:37]req_shift_open_date [13:13:37]req_shift_open_date done [13:13:37]produce_requested_data done [13:13:37]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22044,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [13:13:37]process_action_free close_receipt [13:13:37]json_value_free [13:13:37]json_value_free done [13:13:37]process_json_proto returns [13:13:37]Send response to host [13:13:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22044,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [13:13:37]free response buf [13:13:37]execute_script done [13:13:37]execute_script returns [13:13:37]free content buf [13:13:37]Sock 8.Close socket [13:13:37]Sock 8.Thread stoped [13:13:41]OFD Sender: No OFD packet to send [13:13:44]accept exits with 9 [13:13:44]New connection [13:13:44]New thread 3067321700 created [13:13:44]Thread 3067178340 joined [13:13:44]Waiting for new connection... [13:13:44] Sock 9.Parse request [13:13:44]Sock 9.Check first char [13:13:44]Sock 9.First char is OK [13:13:44]request: POST /json_proto HTTP/1.0 [13:13:44]Method: POST [13:13:44]URL: /json_proto [13:13:44]Method is POST - this is cgi request [13:13:44]url: /json_proto [13:13:44]query_string will be loaded in cgi processing [13:13:44]execute_cgi json_proto POST (null) [13:13:44]execute_cgi path=json_proto method=POST [13:13:44]POST find Content-Length [13:13:44]Host: 172.17.35.133:8080 [13:13:44]Content-Length: 621 [13:13:44]Content-Type: application/json [13:13:44] [13:13:44]POST finish read [13:13:44]Found Content-Length = 621 [13:13:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254279", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:44]execute_script... [13:13: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)254279", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:44]POST & json_proto [13:13:44]process_json_proto [13:13:44]json parsed OK: [13:13:44]protocol is kg_v1.0 [13:13:44]action value=close_receipt [13:13:44]process_action close_receipt [13:13:44]cmd_close_receipt [13:13:44]MH_GetDate [13:13:44]Write to MH i2c: F0 00 00 EB 22 FC [13:13:44]Write i2c OK [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: F0 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: F0 09 00 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: F0 09 00 EB 22 00 91 F0 6A 66 8C 55 28 65 C4 [13:13:44]GetLastDocTimeStamp 1718284422 [13:13:44]current date 1718284433 [13:13:44]FM_GetShiftState [13:13:44]SAM_PROTO_GetShiftState [13:13:44]wFMCommunicate request_size=4 [13:13:44]MH_SAM_APDU [13:13:44]CAPDU: 80 13 01 00 [13:13:44]Write to MH i2c: E2 08 00 EC 22 80 13 01 00 00 00 00 00 8B [13:13:44]Write i2c OK [13:13:44]MH_I2C_Read... [13:13:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:44]Read from MH i2c: E2 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 0E 00 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 0E 00 EC 22 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 A9 [13:13:44]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:13:44]wFMCommunicate OK [13:13:44]SAM_PROTO_GetShiftState done [13:13:44]FM_GetShiftState done [13:13:44]opened in 1718237959 [13:13:44]opened+sec_in_day 1718324359 [13:13:44]quantity*price = 14000 [13:13:44]sum+1 = 14001 [13:13:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 25 13.06.2024 13:13 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22045 ФПД: 266160702670224 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T131353&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22045&fm=266160702670224&tin=02508201610067®Number=0000000000099755&sum=14000 0 [13:13:45]StoreToDocumentArchive [13:13:45]shift 324 fd 22045 [13:13:45]save to /storage/0324/doc_00022045 [13:13:45]save last doc name /storage/0324/doc_00022045 to /storage/kkm_last_doc_name [13:13:45]save OK [13:13:45]Clear old archive folders... [13:13:45]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:13:45]tlvbuf is 002491E0 [13:13:45]SAM_PROTO_ClearQueue [13:13:45]wFMCommunicate request_size=4 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 09 00 00 [13:13:45]Write to MH i2c: E2 08 00 F9 22 80 09 00 00 00 00 00 00 8D [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 03 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 03 00 F9 22 00 90 00 8F [13:13:45]RAPDU: 90 00 [13:13:45]wFMCommunicate OK [13:13:45]SAM_PROTO_ClearQueue done [13:13:45]KKMCreateOFDPacket [13:13:45]OFDProtocolAddRootSTLVToBuf [13:13:45]FM_MakeSignedData [13:13:45]FM_MakeSignedData [13:13:45]SAM_PROTO_SignData [13:13:45]wFMCommunicate request_size=4 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 0D 01 02 [13:13:45]Write to MH i2c: E2 08 00 FA 22 80 0D 01 02 00 00 00 00 95 [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 03 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 03 00 FA 22 00 90 00 90 [13:13:45]RAPDU: 90 00 [13:13:45]wFMCommunicate OK [13:13:45]wFMCommunicate request_size=255 [13:13:45]MH_SAM_APDU [13:13:45]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 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 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 19 00 00 00 F4 03 04 00 91 F0 6A 66 0E 04 04 00 44 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 [13:13:45]Write to MH i2c: E2 02 01 FB 22 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 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 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 19 00 00 00 F4 03 04 00 91 F0 6A 66 0E 04 04 00 44 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 2F [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:46]Read from MH i2c: E2 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 03 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 03 00 FB 22 00 90 00 91 [13:13:46]RAPDU: 90 00 [13:13:46]wFMCommunicate OK [13:13:46]wFMCommunicate request_size=32 [13:13:46]MH_SAM_APDU [13:13:46]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 34 34 10 04 04 00 1D 56 00 00 35 04 06 00 F2 12 5E 22 C5 90 [13:13:46]Write to MH i2c: E2 23 00 FC 22 80 0D 02 02 1B 00 30 30 30 39 36 35 33 34 34 10 04 04 00 1D 56 00 00 35 04 06 00 F2 12 5E 22 C5 90 00 00 40 [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:46]Read from MH i2c: E2 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 03 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 03 00 FC 22 00 90 00 92 [13:13:46]RAPDU: 90 00 [13:13:46]wFMCommunicate OK [13:13:46]wFMCommunicate request_size=4 [13:13:46]MH_SAM_APDU [13:13:46]CAPDU: 80 0D 03 02 [13:13:46]Write to MH i2c: E2 08 00 FD 22 80 0D 03 02 00 00 00 00 9A [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:13:46]Read from MH i2c: E2 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 0B 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 0B 00 FD 22 00 0A 90 35 B8 12 C0 0C FC 90 00 FC [13:13:46]RAPDU: 0A 90 35 B8 12 C0 0C FC 90 00 [13:13:46]wFMCommunicate OK [13:13:46]SAM_PROTO_SignData done [13:13:46]FM_MakeSignedData done [13:13:46]CreateOFDProtocolMessage [13:13:46]wFMCommunicate request_size=4 [13:13:46]MH_SAM_APDU [13:13:46]CAPDU: 80 11 00 00 [13:13:46]Write to MH i2c: E2 08 00 FE 22 80 11 00 00 00 00 00 00 9A [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:46]Read from MH i2c: E2 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 17 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 17 00 FE 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EC [13: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 [13:13:46]wFMCommunicate OK [13:13:46]CreateOFDProtocolMessage done [13:13:46]OFDSenderStorePacket 22045 [13:13:46]StoreOFDPacket docnum=22045 [13:13:46]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 2A 8B 1D 01 EC A5 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 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 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 19 00 00 00 F4 03 04 00 91 F0 6A 66 0E 04 04 00 44 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 1D 56 00 00 35 04 06 00 F2 12 5E 22 C5 90 0A 90 35 B8 12 C0 0C FC [13:13:46]CheckFolder [13:13:46]dirname=/storage/ofd_packets [13:13:46]CheckFolder done [13:13:46]ProducePacketName [13:13:46]name=ofd_packets/00022045 [13:13:46]NVStorageSaveData ofd_packets/00022045 [13:13:46]File name is /storage/ofd_packets/00022045 [13:13:46]Write 323 bytes [13:13:46]NVStorageSaveData done [13:13:46]OFDSenderStorePacket done [13:13:46]KKMCreateOFDPacket done [13:13:46]NVStorageSaveData kkm_last_timestamp [13:13:46]File name is /storage/kkm_last_timestamp [13:13:46]Write 4 bytes [13:13:46]NVStorageSaveData done [13:13:46]ExternCall_PrintAddStr [13:13:46]wPrintStart [13:13:46]Write to MH i2c: 01 00 00 FF 22 21 [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 07 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 07 00 FF 22 00 00 00 00 00 FF 0F 36 [13:13:46]RasterBufferAndPrint [13:13:46]line Счет N : (3)254279 [13:13:46]line ИНН: 02508201610067 [13:13:46]line Контрольно-Кассовый Чек [13:13:46]line ПРОДАЖА [13:13:46]line Товар: 48747059 [13:13:46]line Сигареты Winston Legend Blue [13:13:46]line 1.000 * 140.00 [13:13:46]line = 140.00 [13:13:46]line НДС 12% НСП 1% [13:13:46]line > о реализуемом товаре [13:13:46]line ИТОГО: 140.00 [13:13:46]line НСП 1% : 1.24 [13:13:46]line НДС 12% : 14.87 [13:13:46]line Наличными: 140.00 [13:13:46]line Безнал.: 0.00 [13:13:46]line Место: АЗС № 76 "Партнер Нефть" [13:13:46]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:13:46]line СНО: Общий режим [13:13:46]line Чек 25 13.06.2024 13:13 [13:13:46]line Смена: 324 ФФД: 1.0 [13:13:46]line ЗНМ: 0300000200 [13:13:46]line РНМ: 0000000000099755 [13:13:46]line Версия ККМ: 001 [13:13:46]line ФМ: 0000000000965344 [13:13:46]line ФД: 22045 [13:13:46]line ФПД: 266160702670224 [13:13:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T131353&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22045&fm=266160702670224&tin=02508201610067®Number=0000000000099755&sum=14000 [13:13:46]line 0 [13:13:46]OFD Sender: Processing packet 22045 [packets to send 5, broken 4] [13:13:46]ProducePacketName [13:13:46]name=ofd_packets/00022045 [13:13:46]OFD Sender: To server: pG, [13:13:46]CommunicateWithHost lk.salyk.kg:30040 [13:13:46]ConnectInit lk.salyk.kg [13:13:46]written 0, free lines is 4095 [13:13:46]Connected sock=10 [13:13: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 25 01 00 00 2A 8B 1D 01 EC A5 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 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 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 19 00 00 00 F4 03 04 00 91 F0 6A 66 0E 04 04 00 44 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 1D 56 00 00 35 04 06 00 F2 12 5E 22 C5 90 0A 90 35 B8 12 C0 0C FC [13:13: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 D4 AC 47 00 DC 9B 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 1D 56 00 00 F4 03 04 00 54 99 6A 66 B6 04 01 00 00 7A 55 01 D2 E5 D2 D7 2D [13:13:46]CommunicateWithHost err = 0 [13:13:46]CheckOFDResponse [13:13:46]1017 (14) - 77093643461234 [13:13:46]1041 (16) - 0000000000965344 [13:13:46]1040 (4) - 22045 [13:13:46]1012 (4) - 13.06.2024 07:01 [13:13:46]1206 (1) - 0 [13:13:46]OFD Sender: Remove packet 22045 [13:13:46]ProducePacketName [13:13:46]name=ofd_packets/00022045 [13:13:46]NVStorageDeleteData [13:13:46]Write to MH i2c: 01 00 00 28 23 4B [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 07 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 07 00 28 23 00 00 00 00 00 FE 0C 5C [13:13:46]RasterBufferAndPrint [13:13:46]line [13:13:46]line [13:13:46]line [13:13:46]line [13:13:46]line [13:13:46]written 0, free lines is 3332 [13:13:46]MH_Cut [13:13:46]Write to MH i2c: D1 01 00 2F 23 01 24 [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: D1 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: D1 01 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: D1 01 00 2F 23 00 23 [13:13:46]Write to MH i2c: 01 00 00 30 23 53 [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:47]OFD Sender: No OFD packet to send [13:13:47]*** Cut start [13:13:47]*** Partial cut [13:13:47]*** CUTSNS_PIN = 1 [13:13:47]*** CUTSNS_PIN = 0 [13:13:47]*** Brake cut motor [13:13:48]Read from MH i2c: 01 [13:13:48]MH_I2C_Read... [13:13:48]*** Stop cut motor [13:13:48]*** Cut end [13:13:48]Read from MH i2c: 01 07 00 [13:13:48]MH_I2C_Read... [13:13:48]Read from MH i2c: 01 07 00 30 23 00 00 00 00 00 FF 0F 68 [13:13:48]process_action close_receipt done [13:13:48]requested_data is exist [13:13:48]produce_requested_data [13:13:48]requested_item fm.sn is exist - process it [13:13:48]wFMCommunicate request_size=4 [13:13:48]MH_SAM_APDU [13:13:48]CAPDU: 80 11 00 00 [13:13:48]Write to MH i2c: E2 08 00 31 23 80 11 00 00 00 00 00 00 CE [13:13:48]Write i2c OK [13:13:48]MH_I2C_Read... [13:13:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:48]Read from MH i2c: E2 [13:13:48]MH_I2C_Read... [13:13:48]Read from MH i2c: E2 17 00 [13:13:48]MH_I2C_Read... [13:13:48]Read from MH i2c: E2 17 00 31 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 20 [13:13:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:13:48]wFMCommunicate OK [13:13:48]requested_item fd.num is exist - process it [13:13:48]SAM_PROTO_GetFieldsCounters [13:13:48]wFMCommunicate request_size=4 [13:13:48]MH_SAM_APDU [13:13:48]CAPDU: 80 13 00 00 [13:13:48]Write to MH i2c: E2 08 00 32 23 80 13 00 00 00 00 00 00 D1 [13:13:48]Write i2c OK [13:13:48]MH_I2C_Read... [13:13:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:13:48]Read from MH i2c: E2 [13:13:48]MH_I2C_Read... [13:13:48]Read from MH i2c: E2 62 00 [13:13:48]MH_I2C_Read... [13:13:48]Read from MH i2c: E2 62 00 32 23 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 1D 56 00 00 0E 04 04 00 44 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 FE [13:13: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 1D 56 00 00 0E 04 04 00 44 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 [13:13:48]wFMCommunicate OK [13:13:48]SAM_PROTO_GetFieldsCounters done [13:13:48]requested_item shift.num is exist - process it [13:13:48]requested_item shift.opened is exist - process it [13:13:48]req_shift_opened [13:13:48]FM_GetShiftState [13:13:48]SAM_PROTO_GetShiftState [13:13:48]wFMCommunicate request_size=4 [13:13:48]MH_SAM_APDU [13:13:48]CAPDU: 80 13 01 00 [13:13:48]Write to MH i2c: E2 08 00 33 23 80 13 01 00 00 00 00 00 D3 [13:13:48]Write i2c OK [13:13:48]MH_I2C_Read... [13:13:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:48]Read from MH i2c: E2 [13:13:48]MH_I2C_Read... [13:13:48]Read from MH i2c: E2 0E 00 [13:13:48]MH_I2C_Read... [13:13:48]Read from MH i2c: E2 0E 00 33 23 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 F1 [13:13:48]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:13:48]wFMCommunicate OK [13:13:48]SAM_PROTO_GetShiftState done [13:13:48]FM_GetShiftState done [13:13:48]req_shift_opened done [13:13:48]requested_item shift.open_date is exist - process it [13:13:48]req_shift_open_date [13:13:48]req_shift_open_date done [13:13:48]produce_requested_data done [13:13:48]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22045,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [13:13:48]process_action_free close_receipt [13:13:48]json_value_free [13:13:48]json_value_free done [13:13:48]process_json_proto returns [13:13:48]Send response to host [13:13:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22045,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [13:13:48]free response buf [13:13:48]execute_script done [13:13:48]execute_script returns [13:13:48]free content buf [13:13:48]Sock 9.Close socket [13:13:48]Sock 9.Thread stoped [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:39]accept exits with 8 [13:20:39]New connection [13:20:39]New thread 3067178340 created [13:20:39]Thread 3067321700 joined [13:20:39]Waiting for new connection... [13:20:39] Sock 8.Parse request [13:20:39]Sock 8.Check first char [13:20:39]Sock 8.First char is OK [13:20:39]request: POST /json_proto HTTP/1.0 [13:20:39]Method: POST [13:20:39]URL: /json_proto [13:20:39]Method is POST - this is cgi request [13:20:39]url: /json_proto [13:20:39]query_string will be loaded in cgi processing [13:20:39]execute_cgi json_proto POST (null) [13:20:39]execute_cgi path=json_proto method=POST [13:20:39]POST find Content-Length [13:20:39]Host: 172.17.35.133:8080 [13:20:39]Content-Length: 659 [13:20:39]Content-Type: application/json [13:20:39] [13:20:39]POST finish read [13:20:39]Found Content-Length = 659 [13:20:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254280", "tax_sys" : 0, "items" : [ { "code": "4620017453536", "name": "\u0422\u0430\u0440\u0430\u043B\u043B\u0438\u043D\u0438 NF 180\u0433 \u0447\u0435\u0441\u043D\u043E\u043A", "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" ] } } [13:20:39]execute_script... [13:20: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)254280", "tax_sys" : 0, "items" : [ { "code": "4620017453536", "name": "\u0422\u0430\u0440\u0430\u043B\u043B\u0438\u043D\u0438 NF 180\u0433 \u0447\u0435\u0441\u043D\u043E\u043A", "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" ] } } [13:20:39]POST & json_proto [13:20:39]process_json_proto [13:20:39]json parsed OK: [13:20:39]protocol is kg_v1.0 [13:20:39]action value=close_receipt [13:20:39]process_action close_receipt [13:20:39]cmd_close_receipt [13:20:39]MH_GetDate [13:20:39]Write to MH i2c: F0 00 00 34 23 46 [13:20:39]Write i2c OK [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: F0 [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: F0 09 00 [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: F0 09 00 34 23 00 30 F2 6A 66 8C 55 28 65 AF [13:20:39]GetLastDocTimeStamp 1718284433 [13:20:39]current date 1718284848 [13:20:39]FM_GetShiftState [13:20:39]SAM_PROTO_GetShiftState [13:20:39]wFMCommunicate request_size=4 [13:20:39]MH_SAM_APDU [13:20:39]CAPDU: 80 13 01 00 [13:20:39]Write to MH i2c: E2 08 00 35 23 80 13 01 00 00 00 00 00 D5 [13:20:39]Write i2c OK [13:20:39]MH_I2C_Read... [13:20:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:39]Read from MH i2c: E2 [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: E2 0E 00 [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: E2 0E 00 35 23 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 F3 [13:20:39]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:20:39]wFMCommunicate OK [13:20:39]SAM_PROTO_GetShiftState done [13:20:39]FM_GetShiftState done [13:20:39]opened in 1718237959 [13:20:39]opened+sec_in_day 1718324359 [13:20:39]quantity*price = 8000 [13:20:39]sum+1 = 8001 [13:20:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 26 13.06.2024 13:20 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22046 ФПД: 243573459730121 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T132048&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22046&fm=243573459730121&tin=02508201610067®Number=0000000000099755&sum=8000 0 [13:20:40]StoreToDocumentArchive [13:20:40]shift 324 fd 22046 [13:20:40]save to /storage/0324/doc_00022046 [13:20:40]save last doc name /storage/0324/doc_00022046 to /storage/kkm_last_doc_name [13:20:40]save OK [13:20:40]Clear old archive folders... [13:20:40]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:20:40]tlvbuf is 00248F30 [13:20:40]SAM_PROTO_ClearQueue [13:20:40]wFMCommunicate request_size=4 [13:20:40]MH_SAM_APDU [13:20:40]CAPDU: 80 09 00 00 [13:20:40]Write to MH i2c: E2 08 00 42 23 80 09 00 00 00 00 00 00 D7 [13:20:40]Write i2c OK [13:20:40]MH_I2C_Read... [13:20:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:20:40]Read from MH i2c: E2 [13:20:40]MH_I2C_Read... [13:20:40]Read from MH i2c: E2 03 00 [13:20:40]MH_I2C_Read... [13:20:40]Read from MH i2c: E2 03 00 42 23 00 90 00 D9 [13:20:40]RAPDU: 90 00 [13:20:40]wFMCommunicate OK [13:20:40]SAM_PROTO_ClearQueue done [13:20:40]KKMCreateOFDPacket [13:20:40]OFDProtocolAddRootSTLVToBuf [13:20:40]FM_MakeSignedData [13:20:40]FM_MakeSignedData [13:20:40]SAM_PROTO_SignData [13:20:40]wFMCommunicate request_size=4 [13:20:40]MH_SAM_APDU [13:20:40]CAPDU: 80 0D 01 02 [13:20:40]Write to MH i2c: E2 08 00 43 23 80 0D 01 02 00 00 00 00 DF [13:20:40]Write i2c OK [13:20:40]MH_I2C_Read... [13:20:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:20:40]Read from MH i2c: E2 [13:20:40]MH_I2C_Read... [13:20:40]Read from MH i2c: E2 03 00 [13:20:40]MH_I2C_Read... [13:20:40]Read from MH i2c: E2 03 00 43 23 00 90 00 DA [13:20:40]RAPDU: 90 00 [13:20:40]wFMCommunicate OK [13:20:40]wFMCommunicate request_size=255 [13:20:40]MH_SAM_APDU [13:20:40]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 35 33 36 06 04 28 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D1 87 D0 B5 D1 81 D0 BD D0 BE D0 BA 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 1A 00 00 00 F4 03 04 00 30 F2 6A 66 0E 04 04 00 44 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 [13:20:40]Write to MH i2c: E2 02 01 44 23 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 35 33 36 06 04 28 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D1 87 D0 B5 D1 81 D0 BD D0 BE D0 BA 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 1A 00 00 00 F4 03 04 00 30 F2 6A 66 0E 04 04 00 44 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 00 00 A8 [13:20:40]Write i2c OK [13:20:40]MH_I2C_Read... [13:20:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:40]Read from MH i2c: E2 [13:20:40]MH_I2C_Read... [13:20:40]Read from MH i2c: E2 03 00 [13:20:40]MH_I2C_Read... [13:20:40]Read from MH i2c: E2 03 00 44 23 00 90 00 DB [13:20:40]RAPDU: 90 00 [13:20:40]wFMCommunicate OK [13:20:40]wFMCommunicate request_size=41 [13:20:40]MH_SAM_APDU [13:20:40]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1E 56 00 00 35 04 06 00 DD 87 5D 8B 3E C9 [13:20:40]Write to MH i2c: E2 2C 00 45 23 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1E 56 00 00 35 04 06 00 DD 87 5D 8B 3E C9 00 00 77 [13:20:40]Write i2c OK [13:20:40]MH_I2C_Read... [13:20:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:40]Read from MH i2c: E2 [13:20:40]MH_I2C_Read... [13:20:40]Read from MH i2c: E2 03 00 [13:20:40]MH_I2C_Read... [13:20:40]Read from MH i2c: E2 03 00 45 23 00 90 00 DC [13:20:40]RAPDU: 90 00 [13:20:40]wFMCommunicate OK [13:20:40]wFMCommunicate request_size=4 [13:20:40]MH_SAM_APDU [13:20:40]CAPDU: 80 0D 03 02 [13:20:40]Write to MH i2c: E2 08 00 46 23 80 0D 03 02 00 00 00 00 E4 [13:20:40]Write i2c OK [13:20:40]MH_I2C_Read... [13:20:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:20:41]Read from MH i2c: E2 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 0B 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 0B 00 46 23 00 01 C2 B7 E8 E9 14 26 00 90 00 6A [13:20:41]RAPDU: 01 C2 B7 E8 E9 14 26 00 90 00 [13:20:41]wFMCommunicate OK [13:20:41]SAM_PROTO_SignData done [13:20:41]FM_MakeSignedData done [13:20:41]CreateOFDProtocolMessage [13:20:41]wFMCommunicate request_size=4 [13:20:41]MH_SAM_APDU [13:20:41]CAPDU: 80 11 00 00 [13:20:41]Write to MH i2c: E2 08 00 47 23 80 11 00 00 00 00 00 00 E4 [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:41]Read from MH i2c: E2 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 17 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 17 00 47 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 36 [13:20:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:20:41]wFMCommunicate OK [13:20:41]CreateOFDProtocolMessage done [13:20:41]OFDSenderStorePacket 22046 [13:20:41]StoreOFDPacket docnum=22046 [13:20: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 2E 01 00 00 FB 76 26 01 C3 75 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 35 33 36 06 04 28 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D1 87 D0 B5 D1 81 D0 BD D0 BE D0 BA 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 1A 00 00 00 F4 03 04 00 30 F2 6A 66 0E 04 04 00 44 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 1E 56 00 00 35 04 06 00 DD 87 5D 8B 3E C9 01 C2 B7 E8 E9 14 26 00 [13:20:41]CheckFolder [13:20:41]dirname=/storage/ofd_packets [13:20:41]CheckFolder done [13:20:41]ProducePacketName [13:20:41]name=ofd_packets/00022046 [13:20:41]NVStorageSaveData ofd_packets/00022046 [13:20:41]File name is /storage/ofd_packets/00022046 [13:20:41]Write 332 bytes [13:20:41]NVStorageSaveData done [13:20:41]OFDSenderStorePacket done [13:20:41]KKMCreateOFDPacket done [13:20:41]NVStorageSaveData kkm_last_timestamp [13:20:41]File name is /storage/kkm_last_timestamp [13:20:41]Write 4 bytes [13:20:41]NVStorageSaveData done [13:20:41]ExternCall_PrintAddStr [13:20:41]wPrintStart [13:20:41]Write to MH i2c: 01 00 00 48 23 6B [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: 01 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: 01 07 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: 01 07 00 48 23 00 00 00 00 00 FF 0F 80 [13:20:41]RasterBufferAndPrint [13:20:41]line Счет N : (3)254280 [13:20:41]line ИНН: 02508201610067 [13:20:41]line Контрольно-Кассовый Чек [13:20:41]line ПРОДАЖА [13:20:41]line Товар: 4620017453536 [13:20:41]line Тараллини NF 180г чеснок [13:20:41]line 1.000 * 80.00 [13:20:41]line = 80.00 [13:20:41]line НДС 12% НСП 1% [13:20:41]line > о реализуемом товаре [13:20:41]line ИТОГО: 80.00 [13:20:41]line НСП 1% : 0.71 [13:20:41]line НДС 12% : 8.50 [13:20:41]line Наличными: 80.00 [13:20:41]line Безнал.: 0.00 [13:20:41]line Место: АЗС № 76 "Партнер Нефть" [13:20:41]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:20:41]line СНО: Общий режим [13:20:41]line Чек 26 13.06.2024 13:20 [13:20:41]line Смена: 324 ФФД: 1.0 [13:20:41]line ЗНМ: 0300000200 [13:20:41]line РНМ: 0000000000099755 [13:20:41]line Версия ККМ: 001 [13:20:41]line ФМ: 0000000000965344 [13:20:41]line ФД: 22046 [13:20:41]line ФПД: 243573459730121 [13:20:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T132048&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22046&fm=243573459730121&tin=02508201610067®Number=0000000000099755&sum=8000 [13:20:41]line 0 [13:20:41]OFD Sender: Processing packet 22046 [packets to send 5, broken 4] [13:20:41]ProducePacketName [13:20:41]name=ofd_packets/00022046 [13:20:41]OFD Sender: To server: pG, [13:20:41]CommunicateWithHost lk.salyk.kg:30040 [13:20:41]ConnectInit lk.salyk.kg [13:20:41]written 0, free lines is 4095 [13:20:41]Connected sock=10 [13:20: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 2E 01 00 00 FB 76 26 01 C3 75 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 35 33 36 06 04 28 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D1 87 D0 B5 D1 81 D0 BD D0 BE D0 BA 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 1A 00 00 00 F4 03 04 00 30 F2 6A 66 0E 04 04 00 44 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 1E 56 00 00 35 04 06 00 DD 87 5D 8B 3E C9 01 C2 B7 E8 E9 14 26 00 [13:20: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 9A 6F 47 00 BF 04 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 1E 56 00 00 F4 03 04 00 F3 9A 6A 66 B6 04 01 00 00 7E B1 19 20 BB BC 08 DD [13:20:41]CommunicateWithHost err = 0 [13:20:41]CheckOFDResponse [13:20:41]1017 (14) - 77093643461234 [13:20:41]1041 (16) - 0000000000965344 [13:20:41]1040 (4) - 22046 [13:20:41]1012 (4) - 13.06.2024 07:08 [13:20:41]1206 (1) - 0 [13:20:41]OFD Sender: Remove packet 22046 [13:20:41]ProducePacketName [13:20:41]name=ofd_packets/00022046 [13:20:41]NVStorageDeleteData [13:20:41]Write to MH i2c: 01 00 00 70 23 93 [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: 01 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: 01 07 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: 01 07 00 70 23 00 00 00 00 00 1C 0D C3 [13:20:41]RasterBufferAndPrint [13:20:41]line [13:20:41]line [13:20:41]line [13:20:41]line [13:20:41]line [13:20:41]written 0, free lines is 3364 [13:20:41]MH_Cut [13:20:41]Write to MH i2c: D1 01 00 77 23 01 6C [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: D1 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: D1 01 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: D1 01 00 77 23 00 6B [13:20:41]Write to MH i2c: 01 00 00 78 23 9B [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:42]OFD Sender: No OFD packet to send [13:20:42]*** Cut start [13:20:42]*** Partial cut [13:20:42]*** CUTSNS_PIN = 1 [13:20:42]*** CUTSNS_PIN = 0 [13:20:42]*** Brake cut motor [13:20:43]Read from MH i2c: 01 [13:20:43]MH_I2C_Read... [13:20:43]*** Stop cut motor [13:20:43]*** Cut end [13:20:43]Read from MH i2c: 01 07 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: 01 07 00 78 23 00 00 00 00 00 FF 0F B0 [13:20:43]process_action close_receipt done [13:20:43]requested_data is exist [13:20:43]produce_requested_data [13:20:43]requested_item fm.sn is exist - process it [13:20:43]wFMCommunicate request_size=4 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 11 00 00 [13:20:43]Write to MH i2c: E2 08 00 79 23 80 11 00 00 00 00 00 00 16 [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 17 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 17 00 79 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 68 [13:20:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:20:43]wFMCommunicate OK [13:20:43]requested_item fd.num is exist - process it [13:20:43]SAM_PROTO_GetFieldsCounters [13:20:43]wFMCommunicate request_size=4 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 13 00 00 [13:20:43]Write to MH i2c: E2 08 00 7A 23 80 13 00 00 00 00 00 00 19 [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 62 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 62 00 7A 23 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 1E 56 00 00 0E 04 04 00 44 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 4A [13:20: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 1E 56 00 00 0E 04 04 00 44 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 [13:20:43]wFMCommunicate OK [13:20:43]SAM_PROTO_GetFieldsCounters done [13:20:43]requested_item shift.num is exist - process it [13:20:43]requested_item shift.opened is exist - process it [13:20:43]req_shift_opened [13:20:43]FM_GetShiftState [13:20:43]SAM_PROTO_GetShiftState [13:20:43]wFMCommunicate request_size=4 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 13 01 00 [13:20:43]Write to MH i2c: E2 08 00 7B 23 80 13 01 00 00 00 00 00 1B [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 0E 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 0E 00 7B 23 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 39 [13:20:43]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:20:43]wFMCommunicate OK [13:20:43]SAM_PROTO_GetShiftState done [13:20:43]FM_GetShiftState done [13:20:43]req_shift_opened done [13:20:43]requested_item shift.open_date is exist - process it [13:20:43]req_shift_open_date [13:20:43]req_shift_open_date done [13:20:43]produce_requested_data done [13:20:43]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22046,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [13:20:43]process_action_free close_receipt [13:20:43]json_value_free [13:20:43]json_value_free done [13:20:43]process_json_proto returns [13:20:43]Send response to host [13:20:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22046,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [13:20:43]free response buf [13:20:43]execute_script done [13:20:43]execute_script returns [13:20:43]free content buf [13:20:43]Sock 8.Close socket [13:20:43]Sock 8.Thread stoped [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:32]OFD Sender: No OFD packet to send [13:23:37]OFD Sender: No OFD packet to send [13:23:42]OFD Sender: No OFD packet to send [13:23:47]OFD Sender: No OFD packet to send [13:23:52]OFD Sender: No OFD packet to send [13:23:57]OFD Sender: No OFD packet to send [13:24:02]OFD Sender: No OFD packet to send [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:17]OFD Sender: No OFD packet to send [13:24:22]OFD Sender: No OFD packet to send [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [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:42]OFD Sender: No OFD packet to send [13:31:47]OFD Sender: No OFD packet to send [13:31:52]OFD Sender: No OFD packet to send [13:31:57]OFD Sender: No OFD packet to send [13:32:02]OFD Sender: No OFD packet to send [13:32:07]OFD Sender: No OFD packet to send [13:32:12]OFD Sender: No OFD packet to send [13:32:17]OFD Sender: No OFD packet to send [13:32:22]OFD Sender: No OFD packet to send [13:32:27]OFD Sender: No OFD packet to send [13:32:32]OFD Sender: No OFD packet to send [13:32:37]OFD Sender: No OFD packet to send [13:32:42]OFD Sender: No OFD packet to send [13:32:47]OFD Sender: No OFD packet to send [13:32:52]OFD Sender: No OFD packet to send [13:32:57]OFD Sender: No OFD packet to send [13:33:02]OFD Sender: No OFD packet to send [13:33:07]OFD Sender: No OFD packet to send [13:33:12]OFD Sender: No OFD packet to send [13:33:17]OFD Sender: No OFD packet to send [13:33:22]OFD Sender: No OFD packet to send [13:33:27]OFD Sender: No OFD packet to send [13:33:32]OFD Sender: No OFD packet to send [13:33:37]OFD Sender: No OFD packet to send [13:33:42]OFD Sender: No OFD packet to send [13:33:47]OFD Sender: No OFD packet to send [13:33:52]OFD Sender: No OFD packet to send [13:33:57]OFD Sender: No OFD packet to send [13:34:02]OFD Sender: No OFD packet to send [13:34:07]OFD Sender: No OFD packet to send [13:34:12]OFD Sender: No OFD packet to send [13:34:17]OFD Sender: No OFD packet to send [13:34:22]OFD Sender: No OFD packet to send [13:34:27]OFD Sender: No OFD packet to send [13:34:32]OFD Sender: No OFD packet to send [13:34:37]OFD Sender: No OFD packet to send [13:34:42]OFD Sender: No OFD packet to send [13:34:47]OFD Sender: No OFD packet to send [13:34:52]OFD Sender: No OFD packet to send [13:34:57]OFD Sender: No OFD packet to send [13:35:02]OFD Sender: No OFD packet to send [13:35:07]OFD Sender: No OFD packet to send [13:35:12]OFD Sender: No OFD packet to send [13:35:17]OFD Sender: No OFD packet to send [13:35:22]OFD Sender: No OFD packet to send [13:35:27]OFD Sender: No OFD packet to send [13:35:32]OFD Sender: No OFD packet to send [13:35:37]OFD Sender: No OFD packet to send [13:35:42]OFD Sender: No OFD packet to send [13:35:47]OFD Sender: No OFD packet to send [13:35:52]OFD Sender: No OFD packet to send [13:35:57]OFD Sender: No OFD packet to send [13:36:02]OFD Sender: No OFD packet to send [13:36:07]OFD Sender: No OFD packet to send [13:36:12]OFD Sender: No OFD packet to send [13:36:17]OFD Sender: No OFD packet to send [13:36:22]OFD Sender: No OFD packet to send [13:36:27]OFD Sender: No OFD packet to send [13:36:32]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:58]OFD Sender: No OFD packet to send [13:38:03]OFD Sender: No OFD packet to send [13:38:08]OFD Sender: No OFD packet to send [13:38:13]OFD Sender: No OFD packet to send [13:38:18]OFD Sender: No OFD packet to send [13:38:23]OFD Sender: No OFD packet to send [13:38:28]OFD Sender: No OFD packet to send [13:38:33]OFD Sender: No OFD packet to send [13:38:38]OFD Sender: No OFD packet to send [13:38:43]OFD Sender: No OFD packet to send [13:38:48]OFD Sender: No OFD packet to send [13:38:53]OFD Sender: No OFD packet to send [13:38:58]OFD Sender: No OFD packet to send [13:39:03]OFD Sender: No OFD packet to send [13:39:08]OFD Sender: No OFD packet to send [13:39:13]OFD Sender: No OFD packet to send [13:39:18]OFD Sender: No OFD packet to send [13:39:23]OFD Sender: No OFD packet to send [13:39:28]OFD Sender: No OFD packet to send [13:39:33]OFD Sender: No OFD packet to send [13:39:38]OFD Sender: No OFD packet to send [13:39:43]OFD Sender: No OFD packet to send [13:39:48]OFD Sender: No OFD packet to send [13:39:53]OFD Sender: No OFD packet to send [13:39:58]OFD Sender: No OFD packet to send [13:40:03]OFD Sender: No OFD packet to send [13:40:08]OFD Sender: No OFD packet to send [13:40:13]OFD Sender: No OFD packet to send [13:40:18]OFD Sender: No OFD packet to send [13:40:23]OFD Sender: No OFD packet to send [13:40:28]OFD Sender: No OFD packet to send [13:40:33]OFD Sender: No OFD packet to send [13:40:38]OFD Sender: No OFD packet to send [13:40:43]OFD Sender: No OFD packet to send [13:40:48]OFD Sender: No OFD packet to send [13:40:53]OFD Sender: No OFD packet to send [13:40:58]OFD Sender: No OFD packet to send [13:41:03]OFD Sender: No OFD packet to send [13:41:08]OFD Sender: No OFD packet to send [13:41:13]OFD Sender: No OFD packet to send [13:41:18]OFD Sender: No OFD packet to send [13:41:23]OFD Sender: No OFD packet to send [13:41:28]OFD Sender: No OFD packet to send [13:41:33]OFD Sender: No OFD packet to send [13:41:38]OFD Sender: No OFD packet to send [13:41:43]OFD Sender: No OFD packet to send [13:41:48]OFD Sender: No OFD packet to send [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42:03]OFD Sender: No OFD packet to send [13:42:08]OFD Sender: No OFD packet to send [13:42:13]OFD Sender: No OFD packet to send [13:42:18]OFD Sender: No OFD packet to send [13:42:23]OFD Sender: No OFD packet to send [13:42:28]OFD Sender: No OFD packet to send [13:42:33]OFD Sender: No OFD packet to send [13:42:38]OFD Sender: No OFD packet to send [13:42:43]OFD Sender: No OFD packet to send [13:42:48]OFD Sender: No OFD packet to send [13:42:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:18]OFD Sender: No OFD packet to send [13:43:23]OFD Sender: No OFD packet to send [13:43:28]OFD Sender: No OFD packet to send [13:43:33]OFD Sender: No OFD packet to send [13:43:38]OFD Sender: No OFD packet to send [13:43:43]OFD Sender: No OFD packet to send [13:43:48]OFD Sender: No OFD packet to send [13:43:53]OFD Sender: No OFD packet to send [13:43:58]OFD Sender: No OFD packet to send [13:44:03]OFD Sender: No OFD packet to send [13:44:08]OFD Sender: No OFD packet to send [13:44:13]OFD Sender: No OFD packet to send [13:44:18]OFD Sender: No OFD packet to send [13:44:23]OFD Sender: No OFD packet to send [13:44:28]OFD Sender: No OFD packet to send [13:44:33]OFD Sender: No OFD packet to send [13:44:38]OFD Sender: No OFD packet to send [13:44:43]OFD Sender: No OFD packet to send [13:44:48]OFD Sender: No OFD packet to send [13:44:53]OFD Sender: No OFD packet to send [13:44:58]OFD Sender: No OFD packet to send [13:45:03]OFD Sender: No OFD packet to send [13:45:08]OFD Sender: No OFD packet to send [13:45:13]OFD Sender: No OFD packet to send [13:45:18]OFD Sender: No OFD packet to send [13:45:23]OFD Sender: No OFD packet to send [13:45:28]OFD Sender: No OFD packet to send [13:45:33]OFD Sender: No OFD packet to send [13:45:38]OFD Sender: No OFD packet to send [13:45:43]OFD Sender: No OFD packet to send [13:45:48]OFD Sender: No OFD packet to send [13:45:53]OFD Sender: No OFD packet to send [13:45:58]OFD Sender: No OFD packet to send [13:46:03]OFD Sender: No OFD packet to send [13:46:08]OFD Sender: No OFD packet to send [13:46:13]OFD Sender: No OFD packet to send [13:46:18]OFD Sender: No OFD packet to send [13:46:23]OFD Sender: No OFD packet to send [13:46:28]OFD Sender: No OFD packet to send [13:46:33]OFD Sender: No OFD packet to send [13:46:38]OFD Sender: No OFD packet to send [13:46:43]OFD Sender: No OFD packet to send [13:46:48]OFD Sender: No OFD packet to send [13:46:53]OFD Sender: No OFD packet to send [13:46:58]OFD Sender: No OFD packet to send [13:47:03]OFD Sender: No OFD packet to send [13:47:08]OFD Sender: No OFD packet to send [13:47:13]OFD Sender: No OFD packet to send [13:47:18]OFD Sender: No OFD packet to send [13:47:23]OFD Sender: No OFD packet to send [13:47:28]OFD Sender: No OFD packet to send [13:47:33]OFD Sender: No OFD packet to send [13:47:38]OFD Sender: No OFD packet to send [13:47:43]OFD Sender: No OFD packet to send [13:47:48]OFD Sender: No OFD packet to send [13:47:53]OFD Sender: No OFD packet to send [13:47:58]OFD Sender: No OFD packet to send [13:48:03]OFD Sender: No OFD packet to send [13:48:08]OFD Sender: No OFD packet to send [13:48:13]OFD Sender: No OFD packet to send [13:48:18]OFD Sender: No OFD packet to send [13:48:23]OFD Sender: No OFD packet to send [13:48:28]OFD Sender: No OFD packet to send [13:48:33]OFD Sender: No OFD packet to send [13:48:38]OFD Sender: No OFD packet to send [13:48:43]OFD Sender: No OFD packet to send [13:48:48]OFD Sender: No OFD packet to send [13:48:53]OFD Sender: No OFD packet to send [13:48:58]OFD Sender: No OFD packet to send [13:49:03]OFD Sender: No OFD packet to send [13:49:08]OFD Sender: No OFD packet to send [13:49:13]OFD Sender: No OFD packet to send [13:49:18]OFD Sender: No OFD packet to send [13:49:23]OFD Sender: No OFD packet to send [13:49:28]OFD Sender: No OFD packet to send [13:49:33]OFD Sender: No OFD packet to send [13:49:38]OFD Sender: No OFD packet to send [13:49:43]OFD Sender: No OFD packet to send [13:49:48]OFD Sender: No OFD packet to send [13:49:53]OFD Sender: No OFD packet to send [13:49:58]OFD Sender: No OFD packet to send [13:50:03]OFD Sender: No OFD packet to send [13:50:08]OFD Sender: No OFD packet to send [13:50:13]OFD Sender: No OFD packet to send [13:50:18]OFD Sender: No OFD packet to send [13:50:23]OFD Sender: No OFD packet to send [13:50:28]OFD Sender: No OFD packet to send [13:50:33]OFD Sender: No OFD packet to send [13:50:34]accept exits with 9 [13:50:34]New connection [13:50:34]New thread 3067321700 created [13:50:34]Thread 3067178340 joined [13:50:34]Waiting for new connection... [13:50:34] Sock 9.Parse request [13:50:34]Sock 9.Check first char [13:50:34]Sock 9.First char is OK [13:50:34]request: POST /json_proto HTTP/1.0 [13:50:34]Method: POST [13:50:34]URL: /json_proto [13:50:34]Method is POST - this is cgi request [13:50:34]url: /json_proto [13:50:34]query_string will be loaded in cgi processing [13:50:34]execute_cgi json_proto POST (null) [13:50:34]execute_cgi path=json_proto method=POST [13:50:34]POST find Content-Length [13:50:34]Host: 172.17.35.133:8080 [13:50:34]Content-Length: 678 [13:50:34]Content-Type: application/json [13:50:34] [13:50:34]POST finish read [13:50:34]Found Content-Length = 678 [13:50:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609639", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 5.170, "sum" : 340.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 340.00, "total" : 340.00, "payments": [ { "type": 0, "sum" : 340.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:50:34]execute_script... [13:50: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)1609639", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 5.170, "sum" : 340.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 340.00, "total" : 340.00, "payments": [ { "type": 0, "sum" : 340.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:50:34]POST & json_proto [13:50:34]process_json_proto [13:50:34]json parsed OK: [13:50:34]protocol is kg_v1.0 [13:50:34]action value=close_receipt [13:50:34]process_action close_receipt [13:50:34]cmd_close_receipt [13:50:34]MH_GetDate [13:50:34]Write to MH i2c: F0 00 00 7C 23 8E [13:50:34]Write i2c OK [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: F0 [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: F0 09 00 [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: F0 09 00 7C 23 00 33 F9 6A 66 8C 55 28 65 01 [13:50:34]GetLastDocTimeStamp 1718284848 [13:50:34]current date 1718286643 [13:50:34]FM_GetShiftState [13:50:34]SAM_PROTO_GetShiftState [13:50:34]wFMCommunicate request_size=4 [13:50:34]MH_SAM_APDU [13:50:34]CAPDU: 80 13 01 00 [13:50:34]Write to MH i2c: E2 08 00 7D 23 80 13 01 00 00 00 00 00 1D [13:50:34]Write i2c OK [13:50:34]MH_I2C_Read... [13:50:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:50:34]Read from MH i2c: E2 [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: E2 0E 00 [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: E2 0E 00 7D 23 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 3B [13:50:34]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:50:34]wFMCommunicate OK [13:50:34]SAM_PROTO_GetShiftState done [13:50:34]FM_GetShiftState done [13:50:34]opened in 1718237959 [13:50:34]opened+sec_in_day 1718324359 [13:50:34]quantity*price = 34018 [13:50:34]sum+1 = 34020 [13:50:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.19 ИТОГО: 340.00 Внесено: 340.00 СДАЧА: 0.00 НСП 1% : 3.01 НДС 12% : 36.13 Наличными: 340.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 27 13.06.2024 13:50 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22047 ФПД: 204641014021510 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T135043&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22047&fm=204641014021510&tin=02508201610067®Number=0000000000099755&sum=34000 [13:50:35]StoreToDocumentArchive [13:50:35]shift 324 fd 22047 [13:50:35]save to /storage/0324/doc_00022047 [13:50:35]save last doc name /storage/0324/doc_00022047 to /storage/kkm_last_doc_name [13:50:35]save OK [13:50:35]Clear old archive folders... [13:50:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:50:35]tlvbuf is 00297EF0 [13:50:35]SAM_PROTO_ClearQueue [13:50:35]wFMCommunicate request_size=4 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 09 00 00 [13:50:35]Write to MH i2c: E2 08 00 8A 23 80 09 00 00 00 00 00 00 1F [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 8A 23 00 90 00 21 [13:50:35]RAPDU: 90 00 [13:50:35]wFMCommunicate OK [13:50:35]SAM_PROTO_ClearQueue done [13:50:35]KKMCreateOFDPacket [13:50:35]OFDProtocolAddRootSTLVToBuf [13:50:35]FM_MakeSignedData [13:50:35]FM_MakeSignedData [13:50:35]SAM_PROTO_SignData [13:50:35]wFMCommunicate request_size=4 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 0D 01 02 [13:50:35]Write to MH i2c: E2 08 00 8B 23 80 0D 01 02 00 00 00 00 27 [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 8B 23 00 90 00 22 [13:50:35]RAPDU: 90 00 [13:50:35]wFMCommunicate OK [13:50:35]wFMCommunicate request_size=255 [13:50:35]MH_SAM_APDU [13:50: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 32 14 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 E3 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 0E 00 00 00 00 07 04 06 00 D0 84 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 33 F9 6A 66 0E 04 04 00 44 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 1F 56 00 00 35 04 06 00 BA [13:50:35]Write to MH i2c: E2 02 01 8C 23 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 32 14 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 E3 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 0E 00 00 00 00 07 04 06 00 D0 84 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 33 F9 6A 66 0E 04 04 00 44 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 1F 56 00 00 35 04 06 00 BA 00 00 40 [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 8C 23 00 90 00 23 [13:50:35]RAPDU: 90 00 [13:50:35]wFMCommunicate OK [13:50:35]wFMCommunicate request_size=10 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 0D 02 02 05 1E B2 F2 7D 86 [13:50:35]Write to MH i2c: E2 0D 00 8D 23 80 0D 02 02 05 00 1E B2 F2 7D 86 00 00 F9 [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 8D 23 00 90 00 24 [13:50:35]RAPDU: 90 00 [13:50:35]wFMCommunicate OK [13:50:35]wFMCommunicate request_size=4 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 0D 03 02 [13:50:35]Write to MH i2c: E2 08 00 8E 23 80 0D 03 02 00 00 00 00 2C [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 0B 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 0B 00 8E 23 00 36 55 A5 67 ED 04 D3 38 90 00 C0 [13:50:35]RAPDU: 36 55 A5 67 ED 04 D3 38 90 00 [13:50:35]wFMCommunicate OK [13:50:35]SAM_PROTO_SignData done [13:50:35]FM_MakeSignedData done [13:50:35]CreateOFDProtocolMessage [13:50:35]wFMCommunicate request_size=4 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 11 00 00 [13:50:35]Write to MH i2c: E2 08 00 8F 23 80 11 00 00 00 00 00 00 2C [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 17 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 17 00 8F 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7E [13:50: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:50:35]wFMCommunicate OK [13:50:35]CreateOFDProtocolMessage done [13:50:35]OFDSenderStorePacket 22047 [13:50:35]StoreOFDPacket docnum=22047 [13:50: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 3B 4A 07 01 8E 20 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 32 14 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 E3 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 0E 00 00 00 00 07 04 06 00 D0 84 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 33 F9 6A 66 0E 04 04 00 44 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 1F 56 00 00 35 04 06 00 BA 1E B2 F2 7D 86 36 55 A5 67 ED 04 D3 38 [13:50:35]CheckFolder [13:50:35]dirname=/storage/ofd_packets [13:50:35]CheckFolder done [13:50:35]ProducePacketName [13:50:35]name=ofd_packets/00022047 [13:50:35]NVStorageSaveData ofd_packets/00022047 [13:50:35]File name is /storage/ofd_packets/00022047 [13:50:35]Write 301 bytes [13:50:35]NVStorageSaveData done [13:50:35]OFDSenderStorePacket done [13:50:35]KKMCreateOFDPacket done [13:50:35]NVStorageSaveData kkm_last_timestamp [13:50:35]File name is /storage/kkm_last_timestamp [13:50:35]Write 4 bytes [13:50:35]NVStorageSaveData done [13:50:35]ExternCall_PrintAddStr [13:50:35]wPrintStart [13:50:35]Write to MH i2c: 01 00 00 90 23 B3 [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: 01 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: 01 07 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: 01 07 00 90 23 00 00 00 00 00 FF 0F C8 [13:50:35]RasterBufferAndPrint [13:50:35]line Счет N : (1)1609639 [13:50:35]line ИНН: 02508201610067 [13:50:35]line Контрольно-Кассовый Чек [13:50:35]line ПРОДАЖА [13:50:35]line ТРК (МРК, ГНК) : 53 [13:50:35]line Товар: 2710124130 [13:50:35]line Аи-92-К-5 [13:50:35]line 5.170 * 65.80 [13:50:35]line = 340.19 [13:50:35]line НДС 12% НСП 1% [13:50:35]line > о реализуемом товаре [13:50:35]line ОКРУГЛЕНИЕ: -0.19 [13:50:35]line ИТОГО: 340.00 [13:50:35]line Внесено: 340.00 [13:50:35]line СДАЧА: 0.00 [13:50:35]line НСП 1% : 3.01 [13:50:35]line НДС 12% : 36.13 [13:50:35]line Наличными: 340.00 [13:50:35]line Безнал.: 0.00 [13:50:35]line Место: АЗС № 76 "Партнер Нефть" [13:50:35]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:50:35]line СНО: Общий режим [13:50:35]line Чек 27 13.06.2024 13:50 [13:50:35]line Смена: 324 ФФД: 1.0 [13:50:35]line ЗНМ: 0300000200 [13:50:35]line РНМ: 0000000000099755 [13:50:35]line Версия ККМ: 001 [13:50:35]line ФМ: 0000000000965344 [13:50:35]line ФД: 22047 [13:50:35]line ФПД: 204641014021510 [13:50:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T135043&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22047&fm=204641014021510&tin=02508201610067®Number=0000000000099755&sum=34000 [13:50:36]OFD Sender: Processing packet 22047 [packets to send 5, broken 4] [13:50:36]ProducePacketName [13:50:36]name=ofd_packets/00022047 [13:50:36]OFD Sender: To server: pG, [13:50:36]CommunicateWithHost lk.salyk.kg:30040 [13:50:36]ConnectInit lk.salyk.kg [13:50:36]written 0, free lines is 4095 [13:50:36]Connected sock=10 [13:50: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 3B 4A 07 01 8E 20 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 32 14 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 E3 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 0E 00 00 00 00 07 04 06 00 D0 84 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 33 F9 6A 66 0E 04 04 00 44 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 1F 56 00 00 35 04 06 00 BA 1E B2 F2 7D 86 36 55 A5 67 ED 04 D3 38 [13:50: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 46 3B 47 00 7A 3B 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 1F 56 00 00 F4 03 04 00 F6 A1 6A 66 B6 04 01 00 00 BB 2B 7E A2 83 7E D3 D9 [13:50:36]CommunicateWithHost err = 0 [13:50:36]CheckOFDResponse [13:50:36]1017 (14) - 77093643461234 [13:50:36]1041 (16) - 0000000000965344 [13:50:36]1040 (4) - 22047 [13:50:36]1012 (4) - 13.06.2024 07:38 [13:50:36]1206 (1) - 0 [13:50:36]OFD Sender: Remove packet 22047 [13:50:36]ProducePacketName [13:50:36]name=ofd_packets/00022047 [13:50:36]NVStorageDeleteData [13:50:36]Write to MH i2c: 01 00 00 BB 23 DE [13:50:36]Write i2c OK [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: 01 [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: 01 07 00 [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: 01 07 00 BB 23 00 00 00 00 00 EE 0C DF [13:50:36]RasterBufferAndPrint [13:50:36]line [13:50:36]line [13:50:36]line [13:50:36]line [13:50:36]line [13:50:36]written 0, free lines is 3316 [13:50:36]MH_Cut [13:50:36]Write to MH i2c: D1 01 00 C2 23 01 B7 [13:50:36]Write i2c OK [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: D1 [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: D1 01 00 [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: D1 01 00 C2 23 00 B6 [13:50:36]Write to MH i2c: 01 00 00 C3 23 E6 [13:50:36]Write i2c OK [13:50:36]MH_I2C_Read... [13:50:36]OFD Sender: No OFD packet to send [13:50:37]*** Cut start [13:50:37]*** Partial cut [13:50:37]*** CUTSNS_PIN = 1 [13:50:37]*** CUTSNS_PIN = 0 [13:50:37]*** Brake cut motor [13:50:37]Read from MH i2c: 01 [13:50:37]MH_I2C_Read... [13:50:37]*** Stop cut motor [13:50:37]*** Cut end [13:50:37]Read from MH i2c: 01 07 00 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: 01 07 00 C3 23 00 00 00 00 00 FF 0F FB [13:50:37]process_action close_receipt done [13:50:37]requested_data is exist [13:50:37]produce_requested_data [13:50:37]requested_item fm.sn is exist - process it [13:50:37]wFMCommunicate request_size=4 [13:50:37]MH_SAM_APDU [13:50:37]CAPDU: 80 11 00 00 [13:50:37]Write to MH i2c: E2 08 00 C4 23 80 11 00 00 00 00 00 00 61 [13:50:37]Write i2c OK [13:50:37]MH_I2C_Read... [13:50:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:50:37]Read from MH i2c: E2 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: E2 17 00 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: E2 17 00 C4 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B3 [13:50:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:50:37]wFMCommunicate OK [13:50:37]requested_item fd.num is exist - process it [13:50:37]SAM_PROTO_GetFieldsCounters [13:50:37]wFMCommunicate request_size=4 [13:50:37]MH_SAM_APDU [13:50:37]CAPDU: 80 13 00 00 [13:50:37]Write to MH i2c: E2 08 00 C5 23 80 13 00 00 00 00 00 00 64 [13:50:37]Write i2c OK [13:50:37]MH_I2C_Read... [13:50:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:50:38]Read from MH i2c: E2 [13:50:38]MH_I2C_Read... [13:50:38]Read from MH i2c: E2 62 00 [13:50:38]MH_I2C_Read... [13:50:38]Read from MH i2c: E2 62 00 C5 23 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 1F 56 00 00 0E 04 04 00 44 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 99 [13:50: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 1F 56 00 00 0E 04 04 00 44 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 [13:50:38]wFMCommunicate OK [13:50:38]SAM_PROTO_GetFieldsCounters done [13:50:38]requested_item shift.num is exist - process it [13:50:38]requested_item shift.opened is exist - process it [13:50:38]req_shift_opened [13:50:38]FM_GetShiftState [13:50:38]SAM_PROTO_GetShiftState [13:50:38]wFMCommunicate request_size=4 [13:50:38]MH_SAM_APDU [13:50:38]CAPDU: 80 13 01 00 [13:50:38]Write to MH i2c: E2 08 00 C6 23 80 13 01 00 00 00 00 00 66 [13:50:38]Write i2c OK [13:50:38]MH_I2C_Read... [13:50:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:50:38]Read from MH i2c: E2 [13:50:38]MH_I2C_Read... [13:50:38]Read from MH i2c: E2 0E 00 [13:50:38]MH_I2C_Read... [13:50:38]Read from MH i2c: E2 0E 00 C6 23 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 84 [13:50:38]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:50:38]wFMCommunicate OK [13:50:38]SAM_PROTO_GetShiftState done [13:50:38]FM_GetShiftState done [13:50:38]req_shift_opened done [13:50:38]requested_item shift.open_date is exist - process it [13:50:38]req_shift_open_date [13:50:38]req_shift_open_date done [13:50:38]produce_requested_data done [13:50:38]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22047,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [13:50:38]process_action_free close_receipt [13:50:38]json_value_free [13:50:38]json_value_free done [13:50:38]process_json_proto returns [13:50:38]Send response to host [13:50:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22047,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [13:50:38]free response buf [13:50:38]execute_script done [13:50:38]execute_script returns [13:50:38]free content buf [13:50:38]Sock 9.Close socket [13:50:38]Sock 9.Thread stoped [13:50:41]OFD Sender: No OFD packet to send [13:50:46]OFD Sender: No OFD packet to send [13:50:51]OFD Sender: No OFD packet to send [13:50:56]OFD Sender: No OFD packet to send [13:51:01]OFD Sender: No OFD packet to send [13:51:06]OFD Sender: No OFD packet to send [13:51:11]OFD Sender: No OFD packet to send [13:51:16]OFD Sender: No OFD packet to send [13:51:21]OFD Sender: No OFD packet to send [13:51:26]OFD Sender: No OFD packet to send [13:51:31]OFD Sender: No OFD packet to send [13:51:37]OFD Sender: No OFD packet to send [13:51:42]OFD Sender: No OFD packet to send [13:51:47]OFD Sender: No OFD packet to send [13:51:52]OFD Sender: No OFD packet to send [13:51:57]OFD Sender: No OFD packet to send [13:52:02]OFD Sender: No OFD packet to send [13:52:07]OFD Sender: No OFD packet to send [13:52:12]OFD Sender: No OFD packet to send [13:52:17]OFD Sender: No OFD packet to send [13:52:22]OFD Sender: No OFD packet to send [13:52:27]OFD Sender: No OFD packet to send [13:52:32]OFD Sender: No OFD packet to send [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]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: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:16]accept exits with 8 [13:59:16]New connection [13:59:16]New thread 3067178340 created [13:59:16]Thread 3067321700 joined [13:59:16]Waiting for new connection... [13:59:16] Sock 8.Parse request [13:59:16]Sock 8.Check first char [13:59:16]Sock 8.First char is OK [13:59:16]request: POST /json_proto HTTP/1.0 [13:59:16]Method: POST [13:59:16]URL: /json_proto [13:59:16]Method is POST - this is cgi request [13:59:16]url: /json_proto [13:59:16]query_string will be loaded in cgi processing [13:59:16]execute_cgi json_proto POST (null) [13:59:16]execute_cgi path=json_proto method=POST [13:59:16]POST find Content-Length [13:59:16]Host: 172.17.35.133:8080 [13:59:16]Content-Length: 688 [13:59:16]Content-Type: application/json [13:59:16] [13:59:16]POST finish read [13:59:16]Found Content-Length = 688 [13:59:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609643", "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.810, "sum" : 1500.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:59:16]execute_script... [13:59: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 : (1)1609643", "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.810, "sum" : 1500.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:59:16]POST & json_proto [13:59:16]process_json_proto [13:59:16]json parsed OK: [13:59:16]protocol is kg_v1.0 [13:59:16]action value=close_receipt [13:59:16]process_action close_receipt [13:59:16]cmd_close_receipt [13:59:16]MH_GetDate [13:59:16]Write to MH i2c: F0 00 00 C7 23 D9 [13:59:16]Write i2c OK [13:59:16]MH_I2C_Read... [13:59:16]Read from MH i2c: F0 [13:59:16]MH_I2C_Read... [13:59:16]Read from MH i2c: F0 09 00 [13:59:16]MH_I2C_Read... [13:59:16]Read from MH i2c: F0 09 00 C7 23 00 3D FB 6A 66 8C 55 28 65 58 [13:59:16]GetLastDocTimeStamp 1718286643 [13:59:16]current date 1718287165 [13:59:16]FM_GetShiftState [13:59:16]SAM_PROTO_GetShiftState [13:59:16]wFMCommunicate request_size=4 [13:59:16]MH_SAM_APDU [13:59:16]CAPDU: 80 13 01 00 [13:59:16]Write to MH i2c: E2 08 00 C8 23 80 13 01 00 00 00 00 00 68 [13:59:16]Write i2c OK [13:59:16]MH_I2C_Read... [13:59:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:59:16]Read from MH i2c: E2 [13:59:16]MH_I2C_Read... [13:59:16]Read from MH i2c: E2 0E 00 [13:59:16]MH_I2C_Read... [13:59:16]Read from MH i2c: E2 0E 00 C8 23 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 86 [13:59:16]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:59:16]wFMCommunicate OK [13:59:16]SAM_PROTO_GetShiftState done [13:59:16]FM_GetShiftState done [13:59:16]opened in 1718237959 [13:59:16]opened+sec_in_day 1718324359 [13:59:16]quantity*price = 150040 [13:59:16]sum+1 = 150041 [13:59:16]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.40 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 28 13.06.2024 13:59 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22048 ФПД: 162247239219758 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T135926&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22048&fm=162247239219758&tin=02508201610067®Number=0000000000099755&sum=150000 [13:59:18]StoreToDocumentArchive [13:59:18]shift 324 fd 22048 [13:59:18]save to /storage/0324/doc_00022048 [13:59:18]save last doc name /storage/0324/doc_00022048 to /storage/kkm_last_doc_name [13:59:18]save OK [13:59:18]Clear old archive folders... [13:59:18]ProcessDocumentItem done err = 0, tmpTLVsize=252 [13:59:18]tlvbuf is 0022A040 [13:59:18]SAM_PROTO_ClearQueue [13:59:18]wFMCommunicate request_size=4 [13:59:18]MH_SAM_APDU [13:59:18]CAPDU: 80 09 00 00 [13:59:18]Write to MH i2c: E2 08 00 D5 23 80 09 00 00 00 00 00 00 6A [13:59:18]Write i2c OK [13:59:18]MH_I2C_Read... [13:59:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:59:18]Read from MH i2c: E2 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 03 00 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 03 00 D5 23 00 90 00 6C [13:59:18]RAPDU: 90 00 [13:59:18]wFMCommunicate OK [13:59:18]SAM_PROTO_ClearQueue done [13:59:18]KKMCreateOFDPacket [13:59:18]OFDProtocolAddRootSTLVToBuf [13:59:18]FM_MakeSignedData [13:59:18]FM_MakeSignedData [13:59:18]SAM_PROTO_SignData [13:59:18]wFMCommunicate request_size=4 [13:59:18]MH_SAM_APDU [13:59:18]CAPDU: 80 0D 01 02 [13:59:18]Write to MH i2c: E2 08 00 D6 23 80 0D 01 02 00 00 00 00 72 [13:59:18]Write i2c OK [13:59:18]MH_I2C_Read... [13:59:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:59:18]Read from MH i2c: E2 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 03 00 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 03 00 D6 23 00 90 00 6D [13:59:18]RAPDU: 90 00 [13:59:18]wFMCommunicate OK [13:59:18]wFMCommunicate request_size=255 [13:59:18]MH_SAM_APDU [13:59:18]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 4A 51 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 18 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 3E FB 6A 66 0E 04 04 00 44 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 20 56 00 00 35 04 06 00 [13:59:18]Write to MH i2c: E2 02 01 D7 23 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 4A 51 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 18 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 3E FB 6A 66 0E 04 04 00 44 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 20 56 00 00 35 04 06 00 00 00 0A [13:59:18]Write i2c OK [13:59:18]MH_I2C_Read... [13:59:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:59:18]Read from MH i2c: E2 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 03 00 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 03 00 D7 23 00 90 00 6E [13:59:18]RAPDU: 90 00 [13:59:18]wFMCommunicate OK [13:59:18]wFMCommunicate request_size=11 [13:59:18]MH_SAM_APDU [13:59:18]CAPDU: 80 0D 02 02 06 93 90 21 0F 3A 2E [13:59:18]Write to MH i2c: E2 0E 00 D8 23 80 0D 02 02 06 00 93 90 21 0F 3A 2E 00 00 3C [13:59:18]Write i2c OK [13:59:18]MH_I2C_Read... [13:59:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:59:18]Read from MH i2c: E2 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 03 00 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 03 00 D8 23 00 90 00 6F [13:59:18]RAPDU: 90 00 [13:59:18]wFMCommunicate OK [13:59:18]wFMCommunicate request_size=4 [13:59:18]MH_SAM_APDU [13:59:18]CAPDU: 80 0D 03 02 [13:59:18]Write to MH i2c: E2 08 00 D9 23 80 0D 03 02 00 00 00 00 77 [13:59:18]Write i2c OK [13:59:18]MH_I2C_Read... [13:59:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:59:18]Read from MH i2c: E2 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 0B 00 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 0B 00 D9 23 00 9A 07 88 27 2B 0A 0B 5F 90 00 67 [13:59:18]RAPDU: 9A 07 88 27 2B 0A 0B 5F 90 00 [13:59:18]wFMCommunicate OK [13:59:18]SAM_PROTO_SignData done [13:59:18]FM_MakeSignedData done [13:59:18]CreateOFDProtocolMessage [13:59:18]wFMCommunicate request_size=4 [13:59:18]MH_SAM_APDU [13:59:18]CAPDU: 80 11 00 00 [13:59:18]Write to MH i2c: E2 08 00 DA 23 80 11 00 00 00 00 00 00 77 [13:59:18]Write i2c OK [13:59:18]MH_I2C_Read... [13:59:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:59:18]Read from MH i2c: E2 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 17 00 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: E2 17 00 DA 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C9 [13:59:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:59:18]wFMCommunicate OK [13:59:18]CreateOFDProtocolMessage done [13:59:18]OFDSenderStorePacket 22048 [13:59:18]StoreOFDPacket docnum=22048 [13:59: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 10 01 00 00 26 F3 08 01 4C A4 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 4A 51 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 18 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 3E FB 6A 66 0E 04 04 00 44 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 20 56 00 00 35 04 06 00 93 90 21 0F 3A 2E 9A 07 88 27 2B 0A 0B 5F [13:59:18]CheckFolder [13:59:18]dirname=/storage/ofd_packets [13:59:18]CheckFolder done [13:59:18]ProducePacketName [13:59:18]name=ofd_packets/00022048 [13:59:18]NVStorageSaveData ofd_packets/00022048 [13:59:18]File name is /storage/ofd_packets/00022048 [13:59:18]Write 302 bytes [13:59:18]NVStorageSaveData done [13:59:18]OFDSenderStorePacket done [13:59:18]KKMCreateOFDPacket done [13:59:18]NVStorageSaveData kkm_last_timestamp [13:59:18]File name is /storage/kkm_last_timestamp [13:59:18]Write 4 bytes [13:59:18]NVStorageSaveData done [13:59:18]ExternCall_PrintAddStr [13:59:18]wPrintStart [13:59:18]Write to MH i2c: 01 00 00 DB 23 FE [13:59:18]Write i2c OK [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: 01 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: 01 07 00 [13:59:18]MH_I2C_Read... [13:59:18]Read from MH i2c: 01 07 00 DB 23 00 00 00 00 00 FF 0F 13 [13:59:18]RasterBufferAndPrint [13:59:18]line Счет N : (1)1609643 [13:59:18]line ИНН: 02508201610067 [13:59:18]line Контрольно-Кассовый Чек [13:59:18]line ПРОДАЖА [13:59:18]line ТРК (МРК, ГНК) : 22 [13:59:18]line Товар: 2710194210 [13:59:18]line ДТ(л)-К-4 [13:59:18]line 20.810 * 72.10 [13:59:18]line = 1500.40 [13:59:18]line НДС 12% НСП 1% [13:59:18]line > о реализуемом товаре [13:59:18]line ОКРУГЛЕНИЕ: -0.40 [13:59:18]line ИТОГО: 1500.00 [13:59:18]line Внесено: 1500.00 [13:59:18]line СДАЧА: 0.00 [13:59:18]line НСП 1% : 13.28 [13:59:18]line НДС 12% : 159.33 [13:59:18]line Наличными: 1500.00 [13:59:18]line Безнал.: 0.00 [13:59:18]line Место: АЗС № 76 "Партнер Нефть" [13:59:18]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [13:59:18]line СНО: Общий режим [13:59:18]line Чек 28 13.06.2024 13:59 [13:59:18]line Смена: 324 ФФД: 1.0 [13:59:18]line ЗНМ: 0300000200 [13:59:18]line РНМ: 0000000000099755 [13:59:18]line Версия ККМ: 001 [13:59:18]line ФМ: 0000000000965344 [13:59:18]line ФД: 22048 [13:59:18]line ФПД: 162247239219758 [13:59:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T135926&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22048&fm=162247239219758&tin=02508201610067®Number=0000000000099755&sum=150000 [13:59:18]OFD Sender: Processing packet 22048 [packets to send 5, broken 4] [13:59:18]ProducePacketName [13:59:18]name=ofd_packets/00022048 [13:59:18]OFD Sender: To server: pG, [13:59:18]CommunicateWithHost lk.salyk.kg:30040 [13:59:18]ConnectInit lk.salyk.kg [13:59:18]written 0, free lines is 4095 [13:59:19]Connected sock=10 [13:59: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 10 01 00 00 26 F3 08 01 4C A4 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 4A 51 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 18 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 3E FB 6A 66 0E 04 04 00 44 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 20 56 00 00 35 04 06 00 93 90 21 0F 3A 2E 9A 07 88 27 2B 0A 0B 5F [13:59: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 4A 47 00 4D 27 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 20 56 00 00 F4 03 04 00 01 A4 6A 66 B6 04 01 00 00 F1 48 B0 F7 DC C7 C9 BD [13:59:19]CommunicateWithHost err = 0 [13:59:19]CheckOFDResponse [13:59:19]1017 (14) - 77093643461234 [13:59:19]1041 (16) - 0000000000965344 [13:59:19]1040 (4) - 22048 [13:59:19]1012 (4) - 13.06.2024 07:47 [13:59:19]1206 (1) - 0 [13:59:19]OFD Sender: Remove packet 22048 [13:59:19]ProducePacketName [13:59:19]name=ofd_packets/00022048 [13:59:19]NVStorageDeleteData [13:59:19]Write to MH i2c: 01 00 00 06 24 2A [13:59:19]Write i2c OK [13:59:19]MH_I2C_Read... [13:59:19]Read from MH i2c: 01 [13:59:19]MH_I2C_Read... [13:59:19]Read from MH i2c: 01 07 00 [13:59:19]MH_I2C_Read... [13:59:19]Read from MH i2c: 01 07 00 06 24 00 00 00 00 00 F6 0C 33 [13:59:19]RasterBufferAndPrint [13:59:19]line [13:59:19]line [13:59:19]line [13:59:19]line [13:59:19]line [13:59:19]written 0, free lines is 3324 [13:59:19]MH_Cut [13:59:19]Write to MH i2c: D1 01 00 0D 24 01 03 [13:59:19]Write i2c OK [13:59:19]MH_I2C_Read... [13:59:19]Read from MH i2c: D1 [13:59:19]MH_I2C_Read... [13:59:19]Read from MH i2c: D1 01 00 [13:59:19]MH_I2C_Read... [13:59:19]Read from MH i2c: D1 01 00 0D 24 00 02 [13:59:19]Write to MH i2c: 01 00 00 0E 24 32 [13:59:19]Write i2c OK [13:59:19]MH_I2C_Read... [13:59:19]OFD Sender: No OFD packet to send [13:59:20]*** Cut start [13:59:20]*** Partial cut [13:59:20]*** CUTSNS_PIN = 1 [13:59:20]*** CUTSNS_PIN = 0 [13:59:20]*** Brake cut motor [13:59:20]Read from MH i2c: 01 [13:59:20]MH_I2C_Read... [13:59:20]*** Stop cut motor [13:59:20]*** Cut end [13:59:20]Read from MH i2c: 01 07 00 [13:59:20]MH_I2C_Read... [13:59:20]Read from MH i2c: 01 07 00 0E 24 00 00 00 00 00 FF 0F 47 [13:59:20]process_action close_receipt done [13:59:20]requested_data is exist [13:59:20]produce_requested_data [13:59:20]requested_item fm.sn is exist - process it [13:59:20]wFMCommunicate request_size=4 [13:59:20]MH_SAM_APDU [13:59:20]CAPDU: 80 11 00 00 [13:59:20]Write to MH i2c: E2 08 00 0F 24 80 11 00 00 00 00 00 00 AD [13:59:20]Write i2c OK [13:59:20]MH_I2C_Read... [13:59:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:59:20]Read from MH i2c: E2 [13:59:20]MH_I2C_Read... [13:59:20]Read from MH i2c: E2 17 00 [13:59:20]MH_I2C_Read... [13:59:20]Read from MH i2c: E2 17 00 0F 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FF [13:59:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [13:59:20]wFMCommunicate OK [13:59:20]requested_item fd.num is exist - process it [13:59:20]SAM_PROTO_GetFieldsCounters [13:59:20]wFMCommunicate request_size=4 [13:59:20]MH_SAM_APDU [13:59:20]CAPDU: 80 13 00 00 [13:59:20]Write to MH i2c: E2 08 00 10 24 80 13 00 00 00 00 00 00 B0 [13:59:20]Write i2c OK [13:59:20]MH_I2C_Read... [13:59:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:59:20]Read from MH i2c: E2 [13:59:20]MH_I2C_Read... [13:59:20]Read from MH i2c: E2 62 00 [13:59:20]MH_I2C_Read... [13:59:20]Read from MH i2c: E2 62 00 10 24 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 20 56 00 00 0E 04 04 00 44 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 E9 [13:59: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 20 56 00 00 0E 04 04 00 44 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 [13:59:20]wFMCommunicate OK [13:59:20]SAM_PROTO_GetFieldsCounters done [13:59:20]requested_item shift.num is exist - process it [13:59:20]requested_item shift.opened is exist - process it [13:59:20]req_shift_opened [13:59:20]FM_GetShiftState [13:59:20]SAM_PROTO_GetShiftState [13:59:20]wFMCommunicate request_size=4 [13:59:20]MH_SAM_APDU [13:59:20]CAPDU: 80 13 01 00 [13:59:20]Write to MH i2c: E2 08 00 11 24 80 13 01 00 00 00 00 00 B2 [13:59:20]Write i2c OK [13:59:20]MH_I2C_Read... [13:59:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:59:20]Read from MH i2c: E2 [13:59:20]MH_I2C_Read... [13:59:20]Read from MH i2c: E2 0E 00 [13:59:20]MH_I2C_Read... [13:59:20]Read from MH i2c: E2 0E 00 11 24 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 D0 [13:59:20]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [13:59:20]wFMCommunicate OK [13:59:20]SAM_PROTO_GetShiftState done [13:59:20]FM_GetShiftState done [13:59:20]req_shift_opened done [13:59:20]requested_item shift.open_date is exist - process it [13:59:20]req_shift_open_date [13:59:20]req_shift_open_date done [13:59:20]produce_requested_data done [13:59:20]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22048,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [13:59:20]process_action_free close_receipt [13:59:20]json_value_free [13:59:20]json_value_free done [13:59:20]process_json_proto returns [13:59:20]Send response to host [13:59:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22048,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [13:59:20]free response buf [13:59:20]execute_script done [13:59:20]execute_script returns [13:59:20]free content buf [13:59:20]Sock 8.Close socket [13:59:20]Sock 8.Thread stoped [13:59:24]OFD Sender: No OFD packet to send [13:59:29]OFD Sender: No OFD packet to send [13:59:34]OFD Sender: No OFD packet to send [13:59:39]OFD Sender: No OFD packet to send [13:59:44]OFD Sender: No OFD packet to send [13:59:49]OFD Sender: No OFD packet to send [13:59:54]OFD Sender: No OFD packet to send [13:59:59]OFD Sender: No OFD packet to send [14:00:04]OFD Sender: No OFD packet to send [14:00:09]OFD Sender: No OFD packet to send [14:00:14]OFD Sender: No OFD packet to send [14:00:19]OFD Sender: No OFD packet to send [14:00:24]OFD Sender: No OFD packet to send [14:00:29]OFD Sender: No OFD packet to send [14:00:34]OFD Sender: No OFD packet to send [14:00:39]OFD Sender: No OFD packet to send [14:00:44]OFD Sender: No OFD packet to send [14:00:49]OFD Sender: No OFD packet to send [14:00:54]OFD Sender: No OFD packet to send [14:00:59]OFD Sender: No OFD packet to send [14:01:04]OFD Sender: No OFD packet to send [14:01:09]OFD Sender: No OFD packet to send [14:01:14]OFD Sender: No OFD packet to send [14:01:19]OFD Sender: No OFD packet to send [14:01:24]OFD Sender: No OFD packet to send [14:01:29]OFD Sender: No OFD packet to send [14:01:34]OFD Sender: No OFD packet to send [14:01:39]OFD Sender: No OFD packet to send [14:01:44]OFD Sender: No OFD packet to send [14:01:49]OFD Sender: No OFD packet to send [14:01:54]OFD Sender: No OFD packet to send [14:01:59]OFD Sender: No OFD packet to send [14:02:04]OFD Sender: No OFD packet to send [14:02:09]OFD Sender: No OFD packet to send [14:02:14]OFD Sender: No OFD packet to send [14:02:19]OFD Sender: No OFD packet to send [14:02:24]OFD Sender: No OFD packet to send [14:02:29]OFD Sender: No OFD packet to send [14:02:34]OFD Sender: No OFD packet to send [14:02:39]OFD Sender: No OFD packet to send [14:02:44]OFD Sender: No OFD packet to send [14:02:49]OFD Sender: No OFD packet to send [14:02:54]OFD Sender: No OFD packet to send [14:02:59]OFD Sender: No OFD packet to send [14:03:04]OFD Sender: No OFD packet to send [14:03:09]OFD Sender: No OFD packet to send [14:03:13]accept exits with 9 [14:03:13]New connection [14:03:13]New thread 3067321700 created [14:03:13]Thread 3067178340 joined [14:03:13]Waiting for new connection... [14:03:13] Sock 9.Parse request [14:03:13]Sock 9.Check first char [14:03:13]Sock 9.First char is OK [14:03:13]request: POST /json_proto HTTP/1.0 [14:03:13]Method: POST [14:03:13]URL: /json_proto [14:03:13]Method is POST - this is cgi request [14:03:13]url: /json_proto [14:03:13]query_string will be loaded in cgi processing [14:03:13]execute_cgi json_proto POST (null) [14:03:13]execute_cgi path=json_proto method=POST [14:03:13]POST find Content-Length [14:03:13]Host: 172.17.35.133:8080 [14:03:13]Content-Length: 988 [14:03:13]Content-Type: application/json [14:03:13] [14:03:13]POST finish read [14:03:13]Found Content-Length = 988 [14:03:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609641", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 71.10, "quantity" : 126.590, "sum" : 9000.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 76\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 126.59 \u0441\u043E\u043C", "deposit" : 9000.00, "total" : 9000.00, "payments": [ { "type": 0, "sum" : 9000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:13]execute_script... [14:03:13]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)1609641", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 71.10, "quantity" : 126.590, "sum" : 9000.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 76\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 126.59 \u0441\u043E\u043C", "deposit" : 9000.00, "total" : 9000.00, "payments": [ { "type": 0, "sum" : 9000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:13]POST & json_proto [14:03:13]process_json_proto [14:03:13]json parsed OK: [14:03:13]protocol is kg_v1.0 [14:03:13]action value=close_receipt [14:03:13]process_action close_receipt [14:03:13]cmd_close_receipt [14:03:13]MH_GetDate [14:03:13]Write to MH i2c: F0 00 00 12 24 25 [14:03:13]Write i2c OK [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: F0 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: F0 09 00 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: F0 09 00 12 24 00 2A FC 6A 66 8C 55 28 65 92 [14:03:13]GetLastDocTimeStamp 1718287166 [14:03:13]current date 1718287402 [14:03:13]FM_GetShiftState [14:03:13]SAM_PROTO_GetShiftState [14:03:13]wFMCommunicate request_size=4 [14:03:13]MH_SAM_APDU [14:03:13]CAPDU: 80 13 01 00 [14:03:13]Write to MH i2c: E2 08 00 13 24 80 13 01 00 00 00 00 00 B4 [14:03:13]Write i2c OK [14:03:13]MH_I2C_Read... [14:03:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:13]Read from MH i2c: E2 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: E2 0E 00 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: E2 0E 00 13 24 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 D2 [14:03:13]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:03:13]wFMCommunicate OK [14:03:13]SAM_PROTO_GetShiftState done [14:03:13]FM_GetShiftState done [14:03:13]opened in 1718237959 [14:03:13]opened+sec_in_day 1718324359 [14:03:13]quantity*price = 900054 [14:03:13]sum+1 = 900056 [14:03:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.55 ИТОГО: 9000.00 Внесено: 9000.00 СДАЧА: 0.00 НСП 1% : 79.65 НДС 12% : 955.81 Наличными: 9000.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 29 13.06.2024 14:03 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Дисконтная программа ДТ номер 76 сэкономлено 126.59 сом ФМ: 0000000000965344 ФД: 22049 ФПД: 138039177789952 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T140322&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22049&fm=138039177789952&tin=02508201610067®Number=0000000000099755&sum=900000 [14:03:14]StoreToDocumentArchive [14:03:14]shift 324 fd 22049 [14:03:14]save to /storage/0324/doc_00022049 [14:03:14]save last doc name /storage/0324/doc_00022049 to /storage/kkm_last_doc_name [14:03:14]save OK [14:03:14]Clear old archive folders... [14:03:14]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:03:14]tlvbuf is 0022E6F0 [14:03:14]SAM_PROTO_ClearQueue [14:03:14]wFMCommunicate request_size=4 [14:03:14]MH_SAM_APDU [14:03:14]CAPDU: 80 09 00 00 [14:03:14]Write to MH i2c: E2 08 00 20 24 80 09 00 00 00 00 00 00 B6 [14:03:14]Write i2c OK [14:03:14]MH_I2C_Read... [14:03:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:03:14]Read from MH i2c: E2 [14:03:14]MH_I2C_Read... [14:03:14]Read from MH i2c: E2 03 00 [14:03:14]MH_I2C_Read... [14:03:14]Read from MH i2c: E2 03 00 20 24 00 90 00 B8 [14:03:14]RAPDU: 90 00 [14:03:14]wFMCommunicate OK [14:03:14]SAM_PROTO_ClearQueue done [14:03:14]KKMCreateOFDPacket [14:03:14]OFDProtocolAddRootSTLVToBuf [14:03:14]FM_MakeSignedData [14:03:14]FM_MakeSignedData [14:03:14]SAM_PROTO_SignData [14:03:14]wFMCommunicate request_size=4 [14:03:14]MH_SAM_APDU [14:03:14]CAPDU: 80 0D 01 02 [14:03:14]Write to MH i2c: E2 08 00 21 24 80 0D 01 02 00 00 00 00 BE [14:03:14]Write i2c OK [14:03:14]MH_I2C_Read... [14:03:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:03:14]Read from MH i2c: E2 [14:03:14]MH_I2C_Read... [14:03:14]Read from MH i2c: E2 03 00 [14:03:14]MH_I2C_Read... [14:03:14]Read from MH i2c: E2 03 00 21 24 00 90 00 B9 [14:03:14]RAPDU: 90 00 [14:03:14]wFMCommunicate OK [14:03:14]wFMCommunicate request_size=255 [14:03:14]MH_SAM_APDU [14:03:14]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 7E EE 01 00 00 00 00 37 04 06 00 C6 1B 00 00 00 00 13 04 06 00 D7 BB 0D 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 BB 0D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 1F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 75 01 00 00 00 07 04 06 00 A0 BB 0D 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 2A FC 6A 66 0E 04 04 00 44 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 21 56 00 00 35 04 06 00 [14:03:14]Write to MH i2c: E2 02 01 22 24 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 7E EE 01 00 00 00 00 37 04 06 00 C6 1B 00 00 00 00 13 04 06 00 D7 BB 0D 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 BB 0D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 1F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 75 01 00 00 00 07 04 06 00 A0 BB 0D 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 2A FC 6A 66 0E 04 04 00 44 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 21 56 00 00 35 04 06 00 00 00 A6 [14:03:14]Write i2c OK [14:03:14]MH_I2C_Read... [14:03:14]OFD Sender: No OFD packet to send [14:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:15]Read from MH i2c: E2 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: E2 03 00 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: E2 03 00 22 24 00 90 00 BA [14:03:15]RAPDU: 90 00 [14:03:15]wFMCommunicate OK [14:03:15]wFMCommunicate request_size=11 [14:03:15]MH_SAM_APDU [14:03:15]CAPDU: 80 0D 02 02 06 7D 8B C0 28 42 00 [14:03:15]Write to MH i2c: E2 0E 00 23 24 80 0D 02 02 06 00 7D 8B C0 28 42 00 00 00 FF [14:03:15]Write i2c OK [14:03:15]MH_I2C_Read... [14:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:15]Read from MH i2c: E2 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: E2 03 00 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: E2 03 00 23 24 00 90 00 BB [14:03:15]RAPDU: 90 00 [14:03:15]wFMCommunicate OK [14:03:15]wFMCommunicate request_size=4 [14:03:15]MH_SAM_APDU [14:03:15]CAPDU: 80 0D 03 02 [14:03:15]Write to MH i2c: E2 08 00 24 24 80 0D 03 02 00 00 00 00 C3 [14:03:15]Write i2c OK [14:03:15]MH_I2C_Read... [14:03:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:03:15]Read from MH i2c: E2 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: E2 0B 00 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: E2 0B 00 24 24 00 2F B7 AF 27 4E AB 95 24 90 00 32 [14:03:15]RAPDU: 2F B7 AF 27 4E AB 95 24 90 00 [14:03:15]wFMCommunicate OK [14:03:15]SAM_PROTO_SignData done [14:03:15]FM_MakeSignedData done [14:03:15]CreateOFDProtocolMessage [14:03:15]wFMCommunicate request_size=4 [14:03:15]MH_SAM_APDU [14:03:15]CAPDU: 80 11 00 00 [14:03:15]Write to MH i2c: E2 08 00 25 24 80 11 00 00 00 00 00 00 C3 [14:03:15]Write i2c OK [14:03:15]MH_I2C_Read... [14:03:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:15]Read from MH i2c: E2 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: E2 17 00 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: E2 17 00 25 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 15 [14:03:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:03:15]wFMCommunicate OK [14:03:15]CreateOFDProtocolMessage done [14:03:15]OFDSenderStorePacket 22049 [14:03:15]StoreOFDPacket docnum=22049 [14:03:15]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 F4 B8 08 01 E9 09 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 7E EE 01 00 00 00 00 37 04 06 00 C6 1B 00 00 00 00 13 04 06 00 D7 BB 0D 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 BB 0D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 1F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 75 01 00 00 00 07 04 06 00 A0 BB 0D 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 2A FC 6A 66 0E 04 04 00 44 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 21 56 00 00 35 04 06 00 7D 8B C0 28 42 00 2F B7 AF 27 4E AB 95 24 [14:03:15]CheckFolder [14:03:15]dirname=/storage/ofd_packets [14:03:15]CheckFolder done [14:03:15]ProducePacketName [14:03:15]name=ofd_packets/00022049 [14:03:15]NVStorageSaveData ofd_packets/00022049 [14:03:15]File name is /storage/ofd_packets/00022049 [14:03:15]Write 302 bytes [14:03:15]NVStorageSaveData done [14:03:15]OFDSenderStorePacket done [14:03:15]KKMCreateOFDPacket done [14:03:15]NVStorageSaveData kkm_last_timestamp [14:03:15]File name is /storage/kkm_last_timestamp [14:03:15]Write 4 bytes [14:03:15]NVStorageSaveData done [14:03:15]ExternCall_PrintAddStr [14:03:15]wPrintStart [14:03:15]Write to MH i2c: 01 00 00 26 24 4A [14:03:15]Write i2c OK [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: 01 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: 01 07 00 [14:03:15]MH_I2C_Read... [14:03:15]Read from MH i2c: 01 07 00 26 24 00 00 00 00 00 FF 0F 5F [14:03:15]RasterBufferAndPrint [14:03:15]line Счет N : (1)1609641 [14:03:15]line ИНН: 02508201610067 [14:03:15]line Контрольно-Кассовый Чек [14:03:15]line ПРОДАЖА [14:03:15]line ТРК (МРК, ГНК) : 12 [14:03:15]line Товар: 2710194210 [14:03:15]line ДТ(л)-К-4 [14:03:15]line 126.590 * 71.10 [14:03:15]line = 9000.55 [14:03:15]line НДС 12% НСП 1% [14:03:15]line > о реализуемом товаре [14:03:15]line ОКРУГЛЕНИЕ: -0.55 [14:03:15]line ИТОГО: 9000.00 [14:03:15]line Внесено: 9000.00 [14:03:15]line СДАЧА: 0.00 [14:03:15]line НСП 1% : 79.65 [14:03:15]line НДС 12% : 955.81 [14:03:15]line Наличными: 9000.00 [14:03:15]line Безнал.: 0.00 [14:03:15]line Место: АЗС № 76 "Партнер Нефть" [14:03:15]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:03:15]line СНО: Общий режим [14:03:15]line Чек 29 13.06.2024 14:03 [14:03:15]line Смена: 324 ФФД: 1.0 [14:03:15]line ЗНМ: 0300000200 [14:03:15]line РНМ: 0000000000099755 [14:03:15]line Версия ККМ: 001 [14:03:15]line [14:03:15]line Дисконтная программа [14:03:15]line ДТ [14:03:15]line номер 76 [14:03:15]line сэкономлено 126.59 сом [14:03:15]line ФМ: 0000000000965344 [14:03:15]line ФД: 22049 [14:03:15]line ФПД: 138039177789952 [14:03:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T140322&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22049&fm=138039177789952&tin=02508201610067®Number=0000000000099755&sum=900000 [14:03:15]OFD Sender: Processing packet 22049 [packets to send 5, broken 4] [14:03:15]ProducePacketName [14:03:15]name=ofd_packets/00022049 [14:03:15]OFD Sender: To server: pG, [14:03:15]CommunicateWithHost lk.salyk.kg:30040 [14:03:15]ConnectInit lk.salyk.kg [14:03:15]written 0, free lines is 4095 [14:03:15]Connected sock=10 [14:03:15]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 F4 B8 08 01 E9 09 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 7E EE 01 00 00 00 00 37 04 06 00 C6 1B 00 00 00 00 13 04 06 00 D7 BB 0D 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 BB 0D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 1F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 75 01 00 00 00 07 04 06 00 A0 BB 0D 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 2A FC 6A 66 0E 04 04 00 44 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 21 56 00 00 35 04 06 00 7D 8B C0 28 42 00 2F B7 AF 27 4E AB 95 24 [14:03:15]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 54 04 47 00 EA C6 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 21 56 00 00 F4 03 04 00 ED A4 6A 66 B6 04 01 00 00 2E 9C DF 55 88 30 9D 9A [14:03:15]CommunicateWithHost err = 0 [14:03:15]CheckOFDResponse [14:03:15]1017 (14) - 77093643461234 [14:03:15]1041 (16) - 0000000000965344 [14:03:15]1040 (4) - 22049 [14:03:15]1012 (4) - 13.06.2024 07:51 [14:03:15]1206 (1) - 0 [14:03:15]OFD Sender: Remove packet 22049 [14:03:15]ProducePacketName [14:03:15]name=ofd_packets/00022049 [14:03:15]NVStorageDeleteData [14:03:16]Write to MH i2c: 01 00 00 56 24 7A [14:03:16]Write i2c OK [14:03:16]MH_I2C_Read... [14:03:16]Read from MH i2c: 01 [14:03:16]MH_I2C_Read... [14:03:16]Read from MH i2c: 01 07 00 [14:03:16]MH_I2C_Read... [14:03:16]Read from MH i2c: 01 07 00 56 24 00 00 00 00 00 96 0C 23 [14:03:16]RasterBufferAndPrint [14:03:16]line [14:03:16]line [14:03:16]line [14:03:16]line [14:03:16]line [14:03:16]written 0, free lines is 3228 [14:03:16]MH_Cut [14:03:16]Write to MH i2c: D1 01 00 5D 24 01 53 [14:03:16]Write i2c OK [14:03:16]MH_I2C_Read... [14:03:16]Read from MH i2c: D1 [14:03:16]MH_I2C_Read... [14:03:16]Read from MH i2c: D1 01 00 [14:03:16]MH_I2C_Read... [14:03:16]Read from MH i2c: D1 01 00 5D 24 00 52 [14:03:16]Write to MH i2c: 01 00 00 5E 24 82 [14:03:16]Write i2c OK [14:03:16]MH_I2C_Read... [14:03:16]OFD Sender: No OFD packet to send [14:03:16]*** Cut start [14:03:16]*** Partial cut [14:03:16]*** CUTSNS_PIN = 1 [14:03:16]*** CUTSNS_PIN = 0 [14:03:17]*** Brake cut motor [14:03:17]Read from MH i2c: 01 [14:03:17]MH_I2C_Read... [14:03:17]*** Stop cut motor [14:03:17]*** Cut end [14:03:17]Read from MH i2c: 01 07 00 [14:03:17]MH_I2C_Read... [14:03:17]Read from MH i2c: 01 07 00 5E 24 00 00 00 00 00 FF 0F 97 [14:03:17]process_action close_receipt done [14:03:17]requested_data is exist [14:03:17]produce_requested_data [14:03:17]requested_item fm.sn is exist - process it [14:03:17]wFMCommunicate request_size=4 [14:03:17]MH_SAM_APDU [14:03:17]CAPDU: 80 11 00 00 [14:03:17]Write to MH i2c: E2 08 00 5F 24 80 11 00 00 00 00 00 00 FD [14:03:17]Write i2c OK [14:03:17]MH_I2C_Read... [14:03:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:17]Read from MH i2c: E2 [14:03:17]MH_I2C_Read... [14:03:17]Read from MH i2c: E2 17 00 [14:03:17]MH_I2C_Read... [14:03:17]Read from MH i2c: E2 17 00 5F 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4F [14:03:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:03:17]wFMCommunicate OK [14:03:17]requested_item fd.num is exist - process it [14:03:17]SAM_PROTO_GetFieldsCounters [14:03:17]wFMCommunicate request_size=4 [14:03:17]MH_SAM_APDU [14:03:17]CAPDU: 80 13 00 00 [14:03:17]Write to MH i2c: E2 08 00 60 24 80 13 00 00 00 00 00 00 00 [14:03:17]Write i2c OK [14:03:17]MH_I2C_Read... [14:03:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:03:17]Read from MH i2c: E2 [14:03:17]MH_I2C_Read... [14:03:17]Read from MH i2c: E2 62 00 [14:03:17]MH_I2C_Read... [14:03:17]Read from MH i2c: E2 62 00 60 24 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 21 56 00 00 0E 04 04 00 44 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 3D [14:03: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 21 56 00 00 0E 04 04 00 44 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 [14:03:17]wFMCommunicate OK [14:03:17]SAM_PROTO_GetFieldsCounters done [14:03:17]requested_item shift.num is exist - process it [14:03:17]requested_item shift.opened is exist - process it [14:03:17]req_shift_opened [14:03:17]FM_GetShiftState [14:03:17]SAM_PROTO_GetShiftState [14:03:17]wFMCommunicate request_size=4 [14:03:17]MH_SAM_APDU [14:03:17]CAPDU: 80 13 01 00 [14:03:17]Write to MH i2c: E2 08 00 61 24 80 13 01 00 00 00 00 00 02 [14:03:17]Write i2c OK [14:03:17]MH_I2C_Read... [14:03:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:17]Read from MH i2c: E2 [14:03:17]MH_I2C_Read... [14:03:17]Read from MH i2c: E2 0E 00 [14:03:17]MH_I2C_Read... [14:03:17]Read from MH i2c: E2 0E 00 61 24 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 20 [14:03:17]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:03:17]wFMCommunicate OK [14:03:17]SAM_PROTO_GetShiftState done [14:03:17]FM_GetShiftState done [14:03:17]req_shift_opened done [14:03:17]requested_item shift.open_date is exist - process it [14:03:17]req_shift_open_date [14:03:17]req_shift_open_date done [14:03:17]produce_requested_data done [14:03:17]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22049,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [14:03:17]process_action_free close_receipt [14:03:17]json_value_free [14:03:17]json_value_free done [14:03:17]process_json_proto returns [14:03:17]Send response to host [14:03:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22049,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [14:03:17]free response buf [14:03:17]execute_script done [14:03:17]execute_script returns [14:03:17]free content buf [14:03:17]Sock 9.Close socket [14:03:17]Sock 9.Thread stoped [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:31]OFD Sender: No OFD packet to send [14:03:36]OFD Sender: No OFD packet to send [14:03:41]OFD Sender: No OFD packet to send [14:03:46]OFD Sender: No OFD packet to send [14:03:51]OFD Sender: No OFD packet to send [14:03:56]OFD Sender: No OFD packet to send [14:04:01]OFD Sender: No OFD packet to send [14:04:06]OFD Sender: No OFD packet to send [14:04:11]OFD Sender: No OFD packet to send [14:04:16]OFD Sender: No OFD packet to send [14:04:21]OFD Sender: No OFD packet to send [14:04:26]OFD Sender: No OFD packet to send [14:04:31]OFD Sender: No OFD packet to send [14:04:36]OFD Sender: No OFD packet to send [14:04:41]OFD Sender: No OFD packet to send [14:04:46]OFD Sender: No OFD packet to send [14:04:51]OFD Sender: No OFD packet to send [14:04:56]OFD Sender: No OFD packet to send [14:05:01]OFD Sender: No OFD packet to send [14:05:06]OFD Sender: No OFD packet to send [14:05:11]OFD Sender: No OFD packet to send [14:05:15]accept exits with 8 [14:05:15]New connection [14:05:15]New thread 3067178340 created [14:05:15]Thread 3067321700 joined [14:05:15]Waiting for new connection... [14:05:15] Sock 8.Parse request [14:05:15]Sock 8.Check first char [14:05:15]Sock 8.First char is OK [14:05:15]request: POST /json_proto HTTP/1.0 [14:05:15]Method: POST [14:05:15]URL: /json_proto [14:05:15]Method is POST - this is cgi request [14:05:15]url: /json_proto [14:05:15]query_string will be loaded in cgi processing [14:05:15]execute_cgi json_proto POST (null) [14:05:15]execute_cgi path=json_proto method=POST [14:05:15]POST find Content-Length [14:05:15]Host: 172.17.35.133:8080 [14:05:15]Content-Length: 678 [14:05:15]Content-Type: application/json [14:05:15] [14:05:15]POST finish read [14:05:15]Found Content-Length = 678 [14:05:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609646", "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" ] } } [14:05:15]execute_script... [14:05: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 : (1)1609646", "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" ] } } [14:05:15]POST & json_proto [14:05:15]process_json_proto [14:05:15]json parsed OK: [14:05:15]protocol is kg_v1.0 [14:05:15]action value=close_receipt [14:05:15]process_action close_receipt [14:05:15]cmd_close_receipt [14:05:15]MH_GetDate [14:05:15]Write to MH i2c: F0 00 00 62 24 75 [14:05:15]Write i2c OK [14:05:15]MH_I2C_Read... [14:05:15]Read from MH i2c: F0 [14:05:15]MH_I2C_Read... [14:05:15]Read from MH i2c: F0 09 00 [14:05:15]MH_I2C_Read... [14:05:15]Read from MH i2c: F0 09 00 62 24 00 A4 FC 6A 66 8C 55 28 65 5C [14:05:15]GetLastDocTimeStamp 1718287402 [14:05:15]current date 1718287524 [14:05:15]FM_GetShiftState [14:05:15]SAM_PROTO_GetShiftState [14:05:15]wFMCommunicate request_size=4 [14:05:15]MH_SAM_APDU [14:05:15]CAPDU: 80 13 01 00 [14:05:15]Write to MH i2c: E2 08 00 63 24 80 13 01 00 00 00 00 00 04 [14:05:15]Write i2c OK [14:05:15]MH_I2C_Read... [14:05:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:05:15]Read from MH i2c: E2 [14:05:15]MH_I2C_Read... [14:05:15]Read from MH i2c: E2 0E 00 [14:05:15]MH_I2C_Read... [14:05:15]Read from MH i2c: E2 0E 00 63 24 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 22 [14:05:15]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:05:15]wFMCommunicate OK [14:05:15]SAM_PROTO_GetShiftState done [14:05:15]FM_GetShiftState done [14:05:15]opened in 1718237959 [14:05:15]opened+sec_in_day 1718324359 [14:05:15]quantity*price = 20003 [14:05:15]sum+1 = 20004 [14:05:15]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 СНО: Общий режим Чек 30 13.06.2024 14:05 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22050 ФПД: 218128450887867 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T140524&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22050&fm=218128450887867&tin=02508201610067®Number=0000000000099755&sum=20000 [14:05:16]StoreToDocumentArchive [14:05:16]shift 324 fd 22050 [14:05:16]save to /storage/0324/doc_00022050 [14:05:16]save last doc name /storage/0324/doc_00022050 to /storage/kkm_last_doc_name [14:05:16]save OK [14:05:16]Clear old archive folders... [14:05:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:05:16]tlvbuf is B6E02650 [14:05:16]SAM_PROTO_ClearQueue [14:05:16]wFMCommunicate request_size=4 [14:05:16]MH_SAM_APDU [14:05:16]CAPDU: 80 09 00 00 [14:05:16]Write to MH i2c: E2 08 00 70 24 80 09 00 00 00 00 00 00 06 [14:05:16]Write i2c OK [14:05:16]MH_I2C_Read... [14:05:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:05:16]Read from MH i2c: E2 [14:05:16]MH_I2C_Read... [14:05:16]Read from MH i2c: E2 03 00 [14:05:16]MH_I2C_Read... [14:05:16]Read from MH i2c: E2 03 00 70 24 00 90 00 08 [14:05:16]RAPDU: 90 00 [14:05:16]wFMCommunicate OK [14:05:16]SAM_PROTO_ClearQueue done [14:05:16]KKMCreateOFDPacket [14:05:16]OFDProtocolAddRootSTLVToBuf [14:05:16]FM_MakeSignedData [14:05:16]FM_MakeSignedData [14:05:16]SAM_PROTO_SignData [14:05:16]wFMCommunicate request_size=4 [14:05:16]MH_SAM_APDU [14:05:16]CAPDU: 80 0D 01 02 [14:05:16]Write to MH i2c: E2 08 00 71 24 80 0D 01 02 00 00 00 00 0E [14:05:16]Write i2c OK [14:05:16]MH_I2C_Read... [14:05:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:05:16]Read from MH i2c: E2 [14:05:16]MH_I2C_Read... [14:05:16]Read from MH i2c: E2 03 00 [14:05:16]MH_I2C_Read... [14:05:16]Read from MH i2c: E2 03 00 71 24 00 90 00 09 [14:05:16]RAPDU: 90 00 [14:05:16]wFMCommunicate OK [14:05:16]wFMCommunicate request_size=255 [14:05:16]MH_SAM_APDU [14:05:16]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 1E 00 00 00 F4 03 04 00 A4 FC 6A 66 0E 04 04 00 44 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 22 56 00 00 35 04 06 00 C6 [14:05:16]Write to MH i2c: E2 02 01 72 24 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 1E 00 00 00 F4 03 04 00 A4 FC 6A 66 0E 04 04 00 44 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 22 56 00 00 35 04 06 00 C6 00 00 3C [14:05:16]Write i2c OK [14:05:16]MH_I2C_Read... [14:05:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:05:17]Read from MH i2c: E2 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: E2 03 00 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: E2 03 00 72 24 00 90 00 0A [14:05:17]RAPDU: 90 00 [14:05:17]wFMCommunicate OK [14:05:17]wFMCommunicate request_size=10 [14:05:17]MH_SAM_APDU [14:05:17]CAPDU: 80 0D 02 02 05 62 FC D4 A0 BB [14:05:17]Write to MH i2c: E2 0D 00 73 24 80 0D 02 02 05 00 62 FC D4 A0 BB 00 00 A8 [14:05:17]Write i2c OK [14:05:17]MH_I2C_Read... [14:05:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:05:17]Read from MH i2c: E2 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: E2 03 00 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: E2 03 00 73 24 00 90 00 0B [14:05:17]RAPDU: 90 00 [14:05:17]wFMCommunicate OK [14:05:17]wFMCommunicate request_size=4 [14:05:17]MH_SAM_APDU [14:05:17]CAPDU: 80 0D 03 02 [14:05:17]Write to MH i2c: E2 08 00 74 24 80 0D 03 02 00 00 00 00 13 [14:05:17]Write i2c OK [14:05:17]MH_I2C_Read... [14:05:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:05:17]Read from MH i2c: E2 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: E2 0B 00 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: E2 0B 00 74 24 00 25 A1 BB 76 CB CB 83 03 90 00 27 [14:05:17]RAPDU: 25 A1 BB 76 CB CB 83 03 90 00 [14:05:17]wFMCommunicate OK [14:05:17]SAM_PROTO_SignData done [14:05:17]FM_MakeSignedData done [14:05:17]CreateOFDProtocolMessage [14:05:17]wFMCommunicate request_size=4 [14:05:17]MH_SAM_APDU [14:05:17]CAPDU: 80 11 00 00 [14:05:17]Write to MH i2c: E2 08 00 75 24 80 11 00 00 00 00 00 00 13 [14:05:17]Write i2c OK [14:05:17]MH_I2C_Read... [14:05:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:05:17]Read from MH i2c: E2 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: E2 17 00 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: E2 17 00 75 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 65 [14:05:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:05:17]wFMCommunicate OK [14:05:17]CreateOFDProtocolMessage done [14:05:17]OFDSenderStorePacket 22050 [14:05:17]StoreOFDPacket docnum=22050 [14:05: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 0F 01 00 00 A2 57 07 01 C3 33 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 1E 00 00 00 F4 03 04 00 A4 FC 6A 66 0E 04 04 00 44 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 22 56 00 00 35 04 06 00 C6 62 FC D4 A0 BB 25 A1 BB 76 CB CB 83 03 [14:05:17]CheckFolder [14:05:17]dirname=/storage/ofd_packets [14:05:17]CheckFolder done [14:05:17]ProducePacketName [14:05:17]name=ofd_packets/00022050 [14:05:17]NVStorageSaveData ofd_packets/00022050 [14:05:17]File name is /storage/ofd_packets/00022050 [14:05:17]Write 301 bytes [14:05:17]NVStorageSaveData done [14:05:17]OFDSenderStorePacket done [14:05:17]KKMCreateOFDPacket done [14:05:17]NVStorageSaveData kkm_last_timestamp [14:05:17]File name is /storage/kkm_last_timestamp [14:05:17]Write 4 bytes [14:05:17]NVStorageSaveData done [14:05:17]ExternCall_PrintAddStr [14:05:17]wPrintStart [14:05:17]Write to MH i2c: 01 00 00 76 24 9A [14:05:17]Write i2c OK [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: 01 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: 01 07 00 [14:05:17]MH_I2C_Read... [14:05:17]Read from MH i2c: 01 07 00 76 24 00 00 00 00 00 FF 0F AF [14:05:17]RasterBufferAndPrint [14:05:17]line Счет N : (1)1609646 [14:05:17]line ИНН: 02508201610067 [14:05:17]line Контрольно-Кассовый Чек [14:05:17]line ПРОДАЖА [14:05:17]line ТРК (МРК, ГНК) : 33 [14:05:17]line Товар: 2710124130 [14:05:17]line Аи-92-К-5 [14:05:17]line 3.040 * 65.80 [14:05:17]line = 200.03 [14:05:17]line НДС 12% НСП 1% [14:05:17]line > о реализуемом товаре [14:05:17]line ОКРУГЛЕНИЕ: -0.03 [14:05:17]line ИТОГО: 200.00 [14:05:17]line Внесено: 200.00 [14:05:17]line СДАЧА: 0.00 [14:05:17]line НСП 1% : 1.77 [14:05:17]line НДС 12% : 21.24 [14:05:17]line Наличными: 200.00 [14:05:17]line Безнал.: 0.00 [14:05:17]line Место: АЗС № 76 "Партнер Нефть" [14:05:17]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:05:17]line СНО: Общий режим [14:05:17]line Чек 30 13.06.2024 14:05 [14:05:17]line Смена: 324 ФФД: 1.0 [14:05:17]line ЗНМ: 0300000200 [14:05:17]line РНМ: 0000000000099755 [14:05:17]line Версия ККМ: 001 [14:05:17]line ФМ: 0000000000965344 [14:05:17]line ФД: 22050 [14:05:17]line ФПД: 218128450887867 [14:05:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T140524&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22050&fm=218128450887867&tin=02508201610067®Number=0000000000099755&sum=20000 [14:05:17]OFD Sender: Processing packet 22050 [packets to send 5, broken 4] [14:05:17]ProducePacketName [14:05:17]name=ofd_packets/00022050 [14:05:17]OFD Sender: To server: pG, [14:05:17]CommunicateWithHost lk.salyk.kg:30040 [14:05:17]ConnectInit lk.salyk.kg [14:05:17]written 0, free lines is 4095 [14:05:17]Connected sock=10 [14:05: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 0F 01 00 00 A2 57 07 01 C3 33 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 1E 00 00 00 F4 03 04 00 A4 FC 6A 66 0E 04 04 00 44 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 22 56 00 00 35 04 06 00 C6 62 FC D4 A0 BB 25 A1 BB 76 CB CB 83 03 [14:05:17]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 D2 47 00 80 FB 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 22 56 00 00 F4 03 04 00 67 A5 6A 66 B6 04 01 00 00 47 C0 B9 C0 55 95 04 86 [14:05:17]CommunicateWithHost err = 0 [14:05:17]CheckOFDResponse [14:05:17]1017 (14) - 77093643461234 [14:05:17]1041 (16) - 0000000000965344 [14:05:17]1040 (4) - 22050 [14:05:17]1012 (4) - 13.06.2024 07:53 [14:05:17]1206 (1) - 0 [14:05:17]OFD Sender: Remove packet 22050 [14:05:17]ProducePacketName [14:05:17]name=ofd_packets/00022050 [14:05:17]NVStorageDeleteData [14:05:18]Write to MH i2c: 01 00 00 A1 24 C5 [14:05:18]Write i2c OK [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: 01 [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: 01 07 00 [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: 01 07 00 A1 24 00 00 00 00 00 E7 0C BF [14:05:18]RasterBufferAndPrint [14:05:18]line [14:05:18]line [14:05:18]line [14:05:18]line [14:05:18]line [14:05:18]written 0, free lines is 3310 [14:05:18]MH_Cut [14:05:18]Write to MH i2c: D1 01 00 A8 24 01 9E [14:05:18]Write i2c OK [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: D1 [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: D1 01 00 [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: D1 01 00 A8 24 00 9D [14:05:18]Write to MH i2c: 01 00 00 A9 24 CD [14:05:18]Write i2c OK [14:05:18]MH_I2C_Read... [14:05:18]OFD Sender: No OFD packet to send [14:05:18]*** Cut start [14:05:18]*** Partial cut [14:05:18]*** CUTSNS_PIN = 1 [14:05:18]*** CUTSNS_PIN = 0 [14:05:19]*** Brake cut motor [14:05:19]Read from MH i2c: 01 [14:05:19]MH_I2C_Read... [14:05:19]*** Stop cut motor [14:05:19]*** Cut end [14:05:19]Read from MH i2c: 01 07 00 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: 01 07 00 A9 24 00 00 00 00 00 FF 0F E2 [14:05:19]process_action close_receipt done [14:05:19]requested_data is exist [14:05:19]produce_requested_data [14:05:19]requested_item fm.sn is exist - process it [14:05:19]wFMCommunicate request_size=4 [14:05:19]MH_SAM_APDU [14:05:19]CAPDU: 80 11 00 00 [14:05:19]Write to MH i2c: E2 08 00 AA 24 80 11 00 00 00 00 00 00 48 [14:05:19]Write i2c OK [14:05:19]MH_I2C_Read... [14:05:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:05:19]Read from MH i2c: E2 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 17 00 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 17 00 AA 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 9A [14:05:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:05:19]wFMCommunicate OK [14:05:19]requested_item fd.num is exist - process it [14:05:19]SAM_PROTO_GetFieldsCounters [14:05:19]wFMCommunicate request_size=4 [14:05:19]MH_SAM_APDU [14:05:19]CAPDU: 80 13 00 00 [14:05:19]Write to MH i2c: E2 08 00 AB 24 80 13 00 00 00 00 00 00 4B [14:05:19]Write i2c OK [14:05:19]MH_I2C_Read... [14:05:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:05:19]Read from MH i2c: E2 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 62 00 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 62 00 AB 24 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 22 56 00 00 0E 04 04 00 44 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 8C [14:05: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 22 56 00 00 0E 04 04 00 44 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 [14:05:19]wFMCommunicate OK [14:05:19]SAM_PROTO_GetFieldsCounters done [14:05:19]requested_item shift.num is exist - process it [14:05:19]requested_item shift.opened is exist - process it [14:05:19]req_shift_opened [14:05:19]FM_GetShiftState [14:05:19]SAM_PROTO_GetShiftState [14:05:19]wFMCommunicate request_size=4 [14:05:19]MH_SAM_APDU [14:05:19]CAPDU: 80 13 01 00 [14:05:19]Write to MH i2c: E2 08 00 AC 24 80 13 01 00 00 00 00 00 4D [14:05:19]Write i2c OK [14:05:19]MH_I2C_Read... [14:05:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:05:19]Read from MH i2c: E2 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 0E 00 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 0E 00 AC 24 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 6B [14:05:19]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:05:19]wFMCommunicate OK [14:05:19]SAM_PROTO_GetShiftState done [14:05:19]FM_GetShiftState done [14:05:19]req_shift_opened done [14:05:19]requested_item shift.open_date is exist - process it [14:05:19]req_shift_open_date [14:05:19]req_shift_open_date done [14:05:19]produce_requested_data done [14:05:19]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22050,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [14:05:19]process_action_free close_receipt [14:05:19]json_value_free [14:05:19]json_value_free done [14:05:19]process_json_proto returns [14:05:19]Send response to host [14:05:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22050,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [14:05:19]free response buf [14:05:19]execute_script done [14:05:19]execute_script returns [14:05:19]free content buf [14:05:19]Sock 8.Close socket [14:05:19]Sock 8.Thread stoped [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:03]OFD Sender: No OFD packet to send [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:25]accept exits with 9 [14:07:25]New connection [14:07:25]New thread 3067321700 created [14:07:25]Thread 3067178340 joined [14:07:25]Waiting for new connection... [14:07:25] Sock 9.Parse request [14:07:25]Sock 9.Check first char [14:07:25]Sock 9.First char is OK [14:07:25]request: POST /json_proto HTTP/1.0 [14:07:25]Method: POST [14:07:25]URL: /json_proto [14:07:25]Method is POST - this is cgi request [14:07:25]url: /json_proto [14:07:25]query_string will be loaded in cgi processing [14:07:25]execute_cgi json_proto POST (null) [14:07:25]execute_cgi path=json_proto method=POST [14:07:25]POST find Content-Length [14:07:25]Host: 172.17.35.133:8080 [14:07:25]Content-Length: 688 [14:07:25]Content-Type: application/json [14:07:25] [14:07:25]POST finish read [14:07:25]Found Content-Length = 688 [14:07:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609647", "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" : 30.520, "sum" : 2200.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2200.00, "total" : 2200.00, "payments": [ { "type": 0, "sum" : 2200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:07:25]execute_script... [14:07: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 : (1)1609647", "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" : 30.520, "sum" : 2200.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2200.00, "total" : 2200.00, "payments": [ { "type": 0, "sum" : 2200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:07:25]POST & json_proto [14:07:25]process_json_proto [14:07:25]json parsed OK: [14:07:25]protocol is kg_v1.0 [14:07:25]action value=close_receipt [14:07:25]process_action close_receipt [14:07:25]cmd_close_receipt [14:07:25]MH_GetDate [14:07:25]Write to MH i2c: F0 00 00 AD 24 C0 [14:07:25]Write i2c OK [14:07:25]MH_I2C_Read... [14:07:25]Read from MH i2c: F0 [14:07:25]MH_I2C_Read... [14:07:25]Read from MH i2c: F0 09 00 [14:07:25]MH_I2C_Read... [14:07:25]Read from MH i2c: F0 09 00 AD 24 00 26 FD 6A 66 8C 55 28 65 2A [14:07:25]GetLastDocTimeStamp 1718287524 [14:07:25]current date 1718287654 [14:07:25]FM_GetShiftState [14:07:25]SAM_PROTO_GetShiftState [14:07:25]wFMCommunicate request_size=4 [14:07:25]MH_SAM_APDU [14:07:25]CAPDU: 80 13 01 00 [14:07:25]Write to MH i2c: E2 08 00 AE 24 80 13 01 00 00 00 00 00 4F [14:07:25]Write i2c OK [14:07:25]MH_I2C_Read... [14:07:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:07:25]Read from MH i2c: E2 [14:07:25]MH_I2C_Read... [14:07:25]Read from MH i2c: E2 0E 00 [14:07:25]MH_I2C_Read... [14:07:25]Read from MH i2c: E2 0E 00 AE 24 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 6D [14:07:25]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:07:25]wFMCommunicate OK [14:07:25]SAM_PROTO_GetShiftState done [14:07:25]FM_GetShiftState done [14:07:25]opened in 1718237959 [14:07:25]opened+sec_in_day 1718324359 [14:07:25]quantity*price = 220049 [14:07:25]sum+1 = 220050 [14:07:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.49 ИТОГО: 2200.00 Внесено: 2200.00 СДАЧА: 0.00 НСП 1% : 19.47 НДС 12% : 233.68 Наличными: 2200.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 31 13.06.2024 14:07 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22051 ФПД: 111740983308496 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T140734&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22051&fm=111740983308496&tin=02508201610067®Number=0000000000099755&sum=220000 [14:07:26]StoreToDocumentArchive [14:07:26]shift 324 fd 22051 [14:07:26]save to /storage/0324/doc_00022051 [14:07:26]save last doc name /storage/0324/doc_00022051 to /storage/kkm_last_doc_name [14:07:26]save OK [14:07:26]Clear old archive folders... [14:07:26]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:07:26]tlvbuf is B6F34550 [14:07:26]SAM_PROTO_ClearQueue [14:07:26]wFMCommunicate request_size=4 [14:07:26]MH_SAM_APDU [14:07:26]CAPDU: 80 09 00 00 [14:07:26]Write to MH i2c: E2 08 00 BB 24 80 09 00 00 00 00 00 00 51 [14:07:26]Write i2c OK [14:07:26]MH_I2C_Read... [14:07:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:07:26]Read from MH i2c: E2 [14:07:26]MH_I2C_Read... [14:07:26]Read from MH i2c: E2 03 00 [14:07:26]MH_I2C_Read... [14:07:26]Read from MH i2c: E2 03 00 BB 24 00 90 00 53 [14:07:26]RAPDU: 90 00 [14:07:26]wFMCommunicate OK [14:07:26]SAM_PROTO_ClearQueue done [14:07:26]KKMCreateOFDPacket [14:07:26]OFDProtocolAddRootSTLVToBuf [14:07:26]FM_MakeSignedData [14:07:26]FM_MakeSignedData [14:07:26]SAM_PROTO_SignData [14:07:26]wFMCommunicate request_size=4 [14:07:26]MH_SAM_APDU [14:07:26]CAPDU: 80 0D 01 02 [14:07:26]Write to MH i2c: E2 08 00 BC 24 80 0D 01 02 00 00 00 00 59 [14:07:26]Write i2c OK [14:07:26]MH_I2C_Read... [14:07:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:07:26]Read from MH i2c: E2 [14:07:26]MH_I2C_Read... [14:07:26]Read from MH i2c: E2 03 00 [14:07:26]MH_I2C_Read... [14:07:26]Read from MH i2c: E2 03 00 BC 24 00 90 00 54 [14:07:26]RAPDU: 90 00 [14:07:26]wFMCommunicate OK [14:07:26]wFMCommunicate request_size=255 [14:07:26]MH_SAM_APDU [14:07:26]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 38 77 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 91 5B 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 5B 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 5B 00 00 00 00 07 04 06 00 60 5B 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 26 FD 6A 66 0E 04 04 00 44 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 23 56 00 00 35 04 06 00 [14:07:26]Write to MH i2c: E2 02 01 BD 24 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 38 77 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 91 5B 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 5B 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 5B 00 00 00 00 07 04 06 00 60 5B 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 26 FD 6A 66 0E 04 04 00 44 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 23 56 00 00 35 04 06 00 00 00 1B [14:07:26]Write i2c OK [14:07:26]MH_I2C_Read... [14:07:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:07:27]Read from MH i2c: E2 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: E2 03 00 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: E2 03 00 BD 24 00 90 00 55 [14:07:27]RAPDU: 90 00 [14:07:27]wFMCommunicate OK [14:07:27]wFMCommunicate request_size=11 [14:07:27]MH_SAM_APDU [14:07:27]CAPDU: 80 0D 02 02 06 65 A0 B9 9D F0 D0 [14:07:27]Write to MH i2c: E2 0E 00 BE 24 80 0D 02 02 06 00 65 A0 B9 9D F0 D0 00 00 83 [14:07:27]Write i2c OK [14:07:27]MH_I2C_Read... [14:07:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:07:27]Read from MH i2c: E2 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: E2 03 00 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: E2 03 00 BE 24 00 90 00 56 [14:07:27]RAPDU: 90 00 [14:07:27]wFMCommunicate OK [14:07:27]wFMCommunicate request_size=4 [14:07:27]MH_SAM_APDU [14:07:27]CAPDU: 80 0D 03 02 [14:07:27]Write to MH i2c: E2 08 00 BF 24 80 0D 03 02 00 00 00 00 5E [14:07:27]Write i2c OK [14:07:27]MH_I2C_Read... [14:07:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:07:27]Read from MH i2c: E2 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: E2 0B 00 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: E2 0B 00 BF 24 00 D5 E3 E5 4C BC 24 A6 62 90 00 30 [14:07:27]RAPDU: D5 E3 E5 4C BC 24 A6 62 90 00 [14:07:27]wFMCommunicate OK [14:07:27]SAM_PROTO_SignData done [14:07:27]FM_MakeSignedData done [14:07:27]CreateOFDProtocolMessage [14:07:27]wFMCommunicate request_size=4 [14:07:27]MH_SAM_APDU [14:07:27]CAPDU: 80 11 00 00 [14:07:27]Write to MH i2c: E2 08 00 C0 24 80 11 00 00 00 00 00 00 5E [14:07:27]Write i2c OK [14:07:27]MH_I2C_Read... [14:07:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:07:27]Read from MH i2c: E2 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: E2 17 00 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: E2 17 00 C0 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B0 [14:07:27]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:27]wFMCommunicate OK [14:07:27]CreateOFDProtocolMessage done [14:07:27]OFDSenderStorePacket 22051 [14:07:27]StoreOFDPacket docnum=22051 [14:07: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 10 01 00 00 20 3A 08 01 5A 6D 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 38 77 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 91 5B 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 5B 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 5B 00 00 00 00 07 04 06 00 60 5B 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 26 FD 6A 66 0E 04 04 00 44 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 23 56 00 00 35 04 06 00 65 A0 B9 9D F0 D0 D5 E3 E5 4C BC 24 A6 62 [14:07:27]CheckFolder [14:07:27]dirname=/storage/ofd_packets [14:07:27]CheckFolder done [14:07:27]ProducePacketName [14:07:27]name=ofd_packets/00022051 [14:07:27]NVStorageSaveData ofd_packets/00022051 [14:07:27]File name is /storage/ofd_packets/00022051 [14:07:27]Write 302 bytes [14:07:27]NVStorageSaveData done [14:07:27]OFDSenderStorePacket done [14:07:27]KKMCreateOFDPacket done [14:07:27]NVStorageSaveData kkm_last_timestamp [14:07:27]File name is /storage/kkm_last_timestamp [14:07:27]Write 4 bytes [14:07:27]NVStorageSaveData done [14:07:27]ExternCall_PrintAddStr [14:07:27]wPrintStart [14:07:27]Write to MH i2c: 01 00 00 C1 24 E5 [14:07:27]Write i2c OK [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: 01 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: 01 07 00 [14:07:27]MH_I2C_Read... [14:07:27]Read from MH i2c: 01 07 00 C1 24 00 00 00 00 00 FF 0F FA [14:07:27]RasterBufferAndPrint [14:07:27]line Счет N : (1)1609647 [14:07:27]line ИНН: 02508201610067 [14:07:27]line Контрольно-Кассовый Чек [14:07:27]line ПРОДАЖА [14:07:27]line ТРК (МРК, ГНК) : 22 [14:07:27]line Товар: 2710194210 [14:07:27]line ДТ(л)-К-4 [14:07:27]line 30.520 * 72.10 [14:07:27]line = 2200.49 [14:07:27]line НДС 12% НСП 1% [14:07:27]line > о реализуемом товаре [14:07:27]line ОКРУГЛЕНИЕ: -0.49 [14:07:27]line ИТОГО: 2200.00 [14:07:27]line Внесено: 2200.00 [14:07:27]line СДАЧА: 0.00 [14:07:27]line НСП 1% : 19.47 [14:07:27]line НДС 12% : 233.68 [14:07:27]line Наличными: 2200.00 [14:07:27]line Безнал.: 0.00 [14:07:27]line Место: АЗС № 76 "Партнер Нефть" [14:07:27]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:07:27]line СНО: Общий режим [14:07:27]line Чек 31 13.06.2024 14:07 [14:07:27]line Смена: 324 ФФД: 1.0 [14:07:27]line ЗНМ: 0300000200 [14:07:27]line РНМ: 0000000000099755 [14:07:27]line Версия ККМ: 001 [14:07:27]line ФМ: 0000000000965344 [14:07:27]line ФД: 22051 [14:07:27]line ФПД: 111740983308496 [14:07:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T140734&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22051&fm=111740983308496&tin=02508201610067®Number=0000000000099755&sum=220000 [14:07:27]OFD Sender: Processing packet 22051 [packets to send 5, broken 4] [14:07:27]ProducePacketName [14:07:27]name=ofd_packets/00022051 [14:07:27]OFD Sender: To server: pG, [14:07:27]CommunicateWithHost lk.salyk.kg:30040 [14:07:27]ConnectInit lk.salyk.kg [14:07:27]written 0, free lines is 4095 [14:07:27]Connected sock=10 [14:07:27]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 20 3A 08 01 5A 6D 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 38 77 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 91 5B 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 5B 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 5B 00 00 00 00 07 04 06 00 60 5B 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 26 FD 6A 66 0E 04 04 00 44 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 23 56 00 00 35 04 06 00 65 A0 B9 9D F0 D0 D5 E3 E5 4C BC 24 A6 62 [14:07:27]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 BA D6 47 00 7E FD 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 23 56 00 00 F4 03 04 00 E9 A5 6A 66 B6 04 01 00 00 A7 4B CB 8D BB 57 76 C1 [14:07:27]CommunicateWithHost err = 0 [14:07:27]CheckOFDResponse [14:07:27]1017 (14) - 77093643461234 [14:07:27]1041 (16) - 0000000000965344 [14:07:27]1040 (4) - 22051 [14:07:27]1012 (4) - 13.06.2024 07:55 [14:07:27]1206 (1) - 0 [14:07:27]OFD Sender: Remove packet 22051 [14:07:27]ProducePacketName [14:07:27]name=ofd_packets/00022051 [14:07:27]NVStorageDeleteData [14:07:28]Write to MH i2c: 01 00 00 EC 24 10 [14:07:28]Write i2c OK [14:07:28]MH_I2C_Read... [14:07:28]Read from MH i2c: 01 [14:07:28]MH_I2C_Read... [14:07:28]Read from MH i2c: 01 07 00 [14:07:28]MH_I2C_Read... [14:07:28]Read from MH i2c: 01 07 00 EC 24 00 00 00 00 00 F8 0C 1B [14:07:28]RasterBufferAndPrint [14:07:28]line [14:07:28]line [14:07:28]line [14:07:28]line [14:07:28]line [14:07:28]written 0, free lines is 3326 [14:07:28]MH_Cut [14:07:28]Write to MH i2c: D1 01 00 F3 24 01 E9 [14:07:28]Write i2c OK [14:07:28]MH_I2C_Read... [14:07:28]Read from MH i2c: D1 [14:07:28]MH_I2C_Read... [14:07:28]Read from MH i2c: D1 01 00 [14:07:28]MH_I2C_Read... [14:07:28]Read from MH i2c: D1 01 00 F3 24 00 E8 [14:07:28]Write to MH i2c: 01 00 00 F4 24 18 [14:07:28]Write i2c OK [14:07:28]MH_I2C_Read... [14:07:28]OFD Sender: No OFD packet to send [14:07:28]*** Cut start [14:07:28]*** Partial cut [14:07:28]*** CUTSNS_PIN = 1 [14:07:28]*** CUTSNS_PIN = 0 [14:07:29]*** Brake cut motor [14:07:29]Read from MH i2c: 01 [14:07:29]MH_I2C_Read... [14:07:29]*** Stop cut motor [14:07:29]*** Cut end [14:07:29]Read from MH i2c: 01 07 00 [14:07:29]MH_I2C_Read... [14:07:29]Read from MH i2c: 01 07 00 F4 24 00 00 00 00 00 FF 0F 2D [14:07:29]process_action close_receipt done [14:07:29]requested_data is exist [14:07:29]produce_requested_data [14:07:29]requested_item fm.sn is exist - process it [14:07:29]wFMCommunicate request_size=4 [14:07:29]MH_SAM_APDU [14:07:29]CAPDU: 80 11 00 00 [14:07:29]Write to MH i2c: E2 08 00 F5 24 80 11 00 00 00 00 00 00 93 [14:07:29]Write i2c OK [14:07:29]MH_I2C_Read... [14:07:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:07:29]Read from MH i2c: E2 [14:07:29]MH_I2C_Read... [14:07:29]Read from MH i2c: E2 17 00 [14:07:29]MH_I2C_Read... [14:07:29]Read from MH i2c: E2 17 00 F5 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E5 [14:07:29]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:29]wFMCommunicate OK [14:07:29]requested_item fd.num is exist - process it [14:07:29]SAM_PROTO_GetFieldsCounters [14:07:29]wFMCommunicate request_size=4 [14:07:29]MH_SAM_APDU [14:07:29]CAPDU: 80 13 00 00 [14:07:29]Write to MH i2c: E2 08 00 F6 24 80 13 00 00 00 00 00 00 96 [14:07:29]Write i2c OK [14:07:29]MH_I2C_Read... [14:07:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:07:29]Read from MH i2c: E2 [14:07:29]MH_I2C_Read... [14:07:29]Read from MH i2c: E2 62 00 [14:07:29]MH_I2C_Read... [14:07:29]Read from MH i2c: E2 62 00 F6 24 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 23 56 00 00 0E 04 04 00 44 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 DB [14:07: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 23 56 00 00 0E 04 04 00 44 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 [14:07:29]wFMCommunicate OK [14:07:29]SAM_PROTO_GetFieldsCounters done [14:07:29]requested_item shift.num is exist - process it [14:07:29]requested_item shift.opened is exist - process it [14:07:29]req_shift_opened [14:07:29]FM_GetShiftState [14:07:29]SAM_PROTO_GetShiftState [14:07:29]wFMCommunicate request_size=4 [14:07:29]MH_SAM_APDU [14:07:29]CAPDU: 80 13 01 00 [14:07:29]Write to MH i2c: E2 08 00 F7 24 80 13 01 00 00 00 00 00 98 [14:07:29]Write i2c OK [14:07:29]MH_I2C_Read... [14:07:29]Read from MH i2c: E2 [14:07:29]MH_I2C_Read... [14:07:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:07:29]Read from MH i2c: E2 0E 00 [14:07:29]MH_I2C_Read... [14:07:29]Read from MH i2c: E2 0E 00 F7 24 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 B6 [14:07:29]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:07:29]wFMCommunicate OK [14:07:29]SAM_PROTO_GetShiftState done [14:07:29]FM_GetShiftState done [14:07:29]req_shift_opened done [14:07:29]requested_item shift.open_date is exist - process it [14:07:29]req_shift_open_date [14:07:29]req_shift_open_date done [14:07:29]produce_requested_data done [14:07:29]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22051,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [14:07:29]process_action_free close_receipt [14:07:29]json_value_free [14:07:29]json_value_free done [14:07:29]process_json_proto returns [14:07:29]Send response to host [14:07:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22051,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [14:07:29]free response buf [14:07:29]execute_script done [14:07:29]execute_script returns [14:07:29]free content buf [14:07:29]Sock 9.Close socket [14:07:29]Sock 9.Thread stoped [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [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:02]accept exits with 8 [14:08:02]New connection [14:08:02]New thread 3067178340 created [14:08:02]Thread 3067321700 joined [14:08:02]Waiting for new connection... [14:08:02] Sock 8.Parse request [14:08:02]Sock 8.Check first char [14:08:02]Sock 8.First char is OK [14:08:02]request: POST /json_proto HTTP/1.0 [14:08:02]Method: POST [14:08:02]URL: /json_proto [14:08:02]Method is POST - this is cgi request [14:08:02]url: /json_proto [14:08:02]query_string will be loaded in cgi processing [14:08:02]execute_cgi json_proto POST (null) [14:08:02]execute_cgi path=json_proto method=POST [14:08:02]POST find Content-Length [14:08:02]Host: 172.17.35.133:8080 [14:08:02]Content-Length: 986 [14:08:02]Content-Type: application/json [14:08:02] [14:08:02]POST finish read [14:08:02]Found Content-Length = 986 [14:08:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609644", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 71.10, "quantity" : 84.390, "sum" : 6000.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 76\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 84.39 \u0441\u043E\u043C", "deposit" : 6000.00, "total" : 6000.00, "payments": [ { "type": 0, "sum" : 6000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:08:02]execute_script... [14:08: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 : (1)1609644", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 71.10, "quantity" : 84.390, "sum" : 6000.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 76\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 84.39 \u0441\u043E\u043C", "deposit" : 6000.00, "total" : 6000.00, "payments": [ { "type": 0, "sum" : 6000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:08:02]POST & json_proto [14:08:02]process_json_proto [14:08:02]json parsed OK: [14:08:02]protocol is kg_v1.0 [14:08:02]action value=close_receipt [14:08:02]process_action close_receipt [14:08:02]cmd_close_receipt [14:08:02]MH_GetDate [14:08:02]Write to MH i2c: F0 00 00 F8 24 0B [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: F0 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: F0 09 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: F0 09 00 F8 24 00 4B FD 6A 66 8C 55 28 65 9A [14:08:02]GetLastDocTimeStamp 1718287654 [14:08:02]current date 1718287691 [14:08:02]FM_GetShiftState [14:08:02]SAM_PROTO_GetShiftState [14:08:02]wFMCommunicate request_size=4 [14:08:02]MH_SAM_APDU [14:08:02]CAPDU: 80 13 01 00 [14:08:02]Write to MH i2c: E2 08 00 F9 24 80 13 01 00 00 00 00 00 9A [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:08:02]Read from MH i2c: E2 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 0E 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 0E 00 F9 24 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 B8 [14:08:02]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:08:02]wFMCommunicate OK [14:08:02]SAM_PROTO_GetShiftState done [14:08:02]FM_GetShiftState done [14:08:02]opened in 1718237959 [14:08:02]opened+sec_in_day 1718324359 [14:08:02]quantity*price = 600012 [14:08:02]sum+1 = 600014 [14:08:02]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.13 ИТОГО: 6000.00 Внесено: 6000.00 СДАЧА: 0.00 НСП 1% : 53.10 НДС 12% : 637.18 Наличными: 6000.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 32 13.06.2024 14:08 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Дисконтная программа ДТ номер 76 сэкономлено 84.39 сом ФМ: 0000000000965344 ФД: 22052 ФПД: 100563054821216 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T140811&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22052&fm=100563054821216&tin=02508201610067®Number=0000000000099755&sum=600000 [14:08:03]StoreToDocumentArchive [14:08:03]shift 324 fd 22052 [14:08:03]save to /storage/0324/doc_00022052 [14:08:03]save last doc name /storage/0324/doc_00022052 to /storage/kkm_last_doc_name [14:08:03]save OK [14:08:03]Clear old archive folders... [14:08:03]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:08:03]tlvbuf is B6F1B490 [14:08:03]SAM_PROTO_ClearQueue [14:08:03]wFMCommunicate request_size=4 [14:08:03]MH_SAM_APDU [14:08:03]CAPDU: 80 09 00 00 [14:08:03]Write to MH i2c: E2 08 00 06 25 80 09 00 00 00 00 00 00 9D [14:08:03]Write i2c OK [14:08:03]MH_I2C_Read... [14:08:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:08:03]Read from MH i2c: E2 [14:08:03]MH_I2C_Read... [14:08:03]Read from MH i2c: E2 03 00 [14:08:03]MH_I2C_Read... [14:08:03]Read from MH i2c: E2 03 00 06 25 00 90 00 9F [14:08:03]RAPDU: 90 00 [14:08:03]wFMCommunicate OK [14:08:03]SAM_PROTO_ClearQueue done [14:08:03]KKMCreateOFDPacket [14:08:03]OFDProtocolAddRootSTLVToBuf [14:08:03]FM_MakeSignedData [14:08:03]FM_MakeSignedData [14:08:03]SAM_PROTO_SignData [14:08:03]wFMCommunicate request_size=4 [14:08:03]MH_SAM_APDU [14:08:03]CAPDU: 80 0D 01 02 [14:08:03]Write to MH i2c: E2 08 00 07 25 80 0D 01 02 00 00 00 00 A5 [14:08:03]Write i2c OK [14:08:03]MH_I2C_Read... [14:08:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:08:04]Read from MH i2c: E2 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 03 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 03 00 07 25 00 90 00 A0 [14:08:04]RAPDU: 90 00 [14:08:04]wFMCommunicate OK [14:08:04]wFMCommunicate request_size=255 [14:08:04]MH_SAM_APDU [14:08:04]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 A6 49 01 00 00 00 00 37 04 06 00 C6 1B 00 00 00 00 13 04 06 00 CD 27 09 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 27 09 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 14 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 F8 00 00 00 00 07 04 06 00 C0 27 09 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 4B FD 6A 66 0E 04 04 00 44 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 24 56 00 00 35 04 06 00 [14:08:04]Write to MH i2c: E2 02 01 08 25 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 A6 49 01 00 00 00 00 37 04 06 00 C6 1B 00 00 00 00 13 04 06 00 CD 27 09 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 27 09 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 14 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 F8 00 00 00 00 07 04 06 00 C0 27 09 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 4B FD 6A 66 0E 04 04 00 44 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 24 56 00 00 35 04 06 00 00 00 47 [14:08:04]Write i2c OK [14:08:04]MH_I2C_Read... [14:08:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:08:04]Read from MH i2c: E2 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 03 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 03 00 08 25 00 90 00 A1 [14:08:04]RAPDU: 90 00 [14:08:04]wFMCommunicate OK [14:08:04]wFMCommunicate request_size=11 [14:08:04]MH_SAM_APDU [14:08:04]CAPDU: 80 0D 02 02 06 5B 76 29 28 FF 60 [14:08:04]Write to MH i2c: E2 0E 00 09 25 80 0D 02 02 06 00 5B 76 29 28 FF 60 00 00 35 [14:08:04]Write i2c OK [14:08:04]MH_I2C_Read... [14:08:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:08:04]Read from MH i2c: E2 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 03 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 03 00 09 25 00 90 00 A2 [14:08:04]RAPDU: 90 00 [14:08:04]wFMCommunicate OK [14:08:04]wFMCommunicate request_size=4 [14:08:04]MH_SAM_APDU [14:08:04]CAPDU: 80 0D 03 02 [14:08:04]Write to MH i2c: E2 08 00 0A 25 80 0D 03 02 00 00 00 00 AA [14:08:04]Write i2c OK [14:08:04]MH_I2C_Read... [14:08:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:08:04]Read from MH i2c: E2 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 0B 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 0B 00 0A 25 00 BA 12 50 FB 68 5C 62 AD 90 00 95 [14:08:04]RAPDU: BA 12 50 FB 68 5C 62 AD 90 00 [14:08:04]wFMCommunicate OK [14:08:04]SAM_PROTO_SignData done [14:08:04]FM_MakeSignedData done [14:08:04]CreateOFDProtocolMessage [14:08:04]wFMCommunicate request_size=4 [14:08:04]MH_SAM_APDU [14:08:04]CAPDU: 80 11 00 00 [14:08:04]Write to MH i2c: E2 08 00 0B 25 80 11 00 00 00 00 00 00 AA [14:08:04]Write i2c OK [14:08:04]MH_I2C_Read... [14:08:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:08:04]Read from MH i2c: E2 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 17 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 17 00 0B 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FC [14:08:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:08:04]wFMCommunicate OK [14:08:04]CreateOFDProtocolMessage done [14:08:04]OFDSenderStorePacket 22052 [14:08:04]StoreOFDPacket docnum=22052 [14:08: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 10 01 00 00 18 FB 08 01 31 8E 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 A6 49 01 00 00 00 00 37 04 06 00 C6 1B 00 00 00 00 13 04 06 00 CD 27 09 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 27 09 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 14 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 F8 00 00 00 00 07 04 06 00 C0 27 09 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 4B FD 6A 66 0E 04 04 00 44 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 24 56 00 00 35 04 06 00 5B 76 29 28 FF 60 BA 12 50 FB 68 5C 62 AD [14:08:04]CheckFolder [14:08:04]dirname=/storage/ofd_packets [14:08:04]CheckFolder done [14:08:04]ProducePacketName [14:08:04]name=ofd_packets/00022052 [14:08:04]NVStorageSaveData ofd_packets/00022052 [14:08:04]File name is /storage/ofd_packets/00022052 [14:08:04]Write 302 bytes [14:08:04]NVStorageSaveData done [14:08:04]OFDSenderStorePacket done [14:08:04]KKMCreateOFDPacket done [14:08:04]NVStorageSaveData kkm_last_timestamp [14:08:04]File name is /storage/kkm_last_timestamp [14:08:04]Write 4 bytes [14:08:04]NVStorageSaveData done [14:08:04]ExternCall_PrintAddStr [14:08:04]wPrintStart [14:08:04]Write to MH i2c: 01 00 00 0C 25 31 [14:08:04]Write i2c OK [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: 01 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: 01 07 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: 01 07 00 0C 25 00 00 00 00 00 FF 0F 46 [14:08:04]RasterBufferAndPrint [14:08:04]line Счет N : (1)1609644 [14:08:04]line ИНН: 02508201610067 [14:08:04]line Контрольно-Кассовый Чек [14:08:04]line ПРОДАЖА [14:08:04]line ТРК (МРК, ГНК) : 12 [14:08:04]line Товар: 2710194210 [14:08:04]line ДТ(л)-К-4 [14:08:04]line 84.390 * 71.10 [14:08:04]line = 6000.13 [14:08:04]line НДС 12% НСП 1% [14:08:04]line > о реализуемом товаре [14:08:04]line ОКРУГЛЕНИЕ: -0.13 [14:08:04]line ИТОГО: 6000.00 [14:08:04]line Внесено: 6000.00 [14:08:04]line СДАЧА: 0.00 [14:08:04]line НСП 1% : 53.10 [14:08:04]line НДС 12% : 637.18 [14:08:04]line Наличными: 6000.00 [14:08:04]line Безнал.: 0.00 [14:08:04]line Место: АЗС № 76 "Партнер Нефть" [14:08:04]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:08:04]line СНО: Общий режим [14:08:04]line Чек 32 13.06.2024 14:08 [14:08:04]line Смена: 324 ФФД: 1.0 [14:08:04]line ЗНМ: 0300000200 [14:08:04]line РНМ: 0000000000099755 [14:08:04]line Версия ККМ: 001 [14:08:04]line [14:08:04]line Дисконтная программа [14:08:04]line ДТ [14:08:04]line номер 76 [14:08:04]line сэкономлено 84.39 сом [14:08:04]line ФМ: 0000000000965344 [14:08:04]line ФД: 22052 [14:08:04]line ФПД: 100563054821216 [14:08:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T140811&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22052&fm=100563054821216&tin=02508201610067®Number=0000000000099755&sum=600000 [14:08:04]OFD Sender: Processing packet 22052 [packets to send 5, broken 4] [14:08:04]ProducePacketName [14:08:04]name=ofd_packets/00022052 [14:08:04]OFD Sender: To server: pG, [14:08:04]CommunicateWithHost lk.salyk.kg:30040 [14:08:04]ConnectInit lk.salyk.kg [14:08:04]written 0, free lines is 4095 [14:08:04]Connected sock=9 [14:08: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 10 01 00 00 18 FB 08 01 31 8E 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 A6 49 01 00 00 00 00 37 04 06 00 C6 1B 00 00 00 00 13 04 06 00 CD 27 09 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 27 09 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 14 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 F8 00 00 00 00 07 04 06 00 C0 27 09 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 4B FD 6A 66 0E 04 04 00 44 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 24 56 00 00 35 04 06 00 5B 76 29 28 FF 60 BA 12 50 FB 68 5C 62 AD [14:08: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 E4 6C 47 00 74 7D 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 24 56 00 00 F4 03 04 00 0E A6 6A 66 B6 04 01 00 00 36 B7 A8 ED 45 D8 74 80 [14:08:05]CommunicateWithHost err = 0 [14:08:05]CheckOFDResponse [14:08:05]1017 (14) - 77093643461234 [14:08:05]1041 (16) - 0000000000965344 [14:08:05]1040 (4) - 22052 [14:08:05]1012 (4) - 13.06.2024 07:55 [14:08:05]1206 (1) - 0 [14:08:05]OFD Sender: Remove packet 22052 [14:08:05]ProducePacketName [14:08:05]name=ofd_packets/00022052 [14:08:05]NVStorageDeleteData [14:08:05]Write to MH i2c: 01 00 00 3C 25 61 [14:08:05]Write i2c OK [14:08:05]MH_I2C_Read... [14:08:05]Read from MH i2c: 01 [14:08:05]MH_I2C_Read... [14:08:05]Read from MH i2c: 01 07 00 [14:08:05]MH_I2C_Read... [14:08:05]Read from MH i2c: 01 07 00 3C 25 00 00 00 00 00 A3 0C 17 [14:08:05]RasterBufferAndPrint [14:08:05]line [14:08:05]line [14:08:05]line [14:08:05]line [14:08:05]line [14:08:05]written 0, free lines is 3242 [14:08:05]MH_Cut [14:08:05]Write to MH i2c: D1 01 00 43 25 01 3A [14:08:05]Write i2c OK [14:08:05]MH_I2C_Read... [14:08:05]Read from MH i2c: D1 [14:08:05]MH_I2C_Read... [14:08:05]Read from MH i2c: D1 01 00 [14:08:05]MH_I2C_Read... [14:08:05]Read from MH i2c: D1 01 00 43 25 00 39 [14:08:05]Write to MH i2c: 01 00 00 44 25 69 [14:08:05]Write i2c OK [14:08:05]MH_I2C_Read... [14:08:05]OFD Sender: No OFD packet to send [14:08:06]*** Cut start [14:08:06]*** Partial cut [14:08:06]*** CUTSNS_PIN = 1 [14:08:06]*** CUTSNS_PIN = 0 [14:08:06]*** Brake cut motor [14:08:06]Read from MH i2c: 01 [14:08:06]MH_I2C_Read... [14:08:06]*** Stop cut motor [14:08:06]*** Cut end [14:08:06]Read from MH i2c: 01 07 00 [14:08:06]MH_I2C_Read... [14:08:06]Read from MH i2c: 01 07 00 44 25 00 00 00 00 00 FF 0F 7E [14:08:06]process_action close_receipt done [14:08:06]requested_data is exist [14:08:06]produce_requested_data [14:08:06]requested_item fm.sn is exist - process it [14:08:06]wFMCommunicate request_size=4 [14:08:06]MH_SAM_APDU [14:08:06]CAPDU: 80 11 00 00 [14:08:06]Write to MH i2c: E2 08 00 45 25 80 11 00 00 00 00 00 00 E4 [14:08:06]Write i2c OK [14:08:06]MH_I2C_Read... [14:08:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:08:06]Read from MH i2c: E2 [14:08:06]MH_I2C_Read... [14:08:06]Read from MH i2c: E2 17 00 [14:08:06]MH_I2C_Read... [14:08:06]Read from MH i2c: E2 17 00 45 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 36 [14:08:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:08:06]wFMCommunicate OK [14:08:06]requested_item fd.num is exist - process it [14:08:06]SAM_PROTO_GetFieldsCounters [14:08:06]wFMCommunicate request_size=4 [14:08:06]MH_SAM_APDU [14:08:06]CAPDU: 80 13 00 00 [14:08:06]Write to MH i2c: E2 08 00 46 25 80 13 00 00 00 00 00 00 E7 [14:08:06]Write i2c OK [14:08:06]MH_I2C_Read... [14:08:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:08:06]Read from MH i2c: E2 [14:08:06]MH_I2C_Read... [14:08:06]Read from MH i2c: E2 62 00 [14:08:06]MH_I2C_Read... [14:08:06]Read from MH i2c: E2 62 00 46 25 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 24 56 00 00 0E 04 04 00 44 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 30 [14:08: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 24 56 00 00 0E 04 04 00 44 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 [14:08:06]wFMCommunicate OK [14:08:06]SAM_PROTO_GetFieldsCounters done [14:08:06]requested_item shift.num is exist - process it [14:08:06]requested_item shift.opened is exist - process it [14:08:06]req_shift_opened [14:08:06]FM_GetShiftState [14:08:06]SAM_PROTO_GetShiftState [14:08:06]wFMCommunicate request_size=4 [14:08:06]MH_SAM_APDU [14:08:06]CAPDU: 80 13 01 00 [14:08:06]Write to MH i2c: E2 08 00 47 25 80 13 01 00 00 00 00 00 E9 [14:08:06]Write i2c OK [14:08:06]MH_I2C_Read... [14:08:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:08:06]Read from MH i2c: E2 [14:08:06]MH_I2C_Read... [14:08:06]Read from MH i2c: E2 0E 00 [14:08:06]MH_I2C_Read... [14:08:06]Read from MH i2c: E2 0E 00 47 25 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 07 [14:08:06]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:08:06]wFMCommunicate OK [14:08:06]SAM_PROTO_GetShiftState done [14:08:06]FM_GetShiftState done [14:08:06]req_shift_opened done [14:08:06]requested_item shift.open_date is exist - process it [14:08:06]req_shift_open_date [14:08:06]req_shift_open_date done [14:08:06]produce_requested_data done [14:08:06]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22052,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [14:08:06]process_action_free close_receipt [14:08:06]json_value_free [14:08:06]json_value_free done [14:08:06]process_json_proto returns [14:08:06]Send response to host [14:08:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22052,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [14:08:06]free response buf [14:08:06]execute_script done [14:08:06]execute_script returns [14:08:06]free content buf [14:08:06]Sock 8.Close socket [14:08:06]Sock 8.Thread stoped [14:08:10]OFD Sender: No OFD packet to send [14:08:15]OFD Sender: No OFD packet to send [14:08:20]OFD Sender: No OFD packet to send [14:08:25]OFD Sender: No OFD packet to send [14:08:30]OFD Sender: No OFD packet to send [14:08:35]OFD Sender: No OFD packet to send [14:08:40]OFD Sender: No OFD packet to send [14:08:45]OFD Sender: No OFD packet to send [14:08:50]OFD Sender: No OFD packet to send [14:08:55]OFD Sender: No OFD packet to send [14:09:00]OFD Sender: No OFD packet to send [14:09:05]OFD Sender: No OFD packet to send [14:09:10]OFD Sender: No OFD packet to send [14:09:15]OFD Sender: No OFD packet to send [14:09:20]OFD Sender: No OFD packet to send [14:09:25]OFD Sender: No OFD packet to send [14:09:30]OFD Sender: No OFD packet to send [14:09:35]OFD Sender: No OFD packet to send [14:09:40]OFD Sender: No OFD packet to send [14:09:45]OFD Sender: No OFD packet to send [14:09:50]OFD Sender: No OFD packet to send [14:09:55]OFD Sender: No OFD packet to send [14:10:00]OFD Sender: No OFD packet to send [14:10:05]OFD Sender: No OFD packet to send [14:10:10]OFD Sender: No OFD packet to send [14:10:15]OFD Sender: No OFD packet to send [14:10:20]OFD Sender: No OFD packet to send [14:10:25]OFD Sender: No OFD packet to send [14:10:30]OFD Sender: No OFD packet to send [14:10:35]OFD Sender: No OFD packet to send [14:10:40]OFD Sender: No OFD packet to send [14:10:45]OFD Sender: No OFD packet to send [14:10:50]OFD Sender: No OFD packet to send [14:10:55]OFD Sender: No OFD packet to send [14:11:00]OFD Sender: No OFD packet to send [14:11:05]OFD Sender: No OFD packet to send [14:11:10]OFD Sender: No OFD packet to send [14:11:15]OFD Sender: No OFD packet to send [14:11:20]OFD Sender: No OFD packet to send [14:11:25]OFD Sender: No OFD packet to send [14:11:30]OFD Sender: No OFD packet to send [14:11:35]OFD Sender: No OFD packet to send [14:11:40]OFD Sender: No OFD packet to send [14:11:45]OFD Sender: No OFD packet to send [14:11:50]OFD Sender: No OFD packet to send [14:11:55]OFD Sender: No OFD packet to send [14:12:00]OFD Sender: No OFD packet to send [14:12:05]OFD Sender: No OFD packet to send [14:12:10]OFD Sender: No OFD packet to send [14:12:15]OFD Sender: No OFD packet to send [14:12:20]OFD Sender: No OFD packet to send [14:12:25]OFD Sender: No OFD packet to send [14:12:30]OFD Sender: No OFD packet to send [14:12:35]OFD Sender: No OFD packet to send [14:12:40]OFD Sender: No OFD packet to send [14:12:45]OFD Sender: No OFD packet to send [14:12:50]OFD Sender: No OFD packet to send [14:12:55]OFD Sender: No OFD packet to send [14:13:00]OFD Sender: No OFD packet to send [14:13:05]OFD Sender: No OFD packet to send [14:13:10]OFD Sender: No OFD packet to send [14:13:15]OFD Sender: No OFD packet to send [14:13:20]OFD Sender: No OFD packet to send [14:13:25]OFD Sender: No OFD packet to send [14:13:30]OFD Sender: No OFD packet to send [14:13:35]OFD Sender: No OFD packet to send [14:13:40]OFD Sender: No OFD packet to send [14:13:45]OFD Sender: No OFD packet to send [14:13:50]OFD Sender: No OFD packet to send [14:13:55]OFD Sender: No OFD packet to send [14:14:00]OFD Sender: No OFD packet to send [14:14:05]OFD Sender: No OFD packet to send [14:14:10]OFD Sender: No OFD packet to send [14:14:15]OFD Sender: No OFD packet to send [14:14:20]OFD Sender: No OFD packet to send [14:14:25]OFD Sender: No OFD packet to send [14:14:30]OFD Sender: No OFD packet to send [14:14:35]OFD Sender: No OFD packet to send [14:14:40]OFD Sender: No OFD packet to send [14:14:45]OFD Sender: No OFD packet to send [14:14:47]accept exits with 10 [14:14:47]New connection [14:14:47]New thread 3067321700 created [14:14:47]Thread 3067178340 joined [14:14:47]Waiting for new connection... [14:14:47] Sock 10.Parse request [14:14:47]Sock 10.Check first char [14:14:47]Sock 10.First char is OK [14:14:47]request: POST /json_proto HTTP/1.0 [14:14:47]Method: POST [14:14:47]URL: /json_proto [14:14:47]Method is POST - this is cgi request [14:14:47]url: /json_proto [14:14:47]query_string will be loaded in cgi processing [14:14:47]execute_cgi json_proto POST (null) [14:14:47]execute_cgi path=json_proto method=POST [14:14:47]POST find Content-Length [14:14:47]Host: 172.17.35.133:8080 [14:14:47]Content-Length: 844 [14:14:47]Content-Type: application/json [14:14:47] [14:14:47]POST finish read [14:14:47]Found Content-Length = 844 [14:14:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609649", "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" : 42.350, "sum" : 2786.63, "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" : 2786.63 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:47]execute_script... [14:14: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 : (1)1609649", "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" : 42.350, "sum" : 2786.63, "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" : 2786.63 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:47]POST & json_proto [14:14:47]process_json_proto [14:14:47]json parsed OK: [14:14:47]protocol is kg_v1.0 [14:14:47]action value=close_receipt [14:14:47]process_action close_receipt [14:14:47]cmd_close_receipt [14:14:47]MH_GetDate [14:14:47]Write to MH i2c: F0 00 00 48 25 5C [14:14:47]Write i2c OK [14:14:47]MH_I2C_Read... [14:14:47]Read from MH i2c: F0 [14:14:47]MH_I2C_Read... [14:14:47]Read from MH i2c: F0 09 00 [14:14:47]MH_I2C_Read... [14:14:47]Read from MH i2c: F0 09 00 48 25 00 E0 FE 6A 66 8C 55 28 65 81 [14:14:47]GetLastDocTimeStamp 1718287691 [14:14:47]current date 1718288096 [14:14:47]FM_GetShiftState [14:14:47]SAM_PROTO_GetShiftState [14:14:47]wFMCommunicate request_size=4 [14:14:47]MH_SAM_APDU [14:14:47]CAPDU: 80 13 01 00 [14:14:47]Write to MH i2c: E2 08 00 49 25 80 13 01 00 00 00 00 00 EB [14:14:47]Write i2c OK [14:14:47]MH_I2C_Read... [14:14:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:47]Read from MH i2c: E2 [14:14:47]MH_I2C_Read... [14:14:47]Read from MH i2c: E2 0E 00 [14:14:47]MH_I2C_Read... [14:14:47]Read from MH i2c: E2 0E 00 49 25 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 09 [14:14:47]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:14:47]wFMCommunicate OK [14:14:47]SAM_PROTO_GetShiftState done [14:14:47]FM_GetShiftState done [14:14:47]opened in 1718237959 [14:14:47]opened+sec_in_day 1718324359 [14:14:47]quantity*price = 278663 [14:14:47]sum+1 = 278664 [14:14:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2786.63 НСП 1% : 24.66 НДС 12% : 295.92 Наличными: 0.00 Безнал.: 2786.63 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 33 13.06.2024 14:14 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22053 ФПД: 276270528345788 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T141456&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22053&fm=276270528345788&tin=02508201610067®Number=0000000000099755&sum=278663 [14:14:48]StoreToDocumentArchive [14:14:48]shift 324 fd 22053 [14:14:48]save to /storage/0324/doc_00022053 [14:14:48]save last doc name /storage/0324/doc_00022053 to /storage/kkm_last_doc_name [14:14:48]save OK [14:14:48]Clear old archive folders... [14:14:48]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:14:48]tlvbuf is 0028AAE0 [14:14:48]SAM_PROTO_ClearQueue [14:14:48]wFMCommunicate request_size=4 [14:14:48]MH_SAM_APDU [14:14:48]CAPDU: 80 09 00 00 [14:14:48]Write to MH i2c: E2 08 00 56 25 80 09 00 00 00 00 00 00 ED [14:14:48]Write i2c OK [14:14:48]MH_I2C_Read... [14:14:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:14:48]Read from MH i2c: E2 [14:14:48]MH_I2C_Read... [14:14:48]Read from MH i2c: E2 03 00 [14:14:48]MH_I2C_Read... [14:14:48]Read from MH i2c: E2 03 00 56 25 00 90 00 EF [14:14:48]RAPDU: 90 00 [14:14:48]wFMCommunicate OK [14:14:48]SAM_PROTO_ClearQueue done [14:14:48]KKMCreateOFDPacket [14:14:48]OFDProtocolAddRootSTLVToBuf [14:14:48]FM_MakeSignedData [14:14:48]FM_MakeSignedData [14:14:48]SAM_PROTO_SignData [14:14:48]wFMCommunicate request_size=4 [14:14:48]MH_SAM_APDU [14:14:48]CAPDU: 80 0D 01 02 [14:14:48]Write to MH i2c: E2 08 00 57 25 80 0D 01 02 00 00 00 00 F5 [14:14:48]Write i2c OK [14:14:48]MH_I2C_Read... [14:14:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:14:48]Read from MH i2c: E2 [14:14:48]MH_I2C_Read... [14:14:48]Read from MH i2c: E2 03 00 [14:14:48]MH_I2C_Read... [14:14:48]Read from MH i2c: E2 03 00 57 25 00 90 00 F0 [14:14:48]RAPDU: 90 00 [14:14:48]wFMCommunicate OK [14:14:48]wFMCommunicate request_size=255 [14:14:48]MH_SAM_APDU [14:14:48]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 6E A5 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 87 40 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 87 40 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 73 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 87 40 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E0 FE 6A 66 0E 04 04 00 44 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 25 56 00 00 35 04 06 00 FB [14:14:48]Write to MH i2c: E2 02 01 58 25 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 6E A5 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 87 40 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 87 40 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 73 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 87 40 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E0 FE 6A 66 0E 04 04 00 44 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 25 56 00 00 35 04 06 00 FB 00 00 89 [14:14:48]Write i2c OK [14:14:48]MH_I2C_Read... [14:14:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:49]Read from MH i2c: E2 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: E2 03 00 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: E2 03 00 58 25 00 90 00 F1 [14:14:49]RAPDU: 90 00 [14:14:49]wFMCommunicate OK [14:14:49]wFMCommunicate request_size=10 [14:14:49]MH_SAM_APDU [14:14:49]CAPDU: 80 0D 02 02 05 44 3E B4 36 BC [14:14:49]Write to MH i2c: E2 0D 00 59 25 80 0D 02 02 05 00 44 3E B4 36 BC 00 00 2A [14:14:49]Write i2c OK [14:14:49]MH_I2C_Read... [14:14:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:49]Read from MH i2c: E2 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: E2 03 00 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: E2 03 00 59 25 00 90 00 F2 [14:14:49]RAPDU: 90 00 [14:14:49]wFMCommunicate OK [14:14:49]wFMCommunicate request_size=4 [14:14:49]MH_SAM_APDU [14:14:49]CAPDU: 80 0D 03 02 [14:14:49]Write to MH i2c: E2 08 00 5A 25 80 0D 03 02 00 00 00 00 FA [14:14:49]Write i2c OK [14:14:49]MH_I2C_Read... [14:14:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:14:49]Read from MH i2c: E2 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: E2 0B 00 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: E2 0B 00 5A 25 00 9D FA 14 65 69 09 6E 10 90 00 FB [14:14:49]RAPDU: 9D FA 14 65 69 09 6E 10 90 00 [14:14:49]wFMCommunicate OK [14:14:49]SAM_PROTO_SignData done [14:14:49]FM_MakeSignedData done [14:14:49]CreateOFDProtocolMessage [14:14:49]wFMCommunicate request_size=4 [14:14:49]MH_SAM_APDU [14:14:49]CAPDU: 80 11 00 00 [14:14:49]Write to MH i2c: E2 08 00 5B 25 80 11 00 00 00 00 00 00 FA [14:14:49]Write i2c OK [14:14:49]MH_I2C_Read... [14:14:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:49]Read from MH i2c: E2 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: E2 17 00 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: E2 17 00 5B 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4C [14:14:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:14:49]wFMCommunicate OK [14:14:49]CreateOFDProtocolMessage done [14:14:49]OFDSenderStorePacket 22053 [14:14:49]StoreOFDPacket docnum=22053 [14:14: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 0F 01 00 00 43 97 07 01 6D 04 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 6E A5 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 87 40 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 87 40 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 73 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 87 40 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E0 FE 6A 66 0E 04 04 00 44 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 25 56 00 00 35 04 06 00 FB 44 3E B4 36 BC 9D FA 14 65 69 09 6E 10 [14:14:49]CheckFolder [14:14:49]dirname=/storage/ofd_packets [14:14:49]CheckFolder done [14:14:49]ProducePacketName [14:14:49]name=ofd_packets/00022053 [14:14:49]NVStorageSaveData ofd_packets/00022053 [14:14:49]File name is /storage/ofd_packets/00022053 [14:14:49]Write 301 bytes [14:14:49]NVStorageSaveData done [14:14:49]OFDSenderStorePacket done [14:14:49]KKMCreateOFDPacket done [14:14:49]NVStorageSaveData kkm_last_timestamp [14:14:49]File name is /storage/kkm_last_timestamp [14:14:49]Write 4 bytes [14:14:49]NVStorageSaveData done [14:14:49]ExternCall_PrintAddStr [14:14:49]wPrintStart [14:14:49]Write to MH i2c: 01 00 00 5C 25 81 [14:14:49]Write i2c OK [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: 01 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: 01 07 00 [14:14:49]MH_I2C_Read... [14:14:49]Read from MH i2c: 01 07 00 5C 25 00 00 00 00 00 FF 0F 96 [14:14:49]RasterBufferAndPrint [14:14:49]line Счет N : (1)1609649 [14:14:49]line ИНН: 02508201610067 [14:14:49]line Контрольно-Кассовый Чек [14:14:49]line ПРОДАЖА [14:14:49]line ТРК (МРК, ГНК) : 43 [14:14:49]line Товар: 2710124130 [14:14:49]line Аи-92-К-5 [14:14:49]line 42.350 * 65.80 [14:14:49]line = 2786.63 [14:14:49]line НДС 12% НСП 1% [14:14:49]line > о реализуемом товаре [14:14:49]line ИТОГО: 2786.63 [14:14:49]line НСП 1% : 24.66 [14:14:49]line НДС 12% : 295.92 [14:14:49]line Наличными: 0.00 [14:14:49]line Безнал.: 2786.63 [14:14:49]line Место: АЗС № 76 "Партнер Нефть" [14:14:49]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:14:49]line СНО: Общий режим [14:14:49]line Чек 33 13.06.2024 14:14 [14:14:49]line Смена: 324 ФФД: 1.0 [14:14:49]line ЗНМ: 0300000200 [14:14:49]line РНМ: 0000000000099755 [14:14:49]line Версия ККМ: 001 [14:14:49]line Платежная система: АКБ Кыргызстан [14:14:49]line ФМ: 0000000000965344 [14:14:49]line ФД: 22053 [14:14:49]line ФПД: 276270528345788 [14:14:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T141456&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22053&fm=276270528345788&tin=02508201610067®Number=0000000000099755&sum=278663 [14:14:49]OFD Sender: Processing packet 22053 [packets to send 5, broken 4] [14:14:49]ProducePacketName [14:14:49]name=ofd_packets/00022053 [14:14:49]OFD Sender: To server: pG, [14:14:49]CommunicateWithHost lk.salyk.kg:30040 [14:14:49]ConnectInit lk.salyk.kg [14:14:49]written 0, free lines is 4095 [14:14:49]Connected sock=9 [14:14: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 0F 01 00 00 43 97 07 01 6D 04 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 6E A5 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 87 40 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 87 40 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 73 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 87 40 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E0 FE 6A 66 0E 04 04 00 44 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 25 56 00 00 35 04 06 00 FB 44 3E B4 36 BC 9D FA 14 65 69 09 6E 10 [14:14:49]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 B0 F1 47 00 54 D3 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 25 56 00 00 F4 03 04 00 A3 A7 6A 66 B6 04 01 00 00 A4 85 67 6B DB 1A 74 AB [14:14:49]CommunicateWithHost err = 0 [14:14:49]CheckOFDResponse [14:14:49]1017 (14) - 77093643461234 [14:14:49]1041 (16) - 0000000000965344 [14:14:49]1040 (4) - 22053 [14:14:49]1012 (4) - 13.06.2024 08:02 [14:14:49]1206 (1) - 0 [14:14:49]OFD Sender: Remove packet 22053 [14:14:49]ProducePacketName [14:14:49]name=ofd_packets/00022053 [14:14:49]NVStorageDeleteData [14:14:50]Write to MH i2c: 01 00 00 86 25 AB [14:14:50]Write i2c OK [14:14:50]MH_I2C_Read... [14:14:50]Read from MH i2c: 01 [14:14:50]MH_I2C_Read... [14:14:50]Read from MH i2c: 01 07 00 [14:14:50]MH_I2C_Read... [14:14:50]Read from MH i2c: 01 07 00 86 25 00 00 00 00 00 0B 0D CA [14:14:50]RasterBufferAndPrint [14:14:50]line [14:14:50]line [14:14:50]line [14:14:50]line [14:14:50]line [14:14:50]written 0, free lines is 3348 [14:14:50]MH_Cut [14:14:50]Write to MH i2c: D1 01 00 8D 25 01 84 [14:14:50]Write i2c OK [14:14:50]MH_I2C_Read... [14:14:50]Read from MH i2c: D1 [14:14:50]MH_I2C_Read... [14:14:50]Read from MH i2c: D1 01 00 [14:14:50]MH_I2C_Read... [14:14:50]Read from MH i2c: D1 01 00 8D 25 00 83 [14:14:50]Write to MH i2c: 01 00 00 8E 25 B3 [14:14:50]Write i2c OK [14:14:50]MH_I2C_Read... [14:14:50]OFD Sender: No OFD packet to send [14:14:50]*** Cut start [14:14:50]*** Partial cut [14:14:50]*** CUTSNS_PIN = 1 [14:14:50]*** CUTSNS_PIN = 0 [14:14:51]*** Brake cut motor [14:14:51]Read from MH i2c: 01 [14:14:51]MH_I2C_Read... [14:14:51]*** Stop cut motor [14:14:51]*** Cut end [14:14:51]Read from MH i2c: 01 07 00 [14:14:51]MH_I2C_Read... [14:14:51]Read from MH i2c: 01 07 00 8E 25 00 00 00 00 00 FF 0F C8 [14:14:51]process_action close_receipt done [14:14:51]requested_data is exist [14:14:51]produce_requested_data [14:14:51]requested_item fm.sn is exist - process it [14:14:51]wFMCommunicate request_size=4 [14:14:51]MH_SAM_APDU [14:14:51]CAPDU: 80 11 00 00 [14:14:51]Write to MH i2c: E2 08 00 8F 25 80 11 00 00 00 00 00 00 2E [14:14:51]Write i2c OK [14:14:51]MH_I2C_Read... [14:14:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:51]Read from MH i2c: E2 [14:14:51]MH_I2C_Read... [14:14:51]Read from MH i2c: E2 17 00 [14:14:51]MH_I2C_Read... [14:14:51]Read from MH i2c: E2 17 00 8F 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 80 [14:14:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:14:51]wFMCommunicate OK [14:14:51]requested_item fd.num is exist - process it [14:14:51]SAM_PROTO_GetFieldsCounters [14:14:51]wFMCommunicate request_size=4 [14:14:51]MH_SAM_APDU [14:14:51]CAPDU: 80 13 00 00 [14:14:51]Write to MH i2c: E2 08 00 90 25 80 13 00 00 00 00 00 00 31 [14:14:51]Write i2c OK [14:14:51]MH_I2C_Read... [14:14:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:14:51]Read from MH i2c: E2 [14:14:51]MH_I2C_Read... [14:14:51]Read from MH i2c: E2 62 00 [14:14:51]MH_I2C_Read... [14:14:51]Read from MH i2c: E2 62 00 90 25 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 25 56 00 00 0E 04 04 00 44 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 7E [14:14: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 25 56 00 00 0E 04 04 00 44 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 [14:14:51]wFMCommunicate OK [14:14:51]SAM_PROTO_GetFieldsCounters done [14:14:51]requested_item shift.num is exist - process it [14:14:51]requested_item shift.opened is exist - process it [14:14:51]req_shift_opened [14:14:51]FM_GetShiftState [14:14:51]SAM_PROTO_GetShiftState [14:14:51]wFMCommunicate request_size=4 [14:14:51]MH_SAM_APDU [14:14:51]CAPDU: 80 13 01 00 [14:14:51]Write to MH i2c: E2 08 00 91 25 80 13 01 00 00 00 00 00 33 [14:14:51]Write i2c OK [14:14:51]MH_I2C_Read... [14:14:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:51]Read from MH i2c: E2 [14:14:51]MH_I2C_Read... [14:14:51]Read from MH i2c: E2 0E 00 [14:14:51]MH_I2C_Read... [14:14:51]Read from MH i2c: E2 0E 00 91 25 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 51 [14:14:51]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:14:51]wFMCommunicate OK [14:14:51]SAM_PROTO_GetShiftState done [14:14:51]FM_GetShiftState done [14:14:51]req_shift_opened done [14:14:51]requested_item shift.open_date is exist - process it [14:14:51]req_shift_open_date [14:14:51]req_shift_open_date done [14:14:51]produce_requested_data done [14:14:51]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22053,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [14:14:51]process_action_free close_receipt [14:14:51]json_value_free [14:14:51]json_value_free done [14:14:51]process_json_proto returns [14:14:51]Send response to host [14:14:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22053,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [14:14:51]free response buf [14:14:51]execute_script done [14:14:51]execute_script returns [14:14:51]free content buf [14:14:51]Sock 10.Close socket [14:14:51]Sock 10.Thread stoped [14:14:55]OFD Sender: No OFD packet to send [14:15:00]OFD Sender: No OFD packet to send [14:15:05]OFD Sender: No OFD packet to send [14:15:10]OFD Sender: No OFD packet to send [14:15:15]OFD Sender: No OFD packet to send [14:15:20]OFD Sender: No OFD packet to send [14:15:25]OFD Sender: No OFD packet to send [14:15:30]OFD Sender: No OFD packet to send [14:15:35]OFD Sender: No OFD packet to send [14:15:40]OFD Sender: No OFD packet to send [14:15:45]OFD Sender: No OFD packet to send [14:15:50]OFD Sender: No OFD packet to send [14:15:55]OFD Sender: No OFD packet to send [14:16:00]OFD Sender: No OFD packet to send [14:16:05]OFD Sender: No OFD packet to send [14:16:10]OFD Sender: No OFD packet to send [14:16:15]OFD Sender: No OFD packet to send [14:16:20]OFD Sender: No OFD packet to send [14:16:25]OFD Sender: No OFD packet to send [14:16:30]OFD Sender: No OFD packet to send [14:16:35]OFD Sender: No OFD packet to send [14:16:40]OFD Sender: No OFD packet to send [14:16:45]OFD Sender: No OFD packet to send [14:16:50]OFD Sender: No OFD packet to send [14:16:55]OFD Sender: No OFD packet to send [14:17:00]OFD Sender: No OFD packet to send [14:17:05]OFD Sender: No OFD packet to send [14:17:10]OFD Sender: No OFD packet to send [14:17:15]OFD Sender: No OFD packet to send [14:17:20]OFD Sender: No OFD packet to send [14:17:25]OFD Sender: No OFD packet to send [14:17:30]OFD Sender: No OFD packet to send [14:17:35]OFD Sender: No OFD packet to send [14:17:40]OFD Sender: No OFD packet to send [14:17:45]OFD Sender: No OFD packet to send [14:17:50]OFD Sender: No OFD packet to send [14:17:55]OFD Sender: No OFD packet to send [14:18:00]OFD Sender: No OFD packet to send [14:18:05]OFD Sender: No OFD packet to send [14:18:10]OFD Sender: No OFD packet to send [14:18:15]OFD Sender: No OFD packet to send [14:18:20]OFD Sender: No OFD packet to send [14:18:25]OFD Sender: No OFD packet to send [14:18:30]OFD Sender: No OFD packet to send [14:18:35]OFD Sender: No OFD packet to send [14:18:40]OFD Sender: No OFD packet to send [14:18:45]OFD Sender: No OFD packet to send [14:18:50]OFD Sender: No OFD packet to send [14:18:55]OFD Sender: No OFD packet to send [14:19:00]OFD Sender: No OFD packet to send [14:19:05]OFD Sender: No OFD packet to send [14:19:10]OFD Sender: No OFD packet to send [14:19:15]OFD Sender: No OFD packet to send [14:19:20]OFD Sender: No OFD packet to send [14:19:25]OFD Sender: No OFD packet to send [14:19:30]OFD Sender: No OFD packet to send [14:19:35]OFD Sender: No OFD packet to send [14:19:40]OFD Sender: No OFD packet to send [14:19:45]OFD Sender: No OFD packet to send [14:19:50]OFD Sender: No OFD packet to send [14:19:55]OFD Sender: No OFD packet to send [14:20:00]OFD Sender: No OFD packet to send [14:20:05]OFD Sender: No OFD packet to send [14:20:10]OFD Sender: No OFD packet to send [14:20:15]OFD Sender: No OFD packet to send [14:20:20]OFD Sender: No OFD packet to send [14:20:25]OFD Sender: No OFD packet to send [14:20:30]OFD Sender: No OFD packet to send [14:20:35]OFD Sender: No OFD packet to send [14:20:40]OFD Sender: No OFD packet to send [14:20:45]OFD Sender: No OFD packet to send [14:20:50]OFD Sender: No OFD packet to send [14:20:55]OFD Sender: No OFD packet to send [14:21:00]OFD Sender: No OFD packet to send [14:21:05]OFD Sender: No OFD packet to send [14:21:10]OFD Sender: No OFD packet to send [14:21:15]OFD Sender: No OFD packet to send [14:21:20]OFD Sender: No OFD packet to send [14:21:25]OFD Sender: No OFD packet to send [14:21:30]OFD Sender: No OFD packet to send [14:21:35]OFD Sender: No OFD packet to send [14:21:40]OFD Sender: No OFD packet to send [14:21:45]OFD Sender: No OFD packet to send [14:21:50]OFD Sender: No OFD packet to send [14:21:55]OFD Sender: No OFD packet to send [14:22:00]OFD Sender: No OFD packet to send [14:22:05]OFD Sender: No OFD packet to send [14:22:10]OFD Sender: No OFD packet to send [14:22:15]OFD Sender: No OFD packet to send [14:22:20]OFD Sender: No OFD packet to send [14:22:25]OFD Sender: No OFD packet to send [14:22:30]OFD Sender: No OFD packet to send [14:22:35]OFD Sender: No OFD packet to send [14:22:40]OFD Sender: No OFD packet to send [14:22:45]OFD Sender: No OFD packet to send [14:22:50]OFD Sender: No OFD packet to send [14:22:55]OFD Sender: No OFD packet to send [14:23:00]OFD Sender: No OFD packet to send [14:23:05]OFD Sender: No OFD packet to send [14:23:10]OFD Sender: No OFD packet to send [14:23:15]OFD Sender: No OFD packet to send [14:23:20]OFD Sender: No OFD packet to send [14:23:25]OFD Sender: No OFD packet to send [14:23:30]OFD Sender: No OFD packet to send [14:23:35]OFD Sender: No OFD packet to send [14:23:40]OFD Sender: No OFD packet to send [14:23:45]OFD Sender: No OFD packet to send [14:23:50]OFD Sender: No OFD packet to send [14:23:55]OFD Sender: No OFD packet to send [14:24:00]OFD Sender: No OFD packet to send [14:24:05]OFD Sender: No OFD packet to send [14:24:10]OFD Sender: No OFD packet to send [14:24:15]OFD Sender: No OFD packet to send [14:24:20]OFD Sender: No OFD packet to send [14:24:25]OFD Sender: No OFD packet to send [14:24:30]OFD Sender: No OFD packet to send [14:24:35]OFD Sender: No OFD packet to send [14:24:40]OFD Sender: No OFD packet to send [14:24:45]OFD Sender: No OFD packet to send [14:24:50]OFD Sender: No OFD packet to send [14:24:55]OFD Sender: No OFD packet to send [14:25:00]OFD Sender: No OFD packet to send [14:25:05]OFD Sender: No OFD packet to send [14:25:10]OFD Sender: No OFD packet to send [14:25:15]OFD Sender: No OFD packet to send [14:25:20]OFD Sender: No OFD packet to send [14:25:25]OFD Sender: No OFD packet to send [14:25:30]OFD Sender: No OFD packet to send [14:25:35]OFD Sender: No OFD packet to send [14:25:40]OFD Sender: No OFD packet to send [14:25:45]OFD Sender: No OFD packet to send [14:25:50]OFD Sender: No OFD packet to send [14:25:55]OFD Sender: No OFD packet to send [14:26:00]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:36]OFD Sender: No OFD packet to send [14:26:41]OFD Sender: No OFD packet to send [14:26:46]OFD Sender: No OFD packet to send [14:26:51]OFD Sender: No OFD packet to send [14:26:56]OFD Sender: No OFD packet to send [14:27:01]OFD Sender: No OFD packet to send [14:27:06]OFD Sender: No OFD packet to send [14:27:11]OFD Sender: No OFD packet to send [14:27:16]OFD Sender: No OFD packet to send [14:27:21]OFD Sender: No OFD packet to send [14:27:26]OFD Sender: No OFD packet to send [14:27:31]OFD Sender: No OFD packet to send [14:27:36]OFD Sender: No OFD packet to send [14:27:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:51]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:41]OFD Sender: No OFD packet to send [14:31:46]OFD Sender: No OFD packet to send [14:31:51]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:30]accept exits with 8 [14:35:30]New connection [14:35:30]New thread 3067178340 created [14:35:30]Thread 3067321700 joined [14:35:30]Waiting for new connection... [14:35:30] Sock 8.Parse request [14:35:30]Sock 8.Check first char [14:35:30]Sock 8.First char is OK [14:35:30]request: POST /json_proto HTTP/1.0 [14:35:30]Method: POST [14:35:30]URL: /json_proto [14:35:30]Method is POST - this is cgi request [14:35:30]url: /json_proto [14:35:30]query_string will be loaded in cgi processing [14:35:30]execute_cgi json_proto POST (null) [14:35:30]execute_cgi path=json_proto method=POST [14:35:30]POST find Content-Length [14:35:30]Host: 172.17.35.133:8080 [14:35:30]Content-Length: 688 [14:35:30]Content-Type: application/json [14:35:30] [14:35:30]POST finish read [14:35:30]Found Content-Length = 688 [14:35:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254281", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:35:30]execute_script... [14:35: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)254281", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:35:30]POST & json_proto [14:35:30]process_json_proto [14:35:30]json parsed OK: [14:35:30]protocol is kg_v1.0 [14:35:30]action value=close_receipt [14:35:30]process_action close_receipt [14:35:30]cmd_close_receipt [14:35:30]MH_GetDate [14:35:30]Write to MH i2c: F0 00 00 92 25 A6 [14:35:30]Write i2c OK [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: F0 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: F0 09 00 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: F0 09 00 92 25 00 BB 03 6B 66 8C 55 28 65 AC [14:35:30]GetLastDocTimeStamp 1718288096 [14:35:30]current date 1718289339 [14:35:30]FM_GetShiftState [14:35:30]SAM_PROTO_GetShiftState [14:35:30]wFMCommunicate request_size=4 [14:35:30]MH_SAM_APDU [14:35:30]CAPDU: 80 13 01 00 [14:35:30]Write to MH i2c: E2 08 00 93 25 80 13 01 00 00 00 00 00 35 [14:35:30]Write i2c OK [14:35:30]MH_I2C_Read... [14:35:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:35:30]Read from MH i2c: E2 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: E2 0E 00 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: E2 0E 00 93 25 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 53 [14:35:30]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:35:30]wFMCommunicate OK [14:35:30]SAM_PROTO_GetShiftState done [14:35:30]FM_GetShiftState done [14:35:30]opened in 1718237959 [14:35:30]opened+sec_in_day 1718324359 [14:35:30]quantity*price = 6000 [14:35:30]sum+1 = 6001 [14:35:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 34 13.06.2024 14:35 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22054 ФПД: 176131132324473 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T143539&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22054&fm=176131132324473&tin=02508201610067®Number=0000000000099755&sum=6000 0 [14:35:31]StoreToDocumentArchive [14:35:31]shift 324 fd 22054 [14:35:31]save to /storage/0324/doc_00022054 [14:35:31]save last doc name /storage/0324/doc_00022054 to /storage/kkm_last_doc_name [14:35:31]save OK [14:35:31]Clear old archive folders... [14:35:31]ProcessDocumentItem done err = 0, tmpTLVsize=291 [14:35:31]tlvbuf is B6E02060 [14:35:31]SAM_PROTO_ClearQueue [14:35:31]wFMCommunicate request_size=4 [14:35:31]MH_SAM_APDU [14:35:31]CAPDU: 80 09 00 00 [14:35:31]Write to MH i2c: E2 08 00 A0 25 80 09 00 00 00 00 00 00 37 [14:35:31]Write i2c OK [14:35:31]MH_I2C_Read... [14:35:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:35:31]Read from MH i2c: E2 [14:35:31]MH_I2C_Read... [14:35:31]Read from MH i2c: E2 03 00 [14:35:31]MH_I2C_Read... [14:35:31]Read from MH i2c: E2 03 00 A0 25 00 90 00 39 [14:35:31]RAPDU: 90 00 [14:35:31]wFMCommunicate OK [14:35:31]SAM_PROTO_ClearQueue done [14:35:31]KKMCreateOFDPacket [14:35:31]OFDProtocolAddRootSTLVToBuf [14:35:31]FM_MakeSignedData [14:35:31]FM_MakeSignedData [14:35:31]SAM_PROTO_SignData [14:35:31]wFMCommunicate request_size=4 [14:35:31]MH_SAM_APDU [14:35:31]CAPDU: 80 0D 01 02 [14:35:31]Write to MH i2c: E2 08 00 A1 25 80 0D 01 02 00 00 00 00 3F [14:35:31]Write i2c OK [14:35:31]MH_I2C_Read... [14:35:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:35:31]Read from MH i2c: E2 [14:35:31]MH_I2C_Read... [14:35:31]Read from MH i2c: E2 03 00 [14:35:31]MH_I2C_Read... [14:35:31]Read from MH i2c: E2 03 00 A1 25 00 90 00 3A [14:35:31]RAPDU: 90 00 [14:35:31]wFMCommunicate OK [14:35:31]wFMCommunicate request_size=255 [14:35:31]MH_SAM_APDU [14:35:31]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 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 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 22 00 00 00 F4 03 04 00 BB 03 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [14:35:31]Write to MH i2c: E2 02 01 A2 25 80 0D 02 02 FA 00 03 00 23 01 1E 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 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 22 00 00 00 F4 03 04 00 BB 03 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 40 [14:35:31]Write i2c OK [14:35:31]MH_I2C_Read... [14:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:35:31]Read from MH i2c: E2 [14:35:31]MH_I2C_Read... [14:35:31]Read from MH i2c: E2 03 00 [14:35:31]MH_I2C_Read... [14:35:31]Read from MH i2c: E2 03 00 A2 25 00 90 00 3B [14:35:31]RAPDU: 90 00 [14:35:31]wFMCommunicate OK [14:35:31]wFMCommunicate request_size=50 [14:35:31]MH_SAM_APDU [14:35:31]CAPDU: 80 0D 02 02 2D 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 26 56 00 00 35 04 06 00 A0 30 B9 93 7A 79 [14:35:31]Write to MH i2c: E2 35 00 A3 25 80 0D 02 02 2D 00 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 26 56 00 00 35 04 06 00 A0 30 B9 93 7A 79 00 00 35 [14:35:31]Write i2c OK [14:35:31]MH_I2C_Read... [14:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:35:31]Read from MH i2c: E2 [14:35:31]MH_I2C_Read... [14:35:31]Read from MH i2c: E2 03 00 [14:35:31]MH_I2C_Read... [14:35:31]Read from MH i2c: E2 03 00 A3 25 00 90 00 3C [14:35:31]RAPDU: 90 00 [14:35:31]wFMCommunicate OK [14:35:31]wFMCommunicate request_size=4 [14:35:31]MH_SAM_APDU [14:35:31]CAPDU: 80 0D 03 02 [14:35:31]Write to MH i2c: E2 08 00 A4 25 80 0D 03 02 00 00 00 00 44 [14:35:31]Write i2c OK [14:35:31]MH_I2C_Read... [14:35:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:35:32]Read from MH i2c: E2 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 0B 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 0B 00 A4 25 00 14 3E 9B 39 EC B5 CD B0 90 00 89 [14:35:32]RAPDU: 14 3E 9B 39 EC B5 CD B0 90 00 [14:35:32]wFMCommunicate OK [14:35:32]SAM_PROTO_SignData done [14:35:32]FM_MakeSignedData done [14:35:32]CreateOFDProtocolMessage [14:35:32]wFMCommunicate request_size=4 [14:35:32]MH_SAM_APDU [14:35:32]CAPDU: 80 11 00 00 [14:35:32]Write to MH i2c: E2 08 00 A5 25 80 11 00 00 00 00 00 00 44 [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:35:32]Read from MH i2c: E2 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 17 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 17 00 A5 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 96 [14:35:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:35:32]wFMCommunicate OK [14:35:32]CreateOFDProtocolMessage done [14:35:32]OFDSenderStorePacket 22054 [14:35:32]StoreOFDPacket docnum=22054 [14:35: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 37 01 00 00 AF 8F 2F 01 3D 92 5A 03 01 00 03 00 23 01 1E 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 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 22 00 00 00 F4 03 04 00 BB 03 6B 66 0E 04 04 00 44 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 26 56 00 00 35 04 06 00 A0 30 B9 93 7A 79 14 3E 9B 39 EC B5 CD B0 [14:35:32]CheckFolder [14:35:32]dirname=/storage/ofd_packets [14:35:32]CheckFolder done [14:35:32]ProducePacketName [14:35:32]name=ofd_packets/00022054 [14:35:32]NVStorageSaveData ofd_packets/00022054 [14:35:32]File name is /storage/ofd_packets/00022054 [14:35:32]Write 341 bytes [14:35:32]NVStorageSaveData done [14:35:32]OFDSenderStorePacket done [14:35:32]KKMCreateOFDPacket done [14:35:32]NVStorageSaveData kkm_last_timestamp [14:35:32]File name is /storage/kkm_last_timestamp [14:35:32]Write 4 bytes [14:35:32]NVStorageSaveData done [14:35:32]ExternCall_PrintAddStr [14:35:32]wPrintStart [14:35:32]Write to MH i2c: 01 00 00 A6 25 CB [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: 01 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: 01 07 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: 01 07 00 A6 25 00 00 00 00 00 FF 0F E0 [14:35:32]RasterBufferAndPrint [14:35:32]line Счет N : (3)254281 [14:35:32]line ИНН: 02508201610067 [14:35:32]line Контрольно-Кассовый Чек [14:35:32]line ПРОДАЖА [14:35:32]line Товар: 4870209744564 [14:35:32]line Сухарики Флинт Шашлык 100 гр [14:35:32]line 1.000 * 60.00 [14:35:32]line = 60.00 [14:35:32]line НДС 12% НСП 1% [14:35:32]line > о реализуемом товаре [14:35:32]line ИТОГО: 60.00 [14:35:32]line НСП 1% : 0.53 [14:35:32]line НДС 12% : 6.37 [14:35:32]line Наличными: 60.00 [14:35:32]line Безнал.: 0.00 [14:35:32]line Место: АЗС № 76 "Партнер Нефть" [14:35:32]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:35:32]line СНО: Общий режим [14:35:32]line Чек 34 13.06.2024 14:35 [14:35:32]line Смена: 324 ФФД: 1.0 [14:35:32]line ЗНМ: 0300000200 [14:35:32]line РНМ: 0000000000099755 [14:35:32]line Версия ККМ: 001 [14:35:32]line ФМ: 0000000000965344 [14:35:32]line ФД: 22054 [14:35:32]line ФПД: 176131132324473 [14:35:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T143539&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22054&fm=176131132324473&tin=02508201610067®Number=0000000000099755&sum=6000 [14:35:32]line 0 [14:35:32]OFD Sender: Processing packet 22054 [packets to send 5, broken 4] [14:35:32]ProducePacketName [14:35:32]name=ofd_packets/00022054 [14:35:32]OFD Sender: To server: pG, [14:35:32]CommunicateWithHost lk.salyk.kg:30040 [14:35:32]ConnectInit lk.salyk.kg [14:35:32]written 0, free lines is 4095 [14:35:32]Connected sock=11 [14:35: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 37 01 00 00 AF 8F 2F 01 3D 92 5A 03 01 00 03 00 23 01 1E 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 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 22 00 00 00 F4 03 04 00 BB 03 6B 66 0E 04 04 00 44 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 26 56 00 00 35 04 06 00 A0 30 B9 93 7A 79 14 3E 9B 39 EC B5 CD B0 [14:35: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 B0 58 47 00 3B A3 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 26 56 00 00 F4 03 04 00 7E AC 6A 66 B6 04 01 00 00 4E 6A E4 43 A5 2F 52 89 [14:35:32]CommunicateWithHost err = 0 [14:35:32]CheckOFDResponse [14:35:32]1017 (14) - 77093643461234 [14:35:32]1041 (16) - 0000000000965344 [14:35:32]1040 (4) - 22054 [14:35:32]1012 (4) - 13.06.2024 08:23 [14:35:32]1206 (1) - 0 [14:35:32]OFD Sender: Remove packet 22054 [14:35:32]ProducePacketName [14:35:32]name=ofd_packets/00022054 [14:35:32]NVStorageDeleteData [14:35:32]Write to MH i2c: 01 00 00 CF 25 F4 [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: 01 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: 01 07 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: 01 07 00 CF 25 00 00 00 00 00 04 0D 0C [14:35:32]RasterBufferAndPrint [14:35:32]line [14:35:32]line [14:35:32]line [14:35:32]line [14:35:32]line [14:35:32]written 0, free lines is 3338 [14:35:32]MH_Cut [14:35:32]Write to MH i2c: D1 01 00 D6 25 01 CD [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: D1 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: D1 01 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: D1 01 00 D6 25 00 CC [14:35:32]Write to MH i2c: 01 00 00 D7 25 FC [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:33]OFD Sender: No OFD packet to send [14:35:33]*** Cut start [14:35:33]*** Partial cut [14:35:33]*** CUTSNS_PIN = 1 [14:35:33]*** CUTSNS_PIN = 0 [14:35:33]*** Brake cut motor [14:35:34]Read from MH i2c: 01 [14:35:34]MH_I2C_Read... [14:35:34]*** Stop cut motor [14:35:34]*** Cut end [14:35:34]Read from MH i2c: 01 07 00 [14:35:34]MH_I2C_Read... [14:35:34]Read from MH i2c: 01 07 00 D7 25 00 00 00 00 00 FF 0F 11 [14:35:34]process_action close_receipt done [14:35:34]requested_data is exist [14:35:34]produce_requested_data [14:35:34]requested_item fm.sn is exist - process it [14:35:34]wFMCommunicate request_size=4 [14:35:34]MH_SAM_APDU [14:35:34]CAPDU: 80 11 00 00 [14:35:34]Write to MH i2c: E2 08 00 D8 25 80 11 00 00 00 00 00 00 77 [14:35:34]Write i2c OK [14:35:34]MH_I2C_Read... [14:35:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:35:34]Read from MH i2c: E2 [14:35:34]MH_I2C_Read... [14:35:34]Read from MH i2c: E2 17 00 [14:35:34]MH_I2C_Read... [14:35:34]Read from MH i2c: E2 17 00 D8 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C9 [14:35:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:35:34]wFMCommunicate OK [14:35:34]requested_item fd.num is exist - process it [14:35:34]SAM_PROTO_GetFieldsCounters [14:35:34]wFMCommunicate request_size=4 [14:35:34]MH_SAM_APDU [14:35:34]CAPDU: 80 13 00 00 [14:35:34]Write to MH i2c: E2 08 00 D9 25 80 13 00 00 00 00 00 00 7A [14:35:34]Write i2c OK [14:35:34]MH_I2C_Read... [14:35:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:35:34]Read from MH i2c: E2 [14:35:34]MH_I2C_Read... [14:35:34]Read from MH i2c: E2 62 00 [14:35:34]MH_I2C_Read... [14:35:34]Read from MH i2c: E2 62 00 D9 25 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 26 56 00 00 0E 04 04 00 44 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 CB [14:35: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 26 56 00 00 0E 04 04 00 44 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 [14:35:34]wFMCommunicate OK [14:35:34]SAM_PROTO_GetFieldsCounters done [14:35:34]requested_item shift.num is exist - process it [14:35:34]requested_item shift.opened is exist - process it [14:35:34]req_shift_opened [14:35:34]FM_GetShiftState [14:35:34]SAM_PROTO_GetShiftState [14:35:34]wFMCommunicate request_size=4 [14:35:34]MH_SAM_APDU [14:35:34]CAPDU: 80 13 01 00 [14:35:34]Write to MH i2c: E2 08 00 DA 25 80 13 01 00 00 00 00 00 7C [14:35:34]Write i2c OK [14:35:34]MH_I2C_Read... [14:35:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:35:34]Read from MH i2c: E2 [14:35:34]MH_I2C_Read... [14:35:34]Read from MH i2c: E2 0E 00 [14:35:34]MH_I2C_Read... [14:35:34]Read from MH i2c: E2 0E 00 DA 25 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 9A [14:35:34]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:35:34]wFMCommunicate OK [14:35:34]SAM_PROTO_GetShiftState done [14:35:34]FM_GetShiftState done [14:35:34]req_shift_opened done [14:35:34]requested_item shift.open_date is exist - process it [14:35:34]req_shift_open_date [14:35:34]req_shift_open_date done [14:35:34]produce_requested_data done [14:35:34]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22054,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [14:35:34]process_action_free close_receipt [14:35:34]json_value_free [14:35:34]json_value_free done [14:35:34]process_json_proto returns [14:35:34]Send response to host [14:35:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22054,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [14:35:34]free response buf [14:35:34]execute_script done [14:35:34]execute_script returns [14:35:34]free content buf [14:35:34]Sock 8.Close socket [14:35:34]Sock 8.Thread stoped [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:53]OFD Sender: No OFD packet to send [14:36:58]OFD Sender: No OFD packet to send [14:37:03]OFD Sender: No OFD packet to send [14:37:08]OFD Sender: No OFD packet to send [14:37:13]OFD Sender: No OFD packet to send [14:37:18]OFD Sender: No OFD packet to send [14:37:23]OFD Sender: No OFD packet to send [14:37:28]OFD Sender: No OFD packet to send [14:37:33]OFD Sender: No OFD packet to send [14:37:38]OFD Sender: No OFD packet to send [14:37:43]OFD Sender: No OFD packet to send [14:37:48]OFD Sender: No OFD packet to send [14:37:53]OFD Sender: No OFD packet to send [14:37:58]OFD Sender: No OFD packet to send [14:38:03]OFD Sender: No OFD packet to send [14:38:08]OFD Sender: No OFD packet to send [14:38:13]OFD Sender: No OFD packet to send [14:38:18]OFD Sender: No OFD packet to send [14:38:23]OFD Sender: No OFD packet to send [14:38:28]OFD Sender: No OFD packet to send [14:38:33]OFD Sender: No OFD packet to send [14:38:38]OFD Sender: No OFD packet to send [14:38:43]OFD Sender: No OFD packet to send [14:38:48]OFD Sender: No OFD packet to send [14:38:53]OFD Sender: No OFD packet to send [14:38:58]OFD Sender: No OFD packet to send [14:39:03]OFD Sender: No OFD packet to send [14:39:08]OFD Sender: No OFD packet to send [14:39:13]OFD Sender: No OFD packet to send [14:39:18]OFD Sender: No OFD packet to send [14:39:23]OFD Sender: No OFD packet to send [14:39:28]OFD Sender: No OFD packet to send [14:39:33]OFD Sender: No OFD packet to send [14:39:38]OFD Sender: No OFD packet to send [14:39:43]OFD Sender: No OFD packet to send [14:39:48]OFD Sender: No OFD packet to send [14:39:53]OFD Sender: No OFD packet to send [14:39:58]OFD Sender: No OFD packet to send [14:40:03]OFD Sender: No OFD packet to send [14:40:08]OFD Sender: No OFD packet to send [14:40:13]OFD Sender: No OFD packet to send [14:40:18]OFD Sender: No OFD packet to send [14:40:23]OFD Sender: No OFD packet to send [14:40:28]OFD Sender: No OFD packet to send [14:40:33]OFD Sender: No OFD packet to send [14:40:38]OFD Sender: No OFD packet to send [14:40:43]OFD Sender: No OFD packet to send [14:40:48]OFD Sender: No OFD packet to send [14:40:53]OFD Sender: No OFD packet to send [14:40:58]OFD Sender: No OFD packet to send [14:41:03]OFD Sender: No OFD packet to send [14:41:08]OFD Sender: No OFD packet to send [14:41:13]OFD Sender: No OFD packet to send [14:41:18]OFD Sender: No OFD packet to send [14:41:23]OFD Sender: No OFD packet to send [14:41:28]OFD Sender: No OFD packet to send [14:41:33]OFD Sender: No OFD packet to send [14:41:38]OFD Sender: No OFD packet to send [14:41:43]OFD Sender: No OFD packet to send [14:41:48]OFD Sender: No OFD packet to send [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:23]OFD Sender: No OFD packet to send [14:42:28]OFD Sender: No OFD packet to send [14:42:33]OFD Sender: No OFD packet to send [14:42:38]OFD Sender: No OFD packet to send [14:42:43]OFD Sender: No OFD packet to send [14:42:48]OFD Sender: No OFD packet to send [14:42:53]OFD Sender: No OFD packet to send [14:42:58]OFD Sender: No OFD packet to send [14:43:03]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]OFD Sender: No OFD packet to send [14:43:33]OFD Sender: No OFD packet to send [14:43:38]OFD Sender: No OFD packet to send [14:43:43]OFD Sender: No OFD packet to send [14:43:48]OFD Sender: No OFD packet to send [14:43:53]OFD Sender: No OFD packet to send [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:12]accept exits with 9 [14:50:12]New connection [14:50:12]New thread 3067321700 created [14:50:12]Thread 3067178340 joined [14:50:12]Waiting for new connection... [14:50:12] Sock 9.Parse request [14:50:12]Sock 9.Check first char [14:50:12]Sock 9.First char is OK [14:50:12]request: POST /json_proto HTTP/1.0 [14:50:12]Method: POST [14:50:12]URL: /json_proto [14:50:12]Method is POST - this is cgi request [14:50:12]url: /json_proto [14:50:12]query_string will be loaded in cgi processing [14:50:12]execute_cgi json_proto POST (null) [14:50:12]execute_cgi path=json_proto method=POST [14:50:12]POST find Content-Length [14:50:12]Host: 172.17.35.133:8080 [14:50:12]Content-Length: 215 [14:50:12]Content-Type: application/json [14:50:12] [14:50:12]POST finish read [14:50:12]Found Content-Length = 215 [14:50:12]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" ] } } [14:50:12]execute_script... [14:50:12]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" ] } } [14:50:12]POST & json_proto [14:50:12]process_json_proto [14:50:12]json parsed OK: [14:50:12]protocol is kg_v1.0 [14:50:12]action value=get_value [14:50:12]process_action get_value [14:50:12]cmd_get_value [14:50:12]process_action get_value done [14:50:12]requested_data is exist [14:50:12]produce_requested_data [14:50:12]requested_item kkm.sn is exist - process it [14:50:12]requested_item kkm.ver is exist - process it [14:50:12]requested_item fm.sn is exist - process it [14:50:12]wFMCommunicate request_size=4 [14:50:12]MH_SAM_APDU [14:50:12]CAPDU: 80 11 00 00 [14:50:12]Write to MH i2c: E2 08 00 DB 25 80 11 00 00 00 00 00 00 7A [14:50:12]Write i2c OK [14:50:12]MH_I2C_Read... [14:50:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:50:12]Read from MH i2c: E2 [14:50:12]MH_I2C_Read... [14:50:12]Read from MH i2c: E2 17 00 [14:50:12]MH_I2C_Read... [14:50:12]Read from MH i2c: E2 17 00 DB 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 CC [14:50:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:50:12]wFMCommunicate OK [14:50:12]requested_item fd.num is exist - process it [14:50:12]SAM_PROTO_GetFieldsCounters [14:50:12]wFMCommunicate request_size=4 [14:50:12]MH_SAM_APDU [14:50:12]CAPDU: 80 13 00 00 [14:50:12]Write to MH i2c: E2 08 00 DC 25 80 13 00 00 00 00 00 00 7D [14:50:12]Write i2c OK [14:50:12]MH_I2C_Read... [14:50:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:50:13]Read from MH i2c: E2 [14:50:13]MH_I2C_Read... [14:50:13]Read from MH i2c: E2 62 00 [14:50:13]MH_I2C_Read... [14:50:13]Read from MH i2c: E2 62 00 DC 25 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 26 56 00 00 0E 04 04 00 44 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 CE [14:50: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 26 56 00 00 0E 04 04 00 44 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 [14:50:13]wFMCommunicate OK [14:50:13]SAM_PROTO_GetFieldsCounters done [14:50:13]requested_item shift.num is exist - process it [14:50:13]requested_item shift.opened is exist - process it [14:50:13]req_shift_opened [14:50:13]FM_GetShiftState [14:50:13]SAM_PROTO_GetShiftState [14:50:13]wFMCommunicate request_size=4 [14:50:13]MH_SAM_APDU [14:50:13]CAPDU: 80 13 01 00 [14:50:13]Write to MH i2c: E2 08 00 DD 25 80 13 01 00 00 00 00 00 7F [14:50:13]Write i2c OK [14:50:13]MH_I2C_Read... [14:50:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:50:13]Read from MH i2c: E2 [14:50:13]MH_I2C_Read... [14:50:13]Read from MH i2c: E2 0E 00 [14:50:13]MH_I2C_Read... [14:50:13]Read from MH i2c: E2 0E 00 DD 25 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 9D [14:50:13]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [14:50:13]wFMCommunicate OK [14:50:13]SAM_PROTO_GetShiftState done [14:50:13]FM_GetShiftState done [14:50:13]req_shift_opened done [14:50:13]requested_item shift.open_date is exist - process it [14:50:13]req_shift_open_date [14:50:13]req_shift_open_date done [14:50:13]produce_requested_data done [14:50:13]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22054,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [14:50:13]process_action_free get_value [14:50:13]json_value_free [14:50:13]json_value_free done [14:50:13]process_json_proto returns [14:50:13]Send response to host [14:50:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22054,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [14:50:13]free response buf [14:50:13]execute_script done [14:50:13]execute_script returns [14:50:13]free content buf [14:50:13]Sock 9.Close socket [14:50:13]Sock 9.Thread stoped [14:50:13]accept exits with 8 [14:50:13]New connection [14:50:13]New thread 3067178340 created [14:50:13]Thread 3067321700 joined [14:50:13]Waiting for new connection... [14:50:13] Sock 8.Parse request [14:50:13]Sock 8.Check first char [14:50:13]Sock 8.First char is OK [14:50:13]request: POST /json_proto HTTP/1.0 [14:50:13]Method: POST [14:50:13]URL: /json_proto [14:50:13]Method is POST - this is cgi request [14:50:13]url: /json_proto [14:50:13]query_string will be loaded in cgi processing [14:50:13]execute_cgi json_proto POST (null) [14:50:13]execute_cgi path=json_proto method=POST [14:50:13]POST find Content-Length [14:50:13]Host: 172.17.35.133:8080 [14:50:13]Content-Length: 331 [14:50:13]Content-Type: application/json [14:50:13] [14:50:13]POST finish read [14:50:13]Found Content-Length = 331 [14:50:13]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" ] } } [14:50:13]execute_script... [14:50:13]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" ] } } [14:50:13]POST & json_proto [14:50:13]process_json_proto [14:50:13]json parsed OK: [14:50:13]protocol is kg_v1.0 [14:50:13]action value=get_value [14:50:13]process_action get_value [14:50:13]cmd_get_value [14:50:13]process_action get_value done [14:50:13]requested_data is exist [14:50:13]produce_requested_data [14:50:13]requested_item fm.sale.total is exist - process it [14:50:13]SAM_PROTO_GetFMData [14:50:13]wFMCommunicate request_size=4 [14:50:13]MH_SAM_APDU [14:50:13]CAPDU: 80 13 03 00 [14:50:13]Write to MH i2c: E2 08 00 DE 25 80 13 03 00 00 00 00 00 82 [14:50:13]Write i2c OK [14:50:13]MH_I2C_Read... [14:50:13]OFD Sender: No OFD packet to send [14:50:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:50:13]Read from MH i2c: E2 [14:50:13]MH_I2C_Read... [14:50:13]Read from MH i2c: E2 FD 00 [14:50:13]MH_I2C_Read... [14:50:13]Read from MH i2c: E2 FD 00 DE 25 00 C3 04 85 04 BF 04 6E 04 04 00 9E 53 00 00 69 04 A2 00 6F 04 04 00 87 53 00 00 B1 04 04 00 BA 87 DE 24 70 04 04 00 D4 4B 29 20 72 04 04 00 E6 3B B5 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 6D 55 EA 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 96 7A 53 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 82 [14:50:13]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9E 53 00 00 69 04 A2 00 6F 04 04 00 87 53 00 00 B1 04 04 00 BA 87 DE 24 70 04 04 00 D4 4B 29 20 72 04 04 00 E6 3B B5 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 6D 55 EA 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 96 7A 53 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 [14:50:13]wFMCommunicate OK [14:50:13]wFMCommunicate request_size=4 [14:50:13]MH_SAM_APDU [14:50:13]CAPDU: 80 17 00 00 [14:50:13]Write to MH i2c: E2 08 00 DF 25 80 17 00 00 00 00 00 00 84 [14:50:13]Write i2c OK [14:50:13]MH_I2C_Read... [14:50:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:50:14]Read from MH i2c: E2 [14:50:14]MH_I2C_Read... [14:50:14]Read from MH i2c: E2 FD 00 [14:50:14]MH_I2C_Read... [14:50:14]Read from MH i2c: E2 FD 00 DF 25 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 8F [14:50:14]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 [14:50:14]wFMCommunicate OK [14:50:14]wFMCommunicate request_size=4 [14:50:14]MH_SAM_APDU [14:50:14]CAPDU: 80 17 00 00 [14:50:14]Write to MH i2c: E2 08 00 E0 25 80 17 00 00 00 00 00 00 85 [14:50:14]Write i2c OK [14:50:14]MH_I2C_Read... [14:50:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:50:14]Read from MH i2c: E2 [14:50:14]MH_I2C_Read... [14:50:14]Read from MH i2c: E2 FD 00 [14:50:14]MH_I2C_Read... [14:50:14]Read from MH i2c: E2 FD 00 E0 25 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A3 [14:50:14]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 [14:50:14]wFMCommunicate OK [14:50:14]wFMCommunicate request_size=4 [14:50:14]MH_SAM_APDU [14:50:14]CAPDU: 80 17 00 00 [14:50:14]Write to MH i2c: E2 08 00 E1 25 80 17 00 00 00 00 00 00 86 [14:50:14]Write i2c OK [14:50:14]MH_I2C_Read... [14:50:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:50:14]Read from MH i2c: E2 [14:50:14]MH_I2C_Read... [14:50:14]Read from MH i2c: E2 FD 00 [14:50:14]MH_I2C_Read... [14:50:14]Read from MH i2c: E2 FD 00 E1 25 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 F8 [14:50:14]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 [14:50:14]wFMCommunicate OK [14:50:14]wFMCommunicate request_size=4 [14:50:14]MH_SAM_APDU [14:50:14]CAPDU: 80 17 00 00 [14:50:14]Write to MH i2c: E2 08 00 E2 25 80 17 00 00 00 00 00 00 87 [14:50:14]Write i2c OK [14:50:14]MH_I2C_Read... [14:50:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [14:50:14]Read from MH i2c: E2 [14:50:14]MH_I2C_Read... [14:50:14]Read from MH i2c: E2 E0 00 [14:50:14]MH_I2C_Read... [14:50:14]Read from MH i2c: E2 E0 00 E2 25 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 71 [14:50:14]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 [14:50:14]wFMCommunicate OK [14:50:14]SAM_PROTO_GetFMData done [14:50:14]requested_item fm.sale_refund.total is exist - process it [14:50:14]requested_item fm.buy.total is exist - process it [14:50:14]requested_item shift.sale.total is exist - process it [14:50:14]SAM_PROTO_GetShiftData [14:50:14]wFMCommunicate request_size=4 [14:50:14]MH_SAM_APDU [14:50:14]CAPDU: 80 13 02 00 [14:50:14]Write to MH i2c: E2 08 00 E3 25 80 13 02 00 00 00 00 00 86 [14:50:15]Write i2c OK [14:50:15]MH_I2C_Read... [14:50:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:50:15]Read from MH i2c: E2 [14:50:15]MH_I2C_Read... [14:50:15]Read from MH i2c: E2 FD 00 [14:50:15]MH_I2C_Read... [14:50:15]Read from MH i2c: E2 FD 00 E3 25 00 AF 04 AA 04 AB 04 6E 04 04 00 22 00 00 00 69 04 9C 00 6F 04 04 00 22 00 00 00 B1 04 03 00 2B 2B 2A 70 04 03 00 40 22 25 72 04 03 00 EB 08 05 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 71 7A 04 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 4E 5F EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AA [14:50:15]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 22 00 00 00 69 04 9C 00 6F 04 04 00 22 00 00 00 B1 04 03 00 2B 2B 2A 70 04 03 00 40 22 25 72 04 03 00 EB 08 05 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 71 7A 04 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 4E 5F EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:50:15]wFMCommunicate OK [14:50:15]wFMCommunicate request_size=4 [14:50:15]MH_SAM_APDU [14:50:15]CAPDU: 80 17 00 00 [14:50:15]Write to MH i2c: E2 08 00 E4 25 80 17 00 00 00 00 00 00 89 [14:50:15]Write i2c OK [14:50:15]MH_I2C_Read... [14:50:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:50:15]Read from MH i2c: E2 [14:50:15]MH_I2C_Read... [14:50:15]Read from MH i2c: E2 FD 00 [14:50:15]MH_I2C_Read... [14:50:15]Read from MH i2c: E2 FD 00 E4 25 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A2 [14:50:15]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:50:15]wFMCommunicate OK [14:50:15]wFMCommunicate request_size=4 [14:50:15]MH_SAM_APDU [14:50:15]CAPDU: 80 17 00 00 [14:50:15]Write to MH i2c: E2 08 00 E5 25 80 17 00 00 00 00 00 00 8A [14:50:15]Write i2c OK [14:50:15]MH_I2C_Read... [14:50:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:50:16]Read from MH i2c: E2 [14:50:16]MH_I2C_Read... [14:50:16]Read from MH i2c: E2 FD 00 [14:50:16]MH_I2C_Read... [14:50:16]Read from MH i2c: E2 FD 00 E5 25 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [14:50:16]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:50:16]wFMCommunicate OK [14:50:16]wFMCommunicate request_size=4 [14:50:16]MH_SAM_APDU [14:50:16]CAPDU: 80 17 00 00 [14:50:16]Write to MH i2c: E2 08 00 E6 25 80 17 00 00 00 00 00 00 8B [14:50:16]Write i2c OK [14:50:16]MH_I2C_Read... [14:50:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:50:16]Read from MH i2c: E2 [14:50:16]MH_I2C_Read... [14:50:16]Read from MH i2c: E2 FD 00 [14:50:16]MH_I2C_Read... [14:50:16]Read from MH i2c: E2 FD 00 E6 25 00 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 90 00 09 [14:50:16]RAPDU: 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 90 00 [14:50:16]wFMCommunicate OK [14:50:16]wFMCommunicate request_size=4 [14:50:16]MH_SAM_APDU [14:50:16]CAPDU: 80 17 00 00 [14:50:16]Write to MH i2c: E2 08 00 E7 25 80 17 00 00 00 00 00 00 8C [14:50:16]Write i2c OK [14:50:16]MH_I2C_Read... [14:50:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [14:50:16]Read from MH i2c: E2 [14:50:16]MH_I2C_Read... [14:50:16]Read from MH i2c: E2 CC 00 [14:50:16]MH_I2C_Read... [14:50:16]Read from MH i2c: E2 CC 00 E7 25 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6D [14:50:16]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [14:50:16]wFMCommunicate OK [14:50:16]SAM_PROTO_GetShiftData done [14:50:16]requested_item shift.sale.total_cash is exist - process it [14:50:16]requested_item shift.sale_refund.total is exist - process it [14:50:16]requested_item shift.sale_refund.total_cash is exist - process it [14:50:16]requested_item shift.buy.total is exist - process it [14:50:16]requested_item shift.buy.total_cash is exist - process it [14:50:16]produce_requested_data done [14:50:16]produce_requested_data return {"fm.sale.total":6185635.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":27635.63,"shift.sale.total_cash":24336.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} [14:50:16]process_action_free get_value [14:50:16]json_value_free [14:50:16]json_value_free done [14:50:16]process_json_proto returns [14:50:16]Send response to host [14:50:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6185635.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":27635.63,"shift.sale.total_cash":24336.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}}} [14:50:16]free response buf [14:50:16]execute_script done [14:50:16]execute_script returns [14:50:16]free content buf [14:50:16]Sock 8.Close socket [14:50:16]Sock 8.Thread stoped [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:19]OFD Sender: No OFD packet to send [14:51:24]OFD Sender: No OFD packet to send [14:51:29]OFD Sender: No OFD packet to send [14:51:34]OFD Sender: No OFD packet to send [14:51:39]OFD Sender: No OFD packet to send [14:51:44]OFD Sender: No OFD packet to send [14:51:49]OFD Sender: No OFD packet to send [14:51:54]OFD Sender: No OFD packet to send [14:51:59]OFD Sender: No OFD packet to send [14:52:04]OFD Sender: No OFD packet to send [14:52:09]OFD Sender: No OFD packet to send [14:52:14]OFD Sender: No OFD packet to send [14:52:19]OFD Sender: No OFD packet to send [14:52:24]OFD Sender: No OFD packet to send [14:52:29]OFD Sender: No OFD packet to send [14:52:34]OFD Sender: No OFD packet to send [14:52:39]OFD Sender: No OFD packet to send [14:52:44]OFD Sender: No OFD packet to send [14:52:49]OFD Sender: No OFD packet to send [14:52:54]OFD Sender: No OFD packet to send [14:52:59]OFD Sender: No OFD packet to send [14:53:04]OFD Sender: No OFD packet to send [14:53:09]OFD Sender: No OFD packet to send [14:53:14]OFD Sender: No OFD packet to send [14:53:19]OFD Sender: No OFD packet to send [14:53:24]OFD Sender: No OFD packet to send [14:53:29]OFD Sender: No OFD packet to send [14:53:34]OFD Sender: No OFD packet to send [14:53:39]OFD Sender: No OFD packet to send [14:53:44]OFD Sender: No OFD packet to send [14:53:49]OFD Sender: No OFD packet to send [14:53:54]OFD Sender: No OFD packet to send [14:53:59]OFD Sender: No OFD packet to send [14:54:04]OFD Sender: No OFD packet to send [14:54:09]OFD Sender: No OFD packet to send [14:54:14]OFD Sender: No OFD packet to send [14:54:19]OFD Sender: No OFD packet to send [14:54:24]OFD Sender: No OFD packet to send [14:54:29]OFD Sender: No OFD packet to send [14:54:34]OFD Sender: No OFD packet to send [14:54:39]OFD Sender: No OFD packet to send [14:54:44]OFD Sender: No OFD packet to send [14:54:49]OFD Sender: No OFD packet to send [14:54:54]OFD Sender: No OFD packet to send [14:54:59]OFD Sender: No OFD packet to send [14:55:04]OFD Sender: No OFD packet to send [14:55:09]OFD Sender: No OFD packet to send [14:55:14]OFD Sender: No OFD packet to send [14:55:19]OFD Sender: No OFD packet to send [14:55:24]OFD Sender: No OFD packet to send [14:55:29]OFD Sender: No OFD packet to send [14:55:34]OFD Sender: No OFD packet to send [14:55:39]OFD Sender: No OFD packet to send [14:55:44]OFD Sender: No OFD packet to send [14:55:49]OFD Sender: No OFD packet to send [14:55:54]OFD Sender: No OFD packet to send [14:55:59]OFD Sender: No OFD packet to send [14:56:04]OFD Sender: No OFD packet to send [14:56:09]OFD Sender: No OFD packet to send [14:56:14]OFD Sender: No OFD packet to send [14:56:19]OFD Sender: No OFD packet to send [14:56:24]OFD Sender: No OFD packet to send [14:56:29]OFD Sender: No OFD packet to send [14:56:34]OFD Sender: No OFD packet to send [14:56:39]OFD Sender: No OFD packet to send [14:56:44]OFD Sender: No OFD packet to send [14:56:49]OFD Sender: No OFD packet to send [14:56:54]OFD Sender: No OFD packet to send [14:56:59]OFD Sender: No OFD packet to send [14:57:04]OFD Sender: No OFD packet to send [14:57:09]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:14]OFD Sender: No OFD packet to send [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:55]accept exits with 9 [15:00:55]New connection [15:00:55]New thread 3067321700 created [15:00:55]Thread 3067178340 joined [15:00:55]Waiting for new connection... [15:00:55] Sock 9.Parse request [15:00:55]Sock 9.Check first char [15:00:55]Sock 9.First char is OK [15:00:55]request: POST /json_proto HTTP/1.0 [15:00:55]Method: POST [15:00:55]URL: /json_proto [15:00:55]Method is POST - this is cgi request [15:00:55]url: /json_proto [15:00:55]query_string will be loaded in cgi processing [15:00:55]execute_cgi json_proto POST (null) [15:00:55]execute_cgi path=json_proto method=POST [15:00:55]POST find Content-Length [15:00:55]Host: 172.17.35.133:8080 [15:00:55]Content-Length: 678 [15:00:55]Content-Type: application/json [15:00:55] [15:00:55]POST finish read [15:00:55]Found Content-Length = 678 [15:00:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254282", "tax_sys" : 0, "items" : [ { "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" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:00:55]execute_script... [15:00: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)254282", "tax_sys" : 0, "items" : [ { "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" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:00:55]POST & json_proto [15:00:55]process_json_proto [15:00:55]json parsed OK: [15:00:55]protocol is kg_v1.0 [15:00:55]action value=close_receipt [15:00:55]process_action close_receipt [15:00:55]cmd_close_receipt [15:00:55]MH_GetDate [15:00:55]Write to MH i2c: F0 00 00 E8 25 FC [15:00:55]Write i2c OK [15:00:55]MH_I2C_Read... [15:00:55]Read from MH i2c: F0 [15:00:55]MH_I2C_Read... [15:00:55]Read from MH i2c: F0 09 00 [15:00:55]MH_I2C_Read... [15:00:55]Read from MH i2c: F0 09 00 E8 25 00 B0 09 6B 66 8C 55 28 65 FD [15:00:55]GetLastDocTimeStamp 1718289339 [15:00:55]current date 1718290864 [15:00:55]FM_GetShiftState [15:00:55]SAM_PROTO_GetShiftState [15:00:55]wFMCommunicate request_size=4 [15:00:55]MH_SAM_APDU [15:00:55]CAPDU: 80 13 01 00 [15:00:55]Write to MH i2c: E2 08 00 E9 25 80 13 01 00 00 00 00 00 8B [15:00:55]Write i2c OK [15:00:55]MH_I2C_Read... [15:00:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:00:55]Read from MH i2c: E2 [15:00:55]MH_I2C_Read... [15:00:55]Read from MH i2c: E2 0E 00 [15:00:55]MH_I2C_Read... [15:00:55]Read from MH i2c: E2 0E 00 E9 25 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 A9 [15:00:55]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:00:55]wFMCommunicate OK [15:00:55]SAM_PROTO_GetShiftState done [15:00:55]FM_GetShiftState done [15:00:55]opened in 1718237959 [15:00:55]opened+sec_in_day 1718324359 [15:00:55]quantity*price = 11000 [15:00:55]sum+1 = 11001 [15:00:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 35 13.06.2024 15:01 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22055 ФПД: 214653417751495 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T150104&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22055&fm=214653417751495&tin=02508201610067®Number=0000000000099755&sum=11000 0 [15:00:56]StoreToDocumentArchive [15:00:56]shift 324 fd 22055 [15:00:56]save to /storage/0324/doc_00022055 [15:00:56]save last doc name /storage/0324/doc_00022055 to /storage/kkm_last_doc_name [15:00:56]save OK [15:00:56]Clear old archive folders... [15:00:56]ProcessDocumentItem done err = 0, tmpTLVsize=294 [15:00:56]tlvbuf is 00297310 [15:00:56]SAM_PROTO_ClearQueue [15:00:56]wFMCommunicate request_size=4 [15:00:56]MH_SAM_APDU [15:00:56]CAPDU: 80 09 00 00 [15:00:56]Write to MH i2c: E2 08 00 F6 25 80 09 00 00 00 00 00 00 8D [15:00:56]Write i2c OK [15:00:56]MH_I2C_Read... [15:00:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:00:56]Read from MH i2c: E2 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 03 00 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 03 00 F6 25 00 90 00 8F [15:00:56]RAPDU: 90 00 [15:00:56]wFMCommunicate OK [15:00:56]SAM_PROTO_ClearQueue done [15:00:56]KKMCreateOFDPacket [15:00:56]OFDProtocolAddRootSTLVToBuf [15:00:56]FM_MakeSignedData [15:00:56]FM_MakeSignedData [15:00:56]SAM_PROTO_SignData [15:00:56]wFMCommunicate request_size=4 [15:00:56]MH_SAM_APDU [15:00:56]CAPDU: 80 0D 01 02 [15:00:56]Write to MH i2c: E2 08 00 F7 25 80 0D 01 02 00 00 00 00 95 [15:00:56]Write i2c OK [15:00:56]MH_I2C_Read... [15:00:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:00:56]Read from MH i2c: E2 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 03 00 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 03 00 F7 25 00 90 00 90 [15:00:56]RAPDU: 90 00 [15:00:56]wFMCommunicate OK [15:00:56]wFMCommunicate request_size=255 [15:00:56]MH_SAM_APDU [15:00:56]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 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 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 23 00 00 00 F4 03 04 00 B0 09 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [15:00:56]Write to MH i2c: E2 02 01 F8 25 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 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 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 23 00 00 00 F4 03 04 00 B0 09 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 67 [15:00:56]Write i2c OK [15:00:56]MH_I2C_Read... [15:00:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:00:56]Read from MH i2c: E2 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 03 00 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 03 00 F8 25 00 90 00 91 [15:00:56]RAPDU: 90 00 [15:00:56]wFMCommunicate OK [15:00:56]wFMCommunicate request_size=53 [15:00:56]MH_SAM_APDU [15:00:56]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 27 56 00 00 35 04 06 00 C3 39 E4 B7 03 C7 [15:00:56]Write to MH i2c: E2 38 00 F9 25 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 27 56 00 00 35 04 06 00 C3 39 E4 B7 03 C7 00 00 74 [15:00:56]Write i2c OK [15:00:56]MH_I2C_Read... [15:00:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:00:56]Read from MH i2c: E2 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 03 00 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 03 00 F9 25 00 90 00 92 [15:00:56]RAPDU: 90 00 [15:00:56]wFMCommunicate OK [15:00:56]wFMCommunicate request_size=4 [15:00:56]MH_SAM_APDU [15:00:56]CAPDU: 80 0D 03 02 [15:00:56]Write to MH i2c: E2 08 00 FA 25 80 0D 03 02 00 00 00 00 9A [15:00:56]Write i2c OK [15:00:56]MH_I2C_Read... [15:00:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:00:56]Read from MH i2c: E2 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 0B 00 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 0B 00 FA 25 00 77 CB E2 94 B0 CC 54 C3 90 00 E6 [15:00:56]RAPDU: 77 CB E2 94 B0 CC 54 C3 90 00 [15:00:56]wFMCommunicate OK [15:00:56]SAM_PROTO_SignData done [15:00:56]FM_MakeSignedData done [15:00:56]CreateOFDProtocolMessage [15:00:56]wFMCommunicate request_size=4 [15:00:56]MH_SAM_APDU [15:00:56]CAPDU: 80 11 00 00 [15:00:56]Write to MH i2c: E2 08 00 FB 25 80 11 00 00 00 00 00 00 9A [15:00:56]Write i2c OK [15:00:56]MH_I2C_Read... [15:00:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:00:56]Read from MH i2c: E2 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 17 00 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: E2 17 00 FB 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EC [15:00:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:00:56]wFMCommunicate OK [15:00:56]CreateOFDProtocolMessage done [15:00:56]OFDSenderStorePacket 22055 [15:00:56]StoreOFDPacket docnum=22055 [15:00: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 3A 01 00 00 8A 61 32 01 36 B5 5A 03 01 00 03 00 26 01 1E 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 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 23 00 00 00 F4 03 04 00 B0 09 6B 66 0E 04 04 00 44 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 27 56 00 00 35 04 06 00 C3 39 E4 B7 03 C7 77 CB E2 94 B0 CC 54 C3 [15:00:56]CheckFolder [15:00:56]dirname=/storage/ofd_packets [15:00:56]CheckFolder done [15:00:56]ProducePacketName [15:00:56]name=ofd_packets/00022055 [15:00:56]NVStorageSaveData ofd_packets/00022055 [15:00:56]File name is /storage/ofd_packets/00022055 [15:00:56]Write 344 bytes [15:00:56]NVStorageSaveData done [15:00:56]OFDSenderStorePacket done [15:00:56]KKMCreateOFDPacket done [15:00:56]NVStorageSaveData kkm_last_timestamp [15:00:56]File name is /storage/kkm_last_timestamp [15:00:56]Write 4 bytes [15:00:56]NVStorageSaveData done [15:00:56]ExternCall_PrintAddStr [15:00:56]wPrintStart [15:00:56]Write to MH i2c: 01 00 00 FC 25 21 [15:00:56]OFD Sender: Processing packet 22055 [packets to send 5, broken 4] [15:00:56]ProducePacketName [15:00:56]name=ofd_packets/00022055 [15:00:56]OFD Sender: To server: pG, [15:00:56]CommunicateWithHost lk.salyk.kg:30040 [15:00:56]ConnectInit lk.salyk.kg [15:00:56]Write i2c OK [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: 01 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: 01 07 00 [15:00:56]MH_I2C_Read... [15:00:56]Read from MH i2c: 01 07 00 FC 25 00 00 00 00 00 FF 0F 36 [15:00:57]RasterBufferAndPrint [15:00:57]line Счет N : (3)254282 [15:00:57]line ИНН: 02508201610067 [15:00:57]line Контрольно-Кассовый Чек [15:00:57]line ПРОДАЖА [15:00:57]line Товар: 4650243871828 [15:00:57]line Gorilla эн нап манго-кокос 0,45 ж/б [15:00:57]line 1.000 * 110.00 [15:00:57]line = 110.00 [15:00:57]line НДС 12% НСП 1% [15:00:57]line > о реализуемом товаре [15:00:57]line ИТОГО: 110.00 [15:00:57]line НСП 1% : 0.97 [15:00:57]line НДС 12% : 11.68 [15:00:57]line Наличными: 110.00 [15:00:57]line Безнал.: 0.00 [15:00:57]line Место: АЗС № 76 "Партнер Нефть" [15:00:57]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:00:57]line СНО: Общий режим [15:00:57]line Чек 35 13.06.2024 15:01 [15:00:57]line Смена: 324 ФФД: 1.0 [15:00:57]line ЗНМ: 0300000200 [15:00:57]line РНМ: 0000000000099755 [15:00:57]line Версия ККМ: 001 [15:00:57]line ФМ: 0000000000965344 [15:00:57]line ФД: 22055 [15:00:57]line ФПД: 214653417751495 [15:00:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T150104&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22055&fm=214653417751495&tin=02508201610067®Number=0000000000099755&sum=11000 [15:00:57]line 0 [15:00:57]Connected sock=10 [15:00: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 3A 01 00 00 8A 61 32 01 36 B5 5A 03 01 00 03 00 26 01 1E 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 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 23 00 00 00 F4 03 04 00 B0 09 6B 66 0E 04 04 00 44 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 27 56 00 00 35 04 06 00 C3 39 E4 B7 03 written 0, free lines is 4095 [15:00:57]C7 77 CB E2 94 B0 CC 54 C3 [15:00: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 36 30 47 00 F5 88 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 27 56 00 00 F4 03 04 00 73 B2 6A 66 B6 04 01 00 00 75 DD B1 D4 D1 6F 9C 87 [15:00:57]CommunicateWithHost err = 0 [15:00:57]CheckOFDResponse [15:00:57]1017 (14) - 77093643461234 [15:00:57]1041 (16) - 0000000000965344 [15:00:57]1040 (4) - 22055 [15:00:57]1012 (4) - 13.06.2024 08:48 [15:00:57]1206 (1) - 0 [15:00:57]OFD Sender: Remove packet 22055 [15:00:57]ProducePacketName [15:00:57]name=ofd_packets/00022055 [15:00:57]NVStorageDeleteData [15:00:57]Write to MH i2c: 01 00 00 25 26 4B [15:00:57]Write i2c OK [15:00:57]MH_I2C_Read... [15:00:57]Read from MH i2c: 01 [15:00:57]MH_I2C_Read... [15:00:57]Read from MH i2c: 01 07 00 [15:00:57]MH_I2C_Read... [15:00:57]Read from MH i2c: 01 07 00 25 26 00 00 00 00 00 07 0D 66 [15:00:57]RasterBufferAndPrint [15:00:57]line [15:00:57]line [15:00:57]line [15:00:57]line [15:00:57]line [15:00:57]written 0, free lines is 3344 [15:00:57]MH_Cut [15:00:57]Write to MH i2c: D1 01 00 2C 26 01 24 [15:00:57]Write i2c OK [15:00:57]MH_I2C_Read... [15:00:57]Read from MH i2c: D1 [15:00:57]MH_I2C_Read... [15:00:57]Read from MH i2c: D1 01 00 [15:00:57]MH_I2C_Read... [15:00:57]Read from MH i2c: D1 01 00 2C 26 00 23 [15:00:57]Write to MH i2c: 01 00 00 2D 26 53 [15:00:57]Write i2c OK [15:00:57]MH_I2C_Read... [15:00:58]OFD Sender: No OFD packet to send [15:00:58]*** Cut start [15:00:58]*** Partial cut [15:00:58]*** CUTSNS_PIN = 1 [15:00:58]*** CUTSNS_PIN = 0 [15:00:58]*** Brake cut motor [15:00:59]Read from MH i2c: 01 [15:00:59]MH_I2C_Read... [15:00:59]*** Stop cut motor [15:00:59]*** Cut end [15:00:59]Read from MH i2c: 01 07 00 [15:00:59]MH_I2C_Read... [15:00:59]Read from MH i2c: 01 07 00 2D 26 00 00 00 00 00 FF 0F 68 [15:00:59]process_action close_receipt done [15:00:59]requested_data is exist [15:00:59]produce_requested_data [15:00:59]requested_item fm.sn is exist - process it [15:00:59]wFMCommunicate request_size=4 [15:00:59]MH_SAM_APDU [15:00:59]CAPDU: 80 11 00 00 [15:00:59]Write to MH i2c: E2 08 00 2E 26 80 11 00 00 00 00 00 00 CE [15:00:59]Write i2c OK [15:00:59]MH_I2C_Read... [15:00:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:00:59]Read from MH i2c: E2 [15:00:59]MH_I2C_Read... [15:00:59]Read from MH i2c: E2 17 00 [15:00:59]MH_I2C_Read... [15:00:59]Read from MH i2c: E2 17 00 2E 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 20 [15:00: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:00:59]wFMCommunicate OK [15:00:59]requested_item fd.num is exist - process it [15:00:59]SAM_PROTO_GetFieldsCounters [15:00:59]wFMCommunicate request_size=4 [15:00:59]MH_SAM_APDU [15:00:59]CAPDU: 80 13 00 00 [15:00:59]Write to MH i2c: E2 08 00 2F 26 80 13 00 00 00 00 00 00 D1 [15:00:59]Write i2c OK [15:00:59]MH_I2C_Read... [15:00:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:00:59]Read from MH i2c: E2 [15:00:59]MH_I2C_Read... [15:00:59]Read from MH i2c: E2 62 00 [15:00:59]MH_I2C_Read... [15:00:59]Read from MH i2c: E2 62 00 2F 26 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 27 56 00 00 0E 04 04 00 44 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 26 [15:00: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 27 56 00 00 0E 04 04 00 44 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 [15:00:59]wFMCommunicate OK [15:00:59]SAM_PROTO_GetFieldsCounters done [15:00:59]requested_item shift.num is exist - process it [15:00:59]requested_item shift.opened is exist - process it [15:00:59]req_shift_opened [15:00:59]FM_GetShiftState [15:00:59]SAM_PROTO_GetShiftState [15:00:59]wFMCommunicate request_size=4 [15:00:59]MH_SAM_APDU [15:00:59]CAPDU: 80 13 01 00 [15:00:59]Write to MH i2c: E2 08 00 30 26 80 13 01 00 00 00 00 00 D3 [15:00:59]Write i2c OK [15:00:59]MH_I2C_Read... [15:00:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:00:59]Read from MH i2c: E2 [15:00:59]MH_I2C_Read... [15:00:59]Read from MH i2c: E2 0E 00 [15:00:59]MH_I2C_Read... [15:00:59]Read from MH i2c: E2 0E 00 30 26 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 F1 [15:00:59]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:00:59]wFMCommunicate OK [15:00:59]SAM_PROTO_GetShiftState done [15:00:59]FM_GetShiftState done [15:00:59]req_shift_opened done [15:00:59]requested_item shift.open_date is exist - process it [15:00:59]req_shift_open_date [15:00:59]req_shift_open_date done [15:00:59]produce_requested_data done [15:00:59]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22055,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [15:00:59]process_action_free close_receipt [15:00:59]json_value_free [15:00:59]json_value_free done [15:00:59]process_json_proto returns [15:00:59]Send response to host [15:00:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22055,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [15:00:59]free response buf [15:00:59]execute_script done [15:00:59]execute_script returns [15:00:59]free content buf [15:00:59]Sock 9.Close socket [15:00:59]Sock 9.Thread stoped [15:01:03]OFD Sender: No OFD packet to send [15:01:08]OFD Sender: No OFD packet to send [15:01:13]OFD Sender: No OFD packet to send [15:01:18]OFD Sender: No OFD packet to send [15:01:23]OFD Sender: No OFD packet to send [15:01:28]OFD Sender: No OFD packet to send [15:01:33]OFD Sender: No OFD packet to send [15:01:38]OFD Sender: No OFD packet to send [15:01:43]OFD Sender: No OFD packet to send [15:01:48]OFD Sender: No OFD packet to send [15:01:53]OFD Sender: No OFD packet to send [15:01:58]OFD Sender: No OFD packet to send [15:02:03]OFD Sender: No OFD packet to send [15:02:04]accept exits with 8 [15:02:04]New connection [15:02:04]New thread 3067178340 created [15:02:04]Thread 3067321700 joined [15:02:04]Waiting for new connection... [15:02:04] Sock 8.Parse request [15:02:04]Sock 8.Check first char [15:02:04]Sock 8.First char is OK [15:02:04]request: POST /json_proto HTTP/1.0 [15:02:04]Method: POST [15:02:04]URL: /json_proto [15:02:04]Method is POST - this is cgi request [15:02:04]url: /json_proto [15:02:04]query_string will be loaded in cgi processing [15:02:04]execute_cgi json_proto POST (null) [15:02:04]execute_cgi path=json_proto method=POST [15:02:04]POST find Content-Length [15:02:04]Host: 172.17.35.133:8080 [15:02:04]Content-Length: 700 [15:02:04]Content-Type: application/json [15:02:04] [15:02:04]POST finish read [15:02:04]Found Content-Length = 700 [15:02:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254283", "tax_sys" : 0, "items" : [ { "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" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:02:04]execute_script... [15:02: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)254283", "tax_sys" : 0, "items" : [ { "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" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:02:04]POST & json_proto [15:02:04]process_json_proto [15:02:04]json parsed OK: [15:02:04]protocol is kg_v1.0 [15:02:04]action value=close_receipt [15:02:04]process_action close_receipt [15:02:04]cmd_close_receipt [15:02:04]MH_GetDate [15:02:04]Write to MH i2c: F0 00 00 31 26 46 [15:02:04]Write i2c OK [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: F0 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: F0 09 00 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: F0 09 00 31 26 00 F5 09 6B 66 8C 55 28 65 8C [15:02:04]GetLastDocTimeStamp 1718290864 [15:02:04]current date 1718290933 [15:02:04]FM_GetShiftState [15:02:04]SAM_PROTO_GetShiftState [15:02:04]wFMCommunicate request_size=4 [15:02:04]MH_SAM_APDU [15:02:04]CAPDU: 80 13 01 00 [15:02:04]Write to MH i2c: E2 08 00 32 26 80 13 01 00 00 00 00 00 D5 [15:02:04]Write i2c OK [15:02:04]MH_I2C_Read... [15:02:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:02:04]Read from MH i2c: E2 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 0E 00 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 0E 00 32 26 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 F3 [15:02:04]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:02:04]wFMCommunicate OK [15:02:04]SAM_PROTO_GetShiftState done [15:02:04]FM_GetShiftState done [15:02:04]opened in 1718237959 [15:02:04]opened+sec_in_day 1718324359 [15:02:04]quantity*price = 9500 [15:02:04]sum+1 = 9501 [15:02:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 36 13.06.2024 15:02 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22056 ФПД: 115389213084249 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T150213&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22056&fm=115389213084249&tin=02508201610067®Number=0000000000099755&sum=9500 0 [15:02:05]StoreToDocumentArchive [15:02:05]shift 324 fd 22056 [15:02:05]save to /storage/0324/doc_00022056 [15:02:05]save last doc name /storage/0324/doc_00022056 to /storage/kkm_last_doc_name [15:02:05]save OK [15:02:05]Clear old archive folders... [15:02:05]ProcessDocumentItem done err = 0, tmpTLVsize=303 [15:02:05]tlvbuf is 003C9D90 [15:02:05]SAM_PROTO_ClearQueue [15:02:05]wFMCommunicate request_size=4 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 09 00 00 [15:02:05]Write to MH i2c: E2 08 00 3F 26 80 09 00 00 00 00 00 00 D7 [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:02:05]Read from MH i2c: E2 03 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 3F 26 00 90 00 D9 [15:02:05]RAPDU: 90 00 [15:02:05]wFMCommunicate OK [15:02:05]SAM_PROTO_ClearQueue done [15:02:05]KKMCreateOFDPacket [15:02:05]OFDProtocolAddRootSTLVToBuf [15:02:05]FM_MakeSignedData [15:02:05]FM_MakeSignedData [15:02:05]SAM_PROTO_SignData [15:02:05]wFMCommunicate request_size=4 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 0D 01 02 [15:02:05]Write to MH i2c: E2 08 00 40 26 80 0D 01 02 00 00 00 00 DF [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 40 26 00 90 00 DA [15:02:05]RAPDU: 90 00 [15:02:05]wFMCommunicate OK [15:02:05]wFMCommunicate request_size=255 [15:02:05]MH_SAM_APDU [15:02: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 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 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 24 00 00 00 F4 03 04 00 F5 09 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D [15:02:05]Write to MH i2c: E2 02 01 41 26 80 0D 02 02 FA 00 03 00 2F 01 1E 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 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 24 00 00 00 F4 03 04 00 F5 09 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 00 00 8F [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 41 26 00 90 00 DB [15:02:05]RAPDU: 90 00 [15:02:05]wFMCommunicate OK [15:02:05]wFMCommunicate request_size=62 [15:02:05]MH_SAM_APDU [15:02: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 28 56 00 00 35 04 06 00 68 F2 25 0E 8A 59 [15:02:05]Write to MH i2c: E2 41 00 42 26 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 28 56 00 00 35 04 06 00 68 F2 25 0E 8A 59 00 00 14 [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 42 26 00 90 00 DC [15:02:05]RAPDU: 90 00 [15:02:05]wFMCommunicate OK [15:02:05]wFMCommunicate request_size=4 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 0D 03 02 [15:02:05]Write to MH i2c: E2 08 00 43 26 80 0D 03 02 00 00 00 00 E4 [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 0B 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 0B 00 43 26 00 9A DD D5 A1 3D 8A 42 F2 90 00 CD [15:02:05]RAPDU: 9A DD D5 A1 3D 8A 42 F2 90 00 [15:02:05]wFMCommunicate OK [15:02:05]SAM_PROTO_SignData done [15:02:05]FM_MakeSignedData done [15:02:05]CreateOFDProtocolMessage [15:02:05]wFMCommunicate request_size=4 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 11 00 00 [15:02:05]Write to MH i2c: E2 08 00 44 26 80 11 00 00 00 00 00 00 E4 [15:02:06]Write i2c OK [15:02:06]MH_I2C_Read... [15:02:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:02:06]Read from MH i2c: E2 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 17 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 17 00 44 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 36 [15:02:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:02:06]wFMCommunicate OK [15:02:06]CreateOFDProtocolMessage done [15:02:06]OFDSenderStorePacket 22056 [15:02:06]StoreOFDPacket docnum=22056 [15:02: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 D2 3B 01 44 0A 5A 03 01 00 03 00 2F 01 1E 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 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 24 00 00 00 F4 03 04 00 F5 09 6B 66 0E 04 04 00 44 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 28 56 00 00 35 04 06 00 68 F2 25 0E 8A 59 9A DD D5 A1 3D 8A 42 F2 [15:02:06]CheckFolder [15:02:06]dirname=/storage/ofd_packets [15:02:06]CheckFolder done [15:02:06]ProducePacketName [15:02:06]name=ofd_packets/00022056 [15:02:06]NVStorageSaveData ofd_packets/00022056 [15:02:06]File name is /storage/ofd_packets/00022056 [15:02:06]Write 353 bytes [15:02:06]NVStorageSaveData done [15:02:06]OFDSenderStorePacket done [15:02:06]KKMCreateOFDPacket done [15:02:06]NVStorageSaveData kkm_last_timestamp [15:02:06]File name is /storage/kkm_last_timestamp [15:02:06]Write 4 bytes [15:02:06]NVStorageSaveData done [15:02:06]ExternCall_PrintAddStr [15:02:06]wPrintStart [15:02:06]Write to MH i2c: 01 00 00 45 26 6B [15:02:06]Write i2c OK [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 07 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 07 00 45 26 00 00 00 00 00 FF 0F 80 [15:02:06]RasterBufferAndPrint [15:02:06]line Счет N : (3)254283 [15:02:06]line ИНН: 02508201610067 [15:02:06]line Контрольно-Кассовый Чек [15:02:06]line ПРОДАЖА [15:02:06]line Товар: 4700000482757 [15:02:06]line Напиток Nitro Fr газ манг,клуб ж/б 0,45л [15:02:06]line 1.000 * 95.00 [15:02:06]line = 95.00 [15:02:06]line НДС 12% НСП 1% [15:02:06]line > о реализуемом товаре [15:02:06]line ИТОГО: 95.00 [15:02:06]line НСП 1% : 0.84 [15:02:06]line НДС 12% : 10.09 [15:02:06]line Наличными: 95.00 [15:02:06]line Безнал.: 0.00 [15:02:06]line Место: АЗС № 76 "Партнер Нефть" [15:02:06]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:02:06]line СНО: Общий режим [15:02:06]line Чек 36 13.06.2024 15:02 [15:02:06]line Смена: 324 ФФД: 1.0 [15:02:06]line ЗНМ: 0300000200 [15:02:06]line РНМ: 0000000000099755 [15:02:06]line Версия ККМ: 001 [15:02:06]line ФМ: 0000000000965344 [15:02:06]line ФД: 22056 [15:02:06]line ФПД: 115389213084249 [15:02:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T150213&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22056&fm=115389213084249&tin=02508201610067®Number=0000000000099755&sum=9500 [15:02:06]line 0 [15:02:06]OFD Sender: Processing packet 22056 [packets to send 5, broken 4] [15:02:06]ProducePacketName [15:02:06]name=ofd_packets/00022056 [15:02:06]OFD Sender: To server: pG, [15:02:06]CommunicateWithHost lk.salyk.kg:30040 [15:02:06]ConnectInit lk.salyk.kg [15:02:06]written 0, free lines is 4095 [15:02:06]Connected sock=10 [15:02: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 D2 3B 01 44 0A 5A 03 01 00 03 00 2F 01 1E 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 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 24 00 00 00 F4 03 04 00 F5 09 6B 66 0E 04 04 00 44 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 28 56 00 00 35 04 06 00 68 F2 25 0E 8A 59 9A DD D5 A1 3D 8A 42 F2 [15:02: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 39 42 47 00 B8 36 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 28 56 00 00 F4 03 04 00 B8 B2 6A 66 B6 04 01 00 00 83 8A 1D 2E F8 01 D9 7C [15:02:06]CommunicateWithHost err = 0 [15:02:06]CheckOFDResponse [15:02:06]1017 (14) - 77093643461234 [15:02:06]1041 (16) - 0000000000965344 [15:02:06]1040 (4) - 22056 [15:02:06]1012 (4) - 13.06.2024 08:50 [15:02:06]1206 (1) - 0 [15:02:06]OFD Sender: Remove packet 22056 [15:02:06]ProducePacketName [15:02:06]name=ofd_packets/00022056 [15:02:06]NVStorageDeleteData [15:02:06]Write to MH i2c: 01 00 00 6E 26 94 [15:02:06]Write i2c OK [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 07 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 07 00 6E 26 00 00 00 00 00 0C 0D B4 [15:02:06]RasterBufferAndPrint [15:02:06]line [15:02:06]line [15:02:06]line [15:02:06]line [15:02:06]line [15:02:06]written 0, free lines is 3349 [15:02:06]MH_Cut [15:02:06]Write to MH i2c: D1 01 00 75 26 01 6D [15:02:06]Write i2c OK [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: D1 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: D1 01 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: D1 01 00 75 26 00 6C [15:02:06]Write to MH i2c: 01 00 00 76 26 9C [15:02:06]Write i2c OK [15:02:06]MH_I2C_Read... [15:02:07]OFD Sender: No OFD packet to send [15:02:07]*** Cut start [15:02:07]*** Partial cut [15:02:07]*** CUTSNS_PIN = 1 [15:02:07]*** CUTSNS_PIN = 0 [15:02:07]*** Brake cut motor [15:02:08]Read from MH i2c: 01 [15:02:08]MH_I2C_Read... [15:02:08]*** Stop cut motor [15:02:08]*** Cut end [15:02:08]Read from MH i2c: 01 07 00 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: 01 07 00 76 26 00 00 00 00 00 FF 0F B1 [15:02:08]process_action close_receipt done [15:02:08]requested_data is exist [15:02:08]produce_requested_data [15:02:08]requested_item fm.sn is exist - process it [15:02:08]wFMCommunicate request_size=4 [15:02:08]MH_SAM_APDU [15:02:08]CAPDU: 80 11 00 00 [15:02:08]Write to MH i2c: E2 08 00 77 26 80 11 00 00 00 00 00 00 17 [15:02:08]Write i2c OK [15:02:08]MH_I2C_Read... [15:02:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:02:08]Read from MH i2c: E2 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 17 00 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 17 00 77 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 69 [15:02:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:02:08]wFMCommunicate OK [15:02:08]requested_item fd.num is exist - process it [15:02:08]SAM_PROTO_GetFieldsCounters [15:02:08]wFMCommunicate request_size=4 [15:02:08]MH_SAM_APDU [15:02:08]CAPDU: 80 13 00 00 [15:02:08]Write to MH i2c: E2 08 00 78 26 80 13 00 00 00 00 00 00 1A [15:02:08]Write i2c OK [15:02:08]MH_I2C_Read... [15:02:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:02:08]Read from MH i2c: E2 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 62 00 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 62 00 78 26 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 28 56 00 00 0E 04 04 00 44 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 73 [15:02: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 28 56 00 00 0E 04 04 00 44 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 [15:02:08]wFMCommunicate OK [15:02:08]SAM_PROTO_GetFieldsCounters done [15:02:08]requested_item shift.num is exist - process it [15:02:08]requested_item shift.opened is exist - process it [15:02:08]req_shift_opened [15:02:08]FM_GetShiftState [15:02:08]SAM_PROTO_GetShiftState [15:02:08]wFMCommunicate request_size=4 [15:02:08]MH_SAM_APDU [15:02:08]CAPDU: 80 13 01 00 [15:02:08]Write to MH i2c: E2 08 00 79 26 80 13 01 00 00 00 00 00 1C [15:02:08]Write i2c OK [15:02:08]MH_I2C_Read... [15:02:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:02:08]Read from MH i2c: E2 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 0E 00 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 0E 00 79 26 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 3A [15:02:08]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:02:08]wFMCommunicate OK [15:02:08]SAM_PROTO_GetShiftState done [15:02:08]FM_GetShiftState done [15:02:08]req_shift_opened done [15:02:08]requested_item shift.open_date is exist - process it [15:02:08]req_shift_open_date [15:02:08]req_shift_open_date done [15:02:08]produce_requested_data done [15:02:08]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22056,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [15:02:08]process_action_free close_receipt [15:02:08]json_value_free [15:02:08]json_value_free done [15:02:08]process_json_proto returns [15:02:08]Send response to host [15:02:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22056,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [15:02:08]free response buf [15:02:08]execute_script done [15:02:08]execute_script returns [15:02:08]free content buf [15:02:08]Sock 8.Close socket [15:02:08]Sock 8.Thread stoped [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:17]OFD Sender: No OFD packet to send [15:06:22]OFD Sender: No OFD packet to send [15:06:27]OFD Sender: No OFD packet to send [15:06:32]OFD Sender: No OFD packet to send [15:06:37]OFD Sender: No OFD packet to send [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]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]accept exits with 9 [15:10:07]New connection [15:10:07]New thread 3067321700 created [15:10:07]Thread 3067178340 joined [15:10:07]Waiting for new connection... [15:10:07] Sock 9.Parse request [15:10:07]Sock 9.Check first char [15:10:07]Sock 9.First char is OK [15:10:07]request: POST /json_proto HTTP/1.0 [15:10:07]Method: POST [15:10:07]URL: /json_proto [15:10:07]Method is POST - this is cgi request [15:10:07]url: /json_proto [15:10:07]query_string will be loaded in cgi processing [15:10:07]execute_cgi json_proto POST (null) [15:10:07]execute_cgi path=json_proto method=POST [15:10:07]POST find Content-Length [15:10:07]Host: 172.17.35.133:8080 [15:10:07]Content-Length: 663 [15:10:07]Content-Type: application/json [15:10:07] [15:10:07]POST finish read [15:10:07]Found Content-Length = 663 [15:10:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254284", "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 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:10:07]execute_script... [15:10: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)254284", "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 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:10:07]POST & json_proto [15:10:07]process_json_proto [15:10:07]json parsed OK: [15:10:07]protocol is kg_v1.0 [15:10:07]action value=close_receipt [15:10:07]process_action close_receipt [15:10:07]cmd_close_receipt [15:10:07]MH_GetDate [15:10:07]Write to MH i2c: F0 00 00 7A 26 8F [15:10:07]Write i2c OK [15:10:07]MH_I2C_Read... [15:10:07]Read from MH i2c: F0 [15:10:07]MH_I2C_Read... [15:10:07]Read from MH i2c: F0 09 00 [15:10:07]MH_I2C_Read... [15:10:07]Read from MH i2c: F0 09 00 7A 26 00 D8 0B 6B 66 8C 55 28 65 BA [15:10:07]GetLastDocTimeStamp 1718290933 [15:10:07]current date 1718291416 [15:10:07]FM_GetShiftState [15:10:07]SAM_PROTO_GetShiftState [15:10:07]wFMCommunicate request_size=4 [15:10:07]MH_SAM_APDU [15:10:07]CAPDU: 80 13 01 00 [15:10:07]Write to MH i2c: E2 08 00 7B 26 80 13 01 00 00 00 00 00 1E [15:10:07]Write i2c OK [15:10:07]MH_I2C_Read... [15:10:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:10:07]Read from MH i2c: E2 [15:10:07]MH_I2C_Read... [15:10:07]Read from MH i2c: E2 0E 00 [15:10:07]MH_I2C_Read... [15:10:07]Read from MH i2c: E2 0E 00 7B 26 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 3C [15:10:07]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:10:07]wFMCommunicate OK [15:10:07]SAM_PROTO_GetShiftState done [15:10:07]FM_GetShiftState done [15:10:07]opened in 1718237959 [15:10:07]opened+sec_in_day 1718324359 [15:10:07]quantity*price = 18000 [15:10:07]sum+1 = 18001 [15:10:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 37 13.06.2024 15:10 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22057 ФПД: 24076063760887 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T151016&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22057&fm=24076063760887&tin=02508201610067®Number=0000000000099755&sum=18000 0 [15:10:08]StoreToDocumentArchive [15:10:08]shift 324 fd 22057 [15:10:08]save to /storage/0324/doc_00022057 [15:10:08]save last doc name /storage/0324/doc_00022057 to /storage/kkm_last_doc_name [15:10:08]save OK [15:10:08]Clear old archive folders... [15:10:08]ProcessDocumentItem done err = 0, tmpTLVsize=287 [15:10:08]tlvbuf is 002971C0 [15:10:08]SAM_PROTO_ClearQueue [15:10:08]wFMCommunicate request_size=4 [15:10:08]MH_SAM_APDU [15:10:08]CAPDU: 80 09 00 00 [15:10:08]Write to MH i2c: E2 08 00 88 26 80 09 00 00 00 00 00 00 20 [15:10:08]Write i2c OK [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 [15:10:08]MH_I2C_Read... [15:10:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:10:08]Read from MH i2c: E2 03 00 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 03 00 88 26 00 90 00 22 [15:10:08]RAPDU: 90 00 [15:10:08]wFMCommunicate OK [15:10:08]SAM_PROTO_ClearQueue done [15:10:08]KKMCreateOFDPacket [15:10:08]OFDProtocolAddRootSTLVToBuf [15:10:08]FM_MakeSignedData [15:10:08]FM_MakeSignedData [15:10:08]SAM_PROTO_SignData [15:10:08]wFMCommunicate request_size=4 [15:10:08]MH_SAM_APDU [15:10:08]CAPDU: 80 0D 01 02 [15:10:08]Write to MH i2c: E2 08 00 89 26 80 0D 01 02 00 00 00 00 28 [15:10:08]Write i2c OK [15:10:08]MH_I2C_Read... [15:10:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:10:08]Read from MH i2c: E2 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 03 00 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 03 00 89 26 00 90 00 23 [15:10:08]RAPDU: 90 00 [15:10:08]wFMCommunicate OK [15:10:08]wFMCommunicate request_size=255 [15:10:08]MH_SAM_APDU [15:10:08]CAPDU: 80 0D 02 02 FA 03 00 1F 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 D8 0B 6B 66 0E 04 04 00 44 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 [15:10:08]Write to MH i2c: E2 02 01 8A 26 80 0D 02 02 FA 00 03 00 1F 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 D8 0B 6B 66 0E 04 04 00 44 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 00 00 F3 [15:10:08]Write i2c OK [15:10:08]MH_I2C_Read... [15:10:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:10:08]Read from MH i2c: E2 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 03 00 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 03 00 8A 26 00 90 00 24 [15:10:08]RAPDU: 90 00 [15:10:08]wFMCommunicate OK [15:10:08]wFMCommunicate request_size=46 [15:10:08]MH_SAM_APDU [15:10:08]CAPDU: 80 0D 02 02 29 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 29 56 00 00 35 04 06 00 15 E5 A5 3A 61 F7 [15:10:08]Write to MH i2c: E2 31 00 8B 26 80 0D 02 02 29 00 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 29 56 00 00 35 04 06 00 15 E5 A5 3A 61 F7 00 00 69 [15:10:08]Write i2c OK [15:10:08]MH_I2C_Read... [15:10:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:10:08]Read from MH i2c: E2 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 03 00 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 03 00 8B 26 00 90 00 25 [15:10:08]RAPDU: 90 00 [15:10:08]wFMCommunicate OK [15:10:08]wFMCommunicate request_size=4 [15:10:08]MH_SAM_APDU [15:10:08]CAPDU: 80 0D 03 02 [15:10:08]Write to MH i2c: E2 08 00 8C 26 80 0D 03 02 00 00 00 00 2D [15:10:08]Write i2c OK [15:10:08]MH_I2C_Read... [15:10:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:10:08]Read from MH i2c: E2 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 0B 00 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 0B 00 8C 26 00 8D 87 CB DF 8B 3C FB 41 90 00 EF [15:10:08]RAPDU: 8D 87 CB DF 8B 3C FB 41 90 00 [15:10:08]wFMCommunicate OK [15:10:08]SAM_PROTO_SignData done [15:10:08]FM_MakeSignedData done [15:10:08]CreateOFDProtocolMessage [15:10:08]wFMCommunicate request_size=4 [15:10:08]MH_SAM_APDU [15:10:08]CAPDU: 80 11 00 00 [15:10:08]Write to MH i2c: E2 08 00 8D 26 80 11 00 00 00 00 00 00 2D [15:10:08]Write i2c OK [15:10:08]MH_I2C_Read... [15:10:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:10:08]Read from MH i2c: E2 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 17 00 [15:10:08]MH_I2C_Read... [15:10:08]Read from MH i2c: E2 17 00 8D 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7F [15:10:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:10:08]wFMCommunicate OK [15:10:08]CreateOFDProtocolMessage done [15:10:08]OFDSenderStorePacket 22057 [15:10:08]StoreOFDPacket docnum=22057 [15:10:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 33 01 00 00 23 75 2B 01 51 CB 5A 03 01 00 03 00 1F 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 D8 0B 6B 66 0E 04 04 00 44 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 29 56 00 00 35 04 06 00 15 E5 A5 3A 61 F7 8D 87 CB DF 8B 3C FB 41 [15:10:08]CheckFolder [15:10:08]dirname=/storage/ofd_packets [15:10:08]CheckFolder done [15:10:08]ProducePacketName [15:10:08]name=ofd_packets/00022057 [15:10:08]NVStorageSaveData ofd_packets/00022057 [15:10:08]File name is /storage/ofd_packets/00022057 [15:10:08]Write 337 bytes [15:10:08]NVStorageSaveData done [15:10:09]OFDSenderStorePacket done [15:10:09]KKMCreateOFDPacket done [15:10:09]NVStorageSaveData kkm_last_timestamp [15:10:09]File name is /storage/kkm_last_timestamp [15:10:09]Write 4 bytes [15:10:09]NVStorageSaveData done [15:10:09]ExternCall_PrintAddStr [15:10:09]wPrintStart [15:10:09]Write to MH i2c: 01 00 00 8E 26 B4 [15:10:09]OFD Sender: Processing packet 22057 [packets to send 5, broken 4] [15:10:09]ProducePacketName [15:10:09]name=ofd_packets/00022057 [15:10:09]OFD Sender: To server: pG, [15:10:09]CommunicateWithHost lk.salyk.kg:30040 [15:10:09]ConnectInit lk.salyk.kg [15:10:09]Write i2c OK [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: 01 [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: 01 07 00 [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: 01 07 00 8E 26 00 00 00 00 00 FF 0F C9 [15:10:09]RasterBufferAndPrint [15:10:09]line Счет N : (3)254284 [15:10:09]line ИНН: 02508201610067 [15:10:09]line Контрольно-Кассовый Чек [15:10:09]line ПРОДАЖА [15:10:09]line Товар: 5449000176448 [15:10:09]line Сок Piko Pulpy апельсин ПЭТ 1л [15:10:09]line 1.000 * 180.00 [15:10:09]line = 180.00 [15:10:09]line НДС 12% НСП 1% [15:10:09]line > о реализуемом товаре [15:10:09]line ИТОГО: 180.00 [15:10:09]line НСП 1% : 1.59 [15:10:09]line НДС 12% : 19.11 [15:10:09]line Наличными: 180.00 [15:10:09]line Безнал.: 0.00 [15:10:09]line Место: АЗС № 76 "Партнер Нефть" [15:10:09]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:10:09]line СНО: Общий режим [15:10:09]line Чек 37 13.06.2024 15:10 [15:10:09]line Смена: 324 ФФД: 1.0 [15:10:09]line ЗНМ: 0300000200 [15:10:09]line РНМ: 0000000000099755 [15:10:09]line Версия ККМ: 001 [15:10:09]line ФМ: 0000000000965344 [15:10:09]line ФД: 22057 [15:10:09]line ФПД: 24076063760887 [15:10:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T151016&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22057&fm=24076063760887&tin=02508201610067®Number=0000000000099755&sum=18000 [15:10:09]Connected sock=10 [15:10: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 33 01 00 00 23 75 2B 01 51 CB 5A 03 01 00 03 00 1F 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 D8 0B 6B 66 0E 04 04 00 44 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 29 56 00 00 35 04 06 00 15 E5 A5 3A 61 F7 8D 87 CB DF 8B 3C FB 41 [15:10:09]line 0 [15:10:09]written 0, free lines is 4095 [15:10: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 21 41 47 00 C0 65 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 29 56 00 00 F4 03 04 00 9B B4 6A 66 B6 04 01 00 00 B4 7B CF 30 1A 64 B5 85 [15:10:09]CommunicateWithHost err = 0 [15:10:09]CheckOFDResponse [15:10:09]1017 (14) - 77093643461234 [15:10:09]1041 (16) - 0000000000965344 [15:10:09]1040 (4) - 22057 [15:10:09]1012 (4) - 13.06.2024 08:58 [15:10:09]1206 (1) - 0 [15:10:09]OFD Sender: Remove packet 22057 [15:10:09]ProducePacketName [15:10:09]name=ofd_packets/00022057 [15:10:09]NVStorageDeleteData [15:10:09]Write to MH i2c: 01 00 00 B7 26 DD [15:10:09]Write i2c OK [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: 01 [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: 01 07 00 [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: 01 07 00 B7 26 00 00 00 00 00 0B 0D FC [15:10:09]RasterBufferAndPrint [15:10:09]line [15:10:09]line [15:10:09]line [15:10:09]line [15:10:09]line [15:10:09]written 0, free lines is 3348 [15:10:09]MH_Cut [15:10:09]Write to MH i2c: D1 01 00 BE 26 01 B6 [15:10:09]Write i2c OK [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: D1 [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: D1 01 00 [15:10:09]MH_I2C_Read... [15:10:09]Read from MH i2c: D1 01 00 BE 26 00 B5 [15:10:09]Write to MH i2c: 01 00 00 BF 26 E5 [15:10:09]Write i2c OK [15:10:09]MH_I2C_Read... [15:10:10]OFD Sender: No OFD packet to send [15:10:10]*** Cut start [15:10:10]*** Partial cut [15:10:10]*** CUTSNS_PIN = 1 [15:10:10]*** CUTSNS_PIN = 0 [15:10:10]*** Brake cut motor [15:10:11]Read from MH i2c: 01 [15:10:11]MH_I2C_Read... [15:10:11]*** Stop cut motor [15:10:11]*** Cut end [15:10:11]Read from MH i2c: 01 07 00 [15:10:11]MH_I2C_Read... [15:10:11]Read from MH i2c: 01 07 00 BF 26 00 00 00 00 00 FF 0F FA [15:10:11]process_action close_receipt done [15:10:11]requested_data is exist [15:10:11]produce_requested_data [15:10:11]requested_item fm.sn is exist - process it [15:10:11]wFMCommunicate request_size=4 [15:10:11]MH_SAM_APDU [15:10:11]CAPDU: 80 11 00 00 [15:10:11]Write to MH i2c: E2 08 00 C0 26 80 11 00 00 00 00 00 00 60 [15:10:11]Write i2c OK [15:10:11]MH_I2C_Read... [15:10:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:10:11]Read from MH i2c: E2 [15:10:11]MH_I2C_Read... [15:10:11]Read from MH i2c: E2 17 00 [15:10:11]MH_I2C_Read... [15:10:11]Read from MH i2c: E2 17 00 C0 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B2 [15:10:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:10:11]wFMCommunicate OK [15:10:11]requested_item fd.num is exist - process it [15:10:11]SAM_PROTO_GetFieldsCounters [15:10:11]wFMCommunicate request_size=4 [15:10:11]MH_SAM_APDU [15:10:11]CAPDU: 80 13 00 00 [15:10:11]Write to MH i2c: E2 08 00 C1 26 80 13 00 00 00 00 00 00 63 [15:10:11]Write i2c OK [15:10:11]MH_I2C_Read... [15:10:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:10:11]Read from MH i2c: E2 [15:10:11]MH_I2C_Read... [15:10:11]Read from MH i2c: E2 62 00 [15:10:11]MH_I2C_Read... [15:10:11]Read from MH i2c: E2 62 00 C1 26 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 29 56 00 00 0E 04 04 00 44 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 C0 [15:10: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 29 56 00 00 0E 04 04 00 44 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 [15:10:11]wFMCommunicate OK [15:10:11]SAM_PROTO_GetFieldsCounters done [15:10:11]requested_item shift.num is exist - process it [15:10:11]requested_item shift.opened is exist - process it [15:10:11]req_shift_opened [15:10:11]FM_GetShiftState [15:10:11]SAM_PROTO_GetShiftState [15:10:11]wFMCommunicate request_size=4 [15:10:11]MH_SAM_APDU [15:10:11]CAPDU: 80 13 01 00 [15:10:11]Write to MH i2c: E2 08 00 C2 26 80 13 01 00 00 00 00 00 65 [15:10:11]Write i2c OK [15:10:11]MH_I2C_Read... [15:10:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:10:11]Read from MH i2c: E2 [15:10:11]MH_I2C_Read... [15:10:11]Read from MH i2c: E2 0E 00 [15:10:11]MH_I2C_Read... [15:10:11]Read from MH i2c: E2 0E 00 C2 26 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 83 [15:10:11]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:10:11]wFMCommunicate OK [15:10:11]SAM_PROTO_GetShiftState done [15:10:11]FM_GetShiftState done [15:10:11]req_shift_opened done [15:10:11]requested_item shift.open_date is exist - process it [15:10:11]req_shift_open_date [15:10:11]req_shift_open_date done [15:10:11]produce_requested_data done [15:10:11]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22057,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [15:10:11]process_action_free close_receipt [15:10:11]json_value_free [15:10:11]json_value_free done [15:10:11]process_json_proto returns [15:10:11]Send response to host [15:10:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22057,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [15:10:11]free response buf [15:10:11]execute_script done [15:10:11]execute_script returns [15:10:11]free content buf [15:10:11]Sock 9.Close socket [15:10:11]Sock 9.Thread stoped [15:10:15]OFD Sender: No OFD packet to send [15:10:20]OFD Sender: No OFD packet to send [15:10:25]OFD Sender: No OFD packet to send [15:10:30]OFD Sender: No OFD packet to send [15:10:35]OFD Sender: No OFD packet to send [15:10:40]OFD Sender: No OFD packet to send [15:10:45]OFD Sender: No OFD packet to send [15:10:50]OFD Sender: No OFD packet to send [15:10:55]OFD Sender: No OFD packet to send [15:11:00]OFD Sender: No OFD packet to send [15:11:05]OFD Sender: No OFD packet to send [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:30]OFD Sender: No OFD packet to send [15:11:35]OFD Sender: No OFD packet to send [15:11:40]OFD Sender: No OFD packet to send [15:11:45]OFD Sender: No OFD packet to send [15:11:50]OFD Sender: No OFD packet to send [15:11:55]OFD Sender: No OFD packet to send [15:12:00]OFD Sender: No OFD packet to send [15:12:05]OFD Sender: No OFD packet to send [15:12:10]OFD Sender: No OFD packet to send [15:12:15]OFD Sender: No OFD packet to send [15:12:20]OFD Sender: No OFD packet to send [15:12:25]OFD Sender: No OFD packet to send [15:12:30]OFD Sender: No OFD packet to send [15:12:35]OFD Sender: No OFD packet to send [15:12:40]OFD Sender: No OFD packet to send [15:12:45]OFD Sender: No OFD packet to send [15:12:50]OFD Sender: No OFD packet to send [15:12:55]OFD Sender: No OFD packet to send [15:13:00]OFD Sender: No OFD packet to send [15:13:05]OFD Sender: No OFD packet to send [15:13:10]OFD Sender: No OFD packet to send [15:13:15]OFD Sender: No OFD packet to send [15:13:20]OFD Sender: No OFD packet to send [15:13:25]OFD Sender: No OFD packet to send [15:13:30]OFD Sender: No OFD packet to send [15:13:35]OFD Sender: No OFD packet to send [15:13:40]OFD Sender: No OFD packet to send [15:13:45]OFD Sender: No OFD packet to send [15:13:50]OFD Sender: No OFD packet to send [15:13:55]OFD Sender: No OFD packet to send [15:14:00]OFD Sender: No OFD packet to send [15:14:05]OFD Sender: No OFD packet to send [15:14:10]OFD Sender: No OFD packet to send [15:14:15]OFD Sender: No OFD packet to send [15:14:20]OFD Sender: No OFD packet to send [15:14:25]OFD Sender: No OFD packet to send [15:14:30]OFD Sender: No OFD packet to send [15:14:35]OFD Sender: No OFD packet to send [15:14:40]OFD Sender: No OFD packet to send [15:14:45]OFD Sender: No OFD packet to send [15:14:50]OFD Sender: No OFD packet to send [15:14:55]OFD Sender: No OFD packet to send [15:15:00]OFD Sender: No OFD packet to send [15:15:05]OFD Sender: No OFD packet to send [15:15:10]OFD Sender: No OFD packet to send [15:15:15]OFD Sender: No OFD packet to send [15:15:20]OFD Sender: No OFD packet to send [15:15:25]OFD Sender: No OFD packet to send [15:15:30]OFD Sender: No OFD packet to send [15:15:35]OFD Sender: No OFD packet to send [15:15:40]OFD Sender: No OFD packet to send [15:15:45]OFD Sender: No OFD packet to send [15:15:50]OFD Sender: No OFD packet to send [15:15:55]OFD Sender: No OFD packet to send [15:16:00]OFD Sender: No OFD packet to send [15:16:05]OFD Sender: No OFD packet to send [15:16:10]OFD Sender: No OFD packet to send [15:16:15]OFD Sender: No OFD packet to send [15:16:20]OFD Sender: No OFD packet to send [15:16:25]OFD Sender: No OFD packet to send [15:16:30]OFD Sender: No OFD packet to send [15:16:35]OFD Sender: No OFD packet to send [15:16:40]OFD Sender: No OFD packet to send [15:16:45]OFD Sender: No OFD packet to send [15:16:50]OFD Sender: No OFD packet to send [15:16:55]OFD Sender: No OFD packet to send [15:17:00]OFD Sender: No OFD packet to send [15:17:05]OFD Sender: No OFD packet to send [15:17:10]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:10]OFD Sender: No OFD packet to send [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:21]accept exits with 8 [15:21:21]New connection [15:21:21]New thread 3067178340 created [15:21:21]Thread 3067321700 joined [15:21:21]Waiting for new connection... [15:21:21] Sock 8.Parse request [15:21:21]Sock 8.Check first char [15:21:21]Sock 8.First char is OK [15:21:21]request: POST /json_proto HTTP/1.0 [15:21:21]Method: POST [15:21:21]URL: /json_proto [15:21:21]Method is POST - this is cgi request [15:21:21]url: /json_proto [15:21:21]query_string will be loaded in cgi processing [15:21:21]execute_cgi json_proto POST (null) [15:21:21]execute_cgi path=json_proto method=POST [15:21:21]POST find Content-Length [15:21:21]Host: 172.17.35.133:8080 [15:21:21]Content-Length: 630 [15:21:21]Content-Type: application/json [15:21:21] [15:21:21]POST finish read [15:21:21]Found Content-Length = 630 [15:21:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254285", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:21:21]execute_script... [15:21:21]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)254285", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:21:21]POST & json_proto [15:21:21]process_json_proto [15:21:21]json parsed OK: [15:21:21]protocol is kg_v1.0 [15:21:21]action value=close_receipt [15:21:21]process_action close_receipt [15:21:21]cmd_close_receipt [15:21:21]MH_GetDate [15:21:21]Write to MH i2c: F0 00 00 C3 26 D8 [15:21:21]Write i2c OK [15:21:21]MH_I2C_Read... [15:21:21]Read from MH i2c: F0 [15:21:21]MH_I2C_Read... [15:21:21]Read from MH i2c: F0 09 00 [15:21:21]MH_I2C_Read... [15:21:21]Read from MH i2c: F0 09 00 C3 26 00 7A 0E 6B 66 8C 55 28 65 A8 [15:21:21]GetLastDocTimeStamp 1718291416 [15:21:21]current date 1718292090 [15:21:21]FM_GetShiftState [15:21:21]SAM_PROTO_GetShiftState [15:21:21]wFMCommunicate request_size=4 [15:21:21]MH_SAM_APDU [15:21:21]CAPDU: 80 13 01 00 [15:21:21]Write to MH i2c: E2 08 00 C4 26 80 13 01 00 00 00 00 00 67 [15:21:21]Write i2c OK [15:21:21]MH_I2C_Read... [15:21:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:21:21]Read from MH i2c: E2 [15:21:21]MH_I2C_Read... [15:21:21]Read from MH i2c: E2 0E 00 [15:21:21]MH_I2C_Read... [15:21:21]Read from MH i2c: E2 0E 00 C4 26 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 85 [15:21:21]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:21:21]wFMCommunicate OK [15:21:21]SAM_PROTO_GetShiftState done [15:21:21]FM_GetShiftState done [15:21:21]opened in 1718237959 [15:21:21]opened+sec_in_day 1718324359 [15:21:21]quantity*price = 5000 [15:21:21]sum+1 = 5001 [15:21:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 38 13.06.2024 15:21 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22058 ФПД: 24885118139797 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T152130&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22058&fm=24885118139797&tin=02508201610067®Number=0000000000099755&sum=5000 0 [15:21:22]StoreToDocumentArchive [15:21:22]shift 324 fd 22058 [15:21:22]save to /storage/0324/doc_00022058 [15:21:22]save last doc name /storage/0324/doc_00022058 to /storage/kkm_last_doc_name [15:21:22]save OK [15:21:22]Clear old archive folders... [15:21:22]ProcessDocumentItem done err = 0, tmpTLVsize=269 [15:21:22]tlvbuf is 003353F0 [15:21:22]SAM_PROTO_ClearQueue [15:21:22]wFMCommunicate request_size=4 [15:21:22]MH_SAM_APDU [15:21:22]CAPDU: 80 09 00 00 [15:21:22]Write to MH i2c: E2 08 00 D1 26 80 09 00 00 00 00 00 00 69 [15:21:22]Write i2c OK [15:21:22]MH_I2C_Read... [15:21:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:21:22]Read from MH i2c: E2 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 03 00 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 03 00 D1 26 00 90 00 6B [15:21:22]RAPDU: 90 00 [15:21:22]wFMCommunicate OK [15:21:22]SAM_PROTO_ClearQueue done [15:21:22]KKMCreateOFDPacket [15:21:22]OFDProtocolAddRootSTLVToBuf [15:21:22]FM_MakeSignedData [15:21:22]FM_MakeSignedData [15:21:22]SAM_PROTO_SignData [15:21:22]wFMCommunicate request_size=4 [15:21:22]MH_SAM_APDU [15:21:22]CAPDU: 80 0D 01 02 [15:21:22]Write to MH i2c: E2 08 00 D2 26 80 0D 01 02 00 00 00 00 71 [15:21:22]Write i2c OK [15:21:22]MH_I2C_Read... [15:21:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:21:22]Read from MH i2c: E2 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 03 00 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 03 00 D2 26 00 90 00 6C [15:21:22]RAPDU: 90 00 [15:21:22]wFMCommunicate OK [15:21:22]wFMCommunicate request_size=255 [15:21:22]MH_SAM_APDU [15:21:22]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 33 35 38 06 04 1B 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 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 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 7A 0E 6B 66 0E 04 04 00 44 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 [15:21:22]Write to MH i2c: E2 02 01 D3 26 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 33 35 38 06 04 1B 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 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 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 7A 0E 6B 66 0E 04 04 00 44 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 57 [15:21:22]Write i2c OK [15:21:22]MH_I2C_Read... [15:21:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:21:22]Read from MH i2c: E2 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 03 00 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 03 00 D3 26 00 90 00 6D [15:21:22]RAPDU: 90 00 [15:21:22]wFMCommunicate OK [15:21:22]wFMCommunicate request_size=28 [15:21:22]MH_SAM_APDU [15:21:22]CAPDU: 80 0D 02 02 17 36 35 33 34 34 10 04 04 00 2A 56 00 00 35 04 06 00 16 A2 04 A0 7D 95 [15:21:22]Write to MH i2c: E2 1F 00 D4 26 80 0D 02 02 17 00 36 35 33 34 34 10 04 04 00 2A 56 00 00 35 04 06 00 16 A2 04 A0 7D 95 00 00 ED [15:21:22]Write i2c OK [15:21:22]MH_I2C_Read... [15:21:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:21:22]Read from MH i2c: E2 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 03 00 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 03 00 D4 26 00 90 00 6E [15:21:22]RAPDU: 90 00 [15:21:22]wFMCommunicate OK [15:21:22]wFMCommunicate request_size=4 [15:21:22]MH_SAM_APDU [15:21:22]CAPDU: 80 0D 03 02 [15:21:22]Write to MH i2c: E2 08 00 D5 26 80 0D 03 02 00 00 00 00 76 [15:21:22]Write i2c OK [15:21:22]MH_I2C_Read... [15:21:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:21:22]Read from MH i2c: E2 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 0B 00 [15:21:22]MH_I2C_Read... [15:21:22]Read from MH i2c: E2 0B 00 D5 26 00 66 07 4F A3 68 BC 9D 75 90 00 0C [15:21:22]RAPDU: 66 07 4F A3 68 BC 9D 75 90 00 [15:21:22]wFMCommunicate OK [15:21:22]SAM_PROTO_SignData done [15:21:22]FM_MakeSignedData done [15:21:22]CreateOFDProtocolMessage [15:21:22]wFMCommunicate request_size=4 [15:21:22]MH_SAM_APDU [15:21:22]CAPDU: 80 11 00 00 [15:21:22]Write to MH i2c: E2 08 00 D6 26 80 11 00 00 00 00 00 00 76 [15:21:22]Write i2c OK [15:21:22]MH_I2C_Read... [15:21:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:21:23]Read from MH i2c: E2 [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: E2 17 00 [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: E2 17 00 D6 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C8 [15:21:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:21:23]wFMCommunicate OK [15:21:23]CreateOFDProtocolMessage done [15:21:23]OFDSenderStorePacket 22058 [15:21:23]StoreOFDPacket docnum=22058 [15:21:23]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 1C 3B 19 01 47 B7 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 33 35 38 06 04 1B 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 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 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 7A 0E 6B 66 0E 04 04 00 44 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 2A 56 00 00 35 04 06 00 16 A2 04 A0 7D 95 66 07 4F A3 68 BC 9D 75 [15:21:23]CheckFolder [15:21:23]dirname=/storage/ofd_packets [15:21:23]CheckFolder done [15:21:23]ProducePacketName [15:21:23]name=ofd_packets/00022058 [15:21:23]NVStorageSaveData ofd_packets/00022058 [15:21:23]File name is /storage/ofd_packets/00022058 [15:21:23]Write 319 bytes [15:21:23]NVStorageSaveData done [15:21:23]OFDSenderStorePacket done [15:21:23]KKMCreateOFDPacket done [15:21:23]NVStorageSaveData kkm_last_timestamp [15:21:23]File name is /storage/kkm_last_timestamp [15:21:23]Write 4 bytes [15:21:23]NVStorageSaveData done [15:21:23]ExternCall_PrintAddStr [15:21:23]wPrintStart [15:21:23]Write to MH i2c: 01 00 00 D7 26 FD [15:21:23]Write i2c OK [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: 01 [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: 01 07 00 [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: 01 07 00 D7 26 00 00 00 00 00 FF 0F 12 [15:21:23]RasterBufferAndPrint [15:21:23]line Счет N : (3)254285 [15:21:23]line ИНН: 02508201610067 [15:21:23]line Контрольно-Кассовый Чек [15:21:23]line ПРОДАЖА [15:21:23]line Товар: 4700000160358 [15:21:23]line Вода Легенда 1л [15:21:23]line 1.000 * 50.00 [15:21:23]line = 50.00 [15:21:23]line НДС 12% НСП 1% [15:21:23]line > о реализуемом товаре [15:21:23]line ИТОГО: 50.00 [15:21:23]line НСП 1% : 0.44 [15:21:23]line НДС 12% : 5.31 [15:21:23]line Наличными: 50.00 [15:21:23]line Безнал.: 0.00 [15:21:23]line Место: АЗС № 76 "Партнер Нефть" [15:21:23]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:21:23]line СНО: Общий режим [15:21:23]line Чек 38 13.06.2024 15:21 [15:21:23]line Смена: 324 ФФД: 1.0 [15:21:23]line ЗНМ: 0300000200 [15:21:23]line РНМ: 0000000000099755 [15:21:23]line Версия ККМ: 001 [15:21:23]line ФМ: 0000000000965344 [15:21:23]line ФД: 22058 [15:21:23]line ФПД: 24885118139797 [15:21:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T152130&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22058&fm=24885118139797&tin=02508201610067®Number=0000000000099755&sum=5000 [15:21:23]line 0 [15:21:23]OFD Sender: Processing packet 22058 [packets to send 5, broken 4] [15:21:23]ProducePacketName [15:21:23]name=ofd_packets/00022058 [15:21:23]OFD Sender: To server: pG, [15:21:23]CommunicateWithHost lk.salyk.kg:30040 [15:21:23]ConnectInit lk.salyk.kg [15:21:23]written 0, free lines is 4095 [15:21:23]Connected sock=10 [15:21: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 21 01 00 00 1C 3B 19 01 47 B7 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 33 35 38 06 04 1B 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 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 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 7A 0E 6B 66 0E 04 04 00 44 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 2A 56 00 00 35 04 06 00 16 A2 04 A0 7D 95 66 07 4F A3 68 BC 9D 75 [15:21:23]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 38 7C 47 00 6E 48 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 2A 56 00 00 F4 03 04 00 3D B7 6A 66 B6 04 01 00 00 C5 99 9F D4 07 12 59 21 [15:21:23]CommunicateWithHost err = 0 [15:21:23]CheckOFDResponse [15:21:23]1017 (14) - 77093643461234 [15:21:23]1041 (16) - 0000000000965344 [15:21:23]1040 (4) - 22058 [15:21:23]1012 (4) - 13.06.2024 09:09 [15:21:23]1206 (1) - 0 [15:21:23]OFD Sender: Remove packet 22058 [15:21:23]ProducePacketName [15:21:23]name=ofd_packets/00022058 [15:21:23]NVStorageDeleteData [15:21:23]Write to MH i2c: 01 00 00 FF 26 25 [15:21:23]Write i2c OK [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: 01 [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: 01 07 00 [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: 01 07 00 FF 26 00 00 00 00 00 26 0D 5F [15:21:23]RasterBufferAndPrint [15:21:23]line [15:21:23]line [15:21:23]line [15:21:23]line [15:21:23]line [15:21:23]written 0, free lines is 3375 [15:21:23]MH_Cut [15:21:23]Write to MH i2c: D1 01 00 06 27 01 FF [15:21:23]Write i2c OK [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: D1 [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: D1 01 00 [15:21:23]MH_I2C_Read... [15:21:23]Read from MH i2c: D1 01 00 06 27 00 FE [15:21:23]Write to MH i2c: 01 00 00 07 27 2E [15:21:23]Write i2c OK [15:21:23]MH_I2C_Read... [15:21:24]OFD Sender: No OFD packet to send [15:21:24]*** Cut start [15:21:24]*** Partial cut [15:21:24]*** CUTSNS_PIN = 1 [15:21:24]*** CUTSNS_PIN = 0 [15:21:24]*** Brake cut motor [15:21:25]Read from MH i2c: 01 [15:21:25]MH_I2C_Read... [15:21:25]*** Stop cut motor [15:21:25]*** Cut end [15:21:25]Read from MH i2c: 01 07 00 [15:21:25]MH_I2C_Read... [15:21:25]Read from MH i2c: 01 07 00 07 27 00 00 00 00 00 FF 0F 43 [15:21:25]process_action close_receipt done [15:21:25]requested_data is exist [15:21:25]produce_requested_data [15:21:25]requested_item fm.sn is exist - process it [15:21:25]wFMCommunicate request_size=4 [15:21:25]MH_SAM_APDU [15:21:25]CAPDU: 80 11 00 00 [15:21:25]Write to MH i2c: E2 08 00 08 27 80 11 00 00 00 00 00 00 A9 [15:21:25]Write i2c OK [15:21:25]MH_I2C_Read... [15:21:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:21:25]Read from MH i2c: E2 [15:21:25]MH_I2C_Read... [15:21:25]Read from MH i2c: E2 17 00 [15:21:25]MH_I2C_Read... [15:21:25]Read from MH i2c: E2 17 00 08 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FB [15:21:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:21:25]wFMCommunicate OK [15:21:25]requested_item fd.num is exist - process it [15:21:25]SAM_PROTO_GetFieldsCounters [15:21:25]wFMCommunicate request_size=4 [15:21:25]MH_SAM_APDU [15:21:25]CAPDU: 80 13 00 00 [15:21:25]Write to MH i2c: E2 08 00 09 27 80 13 00 00 00 00 00 00 AC [15:21:25]Write i2c OK [15:21:25]MH_I2C_Read... [15:21:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:21:25]Read from MH i2c: E2 [15:21:25]MH_I2C_Read... [15:21:25]Read from MH i2c: E2 62 00 [15:21:25]MH_I2C_Read... [15:21:25]Read from MH i2c: E2 62 00 09 27 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 2A 56 00 00 0E 04 04 00 44 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 0D [15:21:25]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 2A 56 00 00 0E 04 04 00 44 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 [15:21:25]wFMCommunicate OK [15:21:25]SAM_PROTO_GetFieldsCounters done [15:21:25]requested_item shift.num is exist - process it [15:21:25]requested_item shift.opened is exist - process it [15:21:25]req_shift_opened [15:21:25]FM_GetShiftState [15:21:25]SAM_PROTO_GetShiftState [15:21:25]wFMCommunicate request_size=4 [15:21:25]MH_SAM_APDU [15:21:25]CAPDU: 80 13 01 00 [15:21:25]Write to MH i2c: E2 08 00 0A 27 80 13 01 00 00 00 00 00 AE [15:21:25]Write i2c OK [15:21:25]MH_I2C_Read... [15:21:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:21:25]Read from MH i2c: E2 [15:21:25]MH_I2C_Read... [15:21:25]Read from MH i2c: E2 0E 00 [15:21:25]MH_I2C_Read... [15:21:25]Read from MH i2c: E2 0E 00 0A 27 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 CC [15:21:25]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:21:25]wFMCommunicate OK [15:21:25]SAM_PROTO_GetShiftState done [15:21:25]FM_GetShiftState done [15:21:25]req_shift_opened done [15:21:25]requested_item shift.open_date is exist - process it [15:21:25]req_shift_open_date [15:21:25]req_shift_open_date done [15:21:25]produce_requested_data done [15:21:25]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22058,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [15:21:25]process_action_free close_receipt [15:21:25]json_value_free [15:21:25]json_value_free done [15:21:25]process_json_proto returns [15:21:25]Send response to host [15:21:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22058,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [15:21:25]free response buf [15:21:25]execute_script done [15:21:25]execute_script returns [15:21:25]free content buf [15:21:25]Sock 8.Close socket [15:21:25]Sock 8.Thread stoped [15:21:29]OFD Sender: No OFD packet to send [15:21:34]OFD Sender: No OFD packet to send [15:21:39]OFD Sender: No OFD packet to send [15:21:44]OFD Sender: No OFD packet to send [15:21:49]OFD Sender: No OFD packet to send [15:21:54]OFD Sender: No OFD packet to send [15:21:59]OFD Sender: No OFD packet to send [15:22:04]OFD Sender: No OFD packet to send [15:22:09]OFD Sender: No OFD packet to send [15:22:14]OFD Sender: No OFD packet to send [15:22:19]OFD Sender: No OFD packet to send [15:22:24]OFD Sender: No OFD packet to send [15:22:29]OFD Sender: No OFD packet to send [15:22:34]OFD Sender: No OFD packet to send [15:22:39]OFD Sender: No OFD packet to send [15:22:44]OFD Sender: No OFD packet to send [15:22:46]accept exits with 9 [15:22:46]New connection [15:22:46]New thread 3067321700 created [15:22:46]Thread 3067178340 joined [15:22:46]Waiting for new connection... [15:22:46] Sock 9.Parse request [15:22:46]Sock 9.Check first char [15:22:46]Sock 9.First char is OK [15:22:46]request: POST /json_proto HTTP/1.0 [15:22:46]Method: POST [15:22:46]URL: /json_proto [15:22:46]Method is POST - this is cgi request [15:22:46]url: /json_proto [15:22:46]query_string will be loaded in cgi processing [15:22:46]execute_cgi json_proto POST (null) [15:22:46]execute_cgi path=json_proto method=POST [15:22:46]POST find Content-Length [15:22:46]Host: 172.17.35.133:8080 [15:22:46]Content-Length: 698 [15:22:46]Content-Type: application/json [15:22:46] [15:22:46]POST finish read [15:22:46]Found Content-Length = 698 [15:22:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254286", "tax_sys" : 0, "items" : [ { "code": "4870215621972", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u041E\u041B\u041E\u0422\u041E \u041A\u042B\u0420\u0413\u042B\u0417\u0421\u0422\u0410\u041D\u0410 0,50L", "price" : 520.00, "quantity" : 1.000, "sum" : 520.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 520.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:22:46]execute_script... [15:22: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)254286", "tax_sys" : 0, "items" : [ { "code": "4870215621972", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u041E\u041B\u041E\u0422\u041E \u041A\u042B\u0420\u0413\u042B\u0417\u0421\u0422\u0410\u041D\u0410 0,50L", "price" : 520.00, "quantity" : 1.000, "sum" : 520.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 520.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:22:46]POST & json_proto [15:22:46]process_json_proto [15:22:46]json parsed OK: [15:22:46]protocol is kg_v1.0 [15:22:46]action value=close_receipt [15:22:46]process_action close_receipt [15:22:46]cmd_close_receipt [15:22:46]MH_GetDate [15:22:46]Write to MH i2c: F0 00 00 0B 27 21 [15:22:46]Write i2c OK [15:22:46]MH_I2C_Read... [15:22:46]Read from MH i2c: F0 [15:22:46]MH_I2C_Read... [15:22:46]Read from MH i2c: F0 09 00 [15:22:46]MH_I2C_Read... [15:22:46]Read from MH i2c: F0 09 00 0B 27 00 CF 0E 6B 66 8C 55 28 65 46 [15:22:46]GetLastDocTimeStamp 1718292090 [15:22:46]current date 1718292175 [15:22:46]FM_GetShiftState [15:22:46]SAM_PROTO_GetShiftState [15:22:46]wFMCommunicate request_size=4 [15:22:46]MH_SAM_APDU [15:22:46]CAPDU: 80 13 01 00 [15:22:46]Write to MH i2c: E2 08 00 0C 27 80 13 01 00 00 00 00 00 B0 [15:22:46]Write i2c OK [15:22:46]MH_I2C_Read... [15:22:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:22:46]Read from MH i2c: E2 [15:22:46]MH_I2C_Read... [15:22:46]Read from MH i2c: E2 0E 00 [15:22:46]MH_I2C_Read... [15:22:46]Read from MH i2c: E2 0E 00 0C 27 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 CE [15:22:46]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:22:46]wFMCommunicate OK [15:22:46]SAM_PROTO_GetShiftState done [15:22:46]FM_GetShiftState done [15:22:46]opened in 1718237959 [15:22:46]opened+sec_in_day 1718324359 [15:22:46]quantity*price = 52000 [15:22:46]sum+1 = 52001 [15:22:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 520.00 НСП 1% : 4.60 НДС 12% : 55.22 Наличными: 520.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 39 13.06.2024 15:22 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22059 ФПД: 250801254891829 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T152255&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22059&fm=250801254891829&tin=02508201610067®Number=0000000000099755&sum=52000 0 [15:22:47]StoreToDocumentArchive [15:22:47]shift 324 fd 22059 [15:22:47]save to /storage/0324/doc_00022059 [15:22:47]save last doc name /storage/0324/doc_00022059 to /storage/kkm_last_doc_name [15:22:47]save OK [15:22:47]Clear old archive folders... [15:22:47]ProcessDocumentItem done err = 0, tmpTLVsize=294 [15:22:47]tlvbuf is 002922D0 [15:22:47]SAM_PROTO_ClearQueue [15:22:47]wFMCommunicate request_size=4 [15:22:47]MH_SAM_APDU [15:22:47]CAPDU: 80 09 00 00 [15:22:47]Write to MH i2c: E2 08 00 19 27 80 09 00 00 00 00 00 00 B2 [15:22:47]Write i2c OK [15:22:47]MH_I2C_Read... [15:22:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:22:47]Read from MH i2c: E2 [15:22:47]MH_I2C_Read... [15:22:47]Read from MH i2c: E2 03 00 [15:22:47]MH_I2C_Read... [15:22:47]Read from MH i2c: E2 03 00 19 27 00 90 00 B4 [15:22:47]RAPDU: 90 00 [15:22:47]wFMCommunicate OK [15:22:47]SAM_PROTO_ClearQueue done [15:22:47]KKMCreateOFDPacket [15:22:47]OFDProtocolAddRootSTLVToBuf [15:22:47]FM_MakeSignedData [15:22:47]FM_MakeSignedData [15:22:47]SAM_PROTO_SignData [15:22:47]wFMCommunicate request_size=4 [15:22:47]MH_SAM_APDU [15:22:47]CAPDU: 80 0D 01 02 [15:22:47]Write to MH i2c: E2 08 00 1A 27 80 0D 01 02 00 00 00 00 BA [15:22:47]Write i2c OK [15:22:47]MH_I2C_Read... [15:22:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:22:47]Read from MH i2c: E2 [15:22:47]MH_I2C_Read... [15:22:47]Read from MH i2c: E2 03 00 [15:22:47]MH_I2C_Read... [15:22:47]Read from MH i2c: E2 03 00 1A 27 00 90 00 B5 [15:22:47]RAPDU: 90 00 [15:22:47]wFMCommunicate OK [15:22:47]wFMCommunicate request_size=255 [15:22:47]MH_SAM_APDU [15:22:47]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 31 39 37 32 06 04 34 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 9E D0 9B D0 9E D0 A2 D0 9E 20 D0 9A D0 AB D0 A0 D0 93 D0 AB D0 97 D0 A1 D0 A2 D0 90 D0 9D D0 90 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 CB 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 CB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 15 00 00 00 00 07 04 06 00 20 CB 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 CF 0E 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [15:22:47]Write to MH i2c: E2 02 01 1B 27 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 31 39 37 32 06 04 34 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 9E D0 9B D0 9E D0 A2 D0 9E 20 D0 9A D0 AB D0 A0 D0 93 D0 AB D0 97 D0 A1 D0 A2 D0 90 D0 9D D0 90 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 CB 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 CB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 15 00 00 00 00 07 04 06 00 20 CB 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 CF 0E 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 31 [15:22:47]Write i2c OK [15:22:47]MH_I2C_Read... [15:22:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:47]Read from MH i2c: E2 [15:22:47]MH_I2C_Read... [15:22:47]Read from MH i2c: E2 03 00 [15:22:47]MH_I2C_Read... [15:22:47]Read from MH i2c: E2 03 00 1B 27 00 90 00 B6 [15:22:47]RAPDU: 90 00 [15:22:47]wFMCommunicate OK [15:22:47]wFMCommunicate request_size=53 [15:22:47]MH_SAM_APDU [15:22:47]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 2B 56 00 00 35 04 06 00 E4 1A 37 B5 01 35 [15:22:47]Write to MH i2c: E2 38 00 1C 27 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 2B 56 00 00 35 04 06 00 E4 1A 37 B5 01 35 00 00 5C [15:22:47]Write i2c OK [15:22:47]MH_I2C_Read... [15:22:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:48]Read from MH i2c: E2 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: E2 03 00 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: E2 03 00 1C 27 00 90 00 B7 [15:22:48]RAPDU: 90 00 [15:22:48]wFMCommunicate OK [15:22:48]wFMCommunicate request_size=4 [15:22:48]MH_SAM_APDU [15:22:48]CAPDU: 80 0D 03 02 [15:22:48]Write to MH i2c: E2 08 00 1D 27 80 0D 03 02 00 00 00 00 BF [15:22:48]Write i2c OK [15:22:48]MH_I2C_Read... [15:22:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:22:48]Read from MH i2c: E2 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: E2 0B 00 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: E2 0B 00 1D 27 00 F1 56 7F 9E 76 67 EE 7C 90 00 6B [15:22:48]RAPDU: F1 56 7F 9E 76 67 EE 7C 90 00 [15:22:48]wFMCommunicate OK [15:22:48]SAM_PROTO_SignData done [15:22:48]FM_MakeSignedData done [15:22:48]CreateOFDProtocolMessage [15:22:48]wFMCommunicate request_size=4 [15:22:48]MH_SAM_APDU [15:22:48]CAPDU: 80 11 00 00 [15:22:48]Write to MH i2c: E2 08 00 1E 27 80 11 00 00 00 00 00 00 BF [15:22:48]Write i2c OK [15:22:48]MH_I2C_Read... [15:22:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:22:48]Read from MH i2c: E2 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: E2 17 00 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: E2 17 00 1E 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 11 [15:22:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:22:48]wFMCommunicate OK [15:22:48]CreateOFDProtocolMessage done [15:22:48]OFDSenderStorePacket 22059 [15:22:48]StoreOFDPacket docnum=22059 [15:22: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 3A 01 00 00 05 F6 32 01 31 64 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 31 39 37 32 06 04 34 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 9E D0 9B D0 9E D0 A2 D0 9E 20 D0 9A D0 AB D0 A0 D0 93 D0 AB D0 97 D0 A1 D0 A2 D0 90 D0 9D D0 90 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 CB 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 CB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 15 00 00 00 00 07 04 06 00 20 CB 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 CF 0E 6B 66 0E 04 04 00 44 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 2B 56 00 00 35 04 06 00 E4 1A 37 B5 01 35 F1 56 7F 9E 76 67 EE 7C [15:22:48]CheckFolder [15:22:48]dirname=/storage/ofd_packets [15:22:48]CheckFolder done [15:22:48]ProducePacketName [15:22:48]name=ofd_packets/00022059 [15:22:48]NVStorageSaveData ofd_packets/00022059 [15:22:48]File name is /storage/ofd_packets/00022059 [15:22:48]Write 344 bytes [15:22:48]NVStorageSaveData done [15:22:48]OFDSenderStorePacket done [15:22:48]KKMCreateOFDPacket done [15:22:48]NVStorageSaveData kkm_last_timestamp [15:22:48]File name is /storage/kkm_last_timestamp [15:22:48]Write 4 bytes [15:22:48]NVStorageSaveData done [15:22:48]ExternCall_PrintAddStr [15:22:48]wPrintStart [15:22:48]Write to MH i2c: 01 00 00 1F 27 46 [15:22:48]Write i2c OK [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: 01 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: 01 07 00 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: 01 07 00 1F 27 00 00 00 00 00 FF 0F 5B [15:22:48]RasterBufferAndPrint [15:22:48]line Счет N : (3)254286 [15:22:48]line ИНН: 02508201610067 [15:22:48]line Контрольно-Кассовый Чек [15:22:48]line ПРОДАЖА [15:22:48]line Товар: 4870215621972 [15:22:48]line Водка ЗОЛОТО КЫРГЫЗСТАНА 0,50L [15:22:48]line 1.000 * 520.00 [15:22:48]line = 520.00 [15:22:48]line НДС 12% НСП 1% [15:22:48]line > о реализуемом товаре [15:22:48]line ИТОГО: 520.00 [15:22:48]line НСП 1% : 4.60 [15:22:48]line НДС 12% : 55.22 [15:22:48]line Наличными: 520.00 [15:22:48]line Безнал.: 0.00 [15:22:48]line Место: АЗС № 76 "Партнер Нефть" [15:22:48]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:22:48]line СНО: Общий режим [15:22:48]line Чек 39 13.06.2024 15:22 [15:22:48]line Смена: 324 ФФД: 1.0 [15:22:48]line ЗНМ: 0300000200 [15:22:48]line РНМ: 0000000000099755 [15:22:48]line Версия ККМ: 001 [15:22:48]line ФМ: 0000000000965344 [15:22:48]line ФД: 22059 [15:22:48]line ФПД: 250801254891829 [15:22:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T152255&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22059&fm=250801254891829&tin=02508201610067®Number=0000000000099755&sum=52000 [15:22:48]line 0 [15:22:48]OFD Sender: Processing packet 22059 [packets to send 5, broken 4] [15:22:48]ProducePacketName [15:22:48]name=ofd_packets/00022059 [15:22:48]OFD Sender: To server: pG, [15:22:48]CommunicateWithHost lk.salyk.kg:30040 [15:22:48]ConnectInit lk.salyk.kg [15:22:48]written 0, free lines is 4095 [15:22:48]Connected sock=10 [15:22: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 3A 01 00 00 05 F6 32 01 31 64 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 31 39 37 32 06 04 34 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 9E D0 9B D0 9E D0 A2 D0 9E 20 D0 9A D0 AB D0 A0 D0 93 D0 AB D0 97 D0 A1 D0 A2 D0 90 D0 9D D0 90 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 CB 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 CB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 15 00 00 00 00 07 04 06 00 20 CB 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 CF 0E 6B 66 0E 04 04 00 44 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 2B 56 00 00 35 04 06 00 E4 1A 37 B5 01 35 F1 56 7F 9E 76 67 EE 7C [15:22: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 4E 84 47 00 A2 10 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 2B 56 00 00 F4 03 04 00 92 B7 6A 66 B6 04 01 00 00 5D E1 A1 38 E3 CB 11 3C [15:22:48]CommunicateWithHost err = 0 [15:22:48]CheckOFDResponse [15:22:48]1017 (14) - 77093643461234 [15:22:48]1041 (16) - 0000000000965344 [15:22:48]1040 (4) - 22059 [15:22:48]1012 (4) - 13.06.2024 09:10 [15:22:48]1206 (1) - 0 [15:22:48]OFD Sender: Remove packet 22059 [15:22:48]ProducePacketName [15:22:48]name=ofd_packets/00022059 [15:22:48]NVStorageDeleteData [15:22:48]Write to MH i2c: 01 00 00 48 27 6F [15:22:48]Write i2c OK [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: 01 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: 01 07 00 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: 01 07 00 48 27 00 00 00 00 00 27 0D AA [15:22:48]RasterBufferAndPrint [15:22:48]line [15:22:48]line [15:22:48]line [15:22:48]line [15:22:48]line [15:22:48]written 0, free lines is 3374 [15:22:48]MH_Cut [15:22:48]Write to MH i2c: D1 01 00 4F 27 01 48 [15:22:48]Write i2c OK [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: D1 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: D1 01 00 [15:22:48]MH_I2C_Read... [15:22:48]Read from MH i2c: D1 01 00 4F 27 00 47 [15:22:48]Write to MH i2c: 01 00 00 50 27 77 [15:22:48]Write i2c OK [15:22:48]MH_I2C_Read... [15:22:49]OFD Sender: No OFD packet to send [15:22:49]*** Cut start [15:22:49]*** Partial cut [15:22:49]*** CUTSNS_PIN = 1 [15:22:49]*** CUTSNS_PIN = 0 [15:22:49]*** Brake cut motor [15:22:50]Read from MH i2c: 01 [15:22:50]MH_I2C_Read... [15:22:50]*** Stop cut motor [15:22:50]*** Cut end [15:22:50]Read from MH i2c: 01 07 00 [15:22:50]MH_I2C_Read... [15:22:50]Read from MH i2c: 01 07 00 50 27 00 00 00 00 00 FF 0F 8C [15:22:50]process_action close_receipt done [15:22:50]requested_data is exist [15:22:50]produce_requested_data [15:22:50]requested_item fm.sn is exist - process it [15:22:50]wFMCommunicate request_size=4 [15:22:50]MH_SAM_APDU [15:22:50]CAPDU: 80 11 00 00 [15:22:50]Write to MH i2c: E2 08 00 51 27 80 11 00 00 00 00 00 00 F2 [15:22:50]Write i2c OK [15:22:50]MH_I2C_Read... [15:22:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:22:50]Read from MH i2c: E2 [15:22:50]MH_I2C_Read... [15:22:50]Read from MH i2c: E2 17 00 [15:22:50]MH_I2C_Read... [15:22:50]Read from MH i2c: E2 17 00 51 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 44 [15:22:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:22:50]wFMCommunicate OK [15:22:50]requested_item fd.num is exist - process it [15:22:50]SAM_PROTO_GetFieldsCounters [15:22:50]wFMCommunicate request_size=4 [15:22:50]MH_SAM_APDU [15:22:50]CAPDU: 80 13 00 00 [15:22:50]Write to MH i2c: E2 08 00 52 27 80 13 00 00 00 00 00 00 F5 [15:22:50]Write i2c OK [15:22:50]MH_I2C_Read... [15:22:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:22:50]Read from MH i2c: E2 [15:22:50]MH_I2C_Read... [15:22:50]Read from MH i2c: E2 62 00 [15:22:50]MH_I2C_Read... [15:22:50]Read from MH i2c: E2 62 00 52 27 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 2B 56 00 00 0E 04 04 00 44 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 5A [15:22: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 2B 56 00 00 0E 04 04 00 44 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 [15:22:50]wFMCommunicate OK [15:22:50]SAM_PROTO_GetFieldsCounters done [15:22:50]requested_item shift.num is exist - process it [15:22:50]requested_item shift.opened is exist - process it [15:22:50]req_shift_opened [15:22:50]FM_GetShiftState [15:22:50]SAM_PROTO_GetShiftState [15:22:50]wFMCommunicate request_size=4 [15:22:50]MH_SAM_APDU [15:22:50]CAPDU: 80 13 01 00 [15:22:50]Write to MH i2c: E2 08 00 53 27 80 13 01 00 00 00 00 00 F7 [15:22:50]Write i2c OK [15:22:50]MH_I2C_Read... [15:22:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:22:50]Read from MH i2c: E2 [15:22:50]MH_I2C_Read... [15:22:50]Read from MH i2c: E2 0E 00 [15:22:50]MH_I2C_Read... [15:22:50]Read from MH i2c: E2 0E 00 53 27 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 15 [15:22:50]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:22:50]wFMCommunicate OK [15:22:50]SAM_PROTO_GetShiftState done [15:22:50]FM_GetShiftState done [15:22:50]req_shift_opened done [15:22:50]requested_item shift.open_date is exist - process it [15:22:50]req_shift_open_date [15:22:50]req_shift_open_date done [15:22:50]produce_requested_data done [15:22:50]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22059,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [15:22:50]process_action_free close_receipt [15:22:50]json_value_free [15:22:50]json_value_free done [15:22:50]process_json_proto returns [15:22:50]Send response to host [15:22:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22059,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [15:22:50]free response buf [15:22:50]execute_script done [15:22:50]execute_script returns [15:22:50]free content buf [15:22:50]Sock 9.Close socket [15:22:50]Sock 9.Thread stoped [15:22:54]OFD Sender: No OFD packet to send [15:22:59]OFD Sender: No OFD packet to send [15:23:04]OFD Sender: No OFD packet to send [15:23:09]OFD Sender: No OFD packet to send [15:23:14]OFD Sender: No OFD packet to send [15:23:19]OFD Sender: No OFD packet to send [15:23:24]OFD Sender: No OFD packet to send [15:23:29]OFD Sender: No OFD packet to send [15:23:34]OFD Sender: No OFD packet to send [15:23:39]OFD Sender: No OFD packet to send [15:23:44]OFD Sender: No OFD packet to send [15:23:49]OFD Sender: No OFD packet to send [15:23:54]OFD Sender: No OFD packet to send [15:23:59]OFD Sender: No OFD packet to send [15:24:04]OFD Sender: No OFD packet to send [15:24:09]OFD Sender: No OFD packet to send [15:24:14]OFD Sender: No OFD packet to send [15:24:19]OFD Sender: No OFD packet to send [15:24:24]OFD Sender: No OFD packet to send [15:24:29]OFD Sender: No OFD packet to send [15:24:34]OFD Sender: No OFD packet to send [15:24:39]OFD Sender: No OFD packet to send [15:24:44]OFD Sender: No OFD packet to send [15:24:49]OFD Sender: No OFD packet to send [15:24:54]OFD Sender: No OFD packet to send [15:24:59]OFD Sender: No OFD packet to send [15:25:04]OFD Sender: No OFD packet to send [15:25:09]OFD Sender: No OFD packet to send [15:25:14]OFD Sender: No OFD packet to send [15:25:19]OFD Sender: No OFD packet to send [15:25:24]OFD Sender: No OFD packet to send [15:25:29]OFD Sender: No OFD packet to send [15:25:34]OFD Sender: No OFD packet to send [15:25:39]OFD Sender: No OFD packet to send [15:25:44]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29:49]OFD Sender: No OFD packet to send [15:29:54]OFD Sender: No OFD packet to send [15:29:59]OFD Sender: No OFD packet to send [15:30:04]OFD Sender: No OFD packet to send [15:30:09]OFD Sender: No OFD packet to send [15:30:14]OFD Sender: No OFD packet to send [15:30:19]OFD Sender: No OFD packet to send [15:30:24]OFD Sender: No OFD packet to send [15:30:29]OFD Sender: No OFD packet to send [15:30:34]OFD Sender: No OFD packet to send [15:30:39]OFD Sender: No OFD packet to send [15:30:44]OFD Sender: No OFD packet to send [15:30:49]OFD Sender: No OFD packet to send [15:30:54]OFD Sender: No OFD packet to send [15:30:59]OFD Sender: No OFD packet to send [15:31:04]OFD Sender: No OFD packet to send [15:31:09]OFD Sender: No OFD packet to send [15:31:14]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [15:37:44]OFD Sender: No OFD packet to send [15:37:49]OFD Sender: No OFD packet to send [15:37:54]OFD Sender: No OFD packet to send [15:37:59]OFD Sender: No OFD packet to send [15:38:04]OFD Sender: No OFD packet to send [15:38:09]OFD Sender: No OFD packet to send [15:38:14]OFD Sender: No OFD packet to send [15:38:19]OFD Sender: No OFD packet to send [15:38:24]OFD Sender: No OFD packet to send [15:38:29]OFD Sender: No OFD packet to send [15:38:34]OFD Sender: No OFD packet to send [15:38:39]OFD Sender: No OFD packet to send [15:38:45]OFD Sender: No OFD packet to send [15:38:50]OFD Sender: No OFD packet to send [15:38:55]OFD Sender: No OFD packet to send [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:35]OFD Sender: No OFD packet to send [15:39:40]OFD Sender: No OFD packet to send [15:39:45]OFD Sender: No OFD packet to send [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:55]OFD Sender: No OFD packet to send [15:42:00]OFD Sender: No OFD packet to send [15:42:05]OFD Sender: No OFD packet to send [15:42:10]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:44:00]OFD Sender: No OFD packet to send [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:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:09]accept exits with 8 [15:51:09]New connection [15:51:09]New thread 3067178340 created [15:51:09]Thread 3067321700 joined [15:51:09]Waiting for new connection... [15:51:09] Sock 8.Parse request [15:51:09]Sock 8.Check first char [15:51:09]Sock 8.First char is OK [15:51:09]request: POST /json_proto HTTP/1.0 [15:51:09]Method: POST [15:51:09]URL: /json_proto [15:51:09]Method is POST - this is cgi request [15:51:09]url: /json_proto [15:51:09]query_string will be loaded in cgi processing [15:51:09]execute_cgi json_proto POST (null) [15:51:09]execute_cgi path=json_proto method=POST [15:51:09]POST find Content-Length [15:51:09]Host: 172.17.35.133:8080 [15:51:09]Content-Length: 926 [15:51:09]Content-Type: application/json [15:51:09] [15:51:09]POST finish read [15:51:09]Found Content-Length = 926 [15:51:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254287", "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 }]} ,{ "code": "46214638", "name": "\u0420/\u0436 mentos p.white \u043D\u0435\u0436\u043D\u0430\u044F \u043C\u044F\u0442\u0430 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:51:09]execute_script... [15:51:09]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)254287", "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 }]} ,{ "code": "46214638", "name": "\u0420/\u0436 mentos p.white \u043D\u0435\u0436\u043D\u0430\u044F \u043C\u044F\u0442\u0430 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:51:09]POST & json_proto [15:51:09]process_json_proto [15:51:09]json parsed OK: [15:51:09]protocol is kg_v1.0 [15:51:09]action value=close_receipt [15:51:09]process_action close_receipt [15:51:09]cmd_close_receipt [15:51:09]MH_GetDate [15:51:09]Write to MH i2c: F0 00 00 54 27 6A [15:51:09]Write i2c OK [15:51:09]MH_I2C_Read... [15:51:09]Read from MH i2c: F0 [15:51:09]MH_I2C_Read... [15:51:09]Read from MH i2c: F0 09 00 [15:51:09]MH_I2C_Read... [15:51:09]Read from MH i2c: F0 09 00 54 27 00 76 15 6B 66 8C 55 28 65 3D [15:51:09]GetLastDocTimeStamp 1718292175 [15:51:09]current date 1718293878 [15:51:09]FM_GetShiftState [15:51:09]SAM_PROTO_GetShiftState [15:51:09]wFMCommunicate request_size=4 [15:51:09]MH_SAM_APDU [15:51:09]CAPDU: 80 13 01 00 [15:51:09]Write to MH i2c: E2 08 00 55 27 80 13 01 00 00 00 00 00 F9 [15:51:09]Write i2c OK [15:51:09]MH_I2C_Read... [15:51:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:51:09]Read from MH i2c: E2 [15:51:09]MH_I2C_Read... [15:51:09]Read from MH i2c: E2 0E 00 [15:51:09]MH_I2C_Read... [15:51:09]Read from MH i2c: E2 0E 00 55 27 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 17 [15:51:09]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:51:09]wFMCommunicate OK [15:51:09]SAM_PROTO_GetShiftState done [15:51:09]FM_GetShiftState done [15:51:09]opened in 1718237959 [15:51:09]opened+sec_in_day 1718324359 [15:51:09]quantity*price = 9500 [15:51:09]sum+1 = 9501 [15:51:09]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46214638 Р/ж mentos p.white нежная мята 16/15,5г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 40 13.06.2024 15:51 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22060 ФПД: 121053934524949 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T155119&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22060&fm=121053934524949&tin=02508201610067®Number=0000000000099755&sum=14400 0 [15:51:10]StoreToDocumentArchive [15:51:10]shift 324 fd 22060 [15:51:10]save to /storage/0324/doc_00022060 [15:51:10]save last doc name /storage/0324/doc_00022060 to /storage/kkm_last_doc_name [15:51:10]save OK [15:51:10]Clear old archive folders... [15:51:10]ProcessDocumentItem done err = 0, tmpTLVsize=412 [15:51:10]tlvbuf is 0024FA30 [15:51:10]SAM_PROTO_ClearQueue [15:51:10]wFMCommunicate request_size=4 [15:51:10]MH_SAM_APDU [15:51:10]CAPDU: 80 09 00 00 [15:51:10]Write to MH i2c: E2 08 00 62 27 80 09 00 00 00 00 00 00 FB [15:51:10]Write i2c OK [15:51:10]MH_I2C_Read... [15:51:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:51:10]Read from MH i2c: E2 [15:51:10]MH_I2C_Read... [15:51:10]Read from MH i2c: E2 03 00 [15:51:10]MH_I2C_Read... [15:51:10]Read from MH i2c: E2 03 00 62 27 00 90 00 FD [15:51:10]RAPDU: 90 00 [15:51:10]wFMCommunicate OK [15:51:10]SAM_PROTO_ClearQueue done [15:51:10]KKMCreateOFDPacket [15:51:10]OFDProtocolAddRootSTLVToBuf [15:51:10]FM_MakeSignedData [15:51:10]FM_MakeSignedData [15:51:10]SAM_PROTO_SignData [15:51:10]wFMCommunicate request_size=4 [15:51:10]MH_SAM_APDU [15:51:10]CAPDU: 80 0D 01 02 [15:51:10]Write to MH i2c: E2 08 00 63 27 80 0D 01 02 00 00 00 00 03 [15:51:10]Write i2c OK [15:51:10]MH_I2C_Read... [15:51:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:51:10]Read from MH i2c: E2 [15:51:10]MH_I2C_Read... [15:51:10]Read from MH i2c: E2 03 00 [15:51:10]MH_I2C_Read... [15:51:10]Read from MH i2c: E2 03 00 63 27 00 90 00 FE [15:51:10]RAPDU: 90 00 [15:51:10]wFMCommunicate OK [15:51:10]wFMCommunicate request_size=255 [15:51:10]MH_SAM_APDU [15:51:10]CAPDU: 80 0D 02 02 FA 03 00 9C 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 23 04 73 00 8A 04 08 00 34 36 32 31 34 36 33 38 06 04 34 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 2E 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [15:51:10]Write to MH i2c: E2 02 01 64 27 80 0D 02 02 FA 00 03 00 9C 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 23 04 73 00 8A 04 08 00 34 36 32 31 34 36 33 38 06 04 34 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 2E 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 B8 [15:51:10]Write i2c OK [15:51:10]MH_I2C_Read... [15:51:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:51:11]Read from MH i2c: E2 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: E2 03 00 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: E2 03 00 64 27 00 90 00 FF [15:51:11]RAPDU: 90 00 [15:51:11]wFMCommunicate OK [15:51:11]wFMCommunicate request_size=171 [15:51:11]MH_SAM_APDU [15:51:11]CAPDU: 80 0D 02 02 A6 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 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 77 15 6B 66 0E 04 04 00 44 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 2C 56 00 00 35 04 06 00 6E 19 10 C4 1A 15 [15:51:11]Write to MH i2c: E2 AE 00 65 27 80 0D 02 02 A6 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 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 77 15 6B 66 0E 04 04 00 44 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 2C 56 00 00 35 04 06 00 6E 19 10 C4 1A 15 00 00 E1 [15:51:11]Write i2c OK [15:51:11]MH_I2C_Read... [15:51:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:51:11]Read from MH i2c: E2 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: E2 03 00 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: E2 03 00 65 27 00 90 00 00 [15:51:11]RAPDU: 90 00 [15:51:11]wFMCommunicate OK [15:51:11]wFMCommunicate request_size=4 [15:51:11]MH_SAM_APDU [15:51:11]CAPDU: 80 0D 03 02 [15:51:11]Write to MH i2c: E2 08 00 66 27 80 0D 03 02 00 00 00 00 08 [15:51:11]Write i2c OK [15:51:11]MH_I2C_Read... [15:51:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:51:11]Read from MH i2c: E2 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: E2 0B 00 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: E2 0B 00 66 27 00 11 57 7C E8 B2 1F 69 A8 90 00 B7 [15:51:11]RAPDU: 11 57 7C E8 B2 1F 69 A8 90 00 [15:51:11]wFMCommunicate OK [15:51:11]SAM_PROTO_SignData done [15:51:11]FM_MakeSignedData done [15:51:11]CreateOFDProtocolMessage [15:51:11]wFMCommunicate request_size=4 [15:51:11]MH_SAM_APDU [15:51:11]CAPDU: 80 11 00 00 [15:51:11]Write to MH i2c: E2 08 00 67 27 80 11 00 00 00 00 00 00 08 [15:51:11]Write i2c OK [15:51:11]MH_I2C_Read... [15:51:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:51:11]Read from MH i2c: E2 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: E2 17 00 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: E2 17 00 67 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 5A [15:51:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:51:11]wFMCommunicate OK [15:51:11]CreateOFDProtocolMessage done [15:51:11]OFDSenderStorePacket 22060 [15:51:11]StoreOFDPacket docnum=22060 [15:51:11]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 20 42 A8 01 39 38 5A 03 01 00 03 00 9C 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 23 04 73 00 8A 04 08 00 34 36 32 31 34 36 33 38 06 04 34 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 2E 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 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 77 15 6B 66 0E 04 04 00 44 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 2C 56 00 00 35 04 06 00 6E 19 10 C4 1A 15 11 57 7C E8 B2 1F 69 A8 [15:51:11]CheckFolder [15:51:11]dirname=/storage/ofd_packets [15:51:11]CheckFolder done [15:51:11]ProducePacketName [15:51:11]name=ofd_packets/00022060 [15:51:11]NVStorageSaveData ofd_packets/00022060 [15:51:11]File name is /storage/ofd_packets/00022060 [15:51:11]Write 462 bytes [15:51:11]NVStorageSaveData done [15:51:11]OFDSenderStorePacket done [15:51:11]KKMCreateOFDPacket done [15:51:11]NVStorageSaveData kkm_last_timestamp [15:51:11]File name is /storage/kkm_last_timestamp [15:51:11]Write 4 bytes [15:51:11]NVStorageSaveData done [15:51:11]ExternCall_PrintAddStr [15:51:11]wPrintStart [15:51:11]Write to MH i2c: 01 00 00 68 27 8F [15:51:11]Write i2c OK [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: 01 [15:51:11]MH_I2C_Read... [15:51:11]OFD Sender: Processing packet 22060 [packets to send 5, broken 4] [15:51:11]ProducePacketName [15:51:11]name=ofd_packets/00022060 [15:51:11]OFD Sender: To server: pG, [15:51:11]CommunicateWithHost lk.salyk.kg:30040 [15:51:11]ConnectInit lk.salyk.kg [15:51:11]Read from MH i2c: 01 07 00 [15:51:11]MH_I2C_Read... [15:51:11]Read from MH i2c: 01 07 00 68 27 00 00 00 00 00 FF 0F A4 [15:51:11]RasterBufferAndPrint [15:51:11]line Счет N : (3)254287 [15:51:11]line ИНН: 02508201610067 [15:51:11]line Контрольно-Кассовый Чек [15:51:11]line ПРОДАЖА [15:51:11]line Товар: 4700000480050 [15:51:11]line Напиток Nitro Energy эн green ж/б 0,45л [15:51:11]line 1.000 * 95.00 [15:51:11]line = 95.00 [15:51:11]line НДС 12% НСП 1% [15:51:11]line > о реализуемом товаре [15:51:11]line Товар: 46214638 [15:51:11]line Р/ж mentos p.white нежная мята 16/15,5г [15:51:11]line 1.000 * 49.00 [15:51:11]line = 49.00 [15:51:11]line НДС 12% НСП 1% [15:51:11]line > о реализуемом товаре [15:51:11]line ИТОГО: 144.00 [15:51:11]line НСП 1% : 1.27 [15:51:11]line НДС 12% : 15.29 [15:51:11]line Наличными: 144.00 [15:51:11]line Безнал.: 0.00 [15:51:11]line Место: АЗС № 76 "Партнер Нефть" [15:51:11]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:51:11]line СНО: Общий режим [15:51:11]line Чек 40 13.06.2024 15:51 [15:51:11]line Смена: 324 ФФД: 1.0 [15:51:11]line ЗНМ: 0300000200 [15:51:11]line РНМ: 0000000000099755 [15:51:11]line Версия ККМ: 001 [15:51:11]line ФМ: 0000000000965344 [15:51:11]line ФД: 22060 [15:51:11]line ФПД: 121053934524949 [15:51:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T155119&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22060&fm=121053934524949&tin=02508201610067®Number=0000000000099755&sum=14400 [15:51:11]line 0 [15:51:11]written 0, free lines is 4095 [15:51:11]Connected sock=10 [15:51: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 B0 01 00 00 20 42 A8 01 39 38 5A 03 01 00 03 00 9C 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 23 04 73 00 8A 04 08 00 34 36 32 31 34 36 33 38 06 04 34 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 2E 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 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 77 15 6B 66 0E 04 04 00 44 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 2C 56 00 00 35 04 06 00 6E 19 10 C4 1A 15 11 57 7C E8 B2 1F 69 A8 [15:51: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 9B 26 47 00 68 6A 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 2C 56 00 00 F4 03 04 00 3A BE 6A 66 B6 04 01 00 00 0F 65 60 8E E6 93 18 07 [15:51:12]CommunicateWithHost err = 0 [15:51:12]CheckOFDResponse [15:51:12]1017 (14) - 77093643461234 [15:51:12]1041 (16) - 0000000000965344 [15:51:12]1040 (4) - 22060 [15:51:12]1012 (4) - 13.06.2024 09:39 [15:51:12]1206 (1) - 0 [15:51:12]OFD Sender: Remove packet 22060 [15:51:12]ProducePacketName [15:51:12]name=ofd_packets/00022060 [15:51:12]NVStorageDeleteData [15:51:12]Write to MH i2c: 01 00 00 98 27 BF [15:51:12]Write i2c OK [15:51:12]MH_I2C_Read... [15:51:12]Read from MH i2c: 01 [15:51:12]MH_I2C_Read... [15:51:12]Read from MH i2c: 01 07 00 [15:51:12]MH_I2C_Read... [15:51:12]Read from MH i2c: 01 07 00 98 27 00 00 00 00 00 A4 0C 76 [15:51:12]RasterBufferAndPrint [15:51:12]line [15:51:12]line [15:51:12]line [15:51:12]line [15:51:12]line [15:51:12]written 0, free lines is 3244 [15:51:12]MH_Cut [15:51:12]Write to MH i2c: D1 01 00 9F 27 01 98 [15:51:12]Write i2c OK [15:51:12]MH_I2C_Read... [15:51:12]Read from MH i2c: D1 [15:51:12]MH_I2C_Read... [15:51:12]Read from MH i2c: D1 01 00 [15:51:12]MH_I2C_Read... [15:51:12]Read from MH i2c: D1 01 00 9F 27 00 97 [15:51:12]Write to MH i2c: 01 00 00 A0 27 C7 [15:51:12]Write i2c OK [15:51:12]MH_I2C_Read... [15:51:12]OFD Sender: No OFD packet to send [15:51:12]*** Cut start [15:51:12]*** Partial cut [15:51:12]*** CUTSNS_PIN = 1 [15:51:12]*** CUTSNS_PIN = 0 [15:51:13]*** Brake cut motor [15:51:13]Read from MH i2c: 01 [15:51:13]MH_I2C_Read... [15:51:13]*** Stop cut motor [15:51:13]*** Cut end [15:51:13]Read from MH i2c: 01 07 00 [15:51:13]MH_I2C_Read... [15:51:13]Read from MH i2c: 01 07 00 A0 27 00 00 00 00 00 FF 0F DC [15:51:13]process_action close_receipt done [15:51:13]requested_data is exist [15:51:13]produce_requested_data [15:51:13]requested_item fm.sn is exist - process it [15:51:13]wFMCommunicate request_size=4 [15:51:13]MH_SAM_APDU [15:51:13]CAPDU: 80 11 00 00 [15:51:13]Write to MH i2c: E2 08 00 A1 27 80 11 00 00 00 00 00 00 42 [15:51:13]Write i2c OK [15:51:13]MH_I2C_Read... [15:51:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:51:13]Read from MH i2c: E2 [15:51:13]MH_I2C_Read... [15:51:13]Read from MH i2c: E2 17 00 [15:51:13]MH_I2C_Read... [15:51:13]Read from MH i2c: E2 17 00 A1 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 94 [15:51:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:51:13]wFMCommunicate OK [15:51:13]requested_item fd.num is exist - process it [15:51:13]SAM_PROTO_GetFieldsCounters [15:51:13]wFMCommunicate request_size=4 [15:51:13]MH_SAM_APDU [15:51:13]CAPDU: 80 13 00 00 [15:51:13]Write to MH i2c: E2 08 00 A2 27 80 13 00 00 00 00 00 00 45 [15:51:13]Write i2c OK [15:51:13]MH_I2C_Read... [15:51:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:51:13]Read from MH i2c: E2 [15:51:13]MH_I2C_Read... [15:51:13]Read from MH i2c: E2 62 00 [15:51:13]MH_I2C_Read... [15:51:13]Read from MH i2c: E2 62 00 A2 27 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 2C 56 00 00 0E 04 04 00 44 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 AE [15:51: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 2C 56 00 00 0E 04 04 00 44 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 [15:51:13]wFMCommunicate OK [15:51:13]SAM_PROTO_GetFieldsCounters done [15:51:13]requested_item shift.num is exist - process it [15:51:13]requested_item shift.opened is exist - process it [15:51:13]req_shift_opened [15:51:13]FM_GetShiftState [15:51:13]SAM_PROTO_GetShiftState [15:51:13]wFMCommunicate request_size=4 [15:51:13]MH_SAM_APDU [15:51:13]CAPDU: 80 13 01 00 [15:51:13]Write to MH i2c: E2 08 00 A3 27 80 13 01 00 00 00 00 00 47 [15:51:13]Write i2c OK [15:51:13]MH_I2C_Read... [15:51:13]Read from MH i2c: E2 [15:51:13]MH_I2C_Read... [15:51:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:51:13]Read from MH i2c: E2 0E 00 [15:51:13]MH_I2C_Read... [15:51:13]Read from MH i2c: E2 0E 00 A3 27 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 65 [15:51:13]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:51:13]wFMCommunicate OK [15:51:13]SAM_PROTO_GetShiftState done [15:51:13]FM_GetShiftState done [15:51:13]req_shift_opened done [15:51:13]requested_item shift.open_date is exist - process it [15:51:13]req_shift_open_date [15:51:13]req_shift_open_date done [15:51:13]produce_requested_data done [15:51:13]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22060,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [15:51:13]process_action_free close_receipt [15:51:13]json_value_free [15:51:13]json_value_free done [15:51:13]process_json_proto returns [15:51:13]Send response to host [15:51:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22060,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [15:51:13]free response buf [15:51:13]execute_script done [15:51:13]execute_script returns [15:51:13]free content buf [15:51:13]Sock 8.Close socket [15:51:13]Sock 8.Thread stoped [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:31]accept exits with 9 [15:51:31]New connection [15:51:31]New thread 3067321700 created [15:51:31]Thread 3067178340 joined [15:51:31]Waiting for new connection... [15:51:31] Sock 9.Parse request [15:51:31]Sock 9.Check first char [15:51:31]Sock 9.First char is OK [15:51:31]request: POST /json_proto HTTP/1.0 [15:51:31]Method: POST [15:51:31]URL: /json_proto [15:51:31]Method is POST - this is cgi request [15:51:31]url: /json_proto [15:51:31]query_string will be loaded in cgi processing [15:51:31]execute_cgi json_proto POST (null) [15:51:31]execute_cgi path=json_proto method=POST [15:51:31]POST find Content-Length [15:51:31]Host: 172.17.35.133:8080 [15:51:31]Content-Length: 700 [15:51:31]Content-Type: application/json [15:51:31] [15:51:31]POST finish read [15:51:31]Found Content-Length = 700 [15:51:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254288", "tax_sys" : 0, "items" : [ { "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" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:51:31]execute_script... [15: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)254288", "tax_sys" : 0, "items" : [ { "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" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:51:31]POST & json_proto [15:51:31]process_json_proto [15:51:31]json parsed OK: [15:51:31]protocol is kg_v1.0 [15:51:31]action value=close_receipt [15:51:31]process_action close_receipt [15:51:31]cmd_close_receipt [15:51:31]MH_GetDate [15:51:31]Write to MH i2c: F0 00 00 A4 27 BA [15:51:31]Write i2c OK [15:51:31]MH_I2C_Read... [15:51:31]Read from MH i2c: F0 [15:51:31]MH_I2C_Read... [15:51:31]Read from MH i2c: F0 09 00 [15:51:31]MH_I2C_Read... [15:51:31]Read from MH i2c: F0 09 00 A4 27 00 8C 15 6B 66 8C 55 28 65 A3 [15:51:31]GetLastDocTimeStamp 1718293879 [15:51:31]current date 1718293900 [15:51:31]FM_GetShiftState [15:51:31]SAM_PROTO_GetShiftState [15:51:31]wFMCommunicate request_size=4 [15:51:31]MH_SAM_APDU [15:51:31]CAPDU: 80 13 01 00 [15:51:31]Write to MH i2c: E2 08 00 A5 27 80 13 01 00 00 00 00 00 49 [15:51:31]Write i2c OK [15:51:31]MH_I2C_Read... [15:51:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:51:31]Read from MH i2c: E2 [15:51:31]MH_I2C_Read... [15:51:31]Read from MH i2c: E2 0E 00 [15:51:31]MH_I2C_Read... [15:51:31]Read from MH i2c: E2 0E 00 A5 27 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 67 [15:51:31]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:51:31]wFMCommunicate OK [15:51:31]SAM_PROTO_GetShiftState done [15:51:31]FM_GetShiftState done [15:51:31]opened in 1718237959 [15:51:31]opened+sec_in_day 1718324359 [15:51:31]quantity*price = 16500 [15:51:31]sum+1 = 16501 [15:51:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 165.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 41 13.06.2024 15:51 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22061 ФПД: 223214347686251 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T155140&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22061&fm=223214347686251&tin=02508201610067®Number=0000000000099755&sum=16500 0 [15:51:32]StoreToDocumentArchive [15:51:32]shift 324 fd 22061 [15:51:32]save to /storage/0324/doc_00022061 [15:51:32]save last doc name /storage/0324/doc_00022061 to /storage/kkm_last_doc_name [15:51:32]save OK [15:51:32]Clear old archive folders... [15:51:32]ProcessDocumentItem done err = 0, tmpTLVsize=296 [15:51:32]tlvbuf is 0022E7C0 [15:51:32]SAM_PROTO_ClearQueue [15:51:32]wFMCommunicate request_size=4 [15:51:32]MH_SAM_APDU [15:51:32]CAPDU: 80 09 00 00 [15:51:32]Write to MH i2c: E2 08 00 B2 27 80 09 00 00 00 00 00 00 4B [15:51:32]Write i2c OK [15:51:32]MH_I2C_Read... [15:51:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:51:32]Read from MH i2c: E2 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 03 00 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 03 00 B2 27 00 90 00 4D [15:51:32]RAPDU: 90 00 [15:51:32]wFMCommunicate OK [15:51:32]SAM_PROTO_ClearQueue done [15:51:32]KKMCreateOFDPacket [15:51:32]OFDProtocolAddRootSTLVToBuf [15:51:32]FM_MakeSignedData [15:51:32]FM_MakeSignedData [15:51:32]SAM_PROTO_SignData [15:51:32]wFMCommunicate request_size=4 [15:51:32]MH_SAM_APDU [15:51:32]CAPDU: 80 0D 01 02 [15:51:32]Write to MH i2c: E2 08 00 B3 27 80 0D 01 02 00 00 00 00 53 [15:51:32]Write i2c OK [15:51:32]MH_I2C_Read... [15:51:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:51:32]Read from MH i2c: E2 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 03 00 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 03 00 B3 27 00 90 00 4E [15:51:32]RAPDU: 90 00 [15:51:32]wFMCommunicate OK [15:51:32]wFMCommunicate request_size=255 [15:51:32]MH_SAM_APDU [15:51:32]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 8C 15 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [15:51:32]Write to MH i2c: E2 02 01 B4 27 80 0D 02 02 FA 00 03 00 28 01 1E 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 8C 15 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 D2 [15:51:32]Write i2c OK [15:51:32]MH_I2C_Read... [15:51:32]OFD Sender: No OFD packet to send [15:51:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:51:32]Read from MH i2c: E2 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 03 00 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 03 00 B4 27 00 90 00 4F [15:51:32]RAPDU: 90 00 [15:51:32]wFMCommunicate OK [15:51:32]wFMCommunicate request_size=55 [15:51:32]MH_SAM_APDU [15:51:32]CAPDU: 80 0D 02 02 32 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 2D 56 00 00 35 04 06 00 CB 03 23 E7 11 6B [15:51:32]Write to MH i2c: E2 3A 00 B5 27 80 0D 02 02 32 00 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 2D 56 00 00 35 04 06 00 CB 03 23 E7 11 6B 00 00 8F [15:51:32]Write i2c OK [15:51:32]MH_I2C_Read... [15:51:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:51:32]Read from MH i2c: E2 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 03 00 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 03 00 B5 27 00 90 00 50 [15:51:32]RAPDU: 90 00 [15:51:32]wFMCommunicate OK [15:51:32]wFMCommunicate request_size=4 [15:51:32]MH_SAM_APDU [15:51:32]CAPDU: 80 0D 03 02 [15:51:32]Write to MH i2c: E2 08 00 B6 27 80 0D 03 02 00 00 00 00 58 [15:51:32]Write i2c OK [15:51:32]MH_I2C_Read... [15:51:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:51:32]Read from MH i2c: E2 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 0B 00 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 0B 00 B6 27 00 8E 52 CF 49 E3 6F 44 47 90 00 2E [15:51:32]RAPDU: 8E 52 CF 49 E3 6F 44 47 90 00 [15:51:32]wFMCommunicate OK [15:51:32]SAM_PROTO_SignData done [15:51:32]FM_MakeSignedData done [15:51:32]CreateOFDProtocolMessage [15:51:32]wFMCommunicate request_size=4 [15:51:32]MH_SAM_APDU [15:51:32]CAPDU: 80 11 00 00 [15:51:32]Write to MH i2c: E2 08 00 B7 27 80 11 00 00 00 00 00 00 58 [15:51:32]Write i2c OK [15:51:32]MH_I2C_Read... [15:51:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:51:32]Read from MH i2c: E2 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 17 00 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: E2 17 00 B7 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AA [15:51:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:51:32]wFMCommunicate OK [15:51:32]CreateOFDProtocolMessage done [15:51:32]OFDSenderStorePacket 22061 [15:51:32]StoreOFDPacket docnum=22061 [15:51: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 3C 01 00 00 21 EE 34 01 E5 17 5A 03 01 00 03 00 28 01 1E 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 8C 15 6B 66 0E 04 04 00 44 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 2D 56 00 00 35 04 06 00 CB 03 23 E7 11 6B 8E 52 CF 49 E3 6F 44 47 [15:51:32]CheckFolder [15:51:32]dirname=/storage/ofd_packets [15:51:32]CheckFolder done [15:51:32]ProducePacketName [15:51:32]name=ofd_packets/00022061 [15:51:32]NVStorageSaveData ofd_packets/00022061 [15:51:32]File name is /storage/ofd_packets/00022061 [15:51:32]Write 346 bytes [15:51:32]NVStorageSaveData done [15:51:32]OFDSenderStorePacket done [15:51:32]KKMCreateOFDPacket done [15:51:32]NVStorageSaveData kkm_last_timestamp [15:51:32]File name is /storage/kkm_last_timestamp [15:51:32]Write 4 bytes [15:51:32]NVStorageSaveData done [15:51:32]ExternCall_PrintAddStr [15:51:32]wPrintStart [15:51:32]Write to MH i2c: 01 00 00 B8 27 DF [15:51:32]Write i2c OK [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: 01 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: 01 07 00 [15:51:32]MH_I2C_Read... [15:51:32]Read from MH i2c: 01 07 00 B8 27 00 00 00 00 00 FF 0F F4 [15:51:32]RasterBufferAndPrint [15:51:32]line Счет N : (3)254288 [15:51:32]line ИНН: 02508201610067 [15:51:32]line Контрольно-Кассовый Чек [15:51:32]line ПРОДАЖА [15:51:32]line Товар: 4870002328602 [15:51:32]line Напиток DADA ап,лемонграс ПЭТ 1л [15:51:32]line 1.000 * 165.00 [15:51:32]line = 165.00 [15:51:32]line НДС 12% НСП 1% [15:51:32]line > о реализуемом товаре [15:51:32]line ИТОГО: 165.00 [15:51:32]line НСП 1% : 1.46 [15:51:32]line НДС 12% : 17.52 [15:51:32]line Наличными: 165.00 [15:51:32]line Безнал.: 0.00 [15:51:32]line Место: АЗС № 76 "Партнер Нефть" [15:51:32]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:51:32]line СНО: Общий режим [15:51:32]line Чек 41 13.06.2024 15:51 [15:51:32]line Смена: 324 ФФД: 1.0 [15:51:32]line ЗНМ: 0300000200 [15:51:32]line РНМ: 0000000000099755 [15:51:32]line Версия ККМ: 001 [15:51:32]line ФМ: 0000000000965344 [15:51:32]line ФД: 22061 [15:51:32]line ФПД: 223214347686251 [15:51:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T155140&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22061&fm=223214347686251&tin=02508201610067®Number=0000000000099755&sum=16500 [15:51:33]line 0 [15:51:33]OFD Sender: Processing packet 22061 [packets to send 5, broken 4] [15:51:33]ProducePacketName [15:51:33]name=ofd_packets/00022061 [15:51:33]OFD Sender: To server: pG, [15:51:33]CommunicateWithHost lk.salyk.kg:30040 [15:51:33]ConnectInit lk.salyk.kg [15:51:33]written 0, free lines is 4095 [15:51:33]Write to MH i2c: 01 00 00 E1 27 08 [15:51:33]Write i2c OK [15:51:33]MH_I2C_Read... [15:51:33]Read from MH i2c: 01 [15:51:33]MH_I2C_Read... [15:51:33]Read from MH i2c: 01 07 00 [15:51:33]MH_I2C_Read... [15:51:33]Read from MH i2c: 01 07 00 E1 27 00 00 00 00 00 F8 0C 13 [15:51:33]RasterBufferAndPrint [15:51:33]line [15:51:33]line [15:51:33]line [15:51:33]line [15:51:33]line [15:51:33]written 0, free lines is 3326 [15:51:33]MH_Cut [15:51:33]Write to MH i2c: D1 01 00 E8 27 01 E1 [15:51:33]Write i2c OK [15:51:33]MH_I2C_Read... [15:51:33]Read from MH i2c: D1 [15:51:33]MH_I2C_Read... [15:51:33]Read from MH i2c: D1 01 00 [15:51:33]MH_I2C_Read... [15:51:33]Read from MH i2c: D1 01 00 E8 27 00 E0 [15:51:33]Write to MH i2c: 01 00 00 E9 27 10 [15:51:33]Write i2c OK [15:51:33]MH_I2C_Read... [15:51:34]*** Cut start [15:51:34]*** Partial cut [15:51:34]*** CUTSNS_PIN = 1 [15:51:34]Connected sock=10 [15:51: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 3C 01 00 00 21 EE 34 01 E5 17 5A 03 01 00 03 00 28 01 1E 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 8C 15 6B 66 0E 04 04 00 44 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 2D 56 00 00 35 04 06 00 CB 03 23 E7 11 6B 8E 52 CF 49 E3 6F 44 47 [15:51:34]*** CUTSNS_PIN = 0 [15:51: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 8A EC 47 00 F9 0B 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 2D 56 00 00 F4 03 04 00 50 BE 6A 66 B6 04 01 00 00 DE 99 FD D0 98 B3 CF DC [15:51:34]CommunicateWithHost err = 0 [15:51:34]CheckOFDResponse [15:51:34]1017 (14) - 77093643461234 [15:51:34]1041 (16) - 0000000000965344 [15:51:34]1040 (4) - 22061 [15:51:34]1012 (4) - 13.06.2024 09:39 [15:51:34]1206 (1) - 0 [15:51:34]OFD Sender: Remove packet 22061 [15:51:34]ProducePacketName [15:51:34]name=ofd_packets/00022061 [15:51:34]NVStorageDeleteData [15:51:34]*** Brake cut motor [15:51:34]Read from MH i2c: 01 [15:51:34]MH_I2C_Read... [15:51:34]*** Stop cut motor [15:51:34]*** Cut end [15:51:34]Read from MH i2c: 01 07 00 [15:51:34]MH_I2C_Read... [15:51:34]Read from MH i2c: 01 07 00 E9 27 00 00 00 00 00 FF 0F 25 [15:51:34]process_action close_receipt done [15:51:34]requested_data is exist [15:51:34]produce_requested_data [15:51:34]requested_item fm.sn is exist - process it [15:51:34]wFMCommunicate request_size=4 [15:51:34]MH_SAM_APDU [15:51:34]CAPDU: 80 11 00 00 [15:51:34]Write to MH i2c: E2 08 00 EA 27 80 11 00 00 00 00 00 00 8B [15:51:34]Write i2c OK [15:51:34]MH_I2C_Read... [15:51:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:51:35]Read from MH i2c: E2 [15:51:35]MH_I2C_Read... [15:51:35]Read from MH i2c: E2 17 00 [15:51:35]MH_I2C_Read... [15:51:35]Read from MH i2c: E2 17 00 EA 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 DD [15: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 [15:51:35]wFMCommunicate OK [15:51:35]requested_item fd.num is exist - process it [15:51:35]SAM_PROTO_GetFieldsCounters [15:51:35]wFMCommunicate request_size=4 [15:51:35]MH_SAM_APDU [15:51:35]CAPDU: 80 13 00 00 [15:51:35]Write to MH i2c: E2 08 00 EB 27 80 13 00 00 00 00 00 00 8E [15:51:35]OFD Sender: No OFD packet to send [15:51:35]Write i2c OK [15:51:35]MH_I2C_Read... [15:51:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:51:35]Read from MH i2c: E2 [15:51:35]MH_I2C_Read... [15:51:35]Read from MH i2c: E2 62 00 [15:51:35]MH_I2C_Read... [15:51:35]Read from MH i2c: E2 62 00 EB 27 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 2D 56 00 00 0E 04 04 00 44 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 FB [15: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 2D 56 00 00 0E 04 04 00 44 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 [15:51:35]wFMCommunicate OK [15:51:35]SAM_PROTO_GetFieldsCounters done [15:51:35]requested_item shift.num is exist - process it [15:51:35]requested_item shift.opened is exist - process it [15:51:35]req_shift_opened [15:51:35]FM_GetShiftState [15:51:35]SAM_PROTO_GetShiftState [15:51:35]wFMCommunicate request_size=4 [15:51:35]MH_SAM_APDU [15:51:35]CAPDU: 80 13 01 00 [15:51:35]Write to MH i2c: E2 08 00 EC 27 80 13 01 00 00 00 00 00 90 [15:51:35]Write i2c OK [15:51:35]MH_I2C_Read... [15:51:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:51:35]Read from MH i2c: E2 [15:51:35]MH_I2C_Read... [15:51:35]Read from MH i2c: E2 0E 00 [15:51:35]MH_I2C_Read... [15:51:35]Read from MH i2c: E2 0E 00 EC 27 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 AE [15:51:35]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [15:51:35]wFMCommunicate OK [15:51:35]SAM_PROTO_GetShiftState done [15:51:35]FM_GetShiftState done [15:51:35]req_shift_opened done [15:51:35]requested_item shift.open_date is exist - process it [15:51:35]req_shift_open_date [15:51:35]req_shift_open_date done [15:51:35]produce_requested_data done [15:51:35]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22061,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [15:51:35]process_action_free close_receipt [15:51:35]json_value_free [15:51:35]json_value_free done [15:51:35]process_json_proto returns [15:51:35]Send response to host [15:51:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22061,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [15:51:35]free response buf [15:51:35]execute_script done [15:51:35]execute_script returns [15:51:35]free content buf [15:51:35]Sock 9.Close socket [15:51:35]Sock 9.Thread stoped [15:51:40]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:45]OFD Sender: No OFD packet to send [15:57:50]OFD Sender: No OFD packet to send [15:57:55]OFD Sender: No OFD packet to send [15:58:00]OFD Sender: No OFD packet to send [15:58:05]OFD Sender: No OFD packet to send [15:58:10]OFD Sender: No OFD packet to send [15:58:15]OFD Sender: No OFD packet to send [15:58:20]OFD Sender: No OFD packet to send [15:58:25]OFD Sender: No OFD packet to send [15:58:30]OFD Sender: No OFD packet to send [15:58:35]OFD Sender: No OFD packet to send [15:58:40]OFD Sender: No OFD packet to send [15:58:45]OFD Sender: No OFD packet to send [15:58:50]OFD Sender: No OFD packet to send [15:58:55]OFD Sender: No OFD packet to send [15:59:00]OFD Sender: No OFD packet to send [15:59:05]OFD Sender: No OFD packet to send [15:59:10]OFD Sender: No OFD packet to send [15:59:15]OFD Sender: No OFD packet to send [15:59:20]OFD Sender: No OFD packet to send [15:59:25]OFD Sender: No OFD packet to send [15:59:30]OFD Sender: No OFD packet to send [15:59:35]OFD Sender: No OFD packet to send [15:59:40]OFD Sender: No OFD packet to send [15:59:45]OFD Sender: No OFD packet to send [15:59:50]OFD Sender: No OFD packet to send [15:59:55]OFD Sender: No OFD packet to send [16:00:00]OFD Sender: No OFD packet to send [16:00:05]OFD Sender: No OFD packet to send [16:00:10]OFD Sender: No OFD packet to send [16:00:15]OFD Sender: No OFD packet to send [16:00:20]OFD Sender: No OFD packet to send [16:00:25]OFD Sender: No OFD packet to send [16:00:30]OFD Sender: No OFD packet to send [16:00:35]OFD Sender: No OFD packet to send [16:00:40]OFD Sender: No OFD packet to send [16:00:45]OFD Sender: No OFD packet to send [16:00:50]OFD Sender: No OFD packet to send [16:00:55]OFD Sender: No OFD packet to send [16:01:00]OFD Sender: No OFD packet to send [16:01:05]OFD Sender: No OFD packet to send [16:01:10]OFD Sender: No OFD packet to send [16:01:15]OFD Sender: No OFD packet to send [16:01:20]OFD Sender: No OFD packet to send [16:01:25]OFD Sender: No OFD packet to send [16:01:30]OFD Sender: No OFD packet to send [16:01:35]OFD Sender: No OFD packet to send [16:01:40]OFD Sender: No OFD packet to send [16:01:45]OFD Sender: No OFD packet to send [16:01:50]OFD Sender: No OFD packet to send [16:01:55]OFD Sender: No OFD packet to send [16:02:00]OFD Sender: No OFD packet to send [16:02:05]OFD Sender: No OFD packet to send [16:02:10]OFD Sender: No OFD packet to send [16:02:15]OFD Sender: No OFD packet to send [16:02:20]OFD Sender: No OFD packet to send [16:02:25]OFD Sender: No OFD packet to send [16:02:30]OFD Sender: No OFD packet to send [16:02:35]OFD Sender: No OFD packet to send [16:02:40]OFD Sender: No OFD packet to send [16:02:45]OFD Sender: No OFD packet to send [16:02:50]OFD Sender: No OFD packet to send [16:02:55]OFD Sender: No OFD packet to send [16:03:00]OFD Sender: No OFD packet to send [16:03:05]OFD Sender: No OFD packet to send [16:03:10]OFD Sender: No OFD packet to send [16:03:15]OFD Sender: No OFD packet to send [16:03:20]OFD Sender: No OFD packet to send [16:03:25]OFD Sender: No OFD packet to send [16:03:30]OFD Sender: No OFD packet to send [16:03:35]OFD Sender: No OFD packet to send [16:03:40]OFD Sender: No OFD packet to send [16:03:45]OFD Sender: No OFD packet to send [16:03:50]OFD Sender: No OFD packet to send [16:03:55]OFD Sender: No OFD packet to send [16:04:00]OFD Sender: No OFD packet to send [16:04:05]OFD Sender: No OFD packet to send [16:04:10]OFD Sender: No OFD packet to send [16:04:15]OFD Sender: No OFD packet to send [16:04:20]OFD Sender: No OFD packet to send [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:45]OFD Sender: No OFD packet to send [16:05:50]OFD Sender: No OFD packet to send [16:05:55]OFD Sender: No OFD packet to send [16:06:00]OFD Sender: No OFD packet to send [16:06:05]OFD Sender: No OFD packet to send [16:06:10]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:20]OFD Sender: No OFD packet to send [16:06:25]OFD Sender: No OFD packet to send [16:06:30]OFD Sender: No OFD packet to send [16:06:35]OFD Sender: No OFD packet to send [16:06:40]OFD Sender: No OFD packet to send [16:06:45]OFD Sender: No OFD packet to send [16:06:50]OFD Sender: No OFD packet to send [16:06:55]OFD Sender: No OFD packet to send [16:07:00]OFD Sender: No OFD packet to send [16:07:05]OFD Sender: No OFD packet to send [16:07:10]OFD Sender: No OFD packet to send [16:07:15]OFD Sender: No OFD packet to send [16:07:20]OFD Sender: No OFD packet to send [16:07:25]OFD Sender: No OFD packet to send [16:07:30]OFD Sender: No OFD packet to send [16:07:35]OFD Sender: No OFD packet to send [16:07:40]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:15]OFD Sender: No OFD packet to send [16:09:20]OFD Sender: No OFD packet to send [16:09:25]OFD Sender: No OFD packet to send [16:09:30]OFD Sender: No OFD packet to send [16:09:35]OFD Sender: No OFD packet to send [16:09:40]OFD Sender: No OFD packet to send [16:09:45]OFD Sender: No OFD packet to send [16:09:50]OFD Sender: No OFD packet to send [16:09:55]OFD Sender: No OFD packet to send [16:10:00]OFD Sender: No OFD packet to send [16:10:05]OFD Sender: No OFD packet to send [16:10:10]OFD Sender: No OFD packet to send [16:10:15]OFD Sender: No OFD packet to send [16:10:20]OFD Sender: No OFD packet to send [16:10:25]OFD Sender: No OFD packet to send [16:10:30]OFD Sender: No OFD packet to send [16:10:35]OFD Sender: No OFD packet to send [16:10:40]OFD Sender: No OFD packet to send [16:10:45]OFD Sender: No OFD packet to send [16:10:50]OFD Sender: No OFD packet to send [16:10:55]OFD Sender: No OFD packet to send [16:11:00]OFD Sender: No OFD packet to send [16:11:05]OFD Sender: No OFD packet to send [16:11:10]OFD Sender: No OFD packet to send [16:11:15]OFD Sender: No OFD packet to send [16:11:20]OFD Sender: No OFD packet to send [16:11:25]OFD Sender: No OFD packet to send [16:11:30]OFD Sender: No OFD packet to send [16:11:35]OFD Sender: No OFD packet to send [16:11:40]OFD Sender: No OFD packet to send [16:11:45]OFD Sender: No OFD packet to send [16:11:51]OFD Sender: No OFD packet to send [16:11:56]OFD Sender: No OFD packet to send [16:12:01]OFD Sender: No OFD packet to send [16:12:06]OFD Sender: No OFD packet to send [16:12:11]OFD Sender: No OFD packet to send [16:12:16]OFD Sender: No OFD packet to send [16:12:21]OFD Sender: No OFD packet to send [16:12:26]OFD Sender: No OFD packet to send [16:12:31]OFD Sender: No OFD packet to send [16:12:36]OFD Sender: No OFD packet to send [16:12:41]OFD Sender: No OFD packet to send [16:12:46]OFD Sender: No OFD packet to send [16:12:51]OFD Sender: No OFD packet to send [16:12:56]OFD Sender: No OFD packet to send [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:21]OFD Sender: No OFD packet to send [16:13:26]OFD Sender: No OFD packet to send [16:13:31]OFD Sender: No OFD packet to send [16:13:36]OFD Sender: No OFD packet to send [16:13:41]OFD Sender: No OFD packet to send [16:13:46]OFD Sender: No OFD packet to send [16:13:51]OFD Sender: No OFD packet to send [16:13:56]OFD Sender: No OFD packet to send [16:14:01]OFD Sender: No OFD packet to send [16:14:06]OFD Sender: No OFD packet to send [16:14:11]OFD Sender: No OFD packet to send [16:14:16]OFD Sender: No OFD packet to send [16:14:21]OFD Sender: No OFD packet to send [16:14:26]OFD Sender: No OFD packet to send [16:14:31]OFD Sender: No OFD packet to send [16:14:36]OFD Sender: No OFD packet to send [16:14:41]OFD Sender: No OFD packet to send [16:14:46]OFD Sender: No OFD packet to send [16:14:51]OFD Sender: No OFD packet to send [16:14:56]OFD Sender: No OFD packet to send [16:15:01]OFD Sender: No OFD packet to send [16:15:06]OFD Sender: No OFD packet to send [16:15:11]OFD Sender: No OFD packet to send [16:15:16]OFD Sender: No OFD packet to send [16:15:21]OFD Sender: No OFD packet to send [16:15:26]OFD Sender: No OFD packet to send [16:15:31]OFD Sender: No OFD packet to send [16:15:36]OFD Sender: No OFD packet to send [16:15:41]OFD Sender: No OFD packet to send [16:15:46]OFD Sender: No OFD packet to send [16:15:51]OFD Sender: No OFD packet to send [16:15:56]OFD Sender: No OFD packet to send [16:16:01]OFD Sender: No OFD packet to send [16:16:06]OFD Sender: No OFD packet to send [16:16:11]OFD Sender: No OFD packet to send [16:16:16]OFD Sender: No OFD packet to send [16:16:21]OFD Sender: No OFD packet to send [16:16:26]OFD Sender: No OFD packet to send [16:16:31]OFD Sender: No OFD packet to send [16:16:36]OFD Sender: No OFD packet to send [16:16:41]OFD Sender: No OFD packet to send [16:16:46]OFD Sender: No OFD packet to send [16:16:51]OFD Sender: No OFD packet to send [16:16:56]OFD Sender: No OFD packet to send [16:17:01]OFD Sender: No OFD packet to send [16:17:06]OFD Sender: No OFD packet to send [16:17:11]OFD Sender: No OFD packet to send [16:17:16]OFD Sender: No OFD packet to send [16:17:21]OFD Sender: No OFD packet to send [16:17:26]OFD Sender: No OFD packet to send [16:17:31]OFD Sender: No OFD packet to send [16:17:36]OFD Sender: No OFD packet to send [16:17:41]OFD Sender: No OFD packet to send [16:17:46]OFD Sender: No OFD packet to send [16:17:51]OFD Sender: No OFD packet to send [16:17:56]OFD Sender: No OFD packet to send [16:18:01]OFD Sender: No OFD packet to send [16:18:06]OFD Sender: No OFD packet to send [16:18:11]OFD Sender: No OFD packet to send [16:18:16]OFD Sender: No OFD packet to send [16:18:21]OFD Sender: No OFD packet to send [16:18:26]OFD Sender: No OFD packet to send [16:18:31]OFD Sender: No OFD packet to send [16:18:36]OFD Sender: No OFD packet to send [16:18:41]OFD Sender: No OFD packet to send [16:18:46]OFD Sender: No OFD packet to send [16:18:51]OFD Sender: No OFD packet to send [16:18:56]OFD Sender: No OFD packet to send [16:19:01]OFD Sender: No OFD packet to send [16:19:06]OFD Sender: No OFD packet to send [16:19:11]OFD Sender: No OFD packet to send [16:19:16]OFD Sender: No OFD packet to send [16:19:21]OFD Sender: No OFD packet to send [16:19:26]OFD Sender: No OFD packet to send [16:19:31]OFD Sender: No OFD packet to send [16:19:36]OFD Sender: No OFD packet to send [16:19:41]OFD Sender: No OFD packet to send [16:19:46]OFD Sender: No OFD packet to send [16:19:51]OFD Sender: No OFD packet to send [16:19:56]OFD Sender: No OFD packet to send [16:20:01]OFD Sender: No OFD packet to send [16:20:06]OFD Sender: No OFD packet to send [16:20:11]OFD Sender: No OFD packet to send [16:20:16]OFD Sender: No OFD packet to send [16:20:21]OFD Sender: No OFD packet to send [16:20:26]OFD Sender: No OFD packet to send [16:20:31]OFD Sender: No OFD packet to send [16:20:36]OFD Sender: No OFD packet to send [16:20:41]OFD Sender: No OFD packet to send [16:20:46]OFD Sender: No OFD packet to send [16:20:51]OFD Sender: No OFD packet to send [16:20:56]OFD Sender: No OFD packet to send [16:21:01]OFD Sender: No OFD packet to send [16:21:06]OFD Sender: No OFD packet to send [16:21:11]OFD Sender: No OFD packet to send [16:21:16]OFD Sender: No OFD packet to send [16:21:21]OFD Sender: No OFD packet to send [16:21:26]OFD Sender: No OFD packet to send [16:21:31]OFD Sender: No OFD packet to send [16:21:36]OFD Sender: No OFD packet to send [16:21:41]OFD Sender: No OFD packet to send [16:21:46]OFD Sender: No OFD packet to send [16:21:51]OFD Sender: No OFD packet to send [16:21:56]OFD Sender: No OFD packet to send [16:22:01]OFD Sender: No OFD packet to send [16:22:06]OFD Sender: No OFD packet to send [16:22:11]OFD Sender: No OFD packet to send [16:22:16]OFD Sender: No OFD packet to send [16:22:21]OFD Sender: No OFD packet to send [16:22:26]OFD Sender: No OFD packet to send [16:22:31]OFD Sender: No OFD packet to send [16:22:36]OFD Sender: No OFD packet to send [16:22:41]OFD Sender: No OFD packet to send [16:22:46]OFD Sender: No OFD packet to send [16:22:51]OFD Sender: No OFD packet to send [16:22:56]OFD Sender: No OFD packet to send [16:23:01]OFD Sender: No OFD packet to send [16:23:06]OFD Sender: No OFD packet to send [16:23:11]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:36]OFD Sender: No OFD packet to send [16:24:41]OFD Sender: No OFD packet to send [16:24:46]OFD Sender: No OFD packet to send [16:24:51]OFD Sender: No OFD packet to send [16:24:56]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:06]OFD Sender: No OFD packet to send [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:56]OFD Sender: No OFD packet to send [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:56]OFD Sender: No OFD packet to send [16:27:01]OFD Sender: No OFD packet to send [16:27:06]OFD Sender: No OFD packet to send [16:27:11]OFD Sender: No OFD packet to send [16:27:16]OFD Sender: No OFD packet to send [16:27:21]OFD Sender: No OFD packet to send [16:27:26]OFD Sender: No OFD packet to send [16:27:31]OFD Sender: No OFD packet to send [16:27:36]OFD Sender: No OFD packet to send [16:27:41]OFD Sender: No OFD packet to send [16:27:46]OFD Sender: No OFD packet to send [16:27:51]OFD Sender: No OFD packet to send [16:27:52]accept exits with 8 [16:27:52]New connection [16:27:52]New thread 3067178340 created [16:27:52]Thread 3067321700 joined [16:27:52]Waiting for new connection... [16:27:52] Sock 8.Parse request [16:27:52]Sock 8.Check first char [16:27:52]Sock 8.First char is OK [16:27:52]request: POST /json_proto HTTP/1.0 [16:27:52]Method: POST [16:27:52]URL: /json_proto [16:27:52]Method is POST - this is cgi request [16:27:52]url: /json_proto [16:27:52]query_string will be loaded in cgi processing [16:27:52]execute_cgi json_proto POST (null) [16:27:52]execute_cgi path=json_proto method=POST [16:27:52]POST find Content-Length [16:27:52]Host: 172.17.35.133:8080 [16:27:52]Content-Length: 678 [16:27:52]Content-Type: application/json [16:27:52] [16:27:52]POST finish read [16:27:52]Found Content-Length = 678 [16:27:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609695", "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" : 4.260, "sum" : 280.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 280.00, "total" : 280.00, "payments": [ { "type": 0, "sum" : 280.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:27:52]execute_script... [16:27: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 : (1)1609695", "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" : 4.260, "sum" : 280.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 280.00, "total" : 280.00, "payments": [ { "type": 0, "sum" : 280.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:27:52]POST & json_proto [16:27:52]process_json_proto [16:27:52]json parsed OK: [16:27:52]protocol is kg_v1.0 [16:27:52]action value=close_receipt [16:27:52]process_action close_receipt [16:27:52]cmd_close_receipt [16:27:52]MH_GetDate [16:27:52]Write to MH i2c: F0 00 00 ED 27 03 [16:27:52]Write i2c OK [16:27:52]MH_I2C_Read... [16:27:52]Read from MH i2c: F0 [16:27:52]MH_I2C_Read... [16:27:52]Read from MH i2c: F0 09 00 [16:27:52]MH_I2C_Read... [16:27:52]Read from MH i2c: F0 09 00 ED 27 00 12 1E 6B 66 8C 55 28 65 7B [16:27:52]GetLastDocTimeStamp 1718293900 [16:27:52]current date 1718296082 [16:27:52]FM_GetShiftState [16:27:52]SAM_PROTO_GetShiftState [16:27:52]wFMCommunicate request_size=4 [16:27:52]MH_SAM_APDU [16:27:52]CAPDU: 80 13 01 00 [16:27:52]Write to MH i2c: E2 08 00 EE 27 80 13 01 00 00 00 00 00 92 [16:27:52]Write i2c OK [16:27:52]MH_I2C_Read... [16:27:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:52]Read from MH i2c: E2 [16:27:52]MH_I2C_Read... [16:27:52]Read from MH i2c: E2 0E 00 [16:27:52]MH_I2C_Read... [16:27:52]Read from MH i2c: E2 0E 00 EE 27 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 B0 [16:27:52]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [16:27:52]wFMCommunicate OK [16:27:52]SAM_PROTO_GetShiftState done [16:27:52]FM_GetShiftState done [16:27:52]opened in 1718237959 [16:27:52]opened+sec_in_day 1718324359 [16:27:52]quantity*price = 28030 [16:27:52]sum+1 = 28032 [16:27:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.31 ИТОГО: 280.00 Внесено: 280.00 СДАЧА: 0.00 НСП 1% : 2.48 НДС 12% : 29.77 Наличными: 280.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 42 13.06.2024 16:28 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22062 ФПД: 128274156650088 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T162802&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22062&fm=128274156650088&tin=02508201610067®Number=0000000000099755&sum=28000 [16:27:53]StoreToDocumentArchive [16:27:53]shift 324 fd 22062 [16:27:53]save to /storage/0324/doc_00022062 [16:27:53]save last doc name /storage/0324/doc_00022062 to /storage/kkm_last_doc_name [16:27:53]save OK [16:27:53]Clear old archive folders... [16:27:53]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:27:53]tlvbuf is 00241AF0 [16:27:53]SAM_PROTO_ClearQueue [16:27:53]wFMCommunicate request_size=4 [16:27:53]MH_SAM_APDU [16:27:53]CAPDU: 80 09 00 00 [16:27:53]Write to MH i2c: E2 08 00 FB 27 80 09 00 00 00 00 00 00 94 [16:27:53]Write i2c OK [16:27:53]MH_I2C_Read... [16:27:53]Read from MH i2c: E2 [16:27:53]MH_I2C_Read... [16:27:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:27:53]Read from MH i2c: E2 03 00 [16:27:53]MH_I2C_Read... [16:27:53]Read from MH i2c: E2 03 00 FB 27 00 90 00 96 [16:27:53]RAPDU: 90 00 [16:27:53]wFMCommunicate OK [16:27:53]SAM_PROTO_ClearQueue done [16:27:53]KKMCreateOFDPacket [16:27:53]OFDProtocolAddRootSTLVToBuf [16:27:53]FM_MakeSignedData [16:27:53]FM_MakeSignedData [16:27:53]SAM_PROTO_SignData [16:27:53]wFMCommunicate request_size=4 [16:27:53]MH_SAM_APDU [16:27:53]CAPDU: 80 0D 01 02 [16:27:53]Write to MH i2c: E2 08 00 FC 27 80 0D 01 02 00 00 00 00 9C [16:27:53]Write i2c OK [16:27:53]MH_I2C_Read... [16:27:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:27:53]Read from MH i2c: E2 [16:27:53]MH_I2C_Read... [16:27:53]Read from MH i2c: E2 03 00 [16:27:53]MH_I2C_Read... [16:27:53]Read from MH i2c: E2 03 00 FC 27 00 90 00 97 [16:27:53]RAPDU: 90 00 [16:27:53]wFMCommunicate OK [16:27:53]wFMCommunicate request_size=255 [16:27:53]MH_SAM_APDU [16:27:53]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 A4 10 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 7F 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 0B 00 00 00 00 07 04 06 00 60 6D 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 12 1E 6B 66 0E 04 04 00 44 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 2E 56 00 00 35 04 06 00 74 [16:27:53]Write to MH i2c: E2 02 01 FD 27 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 A4 10 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 7F 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 0B 00 00 00 00 07 04 06 00 60 6D 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 12 1E 6B 66 0E 04 04 00 44 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 2E 56 00 00 35 04 06 00 74 00 00 C2 [16:27:53]Write i2c OK [16:27:53]MH_I2C_Read... [16:27:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:54]Read from MH i2c: E2 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: E2 03 00 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: E2 03 00 FD 27 00 90 00 98 [16:27:54]RAPDU: 90 00 [16:27:54]wFMCommunicate OK [16:27:54]wFMCommunicate request_size=10 [16:27:54]MH_SAM_APDU [16:27:54]CAPDU: 80 0D 02 02 05 AA 27 8A 7E 68 [16:27:54]Write to MH i2c: E2 0D 00 FE 27 80 0D 02 02 05 00 AA 27 8A 7E 68 00 00 EA [16:27:54]Write i2c OK [16:27:54]MH_I2C_Read... [16:27:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:54]Read from MH i2c: E2 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: E2 03 00 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: E2 03 00 FE 27 00 90 00 99 [16:27:54]RAPDU: 90 00 [16:27:54]wFMCommunicate OK [16:27:54]wFMCommunicate request_size=4 [16:27:54]MH_SAM_APDU [16:27:54]CAPDU: 80 0D 03 02 [16:27:54]Write to MH i2c: E2 08 00 FF 27 80 0D 03 02 00 00 00 00 A1 [16:27:54]Write i2c OK [16:27:54]MH_I2C_Read... [16:27:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:27:54]Read from MH i2c: E2 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: E2 0B 00 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: E2 0B 00 FF 27 00 D8 2F BE 68 B1 9D 91 03 90 00 B1 [16:27:54]RAPDU: D8 2F BE 68 B1 9D 91 03 90 00 [16:27:54]wFMCommunicate OK [16:27:54]SAM_PROTO_SignData done [16:27:54]FM_MakeSignedData done [16:27:54]CreateOFDProtocolMessage [16:27:54]wFMCommunicate request_size=4 [16:27:54]MH_SAM_APDU [16:27:54]CAPDU: 80 11 00 00 [16:27:54]Write to MH i2c: E2 08 00 00 28 80 11 00 00 00 00 00 00 A2 [16:27:54]Write i2c OK [16:27:54]MH_I2C_Read... [16:27:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:54]Read from MH i2c: E2 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: E2 17 00 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: E2 17 00 00 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F4 [16:27:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:27:54]wFMCommunicate OK [16:27:54]CreateOFDProtocolMessage done [16:27:54]OFDSenderStorePacket 22062 [16:27:54]StoreOFDPacket docnum=22062 [16:27: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 0F 01 00 00 5D 07 07 01 E8 53 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 A4 10 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 7F 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 0B 00 00 00 00 07 04 06 00 60 6D 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 12 1E 6B 66 0E 04 04 00 44 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 2E 56 00 00 35 04 06 00 74 AA 27 8A 7E 68 D8 2F BE 68 B1 9D 91 03 [16:27:54]CheckFolder [16:27:54]dirname=/storage/ofd_packets [16:27:54]CheckFolder done [16:27:54]ProducePacketName [16:27:54]name=ofd_packets/00022062 [16:27:54]NVStorageSaveData ofd_packets/00022062 [16:27:54]File name is /storage/ofd_packets/00022062 [16:27:54]Write 301 bytes [16:27:54]NVStorageSaveData done [16:27:54]OFDSenderStorePacket done [16:27:54]KKMCreateOFDPacket done [16:27:54]NVStorageSaveData kkm_last_timestamp [16:27:54]File name is /storage/kkm_last_timestamp [16:27:54]Write 4 bytes [16:27:54]NVStorageSaveData done [16:27:54]ExternCall_PrintAddStr [16:27:54]wPrintStart [16:27:54]Write to MH i2c: 01 00 00 01 28 29 [16:27:54]Write i2c OK [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: 01 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: 01 07 00 [16:27:54]MH_I2C_Read... [16:27:54]Read from MH i2c: 01 07 00 01 28 00 00 00 00 00 FF 0F 3E [16:27:54]RasterBufferAndPrint [16:27:54]line Счет N : (1)1609695 [16:27:54]line ИНН: 02508201610067 [16:27:54]line Контрольно-Кассовый Чек [16:27:54]line ПРОДАЖА [16:27:54]line ТРК (МРК, ГНК) : 43 [16:27:54]line Товар: 2710124130 [16:27:54]line Аи-92-К-5 [16:27:54]line 4.260 * 65.80 [16:27:54]line = 280.31 [16:27:54]line НДС 12% НСП 1% [16:27:54]line > о реализуемом товаре [16:27:54]line ОКРУГЛЕНИЕ: -0.31 [16:27:54]line ИТОГО: 280.00 [16:27:54]line Внесено: 280.00 [16:27:54]line СДАЧА: 0.00 [16:27:54]line НСП 1% : 2.48 [16:27:54]line НДС 12% : 29.77 [16:27:54]line Наличными: 280.00 [16:27:54]line Безнал.: 0.00 [16:27:54]line Место: АЗС № 76 "Партнер Нефть" [16:27:54]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:27:54]line СНО: Общий режим [16:27:54]line Чек 42 13.06.2024 16:28 [16:27:54]line Смена: 324 ФФД: 1.0 [16:27:54]line ЗНМ: 0300000200 [16:27:54]line РНМ: 0000000000099755 [16:27:54]line Версия ККМ: 001 [16:27:54]line ФМ: 0000000000965344 [16:27:54]line ФД: 22062 [16:27:54]line ФПД: 128274156650088 [16:27:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T162802&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22062&fm=128274156650088&tin=02508201610067®Number=0000000000099755&sum=28000 [16:27:54]OFD Sender: Processing packet 22062 [packets to send 5, broken 4] [16:27:54]ProducePacketName [16:27:54]name=ofd_packets/00022062 [16:27:54]OFD Sender: To server: pG, [16:27:54]CommunicateWithHost lk.salyk.kg:30040 [16:27:54]ConnectInit lk.salyk.kg [16:27:54]written 0, free lines is 4095 [16:27:54]Connected sock=11 [16:27: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 0F 01 00 00 5D 07 07 01 E8 53 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 A4 10 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 7F 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 0B 00 00 00 00 07 04 06 00 60 6D 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 12 1E 6B 66 0E 04 04 00 44 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 2E 56 00 00 35 04 06 00 74 AA 27 8A 7E 68 D8 2F BE 68 B1 9D 91 03 [16:27: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 E5 FB 47 00 8B 89 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 2E 56 00 00 F4 03 04 00 D5 C6 6A 66 B6 04 01 00 00 2A 51 4E AB 90 D0 8D 14 [16:27:55]CommunicateWithHost err = 0 [16:27:55]CheckOFDResponse [16:27:55]1017 (14) - 77093643461234 [16:27:55]1041 (16) - 0000000000965344 [16:27:55]1040 (4) - 22062 [16:27:55]1012 (4) - 13.06.2024 10:15 [16:27:55]1206 (1) - 0 [16:27:55]OFD Sender: Remove packet 22062 [16:27:55]ProducePacketName [16:27:55]name=ofd_packets/00022062 [16:27:55]NVStorageDeleteData [16:27:55]Write to MH i2c: 01 00 00 2C 28 54 [16:27:55]Write i2c OK [16:27:55]MH_I2C_Read... [16:27:55]Read from MH i2c: 01 [16:27:55]MH_I2C_Read... [16:27:55]Read from MH i2c: 01 07 00 [16:27:55]MH_I2C_Read... [16:27:55]Read from MH i2c: 01 07 00 2C 28 00 00 00 00 00 F8 0C 5F [16:27:55]RasterBufferAndPrint [16:27:55]line [16:27:55]line [16:27:55]line [16:27:55]line [16:27:55]line [16:27:55]written 0, free lines is 3327 [16:27:55]MH_Cut [16:27:55]Write to MH i2c: D1 01 00 33 28 01 2D [16:27:55]Write i2c OK [16:27:55]MH_I2C_Read... [16:27:55]Read from MH i2c: D1 [16:27:55]MH_I2C_Read... [16:27:55]Read from MH i2c: D1 01 00 [16:27:55]MH_I2C_Read... [16:27:55]Read from MH i2c: D1 01 00 33 28 00 2C [16:27:55]Write to MH i2c: 01 00 00 34 28 5C [16:27:55]Write i2c OK [16:27:55]MH_I2C_Read... [16:27:55]OFD Sender: No OFD packet to send [16:27:55]*** Cut start [16:27:55]*** Partial cut [16:27:55]*** CUTSNS_PIN = 1 [16:27:55]*** CUTSNS_PIN = 0 [16:27:56]*** Brake cut motor [16:27:56]Read from MH i2c: 01 [16:27:56]MH_I2C_Read... [16:27:56]*** Stop cut motor [16:27:56]*** Cut end [16:27:56]Read from MH i2c: 01 07 00 [16:27:56]MH_I2C_Read... [16:27:56]Read from MH i2c: 01 07 00 34 28 00 00 00 00 00 FF 0F 71 [16:27:56]process_action close_receipt done [16:27:56]requested_data is exist [16:27:56]produce_requested_data [16:27:56]requested_item fm.sn is exist - process it [16:27:56]wFMCommunicate request_size=4 [16:27:56]MH_SAM_APDU [16:27:56]CAPDU: 80 11 00 00 [16:27:56]Write to MH i2c: E2 08 00 35 28 80 11 00 00 00 00 00 00 D7 [16:27:56]Write i2c OK [16:27:56]MH_I2C_Read... [16:27:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:56]Read from MH i2c: E2 [16:27:56]MH_I2C_Read... [16:27:56]Read from MH i2c: E2 17 00 [16:27:56]MH_I2C_Read... [16:27:56]Read from MH i2c: E2 17 00 35 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 29 [16:27:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:27:56]wFMCommunicate OK [16:27:56]requested_item fd.num is exist - process it [16:27:56]SAM_PROTO_GetFieldsCounters [16:27:56]wFMCommunicate request_size=4 [16:27:56]MH_SAM_APDU [16:27:56]CAPDU: 80 13 00 00 [16:27:56]Write to MH i2c: E2 08 00 36 28 80 13 00 00 00 00 00 00 DA [16:27:56]Write i2c OK [16:27:56]MH_I2C_Read... [16:27:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:27:56]Read from MH i2c: E2 [16:27:56]MH_I2C_Read... [16:27:56]Read from MH i2c: E2 62 00 [16:27:56]MH_I2C_Read... [16:27:56]Read from MH i2c: E2 62 00 36 28 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 2E 56 00 00 0E 04 04 00 44 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 4B [16:27: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 2E 56 00 00 0E 04 04 00 44 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 [16:27:56]wFMCommunicate OK [16:27:56]SAM_PROTO_GetFieldsCounters done [16:27:56]requested_item shift.num is exist - process it [16:27:56]requested_item shift.opened is exist - process it [16:27:56]req_shift_opened [16:27:56]FM_GetShiftState [16:27:56]SAM_PROTO_GetShiftState [16:27:56]wFMCommunicate request_size=4 [16:27:56]MH_SAM_APDU [16:27:56]CAPDU: 80 13 01 00 [16:27:56]Write to MH i2c: E2 08 00 37 28 80 13 01 00 00 00 00 00 DC [16:27:56]Write i2c OK [16:27:56]MH_I2C_Read... [16:27:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:56]Read from MH i2c: E2 [16:27:56]MH_I2C_Read... [16:27:56]Read from MH i2c: E2 0E 00 [16:27:56]MH_I2C_Read... [16:27:56]Read from MH i2c: E2 0E 00 37 28 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 FA [16:27:56]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [16:27:56]wFMCommunicate OK [16:27:56]SAM_PROTO_GetShiftState done [16:27:56]FM_GetShiftState done [16:27:56]req_shift_opened done [16:27:56]requested_item shift.open_date is exist - process it [16:27:56]req_shift_open_date [16:27:56]req_shift_open_date done [16:27:56]produce_requested_data done [16:27:56]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22062,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [16:27:56]process_action_free close_receipt [16:27:56]json_value_free [16:27:56]json_value_free done [16:27:56]process_json_proto returns [16:27:56]Send response to host [16:27:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22062,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [16:27:56]free response buf [16:27:56]execute_script done [16:27:56]execute_script returns [16:27:56]free content buf [16:27:56]Sock 8.Close socket [16:27:56]Sock 8.Thread stoped [16:28:00]OFD Sender: No OFD packet to send [16:28:05]OFD Sender: No OFD packet to send [16:28:10]OFD Sender: No OFD packet to send [16:28:15]OFD Sender: No OFD packet to send [16:28:20]OFD Sender: No OFD packet to send [16:28:25]OFD Sender: No OFD packet to send [16:28:30]OFD Sender: No OFD packet to send [16:28:35]OFD Sender: No OFD packet to send [16:28:40]OFD Sender: No OFD packet to send [16:28:45]OFD Sender: No OFD packet to send [16:28:50]OFD Sender: No OFD packet to send [16:28:55]OFD Sender: No OFD packet to send [16:29:00]OFD Sender: No OFD packet to send [16:29:05]OFD Sender: No OFD packet to send [16:29:10]OFD Sender: No OFD packet to send [16:29:15]OFD Sender: No OFD packet to send [16:29:20]OFD Sender: No OFD packet to send [16:29:25]OFD Sender: No OFD packet to send [16:29:30]OFD Sender: No OFD packet to send [16:29:35]OFD Sender: No OFD packet to send [16:29:40]OFD Sender: No OFD packet to send [16:29:45]OFD Sender: No OFD packet to send [16:29:50]OFD Sender: No OFD packet to send [16:29:55]OFD Sender: No OFD packet to send [16:30:00]OFD Sender: No OFD packet to send [16:30:05]OFD Sender: No OFD packet to send [16:30:10]OFD Sender: No OFD packet to send [16:30:15]OFD Sender: No OFD packet to send [16:30:20]OFD Sender: No OFD packet to send [16:30:25]OFD Sender: No OFD packet to send [16:30:30]OFD Sender: No OFD packet to send [16:30:35]OFD Sender: No OFD packet to send [16:30:40]OFD Sender: No OFD packet to send [16:30:45]OFD Sender: No OFD packet to send [16:30:50]OFD Sender: No OFD packet to send [16:30:55]OFD Sender: No OFD packet to send [16:31:00]OFD Sender: No OFD packet to send [16:31:05]OFD Sender: No OFD packet to send [16:31:10]OFD Sender: No OFD packet to send [16:31:15]OFD Sender: No OFD packet to send [16:31:20]OFD Sender: No OFD packet to send [16:31:25]OFD Sender: No OFD packet to send [16:31:30]OFD Sender: No OFD packet to send [16:31:35]OFD Sender: No OFD packet to send [16:31:40]OFD Sender: No OFD packet to send [16:31:45]OFD Sender: No OFD packet to send [16:31:50]OFD Sender: No OFD packet to send [16:31:55]OFD Sender: No OFD packet to send [16:32:00]OFD Sender: No OFD packet to send [16:32:05]OFD Sender: No OFD packet to send [16:32:10]OFD Sender: No OFD packet to send [16:32:15]OFD Sender: No OFD packet to send [16:32:20]OFD Sender: No OFD packet to send [16:32:25]OFD Sender: No OFD packet to send [16:32:30]OFD Sender: No OFD packet to send [16:32:35]OFD Sender: No OFD packet to send [16:32:40]OFD Sender: No OFD packet to send [16:32:45]OFD Sender: No OFD packet to send [16:32:50]OFD Sender: No OFD packet to send [16:32:55]OFD Sender: No OFD packet to send [16:33:00]OFD Sender: No OFD packet to send [16:33:05]OFD Sender: No OFD packet to send [16:33:10]OFD Sender: No OFD packet to send [16:33:15]OFD Sender: No OFD packet to send [16:33:20]OFD Sender: No OFD packet to send [16:33:25]OFD Sender: No OFD packet to send [16:33:30]OFD Sender: No OFD packet to send [16:33:35]OFD Sender: No OFD packet to send [16:33:40]OFD Sender: No OFD packet to send [16:33:45]OFD Sender: No OFD packet to send [16:33:50]OFD Sender: No OFD packet to send [16:33:55]OFD Sender: No OFD packet to send [16:34:00]OFD Sender: No OFD packet to send [16:34:05]OFD Sender: No OFD packet to send [16:34:10]OFD Sender: No OFD packet to send [16:34:15]OFD Sender: No OFD packet to send [16:34:20]OFD Sender: No OFD packet to send [16:34:25]OFD Sender: No OFD packet to send [16:34:30]OFD Sender: No OFD packet to send [16:34:35]OFD Sender: No OFD packet to send [16:34:40]OFD Sender: No OFD packet to send [16:34:45]OFD Sender: No OFD packet to send [16:34:50]OFD Sender: No OFD packet to send [16:34:55]OFD Sender: No OFD packet to send [16:35:00]OFD Sender: No OFD packet to send [16:35:05]OFD Sender: No OFD packet to send [16:35:10]OFD Sender: No OFD packet to send [16:35:15]OFD Sender: No OFD packet to send [16:35:20]OFD Sender: No OFD packet to send [16:35:25]OFD Sender: No OFD packet to send [16:35:30]OFD Sender: No OFD packet to send [16:35:35]OFD Sender: No OFD packet to send [16:35:40]OFD Sender: No OFD packet to send [16:35:45]OFD Sender: No OFD packet to send [16:35:50]OFD Sender: No OFD packet to send [16:35:55]OFD Sender: No OFD packet to send [16:36:00]OFD Sender: No OFD packet to send [16:36:05]OFD Sender: No OFD packet to send [16:36:10]OFD Sender: No OFD packet to send [16:36:15]OFD Sender: No OFD packet to send [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:21]OFD Sender: No OFD packet to send [16:37:26]OFD Sender: No OFD packet to send [16:37:31]OFD Sender: No OFD packet to send [16:37:36]OFD Sender: No OFD packet to send [16:37:41]OFD Sender: No OFD packet to send [16:37:46]OFD Sender: No OFD packet to send [16:37:51]OFD Sender: No OFD packet to send [16:37:56]OFD Sender: No OFD packet to send [16:38:01]OFD Sender: No OFD packet to send [16:38:06]OFD Sender: No OFD packet to send [16:38:11]OFD Sender: No OFD packet to send [16:38:16]OFD Sender: No OFD packet to send [16:38:21]OFD Sender: No OFD packet to send [16:38:26]OFD Sender: No OFD packet to send [16:38:31]OFD Sender: No OFD packet to send [16:38:36]OFD Sender: No OFD packet to send [16:38:41]OFD Sender: No OFD packet to send [16:38:46]OFD Sender: No OFD packet to send [16:38:51]OFD Sender: No OFD packet to send [16:38:56]OFD Sender: No OFD packet to send [16:39:01]OFD Sender: No OFD packet to send [16:39:06]OFD Sender: No OFD packet to send [16:39:11]OFD Sender: No OFD packet to send [16:39:16]OFD Sender: No OFD packet to send [16:39:21]OFD Sender: No OFD packet to send [16:39:26]OFD Sender: No OFD packet to send [16:39:31]OFD Sender: No OFD packet to send [16:39:36]OFD Sender: No OFD packet to send [16:39:41]OFD Sender: No OFD packet to send [16:39:46]OFD Sender: No OFD packet to send [16:39:51]OFD Sender: No OFD packet to send [16:39:56]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:21]OFD Sender: No OFD packet to send [16:41:26]OFD Sender: No OFD packet to send [16:41:31]OFD Sender: No OFD packet to send [16:41:36]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:56]OFD Sender: No OFD packet to send [16:42:01]OFD Sender: No OFD packet to send [16:42:06]OFD Sender: No OFD packet to send [16:42:11]OFD Sender: No OFD packet to send [16:42:16]OFD Sender: No OFD packet to send [16:42:21]OFD Sender: No OFD packet to send [16:42:26]OFD Sender: No OFD packet to send [16:42:31]OFD Sender: No OFD packet to send [16:42:36]OFD Sender: No OFD packet to send [16:42:41]OFD Sender: No OFD packet to send [16:42:46]OFD Sender: No OFD packet to send [16:42:51]OFD Sender: No OFD packet to send [16:42:56]OFD Sender: No OFD packet to send [16:43:01]OFD Sender: No OFD packet to send [16:43:06]OFD Sender: No OFD packet to send [16:43:11]OFD Sender: No OFD packet to send [16:43:16]OFD Sender: No OFD packet to send [16:43:21]OFD Sender: No OFD packet to send [16:43:26]OFD Sender: No OFD packet to send [16:43:31]OFD Sender: No OFD packet to send [16:43:36]OFD Sender: No OFD packet to send [16:43:41]OFD Sender: No OFD packet to send [16:43:46]OFD Sender: No OFD packet to send [16:43:51]OFD Sender: No OFD packet to send [16:43:56]OFD Sender: No OFD packet to send [16:44:01]OFD Sender: No OFD packet to send [16:44:06]OFD Sender: No OFD packet to send [16:44:11]OFD Sender: No OFD packet to send [16:44:16]OFD Sender: No OFD packet to send [16:44:21]OFD Sender: No OFD packet to send [16:44:26]OFD Sender: No OFD packet to send [16:44:31]OFD Sender: No OFD packet to send [16:44:36]OFD Sender: No OFD packet to send [16:44:41]OFD Sender: No OFD packet to send [16:44:46]OFD Sender: No OFD packet to send [16:44:51]OFD Sender: No OFD packet to send [16:44:56]OFD Sender: No OFD packet to send [16:45:01]OFD Sender: No OFD packet to send [16:45:06]OFD Sender: No OFD packet to send [16:45:11]OFD Sender: No OFD packet to send [16:45:16]OFD Sender: No OFD packet to send [16:45:21]OFD Sender: No OFD packet to send [16:45:26]OFD Sender: No OFD packet to send [16:45:31]OFD Sender: No OFD packet to send [16:45:36]OFD Sender: No OFD packet to send [16:45:41]OFD Sender: No OFD packet to send [16:45:46]OFD Sender: No OFD packet to send [16:45:51]OFD Sender: No OFD packet to send [16:45:56]OFD Sender: No OFD packet to send [16:46:01]OFD Sender: No OFD packet to send [16:46:06]OFD Sender: No OFD packet to send [16:46:11]OFD Sender: No OFD packet to send [16:46:16]OFD Sender: No OFD packet to send [16:46:21]OFD Sender: No OFD packet to send [16:46:26]OFD Sender: No OFD packet to send [16:46:31]OFD Sender: No OFD packet to send [16:46:36]OFD Sender: No OFD packet to send [16:46:41]OFD Sender: No OFD packet to send [16:46:46]OFD Sender: No OFD packet to send [16:46:51]OFD Sender: No OFD packet to send [16:46:56]OFD Sender: No OFD packet to send [16:47:01]OFD Sender: No OFD packet to send [16:47:06]OFD Sender: No OFD packet to send [16:47:11]OFD Sender: No OFD packet to send [16:47:16]OFD Sender: No OFD packet to send [16:47:21]OFD Sender: No OFD packet to send [16:47:26]OFD Sender: No OFD packet to send [16:47:31]OFD Sender: No OFD packet to send [16:47:36]OFD Sender: No OFD packet to send [16:47:41]OFD Sender: No OFD packet to send [16:47:46]OFD Sender: No OFD packet to send [16:47:51]OFD Sender: No OFD packet to send [16:47:56]OFD Sender: No OFD packet to send [16:48:01]OFD Sender: No OFD packet to send [16:48:06]OFD Sender: No OFD packet to send [16:48:11]OFD Sender: No OFD packet to send [16:48:16]OFD Sender: No OFD packet to send [16:48:21]OFD Sender: No OFD packet to send [16:48:26]OFD Sender: No OFD packet to send [16:48:31]OFD Sender: No OFD packet to send [16:48:36]OFD Sender: No OFD packet to send [16:48:41]OFD Sender: No OFD packet to send [16:48:46]OFD Sender: No OFD packet to send [16:48:51]OFD Sender: No OFD packet to send [16:48:56]OFD Sender: No OFD packet to send [16:49:01]OFD Sender: No OFD packet to send [16:49:06]OFD Sender: No OFD packet to send [16:49:11]OFD Sender: No OFD packet to send [16:49:16]OFD Sender: No OFD packet to send [16:49:21]OFD Sender: No OFD packet to send [16:49:26]OFD Sender: No OFD packet to send [16:49:31]OFD Sender: No OFD packet to send [16:49:36]OFD Sender: No OFD packet to send [16:49:41]OFD Sender: No OFD packet to send [16:49:46]OFD Sender: No OFD packet to send [16:49:51]OFD Sender: No OFD packet to send [16:49:56]OFD Sender: No OFD packet to send [16:50:01]OFD Sender: No OFD packet to send [16:50:06]OFD Sender: No OFD packet to send [16:50:11]OFD Sender: No OFD packet to send [16:50:16]OFD Sender: No OFD packet to send [16:50:21]OFD Sender: No OFD packet to send [16:50:26]OFD Sender: No OFD packet to send [16:50:31]OFD Sender: No OFD packet to send [16:50:36]OFD Sender: No OFD packet to send [16:50:41]OFD Sender: No OFD packet to send [16:50:46]OFD Sender: No OFD packet to send [16:50:51]OFD Sender: No OFD packet to send [16:50:56]OFD Sender: No OFD packet to send [16:51:01]OFD Sender: No OFD packet to send [16:51:06]OFD Sender: No OFD packet to send [16:51:11]OFD Sender: No OFD packet to send [16:51:16]OFD Sender: No OFD packet to send [16:51:21]OFD Sender: No OFD packet to send [16:51:26]OFD Sender: No OFD packet to send [16:51:31]OFD Sender: No OFD packet to send [16:51:36]OFD Sender: No OFD packet to send [16:51:41]OFD Sender: No OFD packet to send [16:51:46]OFD Sender: No OFD packet to send [16:51:51]OFD Sender: No OFD packet to send [16:51:56]OFD Sender: No OFD packet to send [16:52:01]OFD Sender: No OFD packet to send [16:52:06]OFD Sender: No OFD packet to send [16:52:11]OFD Sender: No OFD packet to send [16:52:16]OFD Sender: No OFD packet to send [16:52:21]OFD Sender: No OFD packet to send [16:52:26]OFD Sender: No OFD packet to send [16:52:31]OFD Sender: No OFD packet to send [16:52:36]OFD Sender: No OFD packet to send [16:52:41]OFD Sender: No OFD packet to send [16:52:46]OFD Sender: No OFD packet to send [16:52:51]OFD Sender: No OFD packet to send [16:52:56]OFD Sender: No OFD packet to send [16:53:01]OFD Sender: No OFD packet to send [16:53:06]OFD Sender: No OFD packet to send [16:53:11]OFD Sender: No OFD packet to send [16:53:16]OFD Sender: No OFD packet to send [16:53:21]OFD Sender: No OFD packet to send [16:53:26]OFD Sender: No OFD packet to send [16:53:31]OFD Sender: No OFD packet to send [16:53:36]OFD Sender: No OFD packet to send [16:53:41]OFD Sender: No OFD packet to send [16:53:46]OFD Sender: No OFD packet to send [16:53:51]OFD Sender: No OFD packet to send [16:53:56]OFD Sender: No OFD packet to send [16:54:01]OFD Sender: No OFD packet to send [16:54:06]OFD Sender: No OFD packet to send [16:54:11]OFD Sender: No OFD packet to send [16:54:16]OFD Sender: No OFD packet to send [16:54:21]OFD Sender: No OFD packet to send [16:54:26]OFD Sender: No OFD packet to send [16:54:31]OFD Sender: No OFD packet to send [16:54:36]OFD Sender: No OFD packet to send [16:54:41]OFD Sender: No OFD packet to send [16:54:46]OFD Sender: No OFD packet to send [16:54:51]OFD Sender: No OFD packet to send [16:54:56]OFD Sender: No OFD packet to send [16:55:01]OFD Sender: No OFD packet to send [16:55:06]OFD Sender: No OFD packet to send [16:55:11]OFD Sender: No OFD packet to send [16:55:16]OFD Sender: No OFD packet to send [16:55:21]OFD Sender: No OFD packet to send [16:55:26]OFD Sender: No OFD packet to send [16:55:31]OFD Sender: No OFD packet to send [16:55:36]OFD Sender: No OFD packet to send [16:55:41]OFD Sender: No OFD packet to send [16:55:46]OFD Sender: No OFD packet to send [16:55:51]OFD Sender: No OFD packet to send [16:55:56]OFD Sender: No OFD packet to send [16:56:01]OFD Sender: No OFD packet to send [16:56:06]OFD Sender: No OFD packet to send [16:56:11]OFD Sender: No OFD packet to send [16:56:16]OFD Sender: No OFD packet to send [16:56:21]OFD Sender: No OFD packet to send [16:56:26]OFD Sender: No OFD packet to send [16:56:31]OFD Sender: No OFD packet to send [16:56:36]OFD Sender: No OFD packet to send [16:56:41]OFD Sender: No OFD packet to send [16:56:46]OFD Sender: No OFD packet to send [16:56:51]OFD Sender: No OFD packet to send [16:56:56]OFD Sender: No OFD packet to send [16:57:01]OFD Sender: No OFD packet to send [16:57:06]OFD Sender: No OFD packet to send [16:57:11]OFD Sender: No OFD packet to send [16:57:16]OFD Sender: No OFD packet to send [16:57:21]OFD Sender: No OFD packet to send [16:57:26]OFD Sender: No OFD packet to send [16:57:31]OFD Sender: No OFD packet to send [16:57:36]OFD Sender: No OFD packet to send [16:57:41]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [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:08]accept exits with 9 [16:59:08]New connection [16:59:08]New thread 3067321700 created [16:59:08]Thread 3067178340 joined [16:59:08]Waiting for new connection... [16:59:08] Sock 9.Parse request [16:59:08]Sock 9.Check first char [16:59:08]Sock 9.First char is OK [16:59:08]request: POST /json_proto HTTP/1.0 [16:59:08]Method: POST [16:59:08]URL: /json_proto [16:59:08]Method is POST - this is cgi request [16:59:08]url: /json_proto [16:59:08]query_string will be loaded in cgi processing [16:59:08]execute_cgi json_proto POST (null) [16:59:08]execute_cgi path=json_proto method=POST [16:59:08]POST find Content-Length [16:59:08]Host: 172.17.35.133:8080 [16:59:08]Content-Length: 1023 [16:59:08]Content-Type: application/json [16:59:08] [16:59:08]POST finish read [16:59:08]Found Content-Length = 1023 [16:59:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254289", "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": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 515.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:08]execute_script... [16:59: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)254289", "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": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 515.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:08]POST & json_proto [16:59:08]process_json_proto [16:59:08]json parsed OK: [16:59:08]protocol is kg_v1.0 [16:59:08]action value=close_receipt [16:59:08]process_action close_receipt [16:59:08]cmd_close_receipt [16:59:08]MH_GetDate [16:59:08]Write to MH i2c: F0 00 00 38 28 4F [16:59:08]Write i2c OK [16:59:08]MH_I2C_Read... [16:59:08]Read from MH i2c: F0 [16:59:08]MH_I2C_Read... [16:59:08]Read from MH i2c: F0 09 00 [16:59:08]MH_I2C_Read... [16:59:08]Read from MH i2c: F0 09 00 38 28 00 66 25 6B 66 8C 55 28 65 22 [16:59:08]GetLastDocTimeStamp 1718296082 [16:59:08]current date 1718297958 [16:59:08]FM_GetShiftState [16:59:08]SAM_PROTO_GetShiftState [16:59:08]wFMCommunicate request_size=4 [16:59:08]MH_SAM_APDU [16:59:08]CAPDU: 80 13 01 00 [16:59:08]Write to MH i2c: E2 08 00 39 28 80 13 01 00 00 00 00 00 DE [16:59:08]Write i2c OK [16:59:08]MH_I2C_Read... [16:59:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:08]Read from MH i2c: E2 [16:59:08]MH_I2C_Read... [16:59:08]Read from MH i2c: E2 0E 00 [16:59:08]MH_I2C_Read... [16:59:08]Read from MH i2c: E2 0E 00 39 28 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 FC [16:59:08]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [16:59:08]wFMCommunicate OK [16:59:08]SAM_PROTO_GetShiftState done [16:59:08]FM_GetShiftState done [16:59:08]opened in 1718237959 [16:59:08]opened+sec_in_day 1718324359 [16:59:08]quantity*price = 39500 [16:59:08]sum+1 = 39501 [16:59:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 515.00 НСП 1% : 4.56 НДС 12% : 54.69 Наличными: 515.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 43 13.06.2024 16:59 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22063 ФПД: 6447011305831 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T165918&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22063&fm=6447011305831&tin=02508201610067®Number=0000000000099755&sum=51500 0 [16:59:09]StoreToDocumentArchive [16:59:09]shift 324 fd 22063 [16:59:09]save to /storage/0324/doc_00022063 [16:59:09]save last doc name /storage/0324/doc_00022063 to /storage/kkm_last_doc_name [16:59:09]save OK [16:59:09]Clear old archive folders... [16:59:09]ProcessDocumentItem done err = 0, tmpTLVsize=421 [16:59:09]tlvbuf is 003C95A0 [16:59:09]SAM_PROTO_ClearQueue [16:59:09]wFMCommunicate request_size=4 [16:59:09]MH_SAM_APDU [16:59:09]CAPDU: 80 09 00 00 [16:59:09]Write to MH i2c: E2 08 00 46 28 80 09 00 00 00 00 00 00 E0 [16:59:09]Write i2c OK [16:59:09]MH_I2C_Read... [16:59:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:59:09]Read from MH i2c: E2 [16:59:09]MH_I2C_Read... [16:59:09]Read from MH i2c: E2 03 00 [16:59:09]MH_I2C_Read... [16:59:09]Read from MH i2c: E2 03 00 46 28 00 90 00 E2 [16:59:09]RAPDU: 90 00 [16:59:09]wFMCommunicate OK [16:59:09]SAM_PROTO_ClearQueue done [16:59:09]KKMCreateOFDPacket [16:59:09]OFDProtocolAddRootSTLVToBuf [16:59:09]FM_MakeSignedData [16:59:09]FM_MakeSignedData [16:59:09]SAM_PROTO_SignData [16:59:09]wFMCommunicate request_size=4 [16:59:09]MH_SAM_APDU [16:59:09]CAPDU: 80 0D 01 02 [16:59:09]Write to MH i2c: E2 08 00 47 28 80 0D 01 02 00 00 00 00 E8 [16:59:09]Write i2c OK [16:59:09]MH_I2C_Read... [16:59:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:59:09]Read from MH i2c: E2 [16:59:09]MH_I2C_Read... [16:59:09]Read from MH i2c: E2 03 00 [16:59:09]MH_I2C_Read... [16:59:09]Read from MH i2c: E2 03 00 47 28 00 90 00 E3 [16:59:09]RAPDU: 90 00 [16:59:09]wFMCommunicate OK [16:59:09]wFMCommunicate request_size=255 [16:59:09]MH_SAM_APDU [16:59:09]CAPDU: 80 0D 02 02 FA 03 00 A5 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 [16:59:09]Write to MH i2c: E2 02 01 48 28 80 0D 02 02 FA 00 03 00 A5 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 00 00 97 [16:59:09]Write i2c OK [16:59:09]MH_I2C_Read... [16:59:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:09]Read from MH i2c: E2 [16:59:09]MH_I2C_Read... [16:59:09]Read from MH i2c: E2 03 00 [16:59:09]MH_I2C_Read... [16:59:09]Read from MH i2c: E2 03 00 48 28 00 90 00 E4 [16:59:09]RAPDU: 90 00 [16:59:09]wFMCommunicate OK [16:59:09]wFMCommunicate request_size=180 [16:59:09]MH_SAM_APDU [16:59:09]CAPDU: 80 0D 02 02 AF F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C C9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 15 00 00 00 00 07 04 06 00 2C C9 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 66 25 6B 66 0E 04 04 00 44 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 2F 56 00 00 35 04 06 00 05 DD 0F D1 99 67 [16:59:09]Write to MH i2c: E2 B7 00 49 28 80 0D 02 02 AF 00 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C C9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 15 00 00 00 00 07 04 06 00 2C C9 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 66 25 6B 66 0E 04 04 00 44 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 2F 56 00 00 35 04 06 00 05 DD 0F D1 99 67 00 00 89 [16:59:09]Write i2c OK [16:59:09]MH_I2C_Read... [16:59:10]Read from MH i2c: E2 [16:59:10]MH_I2C_Read... [16:59:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:10]Read from MH i2c: E2 03 00 [16:59:10]MH_I2C_Read... [16:59:10]Read from MH i2c: E2 03 00 49 28 00 90 00 E5 [16:59:10]RAPDU: 90 00 [16:59:10]wFMCommunicate OK [16:59:10]wFMCommunicate request_size=4 [16:59:10]MH_SAM_APDU [16:59:10]CAPDU: 80 0D 03 02 [16:59:10]Write to MH i2c: E2 08 00 4A 28 80 0D 03 02 00 00 00 00 ED [16:59:10]Write i2c OK [16:59:10]MH_I2C_Read... [16:59:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:59:10]Read from MH i2c: E2 [16:59:10]MH_I2C_Read... [16:59:10]Read from MH i2c: E2 0B 00 [16:59:10]MH_I2C_Read... [16:59:10]Read from MH i2c: E2 0B 00 4A 28 00 57 6B 28 1B 3B AD A6 C7 90 00 48 [16:59:10]RAPDU: 57 6B 28 1B 3B AD A6 C7 90 00 [16:59:10]wFMCommunicate OK [16:59:10]SAM_PROTO_SignData done [16:59:10]FM_MakeSignedData done [16:59:10]CreateOFDProtocolMessage [16:59:10]wFMCommunicate request_size=4 [16:59:10]MH_SAM_APDU [16:59:10]CAPDU: 80 11 00 00 [16:59:10]Write to MH i2c: E2 08 00 4B 28 80 11 00 00 00 00 00 00 ED [16:59:10]Write i2c OK [16:59:10]MH_I2C_Read... [16:59:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:10]Read from MH i2c: E2 [16:59:10]MH_I2C_Read... [16:59:10]Read from MH i2c: E2 17 00 [16:59:10]MH_I2C_Read... [16:59:10]Read from MH i2c: E2 17 00 4B 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 3F [16:59:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:59:10]wFMCommunicate OK [16:59:10]CreateOFDProtocolMessage done [16:59:10]OFDSenderStorePacket 22063 [16:59:10]StoreOFDPacket docnum=22063 [16:59: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 B9 01 00 00 29 D4 B1 01 19 10 5A 03 01 00 03 00 A5 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 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 2C C9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 15 00 00 00 00 07 04 06 00 2C C9 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 66 25 6B 66 0E 04 04 00 44 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 2F 56 00 00 35 04 06 00 05 DD 0F D1 99 67 57 6B 28 1B 3B AD A6 C7 [16:59:10]CheckFolder [16:59:10]dirname=/storage/ofd_packets [16:59:10]CheckFolder done [16:59:10]ProducePacketName [16:59:10]name=ofd_packets/00022063 [16:59:10]NVStorageSaveData ofd_packets/00022063 [16:59:10]File name is /storage/ofd_packets/00022063 [16:59:10]Write 471 bytes [16:59:10]NVStorageSaveData done [16:59:10]OFDSenderStorePacket done [16:59:10]KKMCreateOFDPacket done [16:59:10]NVStorageSaveData kkm_last_timestamp [16:59:10]File name is /storage/kkm_last_timestamp [16:59:10]Write 4 bytes [16:59:10]NVStorageSaveData done [16:59:10]ExternCall_PrintAddStr [16:59:10]wPrintStart [16:59:10]Write to MH i2c: 01 00 00 4C 28 74 [16:59:10]OFD Sender: Processing packet 22063 [packets to send 5, broken 4] [16:59:10]ProducePacketName [16:59:10]name=ofd_packets/00022063 [16:59:10]Write i2c OK [16:59:10]MH_I2C_Read... [16:59:10]Read from MH i2c: 01 [16:59:10]MH_I2C_Read... [16:59:10]Read from MH i2c: 01 07 00 [16:59:10]MH_I2C_Read... [16:59:10]OFD Sender: To server: pG, [16:59:10]CommunicateWithHost lk.salyk.kg:30040 [16:59:10]ConnectInit lk.salyk.kg [16:59:10]Read from MH i2c: 01 07 00 4C 28 00 00 00 00 00 FF 0F 89 [16:59:10]RasterBufferAndPrint [16:59:10]line Счет N : (3)254289 [16:59:10]line ИНН: 02508201610067 [16:59:10]line Контрольно-Кассовый Чек [16:59:10]line ПРОДАЖА [16:59:10]line Товар: 47000405990016 [16:59:10]line Уголь древесный Партнер Нефть 3кг [16:59:10]line 1.000 * 395.00 [16:59:10]line = 395.00 [16:59:10]line НДС 12% НСП 1% [16:59:10]line > о реализуемом товаре [16:59:10]line Товар: 5449000189332 [16:59:10]line Холодный чай Fuse персик 1л [16:59:10]line 1.000 * 120.00 [16:59:10]line = 120.00 [16:59:10]line НДС 12% НСП 1% [16:59:10]line > о реализуемом товаре [16:59:10]line ИТОГО: 515.00 [16:59:10]line НСП 1% : 4.56 [16:59:10]line НДС 12% : 54.69 [16:59:10]line Наличными: 515.00 [16:59:10]line Безнал.: 0.00 [16:59:10]line Место: АЗС № 76 "Партнер Нефть" [16:59:10]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:59:10]line СНО: Общий режим [16:59:10]line Чек 43 13.06.2024 16:59 [16:59:10]line Смена: 324 ФФД: 1.0 [16:59:10]line ЗНМ: 0300000200 [16:59:10]line РНМ: 0000000000099755 [16:59:10]line Версия ККМ: 001 [16:59:10]line ФМ: 0000000000965344 [16:59:10]line ФД: 22063 [16:59:10]line ФПД: 6447011305831 [16:59:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T165918&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22063&fm=6447011305831&tin=02508201610067®Number=0000000000099755&sum=51500 [16:59:10]line 0 [16:59:10]written 0, free lines is 4095 [16:59:10]Connected sock=10 [16:59: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 B9 01 00 00 29 D4 B1 01 19 10 5A 03 01 00 03 00 A5 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 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 2C C9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 15 00 00 00 00 07 04 06 00 2C C9 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 66 25 6B 66 0E 04 04 00 44 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 2F 56 00 00 35 04 06 00 05 DD 0F D1 99 67 57 6B 28 1B 3B AD A6 C7 [16:59: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 B3 F1 47 00 D3 15 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 2F 56 00 00 F4 03 04 00 29 CE 6A 66 B6 04 01 00 00 3C 83 AA ED 81 E1 F9 17 [16:59:10]CommunicateWithHost err = 0 [16:59:10]CheckOFDResponse [16:59:10]1017 (14) - 77093643461234 [16:59:10]1041 (16) - 0000000000965344 [16:59:10]1040 (4) - 22063 [16:59:10]1012 (4) - 13.06.2024 10:47 [16:59:10]1206 (1) - 0 [16:59:10]OFD Sender: Remove packet 22063 [16:59:10]ProducePacketName [16:59:10]name=ofd_packets/00022063 [16:59:10]NVStorageDeleteData [16:59:11]Write to MH i2c: 01 00 00 7B 28 A3 [16:59:11]Write i2c OK [16:59:11]MH_I2C_Read... [16:59:11]Read from MH i2c: 01 [16:59:11]MH_I2C_Read... [16:59:11]Read from MH i2c: 01 07 00 [16:59:11]MH_I2C_Read... [16:59:11]Read from MH i2c: 01 07 00 7B 28 00 00 00 00 00 C0 0C 76 [16:59:11]RasterBufferAndPrint [16:59:11]line [16:59:11]line [16:59:11]line [16:59:11]line [16:59:11]line [16:59:11]written 0, free lines is 3273 [16:59:11]MH_Cut [16:59:11]Write to MH i2c: D1 01 00 82 28 01 7C [16:59:11]Write i2c OK [16:59:11]MH_I2C_Read... [16:59:11]Read from MH i2c: D1 [16:59:11]MH_I2C_Read... [16:59:11]Read from MH i2c: D1 01 00 [16:59:11]MH_I2C_Read... [16:59:11]Read from MH i2c: D1 01 00 82 28 00 7B [16:59:11]Write to MH i2c: 01 00 00 83 28 AB [16:59:11]Write i2c OK [16:59:11]MH_I2C_Read... [16:59:11]OFD Sender: No OFD packet to send [16:59:11]*** Cut start [16:59:11]*** Partial cut [16:59:11]*** CUTSNS_PIN = 1 [16:59:11]*** CUTSNS_PIN = 0 [16:59:12]*** Brake cut motor [16:59:12]Read from MH i2c: 01 [16:59:12]MH_I2C_Read... [16:59:12]*** Stop cut motor [16:59:12]*** Cut end [16:59:12]Read from MH i2c: 01 07 00 [16:59:12]MH_I2C_Read... [16:59:12]Read from MH i2c: 01 07 00 83 28 00 00 00 00 00 FF 0F C0 [16:59:12]process_action close_receipt done [16:59:12]requested_data is exist [16:59:12]produce_requested_data [16:59:12]requested_item fm.sn is exist - process it [16:59:12]wFMCommunicate request_size=4 [16:59:12]MH_SAM_APDU [16:59:12]CAPDU: 80 11 00 00 [16:59:12]Write to MH i2c: E2 08 00 84 28 80 11 00 00 00 00 00 00 26 [16:59:12]Write i2c OK [16:59:12]MH_I2C_Read... [16:59:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:12]Read from MH i2c: E2 [16:59:12]MH_I2C_Read... [16:59:12]Read from MH i2c: E2 17 00 [16:59:12]MH_I2C_Read... [16:59:12]Read from MH i2c: E2 17 00 84 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 78 [16:59:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:59:12]wFMCommunicate OK [16:59:12]requested_item fd.num is exist - process it [16:59:12]SAM_PROTO_GetFieldsCounters [16:59:12]wFMCommunicate request_size=4 [16:59:12]MH_SAM_APDU [16:59:12]CAPDU: 80 13 00 00 [16:59:12]Write to MH i2c: E2 08 00 85 28 80 13 00 00 00 00 00 00 29 [16:59:12]Write i2c OK [16:59:12]MH_I2C_Read... [16:59:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:59:12]Read from MH i2c: E2 [16:59:12]MH_I2C_Read... [16:59:12]Read from MH i2c: E2 62 00 [16:59:12]MH_I2C_Read... [16:59:12]Read from MH i2c: E2 62 00 85 28 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 2F 56 00 00 0E 04 04 00 44 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 9E [16:59: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 2F 56 00 00 0E 04 04 00 44 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 [16:59:12]wFMCommunicate OK [16:59:12]SAM_PROTO_GetFieldsCounters done [16:59:12]requested_item shift.num is exist - process it [16:59:12]requested_item shift.opened is exist - process it [16:59:12]req_shift_opened [16:59:12]FM_GetShiftState [16:59:12]SAM_PROTO_GetShiftState [16:59:12]wFMCommunicate request_size=4 [16:59:12]MH_SAM_APDU [16:59:12]CAPDU: 80 13 01 00 [16:59:12]Write to MH i2c: E2 08 00 86 28 80 13 01 00 00 00 00 00 2B [16:59:12]Write i2c OK [16:59:12]MH_I2C_Read... [16:59:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:12]Read from MH i2c: E2 [16:59:12]MH_I2C_Read... [16:59:12]Read from MH i2c: E2 0E 00 [16:59:12]MH_I2C_Read... [16:59:12]Read from MH i2c: E2 0E 00 86 28 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 49 [16:59:12]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [16:59:12]wFMCommunicate OK [16:59:12]SAM_PROTO_GetShiftState done [16:59:12]FM_GetShiftState done [16:59:12]req_shift_opened done [16:59:12]requested_item shift.open_date is exist - process it [16:59:12]req_shift_open_date [16:59:12]req_shift_open_date done [16:59:12]produce_requested_data done [16:59:12]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22063,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [16:59:12]process_action_free close_receipt [16:59:12]json_value_free [16:59:12]json_value_free done [16:59:12]process_json_proto returns [16:59:12]Send response to host [16:59:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22063,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [16:59:12]free response buf [16:59:12]execute_script done [16:59:12]execute_script returns [16:59:12]free content buf [16:59:12]Sock 9.Close socket [16:59:12]Sock 9.Thread stoped [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:06]OFD Sender: No OFD packet to send [17:00:11]OFD Sender: No OFD packet to send [17:00:16]OFD Sender: No OFD packet to send [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:56]OFD Sender: No OFD packet to send [17:01:01]OFD Sender: No OFD packet to send [17:01:06]OFD Sender: No OFD packet to send [17:01:11]OFD Sender: No OFD packet to send [17:01:15]accept exits with 8 [17:01:15]New connection [17:01:15]New thread 3067178340 created [17:01:15]Thread 3067321700 joined [17:01:15]Waiting for new connection... [17:01:15] Sock 8.Parse request [17:01:15]Sock 8.Check first char [17:01:15]Sock 8.First char is OK [17:01:15]request: POST /json_proto HTTP/1.0 [17:01:15]Method: POST [17:01:15]URL: /json_proto [17:01:15]Method is POST - this is cgi request [17:01:15]url: /json_proto [17:01:15]query_string will be loaded in cgi processing [17:01:15]execute_cgi json_proto POST (null) [17:01:15]execute_cgi path=json_proto method=POST [17:01:15]POST find Content-Length [17:01:15]Host: 172.17.35.133:8080 [17:01:15]Content-Length: 645 [17:01:15]Content-Type: application/json [17:01:15] [17:01:15]POST finish read [17:01:15]Found Content-Length = 645 [17:01:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254290", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:15]execute_script... [17:01: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)254290", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:15]POST & json_proto [17:01:15]process_json_proto [17:01:15]json parsed OK: [17:01:15]protocol is kg_v1.0 [17:01:15]action value=close_receipt [17:01:15]process_action close_receipt [17:01:15]cmd_close_receipt [17:01:15]MH_GetDate [17:01:15]Write to MH i2c: F0 00 00 87 28 9E [17:01:15]Write i2c OK [17:01:15]MH_I2C_Read... [17:01:15]Read from MH i2c: F0 [17:01:15]MH_I2C_Read... [17:01:15]Read from MH i2c: F0 09 00 [17:01:15]MH_I2C_Read... [17:01:15]Read from MH i2c: F0 09 00 87 28 00 E4 25 6B 66 8C 55 28 65 EF [17:01:15]GetLastDocTimeStamp 1718297958 [17:01:15]current date 1718298084 [17:01:15]FM_GetShiftState [17:01:15]SAM_PROTO_GetShiftState [17:01:15]wFMCommunicate request_size=4 [17:01:15]MH_SAM_APDU [17:01:15]CAPDU: 80 13 01 00 [17:01:15]Write to MH i2c: E2 08 00 88 28 80 13 01 00 00 00 00 00 2D [17:01:15]Write i2c OK [17:01:15]MH_I2C_Read... [17:01:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:15]Read from MH i2c: E2 [17:01:15]MH_I2C_Read... [17:01:15]Read from MH i2c: E2 0E 00 [17:01:15]MH_I2C_Read... [17:01:15]Read from MH i2c: E2 0E 00 88 28 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 4B [17:01:15]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:01:15]wFMCommunicate OK [17:01:15]SAM_PROTO_GetShiftState done [17:01:15]FM_GetShiftState done [17:01:15]opened in 1718237959 [17:01:15]opened+sec_in_day 1718324359 [17:01:15]quantity*price = 1000 [17:01:15]sum+1 = 1001 [17:01:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 44 13.06.2024 17:01 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22064 ФПД: 33553672415330 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T170124&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22064&fm=33553672415330&tin=02508201610067®Number=0000000000099755&sum=1000 0 [17:01:16]StoreToDocumentArchive [17:01:16]shift 324 fd 22064 [17:01:16]save to /storage/0324/doc_00022064 [17:01:16]save last doc name /storage/0324/doc_00022064 to /storage/kkm_last_doc_name [17:01:16]save OK [17:01:16]Clear old archive folders... [17:01:16]ProcessDocumentItem done err = 0, tmpTLVsize=280 [17:01:16]tlvbuf is 00248ED0 [17:01:16]SAM_PROTO_ClearQueue [17:01:16]wFMCommunicate request_size=4 [17:01:16]MH_SAM_APDU [17:01:16]CAPDU: 80 09 00 00 [17:01:16]Write to MH i2c: E2 08 00 95 28 80 09 00 00 00 00 00 00 2F [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 [17:01:16]MH_I2C_Read... [17:01:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:01:16]Read from MH i2c: E2 03 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 03 00 95 28 00 90 00 31 [17:01:16]RAPDU: 90 00 [17:01:16]wFMCommunicate OK [17:01:16]SAM_PROTO_ClearQueue done [17:01:16]KKMCreateOFDPacket [17:01:16]OFDProtocolAddRootSTLVToBuf [17:01:16]FM_MakeSignedData [17:01:16]FM_MakeSignedData [17:01:16]SAM_PROTO_SignData [17:01:16]wFMCommunicate request_size=4 [17:01:16]MH_SAM_APDU [17:01:16]CAPDU: 80 0D 01 02 [17:01:16]Write to MH i2c: E2 08 00 96 28 80 0D 01 02 00 00 00 00 37 [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:01:16]Read from MH i2c: E2 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 03 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 03 00 96 28 00 90 00 32 [17:01:16]RAPDU: 90 00 [17:01:16]wFMCommunicate OK [17:01:16]wFMCommunicate request_size=255 [17:01:16]MH_SAM_APDU [17:01:16]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 E4 25 6B 66 0E 04 04 00 44 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 [17:01:16]Write to MH i2c: E2 02 01 97 28 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 E4 25 6B 66 0E 04 04 00 44 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 D0 [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]OFD Sender: No OFD packet to send [17:01:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:16]Read from MH i2c: E2 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 03 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 03 00 97 28 00 90 00 33 [17:01:16]RAPDU: 90 00 [17:01:16]wFMCommunicate OK [17:01:16]wFMCommunicate request_size=39 [17:01:16]MH_SAM_APDU [17:01:16]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 30 56 00 00 35 04 06 00 1E 84 52 B9 A8 62 [17:01:16]Write to MH i2c: E2 2A 00 98 28 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 30 56 00 00 35 04 06 00 1E 84 52 B9 A8 62 00 00 31 [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:16]Read from MH i2c: E2 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 03 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 03 00 98 28 00 90 00 34 [17:01:16]RAPDU: 90 00 [17:01:16]wFMCommunicate OK [17:01:16]wFMCommunicate request_size=4 [17:01:16]MH_SAM_APDU [17:01:16]CAPDU: 80 0D 03 02 [17:01:16]Write to MH i2c: E2 08 00 99 28 80 0D 03 02 00 00 00 00 3C [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:01:16]Read from MH i2c: E2 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 0B 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 0B 00 99 28 00 37 FC 4A 9F 16 1D 84 EB 90 00 FB [17:01:16]RAPDU: 37 FC 4A 9F 16 1D 84 EB 90 00 [17:01:16]wFMCommunicate OK [17:01:16]SAM_PROTO_SignData done [17:01:16]FM_MakeSignedData done [17:01:16]CreateOFDProtocolMessage [17:01:16]wFMCommunicate request_size=4 [17:01:16]MH_SAM_APDU [17:01:16]CAPDU: 80 11 00 00 [17:01:16]Write to MH i2c: E2 08 00 9A 28 80 11 00 00 00 00 00 00 3C [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:01:16]Read from MH i2c: E2 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 17 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 17 00 9A 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8E [17:01:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:01:16]wFMCommunicate OK [17:01:16]CreateOFDProtocolMessage done [17:01:16]OFDSenderStorePacket 22064 [17:01:16]StoreOFDPacket docnum=22064 [17:01: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 2C 01 00 00 3F 19 24 01 B4 BA 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 E4 25 6B 66 0E 04 04 00 44 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 30 56 00 00 35 04 06 00 1E 84 52 B9 A8 62 37 FC 4A 9F 16 1D 84 EB [17:01:16]CheckFolder [17:01:16]dirname=/storage/ofd_packets [17:01:16]CheckFolder done [17:01:16]ProducePacketName [17:01:16]name=ofd_packets/00022064 [17:01:16]NVStorageSaveData ofd_packets/00022064 [17:01:16]File name is /storage/ofd_packets/00022064 [17:01:16]Write 330 bytes [17:01:16]NVStorageSaveData done [17:01:16]OFDSenderStorePacket done [17:01:16]KKMCreateOFDPacket done [17:01:16]NVStorageSaveData kkm_last_timestamp [17:01:16]File name is /storage/kkm_last_timestamp [17:01:16]Write 4 bytes [17:01:16]NVStorageSaveData done [17:01:16]ExternCall_PrintAddStr [17:01:16]wPrintStart [17:01:16]Write to MH i2c: 01 00 00 9B 28 C3 [17:01:16]OFD Sender: Processing packet 22064 [packets to send 5, broken 4] [17:01:16]ProducePacketName [17:01:16]name=ofd_packets/00022064 [17:01:16]OFD Sender: To server: pG, [17:01:16]CommunicateWithHost lk.salyk.kg:30040 [17:01:16]ConnectInit lk.salyk.kg [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: 01 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: 01 07 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: 01 07 00 9B 28 00 00 00 00 00 FF 0F D8 [17:01:16]RasterBufferAndPrint [17:01:16]line Счет N : (3)254290 [17:01:16]line ИНН: 02508201610067 [17:01:16]line Контрольно-Кассовый Чек [17:01:16]line ПРОДАЖА [17:01:16]line Товар: 46226617 [17:01:16]line Mentos ПВ Нежная Мята 6*100*2г [17:01:16]line 1.000 * 10.00 [17:01:16]line = 10.00 [17:01:16]line НДС 12% НСП 1% [17:01:16]line > о реализуемом товаре [17:01:16]line ИТОГО: 10.00 [17:01:16]line НСП 1% : 0.09 [17:01:16]line НДС 12% : 1.06 [17:01:16]line Наличными: 10.00 [17:01:16]line Безнал.: 0.00 [17:01:16]line Место: АЗС № 76 "Партнер Нефть" [17:01:16]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:01:16]line СНО: Общий режим [17:01:16]line Чек 44 13.06.2024 17:01 [17:01:16]line Смена: 324 ФФД: 1.0 [17:01:16]line ЗНМ: 0300000200 [17:01:16]line РНМ: 0000000000099755 [17:01:16]line Версия ККМ: 001 [17:01:16]line ФМ: 0000000000965344 [17:01:16]line ФД: 22064 [17:01:16]line ФПД: 33553672415330 [17:01:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T170124&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22064&fm=33553672415330&tin=02508201610067®Number=0000000000099755&sum=1000 [17:01:17]line 0 [17:01:17]Connected sock=10 [17:01: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 2C 01 00 00 3F 19 24 01 B4 BA 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 E4 25 6B 66 0E 04 04 00 44 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 30 56 00 00 35 04 06 00 1E 84 52 B9 A8 62 37 FC 4A 9F 16 1D 84 EB [17:01:17]written 0, free lines is 4095 [17:01:17]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 E7 99 47 00 75 E1 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 30 56 00 00 F4 03 04 00 A7 CE 6A 66 B6 04 01 00 00 78 BE 66 8A 7B B6 BB D5 [17:01:17]CommunicateWithHost err = 0 [17:01:17]CheckOFDResponse [17:01:17]1017 (14) - 77093643461234 [17:01:17]1041 (16) - 0000000000965344 [17:01:17]1040 (4) - 22064 [17:01:17]1012 (4) - 13.06.2024 10:49 [17:01:17]1206 (1) - 0 [17:01:17]OFD Sender: Remove packet 22064 [17:01:17]ProducePacketName [17:01:17]name=ofd_packets/00022064 [17:01:17]NVStorageDeleteData [17:01:17]Write to MH i2c: 01 00 00 C4 28 EC [17:01:17]Write i2c OK [17:01:17]MH_I2C_Read... [17:01:17]Read from MH i2c: 01 [17:01:17]MH_I2C_Read... [17:01:17]Read from MH i2c: 01 07 00 [17:01:17]MH_I2C_Read... [17:01:17]Read from MH i2c: 01 07 00 C4 28 00 00 00 00 00 07 0D 07 [17:01:17]RasterBufferAndPrint [17:01:17]line [17:01:17]line [17:01:17]line [17:01:17]line [17:01:17]line [17:01:17]written 0, free lines is 3345 [17:01:17]MH_Cut [17:01:17]Write to MH i2c: D1 01 00 CB 28 01 C5 [17:01:17]Write i2c OK [17:01:17]MH_I2C_Read... [17:01:17]Read from MH i2c: D1 [17:01:17]MH_I2C_Read... [17:01:17]Read from MH i2c: D1 01 00 [17:01:17]MH_I2C_Read... [17:01:17]Read from MH i2c: D1 01 00 CB 28 00 C4 [17:01:17]Write to MH i2c: 01 00 00 CC 28 F4 [17:01:17]Write i2c OK [17:01:17]MH_I2C_Read... [17:01:17]OFD Sender: No OFD packet to send [17:01:18]*** Cut start [17:01:18]*** Partial cut [17:01:18]*** CUTSNS_PIN = 1 [17:01:18]*** CUTSNS_PIN = 0 [17:01:18]*** Brake cut motor [17:01:19]Read from MH i2c: 01 [17:01:19]MH_I2C_Read... [17:01:19]*** Stop cut motor [17:01:19]*** Cut end [17:01:19]Read from MH i2c: 01 07 00 [17:01:19]MH_I2C_Read... [17:01:19]Read from MH i2c: 01 07 00 CC 28 00 00 00 00 00 FF 0F 09 [17:01:19]process_action close_receipt done [17:01:19]requested_data is exist [17:01:19]produce_requested_data [17:01:19]requested_item fm.sn is exist - process it [17:01:19]wFMCommunicate request_size=4 [17:01:19]MH_SAM_APDU [17:01:19]CAPDU: 80 11 00 00 [17:01:19]Write to MH i2c: E2 08 00 CD 28 80 11 00 00 00 00 00 00 6F [17:01:19]Write i2c OK [17:01:19]MH_I2C_Read... [17:01:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:01:19]Read from MH i2c: E2 [17:01:19]MH_I2C_Read... [17:01:19]Read from MH i2c: E2 17 00 [17:01:19]MH_I2C_Read... [17:01:19]Read from MH i2c: E2 17 00 CD 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C1 [17:01: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:01:19]wFMCommunicate OK [17:01:19]requested_item fd.num is exist - process it [17:01:19]SAM_PROTO_GetFieldsCounters [17:01:19]wFMCommunicate request_size=4 [17:01:19]MH_SAM_APDU [17:01:19]CAPDU: 80 13 00 00 [17:01:19]Write to MH i2c: E2 08 00 CE 28 80 13 00 00 00 00 00 00 72 [17:01:19]Write i2c OK [17:01:19]MH_I2C_Read... [17:01:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:01:19]Read from MH i2c: E2 [17:01:19]MH_I2C_Read... [17:01:19]Read from MH i2c: E2 62 00 [17:01:19]MH_I2C_Read... [17:01:19]Read from MH i2c: E2 62 00 CE 28 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 30 56 00 00 0E 04 04 00 44 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 EB [17:01: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 30 56 00 00 0E 04 04 00 44 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 [17:01:19]wFMCommunicate OK [17:01:19]SAM_PROTO_GetFieldsCounters done [17:01:19]requested_item shift.num is exist - process it [17:01:19]requested_item shift.opened is exist - process it [17:01:19]req_shift_opened [17:01:19]FM_GetShiftState [17:01:19]SAM_PROTO_GetShiftState [17:01:19]wFMCommunicate request_size=4 [17:01:19]MH_SAM_APDU [17:01:19]CAPDU: 80 13 01 00 [17:01:19]Write to MH i2c: E2 08 00 CF 28 80 13 01 00 00 00 00 00 74 [17:01:19]Write i2c OK [17:01:19]MH_I2C_Read... [17:01:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:19]Read from MH i2c: E2 [17:01:19]MH_I2C_Read... [17:01:19]Read from MH i2c: E2 0E 00 [17:01:19]MH_I2C_Read... [17:01:19]Read from MH i2c: E2 0E 00 CF 28 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 92 [17:01:19]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:01:19]wFMCommunicate OK [17:01:19]SAM_PROTO_GetShiftState done [17:01:19]FM_GetShiftState done [17:01:19]req_shift_opened done [17:01:19]requested_item shift.open_date is exist - process it [17:01:19]req_shift_open_date [17:01:19]req_shift_open_date done [17:01:19]produce_requested_data done [17:01:19]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22064,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [17:01:19]process_action_free close_receipt [17:01:19]json_value_free [17:01:19]json_value_free done [17:01:19]process_json_proto returns [17:01:19]Send response to host [17:01:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22064,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [17:01:19]free response buf [17:01:19]execute_script done [17:01:19]execute_script returns [17:01:19]free content buf [17:01:19]Sock 8.Close socket [17:01:19]Sock 8.Thread stoped [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:38]OFD Sender: No OFD packet to send [17:01:43]OFD Sender: No OFD packet to send [17:01:48]OFD Sender: No OFD packet to send [17:01:53]OFD Sender: No OFD packet to send [17:01:58]OFD Sender: No OFD packet to send [17:02:03]OFD Sender: No OFD packet to send [17:02:08]OFD Sender: No OFD packet to send [17:02:13]OFD Sender: No OFD packet to send [17:02:18]OFD Sender: No OFD packet to send [17:02:23]OFD Sender: No OFD packet to send [17:02:28]OFD Sender: No OFD packet to send [17:02:33]OFD Sender: No OFD packet to send [17:02:38]OFD Sender: No OFD packet to send [17:02:43]OFD Sender: No OFD packet to send [17:02:48]OFD Sender: No OFD packet to send [17:02:53]OFD Sender: No OFD packet to send [17:02:58]OFD Sender: No OFD packet to send [17:03:03]OFD Sender: No OFD packet to send [17:03:08]OFD Sender: No OFD packet to send [17:03:13]OFD Sender: No OFD packet to send [17:03:18]OFD Sender: No OFD packet to send [17:03:23]OFD Sender: No OFD packet to send [17:03:28]OFD Sender: No OFD packet to send [17:03:33]OFD Sender: No OFD packet to send [17:03:38]OFD Sender: No OFD packet to send [17:03:43]OFD Sender: No OFD packet to send [17:03:48]OFD Sender: No OFD packet to send [17:03:53]OFD Sender: No OFD packet to send [17:03:58]OFD Sender: No OFD packet to send [17:04:03]OFD Sender: No OFD packet to send [17:04:08]OFD Sender: No OFD packet to send [17:04:13]OFD Sender: No OFD packet to send [17:04:18]OFD Sender: No OFD packet to send [17:04:23]OFD Sender: No OFD packet to send [17:04:28]OFD Sender: No OFD packet to send [17:04:33]OFD Sender: No OFD packet to send [17:04:38]OFD Sender: No OFD packet to send [17:04:43]OFD Sender: No OFD packet to send [17:04:48]OFD Sender: No OFD packet to send [17:04:53]OFD Sender: No OFD packet to send [17:04:58]OFD Sender: No OFD packet to send [17:05:03]OFD Sender: No OFD packet to send [17:05:08]OFD Sender: No OFD packet to send [17:05:13]OFD Sender: No OFD packet to send [17:05:18]OFD Sender: No OFD packet to send [17:05:23]OFD Sender: No OFD packet to send [17:05:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:08]OFD Sender: No OFD packet to send [17:08:13]OFD Sender: No OFD packet to send [17:08:18]OFD Sender: No OFD packet to send [17:08:23]OFD Sender: No OFD packet to send [17:08:28]OFD Sender: No OFD packet to send [17:08:33]OFD Sender: No OFD packet to send [17:08:38]OFD Sender: No OFD packet to send [17:08:43]OFD Sender: No OFD packet to send [17:08:48]OFD Sender: No OFD packet to send [17:08:53]OFD Sender: No OFD packet to send [17:08:58]OFD Sender: No OFD packet to send [17:09:03]OFD Sender: No OFD packet to send [17:09:08]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:28]OFD Sender: No OFD packet to send [17:11:33]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:05]accept exits with 9 [17:13:05]New connection [17:13:05]New thread 3067321700 created [17:13:05]Thread 3067178340 joined [17:13:05]Waiting for new connection... [17:13:05] Sock 9.Parse request [17:13:05]Sock 9.Check first char [17:13:05]Sock 9.First char is OK [17:13:05]request: POST /json_proto HTTP/1.0 [17:13:05]Method: POST [17:13:05]URL: /json_proto [17:13:05]Method is POST - this is cgi request [17:13:05]url: /json_proto [17:13:05]query_string will be loaded in cgi processing [17:13:05]execute_cgi json_proto POST (null) [17:13:05]execute_cgi path=json_proto method=POST [17:13:05]POST find Content-Length [17:13:05]Host: 172.17.35.133:8080 [17:13:05]Content-Length: 968 [17:13:05]Content-Type: application/json [17:13:05] [17:13:05]POST finish read [17:13:05]Found Content-Length = 968 [17:13:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254291", "tax_sys" : 0, "items" : [ { "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 102.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:13:05]execute_script... [17:13: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)254291", "tax_sys" : 0, "items" : [ { "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 102.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:13:05]POST & json_proto [17:13:05]process_json_proto [17:13:05]json parsed OK: [17:13:05]protocol is kg_v1.0 [17:13:05]action value=close_receipt [17:13:05]process_action close_receipt [17:13:05]cmd_close_receipt [17:13:05]MH_GetDate [17:13:05]Write to MH i2c: F0 00 00 D0 28 E7 [17:13:05]Write i2c OK [17:13:05]MH_I2C_Read... [17:13:05]Read from MH i2c: F0 [17:13:05]MH_I2C_Read... [17:13:05]Read from MH i2c: F0 09 00 [17:13:05]MH_I2C_Read... [17:13:05]Read from MH i2c: F0 09 00 D0 28 00 AB 28 6B 66 8C 55 28 65 02 [17:13:05]GetLastDocTimeStamp 1718298084 [17:13:05]current date 1718298795 [17:13:05]FM_GetShiftState [17:13:05]SAM_PROTO_GetShiftState [17:13:05]wFMCommunicate request_size=4 [17:13:05]MH_SAM_APDU [17:13:05]CAPDU: 80 13 01 00 [17:13:05]Write to MH i2c: E2 08 00 D1 28 80 13 01 00 00 00 00 00 76 [17:13:05]Write i2c OK [17:13:05]MH_I2C_Read... [17:13:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:13:05]Read from MH i2c: E2 [17:13:05]MH_I2C_Read... [17:13:05]Read from MH i2c: E2 0E 00 [17:13:05]MH_I2C_Read... [17:13:05]Read from MH i2c: E2 0E 00 D1 28 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 94 [17:13:05]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:13:05]wFMCommunicate OK [17:13:05]SAM_PROTO_GetShiftState done [17:13:05]FM_GetShiftState done [17:13:05]opened in 1718237959 [17:13:05]opened+sec_in_day 1718324359 [17:13:05]quantity*price = 4200 [17:13:05]sum+1 = 4201 [17:13:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 102.00 НСП 1% : 0.90 НДС 12% : 10.83 Наличными: 102.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 45 13.06.2024 17:13 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22065 ФПД: 38417923418142 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T171315&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22065&fm=38417923418142&tin=02508201610067®Number=0000000000099755&sum=10200 0 [17:13:06]StoreToDocumentArchive [17:13:06]shift 324 fd 22065 [17:13:06]save to /storage/0324/doc_00022065 [17:13:06]save last doc name /storage/0324/doc_00022065 to /storage/kkm_last_doc_name [17:13:06]save OK [17:13:06]Clear old archive folders... [17:13:06]ProcessDocumentItem done err = 0, tmpTLVsize=398 [17:13:06]tlvbuf is 0032E860 [17:13:06]SAM_PROTO_ClearQueue [17:13:06]wFMCommunicate request_size=4 [17:13:06]MH_SAM_APDU [17:13:06]CAPDU: 80 09 00 00 [17:13:06]Write to MH i2c: E2 08 00 DE 28 80 09 00 00 00 00 00 00 78 [17:13:06]Write i2c OK [17:13:06]MH_I2C_Read... [17:13:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:13:06]Read from MH i2c: E2 [17:13:06]MH_I2C_Read... [17:13:06]Read from MH i2c: E2 03 00 [17:13:06]MH_I2C_Read... [17:13:06]Read from MH i2c: E2 03 00 DE 28 00 90 00 7A [17:13:06]RAPDU: 90 00 [17:13:06]wFMCommunicate OK [17:13:06]SAM_PROTO_ClearQueue done [17:13:06]KKMCreateOFDPacket [17:13:06]OFDProtocolAddRootSTLVToBuf [17:13:06]FM_MakeSignedData [17:13:06]FM_MakeSignedData [17:13:06]SAM_PROTO_SignData [17:13:06]wFMCommunicate request_size=4 [17:13:06]MH_SAM_APDU [17:13:06]CAPDU: 80 0D 01 02 [17:13:06]Write to MH i2c: E2 08 00 DF 28 80 0D 01 02 00 00 00 00 80 [17:13:06]Write i2c OK [17:13:06]MH_I2C_Read... [17:13:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:13:06]Read from MH i2c: E2 [17:13:06]MH_I2C_Read... [17:13:06]Read from MH i2c: E2 03 00 [17:13:06]MH_I2C_Read... [17:13:06]Read from MH i2c: E2 03 00 DF 28 00 90 00 7B [17:13:06]RAPDU: 90 00 [17:13:06]wFMCommunicate OK [17:13:06]wFMCommunicate request_size=255 [17:13:06]MH_SAM_APDU [17:13:06]CAPDU: 80 0D 02 02 FA 03 00 8E 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 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 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 FC 03 06 00 D8 27 00 00 00 00 EB 03 26 [17:13:06]Write to MH i2c: E2 02 01 E0 28 80 0D 02 02 FA 00 03 00 8E 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 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 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 FC 03 06 00 D8 27 00 00 00 00 EB 03 26 00 00 40 [17:13:06]Write i2c OK [17:13:06]MH_I2C_Read... [17:13:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:13:06]Read from MH i2c: E2 [17:13:06]MH_I2C_Read... [17:13:06]Read from MH i2c: E2 03 00 [17:13:06]MH_I2C_Read... [17:13:06]Read from MH i2c: E2 03 00 E0 28 00 90 00 7C [17:13:06]RAPDU: 90 00 [17:13:06]wFMCommunicate OK [17:13:06]wFMCommunicate request_size=157 [17:13:06]MH_SAM_APDU [17:13:06]CAPDU: 80 0D 02 02 98 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 04 00 00 00 00 07 04 06 00 D8 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 2D 00 00 00 F4 03 04 00 AB 28 6B 66 0E 04 04 00 44 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 31 56 00 00 35 04 06 00 22 F0 DE AD A8 1E [17:13:06]Write to MH i2c: E2 A0 00 E1 28 80 0D 02 02 98 00 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 04 00 00 00 00 07 04 06 00 D8 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 2D 00 00 00 F4 03 04 00 AB 28 6B 66 0E 04 04 00 44 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 31 56 00 00 35 04 06 00 22 F0 DE AD A8 1E 00 00 7D [17:13:06]Write i2c OK [17:13:06]MH_I2C_Read... [17:13:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:13:07]Read from MH i2c: E2 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 03 00 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 03 00 E1 28 00 90 00 7D [17:13:07]RAPDU: 90 00 [17:13:07]wFMCommunicate OK [17:13:07]wFMCommunicate request_size=4 [17:13:07]MH_SAM_APDU [17:13:07]CAPDU: 80 0D 03 02 [17:13:07]Write to MH i2c: E2 08 00 E2 28 80 0D 03 02 00 00 00 00 85 [17:13:07]Write i2c OK [17:13:07]MH_I2C_Read... [17:13:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:13:07]Read from MH i2c: E2 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 0B 00 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 0B 00 E2 28 00 2D 51 0C 88 BE B8 DB BC 90 00 A5 [17:13:07]RAPDU: 2D 51 0C 88 BE B8 DB BC 90 00 [17:13:07]wFMCommunicate OK [17:13:07]SAM_PROTO_SignData done [17:13:07]FM_MakeSignedData done [17:13:07]CreateOFDProtocolMessage [17:13:07]wFMCommunicate request_size=4 [17:13:07]MH_SAM_APDU [17:13:07]CAPDU: 80 11 00 00 [17:13:07]Write to MH i2c: E2 08 00 E3 28 80 11 00 00 00 00 00 00 85 [17:13:07]Write i2c OK [17:13:07]MH_I2C_Read... [17:13:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:13:07]Read from MH i2c: E2 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 17 00 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 17 00 E3 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D7 [17:13:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:13:07]wFMCommunicate OK [17:13:07]CreateOFDProtocolMessage done [17:13:07]OFDSenderStorePacket 22065 [17:13:07]StoreOFDPacket docnum=22065 [17:13: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 A2 01 00 00 F6 AE 9A 01 CD 30 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 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 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 FC 03 06 00 D8 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 04 00 00 00 00 07 04 06 00 D8 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 2D 00 00 00 F4 03 04 00 AB 28 6B 66 0E 04 04 00 44 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 31 56 00 00 35 04 06 00 22 F0 DE AD A8 1E 2D 51 0C 88 BE B8 DB BC [17:13:07]CheckFolder [17:13:07]dirname=/storage/ofd_packets [17:13:07]CheckFolder done [17:13:07]ProducePacketName [17:13:07]name=ofd_packets/00022065 [17:13:07]NVStorageSaveData ofd_packets/00022065 [17:13:07]File name is /storage/ofd_packets/00022065 [17:13:07]Write 448 bytes [17:13:07]NVStorageSaveData done [17:13:07]OFDSenderStorePacket done [17:13:07]KKMCreateOFDPacket done [17:13:07]NVStorageSaveData kkm_last_timestamp [17:13:07]File name is /storage/kkm_last_timestamp [17:13:07]Write 4 bytes [17:13:07]NVStorageSaveData done [17:13:07]ExternCall_PrintAddStr [17:13:07]wPrintStart [17:13:07]Write to MH i2c: 01 00 00 E4 28 0C [17:13:07]OFD Sender: Processing packet 22065 [packets to send 5, broken 4] [17:13:07]ProducePacketName [17:13:07]name=ofd_packets/00022065 [17:13:07]OFD Sender: To server: pG, [17:13:07]CommunicateWithHost lk.salyk.kg:30040 [17:13:07]ConnectInit lk.salyk.kg [17:13:07]Write i2c OK [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: 01 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: 01 07 00 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: 01 07 00 E4 28 00 00 00 00 00 FF 0F 21 [17:13:07]RasterBufferAndPrint [17:13:07]line Счет N : (3)254291 [17:13:07]line ИНН: 02508201610067 [17:13:07]line Контрольно-Кассовый Чек [17:13:07]line ПРОДАЖА [17:13:07]line Товар: 4700026030109 [17:13:07]line Курут чобого [17:13:07]line 1.000 * 42.00 [17:13:07]line = 42.00 [17:13:07]line НДС 12% НСП 1% [17:13:07]line > о реализуемом товаре [17:13:07]line Товар: 4700000160792 [17:13:07]line Снек Курут классический (круглый) [17:13:07]line 1.000 * 60.00 [17:13:07]line = 60.00 [17:13:07]line НДС 12% НСП 1% [17:13:07]line > о реализуемом товаре [17:13:07]line ИТОГО: 102.00 [17:13:07]line НСП 1% : 0.90 [17:13:07]line НДС 12% : 10.83 [17:13:07]line Наличными: 102.00 [17:13:07]line Безнал.: 0.00 [17:13:07]line Место: АЗС № 76 "Партнер Нефть" [17:13:07]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:13:07]line СНО: Общий режим [17:13:07]line Чек 45 13.06.2024 17:13 [17:13:07]line Смена: 324 ФФД: 1.0 [17:13:07]line ЗНМ: 0300000200 [17:13:07]line РНМ: 0000000000099755 [17:13:07]line Версия ККМ: 001 [17:13:07]line ФМ: 0000000000965344 [17:13:07]line ФД: 22065 [17:13:07]line ФПД: 38417923418142 [17:13:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T171315&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22065&fm=38417923418142&tin=02508201610067®Number=0000000000099755&sum=10200 [17:13:07]line 0 [17:13:07]written 0, free lines is 4095 [17:13:07]Connected sock=10 [17:13:07]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 A2 01 00 00 F6 AE 9A 01 CD 30 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 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 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 FC 03 06 00 D8 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 04 00 00 00 00 07 04 06 00 D8 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 2D 00 00 00 F4 03 04 00 AB 28 6B 66 0E 04 04 00 44 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 31 56 00 00 35 04 06 00 22 F0 DE AD A8 1E 2D 51 0C 88 BE B8 DB BC [17:13: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 0A 14 47 00 58 EB 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 31 56 00 00 F4 03 04 00 6D D1 6A 66 B6 04 01 00 00 66 91 90 C6 91 3B AE CD [17:13:07]CommunicateWithHost err = 0 [17:13:07]CheckOFDResponse [17:13:07]1017 (14) - 77093643461234 [17:13:07]1041 (16) - 0000000000965344 [17:13:07]1040 (4) - 22065 [17:13:07]1012 (4) - 13.06.2024 11:01 [17:13:07]1206 (1) - 0 [17:13:07]OFD Sender: Remove packet 22065 [17:13:07]ProducePacketName [17:13:07]name=ofd_packets/00022065 [17:13:07]NVStorageDeleteData [17:13:08]Write to MH i2c: 01 00 00 13 29 3C [17:13:08]Write i2c OK [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: 01 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: 01 07 00 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: 01 07 00 13 29 00 00 00 00 00 C9 0C 18 [17:13:08]RasterBufferAndPrint [17:13:08]line [17:13:08]line [17:13:08]line [17:13:08]line [17:13:08]line [17:13:08]written 0, free lines is 3283 [17:13:08]MH_Cut [17:13:08]Write to MH i2c: D1 01 00 1A 29 01 15 [17:13:08]Write i2c OK [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: D1 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: D1 01 00 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: D1 01 00 1A 29 00 14 [17:13:08]Write to MH i2c: 01 00 00 1B 29 44 [17:13:08]Write i2c OK [17:13:08]MH_I2C_Read... [17:13:08]OFD Sender: No OFD packet to send [17:13:08]*** Cut start [17:13:08]*** Partial cut [17:13:08]*** CUTSNS_PIN = 1 [17:13:08]*** CUTSNS_PIN = 0 [17:13:09]*** Brake cut motor [17:13:09]Read from MH i2c: 01 [17:13:09]MH_I2C_Read... [17:13:09]*** Stop cut motor [17:13:09]*** Cut end [17:13:09]Read from MH i2c: 01 07 00 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: 01 07 00 1B 29 00 00 00 00 00 FF 0F 59 [17:13:09]process_action close_receipt done [17:13:09]requested_data is exist [17:13:09]produce_requested_data [17:13:09]requested_item fm.sn is exist - process it [17:13:09]wFMCommunicate request_size=4 [17:13:09]MH_SAM_APDU [17:13:09]CAPDU: 80 11 00 00 [17:13:09]Write to MH i2c: E2 08 00 1C 29 80 11 00 00 00 00 00 00 BF [17:13:09]Write i2c OK [17:13:09]MH_I2C_Read... [17:13:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:13:09]Read from MH i2c: E2 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 17 00 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 17 00 1C 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 11 [17:13:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:13:09]wFMCommunicate OK [17:13:09]requested_item fd.num is exist - process it [17:13:09]SAM_PROTO_GetFieldsCounters [17:13:09]wFMCommunicate request_size=4 [17:13:09]MH_SAM_APDU [17:13:09]CAPDU: 80 13 00 00 [17:13:09]Write to MH i2c: E2 08 00 1D 29 80 13 00 00 00 00 00 00 C2 [17:13:09]Write i2c OK [17:13:09]MH_I2C_Read... [17:13:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:13:09]Read from MH i2c: E2 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 62 00 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 62 00 1D 29 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 31 56 00 00 0E 04 04 00 44 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 3F [17:13: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 31 56 00 00 0E 04 04 00 44 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 [17:13:09]wFMCommunicate OK [17:13:09]SAM_PROTO_GetFieldsCounters done [17:13:09]requested_item shift.num is exist - process it [17:13:09]requested_item shift.opened is exist - process it [17:13:09]req_shift_opened [17:13:09]FM_GetShiftState [17:13:09]SAM_PROTO_GetShiftState [17:13:09]wFMCommunicate request_size=4 [17:13:09]MH_SAM_APDU [17:13:09]CAPDU: 80 13 01 00 [17:13:09]Write to MH i2c: E2 08 00 1E 29 80 13 01 00 00 00 00 00 C4 [17:13:09]Write i2c OK [17:13:09]MH_I2C_Read... [17:13:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:13:09]Read from MH i2c: E2 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 0E 00 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 0E 00 1E 29 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 E2 [17:13:09]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:13:09]wFMCommunicate OK [17:13:09]SAM_PROTO_GetShiftState done [17:13:09]FM_GetShiftState done [17:13:09]req_shift_opened done [17:13:09]requested_item shift.open_date is exist - process it [17:13:09]req_shift_open_date [17:13:09]req_shift_open_date done [17:13:09]produce_requested_data done [17:13:09]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22065,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [17:13:09]process_action_free close_receipt [17:13:09]json_value_free [17:13:09]json_value_free done [17:13:09]process_json_proto returns [17:13:09]Send response to host [17:13:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22065,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [17:13:09]free response buf [17:13:09]execute_script done [17:13:09]execute_script returns [17:13:09]free content buf [17:13:09]Sock 9.Close socket [17:13:09]Sock 9.Thread stoped [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:14:08]OFD Sender: No OFD packet to send [17:14:13]OFD Sender: No OFD packet to send [17:14:18]OFD Sender: No OFD packet to send [17:14:23]OFD Sender: No OFD packet to send [17:14:28]OFD Sender: No OFD packet to send [17:14:33]OFD Sender: No OFD packet to send [17:14:38]OFD Sender: No OFD packet to send [17:14:43]OFD Sender: No OFD packet to send [17:14:48]OFD Sender: No OFD packet to send [17:14:53]OFD Sender: No OFD packet to send [17:14:58]OFD Sender: No OFD packet to send [17:15:03]OFD Sender: No OFD packet to send [17:15:08]OFD Sender: No OFD packet to send [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:38]OFD Sender: No OFD packet to send [17:15:43]OFD Sender: No OFD packet to send [17:15:48]OFD Sender: No OFD packet to send [17:15:53]OFD Sender: No OFD packet to send [17:15:58]OFD Sender: No OFD packet to send [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:18]OFD Sender: No OFD packet to send [17:16:23]OFD Sender: No OFD packet to send [17:16:28]OFD Sender: No OFD packet to send [17:16:33]OFD Sender: No OFD packet to send [17:16:38]OFD Sender: No OFD packet to send [17:16:43]OFD Sender: No OFD packet to send [17:16:48]OFD Sender: No OFD packet to send [17:16:53]OFD Sender: No OFD packet to send [17:16:58]OFD Sender: No OFD packet to send [17:17:03]OFD Sender: No OFD packet to send [17:17:08]OFD Sender: No OFD packet to send [17:17:13]OFD Sender: No OFD packet to send [17:17:18]OFD Sender: No OFD packet to send [17:17:23]OFD Sender: No OFD packet to send [17:17:28]OFD Sender: No OFD packet to send [17:17:33]OFD Sender: No OFD packet to send [17:17:38]OFD Sender: No OFD packet to send [17:17:43]OFD Sender: No OFD packet to send [17:17:48]OFD Sender: No OFD packet to send [17:17:53]OFD Sender: No OFD packet to send [17:17:58]OFD Sender: No OFD packet to send [17:18:03]OFD Sender: No OFD packet to send [17:18:08]OFD Sender: No OFD packet to send [17:18:13]OFD Sender: No OFD packet to send [17:18:18]OFD Sender: No OFD packet to send [17:18:23]OFD Sender: No OFD packet to send [17:18:28]OFD Sender: No OFD packet to send [17:18:33]OFD Sender: No OFD packet to send [17:18:38]OFD Sender: No OFD packet to send [17:18:43]OFD Sender: No OFD packet to send [17:18:48]OFD Sender: No OFD packet to send [17:18:53]OFD Sender: No OFD packet to send [17:18:58]OFD Sender: No OFD packet to send [17:19:03]OFD Sender: No OFD packet to send [17:19:08]OFD Sender: No OFD packet to send [17:19:13]OFD Sender: No OFD packet to send [17:19:18]OFD Sender: No OFD packet to send [17:19:23]OFD Sender: No OFD packet to send [17:19:28]OFD Sender: No OFD packet to send [17:19:33]OFD Sender: No OFD packet to send [17:19:38]OFD Sender: No OFD packet to send [17:19:43]OFD Sender: No OFD packet to send [17:19:48]OFD Sender: No OFD packet to send [17:19:53]OFD Sender: No OFD packet to send [17:19:58]OFD Sender: No OFD packet to send [17:20:03]OFD Sender: No OFD packet to send [17:20:08]OFD Sender: No OFD packet to send [17:20:13]OFD Sender: No OFD packet to send [17:20:18]OFD Sender: No OFD packet to send [17:20:23]OFD Sender: No OFD packet to send [17:20:28]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:28]OFD Sender: No OFD packet to send [17:24:33]OFD Sender: No OFD packet to send [17:24:38]OFD Sender: No OFD packet to send [17:24:43]OFD Sender: No OFD packet to send [17:24:48]OFD Sender: No OFD packet to send [17:24:53]OFD Sender: No OFD packet to send [17:24:58]OFD Sender: No OFD packet to send [17:25:03]OFD Sender: No OFD packet to send [17:25:08]OFD Sender: No OFD packet to send [17:25:13]OFD Sender: No OFD packet to send [17:25:18]OFD Sender: No OFD packet to send [17:25:23]OFD Sender: No OFD packet to send [17:25:28]OFD Sender: No OFD packet to send [17:25:33]OFD Sender: No OFD packet to send [17:25:38]OFD Sender: No OFD packet to send [17:25:43]OFD Sender: No OFD packet to send [17:25:48]OFD Sender: No OFD packet to send [17:25:53]OFD Sender: No OFD packet to send [17:25:58]OFD Sender: No OFD packet to send [17:26:03]OFD Sender: No OFD packet to send [17:26:08]OFD Sender: No OFD packet to send [17:26:13]OFD Sender: No OFD packet to send [17:26:18]OFD Sender: No OFD packet to send [17:26:23]OFD Sender: No OFD packet to send [17:26:28]OFD Sender: No OFD packet to send [17:26:33]OFD Sender: No OFD packet to send [17:26:38]OFD Sender: No OFD packet to send [17:26:43]OFD Sender: No OFD packet to send [17:26:45]accept exits with 8 [17:26:45]New connection [17:26:45]New thread 3067178340 created [17:26:45]Thread 3067321700 joined [17:26:45]Waiting for new connection... [17:26:45] Sock 8.Parse request [17:26:45]Sock 8.Check first char [17:26:45]Sock 8.First char is OK [17:26:45]request: POST /json_proto HTTP/1.0 [17:26:45]Method: POST [17:26:45]URL: /json_proto [17:26:45]Method is POST - this is cgi request [17:26:45]url: /json_proto [17:26:45]query_string will be loaded in cgi processing [17:26:45]execute_cgi json_proto POST (null) [17:26:45]execute_cgi path=json_proto method=POST [17:26:45]POST find Content-Length [17:26:45]Host: 172.17.35.133:8080 [17:26:45]Content-Length: 638 [17:26:45]Content-Type: application/json [17:26:45] [17:26:45]POST finish read [17:26:45]Found Content-Length = 638 [17:26:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254292", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "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" ] } } [17:26:45]execute_script... [17:26:45]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)254292", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "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" ] } } [17:26:45]POST & json_proto [17:26:45]process_json_proto [17:26:45]json parsed OK: [17:26:45]protocol is kg_v1.0 [17:26:45]action value=close_receipt [17:26:45]process_action close_receipt [17:26:45]cmd_close_receipt [17:26:45]MH_GetDate [17:26:45]Write to MH i2c: F0 00 00 1F 29 37 [17:26:45]Write i2c OK [17:26:45]MH_I2C_Read... [17:26:45]Read from MH i2c: F0 [17:26:45]MH_I2C_Read... [17:26:45]Read from MH i2c: F0 09 00 [17:26:45]MH_I2C_Read... [17:26:45]Read from MH i2c: F0 09 00 1F 29 00 DE 2B 6B 66 8C 55 28 65 88 [17:26:45]GetLastDocTimeStamp 1718298795 [17:26:45]current date 1718299614 [17:26:45]FM_GetShiftState [17:26:45]SAM_PROTO_GetShiftState [17:26:45]wFMCommunicate request_size=4 [17:26:45]MH_SAM_APDU [17:26:45]CAPDU: 80 13 01 00 [17:26:45]Write to MH i2c: E2 08 00 20 29 80 13 01 00 00 00 00 00 C6 [17:26:45]Write i2c OK [17:26:45]MH_I2C_Read... [17:26:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:45]Read from MH i2c: E2 [17:26:45]MH_I2C_Read... [17:26:45]Read from MH i2c: E2 0E 00 [17:26:45]MH_I2C_Read... [17:26:45]Read from MH i2c: E2 0E 00 20 29 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 E4 [17:26:45]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:26:45]wFMCommunicate OK [17:26:45]SAM_PROTO_GetShiftState done [17:26:45]FM_GetShiftState done [17:26:45]opened in 1718237959 [17:26:45]opened+sec_in_day 1718324359 [17:26:45]quantity*price = 7000 [17:26:45]sum+1 = 7001 [17:26:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 46 13.06.2024 17:26 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22066 ФПД: 202700639160164 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T172654&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22066&fm=202700639160164&tin=02508201610067®Number=0000000000099755&sum=7000 0 [17:26:46]StoreToDocumentArchive [17:26:46]shift 324 fd 22066 [17:26:46]save to /storage/0324/doc_00022066 [17:26:46]save last doc name /storage/0324/doc_00022066 to /storage/kkm_last_doc_name [17:26:46]save OK [17:26:46]Clear old archive folders... [17:26:46]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:26:46]tlvbuf is 003350B0 [17:26:46]SAM_PROTO_ClearQueue [17:26:46]wFMCommunicate request_size=4 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 09 00 00 [17:26:46]Write to MH i2c: E2 08 00 2D 29 80 09 00 00 00 00 00 00 C8 [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 03 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 03 00 2D 29 00 90 00 CA [17:26:46]RAPDU: 90 00 [17:26:46]wFMCommunicate OK [17:26:46]SAM_PROTO_ClearQueue done [17:26:46]KKMCreateOFDPacket [17:26:46]OFDProtocolAddRootSTLVToBuf [17:26:46]FM_MakeSignedData [17:26:46]FM_MakeSignedData [17:26:46]SAM_PROTO_SignData [17:26:46]wFMCommunicate request_size=4 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 0D 01 02 [17:26:46]Write to MH i2c: E2 08 00 2E 29 80 0D 01 02 00 00 00 00 D0 [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 03 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 03 00 2E 29 00 90 00 CB [17:26:46]RAPDU: 90 00 [17:26:46]wFMCommunicate OK [17:26:46]wFMCommunicate request_size=255 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 0D 02 02 FA 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 2E 00 00 00 F4 03 04 00 DE 2B 6B 66 0E 04 04 00 44 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 [17:26:46]Write to MH i2c: E2 02 01 2F 29 80 0D 02 02 FA 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 2E 00 00 00 F4 03 04 00 DE 2B 6B 66 0E 04 04 00 44 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 42 [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 03 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 03 00 2F 29 00 90 00 CC [17:26:46]RAPDU: 90 00 [17:26:46]wFMCommunicate OK [17:26:46]wFMCommunicate request_size=32 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 34 34 10 04 04 00 32 56 00 00 35 04 06 00 B8 5A EB 97 C7 64 [17:26:46]Write to MH i2c: E2 23 00 30 29 80 0D 02 02 1B 00 30 30 30 39 36 35 33 34 34 10 04 04 00 32 56 00 00 35 04 06 00 B8 5A EB 97 C7 64 00 00 76 [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 03 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 03 00 30 29 00 90 00 CD [17:26:46]RAPDU: 90 00 [17:26:46]wFMCommunicate OK [17:26:46]wFMCommunicate request_size=4 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 0D 03 02 [17:26:46]Write to MH i2c: E2 08 00 31 29 80 0D 03 02 00 00 00 00 D5 [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 0B 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 0B 00 31 29 00 AE D2 6D D3 F6 E7 43 1D 90 00 D3 [17:26:46]RAPDU: AE D2 6D D3 F6 E7 43 1D 90 00 [17:26:46]wFMCommunicate OK [17:26:46]SAM_PROTO_SignData done [17:26:46]FM_MakeSignedData done [17:26:46]CreateOFDProtocolMessage [17:26:46]wFMCommunicate request_size=4 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 11 00 00 [17:26:46]Write to MH i2c: E2 08 00 32 29 80 11 00 00 00 00 00 00 D5 [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 17 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 17 00 32 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 27 [17:26:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:26:46]wFMCommunicate OK [17:26:46]CreateOFDProtocolMessage done [17:26:46]OFDSenderStorePacket 22066 [17:26:46]StoreOFDPacket docnum=22066 [17:26:46]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 4D 2A 1D 01 EB F4 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 2E 00 00 00 F4 03 04 00 DE 2B 6B 66 0E 04 04 00 44 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 32 56 00 00 35 04 06 00 B8 5A EB 97 C7 64 AE D2 6D D3 F6 E7 43 1D [17:26:46]CheckFolder [17:26:46]dirname=/storage/ofd_packets [17:26:46]CheckFolder done [17:26:46]ProducePacketName [17:26:46]name=ofd_packets/00022066 [17:26:46]NVStorageSaveData ofd_packets/00022066 [17:26:46]File name is /storage/ofd_packets/00022066 [17:26:46]Write 323 bytes [17:26:46]NVStorageSaveData done [17:26:46]OFDSenderStorePacket done [17:26:46]KKMCreateOFDPacket done [17:26:46]NVStorageSaveData kkm_last_timestamp [17:26:46]File name is /storage/kkm_last_timestamp [17:26:46]Write 4 bytes [17:26:46]NVStorageSaveData done [17:26:46]ExternCall_PrintAddStr [17:26:46]wPrintStart [17:26:46]Write to MH i2c: 01 00 00 33 29 5C [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: 01 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: 01 07 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: 01 07 00 33 29 00 00 00 00 00 FF 0F 71 [17:26:46]RasterBufferAndPrint [17:26:46]line Счет N : (3)254292 [17:26:46]line ИНН: 02508201610067 [17:26:46]line Контрольно-Кассовый Чек [17:26:46]line ПРОДАЖА [17:26:46]line Товар: 4700002082931 [17:26:46]line Водка Хорошая 0,1л [17:26:46]line 1.000 * 70.00 [17:26:46]line = 70.00 [17:26:46]line НДС 12% НСП 1% [17:26:46]line > о реализуемом товаре [17:26:46]line ИТОГО: 70.00 [17:26:46]line НСП 1% : 0.62 [17:26:46]line НДС 12% : 7.43 [17:26:46]line Наличными: 70.00 [17:26:46]line Безнал.: 0.00 [17:26:46]line Место: АЗС № 76 "Партнер Нефть" [17:26:46]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:26:46]line СНО: Общий режим [17:26:46]line Чек 46 13.06.2024 17:26 [17:26:46]line Смена: 324 ФФД: 1.0 [17:26:46]line ЗНМ: 0300000200 [17:26:46]line РНМ: 0000000000099755 [17:26:46]line Версия ККМ: 001 [17:26:46]line ФМ: 0000000000965344 [17:26:46]line ФД: 22066 [17:26:46]line ФПД: 202700639160164 [17:26:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T172654&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22066&fm=202700639160164&tin=02508201610067®Number=0000000000099755&sum=7000 [17:26:47]line 0 [17:26:47]OFD Sender: Processing packet 22066 [packets to send 5, broken 4] [17:26:47]ProducePacketName [17:26:47]name=ofd_packets/00022066 [17:26:47]OFD Sender: To server: pG, [17:26:47]CommunicateWithHost lk.salyk.kg:30040 [17:26:47]ConnectInit lk.salyk.kg [17:26:47]written 0, free lines is 4095 [17:26:47]Connected sock=11 [17:26:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 4D 2A 1D 01 EB F4 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 2E 00 00 00 F4 03 04 00 DE 2B 6B 66 0E 04 04 00 44 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 32 56 00 00 35 04 06 00 B8 5A EB 97 C7 64 AE D2 6D D3 F6 E7 43 1D [17:26:47]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 C6 47 00 DF DD 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 32 56 00 00 F4 03 04 00 A1 D4 6A 66 B6 04 01 00 00 66 9D E4 5B 8D EE AB 39 [17:26:47]CommunicateWithHost err = 0 [17:26:47]CheckOFDResponse [17:26:47]1017 (14) - 77093643461234 [17:26:47]1041 (16) - 0000000000965344 [17:26:47]1040 (4) - 22066 [17:26:47]1012 (4) - 13.06.2024 11:14 [17:26:47]1206 (1) - 0 [17:26:47]OFD Sender: Remove packet 22066 [17:26:47]ProducePacketName [17:26:47]name=ofd_packets/00022066 [17:26:47]NVStorageDeleteData [17:26:47]Write to MH i2c: 01 00 00 5B 29 84 [17:26:47]Write i2c OK [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: 01 [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: 01 07 00 [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: 01 07 00 5B 29 00 00 00 00 00 2F 0D C7 [17:26:47]RasterBufferAndPrint [17:26:47]line [17:26:47]line [17:26:47]line [17:26:47]line [17:26:47]line [17:26:47]written 0, free lines is 3381 [17:26:47]MH_Cut [17:26:47]Write to MH i2c: D1 01 00 62 29 01 5D [17:26:47]Write i2c OK [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: D1 [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: D1 01 00 [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: D1 01 00 62 29 00 5C [17:26:47]Write to MH i2c: 01 00 00 63 29 8C [17:26:47]Write i2c OK [17:26:47]MH_I2C_Read... [17:26:47]OFD Sender: No OFD packet to send [17:26:48]*** Cut start [17:26:48]*** Partial cut [17:26:48]*** CUTSNS_PIN = 1 [17:26:48]*** CUTSNS_PIN = 0 [17:26:48]*** Brake cut motor [17:26:48]Read from MH i2c: 01 [17:26:48]MH_I2C_Read... [17:26:48]*** Stop cut motor [17:26:48]*** Cut end [17:26:48]Read from MH i2c: 01 07 00 [17:26:48]MH_I2C_Read... [17:26:48]Read from MH i2c: 01 07 00 63 29 00 00 00 00 00 FF 0F A1 [17:26:48]process_action close_receipt done [17:26:48]requested_data is exist [17:26:48]produce_requested_data [17:26:48]requested_item fm.sn is exist - process it [17:26:48]wFMCommunicate request_size=4 [17:26:48]MH_SAM_APDU [17:26:48]CAPDU: 80 11 00 00 [17:26:48]Write to MH i2c: E2 08 00 64 29 80 11 00 00 00 00 00 00 07 [17:26:48]Write i2c OK [17:26:48]MH_I2C_Read... [17:26:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:48]Read from MH i2c: E2 [17:26:48]MH_I2C_Read... [17:26:48]Read from MH i2c: E2 17 00 [17:26:48]MH_I2C_Read... [17:26:48]Read from MH i2c: E2 17 00 64 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 59 [17:26:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:26:48]wFMCommunicate OK [17:26:48]requested_item fd.num is exist - process it [17:26:48]SAM_PROTO_GetFieldsCounters [17:26:48]wFMCommunicate request_size=4 [17:26:48]MH_SAM_APDU [17:26:48]CAPDU: 80 13 00 00 [17:26:48]Write to MH i2c: E2 08 00 65 29 80 13 00 00 00 00 00 00 0A [17:26:48]Write i2c OK [17:26:48]MH_I2C_Read... [17:26:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:26:49]Read from MH i2c: E2 [17:26:49]MH_I2C_Read... [17:26:49]Read from MH i2c: E2 62 00 [17:26:49]MH_I2C_Read... [17:26:49]Read from MH i2c: E2 62 00 65 29 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 32 56 00 00 0E 04 04 00 44 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 8B [17:26:49]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 32 56 00 00 0E 04 04 00 44 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 [17:26:49]wFMCommunicate OK [17:26:49]SAM_PROTO_GetFieldsCounters done [17:26:49]requested_item shift.num is exist - process it [17:26:49]requested_item shift.opened is exist - process it [17:26:49]req_shift_opened [17:26:49]FM_GetShiftState [17:26:49]SAM_PROTO_GetShiftState [17:26:49]wFMCommunicate request_size=4 [17:26:49]MH_SAM_APDU [17:26:49]CAPDU: 80 13 01 00 [17:26:49]Write to MH i2c: E2 08 00 66 29 80 13 01 00 00 00 00 00 0C [17:26:49]Write i2c OK [17:26:49]MH_I2C_Read... [17:26:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:49]Read from MH i2c: E2 [17:26:49]MH_I2C_Read... [17:26:49]Read from MH i2c: E2 0E 00 [17:26:49]MH_I2C_Read... [17:26:49]Read from MH i2c: E2 0E 00 66 29 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 2A [17:26:49]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:26:49]wFMCommunicate OK [17:26:49]SAM_PROTO_GetShiftState done [17:26:49]FM_GetShiftState done [17:26:49]req_shift_opened done [17:26:49]requested_item shift.open_date is exist - process it [17:26:49]req_shift_open_date [17:26:49]req_shift_open_date done [17:26:49]produce_requested_data done [17:26:49]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22066,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [17:26:49]process_action_free close_receipt [17:26:49]json_value_free [17:26:49]json_value_free done [17:26:49]process_json_proto returns [17:26:49]Send response to host [17:26:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22066,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [17:26:49]free response buf [17:26:49]execute_script done [17:26:49]execute_script returns [17:26:49]free content buf [17:26:49]Sock 8.Close socket [17:26:49]Sock 8.Thread stoped [17:26:53]OFD Sender: No OFD packet to send [17:26:58]OFD Sender: No OFD packet to send [17:27:03]OFD Sender: No OFD packet to send [17:27:08]OFD Sender: No OFD packet to send [17:27:13]OFD Sender: No OFD packet to send [17:27:18]OFD Sender: No OFD packet to send [17:27:23]OFD Sender: No OFD packet to send [17:27:28]OFD Sender: No OFD packet to send [17:27:33]OFD Sender: No OFD packet to send [17:27:38]OFD Sender: No OFD packet to send [17:27:43]OFD Sender: No OFD packet to send [17:27:48]OFD Sender: No OFD packet to send [17:27:53]OFD Sender: No OFD packet to send [17:27:58]OFD Sender: No OFD packet to send [17:28:03]OFD Sender: No OFD packet to send [17:28:08]OFD Sender: No OFD packet to send [17:28:13]OFD Sender: No OFD packet to send [17:28:18]OFD Sender: No OFD packet to send [17:28:23]OFD Sender: No OFD packet to send [17:28:28]OFD Sender: No OFD packet to send [17:28:33]OFD Sender: No OFD packet to send [17:28:38]OFD Sender: No OFD packet to send [17:28:43]OFD Sender: No OFD packet to send [17:28:48]OFD Sender: No OFD packet to send [17:28:53]OFD Sender: No OFD packet to send [17:28:58]OFD Sender: No OFD packet to send [17:29:03]OFD Sender: No OFD packet to send [17:29:08]OFD Sender: No OFD packet to send [17:29:13]OFD Sender: No OFD packet to send [17:29:18]OFD Sender: No OFD packet to send [17:29:23]OFD Sender: No OFD packet to send [17:29:28]OFD Sender: No OFD packet to send [17:29:33]OFD Sender: No OFD packet to send [17:29:38]OFD Sender: No OFD packet to send [17:29:43]OFD Sender: No OFD packet to send [17:29:48]OFD Sender: No OFD packet to send [17:29:53]OFD Sender: No OFD packet to send [17:29:58]OFD Sender: No OFD packet to send [17:30:03]OFD Sender: No OFD packet to send [17:30:08]OFD Sender: No OFD packet to send [17:30:13]OFD Sender: No OFD packet to send [17:30:18]OFD Sender: No OFD packet to send [17:30:23]OFD Sender: No OFD packet to send [17:30:28]OFD Sender: No OFD packet to send [17:30:33]OFD Sender: No OFD packet to send [17:30:38]OFD Sender: No OFD packet to send [17:30:43]OFD Sender: No OFD packet to send [17:30:48]OFD Sender: No OFD packet to send [17:30:53]OFD Sender: No OFD packet to send [17:30:58]OFD Sender: No OFD packet to send [17:31:03]OFD Sender: No OFD packet to send [17:31:08]OFD Sender: No OFD packet to send [17:31:13]OFD Sender: No OFD packet to send [17:31:18]OFD Sender: No OFD packet to send [17:31:23]OFD Sender: No OFD packet to send [17:31:28]OFD Sender: No OFD packet to send [17:31:33]OFD Sender: No OFD packet to send [17:31:38]OFD Sender: No OFD packet to send [17:31:43]OFD Sender: No OFD packet to send [17:31:48]OFD Sender: No OFD packet to send [17:31:53]OFD Sender: No OFD packet to send [17:31:58]OFD Sender: No OFD packet to send [17:32:03]OFD Sender: No OFD packet to send [17:32:08]OFD Sender: No OFD packet to send [17:32:13]OFD Sender: No OFD packet to send [17:32:18]OFD Sender: No OFD packet to send [17:32:23]OFD Sender: No OFD packet to send [17:32:28]OFD Sender: No OFD packet to send [17:32:33]OFD Sender: No OFD packet to send [17:32:38]OFD Sender: No OFD packet to send [17:32:43]OFD Sender: No OFD packet to send [17:32:48]OFD Sender: No OFD packet to send [17:32:53]OFD Sender: No OFD packet to send [17:32:58]OFD Sender: No OFD packet to send [17:33:03]OFD Sender: No OFD packet to send [17:33:08]OFD Sender: No OFD packet to send [17:33:13]OFD Sender: No OFD packet to send [17:33:18]OFD Sender: No OFD packet to send [17:33:23]OFD Sender: No OFD packet to send [17:33:28]OFD Sender: No OFD packet to send [17:33:33]OFD Sender: No OFD packet to send [17:33:38]OFD Sender: No OFD packet to send [17:33:43]OFD Sender: No OFD packet to send [17:33:48]OFD Sender: No OFD packet to send [17:33:53]OFD Sender: No OFD packet to send [17:33:58]OFD Sender: No OFD packet to send [17:34:03]OFD Sender: No OFD packet to send [17:34:08]OFD Sender: No OFD packet to send [17:34:13]OFD Sender: No OFD packet to send [17:34:18]OFD Sender: No OFD packet to send [17:34:23]OFD Sender: No OFD packet to send [17:34:28]OFD Sender: No OFD packet to send [17:34:33]OFD Sender: No OFD packet to send [17:34:38]OFD Sender: No OFD packet to send [17:34:43]OFD Sender: No OFD packet to send [17:34:48]OFD Sender: No OFD packet to send [17:34:53]OFD Sender: No OFD packet to send [17:34:58]OFD Sender: No OFD packet to send [17:35:03]OFD Sender: No OFD packet to send [17:35:08]OFD Sender: No OFD packet to send [17:35:13]OFD Sender: No OFD packet to send [17:35:18]OFD Sender: No OFD packet to send [17:35:23]OFD Sender: No OFD packet to send [17:35:28]OFD Sender: No OFD packet to send [17:35:33]OFD Sender: No OFD packet to send [17:35:38]OFD Sender: No OFD packet to send [17:35:43]OFD Sender: No OFD packet to send [17:35:48]OFD Sender: No OFD packet to send [17:35:53]OFD Sender: No OFD packet to send [17:35:58]OFD Sender: No OFD packet to send [17:36:03]OFD Sender: No OFD packet to send [17:36:08]OFD Sender: No OFD packet to send [17:36:13]OFD Sender: No OFD packet to send [17:36:18]OFD Sender: No OFD packet to send [17:36:23]OFD Sender: No OFD packet to send [17:36:28]OFD Sender: No OFD packet to send [17:36:33]OFD Sender: No OFD packet to send [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]accept exits with 9 [17:37:08]New connection [17:37:08]New thread 3067321700 created [17:37:08]Thread 3067178340 joined [17:37:08]Waiting for new connection... [17:37:08] Sock 9.Parse request [17:37:08]Sock 9.Check first char [17:37:08]Sock 9.First char is OK [17:37:08]request: POST /json_proto HTTP/1.0 [17:37:08]Method: POST [17:37:08]URL: /json_proto [17:37:08]Method is POST - this is cgi request [17:37:08]url: /json_proto [17:37:08]query_string will be loaded in cgi processing [17:37:08]execute_cgi json_proto POST (null) [17:37:08]execute_cgi path=json_proto method=POST [17:37:08]POST find Content-Length [17:37:08]Host: 172.17.35.133:8080 [17:37:08]Content-Length: 884 [17:37:08]Content-Type: application/json [17:37:08] [17:37:08]POST finish read [17:37:08]Found Content-Length = 884 [17:37:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254293", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:37:08]execute_script... [17:37: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)254293", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:37:08]POST & json_proto [17:37:08]process_json_proto [17:37:08]json parsed OK: [17:37:08]protocol is kg_v1.0 [17:37:08]action value=close_receipt [17:37:08]process_action close_receipt [17:37:08]cmd_close_receipt [17:37:08]MH_GetDate [17:37:08]Write to MH i2c: F0 00 00 67 29 7F [17:37:08]Write i2c OK [17:37:08]MH_I2C_Read... [17:37:08]Read from MH i2c: F0 [17:37:08]MH_I2C_Read... [17:37:08]Read from MH i2c: F0 09 00 [17:37:08]MH_I2C_Read... [17:37:08]Read from MH i2c: F0 09 00 67 29 00 4E 2E 6B 66 8C 55 28 65 43 [17:37:08]GetLastDocTimeStamp 1718299614 [17:37:08]current date 1718300238 [17:37:08]FM_GetShiftState [17:37:08]SAM_PROTO_GetShiftState [17:37:08]wFMCommunicate request_size=4 [17:37:08]MH_SAM_APDU [17:37:08]CAPDU: 80 13 01 00 [17:37:08]Write to MH i2c: E2 08 00 68 29 80 13 01 00 00 00 00 00 0E [17:37:08]Write i2c OK [17:37:08]MH_I2C_Read... [17:37:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:37:08]Read from MH i2c: E2 [17:37:08]MH_I2C_Read... [17:37:08]Read from MH i2c: E2 0E 00 [17:37:08]MH_I2C_Read... [17:37:08]Read from MH i2c: E2 0E 00 68 29 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 2C [17:37:08]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:37:08]wFMCommunicate OK [17:37:08]SAM_PROTO_GetShiftState done [17:37:08]FM_GetShiftState done [17:37:08]opened in 1718237959 [17:37:08]opened+sec_in_day 1718324359 [17:37:08]quantity*price = 12500 [17:37:08]sum+1 = 12501 [17:37:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 263.00 НСП 1% : 2.33 НДС 12% : 27.92 Наличными: 263.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 47 13.06.2024 17:37 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22067 ФПД: 222169464017490 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T173718&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22067&fm=222169464017490&tin=02508201610067®Number=0000000000099755&sum=26300 0 [17:37:09]StoreToDocumentArchive [17:37:09]shift 324 fd 22067 [17:37:09]save to /storage/0324/doc_00022067 [17:37:09]save last doc name /storage/0324/doc_00022067 to /storage/kkm_last_doc_name [17:37:09]save OK [17:37:09]Clear old archive folders... [17:37:09]ProcessDocumentItem done err = 0, tmpTLVsize=386 [17:37:09]tlvbuf is B6F34350 [17:37:09]SAM_PROTO_ClearQueue [17:37:09]wFMCommunicate request_size=4 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 09 00 00 [17:37:09]Write to MH i2c: E2 08 00 75 29 80 09 00 00 00 00 00 00 10 [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 75 29 00 90 00 12 [17:37:09]RAPDU: 90 00 [17:37:09]wFMCommunicate OK [17:37:09]SAM_PROTO_ClearQueue done [17:37:09]KKMCreateOFDPacket [17:37:09]OFDProtocolAddRootSTLVToBuf [17:37:09]FM_MakeSignedData [17:37:09]FM_MakeSignedData [17:37:09]SAM_PROTO_SignData [17:37:09]wFMCommunicate request_size=4 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 0D 01 02 [17:37:09]Write to MH i2c: E2 08 00 76 29 80 0D 01 02 00 00 00 00 18 [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 76 29 00 90 00 13 [17:37:09]RAPDU: 90 00 [17:37:09]wFMCommunicate OK [17:37:09]wFMCommunicate request_size=255 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 0D 02 02 FA 03 00 82 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 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 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 [17:37:09]Write to MH i2c: E2 02 01 77 29 80 0D 02 02 FA 00 03 00 82 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 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 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 00 00 F8 [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 77 29 00 90 00 14 [17:37:09]RAPDU: 90 00 [17:37:09]wFMCommunicate OK [17:37:09]wFMCommunicate request_size=145 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 0D 02 02 8C 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 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 4E 2E 6B 66 0E 04 04 00 44 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 33 56 00 00 35 04 06 00 CA 0F DB FB 92 52 [17:37:09]Write to MH i2c: E2 94 00 78 29 80 0D 02 02 8C 00 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 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 4E 2E 6B 66 0E 04 04 00 44 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 33 56 00 00 35 04 06 00 CA 0F DB FB 92 52 00 00 49 [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:37:10]Read from MH i2c: E2 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: E2 03 00 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: E2 03 00 78 29 00 90 00 15 [17:37:10]RAPDU: 90 00 [17:37:10]wFMCommunicate OK [17:37:10]wFMCommunicate request_size=4 [17:37:10]MH_SAM_APDU [17:37:10]CAPDU: 80 0D 03 02 [17:37:10]Write to MH i2c: E2 08 00 79 29 80 0D 03 02 00 00 00 00 1D [17:37:10]Write i2c OK [17:37:10]MH_I2C_Read... [17:37:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:37:10]Read from MH i2c: E2 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: E2 0B 00 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: E2 0B 00 79 29 00 89 F8 29 0F D6 E8 EF 24 90 00 A8 [17:37:10]RAPDU: 89 F8 29 0F D6 E8 EF 24 90 00 [17:37:10]wFMCommunicate OK [17:37:10]SAM_PROTO_SignData done [17:37:10]FM_MakeSignedData done [17:37:10]CreateOFDProtocolMessage [17:37:10]wFMCommunicate request_size=4 [17:37:10]MH_SAM_APDU [17:37:10]CAPDU: 80 11 00 00 [17:37:10]Write to MH i2c: E2 08 00 7A 29 80 11 00 00 00 00 00 00 1D [17:37:10]Write i2c OK [17:37:10]MH_I2C_Read... [17:37:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:37:10]Read from MH i2c: E2 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: E2 17 00 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: E2 17 00 7A 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6F [17:37:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:37:10]wFMCommunicate OK [17:37:10]CreateOFDProtocolMessage done [17:37:10]OFDSenderStorePacket 22067 [17:37:10]StoreOFDPacket docnum=22067 [17:37: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 96 01 00 00 E5 1F 8E 01 C0 8F 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 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 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 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 4E 2E 6B 66 0E 04 04 00 44 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 33 56 00 00 35 04 06 00 CA 0F DB FB 92 52 89 F8 29 0F D6 E8 EF 24 [17:37:10]CheckFolder [17:37:10]dirname=/storage/ofd_packets [17:37:10]CheckFolder done [17:37:10]ProducePacketName [17:37:10]name=ofd_packets/00022067 [17:37:10]NVStorageSaveData ofd_packets/00022067 [17:37:10]File name is /storage/ofd_packets/00022067 [17:37:10]Write 436 bytes [17:37:10]NVStorageSaveData done [17:37:10]OFDSenderStorePacket done [17:37:10]KKMCreateOFDPacket done [17:37:10]NVStorageSaveData kkm_last_timestamp [17:37:10]File name is /storage/kkm_last_timestamp [17:37:10]Write 4 bytes [17:37:10]NVStorageSaveData done [17:37:10]ExternCall_PrintAddStr [17:37:10]wPrintStart [17:37:10]Write to MH i2c: 01 00 00 7B 29 A4 [17:37:10]Write i2c OK [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: 01 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: 01 07 00 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: 01 07 00 7B 29 00 00 00 00 00 FF 0F B9 [17:37:10]RasterBufferAndPrint [17:37:10]line Счет N : (3)254293 [17:37:10]line ИНН: 02508201610067 [17:37:10]line Контрольно-Кассовый Чек [17:37:10]line ПРОДАЖА [17:37:10]line Товар: 2000036220012 [17:37:10]line Кофе Капучино XL(GABB TRADE) [17:37:10]line 1.000 * 125.00 [17:37:10]line = 125.00 [17:37:10]line НДС 12% НСП 1% [17:37:10]line > о реализуемом товаре [17:37:10]line Товар: 4640030091645 [17:37:10]line Сигареты ESSE Exchange M [17:37:10]line 1.000 * 138.00 [17:37:10]line = 138.00 [17:37:10]line НДС 12% НСП 1% [17:37:10]line > о реализуемом товаре [17:37:10]line ИТОГО: 263.00 [17:37:10]line НСП 1% : 2.33 [17:37:10]line НДС 12% : 27.92 [17:37:10]line Наличными: 263.00 [17:37:10]line Безнал.: 0.00 [17:37:10]line Место: АЗС № 76 "Партнер Нефть" [17:37:10]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:37:10]line СНО: Общий режим [17:37:10]line Чек 47 13.06.2024 17:37 [17:37:10]line Смена: 324 ФФД: 1.0 [17:37:10]line ЗНМ: 0300000200 [17:37:10]line РНМ: 0000000000099755 [17:37:10]line Версия ККМ: 001 [17:37:10]line ФМ: 0000000000965344 [17:37:10]line ФД: 22067 [17:37:10]line ФПД: 222169464017490 [17:37:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T173718&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22067&fm=222169464017490&tin=02508201610067®Number=0000000000099755&sum=26300 [17:37:10]line 0 [17:37:10]OFD Sender: Processing packet 22067 [packets to send 5, broken 4] [17:37:10]ProducePacketName [17:37:10]name=ofd_packets/00022067 [17:37:10]OFD Sender: To server: pG, [17:37:10]CommunicateWithHost lk.salyk.kg:30040 [17:37:10]ConnectInit lk.salyk.kg [17:37:10]written 0, free lines is 4095 [17:37:10]Connected sock=8 [17:37: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 96 01 00 00 E5 1F 8E 01 C0 8F 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 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 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 BC 66 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 4E 2E 6B 66 0E 04 04 00 44 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 33 56 00 00 35 04 06 00 CA 0F DB FB 92 52 89 F8 29 0F D6 E8 EF 24 [17:37: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 66 18 47 00 4C 52 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 33 56 00 00 F4 03 04 00 11 D7 6A 66 B6 04 01 00 00 1D 40 53 A3 3D 12 07 D6 [17:37:10]CommunicateWithHost err = 0 [17:37:10]CheckOFDResponse [17:37:10]1017 (14) - 77093643461234 [17:37:10]1041 (16) - 0000000000965344 [17:37:10]1040 (4) - 22067 [17:37:10]1012 (4) - 13.06.2024 11:25 [17:37:10]1206 (1) - 0 [17:37:10]OFD Sender: Remove packet 22067 [17:37:10]ProducePacketName [17:37:10]name=ofd_packets/00022067 [17:37:10]NVStorageDeleteData [17:37:11]Write to MH i2c: 01 00 00 AA 29 D3 [17:37:11]Write i2c OK [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: 01 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: 01 07 00 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: 01 07 00 AA 29 00 00 00 00 00 D6 0C BC [17:37:11]RasterBufferAndPrint [17:37:11]line [17:37:11]line [17:37:11]line [17:37:11]line [17:37:11]line [17:37:11]written 0, free lines is 3295 [17:37:11]MH_Cut [17:37:11]Write to MH i2c: D1 01 00 B1 29 01 AC [17:37:11]Write i2c OK [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: D1 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: D1 01 00 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: D1 01 00 B1 29 00 AB [17:37:11]Write to MH i2c: 01 00 00 B2 29 DB [17:37:11]Write i2c OK [17:37:11]MH_I2C_Read... [17:37:11]OFD Sender: No OFD packet to send [17:37:11]*** Cut start [17:37:11]*** Partial cut [17:37:11]*** CUTSNS_PIN = 1 [17:37:11]*** CUTSNS_PIN = 0 [17:37:12]*** Brake cut motor [17:37:12]Read from MH i2c: 01 [17:37:12]MH_I2C_Read... [17:37:12]*** Stop cut motor [17:37:12]*** Cut end [17:37:12]Read from MH i2c: 01 07 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: 01 07 00 B2 29 00 00 00 00 00 FF 0F F0 [17:37:12]process_action close_receipt done [17:37:12]requested_data is exist [17:37:12]produce_requested_data [17:37:12]requested_item fm.sn is exist - process it [17:37:12]wFMCommunicate request_size=4 [17:37:12]MH_SAM_APDU [17:37:12]CAPDU: 80 11 00 00 [17:37:12]Write to MH i2c: E2 08 00 B3 29 80 11 00 00 00 00 00 00 56 [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 17 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 17 00 B3 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A8 [17:37:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:37:12]wFMCommunicate OK [17:37:12]requested_item fd.num is exist - process it [17:37:12]SAM_PROTO_GetFieldsCounters [17:37:12]wFMCommunicate request_size=4 [17:37:12]MH_SAM_APDU [17:37:12]CAPDU: 80 13 00 00 [17:37:12]Write to MH i2c: E2 08 00 B4 29 80 13 00 00 00 00 00 00 59 [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 62 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 62 00 B4 29 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 33 56 00 00 0E 04 04 00 44 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 DE [17:37: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 33 56 00 00 0E 04 04 00 44 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 [17:37:12]wFMCommunicate OK [17:37:12]SAM_PROTO_GetFieldsCounters done [17:37:12]requested_item shift.num is exist - process it [17:37:12]requested_item shift.opened is exist - process it [17:37:12]req_shift_opened [17:37:12]FM_GetShiftState [17:37:12]SAM_PROTO_GetShiftState [17:37:12]wFMCommunicate request_size=4 [17:37:12]MH_SAM_APDU [17:37:12]CAPDU: 80 13 01 00 [17:37:12]Write to MH i2c: E2 08 00 B5 29 80 13 01 00 00 00 00 00 5B [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 0E 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 0E 00 B5 29 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 79 [17:37:12]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:37:12]wFMCommunicate OK [17:37:12]SAM_PROTO_GetShiftState done [17:37:12]FM_GetShiftState done [17:37:12]req_shift_opened done [17:37:12]requested_item shift.open_date is exist - process it [17:37:12]req_shift_open_date [17:37:12]req_shift_open_date done [17:37:12]produce_requested_data done [17:37:12]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22067,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [17:37:12]process_action_free close_receipt [17:37:12]json_value_free [17:37:12]json_value_free done [17:37:12]process_json_proto returns [17:37:12]Send response to host [17:37:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22067,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [17:37:12]free response buf [17:37:12]execute_script done [17:37:12]execute_script returns [17:37:12]free content buf [17:37:12]Sock 9.Close socket [17:37:12]Sock 9.Thread stoped [17:37:16]OFD Sender: No OFD packet to send [17:37:21]OFD Sender: No OFD packet to send [17:37:26]OFD Sender: No OFD packet to send [17:37:27]accept exits with 10 [17:37:27]New connection [17:37:27]New thread 3067178340 created [17:37:27]Thread 3067321700 joined [17:37:27]Waiting for new connection... [17:37:27] Sock 10.Parse request [17:37:27]Sock 10.Check first char [17:37:27]Sock 10.First char is OK [17:37:27]request: POST /json_proto HTTP/1.0 [17:37:27]Method: POST [17:37:27]URL: /json_proto [17:37:27]Method is POST - this is cgi request [17:37:27]url: /json_proto [17:37:27]query_string will be loaded in cgi processing [17:37:27]execute_cgi json_proto POST (null) [17:37:27]execute_cgi path=json_proto method=POST [17:37:27]POST find Content-Length [17:37:27]Host: 172.17.35.133:8080 [17:37:27]Content-Length: 630 [17:37:27]Content-Type: application/json [17:37:27] [17:37:27]POST finish read [17:37:27]Found Content-Length = 630 [17:37:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254294", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:37:27]execute_script... [17:37: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)254294", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:37:27]POST & json_proto [17:37:27]process_json_proto [17:37:27]json parsed OK: [17:37:27]protocol is kg_v1.0 [17:37:27]action value=close_receipt [17:37:27]process_action close_receipt [17:37:27]cmd_close_receipt [17:37:27]MH_GetDate [17:37:27]Write to MH i2c: F0 00 00 B6 29 CE [17:37:27]Write i2c OK [17:37:27]MH_I2C_Read... [17:37:27]Read from MH i2c: F0 [17:37:27]MH_I2C_Read... [17:37:27]Read from MH i2c: F0 09 00 [17:37:27]MH_I2C_Read... [17:37:27]Read from MH i2c: F0 09 00 B6 29 00 60 2E 6B 66 8C 55 28 65 A4 [17:37:27]GetLastDocTimeStamp 1718300238 [17:37:27]current date 1718300256 [17:37:27]FM_GetShiftState [17:37:27]SAM_PROTO_GetShiftState [17:37:27]wFMCommunicate request_size=4 [17:37:27]MH_SAM_APDU [17:37:27]CAPDU: 80 13 01 00 [17:37:27]Write to MH i2c: E2 08 00 B7 29 80 13 01 00 00 00 00 00 5D [17:37:27]Write i2c OK [17:37:27]MH_I2C_Read... [17:37:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:37:27]Read from MH i2c: E2 [17:37:27]MH_I2C_Read... [17:37:27]Read from MH i2c: E2 0E 00 [17:37:27]MH_I2C_Read... [17:37:27]Read from MH i2c: E2 0E 00 B7 29 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 7B [17:37:27]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:37:27]wFMCommunicate OK [17:37:27]SAM_PROTO_GetShiftState done [17:37:27]FM_GetShiftState done [17:37:27]opened in 1718237959 [17:37:27]opened+sec_in_day 1718324359 [17:37:27]quantity*price = 5000 [17:37:27]sum+1 = 5001 [17:37:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 48 13.06.2024 17:37 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22068 ФПД: 119806279882884 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T173736&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22068&fm=119806279882884&tin=02508201610067®Number=0000000000099755&sum=5000 0 [17:37:28]StoreToDocumentArchive [17:37:28]shift 324 fd 22068 [17:37:28]save to /storage/0324/doc_00022068 [17:37:28]save last doc name /storage/0324/doc_00022068 to /storage/kkm_last_doc_name [17:37:28]save OK [17:37:28]Clear old archive folders... [17:37:28]ProcessDocumentItem done err = 0, tmpTLVsize=269 [17:37:28]tlvbuf is 00335020 [17:37:28]SAM_PROTO_ClearQueue [17:37:28]wFMCommunicate request_size=4 [17:37:28]MH_SAM_APDU [17:37:28]CAPDU: 80 09 00 00 [17:37:28]Write to MH i2c: E2 08 00 C4 29 80 09 00 00 00 00 00 00 5F [17:37:28]Write i2c OK [17:37:28]MH_I2C_Read... [17:37:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:37:28]Read from MH i2c: E2 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 03 00 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 03 00 C4 29 00 90 00 61 [17:37:28]RAPDU: 90 00 [17:37:28]wFMCommunicate OK [17:37:28]SAM_PROTO_ClearQueue done [17:37:28]KKMCreateOFDPacket [17:37:28]OFDProtocolAddRootSTLVToBuf [17:37:28]FM_MakeSignedData [17:37:28]FM_MakeSignedData [17:37:28]SAM_PROTO_SignData [17:37:28]wFMCommunicate request_size=4 [17:37:28]MH_SAM_APDU [17:37:28]CAPDU: 80 0D 01 02 [17:37:28]Write to MH i2c: E2 08 00 C5 29 80 0D 01 02 00 00 00 00 67 [17:37:28]Write i2c OK [17:37:28]MH_I2C_Read... [17:37:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:37:28]Read from MH i2c: E2 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 03 00 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 03 00 C5 29 00 90 00 62 [17:37:28]RAPDU: 90 00 [17:37:28]wFMCommunicate OK [17:37:28]wFMCommunicate request_size=255 [17:37:28]MH_SAM_APDU [17:37:28]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 33 35 38 06 04 1B 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 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 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 60 2E 6B 66 0E 04 04 00 44 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 [17:37:28]Write to MH i2c: E2 02 01 C6 29 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 33 35 38 06 04 1B 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 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 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 60 2E 6B 66 0E 04 04 00 44 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 5D [17:37:28]Write i2c OK [17:37:28]MH_I2C_Read... [17:37:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:37:28]Read from MH i2c: E2 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 03 00 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 03 00 C6 29 00 90 00 63 [17:37:28]RAPDU: 90 00 [17:37:28]wFMCommunicate OK [17:37:28]wFMCommunicate request_size=28 [17:37:28]MH_SAM_APDU [17:37:28]CAPDU: 80 0D 02 02 17 36 35 33 34 34 10 04 04 00 34 56 00 00 35 04 06 00 6C F6 92 C1 18 84 [17:37:28]Write to MH i2c: E2 1F 00 C7 29 80 0D 02 02 17 00 36 35 33 34 34 10 04 04 00 34 56 00 00 35 04 06 00 6C F6 92 C1 18 84 00 00 D0 [17:37:28]Write i2c OK [17:37:28]MH_I2C_Read... [17:37:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:37:28]Read from MH i2c: E2 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 03 00 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 03 00 C7 29 00 90 00 64 [17:37:28]RAPDU: 90 00 [17:37:28]wFMCommunicate OK [17:37:28]wFMCommunicate request_size=4 [17:37:28]MH_SAM_APDU [17:37:28]CAPDU: 80 0D 03 02 [17:37:28]Write to MH i2c: E2 08 00 C8 29 80 0D 03 02 00 00 00 00 6C [17:37:28]Write i2c OK [17:37:28]MH_I2C_Read... [17:37:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:37:28]Read from MH i2c: E2 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 0B 00 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 0B 00 C8 29 00 47 63 8C 3F ED 4D 2A 03 90 00 49 [17:37:28]RAPDU: 47 63 8C 3F ED 4D 2A 03 90 00 [17:37:28]wFMCommunicate OK [17:37:28]SAM_PROTO_SignData done [17:37:28]FM_MakeSignedData done [17:37:28]CreateOFDProtocolMessage [17:37:28]wFMCommunicate request_size=4 [17:37:28]MH_SAM_APDU [17:37:28]CAPDU: 80 11 00 00 [17:37:28]Write to MH i2c: E2 08 00 C9 29 80 11 00 00 00 00 00 00 6C [17:37:28]Write i2c OK [17:37:28]MH_I2C_Read... [17:37:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:37:28]Read from MH i2c: E2 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 17 00 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: E2 17 00 C9 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 BE [17:37:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:37:28]wFMCommunicate OK [17:37:28]CreateOFDProtocolMessage done [17:37:28]OFDSenderStorePacket 22068 [17:37:28]StoreOFDPacket docnum=22068 [17:37: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 21 01 00 00 6B 57 19 01 9A 33 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 33 35 38 06 04 1B 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 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 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 60 2E 6B 66 0E 04 04 00 44 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 34 56 00 00 35 04 06 00 6C F6 92 C1 18 84 47 63 8C 3F ED 4D 2A 03 [17:37:28]CheckFolder [17:37:28]dirname=/storage/ofd_packets [17:37:28]CheckFolder done [17:37:28]ProducePacketName [17:37:28]name=ofd_packets/00022068 [17:37:28]NVStorageSaveData ofd_packets/00022068 [17:37:28]File name is /storage/ofd_packets/00022068 [17:37:28]Write 319 bytes [17:37:28]NVStorageSaveData done [17:37:28]OFDSenderStorePacket done [17:37:28]KKMCreateOFDPacket done [17:37:28]NVStorageSaveData kkm_last_timestamp [17:37:28]File name is /storage/kkm_last_timestamp [17:37:28]Write 4 bytes [17:37:28]NVStorageSaveData done [17:37:28]ExternCall_PrintAddStr [17:37:28]wPrintStart [17:37:28]Write to MH i2c: 01 00 00 CA 29 F3 [17:37:28]Write i2c OK [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: 01 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: 01 07 00 [17:37:28]MH_I2C_Read... [17:37:28]Read from MH i2c: 01 07 00 CA 29 00 00 00 00 00 FF 0F 08 [17:37:28]RasterBufferAndPrint [17:37:28]line Счет N : (3)254294 [17:37:28]line ИНН: 02508201610067 [17:37:28]line Контрольно-Кассовый Чек [17:37:28]line ПРОДАЖА [17:37:28]line Товар: 4700000160358 [17:37:28]line Вода Легенда 1л [17:37:28]line 1.000 * 50.00 [17:37:28]line = 50.00 [17:37:28]line НДС 12% НСП 1% [17:37:28]line > о реализуемом товаре [17:37:28]line ИТОГО: 50.00 [17:37:28]line НСП 1% : 0.44 [17:37:28]line НДС 12% : 5.31 [17:37:28]line Наличными: 50.00 [17:37:28]line Безнал.: 0.00 [17:37:28]line Место: АЗС № 76 "Партнер Нефть" [17:37:28]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:37:28]line СНО: Общий режим [17:37:28]line Чек 48 13.06.2024 17:37 [17:37:28]line Смена: 324 ФФД: 1.0 [17:37:28]line ЗНМ: 0300000200 [17:37:28]line РНМ: 0000000000099755 [17:37:28]line Версия ККМ: 001 [17:37:28]line ФМ: 0000000000965344 [17:37:28]line ФД: 22068 [17:37:28]line ФПД: 119806279882884 [17:37:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T173736&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22068&fm=119806279882884&tin=02508201610067®Number=0000000000099755&sum=5000 [17:37:28]line 0 [17:37:28]written 0, free lines is 4095 [17:37:28]OFD Sender: Processing packet 22068 [packets to send 5, broken 4] [17:37:28]ProducePacketName [17:37:28]name=ofd_packets/00022068 [17:37:28]OFD Sender: To server: pG, [17:37:28]CommunicateWithHost lk.salyk.kg:30040 [17:37:28]ConnectInit lk.salyk.kg [17:37:28]Connected sock=9 [17:37: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 21 01 00 00 6B 57 19 01 9A 33 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 33 35 38 06 04 1B 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 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 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 60 2E 6B 66 0E 04 04 00 44 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 34 56 00 00 35 04 06 00 6C F6 92 C1 18 84 47 63 8C 3F ED 4D 2A 03 [17:37: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 6F B1 47 00 7D E0 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 34 56 00 00 F4 03 04 00 23 D7 6A 66 B6 04 01 00 00 BD AC 14 D4 70 F4 CD DB [17:37:29]CommunicateWithHost err = 0 [17:37:29]CheckOFDResponse [17:37:29]1017 (14) - 77093643461234 [17:37:29]1041 (16) - 0000000000965344 [17:37:29]1040 (4) - 22068 [17:37:29]1012 (4) - 13.06.2024 11:25 [17:37:29]1206 (1) - 0 [17:37:29]OFD Sender: Remove packet 22068 [17:37:29]ProducePacketName [17:37:29]name=ofd_packets/00022068 [17:37:29]NVStorageDeleteData [17:37:29]Write to MH i2c: 01 00 00 F2 29 1B [17:37:29]Write i2c OK [17:37:29]MH_I2C_Read... [17:37:29]Read from MH i2c: 01 [17:37:29]MH_I2C_Read... [17:37:29]Read from MH i2c: 01 07 00 [17:37:29]MH_I2C_Read... [17:37:29]Read from MH i2c: 01 07 00 F2 29 00 00 00 00 00 19 0D 48 [17:37:29]RasterBufferAndPrint [17:37:29]line [17:37:29]line [17:37:29]line [17:37:29]line [17:37:29]line [17:37:29]written 0, free lines is 3362 [17:37:29]MH_Cut [17:37:29]Write to MH i2c: D1 01 00 F9 29 01 F4 [17:37:29]Write i2c OK [17:37:29]MH_I2C_Read... [17:37:29]Read from MH i2c: D1 [17:37:29]MH_I2C_Read... [17:37:29]Read from MH i2c: D1 01 00 [17:37:29]MH_I2C_Read... [17:37:29]Read from MH i2c: D1 01 00 F9 29 00 F3 [17:37:29]Write to MH i2c: 01 00 00 FA 29 23 [17:37:29]Write i2c OK [17:37:29]MH_I2C_Read... [17:37:29]OFD Sender: No OFD packet to send [17:37:29]*** Cut start [17:37:29]*** Partial cut [17:37:29]*** CUTSNS_PIN = 1 [17:37:29]*** CUTSNS_PIN = 0 [17:37:30]*** Brake cut motor [17:37:30]Read from MH i2c: 01 [17:37:30]*** Stop cut motor [17:37:30]*** Cut end [17:37:30]MH_I2C_Read... [17:37:30]Read from MH i2c: 01 07 00 [17:37:30]MH_I2C_Read... [17:37:30]Read from MH i2c: 01 07 00 FA 29 00 00 00 00 00 FF 0F 38 [17:37:30]process_action close_receipt done [17:37:30]requested_data is exist [17:37:30]produce_requested_data [17:37:30]requested_item fm.sn is exist - process it [17:37:30]wFMCommunicate request_size=4 [17:37:30]MH_SAM_APDU [17:37:30]CAPDU: 80 11 00 00 [17:37:30]Write to MH i2c: E2 08 00 FB 29 80 11 00 00 00 00 00 00 9E [17:37:30]Write i2c OK [17:37:30]MH_I2C_Read... [17:37:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:37:30]Read from MH i2c: E2 [17:37:30]MH_I2C_Read... [17:37:30]Read from MH i2c: E2 17 00 [17:37:30]MH_I2C_Read... [17:37:30]Read from MH i2c: E2 17 00 FB 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F0 [17:37:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:37:30]wFMCommunicate OK [17:37:30]requested_item fd.num is exist - process it [17:37:30]SAM_PROTO_GetFieldsCounters [17:37:30]wFMCommunicate request_size=4 [17:37:30]MH_SAM_APDU [17:37:30]CAPDU: 80 13 00 00 [17:37:30]Write to MH i2c: E2 08 00 FC 29 80 13 00 00 00 00 00 00 A1 [17:37:30]Write i2c OK [17:37:30]MH_I2C_Read... [17:37:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:37:30]Read from MH i2c: E2 [17:37:30]MH_I2C_Read... [17:37:30]Read from MH i2c: E2 62 00 [17:37:30]MH_I2C_Read... [17:37:30]Read from MH i2c: E2 62 00 FC 29 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 34 56 00 00 0E 04 04 00 44 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 2A [17:37: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 34 56 00 00 0E 04 04 00 44 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 [17:37:30]wFMCommunicate OK [17:37:30]SAM_PROTO_GetFieldsCounters done [17:37:30]requested_item shift.num is exist - process it [17:37:30]requested_item shift.opened is exist - process it [17:37:30]req_shift_opened [17:37:30]FM_GetShiftState [17:37:30]SAM_PROTO_GetShiftState [17:37:30]wFMCommunicate request_size=4 [17:37:30]MH_SAM_APDU [17:37:30]CAPDU: 80 13 01 00 [17:37:30]Write to MH i2c: E2 08 00 FD 29 80 13 01 00 00 00 00 00 A3 [17:37:30]Write i2c OK [17:37:30]MH_I2C_Read... [17:37:30]Read from MH i2c: E2 [17:37:30]MH_I2C_Read... [17:37:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:37:30]Read from MH i2c: E2 0E 00 [17:37:30]MH_I2C_Read... [17:37:30]Read from MH i2c: E2 0E 00 FD 29 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 C1 [17:37:30]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [17:37:30]wFMCommunicate OK [17:37:30]SAM_PROTO_GetShiftState done [17:37:30]FM_GetShiftState done [17:37:30]req_shift_opened done [17:37:30]requested_item shift.open_date is exist - process it [17:37:30]req_shift_open_date [17:37:30]req_shift_open_date done [17:37:30]produce_requested_data done [17:37:30]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22068,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [17:37:30]process_action_free close_receipt [17:37:30]json_value_free [17:37:30]json_value_free done [17:37:30]process_json_proto returns [17:37:30]Send response to host [17:37:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22068,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [17:37:30]free response buf [17:37:30]execute_script done [17:37:30]execute_script returns [17:37:30]free content buf [17:37:30]Sock 10.Close socket [17:37:30]Sock 10.Thread stoped [17:37:34]OFD Sender: No OFD packet to send [17:37:39]OFD Sender: No OFD packet to send [17:37:44]OFD Sender: No OFD packet to send [17:37:49]OFD Sender: No OFD packet to send [17:37:54]OFD Sender: No OFD packet to send [17:37:59]OFD Sender: No OFD packet to send [17:38:04]OFD Sender: No OFD packet to send [17:38:09]OFD Sender: No OFD packet to send [17:38:14]OFD Sender: No OFD packet to send [17:38:19]OFD Sender: No OFD packet to send [17:38:24]OFD Sender: No OFD packet to send [17:38:29]OFD Sender: No OFD packet to send [17:38:34]OFD Sender: No OFD packet to send [17:38:39]OFD Sender: No OFD packet to send [17:38:44]OFD Sender: No OFD packet to send [17:38:49]OFD Sender: No OFD packet to send [17:38:54]OFD Sender: No OFD packet to send [17:38:59]OFD Sender: No OFD packet to send [17:39:04]OFD Sender: No OFD packet to send [17:39:09]OFD Sender: No OFD packet to send [17:39:14]OFD Sender: No OFD packet to send [17:39:19]OFD Sender: No OFD packet to send [17:39:24]OFD Sender: No OFD packet to send [17:39:29]OFD Sender: No OFD packet to send [17:39:34]OFD Sender: No OFD packet to send [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:45]OFD Sender: No OFD packet to send [17:44:50]OFD Sender: No OFD packet to send [17:44:55]OFD Sender: No OFD packet to send [17:45:00]OFD Sender: No OFD packet to send [17:45:05]OFD Sender: No OFD packet to send [17:45:10]OFD Sender: No OFD packet to send [17:45:15]OFD Sender: No OFD packet to send [17:45:20]OFD Sender: No OFD packet to send [17:45:25]OFD Sender: No OFD packet to send [17:45:30]OFD Sender: No OFD packet to send [17:45:35]OFD Sender: No OFD packet to send [17:45:40]OFD Sender: No OFD packet to send [17:45:45]OFD Sender: No OFD packet to send [17:45:50]OFD Sender: No OFD packet to send [17:45:55]OFD Sender: No OFD packet to send [17:46:00]OFD Sender: No OFD packet to send [17:46:05]OFD Sender: No OFD packet to send [17:46:10]OFD Sender: No OFD packet to send [17:46:15]OFD Sender: No OFD packet to send [17:46:20]OFD Sender: No OFD packet to send [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:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:05]OFD Sender: No OFD packet to send [17:50:10]OFD Sender: No OFD packet to send [17:50:15]OFD Sender: No OFD packet to send [17:50:20]OFD Sender: No OFD packet to send [17:50:25]OFD Sender: No OFD packet to send [17:50:30]OFD Sender: No OFD packet to send [17:50:35]OFD Sender: No OFD packet to send [17:50:40]OFD Sender: No OFD packet to send [17:50:45]OFD Sender: No OFD packet to send [17:50:50]OFD Sender: No OFD packet to send [17:50:55]OFD Sender: No OFD packet to send [17:51:00]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:45]OFD Sender: No OFD packet to send [17:52:50]OFD Sender: No OFD packet to send [17:52:55]OFD Sender: No OFD packet to send [17:53:00]OFD Sender: No OFD packet to send [17:53:05]OFD Sender: No OFD packet to send [17:53:10]OFD Sender: No OFD packet to send [17:53:15]OFD Sender: No OFD packet to send [17:53:20]OFD Sender: No OFD packet to send [17:53:25]OFD Sender: No OFD packet to send [17:53:30]OFD Sender: No OFD packet to send [17:53:35]OFD Sender: No OFD packet to send [17:53:40]OFD Sender: No OFD packet to send [17:53:45]OFD Sender: No OFD packet to send [17:53:50]OFD Sender: No OFD packet to send [17:53:55]OFD Sender: No OFD packet to send [17:54:00]OFD Sender: No OFD packet to send [17:54:05]OFD Sender: No OFD packet to send [17:54:10]OFD Sender: No OFD packet to send [17:54:15]OFD Sender: No OFD packet to send [17:54:20]OFD Sender: No OFD packet to send [17:54:25]OFD Sender: No OFD packet to send [17:54:30]OFD Sender: No OFD packet to send [17:54:35]OFD Sender: No OFD packet to send [17:54:40]OFD Sender: No OFD packet to send [17:54:45]OFD Sender: No OFD packet to send [17:54:50]OFD Sender: No OFD packet to send [17:54:55]OFD Sender: No OFD packet to send [17:55:00]OFD Sender: No OFD packet to send [17:55:05]OFD Sender: No OFD packet to send [17:55:10]OFD Sender: No OFD packet to send [17:55:15]OFD Sender: No OFD packet to send [17:55:20]OFD Sender: No OFD packet to send [17:55:25]OFD Sender: No OFD packet to send [17:55:30]OFD Sender: No OFD packet to send [17:55:35]OFD Sender: No OFD packet to send [17:55:40]OFD Sender: No OFD packet to send [17:55:45]OFD Sender: No OFD packet to send [17:55:50]OFD Sender: No OFD packet to send [17:55:55]OFD Sender: No OFD packet to send [17:56:00]OFD Sender: No OFD packet to send [17:56:05]OFD Sender: No OFD packet to send [17:56:10]OFD Sender: No OFD packet to send [17:56:15]OFD Sender: No OFD packet to send [17:56:20]OFD Sender: No OFD packet to send [17:56:25]OFD Sender: No OFD packet to send [17:56:30]OFD Sender: No OFD packet to send [17:56:35]OFD Sender: No OFD packet to send [17:56:40]OFD Sender: No OFD packet to send [17:56:45]OFD Sender: No OFD packet to send [17:56:50]OFD Sender: No OFD packet to send [17:56:55]OFD Sender: No OFD packet to send [17:57:00]OFD Sender: No OFD packet to send [17:57:05]OFD Sender: No OFD packet to send [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:35]OFD Sender: No OFD packet to send [17:57:40]OFD Sender: No OFD packet to send [17:57:45]OFD Sender: No OFD packet to send [17:57:50]OFD Sender: No OFD packet to send [17:57:55]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:59:00]OFD Sender: No OFD packet to send [17:59:05]OFD Sender: No OFD packet to send [17:59:10]OFD Sender: No OFD packet to send [17:59:15]OFD Sender: No OFD packet to send [17:59:20]OFD Sender: No OFD packet to send [17:59:25]OFD Sender: No OFD packet to send [17:59:30]OFD Sender: No OFD packet to send [17:59:35]OFD Sender: No OFD packet to send [17:59:40]OFD Sender: No OFD packet to send [17:59:45]OFD Sender: No OFD packet to send [17:59:50]OFD Sender: No OFD packet to send [17:59:55]OFD Sender: No OFD packet to send [18:00:00]OFD Sender: No OFD packet to send [18:00:05]OFD Sender: No OFD packet to send [18:00:10]OFD Sender: No OFD packet to send [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:29]accept exits with 8 [18:05:29]New connection [18:05:29]New thread 3067321700 created [18:05:29]Thread 3067178340 joined [18:05:29]Waiting for new connection... [18:05:29] Sock 8.Parse request [18:05:29]Sock 8.Check first char [18:05:29]Sock 8.First char is OK [18:05:29]request: POST /json_proto HTTP/1.0 [18:05:29]Method: POST [18:05:29]URL: /json_proto [18:05:29]Method is POST - this is cgi request [18:05:29]url: /json_proto [18:05:29]query_string will be loaded in cgi processing [18:05:29]execute_cgi json_proto POST (null) [18:05:29]execute_cgi path=json_proto method=POST [18:05:29]POST find Content-Length [18:05:29]Host: 172.17.35.133:8080 [18:05:29]Content-Length: 912 [18:05:29]Content-Type: application/json [18:05:29] [18:05:29]POST finish read [18:05:29]Found Content-Length = 912 [18:05:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254295", "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": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 183.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:05:29]execute_script... [18: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)254295", "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": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 183.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:05:29]POST & json_proto [18:05:29]process_json_proto [18:05:29]json parsed OK: [18:05:29]protocol is kg_v1.0 [18:05:29]action value=close_receipt [18:05:29]process_action close_receipt [18:05:29]cmd_close_receipt [18:05:29]MH_GetDate [18:05:29]Write to MH i2c: F0 00 00 FE 29 16 [18:05:29]Write i2c OK [18:05:29]MH_I2C_Read... [18:05:29]Read from MH i2c: F0 [18:05:29]MH_I2C_Read... [18:05:29]Read from MH i2c: F0 09 00 [18:05:29]MH_I2C_Read... [18:05:29]Read from MH i2c: F0 09 00 FE 29 00 F3 34 6B 66 8C 55 28 65 85 [18:05:29]GetLastDocTimeStamp 1718300256 [18:05:29]current date 1718301939 [18:05:29]FM_GetShiftState [18:05:29]SAM_PROTO_GetShiftState [18:05:29]wFMCommunicate request_size=4 [18:05:29]MH_SAM_APDU [18:05:29]CAPDU: 80 13 01 00 [18:05:29]Write to MH i2c: E2 08 00 FF 29 80 13 01 00 00 00 00 00 A5 [18:05:29]Write i2c OK [18:05:29]MH_I2C_Read... [18:05:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:05:29]Read from MH i2c: E2 [18:05:29]MH_I2C_Read... [18:05:29]Read from MH i2c: E2 0E 00 [18:05:29]MH_I2C_Read... [18:05:29]Read from MH i2c: E2 0E 00 FF 29 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 C3 [18:05:29]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:05:29]wFMCommunicate OK [18:05:29]SAM_PROTO_GetShiftState done [18:05:29]FM_GetShiftState done [18:05:29]opened in 1718237959 [18:05:29]opened+sec_in_day 1718324359 [18:05:29]quantity*price = 11300 [18:05:29]sum+1 = 11301 [18:05:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400358 Семечки ДЖИНН 70г 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 183.00 НСП 1% : 1.62 НДС 12% : 19.43 Наличными: 183.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 49 13.06.2024 18:05 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22069 ФПД: 198652705219109 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T180539&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22069&fm=198652705219109&tin=02508201610067®Number=0000000000099755&sum=18300 0 [18:05:30]StoreToDocumentArchive [18:05:30]shift 324 fd 22069 [18:05:30]save to /storage/0324/doc_00022069 [18:05:30]save last doc name /storage/0324/doc_00022069 to /storage/kkm_last_doc_name [18:05:30]save OK [18:05:30]Clear old archive folders... [18:05:30]ProcessDocumentItem done err = 0, tmpTLVsize=380 [18:05:30]tlvbuf is 00250370 [18:05:30]SAM_PROTO_ClearQueue [18:05:30]wFMCommunicate request_size=4 [18:05:30]MH_SAM_APDU [18:05:30]CAPDU: 80 09 00 00 [18:05:30]Write to MH i2c: E2 08 00 0C 2A 80 09 00 00 00 00 00 00 A8 [18:05:30]Write i2c OK [18:05:30]MH_I2C_Read... [18:05:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:05:30]Read from MH i2c: E2 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 03 00 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 03 00 0C 2A 00 90 00 AA [18:05:30]RAPDU: 90 00 [18:05:30]wFMCommunicate OK [18:05:30]SAM_PROTO_ClearQueue done [18:05:30]KKMCreateOFDPacket [18:05:30]OFDProtocolAddRootSTLVToBuf [18:05:30]FM_MakeSignedData [18:05:30]FM_MakeSignedData [18:05:30]SAM_PROTO_SignData [18:05:30]wFMCommunicate request_size=4 [18:05:30]MH_SAM_APDU [18:05:30]CAPDU: 80 0D 01 02 [18:05:30]Write to MH i2c: E2 08 00 0D 2A 80 0D 01 02 00 00 00 00 B0 [18:05:30]Write i2c OK [18:05:30]MH_I2C_Read... [18:05:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:05:30]Read from MH i2c: E2 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 03 00 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 03 00 0D 2A 00 90 00 AB [18:05:30]RAPDU: 90 00 [18:05:30]wFMCommunicate OK [18:05:30]wFMCommunicate request_size=255 [18:05:30]MH_SAM_APDU [18:05:30]CAPDU: 80 0D 02 02 FA 03 00 7C 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 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 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 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 7C 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 [18:05:30]Write to MH i2c: E2 02 01 0E 2A 80 0D 02 02 FA 00 03 00 7C 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 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 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 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 7C 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 79 [18:05:30]Write i2c OK [18:05:30]MH_I2C_Read... [18:05:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:05:30]Read from MH i2c: E2 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 03 00 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 03 00 0E 2A 00 90 00 AC [18:05:30]RAPDU: 90 00 [18:05:30]wFMCommunicate OK [18:05:30]wFMCommunicate request_size=139 [18:05:30]MH_SAM_APDU [18:05:30]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 07 00 00 00 00 07 04 06 00 7C 47 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 F3 34 6B 66 0E 04 04 00 44 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 35 56 00 00 35 04 06 00 B4 AC 6F ED A2 25 [18:05:30]Write to MH i2c: E2 8E 00 0F 2A 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 07 00 00 00 00 07 04 06 00 7C 47 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 F3 34 6B 66 0E 04 04 00 44 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 35 56 00 00 35 04 06 00 B4 AC 6F ED A2 25 00 00 D2 [18:05:30]Write i2c OK [18:05:30]MH_I2C_Read... [18:05:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:05:30]Read from MH i2c: E2 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 03 00 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 03 00 0F 2A 00 90 00 AD [18:05:30]RAPDU: 90 00 [18:05:30]wFMCommunicate OK [18:05:30]wFMCommunicate request_size=4 [18:05:30]MH_SAM_APDU [18:05:30]CAPDU: 80 0D 03 02 [18:05:30]Write to MH i2c: E2 08 00 10 2A 80 0D 03 02 00 00 00 00 B5 [18:05:30]Write i2c OK [18:05:30]MH_I2C_Read... [18:05:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:05:30]Read from MH i2c: E2 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 0B 00 [18:05:30]MH_I2C_Read... [18:05:30]Read from MH i2c: E2 0B 00 10 2A 00 BE 3A FC 41 B7 09 F4 BD 90 00 5C [18:05:30]RAPDU: BE 3A FC 41 B7 09 F4 BD 90 00 [18:05:30]wFMCommunicate OK [18:05:30]SAM_PROTO_SignData done [18:05:30]FM_MakeSignedData done [18:05:30]CreateOFDProtocolMessage [18:05:30]wFMCommunicate request_size=4 [18:05:30]MH_SAM_APDU [18:05:30]CAPDU: 80 11 00 00 [18:05:30]Write to MH i2c: E2 08 00 11 2A 80 11 00 00 00 00 00 00 B5 [18:05:30]Write i2c OK [18:05:30]MH_I2C_Read... [18:05:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:05:31]Read from MH i2c: E2 [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: E2 17 00 [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: E2 17 00 11 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 07 [18: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 [18:05:31]wFMCommunicate OK [18:05:31]CreateOFDProtocolMessage done [18:05:31]OFDSenderStorePacket 22069 [18:05:31]StoreOFDPacket docnum=22069 [18: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 90 01 00 00 AD 9D 88 01 D7 7A 5A 03 01 00 03 00 7C 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 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 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 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 7C 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 07 00 00 00 00 07 04 06 00 7C 47 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 F3 34 6B 66 0E 04 04 00 44 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 35 56 00 00 35 04 06 00 B4 AC 6F ED A2 25 BE 3A FC 41 B7 09 F4 BD [18:05:31]CheckFolder [18:05:31]dirname=/storage/ofd_packets [18:05:31]CheckFolder done [18:05:31]ProducePacketName [18:05:31]name=ofd_packets/00022069 [18:05:31]NVStorageSaveData ofd_packets/00022069 [18:05:31]File name is /storage/ofd_packets/00022069 [18:05:31]Write 430 bytes [18:05:31]NVStorageSaveData done [18:05:31]OFDSenderStorePacket done [18:05:31]KKMCreateOFDPacket done [18:05:31]NVStorageSaveData kkm_last_timestamp [18:05:31]File name is /storage/kkm_last_timestamp [18:05:31]Write 4 bytes [18:05:31]NVStorageSaveData done [18:05:31]ExternCall_PrintAddStr [18:05:31]wPrintStart [18:05:31]Write to MH i2c: 01 00 00 12 2A 3C [18:05:31]Write i2c OK [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: 01 [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: 01 07 00 [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: 01 07 00 12 2A 00 00 00 00 00 FF 0F 51 [18:05:31]RasterBufferAndPrint [18:05:31]line Счет N : (3)254295 [18:05:31]line ИНН: 02508201610067 [18:05:31]line Контрольно-Кассовый Чек [18:05:31]line ПРОДАЖА [18:05:31]line Товар: 5449000054227 [18:05:31]line Напиток Кока-Кола 1л [18:05:31]line 1.000 * 113.00 [18:05:31]line = 113.00 [18:05:31]line НДС 12% НСП 1% [18:05:31]line > о реализуемом товаре [18:05:31]line Товар: 4630007400358 [18:05:31]line Семечки ДЖИНН 70г [18:05:31]line 1.000 * 70.00 [18:05:31]line = 70.00 [18:05:31]line НДС 12% НСП 1% [18:05:31]line > о реализуемом товаре [18:05:31]line ИТОГО: 183.00 [18:05:31]line НСП 1% : 1.62 [18:05:31]line НДС 12% : 19.43 [18:05:31]line Наличными: 183.00 [18:05:31]line Безнал.: 0.00 [18:05:31]line Место: АЗС № 76 "Партнер Нефть" [18:05:31]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:05:31]line СНО: Общий режим [18:05:31]line Чек 49 13.06.2024 18:05 [18:05:31]line Смена: 324 ФФД: 1.0 [18:05:31]line ЗНМ: 0300000200 [18:05:31]line РНМ: 0000000000099755 [18:05:31]line Версия ККМ: 001 [18:05:31]line ФМ: 0000000000965344 [18:05:31]line ФД: 22069 [18:05:31]line ФПД: 198652705219109 [18:05:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T180539&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22069&fm=198652705219109&tin=02508201610067®Number=0000000000099755&sum=18300 [18:05:31]OFD Sender: Processing packet 22069 [packets to send 5, broken 4] [18:05:31]ProducePacketName [18:05:31]name=ofd_packets/00022069 [18:05:31]OFD Sender: To server: pG, [18:05:31]CommunicateWithHost lk.salyk.kg:30040 [18:05:31]ConnectInit lk.salyk.kg [18:05:31]line 0 [18:05:31]written 0, free lines is 4095 [18:05:31]Connected sock=10 [18: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 90 01 00 00 AD 9D 88 01 D7 7A 5A 03 01 00 03 00 7C 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 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 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 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 7C 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 07 00 00 00 00 07 04 06 00 7C 47 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 F3 34 6B 66 0E 04 04 00 44 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 35 56 00 00 35 04 06 00 B4 AC 6F ED A2 25 BE 3A FC 41 B7 09 F4 BD [18:05: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 37 80 47 00 9C 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 35 56 00 00 F4 03 04 00 B5 DD 6A 66 B6 04 01 00 00 A0 70 01 9F 37 E3 35 E9 [18:05:31]CommunicateWithHost err = 0 [18:05:31]CheckOFDResponse [18:05:31]1017 (14) - 77093643461234 [18:05:31]1041 (16) - 0000000000965344 [18:05:31]1040 (4) - 22069 [18:05:31]1012 (4) - 13.06.2024 11:53 [18:05:31]1206 (1) - 0 [18:05:31]OFD Sender: Remove packet 22069 [18:05:31]ProducePacketName [18:05:31]name=ofd_packets/00022069 [18:05:31]NVStorageDeleteData [18:05:31]Write to MH i2c: 01 00 00 40 2A 6A [18:05:31]Write i2c OK [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: 01 [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: 01 07 00 [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: 01 07 00 40 2A 00 00 00 00 00 D2 0C 4F [18:05:31]RasterBufferAndPrint [18:05:31]line [18:05:31]line [18:05:31]line [18:05:31]line [18:05:31]line [18:05:31]written 0, free lines is 3288 [18:05:31]MH_Cut [18:05:31]Write to MH i2c: D1 01 00 47 2A 01 43 [18:05:31]Write i2c OK [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: D1 [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: D1 01 00 [18:05:31]MH_I2C_Read... [18:05:31]Read from MH i2c: D1 01 00 47 2A 00 42 [18:05:31]Write to MH i2c: 01 00 00 48 2A 72 [18:05:31]Write i2c OK [18:05:31]MH_I2C_Read... [18:05:32]OFD Sender: No OFD packet to send [18:05:32]*** Cut start [18:05:32]*** Partial cut [18:05:32]*** CUTSNS_PIN = 1 [18:05:32]*** CUTSNS_PIN = 0 [18:05:32]*** Brake cut motor [18:05:33]Read from MH i2c: 01 [18:05:33]MH_I2C_Read... [18:05:33]*** Stop cut motor [18:05:33]*** Cut end [18:05:33]Read from MH i2c: 01 07 00 [18:05:33]MH_I2C_Read... [18:05:33]Read from MH i2c: 01 07 00 48 2A 00 00 00 00 00 FF 0F 87 [18:05:33]process_action close_receipt done [18:05:33]requested_data is exist [18:05:33]produce_requested_data [18:05:33]requested_item fm.sn is exist - process it [18:05:33]wFMCommunicate request_size=4 [18:05:33]MH_SAM_APDU [18:05:33]CAPDU: 80 11 00 00 [18:05:33]Write to MH i2c: E2 08 00 49 2A 80 11 00 00 00 00 00 00 ED [18:05:33]Write i2c OK [18:05:33]MH_I2C_Read... [18:05:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:05:33]Read from MH i2c: E2 [18:05:33]MH_I2C_Read... [18:05:33]Read from MH i2c: E2 17 00 [18:05:33]MH_I2C_Read... [18:05:33]Read from MH i2c: E2 17 00 49 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 3F [18: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 [18:05:33]wFMCommunicate OK [18:05:33]requested_item fd.num is exist - process it [18:05:33]SAM_PROTO_GetFieldsCounters [18:05:33]wFMCommunicate request_size=4 [18:05:33]MH_SAM_APDU [18:05:33]CAPDU: 80 13 00 00 [18:05:33]Write to MH i2c: E2 08 00 4A 2A 80 13 00 00 00 00 00 00 F0 [18:05:33]Write i2c OK [18:05:33]MH_I2C_Read... [18:05:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:05:33]Read from MH i2c: E2 [18:05:33]MH_I2C_Read... [18:05:33]Read from MH i2c: E2 62 00 [18:05:33]MH_I2C_Read... [18:05:33]Read from MH i2c: E2 62 00 4A 2A 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 35 56 00 00 0E 04 04 00 44 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 7D [18: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 35 56 00 00 0E 04 04 00 44 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:05:33]wFMCommunicate OK [18:05:33]SAM_PROTO_GetFieldsCounters done [18:05:33]requested_item shift.num is exist - process it [18:05:33]requested_item shift.opened is exist - process it [18:05:33]req_shift_opened [18:05:33]FM_GetShiftState [18:05:33]SAM_PROTO_GetShiftState [18:05:33]wFMCommunicate request_size=4 [18:05:33]MH_SAM_APDU [18:05:33]CAPDU: 80 13 01 00 [18:05:33]Write to MH i2c: E2 08 00 4B 2A 80 13 01 00 00 00 00 00 F2 [18:05:33]Write i2c OK [18:05:33]MH_I2C_Read... [18:05:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:05:33]Read from MH i2c: E2 [18:05:33]MH_I2C_Read... [18:05:33]Read from MH i2c: E2 0E 00 [18:05:33]MH_I2C_Read... [18:05:33]Read from MH i2c: E2 0E 00 4B 2A 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 10 [18:05:33]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:05:33]wFMCommunicate OK [18:05:33]SAM_PROTO_GetShiftState done [18:05:33]FM_GetShiftState done [18:05:33]req_shift_opened done [18:05:33]requested_item shift.open_date is exist - process it [18:05:33]req_shift_open_date [18:05:33]req_shift_open_date done [18:05:33]produce_requested_data done [18:05:33]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22069,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [18:05:33]process_action_free close_receipt [18:05:33]json_value_free [18:05:33]json_value_free done [18:05:33]process_json_proto returns [18:05:33]Send response to host [18:05:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22069,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [18:05:33]free response buf [18:05:33]execute_script done [18:05:33]execute_script returns [18:05:33]free content buf [18:05:33]Sock 8.Close socket [18:05:33]Sock 8.Thread stoped [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]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:33]OFD Sender: No OFD packet to send [18:23:38]OFD Sender: No OFD packet to send [18:23:43]OFD Sender: No OFD packet to send [18:23:48]OFD Sender: No OFD packet to send [18:23:53]OFD Sender: No OFD packet to send [18:23:58]OFD Sender: No OFD packet to send [18:24:03]OFD Sender: No OFD packet to send [18:24:08]OFD Sender: No OFD packet to send [18:24:13]OFD Sender: No OFD packet to send [18:24:18]OFD Sender: No OFD packet to send [18:24:23]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]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:04]accept exits with 9 [18:39:04]New connection [18:39:04]New thread 3067178340 created [18:39:04]Thread 3067321700 joined [18:39:04]Waiting for new connection... [18:39:04] Sock 9.Parse request [18:39:04]Sock 9.Check first char [18:39:04]Sock 9.First char is OK [18:39:04]request: POST /json_proto HTTP/1.0 [18:39:04]Method: POST [18:39:04]URL: /json_proto [18:39:04]Method is POST - this is cgi request [18:39:04]url: /json_proto [18:39:04]query_string will be loaded in cgi processing [18:39:04]execute_cgi json_proto POST (null) [18:39:04]execute_cgi path=json_proto method=POST [18:39:04]POST find Content-Length [18:39:04]Host: 172.17.35.133:8080 [18:39:04]Content-Length: 644 [18:39:04]Content-Type: application/json [18:39:04] [18:39:04]POST finish read [18:39:04]Found Content-Length = 644 [18:39:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254296", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:39:04]execute_script... [18:39: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)254296", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:39:04]POST & json_proto [18:39:04]process_json_proto [18:39:04]json parsed OK: [18:39:04]protocol is kg_v1.0 [18:39:04]action value=close_receipt [18:39:04]process_action close_receipt [18:39:04]cmd_close_receipt [18:39:04]MH_GetDate [18:39:04]Write to MH i2c: F0 00 00 4C 2A 65 [18:39:04]Write i2c OK [18:39:04]MH_I2C_Read... [18:39:04]Read from MH i2c: F0 [18:39:04]MH_I2C_Read... [18:39:04]Read from MH i2c: F0 09 00 [18:39:04]MH_I2C_Read... [18:39:04]Read from MH i2c: F0 09 00 4C 2A 00 D2 3C 6B 66 8C 55 28 65 BB [18:39:04]GetLastDocTimeStamp 1718301939 [18:39:04]current date 1718303954 [18:39:04]FM_GetShiftState [18:39:04]SAM_PROTO_GetShiftState [18:39:04]wFMCommunicate request_size=4 [18:39:04]MH_SAM_APDU [18:39:04]CAPDU: 80 13 01 00 [18:39:04]Write to MH i2c: E2 08 00 4D 2A 80 13 01 00 00 00 00 00 F4 [18:39:04]Write i2c OK [18:39:04]MH_I2C_Read... [18:39:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:39:04]Read from MH i2c: E2 [18:39:04]MH_I2C_Read... [18:39:04]Read from MH i2c: E2 0E 00 [18:39:04]MH_I2C_Read... [18:39:04]Read from MH i2c: E2 0E 00 4D 2A 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 12 [18:39:04]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:39:04]wFMCommunicate OK [18:39:04]SAM_PROTO_GetShiftState done [18:39:04]FM_GetShiftState done [18:39:04]opened in 1718237959 [18:39:04]opened+sec_in_day 1718324359 [18:39:04]quantity*price = 11500 [18:39:04]sum+1 = 11501 [18:39:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 50 13.06.2024 18:39 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22070 ФПД: 55615375411128 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T183914&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22070&fm=55615375411128&tin=02508201610067®Number=0000000000099755&sum=11500 0 [18:39:05]StoreToDocumentArchive [18:39:05]shift 324 fd 22070 [18:39:05]save to /storage/0324/doc_00022070 [18:39:05]save last doc name /storage/0324/doc_00022070 to /storage/kkm_last_doc_name [18:39:05]save OK [18:39:05]Clear old archive folders... [18:39:05]ProcessDocumentItem done err = 0, tmpTLVsize=280 [18:39:05]tlvbuf is 00335000 [18:39:05]SAM_PROTO_ClearQueue [18:39:05]wFMCommunicate request_size=4 [18:39:05]MH_SAM_APDU [18:39:05]CAPDU: 80 09 00 00 [18:39:05]Write to MH i2c: E2 08 00 5A 2A 80 09 00 00 00 00 00 00 F6 [18:39:05]Write i2c OK [18:39:05]MH_I2C_Read... [18:39:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:39:05]Read from MH i2c: E2 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 03 00 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 03 00 5A 2A 00 90 00 F8 [18:39:05]RAPDU: 90 00 [18:39:05]wFMCommunicate OK [18:39:05]SAM_PROTO_ClearQueue done [18:39:05]KKMCreateOFDPacket [18:39:05]OFDProtocolAddRootSTLVToBuf [18:39:05]FM_MakeSignedData [18:39:05]FM_MakeSignedData [18:39:05]SAM_PROTO_SignData [18:39:05]wFMCommunicate request_size=4 [18:39:05]MH_SAM_APDU [18:39:05]CAPDU: 80 0D 01 02 [18:39:05]Write to MH i2c: E2 08 00 5B 2A 80 0D 01 02 00 00 00 00 FE [18:39:05]Write i2c OK [18:39:05]MH_I2C_Read... [18:39:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:39:05]Read from MH i2c: E2 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 03 00 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 03 00 5B 2A 00 90 00 F9 [18:39:05]RAPDU: 90 00 [18:39:05]wFMCommunicate OK [18:39:05]wFMCommunicate request_size=255 [18:39:05]MH_SAM_APDU [18:39:05]CAPDU: 80 0D 02 02 FA 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 EC 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 32 00 00 00 F4 03 04 00 D2 3C 6B 66 0E 04 04 00 44 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 [18:39:05]Write to MH i2c: E2 02 01 5C 2A 80 0D 02 02 FA 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 EC 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 32 00 00 00 F4 03 04 00 D2 3C 6B 66 0E 04 04 00 44 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 9E [18:39:05]Write i2c OK [18:39:05]MH_I2C_Read... [18:39:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:39:05]Read from MH i2c: E2 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 03 00 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 03 00 5C 2A 00 90 00 FA [18:39:05]RAPDU: 90 00 [18:39:05]wFMCommunicate OK [18:39:05]wFMCommunicate request_size=39 [18:39:05]MH_SAM_APDU [18:39:05]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 36 56 00 00 35 04 06 00 32 94 F6 B2 07 B8 [18:39:05]Write to MH i2c: E2 2A 00 5D 2A 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 36 56 00 00 35 04 06 00 32 94 F6 B2 07 B8 00 00 74 [18:39:05]Write i2c OK [18:39:05]MH_I2C_Read... [18:39:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:39:05]Read from MH i2c: E2 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 03 00 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 03 00 5D 2A 00 90 00 FB [18:39:05]RAPDU: 90 00 [18:39:05]wFMCommunicate OK [18:39:05]wFMCommunicate request_size=4 [18:39:05]MH_SAM_APDU [18:39:05]CAPDU: 80 0D 03 02 [18:39:05]Write to MH i2c: E2 08 00 5E 2A 80 0D 03 02 00 00 00 00 03 [18:39:05]Write i2c OK [18:39:05]MH_I2C_Read... [18:39:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:39:05]Read from MH i2c: E2 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 0B 00 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 0B 00 5E 2A 00 1F 57 66 DB 27 47 7B 1D 90 00 C1 [18:39:05]RAPDU: 1F 57 66 DB 27 47 7B 1D 90 00 [18:39:05]wFMCommunicate OK [18:39:05]SAM_PROTO_SignData done [18:39:05]FM_MakeSignedData done [18:39:05]CreateOFDProtocolMessage [18:39:05]wFMCommunicate request_size=4 [18:39:05]MH_SAM_APDU [18:39:05]CAPDU: 80 11 00 00 [18:39:05]Write to MH i2c: E2 08 00 5F 2A 80 11 00 00 00 00 00 00 03 [18:39:05]Write i2c OK [18:39:05]MH_I2C_Read... [18:39:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:39:05]Read from MH i2c: E2 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 17 00 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: E2 17 00 5F 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 55 [18:39:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:39:05]wFMCommunicate OK [18:39:05]CreateOFDProtocolMessage done [18:39:05]OFDSenderStorePacket 22070 [18:39:05]StoreOFDPacket docnum=22070 [18:39:05]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 A5 B6 24 01 1E 87 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 EC 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 32 00 00 00 F4 03 04 00 D2 3C 6B 66 0E 04 04 00 44 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 36 56 00 00 35 04 06 00 32 94 F6 B2 07 B8 1F 57 66 DB 27 47 7B 1D [18:39:05]CheckFolder [18:39:05]dirname=/storage/ofd_packets [18:39:05]CheckFolder done [18:39:05]ProducePacketName [18:39:05]name=ofd_packets/00022070 [18:39:05]NVStorageSaveData ofd_packets/00022070 [18:39:05]File name is /storage/ofd_packets/00022070 [18:39:05]Write 330 bytes [18:39:05]NVStorageSaveData done [18:39:05]OFDSenderStorePacket done [18:39:05]KKMCreateOFDPacket done [18:39:05]NVStorageSaveData kkm_last_timestamp [18:39:05]File name is /storage/kkm_last_timestamp [18:39:05]Write 4 bytes [18:39:05]NVStorageSaveData done [18:39:05]ExternCall_PrintAddStr [18:39:05]wPrintStart [18:39:05]Write to MH i2c: 01 00 00 60 2A 8A [18:39:05]OFD Sender: Processing packet 22070 [packets to send 5, broken 4] [18:39:05]ProducePacketName [18:39:05]name=ofd_packets/00022070 [18:39:05]OFD Sender: To server: pG, [18:39:05]CommunicateWithHost lk.salyk.kg:30040 [18:39:05]ConnectInit lk.salyk.kg [18:39:05]Write i2c OK [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: 01 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: 01 07 00 [18:39:05]MH_I2C_Read... [18:39:05]Read from MH i2c: 01 07 00 60 2A 00 00 00 00 00 FF 0F 9F [18:39:05]RasterBufferAndPrint [18:39:05]line Счет N : (3)254296 [18:39:05]line ИНН: 02508201610067 [18:39:05]line Контрольно-Кассовый Чек [18:39:05]line ПРОДАЖА [18:39:05]line Товар: 2000036210013 [18:39:05]line Кофе Капучино (GABB TRADE) [18:39:05]line 1.000 * 115.00 [18:39:05]line = 115.00 [18:39:05]line НДС 12% НСП 1% [18:39:05]line > о реализуемом товаре [18:39:05]line ИТОГО: 115.00 [18:39:05]line НСП 1% : 1.02 [18:39:05]line НДС 12% : 12.21 [18:39:05]line Наличными: 115.00 [18:39:05]line Безнал.: 0.00 [18:39:05]line Место: АЗС № 76 "Партнер Нефть" [18:39:05]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:39:05]line СНО: Общий режим [18:39:05]line Чек 50 13.06.2024 18:39 [18:39:05]line Смена: 324 ФФД: 1.0 [18:39:05]line ЗНМ: 0300000200 [18:39:05]line РНМ: 0000000000099755 [18:39:05]line Версия ККМ: 001 [18:39:05]line ФМ: 0000000000965344 [18:39:05]line ФД: 22070 [18:39:05]line ФПД: 55615375411128 [18:39:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T183914&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22070&fm=55615375411128&tin=02508201610067®Number=0000000000099755&sum=11500 [18:39:06]Connected sock=10 [18:39: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 2C 01 00 00 A5 B6 24 01 1E 87 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 EC 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 32 00 00 00 F4 03 04 00 D2 3C 6B 66 0E 04 04 00 44 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 36 56 00 00 35 04 06 00 32 94 F6 B2 07 B8 1F 57 66 DB 27 47 7B 1D [18:39:06]line 0 [18:39:06]written 0, free lines is 4095 [18:39: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 E6 62 47 00 0F 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 36 56 00 00 F4 03 04 00 94 E5 6A 66 B6 04 01 00 00 59 43 78 9B 1E 3B 31 08 [18:39:06]CommunicateWithHost err = 0 [18:39:06]CheckOFDResponse [18:39:06]1017 (14) - 77093643461234 [18:39:06]1041 (16) - 0000000000965344 [18:39:06]1040 (4) - 22070 [18:39:06]1012 (4) - 13.06.2024 12:27 [18:39:06]1206 (1) - 0 [18:39:06]OFD Sender: Remove packet 22070 [18:39:06]ProducePacketName [18:39:06]name=ofd_packets/00022070 [18:39:06]NVStorageDeleteData [18:39:06]Write to MH i2c: 01 00 00 88 2A B2 [18:39:06]Write i2c OK [18:39:06]MH_I2C_Read... [18:39:06]Read from MH i2c: 01 [18:39:06]MH_I2C_Read... [18:39:06]Read from MH i2c: 01 07 00 [18:39:06]MH_I2C_Read... [18:39:06]Read from MH i2c: 01 07 00 88 2A 00 00 00 00 00 28 0D EE [18:39:06]RasterBufferAndPrint [18:39:06]line [18:39:06]line [18:39:06]line [18:39:06]line [18:39:06]line [18:39:06]written 0, free lines is 3375 [18:39:06]MH_Cut [18:39:06]Write to MH i2c: D1 01 00 8F 2A 01 8B [18:39:06]Write i2c OK [18:39:06]MH_I2C_Read... [18:39:06]Read from MH i2c: D1 [18:39:06]MH_I2C_Read... [18:39:06]Read from MH i2c: D1 01 00 [18:39:06]MH_I2C_Read... [18:39:06]Read from MH i2c: D1 01 00 8F 2A 00 8A [18:39:06]Write to MH i2c: 01 00 00 90 2A BA [18:39:06]Write i2c OK [18:39:06]MH_I2C_Read... [18:39:06]OFD Sender: No OFD packet to send [18:39:07]*** Cut start [18:39:07]*** Partial cut [18:39:07]*** CUTSNS_PIN = 1 [18:39:07]*** CUTSNS_PIN = 0 [18:39:07]*** Brake cut motor [18:39:07]Read from MH i2c: 01 [18:39:07]MH_I2C_Read... [18:39:07]*** Stop cut motor [18:39:07]*** Cut end [18:39:07]Read from MH i2c: 01 07 00 [18:39:07]MH_I2C_Read... [18:39:07]Read from MH i2c: 01 07 00 90 2A 00 00 00 00 00 FF 0F CF [18:39:07]process_action close_receipt done [18:39:07]requested_data is exist [18:39:07]produce_requested_data [18:39:07]requested_item fm.sn is exist - process it [18:39:07]wFMCommunicate request_size=4 [18:39:07]MH_SAM_APDU [18:39:07]CAPDU: 80 11 00 00 [18:39:07]Write to MH i2c: E2 08 00 91 2A 80 11 00 00 00 00 00 00 35 [18:39:07]Write i2c OK [18:39:07]MH_I2C_Read... [18:39:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:39:07]Read from MH i2c: E2 [18:39:07]MH_I2C_Read... [18:39:07]Read from MH i2c: E2 17 00 [18:39:07]MH_I2C_Read... [18:39:07]Read from MH i2c: E2 17 00 91 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 87 [18:39:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:39:07]wFMCommunicate OK [18:39:07]requested_item fd.num is exist - process it [18:39:07]SAM_PROTO_GetFieldsCounters [18:39:07]wFMCommunicate request_size=4 [18:39:07]MH_SAM_APDU [18:39:07]CAPDU: 80 13 00 00 [18:39:07]Write to MH i2c: E2 08 00 92 2A 80 13 00 00 00 00 00 00 38 [18:39:07]Write i2c OK [18:39:07]MH_I2C_Read... [18:39:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:39:08]Read from MH i2c: E2 [18:39:08]MH_I2C_Read... [18:39:08]Read from MH i2c: E2 62 00 [18:39:08]MH_I2C_Read... [18:39:08]Read from MH i2c: E2 62 00 92 2A 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 36 56 00 00 0E 04 04 00 44 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 C9 [18:39: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 36 56 00 00 0E 04 04 00 44 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 [18:39:08]wFMCommunicate OK [18:39:08]SAM_PROTO_GetFieldsCounters done [18:39:08]requested_item shift.num is exist - process it [18:39:08]requested_item shift.opened is exist - process it [18:39:08]req_shift_opened [18:39:08]FM_GetShiftState [18:39:08]SAM_PROTO_GetShiftState [18:39:08]wFMCommunicate request_size=4 [18:39:08]MH_SAM_APDU [18:39:08]CAPDU: 80 13 01 00 [18:39:08]Write to MH i2c: E2 08 00 93 2A 80 13 01 00 00 00 00 00 3A [18:39:08]Write i2c OK [18:39:08]MH_I2C_Read... [18:39:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:39:08]Read from MH i2c: E2 [18:39:08]MH_I2C_Read... [18:39:08]Read from MH i2c: E2 0E 00 [18:39:08]MH_I2C_Read... [18:39:08]Read from MH i2c: E2 0E 00 93 2A 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 58 [18:39:08]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:39:08]wFMCommunicate OK [18:39:08]SAM_PROTO_GetShiftState done [18:39:08]FM_GetShiftState done [18:39:08]req_shift_opened done [18:39:08]requested_item shift.open_date is exist - process it [18:39:08]req_shift_open_date [18:39:08]req_shift_open_date done [18:39:08]produce_requested_data done [18:39:08]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22070,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [18:39:08]process_action_free close_receipt [18:39:08]json_value_free [18:39:08]json_value_free done [18:39:08]process_json_proto returns [18:39:08]Send response to host [18:39:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22070,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [18:39:08]free response buf [18:39:08]execute_script done [18:39:08]execute_script returns [18:39:08]free content buf [18:39:08]Sock 9.Close socket [18:39:08]Sock 9.Thread stoped [18:39:11]OFD Sender: No OFD packet to send [18:39:16]OFD Sender: No OFD packet to send [18:39:21]OFD Sender: No OFD packet to send [18:39:26]OFD Sender: No OFD packet to send [18:39:31]OFD Sender: No OFD packet to send [18:39:36]OFD Sender: No OFD packet to send [18:39:41]OFD Sender: No OFD packet to send [18:39:46]OFD Sender: No OFD packet to send [18:39:51]OFD Sender: No OFD packet to send [18:39:56]OFD Sender: No OFD packet to send [18:40:01]OFD Sender: No OFD packet to send [18:40:06]OFD Sender: No OFD packet to send [18:40:11]OFD Sender: No OFD packet to send [18:40:16]OFD Sender: No OFD packet to send [18:40:21]OFD Sender: No OFD packet to send [18:40:26]OFD Sender: No OFD packet to send [18:40:31]OFD Sender: No OFD packet to send [18:40:36]OFD Sender: No OFD packet to send [18:40:41]OFD Sender: No OFD packet to send [18:40:46]OFD Sender: No OFD packet to send [18:40:51]OFD Sender: No OFD packet to send [18:40:56]OFD Sender: No OFD packet to send [18:41:01]OFD Sender: No OFD packet to send [18:41:06]OFD Sender: No OFD packet to send [18:41:11]OFD Sender: No OFD packet to send [18:41:16]OFD Sender: No OFD packet to send [18:41:21]OFD Sender: No OFD packet to send [18:41:26]OFD Sender: No OFD packet to send [18:41:31]OFD Sender: No OFD packet to send [18:41:36]OFD Sender: No OFD packet to send [18:41:41]OFD Sender: No OFD packet to send [18:41:46]OFD Sender: No OFD packet to send [18:41:51]OFD Sender: No OFD packet to send [18:41:56]OFD Sender: No OFD packet to send [18:42:01]OFD Sender: No OFD packet to send [18:42:06]OFD Sender: No OFD packet to send [18:42:11]OFD Sender: No OFD packet to send [18:42:16]OFD Sender: No OFD packet to send [18:42:21]OFD Sender: No OFD packet to send [18:42:26]OFD Sender: No OFD packet to send [18:42:31]OFD Sender: No OFD packet to send [18:42:36]OFD Sender: No OFD packet to send [18:42:41]OFD Sender: No OFD packet to send [18:42:46]OFD Sender: No OFD packet to send [18:42:48]accept exits with 8 [18:42:48]New connection [18:42:48]New thread 3067321700 created [18:42:48]Thread 3067178340 joined [18:42:48]Waiting for new connection... [18:42:48] Sock 8.Parse request [18:42:48]Sock 8.Check first char [18:42:48]Sock 8.First char is OK [18:42:48]request: POST /json_proto HTTP/1.0 [18:42:48]Method: POST [18:42:48]URL: /json_proto [18:42:48]Method is POST - this is cgi request [18:42:48]url: /json_proto [18:42:48]query_string will be loaded in cgi processing [18:42:48]execute_cgi json_proto POST (null) [18:42:48]execute_cgi path=json_proto method=POST [18:42:48]POST find Content-Length [18:42:48]Host: 172.17.35.133:8080 [18:42:48]Content-Length: 990 [18:42:48]Content-Type: application/json [18:42:48] [18:42:48]POST finish read [18:42:48]Found Content-Length = 990 [18:42:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254297", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\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" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:42:48]execute_script... [18:42: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)254297", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\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" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:42:48]POST & json_proto [18:42:48]process_json_proto [18:42:48]json parsed OK: [18:42:48]protocol is kg_v1.0 [18:42:48]action value=close_receipt [18:42:48]process_action close_receipt [18:42:48]cmd_close_receipt [18:42:48]MH_GetDate [18:42:48]Write to MH i2c: F0 00 00 94 2A AD [18:42:48]Write i2c OK [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: F0 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: F0 09 00 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: F0 09 00 94 2A 00 B2 3D 6B 66 8C 55 28 65 E4 [18:42:48]GetLastDocTimeStamp 1718303954 [18:42:48]current date 1718304178 [18:42:48]FM_GetShiftState [18:42:48]SAM_PROTO_GetShiftState [18:42:48]wFMCommunicate request_size=4 [18:42:48]MH_SAM_APDU [18:42:48]CAPDU: 80 13 01 00 [18:42:48]Write to MH i2c: E2 08 00 95 2A 80 13 01 00 00 00 00 00 3C [18:42:48]Write i2c OK [18:42:48]MH_I2C_Read... [18:42:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:42:48]Read from MH i2c: E2 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: E2 0E 00 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: E2 0E 00 95 2A 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 5A [18:42:48]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:42:48]wFMCommunicate OK [18:42:48]SAM_PROTO_GetShiftState done [18:42:48]FM_GetShiftState done [18:42:48]opened in 1718237959 [18:42:48]opened+sec_in_day 1718324359 [18:42:48]quantity*price = 12000 [18:42:48]sum+1 = 12001 [18:42:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310043 Вода Жалалабат 27 1л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 51 13.06.2024 18:42 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22071 ФПД: 251631989189028 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T184258&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22071&fm=251631989189028&tin=02508201610067®Number=0000000000099755&sum=18000 0 [18:42:49]StoreToDocumentArchive [18:42:49]shift 324 fd 22071 [18:42:49]save to /storage/0324/doc_00022071 [18:42:49]save last doc name /storage/0324/doc_00022071 to /storage/kkm_last_doc_name [18:42:49]save OK [18:42:49]Clear old archive folders... [18:42:49]ProcessDocumentItem done err = 0, tmpTLVsize=414 [18:42:49]tlvbuf is 0026F5E0 [18:42:49]SAM_PROTO_ClearQueue [18:42:49]wFMCommunicate request_size=4 [18:42:49]MH_SAM_APDU [18:42:49]CAPDU: 80 09 00 00 [18:42:49]Write to MH i2c: E2 08 00 A2 2A 80 09 00 00 00 00 00 00 3E [18:42:49]Write i2c OK [18:42:49]MH_I2C_Read... [18:42:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:42:49]Read from MH i2c: E2 [18:42:49]MH_I2C_Read... [18:42:49]Read from MH i2c: E2 03 00 [18:42:49]MH_I2C_Read... [18:42:49]Read from MH i2c: E2 03 00 A2 2A 00 90 00 40 [18:42:49]RAPDU: 90 00 [18:42:49]wFMCommunicate OK [18:42:49]SAM_PROTO_ClearQueue done [18:42:49]KKMCreateOFDPacket [18:42:49]OFDProtocolAddRootSTLVToBuf [18:42:49]FM_MakeSignedData [18:42:49]FM_MakeSignedData [18:42:49]SAM_PROTO_SignData [18:42:49]wFMCommunicate request_size=4 [18:42:49]MH_SAM_APDU [18:42:49]CAPDU: 80 0D 01 02 [18:42:49]Write to MH i2c: E2 08 00 A3 2A 80 0D 01 02 00 00 00 00 46 [18:42:49]Write i2c OK [18:42:49]MH_I2C_Read... [18:42:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:42:49]Read from MH i2c: E2 [18:42:49]MH_I2C_Read... [18:42:49]Read from MH i2c: E2 03 00 [18:42:49]MH_I2C_Read... [18:42:49]Read from MH i2c: E2 03 00 A3 2A 00 90 00 41 [18:42:49]RAPDU: 90 00 [18:42:49]wFMCommunicate OK [18:42:49]wFMCommunicate request_size=255 [18:42:49]MH_SAM_APDU [18:42:49]CAPDU: 80 0D 02 02 FA 03 00 9E 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 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 [18:42:49]Write to MH i2c: E2 02 01 A4 2A 80 0D 02 02 FA 00 03 00 9E 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 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 00 00 AF [18:42:49]Write i2c OK [18:42:49]MH_I2C_Read... [18:42:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:49]Read from MH i2c: E2 [18:42:49]MH_I2C_Read... [18:42:49]Read from MH i2c: E2 03 00 [18:42:49]MH_I2C_Read... [18:42:49]Read from MH i2c: E2 03 00 A4 2A 00 90 00 42 [18:42:49]RAPDU: 90 00 [18:42:49]wFMCommunicate OK [18:42:49]wFMCommunicate request_size=173 [18:42:49]MH_SAM_APDU [18:42:49]CAPDU: 80 0D 02 02 A8 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 B2 3D 6B 66 0E 04 04 00 44 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 37 56 00 00 35 04 06 00 E4 DB A3 54 69 A4 [18:42:49]Write to MH i2c: E2 B0 00 A5 2A 80 0D 02 02 A8 00 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 B2 3D 6B 66 0E 04 04 00 44 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 37 56 00 00 35 04 06 00 E4 DB A3 54 69 A4 00 00 B7 [18:42:49]Write i2c OK [18:42:49]MH_I2C_Read... [18:42:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:49]Read from MH i2c: E2 [18:42:49]MH_I2C_Read... [18:42:49]Read from MH i2c: E2 03 00 [18:42:49]MH_I2C_Read... [18:42:49]Read from MH i2c: E2 03 00 A5 2A 00 90 00 43 [18:42:49]RAPDU: 90 00 [18:42:49]wFMCommunicate OK [18:42:49]wFMCommunicate request_size=4 [18:42:49]MH_SAM_APDU [18:42:49]CAPDU: 80 0D 03 02 [18:42:49]Write to MH i2c: E2 08 00 A6 2A 80 0D 03 02 00 00 00 00 4B [18:42:50]Write i2c OK [18:42:50]MH_I2C_Read... [18:42:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:42:50]Read from MH i2c: E2 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: E2 0B 00 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: E2 0B 00 A6 2A 00 DF 0B D2 93 A3 42 27 6D 90 00 14 [18:42:50]RAPDU: DF 0B D2 93 A3 42 27 6D 90 00 [18:42:50]wFMCommunicate OK [18:42:50]SAM_PROTO_SignData done [18:42:50]FM_MakeSignedData done [18:42:50]CreateOFDProtocolMessage [18:42:50]wFMCommunicate request_size=4 [18:42:50]MH_SAM_APDU [18:42:50]CAPDU: 80 11 00 00 [18:42:50]Write to MH i2c: E2 08 00 A7 2A 80 11 00 00 00 00 00 00 4B [18:42:50]Write i2c OK [18:42:50]MH_I2C_Read... [18:42:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:42:50]Read from MH i2c: E2 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: E2 17 00 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: E2 17 00 A7 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 9D [18:42:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:42:50]wFMCommunicate OK [18:42:50]CreateOFDProtocolMessage done [18:42:50]OFDSenderStorePacket 22071 [18:42:50]StoreOFDPacket docnum=22071 [18:42: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 B2 01 00 00 70 31 AA 01 F2 C6 5A 03 01 00 03 00 9E 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 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 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 B2 3D 6B 66 0E 04 04 00 44 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 37 56 00 00 35 04 06 00 E4 DB A3 54 69 A4 DF 0B D2 93 A3 42 27 6D [18:42:50]CheckFolder [18:42:50]dirname=/storage/ofd_packets [18:42:50]CheckFolder done [18:42:50]ProducePacketName [18:42:50]name=ofd_packets/00022071 [18:42:50]NVStorageSaveData ofd_packets/00022071 [18:42:50]File name is /storage/ofd_packets/00022071 [18:42:50]Write 464 bytes [18:42:50]NVStorageSaveData done [18:42:50]OFDSenderStorePacket done [18:42:50]KKMCreateOFDPacket done [18:42:50]NVStorageSaveData kkm_last_timestamp [18:42:50]File name is /storage/kkm_last_timestamp [18:42:50]Write 4 bytes [18:42:50]NVStorageSaveData done [18:42:50]ExternCall_PrintAddStr [18:42:50]wPrintStart [18:42:50]Write to MH i2c: 01 00 00 A8 2A D2 [18:42:50]Write i2c OK [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: 01 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: 01 07 00 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: 01 07 00 A8 2A 00 00 00 00 00 FF 0F E7 [18:42:50]RasterBufferAndPrint [18:42:50]line Счет N : (3)254297 [18:42:50]line ИНН: 02508201610067 [18:42:50]line Контрольно-Кассовый Чек [18:42:50]line ПРОДАЖА [18:42:50]line Товар: 5449000027474 [18:42:50]line Напиток FuzeTea зел чай манго,ромашка 1л [18:42:50]line 1.000 * 120.00 [18:42:50]line = 120.00 [18:42:50]line НДС 12% НСП 1% [18:42:50]line > о реализуемом товаре [18:42:50]line Товар: 4700000310043 [18:42:50]line Вода Жалалабат 27 1л [18:42:50]line 1.000 * 60.00 [18:42:50]line = 60.00 [18:42:50]line НДС 12% НСП 1% [18:42:50]line > о реализуемом товаре [18:42:50]line ИТОГО: 180.00 [18:42:50]line НСП 1% : 1.59 [18:42:50]line НДС 12% : 19.11 [18:42:50]line Наличными: 180.00 [18:42:50]line Безнал.: 0.00 [18:42:50]line Место: АЗС № 76 "Партнер Нефть" [18:42:50]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:42:50]line СНО: Общий режим [18:42:50]line Чек 51 13.06.2024 18:42 [18:42:50]line Смена: 324 ФФД: 1.0 [18:42:50]line ЗНМ: 0300000200 [18:42:50]line РНМ: 0000000000099755 [18:42:50]line Версия ККМ: 001 [18:42:50]line ФМ: 0000000000965344 [18:42:50]line ФД: 22071 [18:42:50]line ФПД: 251631989189028 [18:42:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T184258&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22071&fm=251631989189028&tin=02508201610067®Number=0000000000099755&sum=18000 [18:42:50]OFD Sender: Processing packet 22071 [packets to send 5, broken 4] [18:42:50]ProducePacketName [18:42:50]name=ofd_packets/00022071 [18:42:50]OFD Sender: To server: pG, [18:42:50]CommunicateWithHost lk.salyk.kg:30040 [18:42:50]ConnectInit lk.salyk.kg [18:42:50]line 0 [18:42:50]written 0, free lines is 4095 [18:42:50]Connected sock=10 [18:42: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 B2 01 00 00 70 31 AA 01 F2 C6 5A 03 01 00 03 00 9E 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 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 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 B2 3D 6B 66 0E 04 04 00 44 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 37 56 00 00 35 04 06 00 E4 DB A3 54 69 A4 DF 0B D2 93 A3 42 27 6D [18:42: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 6B 57 47 00 87 89 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 37 56 00 00 F4 03 04 00 75 E6 6A 66 B6 04 01 00 00 0B 6C 5A E9 15 9A 98 55 [18:42:50]CommunicateWithHost err = 0 [18:42:50]CheckOFDResponse [18:42:50]1017 (14) - 77093643461234 [18:42:50]1041 (16) - 0000000000965344 [18:42:50]1040 (4) - 22071 [18:42:50]1012 (4) - 13.06.2024 12:30 [18:42:50]1206 (1) - 0 [18:42:50]OFD Sender: Remove packet 22071 [18:42:50]ProducePacketName [18:42:50]name=ofd_packets/00022071 [18:42:50]NVStorageDeleteData [18:42:50]Write to MH i2c: 01 00 00 D7 2A 01 [18:42:50]Write i2c OK [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: 01 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: 01 07 00 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: 01 07 00 D7 2A 00 00 00 00 00 D1 0C E5 [18:42:50]RasterBufferAndPrint [18:42:50]line [18:42:50]line [18:42:50]line [18:42:50]line [18:42:50]line [18:42:50]written 0, free lines is 3290 [18:42:50]MH_Cut [18:42:50]Write to MH i2c: D1 01 00 DE 2A 01 DA [18:42:50]Write i2c OK [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: D1 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: D1 01 00 [18:42:50]MH_I2C_Read... [18:42:50]Read from MH i2c: D1 01 00 DE 2A 00 D9 [18:42:50]Write to MH i2c: 01 00 00 DF 2A 09 [18:42:50]Write i2c OK [18:42:50]MH_I2C_Read... [18:42:51]OFD Sender: No OFD packet to send [18:42:51]*** Cut start [18:42:51]*** Partial cut [18:42:51]*** CUTSNS_PIN = 1 [18:42:51]*** CUTSNS_PIN = 0 [18:42:51]*** Brake cut motor [18:42:52]Read from MH i2c: 01 [18:42:52]MH_I2C_Read... [18:42:52]*** Stop cut motor [18:42:52]*** Cut end [18:42:52]Read from MH i2c: 01 07 00 [18:42:52]MH_I2C_Read... [18:42:52]Read from MH i2c: 01 07 00 DF 2A 00 00 00 00 00 FF 0F 1E [18:42:52]process_action close_receipt done [18:42:52]requested_data is exist [18:42:52]produce_requested_data [18:42:52]requested_item fm.sn is exist - process it [18:42:52]wFMCommunicate request_size=4 [18:42:52]MH_SAM_APDU [18:42:52]CAPDU: 80 11 00 00 [18:42:52]Write to MH i2c: E2 08 00 E0 2A 80 11 00 00 00 00 00 00 84 [18:42:52]Write i2c OK [18:42:52]MH_I2C_Read... [18:42:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:42:52]Read from MH i2c: E2 [18:42:52]MH_I2C_Read... [18:42:52]Read from MH i2c: E2 17 00 [18:42:52]MH_I2C_Read... [18:42:52]Read from MH i2c: E2 17 00 E0 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D6 [18:42:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:42:52]wFMCommunicate OK [18:42:52]requested_item fd.num is exist - process it [18:42:52]SAM_PROTO_GetFieldsCounters [18:42:52]wFMCommunicate request_size=4 [18:42:52]MH_SAM_APDU [18:42:52]CAPDU: 80 13 00 00 [18:42:52]Write to MH i2c: E2 08 00 E1 2A 80 13 00 00 00 00 00 00 87 [18:42:52]Write i2c OK [18:42:52]MH_I2C_Read... [18:42:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:42:52]Read from MH i2c: E2 [18:42:52]MH_I2C_Read... [18:42:52]Read from MH i2c: E2 62 00 [18:42:52]MH_I2C_Read... [18:42:52]Read from MH i2c: E2 62 00 E1 2A 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 37 56 00 00 0E 04 04 00 44 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 1C [18:42: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 37 56 00 00 0E 04 04 00 44 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 [18:42:52]wFMCommunicate OK [18:42:52]SAM_PROTO_GetFieldsCounters done [18:42:52]requested_item shift.num is exist - process it [18:42:52]requested_item shift.opened is exist - process it [18:42:52]req_shift_opened [18:42:52]FM_GetShiftState [18:42:52]SAM_PROTO_GetShiftState [18:42:52]wFMCommunicate request_size=4 [18:42:52]MH_SAM_APDU [18:42:52]CAPDU: 80 13 01 00 [18:42:52]Write to MH i2c: E2 08 00 E2 2A 80 13 01 00 00 00 00 00 89 [18:42:52]Write i2c OK [18:42:52]MH_I2C_Read... [18:42:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:42:52]Read from MH i2c: E2 [18:42:52]MH_I2C_Read... [18:42:52]Read from MH i2c: E2 0E 00 [18:42:52]MH_I2C_Read... [18:42:52]Read from MH i2c: E2 0E 00 E2 2A 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 A7 [18:42:52]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:42:52]wFMCommunicate OK [18:42:52]SAM_PROTO_GetShiftState done [18:42:52]FM_GetShiftState done [18:42:52]req_shift_opened done [18:42:52]requested_item shift.open_date is exist - process it [18:42:52]req_shift_open_date [18:42:52]req_shift_open_date done [18:42:52]produce_requested_data done [18:42:52]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22071,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [18:42:52]process_action_free close_receipt [18:42:52]json_value_free [18:42:52]json_value_free done [18:42:52]process_json_proto returns [18:42:52]Send response to host [18:42:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22071,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [18:42:52]free response buf [18:42:52]execute_script done [18:42:52]execute_script returns [18:42:52]free content buf [18:42:52]Sock 8.Close socket [18:42:52]Sock 8.Thread stoped [18:42:56]OFD Sender: No OFD packet to send [18:43:01]OFD Sender: No OFD packet to send [18:43:06]OFD Sender: No OFD packet to send [18:43:11]OFD Sender: No OFD packet to send [18:43:16]OFD Sender: No OFD packet to send [18:43:21]OFD Sender: No OFD packet to send [18:43:26]OFD Sender: No OFD packet to send [18:43:31]OFD Sender: No OFD packet to send [18:43:36]OFD Sender: No OFD packet to send [18:43:41]OFD Sender: No OFD packet to send [18:43:46]OFD Sender: No OFD packet to send [18:43:51]OFD Sender: No OFD packet to send [18:43:56]OFD Sender: No OFD packet to send [18:44:01]OFD Sender: No OFD packet to send [18:44:06]OFD Sender: No OFD packet to send [18:44:08]accept exits with 9 [18:44:08]New connection [18:44:08]New thread 3067178340 created [18:44:08]Thread 3067321700 joined [18:44:08]Waiting for new connection... [18:44:08] Sock 9.Parse request [18:44:08]Sock 9.Check first char [18:44:08]Sock 9.First char is OK [18:44:08]request: POST /json_proto HTTP/1.0 [18:44:08]Method: POST [18:44:08]URL: /json_proto [18:44:08]Method is POST - this is cgi request [18:44:08]url: /json_proto [18:44:08]query_string will be loaded in cgi processing [18:44:08]execute_cgi json_proto POST (null) [18:44:08]execute_cgi path=json_proto method=POST [18:44:08]POST find Content-Length [18:44:08]Host: 172.17.35.133:8080 [18:44:08]Content-Length: 701 [18:44:08]Content-Type: application/json [18:44:08] [18:44:08]POST finish read [18:44:08]Found Content-Length = 701 [18:44:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254298", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 2.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" ] } } [18:44:08]execute_script... [18:44: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)254298", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 2.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" ] } } [18:44:08]POST & json_proto [18:44:08]process_json_proto [18:44:08]json parsed OK: [18:44:08]protocol is kg_v1.0 [18:44:08]action value=close_receipt [18:44:08]process_action close_receipt [18:44:08]cmd_close_receipt [18:44:08]MH_GetDate [18:44:08]Write to MH i2c: F0 00 00 E3 2A FC [18:44:08]Write i2c OK [18:44:08]MH_I2C_Read... [18:44:08]Read from MH i2c: F0 [18:44:08]MH_I2C_Read... [18:44:08]Read from MH i2c: F0 09 00 [18:44:08]MH_I2C_Read... [18:44:08]Read from MH i2c: F0 09 00 E3 2A 00 02 3E 6B 66 8C 55 28 65 84 [18:44:08]GetLastDocTimeStamp 1718304178 [18:44:08]current date 1718304258 [18:44:08]FM_GetShiftState [18:44:08]SAM_PROTO_GetShiftState [18:44:08]wFMCommunicate request_size=4 [18:44:08]MH_SAM_APDU [18:44:08]CAPDU: 80 13 01 00 [18:44:08]Write to MH i2c: E2 08 00 E4 2A 80 13 01 00 00 00 00 00 8B [18:44:08]Write i2c OK [18:44:08]MH_I2C_Read... [18:44:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:44:08]Read from MH i2c: E2 [18:44:08]MH_I2C_Read... [18:44:08]Read from MH i2c: E2 0E 00 [18:44:08]MH_I2C_Read... [18:44:08]Read from MH i2c: E2 0E 00 E4 2A 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 A9 [18:44:08]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:44:08]wFMCommunicate OK [18:44:08]SAM_PROTO_GetShiftState done [18:44:08]FM_GetShiftState done [18:44:08]opened in 1718237959 [18:44:08]opened+sec_in_day 1718324359 [18:44:08]quantity*price = 19000 [18:44:08]sum+1 = 19001 [18:44:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 52 13.06.2024 18:44 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22072 ФПД: 66029593013324 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T184418&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22072&fm=66029593013324&tin=02508201610067®Number=0000000000099755&sum=19000 0 [18:44:09]StoreToDocumentArchive [18:44:09]shift 324 fd 22072 [18:44:09]save to /storage/0324/doc_00022072 [18:44:09]save last doc name /storage/0324/doc_00022072 to /storage/kkm_last_doc_name [18:44:09]save OK [18:44:09]Clear old archive folders... [18:44:09]ProcessDocumentItem done err = 0, tmpTLVsize=302 [18:44:09]tlvbuf is 00271210 [18:44:09]SAM_PROTO_ClearQueue [18:44:09]wFMCommunicate request_size=4 [18:44:09]MH_SAM_APDU [18:44:09]CAPDU: 80 09 00 00 [18:44:09]Write to MH i2c: E2 08 00 F1 2A 80 09 00 00 00 00 00 00 8D [18:44:09]Write i2c OK [18:44:09]MH_I2C_Read... [18:44:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:44:09]Read from MH i2c: E2 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 03 00 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 03 00 F1 2A 00 90 00 8F [18:44:09]RAPDU: 90 00 [18:44:09]wFMCommunicate OK [18:44:09]SAM_PROTO_ClearQueue done [18:44:09]KKMCreateOFDPacket [18:44:09]OFDProtocolAddRootSTLVToBuf [18:44:09]FM_MakeSignedData [18:44:09]FM_MakeSignedData [18:44:09]SAM_PROTO_SignData [18:44:09]wFMCommunicate request_size=4 [18:44:09]MH_SAM_APDU [18:44:09]CAPDU: 80 0D 01 02 [18:44:09]Write to MH i2c: E2 08 00 F2 2A 80 0D 01 02 00 00 00 00 95 [18:44:09]Write i2c OK [18:44:09]MH_I2C_Read... [18:44:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:44:09]Read from MH i2c: E2 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 03 00 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 03 00 F2 2A 00 90 00 90 [18:44:09]RAPDU: 90 00 [18:44:09]wFMCommunicate OK [18:44:09]wFMCommunicate request_size=255 [18:44:09]MH_SAM_APDU [18:44:09]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 34 00 00 00 F4 03 04 00 02 3E 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 [18:44:09]Write to MH i2c: E2 02 01 F3 2A 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 34 00 00 00 F4 03 04 00 02 3E 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 00 00 67 [18:44:09]Write i2c OK [18:44:09]MH_I2C_Read... [18:44:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:44:09]Read from MH i2c: E2 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 03 00 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 03 00 F3 2A 00 90 00 91 [18:44:09]RAPDU: 90 00 [18:44:09]wFMCommunicate OK [18:44:09]wFMCommunicate request_size=61 [18:44:09]MH_SAM_APDU [18:44:09]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 38 56 00 00 35 04 06 00 3C 0D B6 6F AC 4C [18:44:09]Write to MH i2c: E2 40 00 F4 2A 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 38 56 00 00 35 04 06 00 3C 0D B6 6F AC 4C 00 00 CA [18:44:09]Write i2c OK [18:44:09]MH_I2C_Read... [18:44:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:44:09]Read from MH i2c: E2 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 03 00 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 03 00 F4 2A 00 90 00 92 [18:44:09]RAPDU: 90 00 [18:44:09]wFMCommunicate OK [18:44:09]wFMCommunicate request_size=4 [18:44:09]MH_SAM_APDU [18:44:09]CAPDU: 80 0D 03 02 [18:44:09]Write to MH i2c: E2 08 00 F5 2A 80 0D 03 02 00 00 00 00 9A [18:44:09]Write i2c OK [18:44:09]MH_I2C_Read... [18:44:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:44:09]Read from MH i2c: E2 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 0B 00 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 0B 00 F5 2A 00 A2 DD 68 0B FE 6B BB B5 90 00 66 [18:44:09]RAPDU: A2 DD 68 0B FE 6B BB B5 90 00 [18:44:09]wFMCommunicate OK [18:44:09]SAM_PROTO_SignData done [18:44:09]FM_MakeSignedData done [18:44:09]CreateOFDProtocolMessage [18:44:09]wFMCommunicate request_size=4 [18:44:09]MH_SAM_APDU [18:44:09]CAPDU: 80 11 00 00 [18:44:09]Write to MH i2c: E2 08 00 F6 2A 80 11 00 00 00 00 00 00 9A [18:44:09]Write i2c OK [18:44:09]MH_I2C_Read... [18:44:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:44:09]Read from MH i2c: E2 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 17 00 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: E2 17 00 F6 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EC [18:44:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:44:09]wFMCommunicate OK [18:44:09]CreateOFDProtocolMessage done [18:44:09]OFDSenderStorePacket 22072 [18:44:09]StoreOFDPacket docnum=22072 [18:44: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 42 01 00 00 F7 1A 3A 01 B7 20 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 34 00 00 00 F4 03 04 00 02 3E 6B 66 0E 04 04 00 44 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 38 56 00 00 35 04 06 00 3C 0D B6 6F AC 4C A2 DD 68 0B FE 6B BB B5 [18:44:09]CheckFolder [18:44:09]dirname=/storage/ofd_packets [18:44:09]CheckFolder done [18:44:09]ProducePacketName [18:44:09]name=ofd_packets/00022072 [18:44:09]NVStorageSaveData ofd_packets/00022072 [18:44:09]File name is /storage/ofd_packets/00022072 [18:44:09]Write 352 bytes [18:44:09]NVStorageSaveData done [18:44:09]OFDSenderStorePacket done [18:44:09]KKMCreateOFDPacket done [18:44:09]NVStorageSaveData kkm_last_timestamp [18:44:09]File name is /storage/kkm_last_timestamp [18:44:09]Write 4 bytes [18:44:09]OFD Sender: Processing packet 22072 [packets to send 5, broken 4] [18:44:09]ProducePacketName [18:44:09]name=ofd_packets/00022072 [18:44:09]OFD Sender: To server: pG, [18:44:09]CommunicateWithHost lk.salyk.kg:30040 [18:44:09]ConnectInit lk.salyk.kg [18:44:09]NVStorageSaveData done [18:44:09]ExternCall_PrintAddStr [18:44:09]wPrintStart [18:44:09]Write to MH i2c: 01 00 00 F7 2A 21 [18:44:09]Write i2c OK [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: 01 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: 01 07 00 [18:44:09]MH_I2C_Read... [18:44:09]Read from MH i2c: 01 07 00 F7 2A 00 00 00 00 00 FF 0F 36 [18:44:09]RasterBufferAndPrint [18:44:09]line Счет N : (3)254298 [18:44:09]line ИНН: 02508201610067 [18:44:09]line Контрольно-Кассовый Чек [18:44:09]line ПРОДАЖА [18:44:09]line Товар: 4700003010087 [18:44:09]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [18:44:09]line 2.000 * 95.00 [18:44:09]line = 190.00 [18:44:09]line НДС 12% НСП 1% [18:44:09]line > о реализуемом товаре [18:44:09]line ИТОГО: 190.00 [18:44:09]line НСП 1% : 1.68 [18:44:09]line НДС 12% : 20.18 [18:44:09]line Наличными: 190.00 [18:44:09]line Безнал.: 0.00 [18:44:10]line Место: АЗС № 76 "Партнер Нефть" [18:44:10]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:44:10]line СНО: Общий режим [18:44:10]line Чек 52 13.06.2024 18:44 [18:44:10]line Смена: 324 ФФД: 1.0 [18:44:10]line ЗНМ: 0300000200 [18:44:10]line РНМ: 0000000000099755 [18:44:10]line Версия ККМ: 001 [18:44:10]line ФМ: 0000000000965344 [18:44:10]line ФД: 22072 [18:44:10]line ФПД: 66029593013324 [18:44:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T184418&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22072&fm=66029593013324&tin=02508201610067®Number=0000000000099755&sum=19000 [18:44:10]line 0 [18:44:10]Connected sock=10 [18:44: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 42 01 00 00 F7 1A 3A 01 B7 20 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 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 34 00 00 00 F4 03 04 00 02 3E 6B 66 0E 04 04 00 44 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 38 56 00 00 35 04 06 00 3C 0D B6 6F AC 4C A2 DD 68 0B FE 6B BB B5 [18:44:10]written 0, free lines is 4095 [18:44: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 63 22 47 00 79 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 38 56 00 00 F4 03 04 00 C4 E6 6A 66 B6 04 01 00 00 8D 98 AE C1 10 24 D2 26 [18:44:10]CommunicateWithHost err = 0 [18:44:10]CheckOFDResponse [18:44:10]1017 (14) - 77093643461234 [18:44:10]1041 (16) - 0000000000965344 [18:44:10]1040 (4) - 22072 [18:44:10]1012 (4) - 13.06.2024 12:32 [18:44:10]1206 (1) - 0 [18:44:10]OFD Sender: Remove packet 22072 [18:44:10]ProducePacketName [18:44:10]name=ofd_packets/00022072 [18:44:10]NVStorageDeleteData [18:44:10]Write to MH i2c: 01 00 00 20 2B 4B [18:44:10]Write i2c OK [18:44:10]MH_I2C_Read... [18:44:10]Read from MH i2c: 01 [18:44:10]MH_I2C_Read... [18:44:10]Read from MH i2c: 01 07 00 [18:44:10]MH_I2C_Read... [18:44:10]Read from MH i2c: 01 07 00 20 2B 00 00 00 00 00 17 0D 76 [18:44:10]RasterBufferAndPrint [18:44:10]line [18:44:10]line [18:44:10]line [18:44:10]line [18:44:10]line [18:44:10]written 0, free lines is 3357 [18:44:10]MH_Cut [18:44:10]Write to MH i2c: D1 01 00 27 2B 01 24 [18:44:10]Write i2c OK [18:44:10]MH_I2C_Read... [18:44:10]Read from MH i2c: D1 [18:44:10]MH_I2C_Read... [18:44:10]Read from MH i2c: D1 01 00 [18:44:10]MH_I2C_Read... [18:44:10]Read from MH i2c: D1 01 00 27 2B 00 23 [18:44:10]Write to MH i2c: 01 00 00 28 2B 53 [18:44:10]Write i2c OK [18:44:10]MH_I2C_Read... [18:44:10]OFD Sender: No OFD packet to send [18:44:11]*** Cut start [18:44:11]*** Partial cut [18:44:11]*** CUTSNS_PIN = 1 [18:44:11]*** CUTSNS_PIN = 0 [18:44:11]*** Brake cut motor [18:44:11]Read from MH i2c: 01 [18:44:11]MH_I2C_Read... [18:44:11]*** Stop cut motor [18:44:11]*** Cut end [18:44:11]Read from MH i2c: 01 07 00 [18:44:11]MH_I2C_Read... [18:44:11]Read from MH i2c: 01 07 00 28 2B 00 00 00 00 00 FF 0F 68 [18:44:11]process_action close_receipt done [18:44:11]requested_data is exist [18:44:11]produce_requested_data [18:44:11]requested_item fm.sn is exist - process it [18:44:11]wFMCommunicate request_size=4 [18:44:11]MH_SAM_APDU [18:44:11]CAPDU: 80 11 00 00 [18:44:11]Write to MH i2c: E2 08 00 29 2B 80 11 00 00 00 00 00 00 CE [18:44:11]Write i2c OK [18:44:11]MH_I2C_Read... [18:44:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:44:11]Read from MH i2c: E2 [18:44:11]MH_I2C_Read... [18:44:11]Read from MH i2c: E2 17 00 [18:44:11]MH_I2C_Read... [18:44:11]Read from MH i2c: E2 17 00 29 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 20 [18:44:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:44:11]wFMCommunicate OK [18:44:11]requested_item fd.num is exist - process it [18:44:11]SAM_PROTO_GetFieldsCounters [18:44:11]wFMCommunicate request_size=4 [18:44:11]MH_SAM_APDU [18:44:11]CAPDU: 80 13 00 00 [18:44:11]Write to MH i2c: E2 08 00 2A 2B 80 13 00 00 00 00 00 00 D1 [18:44:11]Write i2c OK [18:44:11]MH_I2C_Read... [18:44:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:44:12]Read from MH i2c: E2 [18:44:12]MH_I2C_Read... [18:44:12]Read from MH i2c: E2 62 00 [18:44:12]MH_I2C_Read... [18:44:12]Read from MH i2c: E2 62 00 2A 2B 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 38 56 00 00 0E 04 04 00 44 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 6A [18:44: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 38 56 00 00 0E 04 04 00 44 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 [18:44:12]wFMCommunicate OK [18:44:12]SAM_PROTO_GetFieldsCounters done [18:44:12]requested_item shift.num is exist - process it [18:44:12]requested_item shift.opened is exist - process it [18:44:12]req_shift_opened [18:44:12]FM_GetShiftState [18:44:12]SAM_PROTO_GetShiftState [18:44:12]wFMCommunicate request_size=4 [18:44:12]MH_SAM_APDU [18:44:12]CAPDU: 80 13 01 00 [18:44:12]Write to MH i2c: E2 08 00 2B 2B 80 13 01 00 00 00 00 00 D3 [18:44:12]Write i2c OK [18:44:12]MH_I2C_Read... [18:44:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:44:12]Read from MH i2c: E2 [18:44:12]MH_I2C_Read... [18:44:12]Read from MH i2c: E2 0E 00 [18:44:12]MH_I2C_Read... [18:44:12]Read from MH i2c: E2 0E 00 2B 2B 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 F1 [18:44:12]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:44:12]wFMCommunicate OK [18:44:12]SAM_PROTO_GetShiftState done [18:44:12]FM_GetShiftState done [18:44:12]req_shift_opened done [18:44:12]requested_item shift.open_date is exist - process it [18:44:12]req_shift_open_date [18:44:12]req_shift_open_date done [18:44:12]produce_requested_data done [18:44:12]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22072,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [18:44:12]process_action_free close_receipt [18:44:12]json_value_free [18:44:12]json_value_free done [18:44:12]process_json_proto returns [18:44:12]Send response to host [18:44:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22072,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [18:44:12]free response buf [18:44:12]execute_script done [18:44:12]execute_script returns [18:44:12]free content buf [18:44:12]Sock 9.Close socket [18:44:12]Sock 9.Thread stoped [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]OFD Sender: No OFD packet to send [18:46:00]OFD Sender: No OFD packet to send [18:46:05]OFD Sender: No OFD packet to send [18:46:10]OFD Sender: No OFD packet to send [18:46:15]OFD Sender: No OFD packet to send [18:46:20]OFD Sender: No OFD packet to send [18:46:25]OFD Sender: No OFD packet to send [18:46:30]OFD Sender: No OFD packet to send [18:46:35]OFD Sender: No OFD packet to send [18:46:40]OFD Sender: No OFD packet to send [18:46:45]OFD Sender: No OFD packet to send [18:46:50]OFD Sender: No OFD packet to send [18:46:55]OFD Sender: No OFD packet to send [18:47:00]OFD Sender: No OFD packet to send [18:47:05]OFD Sender: No OFD packet to send [18:47:10]OFD Sender: No OFD packet to send [18:47:15]OFD Sender: No OFD packet to send [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:40]OFD Sender: No OFD packet to send [18:47:45]OFD Sender: No OFD packet to send [18:47:50]OFD Sender: No OFD packet to send [18:47:55]OFD Sender: No OFD packet to send [18:48:00]OFD Sender: No OFD packet to send [18:48:05]OFD Sender: No OFD packet to send [18:48:10]OFD Sender: No OFD packet to send [18:48:15]OFD Sender: No OFD packet to send [18:48:20]OFD Sender: No OFD packet to send [18:48:26]OFD Sender: No OFD packet to send [18:48:31]OFD Sender: No OFD packet to send [18:48:36]OFD Sender: No OFD packet to send [18:48:41]OFD Sender: No OFD packet to send [18:48:46]OFD Sender: No OFD packet to send [18:48:51]OFD Sender: No OFD packet to send [18:48:56]OFD Sender: No OFD packet to send [18:49:01]OFD Sender: No OFD packet to send [18:49:03]accept exits with 8 [18:49:03]New connection [18:49:03]New thread 3067321700 created [18:49:03]Thread 3067178340 joined [18:49:03]Waiting for new connection... [18:49:03] Sock 8.Parse request [18:49:03]Sock 8.Check first char [18:49:03]Sock 8.First char is OK [18:49:03]request: POST /json_proto HTTP/1.0 [18:49:03]Method: POST [18:49:03]URL: /json_proto [18:49:03]Method is POST - this is cgi request [18:49:03]url: /json_proto [18:49:03]query_string will be loaded in cgi processing [18:49:03]execute_cgi json_proto POST (null) [18:49:03]execute_cgi path=json_proto method=POST [18:49:03]POST find Content-Length [18:49:03]Host: 172.17.35.133:8080 [18:49:03]Content-Length: 1509 [18:49:03]Content-Type: application/json [18:49:03] [18:49:03]POST finish read [18:49:03]Found Content-Length = 1509 [18:49:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254299", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 2.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 2.000, "sum" : 82.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" : 259.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:49:03]execute_script... [18:49: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)254299", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 2.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 2.000, "sum" : 82.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" : 259.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:49:03]POST & json_proto [18:49:03]process_json_proto [18:49:03]json parsed OK: [18:49:03]protocol is kg_v1.0 [18:49:03]action value=close_receipt [18:49:03]process_action close_receipt [18:49:03]cmd_close_receipt [18:49:03]MH_GetDate [18:49:03]Write to MH i2c: F0 00 00 2C 2B 46 [18:49:03]Write i2c OK [18:49:03]MH_I2C_Read... [18:49:03]Read from MH i2c: F0 [18:49:03]MH_I2C_Read... [18:49:03]Read from MH i2c: F0 09 00 [18:49:03]MH_I2C_Read... [18:49:03]Read from MH i2c: F0 09 00 2C 2B 00 29 3F 6B 66 8C 55 28 65 F6 [18:49:03]GetLastDocTimeStamp 1718304258 [18:49:03]current date 1718304553 [18:49:03]FM_GetShiftState [18:49:03]SAM_PROTO_GetShiftState [18:49:03]wFMCommunicate request_size=4 [18:49:03]MH_SAM_APDU [18:49:03]CAPDU: 80 13 01 00 [18:49:03]Write to MH i2c: E2 08 00 2D 2B 80 13 01 00 00 00 00 00 D5 [18:49:03]Write i2c OK [18:49:03]MH_I2C_Read... [18:49:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:49:03]Read from MH i2c: E2 [18:49:03]MH_I2C_Read... [18:49:03]Read from MH i2c: E2 0E 00 [18:49:03]MH_I2C_Read... [18:49:03]Read from MH i2c: E2 0E 00 2D 2B 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 F3 [18:49:03]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:49:03]wFMCommunicate OK [18:49:03]SAM_PROTO_GetShiftState done [18:49:03]FM_GetShiftState done [18:49:03]opened in 1718237959 [18:49:03]opened+sec_in_day 1718324359 [18:49:03]quantity*price = 9500 [18:49:03]sum+1 = 9501 [18:49:03]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607010740757 Чипсы Чипсоны сметана, лук 40г 2.000 * 41.00 = 82.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607010740733 Чипсы Чипсоны шашлык 40г 2.000 * 41.00 = 82.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 259.00 НСП 1% : 2.30 НДС 12% : 27.51 Наличными: 0.00 Безнал.: 259.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 53 13.06.2024 18:49 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22073 ФПД: 183119349790846 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T184914&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22073&fm=183119349790846&tin=02508201610067®Number=0000000000099755&sum=25900 0 [18:49:04]StoreToDocumentArchive [18:49:04]shift 324 fd 22073 [18:49:04]save to /storage/0324/doc_00022073 [18:49:04]save last doc name /storage/0324/doc_00022073 to /storage/kkm_last_doc_name [18:49:04]save OK [18:49:04]Clear old archive folders... [18:49:04]ProcessDocumentItem done err = 0, tmpTLVsize=542 [18:49:04]tlvbuf is 0032E1C0 [18:49:04]SAM_PROTO_ClearQueue [18:49:04]wFMCommunicate request_size=4 [18:49:04]MH_SAM_APDU [18:49:04]CAPDU: 80 09 00 00 [18:49:04]Write to MH i2c: E2 08 00 3A 2B 80 09 00 00 00 00 00 00 D7 [18:49:04]Write i2c OK [18:49:04]MH_I2C_Read... [18:49:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:49:05]Read from MH i2c: E2 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 3A 2B 00 90 00 D9 [18:49:05]RAPDU: 90 00 [18:49:05]wFMCommunicate OK [18:49:05]SAM_PROTO_ClearQueue done [18:49:05]KKMCreateOFDPacket [18:49:05]OFDProtocolAddRootSTLVToBuf [18:49:05]FM_MakeSignedData [18:49:05]FM_MakeSignedData [18:49:05]SAM_PROTO_SignData [18:49:05]wFMCommunicate request_size=4 [18:49:05]MH_SAM_APDU [18:49:05]CAPDU: 80 0D 01 02 [18:49:05]Write to MH i2c: E2 08 00 3B 2B 80 0D 01 02 00 00 00 00 DF [18:49:05]Write i2c OK [18:49:05]MH_I2C_Read... [18:49:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:49:05]Read from MH i2c: E2 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 3B 2B 00 90 00 DA [18:49:05]RAPDU: 90 00 [18:49:05]wFMCommunicate OK [18:49:05]wFMCommunicate request_size=255 [18:49:05]MH_SAM_APDU [18:49:05]CAPDU: 80 0D 02 02 FA 03 00 1E 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 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 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 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 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 [18:49:05]Write to MH i2c: E2 02 01 3C 2B 80 0D 02 02 FA 00 03 00 1E 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 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 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 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 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 00 43 [18:49:05]Write i2c OK [18:49:05]MH_I2C_Read... [18:49:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:49:05]Read from MH i2c: E2 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 3C 2B 00 90 00 DB [18:49:05]RAPDU: 90 00 [18:49:05]wFMCommunicate OK [18:49:05]wFMCommunicate request_size=255 [18:49:05]MH_SAM_APDU [18:49:05]CAPDU: 80 0D 02 02 FA 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 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 BF 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 2A 3F 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [18:49:05]Write to MH i2c: E2 02 01 3D 2B 80 0D 02 02 FA 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 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 BF 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 2A 3F 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 CC [18:49:05]Write i2c OK [18:49:05]MH_I2C_Read... [18:49:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:49:05]Read from MH i2c: E2 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 3D 2B 00 90 00 DC [18:49:05]RAPDU: 90 00 [18:49:05]wFMCommunicate OK [18:49:05]wFMCommunicate request_size=51 [18:49:05]MH_SAM_APDU [18:49:05]CAPDU: 80 0D 02 02 2E 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 39 56 00 00 35 04 06 00 A6 8B CB CB B8 7E [18:49:05]Write to MH i2c: E2 36 00 3E 2B 80 0D 02 02 2E 00 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 39 56 00 00 35 04 06 00 A6 8B CB CB B8 7E 00 00 09 [18:49:05]Write i2c OK [18:49:05]MH_I2C_Read... [18:49:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:49:05]Read from MH i2c: E2 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 03 00 3E 2B 00 90 00 DD [18:49:05]RAPDU: 90 00 [18:49:05]wFMCommunicate OK [18:49:05]wFMCommunicate request_size=4 [18:49:05]MH_SAM_APDU [18:49:05]CAPDU: 80 0D 03 02 [18:49:05]Write to MH i2c: E2 08 00 3F 2B 80 0D 03 02 00 00 00 00 E5 [18:49:05]Write i2c OK [18:49:05]MH_I2C_Read... [18:49:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:49:05]Read from MH i2c: E2 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 0B 00 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 0B 00 3F 2B 00 D7 17 AC 00 4F 42 31 C8 90 00 0A [18:49:05]RAPDU: D7 17 AC 00 4F 42 31 C8 90 00 [18:49:05]wFMCommunicate OK [18:49:05]SAM_PROTO_SignData done [18:49:05]FM_MakeSignedData done [18:49:05]CreateOFDProtocolMessage [18:49:05]wFMCommunicate request_size=4 [18:49:05]MH_SAM_APDU [18:49:05]CAPDU: 80 11 00 00 [18:49:05]Write to MH i2c: E2 08 00 40 2B 80 11 00 00 00 00 00 00 E5 [18:49:05]Write i2c OK [18:49:05]MH_I2C_Read... [18:49:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:49:05]Read from MH i2c: E2 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 17 00 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: E2 17 00 40 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 37 [18:49:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:49:05]wFMCommunicate OK [18:49:05]CreateOFDProtocolMessage done [18:49:05]OFDSenderStorePacket 22073 [18:49:05]StoreOFDPacket docnum=22073 [18:49:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 32 02 00 00 D4 1F 2A 02 03 97 5A 03 01 00 03 00 1E 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 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 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 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 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 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 BF 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 2A 3F 6B 66 0E 04 04 00 44 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 39 56 00 00 35 04 06 00 A6 8B CB CB B8 7E D7 17 AC 00 4F 42 31 C8 [18:49:05]CheckFolder [18:49:05]dirname=/storage/ofd_packets [18:49:05]CheckFolder done [18:49:05]ProducePacketName [18:49:05]name=ofd_packets/00022073 [18:49:05]NVStorageSaveData ofd_packets/00022073 [18:49:05]File name is /storage/ofd_packets/00022073 [18:49:05]Write 592 bytes [18:49:05]NVStorageSaveData done [18:49:05]OFDSenderStorePacket done [18:49:05]KKMCreateOFDPacket done [18:49:05]NVStorageSaveData kkm_last_timestamp [18:49:05]File name is /storage/kkm_last_timestamp [18:49:05]Write 4 bytes [18:49:05]NVStorageSaveData done [18:49:05]ExternCall_PrintAddStr [18:49:05]wPrintStart [18:49:05]Write to MH i2c: 01 00 00 41 2B 6C [18:49:05]Write i2c OK [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: 01 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: 01 07 00 [18:49:05]MH_I2C_Read... [18:49:05]Read from MH i2c: 01 07 00 41 2B 00 00 00 00 00 FF 0F 81 [18:49:05]RasterBufferAndPrint [18:49:05]line Счет N : (3)254299 [18:49:05]line ИНН: 02508201610067 [18:49:05]line Контрольно-Кассовый Чек [18:49:05]line ПРОДАЖА [18:49:05]line Товар: 4700003010087 [18:49:05]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [18:49:05]line 1.000 * 95.00 [18:49:05]line = 95.00 [18:49:05]line НДС 12% НСП 1% [18:49:05]line > о реализуемом товаре [18:49:05]line Товар: 4607010740757 [18:49:05]line Чипсы Чипсоны сметана, лук 40г [18:49:05]line 2.000 * 41.00 [18:49:05]line = 82.00 [18:49:05]line НДС 12% НСП 1% [18:49:06]line > о реализуемом товаре [18:49:06]line Товар: 4607010740733 [18:49:06]line Чипсы Чипсоны шашлык 40г [18:49:06]line 2.000 * 41.00 [18:49:06]line = 82.00 [18:49:06]line НДС 12% НСП 1% [18:49:06]line > о реализуемом товаре [18:49:06]line ИТОГО: 259.00 [18:49:06]line НСП 1% : 2.30 [18:49:06]line НДС 12% : 27.51 [18:49:06]line Наличными: 0.00 [18:49:06]line Безнал.: 259.00 [18:49:06]line Место: АЗС № 76 "Партнер Нефть" [18:49:06]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:49:06]line СНО: Общий режим [18:49:06]line Чек 53 13.06.2024 18:49 [18:49:06]line Смена: 324 ФФД: 1.0 [18:49:06]line ЗНМ: 0300000200 [18:49:06]line РНМ: 0000000000099755 [18:49:06]line Версия ККМ: 001 [18:49:06]line Платежная система: АКБ Кыргызстан [18:49:06]line ФМ: 0000000000965344 [18:49:06]line ФД: 22073 [18:49:06]line ФПД: 183119349790846 [18:49:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T184914&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22073&fm=183119349790846&tin=02508201610067®Number=0000000000099755&sum=25900 [18:49:06]line 0 [18:49:06]OFD Sender: Processing packet 22073 [packets to send 5, broken 4] [18:49:06]ProducePacketName [18:49:06]name=ofd_packets/00022073 [18:49:06]OFD Sender: To server: pG, [18:49:06]CommunicateWithHost lk.salyk.kg:30040 [18:49:06]ConnectInit lk.salyk.kg [18:49:06]written 0, free lines is 4095 [18:49:06]Connected sock=10 [18:49: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 32 02 00 00 D4 1F 2A 02 03 97 5A 03 01 00 03 00 1E 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 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 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 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 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 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 BF 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 2A 3F 6B 66 0E 04 04 00 44 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 39 56 00 00 35 04 06 00 A6 8B CB CB B8 7E D7 17 AC 00 4F 42 31 C8 [18:49: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 4D 59 47 00 F9 EC 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 39 56 00 00 F4 03 04 00 EC E7 6A 66 B6 04 01 00 00 DF E6 57 B8 D2 74 FC 8A [18:49:06]CommunicateWithHost err = 0 [18:49:06]CheckOFDResponse [18:49:06]1017 (14) - 77093643461234 [18:49:06]1041 (16) - 0000000000965344 [18:49:06]1040 (4) - 22073 [18:49:06]1012 (4) - 13.06.2024 12:37 [18:49:06]1206 (1) - 0 [18:49:06]OFD Sender: Remove packet 22073 [18:49:06]ProducePacketName [18:49:06]name=ofd_packets/00022073 [18:49:06]NVStorageDeleteData [18:49:06]Write to MH i2c: 01 00 00 79 2B A4 [18:49:06]Write i2c OK [18:49:06]MH_I2C_Read... [18:49:06]Read from MH i2c: 01 [18:49:06]MH_I2C_Read... [18:49:06]Read from MH i2c: 01 07 00 [18:49:06]MH_I2C_Read... [18:49:06]Read from MH i2c: 01 07 00 79 2B 00 00 00 00 00 52 0C 09 [18:49:06]RasterBufferAndPrint [18:49:06]line [18:49:06]line [18:49:06]line [18:49:06]line [18:49:06]line [18:49:06]written 0, free lines is 3163 [18:49:06]MH_Cut [18:49:06]Write to MH i2c: D1 01 00 80 2B 01 7D [18:49:06]Write i2c OK [18:49:06]MH_I2C_Read... [18:49:06]Read from MH i2c: D1 [18:49:06]MH_I2C_Read... [18:49:06]Read from MH i2c: D1 01 00 [18:49:06]MH_I2C_Read... [18:49:06]Read from MH i2c: D1 01 00 80 2B 00 7C [18:49:06]Write to MH i2c: 01 00 00 81 2B AC [18:49:06]Write i2c OK [18:49:06]MH_I2C_Read... [18:49:07]OFD Sender: No OFD packet to send [18:49:07]*** Cut start [18:49:07]*** Partial cut [18:49:07]*** CUTSNS_PIN = 1 [18:49:07]*** CUTSNS_PIN = 0 [18:49:07]*** Brake cut motor [18:49:08]Read from MH i2c: 01 [18:49:08]MH_I2C_Read... [18:49:08]*** Stop cut motor [18:49:08]*** Cut end [18:49:08]Read from MH i2c: 01 07 00 [18:49:08]MH_I2C_Read... [18:49:08]Read from MH i2c: 01 07 00 81 2B 00 00 00 00 00 FF 0F C1 [18:49:08]process_action close_receipt done [18:49:08]requested_data is exist [18:49:08]produce_requested_data [18:49:08]requested_item fm.sn is exist - process it [18:49:08]wFMCommunicate request_size=4 [18:49:08]MH_SAM_APDU [18:49:08]CAPDU: 80 11 00 00 [18:49:08]Write to MH i2c: E2 08 00 82 2B 80 11 00 00 00 00 00 00 27 [18:49:08]Write i2c OK [18:49:08]MH_I2C_Read... [18:49:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:49:08]Read from MH i2c: E2 [18:49:08]MH_I2C_Read... [18:49:08]Read from MH i2c: E2 17 00 [18:49:08]MH_I2C_Read... [18:49:08]Read from MH i2c: E2 17 00 82 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 79 [18:49:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:49:08]wFMCommunicate OK [18:49:08]requested_item fd.num is exist - process it [18:49:08]SAM_PROTO_GetFieldsCounters [18:49:08]wFMCommunicate request_size=4 [18:49:08]MH_SAM_APDU [18:49:08]CAPDU: 80 13 00 00 [18:49:08]Write to MH i2c: E2 08 00 83 2B 80 13 00 00 00 00 00 00 2A [18:49:08]Write i2c OK [18:49:08]MH_I2C_Read... [18:49:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:49:08]Read from MH i2c: E2 [18:49:08]MH_I2C_Read... [18:49:08]Read from MH i2c: E2 62 00 [18:49:08]MH_I2C_Read... [18:49:08]Read from MH i2c: E2 62 00 83 2B 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 39 56 00 00 0E 04 04 00 44 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 C7 [18:49: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 39 56 00 00 0E 04 04 00 44 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 [18:49:08]wFMCommunicate OK [18:49:08]SAM_PROTO_GetFieldsCounters done [18:49:08]requested_item shift.num is exist - process it [18:49:08]requested_item shift.opened is exist - process it [18:49:08]req_shift_opened [18:49:08]FM_GetShiftState [18:49:08]SAM_PROTO_GetShiftState [18:49:08]wFMCommunicate request_size=4 [18:49:08]MH_SAM_APDU [18:49:08]CAPDU: 80 13 01 00 [18:49:08]Write to MH i2c: E2 08 00 84 2B 80 13 01 00 00 00 00 00 2C [18:49:08]Write i2c OK [18:49:08]MH_I2C_Read... [18:49:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:49:08]Read from MH i2c: E2 [18:49:08]MH_I2C_Read... [18:49:08]Read from MH i2c: E2 0E 00 [18:49:08]MH_I2C_Read... [18:49:08]Read from MH i2c: E2 0E 00 84 2B 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 4A [18:49:08]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [18:49:08]wFMCommunicate OK [18:49:08]SAM_PROTO_GetShiftState done [18:49:08]FM_GetShiftState done [18:49:08]req_shift_opened done [18:49:08]requested_item shift.open_date is exist - process it [18:49:08]req_shift_open_date [18:49:08]req_shift_open_date done [18:49:08]produce_requested_data done [18:49:08]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22073,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [18:49:08]process_action_free close_receipt [18:49:08]json_value_free [18:49:08]json_value_free done [18:49:08]process_json_proto returns [18:49:08]Send response to host [18:49:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22073,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [18:49:08]free response buf [18:49:08]execute_script done [18:49:08]execute_script returns [18:49:08]free content buf [18:49:08]Sock 8.Close socket [18:49:08]Sock 8.Thread stoped [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:22]OFD Sender: No OFD packet to send [18:49:27]OFD Sender: No OFD packet to send [18:49:32]OFD Sender: No OFD packet to send [18:49:37]OFD Sender: No OFD packet to send [18:49:42]OFD Sender: No OFD packet to send [18:49:47]OFD Sender: No OFD packet to send [18:49:52]OFD Sender: No OFD packet to send [18:49:57]OFD Sender: No OFD packet to send [18:50:02]OFD Sender: No OFD packet to send [18:50:07]OFD Sender: No OFD packet to send [18:50:12]OFD Sender: No OFD packet to send [18:50:17]OFD Sender: No OFD packet to send [18:50:22]OFD Sender: No OFD packet to send [18:50:27]OFD Sender: No OFD packet to send [18:50:32]OFD Sender: No OFD packet to send [18:50:37]OFD Sender: No OFD packet to send [18:50:42]OFD Sender: No OFD packet to send [18:50:47]OFD Sender: No OFD packet to send [18:50:52]OFD Sender: No OFD packet to send [18:50:57]OFD Sender: No OFD packet to send [18:51:02]OFD Sender: No OFD packet to send [18:51:07]OFD Sender: No OFD packet to send [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:52]OFD Sender: No OFD packet to send [18:58:57]OFD Sender: No OFD packet to send [18:59:02]OFD Sender: No OFD packet to send [18:59:07]OFD Sender: No OFD packet to send [18:59:12]OFD Sender: No OFD packet to send [18:59:17]OFD Sender: No OFD packet to send [18:59:22]OFD Sender: No OFD packet to send [18:59:27]OFD Sender: No OFD packet to send [18:59:32]OFD Sender: No OFD packet to send [18:59:37]OFD Sender: No OFD packet to send [18:59:42]OFD Sender: No OFD packet to send [18:59:47]OFD Sender: No OFD packet to send [18:59:52]OFD Sender: No OFD packet to send [18:59:57]OFD Sender: No OFD packet to send [19:00:02]OFD Sender: No OFD packet to send [19:00:07]OFD Sender: No OFD packet to send [19:00:12]OFD Sender: No OFD packet to send [19:00:17]OFD Sender: No OFD packet to send [19:00:22]OFD Sender: No OFD packet to send [19:00:27]OFD Sender: No OFD packet to send [19:00:30]accept exits with 9 [19:00:30]New connection [19:00:30]New thread 3067178340 created [19:00:30]Thread 3067321700 joined [19:00:30]Waiting for new connection... [19:00:30] Sock 9.Parse request [19:00:30]Sock 9.Check first char [19:00:30]Sock 9.First char is OK [19:00:30]request: POST /json_proto HTTP/1.0 [19:00:30]Method: POST [19:00:30]URL: /json_proto [19:00:30]Method is POST - this is cgi request [19:00:30]url: /json_proto [19:00:30]query_string will be loaded in cgi processing [19:00:30]execute_cgi json_proto POST (null) [19:00:30]execute_cgi path=json_proto method=POST [19:00:30]POST find Content-Length [19:00:30]Host: 172.17.35.133:8080 [19:00:30]Content-Length: 683 [19:00:30]Content-Type: application/json [19:00:30] [19:00:30]POST finish read [19:00:30]Found Content-Length = 683 [19:00:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1609742", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 72.10, "quantity" : 9.900, "sum" : 713.79, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 865.00, "total" : 713.00, "payments": [ { "type": 0, "sum" : 713.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:30]execute_script... [19:00: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 : (1)1609742", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 72.10, "quantity" : 9.900, "sum" : 713.79, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 865.00, "total" : 713.00, "payments": [ { "type": 0, "sum" : 713.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:30]POST & json_proto [19:00:30]process_json_proto [19:00:30]json parsed OK: [19:00:30]protocol is kg_v1.0 [19:00:30]action value=close_receipt [19:00:30]process_action close_receipt [19:00:30]cmd_close_receipt [19:00:30]MH_GetDate [19:00:30]Write to MH i2c: F0 00 00 85 2B 9F [19:00:30]Write i2c OK [19:00:30]MH_I2C_Read... [19:00:30]Read from MH i2c: F0 [19:00:30]MH_I2C_Read... [19:00:30]Read from MH i2c: F0 09 00 [19:00:30]MH_I2C_Read... [19:00:30]Read from MH i2c: F0 09 00 85 2B 00 D9 41 6B 66 8C 55 28 65 01 [19:00:30]GetLastDocTimeStamp 1718304554 [19:00:30]current date 1718305241 [19:00:30]FM_GetShiftState [19:00:30]SAM_PROTO_GetShiftState [19:00:30]wFMCommunicate request_size=4 [19:00:30]MH_SAM_APDU [19:00:30]CAPDU: 80 13 01 00 [19:00:30]Write to MH i2c: E2 08 00 86 2B 80 13 01 00 00 00 00 00 2E [19:00:30]Write i2c OK [19:00:30]MH_I2C_Read... [19:00:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:30]Read from MH i2c: E2 [19:00:30]MH_I2C_Read... [19:00:30]Read from MH i2c: E2 0E 00 [19:00:30]MH_I2C_Read... [19:00:30]Read from MH i2c: E2 0E 00 86 2B 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 4C [19:00:30]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [19:00:30]wFMCommunicate OK [19:00:30]SAM_PROTO_GetShiftState done [19:00:30]FM_GetShiftState done [19:00:30]opened in 1718237959 [19:00:30]opened+sec_in_day 1718324359 [19:00:30]quantity*price = 71379 [19:00:30]sum+1 = 71380 [19:00:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.79 ИТОГО: 713.00 Внесено: 865.00 СДАЧА: 152.00 НСП 1% : 6.32 НДС 12% : 75.80 Наличными: 713.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 54 13.06.2024 19:00 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22074 ФПД: 122582911776511 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T190041&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22074&fm=122582911776511&tin=02508201610067®Number=0000000000099755&sum=71300 [19:00:32]StoreToDocumentArchive [19:00:32]shift 324 fd 22074 [19:00:32]save to /storage/0324/doc_00022074 [19:00:32]save last doc name /storage/0324/doc_00022074 to /storage/kkm_last_doc_name [19:00:32]save OK [19:00:32]Clear old archive folders... [19:00:32]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:00:32]tlvbuf is 00229ED0 [19:00:32]SAM_PROTO_ClearQueue [19:00:32]wFMCommunicate request_size=4 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 09 00 00 [19:00:32]Write to MH i2c: E2 08 00 93 2B 80 09 00 00 00 00 00 00 30 [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:00:32]Read from MH i2c: E2 03 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 93 2B 00 90 00 32 [19:00:32]RAPDU: 90 00 [19:00:32]wFMCommunicate OK [19:00:32]SAM_PROTO_ClearQueue done [19:00:32]KKMCreateOFDPacket [19:00:32]OFDProtocolAddRootSTLVToBuf [19:00:32]FM_MakeSignedData [19:00:32]FM_MakeSignedData [19:00:32]SAM_PROTO_SignData [19:00:32]wFMCommunicate request_size=4 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 0D 01 02 [19:00:32]Write to MH i2c: E2 08 00 94 2B 80 0D 01 02 00 00 00 00 38 [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 94 2B 00 90 00 33 [19:00:32]RAPDU: 90 00 [19:00:32]wFMCommunicate OK [19:00:32]wFMCommunicate request_size=255 [19:00:32]MH_SAM_APDU [19:00:32]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 AC 26 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 D3 16 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 16 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 1D 00 00 00 00 07 04 06 00 84 16 01 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 D9 41 6B 66 0E 04 04 00 44 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 3A 56 00 00 35 04 06 00 [19:00:32]Write to MH i2c: E2 02 01 95 2B 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 AC 26 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 D3 16 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 16 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 1D 00 00 00 00 07 04 06 00 84 16 01 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 D9 41 6B 66 0E 04 04 00 44 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 3A 56 00 00 35 04 06 00 00 00 E6 [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 95 2B 00 90 00 34 [19:00:32]RAPDU: 90 00 [19:00:32]wFMCommunicate OK [19:00:32]wFMCommunicate request_size=11 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 0D 02 02 06 6F 7D 0E E9 76 FF [19:00:32]Write to MH i2c: E2 0E 00 96 2B 80 0D 02 02 06 00 6F 7D 0E E9 76 FF 00 00 9F [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 96 2B 00 90 00 35 [19:00:32]RAPDU: 90 00 [19:00:32]wFMCommunicate OK [19:00:32]wFMCommunicate request_size=4 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 0D 03 02 [19:00:32]Write to MH i2c: E2 08 00 97 2B 80 0D 03 02 00 00 00 00 3D [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 0B 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 0B 00 97 2B 00 1E 2D 92 78 E1 28 DE 2A 90 00 A4 [19:00:32]RAPDU: 1E 2D 92 78 E1 28 DE 2A 90 00 [19:00:32]wFMCommunicate OK [19:00:32]SAM_PROTO_SignData done [19:00:32]FM_MakeSignedData done [19:00:32]CreateOFDProtocolMessage [19:00:32]wFMCommunicate request_size=4 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 11 00 00 [19:00:32]Write to MH i2c: E2 08 00 98 2B 80 11 00 00 00 00 00 00 3D [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]OFD Sender: No OFD packet to send [19:00:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 17 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 17 00 98 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8F [19:00:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:00:32]wFMCommunicate OK [19:00:32]CreateOFDProtocolMessage done [19:00:32]OFDSenderStorePacket 22074 [19:00:32]StoreOFDPacket docnum=22074 [19:00: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 10 01 00 00 CA 67 08 01 D8 DB 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 AC 26 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 D3 16 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 16 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 1D 00 00 00 00 07 04 06 00 84 16 01 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 D9 41 6B 66 0E 04 04 00 44 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 3A 56 00 00 35 04 06 00 6F 7D 0E E9 76 FF 1E 2D 92 78 E1 28 DE 2A [19:00:32]CheckFolder [19:00:32]dirname=/storage/ofd_packets [19:00:32]CheckFolder done [19:00:32]ProducePacketName [19:00:32]name=ofd_packets/00022074 [19:00:32]NVStorageSaveData ofd_packets/00022074 [19:00:32]File name is /storage/ofd_packets/00022074 [19:00:32]Write 302 bytes [19:00:32]NVStorageSaveData done [19:00:32]OFDSenderStorePacket done [19:00:32]KKMCreateOFDPacket done [19:00:32]NVStorageSaveData kkm_last_timestamp [19:00:32]File name is /storage/kkm_last_timestamp [19:00:32]Write 4 bytes [19:00:32]NVStorageSaveData done [19:00:32]ExternCall_PrintAddStr [19:00:32]wPrintStart [19:00:32]Write to MH i2c: 01 00 00 99 2B C4 [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: 01 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: 01 07 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: 01 07 00 99 2B 00 00 00 00 00 FF 0F D9 [19:00:32]RasterBufferAndPrint [19:00:32]line Счет N : (1)1609742 [19:00:32]line ИНН: 02508201610067 [19:00:32]line Контрольно-Кассовый Чек [19:00:32]line ПРОДАЖА [19:00:32]line ТРК (МРК, ГНК) : 12 [19:00:32]line Товар: 2710194210 [19:00:32]line ДТ(л)-К-4 [19:00:32]line 9.900 * 72.10 [19:00:32]line = 713.79 [19:00:32]line НДС 12% НСП 1% [19:00:32]line > о реализуемом товаре [19:00:32]line ОКРУГЛЕНИЕ: -0.79 [19:00:32]line ИТОГО: 713.00 [19:00:32]line Внесено: 865.00 [19:00:32]line СДАЧА: 152.00 [19:00:32]line НСП 1% : 6.32 [19:00:32]line НДС 12% : 75.80 [19:00:32]line Наличными: 713.00 [19:00:32]line Безнал.: 0.00 [19:00:32]line Место: АЗС № 76 "Партнер Нефть" [19:00:32]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:00:32]line СНО: Общий режим [19:00:32]line Чек 54 13.06.2024 19:00 [19:00:32]line Смена: 324 ФФД: 1.0 [19:00:32]line ЗНМ: 0300000200 [19:00:32]line РНМ: 0000000000099755 [19:00:32]line Версия ККМ: 001 [19:00:32]line ФМ: 0000000000965344 [19:00:32]line ФД: 22074 [19:00:32]line ФПД: 122582911776511 [19:00:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T190041&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22074&fm=122582911776511&tin=02508201610067®Number=0000000000099755&sum=71300 [19:00:32]written 0, free lines is 4095 [19:00:32]OFD Sender: Processing packet 22074 [packets to send 5, broken 4] [19:00:32]ProducePacketName [19:00:32]name=ofd_packets/00022074 [19:00:32]OFD Sender: To server: pG, [19:00:32]CommunicateWithHost lk.salyk.kg:30040 [19:00:32]ConnectInit lk.salyk.kg [19:00:32]Connected sock=10 [19:00: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 10 01 00 00 CA 67 08 01 D8 DB 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 AC 26 00 00 00 00 00 37 04 06 00 2A 1C 00 00 00 00 13 04 06 00 D3 16 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 16 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 1D 00 00 00 00 07 04 06 00 84 16 01 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 D9 41 6B 66 0E 04 04 00 44 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 3A 56 00 00 35 04 06 00 6F 7D 0E E9 76 FF 1E 2D 92 78 E1 28 DE 2A [19:00: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 7F 51 47 00 51 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 3A 56 00 00 F4 03 04 00 9B EA 6A 66 B6 04 01 00 00 84 1D 2D 2D 0B B9 01 95 [19:00:32]CommunicateWithHost err = 0 [19:00:32]CheckOFDResponse [19:00:32]1017 (14) - 77093643461234 [19:00:32]1041 (16) - 0000000000965344 [19:00:32]1040 (4) - 22074 [19:00:32]1012 (4) - 13.06.2024 12:48 [19:00:32]1206 (1) - 0 [19:00:32]OFD Sender: Remove packet 22074 [19:00:32]ProducePacketName [19:00:32]name=ofd_packets/00022074 [19:00:32]NVStorageDeleteData [19:00:33]Write to MH i2c: 01 00 00 C4 2B EF [19:00:33]Write i2c OK [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 07 00 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 07 00 C4 2B 00 00 00 00 00 FE 0C 00 [19:00:33]RasterBufferAndPrint [19:00:33]line [19:00:33]line [19:00:33]line [19:00:33]line [19:00:33]line [19:00:33]written 0, free lines is 3335 [19:00:33]MH_Cut [19:00:33]Write to MH i2c: D1 01 00 CB 2B 01 C8 [19:00:33]Write i2c OK [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: D1 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: D1 01 00 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: D1 01 00 CB 2B 00 C7 [19:00:33]Write to MH i2c: 01 00 00 CC 2B F7 [19:00:33]Write i2c OK [19:00:33]MH_I2C_Read... [19:00:33]OFD Sender: No OFD packet to send [19:00:33]*** Cut start [19:00:33]*** Partial cut [19:00:33]*** CUTSNS_PIN = 1 [19:00:33]*** CUTSNS_PIN = 0 [19:00:34]*** Brake cut motor [19:00:34]Read from MH i2c: 01 [19:00:34]MH_I2C_Read... [19:00:34]*** Stop cut motor [19:00:34]*** Cut end [19:00:34]Read from MH i2c: 01 07 00 [19:00:34]MH_I2C_Read... [19:00:34]Read from MH i2c: 01 07 00 CC 2B 00 00 00 00 00 FF 0F 0C [19:00:34]process_action close_receipt done [19:00:34]requested_data is exist [19:00:34]produce_requested_data [19:00:34]requested_item fm.sn is exist - process it [19:00:34]wFMCommunicate request_size=4 [19:00:34]MH_SAM_APDU [19:00:34]CAPDU: 80 11 00 00 [19:00:34]Write to MH i2c: E2 08 00 CD 2B 80 11 00 00 00 00 00 00 72 [19:00:34]Write i2c OK [19:00:34]MH_I2C_Read... [19:00:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:34]Read from MH i2c: E2 [19:00:34]MH_I2C_Read... [19:00:34]Read from MH i2c: E2 17 00 [19:00:34]MH_I2C_Read... [19:00:34]Read from MH i2c: E2 17 00 CD 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C4 [19:00:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:00:34]wFMCommunicate OK [19:00:34]requested_item fd.num is exist - process it [19:00:34]SAM_PROTO_GetFieldsCounters [19:00:34]wFMCommunicate request_size=4 [19:00:34]MH_SAM_APDU [19:00:34]CAPDU: 80 13 00 00 [19:00:34]Write to MH i2c: E2 08 00 CE 2B 80 13 00 00 00 00 00 00 75 [19:00:34]Write i2c OK [19:00:34]MH_I2C_Read... [19:00:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:34]Read from MH i2c: E2 [19:00:34]MH_I2C_Read... [19:00:34]Read from MH i2c: E2 62 00 [19:00:34]MH_I2C_Read... [19:00:34]Read from MH i2c: E2 62 00 CE 2B 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 3A 56 00 00 0E 04 04 00 44 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 [19:00: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 3A 56 00 00 0E 04 04 00 44 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 [19:00:34]wFMCommunicate OK [19:00:34]SAM_PROTO_GetFieldsCounters done [19:00:34]requested_item shift.num is exist - process it [19:00:34]requested_item shift.opened is exist - process it [19:00:34]req_shift_opened [19:00:34]FM_GetShiftState [19:00:34]SAM_PROTO_GetShiftState [19:00:34]wFMCommunicate request_size=4 [19:00:34]MH_SAM_APDU [19:00:34]CAPDU: 80 13 01 00 [19:00:34]Write to MH i2c: E2 08 00 CF 2B 80 13 01 00 00 00 00 00 77 [19:00:34]Write i2c OK [19:00:34]MH_I2C_Read... [19:00:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:34]Read from MH i2c: E2 [19:00:34]MH_I2C_Read... [19:00:34]Read from MH i2c: E2 0E 00 [19:00:34]MH_I2C_Read... [19:00:34]Read from MH i2c: E2 0E 00 CF 2B 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 95 [19:00:34]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [19:00:34]wFMCommunicate OK [19:00:34]SAM_PROTO_GetShiftState done [19:00:34]FM_GetShiftState done [19:00:34]req_shift_opened done [19:00:34]requested_item shift.open_date is exist - process it [19:00:34]req_shift_open_date [19:00:34]req_shift_open_date done [19:00:34]produce_requested_data done [19:00:34]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22074,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [19:00:34]process_action_free close_receipt [19:00:34]json_value_free [19:00:34]json_value_free done [19:00:34]process_json_proto returns [19:00:34]Send response to host [19:00:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22074,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [19:00:34]free response buf [19:00:34]execute_script done [19:00:34]execute_script returns [19:00:34]free content buf [19:00:34]Sock 9.Close socket [19:00:34]Sock 9.Thread stoped [19:00:38]OFD Sender: No OFD packet to send [19:00:43]OFD Sender: No OFD packet to send [19:00:48]OFD Sender: No OFD packet to send [19:00:53]OFD Sender: No OFD packet to send [19:00:58]OFD Sender: No OFD packet to send [19:01:03]OFD Sender: No OFD packet to send [19:01:08]OFD Sender: No OFD packet to send [19:01:13]OFD Sender: No OFD packet to send [19:01:18]OFD Sender: No OFD packet to send [19:01:23]OFD Sender: No OFD packet to send [19:01:28]OFD Sender: No OFD packet to send [19:01:33]OFD Sender: No OFD packet to send [19:01:38]OFD Sender: No OFD packet to send [19:01:43]OFD Sender: No OFD packet to send [19:01:48]OFD Sender: No OFD packet to send [19:01:53]OFD Sender: No OFD packet to send [19:01:58]OFD Sender: No OFD packet to send [19:02:03]OFD Sender: No OFD packet to send [19:02:08]OFD Sender: No OFD packet to send [19:02:13]OFD Sender: No OFD packet to send [19:02:18]OFD Sender: No OFD packet to send [19:02:23]OFD Sender: No OFD packet to send [19:02:28]OFD Sender: No OFD packet to send [19:02:33]OFD Sender: No OFD packet to send [19:02:38]OFD Sender: No OFD packet to send [19:02:43]OFD Sender: No OFD packet to send [19:02:48]OFD Sender: No OFD packet to send [19:02:53]OFD Sender: No OFD packet to send [19:02:58]OFD Sender: No OFD packet to send [19:03:03]OFD Sender: No OFD packet to send [19:03:08]OFD Sender: No OFD packet to send [19:03:13]OFD Sender: No OFD packet to send [19:03:18]OFD Sender: No OFD packet to send [19:03:23]OFD Sender: No OFD packet to send [19:03:28]OFD Sender: No OFD packet to send [19:03:33]OFD Sender: No OFD packet to send [19:03:38]OFD Sender: No OFD packet to send [19:03:43]OFD Sender: No OFD packet to send [19:03:48]OFD Sender: No OFD packet to send [19:03:53]OFD Sender: No OFD packet to send [19:03:58]OFD Sender: No OFD packet to send [19:04:03]OFD Sender: No OFD packet to send [19:04:08]OFD Sender: No OFD packet to send [19:04:13]OFD Sender: No OFD packet to send [19:04:18]OFD Sender: No OFD packet to send [19:04:23]OFD Sender: No OFD packet to send [19:04:28]OFD Sender: No OFD packet to send [19:04:33]OFD Sender: No OFD packet to send [19:04:38]OFD Sender: No OFD packet to send [19:04:43]OFD Sender: No OFD packet to send [19:04:48]OFD Sender: No OFD packet to send [19:04:53]OFD Sender: No OFD packet to send [19:04:58]OFD Sender: No OFD packet to send [19:05:03]OFD Sender: No OFD packet to send [19:05:08]OFD Sender: No OFD packet to send [19:05:13]OFD Sender: No OFD packet to send [19:05:17]accept exits with 8 [19:05:17]New connection [19:05:17]New thread 3067321700 created [19:05:17]Thread 3067178340 joined [19:05:17]Waiting for new connection... [19:05:17] Sock 8.Parse request [19:05:17]Sock 8.Check first char [19:05:17]Sock 8.First char is OK [19:05:17]request: POST /json_proto HTTP/1.0 [19:05:17]Method: POST [19:05:17]URL: /json_proto [19:05:17]Method is POST - this is cgi request [19:05:17]url: /json_proto [19:05:17]query_string will be loaded in cgi processing [19:05:17]execute_cgi json_proto POST (null) [19:05:17]execute_cgi path=json_proto method=POST [19:05:17]POST find Content-Length [19:05:17]Host: 172.17.35.133:8080 [19:05:17]Content-Length: 685 [19:05:17]Content-Type: application/json [19:05:17] [19:05:17]POST finish read [19:05:17]Found Content-Length = 685 [19:05:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254300", "tax_sys" : 0, "items" : [ { "code": "5449000002952", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,33 \u0436/\u0431", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:17]execute_script... [19:05: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)254300", "tax_sys" : 0, "items" : [ { "code": "5449000002952", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,33 \u0436/\u0431", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:17]POST & json_proto [19:05:17]process_json_proto [19:05:17]json parsed OK: [19:05:17]protocol is kg_v1.0 [19:05:17]action value=close_receipt [19:05:17]process_action close_receipt [19:05:17]cmd_close_receipt [19:05:17]MH_GetDate [19:05:17]Write to MH i2c: F0 00 00 D0 2B EA [19:05:17]Write i2c OK [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: F0 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: F0 09 00 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: F0 09 00 D0 2B 00 F7 42 6B 66 8C 55 28 65 6B [19:05:17]GetLastDocTimeStamp 1718305241 [19:05:17]current date 1718305527 [19:05:17]FM_GetShiftState [19:05:17]SAM_PROTO_GetShiftState [19:05:17]wFMCommunicate request_size=4 [19:05:17]MH_SAM_APDU [19:05:17]CAPDU: 80 13 01 00 [19:05:17]Write to MH i2c: E2 08 00 D1 2B 80 13 01 00 00 00 00 00 79 [19:05:17]Write i2c OK [19:05:17]MH_I2C_Read... [19:05:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:17]Read from MH i2c: E2 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: E2 0E 00 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: E2 0E 00 D1 2B 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 97 [19:05:17]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [19:05:17]wFMCommunicate OK [19:05:17]SAM_PROTO_GetShiftState done [19:05:17]FM_GetShiftState done [19:05:17]opened in 1718237959 [19:05:17]opened+sec_in_day 1718324359 [19:05:17]quantity*price = 18000 [19:05:17]sum+1 = 18001 [19:05:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 55 13.06.2024 19:05 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22075 ФПД: 94724837841428 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T190527&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22075&fm=94724837841428&tin=02508201610067®Number=0000000000099755&sum=18000 0 [19:05:18]StoreToDocumentArchive [19:05:18]shift 324 fd 22075 [19:05:18]save to /storage/0324/doc_00022075 [19:05:18]save last doc name /storage/0324/doc_00022075 to /storage/kkm_last_doc_name [19:05:18]save OK [19:05:18]Clear old archive folders... [19:05:18]ProcessDocumentItem done err = 0, tmpTLVsize=294 [19:05:18]tlvbuf is 00291E50 [19:05:18]SAM_PROTO_ClearQueue [19:05:18]wFMCommunicate request_size=4 [19:05:18]MH_SAM_APDU [19:05:18]CAPDU: 80 09 00 00 [19:05:18]Write to MH i2c: E2 08 00 DE 2B 80 09 00 00 00 00 00 00 7B [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 [19:05:18]MH_I2C_Read... [19:05:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:05:18]Read from MH i2c: E2 03 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 03 00 DE 2B 00 90 00 7D [19:05:18]RAPDU: 90 00 [19:05:18]wFMCommunicate OK [19:05:18]SAM_PROTO_ClearQueue done [19:05:18]KKMCreateOFDPacket [19:05:18]OFDProtocolAddRootSTLVToBuf [19:05:18]FM_MakeSignedData [19:05:18]FM_MakeSignedData [19:05:18]SAM_PROTO_SignData [19:05:18]wFMCommunicate request_size=4 [19:05:18]MH_SAM_APDU [19:05:18]CAPDU: 80 0D 01 02 [19:05:18]Write to MH i2c: E2 08 00 DF 2B 80 0D 01 02 00 00 00 00 83 [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:05:18]Read from MH i2c: E2 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 03 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 03 00 DF 2B 00 90 00 7E [19:05:18]RAPDU: 90 00 [19:05:18]wFMCommunicate OK [19:05:18]wFMCommunicate request_size=255 [19:05:18]MH_SAM_APDU [19:05:18]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 32 39 35 32 06 04 34 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 F7 42 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [19:05:18]Write to MH i2c: E2 02 01 E0 2B 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 32 39 35 32 06 04 34 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 F7 42 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 92 [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:18]Read from MH i2c: E2 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 03 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 03 00 E0 2B 00 90 00 7F [19:05:18]RAPDU: 90 00 [19:05:18]wFMCommunicate OK [19:05:18]wFMCommunicate request_size=53 [19:05:18]MH_SAM_APDU [19:05:18]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 3B 56 00 00 35 04 06 00 56 26 D8 4F 9A 14 [19:05:18]Write to MH i2c: E2 38 00 E1 2B 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 3B 56 00 00 35 04 06 00 56 26 D8 4F 9A 14 00 00 66 [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:18]Read from MH i2c: E2 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 03 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 03 00 E1 2B 00 90 00 80 [19:05:18]RAPDU: 90 00 [19:05:18]wFMCommunicate OK [19:05:18]wFMCommunicate request_size=4 [19:05:18]MH_SAM_APDU [19:05:18]CAPDU: 80 0D 03 02 [19:05:18]Write to MH i2c: E2 08 00 E2 2B 80 0D 03 02 00 00 00 00 88 [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]OFD Sender: No OFD packet to send [19:05:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:05:18]Read from MH i2c: E2 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 0B 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 0B 00 E2 2B 00 6E 06 65 78 26 F1 E3 00 90 00 D4 [19:05:18]RAPDU: 6E 06 65 78 26 F1 E3 00 90 00 [19:05:18]wFMCommunicate OK [19:05:18]SAM_PROTO_SignData done [19:05:18]FM_MakeSignedData done [19:05:18]CreateOFDProtocolMessage [19:05:18]wFMCommunicate request_size=4 [19:05:18]MH_SAM_APDU [19:05:18]CAPDU: 80 11 00 00 [19:05:18]Write to MH i2c: E2 08 00 E3 2B 80 11 00 00 00 00 00 00 88 [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:18]Read from MH i2c: E2 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 17 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 17 00 E3 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 DA [19:05:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:05:18]wFMCommunicate OK [19:05:18]CreateOFDProtocolMessage done [19:05:18]OFDSenderStorePacket 22075 [19:05:18]StoreOFDPacket docnum=22075 [19:05: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 3A 01 00 00 DB AF 32 01 7E 28 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 32 39 35 32 06 04 34 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 F7 42 6B 66 0E 04 04 00 44 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 3B 56 00 00 35 04 06 00 56 26 D8 4F 9A 14 6E 06 65 78 26 F1 E3 00 [19:05:18]CheckFolder [19:05:18]dirname=/storage/ofd_packets [19:05:18]CheckFolder done [19:05:18]ProducePacketName [19:05:18]name=ofd_packets/00022075 [19:05:18]NVStorageSaveData ofd_packets/00022075 [19:05:18]File name is /storage/ofd_packets/00022075 [19:05:18]Write 344 bytes [19:05:18]NVStorageSaveData done [19:05:18]OFDSenderStorePacket done [19:05:18]KKMCreateOFDPacket done [19:05:18]NVStorageSaveData kkm_last_timestamp [19:05:18]File name is /storage/kkm_last_timestamp [19:05:18]Write 4 bytes [19:05:18]NVStorageSaveData done [19:05:18]ExternCall_PrintAddStr [19:05:18]wPrintStart [19:05:18]Write to MH i2c: 01 00 00 E4 2B 0F [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: 01 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: 01 07 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: 01 07 00 E4 2B 00 00 00 00 00 FF 0F 24 [19:05:18]RasterBufferAndPrint [19:05:18]line Счет N : (3)254300 [19:05:18]line ИНН: 02508201610067 [19:05:18]line Контрольно-Кассовый Чек [19:05:18]line ПРОДАЖА [19:05:18]line Товар: 5449000002952 [19:05:18]line Холодный чай Fuse персик 0,33 ж/б [19:05:18]line 2.000 * 90.00 [19:05:18]line = 180.00 [19:05:18]line НДС 12% НСП 1% [19:05:18]line > о реализуемом товаре [19:05:18]line ИТОГО: 180.00 [19:05:18]line НСП 1% : 1.59 [19:05:18]line НДС 12% : 19.11 [19:05:18]line Наличными: 180.00 [19:05:18]line Безнал.: 0.00 [19:05:18]line Место: АЗС № 76 "Партнер Нефть" [19:05:18]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:05:18]line СНО: Общий режим [19:05:18]line Чек 55 13.06.2024 19:05 [19:05:18]line Смена: 324 ФФД: 1.0 [19:05:18]line ЗНМ: 0300000200 [19:05:18]line РНМ: 0000000000099755 [19:05:18]line Версия ККМ: 001 [19:05:18]line ФМ: 0000000000965344 [19:05:19]line ФД: 22075 [19:05:19]line ФПД: 94724837841428 [19:05:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T190527&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22075&fm=94724837841428&tin=02508201610067®Number=0000000000099755&sum=18000 [19:05:19]line 0 [19:05:19]OFD Sender: Processing packet 22075 [packets to send 5, broken 4] [19:05:19]ProducePacketName [19:05:19]name=ofd_packets/00022075 [19:05:19]OFD Sender: To server: pG, [19:05:19]CommunicateWithHost lk.salyk.kg:30040 [19:05:19]ConnectInit lk.salyk.kg [19:05:19]written 0, free lines is 4095 [19:05:19]Connected sock=10 [19:05: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 3A 01 00 00 DB AF 32 01 7E 28 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 32 39 35 32 06 04 34 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 F7 42 6B 66 0E 04 04 00 44 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 3B 56 00 00 35 04 06 00 56 26 D8 4F 9A 14 6E 06 65 78 26 F1 E3 00 [19:05: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 B7 A9 47 00 FA 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 3B 56 00 00 F4 03 04 00 B9 EB 6A 66 B6 04 01 00 00 BA A7 1B 3A 5F AD 34 7B [19:05:19]CommunicateWithHost err = 0 [19:05:19]CheckOFDResponse [19:05:19]1017 (14) - 77093643461234 [19:05:19]1041 (16) - 0000000000965344 [19:05:19]1040 (4) - 22075 [19:05:19]1012 (4) - 13.06.2024 12:53 [19:05:19]1206 (1) - 0 [19:05:19]OFD Sender: Remove packet 22075 [19:05:19]ProducePacketName [19:05:19]name=ofd_packets/00022075 [19:05:19]NVStorageDeleteData [19:05:19]Write to MH i2c: 01 00 00 0D 2C 39 [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: 01 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: 01 07 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: 01 07 00 0D 2C 00 00 00 00 00 16 0D 63 [19:05:19]RasterBufferAndPrint [19:05:19]line [19:05:19]line [19:05:19]line [19:05:19]line [19:05:19]line [19:05:19]written 0, free lines is 3357 [19:05:19]MH_Cut [19:05:19]Write to MH i2c: D1 01 00 14 2C 01 12 [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: D1 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: D1 01 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: D1 01 00 14 2C 00 11 [19:05:19]Write to MH i2c: 01 00 00 15 2C 41 [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:20]OFD Sender: No OFD packet to send [19:05:20]*** Cut start [19:05:20]*** Partial cut [19:05:20]*** CUTSNS_PIN = 1 [19:05:20]*** CUTSNS_PIN = 0 [19:05:20]*** Brake cut motor [19:05:20]Read from MH i2c: 01 [19:05:20]MH_I2C_Read... [19:05:20]*** Stop cut motor [19:05:20]*** Cut end [19:05:20]Read from MH i2c: 01 07 00 [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: 01 07 00 15 2C 00 00 00 00 00 FF 0F 56 [19:05:20]process_action close_receipt done [19:05:20]requested_data is exist [19:05:20]produce_requested_data [19:05:20]requested_item fm.sn is exist - process it [19:05:20]wFMCommunicate request_size=4 [19:05:20]MH_SAM_APDU [19:05:20]CAPDU: 80 11 00 00 [19:05:20]Write to MH i2c: E2 08 00 16 2C 80 11 00 00 00 00 00 00 BC [19:05:20]Write i2c OK [19:05:20]MH_I2C_Read... [19:05:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:20]Read from MH i2c: E2 [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: E2 17 00 [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: E2 17 00 16 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 0E [19:05:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:05:20]wFMCommunicate OK [19:05:20]requested_item fd.num is exist - process it [19:05:20]SAM_PROTO_GetFieldsCounters [19:05:20]wFMCommunicate request_size=4 [19:05:20]MH_SAM_APDU [19:05:20]CAPDU: 80 13 00 00 [19:05:20]Write to MH i2c: E2 08 00 17 2C 80 13 00 00 00 00 00 00 BF [19:05:20]Write i2c OK [19:05:20]MH_I2C_Read... [19:05:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:05:21]Read from MH i2c: E2 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 62 00 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 62 00 17 2C 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 3B 56 00 00 0E 04 04 00 44 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 64 [19:05: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 3B 56 00 00 0E 04 04 00 44 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 [19:05:21]wFMCommunicate OK [19:05:21]SAM_PROTO_GetFieldsCounters done [19:05:21]requested_item shift.num is exist - process it [19:05:21]requested_item shift.opened is exist - process it [19:05:21]req_shift_opened [19:05:21]FM_GetShiftState [19:05:21]SAM_PROTO_GetShiftState [19:05:21]wFMCommunicate request_size=4 [19:05:21]MH_SAM_APDU [19:05:21]CAPDU: 80 13 01 00 [19:05:21]Write to MH i2c: E2 08 00 18 2C 80 13 01 00 00 00 00 00 C1 [19:05:21]Write i2c OK [19:05:21]MH_I2C_Read... [19:05:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:21]Read from MH i2c: E2 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 0E 00 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 0E 00 18 2C 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 DF [19:05:21]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [19:05:21]wFMCommunicate OK [19:05:21]SAM_PROTO_GetShiftState done [19:05:21]FM_GetShiftState done [19:05:21]req_shift_opened done [19:05:21]requested_item shift.open_date is exist - process it [19:05:21]req_shift_open_date [19:05:21]req_shift_open_date done [19:05:21]produce_requested_data done [19:05:21]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22075,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [19:05:21]process_action_free close_receipt [19:05:21]json_value_free [19:05:21]json_value_free done [19:05:21]process_json_proto returns [19:05:21]Send response to host [19:05:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22075,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [19:05:21]free response buf [19:05:21]execute_script done [19:05:21]execute_script returns [19:05:21]free content buf [19:05:21]Sock 8.Close socket [19:05:21]Sock 8.Thread stoped [19:05:25]OFD Sender: No OFD packet to send [19:05:30]OFD Sender: No OFD packet to send [19:05:35]OFD Sender: No OFD packet to send [19:05:40]OFD Sender: No OFD packet to send [19:05:45]OFD Sender: No OFD packet to send [19:05:50]OFD Sender: No OFD packet to send [19:05:55]OFD Sender: No OFD packet to send [19:06:00]OFD Sender: No OFD packet to send [19:06:05]OFD Sender: No OFD packet to send [19:06:10]OFD Sender: No OFD packet to send [19:06:15]OFD Sender: No OFD packet to send [19:06:20]OFD Sender: No OFD packet to send [19:06:25]OFD Sender: No OFD packet to send [19:06:30]OFD Sender: No OFD packet to send [19:06:35]OFD Sender: No OFD packet to send [19:06:40]OFD Sender: No OFD packet to send [19:06:45]OFD Sender: No OFD packet to send [19:06:50]OFD Sender: No OFD packet to send [19:06:55]OFD Sender: No OFD packet to send [19:07:00]OFD Sender: No OFD packet to send [19:07:05]OFD Sender: No OFD packet to send [19:07:10]OFD Sender: No OFD packet to send [19:07:15]OFD Sender: No OFD packet to send [19:07:20]OFD Sender: No OFD packet to send [19:07:25]OFD Sender: No OFD packet to send [19:07:30]OFD Sender: No OFD packet to send [19:07:35]OFD Sender: No OFD packet to send [19:07:40]OFD Sender: No OFD packet to send [19:07:45]OFD Sender: No OFD packet to send [19:07:50]OFD Sender: No OFD packet to send [19:07:55]OFD Sender: No OFD packet to send [19:08:00]OFD Sender: No OFD packet to send [19:08:05]OFD Sender: No OFD packet to send [19:08:10]OFD Sender: No OFD packet to send [19:08:15]OFD Sender: No OFD packet to send [19:08:20]OFD Sender: No OFD packet to send [19:08:25]OFD Sender: No OFD packet to send [19:08:30]OFD Sender: No OFD packet to send [19:08:35]OFD Sender: No OFD packet to send [19:08:40]OFD Sender: No OFD packet to send [19:08:45]OFD Sender: No OFD packet to send [19:08:50]OFD Sender: No OFD packet to send [19:08:55]OFD Sender: No OFD packet to send [19:09:00]OFD Sender: No OFD packet to send [19:09:05]OFD Sender: No OFD packet to send [19:09:10]OFD Sender: No OFD packet to send [19:09:15]OFD Sender: No OFD packet to send [19:09:20]OFD Sender: No OFD packet to send [19:09:25]OFD Sender: No OFD packet to send [19:09:30]OFD Sender: No OFD packet to send [19:09:35]OFD Sender: No OFD packet to send [19:09:40]OFD Sender: No OFD packet to send [19:09:45]OFD Sender: No OFD packet to send [19:09:50]OFD Sender: No OFD packet to send [19:09:55]OFD Sender: No OFD packet to send [19:10:00]OFD Sender: No OFD packet to send [19:10:05]OFD Sender: No OFD packet to send [19:10:10]OFD Sender: No OFD packet to send [19:10:15]OFD Sender: No OFD packet to send [19:10:20]OFD Sender: No OFD packet to send [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:50]OFD Sender: No OFD packet to send [19:10:55]OFD Sender: No OFD packet to send [19:11:00]OFD Sender: No OFD packet to send [19:11:05]OFD Sender: No OFD packet to send [19:11:10]OFD Sender: No OFD packet to send [19:11:15]OFD Sender: No OFD packet to send [19:11:20]OFD Sender: No OFD packet to send [19:11:25]OFD Sender: No OFD packet to send [19:11:30]OFD Sender: No OFD packet to send [19:11:35]OFD Sender: No OFD packet to send [19:11:40]OFD Sender: No OFD packet to send [19:11:45]OFD Sender: No OFD packet to send [19:11:50]OFD Sender: No OFD packet to send [19:11:55]OFD Sender: No OFD packet to send [19:12:00]OFD Sender: No OFD packet to send [19:12:05]OFD Sender: No OFD packet to send [19:12:10]OFD Sender: No OFD packet to send [19:12:15]OFD Sender: No OFD packet to send [19:12:20]OFD Sender: No OFD packet to send [19:12:25]OFD Sender: No OFD packet to send [19:12:30]OFD Sender: No OFD packet to send [19:12:35]OFD Sender: No OFD packet to send [19:12:40]OFD Sender: No OFD packet to send [19:12:45]OFD Sender: No OFD packet to send [19:12:50]OFD Sender: No OFD packet to send [19:12:55]OFD Sender: No OFD packet to send [19:13:00]OFD Sender: No OFD packet to send [19:13:05]OFD Sender: No OFD packet to send [19:13:10]OFD Sender: No OFD packet to send [19:13:15]OFD Sender: No OFD packet to send [19:13:20]OFD Sender: No OFD packet to send [19:13:25]OFD Sender: No OFD packet to send [19:13:30]OFD Sender: No OFD packet to send [19:13:35]OFD Sender: No OFD packet to send [19:13:40]OFD Sender: No OFD packet to send [19:13:45]OFD Sender: No OFD packet to send [19:13:50]OFD Sender: No OFD packet to send [19:13:55]OFD Sender: No OFD packet to send [19:14:00]OFD Sender: No OFD packet to send [19:14:05]OFD Sender: No OFD packet to send [19:14:10]OFD Sender: No OFD packet to send [19:14:15]OFD Sender: No OFD packet to send [19:14:20]OFD Sender: No OFD packet to send [19:14:25]OFD Sender: No OFD packet to send [19:14:30]OFD Sender: No OFD packet to send [19:14:35]OFD Sender: No OFD packet to send [19:14:40]OFD Sender: No OFD packet to send [19:14:45]OFD Sender: No OFD packet to send [19:14:50]OFD Sender: No OFD packet to send [19:14:55]OFD Sender: No OFD packet to send [19:15:00]OFD Sender: No OFD packet to send [19:15:05]OFD Sender: No OFD packet to send [19:15:10]OFD Sender: No OFD packet to send [19:15:15]OFD Sender: No OFD packet to send [19:15:20]OFD Sender: No OFD packet to send [19:15:25]OFD Sender: No OFD packet to send [19:15:30]OFD Sender: No OFD packet to send [19:15:35]OFD Sender: No OFD packet to send [19:15:40]OFD Sender: No OFD packet to send [19:15:45]OFD Sender: No OFD packet to send [19:15:49]accept exits with 9 [19:15:49]New connection [19:15:49]New thread 3067178340 created [19:15:49]Thread 3067321700 joined [19:15:49]Waiting for new connection... [19:15:49] Sock 9.Parse request [19:15:49]Sock 9.Check first char [19:15:49]Sock 9.First char is OK [19:15:49]request: POST /json_proto HTTP/1.0 [19:15:49]Method: POST [19:15:49]URL: /json_proto [19:15:49]Method is POST - this is cgi request [19:15:49]url: /json_proto [19:15:49]query_string will be loaded in cgi processing [19:15:49]execute_cgi json_proto POST (null) [19:15:49]execute_cgi path=json_proto method=POST [19:15:49]POST find Content-Length [19:15:49]Host: 172.17.35.133:8080 [19:15:49]Content-Length: 646 [19:15:49]Content-Type: application/json [19:15:49] [19:15:49]POST finish read [19:15:49]Found Content-Length = 646 [19:15:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254301", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:15:49]execute_script... [19:15: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)254301", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:15:49]POST & json_proto [19:15:49]process_json_proto [19:15:49]json parsed OK: [19:15:49]protocol is kg_v1.0 [19:15:49]action value=close_receipt [19:15:49]process_action close_receipt [19:15:49]cmd_close_receipt [19:15:49]MH_GetDate [19:15:49]Write to MH i2c: F0 00 00 19 2C 34 [19:15:49]Write i2c OK [19:15:49]MH_I2C_Read... [19:15:49]Read from MH i2c: F0 [19:15:49]MH_I2C_Read... [19:15:49]Read from MH i2c: F0 09 00 [19:15:49]MH_I2C_Read... [19:15:49]Read from MH i2c: F0 09 00 19 2C 00 6F 45 6B 66 8C 55 28 65 30 [19:15:49]GetLastDocTimeStamp 1718305527 [19:15:49]current date 1718306159 [19:15:49]FM_GetShiftState [19:15:49]SAM_PROTO_GetShiftState [19:15:49]wFMCommunicate request_size=4 [19:15:49]MH_SAM_APDU [19:15:49]CAPDU: 80 13 01 00 [19:15:49]Write to MH i2c: E2 08 00 1A 2C 80 13 01 00 00 00 00 00 C3 [19:15:49]Write i2c OK [19:15:49]MH_I2C_Read... [19:15:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:15:49]Read from MH i2c: E2 [19:15:49]MH_I2C_Read... [19:15:49]Read from MH i2c: E2 0E 00 [19:15:49]MH_I2C_Read... [19:15:49]Read from MH i2c: E2 0E 00 1A 2C 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 E1 [19:15:49]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [19:15:49]wFMCommunicate OK [19:15:49]SAM_PROTO_GetShiftState done [19:15:49]FM_GetShiftState done [19:15:49]opened in 1718237959 [19:15:49]opened+sec_in_day 1718324359 [19:15:49]quantity*price = 12500 [19:15:49]sum+1 = 12501 [19:15:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 56 13.06.2024 19:15 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22076 ФПД: 98674276076748 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T191559&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22076&fm=98674276076748&tin=02508201610067®Number=0000000000099755&sum=12500 0 [19:15:50]StoreToDocumentArchive [19:15:50]shift 324 fd 22076 [19:15:50]save to /storage/0324/doc_00022076 [19:15:50]save last doc name /storage/0324/doc_00022076 to /storage/kkm_last_doc_name [19:15:50]save OK [19:15:50]Clear old archive folders... [19:15:50]ProcessDocumentItem done err = 0, tmpTLVsize=282 [19:15:50]tlvbuf is 0029D6E0 [19:15:50]SAM_PROTO_ClearQueue [19:15:50]wFMCommunicate request_size=4 [19:15:50]MH_SAM_APDU [19:15:50]CAPDU: 80 09 00 00 [19:15:50]Write to MH i2c: E2 08 00 27 2C 80 09 00 00 00 00 00 00 C5 [19:15:50]Write i2c OK [19:15:50]MH_I2C_Read... [19:15:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:15:50]Read from MH i2c: E2 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 03 00 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 03 00 27 2C 00 90 00 C7 [19:15:50]RAPDU: 90 00 [19:15:50]wFMCommunicate OK [19:15:50]SAM_PROTO_ClearQueue done [19:15:50]KKMCreateOFDPacket [19:15:50]OFDProtocolAddRootSTLVToBuf [19:15:50]FM_MakeSignedData [19:15:50]FM_MakeSignedData [19:15:50]SAM_PROTO_SignData [19:15:50]wFMCommunicate request_size=4 [19:15:50]MH_SAM_APDU [19:15:50]CAPDU: 80 0D 01 02 [19:15:50]Write to MH i2c: E2 08 00 28 2C 80 0D 01 02 00 00 00 00 CD [19:15:50]Write i2c OK [19:15:50]MH_I2C_Read... [19:15:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:15:50]Read from MH i2c: E2 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 03 00 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 03 00 28 2C 00 90 00 C8 [19:15:50]RAPDU: 90 00 [19:15:50]wFMCommunicate OK [19:15:50]wFMCommunicate request_size=255 [19:15:50]MH_SAM_APDU [19:15:50]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 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 6F 45 6B 66 0E 04 04 00 44 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 [19:15:50]Write to MH i2c: E2 02 01 29 2C 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 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 6F 45 6B 66 0E 04 04 00 44 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 00 00 D7 [19:15:50]Write i2c OK [19:15:50]MH_I2C_Read... [19:15:50]OFD Sender: No OFD packet to send [19:15:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:50]Read from MH i2c: E2 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 03 00 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 03 00 29 2C 00 90 00 C9 [19:15:50]RAPDU: 90 00 [19:15:50]wFMCommunicate OK [19:15:50]wFMCommunicate request_size=41 [19:15:50]MH_SAM_APDU [19:15:50]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 3C 56 00 00 35 04 06 00 59 BE 65 2C 8C CC [19:15:50]Write to MH i2c: E2 2C 00 2A 2C 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 3C 56 00 00 35 04 06 00 59 BE 65 2C 8C CC 00 00 30 [19:15:50]Write i2c OK [19:15:50]MH_I2C_Read... [19:15:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:50]Read from MH i2c: E2 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 03 00 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 03 00 2A 2C 00 90 00 CA [19:15:50]RAPDU: 90 00 [19:15:50]wFMCommunicate OK [19:15:50]wFMCommunicate request_size=4 [19:15:50]MH_SAM_APDU [19:15:50]CAPDU: 80 0D 03 02 [19:15:50]Write to MH i2c: E2 08 00 2B 2C 80 0D 03 02 00 00 00 00 D2 [19:15:50]Write i2c OK [19:15:50]MH_I2C_Read... [19:15:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:15:50]Read from MH i2c: E2 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 0B 00 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 0B 00 2B 2C 00 39 B3 21 C0 75 91 2D 0D 90 00 E0 [19:15:50]RAPDU: 39 B3 21 C0 75 91 2D 0D 90 00 [19:15:50]wFMCommunicate OK [19:15:50]SAM_PROTO_SignData done [19:15:50]FM_MakeSignedData done [19:15:50]CreateOFDProtocolMessage [19:15:50]wFMCommunicate request_size=4 [19:15:50]MH_SAM_APDU [19:15:50]CAPDU: 80 11 00 00 [19:15:50]Write to MH i2c: E2 08 00 2C 2C 80 11 00 00 00 00 00 00 D2 [19:15:50]Write i2c OK [19:15:50]MH_I2C_Read... [19:15:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:15:50]Read from MH i2c: E2 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 17 00 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: E2 17 00 2C 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 24 [19:15:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:15:50]wFMCommunicate OK [19:15:50]CreateOFDProtocolMessage done [19:15:50]OFDSenderStorePacket 22076 [19:15:50]StoreOFDPacket docnum=22076 [19:15: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 2E 01 00 00 B2 42 26 01 E0 E6 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 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 6F 45 6B 66 0E 04 04 00 44 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 3C 56 00 00 35 04 06 00 59 BE 65 2C 8C CC 39 B3 21 C0 75 91 2D 0D [19:15:50]CheckFolder [19:15:50]dirname=/storage/ofd_packets [19:15:50]CheckFolder done [19:15:50]ProducePacketName [19:15:50]name=ofd_packets/00022076 [19:15:50]NVStorageSaveData ofd_packets/00022076 [19:15:50]File name is /storage/ofd_packets/00022076 [19:15:50]Write 332 bytes [19:15:50]NVStorageSaveData done [19:15:50]OFDSenderStorePacket done [19:15:50]KKMCreateOFDPacket done [19:15:50]NVStorageSaveData kkm_last_timestamp [19:15:50]File name is /storage/kkm_last_timestamp [19:15:50]Write 4 bytes [19:15:50]NVStorageSaveData done [19:15:50]ExternCall_PrintAddStr [19:15:50]wPrintStart [19:15:50]Write to MH i2c: 01 00 00 2D 2C 59 [19:15:50]Write i2c OK [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: 01 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: 01 07 00 [19:15:50]MH_I2C_Read... [19:15:50]Read from MH i2c: 01 07 00 2D 2C 00 00 00 00 00 FF 0F 6E [19:15:50]RasterBufferAndPrint [19:15:50]line Счет N : (3)254301 [19:15:50]line ИНН: 02508201610067 [19:15:50]line Контрольно-Кассовый Чек [19:15:50]line ПРОДАЖА [19:15:50]line Товар: 2000036220012 [19:15:50]line Кофе Капучино XL(GABB TRADE) [19:15:50]line 1.000 * 125.00 [19:15:50]line = 125.00 [19:15:50]line НДС 12% НСП 1% [19:15:50]line > о реализуемом товаре [19:15:50]line ИТОГО: 125.00 [19:15:50]line НСП 1% : 1.11 [19:15:50]line НДС 12% : 13.27 [19:15:50]line Наличными: 125.00 [19:15:50]line Безнал.: 0.00 [19:15:50]line Место: АЗС № 76 "Партнер Нефть" [19:15:50]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:15:50]line СНО: Общий режим [19:15:50]line Чек 56 13.06.2024 19:15 [19:15:50]line Смена: 324 ФФД: 1.0 [19:15:50]line ЗНМ: 0300000200 [19:15:50]line РНМ: 0000000000099755 [19:15:50]line Версия ККМ: 001 [19:15:50]line ФМ: 0000000000965344 [19:15:50]line ФД: 22076 [19:15:51]line ФПД: 98674276076748 [19:15:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T191559&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22076&fm=98674276076748&tin=02508201610067®Number=0000000000099755&sum=12500 [19:15:51]line 0 [19:15:51]OFD Sender: Processing packet 22076 [packets to send 5, broken 4] [19:15:51]ProducePacketName [19:15:51]name=ofd_packets/00022076 [19:15:51]OFD Sender: To server: pG, [19:15:51]CommunicateWithHost lk.salyk.kg:30040 [19:15:51]ConnectInit lk.salyk.kg [19:15:51]written 0, free lines is 4095 [19:15:51]Connected sock=10 [19:15: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 2E 01 00 00 B2 42 26 01 E0 E6 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 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 6F 45 6B 66 0E 04 04 00 44 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 3C 56 00 00 35 04 06 00 59 BE 65 2C 8C CC 39 B3 21 C0 75 91 2D 0D [19:15: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 16 54 47 00 AE B1 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 3C 56 00 00 F4 03 04 00 31 EE 6A 66 B6 04 01 00 00 89 8C 5A 00 79 6B 1F 9E [19:15:51]CommunicateWithHost err = 0 [19:15:51]CheckOFDResponse [19:15:51]1017 (14) - 77093643461234 [19:15:51]1041 (16) - 0000000000965344 [19:15:51]1040 (4) - 22076 [19:15:51]1012 (4) - 13.06.2024 13:03 [19:15:51]1206 (1) - 0 [19:15:51]OFD Sender: Remove packet 22076 [19:15:51]ProducePacketName [19:15:51]name=ofd_packets/00022076 [19:15:51]NVStorageDeleteData [19:15:51]Write to MH i2c: 01 00 00 56 2C 82 [19:15:51]Write i2c OK [19:15:51]MH_I2C_Read... [19:15:51]Read from MH i2c: 01 [19:15:51]MH_I2C_Read... [19:15:51]Read from MH i2c: 01 07 00 [19:15:51]MH_I2C_Read... [19:15:51]Read from MH i2c: 01 07 00 56 2C 00 00 00 00 00 13 0D A9 [19:15:51]RasterBufferAndPrint [19:15:51]line [19:15:51]line [19:15:51]line [19:15:51]line [19:15:51]line [19:15:51]written 0, free lines is 3354 [19:15:51]MH_Cut [19:15:51]Write to MH i2c: D1 01 00 5D 2C 01 5B [19:15:51]Write i2c OK [19:15:51]MH_I2C_Read... [19:15:51]Read from MH i2c: D1 [19:15:51]MH_I2C_Read... [19:15:51]Read from MH i2c: D1 01 00 [19:15:51]MH_I2C_Read... [19:15:51]Read from MH i2c: D1 01 00 5D 2C 00 5A [19:15:51]Write to MH i2c: 01 00 00 5E 2C 8A [19:15:51]Write i2c OK [19:15:51]MH_I2C_Read... [19:15:52]OFD Sender: No OFD packet to send [19:15:52]*** Cut start [19:15:52]*** Partial cut [19:15:52]*** CUTSNS_PIN = 1 [19:15:52]*** CUTSNS_PIN = 0 [19:15:52]*** Brake cut motor [19:15:52]Read from MH i2c: 01 [19:15:52]MH_I2C_Read... [19:15:52]*** Stop cut motor [19:15:52]*** Cut end [19:15:52]Read from MH i2c: 01 07 00 [19:15:52]MH_I2C_Read... [19:15:52]Read from MH i2c: 01 07 00 5E 2C 00 00 00 00 00 FF 0F 9F [19:15:52]process_action close_receipt done [19:15:52]requested_data is exist [19:15:52]produce_requested_data [19:15:52]requested_item fm.sn is exist - process it [19:15:52]wFMCommunicate request_size=4 [19:15:52]MH_SAM_APDU [19:15:52]CAPDU: 80 11 00 00 [19:15:52]Write to MH i2c: E2 08 00 5F 2C 80 11 00 00 00 00 00 00 05 [19:15:52]Write i2c OK [19:15:52]MH_I2C_Read... [19:15:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:15:52]Read from MH i2c: E2 [19:15:52]MH_I2C_Read... [19:15:52]Read from MH i2c: E2 17 00 [19:15:52]MH_I2C_Read... [19:15:52]Read from MH i2c: E2 17 00 5F 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 57 [19:15:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:15:52]wFMCommunicate OK [19:15:52]requested_item fd.num is exist - process it [19:15:52]SAM_PROTO_GetFieldsCounters [19:15:52]wFMCommunicate request_size=4 [19:15:52]MH_SAM_APDU [19:15:52]CAPDU: 80 13 00 00 [19:15:52]Write to MH i2c: E2 08 00 60 2C 80 13 00 00 00 00 00 00 08 [19:15:52]Write i2c OK [19:15:52]MH_I2C_Read... [19:15:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:15:53]Read from MH i2c: E2 [19:15:53]MH_I2C_Read... [19:15:53]Read from MH i2c: E2 62 00 [19:15:53]MH_I2C_Read... [19:15:53]Read from MH i2c: E2 62 00 60 2C 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 3C 56 00 00 0E 04 04 00 44 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 B1 [19:15: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 3C 56 00 00 0E 04 04 00 44 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 [19:15:53]wFMCommunicate OK [19:15:53]SAM_PROTO_GetFieldsCounters done [19:15:53]requested_item shift.num is exist - process it [19:15:53]requested_item shift.opened is exist - process it [19:15:53]req_shift_opened [19:15:53]FM_GetShiftState [19:15:53]SAM_PROTO_GetShiftState [19:15:53]wFMCommunicate request_size=4 [19:15:53]MH_SAM_APDU [19:15:53]CAPDU: 80 13 01 00 [19:15:53]Write to MH i2c: E2 08 00 61 2C 80 13 01 00 00 00 00 00 0A [19:15:53]Write i2c OK [19:15:53]MH_I2C_Read... [19:15:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:15:53]Read from MH i2c: E2 [19:15:53]MH_I2C_Read... [19:15:53]Read from MH i2c: E2 0E 00 [19:15:53]MH_I2C_Read... [19:15:53]Read from MH i2c: E2 0E 00 61 2C 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 28 [19:15:53]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [19:15:53]wFMCommunicate OK [19:15:53]SAM_PROTO_GetShiftState done [19:15:53]FM_GetShiftState done [19:15:53]req_shift_opened done [19:15:53]requested_item shift.open_date is exist - process it [19:15:53]req_shift_open_date [19:15:53]req_shift_open_date done [19:15:53]produce_requested_data done [19:15:53]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22076,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [19:15:53]process_action_free close_receipt [19:15:53]json_value_free [19:15:53]json_value_free done [19:15:53]process_json_proto returns [19:15:53]Send response to host [19:15:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22076,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [19:15:53]free response buf [19:15:53]execute_script done [19:15:53]execute_script returns [19:15:53]free content buf [19:15:53]Sock 9.Close socket [19:15:53]Sock 9.Thread stoped [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:17]OFD Sender: No OFD packet to send [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:32]OFD Sender: No OFD packet to send [19:19:37]OFD Sender: No OFD packet to send [19:19:42]OFD Sender: No OFD packet to send [19:19:47]OFD Sender: No OFD packet to send [19:19:52]OFD Sender: No OFD packet to send [19:19:57]OFD Sender: No OFD packet to send [19:20:02]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:02]OFD Sender: No OFD packet to send [19:22:07]OFD Sender: No OFD packet to send [19:22:12]OFD Sender: No OFD packet to send [19:22:17]OFD Sender: No OFD packet to send [19:22:22]OFD Sender: No OFD packet to send [19:22:27]OFD Sender: No OFD packet to send [19:22:32]OFD Sender: No OFD packet to send [19:22:37]OFD Sender: No OFD packet to send [19:22:42]OFD Sender: No OFD packet to send [19:22:47]OFD Sender: No OFD packet to send [19:22:52]OFD Sender: No OFD packet to send [19:22:57]OFD Sender: No OFD packet to send [19:23:02]OFD Sender: No OFD packet to send [19:23:07]OFD Sender: No OFD packet to send [19:23:12]OFD Sender: No OFD packet to send [19:23:17]OFD Sender: No OFD packet to send [19:23:22]OFD Sender: No OFD packet to send [19:23:27]OFD Sender: No OFD packet to send [19:23:32]OFD Sender: No OFD packet to send [19:23:37]OFD Sender: No OFD packet to send [19:23:42]OFD Sender: No OFD packet to send [19:23:47]OFD Sender: No OFD packet to send [19:23:52]OFD Sender: No OFD packet to send [19:23:57]OFD Sender: No OFD packet to send [19:24:02]OFD Sender: No OFD packet to send [19:24:07]OFD Sender: No OFD packet to send [19:24:12]OFD Sender: No OFD packet to send [19:24:17]OFD Sender: No OFD packet to send [19:24:22]OFD Sender: No OFD packet to send [19:24:27]OFD Sender: No OFD packet to send [19:24:32]OFD Sender: No OFD packet to send [19:24:37]OFD Sender: No OFD packet to send [19:24:42]OFD Sender: No OFD packet to send [19:24:47]OFD Sender: No OFD packet to send [19:24:52]OFD Sender: No OFD packet to send [19:24:57]OFD Sender: No OFD packet to send [19:25:02]OFD Sender: No OFD packet to send [19:25:07]OFD Sender: No OFD packet to send [19:25:12]OFD Sender: No OFD packet to send [19:25:17]OFD Sender: No OFD packet to send [19:25:22]OFD Sender: No OFD packet to send [19:25:27]OFD Sender: No OFD packet to send [19:25:32]OFD Sender: No OFD packet to send [19:25:37]OFD Sender: No OFD packet to send [19:25:42]OFD Sender: No OFD packet to send [19:25:47]OFD Sender: No OFD packet to send [19:25:52]OFD Sender: No OFD packet to send [19:25:57]OFD Sender: No OFD packet to send [19:26:02]OFD Sender: No OFD packet to send [19:26:07]OFD Sender: No OFD packet to send [19:26:12]OFD Sender: No OFD packet to send [19:26:17]OFD Sender: No OFD packet to send [19:26:22]OFD Sender: No OFD packet to send [19:26:27]OFD Sender: No OFD packet to send [19:26:32]OFD Sender: No OFD packet to send [19:26:37]OFD Sender: No OFD packet to send [19:26:42]OFD Sender: No OFD packet to send [19:26:47]OFD Sender: No OFD packet to send [19:26:52]OFD Sender: No OFD packet to send [19:26:57]OFD Sender: No OFD packet to send [19:27:02]OFD Sender: No OFD packet to send [19:27:07]OFD Sender: No OFD packet to send [19:27:12]OFD Sender: No OFD packet to send [19:27:17]OFD Sender: No OFD packet to send [19:27:22]OFD Sender: No OFD packet to send [19:27:27]OFD Sender: No OFD packet to send [19:27:32]OFD Sender: No OFD packet to send [19:27:37]OFD Sender: No OFD packet to send [19:27:42]OFD Sender: No OFD packet to send [19:27:47]OFD Sender: No OFD packet to send [19:27:52]OFD Sender: No OFD packet to send [19:27:57]OFD Sender: No OFD packet to send [19:28:02]OFD Sender: No OFD packet to send [19:28:07]OFD Sender: No OFD packet to send [19:28:12]OFD Sender: No OFD packet to send [19:28:17]OFD Sender: No OFD packet to send [19:28:22]OFD Sender: No OFD packet to send [19:28:27]OFD Sender: No OFD packet to send [19:28:32]OFD Sender: No OFD packet to send [19:28:37]OFD Sender: No OFD packet to send [19:28:42]OFD Sender: No OFD packet to send [19:28:47]OFD Sender: No OFD packet to send [19:28:52]OFD Sender: No OFD packet to send [19:28:57]OFD Sender: No OFD packet to send [19:29:02]OFD Sender: No OFD packet to send [19:29:07]OFD Sender: No OFD packet to send [19:29:12]OFD Sender: No OFD packet to send [19:29:17]OFD Sender: No OFD packet to send [19:29:22]OFD Sender: No OFD packet to send [19:29:27]OFD Sender: No OFD packet to send [19:29:32]OFD Sender: No OFD packet to send [19:29:37]OFD Sender: No OFD packet to send [19:29:42]OFD Sender: No OFD packet to send [19:29:47]OFD Sender: No OFD packet to send [19:29:52]OFD Sender: No OFD packet to send [19:29:57]OFD Sender: No OFD packet to send [19:30:02]OFD Sender: No OFD packet to send [19:30:07]OFD Sender: No OFD packet to send [19:30:12]OFD Sender: No OFD packet to send [19:30:17]OFD Sender: No OFD packet to send [19:30:22]OFD Sender: No OFD packet to send [19:30:27]OFD Sender: No OFD packet to send [19:30:32]OFD Sender: No OFD packet to send [19:30:37]OFD Sender: No OFD packet to send [19:30:42]OFD Sender: No OFD packet to send [19:30:47]OFD Sender: No OFD packet to send [19:30:52]OFD Sender: No OFD packet to send [19:30:57]OFD Sender: No OFD packet to send [19:31:02]OFD Sender: No OFD packet to send [19:31:07]OFD Sender: No OFD packet to send [19:31:12]OFD Sender: No OFD packet to send [19:31:17]OFD Sender: No OFD packet to send [19:31:22]OFD Sender: No OFD packet to send [19:31:27]OFD Sender: No OFD packet to send [19:31:32]OFD Sender: No OFD packet to send [19:31:37]OFD Sender: No OFD packet to send [19:31:42]OFD Sender: No OFD packet to send [19:31:47]OFD Sender: No OFD packet to send [19:31:52]OFD Sender: No OFD packet to send [19:31:57]OFD Sender: No OFD packet to send [19:32:02]OFD Sender: No OFD packet to send [19:32:07]OFD Sender: No OFD packet to send [19:32:12]OFD Sender: No OFD packet to send [19:32:17]OFD Sender: No OFD packet to send [19:32:22]OFD Sender: No OFD packet to send [19:32:27]OFD Sender: No OFD packet to send [19:32:32]OFD Sender: No OFD packet to send [19:32:37]OFD Sender: No OFD packet to send [19:32:42]OFD Sender: No OFD packet to send [19:32:47]OFD Sender: No OFD packet to send [19:32:52]OFD Sender: No OFD packet to send [19:32:57]OFD Sender: No OFD packet to send [19:33:02]OFD Sender: No OFD packet to send [19:33:07]OFD Sender: No OFD packet to send [19:33:12]OFD Sender: No OFD packet to send [19:33:17]OFD Sender: No OFD packet to send [19:33:22]OFD Sender: No OFD packet to send [19:33:27]OFD Sender: No OFD packet to send [19:33:32]OFD Sender: No OFD packet to send [19:33:37]OFD Sender: No OFD packet to send [19:33:42]OFD Sender: No OFD packet to send [19:33:47]OFD Sender: No OFD packet to send [19:33:52]OFD Sender: No OFD packet to send [19:33:57]OFD Sender: No OFD packet to send [19:34:02]OFD Sender: No OFD packet to send [19:34:07]OFD Sender: No OFD packet to send [19:34:12]OFD Sender: No OFD packet to send [19:34:17]OFD Sender: No OFD packet to send [19:34:22]OFD Sender: No OFD packet to send [19:34:27]OFD Sender: No OFD packet to send [19:34:32]OFD Sender: No OFD packet to send [19:34:37]OFD Sender: No OFD packet to send [19:34:42]OFD Sender: No OFD packet to send [19:34:47]OFD Sender: No OFD packet to send [19:34:52]OFD Sender: No OFD packet to send [19:34:57]OFD Sender: No OFD packet to send [19:35:02]OFD Sender: No OFD packet to send [19:35:07]OFD Sender: No OFD packet to send [19:35:12]OFD Sender: No OFD packet to send [19:35:17]OFD Sender: No OFD packet to send [19:35:22]OFD Sender: No OFD packet to send [19:35:27]OFD Sender: No OFD packet to send [19:35:32]OFD Sender: No OFD packet to send [19:35:37]OFD Sender: No OFD packet to send [19:35:42]OFD Sender: No OFD packet to send [19:35:47]OFD Sender: No OFD packet to send [19:35:52]OFD Sender: No OFD packet to send [19:35:57]OFD Sender: No OFD packet to send [19:36:02]OFD Sender: No OFD packet to send [19:36:07]OFD Sender: No OFD packet to send [19:36:12]OFD Sender: No OFD packet to send [19:36:17]OFD Sender: No OFD packet to send [19:36:22]OFD Sender: No OFD packet to send [19:36:27]OFD Sender: No OFD packet to send [19:36:32]OFD Sender: No OFD packet to send [19:36:37]OFD Sender: No OFD packet to send [19:36:42]OFD Sender: No OFD packet to send [19:36:47]OFD Sender: No OFD packet to send [19:36:52]OFD Sender: No OFD packet to send [19:36:57]OFD Sender: No OFD packet to send [19:37:02]OFD Sender: No OFD packet to send [19:37:07]OFD Sender: No OFD packet to send [19:37:12]OFD Sender: No OFD packet to send [19:37:18]OFD Sender: No OFD packet to send [19:37:23]OFD Sender: No OFD packet to send [19:37:28]OFD Sender: No OFD packet to send [19:37:33]OFD Sender: No OFD packet to send [19:37:38]OFD Sender: No OFD packet to send [19:37:43]OFD Sender: No OFD packet to send [19:37:48]OFD Sender: No OFD packet to send [19:37:53]OFD Sender: No OFD packet to send [19:37:58]OFD Sender: No OFD packet to send [19:38:03]OFD Sender: No OFD packet to send [19:38:08]OFD Sender: No OFD packet to send [19:38:13]OFD Sender: No OFD packet to send [19:38:18]OFD Sender: No OFD packet to send [19:38:23]OFD Sender: No OFD packet to send [19:38:28]OFD Sender: No OFD packet to send [19:38:33]OFD Sender: No OFD packet to send [19:38:38]OFD Sender: No OFD packet to send [19:38:43]OFD Sender: No OFD packet to send [19:38:48]OFD Sender: No OFD packet to send [19:38:53]OFD Sender: No OFD packet to send [19:38:58]OFD Sender: No OFD packet to send [19:39:03]OFD Sender: No OFD packet to send [19:39:08]OFD Sender: No OFD packet to send [19:39:13]OFD Sender: No OFD packet to send [19:39:18]OFD Sender: No OFD packet to send [19:39:23]OFD Sender: No OFD packet to send [19:39:28]OFD Sender: No OFD packet to send [19:39:33]OFD Sender: No OFD packet to send [19:39:38]OFD Sender: No OFD packet to send [19:39:43]OFD Sender: No OFD packet to send [19:39:48]OFD Sender: No OFD packet to send [19:39:53]OFD Sender: No OFD packet to send [19:39:58]OFD Sender: No OFD packet to send [19:40:03]OFD Sender: No OFD packet to send [19:40:08]OFD Sender: No OFD packet to send [19:40:13]OFD Sender: No OFD packet to send [19:40:18]OFD Sender: No OFD packet to send [19:40:23]OFD Sender: No OFD packet to send [19:40:28]OFD Sender: No OFD packet to send [19:40:33]OFD Sender: No OFD packet to send [19:40:38]OFD Sender: No OFD packet to send [19:40:43]OFD Sender: No OFD packet to send [19:40:48]OFD Sender: No OFD packet to send [19:40:53]OFD Sender: No OFD packet to send [19:40:58]OFD Sender: No OFD packet to send [19:41:03]OFD Sender: No OFD packet to send [19:41:08]OFD Sender: No OFD packet to send [19:41:13]OFD Sender: No OFD packet to send [19:41:18]OFD Sender: No OFD packet to send [19:41:23]OFD Sender: No OFD packet to send [19:41:28]OFD Sender: No OFD packet to send [19:41:33]OFD Sender: No OFD packet to send [19:41:38]OFD Sender: No OFD packet to send [19:41:43]OFD Sender: No OFD packet to send [19:41:48]OFD Sender: No OFD packet to send [19:41:53]OFD Sender: No OFD packet to send [19:41:58]OFD Sender: No OFD packet to send [19:42:03]OFD Sender: No OFD packet to send [19:42:08]OFD Sender: No OFD packet to send [19:42:13]OFD Sender: No OFD packet to send [19:42:18]OFD Sender: No OFD packet to send [19:42:23]OFD Sender: No OFD packet to send [19:42:28]OFD Sender: No OFD packet to send [19:42:33]OFD Sender: No OFD packet to send [19:42:38]OFD Sender: No OFD packet to send [19:42:43]OFD Sender: No OFD packet to send [19:42:48]OFD Sender: No OFD packet to send [19:42:53]OFD Sender: No OFD packet to send [19:42:58]OFD Sender: No OFD packet to send [19:43:03]OFD Sender: No OFD packet to send [19:43:08]OFD Sender: No OFD packet to send [19:43:13]OFD Sender: No OFD packet to send [19:43:18]OFD Sender: No OFD packet to send [19:43:23]OFD Sender: No OFD packet to send [19:43:28]OFD Sender: No OFD packet to send [19:43:33]OFD Sender: No OFD packet to send [19:43:38]OFD Sender: No OFD packet to send [19:43:43]OFD Sender: No OFD packet to send [19:43:48]OFD Sender: No OFD packet to send [19:43:53]OFD Sender: No OFD packet to send [19:43:58]OFD Sender: No OFD packet to send [19:44:03]OFD Sender: No OFD packet to send [19:44:08]OFD Sender: No OFD packet to send [19:44:13]OFD Sender: No OFD packet to send [19:44:18]OFD Sender: No OFD packet to send [19:44:23]OFD Sender: No OFD packet to send [19:44:28]OFD Sender: No OFD packet to send [19:44:33]OFD Sender: No OFD packet to send [19:44:38]OFD Sender: No OFD packet to send [19:44:43]OFD Sender: No OFD packet to send [19:44:48]OFD Sender: No OFD packet to send [19:44:53]OFD Sender: No OFD packet to send [19:44:58]OFD Sender: No OFD packet to send [19:45:03]OFD Sender: No OFD packet to send [19:45:08]OFD Sender: No OFD packet to send [19:45:13]OFD Sender: No OFD packet to send [19:45:18]OFD Sender: No OFD packet to send [19:45:23]OFD Sender: No OFD packet to send [19:45:28]OFD Sender: No OFD packet to send [19:45:33]OFD Sender: No OFD packet to send [19:45:38]OFD Sender: No OFD packet to send [19:45:43]OFD Sender: No OFD packet to send [19:45:48]OFD Sender: No OFD packet to send [19:45:53]OFD Sender: No OFD packet to send [19:45:58]OFD Sender: No OFD packet to send [19:46:03]OFD Sender: No OFD packet to send [19:46:08]OFD Sender: No OFD packet to send [19:46:13]OFD Sender: No OFD packet to send [19:46:18]OFD Sender: No OFD packet to send [19:46:23]OFD Sender: No OFD packet to send [19:46:28]OFD Sender: No OFD packet to send [19:46:33]OFD Sender: No OFD packet to send [19:46:38]OFD Sender: No OFD packet to send [19:46:43]OFD Sender: No OFD packet to send [19:46:48]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:49]OFD Sender: No OFD packet to send [19:58:54]OFD Sender: No OFD packet to send [19:58:59]OFD Sender: No OFD packet to send [19:59:04]OFD Sender: No OFD packet to send [19:59:09]OFD Sender: No OFD packet to send [19:59:14]OFD Sender: No OFD packet to send [19:59:19]OFD Sender: No OFD packet to send [19:59:24]OFD Sender: No OFD packet to send [19:59:29]OFD Sender: No OFD packet to send [19:59:34]OFD Sender: No OFD packet to send [19:59:39]OFD Sender: No OFD packet to send [19:59:44]OFD Sender: No OFD packet to send [19:59:49]OFD Sender: No OFD packet to send [19:59:54]OFD Sender: No OFD packet to send [19:59:59]OFD Sender: No OFD packet to send [20:00:04]OFD Sender: No OFD packet to send [20:00:07]ConnectInit Can't connect to host [20:00:09]OFD Sender: No OFD packet to send [20:00:14]OFD Sender: No OFD packet to send [20:00:19]OFD Sender: No OFD packet to send [20:00:24]OFD Sender: No OFD packet to send [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:29]OFD Sender: No OFD packet to send [20:06:34]OFD Sender: No OFD packet to send [20:06:39]OFD Sender: No OFD packet to send [20:06:44]OFD Sender: No OFD packet to send [20:06:49]OFD Sender: No OFD packet to send [20:06:54]OFD Sender: No OFD packet to send [20:06:59]OFD Sender: No OFD packet to send [20:07:04]OFD Sender: No OFD packet to send [20:07:09]OFD Sender: No OFD packet to send [20:07:14]OFD Sender: No OFD packet to send [20:07:19]OFD Sender: No OFD packet to send [20:07:24]OFD Sender: No OFD packet to send [20:07:29]OFD Sender: No OFD packet to send [20:07:34]OFD Sender: No OFD packet to send [20:07:39]OFD Sender: No OFD packet to send [20:07:44]OFD Sender: No OFD packet to send [20:07:49]OFD Sender: No OFD packet to send [20:07:54]OFD Sender: No OFD packet to send [20:07:59]OFD Sender: No OFD packet to send [20:08:04]OFD Sender: No OFD packet to send [20:08:09]OFD Sender: No OFD packet to send [20:08:14]OFD Sender: No OFD packet to send [20:08:19]OFD Sender: No OFD packet to send [20:08:24]OFD Sender: No OFD packet to send [20:08:29]OFD Sender: No OFD packet to send [20:08:34]OFD Sender: No OFD packet to send [20:08:39]OFD Sender: No OFD packet to send [20:08:44]OFD Sender: No OFD packet to send [20:08:49]OFD Sender: No OFD packet to send [20:08:54]OFD Sender: No OFD packet to send [20:08:59]OFD Sender: No OFD packet to send [20:09:04]OFD Sender: No OFD packet to send [20:09:09]OFD Sender: No OFD packet to send [20:09:14]OFD Sender: No OFD packet to send [20:09:19]OFD Sender: No OFD packet to send [20:09:24]OFD Sender: No OFD packet to send [20:09:29]OFD Sender: No OFD packet to send [20:09:34]OFD Sender: No OFD packet to send [20:09:39]OFD Sender: No OFD packet to send [20:09:44]OFD Sender: No OFD packet to send [20:09:49]OFD Sender: No OFD packet to send [20:09:54]OFD Sender: No OFD packet to send [20:09:59]OFD Sender: No OFD packet to send [20:10:04]OFD Sender: No OFD packet to send [20:10:09]OFD Sender: No OFD packet to send [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]OFD Sender: No OFD packet to send [20:11:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:18]accept exits with 8 [20:13:18]New connection [20:13:18]New thread 3067321700 created [20:13:18]Thread 3067178340 joined [20:13:18]Waiting for new connection... [20:13:18] Sock 8.Parse request [20:13:18]Sock 8.Check first char [20:13:18]Sock 8.First char is OK [20:13:18]request: POST /json_proto HTTP/1.0 [20:13:18]Method: POST [20:13:18]URL: /json_proto [20:13:18]Method is POST - this is cgi request [20:13:18]url: /json_proto [20:13:18]query_string will be loaded in cgi processing [20:13:18]execute_cgi json_proto POST (null) [20:13:18]execute_cgi path=json_proto method=POST [20:13:18]POST find Content-Length [20:13:18]Host: 172.17.35.133:8080 [20:13:18]Content-Length: 626 [20:13:18]Content-Type: application/json [20:13:18] [20:13:18]POST finish read [20:13:18]Found Content-Length = 626 [20:13:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254302", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:13:18]execute_script... [20:13: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)254302", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:13:18]POST & json_proto [20:13:18]process_json_proto [20:13:18]json parsed OK: [20:13:18]protocol is kg_v1.0 [20:13:18]action value=close_receipt [20:13:18]process_action close_receipt [20:13:18]cmd_close_receipt [20:13:18]MH_GetDate [20:13:18]Write to MH i2c: F0 00 00 62 2C 7D [20:13:18]Write i2c OK [20:13:18]MH_I2C_Read... [20:13:18]Read from MH i2c: F0 [20:13:18]MH_I2C_Read... [20:13:18]Read from MH i2c: F0 09 00 [20:13:18]MH_I2C_Read... [20:13:18]Read from MH i2c: F0 09 00 62 2C 00 E9 52 6B 66 8C 55 28 65 00 [20:13:18]GetLastDocTimeStamp 1718306159 [20:13:18]current date 1718309609 [20:13:18]FM_GetShiftState [20:13:18]SAM_PROTO_GetShiftState [20:13:18]wFMCommunicate request_size=4 [20:13:18]MH_SAM_APDU [20:13:18]CAPDU: 80 13 01 00 [20:13:18]Write to MH i2c: E2 08 00 63 2C 80 13 01 00 00 00 00 00 0C [20:13:18]Write i2c OK [20:13:18]MH_I2C_Read... [20:13:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:18]Read from MH i2c: E2 [20:13:18]MH_I2C_Read... [20:13:18]Read from MH i2c: E2 0E 00 [20:13:18]MH_I2C_Read... [20:13:18]Read from MH i2c: E2 0E 00 63 2C 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 2A [20:13:18]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [20:13:18]wFMCommunicate OK [20:13:18]SAM_PROTO_GetShiftState done [20:13:18]FM_GetShiftState done [20:13:18]opened in 1718237959 [20:13:18]opened+sec_in_day 1718324359 [20:13:18]quantity*price = 13500 [20:13:18]sum+1 = 13501 [20:13:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 57 13.06.2024 20:13 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22077 ФПД: 146503497763356 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T201329&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22077&fm=146503497763356&tin=02508201610067®Number=0000000000099755&sum=13500 0 [20:13:20]StoreToDocumentArchive [20:13:20]shift 324 fd 22077 [20:13:20]save to /storage/0324/doc_00022077 [20:13:20]save last doc name /storage/0324/doc_00022077 to /storage/kkm_last_doc_name [20:13:20]save OK [20:13:20]Clear old archive folders... [20:13:20]ProcessDocumentItem done err = 0, tmpTLVsize=278 [20:13:20]tlvbuf is B6E02830 [20:13:20]SAM_PROTO_ClearQueue [20:13:20]wFMCommunicate request_size=4 [20:13:20]MH_SAM_APDU [20:13:20]CAPDU: 80 09 00 00 [20:13:20]Write to MH i2c: E2 08 00 70 2C 80 09 00 00 00 00 00 00 0E [20:13:20]Write i2c OK [20:13:20]MH_I2C_Read... [20:13:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:13:20]Read from MH i2c: E2 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 03 00 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 03 00 70 2C 00 90 00 10 [20:13:20]RAPDU: 90 00 [20:13:20]wFMCommunicate OK [20:13:20]SAM_PROTO_ClearQueue done [20:13:20]KKMCreateOFDPacket [20:13:20]OFDProtocolAddRootSTLVToBuf [20:13:20]FM_MakeSignedData [20:13:20]FM_MakeSignedData [20:13:20]SAM_PROTO_SignData [20:13:20]wFMCommunicate request_size=4 [20:13:20]MH_SAM_APDU [20:13:20]CAPDU: 80 0D 01 02 [20:13:20]Write to MH i2c: E2 08 00 71 2C 80 0D 01 02 00 00 00 00 16 [20:13:20]Write i2c OK [20:13:20]MH_I2C_Read... [20:13:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:13:20]Read from MH i2c: E2 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 03 00 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 03 00 71 2C 00 90 00 11 [20:13:20]RAPDU: 90 00 [20:13:20]wFMCommunicate OK [20:13:20]wFMCommunicate request_size=255 [20:13:20]MH_SAM_APDU [20:13:20]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 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 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 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 39 00 00 00 F4 03 04 00 E9 52 6B 66 0E 04 04 00 44 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:20]Write to MH i2c: E2 02 01 72 2C 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 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 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 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 39 00 00 00 F4 03 04 00 E9 52 6B 66 0E 04 04 00 44 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 74 [20:13:20]Write i2c OK [20:13:20]MH_I2C_Read... [20:13:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:20]Read from MH i2c: E2 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 03 00 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 03 00 72 2C 00 90 00 12 [20:13:20]RAPDU: 90 00 [20:13:20]wFMCommunicate OK [20:13:20]wFMCommunicate request_size=37 [20:13:20]MH_SAM_APDU [20:13:20]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 3D 56 00 00 35 04 06 00 85 3E 80 F1 4A 1C [20:13:20]Write to MH i2c: E2 28 00 73 2C 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 3D 56 00 00 35 04 06 00 85 3E 80 F1 4A 1C 00 00 9C [20:13:20]Write i2c OK [20:13:20]MH_I2C_Read... [20:13:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:20]Read from MH i2c: E2 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 03 00 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 03 00 73 2C 00 90 00 13 [20:13:20]RAPDU: 90 00 [20:13:20]wFMCommunicate OK [20:13:20]wFMCommunicate request_size=4 [20:13:20]MH_SAM_APDU [20:13:20]CAPDU: 80 0D 03 02 [20:13:20]Write to MH i2c: E2 08 00 74 2C 80 0D 03 02 00 00 00 00 1B [20:13:20]Write i2c OK [20:13:20]MH_I2C_Read... [20:13:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:13:20]Read from MH i2c: E2 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 0B 00 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 0B 00 74 2C 00 D2 F8 1E D8 BF C2 78 2A 90 00 FF [20:13:20]RAPDU: D2 F8 1E D8 BF C2 78 2A 90 00 [20:13:20]wFMCommunicate OK [20:13:20]SAM_PROTO_SignData done [20:13:20]FM_MakeSignedData done [20:13:20]CreateOFDProtocolMessage [20:13:20]wFMCommunicate request_size=4 [20:13:20]MH_SAM_APDU [20:13:20]CAPDU: 80 11 00 00 [20:13:20]Write to MH i2c: E2 08 00 75 2C 80 11 00 00 00 00 00 00 1B [20:13:20]Write i2c OK [20:13:20]MH_I2C_Read... [20:13:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:20]Read from MH i2c: E2 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 17 00 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: E2 17 00 75 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6D [20:13:20]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:20]wFMCommunicate OK [20:13:20]CreateOFDProtocolMessage done [20:13:20]OFDSenderStorePacket 22077 [20:13:20]StoreOFDPacket docnum=22077 [20:13: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 2A 01 00 00 3F 54 22 01 07 D4 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 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 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 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 39 00 00 00 F4 03 04 00 E9 52 6B 66 0E 04 04 00 44 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 3D 56 00 00 35 04 06 00 85 3E 80 F1 4A 1C D2 F8 1E D8 BF C2 78 2A [20:13:20]CheckFolder [20:13:20]dirname=/storage/ofd_packets [20:13:20]CheckFolder done [20:13:20]ProducePacketName [20:13:20]name=ofd_packets/00022077 [20:13:20]NVStorageSaveData ofd_packets/00022077 [20:13:20]File name is /storage/ofd_packets/00022077 [20:13:20]Write 328 bytes [20:13:20]NVStorageSaveData done [20:13:20]OFDSenderStorePacket done [20:13:20]KKMCreateOFDPacket done [20:13:20]NVStorageSaveData kkm_last_timestamp [20:13:20]File name is /storage/kkm_last_timestamp [20:13:20]Write 4 bytes [20:13:20]NVStorageSaveData done [20:13:20]ExternCall_PrintAddStr [20:13:20]wPrintStart [20:13:20]Write to MH i2c: 01 00 00 76 2C A2 [20:13:20]Write i2c OK [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: 01 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: 01 07 00 [20:13:20]MH_I2C_Read... [20:13:20]Read from MH i2c: 01 07 00 76 2C 00 00 00 00 00 FF 0F B7 [20:13:20]RasterBufferAndPrint [20:13:20]line Счет N : (3)254302 [20:13:20]line ИНН: 02508201610067 [20:13:20]line Контрольно-Кассовый Чек [20:13:20]line ПРОДАЖА [20:13:20]line Товар: 48741224 [20:13:20]line Сигареты Winston Super Slims Blue [20:13:20]line 1.000 * 135.00 [20:13:20]line = 135.00 [20:13:20]line НДС 12% НСП 1% [20:13:20]line > о реализуемом товаре [20:13:20]line ИТОГО: 135.00 [20:13:20]line НСП 1% : 1.19 [20:13:20]line НДС 12% : 14.34 [20:13:20]line Наличными: 135.00 [20:13:20]line Безнал.: 0.00 [20:13:20]line Место: АЗС № 76 "Партнер Нефть" [20:13:20]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [20:13:20]line СНО: Общий режим [20:13:20]line Чек 57 13.06.2024 20:13 [20:13:20]line Смена: 324 ФФД: 1.0 [20:13:20]line ЗНМ: 0300000200 [20:13:20]line РНМ: 0000000000099755 [20:13:20]line Версия ККМ: 001 [20:13:20]line ФМ: 0000000000965344 [20:13:20]line ФД: 22077 [20:13:20]line ФПД: 146503497763356 [20:13:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T201329&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22077&fm=146503497763356&tin=02508201610067®Number=0000000000099755&sum=13500 [20:13:20]line 0 [20:13:20]OFD Sender: Processing packet 22077 [packets to send 5, broken 4] [20:13:20]ProducePacketName [20:13:20]name=ofd_packets/00022077 [20:13:20]OFD Sender: To server: pG, [20:13:20]CommunicateWithHost lk.salyk.kg:30040 [20:13:20]ConnectInit lk.salyk.kg [20:13:20]written 0, free lines is 4095 [20:13:21]Connected sock=10 [20:13: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 2A 01 00 00 3F 54 22 01 07 D4 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 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 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 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 39 00 00 00 F4 03 04 00 E9 52 6B 66 0E 04 04 00 44 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 3D 56 00 00 35 04 06 00 85 3E 80 F1 4A 1C D2 F8 1E D8 BF C2 78 2A [20:13: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 AB B5 47 00 E5 6B 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 3D 56 00 00 F4 03 04 00 AB FB 6A 66 B6 04 01 00 00 F5 1F A3 83 EE 7D B6 F6 [20:13:21]CommunicateWithHost err = 0 [20:13:21]CheckOFDResponse [20:13:21]1017 (14) - 77093643461234 [20:13:21]1041 (16) - 0000000000965344 [20:13:21]1040 (4) - 22077 [20:13:21]1012 (4) - 13.06.2024 14:01 [20:13:21]1206 (1) - 0 [20:13:21]OFD Sender: Remove packet 22077 [20:13:21]ProducePacketName [20:13:21]name=ofd_packets/00022077 [20:13:21]NVStorageDeleteData [20:13:21]Write to MH i2c: 01 00 00 9F 2C CB [20:13:21]Write i2c OK [20:13:21]MH_I2C_Read... [20:13:21]Read from MH i2c: 01 [20:13:21]MH_I2C_Read... [20:13:21]Read from MH i2c: 01 07 00 [20:13:21]MH_I2C_Read... [20:13:21]Read from MH i2c: 01 07 00 9F 2C 00 00 00 00 00 00 0D DF [20:13:21]RasterBufferAndPrint [20:13:21]line [20:13:21]line [20:13:21]line [20:13:21]line [20:13:21]line [20:13:21]written 0, free lines is 3333 [20:13:21]MH_Cut [20:13:21]Write to MH i2c: D1 01 00 A6 2C 01 A4 [20:13:21]Write i2c OK [20:13:21]MH_I2C_Read... [20:13:21]Read from MH i2c: D1 [20:13:21]MH_I2C_Read... [20:13:21]Read from MH i2c: D1 01 00 [20:13:21]MH_I2C_Read... [20:13:21]Read from MH i2c: D1 01 00 A6 2C 00 A3 [20:13:21]Write to MH i2c: 01 00 00 A7 2C D3 [20:13:21]Write i2c OK [20:13:21]MH_I2C_Read... [20:13:21]OFD Sender: No OFD packet to send [20:13:22]*** Cut start [20:13:22]*** Partial cut [20:13:22]*** CUTSNS_PIN = 1 [20:13:22]*** CUTSNS_PIN = 0 [20:13:22]*** Brake cut motor [20:13:22]Read from MH i2c: 01 [20:13:22]MH_I2C_Read... [20:13:22]*** Stop cut motor [20:13:22]*** Cut end [20:13:22]Read from MH i2c: 01 07 00 [20:13:22]MH_I2C_Read... [20:13:22]Read from MH i2c: 01 07 00 A7 2C 00 00 00 00 00 FF 0F E8 [20:13:22]process_action close_receipt done [20:13:22]requested_data is exist [20:13:22]produce_requested_data [20:13:22]requested_item fm.sn is exist - process it [20:13:22]wFMCommunicate request_size=4 [20:13:22]MH_SAM_APDU [20:13:22]CAPDU: 80 11 00 00 [20:13:22]Write to MH i2c: E2 08 00 A8 2C 80 11 00 00 00 00 00 00 4E [20:13:22]Write i2c OK [20:13:22]MH_I2C_Read... [20:13:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:22]Read from MH i2c: E2 [20:13:22]MH_I2C_Read... [20:13:22]Read from MH i2c: E2 17 00 [20:13:22]MH_I2C_Read... [20:13:22]Read from MH i2c: E2 17 00 A8 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A0 [20:13:22]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:22]wFMCommunicate OK [20:13:22]requested_item fd.num is exist - process it [20:13:22]SAM_PROTO_GetFieldsCounters [20:13:22]wFMCommunicate request_size=4 [20:13:22]MH_SAM_APDU [20:13:22]CAPDU: 80 13 00 00 [20:13:22]Write to MH i2c: E2 08 00 A9 2C 80 13 00 00 00 00 00 00 51 [20:13:22]Write i2c OK [20:13:22]MH_I2C_Read... [20:13:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:13:22]Read from MH i2c: E2 [20:13:22]MH_I2C_Read... [20:13:22]Read from MH i2c: E2 62 00 [20:13:22]MH_I2C_Read... [20:13:22]Read from MH i2c: E2 62 00 A9 2C 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 3D 56 00 00 0E 04 04 00 44 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 FE [20:13:22]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 3D 56 00 00 0E 04 04 00 44 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 [20:13:22]wFMCommunicate OK [20:13:22]SAM_PROTO_GetFieldsCounters done [20:13:22]requested_item shift.num is exist - process it [20:13:22]requested_item shift.opened is exist - process it [20:13:22]req_shift_opened [20:13:22]FM_GetShiftState [20:13:22]SAM_PROTO_GetShiftState [20:13:22]wFMCommunicate request_size=4 [20:13:22]MH_SAM_APDU [20:13:22]CAPDU: 80 13 01 00 [20:13:22]Write to MH i2c: E2 08 00 AA 2C 80 13 01 00 00 00 00 00 53 [20:13:22]Write i2c OK [20:13:22]MH_I2C_Read... [20:13:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:22]Read from MH i2c: E2 [20:13:22]MH_I2C_Read... [20:13:22]Read from MH i2c: E2 0E 00 [20:13:22]MH_I2C_Read... [20:13:22]Read from MH i2c: E2 0E 00 AA 2C 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 71 [20:13:22]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [20:13:22]wFMCommunicate OK [20:13:22]SAM_PROTO_GetShiftState done [20:13:22]FM_GetShiftState done [20:13:22]req_shift_opened done [20:13:22]requested_item shift.open_date is exist - process it [20:13:22]req_shift_open_date [20:13:22]req_shift_open_date done [20:13:22]produce_requested_data done [20:13:22]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22077,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [20:13:22]process_action_free close_receipt [20:13:22]json_value_free [20:13:22]json_value_free done [20:13:22]process_json_proto returns [20:13:22]Send response to host [20:13:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22077,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [20:13:22]free response buf [20:13:22]execute_script done [20:13:22]execute_script returns [20:13:22]free content buf [20:13:22]Sock 8.Close socket [20:13:22]Sock 8.Thread stoped [20:13:26]OFD Sender: No OFD packet to send [20:13:31]OFD Sender: No OFD packet to send [20:13:36]OFD Sender: No OFD packet to send [20:13:41]OFD Sender: No OFD packet to send [20:13:46]OFD Sender: No OFD packet to send [20:13:51]OFD Sender: No OFD packet to send [20:13:56]OFD Sender: No OFD packet to send [20:14:01]OFD Sender: No OFD packet to send [20:14:06]OFD Sender: No OFD packet to send [20:14:11]OFD Sender: No OFD packet to send [20:14:16]OFD Sender: No OFD packet to send [20:14:21]OFD Sender: No OFD packet to send [20:14:26]OFD Sender: No OFD packet to send [20:14:31]OFD Sender: No OFD packet to send [20:14:36]OFD Sender: No OFD packet to send [20:14:41]OFD Sender: No OFD packet to send [20:14:46]OFD Sender: No OFD packet to send [20:14:51]OFD Sender: No OFD packet to send [20:14:56]OFD Sender: No OFD packet to send [20:15:01]OFD Sender: No OFD packet to send [20:15:06]OFD Sender: No OFD packet to send [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:41]OFD Sender: No OFD packet to send [20:15:46]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:56]OFD Sender: No OFD packet to send [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:27]OFD Sender: No OFD packet to send [20:17:32]OFD Sender: No OFD packet to send [20:17:37]OFD Sender: No OFD packet to send [20:17:42]OFD Sender: No OFD packet to send [20:17:47]OFD Sender: No OFD packet to send [20:17:52]OFD Sender: No OFD packet to send [20:17:57]OFD Sender: No OFD packet to send [20:18:02]OFD Sender: No OFD packet to send [20:18:07]OFD Sender: No OFD packet to send [20:18:12]OFD Sender: No OFD packet to send [20:18:17]OFD Sender: No OFD packet to send [20:18:22]OFD Sender: No OFD packet to send [20:18:27]OFD Sender: No OFD packet to send [20:18:32]OFD Sender: No OFD packet to send [20:18:37]OFD Sender: No OFD packet to send [20:18:42]OFD Sender: No OFD packet to send [20:18:47]OFD Sender: No OFD packet to send [20:18:52]OFD Sender: No OFD packet to send [20:18:57]OFD Sender: No OFD packet to send [20:19:02]OFD Sender: No OFD packet to send [20:19:07]OFD Sender: No OFD packet to send [20:19:12]OFD Sender: No OFD packet to send [20:19:17]OFD Sender: No OFD packet to send [20:19:22]OFD Sender: No OFD packet to send [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]OFD Sender: No OFD packet to send [20:19:47]OFD Sender: No OFD packet to send [20:19:52]OFD Sender: No OFD packet to send [20:19:57]OFD Sender: No OFD packet to send [20:20:02]OFD Sender: No OFD packet to send [20:20:07]OFD Sender: No OFD packet to send [20:20:12]OFD Sender: No OFD packet to send [20:20:17]OFD Sender: No OFD packet to send [20:20:22]OFD Sender: No OFD packet to send [20:20:27]OFD Sender: No OFD packet to send [20:20:32]OFD Sender: No OFD packet to send [20:20:37]OFD Sender: No OFD packet to send [20:20:42]OFD Sender: No OFD packet to send [20:20:47]OFD Sender: No OFD packet to send [20:20:52]OFD Sender: No OFD packet to send [20:20:57]OFD Sender: No OFD packet to send [20:21:02]OFD Sender: No OFD packet to send [20:21:07]OFD Sender: No OFD packet to send [20:21:12]OFD Sender: No OFD packet to send [20:21:17]OFD Sender: No OFD packet to send [20:21:22]OFD Sender: No OFD packet to send [20:21:27]OFD Sender: No OFD packet to send [20:21:32]OFD Sender: No OFD packet to send [20:21:37]OFD Sender: No OFD packet to send [20:21:42]OFD Sender: No OFD packet to send [20:21:47]OFD Sender: No OFD packet to send [20:21:52]OFD Sender: No OFD packet to send [20:21:57]OFD Sender: No OFD packet to send [20:22:02]OFD Sender: No OFD packet to send [20:22:07]OFD Sender: No OFD packet to send [20:22:12]OFD Sender: No OFD packet to send [20:22:17]OFD Sender: No OFD packet to send [20:22:22]OFD Sender: No OFD packet to send [20:22:27]OFD Sender: No OFD packet to send [20:22:32]OFD Sender: No OFD packet to send [20:22:37]OFD Sender: No OFD packet to send [20:22:42]OFD Sender: No OFD packet to send [20:22:47]OFD Sender: No OFD packet to send [20:22:52]OFD Sender: No OFD packet to send [20:22:57]OFD Sender: No OFD packet to send [20:23:02]OFD Sender: No OFD packet to send [20:23:07]OFD Sender: No OFD packet to send [20:23:12]OFD Sender: No OFD packet to send [20:23:17]OFD Sender: No OFD packet to send [20:23:22]OFD Sender: No OFD packet to send [20:23:27]OFD Sender: No OFD packet to send [20:23:32]OFD Sender: No OFD packet to send [20:23:37]OFD Sender: No OFD packet to send [20:23:42]OFD Sender: No OFD packet to send [20:23:47]OFD Sender: No OFD packet to send [20:23:52]OFD Sender: No OFD packet to send [20:23:57]OFD Sender: No OFD packet to send [20:24:02]OFD Sender: No OFD packet to send [20:24:07]OFD Sender: No OFD packet to send [20:24:12]OFD Sender: No OFD packet to send [20:24:17]OFD Sender: No OFD packet to send [20:24:22]OFD Sender: No OFD packet to send [20:24:27]OFD Sender: No OFD packet to send [20:24:32]OFD Sender: No OFD packet to send [20:24:37]OFD Sender: No OFD packet to send [20:24:42]OFD Sender: No OFD packet to send [20:24:47]OFD Sender: No OFD packet to send [20:24:52]OFD Sender: No OFD packet to send [20:24:57]OFD Sender: No OFD packet to send [20:25:02]OFD Sender: No OFD packet to send [20:25:07]OFD Sender: No OFD packet to send [20:25:12]OFD Sender: No OFD packet to send [20:25:17]OFD Sender: No OFD packet to send [20:25:22]OFD Sender: No OFD packet to send [20:25:27]OFD Sender: No OFD packet to send [20:25:32]OFD Sender: No OFD packet to send [20:25:37]OFD Sender: No OFD packet to send [20:25:42]OFD Sender: No OFD packet to send [20:25:47]OFD Sender: No OFD packet to send [20:25:52]OFD Sender: No OFD packet to send [20:25:57]OFD Sender: No OFD packet to send [20:26:02]OFD Sender: No OFD packet to send [20:26:07]OFD Sender: No OFD packet to send [20:26:12]OFD Sender: No OFD packet to send [20:26:17]OFD Sender: No OFD packet to send [20:26:22]OFD Sender: No OFD packet to send [20:26:27]OFD Sender: No OFD packet to send [20:26:32]OFD Sender: No OFD packet to send [20:26:37]OFD Sender: No OFD packet to send [20:26:42]OFD Sender: No OFD packet to send [20:26:47]OFD Sender: No OFD packet to send [20:26:52]OFD Sender: No OFD packet to send [20:26:57]OFD Sender: No OFD packet to send [20:27:02]OFD Sender: No OFD packet to send [20:27:07]OFD Sender: No OFD packet to send [20:27:12]OFD Sender: No OFD packet to send [20:27:17]OFD Sender: No OFD packet to send [20:27:22]OFD Sender: No OFD packet to send [20:27:27]OFD Sender: No OFD packet to send [20:27:32]OFD Sender: No OFD packet to send [20:27:37]OFD Sender: No OFD packet to send [20:27:42]OFD Sender: No OFD packet to send [20:27:47]OFD Sender: No OFD packet to send [20:27:52]OFD Sender: No OFD packet to send [20:27:57]OFD Sender: No OFD packet to send [20:28:02]OFD Sender: No OFD packet to send [20:28:07]OFD Sender: No OFD packet to send [20:28:12]OFD Sender: No OFD packet to send [20:28:17]OFD Sender: No OFD packet to send [20:28:22]OFD Sender: No OFD packet to send [20:28:27]OFD Sender: No OFD packet to send [20:28:32]OFD Sender: No OFD packet to send [20:28:37]OFD Sender: No OFD packet to send [20:28:42]OFD Sender: No OFD packet to send [20:28:47]OFD Sender: No OFD packet to send [20:28:52]OFD Sender: No OFD packet to send [20:28:57]OFD Sender: No OFD packet to send [20:29:02]OFD Sender: No OFD packet to send [20:29:07]OFD Sender: No OFD packet to send [20:29:12]OFD Sender: No OFD packet to send [20:29:17]OFD Sender: No OFD packet to send [20:29:22]OFD Sender: No OFD packet to send [20:29:27]OFD Sender: No OFD packet to send [20:29:32]OFD Sender: No OFD packet to send [20:29:37]OFD Sender: No OFD packet to send [20:29:42]OFD Sender: No OFD packet to send [20:29:47]OFD Sender: No OFD packet to send [20:29:52]OFD Sender: No OFD packet to send [20:29:57]OFD Sender: No OFD packet to send [20:30:02]OFD Sender: No OFD packet to send [20:30:07]OFD Sender: No OFD packet to send [20:30:12]OFD Sender: No OFD packet to send [20:30:17]OFD Sender: No OFD packet to send [20:30:22]OFD Sender: No OFD packet to send [20:30:27]OFD Sender: No OFD packet to send [20:30:32]OFD Sender: No OFD packet to send [20:30:37]OFD Sender: No OFD packet to send [20:30:42]OFD Sender: No OFD packet to send [20:30:47]OFD Sender: No OFD packet to send [20:30:52]OFD Sender: No OFD packet to send [20:30:57]OFD Sender: No OFD packet to send [20:31:02]OFD Sender: No OFD packet to send [20:31:07]OFD Sender: No OFD packet to send [20:31:12]OFD Sender: No OFD packet to send [20:31:17]OFD Sender: No OFD packet to send [20:31:22]OFD Sender: No OFD packet to send [20:31:27]OFD Sender: No OFD packet to send [20:31:32]OFD Sender: No OFD packet to send [20:31:37]OFD Sender: No OFD packet to send [20:31:42]OFD Sender: No OFD packet to send [20:31:47]OFD Sender: No OFD packet to send [20:31:52]OFD Sender: No OFD packet to send [20:31:57]OFD Sender: No OFD packet to send [20:32:02]OFD Sender: No OFD packet to send [20:32:07]OFD Sender: No OFD packet to send [20:32:12]OFD Sender: No OFD packet to send [20:32:17]OFD Sender: No OFD packet to send [20:32:22]OFD Sender: No OFD packet to send [20:32:27]OFD Sender: No OFD packet to send [20:32:32]OFD Sender: No OFD packet to send [20:32:37]OFD Sender: No OFD packet to send [20:32:42]OFD Sender: No OFD packet to send [20:32:47]OFD Sender: No OFD packet to send [20:32:52]OFD Sender: No OFD packet to send [20:32:57]OFD Sender: No OFD packet to send [20:33:02]OFD Sender: No OFD packet to send [20:33:07]OFD Sender: No OFD packet to send [20:33:12]OFD Sender: No OFD packet to send [20:33:17]OFD Sender: No OFD packet to send [20:33:22]OFD Sender: No OFD packet to send [20:33:27]OFD Sender: No OFD packet to send [20:33:32]OFD Sender: No OFD packet to send [20:33:37]OFD Sender: No OFD packet to send [20:33:42]OFD Sender: No OFD packet to send [20:33:47]OFD Sender: No OFD packet to send [20:33:52]OFD Sender: No OFD packet to send [20:33:57]OFD Sender: No OFD packet to send [20:34:02]OFD Sender: No OFD packet to send [20:34:07]OFD Sender: No OFD packet to send [20:34:12]OFD Sender: No OFD packet to send [20:34:17]OFD Sender: No OFD packet to send [20:34:22]OFD Sender: No OFD packet to send [20:34:27]OFD Sender: No OFD packet to send [20:34:32]OFD Sender: No OFD packet to send [20:34:37]OFD Sender: No OFD packet to send [20:34:42]OFD Sender: No OFD packet to send [20:34:47]OFD Sender: No OFD packet to send [20:34:52]OFD Sender: No OFD packet to send [20:34:57]OFD Sender: No OFD packet to send [20:35:02]OFD Sender: No OFD packet to send [20:35:07]OFD Sender: No OFD packet to send [20:35:12]OFD Sender: No OFD packet to send [20:35:17]OFD Sender: No OFD packet to send [20:35:22]OFD Sender: No OFD packet to send [20:35:27]OFD Sender: No OFD packet to send [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36:32]OFD Sender: No OFD packet to send [20:36:37]OFD Sender: No OFD packet to send [20:36:42]OFD Sender: No OFD packet to send [20:36:47]OFD Sender: No OFD packet to send [20:36:52]OFD Sender: No OFD packet to send [20:36:57]OFD Sender: No OFD packet to send [20:37:02]OFD Sender: No OFD packet to send [20:37:07]OFD Sender: No OFD packet to send [20:37:12]OFD Sender: No OFD packet to send [20:37:17]OFD Sender: No OFD packet to send [20:37:22]OFD Sender: No OFD packet to send [20:37:27]OFD Sender: No OFD packet to send [20:37:32]OFD Sender: No OFD packet to send [20:37:37]OFD Sender: No OFD packet to send [20:37:42]OFD Sender: No OFD packet to send [20:37:47]OFD Sender: No OFD packet to send [20:37:52]OFD Sender: No OFD packet to send [20:37:57]OFD Sender: No OFD packet to send [20:38:02]OFD Sender: No OFD packet to send [20:38:07]OFD Sender: No OFD packet to send [20:38:12]OFD Sender: No OFD packet to send [20:38:17]OFD Sender: No OFD packet to send [20:38:22]OFD Sender: No OFD packet to send [20:38:27]OFD Sender: No OFD packet to send [20:38:33]OFD Sender: No OFD packet to send [20:38:38]OFD Sender: No OFD packet to send [20:38:43]OFD Sender: No OFD packet to send [20:38:48]OFD Sender: No OFD packet to send [20:38:53]OFD Sender: No OFD packet to send [20:38:58]OFD Sender: No OFD packet to send [20:39:03]OFD Sender: No OFD packet to send [20:39:08]OFD Sender: No OFD packet to send [20:39:13]OFD Sender: No OFD packet to send [20:39:18]OFD Sender: No OFD packet to send [20:39:23]OFD Sender: No OFD packet to send [20:39:28]OFD Sender: No OFD packet to send [20:39:33]OFD Sender: No OFD packet to send [20:39:38]OFD Sender: No OFD packet to send [20:39:43]OFD Sender: No OFD packet to send [20:39:48]OFD Sender: No OFD packet to send [20:39:53]OFD Sender: No OFD packet to send [20:39:58]OFD Sender: No OFD packet to send [20:40:03]OFD Sender: No OFD packet to send [20:40:08]OFD Sender: No OFD packet to send [20:40:13]OFD Sender: No OFD packet to send [20:40:18]OFD Sender: No OFD packet to send [20:40:23]OFD Sender: No OFD packet to send [20:40:28]OFD Sender: No OFD packet to send [20:40:33]OFD Sender: No OFD packet to send [20:40:38]OFD Sender: No OFD packet to send [20:40:43]OFD Sender: No OFD packet to send [20:40:48]OFD Sender: No OFD packet to send [20:40:53]OFD Sender: No OFD packet to send [20:40:58]OFD Sender: No OFD packet to send [20:41:03]OFD Sender: No OFD packet to send [20:41:08]OFD Sender: No OFD packet to send [20:41:13]OFD Sender: No OFD packet to send [20:41:18]OFD Sender: No OFD packet to send [20:41:23]OFD Sender: No OFD packet to send [20:41:28]OFD Sender: No OFD packet to send [20:41:33]OFD Sender: No OFD packet to send [20:41:38]OFD Sender: No OFD packet to send [20:41:43]OFD Sender: No OFD packet to send [20:41:48]OFD Sender: No OFD packet to send [20:41:53]OFD Sender: No OFD packet to send [20:41:58]OFD Sender: No OFD packet to send [20:42:03]OFD Sender: No OFD packet to send [20:42:08]OFD Sender: No OFD packet to send [20:42:13]OFD Sender: No OFD packet to send [20:42:18]OFD Sender: No OFD packet to send [20:42:23]OFD Sender: No OFD packet to send [20:42:28]OFD Sender: No OFD packet to send [20:42:33]OFD Sender: No OFD packet to send [20:42:38]OFD Sender: No OFD packet to send [20:42:43]OFD Sender: No OFD packet to send [20:42:48]OFD Sender: No OFD packet to send [20:42:53]OFD Sender: No OFD packet to send [20:42:58]OFD Sender: No OFD packet to send [20:43:03]OFD Sender: No OFD packet to send [20:43:08]OFD Sender: No OFD packet to send [20:43:13]OFD Sender: No OFD packet to send [20:43:18]OFD Sender: No OFD packet to send [20:43:23]OFD Sender: No OFD packet to send [20:43:28]OFD Sender: No OFD packet to send [20:43:33]OFD Sender: No OFD packet to send [20:43:38]OFD Sender: No OFD packet to send [20:43:43]OFD Sender: No OFD packet to send [20:43:48]OFD Sender: No OFD packet to send [20:43:53]OFD Sender: No OFD packet to send [20:43:58]OFD Sender: No OFD packet to send [20:44:03]OFD Sender: No OFD packet to send [20:44:08]OFD Sender: No OFD packet to send [20:44:13]OFD Sender: No OFD packet to send [20:44:16]accept exits with 9 [20:44:16]New connection [20:44:16]New thread 3067178340 created [20:44:16]Thread 3067321700 joined [20:44:16]Waiting for new connection... [20:44:16] Sock 9.Parse request [20:44:16]Sock 9.Check first char [20:44:16]Sock 9.First char is OK [20:44:16]request: POST /json_proto HTTP/1.0 [20:44:16]Method: POST [20:44:16]URL: /json_proto [20:44:16]Method is POST - this is cgi request [20:44:16]url: /json_proto [20:44:16]query_string will be loaded in cgi processing [20:44:16]execute_cgi json_proto POST (null) [20:44:16]execute_cgi path=json_proto method=POST [20:44:16]POST find Content-Length [20:44:16]Host: 172.17.35.133:8080 [20:44:16]Content-Length: 644 [20:44:16]Content-Type: application/json [20:44:16] [20:44:16]POST finish read [20:44:16]Found Content-Length = 644 [20:44:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254303", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:44:16]execute_script... [20:44: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)254303", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:44:16]POST & json_proto [20:44:16]process_json_proto [20:44:16]json parsed OK: [20:44:16]protocol is kg_v1.0 [20:44:16]action value=close_receipt [20:44:16]process_action close_receipt [20:44:16]cmd_close_receipt [20:44:16]MH_GetDate [20:44:16]Write to MH i2c: F0 00 00 AB 2C C6 [20:44:16]Write i2c OK [20:44:16]MH_I2C_Read... [20:44:16]Read from MH i2c: F0 [20:44:16]MH_I2C_Read... [20:44:16]Read from MH i2c: F0 09 00 [20:44:16]MH_I2C_Read... [20:44:16]Read from MH i2c: F0 09 00 AB 2C 00 2B 5A 6B 66 8C 55 28 65 93 [20:44:16]GetLastDocTimeStamp 1718309609 [20:44:16]current date 1718311467 [20:44:16]FM_GetShiftState [20:44:16]SAM_PROTO_GetShiftState [20:44:16]wFMCommunicate request_size=4 [20:44:16]MH_SAM_APDU [20:44:16]CAPDU: 80 13 01 00 [20:44:16]Write to MH i2c: E2 08 00 AC 2C 80 13 01 00 00 00 00 00 55 [20:44:16]Write i2c OK [20:44:16]MH_I2C_Read... [20:44:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:44:16]Read from MH i2c: E2 [20:44:16]MH_I2C_Read... [20:44:16]Read from MH i2c: E2 0E 00 [20:44:16]MH_I2C_Read... [20:44:16]Read from MH i2c: E2 0E 00 AC 2C 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 73 [20:44:16]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [20:44:16]wFMCommunicate OK [20:44:16]SAM_PROTO_GetShiftState done [20:44:16]FM_GetShiftState done [20:44:16]opened in 1718237959 [20:44:16]opened+sec_in_day 1718324359 [20:44:16]quantity*price = 11500 [20:44:16]sum+1 = 11501 [20:44:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 58 13.06.2024 20:44 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22078 ФПД: 83015197632612 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T204427&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22078&fm=83015197632612&tin=02508201610067®Number=0000000000099755&sum=11500 0 [20:44:18]StoreToDocumentArchive [20:44:18]shift 324 fd 22078 [20:44:18]save to /storage/0324/doc_00022078 [20:44:18]save last doc name /storage/0324/doc_00022078 to /storage/kkm_last_doc_name [20:44:18]save OK [20:44:18]Clear old archive folders... [20:44:18]ProcessDocumentItem done err = 0, tmpTLVsize=280 [20:44:18]tlvbuf is 002C4A70 [20:44:18]SAM_PROTO_ClearQueue [20:44:18]wFMCommunicate request_size=4 [20:44:18]MH_SAM_APDU [20:44:18]CAPDU: 80 09 00 00 [20:44:18]Write to MH i2c: E2 08 00 B9 2C 80 09 00 00 00 00 00 00 57 [20:44:18]Write i2c OK [20:44:18]MH_I2C_Read... [20:44:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:44:18]Read from MH i2c: E2 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 03 00 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 03 00 B9 2C 00 90 00 59 [20:44:18]RAPDU: 90 00 [20:44:18]wFMCommunicate OK [20:44:18]SAM_PROTO_ClearQueue done [20:44:18]KKMCreateOFDPacket [20:44:18]OFDProtocolAddRootSTLVToBuf [20:44:18]FM_MakeSignedData [20:44:18]FM_MakeSignedData [20:44:18]SAM_PROTO_SignData [20:44:18]wFMCommunicate request_size=4 [20:44:18]MH_SAM_APDU [20:44:18]CAPDU: 80 0D 01 02 [20:44:18]Write to MH i2c: E2 08 00 BA 2C 80 0D 01 02 00 00 00 00 5F [20:44:18]Write i2c OK [20:44:18]MH_I2C_Read... [20:44:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:44:18]Read from MH i2c: E2 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 03 00 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 03 00 BA 2C 00 90 00 5A [20:44:18]RAPDU: 90 00 [20:44:18]wFMCommunicate OK [20:44:18]wFMCommunicate request_size=255 [20:44:18]MH_SAM_APDU [20:44:18]CAPDU: 80 0D 02 02 FA 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 EC 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 3A 00 00 00 F4 03 04 00 2B 5A 6B 66 0E 04 04 00 44 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 [20:44:18]Write to MH i2c: E2 02 01 BB 2C 80 0D 02 02 FA 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 EC 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 3A 00 00 00 F4 03 04 00 2B 5A 6B 66 0E 04 04 00 44 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 7E [20:44:18]Write i2c OK [20:44:18]MH_I2C_Read... [20:44:18]OFD Sender: No OFD packet to send [20:44:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:44:18]Read from MH i2c: E2 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 03 00 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 03 00 BB 2C 00 90 00 5B [20:44:18]RAPDU: 90 00 [20:44:18]wFMCommunicate OK [20:44:18]wFMCommunicate request_size=39 [20:44:18]MH_SAM_APDU [20:44: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 3E 56 00 00 35 04 06 00 4B 80 7B 5D A8 64 [20:44:18]Write to MH i2c: E2 2A 00 BC 2C 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 3E 56 00 00 35 04 06 00 4B 80 7B 5D A8 64 00 00 5F [20:44:18]Write i2c OK [20:44:18]MH_I2C_Read... [20:44:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:44:18]Read from MH i2c: E2 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 03 00 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 03 00 BC 2C 00 90 00 5C [20:44:18]RAPDU: 90 00 [20:44:18]wFMCommunicate OK [20:44:18]wFMCommunicate request_size=4 [20:44:18]MH_SAM_APDU [20:44:18]CAPDU: 80 0D 03 02 [20:44:18]Write to MH i2c: E2 08 00 BD 2C 80 0D 03 02 00 00 00 00 64 [20:44:18]Write i2c OK [20:44:18]MH_I2C_Read... [20:44:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:44:18]Read from MH i2c: E2 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 0B 00 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 0B 00 BD 2C 00 0B F6 AD 1E 8E 43 A2 DA 90 00 7E [20:44:18]RAPDU: 0B F6 AD 1E 8E 43 A2 DA 90 00 [20:44:18]wFMCommunicate OK [20:44:18]SAM_PROTO_SignData done [20:44:18]FM_MakeSignedData done [20:44:18]CreateOFDProtocolMessage [20:44:18]wFMCommunicate request_size=4 [20:44:18]MH_SAM_APDU [20:44:18]CAPDU: 80 11 00 00 [20:44:18]Write to MH i2c: E2 08 00 BE 2C 80 11 00 00 00 00 00 00 64 [20:44:18]Write i2c OK [20:44:18]MH_I2C_Read... [20:44:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:44:18]Read from MH i2c: E2 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 17 00 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: E2 17 00 BE 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B6 [20:44:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:44:18]wFMCommunicate OK [20:44:18]CreateOFDProtocolMessage done [20:44:18]OFDSenderStorePacket 22078 [20:44:18]StoreOFDPacket docnum=22078 [20:44: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 69 F1 24 01 EF E3 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 EC 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 3A 00 00 00 F4 03 04 00 2B 5A 6B 66 0E 04 04 00 44 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 3E 56 00 00 35 04 06 00 4B 80 7B 5D A8 64 0B F6 AD 1E 8E 43 A2 DA [20:44:18]CheckFolder [20:44:18]dirname=/storage/ofd_packets [20:44:18]CheckFolder done [20:44:18]ProducePacketName [20:44:18]name=ofd_packets/00022078 [20:44:18]NVStorageSaveData ofd_packets/00022078 [20:44:18]File name is /storage/ofd_packets/00022078 [20:44:18]Write 330 bytes [20:44:18]NVStorageSaveData done [20:44:18]OFDSenderStorePacket done [20:44:18]KKMCreateOFDPacket done [20:44:18]NVStorageSaveData kkm_last_timestamp [20:44:18]File name is /storage/kkm_last_timestamp [20:44:18]Write 4 bytes [20:44:18]NVStorageSaveData done [20:44:18]ExternCall_PrintAddStr [20:44:18]wPrintStart [20:44:18]Write to MH i2c: 01 00 00 BF 2C EB [20:44:18]Write i2c OK [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: 01 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: 01 07 00 [20:44:18]MH_I2C_Read... [20:44:18]Read from MH i2c: 01 07 00 BF 2C 00 00 00 00 00 FF 0F 00 [20:44:18]RasterBufferAndPrint [20:44:18]line Счет N : (3)254303 [20:44:18]line ИНН: 02508201610067 [20:44:18]line Контрольно-Кассовый Чек [20:44:18]line ПРОДАЖА [20:44:18]line Товар: 2000036210013 [20:44:18]line Кофе Капучино (GABB TRADE) [20:44:18]line 1.000 * 115.00 [20:44:18]line = 115.00 [20:44:18]line НДС 12% НСП 1% [20:44:18]line > о реализуемом товаре [20:44:18]line ИТОГО: 115.00 [20:44:18]line НСП 1% : 1.02 [20:44:18]line НДС 12% : 12.21 [20:44:18]line Наличными: 115.00 [20:44:18]line Безнал.: 0.00 [20:44:18]line Место: АЗС № 76 "Партнер Нефть" [20:44:18]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [20:44:18]line СНО: Общий режим [20:44:18]line Чек 58 13.06.2024 20:44 [20:44:18]line Смена: 324 ФФД: 1.0 [20:44:18]line ЗНМ: 0300000200 [20:44:18]line РНМ: 0000000000099755 [20:44:18]line Версия ККМ: 001 [20:44:18]line ФМ: 0000000000965344 [20:44:18]line ФД: 22078 [20:44:18]line ФПД: 83015197632612 [20:44:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T204427&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22078&fm=83015197632612&tin=02508201610067®Number=0000000000099755&sum=11500 [20:44:18]line 0 [20:44:18]OFD Sender: Processing packet 22078 [packets to send 5, broken 4] [20:44:18]ProducePacketName [20:44:18]name=ofd_packets/00022078 [20:44:18]OFD Sender: To server: pG, [20:44:18]CommunicateWithHost lk.salyk.kg:30040 [20:44:18]ConnectInit lk.salyk.kg [20:44:18]written 0, free lines is 4095 [20:44:19]Connected sock=10 [20:44: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 2C 01 00 00 69 F1 24 01 EF E3 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 EC 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 3A 00 00 00 F4 03 04 00 2B 5A 6B 66 0E 04 04 00 44 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 3E 56 00 00 35 04 06 00 4B 80 7B 5D A8 64 0B F6 AD 1E 8E 43 A2 DA [20:44: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 F9 09 47 00 B5 A4 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 3E 56 00 00 F4 03 04 00 ED 02 6B 66 B6 04 01 00 00 AD EC D1 06 7E F8 7E 33 [20:44:19]CommunicateWithHost err = 0 [20:44:19]CheckOFDResponse [20:44:19]1017 (14) - 77093643461234 [20:44:19]1041 (16) - 0000000000965344 [20:44:19]1040 (4) - 22078 [20:44:19]1012 (4) - 13.06.2024 14:32 [20:44:19]1206 (1) - 0 [20:44:19]OFD Sender: Remove packet 22078 [20:44:19]ProducePacketName [20:44:19]name=ofd_packets/00022078 [20:44:19]NVStorageDeleteData [20:44:19]Write to MH i2c: 01 00 00 E7 2C 13 [20:44:19]Write i2c OK [20:44:19]MH_I2C_Read... [20:44:19]Read from MH i2c: 01 [20:44:19]MH_I2C_Read... [20:44:19]Read from MH i2c: 01 07 00 [20:44:19]MH_I2C_Read... [20:44:19]Read from MH i2c: 01 07 00 E7 2C 00 00 00 00 00 26 0D 4D [20:44:19]RasterBufferAndPrint [20:44:19]line [20:44:19]line [20:44:19]line [20:44:19]line [20:44:19]line [20:44:19]written 0, free lines is 3375 [20:44:19]MH_Cut [20:44:19]Write to MH i2c: D1 01 00 EE 2C 01 EC [20:44:19]Write i2c OK [20:44:19]MH_I2C_Read... [20:44:19]Read from MH i2c: D1 [20:44:19]MH_I2C_Read... [20:44:19]Read from MH i2c: D1 01 00 [20:44:19]MH_I2C_Read... [20:44:19]Read from MH i2c: D1 01 00 EE 2C 00 EB [20:44:19]Write to MH i2c: 01 00 00 EF 2C 1B [20:44:19]Write i2c OK [20:44:19]MH_I2C_Read... [20:44:19]OFD Sender: No OFD packet to send [20:44:20]*** Cut start [20:44:20]*** Partial cut [20:44:20]*** CUTSNS_PIN = 1 [20:44:20]*** CUTSNS_PIN = 0 [20:44:20]*** Brake cut motor [20:44:20]Read from MH i2c: 01 [20:44:20]MH_I2C_Read... [20:44:20]*** Stop cut motor [20:44:20]*** Cut end [20:44:20]Read from MH i2c: 01 07 00 [20:44:20]MH_I2C_Read... [20:44:20]Read from MH i2c: 01 07 00 EF 2C 00 00 00 00 00 FF 0F 30 [20:44:20]process_action close_receipt done [20:44:20]requested_data is exist [20:44:20]produce_requested_data [20:44:20]requested_item fm.sn is exist - process it [20:44:20]wFMCommunicate request_size=4 [20:44:20]MH_SAM_APDU [20:44:20]CAPDU: 80 11 00 00 [20:44:20]Write to MH i2c: E2 08 00 F0 2C 80 11 00 00 00 00 00 00 96 [20:44:20]Write i2c OK [20:44:20]MH_I2C_Read... [20:44:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:44:20]Read from MH i2c: E2 [20:44:20]MH_I2C_Read... [20:44:20]Read from MH i2c: E2 17 00 [20:44:20]MH_I2C_Read... [20:44:20]Read from MH i2c: E2 17 00 F0 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E8 [20:44:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [20:44:20]wFMCommunicate OK [20:44:20]requested_item fd.num is exist - process it [20:44:20]SAM_PROTO_GetFieldsCounters [20:44:20]wFMCommunicate request_size=4 [20:44:20]MH_SAM_APDU [20:44:20]CAPDU: 80 13 00 00 [20:44:20]Write to MH i2c: E2 08 00 F1 2C 80 13 00 00 00 00 00 00 99 [20:44:20]Write i2c OK [20:44:20]MH_I2C_Read... [20:44:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:44:20]Read from MH i2c: E2 [20:44:20]MH_I2C_Read... [20:44:20]Read from MH i2c: E2 62 00 [20:44:20]MH_I2C_Read... [20:44:20]Read from MH i2c: E2 62 00 F1 2C 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 3E 56 00 00 0E 04 04 00 44 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 4A [20:44: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 3E 56 00 00 0E 04 04 00 44 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 [20:44:20]wFMCommunicate OK [20:44:20]SAM_PROTO_GetFieldsCounters done [20:44:20]requested_item shift.num is exist - process it [20:44:20]requested_item shift.opened is exist - process it [20:44:20]req_shift_opened [20:44:20]FM_GetShiftState [20:44:20]SAM_PROTO_GetShiftState [20:44:20]wFMCommunicate request_size=4 [20:44:20]MH_SAM_APDU [20:44:20]CAPDU: 80 13 01 00 [20:44:20]Write to MH i2c: E2 08 00 F2 2C 80 13 01 00 00 00 00 00 9B [20:44:20]Write i2c OK [20:44:20]MH_I2C_Read... [20:44:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:44:20]Read from MH i2c: E2 [20:44:20]MH_I2C_Read... [20:44:20]Read from MH i2c: E2 0E 00 [20:44:20]MH_I2C_Read... [20:44:20]Read from MH i2c: E2 0E 00 F2 2C 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 B9 [20:44:20]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [20:44:20]wFMCommunicate OK [20:44:20]SAM_PROTO_GetShiftState done [20:44:20]FM_GetShiftState done [20:44:20]req_shift_opened done [20:44:20]requested_item shift.open_date is exist - process it [20:44:20]req_shift_open_date [20:44:20]req_shift_open_date done [20:44:20]produce_requested_data done [20:44:20]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22078,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [20:44:20]process_action_free close_receipt [20:44:20]json_value_free [20:44:20]json_value_free done [20:44:20]process_json_proto returns [20:44:20]Send response to host [20:44:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22078,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [20:44:20]free response buf [20:44:20]execute_script done [20:44:20]execute_script returns [20:44:20]free content buf [20:44:20]Sock 9.Close socket [20:44:20]Sock 9.Thread stoped [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:55]OFD Sender: No OFD packet to send [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:05]OFD Sender: No OFD packet to send [20:55:10]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:10]OFD Sender: No OFD packet to send [20:59:15]OFD Sender: No OFD packet to send [20:59:20]OFD Sender: No OFD packet to send [20:59:25]OFD Sender: No OFD packet to send [20:59:30]OFD Sender: No OFD packet to send [20:59:35]OFD Sender: No OFD packet to send [20:59:40]OFD Sender: No OFD packet to send [20:59:45]OFD Sender: No OFD packet to send [20:59:50]OFD Sender: No OFD packet to send [20:59:55]OFD Sender: No OFD packet to send [21:00:00]OFD Sender: No OFD packet to send [21:00:05]OFD Sender: No OFD packet to send [21:00:10]OFD Sender: No OFD packet to send [21:00:15]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:30]OFD Sender: No OFD packet to send [21:00:35]OFD Sender: No OFD packet to send [21:00:40]OFD Sender: No OFD packet to send [21:00:45]OFD Sender: No OFD packet to send [21:00:50]OFD Sender: No OFD packet to send [21:00:55]OFD Sender: No OFD packet to send [21:01:00]OFD Sender: No OFD packet to send [21:01:05]OFD Sender: No OFD packet to send [21:01:10]OFD Sender: No OFD packet to send [21:01:15]OFD Sender: No OFD packet to send [21:01:20]OFD Sender: No OFD packet to send [21:01:25]OFD Sender: No OFD packet to send [21:01:30]OFD Sender: No OFD packet to send [21:01:35]OFD Sender: No OFD packet to send [21:01:40]OFD Sender: No OFD packet to send [21:01:45]OFD Sender: No OFD packet to send [21:01:50]OFD Sender: No OFD packet to send [21:01:55]OFD Sender: No OFD packet to send [21:02:00]OFD Sender: No OFD packet to send [21:02:05]OFD Sender: No OFD packet to send [21:02:10]OFD Sender: No OFD packet to send [21:02:15]OFD Sender: No OFD packet to send [21:02:20]OFD Sender: No OFD packet to send [21:02:25]OFD Sender: No OFD packet to send [21:02:30]OFD Sender: No OFD packet to send [21:02:35]OFD Sender: No OFD packet to send [21:02:40]OFD Sender: No OFD packet to send [21:02:45]OFD Sender: No OFD packet to send [21:02:50]OFD Sender: No OFD packet to send [21:02:55]OFD Sender: No OFD packet to send [21:03:00]OFD Sender: No OFD packet to send [21:03:05]OFD Sender: No OFD packet to send [21:03:10]OFD Sender: No OFD packet to send [21:03:15]OFD Sender: No OFD packet to send [21:03:20]OFD Sender: No OFD packet to send [21:03:25]OFD Sender: No OFD packet to send [21:03:30]OFD Sender: No OFD packet to send [21:03:35]OFD Sender: No OFD packet to send [21:03:40]OFD Sender: No OFD packet to send [21:03:45]OFD Sender: No OFD packet to send [21:03:50]OFD Sender: No OFD packet to send [21:03:55]OFD Sender: No OFD packet to send [21:04:00]OFD Sender: No OFD packet to send [21:04:05]OFD Sender: No OFD packet to send [21:04:10]OFD Sender: No OFD packet to send [21:04:15]OFD Sender: No OFD packet to send [21:04:20]OFD Sender: No OFD packet to send [21:04:25]OFD Sender: No OFD packet to send [21:04:30]OFD Sender: No OFD packet to send [21:04:35]OFD Sender: No OFD packet to send [21:04:40]OFD Sender: No OFD packet to send [21:04:45]OFD Sender: No OFD packet to send [21:04:50]OFD Sender: No OFD packet to send [21:04:55]OFD Sender: No OFD packet to send [21:05:00]OFD Sender: No OFD packet to send [21:05:05]OFD Sender: No OFD packet to send [21:05:10]OFD Sender: No OFD packet to send [21:05:15]OFD Sender: No OFD packet to send [21:05:20]OFD Sender: No OFD packet to send [21:05:25]OFD Sender: No OFD packet to send [21:05:30]OFD Sender: No OFD packet to send [21:05:35]OFD Sender: No OFD packet to send [21:05:40]OFD Sender: No OFD packet to send [21:05:45]OFD Sender: No OFD packet to send [21:05:50]OFD Sender: No OFD packet to send [21:05:55]OFD Sender: No OFD packet to send [21:06:00]OFD Sender: No OFD packet to send [21:06:05]OFD Sender: No OFD packet to send [21:06:10]OFD Sender: No OFD packet to send [21:06:15]OFD Sender: No OFD packet to send [21:06:20]OFD Sender: No OFD packet to send [21:06:25]OFD Sender: No OFD packet to send [21:06:30]OFD Sender: No OFD packet to send [21:06:35]OFD Sender: No OFD packet to send [21:06:40]OFD Sender: No OFD packet to send [21:06:45]OFD Sender: No OFD packet to send [21:06:50]OFD Sender: No OFD packet to send [21:06:55]OFD Sender: No OFD packet to send [21:07:00]OFD Sender: No OFD packet to send [21:07:05]OFD Sender: No OFD packet to send [21:07:10]OFD Sender: No OFD packet to send [21:07:15]OFD Sender: No OFD packet to send [21:07:20]OFD Sender: No OFD packet to send [21:07:25]OFD Sender: No OFD packet to send [21:07:30]OFD Sender: No OFD packet to send [21:07:35]OFD Sender: No OFD packet to send [21:07:40]OFD Sender: No OFD packet to send [21:07:45]OFD Sender: No OFD packet to send [21:07:50]OFD Sender: No OFD packet to send [21:07:55]OFD Sender: No OFD packet to send [21:08:00]OFD Sender: No OFD packet to send [21:08:05]OFD Sender: No OFD packet to send [21:08:10]OFD Sender: No OFD packet to send [21:08:15]OFD Sender: No OFD packet to send [21:08:20]OFD Sender: No OFD packet to send [21:08:25]OFD Sender: No OFD packet to send [21:08:30]OFD Sender: No OFD packet to send [21:08:35]OFD Sender: No OFD packet to send [21:08:40]OFD Sender: No OFD packet to send [21:08:45]OFD Sender: No OFD packet to send [21:08:50]OFD Sender: No OFD packet to send [21:08:55]OFD Sender: No OFD packet to send [21:09:00]OFD Sender: No OFD packet to send [21:09:05]OFD Sender: No OFD packet to send [21:09:10]OFD Sender: No OFD packet to send [21:09:15]OFD Sender: No OFD packet to send [21:09:20]OFD Sender: No OFD packet to send [21:09:25]OFD Sender: No OFD packet to send [21:09:30]OFD Sender: No OFD packet to send [21:09:35]OFD Sender: No OFD packet to send [21:09:40]OFD Sender: No OFD packet to send [21:09:45]OFD Sender: No OFD packet to send [21:09:50]OFD Sender: No OFD packet to send [21:09:55]OFD Sender: No OFD packet to send [21:10:00]OFD Sender: No OFD packet to send [21:10:05]OFD Sender: No OFD packet to send [21:10:10]OFD Sender: No OFD packet to send [21:10:15]OFD Sender: No OFD packet to send [21:10:20]OFD Sender: No OFD packet to send [21:10:25]OFD Sender: No OFD packet to send [21:10:30]OFD Sender: No OFD packet to send [21:10:35]OFD Sender: No OFD packet to send [21:10:40]OFD Sender: No OFD packet to send [21:10:45]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:31]OFD Sender: No OFD packet to send [21:14:36]OFD Sender: No OFD packet to send [21:14:41]OFD Sender: No OFD packet to send [21:14:46]OFD Sender: No OFD packet to send [21:14:51]OFD Sender: No OFD packet to send [21:14:56]OFD Sender: No OFD packet to send [21:15:01]OFD Sender: No OFD packet to send [21:15:06]OFD Sender: No OFD packet to send [21:15:11]OFD Sender: No OFD packet to send [21:15:16]OFD Sender: No OFD packet to send [21:15:21]OFD Sender: No OFD packet to send [21:15:26]OFD Sender: No OFD packet to send [21:15:31]OFD Sender: No OFD packet to send [21:15:36]OFD Sender: No OFD packet to send [21:15:41]OFD Sender: No OFD packet to send [21:15:46]OFD Sender: No OFD packet to send [21:15:51]OFD Sender: No OFD packet to send [21:15:56]OFD Sender: No OFD packet to send [21:16:01]OFD Sender: No OFD packet to send [21:16:06]OFD Sender: No OFD packet to send [21:16:11]OFD Sender: No OFD packet to send [21:16:16]OFD Sender: No OFD packet to send [21:16:21]OFD Sender: No OFD packet to send [21:16:26]OFD Sender: No OFD packet to send [21:16:31]OFD Sender: No OFD packet to send [21:16:36]OFD Sender: No OFD packet to send [21:16:41]OFD Sender: No OFD packet to send [21:16:46]OFD Sender: No OFD packet to send [21:16:51]OFD Sender: No OFD packet to send [21:16:56]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:21]OFD Sender: No OFD packet to send [21:17:26]OFD Sender: No OFD packet to send [21:17:31]OFD Sender: No OFD packet to send [21:17:36]OFD Sender: No OFD packet to send [21:17:41]OFD Sender: No OFD packet to send [21:17:46]OFD Sender: No OFD packet to send [21:17:51]OFD Sender: No OFD packet to send [21:17:56]OFD Sender: No OFD packet to send [21:18:01]OFD Sender: No OFD packet to send [21:18:06]OFD Sender: No OFD packet to send [21:18:11]OFD Sender: No OFD packet to send [21:18:16]OFD Sender: No OFD packet to send [21:18:21]OFD Sender: No OFD packet to send [21:18:26]OFD Sender: No OFD packet to send [21:18:31]OFD Sender: No OFD packet to send [21:18:36]OFD Sender: No OFD packet to send [21:18:41]OFD Sender: No OFD packet to send [21:18:46]OFD Sender: No OFD packet to send [21:18:51]OFD Sender: No OFD packet to send [21:18:56]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:16]OFD Sender: No OFD packet to send [21:29:21]OFD Sender: No OFD packet to send [21:29:26]OFD Sender: No OFD packet to send [21:29:31]OFD Sender: No OFD packet to send [21:29:36]OFD Sender: No OFD packet to send [21:29:41]OFD Sender: No OFD packet to send [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:22]OFD Sender: No OFD packet to send [21:32:27]OFD Sender: No OFD packet to send [21:32:32]OFD Sender: No OFD packet to send [21:32:37]OFD Sender: No OFD packet to send [21:32:42]OFD Sender: No OFD packet to send [21:32:47]OFD Sender: No OFD packet to send [21:32:52]OFD Sender: No OFD packet to send [21:32:57]OFD Sender: No OFD packet to send [21:33:02]OFD Sender: No OFD packet to send [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:35:57]OFD Sender: No OFD packet to send [21:36:02]OFD Sender: No OFD packet to send [21:36:07]OFD Sender: No OFD packet to send [21:36:12]OFD Sender: No OFD packet to send [21:36:17]OFD Sender: No OFD packet to send [21:36:22]OFD Sender: No OFD packet to send [21:36:27]OFD Sender: No OFD packet to send [21:36:32]OFD Sender: No OFD packet to send [21:36:37]OFD Sender: No OFD packet to send [21:36:42]OFD Sender: No OFD packet to send [21:36:47]OFD Sender: No OFD packet to send [21:36:52]OFD Sender: No OFD packet to send [21:36:57]OFD Sender: No OFD packet to send [21:37:02]OFD Sender: No OFD packet to send [21:37:07]OFD Sender: No OFD packet to send [21:37:12]OFD Sender: No OFD packet to send [21:37:17]OFD Sender: No OFD packet to send [21:37:22]OFD Sender: No OFD packet to send [21:37:27]OFD Sender: No OFD packet to send [21:37:32]OFD Sender: No OFD packet to send [21:37:37]OFD Sender: No OFD packet to send [21:37:42]OFD Sender: No OFD packet to send [21:37:47]OFD Sender: No OFD packet to send [21:37:52]OFD Sender: No OFD packet to send [21:37:57]OFD Sender: No OFD packet to send [21:38:02]OFD Sender: No OFD packet to send [21:38:07]OFD Sender: No OFD packet to send [21:38:12]OFD Sender: No OFD packet to send [21:38:17]OFD Sender: No OFD packet to send [21:38:22]OFD Sender: No OFD packet to send [21:38:27]OFD Sender: No OFD packet to send [21:38:32]OFD Sender: No OFD packet to send [21:38:37]OFD Sender: No OFD packet to send [21:38:42]OFD Sender: No OFD packet to send [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:27]OFD Sender: No OFD packet to send [21:41:32]OFD Sender: No OFD packet to send [21:41:37]OFD Sender: No OFD packet to send [21:41:42]OFD Sender: No OFD packet to send [21:41:47]OFD Sender: No OFD packet to send [21:41:52]OFD Sender: No OFD packet to send [21:41:57]OFD Sender: No OFD packet to send [21:42:02]OFD Sender: No OFD packet to send [21:42:07]OFD Sender: No OFD packet to send [21:42:12]OFD Sender: No OFD packet to send [21:42:17]OFD Sender: No OFD packet to send [21:42:22]OFD Sender: No OFD packet to send [21:42:27]OFD Sender: No OFD packet to send [21:42:32]OFD Sender: No OFD packet to send [21:42:37]OFD Sender: No OFD packet to send [21:42:42]OFD Sender: No OFD packet to send [21:42:47]OFD Sender: No OFD packet to send [21:42:52]OFD Sender: No OFD packet to send [21:42:57]OFD Sender: No OFD packet to send [21:43:02]OFD Sender: No OFD packet to send [21:43:07]OFD Sender: No OFD packet to send [21:43:12]OFD Sender: No OFD packet to send [21:43:17]OFD Sender: No OFD packet to send [21:43:22]OFD Sender: No OFD packet to send [21:43:27]OFD Sender: No OFD packet to send [21:43:32]OFD Sender: No OFD packet to send [21:43:37]OFD Sender: No OFD packet to send [21:43:42]OFD Sender: No OFD packet to send [21:43:47]OFD Sender: No OFD packet to send [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:17]OFD Sender: No OFD packet to send [21:44:22]OFD Sender: No OFD packet to send [21:44:27]OFD Sender: No OFD packet to send [21:44:32]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:42]OFD Sender: No OFD packet to send [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]OFD Sender: No OFD packet to send [21:50:07]OFD Sender: No OFD packet to send [21:50:12]OFD Sender: No OFD packet to send [21:50:17]OFD Sender: No OFD packet to send [21:50:22]OFD Sender: No OFD packet to send [21:50:27]OFD Sender: No OFD packet to send [21:50:32]OFD Sender: No OFD packet to send [21:50:37]OFD Sender: No OFD packet to send [21:50:42]OFD Sender: No OFD packet to send [21:50:47]OFD Sender: No OFD packet to send [21:50:52]OFD Sender: No OFD packet to send [21:50:57]OFD Sender: No OFD packet to send [21:51:02]OFD Sender: No OFD packet to send [21:51:07]OFD Sender: No OFD packet to send [21:51:12]OFD Sender: No OFD packet to send [21:51:17]OFD Sender: No OFD packet to send [21:51:22]OFD Sender: No OFD packet to send [21:51:27]OFD Sender: No OFD packet to send [21:51:32]OFD Sender: No OFD packet to send [21:51:37]OFD Sender: No OFD packet to send [21:51:42]OFD Sender: No OFD packet to send [21:51:47]OFD Sender: No OFD packet to send [21:51:52]OFD Sender: No OFD packet to send [21:51:57]OFD Sender: No OFD packet to send [21:52:02]OFD Sender: No OFD packet to send [21:52:07]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [21:53:12]OFD Sender: No OFD packet to send [21:53:17]OFD Sender: No OFD packet to send [21:53:22]OFD Sender: No OFD packet to send [21:53:27]OFD Sender: No OFD packet to send [21:53:32]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:43]OFD Sender: No OFD packet to send [21:54:48]OFD Sender: No OFD packet to send [21:54:53]OFD Sender: No OFD packet to send [21:54:58]OFD Sender: No OFD packet to send [21:55:03]OFD Sender: No OFD packet to send [21:55:08]OFD Sender: No OFD packet to send [21:55:13]OFD Sender: No OFD packet to send [21:55:18]OFD Sender: No OFD packet to send [21:55:23]OFD Sender: No OFD packet to send [21:55:28]OFD Sender: No OFD packet to send [21:55:33]OFD Sender: No OFD packet to send [21:55:38]OFD Sender: No OFD packet to send [21:55:43]OFD Sender: No OFD packet to send [21:55:48]OFD Sender: No OFD packet to send [21:55:53]OFD Sender: No OFD packet to send [21:55:58]OFD Sender: No OFD packet to send [21:56:03]OFD Sender: No OFD packet to send [21:56:08]OFD Sender: No OFD packet to send [21:56:13]OFD Sender: No OFD packet to send [21:56:18]OFD Sender: No OFD packet to send [21:56:23]OFD Sender: No OFD packet to send [21:56:28]OFD Sender: No OFD packet to send [21:56:33]OFD Sender: No OFD packet to send [21:56:38]OFD Sender: No OFD packet to send [21:56:43]OFD Sender: No OFD packet to send [21:56:48]OFD Sender: No OFD packet to send [21:56:53]OFD Sender: No OFD packet to send [21:56:58]OFD Sender: No OFD packet to send [21:57:03]OFD Sender: No OFD packet to send [21:57:08]OFD Sender: No OFD packet to send [21:57:13]OFD Sender: No OFD packet to send [21:57:18]OFD Sender: No OFD packet to send [21:57:23]OFD Sender: No OFD packet to send [21:57:28]OFD Sender: No OFD packet to send [21:57:33]OFD Sender: No OFD packet to send [21:57:38]OFD Sender: No OFD packet to send [21:57:43]OFD Sender: No OFD packet to send [21:57:48]OFD Sender: No OFD packet to send [21:57:53]OFD Sender: No OFD packet to send [21:57:58]OFD Sender: No OFD packet to send [21:58:03]OFD Sender: No OFD packet to send [21:58:08]OFD Sender: No OFD packet to send [21:58:13]OFD Sender: No OFD packet to send [21:58:18]OFD Sender: No OFD packet to send [21:58:23]OFD Sender: No OFD packet to send [21:58:28]OFD Sender: No OFD packet to send [21:58:33]OFD Sender: No OFD packet to send [21:58:38]OFD Sender: No OFD packet to send [21:58:43]OFD Sender: No OFD packet to send [21:58:48]OFD Sender: No OFD packet to send [21:58:53]OFD Sender: No OFD packet to send [21:58:58]OFD Sender: No OFD packet to send [21:59:03]OFD Sender: No OFD packet to send [21:59:08]OFD Sender: No OFD packet to send [21:59:13]OFD Sender: No OFD packet to send [21:59:18]OFD Sender: No OFD packet to send [21:59:23]OFD Sender: No OFD packet to send [21:59:28]OFD Sender: No OFD packet to send [21:59:33]OFD Sender: No OFD packet to send [21:59:38]OFD Sender: No OFD packet to send [21:59:43]OFD Sender: No OFD packet to send [21:59:48]OFD Sender: No OFD packet to send [21:59:53]OFD Sender: No OFD packet to send [21:59:58]OFD Sender: No OFD packet to send [22:00:03]OFD Sender: No OFD packet to send [22:00:08]OFD Sender: No OFD packet to send [22:00:13]OFD Sender: No OFD packet to send [22:00:18]OFD Sender: No OFD packet to send [22:00:23]OFD Sender: No OFD packet to send [22:00:28]OFD Sender: No OFD packet to send [22:00:33]OFD Sender: No OFD packet to send [22:00:38]OFD Sender: No OFD packet to send [22:00:43]OFD Sender: No OFD packet to send [22:00:48]OFD Sender: No OFD packet to send [22:00:53]OFD Sender: No OFD packet to send [22:00:58]OFD Sender: No OFD packet to send [22:01:03]OFD Sender: No OFD packet to send [22:01:08]OFD Sender: No OFD packet to send [22:01:13]OFD Sender: No OFD packet to send [22:01:18]OFD Sender: No OFD packet to send [22:01:23]OFD Sender: No OFD packet to send [22:01:27]accept exits with 8 [22:01:27]New connection [22:01:27]New thread 3067321700 created [22:01:27]Thread 3067178340 joined [22:01:27]Waiting for new connection... [22:01:27] Sock 8.Parse request [22:01:27]Sock 8.Check first char [22:01:27]Sock 8.First char is OK [22:01:27]request: POST /json_proto HTTP/1.0 [22:01:27]Method: POST [22:01:27]URL: /json_proto [22:01:27]Method is POST - this is cgi request [22:01:27]url: /json_proto [22:01:27]query_string will be loaded in cgi processing [22:01:27]execute_cgi json_proto POST (null) [22:01:27]execute_cgi path=json_proto method=POST [22:01:27]POST find Content-Length [22:01:27]Host: 172.17.35.133:8080 [22:01:27]Content-Length: 892 [22:01:27]Content-Type: application/json [22:01:27] [22:01:27]POST finish read [22:01:27]Found Content-Length = 892 [22:01:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254304", "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 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 375.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:01:27]execute_script... [22:01: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)254304", "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 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 375.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:01:27]POST & json_proto [22:01:27]process_json_proto [22:01:27]json parsed OK: [22:01:27]protocol is kg_v1.0 [22:01:27]action value=close_receipt [22:01:27]process_action close_receipt [22:01:27]cmd_close_receipt [22:01:27]MH_GetDate [22:01:27]Write to MH i2c: F0 00 00 F3 2C 0E [22:01:27]Write i2c OK [22:01:27]MH_I2C_Read... [22:01:27]Read from MH i2c: F0 [22:01:27]MH_I2C_Read... [22:01:27]Read from MH i2c: F0 09 00 [22:01:27]MH_I2C_Read... [22:01:27]Read from MH i2c: F0 09 00 F3 2C 00 42 6C 6B 66 8C 55 28 65 04 [22:01:27]GetLastDocTimeStamp 1718311467 [22:01:27]current date 1718316098 [22:01:27]FM_GetShiftState [22:01:27]SAM_PROTO_GetShiftState [22:01:27]wFMCommunicate request_size=4 [22:01:27]MH_SAM_APDU [22:01:27]CAPDU: 80 13 01 00 [22:01:27]Write to MH i2c: E2 08 00 F4 2C 80 13 01 00 00 00 00 00 9D [22:01:27]Write i2c OK [22:01:27]MH_I2C_Read... [22:01:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:01:27]Read from MH i2c: E2 [22:01:27]MH_I2C_Read... [22:01:27]Read from MH i2c: E2 0E 00 [22:01:27]MH_I2C_Read... [22:01:27]Read from MH i2c: E2 0E 00 F4 2C 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 BB [22:01:27]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:01:27]wFMCommunicate OK [22:01:27]SAM_PROTO_GetShiftState done [22:01:27]FM_GetShiftState done [22:01:27]opened in 1718237959 [22:01:27]opened+sec_in_day 1718324359 [22:01:27]quantity*price = 9500 [22:01:27]sum+1 = 9501 [22:01:27]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 2.000 * 140.00 = 280.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 375.00 НСП 1% : 3.32 НДС 12% : 39.82 Наличными: 375.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 59 13.06.2024 22:01 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22079 ФПД: 157638442518741 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T220138&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22079&fm=157638442518741&tin=02508201610067®Number=0000000000099755&sum=37500 0 [22:01:28]StoreToDocumentArchive [22:01:28]shift 324 fd 22079 [22:01:28]save to /storage/0324/doc_00022079 [22:01:28]save last doc name /storage/0324/doc_00022079 to /storage/kkm_last_doc_name [22:01:28]save OK [22:01:28]Clear old archive folders... [22:01:28]ProcessDocumentItem done err = 0, tmpTLVsize=396 [22:01:28]tlvbuf is B6F34D40 [22:01:28]SAM_PROTO_ClearQueue [22:01:28]wFMCommunicate request_size=4 [22:01:28]MH_SAM_APDU [22:01:28]CAPDU: 80 09 00 00 [22:01:28]Write to MH i2c: E2 08 00 01 2D 80 09 00 00 00 00 00 00 A0 [22:01:28]Write i2c OK [22:01:28]MH_I2C_Read... [22:01:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:01:28]Read from MH i2c: E2 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 03 00 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 03 00 01 2D 00 90 00 A2 [22:01:28]RAPDU: 90 00 [22:01:28]wFMCommunicate OK [22:01:28]SAM_PROTO_ClearQueue done [22:01:28]KKMCreateOFDPacket [22:01:28]OFDProtocolAddRootSTLVToBuf [22:01:28]FM_MakeSignedData [22:01:28]FM_MakeSignedData [22:01:28]SAM_PROTO_SignData [22:01:28]wFMCommunicate request_size=4 [22:01:28]MH_SAM_APDU [22:01:28]CAPDU: 80 0D 01 02 [22:01:28]Write to MH i2c: E2 08 00 02 2D 80 0D 01 02 00 00 00 00 A8 [22:01:28]Write i2c OK [22:01:28]MH_I2C_Read... [22:01:28]OFD Sender: No OFD packet to send [22:01:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:01:28]Read from MH i2c: E2 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 03 00 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 03 00 02 2D 00 90 00 A3 [22:01:28]RAPDU: 90 00 [22:01:28]wFMCommunicate OK [22:01:28]wFMCommunicate request_size=255 [22:01:28]MH_SAM_APDU [22:01:28]CAPDU: 80 0D 02 02 FA 03 00 8C 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 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 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 92 00 00 00 00 EB 03 26 00 EF [22:01:28]Write to MH i2c: E2 02 01 03 2D 80 0D 02 02 FA 00 03 00 8C 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 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 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 92 00 00 00 00 EB 03 26 00 EF 00 00 7F [22:01:28]Write i2c OK [22:01:28]MH_I2C_Read... [22:01:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:01:28]Read from MH i2c: E2 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 03 00 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 03 00 03 2D 00 90 00 A4 [22:01:28]RAPDU: 90 00 [22:01:28]wFMCommunicate OK [22:01:28]wFMCommunicate request_size=155 [22:01:28]MH_SAM_APDU [22:01:28]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 0F 00 00 00 00 07 04 06 00 7C 92 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 42 6C 6B 66 0E 04 04 00 44 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 3F 56 00 00 35 04 06 00 8F 5F 0F 5E 88 D5 [22:01:28]Write to MH i2c: E2 9E 00 04 2D 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 0F 00 00 00 00 07 04 06 00 7C 92 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 42 6C 6B 66 0E 04 04 00 44 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 3F 56 00 00 35 04 06 00 8F 5F 0F 5E 88 D5 00 00 5E [22:01:28]Write i2c OK [22:01:28]MH_I2C_Read... [22:01:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:01:28]Read from MH i2c: E2 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 03 00 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 03 00 04 2D 00 90 00 A5 [22:01:28]RAPDU: 90 00 [22:01:28]wFMCommunicate OK [22:01:28]wFMCommunicate request_size=4 [22:01:28]MH_SAM_APDU [22:01:28]CAPDU: 80 0D 03 02 [22:01:28]Write to MH i2c: E2 08 00 05 2D 80 0D 03 02 00 00 00 00 AD [22:01:28]Write i2c OK [22:01:28]MH_I2C_Read... [22:01:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:01:28]Read from MH i2c: E2 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 0B 00 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 0B 00 05 2D 00 3B 55 07 54 23 FF C9 AC 90 00 30 [22:01:28]RAPDU: 3B 55 07 54 23 FF C9 AC 90 00 [22:01:28]wFMCommunicate OK [22:01:28]SAM_PROTO_SignData done [22:01:28]FM_MakeSignedData done [22:01:28]CreateOFDProtocolMessage [22:01:28]wFMCommunicate request_size=4 [22:01:28]MH_SAM_APDU [22:01:28]CAPDU: 80 11 00 00 [22:01:28]Write to MH i2c: E2 08 00 06 2D 80 11 00 00 00 00 00 00 AD [22:01:28]Write i2c OK [22:01:28]MH_I2C_Read... [22:01:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:01:29]Read from MH i2c: E2 [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: E2 17 00 [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: E2 17 00 06 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FF [22:01:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:01:29]wFMCommunicate OK [22:01:29]CreateOFDProtocolMessage done [22:01:29]OFDSenderStorePacket 22079 [22:01:29]StoreOFDPacket docnum=22079 [22:01: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 A0 01 00 00 5C 35 98 01 0F E6 5A 03 01 00 03 00 8C 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 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 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 0F 00 00 00 00 07 04 06 00 7C 92 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 42 6C 6B 66 0E 04 04 00 44 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 3F 56 00 00 35 04 06 00 8F 5F 0F 5E 88 D5 3B 55 07 54 23 FF C9 AC [22:01:29]CheckFolder [22:01:29]dirname=/storage/ofd_packets [22:01:29]CheckFolder done [22:01:29]ProducePacketName [22:01:29]name=ofd_packets/00022079 [22:01:29]NVStorageSaveData ofd_packets/00022079 [22:01:29]File name is /storage/ofd_packets/00022079 [22:01:29]Write 446 bytes [22:01:29]NVStorageSaveData done [22:01:29]OFDSenderStorePacket done [22:01:29]KKMCreateOFDPacket done [22:01:29]NVStorageSaveData kkm_last_timestamp [22:01:29]File name is /storage/kkm_last_timestamp [22:01:29]Write 4 bytes [22:01:29]NVStorageSaveData done [22:01:29]ExternCall_PrintAddStr [22:01:29]wPrintStart [22:01:29]Write to MH i2c: 01 00 00 07 2D 34 [22:01:29]Write i2c OK [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: 01 [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: 01 07 00 [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: 01 07 00 07 2D 00 00 00 00 00 FF 0F 49 [22:01:29]RasterBufferAndPrint [22:01:29]line Счет N : (3)254304 [22:01:29]line ИНН: 02508201610067 [22:01:29]line Контрольно-Кассовый Чек [22:01:29]line ПРОДАЖА [22:01:29]line Товар: 4700000480050 [22:01:29]line Напиток Nitro Energy эн green ж/б 0,45л [22:01:29]line 1.000 * 95.00 [22:01:29]line = 95.00 [22:01:29]line НДС 12% НСП 1% [22:01:29]line > о реализуемом товаре [22:01:29]line Товар: 48743570 [22:01:29]line Сигареты Winston XStyle Blue [22:01:29]line 2.000 * 140.00 [22:01:29]line = 280.00 [22:01:29]line НДС 12% НСП 1% [22:01:29]line > о реализуемом товаре [22:01:29]line ИТОГО: 375.00 [22:01:29]line НСП 1% : 3.32 [22:01:29]line НДС 12% : 39.82 [22:01:29]line Наличными: 375.00 [22:01:29]line Безнал.: 0.00 [22:01:29]line Место: АЗС № 76 "Партнер Нефть" [22:01:29]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:01:29]line СНО: Общий режим [22:01:29]line Чек 59 13.06.2024 22:01 [22:01:29]line Смена: 324 ФФД: 1.0 [22:01:29]line ЗНМ: 0300000200 [22:01:29]line РНМ: 0000000000099755 [22:01:29]line Версия ККМ: 001 [22:01:29]line ФМ: 0000000000965344 [22:01:29]line ФД: 22079 [22:01:29]line ФПД: 157638442518741 [22:01:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T220138&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22079&fm=157638442518741&tin=02508201610067®Number=0000000000099755&sum=37500 [22:01:29]line 0 [22:01:29]OFD Sender: Processing packet 22079 [packets to send 5, broken 4] [22:01:29]ProducePacketName [22:01:29]name=ofd_packets/00022079 [22:01:29]OFD Sender: To server: pG, [22:01:29]CommunicateWithHost lk.salyk.kg:30040 [22:01:29]ConnectInit lk.salyk.kg [22:01:29]written 0, free lines is 4095 [22:01:29]Connected sock=10 [22:01: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 A0 01 00 00 5C 35 98 01 0F E6 5A 03 01 00 03 00 8C 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 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 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 0F 00 00 00 00 07 04 06 00 7C 92 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 42 6C 6B 66 0E 04 04 00 44 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 3F 56 00 00 35 04 06 00 8F 5F 0F 5E 88 D5 3B 55 07 54 23 FF C9 AC [22:01: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 B4 E1 47 00 FF 3D 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 3F 56 00 00 F4 03 04 00 04 15 6B 66 B6 04 01 00 00 24 5D 6A 85 B6 07 E8 96 [22:01:29]CommunicateWithHost err = 0 [22:01:29]CheckOFDResponse [22:01:29]1017 (14) - 77093643461234 [22:01:29]1041 (16) - 0000000000965344 [22:01:29]1040 (4) - 22079 [22:01:29]1012 (4) - 13.06.2024 15:49 [22:01:29]1206 (1) - 0 [22:01:29]OFD Sender: Remove packet 22079 [22:01:29]ProducePacketName [22:01:29]name=ofd_packets/00022079 [22:01:29]NVStorageDeleteData [22:01:29]Write to MH i2c: 01 00 00 36 2D 63 [22:01:29]Write i2c OK [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: 01 [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: 01 07 00 [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: 01 07 00 36 2D 00 00 00 00 00 CA 0C 40 [22:01:29]RasterBufferAndPrint [22:01:29]line [22:01:29]line [22:01:29]line [22:01:29]line [22:01:29]line [22:01:29]written 0, free lines is 3283 [22:01:29]MH_Cut [22:01:29]Write to MH i2c: D1 01 00 3D 2D 01 3C [22:01:29]Write i2c OK [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: D1 [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: D1 01 00 [22:01:29]MH_I2C_Read... [22:01:29]Read from MH i2c: D1 01 00 3D 2D 00 3B [22:01:29]Write to MH i2c: 01 00 00 3E 2D 6B [22:01:29]Write i2c OK [22:01:29]MH_I2C_Read... [22:01:30]OFD Sender: No OFD packet to send [22:01:30]*** Cut start [22:01:30]*** Partial cut [22:01:30]*** CUTSNS_PIN = 1 [22:01:30]*** CUTSNS_PIN = 0 [22:01:30]*** Brake cut motor [22:01:31]Read from MH i2c: 01 [22:01:31]MH_I2C_Read... [22:01:31]*** Stop cut motor [22:01:31]*** Cut end [22:01:31]Read from MH i2c: 01 07 00 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: 01 07 00 3E 2D 00 00 00 00 00 FF 0F 80 [22:01:31]process_action close_receipt done [22:01:31]requested_data is exist [22:01:31]produce_requested_data [22:01:31]requested_item fm.sn is exist - process it [22:01:31]wFMCommunicate request_size=4 [22:01:31]MH_SAM_APDU [22:01:31]CAPDU: 80 11 00 00 [22:01:31]Write to MH i2c: E2 08 00 3F 2D 80 11 00 00 00 00 00 00 E6 [22:01:31]Write i2c OK [22:01:31]MH_I2C_Read... [22:01:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:01:31]Read from MH i2c: E2 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: E2 17 00 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: E2 17 00 3F 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 38 [22:01:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:01:31]wFMCommunicate OK [22:01:31]requested_item fd.num is exist - process it [22:01:31]SAM_PROTO_GetFieldsCounters [22:01:31]wFMCommunicate request_size=4 [22:01:31]MH_SAM_APDU [22:01:31]CAPDU: 80 13 00 00 [22:01:31]Write to MH i2c: E2 08 00 40 2D 80 13 00 00 00 00 00 00 E9 [22:01:31]Write i2c OK [22:01:31]MH_I2C_Read... [22:01:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:01:31]Read from MH i2c: E2 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: E2 62 00 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: E2 62 00 40 2D 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 3F 56 00 00 0E 04 04 00 44 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 9E [22:01: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 3F 56 00 00 0E 04 04 00 44 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 [22:01:31]wFMCommunicate OK [22:01:31]SAM_PROTO_GetFieldsCounters done [22:01:31]requested_item shift.num is exist - process it [22:01:31]requested_item shift.opened is exist - process it [22:01:31]req_shift_opened [22:01:31]FM_GetShiftState [22:01:31]SAM_PROTO_GetShiftState [22:01:31]wFMCommunicate request_size=4 [22:01:31]MH_SAM_APDU [22:01:31]CAPDU: 80 13 01 00 [22:01:31]Write to MH i2c: E2 08 00 41 2D 80 13 01 00 00 00 00 00 EB [22:01:31]Write i2c OK [22:01:31]MH_I2C_Read... [22:01:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:01:31]Read from MH i2c: E2 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: E2 0E 00 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: E2 0E 00 41 2D 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 09 [22:01:31]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:01:31]wFMCommunicate OK [22:01:31]SAM_PROTO_GetShiftState done [22:01:31]FM_GetShiftState done [22:01:31]req_shift_opened done [22:01:31]requested_item shift.open_date is exist - process it [22:01:31]req_shift_open_date [22:01:31]req_shift_open_date done [22:01:31]produce_requested_data done [22:01:31]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22079,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [22:01:31]process_action_free close_receipt [22:01:31]json_value_free [22:01:31]json_value_free done [22:01:31]process_json_proto returns [22:01:31]Send response to host [22:01:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22079,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [22:01:31]free response buf [22:01:31]execute_script done [22:01:31]execute_script returns [22:01:31]free content buf [22:01:31]Sock 8.Close socket [22:01:31]Sock 8.Thread stoped [22:01:35]OFD Sender: No OFD packet to send [22:01:40]OFD Sender: No OFD packet to send [22:01:45]OFD Sender: No OFD packet to send [22:01:50]OFD Sender: No OFD packet to send [22:01:55]OFD Sender: No OFD packet to send [22:02:00]OFD Sender: No OFD packet to send [22:02:05]OFD Sender: No OFD packet to send [22:02:10]OFD Sender: No OFD packet to send [22:02:15]OFD Sender: No OFD packet to send [22:02:20]OFD Sender: No OFD packet to send [22:02:25]OFD Sender: No OFD packet to send [22:02:30]OFD Sender: No OFD packet to send [22:02:35]OFD Sender: No OFD packet to send [22:02:40]OFD Sender: No OFD packet to send [22:02:45]OFD Sender: No OFD packet to send [22:02:50]OFD Sender: No OFD packet to send [22:02:55]OFD Sender: No OFD packet to send [22:03:00]OFD Sender: No OFD packet to send [22:03:05]OFD Sender: No OFD packet to send [22:03:10]OFD Sender: No OFD packet to send [22:03:15]OFD Sender: No OFD packet to send [22:03:20]OFD Sender: No OFD packet to send [22:03:25]OFD Sender: No OFD packet to send [22:03:30]OFD Sender: No OFD packet to send [22:03:35]OFD Sender: No OFD packet to send [22:03:40]OFD Sender: No OFD packet to send [22:03:45]OFD Sender: No OFD packet to send [22:03:50]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:04:00]OFD Sender: No OFD packet to send [22:04:05]OFD Sender: No OFD packet to send [22:04:10]OFD Sender: No OFD packet to send [22:04:15]OFD Sender: No OFD packet to send [22:04:20]OFD Sender: No OFD packet to send [22:04:25]OFD Sender: No OFD packet to send [22:04:30]OFD Sender: No OFD packet to send [22:04:35]OFD Sender: No OFD packet to send [22:04:40]OFD Sender: No OFD packet to send [22:04:45]OFD Sender: No OFD packet to send [22:04:50]OFD Sender: No OFD packet to send [22:04:55]OFD Sender: No OFD packet to send [22:05:00]OFD Sender: No OFD packet to send [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:11:15]OFD Sender: No OFD packet to send [22:11:20]OFD Sender: No OFD packet to send [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]accept exits with 9 [22:13:35]New connection [22:13:35]New thread 3067178340 created [22:13:35]Thread 3067321700 joined [22:13:35]Waiting for new connection... [22:13:35] Sock 9.Parse request [22:13:35]Sock 9.Check first char [22:13:35]Sock 9.First char is OK [22:13:35]request: POST /json_proto HTTP/1.0 [22:13:35]Method: POST [22:13:35]URL: /json_proto [22:13:35]Method is POST - this is cgi request [22:13:35]url: /json_proto [22:13:35]query_string will be loaded in cgi processing [22:13:35]execute_cgi json_proto POST (null) [22:13:35]execute_cgi path=json_proto method=POST [22:13:35]POST find Content-Length [22:13:35]Host: 172.17.35.133:8080 [22:13:35]Content-Length: 1322 [22:13:35]Content-Type: application/json [22:13:35] [22:13:35]POST finish read [22:13:35]Found Content-Length = 1322 [22:13:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254305", "tax_sys" : 0, "items" : [ { "code": "4603290004879", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u043A\u043E\u043A\u043E\u0441.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 120\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" : 233.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:13:35]execute_script... [22:13: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)254305", "tax_sys" : 0, "items" : [ { "code": "4603290004879", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u043A\u043E\u043A\u043E\u0441.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 120\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" : 233.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:13:35]POST & json_proto [22:13:35]process_json_proto [22:13:35]json parsed OK: [22:13:35]protocol is kg_v1.0 [22:13:35]action value=close_receipt [22:13:35]process_action close_receipt [22:13:35]cmd_close_receipt [22:13:35]MH_GetDate [22:13:35]Write to MH i2c: F0 00 00 42 2D 5E [22:13:35]Write i2c OK [22:13:35]MH_I2C_Read... [22:13:35]Read from MH i2c: F0 [22:13:35]MH_I2C_Read... [22:13:35]Read from MH i2c: F0 09 00 [22:13:35]MH_I2C_Read... [22:13:35]Read from MH i2c: F0 09 00 42 2D 00 1A 6F 6B 66 8C 55 28 65 2F [22:13:35]GetLastDocTimeStamp 1718316098 [22:13:35]current date 1718316826 [22:13:35]FM_GetShiftState [22:13:35]SAM_PROTO_GetShiftState [22:13:35]wFMCommunicate request_size=4 [22:13:35]MH_SAM_APDU [22:13:35]CAPDU: 80 13 01 00 [22:13:35]Write to MH i2c: E2 08 00 43 2D 80 13 01 00 00 00 00 00 ED [22:13:35]Write i2c OK [22:13:35]MH_I2C_Read... [22:13:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:13:35]Read from MH i2c: E2 [22:13:35]MH_I2C_Read... [22:13:35]Read from MH i2c: E2 0E 00 [22:13:35]MH_I2C_Read... [22:13:35]Read from MH i2c: E2 0E 00 43 2D 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 0B [22:13:35]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:13:35]wFMCommunicate OK [22:13:35]SAM_PROTO_GetShiftState done [22:13:35]FM_GetShiftState done [22:13:35]opened in 1718237959 [22:13:35]opened+sec_in_day 1718324359 [22:13:35]quantity*price = 9300 [22:13:35]sum+1 = 9301 [22:13:35]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607015232547 Вафли Яшкино с халвой 200г 1.000 * 81.00 = 81.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607123066058 Печенье Юбилейное Торжество орех 120г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 233.00 НСП 1% : 2.06 НДС 12% : 24.74 Наличными: 233.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 60 13.06.2024 22:13 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22080 ФПД: 221687352189243 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T221346&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22080&fm=221687352189243&tin=02508201610067®Number=0000000000099755&sum=23300 0 [22:13:36]StoreToDocumentArchive [22:13:36]shift 324 fd 22080 [22:13:36]save to /storage/0324/doc_00022080 [22:13:36]save last doc name /storage/0324/doc_00022080 to /storage/kkm_last_doc_name [22:13:36]save OK [22:13:36]Clear old archive folders... [22:13:36]ProcessDocumentItem done err = 0, tmpTLVsize=544 [22:13:36]tlvbuf is 003351F0 [22:13:36]SAM_PROTO_ClearQueue [22:13:36]wFMCommunicate request_size=4 [22:13:36]MH_SAM_APDU [22:13:36]CAPDU: 80 09 00 00 [22:13:36]Write to MH i2c: E2 08 00 50 2D 80 09 00 00 00 00 00 00 EF [22:13:36]Write i2c OK [22:13:36]MH_I2C_Read... [22:13:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:13:36]Read from MH i2c: E2 [22:13:36]MH_I2C_Read... [22:13:36]Read from MH i2c: E2 03 00 [22:13:36]MH_I2C_Read... [22:13:36]Read from MH i2c: E2 03 00 50 2D 00 90 00 F1 [22:13:36]RAPDU: 90 00 [22:13:36]wFMCommunicate OK [22:13:36]SAM_PROTO_ClearQueue done [22:13:36]KKMCreateOFDPacket [22:13:36]OFDProtocolAddRootSTLVToBuf [22:13:36]FM_MakeSignedData [22:13:36]FM_MakeSignedData [22:13:36]SAM_PROTO_SignData [22:13:36]wFMCommunicate request_size=4 [22:13:36]MH_SAM_APDU [22:13:36]CAPDU: 80 0D 01 02 [22:13:36]Write to MH i2c: E2 08 00 51 2D 80 0D 01 02 00 00 00 00 F7 [22:13:36]Write i2c OK [22:13:36]MH_I2C_Read... [22:13:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:13:36]Read from MH i2c: E2 [22:13:36]MH_I2C_Read... [22:13:36]Read from MH i2c: E2 03 00 [22:13:36]MH_I2C_Read... [22:13:36]Read from MH i2c: E2 03 00 51 2D 00 90 00 F2 [22:13:36]RAPDU: 90 00 [22:13:36]wFMCommunicate OK [22:13:36]wFMCommunicate request_size=255 [22:13:36]MH_SAM_APDU [22:13:36]CAPDU: 80 0D 02 02 FA 03 00 20 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 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 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 [22:13:36]Write to MH i2c: E2 02 01 52 2D 80 0D 02 02 FA 00 03 00 20 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 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 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 00 00 1B [22:13:37]Write i2c OK [22:13:37]MH_I2C_Read... [22:13:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:37]Read from MH i2c: E2 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 03 00 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 03 00 52 2D 00 90 00 F3 [22:13:37]RAPDU: 90 00 [22:13:37]wFMCommunicate OK [22:13:37]wFMCommunicate request_size=255 [22:13:37]MH_SAM_APDU [22:13:37]CAPDU: 80 0D 02 02 FA 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 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 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 04 5B 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 1A 6F 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [22:13:37]Write to MH i2c: E2 02 01 53 2D 80 0D 02 02 FA 00 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 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 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 04 5B 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 1A 6F 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 61 [22:13:37]Write i2c OK [22:13:37]MH_I2C_Read... [22:13:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:37]Read from MH i2c: E2 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 03 00 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 03 00 53 2D 00 90 00 F4 [22:13:37]RAPDU: 90 00 [22:13:37]wFMCommunicate OK [22:13:37]wFMCommunicate request_size=53 [22:13:37]MH_SAM_APDU [22:13:37]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 40 56 00 00 35 04 06 00 C9 9F 9B E0 E1 3B [22:13:37]Write to MH i2c: E2 38 00 54 2D 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 40 56 00 00 35 04 06 00 C9 9F 9B E0 E1 3B 00 00 8E [22:13:37]Write i2c OK [22:13:37]MH_I2C_Read... [22:13:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:37]Read from MH i2c: E2 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 03 00 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 03 00 54 2D 00 90 00 F5 [22:13:37]RAPDU: 90 00 [22:13:37]wFMCommunicate OK [22:13:37]wFMCommunicate request_size=4 [22:13:37]MH_SAM_APDU [22:13:37]CAPDU: 80 0D 03 02 [22:13:37]Write to MH i2c: E2 08 00 55 2D 80 0D 03 02 00 00 00 00 FD [22:13:37]Write i2c OK [22:13:37]MH_I2C_Read... [22:13:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:13:37]Read from MH i2c: E2 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 0B 00 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 0B 00 55 2D 00 FA 7A 36 2B 11 92 90 CF 90 00 D5 [22:13:37]RAPDU: FA 7A 36 2B 11 92 90 CF 90 00 [22:13:37]wFMCommunicate OK [22:13:37]SAM_PROTO_SignData done [22:13:37]FM_MakeSignedData done [22:13:37]CreateOFDProtocolMessage [22:13:37]wFMCommunicate request_size=4 [22:13:37]MH_SAM_APDU [22:13:37]CAPDU: 80 11 00 00 [22:13:37]Write to MH i2c: E2 08 00 56 2D 80 11 00 00 00 00 00 00 FD [22:13:37]Write i2c OK [22:13:37]MH_I2C_Read... [22:13:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:13:37]Read from MH i2c: E2 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 17 00 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: E2 17 00 56 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4F [22:13:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:13:37]wFMCommunicate OK [22:13:37]CreateOFDProtocolMessage done [22:13:37]OFDSenderStorePacket 22080 [22:13:37]StoreOFDPacket docnum=22080 [22:13: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 34 02 00 00 03 A1 2C 02 44 55 5A 03 01 00 03 00 20 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 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 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 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 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 04 5B 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 1A 6F 6B 66 0E 04 04 00 44 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 40 56 00 00 35 04 06 00 C9 9F 9B E0 E1 3B FA 7A 36 2B 11 92 90 CF [22:13:37]CheckFolder [22:13:37]dirname=/storage/ofd_packets [22:13:37]CheckFolder done [22:13:37]ProducePacketName [22:13:37]name=ofd_packets/00022080 [22:13:37]NVStorageSaveData ofd_packets/00022080 [22:13:37]File name is /storage/ofd_packets/00022080 [22:13:37]Write 594 bytes [22:13:37]NVStorageSaveData done [22:13:37]OFDSenderStorePacket done [22:13:37]KKMCreateOFDPacket done [22:13:37]NVStorageSaveData kkm_last_timestamp [22:13:37]File name is /storage/kkm_last_timestamp [22:13:37]Write 4 bytes [22:13:37]NVStorageSaveData done [22:13:37]ExternCall_PrintAddStr [22:13:37]wPrintStart [22:13:37]Write to MH i2c: 01 00 00 57 2D 84 [22:13:37]Write i2c OK [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: 01 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: 01 07 00 [22:13:37]MH_I2C_Read... [22:13:37]Read from MH i2c: 01 07 00 57 2D 00 00 00 00 00 FF 0F 99 [22:13:37]RasterBufferAndPrint [22:13:37]line Счет N : (3)254305 [22:13:37]line ИНН: 02508201610067 [22:13:37]line Контрольно-Кассовый Чек [22:13:37]line ПРОДАЖА [22:13:37]line Товар: 4603290004879 [22:13:37]line Печ.сах.FORSITE Сэнд.кокос.вк [22:13:37]line 1.000 * 93.00 [22:13:37]line = 93.00 [22:13:37]line НДС 12% НСП 1% [22:13:37]line > о реализуемом товаре [22:13:37]line Товар: 4607015232547 [22:13:37]line Вафли Яшкино с халвой 200г [22:13:37]line 1.000 * 81.00 [22:13:37]line = 81.00 [22:13:37]line НДС 12% НСП 1% [22:13:37]line > о реализуемом товаре [22:13:37]line Товар: 4607123066058 [22:13:37]line Печенье Юбилейное Торжество орех 120г [22:13:37]line 1.000 * 59.00 [22:13:37]line = 59.00 [22:13:37]line НДС 12% НСП 1% [22:13:37]line > о реализуемом товаре [22:13:37]line ИТОГО: 233.00 [22:13:37]line НСП 1% : 2.06 [22:13:37]line НДС 12% : 24.74 [22:13:37]line Наличными: 233.00 [22:13:37]line Безнал.: 0.00 [22:13:37]line Место: АЗС № 76 "Партнер Нефть" [22:13:37]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:13:37]line СНО: Общий режим [22:13:37]line Чек 60 13.06.2024 22:13 [22:13:37]line Смена: 324 ФФД: 1.0 [22:13:37]line ЗНМ: 0300000200 [22:13:37]line РНМ: 0000000000099755 [22:13:37]line Версия ККМ: 001 [22:13:37]line ФМ: 0000000000965344 [22:13:37]line ФД: 22080 [22:13:37]line ФПД: 221687352189243 [22:13:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T221346&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22080&fm=221687352189243&tin=02508201610067®Number=0000000000099755&sum=23300 [22:13:38]OFD Sender: Processing packet 22080 [packets to send 5, broken 4] [22:13:38]ProducePacketName [22:13:38]name=ofd_packets/00022080 [22:13:38]OFD Sender: To server: pG, [22:13:38]CommunicateWithHost lk.salyk.kg:30040 [22:13:38]ConnectInit lk.salyk.kg [22:13:38]line 0 [22:13:38]written 0, free lines is 4095 [22:13:38]Connected sock=10 [22:13: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 34 02 00 00 03 A1 2C 02 44 55 5A 03 01 00 03 00 20 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 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 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 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 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 04 5B 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 1A 6F 6B 66 0E 04 04 00 44 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 40 56 00 00 35 04 06 00 C9 9F 9B E0 E1 3B FA 7A 36 2B 11 92 90 CF [22:13:38]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 B7 C6 47 00 A8 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 40 56 00 00 F4 03 04 00 DD 17 6B 66 B6 04 01 00 00 4F B5 5C 6C 07 BB C8 FB [22:13:38]CommunicateWithHost err = 0 [22:13:38]CheckOFDResponse [22:13:38]1017 (14) - 77093643461234 [22:13:38]1041 (16) - 0000000000965344 [22:13:38]1040 (4) - 22080 [22:13:38]1012 (4) - 13.06.2024 16:01 [22:13:38]1206 (1) - 0 [22:13:38]OFD Sender: Remove packet 22080 [22:13:38]ProducePacketName [22:13:38]name=ofd_packets/00022080 [22:13:38]NVStorageDeleteData [22:13:38]Write to MH i2c: 01 00 00 8C 2D B9 [22:13:38]Write i2c OK [22:13:38]MH_I2C_Read... [22:13:38]Read from MH i2c: 01 [22:13:38]MH_I2C_Read... [22:13:38]Read from MH i2c: 01 07 00 [22:13:38]MH_I2C_Read... [22:13:38]Read from MH i2c: 01 07 00 8C 2D 00 00 00 00 00 97 0C 63 [22:13:38]RasterBufferAndPrint [22:13:38]line [22:13:38]line [22:13:38]line [22:13:38]line [22:13:38]line [22:13:38]written 0, free lines is 3233 [22:13:38]MH_Cut [22:13:38]Write to MH i2c: D1 01 00 93 2D 01 92 [22:13:38]Write i2c OK [22:13:38]MH_I2C_Read... [22:13:38]Read from MH i2c: D1 [22:13:38]MH_I2C_Read... [22:13:38]Read from MH i2c: D1 01 00 [22:13:38]MH_I2C_Read... [22:13:38]Read from MH i2c: D1 01 00 93 2D 00 91 [22:13:38]Write to MH i2c: 01 00 00 94 2D C1 [22:13:38]Write i2c OK [22:13:38]MH_I2C_Read... [22:13:38]OFD Sender: No OFD packet to send [22:13:39]*** Cut start [22:13:39]*** Partial cut [22:13:39]*** CUTSNS_PIN = 1 [22:13:39]*** CUTSNS_PIN = 0 [22:13:39]*** Brake cut motor [22:13:40]Read from MH i2c: 01 [22:13:40]MH_I2C_Read... [22:13:40]*** Stop cut motor [22:13:40]*** Cut end [22:13:40]Read from MH i2c: 01 07 00 [22:13:40]MH_I2C_Read... [22:13:40]Read from MH i2c: 01 07 00 94 2D 00 00 00 00 00 FF 0F D6 [22:13:40]process_action close_receipt done [22:13:40]requested_data is exist [22:13:40]produce_requested_data [22:13:40]requested_item fm.sn is exist - process it [22:13:40]wFMCommunicate request_size=4 [22:13:40]MH_SAM_APDU [22:13:40]CAPDU: 80 11 00 00 [22:13:40]Write to MH i2c: E2 08 00 95 2D 80 11 00 00 00 00 00 00 3C [22:13:40]Write i2c OK [22:13:40]MH_I2C_Read... [22:13:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:13:40]Read from MH i2c: E2 [22:13:40]MH_I2C_Read... [22:13:40]Read from MH i2c: E2 17 00 [22:13:40]MH_I2C_Read... [22:13:40]Read from MH i2c: E2 17 00 95 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8E [22:13:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:13:40]wFMCommunicate OK [22:13:40]requested_item fd.num is exist - process it [22:13:40]SAM_PROTO_GetFieldsCounters [22:13:40]wFMCommunicate request_size=4 [22:13:40]MH_SAM_APDU [22:13:40]CAPDU: 80 13 00 00 [22:13:40]Write to MH i2c: E2 08 00 96 2D 80 13 00 00 00 00 00 00 3F [22:13:40]Write i2c OK [22:13:40]MH_I2C_Read... [22:13:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:13:40]Read from MH i2c: E2 [22:13:40]MH_I2C_Read... [22:13:40]Read from MH i2c: E2 62 00 [22:13:40]MH_I2C_Read... [22:13:40]Read from MH i2c: E2 62 00 96 2D 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 40 56 00 00 0E 04 04 00 44 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 F8 [22:13: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 40 56 00 00 0E 04 04 00 44 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 [22:13:40]wFMCommunicate OK [22:13:40]SAM_PROTO_GetFieldsCounters done [22:13:40]requested_item shift.num is exist - process it [22:13:40]requested_item shift.opened is exist - process it [22:13:40]req_shift_opened [22:13:40]FM_GetShiftState [22:13:40]SAM_PROTO_GetShiftState [22:13:40]wFMCommunicate request_size=4 [22:13:40]MH_SAM_APDU [22:13:40]CAPDU: 80 13 01 00 [22:13:40]Write to MH i2c: E2 08 00 97 2D 80 13 01 00 00 00 00 00 41 [22:13:40]Write i2c OK [22:13:40]MH_I2C_Read... [22:13:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:13:40]Read from MH i2c: E2 [22:13:40]MH_I2C_Read... [22:13:40]Read from MH i2c: E2 0E 00 [22:13:40]MH_I2C_Read... [22:13:40]Read from MH i2c: E2 0E 00 97 2D 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 5F [22:13:40]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:13:40]wFMCommunicate OK [22:13:40]SAM_PROTO_GetShiftState done [22:13:40]FM_GetShiftState done [22:13:40]req_shift_opened done [22:13:40]requested_item shift.open_date is exist - process it [22:13:40]req_shift_open_date [22:13:40]req_shift_open_date done [22:13:40]produce_requested_data done [22:13:40]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22080,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [22:13:40]process_action_free close_receipt [22:13:40]json_value_free [22:13:40]json_value_free done [22:13:40]process_json_proto returns [22:13:40]Send response to host [22:13:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22080,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [22:13:40]free response buf [22:13:40]execute_script done [22:13:40]execute_script returns [22:13:40]free content buf [22:13:40]Sock 9.Close socket [22:13:40]Sock 9.Thread stoped [22:13:43]OFD Sender: No OFD packet to send [22:13:48]OFD Sender: No OFD packet to send [22:13:53]OFD Sender: No OFD packet to send [22:13:58]OFD Sender: No OFD packet to send [22:14:03]OFD Sender: No OFD packet to send [22:14:08]OFD Sender: No OFD packet to send [22:14:13]OFD Sender: No OFD packet to send [22:14:18]OFD Sender: No OFD packet to send [22:14:23]OFD Sender: No OFD packet to send [22:14:28]OFD Sender: No OFD packet to send [22:14:33]OFD Sender: No OFD packet to send [22:14:38]OFD Sender: No OFD packet to send [22:14:43]OFD Sender: No OFD packet to send [22:14:48]OFD Sender: No OFD packet to send [22:14:53]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:19]accept exits with 8 [22:15:19]New connection [22:15:19]New thread 3067321700 created [22:15:19]Thread 3067178340 joined [22:15:19]Waiting for new connection... [22:15:19] Sock 8.Parse request [22:15:19]Sock 8.Check first char [22:15:19]Sock 8.First char is OK [22:15:19]request: POST /json_proto HTTP/1.0 [22:15:19]Method: POST [22:15:19]URL: /json_proto [22:15:19]Method is POST - this is cgi request [22:15:19]url: /json_proto [22:15:19]query_string will be loaded in cgi processing [22:15:19]execute_cgi json_proto POST (null) [22:15:19]execute_cgi path=json_proto method=POST [22:15:19]POST find Content-Length [22:15:19]Host: 172.17.35.133:8080 [22:15:19]Content-Length: 858 [22:15:19]Content-Type: application/json [22:15:19] [22:15:19]POST finish read [22:15:19]Found Content-Length = 858 [22:15:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254306", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:15:19]execute_script... [22:15:19]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)254306", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:15:19]POST & json_proto [22:15:19]process_json_proto [22:15:19]json parsed OK: [22:15:19]protocol is kg_v1.0 [22:15:19]action value=close_receipt [22:15:19]process_action close_receipt [22:15:19]cmd_close_receipt [22:15:19]MH_GetDate [22:15:19]Write to MH i2c: F0 00 00 98 2D B4 [22:15:19]Write i2c OK [22:15:19]MH_I2C_Read... [22:15:19]Read from MH i2c: F0 [22:15:19]MH_I2C_Read... [22:15:19]Read from MH i2c: F0 09 00 [22:15:19]MH_I2C_Read... [22:15:19]Read from MH i2c: F0 09 00 98 2D 00 82 6F 6B 66 8C 55 28 65 ED [22:15:19]GetLastDocTimeStamp 1718316826 [22:15:19]current date 1718316930 [22:15:19]FM_GetShiftState [22:15:19]SAM_PROTO_GetShiftState [22:15:19]wFMCommunicate request_size=4 [22:15:19]MH_SAM_APDU [22:15:19]CAPDU: 80 13 01 00 [22:15:19]Write to MH i2c: E2 08 00 99 2D 80 13 01 00 00 00 00 00 43 [22:15:19]Write i2c OK [22:15:19]MH_I2C_Read... [22:15:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:15:20]Read from MH i2c: E2 [22:15:20]MH_I2C_Read... [22:15:20]Read from MH i2c: E2 0E 00 [22:15:20]MH_I2C_Read... [22:15:20]Read from MH i2c: E2 0E 00 99 2D 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 61 [22:15:20]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:15:20]wFMCommunicate OK [22:15:20]SAM_PROTO_GetShiftState done [22:15:20]FM_GetShiftState done [22:15:20]opened in 1718237959 [22:15:20]opened+sec_in_day 1718324359 [22:15:20]quantity*price = 8500 [22:15:20]sum+1 = 8501 [22:15:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 61 13.06.2024 22:15 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22081 ФПД: 183255847600182 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T221530&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22081&fm=183255847600182&tin=02508201610067®Number=0000000000099755&sum=8500 0 [22:15:21]StoreToDocumentArchive [22:15:21]shift 324 fd 22081 [22:15:21]save to /storage/0324/doc_00022081 [22:15:21]save last doc name /storage/0324/doc_00022081 to /storage/kkm_last_doc_name [22:15:21]save OK [22:15:21]Clear old archive folders... [22:15:21]ProcessDocumentItem done err = 0, tmpTLVsize=288 [22:15:21]tlvbuf is 002C4CB0 [22:15:21]SAM_PROTO_ClearQueue [22:15:21]wFMCommunicate request_size=4 [22:15:21]MH_SAM_APDU [22:15:21]CAPDU: 80 09 00 00 [22:15:21]Write to MH i2c: E2 08 00 A6 2D 80 09 00 00 00 00 00 00 45 [22:15:21]Write i2c OK [22:15:21]MH_I2C_Read... [22:15:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:15:21]Read from MH i2c: E2 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 03 00 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 03 00 A6 2D 00 90 00 47 [22:15:21]RAPDU: 90 00 [22:15:21]wFMCommunicate OK [22:15:21]SAM_PROTO_ClearQueue done [22:15:21]KKMCreateOFDPacket [22:15:21]OFDProtocolAddRootSTLVToBuf [22:15:21]FM_MakeSignedData [22:15:21]FM_MakeSignedData [22:15:21]SAM_PROTO_SignData [22:15:21]wFMCommunicate request_size=4 [22:15:21]MH_SAM_APDU [22:15:21]CAPDU: 80 0D 01 02 [22:15:21]Write to MH i2c: E2 08 00 A7 2D 80 0D 01 02 00 00 00 00 4D [22:15:21]Write i2c OK [22:15:21]MH_I2C_Read... [22:15:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:15:21]Read from MH i2c: E2 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 03 00 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 03 00 A7 2D 00 90 00 48 [22:15:21]RAPDU: 90 00 [22:15:21]wFMCommunicate OK [22:15:21]wFMCommunicate request_size=255 [22:15:21]MH_SAM_APDU [22:15:21]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 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 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 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 82 6F 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [22:15:21]Write to MH i2c: E2 02 01 A8 2D 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 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 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 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 82 6F 6B 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 59 [22:15:21]Write i2c OK [22:15:21]MH_I2C_Read... [22:15:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:15:21]Read from MH i2c: E2 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 03 00 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 03 00 A8 2D 00 90 00 49 [22:15:21]RAPDU: 90 00 [22:15:21]wFMCommunicate OK [22:15:21]wFMCommunicate request_size=47 [22:15:21]MH_SAM_APDU [22:15:21]CAPDU: 80 0D 02 02 2A 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 41 56 00 00 35 04 06 00 A6 AB 93 B3 00 36 [22:15:21]Write to MH i2c: E2 32 00 A9 2D 80 0D 02 02 2A 00 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 41 56 00 00 35 04 06 00 A6 AB 93 B3 00 36 00 00 7D [22:15:21]Write i2c OK [22:15:21]MH_I2C_Read... [22:15:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:15:21]Read from MH i2c: E2 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 03 00 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 03 00 A9 2D 00 90 00 4A [22:15:21]RAPDU: 90 00 [22:15:21]wFMCommunicate OK [22:15:21]wFMCommunicate request_size=4 [22:15:21]MH_SAM_APDU [22:15:21]CAPDU: 80 0D 03 02 [22:15:21]Write to MH i2c: E2 08 00 AA 2D 80 0D 03 02 00 00 00 00 52 [22:15:21]Write i2c OK [22:15:21]MH_I2C_Read... [22:15:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:15:21]Read from MH i2c: E2 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 0B 00 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 0B 00 AA 2D 00 35 8D 7E DD 69 9B 88 F3 90 00 EF [22:15:21]RAPDU: 35 8D 7E DD 69 9B 88 F3 90 00 [22:15:21]wFMCommunicate OK [22:15:21]SAM_PROTO_SignData done [22:15:21]FM_MakeSignedData done [22:15:21]CreateOFDProtocolMessage [22:15:21]wFMCommunicate request_size=4 [22:15:21]MH_SAM_APDU [22:15:21]CAPDU: 80 11 00 00 [22:15:21]Write to MH i2c: E2 08 00 AB 2D 80 11 00 00 00 00 00 00 52 [22:15:21]Write i2c OK [22:15:21]MH_I2C_Read... [22:15:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:15:21]Read from MH i2c: E2 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 17 00 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: E2 17 00 AB 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A4 [22:15:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:15:21]wFMCommunicate OK [22:15:21]CreateOFDProtocolMessage done [22:15:21]OFDSenderStorePacket 22081 [22:15:21]StoreOFDPacket docnum=22081 [22:15:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 34 01 00 00 03 9E 2C 01 0B 34 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 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 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 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 82 6F 6B 66 0E 04 04 00 44 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 41 56 00 00 35 04 06 00 A6 AB 93 B3 00 36 35 8D 7E DD 69 9B 88 F3 [22:15:21]CheckFolder [22:15:21]dirname=/storage/ofd_packets [22:15:21]CheckFolder done [22:15:21]ProducePacketName [22:15:21]name=ofd_packets/00022081 [22:15:21]NVStorageSaveData ofd_packets/00022081 [22:15:21]File name is /storage/ofd_packets/00022081 [22:15:21]Write 338 bytes [22:15:21]NVStorageSaveData done [22:15:21]OFDSenderStorePacket done [22:15:21]KKMCreateOFDPacket done [22:15:21]NVStorageSaveData kkm_last_timestamp [22:15:21]File name is /storage/kkm_last_timestamp [22:15:21]Write 4 bytes [22:15:21]NVStorageSaveData done [22:15:21]ExternCall_PrintAddStr [22:15:21]wPrintStart [22:15:21]Write to MH i2c: 01 00 00 AC 2D D9 [22:15:21]Write i2c OK [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: 01 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: 01 07 00 [22:15:21]MH_I2C_Read... [22:15:21]Read from MH i2c: 01 07 00 AC 2D 00 00 00 00 00 FF 0F EE [22:15:21]RasterBufferAndPrint [22:15:21]line Счет N : (3)254306 [22:15:21]line ИНН: 02508201610067 [22:15:21]line Контрольно-Кассовый Чек [22:15:21]line ПРОДАЖА [22:15:21]line Товар: 4700000481453 [22:15:21]line Напиток энерг Nitro Max 0,45 ж/б [22:15:21]line 1.000 * 85.00 [22:15:21]line = 85.00 [22:15:21]line НДС 12% НСП 1% [22:15:21]line > о реализуемом товаре [22:15:21]line ИТОГО: 85.00 [22:15:21]line НСП 1% : 0.75 [22:15:21]line НДС 12% : 9.03 [22:15:21]line Наличными: 0.00 [22:15:21]line Безнал.: 85.00 [22:15:21]line Место: АЗС № 76 "Партнер Нефть" [22:15:21]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:15:21]line СНО: Общий режим [22:15:21]line Чек 61 13.06.2024 22:15 [22:15:21]line Смена: 324 ФФД: 1.0 [22:15:21]line ЗНМ: 0300000200 [22:15:21]line РНМ: 0000000000099755 [22:15:21]line Версия ККМ: 001 [22:15:21]line Платежная система: АКБ Кыргызстан [22:15:21]line ФМ: 0000000000965344 [22:15:21]line ФД: 22081 [22:15:21]line ФПД: 183255847600182 [22:15:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T221530&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22081&fm=183255847600182&tin=02508201610067®Number=0000000000099755&sum=8500 [22:15:22]line 0 [22:15:22]OFD Sender: Processing packet 22081 [packets to send 5, broken 4] [22:15:22]ProducePacketName [22:15:22]name=ofd_packets/00022081 [22:15:22]OFD Sender: To server: pG, [22:15:22]CommunicateWithHost lk.salyk.kg:30040 [22:15:22]ConnectInit lk.salyk.kg [22:15:22]written 0, free lines is 4095 [22:15:22]Connected sock=10 [22:15: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 34 01 00 00 03 9E 2C 01 0B 34 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 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 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 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 82 6F 6B 66 0E 04 04 00 44 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 41 56 00 00 35 04 06 00 A6 AB 93 B3 00 36 35 8D 7E DD 69 9B 88 F3 [22:15: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 29 38 47 00 63 73 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 41 56 00 00 F4 03 04 00 44 18 6B 66 B6 04 01 00 00 AF 29 FE 67 E7 8B 6B 2D [22:15:22]CommunicateWithHost err = 0 [22:15:22]CheckOFDResponse [22:15:22]1017 (14) - 77093643461234 [22:15:22]1041 (16) - 0000000000965344 [22:15:22]1040 (4) - 22081 [22:15:22]1012 (4) - 13.06.2024 16:03 [22:15:22]1206 (1) - 0 [22:15:22]OFD Sender: Remove packet 22081 [22:15:22]ProducePacketName [22:15:22]name=ofd_packets/00022081 [22:15:22]NVStorageDeleteData [22:15:22]Write to MH i2c: 01 00 00 D7 2D 04 [22:15:22]Write i2c OK [22:15:22]MH_I2C_Read... [22:15:22]Read from MH i2c: 01 [22:15:22]MH_I2C_Read... [22:15:22]Read from MH i2c: 01 07 00 [22:15:22]MH_I2C_Read... [22:15:22]Read from MH i2c: 01 07 00 D7 2D 00 00 00 00 00 E8 0C FF [22:15:22]RasterBufferAndPrint [22:15:22]line [22:15:22]line [22:15:22]line [22:15:22]line [22:15:22]line [22:15:22]written 0, free lines is 3310 [22:15:22]MH_Cut [22:15:22]Write to MH i2c: D1 01 00 DE 2D 01 DD [22:15:22]Write i2c OK [22:15:22]MH_I2C_Read... [22:15:22]Read from MH i2c: D1 [22:15:22]MH_I2C_Read... [22:15:22]Read from MH i2c: D1 01 00 [22:15:22]MH_I2C_Read... [22:15:22]Read from MH i2c: D1 01 00 DE 2D 00 DC [22:15:22]Write to MH i2c: 01 00 00 DF 2D 0C [22:15:22]Write i2c OK [22:15:22]MH_I2C_Read... [22:15:22]OFD Sender: No OFD packet to send [22:15:23]*** Cut start [22:15:23]*** Partial cut [22:15:23]*** CUTSNS_PIN = 1 [22:15:23]*** CUTSNS_PIN = 0 [22:15:23]*** Brake cut motor [22:15:23]Read from MH i2c: 01 [22:15:23]MH_I2C_Read... [22:15:23]*** Stop cut motor [22:15:23]*** Cut end [22:15:23]Read from MH i2c: 01 07 00 [22:15:23]MH_I2C_Read... [22:15:23]Read from MH i2c: 01 07 00 DF 2D 00 00 00 00 00 FF 0F 21 [22:15:23]process_action close_receipt done [22:15:23]requested_data is exist [22:15:23]produce_requested_data [22:15:23]requested_item fm.sn is exist - process it [22:15:23]wFMCommunicate request_size=4 [22:15:23]MH_SAM_APDU [22:15:23]CAPDU: 80 11 00 00 [22:15:23]Write to MH i2c: E2 08 00 E0 2D 80 11 00 00 00 00 00 00 87 [22:15:23]Write i2c OK [22:15:23]MH_I2C_Read... [22:15:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:15:23]Read from MH i2c: E2 [22:15:23]MH_I2C_Read... [22:15:23]Read from MH i2c: E2 17 00 [22:15:23]MH_I2C_Read... [22:15:23]Read from MH i2c: E2 17 00 E0 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D9 [22:15: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:15:23]wFMCommunicate OK [22:15:23]requested_item fd.num is exist - process it [22:15:23]SAM_PROTO_GetFieldsCounters [22:15:23]wFMCommunicate request_size=4 [22:15:23]MH_SAM_APDU [22:15:23]CAPDU: 80 13 00 00 [22:15:23]Write to MH i2c: E2 08 00 E1 2D 80 13 00 00 00 00 00 00 8A [22:15:23]Write i2c OK [22:15:23]MH_I2C_Read... [22:15:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:15:24]Read from MH i2c: E2 [22:15:24]MH_I2C_Read... [22:15:24]Read from MH i2c: E2 62 00 [22:15:24]MH_I2C_Read... [22:15:24]Read from MH i2c: E2 62 00 E1 2D 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 41 56 00 00 0E 04 04 00 44 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 47 [22:15:24]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 41 56 00 00 0E 04 04 00 44 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 [22:15:24]wFMCommunicate OK [22:15:24]SAM_PROTO_GetFieldsCounters done [22:15:24]requested_item shift.num is exist - process it [22:15:24]requested_item shift.opened is exist - process it [22:15:24]req_shift_opened [22:15:24]FM_GetShiftState [22:15:24]SAM_PROTO_GetShiftState [22:15:24]wFMCommunicate request_size=4 [22:15:24]MH_SAM_APDU [22:15:24]CAPDU: 80 13 01 00 [22:15:24]Write to MH i2c: E2 08 00 E2 2D 80 13 01 00 00 00 00 00 8C [22:15:24]Write i2c OK [22:15:24]MH_I2C_Read... [22:15:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:15:24]Read from MH i2c: E2 [22:15:24]MH_I2C_Read... [22:15:24]Read from MH i2c: E2 0E 00 [22:15:24]MH_I2C_Read... [22:15:24]Read from MH i2c: E2 0E 00 E2 2D 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 AA [22:15:24]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:15:24]wFMCommunicate OK [22:15:24]SAM_PROTO_GetShiftState done [22:15:24]FM_GetShiftState done [22:15:24]req_shift_opened done [22:15:24]requested_item shift.open_date is exist - process it [22:15:24]req_shift_open_date [22:15:24]req_shift_open_date done [22:15:24]produce_requested_data done [22:15:24]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22081,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [22:15:24]process_action_free close_receipt [22:15:24]json_value_free [22:15:24]json_value_free done [22:15:24]process_json_proto returns [22:15:24]Send response to host [22:15:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22081,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [22:15:24]free response buf [22:15:24]execute_script done [22:15:24]execute_script returns [22:15:24]free content buf [22:15:24]Sock 8.Close socket [22:15:24]Sock 8.Thread stoped [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:43]accept exits with 9 [22:17:43]New connection [22:17:43]New thread 3067178340 created [22:17:43]Thread 3067321700 joined [22:17:43]Waiting for new connection... [22:17:43] Sock 9.Parse request [22:17:43]Sock 9.Check first char [22:17:43]Sock 9.First char is OK [22:17:43]request: POST /json_proto HTTP/1.0 [22:17:43]Method: POST [22:17:43]URL: /json_proto [22:17:43]Method is POST - this is cgi request [22:17:43]url: /json_proto [22:17:43]query_string will be loaded in cgi processing [22:17:43]execute_cgi json_proto POST (null) [22:17:43]execute_cgi path=json_proto method=POST [22:17:43]POST find Content-Length [22:17:43]Host: 172.17.35.133:8080 [22:17:43]Content-Length: 1386 [22:17:43]Content-Type: application/json [22:17:43] [22:17:43]POST finish read [22:17:43]Found Content-Length = 1386 [22:17:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254307", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\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" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:43]execute_script... [22:17: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)254307", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\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" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:43]POST & json_proto [22:17:43]process_json_proto [22:17:43]json parsed OK: [22:17:43]protocol is kg_v1.0 [22:17:43]action value=close_receipt [22:17:43]process_action close_receipt [22:17:43]cmd_close_receipt [22:17:43]MH_GetDate [22:17:43]Write to MH i2c: F0 00 00 E3 2D FF [22:17:43]Write i2c OK [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: F0 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: F0 09 00 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: F0 09 00 E3 2D 00 12 70 6B 66 8C 55 28 65 C9 [22:17:43]GetLastDocTimeStamp 1718316930 [22:17:43]current date 1718317074 [22:17:43]FM_GetShiftState [22:17:43]SAM_PROTO_GetShiftState [22:17:43]wFMCommunicate request_size=4 [22:17:43]MH_SAM_APDU [22:17:43]CAPDU: 80 13 01 00 [22:17:43]Write to MH i2c: E2 08 00 E4 2D 80 13 01 00 00 00 00 00 8E [22:17:43]Write i2c OK [22:17:43]MH_I2C_Read... [22:17:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:43]Read from MH i2c: E2 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 0E 00 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 0E 00 E4 2D 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 AC [22:17:43]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:17:43]wFMCommunicate OK [22:17:43]SAM_PROTO_GetShiftState done [22:17:43]FM_GetShiftState done [22:17:43]opened in 1718237959 [22:17:43]opened+sec_in_day 1718324359 [22:17:43]quantity*price = 12500 [22:17:43]sum+1 = 12501 [22:17:43]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034250011 Горячий шоколад (GABB trade) 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 310.00 НСП 1% : 2.74 НДС 12% : 32.91 Наличными: 0.00 Безнал.: 310.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 62 13.06.2024 22:17 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22082 ФПД: 211783811108649 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T221754&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22082&fm=211783811108649&tin=02508201610067®Number=0000000000099755&sum=31000 0 [22:17:44]StoreToDocumentArchive [22:17:44]shift 324 fd 22082 [22:17:44]save to /storage/0324/doc_00022082 [22:17:44]save last doc name /storage/0324/doc_00022082 to /storage/kkm_last_doc_name [22:17:44]save OK [22:17:44]Clear old archive folders... [22:17:44]ProcessDocumentItem done err = 0, tmpTLVsize=511 [22:17:44]tlvbuf is 0024FA30 [22:17:44]SAM_PROTO_ClearQueue [22:17:44]wFMCommunicate request_size=4 [22:17:44]MH_SAM_APDU [22:17:44]CAPDU: 80 09 00 00 [22:17:44]Write to MH i2c: E2 08 00 F1 2D 80 09 00 00 00 00 00 00 90 [22:17:44]Write i2c OK [22:17:44]MH_I2C_Read... [22:17:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:17:44]Read from MH i2c: E2 [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: E2 03 00 [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: E2 03 00 F1 2D 00 90 00 92 [22:17:44]RAPDU: 90 00 [22:17:44]wFMCommunicate OK [22:17:44]SAM_PROTO_ClearQueue done [22:17:44]KKMCreateOFDPacket [22:17:44]OFDProtocolAddRootSTLVToBuf [22:17:44]FM_MakeSignedData [22:17:44]FM_MakeSignedData [22:17:44]SAM_PROTO_SignData [22:17:44]wFMCommunicate request_size=4 [22:17:44]MH_SAM_APDU [22:17:44]CAPDU: 80 0D 01 02 [22:17:44]Write to MH i2c: E2 08 00 F2 2D 80 0D 01 02 00 00 00 00 98 [22:17:44]Write i2c OK [22:17:44]MH_I2C_Read... [22:17:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:17:44]Read from MH i2c: E2 [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: E2 03 00 [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: E2 03 00 F2 2D 00 90 00 93 [22:17:44]RAPDU: 90 00 [22:17:44]wFMCommunicate OK [22:17:44]wFMCommunicate request_size=255 [22:17:44]MH_SAM_APDU [22:17:44]CAPDU: 80 0D 02 02 FA 03 00 FF 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 [22:17:44]Write to MH i2c: E2 02 01 F3 2D 80 0D 02 02 FA 00 03 00 FF 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 00 00 47 [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:45]Read from MH i2c: E2 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 03 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 03 00 F3 2D 00 90 00 94 [22:17:45]RAPDU: 90 00 [22:17:45]wFMCommunicate OK [22:17:45]wFMCommunicate request_size=255 [22:17:45]MH_SAM_APDU [22:17:45]CAPDU: 80 0D 02 02 FA 30 30 32 37 37 35 06 04 2B 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 42 49 54 45 53 20 38 30 D0 B3 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 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 79 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 12 70 6B 66 0E 04 04 00 44 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 [22:17:45]Write to MH i2c: E2 02 01 F4 2D 80 0D 02 02 FA 00 30 30 32 37 37 35 06 04 2B 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 42 49 54 45 53 20 38 30 D0 B3 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 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 79 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 12 70 6B 66 0E 04 04 00 44 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 00 1B [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:45]Read from MH i2c: E2 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 03 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 03 00 F4 2D 00 90 00 95 [22:17:45]RAPDU: 90 00 [22:17:45]wFMCommunicate OK [22:17:45]wFMCommunicate request_size=20 [22:17:45]MH_SAM_APDU [22:17:45]CAPDU: 80 0D 02 02 0F 00 42 56 00 00 35 04 06 00 C0 9D C2 D4 8F 29 [22:17:45]Write to MH i2c: E2 17 00 F5 2D 80 0D 02 02 0F 00 00 42 56 00 00 35 04 06 00 C0 9D C2 D4 8F 29 00 00 3C [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:45]Read from MH i2c: E2 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 03 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 03 00 F5 2D 00 90 00 96 [22:17:45]RAPDU: 90 00 [22:17:45]wFMCommunicate OK [22:17:45]wFMCommunicate request_size=4 [22:17:45]MH_SAM_APDU [22:17:45]CAPDU: 80 0D 03 02 [22:17:45]Write to MH i2c: E2 08 00 F6 2D 80 0D 03 02 00 00 00 00 9E [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:17:45]Read from MH i2c: E2 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 0B 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 0B 00 F6 2D 00 5F 74 EB BD 68 32 F6 71 90 00 1B [22:17:45]RAPDU: 5F 74 EB BD 68 32 F6 71 90 00 [22:17:45]wFMCommunicate OK [22:17:45]SAM_PROTO_SignData done [22:17:45]FM_MakeSignedData done [22:17:45]CreateOFDProtocolMessage [22:17:45]wFMCommunicate request_size=4 [22:17:45]MH_SAM_APDU [22:17:45]CAPDU: 80 11 00 00 [22:17:45]Write to MH i2c: E2 08 00 F7 2D 80 11 00 00 00 00 00 00 9E [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:45]Read from MH i2c: E2 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 17 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 17 00 F7 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F0 [22:17:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:17:45]wFMCommunicate OK [22:17:45]CreateOFDProtocolMessage done [22:17:45]OFDSenderStorePacket 22082 [22:17:45]StoreOFDPacket docnum=22082 [22:17: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 13 02 00 00 37 2D 0B 02 86 5F 5A 03 01 00 03 00 FF 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 42 49 54 45 53 20 38 30 D0 B3 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 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 79 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 12 70 6B 66 0E 04 04 00 44 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 42 56 00 00 35 04 06 00 C0 9D C2 D4 8F 29 5F 74 EB BD 68 32 F6 71 [22:17:45]CheckFolder [22:17:45]dirname=/storage/ofd_packets [22:17:45]CheckFolder done [22:17:45]ProducePacketName [22:17:45]name=ofd_packets/00022082 [22:17:45]NVStorageSaveData ofd_packets/00022082 [22:17:45]File name is /storage/ofd_packets/00022082 [22:17:45]Write 561 bytes [22:17:45]NVStorageSaveData done [22:17:45]OFDSenderStorePacket done [22:17:45]KKMCreateOFDPacket done [22:17:45]NVStorageSaveData kkm_last_timestamp [22:17:45]File name is /storage/kkm_last_timestamp [22:17:45]Write 4 bytes [22:17:45]NVStorageSaveData done [22:17:45]ExternCall_PrintAddStr [22:17:45]wPrintStart [22:17:45]Write to MH i2c: 01 00 00 F8 2D 25 [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: 01 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: 01 07 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: 01 07 00 F8 2D 00 00 00 00 00 FF 0F 3A [22:17:45]RasterBufferAndPrint [22:17:45]line Счет N : (3)254307 [22:17:45]line ИНН: 02508201610067 [22:17:45]line Контрольно-Кассовый Чек [22:17:45]line ПРОДАЖА [22:17:45]line Товар: 2000036220012 [22:17:45]line Кофе Капучино XL(GABB TRADE) [22:17:45]line 1.000 * 125.00 [22:17:45]line = 125.00 [22:17:45]line НДС 12% НСП 1% [22:17:45]line > о реализуемом товаре [22:17:45]line Товар: 2000034250011 [22:17:45]line Горячий шоколад (GABB trade) [22:17:45]line 1.000 * 110.00 [22:17:45]line = 110.00 [22:17:45]line НДС 12% НСП 1% [22:17:45]line > о реализуемом товаре [22:17:45]line Товар: 4870112002775 [22:17:45]line Шок батончик ALBENI BITES 80гр [22:17:45]line 1.000 * 75.00 [22:17:45]line = 75.00 [22:17:45]line НДС 12% НСП 1% [22:17:45]line > о реализуемом товаре [22:17:45]line ИТОГО: 310.00 [22:17:45]line НСП 1% : 2.74 [22:17:45]line НДС 12% : 32.91 [22:17:45]line Наличными: 0.00 [22:17:45]line Безнал.: 310.00 [22:17:45]line Место: АЗС № 76 "Партнер Нефть" [22:17:45]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:17:45]line СНО: Общий режим [22:17:45]line Чек 62 13.06.2024 22:17 [22:17:45]line Смена: 324 ФФД: 1.0 [22:17:45]line ЗНМ: 0300000200 [22:17:45]line РНМ: 0000000000099755 [22:17:45]line Версия ККМ: 001 [22:17:45]line Платежная система: АКБ Кыргызстан [22:17:45]line ФМ: 0000000000965344 [22:17:45]line ФД: 22082 [22:17:45]line ФПД: 211783811108649 [22:17:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T221754&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22082&fm=211783811108649&tin=02508201610067®Number=0000000000099755&sum=31000 [22:17:46]line 0 [22:17:46]OFD Sender: Processing packet 22082 [packets to send 5, broken 4] [22:17:46]ProducePacketName [22:17:46]name=ofd_packets/00022082 [22:17:46]OFD Sender: To server: pG, [22:17:46]CommunicateWithHost lk.salyk.kg:30040 [22:17:46]ConnectInit lk.salyk.kg [22:17:46]written 0, free lines is 4095 [22:17:46]Connected sock=10 [22:17: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 13 02 00 00 37 2D 0B 02 86 5F 5A 03 01 00 03 00 FF 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 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 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 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 42 49 54 45 53 20 38 30 D0 B3 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 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 79 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 12 70 6B 66 0E 04 04 00 44 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 42 56 00 00 35 04 06 00 C0 9D C2 D4 8F 29 5F 74 EB BD 68 32 F6 71 [22:17: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 48 0C 47 00 BD 01 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 42 56 00 00 F4 03 04 00 D4 18 6B 66 B6 04 01 00 00 6D 94 4E D3 81 B5 FB 7A [22:17:46]CommunicateWithHost err = 0 [22:17:46]CheckOFDResponse [22:17:46]1017 (14) - 77093643461234 [22:17:46]1041 (16) - 0000000000965344 [22:17:46]1040 (4) - 22082 [22:17:46]1012 (4) - 13.06.2024 16:05 [22:17:46]1206 (1) - 0 [22:17:46]OFD Sender: Remove packet 22082 [22:17:46]ProducePacketName [22:17:46]name=ofd_packets/00022082 [22:17:46]NVStorageDeleteData [22:17:46]Write to MH i2c: 01 00 00 31 2E 5F [22:17:46]Write i2c OK [22:17:46]MH_I2C_Read... [22:17:46]Read from MH i2c: 01 [22:17:46]MH_I2C_Read... [22:17:46]Read from MH i2c: 01 07 00 [22:17:46]MH_I2C_Read... [22:17:46]Read from MH i2c: 01 07 00 31 2E 00 00 00 00 00 3D 0C AF [22:17:46]RasterBufferAndPrint [22:17:46]line [22:17:46]line [22:17:46]line [22:17:46]line [22:17:46]line [22:17:46]written 0, free lines is 3142 [22:17:46]MH_Cut [22:17:46]Write to MH i2c: D1 01 00 38 2E 01 38 [22:17:46]Write i2c OK [22:17:46]MH_I2C_Read... [22:17:46]Read from MH i2c: D1 [22:17:46]MH_I2C_Read... [22:17:46]Read from MH i2c: D1 01 00 [22:17:46]MH_I2C_Read... [22:17:46]Read from MH i2c: D1 01 00 38 2E 00 37 [22:17:46]Write to MH i2c: 01 00 00 39 2E 67 [22:17:46]Write i2c OK [22:17:46]MH_I2C_Read... [22:17:46]OFD Sender: No OFD packet to send [22:17:47]*** Cut start [22:17:47]*** Partial cut [22:17:47]*** CUTSNS_PIN = 1 [22:17:47]*** CUTSNS_PIN = 0 [22:17:47]*** Brake cut motor [22:17:48]Read from MH i2c: 01 [22:17:48]MH_I2C_Read... [22:17:48]*** Stop cut motor [22:17:48]*** Cut end [22:17:48]Read from MH i2c: 01 07 00 [22:17:48]MH_I2C_Read... [22:17:48]Read from MH i2c: 01 07 00 39 2E 00 00 00 00 00 FF 0F 7C [22:17:48]process_action close_receipt done [22:17:48]requested_data is exist [22:17:48]produce_requested_data [22:17:48]requested_item fm.sn is exist - process it [22:17:48]wFMCommunicate request_size=4 [22:17:48]MH_SAM_APDU [22:17:48]CAPDU: 80 11 00 00 [22:17:48]Write to MH i2c: E2 08 00 3A 2E 80 11 00 00 00 00 00 00 E2 [22:17:48]Write i2c OK [22:17:48]MH_I2C_Read... [22:17:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:48]Read from MH i2c: E2 [22:17:48]MH_I2C_Read... [22:17:48]Read from MH i2c: E2 17 00 [22:17:48]MH_I2C_Read... [22:17:48]Read from MH i2c: E2 17 00 3A 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 34 [22:17:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:17:48]wFMCommunicate OK [22:17:48]requested_item fd.num is exist - process it [22:17:48]SAM_PROTO_GetFieldsCounters [22:17:48]wFMCommunicate request_size=4 [22:17:48]MH_SAM_APDU [22:17:48]CAPDU: 80 13 00 00 [22:17:48]Write to MH i2c: E2 08 00 3B 2E 80 13 00 00 00 00 00 00 E5 [22:17:48]Write i2c OK [22:17:48]MH_I2C_Read... [22:17:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:17:48]Read from MH i2c: E2 [22:17:48]MH_I2C_Read... [22:17:48]Read from MH i2c: E2 62 00 [22:17:48]MH_I2C_Read... [22:17:48]Read from MH i2c: E2 62 00 3B 2E 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 42 56 00 00 0E 04 04 00 44 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 A6 [22:17: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 42 56 00 00 0E 04 04 00 44 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 [22:17:48]wFMCommunicate OK [22:17:48]SAM_PROTO_GetFieldsCounters done [22:17:48]requested_item shift.num is exist - process it [22:17:48]requested_item shift.opened is exist - process it [22:17:48]req_shift_opened [22:17:48]FM_GetShiftState [22:17:48]SAM_PROTO_GetShiftState [22:17:48]wFMCommunicate request_size=4 [22:17:48]MH_SAM_APDU [22:17:48]CAPDU: 80 13 01 00 [22:17:48]Write to MH i2c: E2 08 00 3C 2E 80 13 01 00 00 00 00 00 E7 [22:17:48]Write i2c OK [22:17:48]MH_I2C_Read... [22:17:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:48]Read from MH i2c: E2 [22:17:48]MH_I2C_Read... [22:17:48]Read from MH i2c: E2 0E 00 [22:17:48]MH_I2C_Read... [22:17:48]Read from MH i2c: E2 0E 00 3C 2E 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 05 [22:17:48]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:17:48]wFMCommunicate OK [22:17:48]SAM_PROTO_GetShiftState done [22:17:48]FM_GetShiftState done [22:17:48]req_shift_opened done [22:17:48]requested_item shift.open_date is exist - process it [22:17:48]req_shift_open_date [22:17:48]req_shift_open_date done [22:17:48]produce_requested_data done [22:17:48]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22082,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [22:17:48]process_action_free close_receipt [22:17:48]json_value_free [22:17:48]json_value_free done [22:17:48]process_json_proto returns [22:17:48]Send response to host [22:17:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22082,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [22:17:48]free response buf [22:17:48]execute_script done [22:17:48]execute_script returns [22:17:48]free content buf [22:17:48]Sock 9.Close socket [22:17:48]Sock 9.Thread stoped [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]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:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:52]OFD Sender: No OFD packet to send [22:32:57]OFD Sender: No OFD packet to send [22:33:02]OFD Sender: No OFD packet to send [22:33:07]OFD Sender: No OFD packet to send [22:33:12]OFD Sender: No OFD packet to send [22:33:17]OFD Sender: No OFD packet to send [22:33:22]OFD Sender: No OFD packet to send [22:33:27]OFD Sender: No OFD packet to send [22:33:32]OFD Sender: No OFD packet to send [22:33:37]OFD Sender: No OFD packet to send [22:33:42]OFD Sender: No OFD packet to send [22:33:47]OFD Sender: No OFD packet to send [22:33:52]OFD Sender: No OFD packet to send [22:33:57]OFD Sender: No OFD packet to send [22:34:02]OFD Sender: No OFD packet to send [22:34:07]OFD Sender: No OFD packet to send [22:34:12]OFD Sender: No OFD packet to send [22:34:17]OFD Sender: No OFD packet to send [22:34:22]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:27]OFD Sender: No OFD packet to send [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]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:15]accept exits with 8 [22:49:15]New connection [22:49:15]New thread 3067321700 created [22:49:15]Thread 3067178340 joined [22:49:15]Waiting for new connection... [22:49:15] Sock 8.Parse request [22:49:15]Sock 8.Check first char [22:49:15]Sock 8.First char is OK [22:49:15]request: POST /json_proto HTTP/1.0 [22:49:15]Method: POST [22:49:15]URL: /json_proto [22:49:15]Method is POST - this is cgi request [22:49:15]url: /json_proto [22:49:15]query_string will be loaded in cgi processing [22:49:15]execute_cgi json_proto POST (null) [22:49:15]execute_cgi path=json_proto method=POST [22:49:15]POST find Content-Length [22:49:15]Host: 172.17.35.133:8080 [22:49:15]Content-Length: 994 [22:49:15]Content-Type: application/json [22:49:15] [22:49:15]POST finish read [22:49:15]Found Content-Length = 994 [22:49:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254308", "tax_sys" : 0, "items" : [ { "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8691216090477", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO StarMix 80\u0433\u0440", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:49:15]execute_script... [22:49: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)254308", "tax_sys" : 0, "items" : [ { "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8691216090477", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO StarMix 80\u0433\u0440", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:49:15]POST & json_proto [22:49:15]process_json_proto [22:49:15]json parsed OK: [22:49:15]protocol is kg_v1.0 [22:49:15]action value=close_receipt [22:49:15]process_action close_receipt [22:49:15]cmd_close_receipt [22:49:15]MH_GetDate [22:49:15]Write to MH i2c: F0 00 00 3D 2E 5A [22:49:15]Write i2c OK [22:49:15]MH_I2C_Read... [22:49:15]Read from MH i2c: F0 [22:49:15]MH_I2C_Read... [22:49:15]Read from MH i2c: F0 09 00 [22:49:15]MH_I2C_Read... [22:49:15]Read from MH i2c: F0 09 00 3D 2E 00 76 77 6B 66 8C 55 28 65 8F [22:49:15]GetLastDocTimeStamp 1718317074 [22:49:15]current date 1718318966 [22:49:15]FM_GetShiftState [22:49:15]SAM_PROTO_GetShiftState [22:49:15]wFMCommunicate request_size=4 [22:49:15]MH_SAM_APDU [22:49:15]CAPDU: 80 13 01 00 [22:49:15]Write to MH i2c: E2 08 00 3E 2E 80 13 01 00 00 00 00 00 E9 [22:49:15]Write i2c OK [22:49:15]MH_I2C_Read... [22:49:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:49:15]Read from MH i2c: E2 [22:49:15]MH_I2C_Read... [22:49:15]Read from MH i2c: E2 0E 00 [22:49:15]MH_I2C_Read... [22:49:15]Read from MH i2c: E2 0E 00 3E 2E 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 07 [22:49:15]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:49:15]wFMCommunicate OK [22:49:15]SAM_PROTO_GetShiftState done [22:49:15]FM_GetShiftState done [22:49:15]opened in 1718237959 [22:49:15]opened+sec_in_day 1718324359 [22:49:15]quantity*price = 7500 [22:49:15]sum+1 = 7501 [22:49:15]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8691216090477 Жевательный мармелад HARIBO StarMix 80гр 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.54 НДС 12% : 18.58 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 63 13.06.2024 22:49 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22083 ФПД: 30618764799757 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T224926&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22083&fm=30618764799757&tin=02508201610067®Number=0000000000099755&sum=17500 0 [22:49:16]StoreToDocumentArchive [22:49:16]shift 324 fd 22083 [22:49:16]save to /storage/0324/doc_00022083 [22:49:16]save last doc name /storage/0324/doc_00022083 to /storage/kkm_last_doc_name [22:49:16]save OK [22:49:16]Clear old archive folders... [22:49:16]ProcessDocumentItem done err = 0, tmpTLVsize=422 [22:49:16]tlvbuf is B6F34B00 [22:49:16]SAM_PROTO_ClearQueue [22:49:16]wFMCommunicate request_size=4 [22:49:16]MH_SAM_APDU [22:49:16]CAPDU: 80 09 00 00 [22:49:16]Write to MH i2c: E2 08 00 4B 2E 80 09 00 00 00 00 00 00 EB [22:49:16]Write i2c OK [22:49:16]MH_I2C_Read... [22:49:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:49:16]Read from MH i2c: E2 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 03 00 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 03 00 4B 2E 00 90 00 ED [22:49:16]RAPDU: 90 00 [22:49:16]wFMCommunicate OK [22:49:16]SAM_PROTO_ClearQueue done [22:49:16]KKMCreateOFDPacket [22:49:16]OFDProtocolAddRootSTLVToBuf [22:49:16]FM_MakeSignedData [22:49:16]FM_MakeSignedData [22:49:16]SAM_PROTO_SignData [22:49:16]wFMCommunicate request_size=4 [22:49:16]MH_SAM_APDU [22:49:16]CAPDU: 80 0D 01 02 [22:49:16]Write to MH i2c: E2 08 00 4C 2E 80 0D 01 02 00 00 00 00 F3 [22:49:16]Write i2c OK [22:49:16]MH_I2C_Read... [22:49:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:49:16]Read from MH i2c: E2 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 03 00 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 03 00 4C 2E 00 90 00 EE [22:49:16]RAPDU: 90 00 [22:49:16]wFMCommunicate OK [22:49:16]wFMCommunicate request_size=255 [22:49:16]MH_SAM_APDU [22:49:16]CAPDU: 80 0D 02 02 FA 03 00 A6 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 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 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 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 37 37 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 53 74 61 72 4D 69 78 20 38 30 D0 B3 D1 80 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 [22:49:16]Write to MH i2c: E2 02 01 4D 2E 80 0D 02 02 FA 00 03 00 A6 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 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 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 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 37 37 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 53 74 61 72 4D 69 78 20 38 30 D0 B3 D1 80 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 00 00 54 [22:49:16]Write i2c OK [22:49:16]MH_I2C_Read... [22:49:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:49:16]Read from MH i2c: E2 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 03 00 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 03 00 4D 2E 00 90 00 EF [22:49:16]RAPDU: 90 00 [22:49:16]wFMCommunicate OK [22:49:16]wFMCommunicate request_size=181 [22:49:16]MH_SAM_APDU [22:49:16]CAPDU: 80 0D 02 02 B0 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 76 77 6B 66 0E 04 04 00 44 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 43 56 00 00 35 04 06 00 1B D8 FC 99 6F 0D [22:49:16]Write to MH i2c: E2 B8 00 4E 2E 80 0D 02 02 B0 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 76 77 6B 66 0E 04 04 00 44 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 43 56 00 00 35 04 06 00 1B D8 FC 99 6F 0D 00 00 61 [22:49:16]Write i2c OK [22:49:16]MH_I2C_Read... [22:49:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:49:16]Read from MH i2c: E2 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 03 00 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 03 00 4E 2E 00 90 00 F0 [22:49:16]RAPDU: 90 00 [22:49:16]wFMCommunicate OK [22:49:16]wFMCommunicate request_size=4 [22:49:16]MH_SAM_APDU [22:49:16]CAPDU: 80 0D 03 02 [22:49:16]Write to MH i2c: E2 08 00 4F 2E 80 0D 03 02 00 00 00 00 F8 [22:49:16]Write i2c OK [22:49:16]MH_I2C_Read... [22:49:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:49:16]Read from MH i2c: E2 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 0B 00 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 0B 00 4F 2E 00 3F 98 BE 39 DF F2 90 3B 90 00 63 [22:49:16]RAPDU: 3F 98 BE 39 DF F2 90 3B 90 00 [22:49:16]wFMCommunicate OK [22:49:16]SAM_PROTO_SignData done [22:49:16]FM_MakeSignedData done [22:49:16]CreateOFDProtocolMessage [22:49:16]wFMCommunicate request_size=4 [22:49:16]MH_SAM_APDU [22:49:16]CAPDU: 80 11 00 00 [22:49:16]Write to MH i2c: E2 08 00 50 2E 80 11 00 00 00 00 00 00 F8 [22:49:16]Write i2c OK [22:49:16]MH_I2C_Read... [22:49:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:49:16]Read from MH i2c: E2 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 17 00 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: E2 17 00 50 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4A [22:49:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:49:16]wFMCommunicate OK [22:49:16]CreateOFDProtocolMessage done [22:49:16]OFDSenderStorePacket 22083 [22:49:16]StoreOFDPacket docnum=22083 [22:49: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 BA 01 00 00 6E 87 B2 01 19 01 5A 03 01 00 03 00 A6 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 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 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 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 37 37 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 53 74 61 72 4D 69 78 20 38 30 D0 B3 D1 80 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 76 77 6B 66 0E 04 04 00 44 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 43 56 00 00 35 04 06 00 1B D8 FC 99 6F 0D 3F 98 BE 39 DF F2 90 3B [22:49:16]CheckFolder [22:49:16]dirname=/storage/ofd_packets [22:49:16]CheckFolder done [22:49:16]ProducePacketName [22:49:16]name=ofd_packets/00022083 [22:49:16]NVStorageSaveData ofd_packets/00022083 [22:49:16]File name is /storage/ofd_packets/00022083 [22:49:16]Write 472 bytes [22:49:16]NVStorageSaveData done [22:49:16]OFDSenderStorePacket done [22:49:16]KKMCreateOFDPacket done [22:49:16]NVStorageSaveData kkm_last_timestamp [22:49:16]File name is /storage/kkm_last_timestamp [22:49:16]Write 4 bytes [22:49:16]NVStorageSaveData done [22:49:16]ExternCall_PrintAddStr [22:49:16]wPrintStart [22:49:16]Write to MH i2c: 01 00 00 51 2E 7F [22:49:16]Write i2c OK [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: 01 [22:49:16]MH_I2C_Read... [22:49:16]Read from MH i2c: 01 07 00 [22:49:17]MH_I2C_Read... [22:49:17]OFD Sender: Processing packet 22083 [packets to send 5, broken 4] [22:49:17]ProducePacketName [22:49:17]name=ofd_packets/00022083 [22:49:17]Read from MH i2c: 01 OFD Sender: To server: pG, [22:49:17]07 CommunicateWithHost lk.salyk.kg:30040 [22:49:17]00 ConnectInit lk.salyk.kg [22:49:17]51 2E 00 00 00 00 00 FF 0F 94 [22:49:17]RasterBufferAndPrint [22:49:17]line Счет N : (3)254308 [22:49:17]line ИНН: 02508201610067 [22:49:17]line Контрольно-Кассовый Чек [22:49:17]line ПРОДАЖА [22:49:17]line Товар: 5449000189325 [22:49:17]line Холодный чай Fuse персик 0,5л [22:49:17]line 1.000 * 75.00 [22:49:17]line = 75.00 [22:49:17]line НДС 12% НСП 1% [22:49:17]line > о реализуемом товаре [22:49:17]line Товар: 8691216090477 [22:49:17]line Жевательный мармелад HARIBO StarMix 80гр [22:49:17]line 1.000 * 100.00 [22:49:17]line = 100.00 [22:49:17]line НДС 12% НСП 1% [22:49:17]line > о реализуемом товаре [22:49:17]line ИТОГО: 175.00 [22:49:17]line НСП 1% : 1.54 [22:49:17]line НДС 12% : 18.58 [22:49:17]line Наличными: 175.00 [22:49:17]line Безнал.: 0.00 [22:49:17]line Место: АЗС № 76 "Партнер Нефть" [22:49:17]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:49:17]line СНО: Общий режим [22:49:17]line Чек 63 13.06.2024 22:49 [22:49:17]line Смена: 324 ФФД: 1.0 [22:49:17]line ЗНМ: 0300000200 [22:49:17]line РНМ: 0000000000099755 [22:49:17]line Версия ККМ: 001 [22:49:17]line ФМ: 0000000000965344 [22:49:17]line ФД: 22083 [22:49:17]line ФПД: 30618764799757 [22:49:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T224926&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22083&fm=30618764799757&tin=02508201610067®Number=0000000000099755&sum=17500 [22:49:17]line 0 [22:49:17]written 0, free lines is 4095 [22:49:17]Connected sock=10 [22:49: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 BA 01 00 00 6E 87 B2 01 19 01 5A 03 01 00 03 00 A6 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 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 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 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 37 37 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 53 74 61 72 4D 69 78 20 38 30 D0 B3 D1 80 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 76 77 6B 66 0E 04 04 00 44 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 43 56 00 00 35 04 06 00 1B D8 FC 99 6F 0D 3F 98 BE 39 DF F2 90 3B [22:49:17]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 21 47 00 CB 2F 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 43 56 00 00 F4 03 04 00 38 20 6B 66 B6 04 01 00 00 57 D5 1E 72 DD 08 FC 68 [22:49:17]CommunicateWithHost err = 0 [22:49:17]CheckOFDResponse [22:49:17]1017 (14) - 77093643461234 [22:49:17]1041 (16) - 0000000000965344 [22:49:17]1040 (4) - 22083 [22:49:17]1012 (4) - 13.06.2024 16:37 [22:49:17]1206 (1) - 0 [22:49:17]OFD Sender: Remove packet 22083 [22:49:17]ProducePacketName [22:49:17]name=ofd_packets/00022083 [22:49:17]NVStorageDeleteData [22:49:17]Write to MH i2c: 01 00 00 81 2E AF [22:49:17]Write i2c OK [22:49:17]MH_I2C_Read... [22:49:17]Read from MH i2c: 01 [22:49:17]MH_I2C_Read... [22:49:17]Read from MH i2c: 01 07 00 [22:49:17]MH_I2C_Read... [22:49:17]Read from MH i2c: 01 07 00 81 2E 00 00 00 00 00 AF 0C 71 [22:49:17]RasterBufferAndPrint [22:49:17]line [22:49:17]line [22:49:17]line [22:49:17]line [22:49:17]line [22:49:17]written 0, free lines is 3256 [22:49:17]MH_Cut [22:49:17]Write to MH i2c: D1 01 00 88 2E 01 88 [22:49:17]Write i2c OK [22:49:17]MH_I2C_Read... [22:49:17]Read from MH i2c: D1 [22:49:17]MH_I2C_Read... [22:49:17]Read from MH i2c: D1 01 00 [22:49:17]MH_I2C_Read... [22:49:17]Read from MH i2c: D1 01 00 88 2E 00 87 [22:49:17]Write to MH i2c: 01 00 00 89 2E B7 [22:49:17]Write i2c OK [22:49:17]MH_I2C_Read... [22:49:18]OFD Sender: No OFD packet to send [22:49:18]*** Cut start [22:49:18]*** Partial cut [22:49:18]*** CUTSNS_PIN = 1 [22:49:18]*** CUTSNS_PIN = 0 [22:49:18]*** Brake cut motor [22:49:19]Read from MH i2c: 01 [22:49:19]MH_I2C_Read... [22:49:19]Read from MH i2c: 01 07 00 [22:49:19]MH_I2C_Read... [22:49:19]*** Stop cut motor [22:49:19]*** Cut end [22:49:19]Read from MH i2c: 01 07 00 89 2E 00 00 00 00 00 FF 0F CC [22:49:19]process_action close_receipt done [22:49:19]requested_data is exist [22:49:19]produce_requested_data [22:49:19]requested_item fm.sn is exist - process it [22:49:19]wFMCommunicate request_size=4 [22:49:19]MH_SAM_APDU [22:49:19]CAPDU: 80 11 00 00 [22:49:19]Write to MH i2c: E2 08 00 8A 2E 80 11 00 00 00 00 00 00 32 [22:49:19]Write i2c OK [22:49:19]MH_I2C_Read... [22:49:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:49:19]Read from MH i2c: E2 [22:49:19]MH_I2C_Read... [22:49:19]Read from MH i2c: E2 17 00 [22:49:19]MH_I2C_Read... [22:49:19]Read from MH i2c: E2 17 00 8A 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 84 [22:49:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:49:19]wFMCommunicate OK [22:49:19]requested_item fd.num is exist - process it [22:49:19]SAM_PROTO_GetFieldsCounters [22:49:19]wFMCommunicate request_size=4 [22:49:19]MH_SAM_APDU [22:49:19]CAPDU: 80 13 00 00 [22:49:19]Write to MH i2c: E2 08 00 8B 2E 80 13 00 00 00 00 00 00 35 [22:49:19]Write i2c OK [22:49:19]MH_I2C_Read... [22:49:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:49:19]Read from MH i2c: E2 [22:49:19]MH_I2C_Read... [22:49:19]Read from MH i2c: E2 62 00 [22:49:19]MH_I2C_Read... [22:49:19]Read from MH i2c: E2 62 00 8B 2E 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 43 56 00 00 0E 04 04 00 44 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 FA [22:49: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 43 56 00 00 0E 04 04 00 44 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 [22:49:19]wFMCommunicate OK [22:49:19]SAM_PROTO_GetFieldsCounters done [22:49:19]requested_item shift.num is exist - process it [22:49:19]requested_item shift.opened is exist - process it [22:49:19]req_shift_opened [22:49:19]FM_GetShiftState [22:49:19]SAM_PROTO_GetShiftState [22:49:19]wFMCommunicate request_size=4 [22:49:19]MH_SAM_APDU [22:49:19]CAPDU: 80 13 01 00 [22:49:19]Write to MH i2c: E2 08 00 8C 2E 80 13 01 00 00 00 00 00 37 [22:49:19]Write i2c OK [22:49:19]MH_I2C_Read... [22:49:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:49:19]Read from MH i2c: E2 [22:49:19]MH_I2C_Read... [22:49:19]Read from MH i2c: E2 0E 00 [22:49:19]MH_I2C_Read... [22:49:19]Read from MH i2c: E2 0E 00 8C 2E 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 55 [22:49:19]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [22:49:19]wFMCommunicate OK [22:49:19]SAM_PROTO_GetShiftState done [22:49:19]FM_GetShiftState done [22:49:19]req_shift_opened done [22:49:19]requested_item shift.open_date is exist - process it [22:49:19]req_shift_open_date [22:49:19]req_shift_open_date done [22:49:19]produce_requested_data done [22:49:19]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22083,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [22:49:19]process_action_free close_receipt [22:49:19]json_value_free [22:49:19]json_value_free done [22:49:19]process_json_proto returns [22:49:19]Send response to host [22:49:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22083,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [22:49:19]free response buf [22:49:19]execute_script done [22:49:19]execute_script returns [22:49:19]free content buf [22:49:19]Sock 8.Close socket [22:49:19]Sock 8.Thread stoped [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:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]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:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [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:05]recv_with_timeout no data received [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:32]recv_with_timeout no data received [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:57]recv_with_timeout no data received [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:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]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:46]accept exits with 9 [23:39:46]New connection [23:39:46]New thread 3067178340 created [23:39:46]Thread 3067321700 joined [23:39:46]Waiting for new connection... [23:39:46] Sock 9.Parse request [23:39:46]Sock 9.Check first char [23:39:46]Sock 9.First char is OK [23:39:46]request: POST /json_proto HTTP/1.0 [23:39:46]Method: POST [23:39:46]URL: /json_proto [23:39:46]Method is POST - this is cgi request [23:39:46]url: /json_proto [23:39:46]query_string will be loaded in cgi processing [23:39:46]execute_cgi json_proto POST (null) [23:39:46]execute_cgi path=json_proto method=POST [23:39:46]POST find Content-Length [23:39:46]Host: 172.17.35.133:8080 [23:39:46]Content-Length: 645 [23:39:46]Content-Type: application/json [23:39:46] [23:39:46]POST finish read [23:39:46]Found Content-Length = 645 [23:39:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254309", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:39:46]execute_script... [23:39: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)254309", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:39:46]POST & json_proto [23:39:46]process_json_proto [23:39:46]json parsed OK: [23:39:46]protocol is kg_v1.0 [23:39:46]action value=close_receipt [23:39:46]process_action close_receipt [23:39:46]cmd_close_receipt [23:39:46]MH_GetDate [23:39:46]Write to MH i2c: F0 00 00 8D 2E AA [23:39:46]Write i2c OK [23:39:46]MH_I2C_Read... [23:39:46]Read from MH i2c: F0 [23:39:46]MH_I2C_Read... [23:39:46]Read from MH i2c: F0 09 00 [23:39:46]MH_I2C_Read... [23:39:46]Read from MH i2c: F0 09 00 8D 2E 00 4E 83 6B 66 8C 55 28 65 C3 [23:39:46]GetLastDocTimeStamp 1718318966 [23:39:46]current date 1718321998 [23:39:46]FM_GetShiftState [23:39:46]SAM_PROTO_GetShiftState [23:39:46]wFMCommunicate request_size=4 [23:39:46]MH_SAM_APDU [23:39:46]CAPDU: 80 13 01 00 [23:39:46]Write to MH i2c: E2 08 00 8E 2E 80 13 01 00 00 00 00 00 39 [23:39:46]Write i2c OK [23:39:46]MH_I2C_Read... [23:39:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:39:46]Read from MH i2c: E2 [23:39:46]MH_I2C_Read... [23:39:46]Read from MH i2c: E2 0E 00 [23:39:46]MH_I2C_Read... [23:39:46]Read from MH i2c: E2 0E 00 8E 2E 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 57 [23:39:46]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [23:39:46]wFMCommunicate OK [23:39:46]SAM_PROTO_GetShiftState done [23:39:46]FM_GetShiftState done [23:39:46]opened in 1718237959 [23:39:46]opened+sec_in_day 1718324359 [23:39:46]quantity*price = 1000 [23:39:46]sum+1 = 1001 [23:39:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 64 13.06.2024 23:39 Смена: 324 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22084 ФПД: 239341779271439 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T233958&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22084&fm=239341779271439&tin=02508201610067®Number=0000000000099755&sum=1000 0 [23:39:48]StoreToDocumentArchive [23:39:48]shift 324 fd 22084 [23:39:48]save to /storage/0324/doc_00022084 [23:39:48]save last doc name /storage/0324/doc_00022084 to /storage/kkm_last_doc_name [23:39:48]save OK [23:39:48]Clear old archive folders... [23:39:48]ProcessDocumentItem done err = 0, tmpTLVsize=280 [23:39:48]tlvbuf is 0029CDA0 [23:39:48]SAM_PROTO_ClearQueue [23:39:48]wFMCommunicate request_size=4 [23:39:48]MH_SAM_APDU [23:39:48]CAPDU: 80 09 00 00 [23:39:48]Write to MH i2c: E2 08 00 9B 2E 80 09 00 00 00 00 00 00 3B [23:39:48]Write i2c OK [23:39:48]MH_I2C_Read... [23:39:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:39:48]Read from MH i2c: E2 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 03 00 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 03 00 9B 2E 00 90 00 3D [23:39:48]RAPDU: 90 00 [23:39:48]wFMCommunicate OK [23:39:48]SAM_PROTO_ClearQueue done [23:39:48]KKMCreateOFDPacket [23:39:48]OFDProtocolAddRootSTLVToBuf [23:39:48]FM_MakeSignedData [23:39:48]FM_MakeSignedData [23:39:48]SAM_PROTO_SignData [23:39:48]wFMCommunicate request_size=4 [23:39:48]MH_SAM_APDU [23:39:48]CAPDU: 80 0D 01 02 [23:39:48]Write to MH i2c: E2 08 00 9C 2E 80 0D 01 02 00 00 00 00 43 [23:39:48]Write i2c OK [23:39:48]MH_I2C_Read... [23:39:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:39:48]Read from MH i2c: E2 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 03 00 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 03 00 9C 2E 00 90 00 3E [23:39:48]RAPDU: 90 00 [23:39:48]wFMCommunicate OK [23:39:48]wFMCommunicate request_size=255 [23:39:48]MH_SAM_APDU [23:39:48]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 4E 83 6B 66 0E 04 04 00 44 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 [23:39:48]Write to MH i2c: E2 02 01 9D 2E 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 4E 83 6B 66 0E 04 04 00 44 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 B8 [23:39:48]Write i2c OK [23:39:48]MH_I2C_Read... [23:39:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:48]Read from MH i2c: E2 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 03 00 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 03 00 9D 2E 00 90 00 3F [23:39:48]RAPDU: 90 00 [23:39:48]wFMCommunicate OK [23:39:48]wFMCommunicate request_size=39 [23:39:48]MH_SAM_APDU [23:39:48]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 44 56 00 00 35 04 06 00 D9 AE 19 BB BF 0F [23:39:48]Write to MH i2c: E2 2A 00 9E 2E 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 44 56 00 00 35 04 06 00 D9 AE 19 BB BF 0F 00 00 C3 [23:39:48]Write i2c OK [23:39:48]MH_I2C_Read... [23:39:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:48]Read from MH i2c: E2 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 03 00 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 03 00 9E 2E 00 90 00 40 [23:39:48]RAPDU: 90 00 [23:39:48]wFMCommunicate OK [23:39:48]wFMCommunicate request_size=4 [23:39:48]MH_SAM_APDU [23:39:48]CAPDU: 80 0D 03 02 [23:39:48]Write to MH i2c: E2 08 00 9F 2E 80 0D 03 02 00 00 00 00 48 [23:39:48]Write i2c OK [23:39:48]MH_I2C_Read... [23:39:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:39:48]Read from MH i2c: E2 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 0B 00 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 0B 00 9F 2E 00 24 7D 1C 46 4A 36 7F 26 90 00 71 [23:39:48]RAPDU: 24 7D 1C 46 4A 36 7F 26 90 00 [23:39:48]wFMCommunicate OK [23:39:48]SAM_PROTO_SignData done [23:39:48]FM_MakeSignedData done [23:39:48]CreateOFDProtocolMessage [23:39:48]wFMCommunicate request_size=4 [23:39:48]MH_SAM_APDU [23:39:48]CAPDU: 80 11 00 00 [23:39:48]Write to MH i2c: E2 08 00 A0 2E 80 11 00 00 00 00 00 00 48 [23:39:48]Write i2c OK [23:39:48]MH_I2C_Read... [23:39:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:39:48]Read from MH i2c: E2 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 17 00 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: E2 17 00 A0 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 9A [23:39:48]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:48]wFMCommunicate OK [23:39:48]CreateOFDProtocolMessage done [23:39:48]OFDSenderStorePacket 22084 [23:39:48]StoreOFDPacket docnum=22084 [23:39: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 2C 01 00 00 A6 D0 24 01 8B 58 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 4E 83 6B 66 0E 04 04 00 44 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 44 56 00 00 35 04 06 00 D9 AE 19 BB BF 0F 24 7D 1C 46 4A 36 7F 26 [23:39:48]CheckFolder [23:39:48]dirname=/storage/ofd_packets [23:39:48]CheckFolder done [23:39:48]ProducePacketName [23:39:48]name=ofd_packets/00022084 [23:39:48]NVStorageSaveData ofd_packets/00022084 [23:39:48]File name is /storage/ofd_packets/00022084 [23:39:48]Write 330 bytes [23:39:48]NVStorageSaveData done [23:39:48]OFDSenderStorePacket done [23:39:48]KKMCreateOFDPacket done [23:39:48]NVStorageSaveData kkm_last_timestamp [23:39:48]File name is /storage/kkm_last_timestamp [23:39:48]Write 4 bytes [23:39:48]NVStorageSaveData done [23:39:48]ExternCall_PrintAddStr [23:39:48]wPrintStart [23:39:48]Write to MH i2c: 01 00 00 A1 2E CF [23:39:48]Write i2c OK [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: 01 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: 01 07 00 [23:39:48]MH_I2C_Read... [23:39:48]Read from MH i2c: 01 07 00 A1 2E 00 00 00 00 00 FF 0F E4 [23:39:48]RasterBufferAndPrint [23:39:48]line Счет N : (3)254309 [23:39:48]line ИНН: 02508201610067 [23:39:48]line Контрольно-Кассовый Чек [23:39:48]line ПРОДАЖА [23:39:48]line Товар: 46226617 [23:39:48]line Mentos ПВ Нежная Мята 6*100*2г [23:39:48]line 1.000 * 10.00 [23:39:48]line = 10.00 [23:39:48]line НДС 12% НСП 1% [23:39:48]line > о реализуемом товаре [23:39:48]line ИТОГО: 10.00 [23:39:48]line НСП 1% : 0.09 [23:39:48]line НДС 12% : 1.06 [23:39:48]line Наличными: 10.00 [23:39:48]line Безнал.: 0.00 [23:39:48]line Место: АЗС № 76 "Партнер Нефть" [23:39:48]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [23:39:48]line СНО: Общий режим [23:39:48]line Чек 64 13.06.2024 23:39 [23:39:48]line Смена: 324 ФФД: 1.0 [23:39:48]line ЗНМ: 0300000200 [23:39:48]line РНМ: 0000000000099755 [23:39:48]line Версия ККМ: 001 [23:39:48]line ФМ: 0000000000965344 [23:39:48]line ФД: 22084 [23:39:48]line ФПД: 239341779271439 [23:39:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240613T233958&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22084&fm=239341779271439&tin=02508201610067®Number=0000000000099755&sum=1000 [23:39:48]line 0 [23:39:48]OFD Sender: Processing packet 22084 [packets to send 5, broken 4] [23:39:48]ProducePacketName [23:39:48]name=ofd_packets/00022084 [23:39:48]OFD Sender: To server: pG, [23:39:48]CommunicateWithHost lk.salyk.kg:30040 [23:39:48]ConnectInit lk.salyk.kg [23:39:48]written 0, free lines is 4095 [23:39:49]Connected sock=10 [23:39: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 2C 01 00 00 A6 D0 24 01 8B 58 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 4E 83 6B 66 0E 04 04 00 44 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 44 56 00 00 35 04 06 00 D9 AE 19 BB BF 0F 24 7D 1C 46 4A 36 7F 26 [23:39:49]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 C7 47 00 62 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 44 56 00 00 F4 03 04 00 10 2C 6B 66 B6 04 01 00 00 E5 B1 D4 83 20 65 7D 8D [23:39:49]CommunicateWithHost err = 0 [23:39:49]CheckOFDResponse [23:39:49]1017 (14) - 77093643461234 [23:39:49]1041 (16) - 0000000000965344 [23:39:49]1040 (4) - 22084 [23:39:49]1012 (4) - 13.06.2024 17:27 [23:39:49]1206 (1) - 0 [23:39:49]OFD Sender: Remove packet 22084 [23:39:49]ProducePacketName [23:39:49]name=ofd_packets/00022084 [23:39:49]NVStorageDeleteData [23:39:49]Write to MH i2c: 01 00 00 CA 2E F8 [23:39:49]Write i2c OK [23:39:49]MH_I2C_Read... [23:39:49]Read from MH i2c: 01 [23:39:49]MH_I2C_Read... [23:39:49]Read from MH i2c: 01 07 00 [23:39:49]MH_I2C_Read... [23:39:49]Read from MH i2c: 01 07 00 CA 2E 00 00 00 00 00 11 0D 1D [23:39:49]RasterBufferAndPrint [23:39:49]line [23:39:49]line [23:39:49]line [23:39:49]line [23:39:49]line [23:39:49]written 0, free lines is 3351 [23:39:49]MH_Cut [23:39:49]Write to MH i2c: D1 01 00 D1 2E 01 D1 [23:39:49]Write i2c OK [23:39:49]MH_I2C_Read... [23:39:49]Read from MH i2c: D1 [23:39:49]MH_I2C_Read... [23:39:49]Read from MH i2c: D1 01 00 [23:39:49]MH_I2C_Read... [23:39:49]Read from MH i2c: D1 01 00 D1 2E 00 D0 [23:39:49]Write to MH i2c: 01 00 00 D2 2E 00 [23:39:49]Write i2c OK [23:39:49]MH_I2C_Read... [23:39:49]OFD Sender: No OFD packet to send [23:39:50]*** Cut start [23:39:50]*** Partial cut [23:39:50]*** CUTSNS_PIN = 1 [23:39:50]*** CUTSNS_PIN = 0 [23:39:50]*** Brake cut motor [23:39:50]Read from MH i2c: 01 [23:39:50]MH_I2C_Read... [23:39:50]*** Stop cut motor [23:39:50]*** Cut end [23:39:50]Read from MH i2c: 01 07 00 [23:39:50]MH_I2C_Read... [23:39:50]Read from MH i2c: 01 07 00 D2 2E 00 00 00 00 00 FF 0F 15 [23:39:50]process_action close_receipt done [23:39:50]requested_data is exist [23:39:50]produce_requested_data [23:39:50]requested_item fm.sn is exist - process it [23:39:50]wFMCommunicate request_size=4 [23:39:50]MH_SAM_APDU [23:39:50]CAPDU: 80 11 00 00 [23:39:50]Write to MH i2c: E2 08 00 D3 2E 80 11 00 00 00 00 00 00 7B [23:39:50]Write i2c OK [23:39:50]MH_I2C_Read... [23:39:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:39:50]Read from MH i2c: E2 [23:39:50]MH_I2C_Read... [23:39:50]Read from MH i2c: E2 17 00 [23:39:50]MH_I2C_Read... [23:39:50]Read from MH i2c: E2 17 00 D3 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 CD [23:39:50]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:50]wFMCommunicate OK [23:39:50]requested_item fd.num is exist - process it [23:39:50]SAM_PROTO_GetFieldsCounters [23:39:50]wFMCommunicate request_size=4 [23:39:50]MH_SAM_APDU [23:39:50]CAPDU: 80 13 00 00 [23:39:50]Write to MH i2c: E2 08 00 D4 2E 80 13 00 00 00 00 00 00 7E [23:39:50]Write i2c OK [23:39:50]MH_I2C_Read... [23:39:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:39:50]Read from MH i2c: E2 [23:39:50]MH_I2C_Read... [23:39:50]Read from MH i2c: E2 62 00 [23:39:50]MH_I2C_Read... [23:39:50]Read from MH i2c: E2 62 00 D4 2E 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 44 56 00 00 0E 04 04 00 44 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 47 [23:39: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 44 56 00 00 0E 04 04 00 44 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 [23:39:50]wFMCommunicate OK [23:39:50]SAM_PROTO_GetFieldsCounters done [23:39:50]requested_item shift.num is exist - process it [23:39:50]requested_item shift.opened is exist - process it [23:39:50]req_shift_opened [23:39:50]FM_GetShiftState [23:39:50]SAM_PROTO_GetShiftState [23:39:50]wFMCommunicate request_size=4 [23:39:50]MH_SAM_APDU [23:39:50]CAPDU: 80 13 01 00 [23:39:50]Write to MH i2c: E2 08 00 D5 2E 80 13 01 00 00 00 00 00 80 [23:39:50]Write i2c OK [23:39:50]MH_I2C_Read... [23:39:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:39:50]Read from MH i2c: E2 [23:39:50]MH_I2C_Read... [23:39:50]Read from MH i2c: E2 0E 00 [23:39:50]MH_I2C_Read... [23:39:50]Read from MH i2c: E2 0E 00 D5 2E 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 9E [23:39:50]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [23:39:50]wFMCommunicate OK [23:39:50]SAM_PROTO_GetShiftState done [23:39:50]FM_GetShiftState done [23:39:50]req_shift_opened done [23:39:50]requested_item shift.open_date is exist - process it [23:39:50]req_shift_open_date [23:39:50]req_shift_open_date done [23:39:50]produce_requested_data done [23:39:50]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22084,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [23:39:50]process_action_free close_receipt [23:39:50]json_value_free [23:39:50]json_value_free done [23:39:50]process_json_proto returns [23:39:50]Send response to host [23:39:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22084,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [23:39:50]free response buf [23:39:50]execute_script done [23:39:50]execute_script returns [23:39:50]free content buf [23:39:50]Sock 9.Close socket [23:39:50]Sock 9.Thread stoped [23:39:54]OFD Sender: No OFD packet to send [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:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]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:19]accept exits with 8 [23:56:19]New connection [23:56:19]New thread 3067321700 created [23:56:19]Thread 3067178340 joined [23:56:19]Waiting for new connection... [23:56:19] Sock 8.Parse request [23:56:19]Sock 8.Check first char [23:56:19]Sock 8.First char is OK [23:56:19]request: POST /json_proto HTTP/1.0 [23:56:19]Method: POST [23:56:19]URL: /json_proto [23:56:19]Method is POST - this is cgi request [23:56:19]url: /json_proto [23:56:19]query_string will be loaded in cgi processing [23:56:19]execute_cgi json_proto POST (null) [23:56:19]execute_cgi path=json_proto method=POST [23:56:19]POST find Content-Length [23:56:19]Host: 172.17.35.133:8080 [23:56:19]Content-Length: 215 [23:56:19]Content-Type: application/json [23:56:19] [23:56:19]POST finish read [23:56:19]Found Content-Length = 215 [23:56:19]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" ] } } [23:56:19]execute_script... [23:56:19]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" ] } } [23:56:19]POST & json_proto [23:56:19]process_json_proto [23:56:19]json parsed OK: [23:56:19]protocol is kg_v1.0 [23:56:19]action value=get_value [23:56:19]process_action get_value [23:56:19]cmd_get_value [23:56:19]process_action get_value done [23:56:19]requested_data is exist [23:56:19]produce_requested_data [23:56:19]requested_item kkm.sn is exist - process it [23:56:19]requested_item kkm.ver is exist - process it [23:56:19]requested_item fm.sn is exist - process it [23:56:19]wFMCommunicate request_size=4 [23:56:19]MH_SAM_APDU [23:56:19]CAPDU: 80 11 00 00 [23:56:19]Write to MH i2c: E2 08 00 D6 2E 80 11 00 00 00 00 00 00 7E [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:19]Read from MH i2c: E2 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 17 00 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 17 00 D6 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D0 [23:56:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:56:19]wFMCommunicate OK [23:56:19]requested_item fd.num is exist - process it [23:56:19]SAM_PROTO_GetFieldsCounters [23:56:19]wFMCommunicate request_size=4 [23:56:19]MH_SAM_APDU [23:56:19]CAPDU: 80 13 00 00 [23:56:19]Write to MH i2c: E2 08 00 D7 2E 80 13 00 00 00 00 00 00 81 [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:19]Read from MH i2c: E2 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 62 00 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 62 00 D7 2E 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 44 56 00 00 0E 04 04 00 44 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 4A [23:56: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 44 56 00 00 0E 04 04 00 44 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 [23:56:19]wFMCommunicate OK [23:56:19]SAM_PROTO_GetFieldsCounters done [23:56:19]requested_item shift.num is exist - process it [23:56:19]requested_item shift.opened is exist - process it [23:56:19]req_shift_opened [23:56:19]FM_GetShiftState [23:56:19]SAM_PROTO_GetShiftState [23:56:19]wFMCommunicate request_size=4 [23:56:19]MH_SAM_APDU [23:56:19]CAPDU: 80 13 01 00 [23:56:19]Write to MH i2c: E2 08 00 D8 2E 80 13 01 00 00 00 00 00 83 [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:19]Read from MH i2c: E2 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 0E 00 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 0E 00 D8 2E 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 A1 [23:56:19]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [23:56:19]wFMCommunicate OK [23:56:19]SAM_PROTO_GetShiftState done [23:56:19]FM_GetShiftState done [23:56:19]req_shift_opened done [23:56:19]requested_item shift.open_date is exist - process it [23:56:19]req_shift_open_date [23:56:19]req_shift_open_date done [23:56:19]produce_requested_data done [23:56:19]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22084,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [23:56:19]process_action_free get_value [23:56:19]json_value_free [23:56:19]json_value_free done [23:56:19]process_json_proto returns [23:56:19]Send response to host [23:56:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22084,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [23:56:19]free response buf [23:56:19]execute_script done [23:56:19]execute_script returns [23:56:19]free content buf [23:56:19]Sock 8.Close socket [23:56:19]Sock 8.Thread stoped [23:56:19]accept exits with 9 [23:56:19]New connection [23:56:19]New thread 3067178340 created [23:56:19]Thread 3067321700 joined [23:56:19]Waiting for new connection... [23:56:19] Sock 9.Parse request [23:56:19]Sock 9.Check first char [23:56:19]Sock 9.First char is OK [23:56:19]request: POST /json_proto HTTP/1.0 [23:56:19]Method: POST [23:56:19]URL: /json_proto [23:56:19]Method is POST - this is cgi request [23:56:19]url: /json_proto [23:56:19]query_string will be loaded in cgi processing [23:56:19]execute_cgi json_proto POST (null) [23:56:19]execute_cgi path=json_proto method=POST [23:56:19]POST find Content-Length [23:56:19]Host: 172.17.35.133:8080 [23:56:19]Content-Length: 331 [23:56:19]Content-Type: application/json [23:56:19] [23:56:19]POST finish read [23:56:19]Found Content-Length = 331 [23:56:19]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" ] } } [23:56:19]execute_script... [23:56:19]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" ] } } [23:56:19]POST & json_proto [23:56:19]process_json_proto [23:56:19]json parsed OK: [23:56:19]protocol is kg_v1.0 [23:56:19]action value=get_value [23:56:19]process_action get_value [23:56:19]cmd_get_value [23:56:19]process_action get_value done [23:56:19]requested_data is exist [23:56:19]produce_requested_data [23:56:19]requested_item fm.sale.total is exist - process it [23:56:19]SAM_PROTO_GetFMData [23:56:19]wFMCommunicate request_size=4 [23:56:19]MH_SAM_APDU [23:56:19]CAPDU: 80 13 03 00 [23:56:19]Write to MH i2c: E2 08 00 D9 2E 80 13 03 00 00 00 00 00 86 [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 D9 2E 00 C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 1A [23:56:20]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 17 00 00 [23:56:20]Write to MH i2c: E2 08 00 DA 2E 80 17 00 00 00 00 00 00 88 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 DA 2E 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 93 [23:56:20]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 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 17 00 00 [23:56:20]Write to MH i2c: E2 08 00 DB 2E 80 17 00 00 00 00 00 00 89 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]OFD Sender: No OFD packet to send [23:56:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 DB 2E 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A7 [23:56:20]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 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 17 00 00 [23:56:20]Write to MH i2c: E2 08 00 DC 2E 80 17 00 00 00 00 00 00 8A [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:21]Read from MH i2c: E2 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 FD 00 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 FD 00 DC 2E 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 FC [23:56:21]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 [23:56:21]wFMCommunicate OK [23:56:21]wFMCommunicate request_size=4 [23:56:21]MH_SAM_APDU [23:56:21]CAPDU: 80 17 00 00 [23:56:21]Write to MH i2c: E2 08 00 DD 2E 80 17 00 00 00 00 00 00 8B [23:56:21]Write i2c OK [23:56:21]MH_I2C_Read... [23:56:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:56:21]Read from MH i2c: E2 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 E0 00 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 E0 00 DD 2E 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 75 [23:56:21]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 [23:56:21]wFMCommunicate OK [23:56:21]SAM_PROTO_GetFMData done [23:56:21]requested_item fm.sale_refund.total is exist - process it [23:56:21]requested_item fm.buy.total is exist - process it [23:56:21]requested_item shift.sale.total is exist - process it [23:56:21]SAM_PROTO_GetShiftData [23:56:21]wFMCommunicate request_size=4 [23:56:21]MH_SAM_APDU [23:56:21]CAPDU: 80 13 02 00 [23:56:21]Write to MH i2c: E2 08 00 DE 2E 80 13 02 00 00 00 00 00 8A [23:56:21]Write i2c OK [23:56:21]MH_I2C_Read... [23:56:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:21]Read from MH i2c: E2 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 FD 00 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 FD 00 DE 2E 00 AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 40 [23:56:21]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:21]wFMCommunicate OK [23:56:21]wFMCommunicate request_size=4 [23:56:21]MH_SAM_APDU [23:56:21]CAPDU: 80 17 00 00 [23:56:21]Write to MH i2c: E2 08 00 DF 2E 80 17 00 00 00 00 00 00 8D [23:56:21]Write i2c OK [23:56:21]MH_I2C_Read... [23:56:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:22]Read from MH i2c: E2 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 DF 2E 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A6 [23:56:22]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:22]wFMCommunicate OK [23:56:22]wFMCommunicate request_size=4 [23:56:22]MH_SAM_APDU [23:56:22]CAPDU: 80 17 00 00 [23:56:22]Write to MH i2c: E2 08 00 E0 2E 80 17 00 00 00 00 00 00 8E [23:56:22]Write i2c OK [23:56:22]MH_I2C_Read... [23:56:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:22]Read from MH i2c: E2 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 E0 2E 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 42 [23:56:22]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:22]wFMCommunicate OK [23:56:22]wFMCommunicate request_size=4 [23:56:22]MH_SAM_APDU [23:56:22]CAPDU: 80 17 00 00 [23:56:22]Write to MH i2c: E2 08 00 E1 2E 80 17 00 00 00 00 00 00 8F [23:56:22]Write i2c OK [23:56:22]MH_I2C_Read... [23:56:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:22]Read from MH i2c: E2 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 E1 2E 00 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 90 00 0D [23:56:22]RAPDU: 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 90 00 [23:56:22]wFMCommunicate OK [23:56:22]wFMCommunicate request_size=4 [23:56:22]MH_SAM_APDU [23:56:22]CAPDU: 80 17 00 00 [23:56:22]Write to MH i2c: E2 08 00 E2 2E 80 17 00 00 00 00 00 00 90 [23:56:22]Write i2c OK [23:56:22]MH_I2C_Read... [23:56:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [23:56:22]Read from MH i2c: E2 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 CC 00 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 CC 00 E2 2E 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 71 [23:56:22]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:56:22]wFMCommunicate OK [23:56:22]SAM_PROTO_GetShiftData done [23:56:22]requested_item shift.sale.total_cash is exist - process it [23:56:22]requested_item shift.sale_refund.total is exist - process it [23:56:22]requested_item shift.sale_refund.total_cash is exist - process it [23:56:22]requested_item shift.buy.total is exist - process it [23:56:22]requested_item shift.buy.total_cash is exist - process it [23:56:22]produce_requested_data done [23:56:22]produce_requested_data return {"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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} [23:56:22]process_action_free get_value [23:56:22]json_value_free [23:56:22]json_value_free done [23:56:22]process_json_proto returns [23:56:22]Send response to host [23:56:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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}}} [23:56:22]free response buf [23:56:22]execute_script done [23:56:22]execute_script returns [23:56:22]free content buf [23:56:22]Sock 9.Close socket [23:56:22]Sock 9.Thread stoped [23:56:23]accept exits with 8 [23:56:23]New connection [23:56:23]New thread 3067321700 created [23:56:23]Thread 3067178340 joined [23:56:23]Waiting for new connection... [23:56:23] Sock 8.Parse request [23:56:23]Sock 8.Check first char [23:56:23]Sock 8.First char is OK [23:56:23]request: POST /json_proto HTTP/1.0 [23:56:23]Method: POST [23:56:23]URL: /json_proto [23:56:23]Method is POST - this is cgi request [23:56:23]url: /json_proto [23:56:23]query_string will be loaded in cgi processing [23:56:23]execute_cgi json_proto POST (null) [23:56:23]execute_cgi path=json_proto method=POST [23:56:23]POST find Content-Length [23:56:23]Host: 172.17.35.133:8080 [23:56:23]Content-Length: 331 [23:56:23]Content-Type: application/json [23:56:23] [23:56:23]POST finish read [23:56:23]Found Content-Length = 331 [23:56:23]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" ] } } [23:56:23]execute_script... [23:56:23]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" ] } } [23:56:23]POST & json_proto [23:56:23]process_json_proto [23:56:23]json parsed OK: [23:56:23]protocol is kg_v1.0 [23:56:23]action value=get_value [23:56:23]process_action get_value [23:56:23]cmd_get_value [23:56:23]process_action get_value done [23:56:23]requested_data is exist [23:56:23]produce_requested_data [23:56:23]requested_item fm.sale.total is exist - process it [23:56:23]SAM_PROTO_GetFMData [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 13 03 00 [23:56:23]Write to MH i2c: E2 08 00 E3 2E 80 13 03 00 00 00 00 00 90 [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:23]Read from MH i2c: E2 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 FD 00 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 FD 00 E3 2E 00 C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 24 [23:56:23]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 [23:56:23]wFMCommunicate OK [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 17 00 00 [23:56:23]Write to MH i2c: E2 08 00 E4 2E 80 17 00 00 00 00 00 00 92 [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:23]Read from MH i2c: E2 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 FD 00 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 FD 00 E4 2E 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 9D [23:56:23]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 [23:56:23]wFMCommunicate OK [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 17 00 00 [23:56:23]Write to MH i2c: E2 08 00 E5 2E 80 17 00 00 00 00 00 00 93 [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:24]Read from MH i2c: E2 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 FD 00 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 FD 00 E5 2E 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B1 [23:56:24]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 [23:56:24]wFMCommunicate OK [23:56:24]wFMCommunicate request_size=4 [23:56:24]MH_SAM_APDU [23:56:24]CAPDU: 80 17 00 00 [23:56:24]Write to MH i2c: E2 08 00 E6 2E 80 17 00 00 00 00 00 00 94 [23:56:24]Write i2c OK [23:56:24]MH_I2C_Read... [23:56:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:24]Read from MH i2c: E2 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 FD 00 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 FD 00 E6 2E 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 06 [23:56:24]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 [23:56:24]wFMCommunicate OK [23:56:24]wFMCommunicate request_size=4 [23:56:24]MH_SAM_APDU [23:56:24]CAPDU: 80 17 00 00 [23:56:24]Write to MH i2c: E2 08 00 E7 2E 80 17 00 00 00 00 00 00 95 [23:56:24]Write i2c OK [23:56:24]MH_I2C_Read... [23:56:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:56:24]Read from MH i2c: E2 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 E0 00 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 E0 00 E7 2E 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 7F [23:56:24]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 [23:56:25]wFMCommunicate OK [23:56:25]SAM_PROTO_GetFMData done [23:56:25]requested_item fm.sale_refund.total is exist - process it [23:56:25]requested_item fm.buy.total is exist - process it [23:56:25]requested_item shift.sale.total is exist - process it [23:56:25]SAM_PROTO_GetShiftData [23:56:25]wFMCommunicate request_size=4 [23:56:25]MH_SAM_APDU [23:56:25]CAPDU: 80 13 02 00 [23:56:25]Write to MH i2c: E2 08 00 E8 2E 80 13 02 00 00 00 00 00 94 [23:56:25]Write i2c OK [23:56:25]MH_I2C_Read... [23:56:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:25]Read from MH i2c: E2 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 FD 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 FD 00 E8 2E 00 AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4A [23:56:25]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:25]wFMCommunicate OK [23:56:25]wFMCommunicate request_size=4 [23:56:25]MH_SAM_APDU [23:56:25]CAPDU: 80 17 00 00 [23:56:25]Write to MH i2c: E2 08 00 E9 2E 80 17 00 00 00 00 00 00 97 [23:56:25]OFD Sender: No OFD packet to send [23:56:25]Write i2c OK [23:56:25]MH_I2C_Read... [23:56:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:25]Read from MH i2c: E2 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 FD 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 FD 00 E9 2E 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [23:56:25]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:26]wFMCommunicate OK [23:56:26]wFMCommunicate request_size=4 [23:56:26]MH_SAM_APDU [23:56:26]CAPDU: 80 17 00 00 [23:56:26]Write to MH i2c: E2 08 00 EA 2E 80 17 00 00 00 00 00 00 98 [23:56:26]Write i2c OK [23:56:26]MH_I2C_Read... [23:56:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:26]Read from MH i2c: E2 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 FD 00 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 FD 00 EA 2E 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [23:56:26]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:26]wFMCommunicate OK [23:56:26]wFMCommunicate request_size=4 [23:56:26]MH_SAM_APDU [23:56:26]CAPDU: 80 17 00 00 [23:56:26]Write to MH i2c: E2 08 00 EB 2E 80 17 00 00 00 00 00 00 99 [23:56:26]Write i2c OK [23:56:26]MH_I2C_Read... [23:56:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:26]Read from MH i2c: E2 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 FD 00 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 FD 00 EB 2E 00 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 90 00 17 [23:56:26]RAPDU: 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 90 00 [23:56:26]wFMCommunicate OK [23:56:26]wFMCommunicate request_size=4 [23:56:26]MH_SAM_APDU [23:56:26]CAPDU: 80 17 00 00 [23:56:26]Write to MH i2c: E2 08 00 EC 2E 80 17 00 00 00 00 00 00 9A [23:56:26]Write i2c OK [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 [23:56:26]MH_I2C_Read... [23:56:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [23:56:26]Read from MH i2c: E2 CC 00 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 CC 00 EC 2E 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7B [23:56:27]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:56:27]wFMCommunicate OK [23:56:27]SAM_PROTO_GetShiftData done [23:56:27]requested_item shift.sale.total_cash is exist - process it [23:56:27]requested_item shift.sale_refund.total is exist - process it [23:56:27]requested_item shift.sale_refund.total_cash is exist - process it [23:56:27]requested_item shift.buy.total is exist - process it [23:56:27]requested_item shift.buy.total_cash is exist - process it [23:56:27]produce_requested_data done [23:56:27]produce_requested_data return {"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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} [23:56:27]process_action_free get_value [23:56:27]json_value_free [23:56:27]json_value_free done [23:56:27]process_json_proto returns [23:56:27]Send response to host [23:56:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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}}} [23:56:27]free response buf [23:56:27]execute_script done [23:56:27]execute_script returns [23:56:27]free content buf [23:56:27]Sock 8.Close socket [23:56:27]Sock 8.Thread stoped [23:56:27]accept exits with 9 [23:56:27]New connection [23:56:27]New thread 3067178340 created [23:56:27]Thread 3067321700 joined [23:56:27]Waiting for new connection... [23:56:27] Sock 9.Parse request [23:56:27]Sock 9.Check first char [23:56:27]Sock 9.First char is OK [23:56:27]request: POST /json_proto HTTP/1.0 [23:56:27]Method: POST [23:56:27]URL: /json_proto [23:56:27]Method is POST - this is cgi request [23:56:27]url: /json_proto [23:56:27]query_string will be loaded in cgi processing [23:56:27]execute_cgi json_proto POST (null) [23:56:27]execute_cgi path=json_proto method=POST [23:56:27]POST find Content-Length [23:56:27]Host: 172.17.35.133:8080 [23:56:27]Content-Length: 275 [23:56:27]Content-Type: application/json [23:56:27] [23:56:27]POST finish read [23:56:27]Found Content-Length = 275 [23:56:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "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" ] } } [23:56:27]execute_script... [23:56:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "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" ] } } [23:56:27]POST & json_proto [23:56:27]process_json_proto [23:56:27]json parsed OK: [23:56:27]protocol is kg_v1.0 [23:56:27]action value=x_report [23:56:27]process_action x_report [23:56:27]cmd_x_report [23:56:27]MH_GetDate [23:56:27]Write to MH i2c: F0 00 00 ED 2E 0A [23:56:27]Write i2c OK [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: F0 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: F0 09 00 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: F0 09 00 ED 2E 00 36 87 6B 66 8C 55 28 65 0F [23:56:27]GetLastDocTimeStamp 1718321998 [23:56:27]current date 1718322998 [23:56:27]FM_GetShiftState [23:56:27]SAM_PROTO_GetShiftState [23:56:27]wFMCommunicate request_size=4 [23:56:27]MH_SAM_APDU [23:56:27]CAPDU: 80 13 01 00 [23:56:27]Write to MH i2c: E2 08 00 EE 2E 80 13 01 00 00 00 00 00 99 [23:56:27]Write i2c OK [23:56:27]MH_I2C_Read... [23:56:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:27]Read from MH i2c: E2 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 0E 00 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 0E 00 EE 2E 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 B7 [23:56:27]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [23:56:27]wFMCommunicate OK [23:56:27]SAM_PROTO_GetShiftState done [23:56:27]FM_GetShiftState done [23:56:27]KKMCreateXReportDocument [23:56:27]Load OK [23:56:27]Malloc new data [23:56:27]MH_GetDate [23:56:27]Write to MH i2c: F0 00 00 EF 2E 0C [23:56:27]Write i2c OK [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: F0 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: F0 09 00 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: F0 09 00 EF 2E 00 36 87 6B 66 8C 55 28 65 11 [23:56:27]Malloc new data [23:56:27]Malloc new data [23:56:27]wFMCommunicate request_size=4 [23:56:27]MH_SAM_APDU [23:56:27]CAPDU: 80 11 00 00 [23:56:27]Write to MH i2c: E2 08 00 F0 2E 80 11 00 00 00 00 00 00 98 [23:56:27]Write i2c OK [23:56:27]MH_I2C_Read... [23:56:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:27]Read from MH i2c: E2 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 17 00 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 17 00 F0 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EA [23:56:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:56:27]wFMCommunicate OK [23:56:27]SAM_PROTO_GetFieldsCounters [23:56:27]wFMCommunicate request_size=4 [23:56:27]MH_SAM_APDU [23:56:27]CAPDU: 80 13 00 00 [23:56:27]Write to MH i2c: E2 08 00 F1 2E 80 13 00 00 00 00 00 00 9B [23:56:27]Write i2c OK [23:56:27]MH_I2C_Read... [23:56:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:27]Read from MH i2c: E2 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 62 00 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 62 00 F1 2E 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 44 56 00 00 0E 04 04 00 44 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 64 [23:56: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 44 56 00 00 0E 04 04 00 44 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 [23:56:27]wFMCommunicate OK [23:56:27]SAM_PROTO_GetFieldsCounters done [23:56:27]Malloc new data [23:56:27]Malloc new data [23:56:27]Malloc new data [23:56:27]KKMCreateXReportDocument OK [23:56:27]KKMSetXReportData OK [23:56:27]KKMPrepareXReportFMData [23:56:27]SAM_PROTO_GetShiftData [23:56:27]wFMCommunicate request_size=4 [23:56:27]MH_SAM_APDU [23:56:27]CAPDU: 80 13 02 00 [23:56:27]Write to MH i2c: E2 08 00 F2 2E 80 13 02 00 00 00 00 00 9E [23:56:27]Write i2c OK [23:56:27]MH_I2C_Read... [23:56:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:27]Read from MH i2c: E2 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 FD 00 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 FD 00 F2 2E 00 AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 54 [23:56:28]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:28]wFMCommunicate OK [23:56:28]wFMCommunicate request_size=4 [23:56:28]MH_SAM_APDU [23:56:28]CAPDU: 80 17 00 00 [23:56:28]Write to MH i2c: E2 08 00 F3 2E 80 17 00 00 00 00 00 00 A1 [23:56:28]Write i2c OK [23:56:28]MH_I2C_Read... [23:56:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:28]Read from MH i2c: E2 [23:56:28]MH_I2C_Read... [23:56:28]Read from MH i2c: E2 FD 00 [23:56:28]MH_I2C_Read... [23:56:28]Read from MH i2c: E2 FD 00 F3 2E 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BA [23:56:28]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:28]wFMCommunicate OK [23:56:28]wFMCommunicate request_size=4 [23:56:28]MH_SAM_APDU [23:56:28]CAPDU: 80 17 00 00 [23:56:28]Write to MH i2c: E2 08 00 F4 2E 80 17 00 00 00 00 00 00 A2 [23:56:28]Write i2c OK [23:56:28]MH_I2C_Read... [23:56:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:28]Read from MH i2c: E2 [23:56:28]MH_I2C_Read... [23:56:28]Read from MH i2c: E2 FD 00 [23:56:28]MH_I2C_Read... [23:56:28]Read from MH i2c: E2 FD 00 F4 2E 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 56 [23:56:28]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:29]wFMCommunicate OK [23:56:29]wFMCommunicate request_size=4 [23:56:29]MH_SAM_APDU [23:56:29]CAPDU: 80 17 00 00 [23:56:29]Write to MH i2c: E2 08 00 F5 2E 80 17 00 00 00 00 00 00 A3 [23:56:29]Write i2c OK [23:56:29]MH_I2C_Read... [23:56:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:29]Read from MH i2c: E2 [23:56:29]MH_I2C_Read... [23:56:29]Read from MH i2c: E2 FD 00 [23:56:29]MH_I2C_Read... [23:56:29]Read from MH i2c: E2 FD 00 F5 2E 00 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 90 00 21 [23:56:29]RAPDU: 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 90 00 [23:56:29]wFMCommunicate OK [23:56:29]wFMCommunicate request_size=4 [23:56:29]MH_SAM_APDU [23:56:29]CAPDU: 80 17 00 00 [23:56:29]Write to MH i2c: E2 08 00 F6 2E 80 17 00 00 00 00 00 00 A4 [23:56:29]Write i2c OK [23:56:29]MH_I2C_Read... [23:56:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [23:56:29]Read from MH i2c: E2 [23:56:29]MH_I2C_Read... [23:56:29]Read from MH i2c: E2 CC 00 [23:56:29]MH_I2C_Read... [23:56:29]Read from MH i2c: E2 CC 00 F6 2E 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 85 [23:56:29]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:56:29]wFMCommunicate OK [23:56:29]SAM_PROTO_GetShiftData done [23:56:29]1194 (1195) - счетчики итогов смены [23:56:29] 1134 (4) - 64 - количество чеков со всеми признаками расчетов [23:56:29] 1129 (156) - счетчики операций «приход» [23:56:29] 1135 (4) - 64 - количество чеков по признаку расчетов [23:56:29] 1201 (3) - 33572.63 - общая итоговая сумма в чеках [23:56:29] 1136 (3) - 29619.00 - итоговая сумма в чеках наличными [23:56:29] 1138 (3) - 3953.63 - итоговая сумма в чеках безналичными [23:56:29] 1024 (123) - суммы налогов [23:56:29] 1006 (9) - суммы НДС [23:56:29] 1010 (1) - 0% - код ставки НДС [23:56:29] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:29] 1006 (12) - суммы НДС [23:56:29] 1010 (1) - 12% - код ставки НДС [23:56:29] 1011 (3) - 3565.43 - сумма НДС по ставке [23:56:29] 1007 (9) - суммы НСП [23:56:29] 1014 (1) - 0% - код ставки НСП [23:56:29] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:29] 1007 (11) - суммы НСП [23:56:29] 1014 (1) - 1% - код ставки НСП [23:56:29] 1015 (2) - 296.51 - сумма НСП по ставке [23:56:29] 1007 (10) - суммы НСП [23:56:29] 1014 (1) - 2% - код ставки НСП [23:56:29] 1015 (1) - 1.17 - сумма НСП по ставке [23:56:29] 1007 (9) - суммы НСП [23:56:29] 1014 (1) - 3% - код ставки НСП [23:56:29] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:29] 1007 (9) - суммы НСП [23:56:29] 1014 (1) - 5% - код ставки НСП [23:56:29] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:29] 1007 (9) - суммы НСП [23:56:29] 1014 (1) - 0,50% - код ставки НСП [23:56:29] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:29] 1007 (9) - суммы НСП [23:56:29] 1014 (1) - 1,50% - код ставки НСП [23:56:29] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:29] 1130 (141) - счетчики операций «возврат прихода» [23:56:29] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:29] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:29] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:29] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:29] 1024 (117) - суммы налогов [23:56:29] 1006 (9) - суммы НДС [23:56:29] 1010 (1) - 0% - код ставки НДС [23:56:29] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:29] 1006 (9) - суммы НДС [23:56:29] 1010 (1) - 12% - код ставки НДС [23:56:29] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 0% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 1% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 2% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 3% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 5% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 0,50% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 1,50% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1131 (141) - счетчики операций «расход» [23:56:30] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:30] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:30] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:30] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:30] 1024 (117) - суммы налогов [23:56:30] 1006 (9) - суммы НДС [23:56:30] 1010 (1) - 0% - код ставки НДС [23:56:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:30] 1006 (9) - суммы НДС [23:56:30] 1010 (1) - 12% - код ставки НДС [23:56:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 0% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 1% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 2% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 3% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 5% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 0,50% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 1,50% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1132 (141) - счетчики операций «возврат расхода» [23:56:30] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:30] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:30] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:30] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:30] 1024 (117) - суммы налогов [23:56:30] 1006 (9) - суммы НДС [23:56:30] 1010 (1) - 0% - код ставки НДС [23:56:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:30] 1006 (9) - суммы НДС [23:56:30] 1010 (1) - 12% - код ставки НДС [23:56:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 0% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 1% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 2% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 3% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 5% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 0,50% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1007 (9) - суммы НСП [23:56:30] 1014 (1) - 1,50% - код ставки НСП [23:56:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:30] 1133 (588) - - счетчики коррекции - не используются [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1194 (04AA) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1134 (046E) [23:56:30]Malloc new data [23:56:30]Processing tag 1129 (0469) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1135 (046F) [23:56:30]Malloc new data [23:56:30]Processing tag 1201 (04B1) [23:56:30]Malloc new data [23:56:30]Processing tag 1136 (0470) [23:56:30]Malloc new data [23:56:30]Processing tag 1138 (0472) [23:56:30]Malloc new data [23:56:30]Processing tag 1024 (0400) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1006 (03EE) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1010 (03F2) [23:56:30]Malloc new data [23:56:30]Processing tag 1011 (03F3) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1006 (03EE) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1010 (03F2) [23:56:30]Malloc new data [23:56:30]Processing tag 1011 (03F3) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]SetTLVBufToDocument err=0 [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1130 (046A) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1135 (046F) [23:56:30]Malloc new data [23:56:30]Processing tag 1201 (04B1) [23:56:30]Malloc new data [23:56:30]Processing tag 1136 (0470) [23:56:30]Malloc new data [23:56:30]Processing tag 1138 (0472) [23:56:30]Malloc new data [23:56:30]Processing tag 1024 (0400) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1006 (03EE) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1010 (03F2) [23:56:30]Malloc new data [23:56:30]Processing tag 1011 (03F3) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1006 (03EE) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1010 (03F2) [23:56:30]Malloc new data [23:56:30]Processing tag 1011 (03F3) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]SetTLVBufToDocument err=0 [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1131 (046B) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1135 (046F) [23:56:30]Malloc new data [23:56:30]Processing tag 1201 (04B1) [23:56:30]Malloc new data [23:56:30]Processing tag 1136 (0470) [23:56:30]Malloc new data [23:56:30]Processing tag 1138 (0472) [23:56:30]Malloc new data [23:56:30]Processing tag 1024 (0400) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1006 (03EE) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1010 (03F2) [23:56:30]Malloc new data [23:56:30]Processing tag 1011 (03F3) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1006 (03EE) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1010 (03F2) [23:56:30]Malloc new data [23:56:30]Processing tag 1011 (03F3) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]Processing tag 1007 (03EF) [23:56:30]Load OK [23:56:30]SetTLVBufToDocument [23:56:30]Processing tag 1014 (03F6) [23:56:30]Malloc new data [23:56:30]Processing tag 1015 (03F7) [23:56:30]Malloc new data [23:56:30]SetTLVBufToDocument err=0 [23:56:30]SetTLVBufToDocument err=0 [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1132 (046C) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1135 (046F) [23:56:31]Malloc new data [23:56:31]Processing tag 1201 (04B1) [23:56:31]Malloc new data [23:56:31]Processing tag 1136 (0470) [23:56:31]Malloc new data [23:56:31]Processing tag 1138 (0472) [23:56:31]Malloc new data [23:56:31]Processing tag 1024 (0400) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1006 (03EE) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1010 (03F2) [23:56:31]Malloc new data [23:56:31]Processing tag 1011 (03F3) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1006 (03EE) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1010 (03F2) [23:56:31]Malloc new data [23:56:31]Processing tag 1011 (03F3) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1007 (03EF) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1014 (03F6) [23:56:31]Malloc new data [23:56:31]Processing tag 1015 (03F7) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1007 (03EF) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1014 (03F6) [23:56:31]Malloc new data [23:56:31]Processing tag 1015 (03F7) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1007 (03EF) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1014 (03F6) [23:56:31]Malloc new data [23:56:31]Processing tag 1015 (03F7) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1007 (03EF) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1014 (03F6) [23:56:31]Malloc new data [23:56:31]Processing tag 1015 (03F7) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1007 (03EF) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1014 (03F6) [23:56:31]Malloc new data [23:56:31]Processing tag 1015 (03F7) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1007 (03EF) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1014 (03F6) [23:56:31]Malloc new data [23:56:31]Processing tag 1015 (03F7) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1007 (03EF) [23:56:31]Load OK [23:56:31]SetTLVBufToDocument [23:56:31]Processing tag 1014 (03F6) [23:56:31]Malloc new data [23:56:31]Processing tag 1015 (03F7) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]SetTLVBufToDocument err=0 [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Processing tag 1133 (046D) [23:56:31]Malloc new data [23:56:31]SetTLVBufToDocument err=0 [23:56:31]SetTLVBufToDocument err=0 [23:56:31]Malloc new data [23:56:31]SAM_PROTO_GetFMData [23:56:31]wFMCommunicate request_size=4 [23:56:31]MH_SAM_APDU [23:56:31]CAPDU: 80 13 03 00 [23:56:31]Write to MH i2c: E2 08 00 F7 2E 80 13 03 00 00 00 00 00 A4 [23:56:31]OFD Sender: No OFD packet to send [23:56:31]Write i2c OK [23:56:31]MH_I2C_Read... [23:56:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:31]Read from MH i2c: E2 [23:56:31]MH_I2C_Read... [23:56:31]Read from MH i2c: E2 FD 00 [23:56:31]MH_I2C_Read... [23:56:31]Read from MH i2c: E2 FD 00 F7 2E 00 C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 38 [23:56:31]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 [23:56:31]wFMCommunicate OK [23:56:31]wFMCommunicate request_size=4 [23:56:31]MH_SAM_APDU [23:56:31]CAPDU: 80 17 00 00 [23:56:31]Write to MH i2c: E2 08 00 F8 2E 80 17 00 00 00 00 00 00 A6 [23:56:31]Write i2c OK [23:56:31]MH_I2C_Read... [23:56:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:32]Read from MH i2c: E2 [23:56:32]MH_I2C_Read... [23:56:32]Read from MH i2c: E2 FD 00 [23:56:32]MH_I2C_Read... [23:56:32]Read from MH i2c: E2 FD 00 F8 2E 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 B1 [23:56: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 [23:56:32]wFMCommunicate OK [23:56:32]wFMCommunicate request_size=4 [23:56:32]MH_SAM_APDU [23:56:32]CAPDU: 80 17 00 00 [23:56:32]Write to MH i2c: E2 08 00 F9 2E 80 17 00 00 00 00 00 00 A7 [23:56:32]Write i2c OK [23:56:32]MH_I2C_Read... [23:56:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:32]Read from MH i2c: E2 [23:56:32]MH_I2C_Read... [23:56:32]Read from MH i2c: E2 FD 00 [23:56:32]MH_I2C_Read... [23:56:32]Read from MH i2c: E2 FD 00 F9 2E 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C5 [23:56: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 [23:56:32]wFMCommunicate OK [23:56:32]wFMCommunicate request_size=4 [23:56:32]MH_SAM_APDU [23:56:32]CAPDU: 80 17 00 00 [23:56:32]Write to MH i2c: E2 08 00 FA 2E 80 17 00 00 00 00 00 00 A8 [23:56:32]Write i2c OK [23:56:32]MH_I2C_Read... [23:56:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:33]Read from MH i2c: E2 [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: E2 FD 00 [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: E2 FD 00 FA 2E 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 1A [23:56: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 [23:56:33]wFMCommunicate OK [23:56:33]wFMCommunicate request_size=4 [23:56:33]MH_SAM_APDU [23:56:33]CAPDU: 80 17 00 00 [23:56:33]Write to MH i2c: E2 08 00 FB 2E 80 17 00 00 00 00 00 00 A9 [23:56:33]Write i2c OK [23:56:33]MH_I2C_Read... [23:56:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:56:33]Read from MH i2c: E2 [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: E2 E0 00 [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: E2 E0 00 FB 2E 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 93 [23:56: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 [23:56:33]wFMCommunicate OK [23:56:33]SAM_PROTO_GetFMData done [23:56:33]FM_GetFMData:85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 [23:56:34]oper:6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 [23:56:34]total:DE 96 E7 24 [23:56:34]Malloc new data [23:56:34]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 [23:56:34]total:C0 49 AA [23:56:34]Malloc new data [23:56:34]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 [23:56:34]total: [23:56:34]Malloc new data [23:56:34]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 [23:56:34]total: [23:56:34]Malloc new data [23:56:34]KKMPrepareXReportFMData err=0 [23:56:34]Х отчет ИНН: 02508201610067 Кассир: Кадыркулова Б. 13.06.2024 23:56 Смена: 266 РНМ: 0000000000099755 ЗНМ: 0300000200 СНО: Общий режим Всего чеков: 64 ИТОГИ ПРИХОД Чеков: 64 Общий итог: 33572.63 Итого наличными: 29619.00 Итого безнал.: 3953.63 НДС 0% : 0.00 НДС 12% : 3565.43 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 1.17 НСП 1% : 296.51 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 29619.00 НС Приход: 6191572.14 НС Возвр.Прихода: 111600.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965344 [23:56:34]StoreToDocumentArchive [23:56:34]MH_GetDate [23:56:34]Write to MH i2c: F0 00 00 FC 2E 19 [23:56:34]Write i2c OK [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: F0 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: F0 09 00 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: F0 09 00 FC 2E 00 3D 87 6B 66 8C 55 28 65 25 [23:56:34]shift 266 fd 1718323005 [23:56:34]Create dir for shift 0266 [23:56:34]save to /storage/0266/doc_1718323005 [23:56:34]save last doc name /storage/0266/doc_1718323005 to /storage/kkm_last_doc_name [23:56:34]save OK [23:56:34]Clear old archive folders... [23:56:34]NVStorageSaveData kkm_last_timestamp [23:56:34]File name is /storage/kkm_last_timestamp [23:56:34]Write 4 bytes [23:56:34]NVStorageSaveData done [23:56:34]ExternCall_PrintAddStr [23:56:34]wPrintStart [23:56:34]Write to MH i2c: 01 00 00 FD 2E 2B [23:56:34]Write i2c OK [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 07 00 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 07 00 FD 2E 00 00 00 00 00 FF 0F 40 [23:56:34]RasterBufferAndPrint [23:56:34]line Х отчет [23:56:34]line ИНН: 02508201610067 [23:56:34]line Кассир: Кадыркулова Б. [23:56:34]line 13.06.2024 23:56 [23:56:34]line Смена: 266 [23:56:34]line РНМ: 0000000000099755 [23:56:34]line ЗНМ: 0300000200 [23:56:34]line СНО: Общий режим [23:56:34]line Всего чеков: 64 [23:56:34]line ИТОГИ ПРИХОД [23:56:34]line Чеков: 64 [23:56:34]line Общий итог: 33572.63 [23:56:34]line Итого наличными: 29619.00 [23:56:34]line Итого безнал.: 3953.63 [23:56:34]line НДС 0% : 0.00 [23:56:34]line НДС 12% : 3565.43 [23:56:34]line НСП 0% : 0.00 [23:56:34]line НСП 1,50% : 0.00 [23:56:34]line НСП 0,50% : 0.00 [23:56:34]line НСП 5% : 0.00 [23:56:34]line НСП 3% : 0.00 [23:56:34]line НСП 2% : 1.17 [23:56:34]line НСП 1% : 296.51 [23:56:34]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:56:34]line Чеков: 0 [23:56:34]line Общий итог: 0.00 [23:56:34]line Итого наличными: 0.00 [23:56:34]line Итого безнал.: 0.00 [23:56:34]line НДС 0% : 0.00 [23:56:34]line НДС 12% : 0.00 [23:56:34]line НСП 0% : 0.00 [23:56:34]line НСП 1,50% : 0.00 [23:56:34]line НСП 0,50% : 0.00 [23:56:34]line НСП 5% : 0.00 [23:56:34]line НСП 3% : 0.00 [23:56:34]line НСП 2% : 0.00 [23:56:34]line НСП 1% : 0.00 [23:56:34]line ИТОГИ РАСХОД [23:56:34]line Чеков: 0 [23:56:34]line Общий итог: 0.00 [23:56:34]line Итого наличными: 0.00 [23:56:34]line Итого безнал.: 0.00 [23:56:34]line НДС 0% : 0.00 [23:56:34]line НДС 12% : 0.00 [23:56:34]line НСП 0% : 0.00 [23:56:34]line НСП 1,50% : 0.00 [23:56:34]line НСП 0,50% : 0.00 [23:56:34]line НСП 5% : 0.00 [23:56:34]line НСП 3% : 0.00 [23:56:34]line НСП 2% : 0.00 [23:56:34]line НСП 1% : 0.00 [23:56:34]line ИТОГИ ВОЗВРАТ РАСХОДА [23:56:34]line Чеков: 0 [23:56:34]line Общий итог: 0.00 [23:56:34]line Итого наличными: 0.00 [23:56:34]line Итого безнал.: 0.00 [23:56:34]line НДС 0% : 0.00 [23:56:34]line НДС 12% : 0.00 [23:56:34]line НСП 0% : 0.00 [23:56:34]line НСП 1,50% : 0.00 [23:56:34]line НСП 0,50% : 0.00 [23:56:34]line НСП 5% : 0.00 [23:56:34]line НСП 3% : 0.00 [23:56:34]line НСП 2% : 0.00 [23:56:34]line НСП 1% : 0.00 [23:56:34]line Сумма внесений: 0.00 [23:56:34]line Сумма выплат: 0.00 [23:56:34]line Нал. в кассе: 29619.00 [23:56:34]line НС Приход: 6191572.14 [23:56:34]line НС Возвр.Прихода: 111600.00 [23:56:34]line НС Расход: 0.00 [23:56:34]line НС Возвр.Расхода: 0.00 [23:56:34]line ФМ: 0000000000965344 [23:56:34]written 0, free lines is 4095 [23:56:35]Write to MH i2c: 01 00 00 48 2F 77 [23:56:35]Write i2c OK [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: 01 [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: 01 07 00 [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: 01 07 00 48 2F 00 00 00 00 00 1B 0B A4 [23:56:35]RasterBufferAndPrint [23:56:35]line [23:56:35]line [23:56:35]line [23:56:35]line [23:56:35]line [23:56:35]written 0, free lines is 2879 [23:56:35]MH_Cut [23:56:35]Write to MH i2c: D1 01 00 4F 2F 01 50 [23:56:35]Write i2c OK [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: D1 [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: D1 01 00 [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: D1 01 00 4F 2F 00 4F [23:56:35]Write to MH i2c: 01 00 00 50 2F 7F [23:56:35]Write i2c OK [23:56:35]MH_I2C_Read... [23:56:36]OFD Sender: No OFD packet to send [23:56:36]*** Cut start [23:56:36]*** Partial cut [23:56:36]*** CUTSNS_PIN = 1 [23:56:36]*** CUTSNS_PIN = 0 [23:56:36]*** Brake cut motor [23:56:37]Read from MH i2c: 01 [23:56:37]MH_I2C_Read... [23:56:37]*** Stop cut motor [23:56:37]*** Cut end [23:56:37]Read from MH i2c: 01 07 00 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: 01 07 00 50 2F 00 00 00 00 00 FF 0F 94 [23:56:37]process_action x_report done [23:56:37]requested_data is exist [23:56:37]produce_requested_data [23:56:37]requested_item fd.num is exist - process it [23:56:37]SAM_PROTO_GetFieldsCounters [23:56:37]wFMCommunicate request_size=4 [23:56:37]MH_SAM_APDU [23:56:37]CAPDU: 80 13 00 00 [23:56:37]Write to MH i2c: E2 08 00 51 2F 80 13 00 00 00 00 00 00 FC [23:56:37]Write i2c OK [23:56:37]MH_I2C_Read... [23:56:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:37]Read from MH i2c: E2 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 62 00 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 62 00 51 2F 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 44 56 00 00 0E 04 04 00 44 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 C5 [23:56:37]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 44 56 00 00 0E 04 04 00 44 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 [23:56:37]wFMCommunicate OK [23:56:37]SAM_PROTO_GetFieldsCounters done [23:56:37]requested_item shift.num is exist - process it [23:56:37]requested_item shift.opened is exist - process it [23:56:37]req_shift_opened [23:56:37]FM_GetShiftState [23:56:37]SAM_PROTO_GetShiftState [23:56:37]wFMCommunicate request_size=4 [23:56:37]MH_SAM_APDU [23:56:37]CAPDU: 80 13 01 00 [23:56:37]Write to MH i2c: E2 08 00 52 2F 80 13 01 00 00 00 00 00 FE [23:56:37]Write i2c OK [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 [23:56:37]MH_I2C_Read... [23:56:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:37]Read from MH i2c: E2 0E 00 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 0E 00 52 2F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 1C [23:56:37]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [23:56:37]wFMCommunicate OK [23:56:37]SAM_PROTO_GetShiftState done [23:56:37]FM_GetShiftState done [23:56:37]req_shift_opened done [23:56:37]requested_item shift.open_date is exist - process it [23:56:37]req_shift_open_date [23:56:37]req_shift_open_date done [23:56:37]produce_requested_data done [23:56:37]produce_requested_data return {"fd.num":22084,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [23:56:37]process_action_free x_report [23:56:37]json_value_free [23:56:37]json_value_free done [23:56:37]process_json_proto returns [23:56:37]Send response to host [23:56:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22084,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [23:56:37]free response buf [23:56:37]execute_script done [23:56:37]execute_script returns [23:56:37]free content buf [23:56:37]Sock 9.Close socket [23:56:37]Sock 9.Thread stoped [23:56:41]OFD Sender: No OFD packet to send [23:56:46]OFD Sender: No OFD packet to send [23:56:51]OFD Sender: No OFD packet to send [23:56:56]OFD Sender: No OFD packet to send [23:57:01]OFD Sender: No OFD packet to send [23:57:06]OFD Sender: No OFD packet to send [23:57:10]accept exits with 8 [23:57:10]New connection [23:57:10]New thread 3067321700 created [23:57:10]Thread 3067178340 joined [23:57:10]Waiting for new connection... [23:57:10] Sock 8.Parse request [23:57:10]Sock 8.Check first char [23:57:10]Sock 8.First char is OK [23:57:10]request: POST /json_proto HTTP/1.0 [23:57:10]Method: POST [23:57:10]URL: /json_proto [23:57:10]Method is POST - this is cgi request [23:57:10]url: /json_proto [23:57:10]query_string will be loaded in cgi processing [23:57:10]execute_cgi json_proto POST (null) [23:57:10]execute_cgi path=json_proto method=POST [23:57:10]POST find Content-Length [23:57:10]Host: 172.17.35.133:8080 [23:57:10]Content-Length: 215 [23:57:10]Content-Type: application/json [23:57:10] [23:57:10]POST finish read [23:57:10]Found Content-Length = 215 [23:57:10]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" ] } } [23:57:10]execute_script... [23:57:10]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" ] } } [23:57:10]POST & json_proto [23:57:10]process_json_proto [23:57:10]json parsed OK: [23:57:10]protocol is kg_v1.0 [23:57:10]action value=get_value [23:57:10]process_action get_value [23:57:10]cmd_get_value [23:57:10]process_action get_value done [23:57:10]requested_data is exist [23:57:10]produce_requested_data [23:57:10]requested_item kkm.sn is exist - process it [23:57:10]requested_item kkm.ver is exist - process it [23:57:10]requested_item fm.sn is exist - process it [23:57:10]wFMCommunicate request_size=4 [23:57:10]MH_SAM_APDU [23:57:10]CAPDU: 80 11 00 00 [23:57:10]Write to MH i2c: E2 08 00 53 2F 80 11 00 00 00 00 00 00 FC [23:57:10]Write i2c OK [23:57:10]MH_I2C_Read... [23:57:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:10]Read from MH i2c: E2 [23:57:10]MH_I2C_Read... [23:57:10]Read from MH i2c: E2 17 00 [23:57:10]MH_I2C_Read... [23:57:10]Read from MH i2c: E2 17 00 53 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4E [23:57:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:57:10]wFMCommunicate OK [23:57:10]requested_item fd.num is exist - process it [23:57:10]SAM_PROTO_GetFieldsCounters [23:57:10]wFMCommunicate request_size=4 [23:57:10]MH_SAM_APDU [23:57:10]CAPDU: 80 13 00 00 [23:57:10]Write to MH i2c: E2 08 00 54 2F 80 13 00 00 00 00 00 00 FF [23:57:10]Write i2c OK [23:57:10]MH_I2C_Read... [23:57:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:10]Read from MH i2c: E2 [23:57:10]MH_I2C_Read... [23:57:10]Read from MH i2c: E2 62 00 [23:57:10]MH_I2C_Read... [23:57:10]Read from MH i2c: E2 62 00 54 2F 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 44 56 00 00 0E 04 04 00 44 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 C8 [23:57: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 44 56 00 00 0E 04 04 00 44 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 [23:57:10]wFMCommunicate OK [23:57:10]SAM_PROTO_GetFieldsCounters done [23:57:10]requested_item shift.num is exist - process it [23:57:10]requested_item shift.opened is exist - process it [23:57:10]req_shift_opened [23:57:10]FM_GetShiftState [23:57:10]SAM_PROTO_GetShiftState [23:57:10]wFMCommunicate request_size=4 [23:57:10]MH_SAM_APDU [23:57:10]CAPDU: 80 13 01 00 [23:57:10]Write to MH i2c: E2 08 00 55 2F 80 13 01 00 00 00 00 00 01 [23:57:10]Write i2c OK [23:57:10]MH_I2C_Read... [23:57:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:10]Read from MH i2c: E2 [23:57:10]MH_I2C_Read... [23:57:10]Read from MH i2c: E2 0E 00 [23:57:10]MH_I2C_Read... [23:57:10]Read from MH i2c: E2 0E 00 55 2F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 1F [23:57:10]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [23:57:10]wFMCommunicate OK [23:57:10]SAM_PROTO_GetShiftState done [23:57:10]FM_GetShiftState done [23:57:10]req_shift_opened done [23:57:10]requested_item shift.open_date is exist - process it [23:57:10]req_shift_open_date [23:57:10]req_shift_open_date done [23:57:10]produce_requested_data done [23:57:10]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22084,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959} [23:57:10]process_action_free get_value [23:57:10]json_value_free [23:57:10]json_value_free done [23:57:10]process_json_proto returns [23:57:10]Send response to host [23:57:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22084,"shift.num":324,"shift.opened":1,"shift.open_date":1718237959}}} [23:57:10]free response buf [23:57:10]execute_script done [23:57:10]execute_script returns [23:57:10]free content buf [23:57:10]Sock 8.Close socket [23:57:10]Sock 8.Thread stoped [23:57:10]accept exits with 9 [23:57:10]New connection [23:57:10]New thread 3067178340 created [23:57:10]Thread 3067321700 joined [23:57:10]Waiting for new connection... [23:57:10] Sock 9.Parse request [23:57:10]Sock 9.Check first char [23:57:10]Sock 9.First char is OK [23:57:10]request: POST /json_proto HTTP/1.0 [23:57:10]Method: POST [23:57:10]URL: /json_proto [23:57:10]Method is POST - this is cgi request [23:57:10]url: /json_proto [23:57:10]query_string will be loaded in cgi processing [23:57:10]execute_cgi json_proto POST (null) [23:57:10]execute_cgi path=json_proto method=POST [23:57:10]POST find Content-Length [23:57:10]Host: 172.17.35.133:8080 [23:57:10]Content-Length: 331 [23:57:10]Content-Type: application/json [23:57:10] [23:57:10]POST finish read [23:57:10]Found Content-Length = 331 [23:57:10]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" ] } } [23:57:10]execute_script... [23:57:10]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" ] } } [23:57:10]POST & json_proto [23:57:10]process_json_proto [23:57:10]json parsed OK: [23:57:10]protocol is kg_v1.0 [23:57:10]action value=get_value [23:57:10]process_action get_value [23:57:10]cmd_get_value [23:57:10]process_action get_value done [23:57:10]requested_data is exist [23:57:10]produce_requested_data [23:57:10]requested_item fm.sale.total is exist - process it [23:57:10]SAM_PROTO_GetFMData [23:57:10]wFMCommunicate request_size=4 [23:57:10]MH_SAM_APDU [23:57:10]CAPDU: 80 13 03 00 [23:57:10]Write to MH i2c: E2 08 00 56 2F 80 13 03 00 00 00 00 00 04 [23:57:10]Write i2c OK [23:57:10]MH_I2C_Read... [23:57:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:11]Read from MH i2c: E2 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 FD 00 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 FD 00 56 2F 00 C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 98 [23:57:11]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 [23:57:11]wFMCommunicate OK [23:57:11]wFMCommunicate request_size=4 [23:57:11]MH_SAM_APDU [23:57:11]CAPDU: 80 17 00 00 [23:57:11]Write to MH i2c: E2 08 00 57 2F 80 17 00 00 00 00 00 00 06 [23:57:11]Write i2c OK [23:57:11]MH_I2C_Read... [23:57:11]OFD Sender: No OFD packet to send [23:57:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:11]Read from MH i2c: E2 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 FD 00 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 FD 00 57 2F 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 11 [23:57:11]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 [23:57:11]wFMCommunicate OK [23:57:11]wFMCommunicate request_size=4 [23:57:11]MH_SAM_APDU [23:57:11]CAPDU: 80 17 00 00 [23:57:11]Write to MH i2c: E2 08 00 58 2F 80 17 00 00 00 00 00 00 07 [23:57:11]Write i2c OK [23:57:11]MH_I2C_Read... [23:57:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:11]Read from MH i2c: E2 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 FD 00 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 FD 00 58 2F 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 25 [23:57:11]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 [23:57:11]wFMCommunicate OK [23:57:11]wFMCommunicate request_size=4 [23:57:11]MH_SAM_APDU [23:57:11]CAPDU: 80 17 00 00 [23:57:11]Write to MH i2c: E2 08 00 59 2F 80 17 00 00 00 00 00 00 08 [23:57:11]Write i2c OK [23:57:11]MH_I2C_Read... [23:57:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:11]Read from MH i2c: E2 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 FD 00 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 FD 00 59 2F 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 7A [23:57:11]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 [23:57:11]wFMCommunicate OK [23:57:11]wFMCommunicate request_size=4 [23:57:11]MH_SAM_APDU [23:57:11]CAPDU: 80 17 00 00 [23:57:11]Write to MH i2c: E2 08 00 5A 2F 80 17 00 00 00 00 00 00 09 [23:57:11]Write i2c OK [23:57:11]MH_I2C_Read... [23:57:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:57:12]Read from MH i2c: E2 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 E0 00 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 E0 00 5A 2F 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 F3 [23:57:12]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 [23:57:12]wFMCommunicate OK [23:57:12]SAM_PROTO_GetFMData done [23:57:12]requested_item fm.sale_refund.total is exist - process it [23:57:12]requested_item fm.buy.total is exist - process it [23:57:12]requested_item shift.sale.total is exist - process it [23:57:12]SAM_PROTO_GetShiftData [23:57:12]wFMCommunicate request_size=4 [23:57:12]MH_SAM_APDU [23:57:12]CAPDU: 80 13 02 00 [23:57:12]Write to MH i2c: E2 08 00 5B 2F 80 13 02 00 00 00 00 00 08 [23:57:12]Write i2c OK [23:57:12]MH_I2C_Read... [23:57:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:57:12]Read from MH i2c: E2 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 FD 00 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 FD 00 5B 2F 00 AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BE [23:57:12]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:12]wFMCommunicate OK [23:57:12]wFMCommunicate request_size=4 [23:57:12]MH_SAM_APDU [23:57:12]CAPDU: 80 17 00 00 [23:57:12]Write to MH i2c: E2 08 00 5C 2F 80 17 00 00 00 00 00 00 0B [23:57:12]Write i2c OK [23:57:12]MH_I2C_Read... [23:57:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 5C 2F 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 24 [23:57:13]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:13]wFMCommunicate OK [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 17 00 00 [23:57:13]Write to MH i2c: E2 08 00 5D 2F 80 17 00 00 00 00 00 00 0C [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 5D 2F 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [23:57:13]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:13]wFMCommunicate OK [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 17 00 00 [23:57:13]Write to MH i2c: E2 08 00 5E 2F 80 17 00 00 00 00 00 00 0D [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 5E 2F 00 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 90 00 8B [23:57:13]RAPDU: 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 90 00 [23:57:13]wFMCommunicate OK [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 17 00 00 [23:57:13]Write to MH i2c: E2 08 00 5F 2F 80 17 00 00 00 00 00 00 0E [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [23:57:14]Read from MH i2c: E2 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 CC 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 CC 00 5F 2F 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EF [23:57:14]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:57:14]wFMCommunicate OK [23:57:14]SAM_PROTO_GetShiftData done [23:57:14]requested_item shift.sale.total_cash is exist - process it [23:57:14]requested_item shift.sale_refund.total is exist - process it [23:57:14]requested_item shift.sale_refund.total_cash is exist - process it [23:57:14]requested_item shift.buy.total is exist - process it [23:57:14]requested_item shift.buy.total_cash is exist - process it [23:57:14]produce_requested_data done [23:57:14]produce_requested_data return {"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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} [23:57:14]process_action_free get_value [23:57:14]json_value_free [23:57:14]json_value_free done [23:57:14]process_json_proto returns [23:57:14]Send response to host [23:57:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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}}} [23:57:14]free response buf [23:57:14]execute_script done [23:57:14]execute_script returns [23:57:14]free content buf [23:57:14]Sock 9.Close socket [23:57:14]Sock 9.Thread stoped [23:57:14]accept exits with 8 [23:57:14]New connection [23:57:14]New thread 3067321700 created [23:57:14]Thread 3067178340 joined [23:57:14]Waiting for new connection... [23:57:14] Sock 8.Parse request [23:57:14]Sock 8.Check first char [23:57:14]Sock 8.First char is OK [23:57:14]request: POST /json_proto HTTP/1.0 [23:57:14]Method: POST [23:57:14]URL: /json_proto [23:57:14]Method is POST - this is cgi request [23:57:14]url: /json_proto [23:57:14]query_string will be loaded in cgi processing [23:57:14]execute_cgi json_proto POST (null) [23:57:14]execute_cgi path=json_proto method=POST [23:57:14]POST find Content-Length [23:57:14]Host: 172.17.35.133:8080 [23:57:14]Content-Length: 331 [23:57:14]Content-Type: application/json [23:57:14] [23:57:14]POST finish read [23:57:14]Found Content-Length = 331 [23:57:14]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" ] } } [23:57:14]execute_script... [23:57:14]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" ] } } [23:57:14]POST & json_proto [23:57:14]process_json_proto [23:57:14]json parsed OK: [23:57:14]protocol is kg_v1.0 [23:57:14]action value=get_value [23:57:14]process_action get_value [23:57:14]cmd_get_value [23:57:14]process_action get_value done [23:57:14]requested_data is exist [23:57:14]produce_requested_data [23:57:14]requested_item fm.sale.total is exist - process it [23:57:14]SAM_PROTO_GetFMData [23:57:14]wFMCommunicate request_size=4 [23:57:14]MH_SAM_APDU [23:57:14]CAPDU: 80 13 03 00 [23:57:14]Write to MH i2c: E2 08 00 60 2F 80 13 03 00 00 00 00 00 0E [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:14]Read from MH i2c: E2 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 FD 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 FD 00 60 2F 00 C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 A2 [23:57:14]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 [23:57:14]wFMCommunicate OK [23:57:14]wFMCommunicate request_size=4 [23:57:14]MH_SAM_APDU [23:57:14]CAPDU: 80 17 00 00 [23:57:14]Write to MH i2c: E2 08 00 61 2F 80 17 00 00 00 00 00 00 10 [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:15]Read from MH i2c: E2 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 FD 00 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 FD 00 61 2F 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 1B [23:57:15]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 [23:57:15]wFMCommunicate OK [23:57:15]wFMCommunicate request_size=4 [23:57:15]MH_SAM_APDU [23:57:15]CAPDU: 80 17 00 00 [23:57:15]Write to MH i2c: E2 08 00 62 2F 80 17 00 00 00 00 00 00 11 [23:57:15]Write i2c OK [23:57:15]MH_I2C_Read... [23:57:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:15]Read from MH i2c: E2 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 FD 00 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 FD 00 62 2F 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2F [23:57:15]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 [23:57:15]wFMCommunicate OK [23:57:15]wFMCommunicate request_size=4 [23:57:15]MH_SAM_APDU [23:57:15]CAPDU: 80 17 00 00 [23:57:15]Write to MH i2c: E2 08 00 63 2F 80 17 00 00 00 00 00 00 12 [23:57:15]Write i2c OK [23:57:15]MH_I2C_Read... [23:57:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:15]Read from MH i2c: E2 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 FD 00 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 FD 00 63 2F 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 84 [23:57:16]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 [23:57:16]wFMCommunicate OK [23:57:16]wFMCommunicate request_size=4 [23:57:16]MH_SAM_APDU [23:57:16]CAPDU: 80 17 00 00 [23:57:16]Write to MH i2c: E2 08 00 64 2F 80 17 00 00 00 00 00 00 13 [23:57:16]Write i2c OK [23:57:16]MH_I2C_Read... [23:57:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:57:16]Read from MH i2c: E2 [23:57:16]MH_I2C_Read... [23:57:16]OFD Sender: No OFD packet to send [23:57:16]Read from MH i2c: E2 E0 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 E0 00 64 2F 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 FD [23:57:16]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 [23:57:16]wFMCommunicate OK [23:57:16]SAM_PROTO_GetFMData done [23:57:16]requested_item fm.sale_refund.total is exist - process it [23:57:16]requested_item fm.buy.total is exist - process it [23:57:16]requested_item shift.sale.total is exist - process it [23:57:16]SAM_PROTO_GetShiftData [23:57:16]wFMCommunicate request_size=4 [23:57:16]MH_SAM_APDU [23:57:16]CAPDU: 80 13 02 00 [23:57:16]Write to MH i2c: E2 08 00 65 2F 80 13 02 00 00 00 00 00 12 [23:57:16]Write i2c OK [23:57:16]MH_I2C_Read... [23:57:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:57:16]Read from MH i2c: E2 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 FD 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 FD 00 65 2F 00 AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C8 [23:57:17]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:17]wFMCommunicate OK [23:57:17]wFMCommunicate request_size=4 [23:57:17]MH_SAM_APDU [23:57:17]CAPDU: 80 17 00 00 [23:57:17]Write to MH i2c: E2 08 00 66 2F 80 17 00 00 00 00 00 00 15 [23:57:17]Write i2c OK [23:57:17]MH_I2C_Read... [23:57:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:17]Read from MH i2c: E2 [23:57:17]MH_I2C_Read... [23:57:17]Read from MH i2c: E2 FD 00 [23:57:17]MH_I2C_Read... [23:57:17]Read from MH i2c: E2 FD 00 66 2F 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2E [23:57:17]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:17]wFMCommunicate OK [23:57:17]wFMCommunicate request_size=4 [23:57:17]MH_SAM_APDU [23:57:17]CAPDU: 80 17 00 00 [23:57:17]Write to MH i2c: E2 08 00 67 2F 80 17 00 00 00 00 00 00 16 [23:57:17]Write i2c OK [23:57:17]MH_I2C_Read... [23:57:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:17]Read from MH i2c: E2 [23:57:17]MH_I2C_Read... [23:57:17]Read from MH i2c: E2 FD 00 [23:57:17]MH_I2C_Read... [23:57:17]Read from MH i2c: E2 FD 00 67 2F 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CA [23:57:17]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:18]wFMCommunicate OK [23:57:18]wFMCommunicate request_size=4 [23:57:18]MH_SAM_APDU [23:57:18]CAPDU: 80 17 00 00 [23:57:18]Write to MH i2c: E2 08 00 68 2F 80 17 00 00 00 00 00 00 17 [23:57:18]Write i2c OK [23:57:18]MH_I2C_Read... [23:57:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:18]Read from MH i2c: E2 [23:57:18]MH_I2C_Read... [23:57:18]Read from MH i2c: E2 FD 00 [23:57:18]MH_I2C_Read... [23:57:18]Read from MH i2c: E2 FD 00 68 2F 00 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 90 00 95 [23:57:18]RAPDU: 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 90 00 [23:57:18]wFMCommunicate OK [23:57:18]wFMCommunicate request_size=4 [23:57:18]MH_SAM_APDU [23:57:18]CAPDU: 80 17 00 00 [23:57:18]Write to MH i2c: E2 08 00 69 2F 80 17 00 00 00 00 00 00 18 [23:57:18]Write i2c OK [23:57:18]MH_I2C_Read... [23:57:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [23:57:18]Read from MH i2c: E2 [23:57:18]MH_I2C_Read... [23:57:18]Read from MH i2c: E2 CC 00 [23:57:18]MH_I2C_Read... [23:57:18]Read from MH i2c: E2 CC 00 69 2F 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F9 [23:57:18]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:57:18]wFMCommunicate OK [23:57:18]SAM_PROTO_GetShiftData done [23:57:18]requested_item shift.sale.total_cash is exist - process it [23:57:18]requested_item shift.sale_refund.total is exist - process it [23:57:18]requested_item shift.sale_refund.total_cash is exist - process it [23:57:18]requested_item shift.buy.total is exist - process it [23:57:18]requested_item shift.buy.total_cash is exist - process it [23:57:18]produce_requested_data done [23:57:18]produce_requested_data return {"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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} [23:57:18]process_action_free get_value [23:57:18]json_value_free [23:57:18]json_value_free done [23:57:18]process_json_proto returns [23:57:18]Send response to host [23:57:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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}}} [23:57:18]free response buf [23:57:18]execute_script done [23:57:18]execute_script returns [23:57:18]free content buf [23:57:18]Sock 8.Close socket [23:57:18]Sock 8.Thread stoped [23:57:18]accept exits with 9 [23:57:18]New connection [23:57:18]New thread 3067178340 created [23:57:18]Thread 3067321700 joined [23:57:18]Waiting for new connection... [23:57:18] Sock 9.Parse request [23:57:18]Sock 9.Check first char [23:57:18]Sock 9.First char is OK [23:57:18]request: POST /json_proto HTTP/1.0 [23:57:18]Method: POST [23:57:18]URL: /json_proto [23:57:18]Method is POST - this is cgi request [23:57:18]url: /json_proto [23:57:18]query_string will be loaded in cgi processing [23:57:18]execute_cgi json_proto POST (null) [23:57:18]execute_cgi path=json_proto method=POST [23:57:18]POST find Content-Length [23:57:18]Host: 172.17.35.133:8080 [23:57:18]Content-Length: 278 [23:57:18]Content-Type: application/json [23:57:18] [23:57:18]POST finish read [23:57:18]Found Content-Length = 278 [23:57:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_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" ] } } [23:57:18]execute_script... [23:57:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_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" ] } } [23:57:18]POST & json_proto [23:57:18]process_json_proto [23:57:18]json parsed OK: [23:57:18]protocol is kg_v1.0 [23:57:18]action value=close_shift [23:57:18]process_action close_shift [23:57:18]cmd_close_shift [23:57:18]MH_GetDate [23:57:18]Write to MH i2c: F0 00 00 6A 2F 88 [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: F0 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: F0 09 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: F0 09 00 6A 2F 00 6A 87 6B 66 8C 55 28 65 C1 [23:57:19]GetLastDocTimeStamp 1718322998 [23:57:19]current date 1718323050 [23:57:19]FM_GetShiftState [23:57:19]SAM_PROTO_GetShiftState [23:57:19]wFMCommunicate request_size=4 [23:57:19]MH_SAM_APDU [23:57:19]CAPDU: 80 13 01 00 [23:57:19]Write to MH i2c: E2 08 00 6B 2F 80 13 01 00 00 00 00 00 17 [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:19]Read from MH i2c: E2 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 0E 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 0E 00 6B 2F 00 09 00 01 07 3B 6A 66 00 00 00 00 90 00 35 [23:57:19]RAPDU: 09 00 01 07 3B 6A 66 00 00 00 00 90 00 [23:57:19]wFMCommunicate OK [23:57:19]SAM_PROTO_GetShiftState done [23:57:19]FM_GetShiftState done [23:57:19]KKMCreateCloseShiftDocument [23:57:19]Load OK [23:57:19]Malloc new data [23:57:19]MH_GetDate [23:57:19]Write to MH i2c: F0 00 00 6C 2F 8A [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: F0 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: F0 09 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: F0 09 00 6C 2F 00 6A 87 6B 66 8C 55 28 65 C3 [23:57:19]Malloc new data [23:57:19]Malloc new data [23:57:19]Malloc new data [23:57:19]Malloc new data [23:57:19]KKMCreateCloseShiftDocument OK [23:57:19]KKMSetCloseShiftData OK [23:57:19]ProcessDocumentItem done err = 0, tmpTLVsize=77 [23:57:19]tlvbuf is 00322250 [23:57:19]KKMLoadAndSignCloseShiftData [23:57:19]SAM_PROTO_ProcessDocument [23:57:19]wFMCommunicate request_size=9 [23:57:19]MH_SAM_APDU [23:57:19]CAPDU: 80 15 01 00 04 05 00 4D 00 [23:57:19]Write to MH i2c: E2 0C 00 6D 2F 80 15 01 00 04 00 05 00 4D 00 00 00 75 [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:57:19]Read from MH i2c: E2 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 6D 2F 00 90 00 10 [23:57:19]RAPDU: 90 00 [23:57:19]wFMCommunicate OK [23:57:19]wFMCommunicate request_size=23 [23:57:19]MH_SAM_APDU [23:57:19]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:57:19]Write to MH i2c: E2 1A 00 6E 2F 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 12 [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:19]Read from MH i2c: E2 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 6E 2F 00 90 00 11 [23:57:19]RAPDU: 90 00 [23:57:19]wFMCommunicate OK [23:57:19]wFMCommunicate request_size=36 [23:57:19]MH_SAM_APDU [23:57:19]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 [23:57:19]Write to MH i2c: E2 27 00 6F 2F 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 5A [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:19]Read from MH i2c: E2 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 6F 2F 00 90 00 12 [23:57:19]RAPDU: 90 00 [23:57:19]wFMCommunicate OK [23:57:19]wFMCommunicate request_size=13 [23:57:19]MH_SAM_APDU [23:57:19]CAPDU: 80 15 02 00 08 F4 03 04 00 6A 87 6B 66 [23:57:19]Write to MH i2c: E2 10 00 70 2F 80 15 02 00 08 00 F4 03 04 00 6A 87 6B 66 00 00 EC [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:19]Read from MH i2c: E2 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 70 2F 00 90 00 13 [23:57:19]RAPDU: 90 00 [23:57:19]wFMCommunicate OK [23:57:19]wFMCommunicate request_size=25 [23:57:19]MH_SAM_APDU [23:57:19]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 [23:57:19]Write to MH i2c: E2 1C 00 71 2F 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 8C [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:19]Read from MH i2c: E2 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 03 00 71 2F 00 90 00 14 [23:57:19]RAPDU: 90 00 [23:57:19]wFMCommunicate OK [23:57:19]wFMCommunicate request_size=4 [23:57:19]MH_SAM_APDU [23:57:19]CAPDU: 80 15 03 00 [23:57:19]Write to MH i2c: E2 08 00 72 2F 80 15 03 00 00 00 00 00 22 [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 FD 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 FD 00 72 2F 00 F2 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 45 56 00 00 0E 04 04 00 44 01 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CF [23:57:20]RAPDU: F2 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 45 56 00 00 0E 04 04 00 44 01 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:20]wFMCommunicate OK [23:57:20]SAM_PROTO_ProcessDocument answer len = 1266 [23:57:20]SAM_PROTO_ProcessDocument remain to read = 1018 [23:57:20]wFMCommunicate request_size=4 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 17 00 00 [23:57:20]Write to MH i2c: E2 08 00 73 2F 80 17 00 00 00 00 00 00 22 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 FD 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 FD 00 73 2F 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 68 [23:57:20]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:20]wFMCommunicate OK [23:57:20]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:20]SAM_PROTO_ProcessDocument remain to read = 768 [23:57:20]wFMCommunicate request_size=4 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 17 00 00 [23:57:20]Write to MH i2c: E2 08 00 74 2F 80 17 00 00 00 00 00 00 23 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:21]Read from MH i2c: E2 [23:57:21]MH_I2C_Read... [23:57:21]Read from MH i2c: E2 FD 00 [23:57:21]MH_I2C_Read... [23:57:21]Read from MH i2c: E2 FD 00 74 2F 00 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 90 00 85 [23:57:21]RAPDU: 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 90 00 [23:57:21]wFMCommunicate OK [23:57:21]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:21]SAM_PROTO_ProcessDocument remain to read = 518 [23:57:21]wFMCommunicate request_size=4 [23:57:21]MH_SAM_APDU [23:57:21]CAPDU: 80 17 00 00 [23:57:21]Write to MH i2c: E2 08 00 75 2F 80 17 00 00 00 00 00 00 24 [23:57:21]Write i2c OK [23:57:21]MH_I2C_Read... [23:57:21]OFD Sender: No OFD packet to send [23:57:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:21]Read from MH i2c: E2 [23:57:21]MH_I2C_Read... [23:57:21]Read from MH i2c: E2 FD 00 [23:57:21]MH_I2C_Read... [23:57:21]Read from MH i2c: E2 FD 00 75 2F 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BF [23:57:21]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:21]wFMCommunicate OK [23:57:21]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:21]SAM_PROTO_ProcessDocument remain to read = 268 [23:57:21]wFMCommunicate request_size=4 [23:57:21]MH_SAM_APDU [23:57:21]CAPDU: 80 17 00 00 [23:57:21]Write to MH i2c: E2 08 00 76 2F 80 17 00 00 00 00 00 00 25 [23:57:21]Write i2c OK [23:57:21]MH_I2C_Read... [23:57:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:22]Read from MH i2c: E2 [23:57:22]MH_I2C_Read... [23:57:22]Read from MH i2c: E2 FD 00 [23:57:22]MH_I2C_Read... [23:57:22]Read from MH i2c: E2 FD 00 76 2F 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DC [23:57:22]RAPDU: F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:22]wFMCommunicate OK [23:57:22]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:22]SAM_PROTO_ProcessDocument remain to read = 18 [23:57:22]wFMCommunicate request_size=4 [23:57:22]MH_SAM_APDU [23:57:22]CAPDU: 80 17 00 00 [23:57:22]Write to MH i2c: E2 08 00 77 2F 80 17 00 00 00 00 00 00 26 [23:57:22]Write i2c OK [23:57:22]MH_I2C_Read... [23:57:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 18! [23:57:22]Read from MH i2c: E2 [23:57:22]MH_I2C_Read... [23:57:22]Read from MH i2c: E2 15 00 [23:57:22]MH_I2C_Read... [23:57:22]Read from MH i2c: E2 15 00 77 2F 00 03 01 00 06 F7 03 00 00 35 04 06 00 BD 76 15 2C A0 6A 90 00 ED [23:57:22]RAPDU: 03 01 00 06 F7 03 00 00 35 04 06 00 BD 76 15 2C A0 6A 90 00 [23:57:22]wFMCommunicate OK [23:57:22]SAM_PROTO_ProcessDocument received (without SW) 18 bytes [23:57:22]SAM_PROTO_ProcessDocument done [23:57:22]1209 (1) - 1.0 - номер версии ФФД [23:57:22]1041 (16) - 0000000000965344 - номер ФМ [23:57:22]1040 (4) - 22085 - номер ФД [23:57:22]1038 (4) - 324 - номер смены [23:57:22]1118 (4) - 64 - количество кассовых чеков за смену [23:57:22]1111 (4) - 66 - общее количество ФД за смену [23:57:22]1194 (1195) - счетчики итогов смены [23:57:22] 1134 (4) - 64 - количество чеков со всеми признаками расчетов [23:57:22] 1129 (156) - счетчики операций «приход» [23:57:22] 1135 (4) - 64 - количество чеков по признаку расчетов [23:57:22] 1201 (3) - 33572.63 - общая итоговая сумма в чеках [23:57:22] 1136 (3) - 29619.00 - итоговая сумма в чеках наличными [23:57:22] 1138 (3) - 3953.63 - итоговая сумма в чеках безналичными [23:57:22] 1024 (123) - суммы налогов [23:57:22] 1006 (9) - суммы НДС [23:57:22] 1010 (1) - 0% - код ставки НДС [23:57:22] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:22] 1006 (12) - суммы НДС [23:57:22] 1010 (1) - 12% - код ставки НДС [23:57:22] 1011 (3) - 3565.43 - сумма НДС по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 0% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (11) - суммы НСП [23:57:22] 1014 (1) - 1% - код ставки НСП [23:57:22] 1015 (2) - 296.51 - сумма НСП по ставке [23:57:22] 1007 (10) - суммы НСП [23:57:22] 1014 (1) - 2% - код ставки НСП [23:57:22] 1015 (1) - 1.17 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 3% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 5% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 0,50% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 1,50% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1130 (141) - счетчики операций «возврат прихода» [23:57:22] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:22] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:22] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:22] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:22] 1024 (117) - суммы налогов [23:57:22] 1006 (9) - суммы НДС [23:57:22] 1010 (1) - 0% - код ставки НДС [23:57:22] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:22] 1006 (9) - суммы НДС [23:57:22] 1010 (1) - 12% - код ставки НДС [23:57:22] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 0% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 1% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 2% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 3% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 5% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 0,50% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 1,50% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1131 (141) - счетчики операций «расход» [23:57:22] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:22] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:22] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:22] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:22] 1024 (117) - суммы налогов [23:57:22] 1006 (9) - суммы НДС [23:57:22] 1010 (1) - 0% - код ставки НДС [23:57:22] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:22] 1006 (9) - суммы НДС [23:57:22] 1010 (1) - 12% - код ставки НДС [23:57:22] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 0% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 1% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 2% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 3% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 5% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 0,50% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 1,50% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1132 (141) - счетчики операций «возврат расхода» [23:57:22] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:22] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:22] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:22] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:22] 1024 (117) - суммы налогов [23:57:22] 1006 (9) - суммы НДС [23:57:22] 1010 (1) - 0% - код ставки НДС [23:57:22] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:22] 1006 (9) - суммы НДС [23:57:22] 1010 (1) - 12% - код ставки НДС [23:57:22] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 0% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 1% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 2% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 3% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 5% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 0,50% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1007 (9) - суммы НСП [23:57:22] 1014 (1) - 1,50% - код ставки НСП [23:57:22] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:22] 1133 (588) - - счетчики коррекции - не используются [23:57:22]1077 (6) - 208314859036778 - ФПД [23:57:22]SetTLVBufToDocument [23:57:22]Processing tag 1209 (04B9) [23:57:22]Malloc new data [23:57:22]Processing tag 1041 (0411) [23:57:22]Processing tag 1040 (0410) [23:57:22]Malloc new data [23:57:22]Processing tag 1038 (040E) [23:57:22]Malloc new data [23:57:22]Processing tag 1118 (045E) [23:57:22]Malloc new data [23:57:22]Processing tag 1111 (0457) [23:57:22]Malloc new data [23:57:22]Processing tag 1194 (04AA) [23:57:22]Load OK [23:57:22]SetTLVBufToDocument [23:57:22]Processing tag 1134 (046E) [23:57:22]Malloc new data [23:57:22]Processing tag 1129 (0469) [23:57:22]Load OK [23:57:22]SetTLVBufToDocument [23:57:23]Processing tag 1135 (046F) [23:57:23]Malloc new data [23:57:23]Processing tag 1201 (04B1) [23:57:23]Malloc new data [23:57:23]Processing tag 1136 (0470) [23:57:23]Malloc new data [23:57:23]Processing tag 1138 (0472) [23:57:23]Malloc new data [23:57:23]Processing tag 1024 (0400) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1006 (03EE) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1010 (03F2) [23:57:23]Malloc new data [23:57:23]Processing tag 1011 (03F3) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1006 (03EE) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1010 (03F2) [23:57:23]Malloc new data [23:57:23]Processing tag 1011 (03F3) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]SetTLVBufToDocument err=0 [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1130 (046A) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1135 (046F) [23:57:23]Malloc new data [23:57:23]Processing tag 1201 (04B1) [23:57:23]Malloc new data [23:57:23]Processing tag 1136 (0470) [23:57:23]Malloc new data [23:57:23]Processing tag 1138 (0472) [23:57:23]Malloc new data [23:57:23]Processing tag 1024 (0400) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1006 (03EE) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1010 (03F2) [23:57:23]Malloc new data [23:57:23]Processing tag 1011 (03F3) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1006 (03EE) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1010 (03F2) [23:57:23]Malloc new data [23:57:23]Processing tag 1011 (03F3) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]SetTLVBufToDocument err=0 [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1131 (046B) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1135 (046F) [23:57:23]Malloc new data [23:57:23]Processing tag 1201 (04B1) [23:57:23]Malloc new data [23:57:23]Processing tag 1136 (0470) [23:57:23]Malloc new data [23:57:23]Processing tag 1138 (0472) [23:57:23]Malloc new data [23:57:23]Processing tag 1024 (0400) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1006 (03EE) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1010 (03F2) [23:57:23]Malloc new data [23:57:23]Processing tag 1011 (03F3) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1006 (03EE) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1010 (03F2) [23:57:23]Malloc new data [23:57:23]Processing tag 1011 (03F3) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]SetTLVBufToDocument err=0 [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1132 (046C) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1135 (046F) [23:57:23]Malloc new data [23:57:23]Processing tag 1201 (04B1) [23:57:23]Malloc new data [23:57:23]Processing tag 1136 (0470) [23:57:23]Malloc new data [23:57:23]Processing tag 1138 (0472) [23:57:23]Malloc new data [23:57:23]Processing tag 1024 (0400) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1006 (03EE) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1010 (03F2) [23:57:23]Malloc new data [23:57:23]Processing tag 1011 (03F3) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1006 (03EE) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1010 (03F2) [23:57:23]Malloc new data [23:57:23]Processing tag 1011 (03F3) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1007 (03EF) [23:57:23]Load OK [23:57:23]SetTLVBufToDocument [23:57:23]Processing tag 1014 (03F6) [23:57:23]Malloc new data [23:57:23]Processing tag 1015 (03F7) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]SetTLVBufToDocument err=0 [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1133 (046D) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Processing tag 1077 (0435) [23:57:23]Malloc new data [23:57:23]SetTLVBufToDocument err=0 [23:57:23]Malloc new data [23:57:23]SAM_PROTO_GetFMData [23:57:23]wFMCommunicate request_size=4 [23:57:23]MH_SAM_APDU [23:57:23]CAPDU: 80 13 03 00 [23:57:23]Write to MH i2c: E2 08 00 78 2F 80 13 03 00 00 00 00 00 26 [23:57:23]Write i2c OK [23:57:23]MH_I2C_Read... [23:57:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:24]Read from MH i2c: E2 [23:57:24]MH_I2C_Read... [23:57:24]Read from MH i2c: E2 FD 00 [23:57:24]MH_I2C_Read... [23:57:24]Read from MH i2c: E2 FD 00 78 2F 00 C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 BA [23:57:24]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 [23:57:24]wFMCommunicate OK [23:57:24]wFMCommunicate request_size=4 [23:57:24]MH_SAM_APDU [23:57:24]CAPDU: 80 17 00 00 [23:57:24]Write to MH i2c: E2 08 00 79 2F 80 17 00 00 00 00 00 00 28 [23:57:24]Write i2c OK [23:57:24]MH_I2C_Read... [23:57:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:24]Read from MH i2c: E2 [23:57:24]MH_I2C_Read... [23:57:24]Read from MH i2c: E2 FD 00 [23:57:24]MH_I2C_Read... [23:57:24]Read from MH i2c: E2 FD 00 79 2F 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 33 [23:57:25]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 [23:57:25]wFMCommunicate OK [23:57:25]wFMCommunicate request_size=4 [23:57:25]MH_SAM_APDU [23:57:25]CAPDU: 80 17 00 00 [23:57:25]Write to MH i2c: E2 08 00 7A 2F 80 17 00 00 00 00 00 00 29 [23:57:25]Write i2c OK [23:57:25]MH_I2C_Read... [23:57:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:25]Read from MH i2c: E2 [23:57:25]MH_I2C_Read... [23:57:25]Read from MH i2c: E2 FD 00 [23:57:25]MH_I2C_Read... [23:57:25]Read from MH i2c: E2 FD 00 7A 2F 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 47 [23:57:25]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 [23:57:25]wFMCommunicate OK [23:57:25]wFMCommunicate request_size=4 [23:57:25]MH_SAM_APDU [23:57:25]CAPDU: 80 17 00 00 [23:57:25]Write to MH i2c: E2 08 00 7B 2F 80 17 00 00 00 00 00 00 2A [23:57:25]Write i2c OK [23:57:25]MH_I2C_Read... [23:57:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:26]Read from MH i2c: E2 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 FD 00 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 FD 00 7B 2F 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 9C [23:57:26]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 [23:57:26]wFMCommunicate OK [23:57:26]wFMCommunicate request_size=4 [23:57:26]MH_SAM_APDU [23:57:26]CAPDU: 80 17 00 00 [23:57:26]Write to MH i2c: E2 08 00 7C 2F 80 17 00 00 00 00 00 00 2B [23:57:26]Write i2c OK [23:57:26]MH_I2C_Read... [23:57:26]OFD Sender: No OFD packet to send [23:57:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:57:26]Read from MH i2c: E2 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 E0 00 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 E0 00 7C 2F 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 15 [23:57:26]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 [23:57:26]wFMCommunicate OK [23:57:26]SAM_PROTO_GetFMData done [23:57:26]Malloc new data [23:57:26]Malloc new data [23:57:26]Malloc new data [23:57:26]Malloc new data [23:57:26]KKMLoadAndSignCloseShiftData err=0 [23:57:26]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Кадыркулова Б. 13.06.2024 23:57 Смена: 324 РНМ: 0000000000099755 ЗНМ: 0300000200 СНО: Общий режим Чеков за смену: 64 ФД за смену: 66 Всего чеков: 64 ИТОГИ ПРИХОД Чеков: 64 Общий итог: 33572.63 Итого наличными: 29619.00 Итого безнал.: 3953.63 НДС 0% : 0.00 НДС 12% : 3565.43 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 1.17 НСП 1% : 296.51 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 29619.00 НС Приход: 6191572.14 НС Возвр.Прихода: 111600.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 22085 ФМ: 0000000000965344 ФПД: 208314859036778 [23:57:26]StoreToDocumentArchive [23:57:26]shift 324 fd 22085 [23:57:26]save to /storage/0324/doc_00022085 [23:57:26]save last doc name /storage/0324/doc_00022085 to /storage/kkm_last_doc_name [23:57:26]save OK [23:57:26]Clear old archive folders... [23:57:26]Remove dir /storage/0266 [23:57:26]opendir ok [23:57:26]file . [23:57:26]file .. [23:57:26]file doc_1718323005 [23:57:26]remove file /storage/0266/doc_1718323005 [23:57:26]remove dir /storage/0266 [23:57:26]NVStorageSaveData kkm_registers [23:57:26]File name is /storage/kkm_registers [23:57:26]Write 24 bytes [23:57:26]NVStorageSaveData done [23:57:26]NVStorageSaveData kkm_registers [23:57:26]File name is /storage/kkm_registers [23:57:26]Write 24 bytes [23:57:26]NVStorageSaveData done [23:57:26]ProcessDocumentItem done err = 0, tmpTLVsize=1385 [23:57:26]tlvbuf is 003F9780 [23:57:26]SAM_PROTO_ClearQueue [23:57:26]wFMCommunicate request_size=4 [23:57:26]MH_SAM_APDU [23:57:26]CAPDU: 80 09 00 00 [23:57:26]Write to MH i2c: E2 08 00 7D 2F 80 09 00 00 00 00 00 00 1E [23:57:26]Write i2c OK [23:57:26]MH_I2C_Read... [23:57:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:57:26]Read from MH i2c: E2 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 03 00 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 03 00 7D 2F 00 90 00 20 [23:57:26]RAPDU: 90 00 [23:57:26]wFMCommunicate OK [23:57:26]SAM_PROTO_ClearQueue done [23:57:26]KKMCreateOFDPacket [23:57:26]OFDProtocolAddRootSTLVToBuf [23:57:26]FM_MakeSignedData [23:57:26]FM_MakeSignedData [23:57:27]SAM_PROTO_SignData [23:57:27]wFMCommunicate request_size=4 [23:57:27]MH_SAM_APDU [23:57:27]CAPDU: 80 0D 01 02 [23:57:27]Write to MH i2c: E2 08 00 7E 2F 80 0D 01 02 00 00 00 00 26 [23:57:27]Write i2c OK [23:57:27]MH_I2C_Read... [23:57:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:57:27]Read from MH i2c: E2 [23:57:27]MH_I2C_Read... [23:57:27]Read from MH i2c: E2 03 00 [23:57:27]MH_I2C_Read... [23:57:27]Read from MH i2c: E2 03 00 7E 2F 00 90 00 21 [23:57:27]RAPDU: 90 00 [23:57:27]wFMCommunicate OK [23:57:27]wFMCommunicate request_size=255 [23:57:27]MH_SAM_APDU [23:57:27]CAPDU: 80 0D 02 02 FA 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 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 F4 03 04 00 6A 87 6B 66 0E 04 04 00 44 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 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 D5 04 6E 04 04 00 40 00 00 00 69 04 A2 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 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 BF 70 05 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 [23:57:27]Write to MH i2c: E2 02 01 7F 2F 80 0D 02 02 FA 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 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 F4 03 04 00 6A 87 6B 66 0E 04 04 00 44 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 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 D5 04 6E 04 04 00 40 00 00 00 69 04 A2 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 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 BF 70 05 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 00 00 36 [23:57:27]Write i2c OK [23:57:27]MH_I2C_Read... [23:57:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:27]Read from MH i2c: E2 [23:57:27]MH_I2C_Read... [23:57:27]Read from MH i2c: E2 03 00 [23:57:27]MH_I2C_Read... [23:57:27]Read from MH i2c: E2 03 00 7F 2F 00 90 00 22 [23:57:27]RAPDU: 90 00 [23:57:27]wFMCommunicate OK [23:57:27]wFMCommunicate request_size=255 [23:57:27]MH_SAM_APDU [23:57:27]CAPDU: 80 0D 02 02 FA 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D3 73 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 [23:57:27]Write to MH i2c: E2 02 01 80 2F 80 0D 02 02 FA 00 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D3 73 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 00 00 51 [23:57:28]Write i2c OK [23:57:28]MH_I2C_Read... [23:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:28]Read from MH i2c: E2 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 80 2F 00 90 00 23 [23:57:28]RAPDU: 90 00 [23:57:28]wFMCommunicate OK [23:57:28]wFMCommunicate request_size=255 [23:57:28]MH_SAM_APDU [23:57:28]CAPDU: 80 0D 02 02 FA 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 [23:57:28]Write to MH i2c: E2 02 01 81 2F 80 0D 02 02 FA 00 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 00 00 F0 [23:57:28]Write i2c OK [23:57:28]MH_I2C_Read... [23:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:28]Read from MH i2c: E2 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 81 2F 00 90 00 24 [23:57:28]RAPDU: 90 00 [23:57:28]wFMCommunicate OK [23:57:28]wFMCommunicate request_size=255 [23:57:28]MH_SAM_APDU [23:57:28]CAPDU: 80 0D 02 02 FA 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 [23:57:29]Write to MH i2c: E2 02 01 82 2F 80 0D 02 02 FA 00 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 00 00 FA [23:57:29]Write i2c OK [23:57:29]MH_I2C_Read... [23:57:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:29]Read from MH i2c: E2 [23:57:29]MH_I2C_Read... [23:57:29]Read from MH i2c: E2 03 00 [23:57:29]MH_I2C_Read... [23:57:29]Read from MH i2c: E2 03 00 82 2F 00 90 00 25 [23:57:29]RAPDU: 90 00 [23:57:29]wFMCommunicate OK [23:57:29]wFMCommunicate request_size=255 [23:57:29]MH_SAM_APDU [23:57:29]CAPDU: 80 0D 02 02 FA F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:57:29]Write to MH i2c: E2 02 01 83 2F 80 0D 02 02 FA 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 BB [23:57:30]Write i2c OK [23:57:30]MH_I2C_Read... [23:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:30]Read from MH i2c: E2 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 03 00 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 03 00 83 2F 00 90 00 26 [23:57:30]RAPDU: 90 00 [23:57:30]wFMCommunicate OK [23:57:30]wFMCommunicate request_size=144 [23:57:30]MH_SAM_APDU [23:57:30]CAPDU: 80 0D 02 02 8B 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 45 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 BD 76 15 2C A0 6A [23:57:30]Write to MH i2c: E2 93 00 84 2F 80 0D 02 02 8B 00 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 45 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 BD 76 15 2C A0 6A 00 00 82 [23:57:30]Write i2c OK [23:57:30]MH_I2C_Read... [23:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:30]Read from MH i2c: E2 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 03 00 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 03 00 84 2F 00 90 00 27 [23:57:30]RAPDU: 90 00 [23:57:30]wFMCommunicate OK [23:57:30]wFMCommunicate request_size=4 [23:57:30]MH_SAM_APDU [23:57:30]CAPDU: 80 0D 03 02 [23:57:30]Write to MH i2c: E2 08 00 85 2F 80 0D 03 02 00 00 00 00 2F [23:57:30]Write i2c OK [23:57:30]MH_I2C_Read... [23:57:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:57:30]Read from MH i2c: E2 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 0B 00 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 0B 00 85 2F 00 AB A3 9A D8 77 CB AC 30 90 00 0E [23:57:30]RAPDU: AB A3 9A D8 77 CB AC 30 90 00 [23:57:30]wFMCommunicate OK [23:57:30]SAM_PROTO_SignData done [23:57:30]FM_MakeSignedData done [23:57:30]CreateOFDProtocolMessage [23:57:30]wFMCommunicate request_size=4 [23:57:30]MH_SAM_APDU [23:57:30]CAPDU: 80 11 00 00 [23:57:30]Write to MH i2c: E2 08 00 86 2F 80 11 00 00 00 00 00 00 2F [23:57:30]Write i2c OK [23:57:30]MH_I2C_Read... [23:57:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:30]Read from MH i2c: E2 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 17 00 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 17 00 86 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 81 [23:57:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:57:30]wFMCommunicate OK [23:57:30]CreateOFDProtocolMessage done [23:57:30]OFDSenderStorePacket 22085 [23:57:30]StoreOFDPacket docnum=22085 [23:57: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 7D 05 00 00 12 D6 75 05 F1 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 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 F4 03 04 00 6A 87 6B 66 0E 04 04 00 44 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 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 D5 04 6E 04 04 00 40 00 00 00 69 04 A2 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 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 BF 70 05 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 75 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D3 73 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 45 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 BD 76 15 2C A0 6A AB A3 9A D8 77 CB AC 30 [23:57:31]CheckFolder [23:57:31]dirname=/storage/ofd_packets [23:57:31]CheckFolder done [23:57:31]ProducePacketName [23:57:31]name=ofd_packets/00022085 [23:57:31]NVStorageSaveData ofd_packets/00022085 [23:57:31]File name is /storage/ofd_packets/00022085 [23:57:31]Write 1435 bytes [23:57:31]NVStorageSaveData done [23:57:31]OFDSenderStorePacket done [23:57:31]KKMCreateOFDPacket done [23:57:31]NVStorageSaveData kkm_last_timestamp [23:57:31]File name is /storage/kkm_last_timestamp [23:57:31]Write 4 bytes [23:57:31]NVStorageSaveData done [23:57:31]ExternCall_PrintAddStr [23:57:31]wPrintStart [23:57:31]Write to MH i2c: 01 00 00 87 2F B6 [23:57:31]Write i2c OK [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: 01 [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: 01 07 00 [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: 01 07 00 87 2F 00 00 00 00 00 FF 0F CB [23:57:31]RasterBufferAndPrint [23:57:31]line Отчет о закрытии смены [23:57:31]line ФФД: 1.0 [23:57:31]line ИНН: 02508201610067 [23:57:31]line Кассир: Кадыркулова Б. [23:57:31]line 13.06.2024 23:57 [23:57:31]line Смена: 324 [23:57:31]line РНМ: 0000000000099755 [23:57:31]line ЗНМ: 0300000200 [23:57:31]line СНО: Общий режим [23:57:31]line Чеков за смену: 64 [23:57:31]line ФД за смену: 66 [23:57:31]line Всего чеков: 64 [23:57:31]line ИТОГИ ПРИХОД [23:57:31]line Чеков: 64 [23:57:31]line Общий итог: 33572.63 [23:57:31]line Итого наличными: 29619.00 [23:57:31]line Итого безнал.: 3953.63 [23:57:31]line НДС 0% : 0.00 [23:57:31]line НДС 12% : 3565.43 [23:57:31]line НСП 0% : 0.00 [23:57:31]line НСП 1,50% : 0.00 [23:57:31]line НСП 0,50% : 0.00 [23:57:31]line НСП 5% : 0.00 [23:57:31]line НСП 3% : 0.00 [23:57:31]line НСП 2% : 1.17 [23:57:31]line НСП 1% : 296.51 [23:57:31]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:57:31]line Чеков: 0 [23:57:31]line Общий итог: 0.00 [23:57:31]line Итого наличными: 0.00 [23:57:31]line Итого безнал.: 0.00 [23:57:31]line НДС 0% : 0.00 [23:57:31]line НДС 12% : 0.00 [23:57:31]line НСП 0% : 0.00 [23:57:31]line НСП 1,50% : 0.00 [23:57:31]line НСП 0,50% : 0.00 [23:57:31]line НСП 5% : 0.00 [23:57:31]line НСП 3% : 0.00 [23:57:31]line НСП 2% : 0.00 [23:57:31]line НСП 1% : 0.00 [23:57:31]line ИТОГИ РАСХОД [23:57:31]line Чеков: 0 [23:57:31]line Общий итог: 0.00 [23:57:31]line Итого наличными: 0.00 [23:57:31]line Итого безнал.: 0.00 [23:57:31]line НДС 0% : 0.00 [23:57:31]line НДС 12% : 0.00 [23:57:31]line НСП 0% : 0.00 [23:57:31]line НСП 1,50% : 0.00 [23:57:31]line НСП 0,50% : 0.00 [23:57:31]line НСП 5% : 0.00 [23:57:31]line НСП 3% : 0.00 [23:57:31]line НСП 2% : 0.00 [23:57:31]line НСП 1% : 0.00 [23:57:31]line ИТОГИ ВОЗВРАТ РАСХОДА [23:57:31]line Чеков: 0 [23:57:31]OFD Sender: Processing packet 22085 [packets to send 5, broken 4] [23:57:31]ProducePacketName [23:57:31]name=ofd_packets/00022085 [23:57:31]OFD Sender: To server: pG, [23:57:31]CommunicateWithHost lk.salyk.kg:30040 [23:57:31]ConnectInit lk.salyk.kg [23:57:31]line Общий итог: 0.00 [23:57:31]line Итого наличными: 0.00 [23:57:31]line Итого безнал.: 0.00 [23:57:31]line НДС 0% : 0.00 [23:57:31]line НДС 12% : 0.00 [23:57:31]line НСП 0% : 0.00 [23:57:31]line НСП 1,50% : 0.00 [23:57:31]line НСП 0,50% : 0.00 [23:57:31]line НСП 5% : 0.00 [23:57:31]line НСП 3% : 0.00 [23:57:31]line НСП 2% : 0.00 [23:57:31]line НСП 1% : 0.00 [23:57:31]line Сумма внесений: 0.00 [23:57:31]line Сумма выплат: 0.00 [23:57:31]line Нал. в кассе: 29619.00 [23:57:31]line НС Приход: 6191572.14 [23:57:31]line НС Возвр.Прихода: 111600.00 [23:57:31]line НС Расход: 0.00 [23:57:31]line НС Возвр.Расхода: 0.00 [23:57:31]line ФД: 22085 [23:57:31]line ФМ: 0000000000965344 [23:57:31]line ФПД: 208314859036778 [23:57:31]written 0, free lines is 4095 [23:57:31]Connected sock=10 [23:57: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 7D 05 00 00 12 D6 75 05 F1 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 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 F4 03 04 00 6A 87 6B 66 0E 04 04 00 44 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 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 D5 04 6E 04 04 00 40 00 00 00 69 04 A2 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 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 BF 70 05 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 75 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D3 73 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 Write to MH i2c: EF 01 03 00 09 00 00 D7 F6 2F 03 06 01 [23:57:32]00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 Write i2c OK [23:57:32]03 MH_I2C_Read... [23:57:32]F7 Read from MH i2c: 03 01 00 [23:57:32]00 MH_I2C_Read... [23:57:32]EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 Read from MH i2c: 09 01 00 07 F6 00 03 [23:57:32]01 MH_I2C_Read... [23:57:32]00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 Read from MH i2c: 00 01 00 07 D0 00 04 D7 8D 2F 00 00 6F 00 04 00 04 00 00 00 00 C0 00 0B 00 D8 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 [23:57:32]75 RasterBufferAndPrint [23:57:32]00 line [23:57:32]EE line [23:57:32]03 line [23:57:32]09 line [23:57:32]00 line [23:57:32]F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 written 0, free lines is 3170 [23:57:32]01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 MH_Cut [23:57:32]00 Write to MH i2c: 00 D1 01 F7 00 03 DE 00 2F 00 01 EF DF 03 [23:57:32]09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 Write i2c OK [23:57:32]00 MH_I2C_Read... [23:57:32]02 Read from MH i2c: F7 D1 03 [23:57:32]00 MH_I2C_Read... [23:57:32]00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Read from MH i2c: D1 01 00 [23:57:32]MH_I2C_Read... [23:57:32]00 EF 03 09 00 F6 03 01 Read from MH i2c: 00 D1 00 01 F7 00 03 DE 00 2F 00 00 EF DE 03 [23:57:32]09 Write to MH i2c: 00 01 F6 00 03 00 01 DF 00 2F 01 0E F7 [23:57:32]03 00 Write i2c OK [23:57:32]00 MH_I2C_Read... [23:57:32]EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 45 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 BD 76 15 2C A0 6A AB A3 9A D8 77 CB AC 30 [23:57: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 DF 89 47 00 11 61 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 45 56 00 00 F4 03 04 00 37 30 6B 66 B6 04 01 00 00 50 6A 22 19 00 F1 E5 94 [23:57:33]CommunicateWithHost err = 0 [23:57:33]CheckOFDResponse [23:57:33]1017 (14) - 77093643461234 [23:57:33]1041 (16) - 0000000000965344 [23:57:33]1040 (4) - 22085 [23:57:33]1012 (4) - 13.06.2024 17:45 [23:57:33]1206 (1) - 0 [23:57:33]OFD Sender: Remove packet 22085 [23:57:33]ProducePacketName [23:57:33]name=ofd_packets/00022085 [23:57:33]NVStorageDeleteData [23:57:33]*** Cut start [23:57:33]*** Partial cut [23:57:33]*** CUTSNS_PIN = 1 [23:57:33]*** CUTSNS_PIN = 0 [23:57:33]*** Brake cut motor [23:57:33]OFD Sender: No OFD packet to send [23:57:33]Read from MH i2c: 01 [23:57:33]MH_I2C_Read... [23:57:33]*** Stop cut motor [23:57:33]*** Cut end [23:57:33]Read from MH i2c: 01 07 00 [23:57:33]MH_I2C_Read... [23:57:33]Read from MH i2c: 01 07 00 DF 2F 00 00 00 00 00 FF 0F 23 [23:57:33]process_action close_shift done [23:57:33]requested_data is exist [23:57:33]produce_requested_data [23:57:33]requested_item fd.num is exist - process it [23:57:33]SAM_PROTO_GetFieldsCounters [23:57:33]wFMCommunicate request_size=4 [23:57:33]MH_SAM_APDU [23:57:33]CAPDU: 80 13 00 00 [23:57:33]Write to MH i2c: E2 08 00 E0 2F 80 13 00 00 00 00 00 00 8B [23:57:33]Write i2c OK [23:57:33]MH_I2C_Read... [23:57:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:33]Read from MH i2c: E2 [23:57:33]MH_I2C_Read... [23:57:33]Read from MH i2c: E2 62 00 [23:57:33]MH_I2C_Read... [23:57:33]Read from MH i2c: E2 62 00 E0 2F 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 45 56 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 56 [23:57: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 45 56 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:34]wFMCommunicate OK [23:57:34]SAM_PROTO_GetFieldsCounters done [23:57:34]requested_item shift.num is exist - process it [23:57:34]requested_item shift.opened is exist - process it [23:57:34]req_shift_opened [23:57:34]FM_GetShiftState [23:57:34]SAM_PROTO_GetShiftState [23:57:34]wFMCommunicate request_size=4 [23:57:34]MH_SAM_APDU [23:57:34]CAPDU: 80 13 01 00 [23:57:34]Write to MH i2c: E2 08 00 E1 2F 80 13 01 00 00 00 00 00 8D [23:57:34]Write i2c OK [23:57:34]MH_I2C_Read... [23:57:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:34]Read from MH i2c: E2 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: E2 0E 00 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: E2 0E 00 E1 2F 00 09 00 00 00 00 00 00 00 00 00 00 90 00 98 [23:57:34]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:57:34]wFMCommunicate OK [23:57:34]SAM_PROTO_GetShiftState done [23:57:34]FM_GetShiftState done [23:57:34]req_shift_opened done [23:57:34]requested_item shift.open_date is exist - process it [23:57:34]req_shift_open_date [23:57:34]FM_GetShiftState [23:57:34]SAM_PROTO_GetShiftState [23:57:34]wFMCommunicate request_size=4 [23:57:34]MH_SAM_APDU [23:57:34]CAPDU: 80 13 01 00 [23:57:34]Write to MH i2c: E2 08 00 E2 2F 80 13 01 00 00 00 00 00 8E [23:57:34]Write i2c OK [23:57:34]MH_I2C_Read... [23:57:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:34]Read from MH i2c: E2 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: E2 0E 00 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: E2 0E 00 E2 2F 00 09 00 00 00 00 00 00 00 00 00 00 90 00 99 [23:57:34]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:57:34]wFMCommunicate OK [23:57:34]SAM_PROTO_GetShiftState done [23:57:34]FM_GetShiftState done [23:57:34]req_shift_open_date done [23:57:34]produce_requested_data done [23:57:34]produce_requested_data return {"fd.num":22085,"shift.num":324,"shift.opened":0,"shift.open_date":0} [23:57:34]process_action_free close_shift [23:57:34]json_value_free [23:57:34]json_value_free done [23:57:34]process_json_proto returns [23:57:34]Send response to host [23:57:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22085,"shift.num":324,"shift.opened":0,"shift.open_date":0}}} [23:57:34]free response buf [23:57:34]execute_script done [23:57:34]execute_script returns [23:57:34]free content buf [23:57:34]Sock 9.Close socket [23:57:34]Sock 9.Thread stoped [23:57:38]OFD Sender: No OFD packet to send [23:57:43]OFD Sender: No OFD packet to send [23:57:48]OFD Sender: No OFD packet to send [23:57:53]OFD Sender: No OFD packet to send [23:57:58]OFD Sender: No OFD packet to send [23:58:03]OFD Sender: No OFD packet to send [23:58:08]OFD Sender: No OFD packet to send [23:58:13]OFD Sender: No OFD packet to send [23:58:18]OFD Sender: No OFD packet to send [23:58:23]OFD Sender: No OFD packet to send [23:58:28]OFD Sender: No OFD packet to send [23:58:33]OFD Sender: No OFD packet to send [23:58:38]OFD Sender: No OFD packet to send [23:58:43]OFD Sender: No OFD packet to send [23:58:48]OFD Sender: No OFD packet to send [23:58:53]OFD Sender: No OFD packet to send [23:58:58]OFD Sender: No OFD packet to send [23:59:03]OFD Sender: No OFD packet to send [23:59:08]OFD Sender: No OFD packet to send [23:59:13]OFD Sender: No OFD packet to send [23:59:18]OFD Sender: No OFD packet to send [23:59:23]OFD Sender: No OFD packet to send [23:59:28]OFD Sender: No OFD packet to send [23:59:33]OFD Sender: No OFD packet to send [23:59:38]OFD Sender: No OFD packet to send [23:59:43]OFD Sender: No OFD packet to send [23:59:48]OFD Sender: No OFD packet to send [23:59:53]OFD Sender: No OFD packet to send [23:59:58]OFD Sender: No OFD packet to send [00:00:03]OFD Sender: No OFD packet to send [00:00:08]OFD Sender: No OFD packet to send [00:00:13]OFD Sender: No OFD packet to send [00:00:18]OFD Sender: No OFD packet to send [00:00:23]OFD Sender: No OFD packet to send [00:00:28]OFD Sender: No OFD packet to send [00:00:33]OFD Sender: No OFD packet to send [00:00:38]OFD Sender: No OFD packet to send [00:00:43]OFD Sender: No OFD packet to send [00:00:48]OFD Sender: No OFD packet to send [00:00:53]OFD Sender: No OFD packet to send [00:00:58]OFD Sender: No OFD packet to send [00:01:03]OFD Sender: No OFD packet to send [00:01:08]OFD Sender: No OFD packet to send [00:01:13]OFD Sender: No OFD packet to send [00:01:18]OFD Sender: No OFD packet to send [00:01:23]OFD Sender: No OFD packet to send [00:01:28]OFD Sender: No OFD packet to send [00:01:33]OFD Sender: No OFD packet to send [00:01:38]OFD Sender: No OFD packet to send [00:01:43]OFD Sender: No OFD packet to send [00:01:48]OFD Sender: No OFD packet to send [00:01:53]OFD Sender: No OFD packet to send [00:01:58]OFD Sender: No OFD packet to send [00:02:03]OFD Sender: No OFD packet to send [00:02:08]OFD Sender: No OFD packet to send [00:02:13]OFD Sender: No OFD packet to send [00:02:18]OFD Sender: No OFD packet to send [00:02:23]OFD Sender: No OFD packet to send [00:02:28]OFD Sender: No OFD packet to send [00:02:33]OFD Sender: No OFD packet to send [00:02:38]OFD Sender: No OFD packet to send [00:02:43]OFD Sender: No OFD packet to send [00:02:48]OFD Sender: No OFD packet to send [00:02:53]OFD Sender: No OFD packet to send [00:02:58]OFD Sender: No OFD packet to send [00:03:03]OFD Sender: No OFD packet to send [00:03:08]OFD Sender: No OFD packet to send [00:03:13]OFD Sender: No OFD packet to send [00:03:18]OFD Sender: No OFD packet to send [00:03:23]OFD Sender: No OFD packet to send [00:03:28]OFD Sender: No OFD packet to send [00:03:33]OFD Sender: No OFD packet to send [00:03:38]OFD Sender: No OFD packet to send [00:03:43]OFD Sender: No OFD packet to send [00:03:48]OFD Sender: No OFD packet to send [00:03:53]OFD Sender: No OFD packet to send [00:03:58]OFD Sender: No OFD packet to send [00:04:03]OFD Sender: No OFD packet to send [00:04:08]OFD Sender: No OFD packet to send [00:04:13]OFD Sender: No OFD packet to send [00:04:18]OFD Sender: No OFD packet to send [00:04:23]OFD Sender: No OFD packet to send [00:04:28]OFD Sender: No OFD packet to send [00:04:33]OFD Sender: No OFD packet to send [00:04:38]OFD Sender: No OFD packet to send [00:04:43]OFD Sender: No OFD packet to send [00:04:48]OFD Sender: No OFD packet to send [00:04:53]OFD Sender: No OFD packet to send [00:04:58]OFD Sender: No OFD packet to send [00:05:03]OFD Sender: No OFD packet to send [00:05:08]OFD Sender: No OFD packet to send [00:05:13]OFD Sender: No OFD packet to send [00:05:19]OFD Sender: No OFD packet to send [00:05:24]OFD Sender: No OFD packet to send [00:05:29]OFD Sender: No OFD packet to send [00:05:34]OFD Sender: No OFD packet to send [00:05:39]OFD Sender: No OFD packet to send [00:05:44]OFD Sender: No OFD packet to send [00:05:49]OFD Sender: No OFD packet to send [00:05:54]OFD Sender: No OFD packet to send [00:05:59]OFD Sender: No OFD packet to send [00:06:04]OFD Sender: No OFD packet to send [00:06:09]OFD Sender: No OFD packet to send [00:06:14]OFD Sender: No OFD packet to send [00:06:19]OFD Sender: No OFD packet to send [00:06:24]OFD Sender: No OFD packet to send [00:06:29]OFD Sender: No OFD packet to send [00:06:34]OFD Sender: No OFD packet to send [00:06:39]OFD Sender: No OFD packet to send [00:06:44]OFD Sender: No OFD packet to send [00:06:49]OFD Sender: No OFD packet to send [00:06:54]OFD Sender: No OFD packet to send [00:06:59]OFD Sender: No OFD packet to send [00:07:04]OFD Sender: No OFD packet to send [00:07:09]OFD Sender: No OFD packet to send [00:07:14]OFD Sender: No OFD packet to send [00:07:19]OFD Sender: No OFD packet to send [00:07:24]OFD Sender: No OFD packet to send [00:07:29]OFD Sender: No OFD packet to send [00:07:34]OFD Sender: No OFD packet to send [00:07:39]OFD Sender: No OFD packet to send [00:07:44]OFD Sender: No OFD packet to send [00:07:49]OFD Sender: No OFD packet to send [00:07:54]OFD Sender: No OFD packet to send [00:07:59]OFD Sender: No OFD packet to send [00:08:04]OFD Sender: No OFD packet to send [00:08:09]OFD Sender: No OFD packet to send [00:08:14]OFD Sender: No OFD packet to send [00:08:19]OFD Sender: No OFD packet to send [00:08:24]OFD Sender: No OFD packet to send [00:08:29]OFD Sender: No OFD packet to send [00:08:34]OFD Sender: No OFD packet to send [00:08:39]OFD Sender: No OFD packet to send [00:08:44]OFD Sender: No OFD packet to send [00:08:49]OFD Sender: No OFD packet to send [00:08:54]OFD Sender: No OFD packet to send [00:08:59]OFD Sender: No OFD packet to send [00:09:04]OFD Sender: No OFD packet to send [00:09:09]OFD Sender: No OFD packet to send [00:09:14]OFD Sender: No OFD packet to send [00:09:19]OFD Sender: No OFD packet to send [00:09:24]OFD Sender: No OFD packet to send [00:09:29]OFD Sender: No OFD packet to send [00:09:34]OFD Sender: No OFD packet to send [00:09:39]OFD Sender: No OFD packet to send [00:09:44]OFD Sender: No OFD packet to send [00:09:49]OFD Sender: No OFD packet to send [00:09:54]OFD Sender: No OFD packet to send [00:09:59]OFD Sender: No OFD packet to send [00:10:04]OFD Sender: No OFD packet to send [00:10:09]OFD Sender: No OFD packet to send [00:10:14]OFD Sender: No OFD packet to send [00:10:19]OFD Sender: No OFD packet to send [00:10:24]OFD Sender: No OFD packet to send [00:10:29]OFD Sender: No OFD packet to send [00:10:34]OFD Sender: No OFD packet to send [00:10:39]OFD Sender: No OFD packet to send [00:10:44]OFD Sender: No OFD packet to send [00:10:49]OFD Sender: No OFD packet to send [00:10:54]OFD Sender: No OFD packet to send [00:10:59]OFD Sender: No OFD packet to send [00:11:04]OFD Sender: No OFD packet to send [00:11:09]OFD Sender: No OFD packet to send [00:11:14]OFD Sender: No OFD packet to send [00:11:19]OFD Sender: No OFD packet to send [00:11:24]OFD Sender: No OFD packet to send [00:11:29]OFD Sender: No OFD packet to send [00:11:34]OFD Sender: No OFD packet to send [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:34]OFD Sender: No OFD packet to send [00:14:39]OFD Sender: No OFD packet to send [00:14:44]OFD Sender: No OFD packet to send [00:14:49]OFD Sender: No OFD packet to send [00:14:54]OFD Sender: No OFD packet to send [00:14:59]OFD Sender: No OFD packet to send [00:15:04]OFD Sender: No OFD packet to send [00:15:09]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:04]OFD Sender: No OFD packet to send [00:16:09]OFD Sender: No OFD packet to send [00:16:14]OFD Sender: No OFD packet to send [00:16:19]OFD Sender: No OFD packet to send [00:16:24]OFD Sender: No OFD packet to send [00:16:29]OFD Sender: No OFD packet to send [00:16:34]OFD Sender: No OFD packet to send [00:16:39]OFD Sender: No OFD packet to send [00:16:44]OFD Sender: No OFD packet to send [00:16:49]OFD Sender: No OFD packet to send [00:16:54]OFD Sender: No OFD packet to send [00:16:59]OFD Sender: No OFD packet to send [00:17:04]OFD Sender: No OFD packet to send [00:17:09]OFD Sender: No OFD packet to send [00:17:14]OFD Sender: No OFD packet to send [00:17:19]OFD Sender: No OFD packet to send [00:17:24]OFD Sender: No OFD packet to send [00:17:29]OFD Sender: No OFD packet to send [00:17:34]OFD Sender: No OFD packet to send [00:17:39]OFD Sender: No OFD packet to send [00:17:44]OFD Sender: No OFD packet to send [00:17:49]OFD Sender: No OFD packet to send [00:17:54]OFD Sender: No OFD packet to send [00:17:59]OFD Sender: No OFD packet to send [00:18:04]OFD Sender: No OFD packet to send [00:18:09]OFD Sender: No OFD packet to send [00:18:14]OFD Sender: No OFD packet to send [00:18:19]OFD Sender: No OFD packet to send [00:18:24]OFD Sender: No OFD packet to send [00:18:29]OFD Sender: No OFD packet to send [00:18:34]OFD Sender: No OFD packet to send [00:18:39]OFD Sender: No OFD packet to send [00:18:44]OFD Sender: No OFD packet to send [00:18:49]OFD Sender: No OFD packet to send [00:18:54]OFD Sender: No OFD packet to send [00:18:59]OFD Sender: No OFD packet to send [00:19:04]OFD Sender: No OFD packet to send [00:19:09]OFD Sender: No OFD packet to send [00:19:14]OFD Sender: No OFD packet to send [00:19:19]OFD Sender: No OFD packet to send [00:19:24]OFD Sender: No OFD packet to send [00:19:29]OFD Sender: No OFD packet to send [00:19:34]OFD Sender: No OFD packet to send [00:19:39]OFD Sender: No OFD packet to send [00:19:44]OFD Sender: No OFD packet to send [00:19:49]OFD Sender: No OFD packet to send [00:19:54]OFD Sender: No OFD packet to send [00:19:59]OFD Sender: No OFD packet to send [00:20:04]OFD Sender: No OFD packet to send [00:20:09]OFD Sender: No OFD packet to send [00:20:14]OFD Sender: No OFD packet to send [00:20:19]OFD Sender: No OFD packet to send [00:20:24]OFD Sender: No OFD packet to send [00:20:29]OFD Sender: No OFD packet to send [00:20:34]OFD Sender: No OFD packet to send [00:20:39]OFD Sender: No OFD packet to send [00:20:44]OFD Sender: No OFD packet to send [00:20:49]OFD Sender: No OFD packet to send [00:20:54]OFD Sender: No OFD packet to send [00:20:59]OFD Sender: No OFD packet to send [00:21:04]OFD Sender: No OFD packet to send [00:21:09]OFD Sender: No OFD packet to send [00:21:14]OFD Sender: No OFD packet to send [00:21:19]OFD Sender: No OFD packet to send [00:21:24]OFD Sender: No OFD packet to send [00:21:29]OFD Sender: No OFD packet to send [00:21:34]OFD Sender: No OFD packet to send [00:21:39]OFD Sender: No OFD packet to send [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:27]accept exits with 8 [00:25:27]New connection [00:25:27]New thread 3067321700 created [00:25:27]Thread 3067178340 joined [00:25:27]Waiting for new connection... [00:25:27] Sock 8.Parse request [00:25:27]Sock 8.Check first char [00:25:27]Sock 8.First char is OK [00:25:27]request: POST /json_proto HTTP/1.0 [00:25:27]Method: POST [00:25:27]URL: /json_proto [00:25:27]Method is POST - this is cgi request [00:25:27]url: /json_proto [00:25:27]query_string will be loaded in cgi processing [00:25:27]execute_cgi json_proto POST (null) [00:25:27]execute_cgi path=json_proto method=POST [00:25:27]POST find Content-Length [00:25:27]Host: 172.17.35.133:8080 [00:25:27]Content-Length: 215 [00:25:27]Content-Type: application/json [00:25:27] [00:25:27]POST finish read [00:25:27]Found Content-Length = 215 [00:25: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:25:27]execute_script... [00:25: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:25:27]POST & json_proto [00:25:27]process_json_proto [00:25:27]json parsed OK: [00:25:27]protocol is kg_v1.0 [00:25:27]action value=get_value [00:25:27]process_action get_value [00:25:27]cmd_get_value [00:25:27]process_action get_value done [00:25:27]requested_data is exist [00:25:27]produce_requested_data [00:25:27]requested_item kkm.sn is exist - process it [00:25:27]requested_item kkm.ver is exist - process it [00:25:27]requested_item fm.sn is exist - process it [00:25:27]wFMCommunicate request_size=4 [00:25:27]MH_SAM_APDU [00:25:27]CAPDU: 80 11 00 00 [00:25:27]Write to MH i2c: E2 08 00 E3 2F 80 11 00 00 00 00 00 00 8C [00:25:27]Write i2c OK [00:25:27]MH_I2C_Read... [00:25:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:25:27]Read from MH i2c: E2 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 17 00 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 17 00 E3 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 DE [00:25: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:25:27]wFMCommunicate OK [00:25:27]requested_item fd.num is exist - process it [00:25:27]SAM_PROTO_GetFieldsCounters [00:25:27]wFMCommunicate request_size=4 [00:25:27]MH_SAM_APDU [00:25:27]CAPDU: 80 13 00 00 [00:25:27]Write to MH i2c: E2 08 00 E4 2F 80 13 00 00 00 00 00 00 8F [00:25:27]Write i2c OK [00:25:27]MH_I2C_Read... [00:25:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:25:27]Read from MH i2c: E2 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 62 00 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 62 00 E4 2F 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 45 56 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 5A [00:25: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 45 56 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:25:27]wFMCommunicate OK [00:25:27]SAM_PROTO_GetFieldsCounters done [00:25:27]requested_item shift.num is exist - process it [00:25:27]requested_item shift.opened is exist - process it [00:25:27]req_shift_opened [00:25:27]FM_GetShiftState [00:25:27]SAM_PROTO_GetShiftState [00:25:27]wFMCommunicate request_size=4 [00:25:27]MH_SAM_APDU [00:25:27]CAPDU: 80 13 01 00 [00:25:27]Write to MH i2c: E2 08 00 E5 2F 80 13 01 00 00 00 00 00 91 [00:25:27]Write i2c OK [00:25:27]MH_I2C_Read... [00:25:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:27]Read from MH i2c: E2 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 0E 00 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 0E 00 E5 2F 00 09 00 00 00 00 00 00 00 00 00 00 90 00 9C [00:25:27]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:25:27]wFMCommunicate OK [00:25:27]SAM_PROTO_GetShiftState done [00:25:27]FM_GetShiftState done [00:25:27]req_shift_opened done [00:25:27]requested_item shift.open_date is exist - process it [00:25:27]req_shift_open_date [00:25:27]FM_GetShiftState [00:25:27]SAM_PROTO_GetShiftState [00:25:27]wFMCommunicate request_size=4 [00:25:27]MH_SAM_APDU [00:25:27]CAPDU: 80 13 01 00 [00:25:27]Write to MH i2c: E2 08 00 E6 2F 80 13 01 00 00 00 00 00 92 [00:25:27]Write i2c OK [00:25:27]MH_I2C_Read... [00:25:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:27]Read from MH i2c: E2 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 0E 00 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 0E 00 E6 2F 00 09 00 00 00 00 00 00 00 00 00 00 90 00 9D [00:25:27]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:25:27]wFMCommunicate OK [00:25:27]SAM_PROTO_GetShiftState done [00:25:27]FM_GetShiftState done [00:25:27]req_shift_open_date done [00:25:27]produce_requested_data done [00:25:27]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22085,"shift.num":324,"shift.opened":0,"shift.open_date":0} [00:25:27]process_action_free get_value [00:25:27]json_value_free [00:25:27]json_value_free done [00:25:27]process_json_proto returns [00:25:27]Send response to host [00:25:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22085,"shift.num":324,"shift.opened":0,"shift.open_date":0}}} [00:25:27]free response buf [00:25:27]execute_script done [00:25:27]execute_script returns [00:25:27]free content buf [00:25:27]Sock 8.Close socket [00:25:27]Sock 8.Thread stoped [00:25:27]accept exits with 9 [00:25:27]New connection [00:25:27]New thread 3067178340 created [00:25:27]Thread 3067321700 joined [00:25:27]Waiting for new connection... [00:25:27] Sock 9.Parse request [00:25:27]Sock 9.Check first char [00:25:27]Sock 9.First char is OK [00:25:27]request: POST /json_proto HTTP/1.0 [00:25:27]Method: POST [00:25:27]URL: /json_proto [00:25:27]Method is POST - this is cgi request [00:25:27]url: /json_proto [00:25:27]query_string will be loaded in cgi processing [00:25:27]execute_cgi json_proto POST (null) [00:25:27]execute_cgi path=json_proto method=POST [00:25:27]POST find Content-Length [00:25:27]Host: 172.17.35.133:8080 [00:25:27]Content-Length: 331 [00:25:27]Content-Type: application/json [00:25:27] [00:25:27]POST finish read [00:25:27]Found Content-Length = 331 [00:25: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:25:27]execute_script... [00:25:27]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:25:27]POST & json_proto [00:25:27]process_json_proto [00:25:27]json parsed OK: [00:25:27]protocol is kg_v1.0 [00:25:27]action value=get_value [00:25:27]process_action get_value [00:25:27]cmd_get_value [00:25:27]process_action get_value done [00:25:27]requested_data is exist [00:25:27]produce_requested_data [00:25:27]requested_item fm.sale.total is exist - process it [00:25:27]SAM_PROTO_GetFMData [00:25:27]wFMCommunicate request_size=4 [00:25:27]MH_SAM_APDU [00:25:27]CAPDU: 80 13 03 00 [00:25:27]Write to MH i2c: E2 08 00 E7 2F 80 13 03 00 00 00 00 00 95 [00:25:27]Write i2c OK [00:25:27]MH_I2C_Read... [00:25:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:28]Read from MH i2c: E2 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 E7 2F 00 C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 29 [00:25:28]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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:25:28]wFMCommunicate OK [00:25:28]wFMCommunicate request_size=4 [00:25:28]MH_SAM_APDU [00:25:28]CAPDU: 80 17 00 00 [00:25:28]Write to MH i2c: E2 08 00 E8 2F 80 17 00 00 00 00 00 00 97 [00:25:28]Write i2c OK [00:25:28]MH_I2C_Read... [00:25:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:28]Read from MH i2c: E2 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 E8 2F 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 A2 [00:25: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:25:28]wFMCommunicate OK [00:25:28]wFMCommunicate request_size=4 [00:25:28]MH_SAM_APDU [00:25:28]CAPDU: 80 17 00 00 [00:25:28]Write to MH i2c: E2 08 00 E9 2F 80 17 00 00 00 00 00 00 98 [00:25:28]Write i2c OK [00:25:28]MH_I2C_Read... [00:25:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:28]Read from MH i2c: E2 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 E9 2F 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B6 [00:25:28]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:25:28]wFMCommunicate OK [00:25:28]wFMCommunicate request_size=4 [00:25:28]MH_SAM_APDU [00:25:28]CAPDU: 80 17 00 00 [00:25:28]Write to MH i2c: E2 08 00 EA 2F 80 17 00 00 00 00 00 00 99 [00:25:28]Write i2c OK [00:25:28]MH_I2C_Read... [00:25:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:28]Read from MH i2c: E2 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 EA 2F 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 0B [00:25:28]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:25:29]wFMCommunicate OK [00:25:29]wFMCommunicate request_size=4 [00:25:29]MH_SAM_APDU [00:25:29]CAPDU: 80 17 00 00 [00:25:29]Write to MH i2c: E2 08 00 EB 2F 80 17 00 00 00 00 00 00 9A [00:25:29]Write i2c OK [00:25:29]MH_I2C_Read... [00:25:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:25:29]Read from MH i2c: E2 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 E0 00 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 E0 00 EB 2F 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 84 [00:25: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:25:29]wFMCommunicate OK [00:25:29]SAM_PROTO_GetFMData done [00:25:29]requested_item fm.sale_refund.total is exist - process it [00:25:29]requested_item fm.buy.total is exist - process it [00:25:29]requested_item shift.sale.total is exist - process it [00:25:29]SAM_PROTO_GetShiftData [00:25:29]wFMCommunicate request_size=4 [00:25:29]MH_SAM_APDU [00:25:29]CAPDU: 80 13 02 00 [00:25:29]Write to MH i2c: E2 08 00 EC 2F 80 13 02 00 00 00 00 00 99 [00:25:29]Write i2c OK [00:25:29]MH_I2C_Read... [00:25:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:25:29]Read from MH i2c: E2 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 FD 00 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 FD 00 EC 2F 00 AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4F [00:25:29]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 40 00 00 00 69 04 9C 00 6F 04 04 00 40 00 00 00 B1 04 03 00 4F 3A 33 70 04 03 00 EC 31 2D 72 04 03 00 63 08 06 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 BF 70 05 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 D3 73 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 75 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:29]wFMCommunicate OK [00:25:29]wFMCommunicate request_size=4 [00:25:29]MH_SAM_APDU [00:25:29]CAPDU: 80 17 00 00 [00:25:29]Write to MH i2c: E2 08 00 ED 2F 80 17 00 00 00 00 00 00 9C [00:25:29]Write i2c OK [00:25:29]MH_I2C_Read... [00:25:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:29]Read from MH i2c: E2 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 FD 00 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 FD 00 ED 2F 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B5 [00:25:29]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:30]wFMCommunicate OK [00:25:30]wFMCommunicate request_size=4 [00:25:30]MH_SAM_APDU [00:25:30]CAPDU: 80 17 00 00 [00:25:30]Write to MH i2c: E2 08 00 EE 2F 80 17 00 00 00 00 00 00 9D [00:25:30]OFD Sender: No OFD packet to send [00:25:30]Write i2c OK [00:25:30]MH_I2C_Read... [00:25:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:30]Read from MH i2c: E2 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 FD 00 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 FD 00 EE 2F 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 51 [00:25:30]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:30]wFMCommunicate OK [00:25:30]wFMCommunicate request_size=4 [00:25:30]MH_SAM_APDU [00:25:30]CAPDU: 80 17 00 00 [00:25:30]Write to MH i2c: E2 08 00 EF 2F 80 17 00 00 00 00 00 00 9E [00:25:30]Write i2c OK [00:25:30]MH_I2C_Read... [00:25:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:30]Read from MH i2c: E2 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 FD 00 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 FD 00 EF 2F 00 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 90 00 1C [00:25:30]RAPDU: 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 90 00 [00:25:30]wFMCommunicate OK [00:25:30]wFMCommunicate request_size=4 [00:25:30]MH_SAM_APDU [00:25:30]CAPDU: 80 17 00 00 [00:25:30]Write to MH i2c: E2 08 00 F0 2F 80 17 00 00 00 00 00 00 9F [00:25:30]Write i2c OK [00:25:30]MH_I2C_Read... [00:25:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:25:30]Read from MH i2c: E2 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 CC 00 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 CC 00 F0 2F 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 [00:25:30]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:30]wFMCommunicate OK [00:25:30]SAM_PROTO_GetShiftData done [00:25:30]requested_item shift.sale.total_cash is exist - process it [00:25:30]requested_item shift.sale_refund.total is exist - process it [00:25:30]requested_item shift.sale_refund.total_cash is exist - process it [00:25:30]requested_item shift.buy.total is exist - process it [00:25:30]requested_item shift.buy.total_cash is exist - process it [00:25:30]produce_requested_data done [00:25:30]produce_requested_data return {"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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:25:30]process_action_free get_value [00:25:30]json_value_free [00:25:30]json_value_free done [00:25:30]process_json_proto returns [00:25:30]Send response to host [00:25:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6191572.14,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":33572.63,"shift.sale.total_cash":29619.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:25:30]free response buf [00:25:30]execute_script done [00:25:30]execute_script returns [00:25:30]free content buf [00:25:30]Sock 9.Close socket [00:25:30]Sock 9.Thread stoped [00:25:30]accept exits with 8 [00:25:30]New connection [00:25:30]New thread 3067321700 created [00:25:30]Thread 3067178340 joined [00:25:30]Waiting for new connection... [00:25:30] Sock 8.Parse request [00:25:30]Sock 8.Check first char [00:25:30]Sock 8.First char is OK [00:25:30]request: POST /json_proto HTTP/1.0 [00:25:30]Method: POST [00:25:30]URL: /json_proto [00:25:30]Method is POST - this is cgi request [00:25:30]url: /json_proto [00:25:30]query_string will be loaded in cgi processing [00:25:30]execute_cgi json_proto POST (null) [00:25:30]execute_cgi path=json_proto method=POST [00:25:30]POST find Content-Length [00:25:30]Host: 172.17.35.133:8080 [00:25:30]Content-Length: 277 [00:25:30]Content-Type: application/json [00:25:30] [00:25:30]POST finish read [00:25:30]Found Content-Length = 277 [00:25:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u0435\u043D\u0438\u0448\u0431\u0435\u043A\u043E\u0432\u0430 \u0421. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:30]execute_script... [00:25:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u0435\u043D\u0438\u0448\u0431\u0435\u043A\u043E\u0432\u0430 \u0421. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:30]POST & json_proto [00:25:30]process_json_proto [00:25:30]json parsed OK: [00:25:30]protocol is kg_v1.0 [00:25:30]action value=open_shift [00:25:30]process_action open_shift [00:25:30]cmd_open_shift [00:25:30]MH_GetDate [00:25:30]Write to MH i2c: F0 00 00 F1 2F 0F [00:25:30]Write i2c OK [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: F0 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: F0 09 00 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: F0 09 00 F1 2F 00 06 8E 6B 66 8C 55 28 65 EB [00:25:30]GetLastDocTimeStamp 1718323050 [00:25:30]current date 1718324742 [00:25:30]FM_GetShiftState [00:25:30]SAM_PROTO_GetShiftState [00:25:30]wFMCommunicate request_size=4 [00:25:30]MH_SAM_APDU [00:25:30]CAPDU: 80 13 01 00 [00:25:30]Write to MH i2c: E2 08 00 F2 2F 80 13 01 00 00 00 00 00 9E [00:25:30]Write i2c OK [00:25:30]MH_I2C_Read... [00:25:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:30]Read from MH i2c: E2 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 0E 00 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 0E 00 F2 2F 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A9 [00:25:30]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:25:30]wFMCommunicate OK [00:25:30]SAM_PROTO_GetShiftState done [00:25:30]FM_GetShiftState done [00:25:30]KKMCreateOpenShiftDocument [00:25:30]Load OK [00:25:30]Malloc new data [00:25:31]MH_GetDate [00:25:31]Write to MH i2c: F0 00 00 F3 2F 11 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: F0 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: F0 09 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: F0 09 00 F3 2F 00 06 8E 6B 66 8C 55 28 65 ED [00:25:31]Malloc new data [00:25:31]KKMCreateOpenShiftDocument OK [00:25:31]KKMSetOpenShiftData OK [00:25:31]ProcessDocumentItem done err = 0, tmpTLVsize=219 [00:25:31]tlvbuf is 00317A90 [00:25:31]KKMLoadAndSignOpenShiftData [00:25:31]SAM_PROTO_ProcessDocument [00:25:31]wFMCommunicate request_size=9 [00:25:31]MH_SAM_APDU [00:25:31]CAPDU: 80 15 01 00 04 02 00 DB 00 [00:25:31]Write to MH i2c: E2 0C 00 F4 2F 80 15 01 00 04 00 02 00 DB 00 00 00 87 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 F4 2F 00 90 00 97 [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]wFMCommunicate request_size=23 [00:25:31]MH_SAM_APDU [00:25: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:25:31]Write to MH i2c: E2 1A 00 F5 2F 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 99 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 F5 2F 00 90 00 98 [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]wFMCommunicate request_size=36 [00:25:31]MH_SAM_APDU [00:25:31]CAPDU: 80 15 02 00 1F 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 [00:25:31]Write to MH i2c: E2 27 00 F6 2F 80 15 02 00 1F 00 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 00 00 56 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 F6 2F 00 90 00 99 [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]wFMCommunicate request_size=102 [00:25:31]MH_SAM_APDU [00:25: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:25:31]Write to MH i2c: E2 69 00 F7 2F 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 06 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 F7 2F 00 90 00 9A [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]wFMCommunicate request_size=50 [00:25:31]MH_SAM_APDU [00:25:31]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:25:31]Write to MH i2c: E2 35 00 F8 2F 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 23 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 F8 2F 00 90 00 9B [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]wFMCommunicate request_size=13 [00:25:31]MH_SAM_APDU [00:25:31]CAPDU: 80 15 02 00 08 F4 03 04 00 06 8E 6B 66 [00:25:31]Write to MH i2c: E2 10 00 F9 2F 80 15 02 00 08 00 F4 03 04 00 06 8E 6B 66 00 00 18 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 F9 2F 00 90 00 9C [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]wFMCommunicate request_size=25 [00:25:31]MH_SAM_APDU [00:25:31]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:25:31]Write to MH i2c: E2 1C 00 FA 2F 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 15 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 FA 2F 00 90 00 9D [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]wFMCommunicate request_size=4 [00:25:31]MH_SAM_APDU [00:25:31]CAPDU: 80 15 03 00 [00:25:31]Write to MH i2c: E2 08 00 FB 2F 80 15 03 00 00 00 00 00 AB [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 38 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 38 00 FB 2F 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 46 56 00 00 0E 04 04 00 45 01 00 00 35 04 06 00 18 71 E9 E4 CD 30 90 00 AB [00:25:31]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 46 56 00 00 0E 04 04 00 45 01 00 00 35 04 06 00 18 71 E9 E4 CD 30 90 00 [00:25:31]wFMCommunicate OK [00:25:31]SAM_PROTO_ProcessDocument answer len = 51 [00:25:31]SAM_PROTO_ProcessDocument done [00:25:31]SetTLVBufToDocument [00:25:31]Processing tag 1209 (04B9) [00:25:31]Malloc new data [00:25:31]Processing tag 1041 (0411) [00:25:31]Processing tag 1040 (0410) [00:25:31]Malloc new data [00:25:31]Processing tag 1038 (040E) [00:25:31]Malloc new data [00:25:31]Processing tag 1077 (0435) [00:25:31]Malloc new data [00:25:31]SetTLVBufToDocument err=0 [00:25:31]KKMLoadAndSignOpenShiftData store KKM data [00:25:31]KKMLoadAndSignOpenShiftData err=0 [00:25:31]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Женишбекова С. Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 Место: АЗС № 76 "Партнер Нефть" 14.06.2024 00:25 Смена: 325 РНМ: 0000000000099755 ЗНМ: 0300000200 ФД: 22086 ФМ: 0000000000965344 ФПД: 26877534457136 [00:25:31]StoreToDocumentArchive [00:25:31]shift 325 fd 22086 [00:25:31]Create dir for shift 0325 [00:25:31]save to /storage/0325/doc_00022086 [00:25:31]save last doc name /storage/0325/doc_00022086 to /storage/kkm_last_doc_name [00:25:31]save OK [00:25:31]Clear old archive folders... [00:25:31]Remove dir /storage/0324 [00:25:31]opendir ok [00:25:31]file . [00:25:31]file .. [00:25:31]file doc_00022020 [00:25:31]remove file /storage/0324/doc_00022020 [00:25:31]file doc_00022021 [00:25:31]remove file /storage/0324/doc_00022021 [00:25:31]file doc_00022022 [00:25:31]remove file /storage/0324/doc_00022022 [00:25:31]file doc_00022023 [00:25:31]remove file /storage/0324/doc_00022023 [00:25:31]file doc_00022024 [00:25:31]remove file /storage/0324/doc_00022024 [00:25:31]file doc_00022025 [00:25:31]remove file /storage/0324/doc_00022025 [00:25:31]file doc_00022026 [00:25:31]remove file /storage/0324/doc_00022026 [00:25:31]file doc_00022027 [00:25:31]remove file /storage/0324/doc_00022027 [00:25:31]file doc_00022028 [00:25:31]remove file /storage/0324/doc_00022028 [00:25:31]file doc_00022029 [00:25:31]remove file /storage/0324/doc_00022029 [00:25:31]file doc_00022030 [00:25:31]remove file /storage/0324/doc_00022030 [00:25:31]file doc_00022031 [00:25:31]remove file /storage/0324/doc_00022031 [00:25:31]file doc_00022032 [00:25:31]remove file /storage/0324/doc_00022032 [00:25:31]file doc_00022033 [00:25:31]remove file /storage/0324/doc_00022033 [00:25:31]file doc_00022034 [00:25:31]remove file /storage/0324/doc_00022034 [00:25:31]file doc_00022035 [00:25:31]remove file /storage/0324/doc_00022035 [00:25:31]file doc_00022036 [00:25:31]remove file /storage/0324/doc_00022036 [00:25:31]file doc_00022037 [00:25:31]remove file /storage/0324/doc_00022037 [00:25:31]file doc_00022038 [00:25:31]remove file /storage/0324/doc_00022038 [00:25:31]file doc_00022039 [00:25:31]remove file /storage/0324/doc_00022039 [00:25:31]file doc_00022040 [00:25:31]remove file /storage/0324/doc_00022040 [00:25:31]file doc_00022041 [00:25:31]remove file /storage/0324/doc_00022041 [00:25:31]file doc_00022042 [00:25:31]remove file /storage/0324/doc_00022042 [00:25:31]file doc_00022043 [00:25:31]remove file /storage/0324/doc_00022043 [00:25:31]file doc_00022044 [00:25:31]remove file /storage/0324/doc_00022044 [00:25:31]file doc_00022045 [00:25:31]remove file /storage/0324/doc_00022045 [00:25:31]file doc_00022046 [00:25:31]remove file /storage/0324/doc_00022046 [00:25:31]file doc_00022047 [00:25:31]remove file /storage/0324/doc_00022047 [00:25:31]file doc_00022048 [00:25:31]remove file /storage/0324/doc_00022048 [00:25:31]file doc_00022049 [00:25:31]remove file /storage/0324/doc_00022049 [00:25:31]file doc_00022050 [00:25:31]remove file /storage/0324/doc_00022050 [00:25:31]file doc_00022051 [00:25:31]remove file /storage/0324/doc_00022051 [00:25:31]file doc_00022052 [00:25:31]remove file /storage/0324/doc_00022052 [00:25:31]file doc_00022053 [00:25:31]remove file /storage/0324/doc_00022053 [00:25:31]file doc_00022054 [00:25:31]remove file /storage/0324/doc_00022054 [00:25:31]file doc_00022055 [00:25:31]remove file /storage/0324/doc_00022055 [00:25:31]file doc_00022056 [00:25:31]remove file /storage/0324/doc_00022056 [00:25:31]file doc_00022057 [00:25:31]remove file /storage/0324/doc_00022057 [00:25:31]file doc_00022058 [00:25:31]remove file /storage/0324/doc_00022058 [00:25:31]file doc_00022059 [00:25:31]remove file /storage/0324/doc_00022059 [00:25:31]file doc_00022060 [00:25:31]remove file /storage/0324/doc_00022060 [00:25:31]file doc_00022061 [00:25:31]remove file /storage/0324/doc_00022061 [00:25:31]file doc_00022062 [00:25:31]remove file /storage/0324/doc_00022062 [00:25:31]file doc_00022063 [00:25:31]remove file /storage/0324/doc_00022063 [00:25:31]file doc_00022064 [00:25:31]remove file /storage/0324/doc_00022064 [00:25:31]file doc_00022065 [00:25:31]remove file /storage/0324/doc_00022065 [00:25:31]file doc_00022066 [00:25:31]remove file /storage/0324/doc_00022066 [00:25:31]file doc_00022067 [00:25:31]remove file /storage/0324/doc_00022067 [00:25:31]file doc_00022068 [00:25:31]remove file /storage/0324/doc_00022068 [00:25:31]file doc_00022069 [00:25:31]remove file /storage/0324/doc_00022069 [00:25:31]file doc_00022070 [00:25:31]remove file /storage/0324/doc_00022070 [00:25:31]file doc_00022071 [00:25:31]remove file /storage/0324/doc_00022071 [00:25:31]file doc_00022072 [00:25:31]remove file /storage/0324/doc_00022072 [00:25:31]file doc_00022073 [00:25:31]remove file /storage/0324/doc_00022073 [00:25:31]file doc_00022074 [00:25:32]remove file /storage/0324/doc_00022074 [00:25:32]file doc_00022075 [00:25:32]remove file /storage/0324/doc_00022075 [00:25:32]file doc_00022076 [00:25:32]remove file /storage/0324/doc_00022076 [00:25:32]file doc_00022077 [00:25:32]remove file /storage/0324/doc_00022077 [00:25:32]file doc_00022078 [00:25:32]remove file /storage/0324/doc_00022078 [00:25:32]file doc_00022079 [00:25:32]remove file /storage/0324/doc_00022079 [00:25:32]file doc_00022080 [00:25:32]remove file /storage/0324/doc_00022080 [00:25:32]file doc_00022081 [00:25:32]remove file /storage/0324/doc_00022081 [00:25:32]file doc_00022082 [00:25:32]remove file /storage/0324/doc_00022082 [00:25:32]file doc_00022083 [00:25:32]remove file /storage/0324/doc_00022083 [00:25:32]file doc_00022084 [00:25:32]remove file /storage/0324/doc_00022084 [00:25:32]file doc_00022085 [00:25:32]remove file /storage/0324/doc_00022085 [00:25:32]remove dir /storage/0324 [00:25:32]ProcessDocumentItem done err = 0, tmpTLVsize=270 [00:25:32]tlvbuf is 0031CF10 [00:25:32]SAM_PROTO_ClearQueue [00:25:32]wFMCommunicate request_size=4 [00:25:32]MH_SAM_APDU [00:25:32]CAPDU: 80 09 00 00 [00:25:32]Write to MH i2c: E2 08 00 FC 2F 80 09 00 00 00 00 00 00 9D [00:25:32]Write i2c OK [00:25:32]MH_I2C_Read... [00:25:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:25:32]Read from MH i2c: E2 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 FC 2F 00 90 00 9F [00:25:32]RAPDU: 90 00 [00:25:32]wFMCommunicate OK [00:25:32]SAM_PROTO_ClearQueue done [00:25:32]KKMCreateOFDPacket [00:25:32]OFDProtocolAddRootSTLVToBuf [00:25:32]FM_MakeSignedData [00:25:32]FM_MakeSignedData [00:25:32]SAM_PROTO_SignData [00:25:32]wFMCommunicate request_size=4 [00:25:32]MH_SAM_APDU [00:25:32]CAPDU: 80 0D 01 02 [00:25:32]Write to MH i2c: E2 08 00 FD 2F 80 0D 01 02 00 00 00 00 A5 [00:25:32]Write i2c OK [00:25:32]MH_I2C_Read... [00:25:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:25:32]Read from MH i2c: E2 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 FD 2F 00 90 00 A0 [00:25:32]RAPDU: 90 00 [00:25:32]wFMCommunicate OK [00:25:32]wFMCommunicate request_size=255 [00:25:32]MH_SAM_APDU [00:25:32]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 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 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 06 8E 6B 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 10 04 04 00 46 56 00 00 11 04 10 00 30 30 [00:25:32]Write to MH i2c: E2 02 01 FE 2F 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 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 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 06 8E 6B 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 10 04 04 00 46 56 00 00 11 04 10 00 30 30 00 00 A9 [00:25:32]Write i2c OK [00:25:32]MH_I2C_Read... [00:25:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:25:32]Read from MH i2c: E2 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 FE 2F 00 90 00 A1 [00:25:32]RAPDU: 90 00 [00:25:32]wFMCommunicate OK [00:25:32]wFMCommunicate request_size=29 [00:25:32]MH_SAM_APDU [00:25:32]CAPDU: 80 0D 02 02 18 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 18 71 E9 E4 CD 30 [00:25:32]Write to MH i2c: E2 20 00 FF 2F 80 0D 02 02 18 00 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 18 71 E9 E4 CD 30 00 00 29 [00:25:32]Write i2c OK [00:25:32]MH_I2C_Read... [00:25:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:25:32]Read from MH i2c: E2 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 FF 2F 00 90 00 A2 [00:25:32]RAPDU: 90 00 [00:25:32]wFMCommunicate OK [00:25:32]wFMCommunicate request_size=4 [00:25:32]MH_SAM_APDU [00:25:32]CAPDU: 80 0D 03 02 [00:25:32]Write to MH i2c: E2 08 00 00 30 80 0D 03 02 00 00 00 00 AB [00:25:32]Write i2c OK [00:25:32]MH_I2C_Read... [00:25:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:25:32]Read from MH i2c: E2 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 0B 00 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 0B 00 00 30 00 47 D6 36 8E 5A 4E 17 59 90 00 A5 [00:25:32]RAPDU: 47 D6 36 8E 5A 4E 17 59 90 00 [00:25:32]wFMCommunicate OK [00:25:33]SAM_PROTO_SignData done [00:25:33]FM_MakeSignedData done [00:25:33]CreateOFDProtocolMessage [00:25:33]wFMCommunicate request_size=4 [00:25:33]MH_SAM_APDU [00:25:33]CAPDU: 80 11 00 00 [00:25:33]Write to MH i2c: E2 08 00 01 30 80 11 00 00 00 00 00 00 AB [00:25:33]Write i2c OK [00:25:33]MH_I2C_Read... [00:25:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:25:33]Read from MH i2c: E2 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: E2 17 00 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: E2 17 00 01 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FD [00:25: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:25:33]wFMCommunicate OK [00:25:33]CreateOFDProtocolMessage done [00:25:33]OFDSenderStorePacket 22086 [00:25:33]StoreOFDPacket docnum=22086 [00:25: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 B7 2E 1A 01 24 28 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 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 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 06 8E 6B 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 10 04 04 00 46 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 18 71 E9 E4 CD 30 47 D6 36 8E 5A 4E 17 59 [00:25:33]CheckFolder [00:25:33]dirname=/storage/ofd_packets [00:25:33]CheckFolder done [00:25:33]ProducePacketName [00:25:33]name=ofd_packets/00022086 [00:25:33]NVStorageSaveData ofd_packets/00022086 [00:25:33]File name is /storage/ofd_packets/00022086 [00:25:33]Write 320 bytes [00:25:33]NVStorageSaveData done [00:25:33]OFDSenderStorePacket done [00:25:33]KKMCreateOFDPacket done [00:25:33]NVStorageSaveData kkm_last_timestamp [00:25:33]File name is /storage/kkm_last_timestamp [00:25:33]Write 4 bytes [00:25:33]NVStorageSaveData done [00:25:33]ExternCall_PrintAddStr [00:25:33]wPrintStart [00:25:33]Write to MH i2c: 01 00 00 02 30 32 [00:25:33]Write i2c OK [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: 01 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: 01 07 00 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: 01 07 00 02 30 00 00 00 00 00 FF 0F 47 [00:25:33]RasterBufferAndPrint [00:25:33]line Отчет об открытии смены [00:25:33]line ФФД: 1.0 [00:25:33]line ИНН: 02508201610067 [00:25:33]line Кассир: Женишбекова С. [00:25:33]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [00:25:33]line Место: АЗС № 76 "Партнер Нефть" [00:25:33]line 14.06.2024 00:25 [00:25:33]line Смена: 325 [00:25:33]line РНМ: 0000000000099755 [00:25:33]line ЗНМ: 0300000200 [00:25:33]line ФД: 22086 [00:25:33]line ФМ: 0000000000965344 [00:25:33]line ФПД: 26877534457136 [00:25:33]written 0, free lines is 4095 [00:25:33]OFD Sender: Processing packet 22086 [packets to send 5, broken 4] [00:25:33]ProducePacketName [00:25:33]name=ofd_packets/00022086 [00:25:33]OFD Sender: To server: pG, [00:25:33]CommunicateWithHost lk.salyk.kg:30040 [00:25:33]ConnectInit lk.salyk.kg [00:25:33]Connected sock=10 [00:25: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 B7 2E 1A 01 24 28 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 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 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 06 8E 6B 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 10 04 04 00 46 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 18 71 E9 E4 CD 30 47 D6 36 8E 5A 4E 17 59 [00:25:33]Write to MH i2c: 01 00 00 14 30 44 [00:25:33]Write i2c OK [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: 01 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: 01 07 00 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: 01 07 00 14 30 00 00 00 00 00 9A 0E F3 [00:25:33]RasterBufferAndPrint [00:25:33]line [00:25:33]line [00:25:33]line [00:25:33]line [00:25:33]line [00:25:33]written 0, free lines is 3760 [00:25:33]MH_Cut [00:25:33]Write to MH i2c: D1 01 00 1B 30 01 1D [00:25:33]Write i2c OK [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: D1 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: D1 01 00 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: D1 01 00 1B 30 00 1C [00:25:33]Write to MH i2c: 01 00 00 1C 30 4C [00:25:33]Write i2c OK [00:25:33]MH_I2C_Read... [00:25: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 1C AE 47 00 7B D8 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 46 56 00 00 F4 03 04 00 C8 36 6B 66 B6 04 01 00 00 4D 6A 34 E3 99 48 FE A9 [00:25:33]CommunicateWithHost err = 0 [00:25:33]CheckOFDResponse [00:25:33]1017 (14) - 77093643461234 [00:25:33]1041 (16) - 0000000000965344 [00:25:33]1040 (4) - 22086 [00:25:33]1012 (4) - 13.06.2024 18:13 [00:25:33]1206 (1) - 0 [00:25:33]OFD Sender: Remove packet 22086 [00:25:33]ProducePacketName [00:25:33]name=ofd_packets/00022086 [00:25:33]NVStorageDeleteData [00:25:33]*** Cut start [00:25:33]*** Partial cut [00:25:33]*** CUTSNS_PIN = 1 [00:25:33]*** CUTSNS_PIN = 0 [00:25:34]*** Brake cut motor [00:25:34]OFD Sender: No OFD packet to send [00:25:34]Read from MH i2c: 01 [00:25:34]MH_I2C_Read... [00:25:34]*** Stop cut motor [00:25:34]*** Cut end [00:25:34]Read from MH i2c: 01 07 00 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: 01 07 00 1C 30 00 00 00 00 00 FF 0F 61 [00:25:34]process_action open_shift done [00:25:34]requested_data is exist [00:25:34]produce_requested_data [00:25:34]requested_item fd.num is exist - process it [00:25:34]SAM_PROTO_GetFieldsCounters [00:25:34]wFMCommunicate request_size=4 [00:25:34]MH_SAM_APDU [00:25:34]CAPDU: 80 13 00 00 [00:25:34]Write to MH i2c: E2 08 00 1D 30 80 13 00 00 00 00 00 00 C9 [00:25:34]Write i2c OK [00:25:34]MH_I2C_Read... [00:25:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:25:34]Read from MH i2c: E2 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: E2 62 00 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: E2 62 00 1D 30 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 46 56 00 00 0E 04 04 00 45 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 D5 [00:25: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 46 56 00 00 0E 04 04 00 45 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:25:34]wFMCommunicate OK [00:25:34]SAM_PROTO_GetFieldsCounters done [00:25:34]requested_item shift.num is exist - process it [00:25:34]requested_item shift.opened is exist - process it [00:25:34]req_shift_opened [00:25:34]FM_GetShiftState [00:25:34]SAM_PROTO_GetShiftState [00:25:34]wFMCommunicate request_size=4 [00:25:34]MH_SAM_APDU [00:25:34]CAPDU: 80 13 01 00 [00:25:34]Write to MH i2c: E2 08 00 1E 30 80 13 01 00 00 00 00 00 CB [00:25:34]Write i2c OK [00:25:34]MH_I2C_Read... [00:25:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:34]Read from MH i2c: E2 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: E2 0E 00 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: E2 0E 00 1E 30 00 09 00 01 06 8E 6B 66 00 00 00 00 90 00 3C [00:25:34]RAPDU: 09 00 01 06 8E 6B 66 00 00 00 00 90 00 [00:25:34]wFMCommunicate OK [00:25:34]SAM_PROTO_GetShiftState done [00:25:34]FM_GetShiftState done [00:25:34]req_shift_opened done [00:25:34]requested_item shift.open_date is exist - process it [00:25:34]req_shift_open_date [00:25:34]req_shift_open_date done [00:25:34]produce_requested_data done [00:25:34]produce_requested_data return {"fd.num":22086,"shift.num":325,"shift.opened":1,"shift.open_date":1718324742} [00:25:34]process_action_free open_shift [00:25:34]json_value_free [00:25:34]json_value_free done [00:25:34]process_json_proto returns [00:25:34]Send response to host [00:25:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22086,"shift.num":325,"shift.opened":1,"shift.open_date":1718324742}}} [00:25:34]free response buf [00:25:34]execute_script done [00:25:34]execute_script returns [00:25:34]free content buf [00:25:34]Sock 8.Close socket [00:25:34]Sock 8.Thread stoped [00:25:34]accept exits with 9 [00:25:34]New connection [00:25:34]New thread 3067178340 created [00:25:34]Thread 3067321700 joined [00:25:34]Waiting for new connection... [00:25:34] Sock 9.Parse request [00:25:34]Sock 9.Check first char [00:25:34]Sock 9.First char is OK [00:25:34]request: POST /json_proto HTTP/1.0 [00:25:34]Method: POST [00:25:34]URL: /json_proto [00:25:34]Method is POST - this is cgi request [00:25:34]url: /json_proto [00:25:34]query_string will be loaded in cgi processing [00:25:34]execute_cgi json_proto POST (null) [00:25:34]execute_cgi path=json_proto method=POST [00:25:34]POST find Content-Length [00:25:34]Host: 172.17.35.133:8080 [00:25:34]Content-Length: 331 [00:25:34]Content-Type: application/json [00:25:34] [00:25:34]POST finish read [00:25:34]Found Content-Length = 331 [00:25:34]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:25:34]execute_script... [00:25:34]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:25:34]POST & json_proto [00:25:34]process_json_proto [00:25:34]json parsed OK: [00:25:34]protocol is kg_v1.0 [00:25:34]action value=get_value [00:25:34]process_action get_value [00:25:34]cmd_get_value [00:25:34]process_action get_value done [00:25:34]requested_data is exist [00:25:34]produce_requested_data [00:25:34]requested_item fm.sale.total is exist - process it [00:25:34]SAM_PROTO_GetFMData [00:25:34]wFMCommunicate request_size=4 [00:25:34]MH_SAM_APDU [00:25:34]CAPDU: 80 13 03 00 [00:25:34]Write to MH i2c: E2 08 00 1F 30 80 13 03 00 00 00 00 00 CE [00:25:34]Write i2c OK [00:25:34]MH_I2C_Read... [00:25:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:35]Read from MH i2c: E2 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 FD 00 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 FD 00 1F 30 00 C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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 62 [00:25:35]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 BC 53 00 00 69 04 A2 00 6F 04 04 00 A5 53 00 00 B1 04 04 00 DE 96 E7 24 70 04 04 00 80 5B 31 20 72 04 04 00 5E 3B B6 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 BB 4B EB 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 1B 8F 53 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:25:35]wFMCommunicate OK [00:25:35]wFMCommunicate request_size=4 [00:25:35]MH_SAM_APDU [00:25:35]CAPDU: 80 17 00 00 [00:25:35]Write to MH i2c: E2 08 00 20 30 80 17 00 00 00 00 00 00 D0 [00:25:35]Write i2c OK [00:25:35]MH_I2C_Read... [00:25:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:35]Read from MH i2c: E2 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 FD 00 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 FD 00 20 30 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 DB [00:25:35]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:25:35]wFMCommunicate OK [00:25:35]wFMCommunicate request_size=4 [00:25:35]MH_SAM_APDU [00:25:35]CAPDU: 80 17 00 00 [00:25:35]Write to MH i2c: E2 08 00 21 30 80 17 00 00 00 00 00 00 D1 [00:25:35]Write i2c OK [00:25:35]MH_I2C_Read... [00:25:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:35]Read from MH i2c: E2 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 FD 00 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 FD 00 21 30 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EF [00:25:35]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:25:36]wFMCommunicate OK [00:25:36]wFMCommunicate request_size=4 [00:25:36]MH_SAM_APDU [00:25:36]CAPDU: 80 17 00 00 [00:25:36]Write to MH i2c: E2 08 00 22 30 80 17 00 00 00 00 00 00 D2 [00:25:36]Write i2c OK [00:25:36]MH_I2C_Read... [00:25:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:36]Read from MH i2c: E2 [00:25:36]MH_I2C_Read... [00:25:36]Read from MH i2c: E2 FD 00 [00:25:36]MH_I2C_Read... [00:25:36]Read from MH i2c: E2 FD 00 22 30 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 44 [00:25:36]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:25:36]wFMCommunicate OK [00:25:36]wFMCommunicate request_size=4 [00:25:36]MH_SAM_APDU [00:25:36]CAPDU: 80 17 00 00 [00:25:36]Write to MH i2c: E2 08 00 23 30 80 17 00 00 00 00 00 00 D3 [00:25:36]Write i2c OK [00:25:36]MH_I2C_Read... [00:25:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:25:36]Read from MH i2c: E2 [00:25:36]MH_I2C_Read... [00:25:36]Read from MH i2c: E2 E0 00 [00:25:36]MH_I2C_Read... [00:25:36]Read from MH i2c: E2 E0 00 23 30 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 BD [00:25:36]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:25:36]wFMCommunicate OK [00:25:36]SAM_PROTO_GetFMData done [00:25:36]requested_item fm.sale_refund.total is exist - process it [00:25:36]requested_item fm.buy.total is exist - process it [00:25:36]requested_item shift.sale.total is exist - process it [00:25:36]SAM_PROTO_GetShiftData [00:25:36]wFMCommunicate request_size=4 [00:25:36]MH_SAM_APDU [00:25:36]CAPDU: 80 13 02 00 [00:25:36]Write to MH i2c: E2 08 00 24 30 80 13 02 00 00 00 00 00 D2 [00:25:36]Write i2c OK [00:25:36]MH_I2C_Read... [00:25:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:25:37]Read from MH i2c: E2 [00:25:37]MH_I2C_Read... [00:25:37]Read from MH i2c: E2 FD 00 [00:25:37]MH_I2C_Read... [00:25:37]Read from MH i2c: E2 FD 00 24 30 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 45 [00:25:37]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:25:37]wFMCommunicate OK [00:25:37]wFMCommunicate request_size=4 [00:25:37]MH_SAM_APDU [00:25:37]CAPDU: 80 17 00 00 [00:25:37]Write to MH i2c: E2 08 00 25 30 80 17 00 00 00 00 00 00 D5 [00:25:37]Write i2c OK [00:25:37]MH_I2C_Read... [00:25:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:37]Read from MH i2c: E2 [00:25:37]MH_I2C_Read... [00:25:37]Read from MH i2c: E2 FD 00 [00:25:37]MH_I2C_Read... [00:25:37]Read from MH i2c: E2 FD 00 25 30 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 DD [00:25:37]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:25:37]wFMCommunicate OK [00:25:37]wFMCommunicate request_size=4 [00:25:37]MH_SAM_APDU [00:25:37]CAPDU: 80 17 00 00 [00:25:37]Write to MH i2c: E2 08 00 26 30 80 17 00 00 00 00 00 00 D6 [00:25:37]Write i2c OK [00:25:37]MH_I2C_Read... [00:25:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:38]Read from MH i2c: E2 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 FD 00 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 FD 00 26 30 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 A8 [00:25:38]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:25:38]wFMCommunicate OK [00:25:38]wFMCommunicate request_size=4 [00:25:38]MH_SAM_APDU [00:25:38]CAPDU: 80 17 00 00 [00:25:38]Write to MH i2c: E2 08 00 27 30 80 17 00 00 00 00 00 00 D7 [00:25:38]Write i2c OK [00:25:38]MH_I2C_Read... [00:25:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:38]Read from MH i2c: E2 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 FD 00 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 FD 00 27 30 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 49 [00:25:38]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:25:38]wFMCommunicate OK [00:25:38]wFMCommunicate request_size=4 [00:25:38]MH_SAM_APDU [00:25:38]CAPDU: 80 17 00 00 [00:25:38]Write to MH i2c: E2 08 00 28 30 80 17 00 00 00 00 00 00 D8 [00:25:38]Write i2c OK [00:25:38]MH_I2C_Read... [00:25:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:25:39]Read from MH i2c: E2 [00:25:39]MH_I2C_Read... [00:25:39]Read from MH i2c: E2 BD 00 [00:25:39]MH_I2C_Read... [00:25:39]Read from MH i2c: E2 BD 00 28 30 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 BE [00:25:39]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:25:39]wFMCommunicate OK [00:25:39]SAM_PROTO_GetShiftData done [00:25:39]requested_item shift.sale.total_cash is exist - process it [00:25:39]requested_item shift.sale_refund.total is exist - process it [00:25:39]requested_item shift.sale_refund.total_cash is exist - process it [00:25:39]requested_item shift.buy.total is exist - process it [00:25:39]requested_item shift.buy.total_cash is exist - process it [00:25:39]produce_requested_data done [00:25:39]produce_requested_data return {"fm.sale.total":6191572.14,"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:25:39]process_action_free get_value [00:25:39]json_value_free [00:25:39]json_value_free done [00:25:39]process_json_proto returns [00:25:39]Send response to host [00:25:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6191572.14,"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:25:39]free response buf [00:25:39]execute_script done [00:25:39]execute_script returns [00:25:39]free content buf [00:25:39]Sock 9.Close socket [00:25:39]Sock 9.Thread stoped [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:09]OFD Sender: No OFD packet to send [00:27:14]OFD Sender: No OFD packet to send [00:27:19]OFD Sender: No OFD packet to send [00:27:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:39]OFD Sender: No OFD packet to send [00:27:44]OFD Sender: No OFD packet to send [00:27:49]OFD Sender: No OFD packet to send [00:27:54]OFD Sender: No OFD packet to send [00:27:59]OFD Sender: No OFD packet to send [00:28:04]OFD Sender: No OFD packet to send [00:28:09]OFD Sender: No OFD packet to send [00:28:14]OFD Sender: No OFD packet to send [00:28:19]OFD Sender: No OFD packet to send [00:28:24]OFD Sender: No OFD packet to send [00:28:29]OFD Sender: No OFD packet to send [00:28:34]OFD Sender: No OFD packet to send [00:28:39]OFD Sender: No OFD packet to send [00:28:44]OFD Sender: No OFD packet to send [00:28:49]OFD Sender: No OFD packet to send [00:28:54]OFD Sender: No OFD packet to send [00:28:59]OFD Sender: No OFD packet to send [00:29:04]OFD Sender: No OFD packet to send [00:29:09]OFD Sender: No OFD packet to send [00:29:14]OFD Sender: No OFD packet to send [00:29:19]OFD Sender: No OFD packet to send [00:29:24]OFD Sender: No OFD packet to send [00:29:29]OFD Sender: No OFD packet to send [00:29:34]OFD Sender: No OFD packet to send [00:29:39]OFD Sender: No OFD packet to send [00:29:44]OFD Sender: No OFD packet to send [00:29:49]OFD Sender: No OFD packet to send [00:29:54]OFD Sender: No OFD packet to send [00:29:59]OFD Sender: No OFD packet to send [00:30:04]OFD Sender: No OFD packet to send [00:30:09]OFD Sender: No OFD packet to send [00:30:14]OFD Sender: No OFD packet to send [00:30:19]OFD Sender: No OFD packet to send [00:30:24]OFD Sender: No OFD packet to send [00:30:29]OFD Sender: No OFD packet to send [00:30:34]OFD Sender: No OFD packet to send [00:30:39]OFD Sender: No OFD packet to send [00:30:44]OFD Sender: No OFD packet to send [00:30:49]OFD Sender: No OFD packet to send [00:30:54]OFD Sender: No OFD packet to send [00:30:59]OFD Sender: No OFD packet to send [00:31:04]OFD Sender: No OFD packet to send [00:31:09]OFD Sender: No OFD packet to send [00:31:14]OFD Sender: No OFD packet to send [00:31:19]OFD Sender: No OFD packet to send [00:31:24]OFD Sender: No OFD packet to send [00:31:29]OFD Sender: No OFD packet to send [00:31:34]OFD Sender: No OFD packet to send [00:31:39]OFD Sender: No OFD packet to send [00:31:44]OFD Sender: No OFD packet to send [00:31:49]OFD Sender: No OFD packet to send [00:31:54]OFD Sender: No OFD packet to send [00:31:59]OFD Sender: No OFD packet to send [00:32:04]OFD Sender: No OFD packet to send [00:32:09]OFD Sender: No OFD packet to send [00:32:14]OFD Sender: No OFD packet to send [00:32:19]OFD Sender: No OFD packet to send [00:32:24]OFD Sender: No OFD packet to send [00:32:29]OFD Sender: No OFD packet to send [00:32:34]OFD Sender: No OFD packet to send [00:32:39]OFD Sender: No OFD packet to send [00:32:44]OFD Sender: No OFD packet to send [00:32:49]OFD Sender: No OFD packet to send [00:32:54]OFD Sender: No OFD packet to send [00:32:59]OFD Sender: No OFD packet to send [00:33:04]OFD Sender: No OFD packet to send [00:33:09]OFD Sender: No OFD packet to send [00:33:14]OFD Sender: No OFD packet to send [00:33:19]OFD Sender: No OFD packet to send [00:33:24]OFD Sender: No OFD packet to send [00:33:29]OFD Sender: No OFD packet to send [00:33:34]OFD Sender: No OFD packet to send [00:33:39]OFD Sender: No OFD packet to send [00:33:44]OFD Sender: No OFD packet to send [00:33:49]OFD Sender: No OFD packet to send [00:33:54]OFD Sender: No OFD packet to send [00:33:59]OFD Sender: No OFD packet to send [00:34:04]OFD Sender: No OFD packet to send [00:34:09]OFD Sender: No OFD packet to send [00:34:14]OFD Sender: No OFD packet to send [00:34:19]OFD Sender: No OFD packet to send [00:34:24]OFD Sender: No OFD packet to send [00:34:29]OFD Sender: No OFD packet to send [00:34:34]OFD Sender: No OFD packet to send [00:34:39]OFD Sender: No OFD packet to send [00:34:44]OFD Sender: No OFD packet to send [00:34:49]OFD Sender: No OFD packet to send [00:34:54]OFD Sender: No OFD packet to send [00:34:59]OFD Sender: No OFD packet to send [00:35:04]OFD Sender: No OFD packet to send [00:35:09]OFD Sender: No OFD packet to send [00:35:14]OFD Sender: No OFD packet to send [00:35:19]OFD Sender: No OFD packet to send [00:35:24]OFD Sender: No OFD packet to send [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:44]OFD Sender: No OFD packet to send [00:36:49]OFD Sender: No OFD packet to send [00:36:54]OFD Sender: No OFD packet to send [00:36:59]OFD Sender: No OFD packet to send [00:37:04]OFD Sender: No OFD packet to send [00:37:09]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]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:45]OFD Sender: No OFD packet to send [00:48:50]OFD Sender: No OFD packet to send [00:48:55]OFD Sender: No OFD packet to send [00:49:00]OFD Sender: No OFD packet to send [00:49:05]OFD Sender: No OFD packet to send [00:49:10]OFD Sender: No OFD packet to send [00:49:15]OFD Sender: No OFD packet to send [00:49:20]OFD Sender: No OFD packet to send [00:49:25]OFD Sender: No OFD packet to send [00:49:30]OFD Sender: No OFD packet to send [00:49:35]OFD Sender: No OFD packet to send [00:49:40]OFD Sender: No OFD packet to send [00:49:45]OFD Sender: No OFD packet to send [00:49:50]OFD Sender: No OFD packet to send [00:49:55]OFD Sender: No OFD packet to send [00:50:00]OFD Sender: No OFD packet to send [00:50:05]OFD Sender: No OFD packet to send [00:50:10]OFD Sender: No OFD packet to send [00:50:15]OFD Sender: No OFD packet to send [00:50:20]OFD Sender: No OFD packet to send [00:50:25]OFD Sender: No OFD packet to send [00:50:30]OFD Sender: No OFD packet to send [00:50:35]OFD Sender: No OFD packet to send [00:50:40]OFD Sender: No OFD packet to send [00:50:45]OFD Sender: No OFD packet to send [00:50:50]OFD Sender: No OFD packet to send [00:50:55]OFD Sender: No OFD packet to send [00:51:00]OFD Sender: No OFD packet to send [00:51:05]OFD Sender: No OFD packet to send [00:51:10]OFD Sender: No OFD packet to send [00:51:15]OFD Sender: No OFD packet to send [00:51:20]OFD Sender: No OFD packet to send [00:51:25]OFD Sender: No OFD packet to send [00:51:30]OFD Sender: No OFD packet to send [00:51:35]OFD Sender: No OFD packet to send [00:51:40]OFD Sender: No OFD packet to send [00:51:45]OFD Sender: No OFD packet to send [00:51:50]OFD Sender: No OFD packet to send [00:51:55]OFD Sender: No OFD packet to send [00:52:00]OFD Sender: No OFD packet to send [00:52:05]OFD Sender: No OFD packet to send [00:52:10]OFD Sender: No OFD packet to send [00:52:15]OFD Sender: No OFD packet to send [00:52:20]OFD Sender: No OFD packet to send [00:52:25]OFD Sender: No OFD packet to send [00:52:30]OFD Sender: No OFD packet to send [00:52:35]OFD Sender: No OFD packet to send [00:52:38]accept exits with 8 [00:52:38]New connection [00:52:38]New thread 3067321700 created [00:52:38]Thread 3067178340 joined [00:52:38]Waiting for new connection... [00:52:38] Sock 8.Parse request [00:52:38]Sock 8.Check first char [00:52:38]Sock 8.First char is OK [00:52:38]request: POST /json_proto HTTP/1.0 [00:52:38]Method: POST [00:52:38]URL: /json_proto [00:52:38]Method is POST - this is cgi request [00:52:38]url: /json_proto [00:52:38]query_string will be loaded in cgi processing [00:52:38]execute_cgi json_proto POST (null) [00:52:38]execute_cgi path=json_proto method=POST [00:52:38]POST find Content-Length [00:52:38]Host: 172.17.35.133:8080 [00:52:38]Content-Length: 616 [00:52:38]Content-Type: application/json [00:52:38] [00:52:38]POST finish read [00:52:38]Found Content-Length = 616 [00:52:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254311", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:52:38]execute_script... [00:52: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)254311", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:52:38]POST & json_proto [00:52:38]process_json_proto [00:52:38]json parsed OK: [00:52:38]protocol is kg_v1.0 [00:52:38]action value=close_receipt [00:52:38]process_action close_receipt [00:52:38]cmd_close_receipt [00:52:38]MH_GetDate [00:52:38]Write to MH i2c: F0 00 00 29 30 48 [00:52:38]Write i2c OK [00:52:38]MH_I2C_Read... [00:52:38]Read from MH i2c: F0 [00:52:38]MH_I2C_Read... [00:52:38]Read from MH i2c: F0 09 00 [00:52:38]MH_I2C_Read... [00:52:38]Read from MH i2c: F0 09 00 29 30 00 62 94 6B 66 8C 55 28 65 86 [00:52:38]GetLastDocTimeStamp 1718324742 [00:52:38]current date 1718326370 [00:52:38]FM_GetShiftState [00:52:38]SAM_PROTO_GetShiftState [00:52:38]wFMCommunicate request_size=4 [00:52:38]MH_SAM_APDU [00:52:38]CAPDU: 80 13 01 00 [00:52:38]Write to MH i2c: E2 08 00 2A 30 80 13 01 00 00 00 00 00 D7 [00:52:38]Write i2c OK [00:52:38]MH_I2C_Read... [00:52:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:52:38]Read from MH i2c: E2 [00:52:38]MH_I2C_Read... [00:52:38]Read from MH i2c: E2 0E 00 [00:52:38]MH_I2C_Read... [00:52:38]Read from MH i2c: E2 0E 00 2A 30 00 09 00 01 06 8E 6B 66 00 00 00 00 90 00 48 [00:52:38]RAPDU: 09 00 01 06 8E 6B 66 00 00 00 00 90 00 [00:52:38]wFMCommunicate OK [00:52:38]SAM_PROTO_GetShiftState done [00:52:38]FM_GetShiftState done [00:52:38]opened in 1718324742 [00:52:38]opened+sec_in_day 1718411142 [00:52:38]quantity*price = 14300 [00:52:38]sum+1 = 14301 [00:52:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 1 14.06.2024 00:52 Смена: 325 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22087 ФПД: 8334722934868 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240614T005250&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22087&fm=8334722934868&tin=02508201610067®Number=0000000000099755&sum=14300 0 [00:52:39]StoreToDocumentArchive [00:52:39]shift 325 fd 22087 [00:52:39]save to /storage/0325/doc_00022087 [00:52:39]save last doc name /storage/0325/doc_00022087 to /storage/kkm_last_doc_name [00:52:39]save OK [00:52:39]Clear old archive folders... [00:52:39]ProcessDocumentItem done err = 0, tmpTLVsize=268 [00:52:39]tlvbuf is B6FB2CA0 [00:52:39]SAM_PROTO_ClearQueue [00:52:39]wFMCommunicate request_size=4 [00:52:39]MH_SAM_APDU [00:52:39]CAPDU: 80 09 00 00 [00:52:39]Write to MH i2c: E2 08 00 37 30 80 09 00 00 00 00 00 00 D9 [00:52:39]Write i2c OK [00:52:39]MH_I2C_Read... [00:52:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:52:39]Read from MH i2c: E2 [00:52:39]MH_I2C_Read... [00:52:39]Read from MH i2c: E2 03 00 [00:52:39]MH_I2C_Read... [00:52:39]Read from MH i2c: E2 03 00 37 30 00 90 00 DB [00:52:39]RAPDU: 90 00 [00:52:39]wFMCommunicate OK [00:52:39]SAM_PROTO_ClearQueue done [00:52:39]KKMCreateOFDPacket [00:52:39]OFDProtocolAddRootSTLVToBuf [00:52:39]FM_MakeSignedData [00:52:39]FM_MakeSignedData [00:52:39]SAM_PROTO_SignData [00:52:39]wFMCommunicate request_size=4 [00:52:39]MH_SAM_APDU [00:52:39]CAPDU: 80 0D 01 02 [00:52:39]Write to MH i2c: E2 08 00 38 30 80 0D 01 02 00 00 00 00 E1 [00:52:39]Write i2c OK [00:52:39]MH_I2C_Read... [00:52:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:52:39]Read from MH i2c: E2 [00:52:39]MH_I2C_Read... [00:52:39]Read from MH i2c: E2 03 00 [00:52:39]MH_I2C_Read... [00:52:39]Read from MH i2c: E2 03 00 38 30 00 90 00 DC [00:52:39]RAPDU: 90 00 [00:52:39]wFMCommunicate OK [00:52:39]wFMCommunicate request_size=255 [00:52:39]MH_SAM_APDU [00:52:39]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 62 94 6B 66 0E 04 04 00 45 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:52:39]Write to MH i2c: E2 02 01 39 30 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 62 94 6B 66 0E 04 04 00 45 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 BD [00:52:39]Write i2c OK [00:52:39]MH_I2C_Read... [00:52:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:52:40]Read from MH i2c: E2 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: E2 03 00 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: E2 03 00 39 30 00 90 00 DD [00:52:40]RAPDU: 90 00 [00:52:40]wFMCommunicate OK [00:52:40]wFMCommunicate request_size=27 [00:52:40]MH_SAM_APDU [00:52:40]CAPDU: 80 0D 02 02 16 35 33 34 34 10 04 04 00 47 56 00 00 35 04 06 00 07 94 94 33 28 54 [00:52:40]Write to MH i2c: E2 1E 00 3A 30 80 0D 02 02 16 00 35 33 34 34 10 04 04 00 47 56 00 00 35 04 06 00 07 94 94 33 28 54 00 00 B2 [00:52:40]Write i2c OK [00:52:40]MH_I2C_Read... [00:52:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:52:40]Read from MH i2c: E2 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: E2 03 00 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: E2 03 00 3A 30 00 90 00 DE [00:52:40]RAPDU: 90 00 [00:52:40]wFMCommunicate OK [00:52:40]wFMCommunicate request_size=4 [00:52:40]MH_SAM_APDU [00:52:40]CAPDU: 80 0D 03 02 [00:52:40]Write to MH i2c: E2 08 00 3B 30 80 0D 03 02 00 00 00 00 E6 [00:52:40]Write i2c OK [00:52:40]MH_I2C_Read... [00:52:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:52:40]Read from MH i2c: E2 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: E2 0B 00 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: E2 0B 00 3B 30 00 FE 7B 52 BC 0F C0 8A 51 90 00 18 [00:52:40]RAPDU: FE 7B 52 BC 0F C0 8A 51 90 00 [00:52:40]wFMCommunicate OK [00:52:40]SAM_PROTO_SignData done [00:52:40]FM_MakeSignedData done [00:52:40]CreateOFDProtocolMessage [00:52:40]wFMCommunicate request_size=4 [00:52:40]MH_SAM_APDU [00:52:40]CAPDU: 80 11 00 00 [00:52:40]Write to MH i2c: E2 08 00 3C 30 80 11 00 00 00 00 00 00 E6 [00:52:40]Write i2c OK [00:52:40]MH_I2C_Read... [00:52:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:52:40]Read from MH i2c: E2 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: E2 17 00 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: E2 17 00 3C 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 38 [00:52:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:52:40]wFMCommunicate OK [00:52:40]CreateOFDProtocolMessage done [00:52:40]OFDSenderStorePacket 22087 [00:52:40]StoreOFDPacket docnum=22087 [00:52: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 20 01 00 00 30 58 18 01 EF 4D 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 62 94 6B 66 0E 04 04 00 45 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 47 56 00 00 35 04 06 00 07 94 94 33 28 54 FE 7B 52 BC 0F C0 8A 51 [00:52:40]CheckFolder [00:52:40]dirname=/storage/ofd_packets [00:52:40]CheckFolder done [00:52:40]ProducePacketName [00:52:40]name=ofd_packets/00022087 [00:52:40]NVStorageSaveData ofd_packets/00022087 [00:52:40]File name is /storage/ofd_packets/00022087 [00:52:40]Write 318 bytes [00:52:40]NVStorageSaveData done [00:52:40]OFDSenderStorePacket done [00:52:40]KKMCreateOFDPacket done [00:52:40]NVStorageSaveData kkm_last_timestamp [00:52:40]File name is /storage/kkm_last_timestamp [00:52:40]Write 4 bytes [00:52:40]NVStorageSaveData done [00:52:40]ExternCall_PrintAddStr [00:52:40]wPrintStart [00:52:40]Write to MH i2c: 01 00 00 3D 30 6D [00:52:40]Write i2c OK [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: 01 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: 01 07 00 [00:52:40]MH_I2C_Read... [00:52:40]Read from MH i2c: 01 07 00 3D 30 00 00 00 00 00 FF 0F 82 [00:52:40]RasterBufferAndPrint [00:52:40]line Счет N : (3)254311 [00:52:40]line ИНН: 02508201610067 [00:52:40]line Контрольно-Кассовый Чек [00:52:40]line ПРОДАЖА [00:52:40]line Товар: 4640030091584 [00:52:40]line Сигареты Esse Gold [00:52:40]line 1.000 * 143.00 [00:52:40]line = 143.00 [00:52:40]line НДС 12% НСП 1% [00:52:40]line > о реализуемом товаре [00:52:40]line ИТОГО: 143.00 [00:52:40]line НСП 1% : 1.26 [00:52:40]line НДС 12% : 15.19 [00:52:40]line Наличными: 143.00 [00:52:40]line Безнал.: 0.00 [00:52:40]line Место: АЗС № 76 "Партнер Нефть" [00:52:40]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [00:52:40]line СНО: Общий режим [00:52:40]line Чек 1 14.06.2024 00:52 [00:52:40]line Смена: 325 ФФД: 1.0 [00:52:40]line ЗНМ: 0300000200 [00:52:40]line РНМ: 0000000000099755 [00:52:40]line Версия ККМ: 001 [00:52:40]line ФМ: 0000000000965344 [00:52:40]line ФД: 22087 [00:52:40]line ФПД: 8334722934868 [00:52:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240614T005250&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22087&fm=8334722934868&tin=02508201610067®Number=0000000000099755&sum=14300 [00:52:40]line 0 [00:52:40]OFD Sender: Processing packet 22087 [packets to send 5, broken 4] [00:52:40]ProducePacketName [00:52:40]name=ofd_packets/00022087 [00:52:40]OFD Sender: To server: pG, [00:52:40]CommunicateWithHost lk.salyk.kg:30040 [00:52:40]ConnectInit lk.salyk.kg [00:52:40]written 0, free lines is 4095 [00:52:40]Connected sock=10 [00:52: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 20 01 00 00 30 58 18 01 EF 4D 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 62 94 6B 66 0E 04 04 00 45 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 47 56 00 00 35 04 06 00 07 94 94 33 28 54 FE 7B 52 BC 0F C0 8A 51 [00:52: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 5F 88 47 00 2D CB 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 47 56 00 00 F4 03 04 00 23 3D 6B 66 B6 04 01 00 00 CE CE 6E C8 85 7C 7D 4E [00:52:41]CommunicateWithHost err = 0 [00:52:41]CheckOFDResponse [00:52:41]1017 (14) - 77093643461234 [00:52:41]1041 (16) - 0000000000965344 [00:52:41]1040 (4) - 22087 [00:52:41]1012 (4) - 13.06.2024 18:40 [00:52:41]1206 (1) - 0 [00:52:41]OFD Sender: Remove packet 22087 [00:52:41]ProducePacketName [00:52:41]name=ofd_packets/00022087 [00:52:41]NVStorageDeleteData [00:52:41]Write to MH i2c: 01 00 00 65 30 95 [00:52:41]Write i2c OK [00:52:41]MH_I2C_Read... [00:52:41]Read from MH i2c: 01 [00:52:41]MH_I2C_Read... [00:52:41]Read from MH i2c: 01 07 00 [00:52:41]MH_I2C_Read... [00:52:41]Read from MH i2c: 01 07 00 65 30 00 00 00 00 00 17 0D C0 [00:52:41]RasterBufferAndPrint [00:52:41]line [00:52:41]line [00:52:41]line [00:52:41]line [00:52:41]line [00:52:41]written 0, free lines is 3357 [00:52:41]MH_Cut [00:52:41]Write to MH i2c: D1 01 00 6C 30 01 6E [00:52:41]Write i2c OK [00:52:41]MH_I2C_Read... [00:52:41]Read from MH i2c: D1 [00:52:41]MH_I2C_Read... [00:52:41]Read from MH i2c: D1 01 00 [00:52:41]MH_I2C_Read... [00:52:41]Read from MH i2c: D1 01 00 6C 30 00 6D [00:52:41]Write to MH i2c: 01 00 00 6D 30 9D [00:52:41]Write i2c OK [00:52:41]MH_I2C_Read... [00:52:41]OFD Sender: No OFD packet to send [00:52:41]*** Cut start [00:52:41]*** Partial cut [00:52:41]*** CUTSNS_PIN = 1 [00:52:41]*** CUTSNS_PIN = 0 [00:52:42]*** Brake cut motor [00:52:42]Read from MH i2c: 01 [00:52:42]MH_I2C_Read... [00:52:42]*** Stop cut motor [00:52:42]*** Cut end [00:52:42]Read from MH i2c: 01 07 00 [00:52:42]MH_I2C_Read... [00:52:42]Read from MH i2c: 01 07 00 6D 30 00 00 00 00 00 FF 0F B2 [00:52:42]process_action close_receipt done [00:52:42]requested_data is exist [00:52:42]produce_requested_data [00:52:42]requested_item fm.sn is exist - process it [00:52:42]wFMCommunicate request_size=4 [00:52:42]MH_SAM_APDU [00:52:42]CAPDU: 80 11 00 00 [00:52:42]Write to MH i2c: E2 08 00 6E 30 80 11 00 00 00 00 00 00 18 [00:52:42]Write i2c OK [00:52:42]MH_I2C_Read... [00:52:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:52:42]Read from MH i2c: E2 [00:52:42]MH_I2C_Read... [00:52:42]Read from MH i2c: E2 17 00 [00:52:42]MH_I2C_Read... [00:52:42]Read from MH i2c: E2 17 00 6E 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6A [00:52:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:52:42]wFMCommunicate OK [00:52:42]requested_item fd.num is exist - process it [00:52:42]SAM_PROTO_GetFieldsCounters [00:52:42]wFMCommunicate request_size=4 [00:52:42]MH_SAM_APDU [00:52:42]CAPDU: 80 13 00 00 [00:52:42]Write to MH i2c: E2 08 00 6F 30 80 13 00 00 00 00 00 00 1B [00:52:42]Write i2c OK [00:52:42]MH_I2C_Read... [00:52:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:52:42]Read from MH i2c: E2 [00:52:42]MH_I2C_Read... [00:52:42]Read from MH i2c: E2 62 00 [00:52:42]MH_I2C_Read... [00:52:42]Read from MH i2c: E2 62 00 6F 30 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 47 56 00 00 0E 04 04 00 45 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 2B [00:52: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 47 56 00 00 0E 04 04 00 45 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:52:42]wFMCommunicate OK [00:52:42]SAM_PROTO_GetFieldsCounters done [00:52:42]requested_item shift.num is exist - process it [00:52:42]requested_item shift.opened is exist - process it [00:52:42]req_shift_opened [00:52:42]FM_GetShiftState [00:52:42]SAM_PROTO_GetShiftState [00:52:42]wFMCommunicate request_size=4 [00:52:42]MH_SAM_APDU [00:52:42]CAPDU: 80 13 01 00 [00:52:42]Write to MH i2c: E2 08 00 70 30 80 13 01 00 00 00 00 00 1D [00:52:42]Write i2c OK [00:52:42]MH_I2C_Read... [00:52:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:52:42]Read from MH i2c: E2 [00:52:42]MH_I2C_Read... [00:52:42]Read from MH i2c: E2 0E 00 [00:52:42]MH_I2C_Read... [00:52:42]Read from MH i2c: E2 0E 00 70 30 00 09 00 01 06 8E 6B 66 00 00 00 00 90 00 8E [00:52:42]RAPDU: 09 00 01 06 8E 6B 66 00 00 00 00 90 00 [00:52:42]wFMCommunicate OK [00:52:42]SAM_PROTO_GetShiftState done [00:52:42]FM_GetShiftState done [00:52:42]req_shift_opened done [00:52:42]requested_item shift.open_date is exist - process it [00:52:42]req_shift_open_date [00:52:42]req_shift_open_date done [00:52:42]produce_requested_data done [00:52:42]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22087,"shift.num":325,"shift.opened":1,"shift.open_date":1718324742} [00:52:42]process_action_free close_receipt [00:52:42]json_value_free [00:52:42]json_value_free done [00:52:42]process_json_proto returns [00:52:42]Send response to host [00:52:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22087,"shift.num":325,"shift.opened":1,"shift.open_date":1718324742}}} [00:52:42]free response buf [00:52:42]execute_script done [00:52:42]execute_script returns [00:52:42]free content buf [00:52:42]Sock 8.Close socket [00:52:42]Sock 8.Thread stoped [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:51]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [01:03:12]OFD Sender: No OFD packet to send [01:03:17]OFD Sender: No OFD packet to send [01:03:22]OFD Sender: No OFD packet to send [01:03:27]OFD Sender: No OFD packet to send [01:03:32]OFD Sender: No OFD packet to send [01:03:37]OFD Sender: No OFD packet to send [01:03:42]OFD Sender: No OFD packet to send [01:03:47]OFD Sender: No OFD packet to send [01:03:52]OFD Sender: No OFD packet to send [01:03:57]OFD Sender: No OFD packet to send [01:04:02]OFD Sender: No OFD packet to send [01:04:07]OFD Sender: No OFD packet to send [01:04:12]OFD Sender: No OFD packet to send [01:04:17]OFD Sender: No OFD packet to send [01:04:22]OFD Sender: No OFD packet to send [01:04:27]OFD Sender: No OFD packet to send [01:04:32]OFD Sender: No OFD packet to send [01:04:37]OFD Sender: No OFD packet to send [01:04:42]OFD Sender: No OFD packet to send [01:04:47]OFD Sender: No OFD packet to send [01:04:52]OFD Sender: No OFD packet to send [01:04:57]OFD Sender: No OFD packet to send [01:05:02]OFD Sender: No OFD packet to send [01:05:07]OFD Sender: No OFD packet to send [01:05:12]OFD Sender: No OFD packet to send [01:05:17]OFD Sender: No OFD packet to send [01:05:22]OFD Sender: No OFD packet to send [01:05:27]OFD Sender: No OFD packet to send [01:05:32]OFD Sender: No OFD packet to send [01:05:37]OFD Sender: No OFD packet to send [01:05:42]OFD Sender: No OFD packet to send [01:05:47]OFD Sender: No OFD packet to send [01:05:52]OFD Sender: No OFD packet to send [01:05:57]OFD Sender: No OFD packet to send [01:06:02]OFD Sender: No OFD packet to send [01:06:07]OFD Sender: No OFD packet to send [01:06:12]OFD Sender: No OFD packet to send [01:06:17]OFD Sender: No OFD packet to send [01:06:22]OFD Sender: No OFD packet to send [01:06:27]OFD Sender: No OFD packet to send [01:06:32]OFD Sender: No OFD packet to send [01:06:37]OFD Sender: No OFD packet to send [01:06:42]OFD Sender: No OFD packet to send [01:06:47]OFD Sender: No OFD packet to send [01:06:52]OFD Sender: No OFD packet to send [01:06:57]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]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:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:13]OFD Sender: No OFD packet to send [01:26:18]OFD Sender: No OFD packet to send [01:26:23]OFD Sender: No OFD packet to send [01:26:28]OFD Sender: No OFD packet to send [01:26:33]OFD Sender: No OFD packet to send [01:26:38]OFD Sender: No OFD packet to send [01:26:43]OFD Sender: No OFD packet to send [01:26:48]OFD Sender: No OFD packet to send [01:26:53]OFD Sender: No OFD packet to send [01:26:58]OFD Sender: No OFD packet to send [01:27:03]OFD Sender: No OFD packet to send [01:27:08]OFD Sender: No OFD packet to send [01:27:13]OFD Sender: No OFD packet to send [01:27:18]OFD Sender: No OFD packet to send [01:27:23]OFD Sender: No OFD packet to send [01:27:28]OFD Sender: No OFD packet to send [01:27:33]OFD Sender: No OFD packet to send [01:27:38]OFD Sender: No OFD packet to send [01:27:43]OFD Sender: No OFD packet to send [01:27:48]OFD Sender: No OFD packet to send [01:27:53]OFD Sender: No OFD packet to send [01:27:58]OFD Sender: No OFD packet to send [01:28:03]OFD Sender: No OFD packet to send [01:28:08]OFD Sender: No OFD packet to send [01:28:13]OFD Sender: No OFD packet to send [01:28:18]OFD Sender: No OFD packet to send [01:28:23]OFD Sender: No OFD packet to send [01:28:28]OFD Sender: No OFD packet to send [01:28:33]OFD Sender: No OFD packet to send [01:28:38]OFD Sender: No OFD packet to send [01:28:43]OFD Sender: No OFD packet to send [01:28:48]OFD Sender: No OFD packet to send [01:28:53]OFD Sender: No OFD packet to send [01:28:58]OFD Sender: No OFD packet to send [01:29:03]OFD Sender: No OFD packet to send [01:29:08]OFD Sender: No OFD packet to send [01:29:13]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: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:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:53]OFD Sender: No OFD packet to send [01:42:58]OFD Sender: No OFD packet to send [01:43:03]OFD Sender: No OFD packet to send [01:43:08]OFD Sender: No OFD packet to send [01:43:13]OFD Sender: No OFD packet to send [01:43:18]OFD Sender: No OFD packet to send [01:43:23]OFD Sender: No OFD packet to send [01:43:28]OFD Sender: No OFD packet to send [01:43:33]OFD Sender: No OFD packet to send [01:43:38]OFD Sender: No OFD packet to send [01:43:43]OFD Sender: No OFD packet to send [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:44:58]OFD Sender: No OFD packet to send [01:45:03]OFD Sender: No OFD packet to send [01:45:08]OFD Sender: No OFD packet to send [01:45:13]OFD Sender: No OFD packet to send [01:45:18]OFD Sender: No OFD packet to send [01:45:23]OFD Sender: No OFD packet to send [01:45:28]OFD Sender: No OFD packet to send [01:45:33]OFD Sender: No OFD packet to send [01:45:38]OFD Sender: No OFD packet to send [01:45:43]OFD Sender: No OFD packet to send [01:45:48]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]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: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:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]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:30]OFD Sender: No OFD packet to send [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:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:00]recv_with_timeout no data received [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]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: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]ConnectInit Can't connect to host [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: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:43]ConnectInit Can't connect to host [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]recv_with_timeout no data received [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:14]recv_with_timeout no data received [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:53:40]ConnectInit Can't connect to host [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]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:50]recv_with_timeout no data received [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:42]OFD Sender: No OFD packet to send [02:56:43]recv_with_timeout no data received [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:17]OFD Sender: No OFD packet to send [02:58:22]OFD Sender: No OFD packet to send [02:58:27]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:43]recv_with_timeout no data received [02:58:47]OFD Sender: No OFD packet to send [02:58:52]OFD Sender: No OFD packet to send [02:58:57]OFD Sender: No OFD packet to send [02:59:02]OFD Sender: No OFD packet to send [02:59:07]OFD Sender: No OFD packet to send [02:59:12]OFD Sender: No OFD packet to send [02:59:17]OFD Sender: No OFD packet to send [02:59:22]OFD Sender: No OFD packet to send [02:59:26]recv_with_timeout no data received [02:59:27]OFD Sender: No OFD packet to send [02:59:32]OFD Sender: No OFD packet to send [02:59:37]OFD Sender: No OFD packet to send [02:59:42]OFD Sender: No OFD packet to send [02:59:46]recv_with_timeout no data received [02:59:47]OFD Sender: No OFD packet to send [02:59:52]OFD Sender: No OFD packet to send [02:59:57]OFD Sender: No OFD packet to send [03:00:02]OFD Sender: No OFD packet to send [03:00:06]recv_with_timeout no data received [03:00:07]OFD Sender: No OFD packet to send [03:00:12]OFD Sender: No OFD packet to send [03:00:17]OFD Sender: No OFD packet to send [03:00:27]OFD Sender: No OFD packet to send [03:00:31]recv_with_timeout no data received [03:00:32]OFD Sender: No OFD packet to send [03:00:37]OFD Sender: No OFD packet to send [03:00:42]OFD Sender: No OFD packet to send [03:00:47]OFD Sender: No OFD packet to send [03:01:02]OFD Sender: No OFD packet to send [03:01:02]recv_with_timeout no data received [03:01:07]OFD Sender: No OFD packet to send [03:01:12]OFD Sender: No OFD packet to send [03:01:17]OFD Sender: No OFD packet to send [03:01:22]OFD Sender: No OFD packet to send [03:01:27]OFD Sender: No OFD packet to send [03:01:32]OFD Sender: No OFD packet to send [03:01:37]OFD Sender: No OFD packet to send [03:01:42]OFD Sender: No OFD packet to send [03:01:47]OFD Sender: No OFD packet to send [03:01:52]OFD Sender: No OFD packet to send [03:01:57]OFD Sender: No OFD packet to send [03:02:02]OFD Sender: No OFD packet to send [03:02:07]OFD Sender: No OFD packet to send [03:02:12]OFD Sender: No OFD packet to send [03:02:17]OFD Sender: No OFD packet to send [03:02:22]OFD Sender: No OFD packet to send [03:02:27]OFD Sender: No OFD packet to send [03:02:37]OFD Sender: No OFD packet to send [03:02:40]recv_with_timeout no data received [03:02:42]OFD Sender: No OFD packet to send [03:02:47]OFD Sender: No OFD packet to send [03:02:52]OFD Sender: No OFD packet to send [03:02:57]OFD Sender: No OFD packet to send [03:03:02]OFD Sender: No OFD packet to send [03:03:07]OFD Sender: No OFD packet to send [03:03:12]OFD Sender: No OFD packet to send