[07:26:21]ConnectInit Can't connect to host [07:26:23]OFD Sender: Processing packet 1767 [packets to send 11, broken 0] [07:26:23]ProducePacketName [07:26:23]name=ofd_packets/00001767 [07:26:23]OFD Sender: To server: pG, [07:26:23]CommunicateWithHost lk.salyk.kg:30040 [07:26:23]ConnectInit lk.salyk.kg [07:26:26]Connected sock=8 [07:26:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 28 01 00 00 59 EC 20 01 BD E7 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 34 36 38 33 06 04 27 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 43 61 73 74 65 72 2B 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 F2 88 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 E7 06 00 00 35 04 06 00 90 B7 D6 74 47 1A EE 9E A5 B0 64 11 05 C1 [07:26:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 87 F7 47 00 1B C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 E7 06 00 00 F4 03 04 00 D9 85 90 66 B6 04 01 00 00 D6 5E 28 E7 32 95 FA 29 [07:26:26]CommunicateWithHost err = 0 [07:26:26]CheckOFDResponse [07:26:26]1017 (14) - 77093643461234 [07:26:26]1041 (16) - 0000000002098592 [07:26:26]1040 (4) - 1767 [07:26:26]1012 (4) - 12.07.2024 01:24 [07:26:26]1206 (1) - 0 [07:26:26]OFD Sender: Remove packet 1767 [07:26:26]ProducePacketName [07:26:26]name=ofd_packets/00001767 [07:26:26]NVStorageDeleteData [07:26:26]OFD Sender: Processing packet 1768 [packets to send 10, broken 0] [07:26:26]ProducePacketName [07:26:26]name=ofd_packets/00001768 [07:26:26]OFD Sender: To server: pG, [07:26:26]CommunicateWithHost lk.salyk.kg:30040 [07:26:26]ConnectInit lk.salyk.kg [07:26:26]Connected sock=8 [07:26:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 30 01 00 00 10 E8 28 01 26 77 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 02 00 00 00 F4 03 04 00 06 8B 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 E8 06 00 00 35 04 06 00 CA D0 2D 9C 9D E6 C7 9D 1A 26 30 4B DF 15 [07:26:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 E9 74 47 00 24 E8 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 32 30 39 38 35 39 32 10 04 04 00 E8 06 00 00 F4 03 04 00 DA 85 90 66 B6 04 01 00 00 DC B0 4E 4A C1 B9 5F DD [07:26:27]CommunicateWithHost err = 0 [07:26:27]CheckOFDResponse [07:26:27]1017 (14) - 77093643461234 [07:26:27]1041 (16) - 0000000002098592 [07:26:27]1040 (4) - 1768 [07:26:27]1012 (4) - 12.07.2024 01:24 [07:26:27]1206 (1) - 0 [07:26:27]OFD Sender: Remove packet 1768 [07:26:27]ProducePacketName [07:26:27]name=ofd_packets/00001768 [07:26:27]NVStorageDeleteData [07:26:27]OFD Sender: Processing packet 1769 [packets to send 9, broken 0] [07:26:27]ProducePacketName [07:26:27]name=ofd_packets/00001769 [07:26:27]OFD Sender: To server: pG, [07:26:27]CommunicateWithHost lk.salyk.kg:30040 [07:26:27]ConnectInit lk.salyk.kg [07:26:27]Connected sock=8 [07:26:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 02 02 00 00 08 3B FA 01 26 2A 5A 03 01 00 03 00 EE 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 30 30 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A4 D1 80 D1 83 D0 BD D0 B7 D0 B5 20 30 2C 37 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC FF 00 00 00 00 13 04 06 00 DC FF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 CC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 30 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 CC 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 67 9C 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 E9 06 00 00 35 04 06 00 37 76 57 BC E2 78 37 86 8D 5C 00 5E C7 88 [07:26:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 4E 8C 47 00 07 A9 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 32 30 39 38 35 39 32 10 04 04 00 E9 06 00 00 F4 03 04 00 DA 85 90 66 B6 04 01 00 00 01 61 A1 64 76 08 EC ED [07:26:27]CommunicateWithHost err = 0 [07:26:27]CheckOFDResponse [07:26:27]1017 (14) - 77093643461234 [07:26:27]1041 (16) - 0000000002098592 [07:26:27]1040 (4) - 1769 [07:26:27]1012 (4) - 12.07.2024 01:24 [07:26:27]1206 (1) - 0 [07:26:27]OFD Sender: Remove packet 1769 [07:26:27]ProducePacketName [07:26:27]name=ofd_packets/00001769 [07:26:27]NVStorageDeleteData [07:26:28]OFD Sender: Processing packet 1770 [packets to send 8, broken 0] [07:26:28]ProducePacketName [07:26:28]name=ofd_packets/00001770 [07:26:28]OFD Sender: To server: pG, [07:26:28]CommunicateWithHost lk.salyk.kg:30040 [07:26:28]ConnectInit lk.salyk.kg [07:26:28]Connected sock=8 [07:26:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 21 01 00 00 1E 37 19 01 2E 7D 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 16 00 00 00 00 07 04 06 00 D8 D6 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 11 A8 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 EA 06 00 00 35 04 06 00 CD ED 00 76 F7 27 51 DC D3 34 A9 06 CC C1 [07:26:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 8A 9F 47 00 65 CF 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 32 30 39 38 35 39 32 10 04 04 00 EA 06 00 00 F4 03 04 00 DB 85 90 66 B6 04 01 00 00 CB 75 82 D2 1C 4C 56 0E [07:26:28]CommunicateWithHost err = 0 [07:26:28]CheckOFDResponse [07:26:28]1017 (14) - 77093643461234 [07:26:28]1041 (16) - 0000000002098592 [07:26:28]1040 (4) - 1770 [07:26:28]1012 (4) - 12.07.2024 01:24 [07:26:28]1206 (1) - 0 [07:26:28]OFD Sender: Remove packet 1770 [07:26:28]ProducePacketName [07:26:28]name=ofd_packets/00001770 [07:26:28]NVStorageDeleteData [07:26:29]OFD Sender: Processing packet 1771 [packets to send 7, broken 0] [07:26:29]ProducePacketName [07:26:29]name=ofd_packets/00001771 [07:26:29]OFD Sender: To server: pG, [07:26:29]CommunicateWithHost lk.salyk.kg:30040 [07:26:29]ConnectInit lk.salyk.kg [07:26:29]Connected sock=8 [07:26:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 23 01 00 00 06 35 1B 01 4E 95 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 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 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 05 00 00 00 F4 03 04 00 B3 AF 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 EB 06 00 00 35 04 06 00 B3 46 F7 F8 81 0B DA 10 76 E8 C8 29 FE 3C [07:26:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 50 92 47 00 3E 31 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 32 30 39 38 35 39 32 10 04 04 00 EB 06 00 00 F4 03 04 00 DC 85 90 66 B6 04 01 00 00 03 80 4C D8 34 AE 0F 58 [07:26:29]CommunicateWithHost err = 0 [07:26:29]CheckOFDResponse [07:26:29]1017 (14) - 77093643461234 [07:26:29]1041 (16) - 0000000002098592 [07:26:29]1040 (4) - 1771 [07:26:29]1012 (4) - 12.07.2024 01:24 [07:26:29]1206 (1) - 0 [07:26:29]OFD Sender: Remove packet 1771 [07:26:29]ProducePacketName [07:26:29]name=ofd_packets/00001771 [07:26:29]NVStorageDeleteData [07:26:29]OFD Sender: Processing packet 1772 [packets to send 6, broken 0] [07:26:29]ProducePacketName [07:26:29]name=ofd_packets/00001772 [07:26:29]OFD Sender: To server: pG, [07:26:29]CommunicateWithHost lk.salyk.kg:30040 [07:26:29]ConnectInit lk.salyk.kg [07:26:29]Connected sock=8 [07:26:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 39 01 00 00 1F C6 31 01 03 AB 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 06 00 00 00 F4 03 04 00 68 BD 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 EC 06 00 00 35 04 06 00 13 9C EF 66 DF E6 43 BB 90 85 9E BD 5D 1A [07:26:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 D9 EB 47 00 D7 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 EC 06 00 00 F4 03 04 00 DD 85 90 66 B6 04 01 00 00 C1 8C D3 05 F1 BB AC CB [07:26:30]CommunicateWithHost err = 0 [07:26:30]CheckOFDResponse [07:26:30]1017 (14) - 77093643461234 [07:26:30]1041 (16) - 0000000002098592 [07:26:30]1040 (4) - 1772 [07:26:30]1012 (4) - 12.07.2024 01:24 [07:26:30]1206 (1) - 0 [07:26:30]OFD Sender: Remove packet 1772 [07:26:30]ProducePacketName [07:26:30]name=ofd_packets/00001772 [07:26:30]NVStorageDeleteData [07:26:30]OFD Sender: Processing packet 1773 [packets to send 5, broken 0] [07:26:30]ProducePacketName [07:26:30]name=ofd_packets/00001773 [07:26:30]OFD Sender: To server: pG, [07:26:30]CommunicateWithHost lk.salyk.kg:30040 [07:26:30]ConnectInit lk.salyk.kg [07:26:30]Connected sock=8 [07:26:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 24 01 00 00 3E 21 1C 01 58 E1 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C7 C3 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 ED 06 00 00 35 04 06 00 ED 02 69 DC 39 57 98 B0 51 A7 F0 31 28 C0 [07:26:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 50 86 47 00 76 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 ED 06 00 00 F4 03 04 00 DE 85 90 66 B6 04 01 00 00 B2 74 A5 97 C5 10 D5 91 [07:26:30]CommunicateWithHost err = 0 [07:26:30]CheckOFDResponse [07:26:30]1017 (14) - 77093643461234 [07:26:30]1041 (16) - 0000000002098592 [07:26:30]1040 (4) - 1773 [07:26:30]1012 (4) - 12.07.2024 01:24 [07:26:30]1206 (1) - 0 [07:26:30]OFD Sender: Remove packet 1773 [07:26:30]ProducePacketName [07:26:30]name=ofd_packets/00001773 [07:26:30]NVStorageDeleteData [07:26:31]OFD Sender: Processing packet 1774 [packets to send 4, broken 0] [07:26:31]ProducePacketName [07:26:31]name=ofd_packets/00001774 [07:26:31]OFD Sender: To server: pG, [07:26:31]CommunicateWithHost lk.salyk.kg:30040 [07:26:31]ConnectInit lk.salyk.kg [07:26:31]Connected sock=8 [07:26:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 11 02 00 00 F2 36 09 02 5C 67 5A 03 01 00 03 00 FD 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 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 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 20 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 10 00 00 00 00 07 04 06 00 20 99 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 5D C4 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 EE 06 00 00 35 04 06 00 A0 8A 62 C9 C7 D0 1E 61 61 7C 2A BF 3A 77 [07:26:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 90 B9 47 00 C8 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 32 30 39 38 35 39 32 10 04 04 00 EE 06 00 00 F4 03 04 00 DE 85 90 66 B6 04 01 00 00 2A 79 98 96 81 4B 4A CA [07:26:31]CommunicateWithHost err = 0 [07:26:31]CheckOFDResponse [07:26:31]1017 (14) - 77093643461234 [07:26:31]1041 (16) - 0000000002098592 [07:26:31]1040 (4) - 1774 [07:26:31]1012 (4) - 12.07.2024 01:24 [07:26:31]1206 (1) - 0 [07:26:31]OFD Sender: Remove packet 1774 [07:26:31]ProducePacketName [07:26:31]name=ofd_packets/00001774 [07:26:31]NVStorageDeleteData [07:26:32]OFD Sender: Processing packet 1775 [packets to send 3, broken 0] [07:26:32]ProducePacketName [07:26:32]name=ofd_packets/00001775 [07:26:32]OFD Sender: To server: pG, [07:26:32]CommunicateWithHost lk.salyk.kg:30040 [07:26:32]ConnectInit lk.salyk.kg [07:26:32]Connected sock=8 [07:26:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2E 01 00 00 AC B0 26 01 4E 01 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 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 09 00 00 00 F4 03 04 00 9D C4 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 EF 06 00 00 35 04 06 00 C9 E6 1F 7F 20 09 57 C1 F1 8E 30 CF 24 73 [07:26:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 A1 BE 47 00 08 F1 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 32 30 39 38 35 39 32 10 04 04 00 EF 06 00 00 F4 03 04 00 DF 85 90 66 B6 04 01 00 00 5B 43 8E 7F 18 E9 AC B2 [07:26:32]CommunicateWithHost err = 0 [07:26:32]CheckOFDResponse [07:26:32]1017 (14) - 77093643461234 [07:26:32]1041 (16) - 0000000002098592 [07:26:32]1040 (4) - 1775 [07:26:32]1012 (4) - 12.07.2024 01:24 [07:26:32]1206 (1) - 0 [07:26:32]OFD Sender: Remove packet 1775 [07:26:32]ProducePacketName [07:26:32]name=ofd_packets/00001775 [07:26:32]NVStorageDeleteData [07:26:32]OFD Sender: Processing packet 1776 [packets to send 2, broken 0] [07:26:32]ProducePacketName [07:26:32]name=ofd_packets/00001776 [07:26:32]OFD Sender: To server: pG, [07:26:32]CommunicateWithHost lk.salyk.kg:30040 [07:26:32]ConnectInit lk.salyk.kg [07:26:32]Connected sock=8 [07:26:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 23 01 00 00 71 A6 1B 01 47 7A 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 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 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 0A 00 00 00 F4 03 04 00 B1 CB 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F0 06 00 00 35 04 06 00 78 10 90 D7 96 8F 78 22 C4 BB CB 77 90 11 [07:26:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 BB 62 47 00 EF F7 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 32 30 39 38 35 39 32 10 04 04 00 F0 06 00 00 F4 03 04 00 E0 85 90 66 B6 04 01 00 00 A4 2B D6 FE B1 9C A4 DA [07:26:33]CommunicateWithHost err = 0 [07:26:33]CheckOFDResponse [07:26:33]1017 (14) - 77093643461234 [07:26:33]1041 (16) - 0000000002098592 [07:26:33]1040 (4) - 1776 [07:26:33]1012 (4) - 12.07.2024 01:24 [07:26:33]1206 (1) - 0 [07:26:33]OFD Sender: Remove packet 1776 [07:26:33]ProducePacketName [07:26:33]name=ofd_packets/00001776 [07:26:33]NVStorageDeleteData [07:26:33]OFD Sender: Processing packet 1777 [packets to send 1, broken 0] [07:26:33]ProducePacketName [07:26:33]name=ofd_packets/00001777 [07:26:33]OFD Sender: To server: pG, [07:26:33]CommunicateWithHost lk.salyk.kg:30040 [07:26:33]ConnectInit lk.salyk.kg [07:26:33]Connected sock=8 [07:26:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 26 01 00 00 51 B5 1E 01 FA 3E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 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 0B 00 00 00 F4 03 04 00 F2 D5 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F1 06 00 00 35 04 06 00 B8 13 EE 0F 5D BC 41 62 E9 6A BE 4A B2 3B [07:26:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 9C EF 47 00 60 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F1 06 00 00 F4 03 04 00 E1 85 90 66 B6 04 01 00 00 3D 77 91 E8 AF A7 1F 3D [07:26:33]CommunicateWithHost err = 0 [07:26:33]CheckOFDResponse [07:26:33]1017 (14) - 77093643461234 [07:26:33]1041 (16) - 0000000002098592 [07:26:33]1040 (4) - 1777 [07:26:33]1012 (4) - 12.07.2024 01:24 [07:26:33]1206 (1) - 0 [07:26:33]OFD Sender: Remove packet 1777 [07:26:33]ProducePacketName [07:26:33]name=ofd_packets/00001777 [07:26:33]NVStorageDeleteData [07:26:34]OFD Sender: No OFD packet to send [07:26:39]OFD Sender: No OFD packet to send [07:26:44]OFD Sender: No OFD packet to send [07:26:49]OFD Sender: No OFD packet to send [07:26:54]OFD Sender: No OFD packet to send [07:26:59]OFD Sender: No OFD packet to send [07:27:04]OFD Sender: No OFD packet to send [07:27:09]OFD Sender: No OFD packet to send [07:27:14]OFD Sender: No OFD packet to send [07:27:19]OFD Sender: No OFD packet to send [07:27:24]OFD Sender: No OFD packet to send [07:27:29]OFD Sender: No OFD packet to send [07:27:34]OFD Sender: No OFD packet to send [07:27:39]OFD Sender: No OFD packet to send [07:27:44]OFD Sender: No OFD packet to send [07:27:49]OFD Sender: No OFD packet to send [07:27:54]OFD Sender: No OFD packet to send [07:27:59]OFD Sender: No OFD packet to send [07:28:04]OFD Sender: No OFD packet to send [07:28:09]OFD Sender: No OFD packet to send [07:28:14]OFD Sender: No OFD packet to send [07:28:19]OFD Sender: No OFD packet to send [07:28:24]OFD Sender: No OFD packet to send [07:28:29]OFD Sender: No OFD packet to send [07:28:34]OFD Sender: No OFD packet to send [07:28:39]OFD Sender: No OFD packet to send [07:28:44]OFD Sender: No OFD packet to send [07:28:49]OFD Sender: No OFD packet to send [07:28:54]OFD Sender: No OFD packet to send [07:28:59]OFD Sender: No OFD packet to send [07:29:04]OFD Sender: No OFD packet to send [07:29:09]OFD Sender: No OFD packet to send [07:29:14]OFD Sender: No OFD packet to send [07:29:19]OFD Sender: No OFD packet to send [07:29:24]OFD Sender: No OFD packet to send [07:29:29]OFD Sender: No OFD packet to send [07:29:34]OFD Sender: No OFD packet to send [07:29:39]OFD Sender: No OFD packet to send [07:29:44]OFD Sender: No OFD packet to send [07:29:49]OFD Sender: No OFD packet to send [07:29:54]OFD Sender: No OFD packet to send [07:29:59]OFD Sender: No OFD packet to send [07:30:04]OFD Sender: No OFD packet to send [07:30:09]OFD Sender: No OFD packet to send [07:30:14]OFD Sender: No OFD packet to send [07:30:19]OFD Sender: No OFD packet to send [07:30:24]OFD Sender: No OFD packet to send [07:30:29]OFD Sender: No OFD packet to send [07:30:34]OFD Sender: No OFD packet to send [07:30:39]OFD Sender: No OFD packet to send [07:30:44]OFD Sender: No OFD packet to send [07:30:49]OFD Sender: No OFD packet to send [07:30:54]OFD Sender: No OFD packet to send [07:30:59]OFD Sender: No OFD packet to send [07:31:04]OFD Sender: No OFD packet to send [07:31:09]OFD Sender: No OFD packet to send [07:31:14]OFD Sender: No OFD packet to send [07:31:19]OFD Sender: No OFD packet to send [07:31:24]OFD Sender: No OFD packet to send [07:31:29]OFD Sender: No OFD packet to send [07:31:34]OFD Sender: No OFD packet to send [07:31:39]OFD Sender: No OFD packet to send [07:31:44]OFD Sender: No OFD packet to send [07:31:49]OFD Sender: No OFD packet to send [07:31:54]OFD Sender: No OFD packet to send [07:31:59]OFD Sender: No OFD packet to send [07:32:04]OFD Sender: No OFD packet to send [07:32:09]OFD Sender: No OFD packet to send [07:32:14]OFD Sender: No OFD packet to send [07:32:19]OFD Sender: No OFD packet to send [07:32:24]OFD Sender: No OFD packet to send [07:32:29]OFD Sender: No OFD packet to send [07:32:34]OFD Sender: No OFD packet to send [07:32:39]OFD Sender: No OFD packet to send [07:32:44]OFD Sender: No OFD packet to send [07:32:49]OFD Sender: No OFD packet to send [07:32:54]OFD Sender: No OFD packet to send [07:32:59]OFD Sender: No OFD packet to send [07:33:04]OFD Sender: No OFD packet to send [07:33:09]OFD Sender: No OFD packet to send [07:33:14]OFD Sender: No OFD packet to send [07:33:19]OFD Sender: No OFD packet to send [07:33:24]OFD Sender: No OFD packet to send [07:33:29]OFD Sender: No OFD packet to send [07:33:34]OFD Sender: No OFD packet to send [07:33:39]OFD Sender: No OFD packet to send [07:33:44]OFD Sender: No OFD packet to send [07:33:49]OFD Sender: No OFD packet to send [07:33:54]OFD Sender: No OFD packet to send [07:33:59]OFD Sender: No OFD packet to send [07:34:04]OFD Sender: No OFD packet to send [07:34:09]OFD Sender: No OFD packet to send [07:34:14]OFD Sender: No OFD packet to send [07:34:19]OFD Sender: No OFD packet to send [07:34:24]OFD Sender: No OFD packet to send [07:34:29]OFD Sender: No OFD packet to send [07:34:34]OFD Sender: No OFD packet to send [07:34:39]OFD Sender: No OFD packet to send [07:34:44]OFD Sender: No OFD packet to send [07:34:49]OFD Sender: No OFD packet to send [07:34:54]OFD Sender: No OFD packet to send [07:34:59]OFD Sender: No OFD packet to send [07:35:04]OFD Sender: No OFD packet to send [07:35:09]OFD Sender: No OFD packet to send [07:35:14]OFD Sender: No OFD packet to send [07:35:19]OFD Sender: No OFD packet to send [07:35:24]OFD Sender: No OFD packet to send [07:35:29]OFD Sender: No OFD packet to send [07:35:34]OFD Sender: No OFD packet to send [07:35:39]OFD Sender: No OFD packet to send [07:35:44]OFD Sender: No OFD packet to send [07:35:49]OFD Sender: No OFD packet to send [07:35:54]OFD Sender: No OFD packet to send [07:35:59]OFD Sender: No OFD packet to send [07:36:04]OFD Sender: No OFD packet to send [07:36:09]OFD Sender: No OFD packet to send [07:36:14]OFD Sender: No OFD packet to send [07:36:19]OFD Sender: No OFD packet to send [07:36:24]OFD Sender: No OFD packet to send [07:36:29]OFD Sender: No OFD packet to send [07:36:34]OFD Sender: No OFD packet to send [07:36:39]OFD Sender: No OFD packet to send [07:36:44]OFD Sender: No OFD packet to send [07:36:49]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07:36:59]OFD Sender: No OFD packet to send [07:37:04]OFD Sender: No OFD packet to send [07:37:09]OFD Sender: No OFD packet to send [07:37:14]OFD Sender: No OFD packet to send [07:37:19]OFD Sender: No OFD packet to send [07:37:24]OFD Sender: No OFD packet to send [07:37:29]OFD Sender: No OFD packet to send [07:37:34]OFD Sender: No OFD packet to send [07:37:39]OFD Sender: No OFD packet to send [07:37:44]OFD Sender: No OFD packet to send [07:37:49]OFD Sender: No OFD packet to send [07:37:54]OFD Sender: No OFD packet to send [07:37:59]OFD Sender: No OFD packet to send [07:38:04]OFD Sender: No OFD packet to send [07:38:09]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:35]OFD Sender: No OFD packet to send [07:41:40]OFD Sender: No OFD packet to send [07:41:45]OFD Sender: No OFD packet to send [07:41:50]OFD Sender: No OFD packet to send [07:41:55]OFD Sender: No OFD packet to send [07:42:00]OFD Sender: No OFD packet to send [07:42:05]OFD Sender: No OFD packet to send [07:42:10]OFD Sender: No OFD packet to send [07:42:15]OFD Sender: No OFD packet to send [07:42:20]OFD Sender: No OFD packet to send [07:42:25]OFD Sender: No OFD packet to send [07:42:30]OFD Sender: No OFD packet to send [07:42:35]OFD Sender: No OFD packet to send [07:42:40]OFD Sender: No OFD packet to send [07:42:45]OFD Sender: No OFD packet to send [07:42:50]OFD Sender: No OFD packet to send [07:42:55]OFD Sender: No OFD packet to send [07:43:00]OFD Sender: No OFD packet to send [07:43:05]OFD Sender: No OFD packet to send [07:43:10]OFD Sender: No OFD packet to send [07:43:15]OFD Sender: No OFD packet to send [07:43:20]OFD Sender: No OFD packet to send [07:43:25]OFD Sender: No OFD packet to send [07:43:30]OFD Sender: No OFD packet to send [07:43:35]OFD Sender: No OFD packet to send [07:43:40]OFD Sender: No OFD packet to send [07:43:45]OFD Sender: No OFD packet to send [07:43:50]OFD Sender: No OFD packet to send [07:43:55]OFD Sender: No OFD packet to send [07:44:00]OFD Sender: No OFD packet to send [07:44:05]OFD Sender: No OFD packet to send [07:44:10]OFD Sender: No OFD packet to send [07:44:15]OFD Sender: No OFD packet to send [07:44:20]OFD Sender: No OFD packet to send [07:44:25]OFD Sender: No OFD packet to send [07:44:30]OFD Sender: No OFD packet to send [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:45]OFD Sender: No OFD packet to send [07:44:50]OFD Sender: No OFD packet to send [07:44:55]OFD Sender: No OFD packet to send [07:45:00]OFD Sender: No OFD packet to send [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46:50]OFD Sender: No OFD packet to send [07:46:55]OFD Sender: No OFD packet to send [07:47:00]OFD Sender: No OFD packet to send [07:47:05]OFD Sender: No OFD packet to send [07:47:10]OFD Sender: No OFD packet to send [07:47:15]OFD Sender: No OFD packet to send [07:47:20]OFD Sender: No OFD packet to send [07:47:25]OFD Sender: No OFD packet to send [07:47:30]OFD Sender: No OFD packet to send [07:47:35]OFD Sender: No OFD packet to send [07:47:40]OFD Sender: No OFD packet to send [07:47:45]OFD Sender: No OFD packet to send [07:47:50]OFD Sender: No OFD packet to send [07:47:55]OFD Sender: No OFD packet to send [07:48:00]OFD Sender: No OFD packet to send [07:48:05]OFD Sender: No OFD packet to send [07:48:10]OFD Sender: No OFD packet to send [07:48:15]OFD Sender: No OFD packet to send [07:48:20]OFD Sender: No OFD packet to send [07:48:25]OFD Sender: No OFD packet to send [07:48:30]OFD Sender: No OFD packet to send [07:48:35]OFD Sender: No OFD packet to send [07:48:40]OFD Sender: No OFD packet to send [07:48:45]OFD Sender: No OFD packet to send [07:48:50]OFD Sender: No OFD packet to send [07:48:55]OFD Sender: No OFD packet to send [07:49:00]OFD Sender: No OFD packet to send [07:49:05]OFD Sender: No OFD packet to send [07:49:10]OFD Sender: No OFD packet to send [07:49:15]OFD Sender: No OFD packet to send [07:49:20]OFD Sender: No OFD packet to send [07:49:25]OFD Sender: No OFD packet to send [07:49:30]OFD Sender: No OFD packet to send [07:49:35]OFD Sender: No OFD packet to send [07:49:40]OFD Sender: No OFD packet to send [07:49:45]OFD Sender: No OFD packet to send [07:49:50]OFD Sender: No OFD packet to send [07:49:55]OFD Sender: No OFD packet to send [07:50:00]OFD Sender: No OFD packet to send [07:50:05]OFD Sender: No OFD packet to send [07:50:10]OFD Sender: No OFD packet to send [07:50:15]OFD Sender: No OFD packet to send [07:50:20]OFD Sender: No OFD packet to send [07:50:25]OFD Sender: No OFD packet to send [07:50:30]OFD Sender: No OFD packet to send [07:50:35]OFD Sender: No OFD packet to send [07:50:40]OFD Sender: No OFD packet to send [07:50:45]OFD Sender: No OFD packet to send [07:50:50]OFD Sender: No OFD packet to send [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:45]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:53:00]OFD Sender: No OFD packet to send [07:53:05]OFD Sender: No OFD packet to send [07:53:10]OFD Sender: No OFD packet to send [07:53:15]OFD Sender: No OFD packet to send [07:53:20]OFD Sender: No OFD packet to send [07:53:25]OFD Sender: No OFD packet to send [07:53:30]OFD Sender: No OFD packet to send [07:53:35]OFD Sender: No OFD packet to send [07:53:40]OFD Sender: No OFD packet to send [07:53:45]OFD Sender: No OFD packet to send [07:53:50]OFD Sender: No OFD packet to send [07:53:55]OFD Sender: No OFD packet to send [07:54:00]OFD Sender: No OFD packet to send [07:54:05]OFD Sender: No OFD packet to send [07:54:10]OFD Sender: No OFD packet to send [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:30]OFD Sender: No OFD packet to send [07:54:35]OFD Sender: No OFD packet to send [07:54:40]OFD Sender: No OFD packet to send [07:54:45]OFD Sender: No OFD packet to send [07:54:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:10]OFD Sender: No OFD packet to send [07:55:15]OFD Sender: No OFD packet to send [07:55:20]OFD Sender: No OFD packet to send [07:55:25]OFD Sender: No OFD packet to send [07:55:30]OFD Sender: No OFD packet to send [07:55:35]OFD Sender: No OFD packet to send [07:55:40]OFD Sender: No OFD packet to send [07:55:45]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:18]accept exits with 11 [07:58:18]New connection [07:58:18]New thread 3067145572 created [07:58:18]Thread 3067002212 joined [07:58:18]Waiting for new connection... [07:58:18] Sock 11.Parse request [07:58:18]Sock 11.Check first char [07:58:18]Sock 11.First char is OK [07:58:18]request: POST /json_proto HTTP/1.0 [07:58:18]Method: POST [07:58:18]URL: /json_proto [07:58:18]Method is POST - this is cgi request [07:58:18]url: /json_proto [07:58:18]query_string will be loaded in cgi processing [07:58:18]execute_cgi json_proto POST (null) [07:58:18]execute_cgi path=json_proto method=POST [07:58:18]POST find Content-Length [07:58:18]Host: 172.17.35.133:8080 [07:58:18]Content-Length: 575 [07:58:18]Content-Type: application/json [07:58:18] [07:58:18]POST finish read [07:58:18]Found Content-Length = 575 [07:58:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256247", "tax_sys" : 0, "items" : [ { "code": "46233820", "name": "LD Compact 100s 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" ] } } [07:58:18]execute_script... [07:58: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)256247", "tax_sys" : 0, "items" : [ { "code": "46233820", "name": "LD Compact 100s 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" ] } } [07:58:18]POST & json_proto [07:58:18]process_json_proto [07:58:18]json parsed OK: [07:58:18]protocol is kg_v1.0 [07:58:18]action value=close_receipt [07:58:18]process_action close_receipt [07:58:18]cmd_close_receipt [07:58:18]MH_GetDate [07:58:18]Write to MH i2c: F0 00 00 1D 00 0C [07:58:18]Write i2c OK [07:58:18]MH_I2C_Read... [07:58:18]Read from MH i2c: F0 [07:58:18]MH_I2C_Read... [07:58:18]Read from MH i2c: F0 09 00 [07:58:18]MH_I2C_Read... [07:58:18]Read from MH i2c: F0 09 00 1D 00 00 1A E2 90 66 1B 28 2A 66 DA [07:58:18]GetLastDocTimeStamp 1720767986 [07:58:18]current date 1720771098 [07:58:18]FM_GetShiftState [07:58:18]SAM_PROTO_GetShiftState [07:58:18]wFMCommunicate request_size=4 [07:58:18]MH_SAM_APDU [07:58:18]CAPDU: 80 13 01 00 [07:58:18]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [07:58:18]Write i2c OK [07:58:18]MH_I2C_Read... [07:58:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:18]Read from MH i2c: E2 [07:58:18]MH_I2C_Read... [07:58:18]Read from MH i2c: E2 0E 00 [07:58:18]MH_I2C_Read... [07:58:18]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 54 [07:58:18]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [07:58:18]wFMCommunicate OK [07:58:18]SAM_PROTO_GetShiftState done [07:58:18]FM_GetShiftState done [07:58:18]opened in 1720742979 [07:58:18]opened+sec_in_day 1720829379 [07:58:18]quantity*price = 13000 [07:58:18]sum+1 = 13001 [07:58:18]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 12.07.2024 07:58 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1778 ФПД: 123938796096088 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T075818&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1778&fm=123938796096088&tin=02508201610067®Number=0000000000177495&sum=13000 0 [07:58:18]StoreToDocumentArchive [07:58:18]shift 23 fd 1778 [07:58:18]save to /storage/0023/doc_00001778 [07:58:18]save last doc name /storage/0023/doc_00001778 to /storage/kkm_last_doc_name [07:58:18]save OK [07:58:18]Clear old archive folders... [07:58:18]ProcessDocumentItem done err = 0, tmpTLVsize=259 [07:58:18]tlvbuf is 01075C80 [07:58:18]SAM_PROTO_ClearQueue [07:58:18]wFMCommunicate request_size=4 [07:58:18]MH_SAM_APDU [07:58:18]CAPDU: 80 09 00 00 [07:58:18]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [07:58:18]Write i2c OK [07:58:18]MH_I2C_Read... [07:58:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:58:18]Read from MH i2c: E2 [07:58:18]MH_I2C_Read... [07:58:18]Read from MH i2c: E2 03 00 [07:58:18]MH_I2C_Read... [07:58:18]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [07:58:18]RAPDU: 90 00 [07:58:18]wFMCommunicate OK [07:58:18]SAM_PROTO_ClearQueue done [07:58:18]KKMCreateOFDPacket [07:58:18]OFDProtocolAddRootSTLVToBuf [07:58:18]FM_MakeSignedData [07:58:18]FM_MakeSignedData [07:58:18]SAM_PROTO_SignData [07:58:18]wFMCommunicate request_size=4 [07:58:18]MH_SAM_APDU [07:58:18]CAPDU: 80 0D 01 02 [07:58:18]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [07:58:18]Write i2c OK [07:58:18]MH_I2C_Read... [07:58:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:58:19]Read from MH i2c: E2 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 03 00 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [07:58:19]RAPDU: 90 00 [07:58:19]wFMCommunicate OK [07:58:19]wFMCommunicate request_size=255 [07:58:19]MH_SAM_APDU [07:58:19]CAPDU: 80 0D 02 02 FA 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 36 32 33 33 38 32 30 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 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 1A E2 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F2 [07:58:19]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 36 32 33 33 38 32 30 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 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 1A E2 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F2 00 00 A8 [07:58:19]Write i2c OK [07:58:19]MH_I2C_Read... [07:58:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:19]Read from MH i2c: E2 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 03 00 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [07:58:19]RAPDU: 90 00 [07:58:19]wFMCommunicate OK [07:58:19]wFMCommunicate request_size=18 [07:58:19]MH_SAM_APDU [07:58:19]CAPDU: 80 0D 02 02 0D 06 00 00 35 04 06 00 70 B8 BF EA 4A 58 [07:58:19]Write to MH i2c: E2 15 00 2E 00 80 0D 02 02 0D 00 06 00 00 35 04 06 00 70 B8 BF EA 4A 58 00 00 7A [07:58:19]Write i2c OK [07:58:19]MH_I2C_Read... [07:58:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:19]Read from MH i2c: E2 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 03 00 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [07:58:19]RAPDU: 90 00 [07:58:19]wFMCommunicate OK [07:58:19]wFMCommunicate request_size=4 [07:58:19]MH_SAM_APDU [07:58:19]CAPDU: 80 0D 03 02 [07:58:19]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [07:58:19]Write i2c OK [07:58:19]MH_I2C_Read... [07:58:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:58:19]Read from MH i2c: E2 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 0B 00 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 0B 00 2F 00 00 6D DC C8 4F 80 90 24 8C 90 00 CB [07:58:19]RAPDU: 6D DC C8 4F 80 90 24 8C 90 00 [07:58:19]wFMCommunicate OK [07:58:19]SAM_PROTO_SignData done [07:58:19]FM_MakeSignedData done [07:58:19]CreateOFDProtocolMessage [07:58:19]wFMCommunicate request_size=4 [07:58:19]MH_SAM_APDU [07:58:19]CAPDU: 80 11 00 00 [07:58:19]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [07:58:19]Write i2c OK [07:58:19]MH_I2C_Read... [07:58:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:19]Read from MH i2c: E2 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 17 00 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 00 [07:58:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [07:58:19]wFMCommunicate OK [07:58:19]CreateOFDProtocolMessage done [07:58:19]OFDSenderStorePacket 1778 [07:58:19]StoreOFDPacket docnum=1778 [07:58:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 17 01 00 00 FD BE 0F 01 5F 08 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 36 32 33 33 38 32 30 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 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 1A E2 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F2 06 00 00 35 04 06 00 70 B8 BF EA 4A 58 6D DC C8 4F 80 90 24 8C [07:58:19]CheckFolder [07:58:19]dirname=/storage/ofd_packets [07:58:19]CheckFolder done [07:58:19]ProducePacketName [07:58:19]name=ofd_packets/00001778 [07:58:19]NVStorageSaveData ofd_packets/00001778 [07:58:19]File name is /storage/ofd_packets/00001778 [07:58:19]Write 309 bytes [07:58:19]NVStorageSaveData done [07:58:19]OFDSenderStorePacket done [07:58:19]KKMCreateOFDPacket done [07:58:19]NVStorageSaveData kkm_last_timestamp [07:58:19]File name is /storage/kkm_last_timestamp [07:58:19]Write 4 bytes [07:58:19]NVStorageSaveData done [07:58:19]ExternCall_PrintAddStr [07:58:19]wPrintStart [07:58:19]Write to MH i2c: 01 00 00 31 00 31 [07:58:19]Write i2c OK [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: 01 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: 01 07 00 [07:58:19]MH_I2C_Read... [07:58:19]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [07:58:19]RasterBufferAndPrint [07:58:19]line Счет N : (3)256247 [07:58:19]line ИНН: 02508201610067 [07:58:19]line Контрольно-Кассовый Чек [07:58:19]line ПРОДАЖА [07:58:19]line Товар: 46233820 [07:58:19]line LD Compact 100s Silver [07:58:19]line 1.000 * 130.00 [07:58:19]line = 130.00 [07:58:19]line НДС 12% НСП 1% [07:58:19]line > о реализуемом товаре [07:58:19]line ИТОГО: 130.00 [07:58:19]line НСП 1% : 1.15 [07:58:19]line НДС 12% : 13.80 [07:58:19]line Наличными: 130.00 [07:58:19]line Безнал.: 0.00 [07:58:19]line Место: АЗС № 76 "Партнер Нефть" [07:58:19]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [07:58:19]line СНО: Общий режим [07:58:19]line Чек 12 12.07.2024 07:58 [07:58:19]line Смена: 23 ФФД: 1.0 [07:58:19]line ЗНМ: 0300000124 [07:58:19]line РНМ: 0000000000177495 [07:58:19]line Версия ККМ: 001 [07:58:19]line ФМ: 0000000002098592 [07:58:19]line ФД: 1778 [07:58:19]line ФПД: 123938796096088 [07:58:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T075818&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1778&fm=123938796096088&tin=02508201610067®Number=0000000000177495&sum=13000 [07:58:19]line 0 [07:58:19]written 0, free lines is 4095 [07:58:19]OFD Sender: Processing packet 1778 [packets to send 1, broken 0] [07:58:19]ProducePacketName [07:58:19]name=ofd_packets/00001778 [07:58:19]OFD Sender: To server: pG, [07:58:19]CommunicateWithHost lk.salyk.kg:30040 [07:58:19]ConnectInit lk.salyk.kg [07:58:19]Connected sock=9 [07:58:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 17 01 00 00 FD BE 0F 01 5F 08 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 36 32 33 33 38 32 30 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 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 1A E2 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F2 06 00 00 35 04 06 00 70 B8 BF EA 4A 58 6D DC C8 4F 80 90 24 8C [07:58:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 0A 1C 47 00 DE 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 32 30 39 38 35 39 32 10 04 04 00 F2 06 00 00 F4 03 04 00 53 8D 90 66 B6 04 01 00 00 8B EF F0 CA AC D9 4D E6 [07:58:20]CommunicateWithHost err = 0 [07:58:20]CheckOFDResponse [07:58:20]1017 (14) - 77093643461234 [07:58:20]1041 (16) - 0000000002098592 [07:58:20]1040 (4) - 1778 [07:58:20]1012 (4) - 12.07.2024 01:56 [07:58:20]1206 (1) - 0 [07:58:20]OFD Sender: Remove packet 1778 [07:58:20]ProducePacketName [07:58:20]name=ofd_packets/00001778 [07:58:20]NVStorageDeleteData [07:58:20]Write to MH i2c: 01 00 00 59 00 59 [07:58:20]Write i2c OK [07:58:20]MH_I2C_Read... [07:58:20]Read from MH i2c: 01 [07:58:20]MH_I2C_Read... [07:58:20]Read from MH i2c: 01 07 00 [07:58:20]MH_I2C_Read... [07:58:20]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 14 0D 81 [07:58:20]RasterBufferAndPrint [07:58:20]line [07:58:20]line [07:58:20]line [07:58:20]line [07:58:20]line [07:58:20]written 0, free lines is 3354 [07:58:20]MH_Cut [07:58:20]Write to MH i2c: D1 01 00 60 00 01 32 [07:58:20]Write i2c OK [07:58:20]MH_I2C_Read... [07:58:20]Read from MH i2c: D1 [07:58:20]MH_I2C_Read... [07:58:20]Read from MH i2c: D1 01 00 [07:58:20]MH_I2C_Read... [07:58:20]Read from MH i2c: D1 01 00 60 00 00 31 [07:58:20]Write to MH i2c: 01 00 00 61 00 61 [07:58:20]Write i2c OK [07:58:20]MH_I2C_Read... [07:58:20]OFD Sender: No OFD packet to send [07:58:20]*** Cut start [07:58:20]*** Partial cut [07:58:20]*** CUTSNS_PIN = 1 [07:58:20]*** CUTSNS_PIN = 0 [07:58:21]*** Brake cut motor [07:58:21]Read from MH i2c: 01 [07:58:21]MH_I2C_Read... [07:58:21]*** Stop cut motor [07:58:21]*** Cut end [07:58:21]Read from MH i2c: 01 07 00 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [07:58:21]process_action close_receipt done [07:58:21]requested_data is exist [07:58:21]produce_requested_data [07:58:21]requested_item fm.sn is exist - process it [07:58:21]wFMCommunicate request_size=4 [07:58:21]MH_SAM_APDU [07:58:21]CAPDU: 80 11 00 00 [07:58:21]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [07:58:21]Write i2c OK [07:58:21]MH_I2C_Read... [07:58:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:21]Read from MH i2c: E2 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: E2 17 00 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 32 [07:58:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [07:58:21]wFMCommunicate OK [07:58:21]requested_item fd.num is exist - process it [07:58:21]SAM_PROTO_GetFieldsCounters [07:58:21]wFMCommunicate request_size=4 [07:58:21]MH_SAM_APDU [07:58:21]CAPDU: 80 13 00 00 [07:58:21]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [07:58:21]Write i2c OK [07:58:21]MH_I2C_Read... [07:58:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:58:21]Read from MH i2c: E2 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: E2 62 00 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F2 06 00 00 0E 04 04 00 17 00 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 3E [07:58:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F2 06 00 00 0E 04 04 00 17 00 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 [07:58:21]wFMCommunicate OK [07:58:21]SAM_PROTO_GetFieldsCounters done [07:58:21]requested_item shift.num is exist - process it [07:58:21]requested_item shift.opened is exist - process it [07:58:21]req_shift_opened [07:58:21]FM_GetShiftState [07:58:21]SAM_PROTO_GetShiftState [07:58:21]wFMCommunicate request_size=4 [07:58:21]MH_SAM_APDU [07:58:21]CAPDU: 80 13 01 00 [07:58:21]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [07:58:21]Write i2c OK [07:58:21]MH_I2C_Read... [07:58:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:21]Read from MH i2c: E2 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: E2 0E 00 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 9A [07:58:21]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [07:58:21]wFMCommunicate OK [07:58:21]SAM_PROTO_GetShiftState done [07:58:21]FM_GetShiftState done [07:58:21]req_shift_opened done [07:58:21]requested_item shift.open_date is exist - process it [07:58:21]req_shift_open_date [07:58:21]req_shift_open_date done [07:58:21]produce_requested_data done [07:58:21]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1778,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [07:58:21]process_action_free close_receipt [07:58:21]json_value_free [07:58:21]json_value_free done [07:58:21]process_json_proto returns [07:58:21]Send response to host [07:58:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1778,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [07:58:21]free response buf [07:58:21]execute_script done [07:58:21]execute_script returns [07:58:21]free content buf [07:58:21]Sock 11.Close socket [07:58:21]Sock 11.Thread stoped [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:13]accept exits with 8 [08:03:13]New connection [08:03:13]New thread 3067002212 created [08:03:13]Thread 3067145572 joined [08:03:13]Waiting for new connection... [08:03:13] Sock 8.Parse request [08:03:13]Sock 8.Check first char [08:03:13]Sock 8.First char is OK [08:03:13]request: POST /json_proto HTTP/1.0 [08:03:13]Method: POST [08:03:13]URL: /json_proto [08:03:13]Method is POST - this is cgi request [08:03:13]url: /json_proto [08:03:13]query_string will be loaded in cgi processing [08:03:13]execute_cgi json_proto POST (null) [08:03:13]execute_cgi path=json_proto method=POST [08:03:13]POST find Content-Length [08:03:13]Host: 172.17.35.133:8080 [08:03:13]Content-Length: 568 [08:03:13]Content-Type: application/json [08:03:13] [08:03:13]POST finish read [08:03:13]Found Content-Length = 568 [08:03:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256248", "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" ] } } [08:03:13]execute_script... [08: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 : (3)256248", "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" ] } } [08:03:13]POST & json_proto [08:03:13]process_json_proto [08:03:13]json parsed OK: [08:03:13]protocol is kg_v1.0 [08:03:13]action value=close_receipt [08:03:13]process_action close_receipt [08:03:13]cmd_close_receipt [08:03:13]MH_GetDate [08:03:13]Write to MH i2c: F0 00 00 65 00 54 [08:03:13]Write i2c OK [08:03:13]MH_I2C_Read... [08:03:13]Read from MH i2c: F0 [08:03:13]MH_I2C_Read... [08:03:13]Read from MH i2c: F0 09 00 [08:03:13]MH_I2C_Read... [08:03:13]Read from MH i2c: F0 09 00 65 00 00 42 E3 90 66 1B 28 2A 66 4B [08:03:13]GetLastDocTimeStamp 1720771098 [08:03:13]current date 1720771394 [08:03:13]FM_GetShiftState [08:03:13]SAM_PROTO_GetShiftState [08:03:13]wFMCommunicate request_size=4 [08:03:13]MH_SAM_APDU [08:03:13]CAPDU: 80 13 01 00 [08:03:13]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [08:03:13]Write i2c OK [08:03:13]MH_I2C_Read... [08:03:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:03:13]Read from MH i2c: E2 [08:03:13]MH_I2C_Read... [08:03:13]Read from MH i2c: E2 0E 00 [08:03:13]MH_I2C_Read... [08:03:13]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 9C [08:03:13]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [08:03:13]wFMCommunicate OK [08:03:13]SAM_PROTO_GetShiftState done [08:03:13]FM_GetShiftState done [08:03:13]opened in 1720742979 [08:03:13]opened+sec_in_day 1720829379 [08:03:13]quantity*price = 13000 [08:03:13]sum+1 = 13001 [08:03:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 13 12.07.2024 08:03 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1779 ФПД: 40372355907055 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T080314&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1779&fm=40372355907055&tin=02508201610067®Number=0000000000177495&sum=13000 0 [08:03:15]StoreToDocumentArchive [08:03:15]shift 23 fd 1779 [08:03:15]save to /storage/0023/doc_00001779 [08:03:15]save last doc name /storage/0023/doc_00001779 to /storage/kkm_last_doc_name [08:03:15]save OK [08:03:15]Clear old archive folders... [08:03:15]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:03:15]tlvbuf is 01086DC0 [08:03:15]SAM_PROTO_ClearQueue [08:03:15]wFMCommunicate request_size=4 [08:03:15]MH_SAM_APDU [08:03:15]CAPDU: 80 09 00 00 [08:03:15]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [08:03:15]Write i2c OK [08:03:15]MH_I2C_Read... [08:03:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:03:15]Read from MH i2c: E2 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 03 00 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [08:03:15]RAPDU: 90 00 [08:03:15]wFMCommunicate OK [08:03:15]SAM_PROTO_ClearQueue done [08:03:15]KKMCreateOFDPacket [08:03:15]OFDProtocolAddRootSTLVToBuf [08:03:15]FM_MakeSignedData [08:03:15]FM_MakeSignedData [08:03:15]SAM_PROTO_SignData [08:03:15]wFMCommunicate request_size=4 [08:03:15]MH_SAM_APDU [08:03:15]CAPDU: 80 0D 01 02 [08:03:15]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [08:03:15]Write i2c OK [08:03:15]MH_I2C_Read... [08:03:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:03:15]Read from MH i2c: E2 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 03 00 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [08:03:15]RAPDU: 90 00 [08:03:15]wFMCommunicate OK [08:03:15]wFMCommunicate request_size=255 [08:03:15]MH_SAM_APDU [08:03:15]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 0D 00 00 00 F4 03 04 00 42 E3 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F3 06 00 00 35 04 06 00 [08:03:15]Write to MH i2c: E2 02 01 75 00 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 0D 00 00 00 F4 03 04 00 42 E3 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F3 06 00 00 35 04 06 00 00 00 49 [08:03:15]Write i2c OK [08:03:15]MH_I2C_Read... [08:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:03:15]Read from MH i2c: E2 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 03 00 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [08:03:15]RAPDU: 90 00 [08:03:15]wFMCommunicate OK [08:03:15]wFMCommunicate request_size=11 [08:03:15]MH_SAM_APDU [08:03:15]CAPDU: 80 0D 02 02 06 24 B7 EB EE BD EF [08:03:15]Write to MH i2c: E2 0E 00 76 00 80 0D 02 02 06 00 24 B7 EB EE BD EF 00 00 5C [08:03:15]Write i2c OK [08:03:15]MH_I2C_Read... [08:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:03:15]Read from MH i2c: E2 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 03 00 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [08:03:15]RAPDU: 90 00 [08:03:15]wFMCommunicate OK [08:03:15]wFMCommunicate request_size=4 [08:03:15]MH_SAM_APDU [08:03:15]CAPDU: 80 0D 03 02 [08:03:15]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [08:03:15]Write i2c OK [08:03:15]MH_I2C_Read... [08:03:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:03:15]Read from MH i2c: E2 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 0B 00 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 0B 00 77 00 00 FC D4 20 E9 0F 2D 10 76 90 00 8E [08:03:15]RAPDU: FC D4 20 E9 0F 2D 10 76 90 00 [08:03:15]wFMCommunicate OK [08:03:15]SAM_PROTO_SignData done [08:03:15]FM_MakeSignedData done [08:03:15]CreateOFDProtocolMessage [08:03:15]wFMCommunicate request_size=4 [08:03:15]MH_SAM_APDU [08:03:15]CAPDU: 80 11 00 00 [08:03:15]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [08:03:15]Write i2c OK [08:03:15]MH_I2C_Read... [08:03:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:03:15]Read from MH i2c: E2 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 17 00 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 48 [08:03:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [08:03:15]wFMCommunicate OK [08:03:15]CreateOFDProtocolMessage done [08:03:15]OFDSenderStorePacket 1779 [08:03:15]StoreOFDPacket docnum=1779 [08:03:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 01 00 00 DD 3C 08 01 88 A9 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 0D 00 00 00 F4 03 04 00 42 E3 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F3 06 00 00 35 04 06 00 24 B7 EB EE BD EF FC D4 20 E9 0F 2D 10 76 [08:03:15]CheckFolder [08:03:15]dirname=/storage/ofd_packets [08:03:15]CheckFolder done [08:03:15]ProducePacketName [08:03:15]name=ofd_packets/00001779 [08:03:15]NVStorageSaveData ofd_packets/00001779 [08:03:15]File name is /storage/ofd_packets/00001779 [08:03:15]Write 302 bytes [08:03:15]NVStorageSaveData done [08:03:15]OFDSenderStorePacket done [08:03:15]KKMCreateOFDPacket done [08:03:15]NVStorageSaveData kkm_last_timestamp [08:03:15]File name is /storage/kkm_last_timestamp [08:03:15]Write 4 bytes [08:03:15]NVStorageSaveData done [08:03:15]ExternCall_PrintAddStr [08:03:15]wPrintStart [08:03:15]Write to MH i2c: 01 00 00 79 00 79 [08:03:15]OFD Sender: Processing packet 1779 [packets to send 1, broken 0] [08:03:15]ProducePacketName [08:03:15]name=ofd_packets/00001779 [08:03:15]OFD Sender: To server: pG, [08:03:15]CommunicateWithHost lk.salyk.kg:30040 [08:03:15]ConnectInit lk.salyk.kg [08:03:15]Write i2c OK [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: 01 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: 01 07 00 [08:03:15]MH_I2C_Read... [08:03:15]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [08:03:15]RasterBufferAndPrint [08:03:15]line Счет N : (3)256248 [08:03:15]line ИНН: 02508201610067 [08:03:15]line Контрольно-Кассовый Чек [08:03:15]line ПРОДАЖА [08:03:15]line Товар: 48744539 [08:03:15]line LD Compact Blue [08:03:15]line 1.000 * 130.00 [08:03:15]line = 130.00 [08:03:15]line НДС 12% НСП 1% [08:03:15]line > о реализуемом товаре [08:03:15]line ИТОГО: 130.00 [08:03:15]line НСП 1% : 1.15 [08:03:15]line НДС 12% : 13.80 [08:03:15]line Наличными: 130.00 [08:03:15]line Безнал.: 0.00 [08:03:15]line Место: АЗС № 76 "Партнер Нефть" [08:03:15]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [08:03:15]line СНО: Общий режим [08:03:15]line Чек 13 12.07.2024 08:03 [08:03:15]line Смена: 23 ФФД: 1.0 [08:03:15]line ЗНМ: 0300000124 [08:03:15]line РНМ: 0000000000177495 [08:03:15]line Версия ККМ: 001 [08:03:15]line ФМ: 0000000002098592 [08:03:15]line ФД: 1779 [08:03:15]line ФПД: 40372355907055 [08:03:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T080314&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1779&fm=40372355907055&tin=02508201610067®Number=0000000000177495&sum=13000 [08:03:15]Connected sock=10 [08:03:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 01 00 00 DD 3C 08 01 88 A9 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 0D 00 00 00 F4 03 04 00 42 E3 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F3 06 00 00 35 04 06 00 24 B7 EB EE BD EF FC D4 20 E9 0F 2D 10 76 [08:03:16]line 0 [08:03:16]written 0, free lines is 4095 [08:03:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 35 10 47 00 8D 97 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 32 30 39 38 35 39 32 10 04 04 00 F3 06 00 00 F4 03 04 00 7B 8E 90 66 B6 04 01 00 00 4D 42 46 50 58 0F 70 07 [08:03:16]CommunicateWithHost err = 0 [08:03:16]CheckOFDResponse [08:03:16]1017 (14) - 77093643461234 [08:03:16]1041 (16) - 0000000002098592 [08:03:16]1040 (4) - 1779 [08:03:16]1012 (4) - 12.07.2024 02:01 [08:03:16]1206 (1) - 0 [08:03:16]OFD Sender: Remove packet 1779 [08:03:16]ProducePacketName [08:03:16]name=ofd_packets/00001779 [08:03:16]NVStorageDeleteData [08:03:16]Write to MH i2c: 01 00 00 A1 00 A1 [08:03:16]Write i2c OK [08:03:16]MH_I2C_Read... [08:03:16]Read from MH i2c: 01 [08:03:16]MH_I2C_Read... [08:03:16]Read from MH i2c: 01 07 00 [08:03:16]MH_I2C_Read... [08:03:16]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 10 0D C5 [08:03:16]RasterBufferAndPrint [08:03:16]line [08:03:16]line [08:03:16]line [08:03:16]line [08:03:16]line [08:03:16]written 0, free lines is 3352 [08:03:16]MH_Cut [08:03:16]Write to MH i2c: D1 01 00 A8 00 01 7A [08:03:16]Write i2c OK [08:03:16]MH_I2C_Read... [08:03:16]Read from MH i2c: D1 [08:03:16]MH_I2C_Read... [08:03:16]Read from MH i2c: D1 01 00 [08:03:16]MH_I2C_Read... [08:03:16]Read from MH i2c: D1 01 00 A8 00 00 79 [08:03:16]Write to MH i2c: 01 00 00 A9 00 A9 [08:03:16]Write i2c OK [08:03:16]MH_I2C_Read... [08:03:16]OFD Sender: No OFD packet to send [08:03:17]*** Cut start [08:03:17]*** Partial cut [08:03:17]*** CUTSNS_PIN = 1 [08:03:17]*** CUTSNS_PIN = 0 [08:03:17]*** Brake cut motor [08:03:17]Read from MH i2c: 01 [08:03:17]MH_I2C_Read... [08:03:17]*** Stop cut motor [08:03:17]*** Cut end [08:03:17]Read from MH i2c: 01 07 00 [08:03:17]MH_I2C_Read... [08:03:17]Read from MH i2c: 01 07 00 A9 00 00 00 00 00 00 FF 0F BE [08:03:17]process_action close_receipt done [08:03:17]requested_data is exist [08:03:17]produce_requested_data [08:03:17]requested_item fm.sn is exist - process it [08:03:17]wFMCommunicate request_size=4 [08:03:17]MH_SAM_APDU [08:03:17]CAPDU: 80 11 00 00 [08:03:17]Write to MH i2c: E2 08 00 AA 00 80 11 00 00 00 00 00 00 24 [08:03:17]Write i2c OK [08:03:17]MH_I2C_Read... [08:03:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:03:17]Read from MH i2c: E2 [08:03:17]MH_I2C_Read... [08:03:17]Read from MH i2c: E2 17 00 [08:03:17]MH_I2C_Read... [08:03:17]Read from MH i2c: E2 17 00 AA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 7A [08:03:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [08:03:17]wFMCommunicate OK [08:03:17]requested_item fd.num is exist - process it [08:03:17]SAM_PROTO_GetFieldsCounters [08:03:17]wFMCommunicate request_size=4 [08:03:17]MH_SAM_APDU [08:03:17]CAPDU: 80 13 00 00 [08:03:17]Write to MH i2c: E2 08 00 AB 00 80 13 00 00 00 00 00 00 27 [08:03:17]Write i2c OK [08:03:17]MH_I2C_Read... [08:03:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:03:17]Read from MH i2c: E2 [08:03:17]MH_I2C_Read... [08:03:17]Read from MH i2c: E2 62 00 [08:03:17]MH_I2C_Read... [08:03:17]Read from MH i2c: E2 62 00 AB 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F3 06 00 00 0E 04 04 00 17 00 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 8A [08:03:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F3 06 00 00 0E 04 04 00 17 00 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:03:17]wFMCommunicate OK [08:03:17]SAM_PROTO_GetFieldsCounters done [08:03:17]requested_item shift.num is exist - process it [08:03:17]requested_item shift.opened is exist - process it [08:03:17]req_shift_opened [08:03:17]FM_GetShiftState [08:03:17]SAM_PROTO_GetShiftState [08:03:17]wFMCommunicate request_size=4 [08:03:17]MH_SAM_APDU [08:03:17]CAPDU: 80 13 01 00 [08:03:17]Write to MH i2c: E2 08 00 AC 00 80 13 01 00 00 00 00 00 29 [08:03:17]Write i2c OK [08:03:17]MH_I2C_Read... [08:03:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:03:18]Read from MH i2c: E2 [08:03:18]MH_I2C_Read... [08:03:18]Read from MH i2c: E2 0E 00 [08:03:18]MH_I2C_Read... [08:03:18]Read from MH i2c: E2 0E 00 AC 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 E2 [08:03:18]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [08:03:18]wFMCommunicate OK [08:03:18]SAM_PROTO_GetShiftState done [08:03:18]FM_GetShiftState done [08:03:18]req_shift_opened done [08:03:18]requested_item shift.open_date is exist - process it [08:03:18]req_shift_open_date [08:03:18]req_shift_open_date done [08:03:18]produce_requested_data done [08:03:18]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1779,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [08:03:18]process_action_free close_receipt [08:03:18]json_value_free [08:03:18]json_value_free done [08:03:18]process_json_proto returns [08:03:18]Send response to host [08:03:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1779,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [08:03:18]free response buf [08:03:18]execute_script done [08:03:18]execute_script returns [08:03:18]free content buf [08:03:18]Sock 8.Close socket [08:03:18]Sock 8.Thread stoped [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]OFD Sender: No OFD packet to send [08:06:06]OFD Sender: No OFD packet to send [08:06:11]OFD Sender: No OFD packet to send [08:06:16]OFD Sender: No OFD packet to send [08:06:21]OFD Sender: No OFD packet to send [08:06:26]OFD Sender: No OFD packet to send [08:06:31]OFD Sender: No OFD packet to send [08:06:36]OFD Sender: No OFD packet to send [08:06:41]OFD Sender: No OFD packet to send [08:06:46]OFD Sender: No OFD packet to send [08:06:51]OFD Sender: No OFD packet to send [08:06:56]OFD Sender: No OFD packet to send [08:07:01]OFD Sender: No OFD packet to send [08:07:06]OFD Sender: No OFD packet to send [08:07:11]OFD Sender: No OFD packet to send [08:07:16]OFD Sender: No OFD packet to send [08:07:21]OFD Sender: No OFD packet to send [08:07:26]OFD Sender: No OFD packet to send [08:07:31]OFD Sender: No OFD packet to send [08:07:36]OFD Sender: No OFD packet to send [08:07:41]OFD Sender: No OFD packet to send [08:07:46]OFD Sender: No OFD packet to send [08:07:51]OFD Sender: No OFD packet to send [08:07:56]OFD Sender: No OFD packet to send [08:08:01]OFD Sender: No OFD packet to send [08:08:06]OFD Sender: No OFD packet to send [08:08:11]OFD Sender: No OFD packet to send [08:08:16]OFD Sender: No OFD packet to send [08:08:21]OFD Sender: No OFD packet to send [08:08:26]OFD Sender: No OFD packet to send [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:07]OFD Sender: No OFD packet to send [08:10:12]OFD Sender: No OFD packet to send [08:10:17]OFD Sender: No OFD packet to send [08:10:22]OFD Sender: No OFD packet to send [08:10:27]OFD Sender: No OFD packet to send [08:10:32]OFD Sender: No OFD packet to send [08:10:37]OFD Sender: No OFD packet to send [08:10:42]OFD Sender: No OFD packet to send [08:10:47]OFD Sender: No OFD packet to send [08:10:52]OFD Sender: No OFD packet to send [08:10:57]OFD Sender: No OFD packet to send [08:11:02]OFD Sender: No OFD packet to send [08:11:07]OFD Sender: No OFD packet to send [08:11:12]OFD Sender: No OFD packet to send [08:11:17]OFD Sender: No OFD packet to send [08:11:22]OFD Sender: No OFD packet to send [08:11:27]OFD Sender: No OFD packet to send [08:11:32]OFD Sender: No OFD packet to send [08:11:37]OFD Sender: No OFD packet to send [08:11:42]OFD Sender: No OFD packet to send [08:11:47]OFD Sender: No OFD packet to send [08:11:52]OFD Sender: No OFD packet to send [08:11:57]OFD Sender: No OFD packet to send [08:12:02]OFD Sender: No OFD packet to send [08:12:07]OFD Sender: No OFD packet to send [08:12:12]OFD Sender: No OFD packet to send [08:12:17]OFD Sender: No OFD packet to send [08:12:22]OFD Sender: No OFD packet to send [08:12:27]OFD Sender: No OFD packet to send [08:12:32]OFD Sender: No OFD packet to send [08:12:34]accept exits with 9 [08:12:34]New connection [08:12:34]New thread 3067145572 created [08:12:34]Thread 3067002212 joined [08:12:34]Waiting for new connection... [08:12:34] Sock 9.Parse request [08:12:34]Sock 9.Check first char [08:12:34]Sock 9.First char is OK [08:12:34]request: POST /json_proto HTTP/1.0 [08:12:34]Method: POST [08:12:34]URL: /json_proto [08:12:34]Method is POST - this is cgi request [08:12:34]url: /json_proto [08:12:34]query_string will be loaded in cgi processing [08:12:34]execute_cgi json_proto POST (null) [08:12:34]execute_cgi path=json_proto method=POST [08:12:34]POST find Content-Length [08:12:34]Host: 172.17.35.133:8080 [08:12:34]Content-Length: 215 [08:12:34]Content-Type: application/json [08:12:34] [08:12:34]POST finish read [08:12:34]Found Content-Length = 215 [08:12:34]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" ] } } [08:12:34]execute_script... [08:12:34]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" ] } } [08:12:34]POST & json_proto [08:12:34]process_json_proto [08:12:34]json parsed OK: [08:12:34]protocol is kg_v1.0 [08:12:34]action value=get_value [08:12:34]process_action get_value [08:12:34]cmd_get_value [08:12:34]process_action get_value done [08:12:34]requested_data is exist [08:12:34]produce_requested_data [08:12:34]requested_item kkm.sn is exist - process it [08:12:34]requested_item kkm.ver is exist - process it [08:12:34]requested_item fm.sn is exist - process it [08:12:34]wFMCommunicate request_size=4 [08:12:34]MH_SAM_APDU [08:12:34]CAPDU: 80 11 00 00 [08:12:34]Write to MH i2c: E2 08 00 AD 00 80 11 00 00 00 00 00 00 27 [08:12:34]Write i2c OK [08:12:34]MH_I2C_Read... [08:12:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:12:34]Read from MH i2c: E2 [08:12:34]MH_I2C_Read... [08:12:34]Read from MH i2c: E2 17 00 [08:12:34]MH_I2C_Read... [08:12:34]Read from MH i2c: E2 17 00 AD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 7D [08:12:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [08:12:34]wFMCommunicate OK [08:12:34]requested_item fd.num is exist - process it [08:12:34]SAM_PROTO_GetFieldsCounters [08:12:34]wFMCommunicate request_size=4 [08:12:34]MH_SAM_APDU [08:12:34]CAPDU: 80 13 00 00 [08:12:34]Write to MH i2c: E2 08 00 AE 00 80 13 00 00 00 00 00 00 2A [08:12:34]Write i2c OK [08:12:34]MH_I2C_Read... [08:12:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:12:34]Read from MH i2c: E2 [08:12:34]MH_I2C_Read... [08:12:34]Read from MH i2c: E2 62 00 [08:12:34]MH_I2C_Read... [08:12:34]Read from MH i2c: E2 62 00 AE 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F3 06 00 00 0E 04 04 00 17 00 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 8D [08:12:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F3 06 00 00 0E 04 04 00 17 00 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:12:34]wFMCommunicate OK [08:12:34]SAM_PROTO_GetFieldsCounters done [08:12:34]requested_item shift.num is exist - process it [08:12:34]requested_item shift.opened is exist - process it [08:12:34]req_shift_opened [08:12:34]FM_GetShiftState [08:12:34]SAM_PROTO_GetShiftState [08:12:34]wFMCommunicate request_size=4 [08:12:34]MH_SAM_APDU [08:12:34]CAPDU: 80 13 01 00 [08:12:34]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [08:12:34]Write i2c OK [08:12:34]MH_I2C_Read... [08:12:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:12:35]Read from MH i2c: E2 [08:12:35]MH_I2C_Read... [08:12:35]Read from MH i2c: E2 0E 00 [08:12:35]MH_I2C_Read... [08:12:35]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 E5 [08:12:35]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [08:12:35]wFMCommunicate OK [08:12:35]SAM_PROTO_GetShiftState done [08:12:35]FM_GetShiftState done [08:12:35]req_shift_opened done [08:12:35]requested_item shift.open_date is exist - process it [08:12:35]req_shift_open_date [08:12:35]req_shift_open_date done [08:12:35]produce_requested_data done [08:12:35]produce_requested_data return {"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1779,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [08:12:35]process_action_free get_value [08:12:35]json_value_free [08:12:35]json_value_free done [08:12:35]process_json_proto returns [08:12:35]Send response to host [08:12:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1779,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [08:12:35]free response buf [08:12:35]execute_script done [08:12:35]execute_script returns [08:12:35]free content buf [08:12:35]Sock 9.Close socket [08:12:35]Sock 9.Thread stoped [08:12:35]accept exits with 8 [08:12:35]New connection [08:12:35]New thread 3067002212 created [08:12:35]Thread 3067145572 joined [08:12:35]Waiting for new connection... [08:12:35] Sock 8.Parse request [08:12:35]Sock 8.Check first char [08:12:35]Sock 8.First char is OK [08:12:35]request: POST /json_proto HTTP/1.0 [08:12:35]Method: POST [08:12:35]URL: /json_proto [08:12:35]Method is POST - this is cgi request [08:12:35]url: /json_proto [08:12:35]query_string will be loaded in cgi processing [08:12:35]execute_cgi json_proto POST (null) [08:12:35]execute_cgi path=json_proto method=POST [08:12:35]POST find Content-Length [08:12:35]Host: 172.17.35.133:8080 [08:12:35]Content-Length: 331 [08:12:35]Content-Type: application/json [08:12:35] [08:12:35]POST finish read [08:12:35]Found Content-Length = 331 [08:12:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:12:35]execute_script... [08:12:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:12:35]POST & json_proto [08:12:35]process_json_proto [08:12:35]json parsed OK: [08:12:35]protocol is kg_v1.0 [08:12:35]action value=get_value [08:12:35]process_action get_value [08:12:35]cmd_get_value [08:12:35]process_action get_value done [08:12:35]requested_data is exist [08:12:35]produce_requested_data [08:12:35]requested_item fm.sale.total is exist - process it [08:12:35]SAM_PROTO_GetFMData [08:12:35]wFMCommunicate request_size=4 [08:12:35]MH_SAM_APDU [08:12:35]CAPDU: 80 13 03 00 [08:12:35]Write to MH i2c: E2 08 00 B0 00 80 13 03 00 00 00 00 00 2F [08:12:35]Write i2c OK [08:12:35]MH_I2C_Read... [08:12:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:12:35]Read from MH i2c: E2 [08:12:35]MH_I2C_Read... [08:12:35]Read from MH i2c: E2 FD 00 [08:12:35]MH_I2C_Read... [08:12:35]Read from MH i2c: E2 FD 00 B0 00 00 BA 04 85 04 B6 04 6E 04 04 00 C5 06 00 00 69 04 9F 00 6F 04 04 00 C3 06 00 00 B1 04 04 00 7D 7E 3C 04 70 04 04 00 48 45 83 03 72 04 03 00 35 39 B9 00 04 7C 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 6A 2B 73 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 DF 97 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 65 [08:12:35]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 C5 06 00 00 69 04 9F 00 6F 04 04 00 C3 06 00 00 B1 04 04 00 7D 7E 3C 04 70 04 04 00 48 45 83 03 72 04 03 00 35 39 B9 00 04 7C 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 6A 2B 73 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 DF 97 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [08:12:35]wFMCommunicate OK [08:12:35]wFMCommunicate request_size=4 [08:12:35]MH_SAM_APDU [08:12:35]CAPDU: 80 17 00 00 [08:12:35]Write to MH i2c: E2 08 00 B1 00 80 17 00 00 00 00 00 00 31 [08:12:35]Write i2c OK [08:12:35]MH_I2C_Read... [08:12:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:36]Read from MH i2c: E2 [08:12:36]MH_I2C_Read... [08:12:36]Read from MH i2c: E2 FD 00 [08:12:36]MH_I2C_Read... [08:12:36]Read from MH i2c: E2 FD 00 B1 00 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2E [08:12:36]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:12:36]wFMCommunicate OK [08:12:36]wFMCommunicate request_size=4 [08:12:36]MH_SAM_APDU [08:12:36]CAPDU: 80 17 00 00 [08:12:36]Write to MH i2c: E2 08 00 B2 00 80 17 00 00 00 00 00 00 32 [08:12:36]Write i2c OK [08:12:36]MH_I2C_Read... [08:12:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:36]Read from MH i2c: E2 [08:12:36]MH_I2C_Read... [08:12:36]Read from MH i2c: E2 FD 00 [08:12:36]MH_I2C_Read... [08:12:36]Read from MH i2c: E2 FD 00 B2 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5E [08:12:36]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:12:36]wFMCommunicate OK [08:12:36]wFMCommunicate request_size=4 [08:12:36]MH_SAM_APDU [08:12:36]CAPDU: 80 17 00 00 [08:12:36]Write to MH i2c: E2 08 00 B3 00 80 17 00 00 00 00 00 00 33 [08:12:36]Write i2c OK [08:12:36]MH_I2C_Read... [08:12:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:36]Read from MH i2c: E2 [08:12:36]MH_I2C_Read... [08:12:36]Read from MH i2c: E2 FD 00 [08:12:36]MH_I2C_Read... [08:12:36]Read from MH i2c: E2 FD 00 B3 00 00 00 EF 03 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 90 00 AB [08:12:36]RAPDU: 00 EF 03 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 90 00 [08:12:36]wFMCommunicate OK [08:12:36]wFMCommunicate request_size=4 [08:12:36]MH_SAM_APDU [08:12:36]CAPDU: 80 17 00 00 [08:12:36]Write to MH i2c: E2 08 00 B4 00 80 17 00 00 00 00 00 00 34 [08:12:36]Write i2c OK [08:12:36]MH_I2C_Read... [08:12:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [08:12:36]Read from MH i2c: E2 [08:12:36]MH_I2C_Read... [08:12:36]Read from MH i2c: E2 D7 00 [08:12:36]MH_I2C_Read... [08:12:36]Read from MH i2c: E2 D7 00 B4 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 17 [08:12:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:12:36]wFMCommunicate OK [08:12:36]SAM_PROTO_GetFMData done [08:12:36]requested_item fm.sale_refund.total is exist - process it [08:12:36]requested_item fm.buy.total is exist - process it [08:12:36]requested_item shift.sale.total is exist - process it [08:12:36]SAM_PROTO_GetShiftData [08:12:36]wFMCommunicate request_size=4 [08:12:36]MH_SAM_APDU [08:12:36]CAPDU: 80 13 02 00 [08:12:36]Write to MH i2c: E2 08 00 B5 00 80 13 02 00 00 00 00 00 33 [08:12:36]Write i2c OK [08:12:36]MH_I2C_Read... [08:12:37]OFD Sender: No OFD packet to send [08:12:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:12:37]Read from MH i2c: E2 [08:12:37]MH_I2C_Read... [08:12:37]Read from MH i2c: E2 FD 00 [08:12:37]MH_I2C_Read... [08:12:37]Read from MH i2c: E2 FD 00 B5 00 00 AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 60 36 05 70 04 03 00 70 69 03 72 04 03 00 F0 CC 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 8D 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 CE 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 58 [08:12:37]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 60 36 05 70 04 03 00 70 69 03 72 04 03 00 F0 CC 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 8D 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 CE 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:12:37]wFMCommunicate OK [08:12:37]wFMCommunicate request_size=4 [08:12:37]MH_SAM_APDU [08:12:37]CAPDU: 80 17 00 00 [08:12:37]Write to MH i2c: E2 08 00 B6 00 80 17 00 00 00 00 00 00 36 [08:12:37]Write i2c OK [08:12:37]MH_I2C_Read... [08:12:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:37]Read from MH i2c: E2 [08:12:37]MH_I2C_Read... [08:12:37]Read from MH i2c: E2 FD 00 [08:12:37]MH_I2C_Read... [08:12:37]Read from MH i2c: E2 FD 00 B6 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 48 [08:12:37]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:12:37]wFMCommunicate OK [08:12:37]wFMCommunicate request_size=4 [08:12:37]MH_SAM_APDU [08:12:37]CAPDU: 80 17 00 00 [08:12:37]Write to MH i2c: E2 08 00 B7 00 80 17 00 00 00 00 00 00 37 [08:12:37]Write i2c OK [08:12:37]MH_I2C_Read... [08:12:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:37]Read from MH i2c: E2 [08:12:37]MH_I2C_Read... [08:12:37]Read from MH i2c: E2 FD 00 [08:12:37]MH_I2C_Read... [08:12:37]Read from MH i2c: E2 FD 00 B7 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 FB [08:12:37]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:12:37]wFMCommunicate OK [08:12:37]wFMCommunicate request_size=4 [08:12:37]MH_SAM_APDU [08:12:37]CAPDU: 80 17 00 00 [08:12:37]Write to MH i2c: E2 08 00 B8 00 80 17 00 00 00 00 00 00 38 [08:12:37]Write i2c OK [08:12:37]MH_I2C_Read... [08:12:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:38]Read from MH i2c: E2 [08:12:38]MH_I2C_Read... [08:12:38]Read from MH i2c: E2 FD 00 [08:12:38]MH_I2C_Read... [08:12:38]Read from MH i2c: E2 FD 00 B8 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 AD [08:12:38]RAPDU: 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 90 00 [08:12:38]wFMCommunicate OK [08:12:38]wFMCommunicate request_size=4 [08:12:38]MH_SAM_APDU [08:12:38]CAPDU: 80 17 00 00 [08:12:38]Write to MH i2c: E2 08 00 B9 00 80 17 00 00 00 00 00 00 39 [08:12:38]Write i2c OK [08:12:38]MH_I2C_Read... [08:12:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [08:12:38]Read from MH i2c: E2 [08:12:38]MH_I2C_Read... [08:12:38]Read from MH i2c: E2 CA 00 [08:12:38]MH_I2C_Read... [08:12:38]Read from MH i2c: E2 CA 00 B9 00 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 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 1E [08:12:38]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [08:12:38]wFMCommunicate OK [08:12:38]SAM_PROTO_GetShiftData done [08:12:38]requested_item shift.sale.total_cash is exist - process it [08:12:38]requested_item shift.sale_refund.total is exist - process it [08:12:38]requested_item shift.sale_refund.total_cash is exist - process it [08:12:38]requested_item shift.buy.total is exist - process it [08:12:38]requested_item shift.buy.total_cash is exist - process it [08:12:38]produce_requested_data done [08:12:38]produce_requested_data return {"fm.sale.total":710734.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":3416.00,"shift.sale.total_cash":2236.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} [08:12:38]process_action_free get_value [08:12:38]json_value_free [08:12:38]json_value_free done [08:12:38]process_json_proto returns [08:12:38]Send response to host [08:12:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":710734.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":3416.00,"shift.sale.total_cash":2236.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}}} [08:12:38]free response buf [08:12:38]execute_script done [08:12:38]execute_script returns [08:12:38]free content buf [08:12:38]Sock 8.Close socket [08:12:38]Sock 8.Thread stoped [08:12:42]OFD Sender: No OFD packet to send [08:12:47]OFD Sender: No OFD packet to send [08:12:52]OFD Sender: No OFD packet to send [08:12:57]OFD Sender: No OFD packet to send [08:13:02]OFD Sender: No OFD packet to send [08:13:07]OFD Sender: No OFD packet to send [08:13:12]OFD Sender: No OFD packet to send [08:13:17]OFD Sender: No OFD packet to send [08:13:22]OFD Sender: No OFD packet to send [08:13:27]OFD Sender: No OFD packet to send [08:13:32]OFD Sender: No OFD packet to send [08:13:37]OFD Sender: No OFD packet to send [08:13:42]OFD Sender: No OFD packet to send [08:13:47]OFD Sender: No OFD packet to send [08:13:52]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:32]OFD Sender: No OFD packet to send [08:16:37]OFD Sender: No OFD packet to send [08:16:42]OFD Sender: No OFD packet to send [08:16:47]OFD Sender: No OFD packet to send [08:16:52]OFD Sender: No OFD packet to send [08:16:57]OFD Sender: No OFD packet to send [08:17:02]OFD Sender: No OFD packet to send [08:17:07]OFD Sender: No OFD packet to send [08:17:12]OFD Sender: No OFD packet to send [08:17:17]OFD Sender: No OFD packet to send [08:17:22]OFD Sender: No OFD packet to send [08:17:27]OFD Sender: No OFD packet to send [08:17:32]OFD Sender: No OFD packet to send [08:17:37]OFD Sender: No OFD packet to send [08:17:42]OFD Sender: No OFD packet to send [08:17:47]OFD Sender: No OFD packet to send [08:17:52]OFD Sender: No OFD packet to send [08:17:57]OFD Sender: No OFD packet to send [08:18:02]OFD Sender: No OFD packet to send [08:18:07]OFD Sender: No OFD packet to send [08:18:12]OFD Sender: No OFD packet to send [08:18:17]OFD Sender: No OFD packet to send [08:18:22]OFD Sender: No OFD packet to send [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:37]OFD Sender: No OFD packet to send [08:18:42]OFD Sender: No OFD packet to send [08:18:47]OFD Sender: No OFD packet to send [08:18:52]OFD Sender: No OFD packet to send [08:18:57]OFD Sender: No OFD packet to send [08:19:02]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:17]OFD Sender: No OFD packet to send [08:21:22]OFD Sender: No OFD packet to send [08:21:27]OFD Sender: No OFD packet to send [08:21:32]OFD Sender: No OFD packet to send [08:21:37]OFD Sender: No OFD packet to send [08:21:42]OFD Sender: No OFD packet to send [08:21:47]OFD Sender: No OFD packet to send [08:21:52]OFD Sender: No OFD packet to send [08:21:57]OFD Sender: No OFD packet to send [08:22:02]OFD Sender: No OFD packet to send [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:21]accept exits with 9 [08:30:21]New connection [08:30:21]New thread 3067145572 created [08:30:21]Thread 3067002212 joined [08:30:21]Waiting for new connection... [08:30:21] Sock 9.Parse request [08:30:21]Sock 9.Check first char [08:30:21]Sock 9.First char is OK [08:30:21]request: POST /json_proto HTTP/1.0 [08:30:21]Method: POST [08:30:21]URL: /json_proto [08:30:21]Method is POST - this is cgi request [08:30:21]url: /json_proto [08:30:21]query_string will be loaded in cgi processing [08:30:21]execute_cgi json_proto POST (null) [08:30:21]execute_cgi path=json_proto method=POST [08:30:21]POST find Content-Length [08:30:21]Host: 172.17.35.133:8080 [08:30:21]Content-Length: 920 [08:30:21]Content-Type: application/json [08:30:21] [08:30:21]POST finish read [08:30:21]Found Content-Length = 920 [08:30:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256249", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.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" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:21]execute_script... [08:30: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)256249", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.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" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:21]POST & json_proto [08:30:21]process_json_proto [08:30:21]json parsed OK: [08:30:21]protocol is kg_v1.0 [08:30:21]action value=close_receipt [08:30:21]process_action close_receipt [08:30:21]cmd_close_receipt [08:30:21]MH_GetDate [08:30:21]Write to MH i2c: F0 00 00 BA 00 A9 [08:30:21]Write i2c OK [08:30:21]MH_I2C_Read... [08:30:21]Read from MH i2c: F0 [08:30:21]MH_I2C_Read... [08:30:21]Read from MH i2c: F0 09 00 [08:30:21]MH_I2C_Read... [08:30:21]Read from MH i2c: F0 09 00 BA 00 00 9D E9 90 66 1B 28 2A 66 01 [08:30:21]GetLastDocTimeStamp 1720771394 [08:30:21]current date 1720773021 [08:30:21]FM_GetShiftState [08:30:21]SAM_PROTO_GetShiftState [08:30:21]wFMCommunicate request_size=4 [08:30:21]MH_SAM_APDU [08:30:21]CAPDU: 80 13 01 00 [08:30:21]Write to MH i2c: E2 08 00 BB 00 80 13 01 00 00 00 00 00 38 [08:30:21]Write i2c OK [08:30:21]MH_I2C_Read... [08:30:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:21]Read from MH i2c: E2 [08:30:21]MH_I2C_Read... [08:30:21]Read from MH i2c: E2 0E 00 [08:30:21]MH_I2C_Read... [08:30:21]Read from MH i2c: E2 0E 00 BB 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 F1 [08:30:21]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [08:30:21]wFMCommunicate OK [08:30:21]SAM_PROTO_GetShiftState done [08:30:21]FM_GetShiftState done [08:30:21]opened in 1720742979 [08:30:21]opened+sec_in_day 1720829379 [08:30:21]quantity*price = 25000 [08:30:21]sum+1 = 25001 [08:30:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 400.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 14 12.07.2024 08:30 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1780 ФПД: 54295998978046 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T083021&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1780&fm=54295998978046&tin=02508201610067®Number=0000000000177495&sum=40000 0 [08:30:22]StoreToDocumentArchive [08:30:22]shift 23 fd 1780 [08:30:22]save to /storage/0023/doc_00001780 [08:30:22]save last doc name /storage/0023/doc_00001780 to /storage/kkm_last_doc_name [08:30:22]save OK [08:30:22]Clear old archive folders... [08:30:22]ProcessDocumentItem done err = 0, tmpTLVsize=399 [08:30:22]tlvbuf is 010706D0 [08:30:22]SAM_PROTO_ClearQueue [08:30:22]wFMCommunicate request_size=4 [08:30:22]MH_SAM_APDU [08:30:22]CAPDU: 80 09 00 00 [08:30:22]Write to MH i2c: E2 08 00 C8 00 80 09 00 00 00 00 00 00 3A [08:30:22]Write i2c OK [08:30:22]MH_I2C_Read... [08:30:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:30:22]Read from MH i2c: E2 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 03 00 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 03 00 C8 00 00 90 00 3C [08:30:22]RAPDU: 90 00 [08:30:22]wFMCommunicate OK [08:30:22]SAM_PROTO_ClearQueue done [08:30:22]KKMCreateOFDPacket [08:30:22]OFDProtocolAddRootSTLVToBuf [08:30:22]FM_MakeSignedData [08:30:22]FM_MakeSignedData [08:30:22]SAM_PROTO_SignData [08:30:22]wFMCommunicate request_size=4 [08:30:22]MH_SAM_APDU [08:30:22]CAPDU: 80 0D 01 02 [08:30:22]Write to MH i2c: E2 08 00 C9 00 80 0D 01 02 00 00 00 00 42 [08:30:22]Write i2c OK [08:30:22]MH_I2C_Read... [08:30:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:30:22]Read from MH i2c: E2 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 03 00 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 03 00 C9 00 00 90 00 3D [08:30:22]RAPDU: 90 00 [08:30:22]wFMCommunicate OK [08:30:22]wFMCommunicate request_size=255 [08:30:22]MH_SAM_APDU [08:30:22]CAPDU: 80 0D 02 02 FA 03 00 8F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 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 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 40 9C 00 00 00 00 EB 03 [08:30:22]Write to MH i2c: E2 02 01 CA 00 80 0D 02 02 FA 00 03 00 8F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 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 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 40 9C 00 00 00 00 EB 03 00 00 40 [08:30:22]Write i2c OK [08:30:22]MH_I2C_Read... [08:30:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:22]Read from MH i2c: E2 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 03 00 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 03 00 CA 00 00 90 00 3E [08:30:22]RAPDU: 90 00 [08:30:22]wFMCommunicate OK [08:30:22]wFMCommunicate request_size=158 [08:30:22]MH_SAM_APDU [08:30:22]CAPDU: 80 0D 02 02 99 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 9D E9 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F4 06 00 00 35 04 06 00 31 61 C5 BB 57 FE [08:30:22]Write to MH i2c: E2 A1 00 CB 00 80 0D 02 02 99 00 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 9D E9 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F4 06 00 00 35 04 06 00 31 61 C5 BB 57 FE 00 00 BA [08:30:22]Write i2c OK [08:30:22]MH_I2C_Read... [08:30:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:22]Read from MH i2c: E2 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 03 00 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 03 00 CB 00 00 90 00 3F [08:30:22]RAPDU: 90 00 [08:30:22]wFMCommunicate OK [08:30:22]wFMCommunicate request_size=4 [08:30:22]MH_SAM_APDU [08:30:22]CAPDU: 80 0D 03 02 [08:30:22]Write to MH i2c: E2 08 00 CC 00 80 0D 03 02 00 00 00 00 47 [08:30:22]Write i2c OK [08:30:22]MH_I2C_Read... [08:30:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:30:22]Read from MH i2c: E2 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 0B 00 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 0B 00 CC 00 00 1E DA 7D 7C 1B F8 AD 89 90 00 82 [08:30:22]RAPDU: 1E DA 7D 7C 1B F8 AD 89 90 00 [08:30:22]wFMCommunicate OK [08:30:22]SAM_PROTO_SignData done [08:30:22]FM_MakeSignedData done [08:30:22]CreateOFDProtocolMessage [08:30:22]wFMCommunicate request_size=4 [08:30:22]MH_SAM_APDU [08:30:22]CAPDU: 80 11 00 00 [08:30:22]Write to MH i2c: E2 08 00 CD 00 80 11 00 00 00 00 00 00 47 [08:30:22]Write i2c OK [08:30:22]MH_I2C_Read... [08:30:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:22]Read from MH i2c: E2 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 17 00 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: E2 17 00 CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 9D [08:30:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [08:30:22]wFMCommunicate OK [08:30:22]CreateOFDProtocolMessage done [08:30:22]OFDSenderStorePacket 1780 [08:30:22]StoreOFDPacket docnum=1780 [08:30:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 A3 01 00 00 ED 1F 9B 01 BA 2B 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 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 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 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 9D E9 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F4 06 00 00 35 04 06 00 31 61 C5 BB 57 FE 1E DA 7D 7C 1B F8 AD 89 [08:30:22]CheckFolder [08:30:22]dirname=/storage/ofd_packets [08:30:22]CheckFolder done [08:30:22]ProducePacketName [08:30:22]name=ofd_packets/00001780 [08:30:22]NVStorageSaveData ofd_packets/00001780 [08:30:22]File name is /storage/ofd_packets/00001780 [08:30:22]Write 449 bytes [08:30:22]NVStorageSaveData done [08:30:22]OFDSenderStorePacket done [08:30:22]KKMCreateOFDPacket done [08:30:22]NVStorageSaveData kkm_last_timestamp [08:30:22]File name is /storage/kkm_last_timestamp [08:30:22]Write 4 bytes [08:30:22]NVStorageSaveData done [08:30:22]ExternCall_PrintAddStr [08:30:22]wPrintStart [08:30:22]Write to MH i2c: 01 00 00 CE 00 CE [08:30:22]Write i2c OK [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: 01 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: 01 07 00 [08:30:22]MH_I2C_Read... [08:30:22]Read from MH i2c: 01 07 00 CE 00 00 00 00 00 00 FF 0F E3 [08:30:22]RasterBufferAndPrint [08:30:22]line Счет N : (3)256249 [08:30:22]line ИНН: 02508201610067 [08:30:23]line Контрольно-Кассовый Чек [08:30:23]line ПРОДАЖА [08:30:23]line Товар: 2000036190018 [08:30:23]line Кофе Американо XL(GABB TRADE) [08:30:23]line 2.000 * 125.00 [08:30:23]line = 250.00 [08:30:23]line НДС 12% НСП 1% [08:30:23]line > о реализуемом товаре [08:30:23]line Товар: 4870112002775 [08:30:23]line Шок батончик ALBENI BITES 80гр [08:30:23]line 2.000 * 75.00 [08:30:23]line = 150.00 [08:30:23]line НДС 12% НСП 1% [08:30:23]line > о реализуемом товаре [08:30:23]line ИТОГО: 400.00 [08:30:23]line НСП 1% : 3.54 [08:30:23]line НДС 12% : 42.48 [08:30:23]line Наличными: 400.00 [08:30:23]line Безнал.: 0.00 [08:30:23]line Место: АЗС № 76 "Партнер Нефть" [08:30:23]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [08:30:23]line СНО: Общий режим [08:30:23]line Чек 14 12.07.2024 08:30 [08:30:23]line Смена: 23 ФФД: 1.0 [08:30:23]line ЗНМ: 0300000124 [08:30:23]line РНМ: 0000000000177495 [08:30:23]line Версия ККМ: 001 [08:30:23]line ФМ: 0000000002098592 [08:30:23]line ФД: 1780 [08:30:23]line ФПД: 54295998978046 [08:30:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T083021&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1780&fm=54295998978046&tin=02508201610067®Number=0000000000177495&sum=40000 [08:30:23]line 0 [08:30:23]OFD Sender: Processing packet 1780 [packets to send 1, broken 0] [08:30:23]ProducePacketName [08:30:23]name=ofd_packets/00001780 [08:30:23]OFD Sender: To server: pG, [08:30:23]CommunicateWithHost lk.salyk.kg:30040 [08:30:23]ConnectInit lk.salyk.kg [08:30:23]written 0, free lines is 4095 [08:30:23]Connected sock=10 [08:30:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 A3 01 00 00 ED 1F 9B 01 BA 2B 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 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 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 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 9D E9 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F4 06 00 00 35 04 06 00 31 61 C5 BB 57 FE 1E DA 7D 7C 1B F8 AD 89 [08:30:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 BB 83 47 00 67 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 32 30 39 38 35 39 32 10 04 04 00 F4 06 00 00 F4 03 04 00 D6 94 90 66 B6 04 01 00 00 4B 96 73 A9 7D 8F 67 25 [08:30:23]CommunicateWithHost err = 0 [08:30:23]CheckOFDResponse [08:30:23]1017 (14) - 77093643461234 [08:30:23]1041 (16) - 0000000002098592 [08:30:23]1040 (4) - 1780 [08:30:23]1012 (4) - 12.07.2024 02:28 [08:30:23]1206 (1) - 0 [08:30:23]OFD Sender: Remove packet 1780 [08:30:23]ProducePacketName [08:30:23]name=ofd_packets/00001780 [08:30:23]NVStorageDeleteData [08:30:23]Write to MH i2c: 01 00 00 FE 00 FE [08:30:23]Write i2c OK [08:30:23]MH_I2C_Read... [08:30:23]Read from MH i2c: 01 [08:30:23]MH_I2C_Read... [08:30:23]Read from MH i2c: 01 07 00 [08:30:23]MH_I2C_Read... [08:30:23]Read from MH i2c: 01 07 00 FE 00 00 00 00 00 00 99 0C AA [08:30:23]RasterBufferAndPrint [08:30:23]line [08:30:23]line [08:30:23]line [08:30:23]line [08:30:23]line [08:30:23]written 0, free lines is 3232 [08:30:23]MH_Cut [08:30:23]Write to MH i2c: D1 01 00 05 01 01 D8 [08:30:23]Write i2c OK [08:30:23]MH_I2C_Read... [08:30:23]Read from MH i2c: D1 [08:30:23]MH_I2C_Read... [08:30:23]Read from MH i2c: D1 01 00 [08:30:23]MH_I2C_Read... [08:30:23]Read from MH i2c: D1 01 00 05 01 00 D7 [08:30:23]Write to MH i2c: 01 00 00 06 01 07 [08:30:23]Write i2c OK [08:30:23]MH_I2C_Read... [08:30:24]OFD Sender: No OFD packet to send [08:30:24]*** Cut start [08:30:24]*** Partial cut [08:30:24]*** CUTSNS_PIN = 1 [08:30:24]*** CUTSNS_PIN = 0 [08:30:24]*** Brake cut motor [08:30:25]Read from MH i2c: 01 [08:30:25]MH_I2C_Read... [08:30:25]*** Stop cut motor [08:30:25]*** Cut end [08:30:25]Read from MH i2c: 01 07 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: 01 07 00 06 01 00 00 00 00 00 FF 0F 1C [08:30:25]process_action close_receipt done [08:30:25]requested_data is exist [08:30:25]produce_requested_data [08:30:25]requested_item fm.sn is exist - process it [08:30:25]wFMCommunicate request_size=4 [08:30:25]MH_SAM_APDU [08:30:25]CAPDU: 80 11 00 00 [08:30:25]Write to MH i2c: E2 08 00 07 01 80 11 00 00 00 00 00 00 82 [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:25]Read from MH i2c: E2 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 17 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 17 00 07 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 D8 [08:30:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [08:30:25]wFMCommunicate OK [08:30:25]requested_item fd.num is exist - process it [08:30:25]SAM_PROTO_GetFieldsCounters [08:30:25]wFMCommunicate request_size=4 [08:30:25]MH_SAM_APDU [08:30:25]CAPDU: 80 13 00 00 [08:30:25]Write to MH i2c: E2 08 00 08 01 80 13 00 00 00 00 00 00 85 [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:30:25]Read from MH i2c: E2 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 62 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 62 00 08 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F4 06 00 00 0E 04 04 00 17 00 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 EC [08:30:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F4 06 00 00 0E 04 04 00 17 00 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:30:25]wFMCommunicate OK [08:30:25]SAM_PROTO_GetFieldsCounters done [08:30:25]requested_item shift.num is exist - process it [08:30:25]requested_item shift.opened is exist - process it [08:30:25]req_shift_opened [08:30:25]FM_GetShiftState [08:30:25]SAM_PROTO_GetShiftState [08:30:25]wFMCommunicate request_size=4 [08:30:25]MH_SAM_APDU [08:30:25]CAPDU: 80 13 01 00 [08:30:25]Write to MH i2c: E2 08 00 09 01 80 13 01 00 00 00 00 00 87 [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:25]Read from MH i2c: E2 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 0E 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 0E 00 09 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 40 [08:30:25]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [08:30:25]wFMCommunicate OK [08:30:25]SAM_PROTO_GetShiftState done [08:30:25]FM_GetShiftState done [08:30:25]req_shift_opened done [08:30:25]requested_item shift.open_date is exist - process it [08:30:25]req_shift_open_date [08:30:25]req_shift_open_date done [08:30:25]produce_requested_data done [08:30:25]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1780,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [08:30:25]process_action_free close_receipt [08:30:25]json_value_free [08:30:25]json_value_free done [08:30:25]process_json_proto returns [08:30:25]Send response to host [08:30:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1780,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [08:30:25]free response buf [08:30:25]execute_script done [08:30:25]execute_script returns [08:30:25]free content buf [08:30:25]Sock 9.Close socket [08:30:25]Sock 9.Thread stoped [08:30:29]OFD Sender: No OFD packet to send [08:30:34]OFD Sender: No OFD packet to send [08:30:39]OFD Sender: No OFD packet to send [08:30:44]OFD Sender: No OFD packet to send [08:30:49]OFD Sender: No OFD packet to send [08:30:54]OFD Sender: No OFD packet to send [08:30:59]OFD Sender: No OFD packet to send [08:31:04]OFD Sender: No OFD packet to send [08:31:09]OFD Sender: No OFD packet to send [08:31:14]OFD Sender: No OFD packet to send [08:31:19]OFD Sender: No OFD packet to send [08:31:24]OFD Sender: No OFD packet to send [08:31:29]OFD Sender: No OFD packet to send [08:31:34]OFD Sender: No OFD packet to send [08:31:39]OFD Sender: No OFD packet to send [08:31:44]OFD Sender: No OFD packet to send [08:31:49]OFD Sender: No OFD packet to send [08:31:54]OFD Sender: No OFD packet to send [08:31:59]OFD Sender: No OFD packet to send [08:32:04]OFD Sender: No OFD packet to send [08:32:09]OFD Sender: No OFD packet to send [08:32:14]OFD Sender: No OFD packet to send [08:32:19]OFD Sender: No OFD packet to send [08:32:24]OFD Sender: No OFD packet to send [08:32:29]OFD Sender: No OFD packet to send [08:32:34]OFD Sender: No OFD packet to send [08:32:39]OFD Sender: No OFD packet to send [08:32:44]OFD Sender: No OFD packet to send [08:32:49]OFD Sender: No OFD packet to send [08:32:54]OFD Sender: No OFD packet to send [08:32:59]OFD Sender: No OFD packet to send [08:33:04]OFD Sender: No OFD packet to send [08:33:09]OFD Sender: No OFD packet to send [08:33:14]OFD Sender: No OFD packet to send [08:33:19]OFD Sender: No OFD packet to send [08:33:24]OFD Sender: No OFD packet to send [08:33:29]OFD Sender: No OFD packet to send [08:33:34]OFD Sender: No OFD packet to send [08:33:39]OFD Sender: No OFD packet to send [08:33:44]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34:54]OFD Sender: No OFD packet to send [08:34:59]OFD Sender: No OFD packet to send [08:35:04]OFD Sender: No OFD packet to send [08:35:09]OFD Sender: No OFD packet to send [08:35:14]OFD Sender: No OFD packet to send [08:35:19]OFD Sender: No OFD packet to send [08:35:24]OFD Sender: No OFD packet to send [08:35:29]OFD Sender: No OFD packet to send [08:35:34]OFD Sender: No OFD packet to send [08:35:39]OFD Sender: No OFD packet to send [08:35:44]OFD Sender: No OFD packet to send [08:35:49]OFD Sender: No OFD packet to send [08:35:54]OFD Sender: No OFD packet to send [08:35:59]OFD Sender: No OFD packet to send [08:36:04]OFD Sender: No OFD packet to send [08:36:09]OFD Sender: No OFD packet to send [08:36:14]OFD Sender: No OFD packet to send [08:36:19]OFD Sender: No OFD packet to send [08:36:24]OFD Sender: No OFD packet to send [08:36:29]OFD Sender: No OFD packet to send [08:36:34]OFD Sender: No OFD packet to send [08:36:39]OFD Sender: No OFD packet to send [08:36:44]OFD Sender: No OFD packet to send [08:36:49]OFD Sender: No OFD packet to send [08:36:54]OFD Sender: No OFD packet to send [08:36:59]OFD Sender: No OFD packet to send [08:37:04]OFD Sender: No OFD packet to send [08:37:09]OFD Sender: No OFD packet to send [08:37:14]OFD Sender: No OFD packet to send [08:37:19]OFD Sender: No OFD packet to send [08:37:24]OFD Sender: No OFD packet to send [08:37:29]OFD Sender: No OFD packet to send [08:37:34]OFD Sender: No OFD packet to send [08:37:39]OFD Sender: No OFD packet to send [08:37:44]OFD Sender: No OFD packet to send [08:37:49]OFD Sender: No OFD packet to send [08:37:54]OFD Sender: No OFD packet to send [08:37:59]OFD Sender: No OFD packet to send [08:38:04]OFD Sender: No OFD packet to send [08:38:09]OFD Sender: No OFD packet to send [08:38:14]OFD Sender: No OFD packet to send [08:38:19]OFD Sender: No OFD packet to send [08:38:24]OFD Sender: No OFD packet to send [08:38:29]OFD Sender: No OFD packet to send [08:38:34]OFD Sender: No OFD packet to send [08:38:39]OFD Sender: No OFD packet to send [08:38:44]OFD Sender: No OFD packet to send [08:38:49]OFD Sender: No OFD packet to send [08:38:54]OFD Sender: No OFD packet to send [08:38:59]OFD Sender: No OFD packet to send [08:39:04]OFD Sender: No OFD packet to send [08:39:09]OFD Sender: No OFD packet to send [08:39:14]OFD Sender: No OFD packet to send [08:39:19]OFD Sender: No OFD packet to send [08:39:24]OFD Sender: No OFD packet to send [08:39:29]OFD Sender: No OFD packet to send [08:39:34]OFD Sender: No OFD packet to send [08:39:39]OFD Sender: No OFD packet to send [08:39:44]OFD Sender: No OFD packet to send [08:39:49]OFD Sender: No OFD packet to send [08:39:54]OFD Sender: No OFD packet to send [08:39:59]OFD Sender: No OFD packet to send [08:40:04]OFD Sender: No OFD packet to send [08:40:09]OFD Sender: No OFD packet to send [08:40:14]OFD Sender: No OFD packet to send [08:40:19]OFD Sender: No OFD packet to send [08:40:24]OFD Sender: No OFD packet to send [08:40:29]OFD Sender: No OFD packet to send [08:40:34]OFD Sender: No OFD packet to send [08:40:39]OFD Sender: No OFD packet to send [08:40:44]OFD Sender: No OFD packet to send [08:40:49]OFD Sender: No OFD packet to send [08:40:54]OFD Sender: No OFD packet to send [08:40:59]OFD Sender: No OFD packet to send [08:41:04]OFD Sender: No OFD packet to send [08:41:09]OFD Sender: No OFD packet to send [08:41:14]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:24]OFD Sender: No OFD packet to send [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:19]OFD Sender: No OFD packet to send [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:09]OFD Sender: No OFD packet to send [08:43:14]OFD Sender: No OFD packet to send [08:43:19]OFD Sender: No OFD packet to send [08:43:24]OFD Sender: No OFD packet to send [08:43:29]OFD Sender: No OFD packet to send [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:43]accept exits with 8 [08:48:43]New connection [08:48:43]New thread 3067002212 created [08:48:43]Thread 3067145572 joined [08:48:43]Waiting for new connection... [08:48:43] Sock 8.Parse request [08:48:43]Sock 8.Check first char [08:48:43]Sock 8.First char is OK [08:48:43]request: POST /json_proto HTTP/1.0 [08:48:43]Method: POST [08:48:43]URL: /json_proto [08:48:43]Method is POST - this is cgi request [08:48:43]url: /json_proto [08:48:43]query_string will be loaded in cgi processing [08:48:43]execute_cgi json_proto POST (null) [08:48:43]execute_cgi path=json_proto method=POST [08:48:43]POST find Content-Length [08:48:43]Host: 172.17.35.133:8080 [08:48:43]Content-Length: 938 [08:48:43]Content-Type: application/json [08:48:43] [08:48:43]POST finish read [08:48:43]Found Content-Length = 938 [08:48:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256250", "tax_sys" : 0, "items" : [ { "code": "4601025117702", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 228.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:43]execute_script... [08:48: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)256250", "tax_sys" : 0, "items" : [ { "code": "4601025117702", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 228.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:43]POST & json_proto [08:48:43]process_json_proto [08:48:43]json parsed OK: [08:48:43]protocol is kg_v1.0 [08:48:43]action value=close_receipt [08:48:43]process_action close_receipt [08:48:43]cmd_close_receipt [08:48:43]MH_GetDate [08:48:43]Write to MH i2c: F0 00 00 0A 01 FA [08:48:43]Write i2c OK [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: F0 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: F0 09 00 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: F0 09 00 0A 01 00 EB ED 90 66 1B 28 2A 66 A4 [08:48:43]GetLastDocTimeStamp 1720773021 [08:48:43]current date 1720774123 [08:48:43]FM_GetShiftState [08:48:43]SAM_PROTO_GetShiftState [08:48:43]wFMCommunicate request_size=4 [08:48:43]MH_SAM_APDU [08:48:43]CAPDU: 80 13 01 00 [08:48:43]Write to MH i2c: E2 08 00 0B 01 80 13 01 00 00 00 00 00 89 [08:48:43]Write i2c OK [08:48:43]MH_I2C_Read... [08:48:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:43]Read from MH i2c: E2 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 0E 00 [08:48:43]MH_I2C_Read... [08:48:43]Read from MH i2c: E2 0E 00 0B 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 42 [08:48:43]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [08:48:43]wFMCommunicate OK [08:48:43]SAM_PROTO_GetShiftState done [08:48:43]FM_GetShiftState done [08:48:43]opened in 1720742979 [08:48:43]opened+sec_in_day 1720829379 [08:48:43]quantity*price = 8500 [08:48:43]sum+1 = 8501 [08:48:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091584 Сигареты Esse Gold 1.000 * 143.00 = 143.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 228.00 НСП 1% : 2.01 НДС 12% : 24.22 Наличными: 228.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 15 12.07.2024 08:48 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1781 ФПД: 46767922760342 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T084843&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1781&fm=46767922760342&tin=02508201610067®Number=0000000000177495&sum=22800 0 [08:48:44]StoreToDocumentArchive [08:48:44]shift 23 fd 1781 [08:48:44]save to /storage/0023/doc_00001781 [08:48:44]save last doc name /storage/0023/doc_00001781 to /storage/kkm_last_doc_name [08:48:44]save OK [08:48:44]Clear old archive folders... [08:48:44]ProcessDocumentItem done err = 0, tmpTLVsize=394 [08:48:44]tlvbuf is 0106A140 [08:48:44]SAM_PROTO_ClearQueue [08:48:44]wFMCommunicate request_size=4 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 09 00 00 [08:48:44]Write to MH i2c: E2 08 00 18 01 80 09 00 00 00 00 00 00 8B [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 03 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 03 00 18 01 00 90 00 8D [08:48:44]RAPDU: 90 00 [08:48:44]wFMCommunicate OK [08:48:44]SAM_PROTO_ClearQueue done [08:48:44]KKMCreateOFDPacket [08:48:44]OFDProtocolAddRootSTLVToBuf [08:48:44]FM_MakeSignedData [08:48:44]FM_MakeSignedData [08:48:44]SAM_PROTO_SignData [08:48:44]wFMCommunicate request_size=4 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 0D 01 02 [08:48:44]Write to MH i2c: E2 08 00 19 01 80 0D 01 02 00 00 00 00 93 [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 03 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 03 00 19 01 00 90 00 8E [08:48:44]RAPDU: 90 00 [08:48:44]wFMCommunicate OK [08:48:44]wFMCommunicate request_size=255 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 10 59 00 00 00 00 EB 03 26 00 EF 03 0F [08:48:44]Write to MH i2c: E2 02 01 1A 01 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 10 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 90 [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 03 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 03 00 1A 01 00 90 00 8F [08:48:44]RAPDU: 90 00 [08:48:44]wFMCommunicate OK [08:48:44]wFMCommunicate request_size=153 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 C9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 09 00 00 00 00 07 04 06 00 10 59 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 EB ED 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F5 06 00 00 35 04 06 00 2A 89 01 6C 4A 96 [08:48:44]Write to MH i2c: E2 9C 00 1B 01 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 C9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 09 00 00 00 00 07 04 06 00 10 59 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 EB ED 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F5 06 00 00 35 04 06 00 2A 89 01 6C 4A 96 00 00 91 [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 03 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 03 00 1B 01 00 90 00 90 [08:48:44]RAPDU: 90 00 [08:48:44]wFMCommunicate OK [08:48:44]wFMCommunicate request_size=4 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 0D 03 02 [08:48:44]Write to MH i2c: E2 08 00 1C 01 80 0D 03 02 00 00 00 00 98 [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 0B 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 0B 00 1C 01 00 B7 40 63 98 BF 2C 44 07 90 00 C1 [08:48:44]RAPDU: B7 40 63 98 BF 2C 44 07 90 00 [08:48:44]wFMCommunicate OK [08:48:44]SAM_PROTO_SignData done [08:48:44]FM_MakeSignedData done [08:48:44]CreateOFDProtocolMessage [08:48:44]wFMCommunicate request_size=4 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 11 00 00 [08:48:44]Write to MH i2c: E2 08 00 1D 01 80 11 00 00 00 00 00 00 98 [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 17 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 17 00 1D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 EE [08:48:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [08:48:44]wFMCommunicate OK [08:48:44]CreateOFDProtocolMessage done [08:48:44]OFDSenderStorePacket 1781 [08:48:44]StoreOFDPacket docnum=1781 [08:48:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 9E 01 00 00 89 EA 96 01 5E 62 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 10 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 09 00 00 00 00 07 04 06 00 10 59 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 EB ED 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F5 06 00 00 35 04 06 00 2A 89 01 6C 4A 96 B7 40 63 98 BF 2C 44 07 [08:48:44]CheckFolder [08:48:44]dirname=/storage/ofd_packets [08:48:44]CheckFolder done [08:48:44]ProducePacketName [08:48:44]name=ofd_packets/00001781 [08:48:44]NVStorageSaveData ofd_packets/00001781 [08:48:44]File name is /storage/ofd_packets/00001781 [08:48:44]Write 444 bytes [08:48:44]NVStorageSaveData done [08:48:44]OFDSenderStorePacket done [08:48:44]KKMCreateOFDPacket done [08:48:44]NVStorageSaveData kkm_last_timestamp [08:48:44]File name is /storage/kkm_last_timestamp [08:48:44]Write 4 bytes [08:48:44]NVStorageSaveData done [08:48:44]ExternCall_PrintAddStr [08:48:44]wPrintStart [08:48:44]Write to MH i2c: 01 00 00 1E 01 1F [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: 01 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: 01 07 00 [08:48:45]MH_I2C_Read... [08:48:45]OFD Sender: Processing packet 1781 [packets to send 1, broken 0] [08:48:45]ProducePacketName [08:48:45]name=ofd_packets/00001781 [08:48:45]OFD Sender: To server: pG, [08:48:45]CommunicateWithHost lk.salyk.kg:30040 [08:48:45]ConnectInit lk.salyk.kg [08:48:45]Read from MH i2c: 01 07 00 1E 01 00 00 00 00 00 FF 0F 34 [08:48:45]RasterBufferAndPrint [08:48:45]line Счет N : (3)256250 [08:48:45]line ИНН: 02508201610067 [08:48:45]line Контрольно-Кассовый Чек [08:48:45]line ПРОДАЖА [08:48:45]line Товар: 4601025117702 [08:48:45]line Напиток Фрутмотив апельсин 0,5 [08:48:45]line 1.000 * 85.00 [08:48:45]line = 85.00 [08:48:45]line НДС 12% НСП 1% [08:48:45]line > о реализуемом товаре [08:48:45]line Товар: 4640030091584 [08:48:45]line Сигареты Esse Gold [08:48:45]line 1.000 * 143.00 [08:48:45]line = 143.00 [08:48:45]line НДС 12% НСП 1% [08:48:45]line > о реализуемом товаре [08:48:45]line ИТОГО: 228.00 [08:48:45]line НСП 1% : 2.01 [08:48:45]line НДС 12% : 24.22 [08:48:45]line Наличными: 228.00 [08:48:45]line Безнал.: 0.00 [08:48:45]line Место: АЗС № 76 "Партнер Нефть" [08:48:45]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [08:48:45]line СНО: Общий режим [08:48:45]line Чек 15 12.07.2024 08:48 [08:48:45]line Смена: 23 ФФД: 1.0 [08:48:45]line ЗНМ: 0300000124 [08:48:45]line РНМ: 0000000000177495 [08:48:45]line Версия ККМ: 001 [08:48:45]line ФМ: 0000000002098592 [08:48:45]line ФД: 1781 [08:48:45]line ФПД: 46767922760342 [08:48:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T084843&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1781&fm=46767922760342&tin=02508201610067®Number=0000000000177495&sum=22800 [08:48:45]line 0 [08:48:45]written 0, free lines is 4095 [08:48:45]Connected sock=10 [08:48:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 9E 01 00 00 89 EA 96 01 5E 62 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 10 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 09 00 00 00 00 07 04 06 00 10 59 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 EB ED 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F5 06 00 00 35 04 06 00 2A 89 01 6C 4A 96 B7 40 63 98 BF 2C 44 07 [08:48:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 8A BB 47 00 24 BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F5 06 00 00 F4 03 04 00 24 99 90 66 B6 04 01 00 00 71 5A 84 F2 A6 5D D7 ED [08:48:45]CommunicateWithHost err = 0 [08:48:45]CheckOFDResponse [08:48:45]1017 (14) - 77093643461234 [08:48:45]1041 (16) - 0000000002098592 [08:48:45]1040 (4) - 1781 [08:48:45]1012 (4) - 12.07.2024 02:47 [08:48:45]1206 (1) - 0 [08:48:45]OFD Sender: Remove packet 1781 [08:48:45]ProducePacketName [08:48:45]name=ofd_packets/00001781 [08:48:45]NVStorageDeleteData [08:48:45]Write to MH i2c: 01 00 00 4D 01 4E [08:48:45]Write i2c OK [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: 01 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: 01 07 00 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: 01 07 00 4D 01 00 00 00 00 00 9C 0C FD [08:48:45]RasterBufferAndPrint [08:48:45]line [08:48:45]line [08:48:45]line [08:48:45]line [08:48:45]line [08:48:45]written 0, free lines is 3237 [08:48:45]MH_Cut [08:48:45]Write to MH i2c: D1 01 00 54 01 01 27 [08:48:45]Write i2c OK [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: D1 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: D1 01 00 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: D1 01 00 54 01 00 26 [08:48:45]Write to MH i2c: 01 00 00 55 01 56 [08:48:45]Write i2c OK [08:48:45]MH_I2C_Read... [08:48:46]OFD Sender: No OFD packet to send [08:48:46]*** Cut start [08:48:46]*** Partial cut [08:48:46]*** CUTSNS_PIN = 1 [08:48:46]*** CUTSNS_PIN = 0 [08:48:46]*** Brake cut motor [08:48:47]Read from MH i2c: 01 [08:48:47]MH_I2C_Read... [08:48:47]*** Stop cut motor [08:48:47]*** Cut end [08:48:47]Read from MH i2c: 01 07 00 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: 01 07 00 55 01 00 00 00 00 00 FF 0F 6B [08:48:47]process_action close_receipt done [08:48:47]requested_data is exist [08:48:47]produce_requested_data [08:48:47]requested_item fm.sn is exist - process it [08:48:47]wFMCommunicate request_size=4 [08:48:47]MH_SAM_APDU [08:48:47]CAPDU: 80 11 00 00 [08:48:47]Write to MH i2c: E2 08 00 56 01 80 11 00 00 00 00 00 00 D1 [08:48:47]Write i2c OK [08:48:47]MH_I2C_Read... [08:48:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:47]Read from MH i2c: E2 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 17 00 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 17 00 56 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 27 [08:48:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [08:48:47]wFMCommunicate OK [08:48:47]requested_item fd.num is exist - process it [08:48:47]SAM_PROTO_GetFieldsCounters [08:48:47]wFMCommunicate request_size=4 [08:48:47]MH_SAM_APDU [08:48:47]CAPDU: 80 13 00 00 [08:48:47]Write to MH i2c: E2 08 00 57 01 80 13 00 00 00 00 00 00 D4 [08:48:47]Write i2c OK [08:48:47]MH_I2C_Read... [08:48:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:48:47]Read from MH i2c: E2 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 62 00 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 62 00 57 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F5 06 00 00 0E 04 04 00 17 00 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 3F [08:48:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F5 06 00 00 0E 04 04 00 17 00 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:48:47]wFMCommunicate OK [08:48:47]SAM_PROTO_GetFieldsCounters done [08:48:47]requested_item shift.num is exist - process it [08:48:47]requested_item shift.opened is exist - process it [08:48:47]req_shift_opened [08:48:47]FM_GetShiftState [08:48:47]SAM_PROTO_GetShiftState [08:48:47]wFMCommunicate request_size=4 [08:48:47]MH_SAM_APDU [08:48:47]CAPDU: 80 13 01 00 [08:48:47]Write to MH i2c: E2 08 00 58 01 80 13 01 00 00 00 00 00 D6 [08:48:47]Write i2c OK [08:48:47]MH_I2C_Read... [08:48:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:47]Read from MH i2c: E2 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 0E 00 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: E2 0E 00 58 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 8F [08:48:47]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [08:48:47]wFMCommunicate OK [08:48:47]SAM_PROTO_GetShiftState done [08:48:47]FM_GetShiftState done [08:48:47]req_shift_opened done [08:48:47]requested_item shift.open_date is exist - process it [08:48:47]req_shift_open_date [08:48:47]req_shift_open_date done [08:48:47]produce_requested_data done [08:48:47]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1781,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [08:48:47]process_action_free close_receipt [08:48:47]json_value_free [08:48:47]json_value_free done [08:48:47]process_json_proto returns [08:48:47]Send response to host [08:48:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1781,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [08:48:47]free response buf [08:48:47]execute_script done [08:48:47]execute_script returns [08:48:47]free content buf [08:48:47]Sock 8.Close socket [08:48:47]Sock 8.Thread stoped [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53:51]OFD Sender: No OFD packet to send [08:53:56]OFD Sender: No OFD packet to send [08:54:01]OFD Sender: No OFD packet to send [08:54:06]OFD Sender: No OFD packet to send [08:54:11]OFD Sender: No OFD packet to send [08:54:16]OFD Sender: No OFD packet to send [08:54:21]OFD Sender: No OFD packet to send [08:54:26]OFD Sender: No OFD packet to send [08:54:31]OFD Sender: No OFD packet to send [08:54:36]OFD Sender: No OFD packet to send [08:54:41]OFD Sender: No OFD packet to send [08:54:46]OFD Sender: No OFD packet to send [08:54:51]OFD Sender: No OFD packet to send [08:54:56]OFD Sender: No OFD packet to send [08:55:01]OFD Sender: No OFD packet to send [08:55:06]OFD Sender: No OFD packet to send [08:55:11]OFD Sender: No OFD packet to send [08:55:16]OFD Sender: No OFD packet to send [08:55:21]OFD Sender: No OFD packet to send [08:55:26]OFD Sender: No OFD packet to send [08:55:31]OFD Sender: No OFD packet to send [08:55:36]OFD Sender: No OFD packet to send [08:55:41]OFD Sender: No OFD packet to send [08:55:46]OFD Sender: No OFD packet to send [08:55:51]OFD Sender: No OFD packet to send [08:55:56]OFD Sender: No OFD packet to send [08:56:01]OFD Sender: No OFD packet to send [08:56:06]OFD Sender: No OFD packet to send [08:56:11]OFD Sender: No OFD packet to send [08:56:16]OFD Sender: No OFD packet to send [08:56:21]OFD Sender: No OFD packet to send [08:56:26]OFD Sender: No OFD packet to send [08:56:31]OFD Sender: No OFD packet to send [08:56:36]OFD Sender: No OFD packet to send [08:56:41]OFD Sender: No OFD packet to send [08:56:46]OFD Sender: No OFD packet to send [08:56:51]OFD Sender: No OFD packet to send [08:56:56]OFD Sender: No OFD packet to send [08:57:01]OFD Sender: No OFD packet to send [08:57:06]OFD Sender: No OFD packet to send [08:57:11]OFD Sender: No OFD packet to send [08:57:16]OFD Sender: No OFD packet to send [08:57:21]OFD Sender: No OFD packet to send [08:57:26]OFD Sender: No OFD packet to send [08:57:31]OFD Sender: No OFD packet to send [08:57:36]OFD Sender: No OFD packet to send [08:57:41]OFD Sender: No OFD packet to send [08:57:46]OFD Sender: No OFD packet to send [08:57:51]OFD Sender: No OFD packet to send [08:57:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [08:58:56]OFD Sender: No OFD packet to send [08:59:01]OFD Sender: No OFD packet to send [08:59:06]OFD Sender: No OFD packet to send [08:59:11]OFD Sender: No OFD packet to send [08:59:16]OFD Sender: No OFD packet to send [08:59:21]OFD Sender: No OFD packet to send [08:59:26]OFD Sender: No OFD packet to send [08:59:31]OFD Sender: No OFD packet to send [08:59:36]OFD Sender: No OFD packet to send [08:59:41]OFD Sender: No OFD packet to send [08:59:46]OFD Sender: No OFD packet to send [08:59:51]OFD Sender: No OFD packet to send [08:59:56]OFD Sender: No OFD packet to send [09:00:01]OFD Sender: No OFD packet to send [09:00:06]OFD Sender: No OFD packet to send [09:00:11]OFD Sender: No OFD packet to send [09:00:16]OFD Sender: No OFD packet to send [09:00:21]OFD Sender: No OFD packet to send [09:00:26]OFD Sender: No OFD packet to send [09:00:31]OFD Sender: No OFD packet to send [09:00:36]OFD Sender: No OFD packet to send [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:51]OFD Sender: No OFD packet to send [09:00:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:37]accept exits with 9 [09:01:37]New connection [09:01:37]New thread 3067145572 created [09:01:37]Thread 3067002212 joined [09:01:37]Waiting for new connection... [09:01:37] Sock 9.Parse request [09:01:37]Sock 9.Check first char [09:01:37]Sock 9.First char is OK [09:01:37]request: POST /json_proto HTTP/1.0 [09:01:37]Method: POST [09:01:37]URL: /json_proto [09:01:37]Method is POST - this is cgi request [09:01:37]url: /json_proto [09:01:37]query_string will be loaded in cgi processing [09:01:37]execute_cgi json_proto POST (null) [09:01:37]execute_cgi path=json_proto method=POST [09:01:37]POST find Content-Length [09:01:37]Host: 172.17.35.133:8080 [09:01:37]Content-Length: 646 [09:01:37]Content-Type: application/json [09:01:37] [09:01:37]POST finish read [09:01:37]Found Content-Length = 646 [09:01:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256251", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 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" ] } } [09:01:37]execute_script... [09:01:37]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)256251", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 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" ] } } [09:01:37]POST & json_proto [09:01:37]process_json_proto [09:01:37]json parsed OK: [09:01:37]protocol is kg_v1.0 [09:01:37]action value=close_receipt [09:01:37]process_action close_receipt [09:01:37]cmd_close_receipt [09:01:37]MH_GetDate [09:01:37]Write to MH i2c: F0 00 00 59 01 49 [09:01:37]Write i2c OK [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: F0 [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: F0 09 00 [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: F0 09 00 59 01 00 F2 F0 90 66 1B 28 2A 66 FD [09:01:37]GetLastDocTimeStamp 1720774123 [09:01:37]current date 1720774898 [09:01:37]FM_GetShiftState [09:01:37]SAM_PROTO_GetShiftState [09:01:37]wFMCommunicate request_size=4 [09:01:37]MH_SAM_APDU [09:01:37]CAPDU: 80 13 01 00 [09:01:37]Write to MH i2c: E2 08 00 5A 01 80 13 01 00 00 00 00 00 D8 [09:01:37]Write i2c OK [09:01:37]MH_I2C_Read... [09:01:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:37]Read from MH i2c: E2 [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: E2 0E 00 [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: E2 0E 00 5A 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 91 [09:01:37]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [09:01:37]wFMCommunicate OK [09:01:37]SAM_PROTO_GetShiftState done [09:01:37]FM_GetShiftState done [09:01:37]opened in 1720742979 [09:01:37]opened+sec_in_day 1720829379 [09:01:37]quantity*price = 13000 [09:01:37]sum+1 = 13001 [09:01:37]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 12.07.2024 09:01 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1782 ФПД: 163259488309184 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090138&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1782&fm=163259488309184&tin=02508201610067®Number=0000000000177495&sum=13000 0 [09:01:39]StoreToDocumentArchive [09:01:39]shift 23 fd 1782 [09:01:39]save to /storage/0023/doc_00001782 [09:01:39]save last doc name /storage/0023/doc_00001782 to /storage/kkm_last_doc_name [09:01:39]save OK [09:01:39]Clear old archive folders... [09:01:39]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:01:39]tlvbuf is 01073DD0 [09:01:39]SAM_PROTO_ClearQueue [09:01:39]wFMCommunicate request_size=4 [09:01:39]MH_SAM_APDU [09:01:39]CAPDU: 80 09 00 00 [09:01:39]Write to MH i2c: E2 08 00 67 01 80 09 00 00 00 00 00 00 DA [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 03 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 03 00 67 01 00 90 00 DC [09:01:39]RAPDU: 90 00 [09:01:39]wFMCommunicate OK [09:01:39]SAM_PROTO_ClearQueue done [09:01:39]KKMCreateOFDPacket [09:01:39]OFDProtocolAddRootSTLVToBuf [09:01:39]FM_MakeSignedData [09:01:39]FM_MakeSignedData [09:01:39]SAM_PROTO_SignData [09:01:39]wFMCommunicate request_size=4 [09:01:39]MH_SAM_APDU [09:01:39]CAPDU: 80 0D 01 02 [09:01:39]Write to MH i2c: E2 08 00 68 01 80 0D 01 02 00 00 00 00 E2 [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 03 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 03 00 68 01 00 90 00 DD [09:01:39]RAPDU: 90 00 [09:01:39]wFMCommunicate OK [09:01:39]wFMCommunicate request_size=255 [09:01:39]MH_SAM_APDU [09:01:39]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 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 F2 F0 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 [09:01:39]Write to MH i2c: E2 02 01 69 01 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 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 F2 F0 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 00 00 F8 [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 03 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 03 00 69 01 00 90 00 DE [09:01:39]RAPDU: 90 00 [09:01:39]wFMCommunicate OK [09:01:39]wFMCommunicate request_size=41 [09:01:39]MH_SAM_APDU [09:01:39]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F6 06 00 00 35 04 06 00 94 7B CF CE 8F C0 [09:01:39]Write to MH i2c: E2 2C 00 6A 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F6 06 00 00 35 04 06 00 94 7B CF CE 8F C0 00 00 AE [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 03 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 03 00 6A 01 00 90 00 DF [09:01:39]RAPDU: 90 00 [09:01:39]wFMCommunicate OK [09:01:39]wFMCommunicate request_size=4 [09:01:39]MH_SAM_APDU [09:01:39]CAPDU: 80 0D 03 02 [09:01:39]Write to MH i2c: E2 08 00 6B 01 80 0D 03 02 00 00 00 00 E7 [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 0B 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 0B 00 6B 01 00 38 73 AB 94 5D 33 18 BE 90 00 38 [09:01:39]RAPDU: 38 73 AB 94 5D 33 18 BE 90 00 [09:01:39]wFMCommunicate OK [09:01:39]SAM_PROTO_SignData done [09:01:39]FM_MakeSignedData done [09:01:39]CreateOFDProtocolMessage [09:01:39]wFMCommunicate request_size=4 [09:01:39]MH_SAM_APDU [09:01:39]CAPDU: 80 11 00 00 [09:01:39]Write to MH i2c: E2 08 00 6C 01 80 11 00 00 00 00 00 00 E7 [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 17 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 17 00 6C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 3D [09:01:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [09:01:39]wFMCommunicate OK [09:01:39]CreateOFDProtocolMessage done [09:01:39]OFDSenderStorePacket 1782 [09:01:39]StoreOFDPacket docnum=1782 [09:01:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2E 01 00 00 DA 3C 26 01 EA 2D 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 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 F2 F0 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F6 06 00 00 35 04 06 00 94 7B CF CE 8F C0 38 73 AB 94 5D 33 18 BE [09:01:39]CheckFolder [09:01:39]dirname=/storage/ofd_packets [09:01:39]CheckFolder done [09:01:39]ProducePacketName [09:01:39]name=ofd_packets/00001782 [09:01:39]NVStorageSaveData ofd_packets/00001782 [09:01:39]File name is /storage/ofd_packets/00001782 [09:01:39]Write 332 bytes [09:01:39]NVStorageSaveData done [09:01:39]OFDSenderStorePacket done [09:01:39]KKMCreateOFDPacket done [09:01:39]NVStorageSaveData kkm_last_timestamp [09:01:39]File name is /storage/kkm_last_timestamp [09:01:39]Write 4 bytes [09:01:39]NVStorageSaveData done [09:01:39]ExternCall_PrintAddStr [09:01:39]wPrintStart [09:01:39]Write to MH i2c: 01 00 00 6D 01 6E [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: 01 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: 01 07 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: 01 07 00 6D 01 00 00 00 00 00 FF 0F 83 [09:01:39]RasterBufferAndPrint [09:01:39]line Счет N : (3)256251 [09:01:39]line ИНН: 02508201610067 [09:01:39]line Контрольно-Кассовый Чек [09:01:39]line ПРОДАЖА [09:01:39]line Товар: 2000036220012 [09:01:39]line Кофе Капучино XL(GABB TRADE) [09:01:39]line 1.000 * 130.00 [09:01:39]line = 130.00 [09:01:39]line НДС 12% НСП 1% [09:01:39]line > о реализуемом товаре [09:01:39]line ИТОГО: 130.00 [09:01:39]line НСП 1% : 1.15 [09:01:39]line НДС 12% : 13.80 [09:01:39]line Наличными: 130.00 [09:01:39]line Безнал.: 0.00 [09:01:39]line Место: АЗС № 76 "Партнер Нефть" [09:01:39]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [09:01:39]line СНО: Общий режим [09:01:39]line Чек 16 12.07.2024 09:01 [09:01:39]line Смена: 23 ФФД: 1.0 [09:01:39]line ЗНМ: 0300000124 [09:01:39]line РНМ: 0000000000177495 [09:01:39]line Версия ККМ: 001 [09:01:39]line ФМ: 0000000002098592 [09:01:39]line ФД: 1782 [09:01:39]line ФПД: 163259488309184 [09:01:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090138&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1782&fm=163259488309184&tin=02508201610067®Number=0000000000177495&sum=13000 [09:01:39]line 0 [09:01:39]OFD Sender: Processing packet 1782 [packets to send 1, broken 0] [09:01:39]ProducePacketName [09:01:39]name=ofd_packets/00001782 [09:01:39]OFD Sender: To server: pG, [09:01:39]CommunicateWithHost lk.salyk.kg:30040 [09:01:40]ConnectInit lk.salyk.kg [09:01:40]written 0, free lines is 4095 [09:01:40]Connected sock=10 [09:01:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2E 01 00 00 DA 3C 26 01 EA 2D 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 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 F2 F0 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F6 06 00 00 35 04 06 00 94 7B CF CE 8F C0 38 73 AB 94 5D 33 18 BE [09:01:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 FE 90 47 00 2A 58 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F6 06 00 00 F4 03 04 00 2B 9C 90 66 B6 04 01 00 00 CF A4 CA 37 7A 0A 82 B7 [09:01:40]CommunicateWithHost err = 0 [09:01:40]CheckOFDResponse [09:01:40]1017 (14) - 77093643461234 [09:01:40]1041 (16) - 0000000002098592 [09:01:40]1040 (4) - 1782 [09:01:40]1012 (4) - 12.07.2024 02:59 [09:01:40]1206 (1) - 0 [09:01:40]OFD Sender: Remove packet 1782 [09:01:40]ProducePacketName [09:01:40]name=ofd_packets/00001782 [09:01:40]NVStorageDeleteData [09:01:40]Write to MH i2c: 01 00 00 96 01 97 [09:01:40]Write i2c OK [09:01:40]MH_I2C_Read... [09:01:40]Read from MH i2c: 01 [09:01:40]MH_I2C_Read... [09:01:40]Read from MH i2c: 01 07 00 [09:01:40]MH_I2C_Read... [09:01:40]Read from MH i2c: 01 07 00 96 01 00 00 00 00 00 F5 0C 9F [09:01:40]RasterBufferAndPrint [09:01:40]line [09:01:40]line [09:01:40]line [09:01:40]line [09:01:40]line [09:01:40]written 0, free lines is 3324 [09:01:40]MH_Cut [09:01:40]Write to MH i2c: D1 01 00 9D 01 01 70 [09:01:40]Write i2c OK [09:01:40]MH_I2C_Read... [09:01:40]Read from MH i2c: D1 [09:01:40]MH_I2C_Read... [09:01:40]Read from MH i2c: D1 01 00 [09:01:40]MH_I2C_Read... [09:01:40]Read from MH i2c: D1 01 00 9D 01 00 6F [09:01:40]Write to MH i2c: 01 00 00 9E 01 9F [09:01:40]Write i2c OK [09:01:40]MH_I2C_Read... [09:01:40]OFD Sender: No OFD packet to send [09:01:41]*** Cut start [09:01:41]*** Partial cut [09:01:41]*** CUTSNS_PIN = 1 [09:01:41]*** CUTSNS_PIN = 0 [09:01:41]*** Brake cut motor [09:01:41]Read from MH i2c: 01 [09:01:41]MH_I2C_Read... [09:01:41]*** Stop cut motor [09:01:41]*** Cut end [09:01:41]Read from MH i2c: 01 07 00 [09:01:41]MH_I2C_Read... [09:01:41]Read from MH i2c: 01 07 00 9E 01 00 00 00 00 00 FF 0F B4 [09:01:41]process_action close_receipt done [09:01:41]requested_data is exist [09:01:41]produce_requested_data [09:01:41]requested_item fm.sn is exist - process it [09:01:41]wFMCommunicate request_size=4 [09:01:41]MH_SAM_APDU [09:01:41]CAPDU: 80 11 00 00 [09:01:41]Write to MH i2c: E2 08 00 9F 01 80 11 00 00 00 00 00 00 1A [09:01:41]Write i2c OK [09:01:41]MH_I2C_Read... [09:01:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:41]Read from MH i2c: E2 [09:01:41]MH_I2C_Read... [09:01:41]Read from MH i2c: E2 17 00 [09:01:41]MH_I2C_Read... [09:01:41]Read from MH i2c: E2 17 00 9F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 70 [09:01:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [09:01:41]wFMCommunicate OK [09:01:41]requested_item fd.num is exist - process it [09:01:41]SAM_PROTO_GetFieldsCounters [09:01:41]wFMCommunicate request_size=4 [09:01:41]MH_SAM_APDU [09:01:41]CAPDU: 80 13 00 00 [09:01:41]Write to MH i2c: E2 08 00 A0 01 80 13 00 00 00 00 00 00 1D [09:01:41]Write i2c OK [09:01:41]MH_I2C_Read... [09:01:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:01:41]Read from MH i2c: E2 [09:01:41]MH_I2C_Read... [09:01:41]Read from MH i2c: E2 62 00 [09:01:41]MH_I2C_Read... [09:01:41]Read from MH i2c: E2 62 00 A0 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F6 06 00 00 0E 04 04 00 17 00 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 8C [09:01:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F6 06 00 00 0E 04 04 00 17 00 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 [09:01:41]wFMCommunicate OK [09:01:41]SAM_PROTO_GetFieldsCounters done [09:01:41]requested_item shift.num is exist - process it [09:01:41]requested_item shift.opened is exist - process it [09:01:41]req_shift_opened [09:01:41]FM_GetShiftState [09:01:41]SAM_PROTO_GetShiftState [09:01:41]wFMCommunicate request_size=4 [09:01:41]MH_SAM_APDU [09:01:41]CAPDU: 80 13 01 00 [09:01:41]Write to MH i2c: E2 08 00 A1 01 80 13 01 00 00 00 00 00 1F [09:01:41]Write i2c OK [09:01:41]MH_I2C_Read... [09:01:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:42]Read from MH i2c: E2 [09:01:42]MH_I2C_Read... [09:01:42]Read from MH i2c: E2 0E 00 [09:01:42]MH_I2C_Read... [09:01:42]Read from MH i2c: E2 0E 00 A1 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 D8 [09:01:42]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [09:01:42]wFMCommunicate OK [09:01:42]SAM_PROTO_GetShiftState done [09:01:42]FM_GetShiftState done [09:01:42]req_shift_opened done [09:01:42]requested_item shift.open_date is exist - process it [09:01:42]req_shift_open_date [09:01:42]req_shift_open_date done [09:01:42]produce_requested_data done [09:01:42]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1782,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [09:01:42]process_action_free close_receipt [09:01:42]json_value_free [09:01:42]json_value_free done [09:01:42]process_json_proto returns [09:01:42]Send response to host [09:01:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1782,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [09:01:42]free response buf [09:01:42]execute_script done [09:01:42]execute_script returns [09:01:42]free content buf [09:01:42]Sock 9.Close socket [09:01:42]Sock 9.Thread stoped [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:23]accept exits with 8 [09:02:23]New connection [09:02:23]New thread 3067002212 created [09:02:23]Thread 3067145572 joined [09:02:23]Waiting for new connection... [09:02:23] Sock 8.Parse request [09:02:23]Sock 8.Check first char [09:02:23]Sock 8.First char is OK [09:02:23]request: POST /json_proto HTTP/1.0 [09:02:23]Method: POST [09:02:23]URL: /json_proto [09:02:23]Method is POST - this is cgi request [09:02:23]url: /json_proto [09:02:23]query_string will be loaded in cgi processing [09:02:23]execute_cgi json_proto POST (null) [09:02:23]execute_cgi path=json_proto method=POST [09:02:23]POST find Content-Length [09:02:23]Host: 172.17.35.133:8080 [09:02:23]Content-Length: 678 [09:02:23]Content-Type: application/json [09:02:23] [09:02:23]POST finish read [09:02:23]Found Content-Length = 678 [09:02:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1618666", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:23]execute_script... [09:02:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1618666", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:23]POST & json_proto [09:02:23]process_json_proto [09:02:23]json parsed OK: [09:02:23]protocol is kg_v1.0 [09:02:23]action value=close_receipt [09:02:23]process_action close_receipt [09:02:23]cmd_close_receipt [09:02:23]MH_GetDate [09:02:23]Write to MH i2c: F0 00 00 A2 01 92 [09:02:23]Write i2c OK [09:02:23]MH_I2C_Read... [09:02:23]Read from MH i2c: F0 [09:02:23]MH_I2C_Read... [09:02:23]Read from MH i2c: F0 09 00 [09:02:23]MH_I2C_Read... [09:02:23]Read from MH i2c: F0 09 00 A2 01 00 20 F1 90 66 1B 28 2A 66 75 [09:02:23]GetLastDocTimeStamp 1720774898 [09:02:23]current date 1720774944 [09:02:23]FM_GetShiftState [09:02:23]SAM_PROTO_GetShiftState [09:02:23]wFMCommunicate request_size=4 [09:02:23]MH_SAM_APDU [09:02:23]CAPDU: 80 13 01 00 [09:02:23]Write to MH i2c: E2 08 00 A3 01 80 13 01 00 00 00 00 00 21 [09:02:23]Write i2c OK [09:02:23]MH_I2C_Read... [09:02:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:23]Read from MH i2c: E2 [09:02:23]MH_I2C_Read... [09:02:23]Read from MH i2c: E2 0E 00 [09:02:23]MH_I2C_Read... [09:02:23]Read from MH i2c: E2 0E 00 A3 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 DA [09:02:23]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [09:02:23]wFMCommunicate OK [09:02:23]SAM_PROTO_GetShiftState done [09:02:23]FM_GetShiftState done [09:02:23]opened in 1720742979 [09:02:23]opened+sec_in_day 1720829379 [09:02:23]quantity*price = 50056 [09:02:23]sum+1 = 50058 [09:02:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 17 12.07.2024 09:02 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1783 ФПД: 170483295567311 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090224&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1783&fm=170483295567311&tin=02508201610067®Number=0000000000177495&sum=50000 [09:02:24]StoreToDocumentArchive [09:02:24]shift 23 fd 1783 [09:02:24]save to /storage/0023/doc_00001783 [09:02:24]save last doc name /storage/0023/doc_00001783 to /storage/kkm_last_doc_name [09:02:24]save OK [09:02:24]Clear old archive folders... [09:02:24]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:02:24]tlvbuf is 0106BB10 [09:02:24]SAM_PROTO_ClearQueue [09:02:24]wFMCommunicate request_size=4 [09:02:24]MH_SAM_APDU [09:02:24]CAPDU: 80 09 00 00 [09:02:24]Write to MH i2c: E2 08 00 B0 01 80 09 00 00 00 00 00 00 23 [09:02:24]Write i2c OK [09:02:24]MH_I2C_Read... [09:02:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:02:24]Read from MH i2c: E2 [09:02:24]MH_I2C_Read... [09:02:24]Read from MH i2c: E2 03 00 [09:02:24]MH_I2C_Read... [09:02:24]Read from MH i2c: E2 03 00 B0 01 00 90 00 25 [09:02:24]RAPDU: 90 00 [09:02:24]wFMCommunicate OK [09:02:24]SAM_PROTO_ClearQueue done [09:02:24]KKMCreateOFDPacket [09:02:24]OFDProtocolAddRootSTLVToBuf [09:02:24]FM_MakeSignedData [09:02:24]FM_MakeSignedData [09:02:24]SAM_PROTO_SignData [09:02:24]wFMCommunicate request_size=4 [09:02:24]MH_SAM_APDU [09:02:24]CAPDU: 80 0D 01 02 [09:02:24]Write to MH i2c: E2 08 00 B1 01 80 0D 01 02 00 00 00 00 2B [09:02:24]Write i2c OK [09:02:24]MH_I2C_Read... [09:02:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:02:24]Read from MH i2c: E2 [09:02:24]MH_I2C_Read... [09:02:24]Read from MH i2c: E2 03 00 [09:02:24]MH_I2C_Read... [09:02:24]Read from MH i2c: E2 03 00 B1 01 00 90 00 26 [09:02:24]RAPDU: 90 00 [09:02:24]wFMCommunicate OK [09:02:24]wFMCommunicate request_size=255 [09:02:24]MH_SAM_APDU [09:02:24]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 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 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 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 11 00 00 00 F4 03 04 00 20 F1 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F7 06 00 00 35 04 06 00 9B [09:02:24]Write to MH i2c: E2 02 01 B2 01 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 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 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 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 11 00 00 00 F4 03 04 00 20 F1 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F7 06 00 00 35 04 06 00 9B 00 00 A7 [09:02:24]Write i2c OK [09:02:24]MH_I2C_Read... [09:02:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:25]Read from MH i2c: E2 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: E2 03 00 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: E2 03 00 B2 01 00 90 00 27 [09:02:25]RAPDU: 90 00 [09:02:25]wFMCommunicate OK [09:02:25]wFMCommunicate request_size=10 [09:02:25]MH_SAM_APDU [09:02:25]CAPDU: 80 0D 02 02 05 0D BC 45 BD CF [09:02:25]Write to MH i2c: E2 0D 00 B3 01 80 0D 02 02 05 00 0D BC 45 BD CF 00 00 D2 [09:02:25]Write i2c OK [09:02:25]MH_I2C_Read... [09:02:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:25]Read from MH i2c: E2 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: E2 03 00 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: E2 03 00 B3 01 00 90 00 28 [09:02:25]RAPDU: 90 00 [09:02:25]wFMCommunicate OK [09:02:25]wFMCommunicate request_size=4 [09:02:25]MH_SAM_APDU [09:02:25]CAPDU: 80 0D 03 02 [09:02:25]Write to MH i2c: E2 08 00 B4 01 80 0D 03 02 00 00 00 00 30 [09:02:25]Write i2c OK [09:02:25]MH_I2C_Read... [09:02:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:02:25]Read from MH i2c: E2 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: E2 0B 00 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: E2 0B 00 B4 01 00 C6 C2 F3 DB F0 3B ED 5B 90 00 FA [09:02:25]RAPDU: C6 C2 F3 DB F0 3B ED 5B 90 00 [09:02:25]wFMCommunicate OK [09:02:25]SAM_PROTO_SignData done [09:02:25]FM_MakeSignedData done [09:02:25]CreateOFDProtocolMessage [09:02:25]wFMCommunicate request_size=4 [09:02:25]MH_SAM_APDU [09:02:25]CAPDU: 80 11 00 00 [09:02:25]Write to MH i2c: E2 08 00 B5 01 80 11 00 00 00 00 00 00 30 [09:02:25]Write i2c OK [09:02:25]MH_I2C_Read... [09:02:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:25]Read from MH i2c: E2 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: E2 17 00 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: E2 17 00 B5 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 86 [09:02:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [09:02:25]wFMCommunicate OK [09:02:25]CreateOFDProtocolMessage done [09:02:25]OFDSenderStorePacket 1783 [09:02:25]StoreOFDPacket docnum=1783 [09:02:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0F 01 00 00 13 72 07 01 39 47 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 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 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 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 11 00 00 00 F4 03 04 00 20 F1 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F7 06 00 00 35 04 06 00 9B 0D BC 45 BD CF C6 C2 F3 DB F0 3B ED 5B [09:02:25]CheckFolder [09:02:25]dirname=/storage/ofd_packets [09:02:25]CheckFolder done [09:02:25]ProducePacketName [09:02:25]name=ofd_packets/00001783 [09:02:25]NVStorageSaveData ofd_packets/00001783 [09:02:25]File name is /storage/ofd_packets/00001783 [09:02:25]Write 301 bytes [09:02:25]NVStorageSaveData done [09:02:25]OFDSenderStorePacket done [09:02:25]KKMCreateOFDPacket done [09:02:25]NVStorageSaveData kkm_last_timestamp [09:02:25]File name is /storage/kkm_last_timestamp [09:02:25]Write 4 bytes [09:02:25]NVStorageSaveData done [09:02:25]ExternCall_PrintAddStr [09:02:25]wPrintStart [09:02:25]Write to MH i2c: 01 00 00 B6 01 B7 [09:02:25]Write i2c OK [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: 01 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: 01 07 00 [09:02:25]MH_I2C_Read... [09:02:25]Read from MH i2c: 01 07 00 B6 01 00 00 00 00 00 FF 0F CC [09:02:25]RasterBufferAndPrint [09:02:25]line Счет N : (1)1618666 [09:02:25]line ИНН: 02508201610067 [09:02:25]line Контрольно-Кассовый Чек [09:02:25]line ПРОДАЖА [09:02:25]line ТРК (МРК, ГНК) : 63 [09:02:25]line Товар: 2710124130 [09:02:25]line Аи-92-К-5 [09:02:25]line 7.550 * 66.30 [09:02:25]line = 500.57 [09:02:25]line НДС 12% НСП 1% [09:02:25]line > о реализуемом товаре [09:02:25]line ОКРУГЛЕНИЕ: -0.57 [09:02:25]line ИТОГО: 500.00 [09:02:25]line Внесено: 500.00 [09:02:25]line СДАЧА: 0.00 [09:02:25]line НСП 1% : 4.43 [09:02:25]line НДС 12% : 53.16 [09:02:25]line Наличными: 500.00 [09:02:25]line Безнал.: 0.00 [09:02:25]line Место: АЗС № 76 "Партнер Нефть" [09:02:25]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [09:02:25]line СНО: Общий режим [09:02:25]line Чек 17 12.07.2024 09:02 [09:02:25]line Смена: 23 ФФД: 1.0 [09:02:25]line ЗНМ: 0300000124 [09:02:25]line РНМ: 0000000000177495 [09:02:25]line Версия ККМ: 001 [09:02:25]line ФМ: 0000000002098592 [09:02:25]line ФД: 1783 [09:02:25]line ФПД: 170483295567311 [09:02:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090224&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1783&fm=170483295567311&tin=02508201610067®Number=0000000000177495&sum=50000 [09:02:25]OFD Sender: Processing packet 1783 [packets to send 1, broken 0] [09:02:25]ProducePacketName [09:02:25]name=ofd_packets/00001783 [09:02:25]OFD Sender: To server: pG, [09:02:25]CommunicateWithHost lk.salyk.kg:30040 [09:02:25]ConnectInit lk.salyk.kg [09:02:25]written 0, free lines is 4095 [09:02:25]Connected sock=10 [09:02:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0F 01 00 00 13 72 07 01 39 47 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 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 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 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 11 00 00 00 F4 03 04 00 20 F1 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F7 06 00 00 35 04 06 00 9B 0D BC 45 BD CF C6 C2 F3 DB F0 3B ED 5B [09:02:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 9E 30 47 00 9A F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F7 06 00 00 F4 03 04 00 59 9C 90 66 B6 04 01 00 00 1B 09 E3 D6 62 C1 19 FD [09:02:25]CommunicateWithHost err = 0 [09:02:25]CheckOFDResponse [09:02:25]1017 (14) - 77093643461234 [09:02:25]1041 (16) - 0000000002098592 [09:02:25]1040 (4) - 1783 [09:02:25]1012 (4) - 12.07.2024 03:00 [09:02:25]1206 (1) - 0 [09:02:25]OFD Sender: Remove packet 1783 [09:02:25]ProducePacketName [09:02:25]name=ofd_packets/00001783 [09:02:25]NVStorageDeleteData [09:02:26]Write to MH i2c: 01 00 00 E1 01 E2 [09:02:26]Write i2c OK [09:02:26]MH_I2C_Read... [09:02:26]Read from MH i2c: 01 [09:02:26]MH_I2C_Read... [09:02:26]Read from MH i2c: 01 07 00 [09:02:26]MH_I2C_Read... [09:02:26]Read from MH i2c: 01 07 00 E1 01 00 00 00 00 00 E7 0C DC [09:02:26]RasterBufferAndPrint [09:02:26]line [09:02:26]line [09:02:26]line [09:02:26]line [09:02:26]line [09:02:26]written 0, free lines is 3310 [09:02:26]MH_Cut [09:02:26]Write to MH i2c: D1 01 00 E8 01 01 BB [09:02:26]Write i2c OK [09:02:26]MH_I2C_Read... [09:02:26]Read from MH i2c: D1 [09:02:26]MH_I2C_Read... [09:02:26]Read from MH i2c: D1 01 00 [09:02:26]MH_I2C_Read... [09:02:26]Read from MH i2c: D1 01 00 E8 01 00 BA [09:02:26]Write to MH i2c: 01 00 00 E9 01 EA [09:02:26]Write i2c OK [09:02:26]MH_I2C_Read... [09:02:26]OFD Sender: No OFD packet to send [09:02:26]*** Cut start [09:02:26]*** Partial cut [09:02:26]*** CUTSNS_PIN = 1 [09:02:26]*** CUTSNS_PIN = 0 [09:02:27]*** Brake cut motor [09:02:27]Read from MH i2c: 01 [09:02:27]MH_I2C_Read... [09:02:27]*** Stop cut motor [09:02:27]*** Cut end [09:02:27]Read from MH i2c: 01 07 00 [09:02:27]MH_I2C_Read... [09:02:27]Read from MH i2c: 01 07 00 E9 01 00 00 00 00 00 FF 0F FF [09:02:27]process_action close_receipt done [09:02:27]requested_data is exist [09:02:27]produce_requested_data [09:02:27]requested_item fm.sn is exist - process it [09:02:27]wFMCommunicate request_size=4 [09:02:27]MH_SAM_APDU [09:02:27]CAPDU: 80 11 00 00 [09:02:27]Write to MH i2c: E2 08 00 EA 01 80 11 00 00 00 00 00 00 65 [09:02:27]Write i2c OK [09:02:27]MH_I2C_Read... [09:02:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:27]Read from MH i2c: E2 [09:02:27]MH_I2C_Read... [09:02:27]Read from MH i2c: E2 17 00 [09:02:27]MH_I2C_Read... [09:02:27]Read from MH i2c: E2 17 00 EA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 BB [09:02:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [09:02:27]wFMCommunicate OK [09:02:27]requested_item fd.num is exist - process it [09:02:27]SAM_PROTO_GetFieldsCounters [09:02:27]wFMCommunicate request_size=4 [09:02:27]MH_SAM_APDU [09:02:27]CAPDU: 80 13 00 00 [09:02:27]Write to MH i2c: E2 08 00 EB 01 80 13 00 00 00 00 00 00 68 [09:02:27]Write i2c OK [09:02:27]MH_I2C_Read... [09:02:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:02:27]Read from MH i2c: E2 [09:02:27]MH_I2C_Read... [09:02:27]Read from MH i2c: E2 62 00 [09:02:27]MH_I2C_Read... [09:02:27]Read from MH i2c: E2 62 00 EB 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F7 06 00 00 0E 04 04 00 17 00 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 DB [09:02:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F7 06 00 00 0E 04 04 00 17 00 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 [09:02:27]wFMCommunicate OK [09:02:27]SAM_PROTO_GetFieldsCounters done [09:02:27]requested_item shift.num is exist - process it [09:02:27]requested_item shift.opened is exist - process it [09:02:27]req_shift_opened [09:02:27]FM_GetShiftState [09:02:27]SAM_PROTO_GetShiftState [09:02:27]wFMCommunicate request_size=4 [09:02:27]MH_SAM_APDU [09:02:27]CAPDU: 80 13 01 00 [09:02:27]Write to MH i2c: E2 08 00 EC 01 80 13 01 00 00 00 00 00 6A [09:02:27]Write i2c OK [09:02:27]MH_I2C_Read... [09:02:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:27]Read from MH i2c: E2 [09:02:27]MH_I2C_Read... [09:02:27]Read from MH i2c: E2 0E 00 [09:02:27]MH_I2C_Read... [09:02:27]Read from MH i2c: E2 0E 00 EC 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 23 [09:02:27]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [09:02:27]wFMCommunicate OK [09:02:27]SAM_PROTO_GetShiftState done [09:02:27]FM_GetShiftState done [09:02:27]req_shift_opened done [09:02:27]requested_item shift.open_date is exist - process it [09:02:27]req_shift_open_date [09:02:27]req_shift_open_date done [09:02:27]produce_requested_data done [09:02:27]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1783,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [09:02:27]process_action_free close_receipt [09:02:27]json_value_free [09:02:27]json_value_free done [09:02:27]process_json_proto returns [09:02:27]Send response to host [09:02:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1783,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [09:02:27]free response buf [09:02:27]execute_script done [09:02:27]execute_script returns [09:02:27]free content buf [09:02:27]Sock 8.Close socket [09:02:27]Sock 8.Thread stoped [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:39]accept exits with 9 [09:04:39]New connection [09:04:39]New thread 3067145572 created [09:04:39]Thread 3067002212 joined [09:04:39]Waiting for new connection... [09:04:39] Sock 9.Parse request [09:04:39]Sock 9.Check first char [09:04:39]Sock 9.First char is OK [09:04:39]request: POST /json_proto HTTP/1.0 [09:04:39]Method: POST [09:04:39]URL: /json_proto [09:04:39]Method is POST - this is cgi request [09:04:39]url: /json_proto [09:04:39]query_string will be loaded in cgi processing [09:04:39]execute_cgi json_proto POST (null) [09:04:39]execute_cgi path=json_proto method=POST [09:04:39]POST find Content-Length [09:04:39]Host: 172.17.35.133:8080 [09:04:39]Content-Length: 678 [09:04:39]Content-Type: application/json [09:04:39] [09:04:39]POST finish read [09:04:39]Found Content-Length = 678 [09:04:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1618668", "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" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:04:39]execute_script... [09:04: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 : (1)1618668", "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" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:04:39]POST & json_proto [09:04:39]process_json_proto [09:04:39]json parsed OK: [09:04:39]protocol is kg_v1.0 [09:04:39]action value=close_receipt [09:04:39]process_action close_receipt [09:04:39]cmd_close_receipt [09:04:39]MH_GetDate [09:04:39]Write to MH i2c: F0 00 00 ED 01 DD [09:04:39]Write i2c OK [09:04:39]MH_I2C_Read... [09:04:39]Read from MH i2c: F0 [09:04:39]MH_I2C_Read... [09:04:39]Read from MH i2c: F0 09 00 [09:04:39]MH_I2C_Read... [09:04:39]Read from MH i2c: F0 09 00 ED 01 00 A8 F1 90 66 1B 28 2A 66 48 [09:04:39]GetLastDocTimeStamp 1720774944 [09:04:39]current date 1720775080 [09:04:39]FM_GetShiftState [09:04:39]SAM_PROTO_GetShiftState [09:04:39]wFMCommunicate request_size=4 [09:04:39]MH_SAM_APDU [09:04:39]CAPDU: 80 13 01 00 [09:04:39]Write to MH i2c: E2 08 00 EE 01 80 13 01 00 00 00 00 00 6C [09:04:39]Write i2c OK [09:04:39]MH_I2C_Read... [09:04:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:04:40]Read from MH i2c: E2 [09:04:40]MH_I2C_Read... [09:04:40]Read from MH i2c: E2 0E 00 [09:04:40]MH_I2C_Read... [09:04:40]Read from MH i2c: E2 0E 00 EE 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 25 [09:04:40]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [09:04:40]wFMCommunicate OK [09:04:40]SAM_PROTO_GetShiftState done [09:04:40]FM_GetShiftState done [09:04:40]opened in 1720742979 [09:04:40]opened+sec_in_day 1720829379 [09:04:40]quantity*price = 40045 [09:04:40]sum+1 = 40046 [09:04:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.53 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 18 12.07.2024 09:04 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1784 ФПД: 82400260961854 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090440&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1784&fm=82400260961854&tin=02508201610067®Number=0000000000177495&sum=40000 [09:04:41]StoreToDocumentArchive [09:04:41]shift 23 fd 1784 [09:04:41]save to /storage/0023/doc_00001784 [09:04:41]save last doc name /storage/0023/doc_00001784 to /storage/kkm_last_doc_name [09:04:41]save OK [09:04:41]Clear old archive folders... [09:04:41]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:04:41]tlvbuf is 01088480 [09:04:41]SAM_PROTO_ClearQueue [09:04:41]wFMCommunicate request_size=4 [09:04:41]MH_SAM_APDU [09:04:41]CAPDU: 80 09 00 00 [09:04:41]Write to MH i2c: E2 08 00 FB 01 80 09 00 00 00 00 00 00 6E [09:04:41]Write i2c OK [09:04:41]MH_I2C_Read... [09:04:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:04:41]Read from MH i2c: E2 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 03 00 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 03 00 FB 01 00 90 00 70 [09:04:41]RAPDU: 90 00 [09:04:41]wFMCommunicate OK [09:04:41]SAM_PROTO_ClearQueue done [09:04:41]KKMCreateOFDPacket [09:04:41]OFDProtocolAddRootSTLVToBuf [09:04:41]FM_MakeSignedData [09:04:41]FM_MakeSignedData [09:04:41]SAM_PROTO_SignData [09:04:41]wFMCommunicate request_size=4 [09:04:41]MH_SAM_APDU [09:04:41]CAPDU: 80 0D 01 02 [09:04:41]Write to MH i2c: E2 08 00 FC 01 80 0D 01 02 00 00 00 00 76 [09:04:41]Write i2c OK [09:04:41]MH_I2C_Read... [09:04:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:04:41]Read from MH i2c: E2 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 03 00 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 03 00 FC 01 00 90 00 71 [09:04:41]RAPDU: 90 00 [09:04:41]wFMCommunicate OK [09:04:41]wFMCommunicate request_size=255 [09:04:41]MH_SAM_APDU [09:04:41]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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A8 F1 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F8 06 00 00 35 04 06 00 4A [09:04:41]Write to MH i2c: E2 02 01 FD 01 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A8 F1 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F8 06 00 00 35 04 06 00 4A 00 00 0A [09:04:41]Write i2c OK [09:04:41]MH_I2C_Read... [09:04:41]OFD Sender: No OFD packet to send [09:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:04:41]Read from MH i2c: E2 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 03 00 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 03 00 FD 01 00 90 00 72 [09:04:41]RAPDU: 90 00 [09:04:41]wFMCommunicate OK [09:04:41]wFMCommunicate request_size=10 [09:04:41]MH_SAM_APDU [09:04:41]CAPDU: 80 0D 02 02 05 F1 4E 48 B6 3E [09:04:41]Write to MH i2c: E2 0D 00 FE 01 80 0D 02 02 05 00 F1 4E 48 B6 3E 00 00 FE [09:04:41]Write i2c OK [09:04:41]MH_I2C_Read... [09:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:04:41]Read from MH i2c: E2 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 03 00 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 03 00 FE 01 00 90 00 73 [09:04:41]RAPDU: 90 00 [09:04:41]wFMCommunicate OK [09:04:41]wFMCommunicate request_size=4 [09:04:41]MH_SAM_APDU [09:04:41]CAPDU: 80 0D 03 02 [09:04:41]Write to MH i2c: E2 08 00 FF 01 80 0D 03 02 00 00 00 00 7B [09:04:41]Write i2c OK [09:04:41]MH_I2C_Read... [09:04:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:04:41]Read from MH i2c: E2 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 0B 00 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 0B 00 FF 01 00 AD CE DE 0B B4 2B 9C 8E 90 00 E9 [09:04:41]RAPDU: AD CE DE 0B B4 2B 9C 8E 90 00 [09:04:41]wFMCommunicate OK [09:04:41]SAM_PROTO_SignData done [09:04:41]FM_MakeSignedData done [09:04:41]CreateOFDProtocolMessage [09:04:41]wFMCommunicate request_size=4 [09:04:41]MH_SAM_APDU [09:04:41]CAPDU: 80 11 00 00 [09:04:41]Write to MH i2c: E2 08 00 00 02 80 11 00 00 00 00 00 00 7C [09:04:41]Write i2c OK [09:04:41]MH_I2C_Read... [09:04:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:04:41]Read from MH i2c: E2 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 17 00 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: E2 17 00 00 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 D2 [09:04:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [09:04:41]wFMCommunicate OK [09:04:41]CreateOFDProtocolMessage done [09:04:41]OFDSenderStorePacket 1784 [09:04:41]StoreOFDPacket docnum=1784 [09:04:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0F 01 00 00 86 39 07 01 8B AE 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A8 F1 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F8 06 00 00 35 04 06 00 4A F1 4E 48 B6 3E AD CE DE 0B B4 2B 9C 8E [09:04:41]CheckFolder [09:04:41]dirname=/storage/ofd_packets [09:04:41]CheckFolder done [09:04:41]ProducePacketName [09:04:41]name=ofd_packets/00001784 [09:04:41]NVStorageSaveData ofd_packets/00001784 [09:04:41]File name is /storage/ofd_packets/00001784 [09:04:41]Write 301 bytes [09:04:41]NVStorageSaveData done [09:04:41]OFDSenderStorePacket done [09:04:41]KKMCreateOFDPacket done [09:04:41]NVStorageSaveData kkm_last_timestamp [09:04:41]File name is /storage/kkm_last_timestamp [09:04:41]Write 4 bytes [09:04:41]NVStorageSaveData done [09:04:41]ExternCall_PrintAddStr [09:04:41]wPrintStart [09:04:41]Write to MH i2c: 01 00 00 01 02 03 [09:04:41]Write i2c OK [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: 01 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: 01 07 00 [09:04:41]MH_I2C_Read... [09:04:41]Read from MH i2c: 01 07 00 01 02 00 00 00 00 00 FF 0F 18 [09:04:41]RasterBufferAndPrint [09:04:41]line Счет N : (1)1618668 [09:04:41]line ИНН: 02508201610067 [09:04:41]line Контрольно-Кассовый Чек [09:04:41]line ПРОДАЖА [09:04:41]line ТРК (МРК, ГНК) : 53 [09:04:41]line Товар: 2710124130 [09:04:41]line Аи-92-К-5 [09:04:41]line 6.040 * 66.30 [09:04:41]line = 400.45 [09:04:41]line НДС 12% НСП 1% [09:04:41]line > о реализуемом товаре [09:04:41]line ОКРУГЛЕНИЕ: -0.45 [09:04:41]line ИТОГО: 400.00 [09:04:41]line Внесено: 400.00 [09:04:41]line СДАЧА: 0.00 [09:04:41]line НСП 1% : 3.54 [09:04:41]line НДС 12% : 42.53 [09:04:41]line Наличными: 400.00 [09:04:41]line Безнал.: 0.00 [09:04:41]line Место: АЗС № 76 "Партнер Нефть" [09:04:41]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [09:04:41]line СНО: Общий режим [09:04:41]line Чек 18 12.07.2024 09:04 [09:04:41]line Смена: 23 ФФД: 1.0 [09:04:41]line ЗНМ: 0300000124 [09:04:41]line РНМ: 0000000000177495 [09:04:41]line Версия ККМ: 001 [09:04:41]line ФМ: 0000000002098592 [09:04:41]line ФД: 1784 [09:04:41]line ФПД: 82400260961854 [09:04:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090440&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1784&fm=82400260961854&tin=02508201610067®Number=0000000000177495&sum=40000 [09:04:42]OFD Sender: Processing packet 1784 [packets to send 1, broken 0] [09:04:42]ProducePacketName [09:04:42]name=ofd_packets/00001784 [09:04:42]OFD Sender: To server: pG, [09:04:42]CommunicateWithHost lk.salyk.kg:30040 [09:04:42]ConnectInit lk.salyk.kg [09:04:42]written 0, free lines is 4095 [09:04:42]Connected sock=10 [09:04:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0F 01 00 00 86 39 07 01 8B AE 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A8 F1 90 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F8 06 00 00 35 04 06 00 4A F1 4E 48 B6 3E AD CE DE 0B B4 2B 9C 8E [09:04:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 6C B5 47 00 67 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F8 06 00 00 F4 03 04 00 E1 9C 90 66 B6 04 01 00 00 F1 CA B9 2F 6A DD BD 4A [09:04:42]CommunicateWithHost err = 0 [09:04:42]CheckOFDResponse [09:04:42]1017 (14) - 77093643461234 [09:04:42]1041 (16) - 0000000002098592 [09:04:42]1040 (4) - 1784 [09:04:42]1012 (4) - 12.07.2024 03:02 [09:04:42]1206 (1) - 0 [09:04:42]OFD Sender: Remove packet 1784 [09:04:42]ProducePacketName [09:04:42]name=ofd_packets/00001784 [09:04:42]NVStorageDeleteData [09:04:42]Write to MH i2c: 01 00 00 2C 02 2E [09:04:42]Write i2c OK [09:04:42]MH_I2C_Read... [09:04:42]Read from MH i2c: 01 [09:04:42]MH_I2C_Read... [09:04:42]Read from MH i2c: 01 07 00 [09:04:42]MH_I2C_Read... [09:04:42]Read from MH i2c: 01 07 00 2C 02 00 00 00 00 00 E9 0C 2A [09:04:42]RasterBufferAndPrint [09:04:42]line [09:04:42]line [09:04:42]line [09:04:42]line [09:04:42]line [09:04:42]written 0, free lines is 3314 [09:04:42]MH_Cut [09:04:42]Write to MH i2c: D1 01 00 33 02 01 07 [09:04:42]Write i2c OK [09:04:42]MH_I2C_Read... [09:04:42]Read from MH i2c: D1 [09:04:42]MH_I2C_Read... [09:04:42]Read from MH i2c: D1 01 00 [09:04:42]MH_I2C_Read... [09:04:42]Read from MH i2c: D1 01 00 33 02 00 06 [09:04:42]Write to MH i2c: 01 00 00 34 02 36 [09:04:42]Write i2c OK [09:04:42]MH_I2C_Read... [09:04:42]OFD Sender: No OFD packet to send [09:04:43]*** Cut start [09:04:43]*** Partial cut [09:04:43]*** CUTSNS_PIN = 1 [09:04:43]*** CUTSNS_PIN = 0 [09:04:43]*** Brake cut motor [09:04:43]Read from MH i2c: 01 [09:04:43]MH_I2C_Read... [09:04:43]*** Stop cut motor [09:04:43]*** Cut end [09:04:43]Read from MH i2c: 01 07 00 [09:04:43]MH_I2C_Read... [09:04:43]Read from MH i2c: 01 07 00 34 02 00 00 00 00 00 FF 0F 4B [09:04:43]process_action close_receipt done [09:04:43]requested_data is exist [09:04:43]produce_requested_data [09:04:43]requested_item fm.sn is exist - process it [09:04:43]wFMCommunicate request_size=4 [09:04:43]MH_SAM_APDU [09:04:43]CAPDU: 80 11 00 00 [09:04:43]Write to MH i2c: E2 08 00 35 02 80 11 00 00 00 00 00 00 B1 [09:04:43]Write i2c OK [09:04:43]MH_I2C_Read... [09:04:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:04:43]Read from MH i2c: E2 [09:04:43]MH_I2C_Read... [09:04:43]Read from MH i2c: E2 17 00 [09:04:43]MH_I2C_Read... [09:04:43]Read from MH i2c: E2 17 00 35 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 07 [09:04:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [09:04:43]wFMCommunicate OK [09:04:43]requested_item fd.num is exist - process it [09:04:43]SAM_PROTO_GetFieldsCounters [09:04:43]wFMCommunicate request_size=4 [09:04:43]MH_SAM_APDU [09:04:43]CAPDU: 80 13 00 00 [09:04:43]Write to MH i2c: E2 08 00 36 02 80 13 00 00 00 00 00 00 B4 [09:04:43]Write i2c OK [09:04:43]MH_I2C_Read... [09:04:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:04:44]Read from MH i2c: E2 [09:04:44]MH_I2C_Read... [09:04:44]Read from MH i2c: E2 62 00 [09:04:44]MH_I2C_Read... [09:04:44]Read from MH i2c: E2 62 00 36 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F8 06 00 00 0E 04 04 00 17 00 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 2B [09:04:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F8 06 00 00 0E 04 04 00 17 00 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 [09:04:44]wFMCommunicate OK [09:04:44]SAM_PROTO_GetFieldsCounters done [09:04:44]requested_item shift.num is exist - process it [09:04:44]requested_item shift.opened is exist - process it [09:04:44]req_shift_opened [09:04:44]FM_GetShiftState [09:04:44]SAM_PROTO_GetShiftState [09:04:44]wFMCommunicate request_size=4 [09:04:44]MH_SAM_APDU [09:04:44]CAPDU: 80 13 01 00 [09:04:44]Write to MH i2c: E2 08 00 37 02 80 13 01 00 00 00 00 00 B6 [09:04:44]Write i2c OK [09:04:44]MH_I2C_Read... [09:04:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:04:44]Read from MH i2c: E2 [09:04:44]MH_I2C_Read... [09:04:44]Read from MH i2c: E2 0E 00 [09:04:44]MH_I2C_Read... [09:04:44]Read from MH i2c: E2 0E 00 37 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 6F [09:04:44]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [09:04:44]wFMCommunicate OK [09:04:44]SAM_PROTO_GetShiftState done [09:04:44]FM_GetShiftState done [09:04:44]req_shift_opened done [09:04:44]requested_item shift.open_date is exist - process it [09:04:44]req_shift_open_date [09:04:44]req_shift_open_date done [09:04:44]produce_requested_data done [09:04:44]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1784,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [09:04:44]process_action_free close_receipt [09:04:44]json_value_free [09:04:44]json_value_free done [09:04:44]process_json_proto returns [09:04:44]Send response to host [09:04:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1784,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [09:04:44]free response buf [09:04:44]execute_script done [09:04:44]execute_script returns [09:04:44]free content buf [09:04:44]Sock 9.Close socket [09:04:44]Sock 9.Thread stoped [09:04:47]OFD Sender: No OFD packet to send [09:04:52]OFD Sender: No OFD packet to send [09:04:57]OFD Sender: No OFD packet to send [09:05:02]OFD Sender: No OFD packet to send [09:05:07]OFD Sender: No OFD packet to send [09:05:12]OFD Sender: No OFD packet to send [09:05:17]OFD Sender: No OFD packet to send [09:05:22]OFD Sender: No OFD packet to send [09:05:27]OFD Sender: No OFD packet to send [09:05:32]OFD Sender: No OFD packet to send [09:05:37]OFD Sender: No OFD packet to send [09:05:42]OFD Sender: No OFD packet to send [09:05:47]OFD Sender: No OFD packet to send [09:05:52]OFD Sender: No OFD packet to send [09:05:57]OFD Sender: No OFD packet to send [09:06:02]OFD Sender: No OFD packet to send [09:06:07]OFD Sender: No OFD packet to send [09:06:12]OFD Sender: No OFD packet to send [09:06:17]OFD Sender: No OFD packet to send [09:06:22]OFD Sender: No OFD packet to send [09:06:27]OFD Sender: No OFD packet to send [09:06:32]OFD Sender: No OFD packet to send [09:06:37]OFD Sender: No OFD packet to send [09:06:42]OFD Sender: No OFD packet to send [09:06:47]OFD Sender: No OFD packet to send [09:06:52]OFD Sender: No OFD packet to send [09:06:57]OFD Sender: No OFD packet to send [09:07:02]OFD Sender: No OFD packet to send [09:07:07]OFD Sender: No OFD packet to send [09:07:12]OFD Sender: No OFD packet to send [09:07:17]OFD Sender: No OFD packet to send [09:07:22]OFD Sender: No OFD packet to send [09:07:27]OFD Sender: No OFD packet to send [09:07:32]OFD Sender: No OFD packet to send [09:07:37]OFD Sender: No OFD packet to send [09:07:42]OFD Sender: No OFD packet to send [09:07:47]OFD Sender: No OFD packet to send [09:07:52]OFD Sender: No OFD packet to send [09:07:57]OFD Sender: No OFD packet to send [09:08:02]OFD Sender: No OFD packet to send [09:08:07]OFD Sender: No OFD packet to send [09:08:12]OFD Sender: No OFD packet to send [09:08:13]accept exits with 8 [09:08:13]New connection [09:08:13]New thread 3067002212 created [09:08:13]Thread 3067145572 joined [09:08:13]Waiting for new connection... [09:08:13] Sock 8.Parse request [09:08:13]Sock 8.Check first char [09:08:13]Sock 8.First char is OK [09:08:13]request: POST /json_proto HTTP/1.0 [09:08:13]Method: POST [09:08:13]URL: /json_proto [09:08:13]Method is POST - this is cgi request [09:08:13]url: /json_proto [09:08:13]query_string will be loaded in cgi processing [09:08:13]execute_cgi json_proto POST (null) [09:08:13]execute_cgi path=json_proto method=POST [09:08:13]POST find Content-Length [09:08:13]Host: 172.17.35.133:8080 [09:08:13]Content-Length: 215 [09:08:13]Content-Type: application/json [09:08:13] [09:08:13]POST finish read [09:08:13]Found Content-Length = 215 [09:08:13]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" ] } } [09:08:13]execute_script... [09:08:13]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" ] } } [09:08:13]POST & json_proto [09:08:13]process_json_proto [09:08:13]json parsed OK: [09:08:13]protocol is kg_v1.0 [09:08:13]action value=get_value [09:08:13]process_action get_value [09:08:13]cmd_get_value [09:08:13]process_action get_value done [09:08:13]requested_data is exist [09:08:13]produce_requested_data [09:08:13]requested_item kkm.sn is exist - process it [09:08:13]requested_item kkm.ver is exist - process it [09:08:13]requested_item fm.sn is exist - process it [09:08:13]wFMCommunicate request_size=4 [09:08:13]MH_SAM_APDU [09:08:13]CAPDU: 80 11 00 00 [09:08:13]Write to MH i2c: E2 08 00 38 02 80 11 00 00 00 00 00 00 B4 [09:08:13]Write i2c OK [09:08:13]MH_I2C_Read... [09:08:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:13]Read from MH i2c: E2 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: E2 17 00 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: E2 17 00 38 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 0A [09:08:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [09:08:13]wFMCommunicate OK [09:08:13]requested_item fd.num is exist - process it [09:08:13]SAM_PROTO_GetFieldsCounters [09:08:13]wFMCommunicate request_size=4 [09:08:13]MH_SAM_APDU [09:08:13]CAPDU: 80 13 00 00 [09:08:13]Write to MH i2c: E2 08 00 39 02 80 13 00 00 00 00 00 00 B7 [09:08:13]Write i2c OK [09:08:13]MH_I2C_Read... [09:08:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:13]Read from MH i2c: E2 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: E2 62 00 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: E2 62 00 39 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F8 06 00 00 0E 04 04 00 17 00 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 2E [09:08:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F8 06 00 00 0E 04 04 00 17 00 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 [09:08:13]wFMCommunicate OK [09:08:13]SAM_PROTO_GetFieldsCounters done [09:08:13]requested_item shift.num is exist - process it [09:08:13]requested_item shift.opened is exist - process it [09:08:13]req_shift_opened [09:08:13]FM_GetShiftState [09:08:13]SAM_PROTO_GetShiftState [09:08:13]wFMCommunicate request_size=4 [09:08:13]MH_SAM_APDU [09:08:13]CAPDU: 80 13 01 00 [09:08:13]Write to MH i2c: E2 08 00 3A 02 80 13 01 00 00 00 00 00 B9 [09:08:13]Write i2c OK [09:08:13]MH_I2C_Read... [09:08:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:13]Read from MH i2c: E2 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: E2 0E 00 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: E2 0E 00 3A 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 72 [09:08:13]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [09:08:13]wFMCommunicate OK [09:08:13]SAM_PROTO_GetShiftState done [09:08:13]FM_GetShiftState done [09:08:13]req_shift_opened done [09:08:13]requested_item shift.open_date is exist - process it [09:08:13]req_shift_open_date [09:08:13]req_shift_open_date done [09:08:13]produce_requested_data done [09:08:13]produce_requested_data return {"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1784,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [09:08:13]process_action_free get_value [09:08:13]json_value_free [09:08:13]json_value_free done [09:08:13]process_json_proto returns [09:08:13]Send response to host [09:08:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1784,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [09:08:13]free response buf [09:08:13]execute_script done [09:08:13]execute_script returns [09:08:13]free content buf [09:08:13]Sock 8.Close socket [09:08:13]Sock 8.Thread stoped [09:08:13]accept exits with 9 [09:08:13]New connection [09:08:13]New thread 3067145572 created [09:08:13]Thread 3067002212 joined [09:08:13]Waiting for new connection... [09:08:13] Sock 9.Parse request [09:08:13]Sock 9.Check first char [09:08:13]Sock 9.First char is OK [09:08:13]request: POST /json_proto HTTP/1.0 [09:08:13]Method: POST [09:08:13]URL: /json_proto [09:08:13]Method is POST - this is cgi request [09:08:13]url: /json_proto [09:08:13]query_string will be loaded in cgi processing [09:08:13]execute_cgi json_proto POST (null) [09:08:13]execute_cgi path=json_proto method=POST [09:08:13]POST find Content-Length [09:08:13]Host: 172.17.35.133:8080 [09:08:13]Content-Length: 331 [09:08:13]Content-Type: application/json [09:08:13] [09:08:13]POST finish read [09:08:13]Found Content-Length = 331 [09:08: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" ] } } [09:08:13]execute_script... [09:08: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" ] } } [09:08:14]POST & json_proto [09:08:14]process_json_proto [09:08:14]json parsed OK: [09:08:14]protocol is kg_v1.0 [09:08:14]action value=get_value [09:08:14]process_action get_value [09:08:14]cmd_get_value [09:08:14]process_action get_value done [09:08:14]requested_data is exist [09:08:14]produce_requested_data [09:08:14]requested_item fm.sale.total is exist - process it [09:08:14]SAM_PROTO_GetFMData [09:08:14]wFMCommunicate request_size=4 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 13 03 00 [09:08:14]Write to MH i2c: E2 08 00 3B 02 80 13 03 00 00 00 00 00 BC [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:08:14]Read from MH i2c: E2 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 FD 00 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 FD 00 3B 02 00 BA 04 85 04 B6 04 6E 04 04 00 CA 06 00 00 69 04 9F 00 6F 04 04 00 C8 06 00 00 B1 04 04 00 25 06 3F 04 70 04 04 00 F0 CC 85 03 72 04 03 00 35 39 B9 00 04 7C 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 3D 70 73 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 9A 9D 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 39 [09:08:14]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 CA 06 00 00 69 04 9F 00 6F 04 04 00 C8 06 00 00 B1 04 04 00 25 06 3F 04 70 04 04 00 F0 CC 85 03 72 04 03 00 35 39 B9 00 04 7C 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 3D 70 73 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 9A 9D 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [09:08:14]wFMCommunicate OK [09:08:14]wFMCommunicate request_size=4 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 17 00 00 [09:08:14]Write to MH i2c: E2 08 00 3C 02 80 17 00 00 00 00 00 00 BE [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:08:14]Read from MH i2c: E2 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 FD 00 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 FD 00 3C 02 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BB [09:08:14]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:08:14]wFMCommunicate OK [09:08:14]wFMCommunicate request_size=4 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 17 00 00 [09:08:14]Write to MH i2c: E2 08 00 3D 02 80 17 00 00 00 00 00 00 BF [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:08:15]Read from MH i2c: E2 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 FD 00 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 FD 00 3D 02 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EB [09:08:15]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:08:15]wFMCommunicate OK [09:08:15]wFMCommunicate request_size=4 [09:08:15]MH_SAM_APDU [09:08:15]CAPDU: 80 17 00 00 [09:08:15]Write to MH i2c: E2 08 00 3E 02 80 17 00 00 00 00 00 00 C0 [09:08:15]Write i2c OK [09:08:15]MH_I2C_Read... [09:08:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:08:15]Read from MH i2c: E2 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 FD 00 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 FD 00 3E 02 00 00 EF 03 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 90 00 38 [09:08:15]RAPDU: 00 EF 03 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 90 00 [09:08:15]wFMCommunicate OK [09:08:15]wFMCommunicate request_size=4 [09:08:15]MH_SAM_APDU [09:08:15]CAPDU: 80 17 00 00 [09:08:15]Write to MH i2c: E2 08 00 3F 02 80 17 00 00 00 00 00 00 C1 [09:08:15]Write i2c OK [09:08:15]MH_I2C_Read... [09:08:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [09:08:15]Read from MH i2c: E2 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 D7 00 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 D7 00 3F 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 A4 [09:08:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:08:15]wFMCommunicate OK [09:08:15]SAM_PROTO_GetFMData done [09:08:15]requested_item fm.sale_refund.total is exist - process it [09:08:15]requested_item fm.buy.total is exist - process it [09:08:15]requested_item shift.sale.total is exist - process it [09:08:15]SAM_PROTO_GetShiftData [09:08:15]wFMCommunicate request_size=4 [09:08:15]MH_SAM_APDU [09:08:15]CAPDU: 80 13 02 00 [09:08:15]Write to MH i2c: E2 08 00 40 02 80 13 02 00 00 00 00 00 C0 [09:08:15]Write i2c OK [09:08:15]MH_I2C_Read... [09:08:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:08:16]Read from MH i2c: E2 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 FD 00 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 FD 00 40 02 00 AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 08 BE 07 70 04 03 00 18 F1 05 72 04 03 00 F0 CC 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 86 D2 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 89 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2C [09:08:16]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 08 BE 07 70 04 03 00 18 F1 05 72 04 03 00 F0 CC 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 86 D2 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 89 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:08:16]wFMCommunicate OK [09:08:16]wFMCommunicate request_size=4 [09:08:16]MH_SAM_APDU [09:08:16]CAPDU: 80 17 00 00 [09:08:16]Write to MH i2c: E2 08 00 41 02 80 17 00 00 00 00 00 00 C3 [09:08:16]Write i2c OK [09:08:16]MH_I2C_Read... [09:08:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:08:16]Read from MH i2c: E2 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 FD 00 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 FD 00 41 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 D5 [09:08:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:08:16]wFMCommunicate OK [09:08:16]wFMCommunicate request_size=4 [09:08:16]MH_SAM_APDU [09:08:16]CAPDU: 80 17 00 00 [09:08:16]Write to MH i2c: E2 08 00 42 02 80 17 00 00 00 00 00 00 C4 [09:08:16]Write i2c OK [09:08:16]MH_I2C_Read... [09:08:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:08:16]Read from MH i2c: E2 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 FD 00 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 FD 00 42 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 88 [09:08:16]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:08:16]wFMCommunicate OK [09:08:16]wFMCommunicate request_size=4 [09:08:16]MH_SAM_APDU [09:08:16]CAPDU: 80 17 00 00 [09:08:16]Write to MH i2c: E2 08 00 43 02 80 17 00 00 00 00 00 00 C5 [09:08:16]Write i2c OK [09:08:16]MH_I2C_Read... [09:08:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:08:16]Read from MH i2c: E2 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 FD 00 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 FD 00 43 02 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 90 00 3A [09:08:16]RAPDU: 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 90 00 [09:08:16]wFMCommunicate OK [09:08:16]wFMCommunicate request_size=4 [09:08:16]MH_SAM_APDU [09:08:16]CAPDU: 80 17 00 00 [09:08:16]Write to MH i2c: E2 08 00 44 02 80 17 00 00 00 00 00 00 C6 [09:08:16]Write i2c OK [09:08:16]MH_I2C_Read... [09:08:17]Read from MH i2c: E2 [09:08:17]MH_I2C_Read... [09:08:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:08:17]Read from MH i2c: E2 CA 00 [09:08:17]MH_I2C_Read... [09:08:17]Read from MH i2c: E2 CA 00 44 02 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AB [09:08:17]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 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 [09:08:17]wFMCommunicate OK [09:08:17]SAM_PROTO_GetShiftData done [09:08:17]requested_item shift.sale.total_cash is exist - process it [09:08:17]requested_item shift.sale_refund.total is exist - process it [09:08:17]requested_item shift.sale_refund.total_cash is exist - process it [09:08:17]requested_item shift.buy.total is exist - process it [09:08:17]requested_item shift.buy.total_cash is exist - process it [09:08:17]produce_requested_data done [09:08:17]produce_requested_data return {"fm.sale.total":712392.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":5074.00,"shift.sale.total_cash":3894.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} [09:08:17]process_action_free get_value [09:08:17]json_value_free [09:08:17]json_value_free done [09:08:17]process_json_proto returns [09:08:17]Send response to host [09:08:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":712392.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":5074.00,"shift.sale.total_cash":3894.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}}} [09:08:17]free response buf [09:08:17]execute_script done [09:08:17]execute_script returns [09:08:17]free content buf [09:08:17]Sock 9.Close socket [09:08:17]Sock 9.Thread stoped [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:13]OFD Sender: No OFD packet to send [09:19:18]OFD Sender: No OFD packet to send [09:19:23]OFD Sender: No OFD packet to send [09:19:28]OFD Sender: No OFD packet to send [09:19:33]OFD Sender: No OFD packet to send [09:19:38]OFD Sender: No OFD packet to send [09:19:43]OFD Sender: No OFD packet to send [09:19:48]OFD Sender: No OFD packet to send [09:19:53]OFD Sender: No OFD packet to send [09:19:58]OFD Sender: No OFD packet to send [09:20:03]OFD Sender: No OFD packet to send [09:20:08]OFD Sender: No OFD packet to send [09:20:13]OFD Sender: No OFD packet to send [09:20:18]OFD Sender: No OFD packet to send [09:20:23]OFD Sender: No OFD packet to send [09:20:28]OFD Sender: No OFD packet to send [09:20:33]OFD Sender: No OFD packet to send [09:20:38]OFD Sender: No OFD packet to send [09:20:43]OFD Sender: No OFD packet to send [09:20:48]OFD Sender: No OFD packet to send [09:20:53]OFD Sender: No OFD packet to send [09:20:58]OFD Sender: No OFD packet to send [09:21:03]OFD Sender: No OFD packet to send [09:21:08]OFD Sender: No OFD packet to send [09:21:13]OFD Sender: No OFD packet to send [09:21:18]OFD Sender: No OFD packet to send [09:21:23]OFD Sender: No OFD packet to send [09:21:28]OFD Sender: No OFD packet to send [09:21:33]OFD Sender: No OFD packet to send [09:21:38]OFD Sender: No OFD packet to send [09:21:43]OFD Sender: No OFD packet to send [09:21:48]OFD Sender: No OFD packet to send [09:21:53]OFD Sender: No OFD packet to send [09:21:58]OFD Sender: No OFD packet to send [09:22:03]OFD Sender: No OFD packet to send [09:22:08]OFD Sender: No OFD packet to send [09:22:13]OFD Sender: No OFD packet to send [09:22:18]OFD Sender: No OFD packet to send [09:22:23]OFD Sender: No OFD packet to send [09:22:28]OFD Sender: No OFD packet to send [09:22:33]OFD Sender: No OFD packet to send [09:22:38]OFD Sender: No OFD packet to send [09:22:43]OFD Sender: No OFD packet to send [09:22:48]OFD Sender: No OFD packet to send [09:22:53]OFD Sender: No OFD packet to send [09:22:58]OFD Sender: No OFD packet to send [09:23:03]OFD Sender: No OFD packet to send [09:23:08]OFD Sender: No OFD packet to send [09:23:13]OFD Sender: No OFD packet to send [09:23:18]OFD Sender: No OFD packet to send [09:23:23]OFD Sender: No OFD packet to send [09:23:28]OFD Sender: No OFD packet to send [09:23:33]OFD Sender: No OFD packet to send [09:23:38]OFD Sender: No OFD packet to send [09:23:43]OFD Sender: No OFD packet to send [09:23:48]OFD Sender: No OFD packet to send [09:23:53]OFD Sender: No OFD packet to send [09:23:58]OFD Sender: No OFD packet to send [09:24:03]OFD Sender: No OFD packet to send [09:24:08]OFD Sender: No OFD packet to send [09:24:13]OFD Sender: No OFD packet to send [09:24:18]OFD Sender: No OFD packet to send [09:24:23]OFD Sender: No OFD packet to send [09:24:28]OFD Sender: No OFD packet to send [09:24:33]OFD Sender: No OFD packet to send [09:24:38]OFD Sender: No OFD packet to send [09:24:43]OFD Sender: No OFD packet to send [09:24:48]OFD Sender: No OFD packet to send [09:24:53]OFD Sender: No OFD packet to send [09:24:58]OFD Sender: No OFD packet to send [09:25:03]OFD Sender: No OFD packet to send [09:25:08]OFD Sender: No OFD packet to send [09:25:13]OFD Sender: No OFD packet to send [09:25:18]OFD Sender: No OFD packet to send [09:25:23]OFD Sender: No OFD packet to send [09:25:28]OFD Sender: No OFD packet to send [09:25:33]OFD Sender: No OFD packet to send [09:25:38]OFD Sender: No OFD packet to send [09:25:43]OFD Sender: No OFD packet to send [09:25:48]OFD Sender: No OFD packet to send [09:25:53]OFD Sender: No OFD packet to send [09:25:58]OFD Sender: No OFD packet to send [09:26:03]OFD Sender: No OFD packet to send [09:26:08]OFD Sender: No OFD packet to send [09:26:13]OFD Sender: No OFD packet to send [09:26:18]OFD Sender: No OFD packet to send [09:26:23]OFD Sender: No OFD packet to send [09:26:28]OFD Sender: No OFD packet to send [09:26:33]OFD Sender: No OFD packet to send [09:26:38]OFD Sender: No OFD packet to send [09:26:43]OFD Sender: No OFD packet to send [09:26:48]OFD Sender: No OFD packet to send [09:26:53]OFD Sender: No OFD packet to send [09:26:58]OFD Sender: No OFD packet to send [09:27:03]OFD Sender: No OFD packet to send [09:27:08]OFD Sender: No OFD packet to send [09:27:13]OFD Sender: No OFD packet to send [09:27:18]OFD Sender: No OFD packet to send [09:27:23]OFD Sender: No OFD packet to send [09:27:28]OFD Sender: No OFD packet to send [09:27:33]OFD Sender: No OFD packet to send [09:27:38]OFD Sender: No OFD packet to send [09:27:43]OFD Sender: No OFD packet to send [09:27:48]OFD Sender: No OFD packet to send [09:27:53]OFD Sender: No OFD packet to send [09:27:58]OFD Sender: No OFD packet to send [09:28:03]OFD Sender: No OFD packet to send [09:28:08]OFD Sender: No OFD packet to send [09:28:13]OFD Sender: No OFD packet to send [09:28:18]OFD Sender: No OFD packet to send [09:28:23]OFD Sender: No OFD packet to send [09:28:28]OFD Sender: No OFD packet to send [09:28:33]OFD Sender: No OFD packet to send [09:28:38]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:54]OFD Sender: No OFD packet to send [09:40:59]OFD Sender: No OFD packet to send [09:41:04]OFD Sender: No OFD packet to send [09:41:09]OFD Sender: No OFD packet to send [09:41:14]OFD Sender: No OFD packet to send [09:41:19]OFD Sender: No OFD packet to send [09:41:24]OFD Sender: No OFD packet to send [09:41:29]OFD Sender: No OFD packet to send [09:41:34]OFD Sender: No OFD packet to send [09:41:39]OFD Sender: No OFD packet to send [09:41:44]OFD Sender: No OFD packet to send [09:41:49]OFD Sender: No OFD packet to send [09:41:54]OFD Sender: No OFD packet to send [09:41:59]OFD Sender: No OFD packet to send [09:42:04]OFD Sender: No OFD packet to send [09:42:09]OFD Sender: No OFD packet to send [09:42:14]OFD Sender: No OFD packet to send [09:42:19]OFD Sender: No OFD packet to send [09:42:24]OFD Sender: No OFD packet to send [09:42:29]OFD Sender: No OFD packet to send [09:42:34]OFD Sender: No OFD packet to send [09:42:39]OFD Sender: No OFD packet to send [09:42:44]OFD Sender: No OFD packet to send [09:42:49]OFD Sender: No OFD packet to send [09:42:54]OFD Sender: No OFD packet to send [09:42:59]OFD Sender: No OFD packet to send [09:43:04]OFD Sender: No OFD packet to send [09:43:09]OFD Sender: No OFD packet to send [09:43:14]OFD Sender: No OFD packet to send [09:43:19]OFD Sender: No OFD packet to send [09:43:24]OFD Sender: No OFD packet to send [09:43:29]OFD Sender: No OFD packet to send [09:43:34]OFD Sender: No OFD packet to send [09:43:39]OFD Sender: No OFD packet to send [09:43:44]OFD Sender: No OFD packet to send [09:43:49]OFD Sender: No OFD packet to send [09:43:54]OFD Sender: No OFD packet to send [09:43:59]OFD Sender: No OFD packet to send [09:44:04]OFD Sender: No OFD packet to send [09:44:09]OFD Sender: No OFD packet to send [09:44:14]OFD Sender: No OFD packet to send [09:44:19]OFD Sender: No OFD packet to send [09:44:24]OFD Sender: No OFD packet to send [09:44:29]OFD Sender: No OFD packet to send [09:44:34]OFD Sender: No OFD packet to send [09:44:39]OFD Sender: No OFD packet to send [09:44:44]OFD Sender: No OFD packet to send [09:44:49]OFD Sender: No OFD packet to send [09:44:54]OFD Sender: No OFD packet to send [09:44:59]OFD Sender: No OFD packet to send [09:45:04]OFD Sender: No OFD packet to send [09:45:09]OFD Sender: No OFD packet to send [09:45:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]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:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:10]OFD Sender: No OFD packet to send [10:10:15]OFD Sender: No OFD packet to send [10:10:20]OFD Sender: No OFD packet to send [10:10:25]OFD Sender: No OFD packet to send [10:10:30]OFD Sender: No OFD packet to send [10:10:35]OFD Sender: No OFD packet to send [10:10:40]OFD Sender: No OFD packet to send [10:10:45]OFD Sender: No OFD packet to send [10:10:50]OFD Sender: No OFD packet to send [10:10:55]OFD Sender: No OFD packet to send [10:11:00]OFD Sender: No OFD packet to send [10:11:05]OFD Sender: No OFD packet to send [10:11:10]OFD Sender: No OFD packet to send [10:11:15]OFD Sender: No OFD packet to send [10:11:20]OFD Sender: No OFD packet to send [10:11:25]OFD Sender: No OFD packet to send [10:11:30]OFD Sender: No OFD packet to send [10:11:35]OFD Sender: No OFD packet to send [10:11:40]OFD Sender: No OFD packet to send [10:11:45]OFD Sender: No OFD packet to send [10:11:50]OFD Sender: No OFD packet to send [10:11:55]OFD Sender: No OFD packet to send [10:12:00]OFD Sender: No OFD packet to send [10:12:05]OFD Sender: No OFD packet to send [10:12:10]OFD Sender: No OFD packet to send [10:12:15]OFD Sender: No OFD packet to send [10:12:20]OFD Sender: No OFD packet to send [10:12:25]OFD Sender: No OFD packet to send [10:12:30]OFD Sender: No OFD packet to send [10:12:35]OFD Sender: No OFD packet to send [10:12:40]OFD Sender: No OFD packet to send [10:12:45]OFD Sender: No OFD packet to send [10:12:50]OFD Sender: No OFD packet to send [10:12:55]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:22:01]OFD Sender: No OFD packet to send [10:22:06]OFD Sender: No OFD packet to send [10:22:11]OFD Sender: No OFD packet to send [10:22:16]OFD Sender: No OFD packet to send [10:22:21]OFD Sender: No OFD packet to send [10:22:26]OFD Sender: No OFD packet to send [10:22:31]OFD Sender: No OFD packet to send [10:22:36]OFD Sender: No OFD packet to send [10:22:41]OFD Sender: No OFD packet to send [10:22:46]OFD Sender: No OFD packet to send [10:22:51]OFD Sender: No OFD packet to send [10:22:56]OFD Sender: No OFD packet to send [10:23:01]OFD Sender: No OFD packet to send [10:23:06]OFD Sender: No OFD packet to send [10:23:11]OFD Sender: No OFD packet to send [10:23:16]OFD Sender: No OFD packet to send [10:23:21]OFD Sender: No OFD packet to send [10:23:26]OFD Sender: No OFD packet to send [10:23:31]OFD Sender: No OFD packet to send [10:23:36]OFD Sender: No OFD packet to send [10:23:41]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24:31]OFD Sender: No OFD packet to send [10:24:36]OFD Sender: No OFD packet to send [10:24:41]OFD Sender: No OFD packet to send [10:24:46]OFD Sender: No OFD packet to send [10:24:51]OFD Sender: No OFD packet to send [10:24:56]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:26]OFD Sender: No OFD packet to send [10:26:31]OFD Sender: No OFD packet to send [10:26:36]OFD Sender: No OFD packet to send [10:26:41]OFD Sender: No OFD packet to send [10:26:46]OFD Sender: No OFD packet to send [10:26:51]OFD Sender: No OFD packet to send [10:26:56]OFD Sender: No OFD packet to send [10:27:01]OFD Sender: No OFD packet to send [10:27:06]OFD Sender: No OFD packet to send [10:27:11]OFD Sender: No OFD packet to send [10:27:16]OFD Sender: No OFD packet to send [10:27:21]OFD Sender: No OFD packet to send [10:27:26]OFD Sender: No OFD packet to send [10:27:31]OFD Sender: No OFD packet to send [10:27:36]OFD Sender: No OFD packet to send [10:27:41]OFD Sender: No OFD packet to send [10:27:46]OFD Sender: No OFD packet to send [10:27:51]OFD Sender: No OFD packet to send [10:27:56]OFD Sender: No OFD packet to send [10:28:01]OFD Sender: No OFD packet to send [10:28:06]OFD Sender: No OFD packet to send [10:28:11]OFD Sender: No OFD packet to send [10:28:16]OFD Sender: No OFD packet to send [10:28:21]OFD Sender: No OFD packet to send [10:28:26]OFD Sender: No OFD packet to send [10:28:31]OFD Sender: No OFD packet to send [10:28:36]OFD Sender: No OFD packet to send [10:28:41]OFD Sender: No OFD packet to send [10:28:46]OFD Sender: No OFD packet to send [10:28:51]OFD Sender: No OFD packet to send [10:28:56]OFD Sender: No OFD packet to send [10:29:01]OFD Sender: No OFD packet to send [10:29:06]OFD Sender: No OFD packet to send [10:29:11]OFD Sender: No OFD packet to send [10:29:16]OFD Sender: No OFD packet to send [10:29:21]OFD Sender: No OFD packet to send [10:29:26]OFD Sender: No OFD packet to send [10:29:31]OFD Sender: No OFD packet to send [10:29:36]OFD Sender: No OFD packet to send [10:29:41]OFD Sender: No OFD packet to send [10:29:46]OFD Sender: No OFD packet to send [10:29:51]OFD Sender: No OFD packet to send [10:29:56]OFD Sender: No OFD packet to send [10:30:01]OFD Sender: No OFD packet to send [10:30:06]OFD Sender: No OFD packet to send [10:30:11]OFD Sender: No OFD packet to send [10:30:16]OFD Sender: No OFD packet to send [10:30:21]OFD Sender: No OFD packet to send [10:30:26]OFD Sender: No OFD packet to send [10:30:31]OFD Sender: No OFD packet to send [10:30:36]OFD Sender: No OFD packet to send [10:30:41]OFD Sender: No OFD packet to send [10:30:46]OFD Sender: No OFD packet to send [10:30:51]OFD Sender: No OFD packet to send [10:30:56]OFD Sender: No OFD packet to send [10:31:01]OFD Sender: No OFD packet to send [10:31:06]OFD Sender: No OFD packet to send [10:31:11]OFD Sender: No OFD packet to send [10:31:16]OFD Sender: No OFD packet to send [10:31:21]OFD Sender: No OFD packet to send [10:31:26]OFD Sender: No OFD packet to send [10:31:31]OFD Sender: No OFD packet to send [10:31:36]OFD Sender: No OFD packet to send [10:31:41]OFD Sender: No OFD packet to send [10:31:46]OFD Sender: No OFD packet to send [10:31:51]OFD Sender: No OFD packet to send [10:31:56]OFD Sender: No OFD packet to send [10:32:01]OFD Sender: No OFD packet to send [10:32:06]OFD Sender: No OFD packet to send [10:32:11]OFD Sender: No OFD packet to send [10:32:16]OFD Sender: No OFD packet to send [10:32:21]OFD Sender: No OFD packet to send [10:32:26]OFD Sender: No OFD packet to send [10:32:31]OFD Sender: No OFD packet to send [10:32:36]OFD Sender: No OFD packet to send [10:32:41]OFD Sender: No OFD packet to send [10:32:46]OFD Sender: No OFD packet to send [10:32:51]OFD Sender: No OFD packet to send [10:32:56]OFD Sender: No OFD packet to send [10:33:01]OFD Sender: No OFD packet to send [10:33:06]OFD Sender: No OFD packet to send [10:33:11]OFD Sender: No OFD packet to send [10:33:16]OFD Sender: No OFD packet to send [10:33:17]accept exits with 8 [10:33:17]New connection [10:33:17]New thread 3067002212 created [10:33:17]Thread 3067145572 joined [10:33:17]Waiting for new connection... [10:33:17] Sock 8.Parse request [10:33:17]Sock 8.Check first char [10:33:17]Sock 8.First char is OK [10:33:17]request: POST /json_proto HTTP/1.0 [10:33:17]Method: POST [10:33:17]URL: /json_proto [10:33:17]Method is POST - this is cgi request [10:33:17]url: /json_proto [10:33:17]query_string will be loaded in cgi processing [10:33:17]execute_cgi json_proto POST (null) [10:33:17]execute_cgi path=json_proto method=POST [10:33:17]POST find Content-Length [10:33:17]Host: 172.17.35.133:8080 [10:33:17]Content-Length: 1055 [10:33:17]Content-Type: application/json [10:33:17] [10:33:17]POST finish read [10:33:17]Found Content-Length = 1055 [10:33:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256252", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:33:17]execute_script... [10:33: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)256252", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:33:17]POST & json_proto [10:33:17]process_json_proto [10:33:17]json parsed OK: [10:33:17]protocol is kg_v1.0 [10:33:17]action value=close_receipt [10:33:17]process_action close_receipt [10:33:17]cmd_close_receipt [10:33:17]MH_GetDate [10:33:17]Write to MH i2c: F0 00 00 45 02 36 [10:33:17]Write i2c OK [10:33:17]MH_I2C_Read... [10:33:17]Read from MH i2c: F0 [10:33:17]MH_I2C_Read... [10:33:17]Read from MH i2c: F0 09 00 [10:33:17]MH_I2C_Read... [10:33:17]Read from MH i2c: F0 09 00 45 02 00 6E 06 91 66 1B 28 2A 66 7D [10:33:17]GetLastDocTimeStamp 1720775080 [10:33:17]current date 1720780398 [10:33:17]FM_GetShiftState [10:33:17]SAM_PROTO_GetShiftState [10:33:17]wFMCommunicate request_size=4 [10:33:17]MH_SAM_APDU [10:33:17]CAPDU: 80 13 01 00 [10:33:17]Write to MH i2c: E2 08 00 46 02 80 13 01 00 00 00 00 00 C5 [10:33:17]Write i2c OK [10:33:17]MH_I2C_Read... [10:33:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:33:17]Read from MH i2c: E2 [10:33:17]MH_I2C_Read... [10:33:17]Read from MH i2c: E2 0E 00 [10:33:17]MH_I2C_Read... [10:33:17]Read from MH i2c: E2 0E 00 46 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 7E [10:33:17]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [10:33:17]wFMCommunicate OK [10:33:17]SAM_PROTO_GetShiftState done [10:33:17]FM_GetShiftState done [10:33:17]opened in 1720742979 [10:33:17]opened+sec_in_day 1720829379 [10:33:17]quantity*price = 14000 [10:33:17]sum+1 = 14001 [10:33:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700007110073 Сэндвич с кетчупом Талас Даамы 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 19 12.07.2024 10:33 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1785 ФПД: 177944666059879 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T103318&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1785&fm=177944666059879&tin=02508201610067®Number=0000000000177495&sum=21000 0 [10:33:18]StoreToDocumentArchive [10:33:18]shift 23 fd 1785 [10:33:18]save to /storage/0023/doc_00001785 [10:33:18]save last doc name /storage/0023/doc_00001785 to /storage/kkm_last_doc_name [10:33:18]save OK [10:33:18]Clear old archive folders... [10:33:18]ProcessDocumentItem done err = 0, tmpTLVsize=428 [10:33:18]tlvbuf is 0107ED90 [10:33:18]SAM_PROTO_ClearQueue [10:33:18]wFMCommunicate request_size=4 [10:33:18]MH_SAM_APDU [10:33:18]CAPDU: 80 09 00 00 [10:33:18]Write to MH i2c: E2 08 00 53 02 80 09 00 00 00 00 00 00 C7 [10:33:18]Write i2c OK [10:33:18]MH_I2C_Read... [10:33:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:33:18]Read from MH i2c: E2 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 03 00 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 03 00 53 02 00 90 00 C9 [10:33:18]RAPDU: 90 00 [10:33:18]wFMCommunicate OK [10:33:18]SAM_PROTO_ClearQueue done [10:33:18]KKMCreateOFDPacket [10:33:18]OFDProtocolAddRootSTLVToBuf [10:33:18]FM_MakeSignedData [10:33:18]FM_MakeSignedData [10:33:18]SAM_PROTO_SignData [10:33:18]wFMCommunicate request_size=4 [10:33:18]MH_SAM_APDU [10:33:18]CAPDU: 80 0D 01 02 [10:33:18]Write to MH i2c: E2 08 00 54 02 80 0D 01 02 00 00 00 00 CF [10:33:18]Write i2c OK [10:33:18]MH_I2C_Read... [10:33:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:33:18]Read from MH i2c: E2 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 03 00 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 03 00 54 02 00 90 00 CA [10:33:18]RAPDU: 90 00 [10:33:18]wFMCommunicate OK [10:33:18]wFMCommunicate request_size=255 [10:33:18]MH_SAM_APDU [10:33:18]CAPDU: 80 0D 02 02 FA 03 00 AC 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 [10:33:18]Write to MH i2c: E2 02 01 55 02 80 0D 02 02 FA 00 03 00 AC 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 32 [10:33:18]Write i2c OK [10:33:18]MH_I2C_Read... [10:33:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:33:18]Read from MH i2c: E2 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 03 00 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 03 00 55 02 00 90 00 CB [10:33:18]RAPDU: 90 00 [10:33:18]wFMCommunicate OK [10:33:18]wFMCommunicate request_size=187 [10:33:18]MH_SAM_APDU [10:33:18]CAPDU: 80 0D 02 02 B6 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 6E 06 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F9 06 00 00 35 04 06 00 A1 D6 F8 9C 34 67 [10:33:18]Write to MH i2c: E2 BE 00 56 02 80 0D 02 02 B6 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 6E 06 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F9 06 00 00 35 04 06 00 A1 D6 F8 9C 34 67 00 00 A5 [10:33:18]Write i2c OK [10:33:18]MH_I2C_Read... [10:33:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:33:18]Read from MH i2c: E2 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 03 00 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 03 00 56 02 00 90 00 CC [10:33:18]RAPDU: 90 00 [10:33:18]wFMCommunicate OK [10:33:18]wFMCommunicate request_size=4 [10:33:18]MH_SAM_APDU [10:33:18]CAPDU: 80 0D 03 02 [10:33:18]Write to MH i2c: E2 08 00 57 02 80 0D 03 02 00 00 00 00 D4 [10:33:18]Write i2c OK [10:33:18]MH_I2C_Read... [10:33:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:33:18]Read from MH i2c: E2 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 0B 00 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 0B 00 57 02 00 DD 57 98 86 CC 04 76 B4 90 00 21 [10:33:18]RAPDU: DD 57 98 86 CC 04 76 B4 90 00 [10:33:18]wFMCommunicate OK [10:33:18]SAM_PROTO_SignData done [10:33:18]FM_MakeSignedData done [10:33:18]CreateOFDProtocolMessage [10:33:18]wFMCommunicate request_size=4 [10:33:18]MH_SAM_APDU [10:33:18]CAPDU: 80 11 00 00 [10:33:18]Write to MH i2c: E2 08 00 58 02 80 11 00 00 00 00 00 00 D4 [10:33:18]Write i2c OK [10:33:18]MH_I2C_Read... [10:33:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:33:18]Read from MH i2c: E2 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 17 00 [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: E2 17 00 58 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 2A [10:33:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [10:33:18]wFMCommunicate OK [10:33:18]CreateOFDProtocolMessage done [10:33:18]OFDSenderStorePacket 1785 [10:33:18]StoreOFDPacket docnum=1785 [10:33:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 C0 01 00 00 BB 8A B8 01 89 6F 5A 03 01 00 03 00 AC 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 6E 06 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F9 06 00 00 35 04 06 00 A1 D6 F8 9C 34 67 DD 57 98 86 CC 04 76 B4 [10:33:18]CheckFolder [10:33:18]dirname=/storage/ofd_packets [10:33:18]CheckFolder done [10:33:18]ProducePacketName [10:33:18]name=ofd_packets/00001785 [10:33:18]NVStorageSaveData ofd_packets/00001785 [10:33:18]File name is /storage/ofd_packets/00001785 [10:33:18]Write 478 bytes [10:33:18]NVStorageSaveData done [10:33:18]OFDSenderStorePacket done [10:33:18]KKMCreateOFDPacket done [10:33:18]NVStorageSaveData kkm_last_timestamp [10:33:18]File name is /storage/kkm_last_timestamp [10:33:18]Write 4 bytes [10:33:18]NVStorageSaveData done [10:33:18]ExternCall_PrintAddStr [10:33:18]wPrintStart [10:33:18]Write to MH i2c: 01 00 00 59 02 5B [10:33:18]Write i2c OK [10:33:18]MH_I2C_Read... [10:33:18]Read from MH i2c: 01 [10:33:19]MH_I2C_Read... [10:33:19]OFD Sender: Processing packet 1785 [packets to send 1, broken 0] [10:33:19]ProducePacketName [10:33:19]name=ofd_packets/00001785 [10:33:19]OFD Sender: To server: pG, [10:33:19]CommunicateWithHost lk.salyk.kg:30040 [10:33:19]ConnectInit lk.salyk.kg [10:33:19]Read from MH i2c: 01 07 00 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: 01 07 00 59 02 00 00 00 00 00 FF 0F 70 [10:33:19]RasterBufferAndPrint [10:33:19]line Счет N : (3)256252 [10:33:19]line ИНН: 02508201610067 [10:33:19]line Контрольно-Кассовый Чек [10:33:19]line ПРОДАЖА [10:33:19]line Товар: 4700007110066 [10:33:19]line Сэндвич с майонезом Талас Даамы [10:33:19]line 2.000 * 70.00 [10:33:19]line = 140.00 [10:33:19]line НДС 12% НСП 1% [10:33:19]line > о реализуемом товаре [10:33:19]line Товар: 4700007110073 [10:33:19]line Сэндвич с кетчупом Талас Даамы [10:33:19]line 1.000 * 70.00 [10:33:19]line = 70.00 [10:33:19]line НДС 12% НСП 1% [10:33:19]line > о реализуемом товаре [10:33:19]line ИТОГО: 210.00 [10:33:19]line НСП 1% : 1.86 [10:33:19]line НДС 12% : 22.30 [10:33:19]line Наличными: 210.00 [10:33:19]line Безнал.: 0.00 [10:33:19]line Место: АЗС № 76 "Партнер Нефть" [10:33:19]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [10:33:19]line СНО: Общий режим [10:33:19]line Чек 19 12.07.2024 10:33 [10:33:19]line Смена: 23 ФФД: 1.0 [10:33:19]line ЗНМ: 0300000124 [10:33:19]line РНМ: 0000000000177495 [10:33:19]line Версия ККМ: 001 [10:33:19]line ФМ: 0000000002098592 [10:33:19]line ФД: 1785 [10:33:19]line ФПД: 177944666059879 [10:33:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T103318&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1785&fm=177944666059879&tin=02508201610067®Number=0000000000177495&sum=21000 [10:33:19]line 0 [10:33:19]written 0, free lines is 4095 [10:33:19]Connected sock=10 [10:33:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 C0 01 00 00 BB 8A B8 01 89 6F 5A 03 01 00 03 00 AC 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 6E 06 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 F9 06 00 00 35 04 06 00 A1 D6 F8 9C 34 67 DD 57 98 86 CC 04 76 B4 [10:33:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 8F A5 47 00 50 E8 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 32 30 39 38 35 39 32 10 04 04 00 F9 06 00 00 F4 03 04 00 A7 B1 90 66 B6 04 01 00 00 A6 4F A5 84 9E E9 AA EF [10:33:19]CommunicateWithHost err = 0 [10:33:19]CheckOFDResponse [10:33:19]1017 (14) - 77093643461234 [10:33:19]1041 (16) - 0000000002098592 [10:33:19]1040 (4) - 1785 [10:33:19]1012 (4) - 12.07.2024 04:31 [10:33:19]1206 (1) - 0 [10:33:19]OFD Sender: Remove packet 1785 [10:33:19]ProducePacketName [10:33:19]name=ofd_packets/00001785 [10:33:19]NVStorageDeleteData [10:33:19]Write to MH i2c: 01 00 00 89 02 8B [10:33:19]Write i2c OK [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: 01 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: 01 07 00 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: 01 07 00 89 02 00 00 00 00 00 81 0C 1F [10:33:19]RasterBufferAndPrint [10:33:19]line [10:33:19]line [10:33:19]line [10:33:19]line [10:33:19]line [10:33:19]written 0, free lines is 3208 [10:33:19]MH_Cut [10:33:19]Write to MH i2c: D1 01 00 90 02 01 64 [10:33:19]Write i2c OK [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: D1 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: D1 01 00 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: D1 01 00 90 02 00 63 [10:33:19]Write to MH i2c: 01 00 00 91 02 93 [10:33:19]Write i2c OK [10:33:19]MH_I2C_Read... [10:33:20]OFD Sender: No OFD packet to send [10:33:20]*** Cut start [10:33:20]*** Partial cut [10:33:20]*** CUTSNS_PIN = 1 [10:33:20]*** CUTSNS_PIN = 0 [10:33:20]*** Brake cut motor [10:33:21]Read from MH i2c: 01 [10:33:21]MH_I2C_Read... [10:33:21]*** Stop cut motor [10:33:21]*** Cut end [10:33:21]Read from MH i2c: 01 07 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: 01 07 00 91 02 00 00 00 00 00 FF 0F A8 [10:33:21]process_action close_receipt done [10:33:21]requested_data is exist [10:33:21]produce_requested_data [10:33:21]requested_item fm.sn is exist - process it [10:33:21]wFMCommunicate request_size=4 [10:33:21]MH_SAM_APDU [10:33:21]CAPDU: 80 11 00 00 [10:33:21]Write to MH i2c: E2 08 00 92 02 80 11 00 00 00 00 00 00 0E [10:33:21]Write i2c OK [10:33:21]MH_I2C_Read... [10:33:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:33:21]Read from MH i2c: E2 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 17 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 17 00 92 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 64 [10:33:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [10:33:21]wFMCommunicate OK [10:33:21]requested_item fd.num is exist - process it [10:33:21]SAM_PROTO_GetFieldsCounters [10:33:21]wFMCommunicate request_size=4 [10:33:21]MH_SAM_APDU [10:33:21]CAPDU: 80 13 00 00 [10:33:21]Write to MH i2c: E2 08 00 93 02 80 13 00 00 00 00 00 00 11 [10:33:21]Write i2c OK [10:33:21]MH_I2C_Read... [10:33:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:33:21]Read from MH i2c: E2 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 62 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 62 00 93 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F9 06 00 00 0E 04 04 00 17 00 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 8C [10:33:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 F9 06 00 00 0E 04 04 00 17 00 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:33:21]wFMCommunicate OK [10:33:21]SAM_PROTO_GetFieldsCounters done [10:33:21]requested_item shift.num is exist - process it [10:33:21]requested_item shift.opened is exist - process it [10:33:21]req_shift_opened [10:33:21]FM_GetShiftState [10:33:21]SAM_PROTO_GetShiftState [10:33:21]wFMCommunicate request_size=4 [10:33:21]MH_SAM_APDU [10:33:21]CAPDU: 80 13 01 00 [10:33:21]Write to MH i2c: E2 08 00 94 02 80 13 01 00 00 00 00 00 13 [10:33:21]Write i2c OK [10:33:21]MH_I2C_Read... [10:33:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:33:21]Read from MH i2c: E2 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 0E 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 0E 00 94 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 CC [10:33:21]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [10:33:21]wFMCommunicate OK [10:33:21]SAM_PROTO_GetShiftState done [10:33:21]FM_GetShiftState done [10:33:21]req_shift_opened done [10:33:21]requested_item shift.open_date is exist - process it [10:33:21]req_shift_open_date [10:33:21]req_shift_open_date done [10:33:21]produce_requested_data done [10:33:21]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1785,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [10:33:21]process_action_free close_receipt [10:33:21]json_value_free [10:33:21]json_value_free done [10:33:21]process_json_proto returns [10:33:21]Send response to host [10:33:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1785,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [10:33:21]free response buf [10:33:21]execute_script done [10:33:21]execute_script returns [10:33:21]free content buf [10:33:21]Sock 8.Close socket [10:33:21]Sock 8.Thread stoped [10:33:25]OFD Sender: No OFD packet to send [10:33:30]OFD Sender: No OFD packet to send [10:33:35]OFD Sender: No OFD packet to send [10:33:40]OFD Sender: No OFD packet to send [10:33:45]OFD Sender: No OFD packet to send [10:33:50]OFD Sender: No OFD packet to send [10:33:55]OFD Sender: No OFD packet to send [10:34:00]OFD Sender: No OFD packet to send [10:34:05]OFD Sender: No OFD packet to send [10:34:10]OFD Sender: No OFD packet to send [10:34:15]OFD Sender: No OFD packet to send [10:34:20]OFD Sender: No OFD packet to send [10:34:25]OFD Sender: No OFD packet to send [10:34:30]OFD Sender: No OFD packet to send [10:34:35]OFD Sender: No OFD packet to send [10:34:40]OFD Sender: No OFD packet to send [10:34:45]OFD Sender: No OFD packet to send [10:34:50]OFD Sender: No OFD packet to send [10:34:55]OFD Sender: No OFD packet to send [10:35:00]OFD Sender: No OFD packet to send [10:35:05]OFD Sender: No OFD packet to send [10:35:10]OFD Sender: No OFD packet to send [10:35:15]OFD Sender: No OFD packet to send [10:35:20]OFD Sender: No OFD packet to send [10:35:25]OFD Sender: No OFD packet to send [10:35:30]OFD Sender: No OFD packet to send [10:35:35]OFD Sender: No OFD packet to send [10:35:40]OFD Sender: No OFD packet to send [10:35:45]OFD Sender: No OFD packet to send [10:35:50]OFD Sender: No OFD packet to send [10:35:55]OFD Sender: No OFD packet to send [10:36:00]OFD Sender: No OFD packet to send [10:36:05]OFD Sender: No OFD packet to send [10:36:10]OFD Sender: No OFD packet to send [10:36:15]OFD Sender: No OFD packet to send [10:36:20]OFD Sender: No OFD packet to send [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:20]OFD Sender: No OFD packet to send [10:37:25]OFD Sender: No OFD packet to send [10:37:30]OFD Sender: No OFD packet to send [10:37:35]OFD Sender: No OFD packet to send [10:37:40]OFD Sender: No OFD packet to send [10:37:45]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:30]OFD Sender: No OFD packet to send [10:50:35]OFD Sender: No OFD packet to send [10:50:40]OFD Sender: No OFD packet to send [10:50:45]OFD Sender: No OFD packet to send [10:50:50]OFD Sender: No OFD packet to send [10:50:55]OFD Sender: No OFD packet to send [10:51:00]OFD Sender: No OFD packet to send [10:51: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:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]OFD Sender: No OFD packet to send [10:53:01]OFD Sender: No OFD packet to send [10:53:06]OFD Sender: No OFD packet to send [10:53:11]OFD Sender: No OFD packet to send [10:53:16]OFD Sender: No OFD packet to send [10:53:21]OFD Sender: No OFD packet to send [10:53:26]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:16]OFD Sender: No OFD packet to send [10:55:21]OFD Sender: No OFD packet to send [10:55:26]OFD Sender: No OFD packet to send [10:55:31]OFD Sender: No OFD packet to send [10:55:36]OFD Sender: No OFD packet to send [10:55:41]OFD Sender: No OFD packet to send [10:55:46]OFD Sender: No OFD packet to send [10:55:51]OFD Sender: No OFD packet to send [10:55:56]OFD Sender: No OFD packet to send [10:56:01]OFD Sender: No OFD packet to send [10:56:06]OFD Sender: No OFD packet to send [10:56:11]OFD Sender: No OFD packet to send [10:56:16]OFD Sender: No OFD packet to send [10:56:21]OFD Sender: No OFD packet to send [10:56:26]OFD Sender: No OFD packet to send [10:56:31]OFD Sender: No OFD packet to send [10:56:36]OFD Sender: No OFD packet to send [10:56:41]OFD Sender: No OFD packet to send [10:56:46]OFD Sender: No OFD packet to send [10:56:51]OFD Sender: No OFD packet to send [10:56:56]OFD Sender: No OFD packet to send [10:57:01]OFD Sender: No OFD packet to send [10:57:06]OFD Sender: No OFD packet to send [10:57:11]OFD Sender: No OFD packet to send [10:57:16]OFD Sender: No OFD packet to send [10:57:21]OFD Sender: No OFD packet to send [10:57:26]OFD Sender: No OFD packet to send [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:56]OFD Sender: No OFD packet to send [11:00:01]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:16]OFD Sender: No OFD packet to send [11:00:21]OFD Sender: No OFD packet to send [11:00:26]OFD Sender: No OFD packet to send [11:00:31]OFD Sender: No OFD packet to send [11:00:36]OFD Sender: No OFD packet to send [11:00:41]OFD Sender: No OFD packet to send [11:00:46]OFD Sender: No OFD packet to send [11:00:51]OFD Sender: No OFD packet to send [11:00:56]OFD Sender: No OFD packet to send [11:01:01]OFD Sender: No OFD packet to send [11:01:06]OFD Sender: No OFD packet to send [11:01:11]OFD Sender: No OFD packet to send [11:01:16]OFD Sender: No OFD packet to send [11:01:21]OFD Sender: No OFD packet to send [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:21]OFD Sender: No OFD packet to send [11:02:26]OFD Sender: No OFD packet to send [11:02:31]OFD Sender: No OFD packet to send [11:02:36]OFD Sender: No OFD packet to send [11:02:41]OFD Sender: No OFD packet to send [11:02:46]OFD Sender: No OFD packet to send [11:02:51]OFD Sender: No OFD packet to send [11:02:56]OFD Sender: No OFD packet to send [11:03:01]OFD Sender: No OFD packet to send [11:03:06]OFD Sender: No OFD packet to send [11:03:11]OFD Sender: No OFD packet to send [11:03:16]OFD Sender: No OFD packet to send [11:03:21]OFD Sender: No OFD packet to send [11:03:26]OFD Sender: No OFD packet to send [11:03:31]OFD Sender: No OFD packet to send [11:03:36]OFD Sender: No OFD packet to send [11:03:41]OFD Sender: No OFD packet to send [11:03:46]OFD Sender: No OFD packet to send [11:03:51]OFD Sender: No OFD packet to send [11:03:56]OFD Sender: No OFD packet to send [11:04:01]OFD Sender: No OFD packet to send [11:04:06]OFD Sender: No OFD packet to send [11:04:11]OFD Sender: No OFD packet to send [11:04:16]OFD Sender: No OFD packet to send [11:04:21]OFD Sender: No OFD packet to send [11:04:26]OFD Sender: No OFD packet to send [11:04:31]OFD Sender: No OFD packet to send [11:04:36]OFD Sender: No OFD packet to send [11:04:41]OFD Sender: No OFD packet to send [11:04:46]OFD Sender: No OFD packet to send [11:04:51]OFD Sender: No OFD packet to send [11:04:56]OFD Sender: No OFD packet to send [11:05:01]OFD Sender: No OFD packet to send [11:05:06]OFD Sender: No OFD packet to send [11:05:11]OFD Sender: No OFD packet to send [11:05:16]OFD Sender: No OFD packet to send [11:05:21]OFD Sender: No OFD packet to send [11:05:26]OFD Sender: No OFD packet to send [11:05:31]OFD Sender: No OFD packet to send [11:05:36]OFD Sender: No OFD packet to send [11:05:41]OFD Sender: No OFD packet to send [11:05:46]OFD Sender: No OFD packet to send [11:05:51]OFD Sender: No OFD packet to send [11:05:56]OFD Sender: No OFD packet to send [11:06:01]OFD Sender: No OFD packet to send [11:06:06]OFD Sender: No OFD packet to send [11:06:11]OFD Sender: No OFD packet to send [11:06:16]OFD Sender: No OFD packet to send [11:06:21]OFD Sender: No OFD packet to send [11:06:26]OFD Sender: No OFD packet to send [11:06:31]OFD Sender: No OFD packet to send [11:06:36]OFD Sender: No OFD packet to send [11:06:41]OFD Sender: No OFD packet to send [11:06:46]OFD Sender: No OFD packet to send [11:06:51]OFD Sender: No OFD packet to send [11:06:56]OFD Sender: No OFD packet to send [11:07:01]OFD Sender: No OFD packet to send [11:07:06]OFD Sender: No OFD packet to send [11:07:11]OFD Sender: No OFD packet to send [11:07:16]OFD Sender: No OFD packet to send [11:07:21]OFD Sender: No OFD packet to send [11:07:26]OFD Sender: No OFD packet to send [11:07:31]OFD Sender: No OFD packet to send [11:07:36]OFD Sender: No OFD packet to send [11:07:41]OFD Sender: No OFD packet to send [11:07:46]OFD Sender: No OFD packet to send [11:07:51]OFD Sender: No OFD packet to send [11:07:56]OFD Sender: No OFD packet to send [11:08:01]OFD Sender: No OFD packet to send [11:08:06]OFD Sender: No OFD packet to send [11:08:11]OFD Sender: No OFD packet to send [11:08:16]OFD Sender: No OFD packet to send [11:08:21]OFD Sender: No OFD packet to send [11:08:26]OFD Sender: No OFD packet to send [11:08:31]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:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:52]OFD Sender: No OFD packet to send [11:16:57]OFD Sender: No OFD packet to send [11:17:02]OFD Sender: No OFD packet to send [11:17:07]OFD Sender: No OFD packet to send [11:17:12]OFD Sender: No OFD packet to send [11:17:17]OFD Sender: No OFD packet to send [11:17:22]OFD Sender: No OFD packet to send [11:17:27]OFD Sender: No OFD packet to send [11:17:32]OFD Sender: No OFD packet to send [11:17:37]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:57]OFD Sender: No OFD packet to send [11:18:02]OFD Sender: No OFD packet to send [11:18:07]OFD Sender: No OFD packet to send [11:18:12]OFD Sender: No OFD packet to send [11:18:17]OFD Sender: No OFD packet to send [11:18:22]OFD Sender: No OFD packet to send [11:18:27]OFD Sender: No OFD packet to send [11:18:32]OFD Sender: No OFD packet to send [11:18:37]OFD Sender: No OFD packet to send [11:18:42]OFD Sender: No OFD packet to send [11:18:47]OFD Sender: No OFD packet to send [11:18:52]OFD Sender: No OFD packet to send [11:18:57]OFD Sender: No OFD packet to send [11:19:02]OFD Sender: No OFD packet to send [11:19:07]OFD Sender: No OFD packet to send [11:19:12]OFD Sender: No OFD packet to send [11:19:17]OFD Sender: No OFD packet to send [11:19:22]OFD Sender: No OFD packet to send [11:19:27]OFD Sender: No OFD packet to send [11:19:32]OFD Sender: No OFD packet to send [11:19:37]OFD Sender: No OFD packet to send [11:19:42]OFD Sender: No OFD packet to send [11:19:47]OFD Sender: No OFD packet to send [11:19:52]OFD Sender: No OFD packet to send [11:19:57]OFD Sender: No OFD packet to send [11:20:02]OFD Sender: No OFD packet to send [11:20:07]OFD Sender: No OFD packet to send [11:20:12]OFD Sender: No OFD packet to send [11:20:17]OFD Sender: No OFD packet to send [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:57]OFD Sender: No OFD packet to send [11:22:02]OFD Sender: No OFD packet to send [11:22:07]OFD Sender: No OFD packet to send [11:22:12]OFD Sender: No OFD packet to send [11:22:17]OFD Sender: No OFD packet to send [11:22:22]OFD Sender: No OFD packet to send [11:22:27]OFD Sender: No OFD packet to send [11:22:32]OFD Sender: No OFD packet to send [11:22:37]OFD Sender: No OFD packet to send [11:22:42]OFD Sender: No OFD packet to send [11:22:47]OFD Sender: No OFD packet to send [11:22:52]OFD Sender: No OFD packet to send [11:22:57]OFD Sender: No OFD packet to send [11:23:02]OFD Sender: No OFD packet to send [11:23:07]OFD Sender: No OFD packet to send [11:23:12]OFD Sender: No OFD packet to send [11:23:17]OFD Sender: No OFD packet to send [11:23:22]OFD Sender: No OFD packet to send [11:23:27]OFD Sender: No OFD packet to send [11:23:32]OFD Sender: No OFD packet to send [11:23:37]OFD Sender: No OFD packet to send [11:23:42]OFD Sender: No OFD packet to send [11:23:47]OFD Sender: No OFD packet to send [11:23:52]OFD Sender: No OFD packet to send [11:23:57]OFD Sender: No OFD packet to send [11:24:02]OFD Sender: No OFD packet to send [11:24:07]OFD Sender: No OFD packet to send [11:24:12]OFD Sender: No OFD packet to send [11:24:17]OFD Sender: No OFD packet to send [11:24:22]OFD Sender: No OFD packet to send [11:24:27]OFD Sender: No OFD packet to send [11:24:32]OFD Sender: No OFD packet to send [11:24:37]OFD Sender: No OFD packet to send [11:24:42]OFD Sender: No OFD packet to send [11:24:47]OFD Sender: No OFD packet to send [11:24:52]OFD Sender: No OFD packet to send [11:24:57]OFD Sender: No OFD packet to send [11:25:02]OFD Sender: No OFD packet to send [11:25:07]OFD Sender: No OFD packet to send [11:25:12]OFD Sender: No OFD packet to send [11:25:17]OFD Sender: No OFD packet to send [11:25:22]OFD Sender: No OFD packet to send [11:25:27]OFD Sender: No OFD packet to send [11:25:32]OFD Sender: No OFD packet to send [11:25:37]OFD Sender: No OFD packet to send [11:25:42]OFD Sender: No OFD packet to send [11:25:47]OFD Sender: No OFD packet to send [11:25:52]OFD Sender: No OFD packet to send [11:25:57]OFD Sender: No OFD packet to send [11:26:02]OFD Sender: No OFD packet to send [11:26:07]OFD Sender: No OFD packet to send [11:26:12]OFD Sender: No OFD packet to send [11:26:17]OFD Sender: No OFD packet to send [11:26:22]OFD Sender: No OFD packet to send [11:26:27]OFD Sender: No OFD packet to send [11:26:32]OFD Sender: No OFD packet to send [11:26:37]OFD Sender: No OFD packet to send [11:26:42]OFD Sender: No OFD packet to send [11:26:47]OFD Sender: No OFD packet to send [11:26:52]OFD Sender: No OFD packet to send [11:26:57]OFD Sender: No OFD packet to send [11:27:02]OFD Sender: No OFD packet to send [11:27:07]OFD Sender: No OFD packet to send [11:27:12]OFD Sender: No OFD packet to send [11:27:17]OFD Sender: No OFD packet to send [11:27:22]OFD Sender: No OFD packet to send [11:27:27]OFD Sender: No OFD packet to send [11:27:32]OFD Sender: No OFD packet to send [11:27:37]OFD Sender: No OFD packet to send [11:27:42]OFD Sender: No OFD packet to send [11:27:47]OFD Sender: No OFD packet to send [11:27:52]OFD Sender: No OFD packet to send [11:27:57]OFD Sender: No OFD packet to send [11:28:02]OFD Sender: No OFD packet to send [11:28:07]OFD Sender: No OFD packet to send [11:28:12]OFD Sender: No OFD packet to send [11:28:17]OFD Sender: No OFD packet to send [11:28:22]OFD Sender: No OFD packet to send [11:28:27]OFD Sender: No OFD packet to send [11:28:32]OFD Sender: No OFD packet to send [11:28:37]OFD Sender: No OFD packet to send [11:28:42]OFD Sender: No OFD packet to send [11:28:47]OFD Sender: No OFD packet to send [11:28:52]OFD Sender: No OFD packet to send [11:28:57]OFD Sender: No OFD packet to send [11:29:02]OFD Sender: No OFD packet to send [11:29:07]OFD Sender: No OFD packet to send [11:29:12]OFD Sender: No OFD packet to send [11:29:17]OFD Sender: No OFD packet to send [11:29:22]OFD Sender: No OFD packet to send [11:29:27]OFD Sender: No OFD packet to send [11:29:32]OFD Sender: No OFD packet to send [11:29:37]OFD Sender: No OFD packet to send [11:29:42]OFD Sender: No OFD packet to send [11:29:47]OFD Sender: No OFD packet to send [11:29:52]OFD Sender: No OFD packet to send [11:29:57]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:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:33]OFD Sender: No OFD packet to send [11:38:38]OFD Sender: No OFD packet to send [11:38:43]OFD Sender: No OFD packet to send [11:38:48]OFD Sender: No OFD packet to send [11:38:53]OFD Sender: No OFD packet to send [11:38:58]OFD Sender: No OFD packet to send [11:39:03]OFD Sender: No OFD packet to send [11:39:08]OFD Sender: No OFD packet to send [11:39:13]OFD Sender: No OFD packet to send [11:39:18]OFD Sender: No OFD packet to send [11:39:23]OFD Sender: No OFD packet to send [11:39:28]OFD Sender: No OFD packet to send [11:39:33]OFD Sender: No OFD packet to send [11:39:38]OFD Sender: No OFD packet to send [11:39:43]OFD Sender: No OFD packet to send [11:39:48]OFD Sender: No OFD packet to send [11:39:53]OFD Sender: No OFD packet to send [11:39:58]OFD Sender: No OFD packet to send [11:40:03]OFD Sender: No OFD packet to send [11:40:08]OFD Sender: No OFD packet to send [11:40:13]OFD Sender: No OFD packet to send [11:40:18]OFD Sender: No OFD packet to send [11:40:23]OFD Sender: No OFD packet to send [11:40:28]OFD Sender: No OFD packet to send [11:40:33]OFD Sender: No OFD packet to send [11:40:38]OFD Sender: No OFD packet to send [11:40:43]OFD Sender: No OFD packet to send [11:40:48]OFD Sender: No OFD packet to send [11:40:53]OFD Sender: No OFD packet to send [11:40:58]OFD Sender: No OFD packet to send [11:41:03]OFD Sender: No OFD packet to send [11:41:08]OFD Sender: No OFD packet to send [11:41:13]OFD Sender: No OFD packet to send [11:41:18]OFD Sender: No OFD packet to send [11:41:23]OFD Sender: No OFD packet to send [11:41:28]OFD Sender: No OFD packet to send [11:41:33]OFD Sender: No OFD packet to send [11:41:38]OFD Sender: No OFD packet to send [11:41:43]OFD Sender: No OFD packet to send [11:41:48]OFD Sender: No OFD packet to send [11:41:53]OFD Sender: No OFD packet to send [11:41:58]OFD Sender: No OFD packet to send [11:42:03]OFD Sender: No OFD packet to send [11:42:08]OFD Sender: No OFD packet to send [11:42:13]OFD Sender: No OFD packet to send [11:42:18]OFD Sender: No OFD packet to send [11:42:23]OFD Sender: No OFD packet to send [11:42:28]OFD Sender: No OFD packet to send [11:42:33]OFD Sender: No OFD packet to send [11:42:38]OFD Sender: No OFD packet to send [11:42:43]OFD Sender: No OFD packet to send [11:42:48]OFD Sender: No OFD packet to send [11:42:53]OFD Sender: No OFD packet to send [11:42:58]OFD Sender: No OFD packet to send [11:43:03]OFD Sender: No OFD packet to send [11:43:08]OFD Sender: No OFD packet to send [11:43:13]OFD Sender: No OFD packet to send [11:43:18]OFD Sender: No OFD packet to send [11:43:23]OFD Sender: No OFD packet to send [11:43:28]OFD Sender: No OFD packet to send [11:43:33]OFD Sender: No OFD packet to send [11:43:38]OFD Sender: No OFD packet to send [11:43:43]OFD Sender: No OFD packet to send [11:43:48]OFD Sender: No OFD packet to send [11:43:53]OFD Sender: No OFD packet to send [11:43:58]OFD Sender: No OFD packet to send [11:44:03]OFD Sender: No OFD packet to send [11:44:08]OFD Sender: No OFD packet to send [11:44:13]OFD Sender: No OFD packet to send [11:44:18]OFD Sender: No OFD packet to send [11:44:23]OFD Sender: No OFD packet to send [11:44:28]OFD Sender: No OFD packet to send [11:44:33]OFD Sender: No OFD packet to send [11:44:38]OFD Sender: No OFD packet to send [11:44:43]OFD Sender: No OFD packet to send [11:44:48]OFD Sender: No OFD packet to send [11:44:53]OFD Sender: No OFD packet to send [11:44:58]OFD Sender: No OFD packet to send [11:45:03]OFD Sender: No OFD packet to send [11:45:08]OFD Sender: No OFD packet to send [11:45:13]OFD Sender: No OFD packet to send [11:45:18]OFD Sender: No OFD packet to send [11:45:23]OFD Sender: No OFD packet to send [11:45:28]OFD Sender: No OFD packet to send [11:45:33]OFD Sender: No OFD packet to send [11:45:38]OFD Sender: No OFD packet to send [11:45:43]OFD Sender: No OFD packet to send [11:45:48]OFD Sender: No OFD packet to send [11:45:53]OFD Sender: No OFD packet to send [11:45:58]OFD Sender: No OFD packet to send [11:46:03]OFD Sender: No OFD packet to send [11:46:08]OFD Sender: No OFD packet to send [11:46:13]OFD Sender: No OFD packet to send [11:46:18]OFD Sender: No OFD packet to send [11:46:23]OFD Sender: No OFD packet to send [11:46:28]OFD Sender: No OFD packet to send [11:46:33]OFD Sender: No OFD packet to send [11:46:38]OFD Sender: No OFD packet to send [11:46:43]OFD Sender: No OFD packet to send [11:46:48]OFD Sender: No OFD packet to send [11:46:53]OFD Sender: No OFD packet to send [11:46:58]OFD Sender: No OFD packet to send [11:47:03]OFD Sender: No OFD packet to send [11:47:08]OFD Sender: No OFD packet to send [11:47:13]OFD Sender: No OFD packet to send [11:47:18]OFD Sender: No OFD packet to send [11:47:23]OFD Sender: No OFD packet to send [11:47:28]OFD Sender: No OFD packet to send [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:48:58]OFD Sender: No OFD packet to send [11:49:03]OFD Sender: No OFD packet to send [11:49:08]OFD Sender: No OFD packet to send [11:49:13]OFD Sender: No OFD packet to send [11:49:18]OFD Sender: No OFD packet to send [11:49:23]OFD Sender: No OFD packet to send [11:49:28]OFD Sender: No OFD packet to send [11:49:33]OFD Sender: No OFD packet to send [11:49:38]OFD Sender: No OFD packet to send [11:49:43]OFD Sender: No OFD packet to send [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:58]OFD Sender: No OFD packet to send [11:50:03]OFD Sender: No OFD packet to send [11:50:08]OFD Sender: No OFD packet to send [11:50:13]OFD Sender: No OFD packet to send [11:50:18]OFD Sender: No OFD packet to send [11:50:23]OFD Sender: No OFD packet to send [11:50:28]OFD Sender: No OFD packet to send [11:50:33]OFD Sender: No OFD packet to send [11:50:38]OFD Sender: No OFD packet to send [11:50:43]OFD Sender: No OFD packet to send [11:50:48]OFD Sender: No OFD packet to send [11:50:53]OFD Sender: No OFD packet to send [11:50:58]OFD Sender: No OFD packet to send [11:51:03]OFD Sender: No OFD packet to send [11:51:08]OFD Sender: No OFD packet to send [11:51:13]OFD Sender: No OFD packet to send [11:51:18]OFD Sender: No OFD packet to send [11:51:23]OFD Sender: No OFD packet to send [11:51:28]OFD Sender: No OFD packet to send [11:51:33]OFD Sender: No OFD packet to send [11:51:38]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:21]accept exits with 9 [11:57:21]New connection [11:57:21]New thread 3067145572 created [11:57:21]Thread 3067002212 joined [11:57:21]Waiting for new connection... [11:57:21] Sock 9.Parse request [11:57:21]Sock 9.Check first char [11:57:21]Sock 9.First char is OK [11:57:21]request: POST /json_proto HTTP/1.0 [11:57:21]Method: POST [11:57:21]URL: /json_proto [11:57:21]Method is POST - this is cgi request [11:57:21]url: /json_proto [11:57:21]query_string will be loaded in cgi processing [11:57:21]execute_cgi json_proto POST (null) [11:57:21]execute_cgi path=json_proto method=POST [11:57:21]POST find Content-Length [11:57:21]Host: 172.17.35.133:8080 [11:57:21]Content-Length: 645 [11:57:21]Content-Type: application/json [11:57:21] [11:57:21]POST finish read [11:57:21]Found Content-Length = 645 [11:57:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256253", "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" ] } } [11:57:21]execute_script... [11:57: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)256253", "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" ] } } [11:57:21]POST & json_proto [11:57:21]process_json_proto [11:57:21]json parsed OK: [11:57:21]protocol is kg_v1.0 [11:57:21]action value=close_receipt [11:57:21]process_action close_receipt [11:57:21]cmd_close_receipt [11:57:21]MH_GetDate [11:57:21]Write to MH i2c: F0 00 00 95 02 86 [11:57:21]Write i2c OK [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: F0 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: F0 09 00 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: F0 09 00 95 02 00 23 1A 91 66 1B 28 2A 66 96 [11:57:21]GetLastDocTimeStamp 1720780398 [11:57:21]current date 1720785443 [11:57:21]FM_GetShiftState [11:57:21]SAM_PROTO_GetShiftState [11:57:21]wFMCommunicate request_size=4 [11:57:21]MH_SAM_APDU [11:57:21]CAPDU: 80 13 01 00 [11:57:21]Write to MH i2c: E2 08 00 96 02 80 13 01 00 00 00 00 00 15 [11:57:21]Write i2c OK [11:57:21]MH_I2C_Read... [11:57:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:21]Read from MH i2c: E2 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: E2 0E 00 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: E2 0E 00 96 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 CE [11:57:21]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [11:57:21]wFMCommunicate OK [11:57:21]SAM_PROTO_GetShiftState done [11:57:21]FM_GetShiftState done [11:57:21]opened in 1720742979 [11:57:21]opened+sec_in_day 1720829379 [11:57:21]quantity*price = 1000 [11:57:21]sum+1 = 1001 [11:57:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 20 12.07.2024 11:57 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1786 ФПД: 61551782876188 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T115723&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1786&fm=61551782876188&tin=02508201610067®Number=0000000000177495&sum=1000 0 [11:57:22]StoreToDocumentArchive [11:57:22]shift 23 fd 1786 [11:57:22]save to /storage/0023/doc_00001786 [11:57:22]save last doc name /storage/0023/doc_00001786 to /storage/kkm_last_doc_name [11:57:22]save OK [11:57:22]Clear old archive folders... [11:57:22]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:57:22]tlvbuf is 01072180 [11:57:22]SAM_PROTO_ClearQueue [11:57:22]wFMCommunicate request_size=4 [11:57:22]MH_SAM_APDU [11:57:22]CAPDU: 80 09 00 00 [11:57:22]Write to MH i2c: E2 08 00 A3 02 80 09 00 00 00 00 00 00 17 [11:57:22]Write i2c OK [11:57:22]MH_I2C_Read... [11:57:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:57:22]Read from MH i2c: E2 [11:57:22]MH_I2C_Read... [11:57:22]Read from MH i2c: E2 03 00 [11:57:22]MH_I2C_Read... [11:57:22]Read from MH i2c: E2 03 00 A3 02 00 90 00 19 [11:57:22]RAPDU: 90 00 [11:57:22]wFMCommunicate OK [11:57:22]SAM_PROTO_ClearQueue done [11:57:22]KKMCreateOFDPacket [11:57:22]OFDProtocolAddRootSTLVToBuf [11:57:22]FM_MakeSignedData [11:57:22]FM_MakeSignedData [11:57:22]SAM_PROTO_SignData [11:57:22]wFMCommunicate request_size=4 [11:57:22]MH_SAM_APDU [11:57:22]CAPDU: 80 0D 01 02 [11:57:22]Write to MH i2c: E2 08 00 A4 02 80 0D 01 02 00 00 00 00 1F [11:57:22]Write i2c OK [11:57:22]MH_I2C_Read... [11:57:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:57:23]Read from MH i2c: E2 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 03 00 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 03 00 A4 02 00 90 00 1A [11:57:23]RAPDU: 90 00 [11:57:23]wFMCommunicate OK [11:57:23]wFMCommunicate request_size=255 [11:57:23]MH_SAM_APDU [11:57:23]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 14 00 00 00 F4 03 04 00 23 1A 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 [11:57:23]Write to MH i2c: E2 02 01 A5 02 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 14 00 00 00 F4 03 04 00 23 1A 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 00 00 CA [11:57:23]Write i2c OK [11:57:23]MH_I2C_Read... [11:57:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:23]Read from MH i2c: E2 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 03 00 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 03 00 A5 02 00 90 00 1B [11:57:23]RAPDU: 90 00 [11:57:23]wFMCommunicate OK [11:57:23]wFMCommunicate request_size=39 [11:57:23]MH_SAM_APDU [11:57:23]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FA 06 00 00 35 04 06 00 37 FB 24 27 54 1C [11:57:23]Write to MH i2c: E2 2A 00 A6 02 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FA 06 00 00 35 04 06 00 37 FB 24 27 54 1C 00 00 CD [11:57:23]Write i2c OK [11:57:23]MH_I2C_Read... [11:57:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:23]Read from MH i2c: E2 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 03 00 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 03 00 A6 02 00 90 00 1C [11:57:23]RAPDU: 90 00 [11:57:23]wFMCommunicate OK [11:57:23]wFMCommunicate request_size=4 [11:57:23]MH_SAM_APDU [11:57:23]CAPDU: 80 0D 03 02 [11:57:23]Write to MH i2c: E2 08 00 A7 02 80 0D 03 02 00 00 00 00 24 [11:57:23]Write i2c OK [11:57:23]MH_I2C_Read... [11:57:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:57:23]Read from MH i2c: E2 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 0B 00 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 0B 00 A7 02 00 8E 18 1F 7B 98 1B 5F 9F 90 00 16 [11:57:23]RAPDU: 8E 18 1F 7B 98 1B 5F 9F 90 00 [11:57:23]wFMCommunicate OK [11:57:23]SAM_PROTO_SignData done [11:57:23]FM_MakeSignedData done [11:57:23]CreateOFDProtocolMessage [11:57:23]wFMCommunicate request_size=4 [11:57:23]MH_SAM_APDU [11:57:23]CAPDU: 80 11 00 00 [11:57:23]Write to MH i2c: E2 08 00 A8 02 80 11 00 00 00 00 00 00 24 [11:57:23]Write i2c OK [11:57:23]MH_I2C_Read... [11:57:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:23]Read from MH i2c: E2 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 17 00 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 17 00 A8 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 7A [11:57:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [11:57:23]wFMCommunicate OK [11:57:23]CreateOFDProtocolMessage done [11:57:23]OFDSenderStorePacket 1786 [11:57:23]StoreOFDPacket docnum=1786 [11:57:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2C 01 00 00 3B 45 24 01 24 8C 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 14 00 00 00 F4 03 04 00 23 1A 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FA 06 00 00 35 04 06 00 37 FB 24 27 54 1C 8E 18 1F 7B 98 1B 5F 9F [11:57:23]CheckFolder [11:57:23]dirname=/storage/ofd_packets [11:57:23]CheckFolder done [11:57:23]ProducePacketName [11:57:23]name=ofd_packets/00001786 [11:57:23]NVStorageSaveData ofd_packets/00001786 [11:57:23]File name is /storage/ofd_packets/00001786 [11:57:23]Write 330 bytes [11:57:23]NVStorageSaveData done [11:57:23]OFDSenderStorePacket done [11:57:23]KKMCreateOFDPacket done [11:57:23]NVStorageSaveData kkm_last_timestamp [11:57:23]File name is /storage/kkm_last_timestamp [11:57:23]Write 4 bytes [11:57:23]NVStorageSaveData done [11:57:23]ExternCall_PrintAddStr [11:57:23]wPrintStart [11:57:23]Write to MH i2c: 01 00 00 A9 02 AB [11:57:23]Write i2c OK [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: 01 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: 01 07 00 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: 01 07 00 A9 02 00 00 00 00 00 FF 0F C0 [11:57:23]RasterBufferAndPrint [11:57:23]line Счет N : (3)256253 [11:57:23]line ИНН: 02508201610067 [11:57:23]line Контрольно-Кассовый Чек [11:57:23]line ПРОДАЖА [11:57:23]line Товар: 46226617 [11:57:23]line Mentos ПВ Нежная Мята 6*100*2г [11:57:23]line 1.000 * 10.00 [11:57:23]line = 10.00 [11:57:23]line НДС 12% НСП 1% [11:57:23]line > о реализуемом товаре [11:57:23]line ИТОГО: 10.00 [11:57:23]line НСП 1% : 0.09 [11:57:23]line НДС 12% : 1.06 [11:57:23]line Наличными: 10.00 [11:57:23]line Безнал.: 0.00 [11:57:23]line Место: АЗС № 76 "Партнер Нефть" [11:57:23]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [11:57:23]line СНО: Общий режим [11:57:23]line Чек 20 12.07.2024 11:57 [11:57:23]line Смена: 23 ФФД: 1.0 [11:57:23]line ЗНМ: 0300000124 [11:57:23]line РНМ: 0000000000177495 [11:57:23]line Версия ККМ: 001 [11:57:23]line ФМ: 0000000002098592 [11:57:23]line ФД: 1786 [11:57:23]line ФПД: 61551782876188 [11:57:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T115723&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1786&fm=61551782876188&tin=02508201610067®Number=0000000000177495&sum=1000 [11:57:23]line 0 [11:57:23]OFD Sender: Processing packet 1786 [packets to send 1, broken 0] [11:57:23]ProducePacketName [11:57:23]name=ofd_packets/00001786 [11:57:23]OFD Sender: To server: pG, [11:57:23]CommunicateWithHost lk.salyk.kg:30040 [11:57:23]ConnectInit lk.salyk.kg [11:57:23]written 0, free lines is 4095 [11:57:23]Connected sock=10 [11:57:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2C 01 00 00 3B 45 24 01 24 8C 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 14 00 00 00 F4 03 04 00 23 1A 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FA 06 00 00 35 04 06 00 37 FB 24 27 54 1C 8E 18 1F 7B 98 1B 5F 9F [11:57:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 5F B3 47 00 56 68 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 32 30 39 38 35 39 32 10 04 04 00 FA 06 00 00 F4 03 04 00 5B C5 90 66 B6 04 01 00 00 FC 36 88 23 CF 93 F9 0C [11:57:24]CommunicateWithHost err = 0 [11:57:24]CheckOFDResponse [11:57:24]1017 (14) - 77093643461234 [11:57:24]1041 (16) - 0000000002098592 [11:57:24]1040 (4) - 1786 [11:57:24]1012 (4) - 12.07.2024 05:55 [11:57:24]1206 (1) - 0 [11:57:24]OFD Sender: Remove packet 1786 [11:57:24]ProducePacketName [11:57:24]name=ofd_packets/00001786 [11:57:24]NVStorageDeleteData [11:57:24]Write to MH i2c: 01 00 00 D2 02 D4 [11:57:24]Write i2c OK [11:57:24]MH_I2C_Read... [11:57:24]Read from MH i2c: 01 [11:57:24]MH_I2C_Read... [11:57:24]Read from MH i2c: 01 07 00 [11:57:24]MH_I2C_Read... [11:57:24]Read from MH i2c: 01 07 00 D2 02 00 00 00 00 00 DE 0C C5 [11:57:24]RasterBufferAndPrint [11:57:24]line [11:57:24]line [11:57:24]line [11:57:24]line [11:57:24]line [11:57:24]written 0, free lines is 3300 [11:57:24]MH_Cut [11:57:24]Write to MH i2c: D1 01 00 D9 02 01 AD [11:57:24]Write i2c OK [11:57:24]MH_I2C_Read... [11:57:24]Read from MH i2c: D1 [11:57:24]MH_I2C_Read... [11:57:24]Read from MH i2c: D1 01 00 [11:57:24]MH_I2C_Read... [11:57:24]Read from MH i2c: D1 01 00 D9 02 00 AC [11:57:24]Write to MH i2c: 01 00 00 DA 02 DC [11:57:24]Write i2c OK [11:57:24]MH_I2C_Read... [11:57:24]OFD Sender: No OFD packet to send [11:57:24]*** Cut start [11:57:24]*** Partial cut [11:57:24]*** CUTSNS_PIN = 1 [11:57:25]*** CUTSNS_PIN = 0 [11:57:25]*** Brake cut motor [11:57:25]Read from MH i2c: 01 [11:57:25]MH_I2C_Read... [11:57:25]*** Stop cut motor [11:57:25]*** Cut end [11:57:25]Read from MH i2c: 01 07 00 [11:57:25]MH_I2C_Read... [11:57:25]Read from MH i2c: 01 07 00 DA 02 00 00 00 00 00 FF 0F F1 [11:57:25]process_action close_receipt done [11:57:25]requested_data is exist [11:57:25]produce_requested_data [11:57:25]requested_item fm.sn is exist - process it [11:57:25]wFMCommunicate request_size=4 [11:57:25]MH_SAM_APDU [11:57:25]CAPDU: 80 11 00 00 [11:57:25]Write to MH i2c: E2 08 00 DB 02 80 11 00 00 00 00 00 00 57 [11:57:25]Write i2c OK [11:57:25]MH_I2C_Read... [11:57:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:25]Read from MH i2c: E2 [11:57:25]MH_I2C_Read... [11:57:25]Read from MH i2c: E2 17 00 [11:57:25]MH_I2C_Read... [11:57:25]Read from MH i2c: E2 17 00 DB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 AD [11:57:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [11:57:25]wFMCommunicate OK [11:57:25]requested_item fd.num is exist - process it [11:57:25]SAM_PROTO_GetFieldsCounters [11:57:25]wFMCommunicate request_size=4 [11:57:25]MH_SAM_APDU [11:57:25]CAPDU: 80 13 00 00 [11:57:25]Write to MH i2c: E2 08 00 DC 02 80 13 00 00 00 00 00 00 5A [11:57:25]Write i2c OK [11:57:25]MH_I2C_Read... [11:57:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:57:25]Read from MH i2c: E2 [11:57:25]MH_I2C_Read... [11:57:25]Read from MH i2c: E2 62 00 [11:57:25]MH_I2C_Read... [11:57:25]Read from MH i2c: E2 62 00 DC 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FA 06 00 00 0E 04 04 00 17 00 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 D9 [11:57:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FA 06 00 00 0E 04 04 00 17 00 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:57:25]wFMCommunicate OK [11:57:25]SAM_PROTO_GetFieldsCounters done [11:57:25]requested_item shift.num is exist - process it [11:57:25]requested_item shift.opened is exist - process it [11:57:25]req_shift_opened [11:57:25]FM_GetShiftState [11:57:25]SAM_PROTO_GetShiftState [11:57:25]wFMCommunicate request_size=4 [11:57:25]MH_SAM_APDU [11:57:25]CAPDU: 80 13 01 00 [11:57:25]Write to MH i2c: E2 08 00 DD 02 80 13 01 00 00 00 00 00 5C [11:57:25]Write i2c OK [11:57:25]MH_I2C_Read... [11:57:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:25]Read from MH i2c: E2 [11:57:25]MH_I2C_Read... [11:57:25]Read from MH i2c: E2 0E 00 [11:57:25]MH_I2C_Read... [11:57:25]Read from MH i2c: E2 0E 00 DD 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 15 [11:57:25]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [11:57:25]wFMCommunicate OK [11:57:25]SAM_PROTO_GetShiftState done [11:57:25]FM_GetShiftState done [11:57:25]req_shift_opened done [11:57:25]requested_item shift.open_date is exist - process it [11:57:25]req_shift_open_date [11:57:25]req_shift_open_date done [11:57:25]produce_requested_data done [11:57:25]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1786,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [11:57:25]process_action_free close_receipt [11:57:25]json_value_free [11:57:25]json_value_free done [11:57:25]process_json_proto returns [11:57:25]Send response to host [11:57:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1786,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [11:57:25]free response buf [11:57:25]execute_script done [11:57:25]execute_script returns [11:57:25]free content buf [11:57:25]Sock 9.Close socket [11:57:25]Sock 9.Thread stoped [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:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]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:00]accept exits with 8 [12:12:00]New connection [12:12:00]New thread 3067002212 created [12:12:00]Thread 3067145572 joined [12:12:00]Waiting for new connection... [12:12:00] Sock 8.Parse request [12:12:00]Sock 8.Check first char [12:12:00]Sock 8.First char is OK [12:12:00]request: POST /json_proto HTTP/1.0 [12:12:00]Method: POST [12:12:00]URL: /json_proto [12:12:00]Method is POST - this is cgi request [12:12:00]url: /json_proto [12:12:00]query_string will be loaded in cgi processing [12:12:00]execute_cgi json_proto POST (null) [12:12:00]execute_cgi path=json_proto method=POST [12:12:00]POST find Content-Length [12:12:00]Host: 172.17.35.133:8080 [12:12:00]Content-Length: 698 [12:12:00]Content-Type: application/json [12:12:00] [12:12:00]POST finish read [12:12:00]Found Content-Length = 698 [12:12:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256254", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:12:00]execute_script... [12:12:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256254", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:12:00]POST & json_proto [12:12:00]process_json_proto [12:12:00]json parsed OK: [12:12:00]protocol is kg_v1.0 [12:12:00]action value=close_receipt [12:12:00]process_action close_receipt [12:12:00]cmd_close_receipt [12:12:00]MH_GetDate [12:12:00]Write to MH i2c: F0 00 00 DE 02 CF [12:12:00]Write i2c OK [12:12:00]MH_I2C_Read... [12:12:00]Read from MH i2c: F0 [12:12:00]MH_I2C_Read... [12:12:00]Read from MH i2c: F0 09 00 [12:12:00]MH_I2C_Read... [12:12:00]Read from MH i2c: F0 09 00 DE 02 00 92 1D 91 66 1B 28 2A 66 51 [12:12:00]GetLastDocTimeStamp 1720785443 [12:12:00]current date 1720786322 [12:12:00]FM_GetShiftState [12:12:00]SAM_PROTO_GetShiftState [12:12:00]wFMCommunicate request_size=4 [12:12:00]MH_SAM_APDU [12:12:00]CAPDU: 80 13 01 00 [12:12:00]Write to MH i2c: E2 08 00 DF 02 80 13 01 00 00 00 00 00 5E [12:12:00]Write i2c OK [12:12:00]MH_I2C_Read... [12:12:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:00]Read from MH i2c: E2 [12:12:00]MH_I2C_Read... [12:12:00]Read from MH i2c: E2 0E 00 [12:12:00]MH_I2C_Read... [12:12:00]Read from MH i2c: E2 0E 00 DF 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 17 [12:12:00]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [12:12:00]wFMCommunicate OK [12:12:00]SAM_PROTO_GetShiftState done [12:12:00]FM_GetShiftState done [12:12:00]opened in 1720742979 [12:12:00]opened+sec_in_day 1720829379 [12:12:00]quantity*price = 10000 [12:12:00]sum+1 = 10001 [12:12:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 21 12.07.2024 12:12 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1787 ФПД: 209679105842676 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121202&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1787&fm=209679105842676&tin=02508201610067®Number=0000000000177495&sum=10000 0 [12:12:01]StoreToDocumentArchive [12:12:01]shift 23 fd 1787 [12:12:01]save to /storage/0023/doc_00001787 [12:12:01]save last doc name /storage/0023/doc_00001787 to /storage/kkm_last_doc_name [12:12:01]save OK [12:12:01]Clear old archive folders... [12:12:01]ProcessDocumentItem done err = 0, tmpTLVsize=298 [12:12:01]tlvbuf is 01092690 [12:12:01]SAM_PROTO_ClearQueue [12:12:01]wFMCommunicate request_size=4 [12:12:01]MH_SAM_APDU [12:12:01]CAPDU: 80 09 00 00 [12:12:01]Write to MH i2c: E2 08 00 EC 02 80 09 00 00 00 00 00 00 60 [12:12:01]Write i2c OK [12:12:01]MH_I2C_Read... [12:12:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:12:01]Read from MH i2c: E2 [12:12:01]MH_I2C_Read... [12:12:01]Read from MH i2c: E2 03 00 [12:12:01]MH_I2C_Read... [12:12:01]Read from MH i2c: E2 03 00 EC 02 00 90 00 62 [12:12:01]RAPDU: 90 00 [12:12:01]wFMCommunicate OK [12:12:01]SAM_PROTO_ClearQueue done [12:12:01]KKMCreateOFDPacket [12:12:01]OFDProtocolAddRootSTLVToBuf [12:12:01]FM_MakeSignedData [12:12:01]FM_MakeSignedData [12:12:01]SAM_PROTO_SignData [12:12:01]wFMCommunicate request_size=4 [12:12:01]MH_SAM_APDU [12:12:01]CAPDU: 80 0D 01 02 [12:12:01]Write to MH i2c: E2 08 00 ED 02 80 0D 01 02 00 00 00 00 68 [12:12:01]Write i2c OK [12:12:01]MH_I2C_Read... [12:12:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:12:01]Read from MH i2c: E2 [12:12:01]MH_I2C_Read... [12:12:01]Read from MH i2c: E2 03 00 [12:12:01]MH_I2C_Read... [12:12:01]Read from MH i2c: E2 03 00 ED 02 00 90 00 63 [12:12:01]RAPDU: 90 00 [12:12:01]wFMCommunicate OK [12:12:01]wFMCommunicate request_size=255 [12:12:01]MH_SAM_APDU [12:12:01]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 92 1D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [12:12:02]Write to MH i2c: E2 02 01 EE 02 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 92 1D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 A3 [12:12:02]Write i2c OK [12:12:02]MH_I2C_Read... [12:12:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:02]Read from MH i2c: E2 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: E2 03 00 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: E2 03 00 EE 02 00 90 00 64 [12:12:02]RAPDU: 90 00 [12:12:02]wFMCommunicate OK [12:12:02]wFMCommunicate request_size=57 [12:12:02]MH_SAM_APDU [12:12:02]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FB 06 00 00 35 04 06 00 BE B3 B8 9E DD F4 [12:12:02]Write to MH i2c: E2 3C 00 EF 02 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FB 06 00 00 35 04 06 00 BE B3 B8 9E DD F4 00 00 CC [12:12:02]Write i2c OK [12:12:02]MH_I2C_Read... [12:12:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:02]Read from MH i2c: E2 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: E2 03 00 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: E2 03 00 EF 02 00 90 00 65 [12:12:02]RAPDU: 90 00 [12:12:02]wFMCommunicate OK [12:12:02]wFMCommunicate request_size=4 [12:12:02]MH_SAM_APDU [12:12:02]CAPDU: 80 0D 03 02 [12:12:02]Write to MH i2c: E2 08 00 F0 02 80 0D 03 02 00 00 00 00 6D [12:12:02]Write i2c OK [12:12:02]MH_I2C_Read... [12:12:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:12:02]Read from MH i2c: E2 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: E2 0B 00 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: E2 0B 00 F0 02 00 F1 08 48 C3 D0 50 47 11 90 00 EA [12:12:02]RAPDU: F1 08 48 C3 D0 50 47 11 90 00 [12:12:02]wFMCommunicate OK [12:12:02]SAM_PROTO_SignData done [12:12:02]FM_MakeSignedData done [12:12:02]CreateOFDProtocolMessage [12:12:02]wFMCommunicate request_size=4 [12:12:02]MH_SAM_APDU [12:12:02]CAPDU: 80 11 00 00 [12:12:02]Write to MH i2c: E2 08 00 F1 02 80 11 00 00 00 00 00 00 6D [12:12:02]Write i2c OK [12:12:02]MH_I2C_Read... [12:12:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:02]Read from MH i2c: E2 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: E2 17 00 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: E2 17 00 F1 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 C3 [12:12:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [12:12:02]wFMCommunicate OK [12:12:02]CreateOFDProtocolMessage done [12:12:02]OFDSenderStorePacket 1787 [12:12:02]StoreOFDPacket docnum=1787 [12:12:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3E 01 00 00 2B F9 36 01 40 4F 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 92 1D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FB 06 00 00 35 04 06 00 BE B3 B8 9E DD F4 F1 08 48 C3 D0 50 47 11 [12:12:02]CheckFolder [12:12:02]dirname=/storage/ofd_packets [12:12:02]CheckFolder done [12:12:02]ProducePacketName [12:12:02]name=ofd_packets/00001787 [12:12:02]NVStorageSaveData ofd_packets/00001787 [12:12:02]File name is /storage/ofd_packets/00001787 [12:12:02]Write 348 bytes [12:12:02]NVStorageSaveData done [12:12:02]OFDSenderStorePacket done [12:12:02]KKMCreateOFDPacket done [12:12:02]NVStorageSaveData kkm_last_timestamp [12:12:02]File name is /storage/kkm_last_timestamp [12:12:02]Write 4 bytes [12:12:02]NVStorageSaveData done [12:12:02]ExternCall_PrintAddStr [12:12:02]wPrintStart [12:12:02]Write to MH i2c: 01 00 00 F2 02 F4 [12:12:02]Write i2c OK [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: 01 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: 01 07 00 [12:12:02]MH_I2C_Read... [12:12:02]Read from MH i2c: 01 07 00 F2 02 00 00 00 00 00 FF 0F 09 [12:12:02]RasterBufferAndPrint [12:12:02]line Счет N : (3)256254 [12:12:02]line ИНН: 02508201610067 [12:12:02]line Контрольно-Кассовый Чек [12:12:02]line ПРОДАЖА [12:12:02]line Товар: 4870001571528 [12:12:02]line Вода ASU пит н.газ персик ПЭТ 1,0 л [12:12:02]line 1.000 * 100.00 [12:12:02]line = 100.00 [12:12:02]line НДС 12% НСП 1% [12:12:02]line > о реализуемом товаре [12:12:02]line ИТОГО: 100.00 [12:12:02]line НСП 1% : 0.88 [12:12:02]line НДС 12% : 10.62 [12:12:02]line Наличными: 100.00 [12:12:02]line Безнал.: 0.00 [12:12:02]line Место: АЗС № 76 "Партнер Нефть" [12:12:02]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [12:12:02]line СНО: Общий режим [12:12:02]line Чек 21 12.07.2024 12:12 [12:12:02]line Смена: 23 ФФД: 1.0 [12:12:02]line ЗНМ: 0300000124 [12:12:02]line РНМ: 0000000000177495 [12:12:02]line Версия ККМ: 001 [12:12:02]line ФМ: 0000000002098592 [12:12:02]line ФД: 1787 [12:12:02]line ФПД: 209679105842676 [12:12:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121202&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1787&fm=209679105842676&tin=02508201610067®Number=0000000000177495&sum=10000 [12:12:02]line 0 [12:12:02]OFD Sender: Processing packet 1787 [packets to send 1, broken 0] [12:12:02]ProducePacketName [12:12:02]name=ofd_packets/00001787 [12:12:02]OFD Sender: To server: pG, [12:12:02]CommunicateWithHost lk.salyk.kg:30040 [12:12:02]ConnectInit lk.salyk.kg [12:12:02]written 0, free lines is 4095 [12:12:02]Connected sock=10 [12:12:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3E 01 00 00 2B F9 36 01 40 4F 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 92 1D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FB 06 00 00 35 04 06 00 BE B3 B8 9E DD F4 F1 08 48 C3 D0 50 47 11 [12:12:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 AC 58 47 00 8F 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 32 30 39 38 35 39 32 10 04 04 00 FB 06 00 00 F4 03 04 00 CA C8 90 66 B6 04 01 00 00 F4 F7 85 AD F9 F7 87 45 [12:12:03]CommunicateWithHost err = 0 [12:12:03]CheckOFDResponse [12:12:03]1017 (14) - 77093643461234 [12:12:03]1041 (16) - 0000000002098592 [12:12:03]1040 (4) - 1787 [12:12:03]1012 (4) - 12.07.2024 06:10 [12:12:03]1206 (1) - 0 [12:12:03]OFD Sender: Remove packet 1787 [12:12:03]ProducePacketName [12:12:03]name=ofd_packets/00001787 [12:12:03]NVStorageDeleteData [12:12:03]Write to MH i2c: 01 00 00 1B 03 1E [12:12:03]Write i2c OK [12:12:03]MH_I2C_Read... [12:12:03]Read from MH i2c: 01 [12:12:03]MH_I2C_Read... [12:12:03]Read from MH i2c: 01 07 00 [12:12:03]MH_I2C_Read... [12:12:03]Read from MH i2c: 01 07 00 1B 03 00 00 00 00 00 FF 0C 30 [12:12:03]RasterBufferAndPrint [12:12:03]line [12:12:03]line [12:12:03]line [12:12:03]line [12:12:03]line [12:12:03]written 0, free lines is 3334 [12:12:03]MH_Cut [12:12:03]Write to MH i2c: D1 01 00 22 03 01 F7 [12:12:03]Write i2c OK [12:12:03]MH_I2C_Read... [12:12:03]Read from MH i2c: D1 [12:12:03]MH_I2C_Read... [12:12:03]Read from MH i2c: D1 01 00 [12:12:03]MH_I2C_Read... [12:12:03]Read from MH i2c: D1 01 00 22 03 00 F6 [12:12:03]Write to MH i2c: 01 00 00 23 03 26 [12:12:03]Write i2c OK [12:12:03]MH_I2C_Read... [12:12:03]OFD Sender: No OFD packet to send [12:12:03]*** Cut start [12:12:03]*** Partial cut [12:12:03]*** CUTSNS_PIN = 1 [12:12:04]*** CUTSNS_PIN = 0 [12:12:04]*** Brake cut motor [12:12:04]Read from MH i2c: 01 [12:12:04]MH_I2C_Read... [12:12:04]*** Stop cut motor [12:12:04]*** Cut end [12:12:04]Read from MH i2c: 01 07 00 [12:12:04]MH_I2C_Read... [12:12:04]Read from MH i2c: 01 07 00 23 03 00 00 00 00 00 FF 0F 3B [12:12:04]process_action close_receipt done [12:12:04]requested_data is exist [12:12:04]produce_requested_data [12:12:04]requested_item fm.sn is exist - process it [12:12:04]wFMCommunicate request_size=4 [12:12:04]MH_SAM_APDU [12:12:04]CAPDU: 80 11 00 00 [12:12:04]Write to MH i2c: E2 08 00 24 03 80 11 00 00 00 00 00 00 A1 [12:12:04]Write i2c OK [12:12:04]MH_I2C_Read... [12:12:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:04]Read from MH i2c: E2 [12:12:04]MH_I2C_Read... [12:12:04]Read from MH i2c: E2 17 00 [12:12:04]MH_I2C_Read... [12:12:04]Read from MH i2c: E2 17 00 24 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 F7 [12:12:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [12:12:04]wFMCommunicate OK [12:12:04]requested_item fd.num is exist - process it [12:12:04]SAM_PROTO_GetFieldsCounters [12:12:04]wFMCommunicate request_size=4 [12:12:04]MH_SAM_APDU [12:12:04]CAPDU: 80 13 00 00 [12:12:04]Write to MH i2c: E2 08 00 25 03 80 13 00 00 00 00 00 00 A4 [12:12:04]Write i2c OK [12:12:04]MH_I2C_Read... [12:12:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:12:04]Read from MH i2c: E2 [12:12:04]MH_I2C_Read... [12:12:04]Read from MH i2c: E2 62 00 [12:12:04]MH_I2C_Read... [12:12:04]Read from MH i2c: E2 62 00 25 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FB 06 00 00 0E 04 04 00 17 00 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 27 [12:12:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FB 06 00 00 0E 04 04 00 17 00 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 [12:12:04]wFMCommunicate OK [12:12:04]SAM_PROTO_GetFieldsCounters done [12:12:04]requested_item shift.num is exist - process it [12:12:04]requested_item shift.opened is exist - process it [12:12:04]req_shift_opened [12:12:04]FM_GetShiftState [12:12:04]SAM_PROTO_GetShiftState [12:12:04]wFMCommunicate request_size=4 [12:12:04]MH_SAM_APDU [12:12:04]CAPDU: 80 13 01 00 [12:12:04]Write to MH i2c: E2 08 00 26 03 80 13 01 00 00 00 00 00 A6 [12:12:04]Write i2c OK [12:12:04]MH_I2C_Read... [12:12:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:04]Read from MH i2c: E2 [12:12:04]MH_I2C_Read... [12:12:04]Read from MH i2c: E2 0E 00 [12:12:04]MH_I2C_Read... [12:12:04]Read from MH i2c: E2 0E 00 26 03 00 09 00 01 43 74 90 66 00 00 00 00 90 00 5F [12:12:04]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [12:12:04]wFMCommunicate OK [12:12:04]SAM_PROTO_GetShiftState done [12:12:04]FM_GetShiftState done [12:12:04]req_shift_opened done [12:12:04]requested_item shift.open_date is exist - process it [12:12:04]req_shift_open_date [12:12:04]req_shift_open_date done [12:12:04]produce_requested_data done [12:12:04]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1787,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [12:12:04]process_action_free close_receipt [12:12:04]json_value_free [12:12:04]json_value_free done [12:12:04]process_json_proto returns [12:12:04]Send response to host [12:12:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1787,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [12:12:04]free response buf [12:12:04]execute_script done [12:12:04]execute_script returns [12:12:04]free content buf [12:12:04]Sock 8.Close socket [12:12:04]Sock 8.Thread stoped [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:32]accept exits with 9 [12:12:32]New connection [12:12:32]New thread 3067145572 created [12:12:32]Thread 3067002212 joined [12:12:32]Waiting for new connection... [12:12:32] Sock 9.Parse request [12:12:32]Sock 9.Check first char [12:12:32]Sock 9.First char is OK [12:12:32]request: POST /json_proto HTTP/1.0 [12:12:32]Method: POST [12:12:32]URL: /json_proto [12:12:32]Method is POST - this is cgi request [12:12:32]url: /json_proto [12:12:32]query_string will be loaded in cgi processing [12:12:32]execute_cgi json_proto POST (null) [12:12:32]execute_cgi path=json_proto method=POST [12:12:32]POST find Content-Length [12:12:32]Host: 172.17.35.133:8080 [12:12:32]Content-Length: 985 [12:12:32]Content-Type: application/json [12:12:32] [12:12:32]POST finish read [12:12:32]Found Content-Length = 985 [12:12:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256255", "tax_sys" : 0, "items" : [ { "code": "4870235681383", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u041C\u0415\u0422\u0410\u041D\u0410/\u0417\u0415\u041B\u0415\u041D\u042C 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\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" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:12:32]execute_script... [12:12:32]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)256255", "tax_sys" : 0, "items" : [ { "code": "4870235681383", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u041C\u0415\u0422\u0410\u041D\u0410/\u0417\u0415\u041B\u0415\u041D\u042C 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\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" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:12:32]POST & json_proto [12:12:32]process_json_proto [12:12:32]json parsed OK: [12:12:32]protocol is kg_v1.0 [12:12:32]action value=close_receipt [12:12:32]process_action close_receipt [12:12:32]cmd_close_receipt [12:12:32]MH_GetDate [12:12:32]Write to MH i2c: F0 00 00 27 03 19 [12:12:32]Write i2c OK [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: F0 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: F0 09 00 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: F0 09 00 27 03 00 B1 1D 91 66 1B 28 2A 66 BA [12:12:32]GetLastDocTimeStamp 1720786322 [12:12:32]current date 1720786353 [12:12:32]FM_GetShiftState [12:12:32]SAM_PROTO_GetShiftState [12:12:32]wFMCommunicate request_size=4 [12:12:32]MH_SAM_APDU [12:12:32]CAPDU: 80 13 01 00 [12:12:32]Write to MH i2c: E2 08 00 28 03 80 13 01 00 00 00 00 00 A8 [12:12:32]Write i2c OK [12:12:32]MH_I2C_Read... [12:12:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:32]Read from MH i2c: E2 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 0E 00 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 0E 00 28 03 00 09 00 01 43 74 90 66 00 00 00 00 90 00 61 [12:12:32]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [12:12:32]wFMCommunicate OK [12:12:32]SAM_PROTO_GetShiftState done [12:12:32]FM_GetShiftState done [12:12:32]opened in 1720742979 [12:12:32]opened+sec_in_day 1720829379 [12:12:32]quantity*price = 9500 [12:12:32]sum+1 = 9501 [12:12:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160051 Вода Ыссык Ата 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 22 12.07.2024 12:12 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1788 ФПД: 255087166145407 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121233&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1788&fm=255087166145407&tin=02508201610067®Number=0000000000177495&sum=14500 0 [12:12:33]StoreToDocumentArchive [12:12:33]shift 23 fd 1788 [12:12:33]save to /storage/0023/doc_00001788 [12:12:33]save last doc name /storage/0023/doc_00001788 to /storage/kkm_last_doc_name [12:12:33]save OK [12:12:33]Clear old archive folders... [12:12:33]ProcessDocumentItem done err = 0, tmpTLVsize=411 [12:12:33]tlvbuf is 01072190 [12:12:33]SAM_PROTO_ClearQueue [12:12:33]wFMCommunicate request_size=4 [12:12:33]MH_SAM_APDU [12:12:33]CAPDU: 80 09 00 00 [12:12:33]Write to MH i2c: E2 08 00 35 03 80 09 00 00 00 00 00 00 AA [12:12:33]Write i2c OK [12:12:33]MH_I2C_Read... [12:12:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 03 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 03 00 35 03 00 90 00 AC [12:12:33]RAPDU: 90 00 [12:12:33]wFMCommunicate OK [12:12:33]SAM_PROTO_ClearQueue done [12:12:33]KKMCreateOFDPacket [12:12:33]OFDProtocolAddRootSTLVToBuf [12:12:33]FM_MakeSignedData [12:12:33]FM_MakeSignedData [12:12:33]SAM_PROTO_SignData [12:12:33]wFMCommunicate request_size=4 [12:12:33]MH_SAM_APDU [12:12:33]CAPDU: 80 0D 01 02 [12:12:33]Write to MH i2c: E2 08 00 36 03 80 0D 01 02 00 00 00 00 B2 [12:12:33]Write i2c OK [12:12:33]MH_I2C_Read... [12:12:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 03 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 03 00 36 03 00 90 00 AD [12:12:33]RAPDU: 90 00 [12:12:33]wFMCommunicate OK [12:12:33]wFMCommunicate request_size=255 [12:12:33]MH_SAM_APDU [12:12:33]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 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 [12:12:33]Write to MH i2c: E2 02 01 37 03 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 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 00 00 AA [12:12:33]Write i2c OK [12:12:33]MH_I2C_Read... [12:12:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 03 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 03 00 37 03 00 90 00 AE [12:12:33]RAPDU: 90 00 [12:12:33]wFMCommunicate OK [12:12:33]wFMCommunicate request_size=170 [12:12:33]MH_SAM_APDU [12:12:33]CAPDU: 80 0D 02 02 A5 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 16 00 00 00 F4 03 04 00 B1 1D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FC 06 00 00 35 04 06 00 E8 00 1B EC C3 7F [12:12:33]Write to MH i2c: E2 AD 00 38 03 80 0D 02 02 A5 00 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 16 00 00 00 F4 03 04 00 B1 1D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FC 06 00 00 35 04 06 00 E8 00 1B EC C3 7F 00 00 B3 [12:12:33]Write i2c OK [12:12:33]MH_I2C_Read... [12:12:33]OFD Sender: No OFD packet to send [12:12:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 03 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 03 00 38 03 00 90 00 AF [12:12:33]RAPDU: 90 00 [12:12:33]wFMCommunicate OK [12:12:33]wFMCommunicate request_size=4 [12:12:33]MH_SAM_APDU [12:12:33]CAPDU: 80 0D 03 02 [12:12:33]Write to MH i2c: E2 08 00 39 03 80 0D 03 02 00 00 00 00 B7 [12:12:33]Write i2c OK [12:12:33]MH_I2C_Read... [12:12:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 0B 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 0B 00 39 03 00 38 F5 20 3F 80 27 2A 8A 90 00 9F [12:12:33]RAPDU: 38 F5 20 3F 80 27 2A 8A 90 00 [12:12:33]wFMCommunicate OK [12:12:33]SAM_PROTO_SignData done [12:12:33]FM_MakeSignedData done [12:12:33]CreateOFDProtocolMessage [12:12:33]wFMCommunicate request_size=4 [12:12:33]MH_SAM_APDU [12:12:33]CAPDU: 80 11 00 00 [12:12:33]Write to MH i2c: E2 08 00 3A 03 80 11 00 00 00 00 00 00 B7 [12:12:33]Write i2c OK [12:12:33]MH_I2C_Read... [12:12:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 17 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 17 00 3A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 0D [12:12:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [12:12:33]wFMCommunicate OK [12:12:33]CreateOFDProtocolMessage done [12:12:33]OFDSenderStorePacket 1788 [12:12:33]StoreOFDPacket docnum=1788 [12:12:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 AF 01 00 00 70 77 A7 01 05 AE 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 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 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 16 00 00 00 F4 03 04 00 B1 1D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FC 06 00 00 35 04 06 00 E8 00 1B EC C3 7F 38 F5 20 3F 80 27 2A 8A [12:12:33]CheckFolder [12:12:33]dirname=/storage/ofd_packets [12:12:33]CheckFolder done [12:12:33]ProducePacketName [12:12:33]name=ofd_packets/00001788 [12:12:33]NVStorageSaveData ofd_packets/00001788 [12:12:33]File name is /storage/ofd_packets/00001788 [12:12:33]Write 461 bytes [12:12:33]NVStorageSaveData done [12:12:33]OFDSenderStorePacket done [12:12:33]KKMCreateOFDPacket done [12:12:33]NVStorageSaveData kkm_last_timestamp [12:12:33]File name is /storage/kkm_last_timestamp [12:12:33]Write 4 bytes [12:12:33]NVStorageSaveData done [12:12:34]ExternCall_PrintAddStr [12:12:34]wPrintStart [12:12:34]Write to MH i2c: 01 00 00 3B 03 3E [12:12:34]OFD Sender: Processing packet 1788 [packets to send 1, broken 0] [12:12:34]ProducePacketName [12:12:34]name=ofd_packets/00001788 [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: 01 [12:12:34]MH_I2C_Read... [12:12:34]OFD Sender: To server: pG, [12:12:34]CommunicateWithHost lk.salyk.kg:30040 [12:12:34]ConnectInit lk.salyk.kg [12:12:34]Read from MH i2c: 01 07 00 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: 01 07 00 3B 03 00 00 00 00 00 FF 0F 53 [12:12:34]RasterBufferAndPrint [12:12:34]line Счет N : (3)256255 [12:12:34]line ИНН: 02508201610067 [12:12:34]line Контрольно-Кассовый Чек [12:12:34]line ПРОДАЖА [12:12:34]line Товар: 4870235681383 [12:12:34]line ЧИПСЫ SLANG СО ВКУСОМ СМЕТАНА/ЗЕЛЕНЬ 60Г [12:12:34]line 1.000 * 95.00 [12:12:34]line = 95.00 [12:12:34]line НДС 12% НСП 1% [12:12:34]line > о реализуемом товаре [12:12:34]line Товар: 4700000160051 [12:12:34]line Вода Ыссык Ата 1л [12:12:34]line 1.000 * 50.00 [12:12:34]line = 50.00 [12:12:34]line НДС 12% НСП 1% [12:12:34]line > о реализуемом товаре [12:12:34]line ИТОГО: 145.00 [12:12:34]line НСП 1% : 1.28 [12:12:34]line НДС 12% : 15.40 [12:12:34]line Наличными: 145.00 [12:12:34]line Безнал.: 0.00 [12:12:34]line Место: АЗС № 76 "Партнер Нефть" [12:12:34]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [12:12:34]line СНО: Общий режим [12:12:34]line Чек 22 12.07.2024 12:12 [12:12:34]line Смена: 23 ФФД: 1.0 [12:12:34]line ЗНМ: 0300000124 [12:12:34]line РНМ: 0000000000177495 [12:12:34]line Версия ККМ: 001 [12:12:34]line ФМ: 0000000002098592 [12:12:34]line ФД: 1788 [12:12:34]line ФПД: 255087166145407 [12:12:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121233&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1788&fm=255087166145407&tin=02508201610067®Number=0000000000177495&sum=14500 [12:12:34]line 0 [12:12:34]written 0, free lines is 4095 [12:12:34]Connected sock=10 [12:12:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 AF 01 00 00 70 77 A7 01 05 AE 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 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 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 16 00 00 00 F4 03 04 00 B1 1D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FC 06 00 00 35 04 06 00 E8 00 1B EC C3 7F 38 F5 20 3F 80 27 2A 8A [12:12:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 CB EB 47 00 E7 0E 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 32 30 39 38 35 39 32 10 04 04 00 FC 06 00 00 F4 03 04 00 EA C8 90 66 B6 04 01 00 00 3A 0B 49 ED E4 86 67 27 [12:12:34]CommunicateWithHost err = 0 [12:12:34]CheckOFDResponse [12:12:34]1017 (14) - 77093643461234 [12:12:34]1041 (16) - 0000000002098592 [12:12:34]1040 (4) - 1788 [12:12:34]1012 (4) - 12.07.2024 06:10 [12:12:34]1206 (1) - 0 [12:12:34]OFD Sender: Remove packet 1788 [12:12:34]ProducePacketName [12:12:34]name=ofd_packets/00001788 [12:12:34]NVStorageDeleteData [12:12:34]Write to MH i2c: 01 00 00 6A 03 6D [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: 01 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: 01 07 00 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: 01 07 00 6A 03 00 00 00 00 00 B3 0C 33 [12:12:34]RasterBufferAndPrint [12:12:34]line [12:12:34]line [12:12:34]line [12:12:34]line [12:12:34]line [12:12:34]written 0, free lines is 3258 [12:12:34]MH_Cut [12:12:34]Write to MH i2c: D1 01 00 71 03 01 46 [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: D1 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: D1 01 00 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: D1 01 00 71 03 00 45 [12:12:34]Write to MH i2c: 01 00 00 72 03 75 [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]OFD Sender: No OFD packet to send [12:12:35]*** Cut start [12:12:35]*** Partial cut [12:12:35]*** CUTSNS_PIN = 1 [12:12:35]*** CUTSNS_PIN = 0 [12:12:35]*** Brake cut motor [12:12:36]Read from MH i2c: 01 [12:12:36]MH_I2C_Read... [12:12:36]*** Stop cut motor [12:12:36]*** Cut end [12:12:36]Read from MH i2c: 01 07 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: 01 07 00 72 03 00 00 00 00 00 FF 0F 8A [12:12:36]process_action close_receipt done [12:12:36]requested_data is exist [12:12:36]produce_requested_data [12:12:36]requested_item fm.sn is exist - process it [12:12:36]wFMCommunicate request_size=4 [12:12:36]MH_SAM_APDU [12:12:36]CAPDU: 80 11 00 00 [12:12:36]Write to MH i2c: E2 08 00 73 03 80 11 00 00 00 00 00 00 F0 [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:36]Read from MH i2c: E2 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 17 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 17 00 73 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 46 [12:12:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [12:12:36]wFMCommunicate OK [12:12:36]requested_item fd.num is exist - process it [12:12:36]SAM_PROTO_GetFieldsCounters [12:12:36]wFMCommunicate request_size=4 [12:12:36]MH_SAM_APDU [12:12:36]CAPDU: 80 13 00 00 [12:12:36]Write to MH i2c: E2 08 00 74 03 80 13 00 00 00 00 00 00 F3 [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:12:36]Read from MH i2c: E2 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 62 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 62 00 74 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FC 06 00 00 0E 04 04 00 17 00 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 7A [12:12:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FC 06 00 00 0E 04 04 00 17 00 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:12:36]wFMCommunicate OK [12:12:36]SAM_PROTO_GetFieldsCounters done [12:12:36]requested_item shift.num is exist - process it [12:12:36]requested_item shift.opened is exist - process it [12:12:36]req_shift_opened [12:12:36]FM_GetShiftState [12:12:36]SAM_PROTO_GetShiftState [12:12:36]wFMCommunicate request_size=4 [12:12:36]MH_SAM_APDU [12:12:36]CAPDU: 80 13 01 00 [12:12:36]Write to MH i2c: E2 08 00 75 03 80 13 01 00 00 00 00 00 F5 [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:36]Read from MH i2c: E2 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 0E 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 0E 00 75 03 00 09 00 01 43 74 90 66 00 00 00 00 90 00 AE [12:12:36]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [12:12:36]wFMCommunicate OK [12:12:36]SAM_PROTO_GetShiftState done [12:12:36]FM_GetShiftState done [12:12:36]req_shift_opened done [12:12:36]requested_item shift.open_date is exist - process it [12:12:36]req_shift_open_date [12:12:36]req_shift_open_date done [12:12:36]produce_requested_data done [12:12:36]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1788,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [12:12:36]process_action_free close_receipt [12:12:36]json_value_free [12:12:36]json_value_free done [12:12:36]process_json_proto returns [12:12:36]Send response to host [12:12:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1788,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [12:12:36]free response buf [12:12:36]execute_script done [12:12:36]execute_script returns [12:12:36]free content buf [12:12:36]Sock 9.Close socket [12:12:36]Sock 9.Thread stoped [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:25]accept exits with 8 [12:16:25]New connection [12:16:25]New thread 3067002212 created [12:16:25]Thread 3067145572 joined [12:16:25]Waiting for new connection... [12:16:25] Sock 8.Parse request [12:16:25]Sock 8.Check first char [12:16:25]Sock 8.First char is OK [12:16:25]request: POST /json_proto HTTP/1.0 [12:16:25]Method: POST [12:16:25]URL: /json_proto [12:16:25]Method is POST - this is cgi request [12:16:25]url: /json_proto [12:16:25]query_string will be loaded in cgi processing [12:16:25]execute_cgi json_proto POST (null) [12:16:25]execute_cgi path=json_proto method=POST [12:16:25]POST find Content-Length [12:16:25]Host: 172.17.35.133:8080 [12:16:25]Content-Length: 978 [12:16:25]Content-Type: application/json [12:16:25] [12:16:25]POST finish read [12:16:25]Found Content-Length = 978 [12:16:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256256", "tax_sys" : 0, "items" : [ { "code": "4600338001623", "name": "\u0412\u043E\u0434\u0430 \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043D\u0435\u0433\u0430\u0437\u0438\u0440 \u0434/\u0434\u0435\u0442\u0435\u0439 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:16:25]execute_script... [12:16:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256256", "tax_sys" : 0, "items" : [ { "code": "4600338001623", "name": "\u0412\u043E\u0434\u0430 \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043D\u0435\u0433\u0430\u0437\u0438\u0440 \u0434/\u0434\u0435\u0442\u0435\u0439 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:16:25]POST & json_proto [12:16:25]process_json_proto [12:16:25]json parsed OK: [12:16:25]protocol is kg_v1.0 [12:16:25]action value=close_receipt [12:16:25]process_action close_receipt [12:16:25]cmd_close_receipt [12:16:25]MH_GetDate [12:16:25]Write to MH i2c: F0 00 00 76 03 68 [12:16:25]Write i2c OK [12:16:25]MH_I2C_Read... [12:16:25]Read from MH i2c: F0 [12:16:25]MH_I2C_Read... [12:16:25]Read from MH i2c: F0 09 00 [12:16:25]MH_I2C_Read... [12:16:25]Read from MH i2c: F0 09 00 76 03 00 9B 1E 91 66 1B 28 2A 66 F4 [12:16:25]GetLastDocTimeStamp 1720786353 [12:16:25]current date 1720786587 [12:16:25]FM_GetShiftState [12:16:25]SAM_PROTO_GetShiftState [12:16:25]wFMCommunicate request_size=4 [12:16:25]MH_SAM_APDU [12:16:25]CAPDU: 80 13 01 00 [12:16:25]Write to MH i2c: E2 08 00 77 03 80 13 01 00 00 00 00 00 F7 [12:16:25]Write i2c OK [12:16:25]MH_I2C_Read... [12:16:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:16:26]Read from MH i2c: E2 [12:16:26]MH_I2C_Read... [12:16:26]Read from MH i2c: E2 0E 00 [12:16:26]MH_I2C_Read... [12:16:26]Read from MH i2c: E2 0E 00 77 03 00 09 00 01 43 74 90 66 00 00 00 00 90 00 B0 [12:16:26]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [12:16:26]wFMCommunicate OK [12:16:26]SAM_PROTO_GetShiftState done [12:16:26]FM_GetShiftState done [12:16:26]opened in 1720742979 [12:16:26]opened+sec_in_day 1720829379 [12:16:26]quantity*price = 8000 [12:16:26]sum+1 = 8001 [12:16:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 40822938 Напиток Фанта 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 23 12.07.2024 12:16 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1789 ФПД: 133285068352509 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121627&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1789&fm=133285068352509&tin=02508201610067®Number=0000000000177495&sum=15500 0 [12:16:27]StoreToDocumentArchive [12:16:27]shift 23 fd 1789 [12:16:27]save to /storage/0023/doc_00001789 [12:16:27]save last doc name /storage/0023/doc_00001789 to /storage/kkm_last_doc_name [12:16:27]save OK [12:16:27]Clear old archive folders... [12:16:27]ProcessDocumentItem done err = 0, tmpTLVsize=404 [12:16:27]tlvbuf is 01098A30 [12:16:27]SAM_PROTO_ClearQueue [12:16:27]wFMCommunicate request_size=4 [12:16:27]MH_SAM_APDU [12:16:27]CAPDU: 80 09 00 00 [12:16:27]Write to MH i2c: E2 08 00 84 03 80 09 00 00 00 00 00 00 F9 [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:16:27]Read from MH i2c: E2 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 03 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 03 00 84 03 00 90 00 FB [12:16:27]RAPDU: 90 00 [12:16:27]wFMCommunicate OK [12:16:27]SAM_PROTO_ClearQueue done [12:16:27]KKMCreateOFDPacket [12:16:27]OFDProtocolAddRootSTLVToBuf [12:16:27]FM_MakeSignedData [12:16:27]FM_MakeSignedData [12:16:27]SAM_PROTO_SignData [12:16:27]wFMCommunicate request_size=4 [12:16:27]MH_SAM_APDU [12:16:27]CAPDU: 80 0D 01 02 [12:16:27]Write to MH i2c: E2 08 00 85 03 80 0D 01 02 00 00 00 00 01 [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:16:27]Read from MH i2c: E2 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 03 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 03 00 85 03 00 90 00 FC [12:16:27]RAPDU: 90 00 [12:16:27]wFMCommunicate OK [12:16:27]wFMCommunicate request_size=255 [12:16:27]MH_SAM_APDU [12:16:27]CAPDU: 80 0D 02 02 FA 03 00 94 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 [12:16:27]Write to MH i2c: E2 02 01 86 03 80 0D 02 02 FA 00 03 00 94 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 95 [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:16:27]Read from MH i2c: E2 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 03 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 03 00 86 03 00 90 00 FD [12:16:27]RAPDU: 90 00 [12:16:27]wFMCommunicate OK [12:16:27]wFMCommunicate request_size=163 [12:16:27]MH_SAM_APDU [12:16:27]CAPDU: 80 0D 02 02 9E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 9B 1E 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FD 06 00 00 35 04 06 00 79 38 D9 27 2B FD [12:16:27]Write to MH i2c: E2 A6 00 87 03 80 0D 02 02 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 9B 1E 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FD 06 00 00 35 04 06 00 79 38 D9 27 2B FD 00 00 07 [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:16:27]Read from MH i2c: E2 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 03 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 03 00 87 03 00 90 00 FE [12:16:27]RAPDU: 90 00 [12:16:27]wFMCommunicate OK [12:16:27]wFMCommunicate request_size=4 [12:16:27]MH_SAM_APDU [12:16:27]CAPDU: 80 0D 03 02 [12:16:27]Write to MH i2c: E2 08 00 88 03 80 0D 03 02 00 00 00 00 06 [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:16:27]Read from MH i2c: E2 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 0B 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 0B 00 88 03 00 47 F6 37 A3 7B E6 B1 94 90 00 C4 [12:16:27]RAPDU: 47 F6 37 A3 7B E6 B1 94 90 00 [12:16:27]wFMCommunicate OK [12:16:27]SAM_PROTO_SignData done [12:16:27]FM_MakeSignedData done [12:16:27]CreateOFDProtocolMessage [12:16:27]wFMCommunicate request_size=4 [12:16:27]MH_SAM_APDU [12:16:27]CAPDU: 80 11 00 00 [12:16:27]Write to MH i2c: E2 08 00 89 03 80 11 00 00 00 00 00 00 06 [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:16:27]Read from MH i2c: E2 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 17 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 17 00 89 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 5C [12:16:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [12:16:27]wFMCommunicate OK [12:16:27]CreateOFDProtocolMessage done [12:16:27]OFDSenderStorePacket 1789 [12:16:27]StoreOFDPacket docnum=1789 [12:16:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 A8 01 00 00 9B 46 A0 01 18 92 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 9B 1E 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FD 06 00 00 35 04 06 00 79 38 D9 27 2B FD 47 F6 37 A3 7B E6 B1 94 [12:16:27]CheckFolder [12:16:27]dirname=/storage/ofd_packets [12:16:27]CheckFolder done [12:16:27]ProducePacketName [12:16:27]name=ofd_packets/00001789 [12:16:27]NVStorageSaveData ofd_packets/00001789 [12:16:27]File name is /storage/ofd_packets/00001789 [12:16:27]Write 454 bytes [12:16:27]NVStorageSaveData done [12:16:27]OFDSenderStorePacket done [12:16:27]KKMCreateOFDPacket done [12:16:27]NVStorageSaveData kkm_last_timestamp [12:16:27]File name is /storage/kkm_last_timestamp [12:16:27]Write 4 bytes [12:16:27]NVStorageSaveData done [12:16:27]ExternCall_PrintAddStr [12:16:27]wPrintStart [12:16:27]Write to MH i2c: 01 00 00 8A 03 8D [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: 01 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: 01 07 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: 01 07 00 8A 03 00 00 00 00 00 FF 0F A2 [12:16:27]RasterBufferAndPrint [12:16:27]line Счет N : (3)256256 [12:16:27]line ИНН: 02508201610067 [12:16:28]line Контрольно-Кассовый Чек [12:16:28]line ПРОДАЖА [12:16:28]line Товар: 4600338001623 [12:16:28]line Вода Фруто НЯНЯ негазир д/детей 0,33л [12:16:28]line 1.000 * 80.00 [12:16:28]line = 80.00 [12:16:28]line НДС 12% НСП 1% [12:16:28]line > о реализуемом товаре [12:16:28]line Товар: 40822938 [12:16:28]line Напиток Фанта 0,5л [12:16:28]line 1.000 * 75.00 [12:16:28]line = 75.00 [12:16:28]line НДС 12% НСП 1% [12:16:28]line > о реализуемом товаре [12:16:28]line ИТОГО: 155.00 [12:16:28]line НСП 1% : 1.37 [12:16:28]line НДС 12% : 16.46 [12:16:28]line Наличными: 155.00 [12:16:28]line Безнал.: 0.00 [12:16:28]line Место: АЗС № 76 "Партнер Нефть" [12:16:28]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [12:16:28]line СНО: Общий режим [12:16:28]line Чек 23 12.07.2024 12:16 [12:16:28]line Смена: 23 ФФД: 1.0 [12:16:28]line ЗНМ: 0300000124 [12:16:28]line РНМ: 0000000000177495 [12:16:28]line Версия ККМ: 001 [12:16:28]line ФМ: 0000000002098592 [12:16:28]line ФД: 1789 [12:16:28]line ФПД: 133285068352509 [12:16:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121627&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1789&fm=133285068352509&tin=02508201610067®Number=0000000000177495&sum=15500 [12:16:28]line 0 [12:16:28]OFD Sender: Processing packet 1789 [packets to send 1, broken 0] [12:16:28]ProducePacketName [12:16:28]name=ofd_packets/00001789 [12:16:28]OFD Sender: To server: pG, [12:16:28]CommunicateWithHost lk.salyk.kg:30040 [12:16:28]ConnectInit lk.salyk.kg [12:16:28]written 0, free lines is 4095 [12:16:28]Connected sock=10 [12:16:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 A8 01 00 00 9B 46 A0 01 18 92 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 9B 1E 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FD 06 00 00 35 04 06 00 79 38 D9 27 2B FD 47 F6 37 A3 7B E6 B1 94 [12:16:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 14 A4 47 00 67 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 32 30 39 38 35 39 32 10 04 04 00 FD 06 00 00 F4 03 04 00 D4 C9 90 66 B6 04 01 00 00 21 57 5D 83 91 62 4A E9 [12:16:28]CommunicateWithHost err = 0 [12:16:28]CheckOFDResponse [12:16:28]1017 (14) - 77093643461234 [12:16:28]1041 (16) - 0000000002098592 [12:16:28]1040 (4) - 1789 [12:16:28]1012 (4) - 12.07.2024 06:14 [12:16:28]1206 (1) - 0 [12:16:28]OFD Sender: Remove packet 1789 [12:16:28]ProducePacketName [12:16:28]name=ofd_packets/00001789 [12:16:28]NVStorageDeleteData [12:16:28]Write to MH i2c: 01 00 00 B9 03 BC [12:16:28]Write i2c OK [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: 01 [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: 01 07 00 [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: 01 07 00 B9 03 00 00 00 00 00 A7 0C 76 [12:16:28]RasterBufferAndPrint [12:16:28]line [12:16:28]line [12:16:28]line [12:16:28]line [12:16:28]line [12:16:28]written 0, free lines is 3246 [12:16:28]MH_Cut [12:16:28]Write to MH i2c: D1 01 00 C0 03 01 95 [12:16:28]Write i2c OK [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: D1 [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: D1 01 00 [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: D1 01 00 C0 03 00 94 [12:16:28]Write to MH i2c: 01 00 00 C1 03 C4 [12:16:28]Write i2c OK [12:16:28]MH_I2C_Read... [12:16:28]OFD Sender: No OFD packet to send [12:16:29]*** Cut start [12:16:29]*** Partial cut [12:16:29]*** CUTSNS_PIN = 1 [12:16:29]*** CUTSNS_PIN = 0 [12:16:29]*** Brake cut motor [12:16:30]Read from MH i2c: 01 [12:16:30]MH_I2C_Read... [12:16:30]*** Stop cut motor [12:16:30]*** Cut end [12:16:30]Read from MH i2c: 01 07 00 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: 01 07 00 C1 03 00 00 00 00 00 FF 0F D9 [12:16:30]process_action close_receipt done [12:16:30]requested_data is exist [12:16:30]produce_requested_data [12:16:30]requested_item fm.sn is exist - process it [12:16:30]wFMCommunicate request_size=4 [12:16:30]MH_SAM_APDU [12:16:30]CAPDU: 80 11 00 00 [12:16:30]Write to MH i2c: E2 08 00 C2 03 80 11 00 00 00 00 00 00 3F [12:16:30]Write i2c OK [12:16:30]MH_I2C_Read... [12:16:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:16:30]Read from MH i2c: E2 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: E2 17 00 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: E2 17 00 C2 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 95 [12:16:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [12:16:30]wFMCommunicate OK [12:16:30]requested_item fd.num is exist - process it [12:16:30]SAM_PROTO_GetFieldsCounters [12:16:30]wFMCommunicate request_size=4 [12:16:30]MH_SAM_APDU [12:16:30]CAPDU: 80 13 00 00 [12:16:30]Write to MH i2c: E2 08 00 C3 03 80 13 00 00 00 00 00 00 42 [12:16:30]Write i2c OK [12:16:30]MH_I2C_Read... [12:16:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:16:30]Read from MH i2c: E2 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: E2 62 00 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: E2 62 00 C3 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FD 06 00 00 0E 04 04 00 17 00 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 CD [12:16:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FD 06 00 00 0E 04 04 00 17 00 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 [12:16:30]wFMCommunicate OK [12:16:30]SAM_PROTO_GetFieldsCounters done [12:16:30]requested_item shift.num is exist - process it [12:16:30]requested_item shift.opened is exist - process it [12:16:30]req_shift_opened [12:16:30]FM_GetShiftState [12:16:30]SAM_PROTO_GetShiftState [12:16:30]wFMCommunicate request_size=4 [12:16:30]MH_SAM_APDU [12:16:30]CAPDU: 80 13 01 00 [12:16:30]Write to MH i2c: E2 08 00 C4 03 80 13 01 00 00 00 00 00 44 [12:16:30]Write i2c OK [12:16:30]MH_I2C_Read... [12:16:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:16:30]Read from MH i2c: E2 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: E2 0E 00 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: E2 0E 00 C4 03 00 09 00 01 43 74 90 66 00 00 00 00 90 00 FD [12:16:30]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [12:16:30]wFMCommunicate OK [12:16:30]SAM_PROTO_GetShiftState done [12:16:30]FM_GetShiftState done [12:16:30]req_shift_opened done [12:16:30]requested_item shift.open_date is exist - process it [12:16:30]req_shift_open_date [12:16:30]req_shift_open_date done [12:16:30]produce_requested_data done [12:16:30]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1789,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [12:16:30]process_action_free close_receipt [12:16:30]json_value_free [12:16:30]json_value_free done [12:16:30]process_json_proto returns [12:16:30]Send response to host [12:16:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1789,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [12:16:30]free response buf [12:16:30]execute_script done [12:16:30]execute_script returns [12:16:30]free content buf [12:16:30]Sock 8.Close socket [12:16:30]Sock 8.Thread stoped [12:16:33]OFD Sender: No OFD packet to send [12:16:38]OFD Sender: No OFD packet to send [12:16:43]OFD Sender: No OFD packet to send [12:16:48]OFD Sender: No OFD packet to send [12:16:53]OFD Sender: No OFD packet to send [12:16:58]OFD Sender: No OFD packet to send [12:17:03]OFD Sender: No OFD packet to send [12:17:08]OFD Sender: No OFD packet to send [12:17:13]OFD Sender: No OFD packet to send [12:17:18]OFD Sender: No OFD packet to send [12:17:23]OFD Sender: No OFD packet to send [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:19]OFD Sender: No OFD packet to send [12:18:24]OFD Sender: No OFD packet to send [12:18:29]OFD Sender: No OFD packet to send [12:18:34]OFD Sender: No OFD packet to send [12:18:39]OFD Sender: No OFD packet to send [12:18:44]OFD Sender: No OFD packet to send [12:18:49]OFD Sender: No OFD packet to send [12:18:54]OFD Sender: No OFD packet to send [12:18:59]OFD Sender: No OFD packet to send [12:19:04]OFD Sender: No OFD packet to send [12:19:09]OFD Sender: No OFD packet to send [12:19:14]OFD Sender: No OFD packet to send [12:19:19]OFD Sender: No OFD packet to send [12:19:24]OFD Sender: No OFD packet to send [12:19:29]OFD Sender: No OFD packet to send [12:19:34]OFD Sender: No OFD packet to send [12:19:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]OFD Sender: No OFD packet to send [12:19:54]OFD Sender: No OFD packet to send [12:19:59]OFD Sender: No OFD packet to send [12:20:04]OFD Sender: No OFD packet to send [12:20:09]OFD Sender: No OFD packet to send [12:20:14]OFD Sender: No OFD packet to send [12:20:19]OFD Sender: No OFD packet to send [12:20:24]OFD Sender: No OFD packet to send [12:20:29]OFD Sender: No OFD packet to send [12:20:34]OFD Sender: No OFD packet to send [12:20:39]OFD Sender: No OFD packet to send [12:20:44]OFD Sender: No OFD packet to send [12:20:49]OFD Sender: No OFD packet to send [12:20:54]OFD Sender: No OFD packet to send [12:20:57]accept exits with 9 [12:20:57]New connection [12:20:57]New thread 3067145572 created [12:20:57]Thread 3067002212 joined [12:20:57]Waiting for new connection... [12:20:57] Sock 9.Parse request [12:20:57]Sock 9.Check first char [12:20:57]Sock 9.First char is OK [12:20:57]request: POST /json_proto HTTP/1.0 [12:20:57]Method: POST [12:20:57]URL: /json_proto [12:20:57]Method is POST - this is cgi request [12:20:57]url: /json_proto [12:20:57]query_string will be loaded in cgi processing [12:20:57]execute_cgi json_proto POST (null) [12:20:57]execute_cgi path=json_proto method=POST [12:20:57]POST find Content-Length [12:20:57]Host: 172.17.35.133:8080 [12:20:57]Content-Length: 891 [12:20:57]Content-Type: application/json [12:20:57] [12:20:57]POST finish read [12:20:57]Found Content-Length = 891 [12:20:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256257", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46227720", "name": "\u0420/\u0436 mentos pure fresh \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u0440\u043E\u043B\u043B 15,5", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:20:57]execute_script... [12:20: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)256257", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46227720", "name": "\u0420/\u0436 mentos pure fresh \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u0440\u043E\u043B\u043B 15,5", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:20:57]POST & json_proto [12:20:57]process_json_proto [12:20:57]json parsed OK: [12:20:57]protocol is kg_v1.0 [12:20:57]action value=close_receipt [12:20:57]process_action close_receipt [12:20:57]cmd_close_receipt [12:20:57]MH_GetDate [12:20:57]Write to MH i2c: F0 00 00 C5 03 B7 [12:20:57]Write i2c OK [12:20:57]MH_I2C_Read... [12:20:57]Read from MH i2c: F0 [12:20:57]MH_I2C_Read... [12:20:57]Read from MH i2c: F0 09 00 [12:20:57]MH_I2C_Read... [12:20:57]Read from MH i2c: F0 09 00 C5 03 00 AA 1F 91 66 1B 28 2A 66 53 [12:20:57]GetLastDocTimeStamp 1720786587 [12:20:57]current date 1720786858 [12:20:57]FM_GetShiftState [12:20:57]SAM_PROTO_GetShiftState [12:20:57]wFMCommunicate request_size=4 [12:20:57]MH_SAM_APDU [12:20:57]CAPDU: 80 13 01 00 [12:20:57]Write to MH i2c: E2 08 00 C6 03 80 13 01 00 00 00 00 00 46 [12:20:57]Write i2c OK [12:20:57]MH_I2C_Read... [12:20:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:20:57]Read from MH i2c: E2 [12:20:57]MH_I2C_Read... [12:20:57]Read from MH i2c: E2 0E 00 [12:20:57]MH_I2C_Read... [12:20:57]Read from MH i2c: E2 0E 00 C6 03 00 09 00 01 43 74 90 66 00 00 00 00 90 00 FF [12:20:57]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [12:20:57]wFMCommunicate OK [12:20:57]SAM_PROTO_GetShiftState done [12:20:57]FM_GetShiftState done [12:20:57]opened in 1720742979 [12:20:57]opened+sec_in_day 1720829379 [12:20:57]quantity*price = 8000 [12:20:57]sum+1 = 8001 [12:20:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46227720 Р/ж mentos pure fresh виноград ролл 15,5 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 129.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 24 12.07.2024 12:20 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1790 ФПД: 145709093295664 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T122058&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1790&fm=145709093295664&tin=02508201610067®Number=0000000000177495&sum=12900 0 [12:20:58]StoreToDocumentArchive [12:20:58]shift 23 fd 1790 [12:20:58]save to /storage/0023/doc_00001790 [12:20:58]save last doc name /storage/0023/doc_00001790 to /storage/kkm_last_doc_name [12:20:58]save OK [12:20:58]Clear old archive folders... [12:20:58]ProcessDocumentItem done err = 0, tmpTLVsize=389 [12:20:58]tlvbuf is 0106FD90 [12:20:58]SAM_PROTO_ClearQueue [12:20:58]wFMCommunicate request_size=4 [12:20:58]MH_SAM_APDU [12:20:58]CAPDU: 80 09 00 00 [12:20:58]Write to MH i2c: E2 08 00 D3 03 80 09 00 00 00 00 00 00 48 [12:20:58]Write i2c OK [12:20:58]MH_I2C_Read... [12:20:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:20:58]Read from MH i2c: E2 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 03 00 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 03 00 D3 03 00 90 00 4A [12:20:58]RAPDU: 90 00 [12:20:58]wFMCommunicate OK [12:20:58]SAM_PROTO_ClearQueue done [12:20:58]KKMCreateOFDPacket [12:20:58]OFDProtocolAddRootSTLVToBuf [12:20:58]FM_MakeSignedData [12:20:58]FM_MakeSignedData [12:20:58]SAM_PROTO_SignData [12:20:58]wFMCommunicate request_size=4 [12:20:58]MH_SAM_APDU [12:20:58]CAPDU: 80 0D 01 02 [12:20:58]Write to MH i2c: E2 08 00 D4 03 80 0D 01 02 00 00 00 00 50 [12:20:58]Write i2c OK [12:20:58]MH_I2C_Read... [12:20:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:20:58]Read from MH i2c: E2 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 03 00 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 03 00 D4 03 00 90 00 4B [12:20:58]RAPDU: 90 00 [12:20:58]wFMCommunicate OK [12:20:58]wFMCommunicate request_size=255 [12:20:58]MH_SAM_APDU [12:20:58]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 08 00 34 36 32 32 37 37 32 30 06 04 36 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 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 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [12:20:58]Write to MH i2c: E2 02 01 D5 03 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 08 00 34 36 32 32 37 37 32 30 06 04 36 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 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 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 A2 [12:20:58]Write i2c OK [12:20:58]MH_I2C_Read... [12:20:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:20:58]Read from MH i2c: E2 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 03 00 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 03 00 D5 03 00 90 00 4C [12:20:58]RAPDU: 90 00 [12:20:58]wFMCommunicate OK [12:20:58]wFMCommunicate request_size=148 [12:20:58]MH_SAM_APDU [12:20:58]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 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 AA 1F 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FE 06 00 00 35 04 06 00 84 85 8A BF 16 30 [12:20:58]Write to MH i2c: E2 97 00 D6 03 80 0D 02 02 8F 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 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 AA 1F 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FE 06 00 00 35 04 06 00 84 85 8A BF 16 30 00 00 9C [12:20:58]Write i2c OK [12:20:58]MH_I2C_Read... [12:20:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:20:58]Read from MH i2c: E2 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 03 00 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 03 00 D6 03 00 90 00 4D [12:20:58]RAPDU: 90 00 [12:20:58]wFMCommunicate OK [12:20:58]wFMCommunicate request_size=4 [12:20:58]MH_SAM_APDU [12:20:58]CAPDU: 80 0D 03 02 [12:20:58]Write to MH i2c: E2 08 00 D7 03 80 0D 03 02 00 00 00 00 55 [12:20:58]Write i2c OK [12:20:58]MH_I2C_Read... [12:20:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:20:58]Read from MH i2c: E2 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 0B 00 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 0B 00 D7 03 00 2A 9E B4 B7 55 B4 57 CE 90 00 B7 [12:20:58]RAPDU: 2A 9E B4 B7 55 B4 57 CE 90 00 [12:20:58]wFMCommunicate OK [12:20:58]SAM_PROTO_SignData done [12:20:58]FM_MakeSignedData done [12:20:58]CreateOFDProtocolMessage [12:20:58]wFMCommunicate request_size=4 [12:20:58]MH_SAM_APDU [12:20:58]CAPDU: 80 11 00 00 [12:20:58]Write to MH i2c: E2 08 00 D8 03 80 11 00 00 00 00 00 00 55 [12:20:58]Write i2c OK [12:20:58]MH_I2C_Read... [12:20:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:20:58]Read from MH i2c: E2 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 17 00 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: E2 17 00 D8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 AB [12:20:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [12:20:58]wFMCommunicate OK [12:20:58]CreateOFDProtocolMessage done [12:20:58]OFDSenderStorePacket 1790 [12:20:58]StoreOFDPacket docnum=1790 [12:20:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 99 01 00 00 01 18 91 01 FF 37 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 08 00 34 36 32 32 37 37 32 30 06 04 36 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 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 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 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 AA 1F 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FE 06 00 00 35 04 06 00 84 85 8A BF 16 30 2A 9E B4 B7 55 B4 57 CE [12:20:58]CheckFolder [12:20:58]dirname=/storage/ofd_packets [12:20:58]CheckFolder done [12:20:58]ProducePacketName [12:20:58]name=ofd_packets/00001790 [12:20:58]NVStorageSaveData ofd_packets/00001790 [12:20:58]File name is /storage/ofd_packets/00001790 [12:20:58]Write 439 bytes [12:20:58]NVStorageSaveData done [12:20:58]OFDSenderStorePacket done [12:20:58]KKMCreateOFDPacket done [12:20:58]NVStorageSaveData kkm_last_timestamp [12:20:58]File name is /storage/kkm_last_timestamp [12:20:58]Write 4 bytes [12:20:58]NVStorageSaveData done [12:20:58]ExternCall_PrintAddStr [12:20:58]wPrintStart [12:20:58]Write to MH i2c: 01 00 00 D9 03 DC [12:20:58]Write i2c OK [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: 01 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: 01 07 00 [12:20:58]MH_I2C_Read... [12:20:58]Read from MH i2c: 01 07 00 D9 03 00 00 00 00 00 FF 0F F1 [12:20:58]RasterBufferAndPrint [12:20:59]line Счет N : (3)256257 [12:20:59]line ИНН: 02508201610067 [12:20:59]line Контрольно-Кассовый Чек [12:20:59]line ПРОДАЖА [12:20:59]line Товар: 4870001570057 [12:20:59]line Напиток Pepsi 0,5л [12:20:59]line 1.000 * 80.00 [12:20:59]line = 80.00 [12:20:59]line НДС 12% НСП 1% [12:20:59]line > о реализуемом товаре [12:20:59]line Товар: 46227720 [12:20:59]line Р/ж mentos pure fresh виноград ролл 15,5 [12:20:59]line 1.000 * 49.00 [12:20:59]line = 49.00 [12:20:59]line НДС 12% НСП 1% [12:20:59]line > о реализуемом товаре [12:20:59]line ИТОГО: 129.00 [12:20:59]line НСП 1% : 1.14 [12:20:59]line НДС 12% : 13.70 [12:20:59]line Наличными: 129.00 [12:20:59]line Безнал.: 0.00 [12:20:59]line Место: АЗС № 76 "Партнер Нефть" [12:20:59]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [12:20:59]line СНО: Общий режим [12:20:59]line Чек 24 12.07.2024 12:20 [12:20:59]line Смена: 23 ФФД: 1.0 [12:20:59]line ЗНМ: 0300000124 [12:20:59]line РНМ: 0000000000177495 [12:20:59]line Версия ККМ: 001 [12:20:59]line ФМ: 0000000002098592 [12:20:59]line ФД: 1790 [12:20:59]line ФПД: 145709093295664 [12:20:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T122058&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1790&fm=145709093295664&tin=02508201610067®Number=0000000000177495&sum=12900 [12:20:59]OFD Sender: Processing packet 1790 [packets to send 1, broken 0] [12:20:59]ProducePacketName [12:20:59]name=ofd_packets/00001790 [12:20:59]OFD Sender: To server: pG, [12:20:59]CommunicateWithHost lk.salyk.kg:30040 [12:20:59]ConnectInit lk.salyk.kg [12:20:59]line 0 [12:20:59]written 0, free lines is 4095 [12:20:59]Connected sock=10 [12:20:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 99 01 00 00 01 18 91 01 FF 37 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 08 00 34 36 32 32 37 37 32 30 06 04 36 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 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 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 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 AA 1F 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FE 06 00 00 35 04 06 00 84 85 8A BF 16 30 2A 9E B4 B7 55 B4 57 CE [12:20:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 B3 0C 47 00 D3 8B 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 32 30 39 38 35 39 32 10 04 04 00 FE 06 00 00 F4 03 04 00 E3 CA 90 66 B6 04 01 00 00 E0 2B 55 F0 74 CA 84 D5 [12:20:59]CommunicateWithHost err = 0 [12:20:59]CheckOFDResponse [12:20:59]1017 (14) - 77093643461234 [12:20:59]1041 (16) - 0000000002098592 [12:20:59]1040 (4) - 1790 [12:20:59]1012 (4) - 12.07.2024 06:19 [12:20:59]1206 (1) - 0 [12:20:59]OFD Sender: Remove packet 1790 [12:20:59]ProducePacketName [12:20:59]name=ofd_packets/00001790 [12:20:59]NVStorageDeleteData [12:20:59]Write to MH i2c: 01 00 00 08 04 0C [12:20:59]Write i2c OK [12:20:59]MH_I2C_Read... [12:20:59]Read from MH i2c: 01 [12:20:59]MH_I2C_Read... [12:20:59]Read from MH i2c: 01 07 00 [12:20:59]MH_I2C_Read... [12:20:59]Read from MH i2c: 01 07 00 08 04 00 00 00 00 00 9B 0C BA [12:20:59]RasterBufferAndPrint [12:20:59]line [12:20:59]line [12:20:59]line [12:20:59]line [12:20:59]line [12:20:59]written 0, free lines is 3234 [12:20:59]MH_Cut [12:20:59]Write to MH i2c: D1 01 00 0F 04 01 E5 [12:20:59]Write i2c OK [12:20:59]MH_I2C_Read... [12:20:59]Read from MH i2c: D1 [12:20:59]MH_I2C_Read... [12:20:59]Read from MH i2c: D1 01 00 [12:20:59]MH_I2C_Read... [12:20:59]Read from MH i2c: D1 01 00 0F 04 00 E4 [12:20:59]Write to MH i2c: 01 00 00 10 04 14 [12:20:59]Write i2c OK [12:20:59]MH_I2C_Read... [12:20:59]OFD Sender: No OFD packet to send [12:21:00]*** Cut start [12:21:00]*** Partial cut [12:21:00]*** CUTSNS_PIN = 1 [12:21:00]*** CUTSNS_PIN = 0 [12:21:00]*** Brake cut motor [12:21:01]Read from MH i2c: 01 [12:21:01]MH_I2C_Read... [12:21:01]*** Stop cut motor [12:21:01]*** Cut end [12:21:01]Read from MH i2c: 01 07 00 [12:21:01]MH_I2C_Read... [12:21:01]Read from MH i2c: 01 07 00 10 04 00 00 00 00 00 FF 0F 29 [12:21:01]process_action close_receipt done [12:21:01]requested_data is exist [12:21:01]produce_requested_data [12:21:01]requested_item fm.sn is exist - process it [12:21:01]wFMCommunicate request_size=4 [12:21:01]MH_SAM_APDU [12:21:01]CAPDU: 80 11 00 00 [12:21:01]Write to MH i2c: E2 08 00 11 04 80 11 00 00 00 00 00 00 8F [12:21:01]Write i2c OK [12:21:01]MH_I2C_Read... [12:21:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:21:01]Read from MH i2c: E2 [12:21:01]MH_I2C_Read... [12:21:01]Read from MH i2c: E2 17 00 [12:21:01]MH_I2C_Read... [12:21:01]Read from MH i2c: E2 17 00 11 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 E5 [12:21:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [12:21:01]wFMCommunicate OK [12:21:01]requested_item fd.num is exist - process it [12:21:01]SAM_PROTO_GetFieldsCounters [12:21:01]wFMCommunicate request_size=4 [12:21:01]MH_SAM_APDU [12:21:01]CAPDU: 80 13 00 00 [12:21:01]Write to MH i2c: E2 08 00 12 04 80 13 00 00 00 00 00 00 92 [12:21:01]Write i2c OK [12:21:01]MH_I2C_Read... [12:21:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:21:01]Read from MH i2c: E2 [12:21:01]MH_I2C_Read... [12:21:01]Read from MH i2c: E2 62 00 [12:21:01]MH_I2C_Read... [12:21:01]Read from MH i2c: E2 62 00 12 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FE 06 00 00 0E 04 04 00 17 00 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 21 [12:21:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 FE 06 00 00 0E 04 04 00 17 00 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 [12:21:01]wFMCommunicate OK [12:21:01]SAM_PROTO_GetFieldsCounters done [12:21:01]requested_item shift.num is exist - process it [12:21:01]requested_item shift.opened is exist - process it [12:21:01]req_shift_opened [12:21:01]FM_GetShiftState [12:21:01]SAM_PROTO_GetShiftState [12:21:01]wFMCommunicate request_size=4 [12:21:01]MH_SAM_APDU [12:21:01]CAPDU: 80 13 01 00 [12:21:01]Write to MH i2c: E2 08 00 13 04 80 13 01 00 00 00 00 00 94 [12:21:01]Write i2c OK [12:21:01]MH_I2C_Read... [12:21:01]Read from MH i2c: E2 [12:21:01]MH_I2C_Read... [12:21:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:21:01]Read from MH i2c: E2 0E 00 [12:21:01]MH_I2C_Read... [12:21:01]Read from MH i2c: E2 0E 00 13 04 00 09 00 01 43 74 90 66 00 00 00 00 90 00 4D [12:21:01]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [12:21:01]wFMCommunicate OK [12:21:01]SAM_PROTO_GetShiftState done [12:21:01]FM_GetShiftState done [12:21:01]req_shift_opened done [12:21:01]requested_item shift.open_date is exist - process it [12:21:01]req_shift_open_date [12:21:01]req_shift_open_date done [12:21:01]produce_requested_data done [12:21:01]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1790,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [12:21:01]process_action_free close_receipt [12:21:01]json_value_free [12:21:01]json_value_free done [12:21:01]process_json_proto returns [12:21:01]Send response to host [12:21:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1790,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [12:21:01]free response buf [12:21:01]execute_script done [12:21:01]execute_script returns [12:21:01]free content buf [12:21:01]Sock 9.Close socket [12:21:01]Sock 9.Thread stoped [12:21:04]OFD Sender: No OFD packet to send [12:21:09]OFD Sender: No OFD packet to send [12:21:14]OFD Sender: No OFD packet to send [12:21:19]OFD Sender: No OFD packet to send [12:21:24]OFD Sender: No OFD packet to send [12:21: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:30]OFD Sender: No OFD packet to send [12:25:35]OFD Sender: No OFD packet to send [12:25:40]OFD Sender: No OFD packet to send [12:25:45]OFD Sender: No OFD packet to send [12:25:50]OFD Sender: No OFD packet to send [12:25:55]OFD Sender: No OFD packet to send [12:26:00]OFD Sender: No OFD packet to send [12:26:05]OFD Sender: No OFD packet to send [12:26:10]OFD Sender: No OFD packet to send [12:26:15]OFD Sender: No OFD packet to send [12:26:20]OFD Sender: No OFD packet to send [12:26:25]OFD Sender: No OFD packet to send [12:26:30]OFD Sender: No OFD packet to send [12:26:35]OFD Sender: No OFD packet to send [12:26:40]OFD Sender: No OFD packet to send [12:26:45]OFD Sender: No OFD packet to send [12:26:50]OFD Sender: No OFD packet to send [12:26:55]OFD Sender: No OFD packet to send [12:27:00]OFD Sender: No OFD packet to send [12:27:05]OFD Sender: No OFD packet to send [12:27:10]OFD Sender: No OFD packet to send [12:27:15]OFD Sender: No OFD packet to send [12:27:20]OFD Sender: No OFD packet to send [12:27:25]OFD Sender: No OFD packet to send [12:27:30]OFD Sender: No OFD packet to send [12:27:35]OFD Sender: No OFD packet to send [12:27:40]OFD Sender: No OFD packet to send [12:27:45]OFD Sender: No OFD packet to send [12:27:50]OFD Sender: No OFD packet to send [12:27:55]OFD Sender: No OFD packet to send [12:28:00]OFD Sender: No OFD packet to send [12:28:05]OFD Sender: No OFD packet to send [12:28:10]OFD Sender: No OFD packet to send [12:28:15]OFD Sender: No OFD packet to send [12:28:20]OFD Sender: No OFD packet to send [12:28:25]OFD Sender: No OFD packet to send [12:28:30]OFD Sender: No OFD packet to send [12:28:35]OFD Sender: No OFD packet to send [12:28:40]OFD Sender: No OFD packet to send [12:28:45]OFD Sender: No OFD packet to send [12:28:50]OFD Sender: No OFD packet to send [12:28:55]OFD Sender: No OFD packet to send [12:29:00]OFD Sender: No OFD packet to send [12:29:05]OFD Sender: No OFD packet to send [12:29:10]OFD Sender: No OFD packet to send [12:29:15]OFD Sender: No OFD packet to send [12:29:20]OFD Sender: No OFD packet to send [12:29:25]OFD Sender: No OFD packet to send [12:29:30]OFD Sender: No OFD packet to send [12:29:35]OFD Sender: No OFD packet to send [12:29:40]OFD Sender: No OFD packet to send [12:29:45]OFD Sender: No OFD packet to send [12:29:50]OFD Sender: No OFD packet to send [12:29:55]OFD Sender: No OFD packet to send [12:30:00]OFD Sender: No OFD packet to send [12:30:05]OFD Sender: No OFD packet to send [12:30:10]OFD Sender: No OFD packet to send [12:30:15]OFD Sender: No OFD packet to send [12:30:20]OFD Sender: No OFD packet to send [12:30:25]OFD Sender: No OFD packet to send [12:30:30]OFD Sender: No OFD packet to send [12:30:35]OFD Sender: No OFD packet to send [12:30:40]OFD Sender: No OFD packet to send [12:30:45]OFD Sender: No OFD packet to send [12:30:50]OFD Sender: No OFD packet to send [12:30:55]OFD Sender: No OFD packet to send [12:31:00]OFD Sender: No OFD packet to send [12:31:05]OFD Sender: No OFD packet to send [12:31:10]OFD Sender: No OFD packet to send [12:31:15]OFD Sender: No OFD packet to send [12:31:20]OFD Sender: No OFD packet to send [12:31:25]OFD Sender: No OFD packet to send [12:31:30]OFD Sender: No OFD packet to send [12:31:35]OFD Sender: No OFD packet to send [12:31:40]OFD Sender: No OFD packet to send [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:36]recv_with_timeout no data received [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]OFD Sender: No OFD packet to send [12:32:55]OFD Sender: No OFD packet to send [12:33:00]OFD Sender: No OFD packet to send [12:33:05]OFD Sender: No OFD packet to send [12:33:10]OFD Sender: No OFD packet to send [12:33:15]OFD Sender: No OFD packet to send [12:33:20]OFD Sender: No OFD packet to send [12:33:25]OFD Sender: No OFD packet to send [12:33:30]OFD Sender: No OFD packet to send [12:33:35]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:39]recv_with_timeout no data received [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:42:30]ConnectInit Can't connect to host [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:18]recv_with_timeout no data received [12:43:20]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 [13:36:58]ConnectInit Can't connect to host [13:37:00]ConnectInit Can't take IP for lk.salyk.kg [13:37:00]CommunicateWithHost connect error [13:37:00]CommunicateWithHost err = -1 [13:37:00]OFD Sender: Server communicate error [13:37:05]OFD Sender: Processing packet 1791 [packets to send 2, broken 0] [13:37:05]ProducePacketName [13:37:05]name=ofd_packets/00001791 [13:37:05]OFD Sender: To server: pG, [13:37:05]CommunicateWithHost lk.salyk.kg:30040 [13:37:05]ConnectInit lk.salyk.kg [13:37:06]Connected sock=9 [13:37:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 31 01 00 00 46 AD 29 01 32 29 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 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 A1 D1 8B D1 80 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 19 00 00 00 F4 03 04 00 47 2A 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 FF 06 00 00 35 04 06 00 AB 81 67 13 45 32 75 CD 90 CD A9 31 01 FC [13:37:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 DC A6 47 00 E3 49 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 32 30 39 38 35 39 32 10 04 04 00 FF 06 00 00 F4 03 04 00 BA DC 90 66 B6 04 01 00 00 7A 59 86 7B 82 07 D9 5E [13:37:06]CommunicateWithHost err = 0 [13:37:06]CheckOFDResponse [13:37:06]1017 (14) - 77093643461234 [13:37:06]1041 (16) - 0000000002098592 [13:37:06]1040 (4) - 1791 [13:37:06]1012 (4) - 12.07.2024 07:35 [13:37:06]1206 (1) - 0 [13:37:06]OFD Sender: Remove packet 1791 [13:37:06]ProducePacketName [13:37:06]name=ofd_packets/00001791 [13:37:06]NVStorageDeleteData [13:37:07]OFD Sender: Processing packet 1792 [packets to send 1, broken 0] [13:37:07]ProducePacketName [13:37:07]name=ofd_packets/00001792 [13:37:07]OFD Sender: To server: pG, [13:37:07]CommunicateWithHost lk.salyk.kg:30040 [13:37:07]ConnectInit lk.salyk.kg [13:37:07]Connected sock=9 [13:37:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 26 01 00 00 42 99 1E 01 40 47 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 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 1A 00 00 00 F4 03 04 00 48 2D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 00 07 00 00 35 04 06 00 B6 89 05 53 4B 68 F6 B8 FF 9D C0 D2 8F 1C [13:37:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 72 25 47 00 E1 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 32 30 39 38 35 39 32 10 04 04 00 00 07 00 00 F4 03 04 00 BB DC 90 66 B6 04 01 00 00 58 D1 0D 98 55 8B F5 56 [13:37:08]CommunicateWithHost err = 0 [13:37:08]CheckOFDResponse [13:37:08]1017 (14) - 77093643461234 [13:37:08]1041 (16) - 0000000002098592 [13:37:08]1040 (4) - 1792 [13:37:08]1012 (4) - 12.07.2024 07:35 [13:37:08]1206 (1) - 0 [13:37:08]OFD Sender: Remove packet 1792 [13:37:08]ProducePacketName [13:37:08]name=ofd_packets/00001792 [13:37:08]NVStorageDeleteData [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:26]accept exits with 8 [13:37:26]New connection [13:37:26]New thread 3067002212 created [13:37:26]Thread 3067145572 joined [13:37:26]Waiting for new connection... [13:37:26] Sock 8.Parse request [13:37:26]Sock 8.Check first char [13:37:26]Sock 8.First char is OK [13:37:26]request: POST /json_proto HTTP/1.0 [13:37:26]Method: POST [13:37:26]URL: /json_proto [13:37:26]Method is POST - this is cgi request [13:37:26]url: /json_proto [13:37:26]query_string will be loaded in cgi processing [13:37:26]execute_cgi json_proto POST (null) [13:37:26]execute_cgi path=json_proto method=POST [13:37:26]POST find Content-Length [13:37:26]Host: 172.17.35.133:8080 [13:37:26]Content-Length: 668 [13:37:26]Content-Type: application/json [13:37:26] [13:37:26]POST finish read [13:37:26]Found Content-Length = 668 [13:37:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256260", "tax_sys" : 0, "items" : [ { "code": "4670003195728", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0436\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:37:26]execute_script... [13:37:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256260", "tax_sys" : 0, "items" : [ { "code": "4670003195728", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0436\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:37:26]POST & json_proto [13:37:26]process_json_proto [13:37:26]json parsed OK: [13:37:26]protocol is kg_v1.0 [13:37:26]action value=close_receipt [13:37:26]process_action close_receipt [13:37:26]cmd_close_receipt [13:37:26]MH_GetDate [13:37:26]Write to MH i2c: F0 00 00 A5 04 98 [13:37:26]Write i2c OK [13:37:26]MH_I2C_Read... [13:37:26]Read from MH i2c: F0 [13:37:26]MH_I2C_Read... [13:37:26]Read from MH i2c: F0 09 00 [13:37:26]MH_I2C_Read... [13:37:26]Read from MH i2c: F0 09 00 A5 04 00 98 31 91 66 1B 28 2A 66 34 [13:37:26]GetLastDocTimeStamp 1720790344 [13:37:26]current date 1720791448 [13:37:26]FM_GetShiftState [13:37:26]SAM_PROTO_GetShiftState [13:37:26]wFMCommunicate request_size=4 [13:37:26]MH_SAM_APDU [13:37:26]CAPDU: 80 13 01 00 [13:37:26]Write to MH i2c: E2 08 00 A6 04 80 13 01 00 00 00 00 00 27 [13:37:26]Write i2c OK [13:37:26]MH_I2C_Read... [13:37:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:37:26]Read from MH i2c: E2 [13:37:26]MH_I2C_Read... [13:37:26]Read from MH i2c: E2 0E 00 [13:37:26]MH_I2C_Read... [13:37:26]Read from MH i2c: E2 0E 00 A6 04 00 09 00 01 43 74 90 66 00 00 00 00 90 00 E0 [13:37:26]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [13:37:26]wFMCommunicate OK [13:37:26]SAM_PROTO_GetShiftState done [13:37:26]FM_GetShiftState done [13:37:26]opened in 1720742979 [13:37:26]opened+sec_in_day 1720829379 [13:37:26]quantity*price = 22500 [13:37:26]sum+1 = 22501 [13:37:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 27 12.07.2024 13:37 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1793 ФПД: 28294596891390 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T133728&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1793&fm=28294596891390&tin=02508201610067®Number=0000000000177495&sum=22500 0 [13:37:27]StoreToDocumentArchive [13:37:27]shift 23 fd 1793 [13:37:27]save to /storage/0023/doc_00001793 [13:37:27]save last doc name /storage/0023/doc_00001793 to /storage/kkm_last_doc_name [13:37:27]save OK [13:37:27]Clear old archive folders... [13:37:27]ProcessDocumentItem done err = 0, tmpTLVsize=296 [13:37:27]tlvbuf is 01071270 [13:37:27]SAM_PROTO_ClearQueue [13:37:27]wFMCommunicate request_size=4 [13:37:27]MH_SAM_APDU [13:37:27]CAPDU: 80 09 00 00 [13:37:27]Write to MH i2c: E2 08 00 B3 04 80 09 00 00 00 00 00 00 29 [13:37:27]Write i2c OK [13:37:27]MH_I2C_Read... [13:37:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:37:27]Read from MH i2c: E2 [13:37:27]MH_I2C_Read... [13:37:27]Read from MH i2c: E2 03 00 [13:37:27]MH_I2C_Read... [13:37:27]Read from MH i2c: E2 03 00 B3 04 00 90 00 2B [13:37:27]RAPDU: 90 00 [13:37:27]wFMCommunicate OK [13:37:27]SAM_PROTO_ClearQueue done [13:37:27]KKMCreateOFDPacket [13:37:27]OFDProtocolAddRootSTLVToBuf [13:37:27]FM_MakeSignedData [13:37:27]FM_MakeSignedData [13:37:27]SAM_PROTO_SignData [13:37:27]wFMCommunicate request_size=4 [13:37:27]MH_SAM_APDU [13:37:27]CAPDU: 80 0D 01 02 [13:37:27]Write to MH i2c: E2 08 00 B4 04 80 0D 01 02 00 00 00 00 31 [13:37:27]Write i2c OK [13:37:27]MH_I2C_Read... [13:37:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:37:27]Read from MH i2c: E2 [13:37:27]MH_I2C_Read... [13:37:27]Read from MH i2c: E2 03 00 [13:37:27]MH_I2C_Read... [13:37:27]Read from MH i2c: E2 03 00 B4 04 00 90 00 2C [13:37:27]RAPDU: 90 00 [13:37:27]wFMCommunicate OK [13:37:27]wFMCommunicate request_size=255 [13:37:27]MH_SAM_APDU [13:37:27]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 98 31 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [13:37:27]Write to MH i2c: E2 02 01 B5 04 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 98 31 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 B6 [13:37:27]Write i2c OK [13:37:27]MH_I2C_Read... [13:37:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:37:28]Read from MH i2c: E2 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: E2 03 00 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: E2 03 00 B5 04 00 90 00 2D [13:37:28]RAPDU: 90 00 [13:37:28]wFMCommunicate OK [13:37:28]wFMCommunicate request_size=55 [13:37:28]MH_SAM_APDU [13:37:28]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 01 07 00 00 35 04 06 00 19 BB D9 65 92 FE [13:37:28]Write to MH i2c: E2 3A 00 B6 04 80 0D 02 02 32 00 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 01 07 00 00 35 04 06 00 19 BB D9 65 92 FE 00 00 42 [13:37:28]Write i2c OK [13:37:28]MH_I2C_Read... [13:37:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:37:28]Read from MH i2c: E2 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: E2 03 00 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: E2 03 00 B6 04 00 90 00 2E [13:37:28]RAPDU: 90 00 [13:37:28]wFMCommunicate OK [13:37:28]wFMCommunicate request_size=4 [13:37:28]MH_SAM_APDU [13:37:28]CAPDU: 80 0D 03 02 [13:37:28]Write to MH i2c: E2 08 00 B7 04 80 0D 03 02 00 00 00 00 36 [13:37:28]Write i2c OK [13:37:28]MH_I2C_Read... [13:37:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:37:28]Read from MH i2c: E2 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: E2 0B 00 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: E2 0B 00 B7 04 00 05 34 75 D4 D0 9E C9 B1 90 00 A1 [13:37:28]RAPDU: 05 34 75 D4 D0 9E C9 B1 90 00 [13:37:28]wFMCommunicate OK [13:37:28]SAM_PROTO_SignData done [13:37:28]FM_MakeSignedData done [13:37:28]CreateOFDProtocolMessage [13:37:28]wFMCommunicate request_size=4 [13:37:28]MH_SAM_APDU [13:37:28]CAPDU: 80 11 00 00 [13:37:28]Write to MH i2c: E2 08 00 B8 04 80 11 00 00 00 00 00 00 36 [13:37:28]Write i2c OK [13:37:28]MH_I2C_Read... [13:37:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:37:28]Read from MH i2c: E2 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: E2 17 00 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: E2 17 00 B8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 8C [13:37:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [13:37:28]wFMCommunicate OK [13:37:28]CreateOFDProtocolMessage done [13:37:28]OFDSenderStorePacket 1793 [13:37:28]StoreOFDPacket docnum=1793 [13:37:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3C 01 00 00 1A 0A 34 01 38 EB 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 98 31 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 01 07 00 00 35 04 06 00 19 BB D9 65 92 FE 05 34 75 D4 D0 9E C9 B1 [13:37:28]CheckFolder [13:37:28]dirname=/storage/ofd_packets [13:37:28]CheckFolder done [13:37:28]ProducePacketName [13:37:28]name=ofd_packets/00001793 [13:37:28]NVStorageSaveData ofd_packets/00001793 [13:37:28]File name is /storage/ofd_packets/00001793 [13:37:28]Write 346 bytes [13:37:28]NVStorageSaveData done [13:37:28]OFDSenderStorePacket done [13:37:28]KKMCreateOFDPacket done [13:37:28]NVStorageSaveData kkm_last_timestamp [13:37:28]File name is /storage/kkm_last_timestamp [13:37:28]Write 4 bytes [13:37:28]NVStorageSaveData done [13:37:28]ExternCall_PrintAddStr [13:37:28]wPrintStart [13:37:28]Write to MH i2c: 01 00 00 B9 04 BD [13:37:28]Write i2c OK [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: 01 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: 01 07 00 [13:37:28]MH_I2C_Read... [13:37:28]Read from MH i2c: 01 07 00 B9 04 00 00 00 00 00 FF 0F D2 [13:37:28]RasterBufferAndPrint [13:37:28]line Счет N : (3)256260 [13:37:28]line ИНН: 02508201610067 [13:37:28]line Контрольно-Кассовый Чек [13:37:28]line ПРОДАЖА [13:37:28]line Товар: 4670003195728 [13:37:28]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 жел 1л [13:37:28]line 1.000 * 225.00 [13:37:28]line = 225.00 [13:37:28]line НДС 12% НСП 1% [13:37:28]line > о реализуемом товаре [13:37:28]line ИТОГО: 225.00 [13:37:28]line НСП 1% : 1.99 [13:37:28]line НДС 12% : 23.89 [13:37:28]line Наличными: 225.00 [13:37:28]line Безнал.: 0.00 [13:37:28]line Место: АЗС № 76 "Партнер Нефть" [13:37:28]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [13:37:28]line СНО: Общий режим [13:37:28]line Чек 27 12.07.2024 13:37 [13:37:28]line Смена: 23 ФФД: 1.0 [13:37:28]line ЗНМ: 0300000124 [13:37:28]line РНМ: 0000000000177495 [13:37:28]line Версия ККМ: 001 [13:37:28]line ФМ: 0000000002098592 [13:37:28]line ФД: 1793 [13:37:28]line ФПД: 28294596891390 [13:37:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T133728&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1793&fm=28294596891390&tin=02508201610067®Number=0000000000177495&sum=22500 [13:37:28]line 0 [13:37:28]OFD Sender: Processing packet 1793 [packets to send 1, broken 0] [13:37:28]ProducePacketName [13:37:28]name=ofd_packets/00001793 [13:37:28]OFD Sender: To server: pG, [13:37:28]CommunicateWithHost lk.salyk.kg:30040 [13:37:28]ConnectInit lk.salyk.kg [13:37:28]written 0, free lines is 4095 [13:37:28]Connected sock=9 [13:37:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3C 01 00 00 1A 0A 34 01 38 EB 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 98 31 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 01 07 00 00 35 04 06 00 19 BB D9 65 92 FE 05 34 75 D4 D0 9E C9 B1 [13:37:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 C3 F1 47 00 4B 45 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 32 30 39 38 35 39 32 10 04 04 00 01 07 00 00 F4 03 04 00 D0 DC 90 66 B6 04 01 00 00 60 F8 24 3A 14 FB 22 3F [13:37:29]CommunicateWithHost err = 0 [13:37:29]CheckOFDResponse [13:37:29]1017 (14) - 77093643461234 [13:37:29]1041 (16) - 0000000002098592 [13:37:29]1040 (4) - 1793 [13:37:29]1012 (4) - 12.07.2024 07:35 [13:37:29]1206 (1) - 0 [13:37:29]OFD Sender: Remove packet 1793 [13:37:29]ProducePacketName [13:37:29]name=ofd_packets/00001793 [13:37:29]NVStorageDeleteData [13:37:29]Write to MH i2c: 01 00 00 E2 04 E6 [13:37:29]Write i2c OK [13:37:29]MH_I2C_Read... [13:37:29]Read from MH i2c: 01 [13:37:29]MH_I2C_Read... [13:37:29]Read from MH i2c: 01 07 00 [13:37:29]MH_I2C_Read... [13:37:29]Read from MH i2c: 01 07 00 E2 04 00 00 00 00 00 11 0D 0B [13:37:29]RasterBufferAndPrint [13:37:29]line [13:37:29]line [13:37:29]line [13:37:29]line [13:37:29]line [13:37:29]written 0, free lines is 3352 [13:37:29]MH_Cut [13:37:29]Write to MH i2c: D1 01 00 E9 04 01 BF [13:37:29]Write i2c OK [13:37:29]MH_I2C_Read... [13:37:29]Read from MH i2c: D1 [13:37:29]MH_I2C_Read... [13:37:29]Read from MH i2c: D1 01 00 [13:37:29]MH_I2C_Read... [13:37:29]Read from MH i2c: D1 01 00 E9 04 00 BE [13:37:29]Write to MH i2c: 01 00 00 EA 04 EE [13:37:29]Write i2c OK [13:37:29]MH_I2C_Read... [13:37:29]OFD Sender: No OFD packet to send [13:37:29]*** Cut start [13:37:29]*** Partial cut [13:37:29]*** CUTSNS_PIN = 1 [13:37:29]*** CUTSNS_PIN = 0 [13:37:30]*** Brake cut motor [13:37:30]Read from MH i2c: 01 [13:37:30]MH_I2C_Read... [13:37:30]*** Stop cut motor [13:37:30]*** Cut end [13:37:30]Read from MH i2c: 01 07 00 [13:37:30]MH_I2C_Read... [13:37:30]Read from MH i2c: 01 07 00 EA 04 00 00 00 00 00 FF 0F 03 [13:37:30]process_action close_receipt done [13:37:30]requested_data is exist [13:37:30]produce_requested_data [13:37:30]requested_item fm.sn is exist - process it [13:37:30]wFMCommunicate request_size=4 [13:37:30]MH_SAM_APDU [13:37:30]CAPDU: 80 11 00 00 [13:37:30]Write to MH i2c: E2 08 00 EB 04 80 11 00 00 00 00 00 00 69 [13:37:30]Write i2c OK [13:37:30]MH_I2C_Read... [13:37:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:37:30]Read from MH i2c: E2 [13:37:30]MH_I2C_Read... [13:37:30]Read from MH i2c: E2 17 00 [13:37:30]MH_I2C_Read... [13:37:30]Read from MH i2c: E2 17 00 EB 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 BF [13:37:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [13:37:30]wFMCommunicate OK [13:37:30]requested_item fd.num is exist - process it [13:37:30]SAM_PROTO_GetFieldsCounters [13:37:30]wFMCommunicate request_size=4 [13:37:30]MH_SAM_APDU [13:37:30]CAPDU: 80 13 00 00 [13:37:30]Write to MH i2c: E2 08 00 EC 04 80 13 00 00 00 00 00 00 6C [13:37:30]Write i2c OK [13:37:30]MH_I2C_Read... [13:37:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:37:30]Read from MH i2c: E2 [13:37:30]MH_I2C_Read... [13:37:30]Read from MH i2c: E2 62 00 [13:37:30]MH_I2C_Read... [13:37:30]Read from MH i2c: E2 62 00 EC 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 01 07 00 00 0E 04 04 00 17 00 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 08 [13:37:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 01 07 00 00 0E 04 04 00 17 00 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:37:30]wFMCommunicate OK [13:37:30]SAM_PROTO_GetFieldsCounters done [13:37:30]requested_item shift.num is exist - process it [13:37:30]requested_item shift.opened is exist - process it [13:37:30]req_shift_opened [13:37:30]FM_GetShiftState [13:37:30]SAM_PROTO_GetShiftState [13:37:30]wFMCommunicate request_size=4 [13:37:30]MH_SAM_APDU [13:37:30]CAPDU: 80 13 01 00 [13:37:30]Write to MH i2c: E2 08 00 ED 04 80 13 01 00 00 00 00 00 6E [13:37:30]Write i2c OK [13:37:30]MH_I2C_Read... [13:37:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:37:30]Read from MH i2c: E2 [13:37:30]MH_I2C_Read... [13:37:30]Read from MH i2c: E2 0E 00 [13:37:30]MH_I2C_Read... [13:37:30]Read from MH i2c: E2 0E 00 ED 04 00 09 00 01 43 74 90 66 00 00 00 00 90 00 27 [13:37:30]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [13:37:30]wFMCommunicate OK [13:37:30]SAM_PROTO_GetShiftState done [13:37:30]FM_GetShiftState done [13:37:30]req_shift_opened done [13:37:30]requested_item shift.open_date is exist - process it [13:37:30]req_shift_open_date [13:37:30]req_shift_open_date done [13:37:30]produce_requested_data done [13:37:30]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1793,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [13:37:30]process_action_free close_receipt [13:37:30]json_value_free [13:37:30]json_value_free done [13:37:30]process_json_proto returns [13:37:30]Send response to host [13:37:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1793,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [13:37:30]free response buf [13:37:30]execute_script done [13:37:30]execute_script returns [13:37:30]free content buf [13:37:30]Sock 8.Close socket [13:37:30]Sock 8.Thread stoped [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:23]recv_with_timeout no data received [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:14]OFD Sender: No OFD packet to send [13:39:19]OFD Sender: No OFD packet to send [13:39:24]OFD Sender: No OFD packet to send [13:39:29]OFD Sender: No OFD packet to send [13:39:34]OFD Sender: No OFD packet to send [13:39:39]OFD Sender: No OFD packet to send [13:39:44]OFD Sender: No OFD packet to send [13:39:49]OFD Sender: No OFD packet to send [13:39:54]OFD Sender: No OFD packet to send [13:39:59]OFD Sender: No OFD packet to send [13:40:04]OFD Sender: No OFD packet to send [13:40:09]OFD Sender: No OFD packet to send [13:40:14]OFD Sender: No OFD packet to send [13:40:19]OFD Sender: No OFD packet to send [13:40:24]OFD Sender: No OFD packet to send [13:40:29]OFD Sender: No OFD packet to send [13:40:34]OFD Sender: No OFD packet to send [13:40:39]OFD Sender: No OFD packet to send [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]OFD Sender: No OFD packet to send [13:41:00]recv_with_timeout no data received [13:41:04]OFD Sender: No OFD packet to send [13:41:09]OFD Sender: No OFD packet to send [13:41:14]OFD Sender: No OFD packet to send [13:41:19]OFD Sender: No OFD packet to send [13:41:24]OFD Sender: No OFD packet to send [13:41:29]OFD Sender: No OFD packet to send [13:41:34]OFD Sender: No OFD packet to send [13:41:39]OFD Sender: No OFD packet to send [13:41:44]OFD Sender: No OFD packet to send [13:41:49]OFD Sender: No OFD packet to send [13:41:54]OFD Sender: No OFD packet to send [13:41:59]OFD Sender: No OFD packet to send [13:42:04]OFD Sender: No OFD packet to send [13:42:09]OFD Sender: No OFD packet to send [13:42:14]OFD Sender: No OFD packet to send [13:42:19]OFD Sender: No OFD packet to send [13:42:24]OFD Sender: No OFD packet to send [13:42:29]OFD Sender: No OFD packet to send [13:42:34]OFD Sender: No OFD packet to send [13:42:39]OFD Sender: No OFD packet to send [13:42:44]OFD Sender: No OFD packet to send [13:42:49]OFD Sender: No OFD packet to send [13:42:54]OFD Sender: No OFD packet to send [13:42:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:50]OFD Sender: No OFD packet to send [13:44:55]OFD Sender: No OFD packet to send [13:45:00]OFD Sender: No OFD packet to send [13:45:05]OFD Sender: No OFD packet to send [13:45:10]OFD Sender: No OFD packet to send [13:45:15]OFD Sender: No OFD packet to send [13:45:20]OFD Sender: No OFD packet to send [13:45:25]OFD Sender: No OFD packet to send [13:45:30]OFD Sender: No OFD packet to send [13:45:33]recv_with_timeout no data received [13:45:35]OFD Sender: No OFD packet to send [13:45:40]OFD Sender: No OFD packet to send [13:45:45]OFD Sender: No OFD packet to send [13:45:50]OFD Sender: No OFD packet to send [13:45:55]OFD Sender: No OFD packet to send [13:46:00]OFD Sender: No OFD packet to send [13:46:05]OFD Sender: No OFD packet to send [13:46:10]OFD Sender: No OFD packet to send [13:46:15]OFD Sender: No OFD packet to send [13:46:20]OFD Sender: No OFD packet to send [13:46:25]OFD Sender: No OFD packet to send [13:46:30]OFD Sender: No OFD packet to send [13:46:35]OFD Sender: No OFD packet to send [13:46:38]recv_with_timeout no data received [13:46:40]OFD Sender: No OFD packet to send [13:46:45]OFD Sender: No OFD packet to send [13:46:50]OFD Sender: No OFD packet to send [13:46:55]OFD Sender: No OFD packet to send [13:47:00]OFD Sender: No OFD packet to send [13:47:05]OFD Sender: No OFD packet to send [13:47:10]OFD Sender: No OFD packet to send [13:47:15]OFD Sender: No OFD packet to send [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:44]recv_with_timeout no data received [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:20]recv_with_timeout no data received [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:19]recv_with_timeout no data received [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:39]recv_with_timeout no data received [13:49:40]OFD Sender: No OFD packet to send [13:49:44]accept exits with 10 [13:49:44]New connection [13:49:44]New thread 3067145572 created [13:49:44]Thread 3067002212 joined [13:49:44]Waiting for new connection... [13:49:44] Sock 10.Parse request [13:49:44]Sock 10.Check first char [13:49:44]Sock 10.First char is OK [13:49:44]request: POST /json_proto HTTP/1.0 [13:49:44]Method: POST [13:49:44]URL: /json_proto [13:49:44]Method is POST - this is cgi request [13:49:44]url: /json_proto [13:49:44]query_string will be loaded in cgi processing [13:49:44]execute_cgi json_proto POST (null) [13:49:44]execute_cgi path=json_proto method=POST [13:49:44]POST find Content-Length [13:49:44]Host: 172.17.35.133:8080 [13:49:44]Content-Length: 1481 [13:49:44]Content-Type: application/json [13:49:44] [13:49:44]POST finish read [13:49:44]Found Content-Length = 1481 [13:49:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256261", "tax_sys" : 0, "items" : [ { "code": "4700003150714", "name": "\u0412\u043E\u0434\u043A\u0430 FAVORIT 0,7", "price" : 780.00, "quantity" : 1.000, "sum" : 780.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 5.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 995.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:44]execute_script... [13:49: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)256261", "tax_sys" : 0, "items" : [ { "code": "4700003150714", "name": "\u0412\u043E\u0434\u043A\u0430 FAVORIT 0,7", "price" : 780.00, "quantity" : 1.000, "sum" : 780.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 5.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 995.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:44]POST & json_proto [13:49:44]process_json_proto [13:49:44]json parsed OK: [13:49:44]protocol is kg_v1.0 [13:49:44]action value=close_receipt [13:49:44]process_action close_receipt [13:49:44]cmd_close_receipt [13:49:44]MH_GetDate [13:49:44]Write to MH i2c: F0 00 00 EE 04 E1 [13:49:44]Write i2c OK [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: F0 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: F0 09 00 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: F0 09 00 EE 04 00 79 34 91 66 1B 28 2A 66 61 [13:49:44]GetLastDocTimeStamp 1720791448 [13:49:44]current date 1720792185 [13:49:44]FM_GetShiftState [13:49:44]SAM_PROTO_GetShiftState [13:49:44]wFMCommunicate request_size=4 [13:49:44]MH_SAM_APDU [13:49:44]CAPDU: 80 13 01 00 [13:49:44]Write to MH i2c: E2 08 00 EF 04 80 13 01 00 00 00 00 00 70 [13:49:44]Write i2c OK [13:49:44]MH_I2C_Read... [13:49:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:44]Read from MH i2c: E2 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: E2 0E 00 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: E2 0E 00 EF 04 00 09 00 01 43 74 90 66 00 00 00 00 90 00 29 [13:49:44]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [13:49:44]wFMCommunicate OK [13:49:44]SAM_PROTO_GetShiftState done [13:49:44]FM_GetShiftState done [13:49:44]opened in 1720742979 [13:49:44]opened+sec_in_day 1720829379 [13:49:44]quantity*price = 78000 [13:49:44]sum+1 = 78001 [13:49:44]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 5.000 * 7.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000439 Напиток Кока-Кола 1,5л 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 1.000 * 25.00 = 25.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 995.00 НСП 1% : 8.80 НДС 12% : 105.66 Наличными: 995.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 28 12.07.2024 13:49 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1794 ФПД: 28582610574979 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T134946&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1794&fm=28582610574979&tin=02508201610067®Number=0000000000177495&sum=99500 0 [13:49:45]StoreToDocumentArchive [13:49:45]shift 23 fd 1794 [13:49:45]save to /storage/0023/doc_00001794 [13:49:45]save last doc name /storage/0023/doc_00001794 to /storage/kkm_last_doc_name [13:49:45]save OK [13:49:45]Clear old archive folders... [13:49:45]ProcessDocumentItem done err = 0, tmpTLVsize=612 [13:49:45]tlvbuf is 01070E60 [13:49:45]SAM_PROTO_ClearQueue [13:49:45]wFMCommunicate request_size=4 [13:49:45]MH_SAM_APDU [13:49:45]CAPDU: 80 09 00 00 [13:49:45]Write to MH i2c: E2 08 00 FC 04 80 09 00 00 00 00 00 00 72 [13:49:45]Write i2c OK [13:49:45]MH_I2C_Read... [13:49:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:49:45]Read from MH i2c: E2 [13:49:45]MH_I2C_Read... [13:49:45]Read from MH i2c: E2 03 00 [13:49:45]MH_I2C_Read... [13:49:45]Read from MH i2c: E2 03 00 FC 04 00 90 00 74 [13:49:45]RAPDU: 90 00 [13:49:45]wFMCommunicate OK [13:49:45]SAM_PROTO_ClearQueue done [13:49:45]KKMCreateOFDPacket [13:49:45]OFDProtocolAddRootSTLVToBuf [13:49:45]FM_MakeSignedData [13:49:45]FM_MakeSignedData [13:49:45]SAM_PROTO_SignData [13:49:45]wFMCommunicate request_size=4 [13:49:45]MH_SAM_APDU [13:49:45]CAPDU: 80 0D 01 02 [13:49:45]Write to MH i2c: E2 08 00 FD 04 80 0D 01 02 00 00 00 00 7A [13:49:45]Write i2c OK [13:49:45]MH_I2C_Read... [13:49:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:49:45]Read from MH i2c: E2 [13:49:45]MH_I2C_Read... [13:49:45]Read from MH i2c: E2 03 00 [13:49:45]MH_I2C_Read... [13:49:45]Read from MH i2c: E2 03 00 FD 04 00 90 00 75 [13:49:45]RAPDU: 90 00 [13:49:45]wFMCommunicate OK [13:49:45]wFMCommunicate request_size=255 [13:49:45]MH_SAM_APDU [13:49:45]CAPDU: 80 0D 02 02 FA 03 00 64 02 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 37 31 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 46 41 56 4F 52 49 54 20 30 2C 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 30 01 00 00 00 13 04 06 00 B0 30 01 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 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 [13:49:45]Write to MH i2c: E2 02 01 FE 04 80 0D 02 02 FA 00 03 00 64 02 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 37 31 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 46 41 56 4F 52 49 54 20 30 2C 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 30 01 00 00 00 13 04 06 00 B0 30 01 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 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 00 00 86 [13:49:45]Write i2c OK [13:49:45]MH_I2C_Read... [13:49:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:46]Read from MH i2c: E2 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 03 00 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 03 00 FE 04 00 90 00 76 [13:49:46]RAPDU: 90 00 [13:49:46]wFMCommunicate OK [13:49:46]wFMCommunicate request_size=255 [13:49:46]MH_SAM_APDU [13:49:46]CAPDU: 80 0D 02 02 FA BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 84 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 29 00 [13:49:46]Write to MH i2c: E2 02 01 FF 04 80 0D 02 02 FA 00 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 84 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 29 00 00 00 D0 [13:49:46]Write i2c OK [13:49:46]MH_I2C_Read... [13:49:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:46]Read from MH i2c: E2 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 03 00 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 03 00 FF 04 00 90 00 77 [13:49:46]RAPDU: 90 00 [13:49:46]wFMCommunicate OK [13:49:46]wFMCommunicate request_size=121 [13:49:46]MH_SAM_APDU [13:49:46]CAPDU: 80 0D 02 02 74 00 00 00 07 04 06 00 AC 84 01 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 7A 34 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 02 07 00 00 35 04 06 00 19 FE E8 59 9E 83 [13:49:46]Write to MH i2c: E2 7C 00 00 05 80 0D 02 02 74 00 00 00 00 07 04 06 00 AC 84 01 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 7A 34 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 02 07 00 00 35 04 06 00 19 FE E8 59 9E 83 00 00 37 [13:49:46]Write i2c OK [13:49:46]MH_I2C_Read... [13:49:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:46]Read from MH i2c: E2 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 03 00 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 03 00 00 05 00 90 00 79 [13:49:46]RAPDU: 90 00 [13:49:46]wFMCommunicate OK [13:49:46]wFMCommunicate request_size=4 [13:49:46]MH_SAM_APDU [13:49:46]CAPDU: 80 0D 03 02 [13:49:46]Write to MH i2c: E2 08 00 01 05 80 0D 03 02 00 00 00 00 81 [13:49:46]Write i2c OK [13:49:46]MH_I2C_Read... [13:49:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:49:46]Read from MH i2c: E2 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 0B 00 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 0B 00 01 05 00 EA 08 A0 65 B5 A4 44 60 90 00 76 [13:49:46]RAPDU: EA 08 A0 65 B5 A4 44 60 90 00 [13:49:46]wFMCommunicate OK [13:49:46]SAM_PROTO_SignData done [13:49:46]FM_MakeSignedData done [13:49:46]CreateOFDProtocolMessage [13:49:46]wFMCommunicate request_size=4 [13:49:46]MH_SAM_APDU [13:49:46]CAPDU: 80 11 00 00 [13:49:46]Write to MH i2c: E2 08 00 02 05 80 11 00 00 00 00 00 00 81 [13:49:46]Write i2c OK [13:49:46]MH_I2C_Read... [13:49:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:46]Read from MH i2c: E2 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 17 00 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: E2 17 00 02 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 D7 [13:49:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [13:49:46]wFMCommunicate OK [13:49:46]CreateOFDProtocolMessage done [13:49:46]OFDSenderStorePacket 1794 [13:49:46]StoreOFDPacket docnum=1794 [13:49:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 78 02 00 00 36 38 70 02 F3 0F 5A 03 01 00 03 00 64 02 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 37 31 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 46 41 56 4F 52 49 54 20 30 2C 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 30 01 00 00 00 13 04 06 00 B0 30 01 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 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 84 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 29 00 00 00 00 07 04 06 00 AC 84 01 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 7A 34 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 02 07 00 00 35 04 06 00 19 FE E8 59 9E 83 EA 08 A0 65 B5 A4 44 60 [13:49:46]CheckFolder [13:49:46]dirname=/storage/ofd_packets [13:49:46]CheckFolder done [13:49:46]ProducePacketName [13:49:46]name=ofd_packets/00001794 [13:49:46]NVStorageSaveData ofd_packets/00001794 [13:49:46]File name is /storage/ofd_packets/00001794 [13:49:46]Write 662 bytes [13:49:46]NVStorageSaveData done [13:49:46]OFDSenderStorePacket done [13:49:46]KKMCreateOFDPacket done [13:49:46]NVStorageSaveData kkm_last_timestamp [13:49:46]File name is /storage/kkm_last_timestamp [13:49:46]Write 4 bytes [13:49:46]NVStorageSaveData done [13:49:46]ExternCall_PrintAddStr [13:49:46]wPrintStart [13:49:46]Write to MH i2c: 01 00 00 03 05 08 [13:49:46]Write i2c OK [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: 01 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: 01 07 00 [13:49:46]MH_I2C_Read... [13:49:46]Read from MH i2c: 01 07 00 03 05 00 00 00 00 00 FF 0F 1D [13:49:46]RasterBufferAndPrint [13:49:46]line Счет N : (3)256261 [13:49:46]line ИНН: 02508201610067 [13:49:46]line Контрольно-Кассовый Чек [13:49:46]line ПРОДАЖА [13:49:46]line Товар: 4700003150714 [13:49:46]line Водка FAVORIT 0,7 [13:49:46]line 1.000 * 780.00 [13:49:46]line = 780.00 [13:49:46]line НДС 12% НСП 1% [13:49:46]line > о реализуемом товаре [13:49:47]line Товар: 2000053020015 [13:49:47]line Бумажные стаканы 250мл 1шт [13:49:47]line 5.000 * 7.00 [13:49:47]line = 35.00 [13:49:47]line НДС 12% НСП 1% [13:49:47]line > о реализуемом товаре [13:49:47]line Товар: 5449000000439 [13:49:47]line Напиток Кока-Кола 1,5л [13:49:47]line 1.000 * 155.00 [13:49:47]line = 155.00 [13:49:47]line НДС 12% НСП 1% [13:49:47]line > о реализуемом товаре [13:49:47]line Товар: 2000027340020 [13:49:47]line Пакет бумажный витая ручка [13:49:47]line 1.000 * 25.00 [13:49:47]line = 25.00 [13:49:47]line НДС 12% НСП 1% [13:49:47]line > о реализуемом товаре [13:49:47]line ИТОГО: 995.00 [13:49:47]line НСП 1% : 8.80 [13:49:47]line НДС 12% : 105.66 [13:49:47]line Наличными: 995.00 [13:49:47]line Безнал.: 0.00 [13:49:47]line Место: АЗС № 76 "Партнер Нефть" [13:49:47]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [13:49:47]line СНО: Общий режим [13:49:47]line Чек 28 12.07.2024 13:49 [13:49:47]line Смена: 23 ФФД: 1.0 [13:49:47]line ЗНМ: 0300000124 [13:49:47]line РНМ: 0000000000177495 [13:49:47]line Версия ККМ: 001 [13:49:47]line ФМ: 0000000002098592 [13:49:47]line ФД: 1794 [13:49:47]line ФПД: 28582610574979 [13:49:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T134946&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1794&fm=28582610574979&tin=02508201610067®Number=0000000000177495&sum=99500 [13:49:47]OFD Sender: Processing packet 1794 [packets to send 1, broken 0] [13:49:47]ProducePacketName [13:49:47]name=ofd_packets/00001794 [13:49:47]OFD Sender: To server: pG, [13:49:47]CommunicateWithHost lk.salyk.kg:30040 [13:49:47]ConnectInit lk.salyk.kg [13:49:47]line 0 [13:49:47]written 0, free lines is 4095 [13:49:47]Connected sock=9 [13:49:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 78 02 00 00 36 38 70 02 F3 0F 5A 03 01 00 03 00 64 02 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 37 31 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 46 41 56 4F 52 49 54 20 30 2C 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 30 01 00 00 00 13 04 06 00 B0 30 01 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 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 84 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 29 00 00 00 00 07 04 06 00 AC 84 01 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 7A 34 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 02 07 00 00 35 04 06 00 19 FE E8 59 9E 83 EA 08 A0 65 B5 A4 44 60 [13:49:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 C4 18 47 00 9F A0 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 32 30 39 38 35 39 32 10 04 04 00 02 07 00 00 F4 03 04 00 B3 DF 90 66 B6 04 01 00 00 98 4C 05 02 09 8F 42 15 [13:49:47]CommunicateWithHost err = 0 [13:49:47]CheckOFDResponse [13:49:47]1017 (14) - 77093643461234 [13:49:47]1041 (16) - 0000000002098592 [13:49:47]1040 (4) - 1794 [13:49:47]1012 (4) - 12.07.2024 07:48 [13:49:47]1206 (1) - 0 [13:49:47]OFD Sender: Remove packet 1794 [13:49:47]ProducePacketName [13:49:47]name=ofd_packets/00001794 [13:49:47]NVStorageDeleteData [13:49:47]Write to MH i2c: 01 00 00 3E 05 43 [13:49:47]Write i2c OK [13:49:47]MH_I2C_Read... [13:49:47]Read from MH i2c: 01 [13:49:47]MH_I2C_Read... [13:49:47]Read from MH i2c: 01 07 00 [13:49:47]MH_I2C_Read... [13:49:47]Read from MH i2c: 01 07 00 3E 05 00 00 00 00 00 28 0C 7E [13:49:47]RasterBufferAndPrint [13:49:47]line [13:49:47]line [13:49:47]line [13:49:47]line [13:49:47]line [13:49:47]written 0, free lines is 3119 [13:49:47]MH_Cut [13:49:47]Write to MH i2c: D1 01 00 45 05 01 1C [13:49:47]Write i2c OK [13:49:47]MH_I2C_Read... [13:49:47]Read from MH i2c: D1 [13:49:47]MH_I2C_Read... [13:49:47]Read from MH i2c: D1 01 00 [13:49:47]MH_I2C_Read... [13:49:47]Read from MH i2c: D1 01 00 45 05 00 1B [13:49:47]Write to MH i2c: 01 00 00 46 05 4B [13:49:47]Write i2c OK [13:49:47]MH_I2C_Read... [13:49:48]OFD Sender: No OFD packet to send [13:49:48]*** Cut start [13:49:48]*** Partial cut [13:49:48]*** CUTSNS_PIN = 1 [13:49:48]*** CUTSNS_PIN = 0 [13:49:48]*** Brake cut motor [13:49:49]Read from MH i2c: 01 [13:49:49]MH_I2C_Read... [13:49:49]*** Stop cut motor [13:49:49]*** Cut end [13:49:49]Read from MH i2c: 01 07 00 [13:49:49]MH_I2C_Read... [13:49:49]Read from MH i2c: 01 07 00 46 05 00 00 00 00 00 FF 0F 60 [13:49:49]process_action close_receipt done [13:49:49]requested_data is exist [13:49:49]produce_requested_data [13:49:49]requested_item fm.sn is exist - process it [13:49:49]wFMCommunicate request_size=4 [13:49:49]MH_SAM_APDU [13:49:49]CAPDU: 80 11 00 00 [13:49:49]Write to MH i2c: E2 08 00 47 05 80 11 00 00 00 00 00 00 C6 [13:49:49]Write i2c OK [13:49:49]MH_I2C_Read... [13:49:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:49]Read from MH i2c: E2 [13:49:49]MH_I2C_Read... [13:49:49]Read from MH i2c: E2 17 00 [13:49:49]MH_I2C_Read... [13:49:49]Read from MH i2c: E2 17 00 47 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 1C [13:49:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [13:49:49]wFMCommunicate OK [13:49:49]requested_item fd.num is exist - process it [13:49:49]SAM_PROTO_GetFieldsCounters [13:49:49]wFMCommunicate request_size=4 [13:49:49]MH_SAM_APDU [13:49:49]CAPDU: 80 13 00 00 [13:49:49]Write to MH i2c: E2 08 00 48 05 80 13 00 00 00 00 00 00 C9 [13:49:49]Write i2c OK [13:49:49]MH_I2C_Read... [13:49:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:49:49]Read from MH i2c: E2 [13:49:49]MH_I2C_Read... [13:49:49]Read from MH i2c: E2 62 00 [13:49:49]MH_I2C_Read... [13:49:49]Read from MH i2c: E2 62 00 48 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 02 07 00 00 0E 04 04 00 17 00 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 69 [13:49:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 02 07 00 00 0E 04 04 00 17 00 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:49:49]wFMCommunicate OK [13:49:49]SAM_PROTO_GetFieldsCounters done [13:49:49]requested_item shift.num is exist - process it [13:49:49]requested_item shift.opened is exist - process it [13:49:49]req_shift_opened [13:49:49]FM_GetShiftState [13:49:49]SAM_PROTO_GetShiftState [13:49:49]wFMCommunicate request_size=4 [13:49:49]MH_SAM_APDU [13:49:49]CAPDU: 80 13 01 00 [13:49:49]Write to MH i2c: E2 08 00 49 05 80 13 01 00 00 00 00 00 CB [13:49:49]Write i2c OK [13:49:49]MH_I2C_Read... [13:49:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:49]Read from MH i2c: E2 [13:49:49]MH_I2C_Read... [13:49:49]Read from MH i2c: E2 0E 00 [13:49:49]MH_I2C_Read... [13:49:49]Read from MH i2c: E2 0E 00 49 05 00 09 00 01 43 74 90 66 00 00 00 00 90 00 84 [13:49:49]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [13:49:49]wFMCommunicate OK [13:49:49]SAM_PROTO_GetShiftState done [13:49:49]FM_GetShiftState done [13:49:49]req_shift_opened done [13:49:49]requested_item shift.open_date is exist - process it [13:49:49]req_shift_open_date [13:49:49]req_shift_open_date done [13:49:49]produce_requested_data done [13:49:49]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1794,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [13:49:49]process_action_free close_receipt [13:49:49]json_value_free [13:49:49]json_value_free done [13:49:49]process_json_proto returns [13:49:49]Send response to host [13:49:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1794,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [13:49:49]free response buf [13:49:49]execute_script done [13:49:49]execute_script returns [13:49:49]free content buf [13:49:49]Sock 10.Close socket [13:49:49]Sock 10.Thread stoped [13:49:53]OFD Sender: No OFD packet to send [13:49:56]recv_with_timeout no data received [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:38]OFD Sender: No OFD packet to send [13:50:43]OFD Sender: No OFD packet to send [13:50:48]OFD Sender: No OFD packet to send [13:50:53]OFD Sender: No OFD packet to send [13:50:58]OFD Sender: No OFD packet to send [13:51:03]OFD Sender: No OFD packet to send [13:51:08]OFD Sender: No OFD packet to send [13:51:13]OFD Sender: No OFD packet to send [13:51:18]OFD Sender: No OFD packet to send [13:51:23]OFD Sender: No OFD packet to send [13:51:28]OFD Sender: No OFD packet to send [13:51:33]OFD Sender: No OFD packet to send [13:51:38]OFD Sender: No OFD packet to send [13:51:43]OFD Sender: No OFD packet to send [13:51:48]OFD Sender: No OFD packet to send [13:51:49]recv_with_timeout no data received [13:51:53]OFD Sender: No OFD packet to send [13:51:58]OFD Sender: No OFD packet to send [13:52:03]OFD Sender: No OFD packet to send [13:52:08]OFD Sender: No OFD packet to send [13:52:13]OFD Sender: No OFD packet to send [13:52:16]recv_with_timeout no data received [13:52:18]OFD Sender: No OFD packet to send [13:52:23]OFD Sender: No OFD packet to send [13:52:28]OFD Sender: No OFD packet to send [13:52:33]OFD Sender: No OFD packet to send [13:52:38]OFD Sender: No OFD packet to send [13:52:43]OFD Sender: No OFD packet to send [13:52:48]OFD Sender: No OFD packet to send [13:52:53]OFD Sender: No OFD packet to send [13:52:58]OFD Sender: No OFD packet to send [13:53:03]OFD Sender: No OFD packet to send [13:53:08]OFD Sender: No OFD packet to send [13:53:13]OFD Sender: No OFD packet to send [14:50:53]ConnectInit Can't connect to host [14:50:55]ConnectInit Can't take IP for lk.salyk.kg [14:50:55]CommunicateWithHost connect error [14:50:55]CommunicateWithHost err = -1 [14:50:55]OFD Sender: Server communicate error [14:51:00]OFD Sender: Processing packet 1795 [packets to send 5, broken 0] [14:51:00]ProducePacketName [14:51:00]name=ofd_packets/00001795 [14:51:00]OFD Sender: To server: pG, [14:51:00]CommunicateWithHost lk.salyk.kg:30040 [14:51:00]ConnectInit lk.salyk.kg [14:51:00]Connected sock=8 [14:51:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 42 01 00 00 30 FD 3A 01 AF D7 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 96 39 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 03 07 00 00 35 04 06 00 89 6A 63 91 B3 BE A7 A9 CE D1 68 5A 86 72 [14:51:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 7A E2 47 00 91 3C 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 32 30 39 38 35 39 32 10 04 04 00 03 07 00 00 F4 03 04 00 0C EE 90 66 B6 04 01 00 00 F1 24 33 01 AD C6 40 EF [14:51:00]CommunicateWithHost err = 0 [14:51:00]CheckOFDResponse [14:51:00]1017 (14) - 77093643461234 [14:51:00]1041 (16) - 0000000002098592 [14:51:00]1040 (4) - 1795 [14:51:00]1012 (4) - 12.07.2024 08:49 [14:51:00]1206 (1) - 0 [14:51:00]OFD Sender: Remove packet 1795 [14:51:00]ProducePacketName [14:51:00]name=ofd_packets/00001795 [14:51:00]NVStorageDeleteData [14:51:01]OFD Sender: Processing packet 1796 [packets to send 4, broken 0] [14:51:01]ProducePacketName [14:51:01]name=ofd_packets/00001796 [14:51:01]OFD Sender: To server: pG, [14:51:01]CommunicateWithHost lk.salyk.kg:30040 [14:51:01]ConnectInit lk.salyk.kg [14:51:01]Connected sock=8 [14:51:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3A 01 00 00 B1 9B 32 01 FD F3 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 1E 00 00 00 F4 03 04 00 F4 39 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 04 07 00 00 35 04 06 00 FA 1C A0 CA 9E CB 4F 44 23 4A FD 5B 53 76 [14:51:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 35 C1 47 00 0C 47 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 32 30 39 38 35 39 32 10 04 04 00 04 07 00 00 F4 03 04 00 0D EE 90 66 B6 04 01 00 00 5A E4 0A 8A CD 51 16 8B [14:51:01]CommunicateWithHost err = 0 [14:51:01]CheckOFDResponse [14:51:01]1017 (14) - 77093643461234 [14:51:01]1041 (16) - 0000000002098592 [14:51:01]1040 (4) - 1796 [14:51:01]1012 (4) - 12.07.2024 08:49 [14:51:01]1206 (1) - 0 [14:51:01]OFD Sender: Remove packet 1796 [14:51:01]ProducePacketName [14:51:01]name=ofd_packets/00001796 [14:51:01]NVStorageDeleteData [14:51:02]OFD Sender: Processing packet 1797 [packets to send 3, broken 0] [14:51:02]ProducePacketName [14:51:02]name=ofd_packets/00001797 [14:51:02]OFD Sender: To server: pG, [14:51:02]CommunicateWithHost lk.salyk.kg:30040 [14:51:02]ConnectInit lk.salyk.kg [14:51:02]Connected sock=8 [14:51:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 92 01 00 00 B3 DC 8A 01 C8 9D 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 38 33 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 72 6F 6E 7A 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 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 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 A0 3A 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 05 07 00 00 35 04 06 00 31 C3 56 64 30 D6 A4 FB 15 40 E1 C8 77 A2 [14:51:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 65 07 47 00 F1 47 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 32 30 39 38 35 39 32 10 04 04 00 05 07 00 00 F4 03 04 00 0E EE 90 66 B6 04 01 00 00 C5 52 AE 54 BC FD D9 5A [14:51:02]CommunicateWithHost err = 0 [14:51:02]CheckOFDResponse [14:51:02]1017 (14) - 77093643461234 [14:51:02]1041 (16) - 0000000002098592 [14:51:02]1040 (4) - 1797 [14:51:02]1012 (4) - 12.07.2024 08:49 [14:51:02]1206 (1) - 0 [14:51:02]OFD Sender: Remove packet 1797 [14:51:02]ProducePacketName [14:51:02]name=ofd_packets/00001797 [14:51:02]NVStorageDeleteData [14:51:03]OFD Sender: Processing packet 1798 [packets to send 2, broken 0] [14:51:03]ProducePacketName [14:51:03]name=ofd_packets/00001798 [14:51:03]OFD Sender: To server: pG, [14:51:03]CommunicateWithHost lk.salyk.kg:30040 [14:51:03]ConnectInit lk.salyk.kg [14:51:04]Connected sock=8 [14:51:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 18 01 00 00 30 C2 10 01 D2 5F 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B5 3C 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 06 07 00 00 35 04 06 00 B1 AF 09 09 9F DA DA D0 49 95 71 15 D8 78 [14:51:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 BA 1B 47 00 54 D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 06 07 00 00 F4 03 04 00 10 EE 90 66 B6 04 01 00 00 77 6D 6D 97 29 6F CD C6 [14:51:04]CommunicateWithHost err = 0 [14:51:04]CheckOFDResponse [14:51:04]1017 (14) - 77093643461234 [14:51:04]1041 (16) - 0000000002098592 [14:51:04]1040 (4) - 1798 [14:51:04]1012 (4) - 12.07.2024 08:49 [14:51:04]1206 (1) - 0 [14:51:04]OFD Sender: Remove packet 1798 [14:51:04]ProducePacketName [14:51:04]name=ofd_packets/00001798 [14:51:04]NVStorageDeleteData [14:51:04]OFD Sender: Processing packet 1799 [packets to send 1, broken 0] [14:51:04]ProducePacketName [14:51:04]name=ofd_packets/00001799 [14:51:04]OFD Sender: To server: pG, [14:51:04]CommunicateWithHost lk.salyk.kg:30040 [14:51:04]ConnectInit lk.salyk.kg [14:51:05]Connected sock=8 [14:51:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2C 01 00 00 B4 C3 24 01 A1 0A 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 21 00 00 00 F4 03 04 00 5A 3D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 07 07 00 00 35 04 06 00 59 FE C2 9A D1 E7 75 B3 FE 6C CA B7 B8 E2 [14:51:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 50 70 47 00 04 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 07 07 00 00 F4 03 04 00 11 EE 90 66 B6 04 01 00 00 B7 26 9E 26 B5 01 13 8A [14:51:05]CommunicateWithHost err = 0 [14:51:05]CheckOFDResponse [14:51:05]1017 (14) - 77093643461234 [14:51:05]1041 (16) - 0000000002098592 [14:51:05]1040 (4) - 1799 [14:51:05]1012 (4) - 12.07.2024 08:49 [14:51:05]1206 (1) - 0 [14:51:05]OFD Sender: Remove packet 1799 [14:51:05]ProducePacketName [14:51:05]name=ofd_packets/00001799 [14:51:05]NVStorageDeleteData [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:15]recv_with_timeout no data received [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:47]recv_with_timeout no data received [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:19]recv_with_timeout no data received [14:52:21]OFD Sender: No OFD packet to send [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:40]recv_with_timeout no data received [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [14:53:46]OFD Sender: No OFD packet to send [14:53:51]OFD Sender: No OFD packet to send [14:53:56]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:07]ConnectInit Can't connect to host [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:01]OFD Sender: No OFD packet to send [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]OFD Sender: No OFD packet to send [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]OFD Sender: No OFD packet to send [15:03:46]OFD Sender: No OFD packet to send [15:03:51]OFD Sender: No OFD packet to send [15:03:56]OFD Sender: No OFD packet to send [15:04:01]OFD Sender: No OFD packet to send [15:04:06]OFD Sender: No OFD packet to send [15:04:11]OFD Sender: No OFD packet to send [15:04:16]OFD Sender: No OFD packet to send [15:04:21]OFD Sender: No OFD packet to send [15:04:26]OFD Sender: No OFD packet to send [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05: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]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:32]OFD Sender: No OFD packet to send [15:12:37]OFD Sender: No OFD packet to send [15:12:42]OFD Sender: No OFD packet to send [15:12:47]OFD Sender: No OFD packet to send [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:07]OFD Sender: No OFD packet to send [15:13:12]OFD Sender: No OFD packet to send [15:13:17]OFD Sender: No OFD packet to send [15:13:21]accept exits with 11 [15:13:21]New connection [15:13:21]New thread 3067145572 created [15:13:21]Thread 3067002212 joined [15:13:21]Waiting for new connection... [15:13:21] Sock 11.Parse request [15:13:21]Sock 11.Check first char [15:13:21]Sock 11.First char is OK [15:13:21]request: POST /json_proto HTTP/1.0 [15:13:21]Method: POST [15:13:21]URL: /json_proto [15:13:21]Method is POST - this is cgi request [15:13:21]url: /json_proto [15:13:21]query_string will be loaded in cgi processing [15:13:21]execute_cgi json_proto POST (null) [15:13:21]execute_cgi path=json_proto method=POST [15:13:21]POST find Content-Length [15:13:21]Host: 172.17.35.133:8080 [15:13:21]Content-Length: 678 [15:13:21]Content-Type: application/json [15:13:21] [15:13:21]POST finish read [15:13:21]Found Content-Length = 678 [15:13:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1618757", "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" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:13:21]execute_script... [15:13: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 : (1)1618757", "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" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:13:21]POST & json_proto [15:13:21]process_json_proto [15:13:21]json parsed OK: [15:13:21]protocol is kg_v1.0 [15:13:21]action value=close_receipt [15:13:21]process_action close_receipt [15:13:21]cmd_close_receipt [15:13:21]MH_GetDate [15:13:21]Write to MH i2c: F0 00 00 BB 06 B0 [15:13:21]Write i2c OK [15:13:21]MH_I2C_Read... [15:13:21]Read from MH i2c: F0 [15:13:21]MH_I2C_Read... [15:13:21]Read from MH i2c: F0 09 00 [15:13:21]MH_I2C_Read... [15:13:21]Read from MH i2c: F0 09 00 BB 06 00 13 48 91 66 1B 28 2A 66 DE [15:13:21]GetLastDocTimeStamp 1720794458 [15:13:21]current date 1720797203 [15:13:21]FM_GetShiftState [15:13:21]SAM_PROTO_GetShiftState [15:13:21]wFMCommunicate request_size=4 [15:13:21]MH_SAM_APDU [15:13:21]CAPDU: 80 13 01 00 [15:13:21]Write to MH i2c: E2 08 00 BC 06 80 13 01 00 00 00 00 00 3F [15:13:21]Write i2c OK [15:13:21]MH_I2C_Read... [15:13:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:13:21]Read from MH i2c: E2 [15:13:21]MH_I2C_Read... [15:13:21]Read from MH i2c: E2 0E 00 [15:13:21]MH_I2C_Read... [15:13:21]Read from MH i2c: E2 0E 00 BC 06 00 09 00 01 43 74 90 66 00 00 00 00 90 00 F8 [15:13:21]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [15:13:21]wFMCommunicate OK [15:13:21]SAM_PROTO_GetShiftState done [15:13:21]FM_GetShiftState done [15:13:21]opened in 1720742979 [15:13:21]opened+sec_in_day 1720829379 [15:13:21]quantity*price = 50056 [15:13:21]sum+1 = 50058 [15:13:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 34 12.07.2024 15:13 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1800 ФПД: 30923063266603 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151323&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1800&fm=30923063266603&tin=02508201610067®Number=0000000000177495&sum=50000 [15:13:22]StoreToDocumentArchive [15:13:22]shift 23 fd 1800 [15:13:22]save to /storage/0023/doc_00001800 [15:13:22]save last doc name /storage/0023/doc_00001800 to /storage/kkm_last_doc_name [15:13:22]save OK [15:13:22]Clear old archive folders... [15:13:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:13:22]tlvbuf is 0106D050 [15:13:22]SAM_PROTO_ClearQueue [15:13:22]wFMCommunicate request_size=4 [15:13:22]MH_SAM_APDU [15:13:22]CAPDU: 80 09 00 00 [15:13:22]Write to MH i2c: E2 08 00 C9 06 80 09 00 00 00 00 00 00 41 [15:13:22]Write i2c OK [15:13:22]MH_I2C_Read... [15:13:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:13:22]Read from MH i2c: E2 [15:13:22]MH_I2C_Read... [15:13:22]Read from MH i2c: E2 03 00 [15:13:22]MH_I2C_Read... [15:13:22]Read from MH i2c: E2 03 00 C9 06 00 90 00 43 [15:13:22]RAPDU: 90 00 [15:13:22]wFMCommunicate OK [15:13:22]SAM_PROTO_ClearQueue done [15:13:22]KKMCreateOFDPacket [15:13:22]OFDProtocolAddRootSTLVToBuf [15:13:22]FM_MakeSignedData [15:13:22]FM_MakeSignedData [15:13:22]SAM_PROTO_SignData [15:13:22]wFMCommunicate request_size=4 [15:13:22]MH_SAM_APDU [15:13:22]CAPDU: 80 0D 01 02 [15:13:22]Write to MH i2c: E2 08 00 CA 06 80 0D 01 02 00 00 00 00 49 [15:13:22]Write i2c OK [15:13:22]MH_I2C_Read... [15:13:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:13:22]Read from MH i2c: E2 [15:13:22]MH_I2C_Read... [15:13:22]Read from MH i2c: E2 03 00 [15:13:22]MH_I2C_Read... [15:13:22]Read from MH i2c: E2 03 00 CA 06 00 90 00 44 [15:13:22]RAPDU: 90 00 [15:13:22]wFMCommunicate OK [15:13:22]wFMCommunicate request_size=255 [15:13:22]MH_SAM_APDU [15:13:22]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 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 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 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 22 00 00 00 F4 03 04 00 13 48 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 08 07 00 00 35 04 06 00 1C [15:13:22]Write to MH i2c: E2 02 01 CB 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 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 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 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 22 00 00 00 F4 03 04 00 13 48 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 08 07 00 00 35 04 06 00 1C 00 00 B4 [15:13:22]Write i2c OK [15:13:22]MH_I2C_Read... [15:13:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:13:22]Read from MH i2c: E2 [15:13:22]MH_I2C_Read... [15:13:22]Read from MH i2c: E2 03 00 [15:13:22]MH_I2C_Read... [15:13:22]Read from MH i2c: E2 03 00 CB 06 00 90 00 45 [15:13:22]RAPDU: 90 00 [15:13:22]wFMCommunicate OK [15:13:22]wFMCommunicate request_size=10 [15:13:22]MH_SAM_APDU [15:13:22]CAPDU: 80 0D 02 02 05 1F D6 33 8D 2B [15:13:22]Write to MH i2c: E2 0D 00 CC 06 80 0D 02 02 05 00 1F D6 33 8D 2B 00 00 36 [15:13:22]Write i2c OK [15:13:22]MH_I2C_Read... [15:13:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:13:23]Read from MH i2c: E2 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: E2 03 00 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: E2 03 00 CC 06 00 90 00 46 [15:13:23]RAPDU: 90 00 [15:13:23]wFMCommunicate OK [15:13:23]wFMCommunicate request_size=4 [15:13:23]MH_SAM_APDU [15:13:23]CAPDU: 80 0D 03 02 [15:13:23]Write to MH i2c: E2 08 00 CD 06 80 0D 03 02 00 00 00 00 4E [15:13:23]Write i2c OK [15:13:23]MH_I2C_Read... [15:13:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:13:23]Read from MH i2c: E2 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: E2 0B 00 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: E2 0B 00 CD 06 00 74 CE 15 40 4C 4D 6C B8 90 00 A3 [15:13:23]RAPDU: 74 CE 15 40 4C 4D 6C B8 90 00 [15:13:23]wFMCommunicate OK [15:13:23]SAM_PROTO_SignData done [15:13:23]FM_MakeSignedData done [15:13:23]CreateOFDProtocolMessage [15:13:23]wFMCommunicate request_size=4 [15:13:23]MH_SAM_APDU [15:13:23]CAPDU: 80 11 00 00 [15:13:23]Write to MH i2c: E2 08 00 CE 06 80 11 00 00 00 00 00 00 4E [15:13:23]Write i2c OK [15:13:23]MH_I2C_Read... [15:13:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:13:23]Read from MH i2c: E2 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: E2 17 00 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: E2 17 00 CE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 A4 [15:13:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [15:13:23]wFMCommunicate OK [15:13:23]CreateOFDProtocolMessage done [15:13:23]OFDSenderStorePacket 1800 [15:13:23]StoreOFDPacket docnum=1800 [15:13:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0F 01 00 00 AA 6E 07 01 87 98 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 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 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 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 22 00 00 00 F4 03 04 00 13 48 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 08 07 00 00 35 04 06 00 1C 1F D6 33 8D 2B 74 CE 15 40 4C 4D 6C B8 [15:13:23]CheckFolder [15:13:23]dirname=/storage/ofd_packets [15:13:23]CheckFolder done [15:13:23]ProducePacketName [15:13:23]name=ofd_packets/00001800 [15:13:23]NVStorageSaveData ofd_packets/00001800 [15:13:23]File name is /storage/ofd_packets/00001800 [15:13:23]Write 301 bytes [15:13:23]NVStorageSaveData done [15:13:23]OFDSenderStorePacket done [15:13:23]KKMCreateOFDPacket done [15:13:23]NVStorageSaveData kkm_last_timestamp [15:13:23]File name is /storage/kkm_last_timestamp [15:13:23]Write 4 bytes [15:13:23]NVStorageSaveData done [15:13:23]ExternCall_PrintAddStr [15:13:23]wPrintStart [15:13:23]Write to MH i2c: 01 00 00 CF 06 D5 [15:13:23]Write i2c OK [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: 01 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: 01 07 00 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: 01 07 00 CF 06 00 00 00 00 00 FF 0F EA [15:13:23]RasterBufferAndPrint [15:13:23]line Счет N : (1)1618757 [15:13:23]line ИНН: 02508201610067 [15:13:23]line Контрольно-Кассовый Чек [15:13:23]line ПРОДАЖА [15:13:23]line ТРК (МРК, ГНК) : 33 [15:13:23]line Товар: 2710124130 [15:13:23]line Аи-92-К-5 [15:13:23]line 7.550 * 66.30 [15:13:23]line = 500.57 [15:13:23]line НДС 12% НСП 1% [15:13:23]line > о реализуемом товаре [15:13:23]line ОКРУГЛЕНИЕ: -0.57 [15:13:23]line ИТОГО: 500.00 [15:13:23]line Внесено: 500.00 [15:13:23]line СДАЧА: 0.00 [15:13:23]line НСП 1% : 4.43 [15:13:23]line НДС 12% : 53.16 [15:13:23]line Наличными: 500.00 [15:13:23]line Безнал.: 0.00 [15:13:23]line Место: АЗС № 76 "Партнер Нефть" [15:13:23]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [15:13:23]line СНО: Общий режим [15:13:23]line Чек 34 12.07.2024 15:13 [15:13:23]line Смена: 23 ФФД: 1.0 [15:13:23]line ЗНМ: 0300000124 [15:13:23]line РНМ: 0000000000177495 [15:13:23]line Версия ККМ: 001 [15:13:23]line ФМ: 0000000002098592 [15:13:23]line ФД: 1800 [15:13:23]line ФПД: 30923063266603 [15:13:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151323&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1800&fm=30923063266603&tin=02508201610067®Number=0000000000177495&sum=50000 [15:13:23]written 0, free lines is 4095 [15:13:23]OFD Sender: Processing packet 1800 [packets to send 1, broken 0] [15:13:23]ProducePacketName [15:13:23]name=ofd_packets/00001800 [15:13:23]OFD Sender: To server: pG, [15:13:23]CommunicateWithHost lk.salyk.kg:30040 [15:13:23]ConnectInit lk.salyk.kg [15:13:23]Write to MH i2c: 01 00 00 FA 06 00 [15:13:23]Write i2c OK [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: 01 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: 01 07 00 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: 01 07 00 FA 06 00 00 00 00 00 DC 0C EF [15:13:23]RasterBufferAndPrint [15:13:23]line [15:13:23]line [15:13:23]line [15:13:23]line [15:13:23]line [15:13:23]written 0, free lines is 3295 [15:13:23]MH_Cut [15:13:23]Write to MH i2c: D1 01 00 01 07 01 DA [15:13:23]Write i2c OK [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: D1 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: D1 01 00 [15:13:23]MH_I2C_Read... [15:13:23]Read from MH i2c: D1 01 00 01 07 00 D9 [15:13:23]Write to MH i2c: 01 00 00 02 07 09 [15:13:23]Write i2c OK [15:13:23]MH_I2C_Read... [15:13:24]*** Cut start [15:13:24]*** Partial cut [15:13:24]*** CUTSNS_PIN = 1 [15:13:24]*** CUTSNS_PIN = 0 [15:13:24]*** Brake cut motor [15:13:25]Read from MH i2c: 01 [15:13:25]MH_I2C_Read... [15:13:25]*** Stop cut motor [15:13:25]*** Cut end [15:13:25]Read from MH i2c: 01 07 00 [15:13:25]MH_I2C_Read... [15:13:25]Read from MH i2c: 01 07 00 02 07 00 00 00 00 00 FF 0F 1E [15:13:25]process_action close_receipt done [15:13:25]requested_data is exist [15:13:25]produce_requested_data [15:13:25]requested_item fm.sn is exist - process it [15:13:25]wFMCommunicate request_size=4 [15:13:25]MH_SAM_APDU [15:13:25]CAPDU: 80 11 00 00 [15:13:25]Write to MH i2c: E2 08 00 03 07 80 11 00 00 00 00 00 00 84 [15:13:25]Write i2c OK [15:13:25]MH_I2C_Read... [15:13:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:13:25]Read from MH i2c: E2 [15:13:25]MH_I2C_Read... [15:13:25]Read from MH i2c: E2 17 00 [15:13:25]MH_I2C_Read... [15:13:25]Read from MH i2c: E2 17 00 03 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 DA [15:13:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [15:13:25]wFMCommunicate OK [15:13:25]requested_item fd.num is exist - process it [15:13:25]SAM_PROTO_GetFieldsCounters [15:13:25]wFMCommunicate request_size=4 [15:13:25]MH_SAM_APDU [15:13:25]CAPDU: 80 13 00 00 [15:13:25]Write to MH i2c: E2 08 00 04 07 80 13 00 00 00 00 00 00 87 [15:13:25]Write i2c OK [15:13:25]MH_I2C_Read... [15:13:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:13:25]Read from MH i2c: E2 [15:13:25]MH_I2C_Read... [15:13:25]Read from MH i2c: E2 62 00 [15:13:25]MH_I2C_Read... [15:13:25]Read from MH i2c: E2 62 00 04 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 08 07 00 00 0E 04 04 00 17 00 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 3F [15:13:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 08 07 00 00 0E 04 04 00 17 00 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 [15:13:25]wFMCommunicate OK [15:13:25]SAM_PROTO_GetFieldsCounters done [15:13:25]requested_item shift.num is exist - process it [15:13:25]requested_item shift.opened is exist - process it [15:13:25]req_shift_opened [15:13:25]FM_GetShiftState [15:13:25]SAM_PROTO_GetShiftState [15:13:25]wFMCommunicate request_size=4 [15:13:25]MH_SAM_APDU [15:13:25]CAPDU: 80 13 01 00 [15:13:25]Write to MH i2c: E2 08 00 05 07 80 13 01 00 00 00 00 00 89 [15:13:25]Write i2c OK [15:13:25]MH_I2C_Read... [15:13:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:13:25]Read from MH i2c: E2 [15:13:25]MH_I2C_Read... [15:13:25]Read from MH i2c: E2 0E 00 [15:13:25]MH_I2C_Read... [15:13:25]Read from MH i2c: E2 0E 00 05 07 00 09 00 01 43 74 90 66 00 00 00 00 90 00 42 [15:13:25]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [15:13:25]wFMCommunicate OK [15:13:25]SAM_PROTO_GetShiftState done [15:13:25]FM_GetShiftState done [15:13:25]req_shift_opened done [15:13:25]requested_item shift.open_date is exist - process it [15:13:25]req_shift_open_date [15:13:25]req_shift_open_date done [15:13:25]produce_requested_data done [15:13:25]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1800,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [15:13:25]process_action_free close_receipt [15:13:25]json_value_free [15:13:25]json_value_free done [15:13:25]process_json_proto returns [15:13:25]Send response to host [15:13:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1800,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [15:13:25]free response buf [15:13:25]execute_script done [15:13:25]execute_script returns [15:13:25]free content buf [15:13:25]Sock 11.Close socket [15:13:25]Sock 11.Thread stoped [15:15:36]ConnectInit Can't connect to host [15:15:36]CommunicateWithHost connect error [15:15:36]CommunicateWithHost err = -1 [15:15:36]OFD Sender: Server communicate error [15:15:41]OFD Sender: Processing packet 1800 [packets to send 1, broken 0] [15:15:41]ProducePacketName [15:15:41]name=ofd_packets/00001800 [15:15:41]OFD Sender: To server: pG, [15:15:41]CommunicateWithHost lk.salyk.kg:30040 [15:15:41]ConnectInit lk.salyk.kg [15:15:41]Connected sock=9 [15:15:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0F 01 00 00 AA 6E 07 01 87 98 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 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 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 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 22 00 00 00 F4 03 04 00 13 48 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 08 07 00 00 35 04 06 00 1C 1F D6 33 8D 2B 74 CE 15 40 4C 4D 6C B8 [15:15:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 7D 54 47 00 7B 2E 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 32 30 39 38 35 39 32 10 04 04 00 08 07 00 00 F4 03 04 00 D5 F3 90 66 B6 04 01 00 00 3D 14 06 DD 46 3D 0D 39 [15:15:42]CommunicateWithHost err = 0 [15:15:42]CheckOFDResponse [15:15:42]1017 (14) - 77093643461234 [15:15:42]1041 (16) - 0000000002098592 [15:15:42]1040 (4) - 1800 [15:15:42]1012 (4) - 12.07.2024 09:13 [15:15:42]1206 (1) - 0 [15:15:42]OFD Sender: Remove packet 1800 [15:15:42]ProducePacketName [15:15:42]name=ofd_packets/00001800 [15:15:42]NVStorageDeleteData [15:15:42]OFD Sender: No OFD packet to send [15:15:47]OFD Sender: No OFD packet to send [15:15:52]OFD Sender: No OFD packet to send [15:15:57]OFD Sender: No OFD packet to send [15:16:02]OFD Sender: No OFD packet to send [15:16:07]OFD Sender: No OFD packet to send [15:16:12]OFD Sender: No OFD packet to send [15:16:17]OFD Sender: No OFD packet to send [15:16:22]OFD Sender: No OFD packet to send [15:16:27]OFD Sender: No OFD packet to send [15:16:32]OFD Sender: No OFD packet to send [15:16:37]OFD Sender: No OFD packet to send [15:16:42]OFD Sender: No OFD packet to send [15:16:47]OFD Sender: No OFD packet to send [15:16:52]OFD Sender: No OFD packet to send [15:16:57]OFD Sender: No OFD packet to send [15:17:02]OFD Sender: No OFD packet to send [15:17:07]OFD Sender: No OFD packet to send [15:17:12]OFD Sender: No OFD packet to send [15:17:17]OFD Sender: No OFD packet to send [15:17:22]OFD Sender: No OFD packet to send [15:17:27]OFD Sender: No OFD packet to send [15:17:32]OFD Sender: No OFD packet to send [15:17:37]OFD Sender: No OFD packet to send [15:17:42]OFD Sender: No OFD packet to send [15:17:47]OFD Sender: No OFD packet to send [15:17:52]OFD Sender: No OFD packet to send [15:17:57]OFD Sender: No OFD packet to send [15:18:02]OFD Sender: No OFD packet to send [15:18:07]OFD Sender: No OFD packet to send [15:18:12]OFD Sender: No OFD packet to send [15:18:17]OFD Sender: No OFD packet to send [15:18:22]OFD Sender: No OFD packet to send [15:18:27]OFD Sender: No OFD packet to send [15:18:32]OFD Sender: No OFD packet to send [15:18:37]OFD Sender: No OFD packet to send [15:18:42]OFD Sender: No OFD packet to send [15:18:47]OFD Sender: No OFD packet to send [15:18:52]OFD Sender: No OFD packet to send [15:18:57]OFD Sender: No OFD packet to send [15:19:02]OFD Sender: No OFD packet to send [15:19:07]OFD Sender: No OFD packet to send [15:19:12]OFD Sender: No OFD packet to send [15:19:17]OFD Sender: No OFD packet to send [15:19:22]OFD Sender: No OFD packet to send [15:19:27]OFD Sender: No OFD packet to send [15:19:32]OFD Sender: No OFD packet to send [15:19:37]OFD Sender: No OFD packet to send [15:19:42]OFD Sender: No OFD packet to send [15:19:47]OFD Sender: No OFD packet to send [15:19:52]OFD Sender: No OFD packet to send [15:19:57]OFD Sender: No OFD packet to send [15:20:02]OFD Sender: No OFD packet to send [15:20:05]accept exits with 8 [15:20:05]New connection [15:20:05]New thread 3067002212 created [15:20:05]Thread 3067145572 joined [15:20:05]Waiting for new connection... [15:20:05] Sock 8.Parse request [15:20:05]Sock 8.Check first char [15:20:05]Sock 8.First char is OK [15:20:05]request: POST /json_proto HTTP/1.0 [15:20:05]Method: POST [15:20:05]URL: /json_proto [15:20:05]Method is POST - this is cgi request [15:20:05]url: /json_proto [15:20:05]query_string will be loaded in cgi processing [15:20:05]execute_cgi json_proto POST (null) [15:20:05]execute_cgi path=json_proto method=POST [15:20:05]POST find Content-Length [15:20:05]Host: 172.17.35.133:8080 [15:20:05]Content-Length: 688 [15:20:05]Content-Type: application/json [15:20:05] [15:20:05]POST finish read [15:20:05]Found Content-Length = 688 [15:20:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1618759", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 72.60, "quantity" : 15.240, "sum" : 1106.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1106.00, "total" : 1106.00, "payments": [ { "type": 0, "sum" : 1106.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:05]execute_script... [15:20: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 : (1)1618759", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 72.60, "quantity" : 15.240, "sum" : 1106.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1106.00, "total" : 1106.00, "payments": [ { "type": 0, "sum" : 1106.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:05]POST & json_proto [15:20:05]process_json_proto [15:20:05]json parsed OK: [15:20:05]protocol is kg_v1.0 [15:20:05]action value=close_receipt [15:20:05]process_action close_receipt [15:20:05]cmd_close_receipt [15:20:05]MH_GetDate [15:20:05]Write to MH i2c: F0 00 00 06 07 FC [15:20:05]Write i2c OK [15:20:05]MH_I2C_Read... [15:20:05]Read from MH i2c: F0 [15:20:05]MH_I2C_Read... [15:20:05]Read from MH i2c: F0 09 00 [15:20:05]MH_I2C_Read... [15:20:05]Read from MH i2c: F0 09 00 06 07 00 A7 49 91 66 1B 28 2A 66 BF [15:20:05]GetLastDocTimeStamp 1720797203 [15:20:05]current date 1720797607 [15:20:05]FM_GetShiftState [15:20:05]SAM_PROTO_GetShiftState [15:20:05]wFMCommunicate request_size=4 [15:20:05]MH_SAM_APDU [15:20:05]CAPDU: 80 13 01 00 [15:20:05]Write to MH i2c: E2 08 00 07 07 80 13 01 00 00 00 00 00 8B [15:20:05]Write i2c OK [15:20:05]MH_I2C_Read... [15:20:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:05]Read from MH i2c: E2 [15:20:05]MH_I2C_Read... [15:20:05]Read from MH i2c: E2 0E 00 [15:20:05]MH_I2C_Read... [15:20:05]Read from MH i2c: E2 0E 00 07 07 00 09 00 01 43 74 90 66 00 00 00 00 90 00 44 [15:20:05]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [15:20:05]wFMCommunicate OK [15:20:05]SAM_PROTO_GetShiftState done [15:20:05]FM_GetShiftState done [15:20:05]opened in 1720742979 [15:20:05]opened+sec_in_day 1720829379 [15:20:05]quantity*price = 110642 [15:20:05]sum+1 = 110643 [15:20:05]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.42 ИТОГО: 1106.00 Внесено: 1106.00 СДАЧА: 0.00 НСП 1% : 9.79 НДС 12% : 117.50 Наличными: 1106.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 35 12.07.2024 15:20 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1801 ФПД: 102895654986958 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T152007&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1801&fm=102895654986958&tin=02508201610067®Number=0000000000177495&sum=110600 [15:20:07]StoreToDocumentArchive [15:20:07]shift 23 fd 1801 [15:20:07]save to /storage/0023/doc_00001801 [15:20:07]save last doc name /storage/0023/doc_00001801 to /storage/kkm_last_doc_name [15:20:07]save OK [15:20:07]Clear old archive folders... [15:20:07]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:20:07]tlvbuf is 01083AD0 [15:20:07]SAM_PROTO_ClearQueue [15:20:07]wFMCommunicate request_size=4 [15:20:07]MH_SAM_APDU [15:20:07]CAPDU: 80 09 00 00 [15:20:07]Write to MH i2c: E2 08 00 14 07 80 09 00 00 00 00 00 00 8D [15:20:07]Write i2c OK [15:20:07]MH_I2C_Read... [15:20:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:20:07]Read from MH i2c: E2 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 03 00 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 03 00 14 07 00 90 00 8F [15:20:07]RAPDU: 90 00 [15:20:07]wFMCommunicate OK [15:20:07]SAM_PROTO_ClearQueue done [15:20:07]KKMCreateOFDPacket [15:20:07]OFDProtocolAddRootSTLVToBuf [15:20:07]FM_MakeSignedData [15:20:07]FM_MakeSignedData [15:20:07]SAM_PROTO_SignData [15:20:07]wFMCommunicate request_size=4 [15:20:07]MH_SAM_APDU [15:20:07]CAPDU: 80 0D 01 02 [15:20:07]Write to MH i2c: E2 08 00 15 07 80 0D 01 02 00 00 00 00 95 [15:20:07]Write i2c OK [15:20:07]MH_I2C_Read... [15:20:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:20:07]Read from MH i2c: E2 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 03 00 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 03 00 15 07 00 90 00 90 [15:20:07]RAPDU: 90 00 [15:20:07]wFMCommunicate OK [15:20:07]wFMCommunicate request_size=255 [15:20:07]MH_SAM_APDU [15:20:07]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 88 3B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 32 B0 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 B0 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 2D 00 00 00 00 07 04 06 00 08 B0 01 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 A7 49 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 09 07 00 00 35 04 06 00 [15:20:07]Write to MH i2c: E2 02 01 16 07 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 88 3B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 32 B0 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 B0 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 2D 00 00 00 00 07 04 06 00 08 B0 01 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 A7 49 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 09 07 00 00 35 04 06 00 00 00 8E [15:20:07]Write i2c OK [15:20:07]MH_I2C_Read... [15:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:07]Read from MH i2c: E2 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 03 00 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 03 00 16 07 00 90 00 91 [15:20:07]RAPDU: 90 00 [15:20:07]wFMCommunicate OK [15:20:07]wFMCommunicate request_size=11 [15:20:07]MH_SAM_APDU [15:20:07]CAPDU: 80 0D 02 02 06 5D 95 42 F6 E4 CE [15:20:07]Write to MH i2c: E2 0E 00 17 07 80 0D 02 02 06 00 5D 95 42 F6 E4 CE 00 00 80 [15:20:07]Write i2c OK [15:20:07]MH_I2C_Read... [15:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:07]Read from MH i2c: E2 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 03 00 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 03 00 17 07 00 90 00 92 [15:20:07]RAPDU: 90 00 [15:20:07]wFMCommunicate OK [15:20:07]wFMCommunicate request_size=4 [15:20:07]MH_SAM_APDU [15:20:07]CAPDU: 80 0D 03 02 [15:20:07]Write to MH i2c: E2 08 00 18 07 80 0D 03 02 00 00 00 00 9A [15:20:07]Write i2c OK [15:20:07]MH_I2C_Read... [15:20:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:20:07]Read from MH i2c: E2 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 0B 00 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 0B 00 18 07 00 1D 58 F5 7A C1 EA A4 ED 90 00 BB [15:20:07]RAPDU: 1D 58 F5 7A C1 EA A4 ED 90 00 [15:20:07]wFMCommunicate OK [15:20:07]SAM_PROTO_SignData done [15:20:07]FM_MakeSignedData done [15:20:07]CreateOFDProtocolMessage [15:20:07]wFMCommunicate request_size=4 [15:20:07]MH_SAM_APDU [15:20:07]CAPDU: 80 11 00 00 [15:20:07]Write to MH i2c: E2 08 00 19 07 80 11 00 00 00 00 00 00 9A [15:20:07]Write i2c OK [15:20:07]MH_I2C_Read... [15:20:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:07]Read from MH i2c: E2 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 17 00 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: E2 17 00 19 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 F0 [15:20:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [15:20:07]wFMCommunicate OK [15:20:07]CreateOFDProtocolMessage done [15:20:07]OFDSenderStorePacket 1801 [15:20:07]StoreOFDPacket docnum=1801 [15:20:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 01 00 00 EA 31 08 01 52 64 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 88 3B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 32 B0 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 B0 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 2D 00 00 00 00 07 04 06 00 08 B0 01 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 A7 49 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 09 07 00 00 35 04 06 00 5D 95 42 F6 E4 CE 1D 58 F5 7A C1 EA A4 ED [15:20:07]CheckFolder [15:20:07]dirname=/storage/ofd_packets [15:20:07]CheckFolder done [15:20:07]ProducePacketName [15:20:07]name=ofd_packets/00001801 [15:20:07]NVStorageSaveData ofd_packets/00001801 [15:20:07]File name is /storage/ofd_packets/00001801 [15:20:07]Write 302 bytes [15:20:07]NVStorageSaveData done [15:20:07]OFDSenderStorePacket done [15:20:07]KKMCreateOFDPacket done [15:20:07]NVStorageSaveData kkm_last_timestamp [15:20:07]File name is /storage/kkm_last_timestamp [15:20:07]Write 4 bytes [15:20:07]NVStorageSaveData done [15:20:07]ExternCall_PrintAddStr [15:20:07]wPrintStart [15:20:07]Write to MH i2c: 01 00 00 1A 07 21 [15:20:07]Write i2c OK [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: 01 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: 01 07 00 [15:20:07]MH_I2C_Read... [15:20:07]Read from MH i2c: 01 07 00 1A 07 00 00 00 00 00 FF 0F 36 [15:20:07]RasterBufferAndPrint [15:20:07]line Счет N : (1)1618759 [15:20:07]line ИНН: 02508201610067 [15:20:07]line Контрольно-Кассовый Чек [15:20:07]line ПРОДАЖА [15:20:07]line ТРК (МРК, ГНК) : 31 [15:20:07]line Товар: 2710194210 [15:20:07]line ДТ(л)-К-4 [15:20:07]line 15.240 * 72.60 [15:20:07]line = 1106.42 [15:20:07]line НДС 12% НСП 1% [15:20:07]line > о реализуемом товаре [15:20:07]line ОКРУГЛЕНИЕ: -0.42 [15:20:07]line ИТОГО: 1106.00 [15:20:07]line Внесено: 1106.00 [15:20:07]line СДАЧА: 0.00 [15:20:07]line НСП 1% : 9.79 [15:20:07]line НДС 12% : 117.50 [15:20:07]line Наличными: 1106.00 [15:20:07]line Безнал.: 0.00 [15:20:07]line Место: АЗС № 76 "Партнер Нефть" [15:20:07]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [15:20:07]line СНО: Общий режим [15:20:07]line Чек 35 12.07.2024 15:20 [15:20:07]line Смена: 23 ФФД: 1.0 [15:20:07]line ЗНМ: 0300000124 [15:20:07]line РНМ: 0000000000177495 [15:20:07]line Версия ККМ: 001 [15:20:07]line ФМ: 0000000002098592 [15:20:07]line ФД: 1801 [15:20:07]line ФПД: 102895654986958 [15:20:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T152007&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1801&fm=102895654986958&tin=02508201610067®Number=0000000000177495&sum=110600 [15:20:07]OFD Sender: Processing packet 1801 [packets to send 1, broken 0] [15:20:07]ProducePacketName [15:20:07]name=ofd_packets/00001801 [15:20:07]OFD Sender: To server: pG, [15:20:07]CommunicateWithHost lk.salyk.kg:30040 [15:20:07]ConnectInit lk.salyk.kg [15:20:07]written 0, free lines is 4095 [15:20:07]Connected sock=10 [15:20:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 01 00 00 EA 31 08 01 52 64 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 88 3B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 32 B0 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 B0 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 2D 00 00 00 00 07 04 06 00 08 B0 01 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 A7 49 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 09 07 00 00 35 04 06 00 5D 95 42 F6 E4 CE 1D 58 F5 7A C1 EA A4 ED [15:20:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 1B DA 47 00 54 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 32 30 39 38 35 39 32 10 04 04 00 09 07 00 00 F4 03 04 00 E0 F4 90 66 B6 04 01 00 00 D4 88 E6 F3 2B 66 AD 1E [15:20:08]CommunicateWithHost err = 0 [15:20:08]CheckOFDResponse [15:20:08]1017 (14) - 77093643461234 [15:20:08]1041 (16) - 0000000002098592 [15:20:08]1040 (4) - 1801 [15:20:08]1012 (4) - 12.07.2024 09:18 [15:20:08]1206 (1) - 0 [15:20:08]OFD Sender: Remove packet 1801 [15:20:08]ProducePacketName [15:20:08]name=ofd_packets/00001801 [15:20:08]NVStorageDeleteData [15:20:08]Write to MH i2c: 01 00 00 45 07 4C [15:20:08]Write i2c OK [15:20:08]MH_I2C_Read... [15:20:08]Read from MH i2c: 01 [15:20:08]MH_I2C_Read... [15:20:08]Read from MH i2c: 01 07 00 [15:20:08]MH_I2C_Read... [15:20:08]Read from MH i2c: 01 07 00 45 07 00 00 00 00 00 E2 0C 41 [15:20:08]RasterBufferAndPrint [15:20:08]line [15:20:08]line [15:20:08]line [15:20:08]line [15:20:08]line [15:20:08]written 0, free lines is 3302 [15:20:08]MH_Cut [15:20:08]Write to MH i2c: D1 01 00 4C 07 01 25 [15:20:08]Write i2c OK [15:20:08]MH_I2C_Read... [15:20:08]Read from MH i2c: D1 [15:20:08]MH_I2C_Read... [15:20:08]Read from MH i2c: D1 01 00 [15:20:08]MH_I2C_Read... [15:20:08]Read from MH i2c: D1 01 00 4C 07 00 24 [15:20:08]Write to MH i2c: 01 00 00 4D 07 54 [15:20:08]Write i2c OK [15:20:08]MH_I2C_Read... [15:20:08]OFD Sender: No OFD packet to send [15:20:09]*** Cut start [15:20:09]*** Partial cut [15:20:09]*** CUTSNS_PIN = 1 [15:20:09]*** CUTSNS_PIN = 0 [15:20:09]*** Brake cut motor [15:20:09]Read from MH i2c: 01 [15:20:09]MH_I2C_Read... [15:20:09]*** Stop cut motor [15:20:09]*** Cut end [15:20:09]Read from MH i2c: 01 07 00 [15:20:09]MH_I2C_Read... [15:20:09]Read from MH i2c: 01 07 00 4D 07 00 00 00 00 00 FF 0F 69 [15:20:09]process_action close_receipt done [15:20:09]requested_data is exist [15:20:09]produce_requested_data [15:20:09]requested_item fm.sn is exist - process it [15:20:09]wFMCommunicate request_size=4 [15:20:09]MH_SAM_APDU [15:20:09]CAPDU: 80 11 00 00 [15:20:09]Write to MH i2c: E2 08 00 4E 07 80 11 00 00 00 00 00 00 CF [15:20:09]Write i2c OK [15:20:09]MH_I2C_Read... [15:20:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:09]Read from MH i2c: E2 [15:20:09]MH_I2C_Read... [15:20:09]Read from MH i2c: E2 17 00 [15:20:09]MH_I2C_Read... [15:20:09]Read from MH i2c: E2 17 00 4E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 25 [15:20:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [15:20:09]wFMCommunicate OK [15:20:09]requested_item fd.num is exist - process it [15:20:09]SAM_PROTO_GetFieldsCounters [15:20:09]wFMCommunicate request_size=4 [15:20:09]MH_SAM_APDU [15:20:09]CAPDU: 80 13 00 00 [15:20:09]Write to MH i2c: E2 08 00 4F 07 80 13 00 00 00 00 00 00 D2 [15:20:09]Write i2c OK [15:20:09]MH_I2C_Read... [15:20:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:20:09]Read from MH i2c: E2 [15:20:09]MH_I2C_Read... [15:20:09]Read from MH i2c: E2 62 00 [15:20:09]MH_I2C_Read... [15:20:09]Read from MH i2c: E2 62 00 4F 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 09 07 00 00 0E 04 04 00 17 00 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 8E [15:20:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 09 07 00 00 0E 04 04 00 17 00 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:20:09]wFMCommunicate OK [15:20:09]SAM_PROTO_GetFieldsCounters done [15:20:09]requested_item shift.num is exist - process it [15:20:09]requested_item shift.opened is exist - process it [15:20:09]req_shift_opened [15:20:09]FM_GetShiftState [15:20:09]SAM_PROTO_GetShiftState [15:20:09]wFMCommunicate request_size=4 [15:20:09]MH_SAM_APDU [15:20:09]CAPDU: 80 13 01 00 [15:20:09]Write to MH i2c: E2 08 00 50 07 80 13 01 00 00 00 00 00 D4 [15:20:09]Write i2c OK [15:20:09]MH_I2C_Read... [15:20:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:09]Read from MH i2c: E2 [15:20:09]MH_I2C_Read... [15:20:09]Read from MH i2c: E2 0E 00 [15:20:09]MH_I2C_Read... [15:20:09]Read from MH i2c: E2 0E 00 50 07 00 09 00 01 43 74 90 66 00 00 00 00 90 00 8D [15:20:09]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [15:20:09]wFMCommunicate OK [15:20:09]SAM_PROTO_GetShiftState done [15:20:09]FM_GetShiftState done [15:20:09]req_shift_opened done [15:20:09]requested_item shift.open_date is exist - process it [15:20:09]req_shift_open_date [15:20:09]req_shift_open_date done [15:20:09]produce_requested_data done [15:20:09]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1801,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [15:20:09]process_action_free close_receipt [15:20:09]json_value_free [15:20:09]json_value_free done [15:20:09]process_json_proto returns [15:20:09]Send response to host [15:20:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1801,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [15:20:09]free response buf [15:20:09]execute_script done [15:20:09]execute_script returns [15:20:09]free content buf [15:20:09]Sock 8.Close socket [15:20:09]Sock 8.Thread stoped [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:13]OFD Sender: No OFD packet to send [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:48]OFD Sender: No OFD packet to send [15:25:53]OFD Sender: No OFD packet to send [15:25:58]OFD Sender: No OFD packet to send [15:26:03]OFD Sender: No OFD packet to send [15:26:08]OFD Sender: No OFD packet to send [15:26:13]OFD Sender: No OFD packet to send [15:26:18]OFD Sender: No OFD packet to send [15:26:23]OFD Sender: No OFD packet to send [15:26:28]OFD Sender: No OFD packet to send [15:26:33]OFD Sender: No OFD packet to send [15:26:38]OFD Sender: No OFD packet to send [15:26:43]OFD Sender: No OFD packet to send [15:26:48]OFD Sender: No OFD packet to send [15:26:53]OFD Sender: No OFD packet to send [15:26:58]OFD Sender: No OFD packet to send [15:27:03]OFD Sender: No OFD packet to send [15:27:08]OFD Sender: No OFD packet to send [15:27:13]OFD Sender: No OFD packet to send [15:27:18]OFD Sender: No OFD packet to send [15:27:23]OFD Sender: No OFD packet to send [15:27:28]OFD Sender: No OFD packet to send [15:27:33]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:44]OFD Sender: No OFD packet to send [15:38:49]OFD Sender: No OFD packet to send [15:38:54]OFD Sender: No OFD packet to send [15:38:59]OFD Sender: No OFD packet to send [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:49]OFD Sender: No OFD packet to send [15:43:54]OFD Sender: No OFD packet to send [15:43:59]OFD Sender: No OFD packet to send [15:44:04]OFD Sender: No OFD packet to send [15:44:09]OFD Sender: No OFD packet to send [15:44:14]OFD Sender: No OFD packet to send [15:44:19]OFD Sender: No OFD packet to send [15:44:24]OFD Sender: No OFD packet to send [15:44:29]OFD Sender: No OFD packet to send [15:44:34]OFD Sender: No OFD packet to send [15:44:39]OFD Sender: No OFD packet to send [15:44:44]OFD Sender: No OFD packet to send [15:44:49]OFD Sender: No OFD packet to send [15:44:54]OFD Sender: No OFD packet to send [15:44:59]OFD Sender: No OFD packet to send [15:45:04]OFD Sender: No OFD packet to send [15:45:09]OFD Sender: No OFD packet to send [15:45:14]OFD Sender: No OFD packet to send [15:45:19]OFD Sender: No OFD packet to send [15:45:24]OFD Sender: No OFD packet to send [15:45:29]OFD Sender: No OFD packet to send [15:45:32]accept exits with 9 [15:45:32]New connection [15:45:32]New thread 3067145572 created [15:45:32]Thread 3067002212 joined [15:45:32]Waiting for new connection... [15:45:32] Sock 9.Parse request [15:45:32]Sock 9.Check first char [15:45:32]Sock 9.First char is OK [15:45:32]request: POST /json_proto HTTP/1.0 [15:45:32]Method: POST [15:45:32]URL: /json_proto [15:45:32]Method is POST - this is cgi request [15:45:32]url: /json_proto [15:45:32]query_string will be loaded in cgi processing [15:45:32]execute_cgi json_proto POST (null) [15:45:32]execute_cgi path=json_proto method=POST [15:45:32]POST find Content-Length [15:45:32]Host: 172.17.35.133:8080 [15:45:32]Content-Length: 728 [15:45:32]Content-Type: application/json [15:45:32] [15:45:32]POST finish read [15:45:32]Found Content-Length = 728 [15:45:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256267", "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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:32]execute_script... [15:45:32]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)256267", "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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:32]POST & json_proto [15:45:32]process_json_proto [15:45:32]json parsed OK: [15:45:32]protocol is kg_v1.0 [15:45:32]action value=close_receipt [15:45:32]process_action close_receipt [15:45:32]cmd_close_receipt [15:45:32]MH_GetDate [15:45:32]Write to MH i2c: F0 00 00 51 07 47 [15:45:32]Write i2c OK [15:45:32]MH_I2C_Read... [15:45:32]Read from MH i2c: F0 [15:45:32]MH_I2C_Read... [15:45:32]Read from MH i2c: F0 09 00 [15:45:32]MH_I2C_Read... [15:45:32]Read from MH i2c: F0 09 00 51 07 00 9E 4F 91 66 1B 28 2A 66 07 [15:45:32]GetLastDocTimeStamp 1720797607 [15:45:32]current date 1720799134 [15:45:32]FM_GetShiftState [15:45:32]SAM_PROTO_GetShiftState [15:45:32]wFMCommunicate request_size=4 [15:45:32]MH_SAM_APDU [15:45:32]CAPDU: 80 13 01 00 [15:45:32]Write to MH i2c: E2 08 00 52 07 80 13 01 00 00 00 00 00 D6 [15:45:32]Write i2c OK [15:45:32]MH_I2C_Read... [15:45:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:32]Read from MH i2c: E2 [15:45:32]MH_I2C_Read... [15:45:32]Read from MH i2c: E2 0E 00 [15:45:32]MH_I2C_Read... [15:45:32]Read from MH i2c: E2 0E 00 52 07 00 09 00 01 43 74 90 66 00 00 00 00 90 00 8F [15:45:32]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [15:45:32]wFMCommunicate OK [15:45:32]SAM_PROTO_GetShiftState done [15:45:32]FM_GetShiftState done [15:45:32]opened in 1720742979 [15:45:32]opened+sec_in_day 1720829379 [15:45:32]quantity*price = 10700 [15:45:32]sum+1 = 10701 [15:45:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 107.00 НСП 1% : 0.95 НДС 12% : 11.36 Наличными: 107.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 36 12.07.2024 15:45 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1802 ФПД: 233699144499405 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T154534&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1802&fm=233699144499405&tin=02508201610067®Number=0000000000177495&sum=10700 0 [15:45:33]StoreToDocumentArchive [15:45:33]shift 23 fd 1802 [15:45:33]save to /storage/0023/doc_00001802 [15:45:33]save last doc name /storage/0023/doc_00001802 to /storage/kkm_last_doc_name [15:45:33]save OK [15:45:33]Clear old archive folders... [15:45:33]ProcessDocumentItem done err = 0, tmpTLVsize=308 [15:45:33]tlvbuf is 010ADF60 [15:45:33]SAM_PROTO_ClearQueue [15:45:33]wFMCommunicate request_size=4 [15:45:33]MH_SAM_APDU [15:45:33]CAPDU: 80 09 00 00 [15:45:33]Write to MH i2c: E2 08 00 5F 07 80 09 00 00 00 00 00 00 D8 [15:45:33]Write i2c OK [15:45:33]MH_I2C_Read... [15:45:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:45:33]Read from MH i2c: E2 [15:45:33]MH_I2C_Read... [15:45:33]Read from MH i2c: E2 03 00 [15:45:33]MH_I2C_Read... [15:45:33]Read from MH i2c: E2 03 00 5F 07 00 90 00 DA [15:45:33]RAPDU: 90 00 [15:45:33]wFMCommunicate OK [15:45:33]SAM_PROTO_ClearQueue done [15:45:33]KKMCreateOFDPacket [15:45:33]OFDProtocolAddRootSTLVToBuf [15:45:33]FM_MakeSignedData [15:45:33]FM_MakeSignedData [15:45:33]SAM_PROTO_SignData [15:45:33]wFMCommunicate request_size=4 [15:45:33]MH_SAM_APDU [15:45:33]CAPDU: 80 0D 01 02 [15:45:33]Write to MH i2c: E2 08 00 60 07 80 0D 01 02 00 00 00 00 E0 [15:45:33]Write i2c OK [15:45:33]MH_I2C_Read... [15:45:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:45:33]Read from MH i2c: E2 [15:45:33]MH_I2C_Read... [15:45:33]Read from MH i2c: E2 03 00 [15:45:33]MH_I2C_Read... [15:45:33]Read from MH i2c: E2 03 00 60 07 00 90 00 DB [15:45:33]RAPDU: 90 00 [15:45:33]wFMCommunicate OK [15:45:33]wFMCommunicate request_size=255 [15:45:33]MH_SAM_APDU [15:45:33]CAPDU: 80 0D 02 02 FA 03 00 34 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 9E 4F 91 66 0E 04 04 00 17 00 00 00 B9 [15:45:33]Write to MH i2c: E2 02 01 61 07 80 0D 02 02 FA 00 03 00 34 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 9E 4F 91 66 0E 04 04 00 17 00 00 00 B9 00 00 36 [15:45:33]Write i2c OK [15:45:33]MH_I2C_Read... [15:45:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:34]Read from MH i2c: E2 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: E2 03 00 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: E2 03 00 61 07 00 90 00 DC [15:45:34]RAPDU: 90 00 [15:45:34]wFMCommunicate OK [15:45:34]wFMCommunicate request_size=67 [15:45:34]MH_SAM_APDU [15:45:34]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0A 07 00 00 35 04 06 00 D4 8C 52 7E 00 CD [15:45:34]Write to MH i2c: E2 46 00 62 07 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0A 07 00 00 35 04 06 00 D4 8C 52 7E 00 CD 00 00 54 [15:45:34]Write i2c OK [15:45:34]MH_I2C_Read... [15:45:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:34]Read from MH i2c: E2 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: E2 03 00 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: E2 03 00 62 07 00 90 00 DD [15:45:34]RAPDU: 90 00 [15:45:34]wFMCommunicate OK [15:45:34]wFMCommunicate request_size=4 [15:45:34]MH_SAM_APDU [15:45:34]CAPDU: 80 0D 03 02 [15:45:34]Write to MH i2c: E2 08 00 63 07 80 0D 03 02 00 00 00 00 E5 [15:45:34]Write i2c OK [15:45:34]MH_I2C_Read... [15:45:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:45:34]Read from MH i2c: E2 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: E2 0B 00 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: E2 0B 00 63 07 00 F3 02 66 BB F2 80 CF 65 90 00 A2 [15:45:34]RAPDU: F3 02 66 BB F2 80 CF 65 90 00 [15:45:34]wFMCommunicate OK [15:45:34]SAM_PROTO_SignData done [15:45:34]FM_MakeSignedData done [15:45:34]CreateOFDProtocolMessage [15:45:34]wFMCommunicate request_size=4 [15:45:34]MH_SAM_APDU [15:45:34]CAPDU: 80 11 00 00 [15:45:34]Write to MH i2c: E2 08 00 64 07 80 11 00 00 00 00 00 00 E5 [15:45:34]Write i2c OK [15:45:34]MH_I2C_Read... [15:45:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:34]Read from MH i2c: E2 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: E2 17 00 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: E2 17 00 64 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 3B [15:45:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [15:45:34]wFMCommunicate OK [15:45:34]CreateOFDProtocolMessage done [15:45:34]OFDSenderStorePacket 1802 [15:45:34]StoreOFDPacket docnum=1802 [15:45:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 48 01 00 00 91 E8 40 01 51 82 5A 03 01 00 03 00 34 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 9E 4F 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0A 07 00 00 35 04 06 00 D4 8C 52 7E 00 CD F3 02 66 BB F2 80 CF 65 [15:45:34]CheckFolder [15:45:34]dirname=/storage/ofd_packets [15:45:34]CheckFolder done [15:45:34]ProducePacketName [15:45:34]name=ofd_packets/00001802 [15:45:34]NVStorageSaveData ofd_packets/00001802 [15:45:34]File name is /storage/ofd_packets/00001802 [15:45:34]Write 358 bytes [15:45:34]NVStorageSaveData done [15:45:34]OFDSenderStorePacket done [15:45:34]KKMCreateOFDPacket done [15:45:34]NVStorageSaveData kkm_last_timestamp [15:45:34]File name is /storage/kkm_last_timestamp [15:45:34]Write 4 bytes [15:45:34]NVStorageSaveData done [15:45:34]ExternCall_PrintAddStr [15:45:34]wPrintStart [15:45:34]Write to MH i2c: 01 00 00 65 07 6C [15:45:34]Write i2c OK [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: 01 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: 01 07 00 [15:45:34]MH_I2C_Read... [15:45:34]Read from MH i2c: 01 07 00 65 07 00 00 00 00 00 FF 0F 81 [15:45:34]RasterBufferAndPrint [15:45:34]line Счет N : (3)256267 [15:45:34]line ИНН: 02508201610067 [15:45:34]line Контрольно-Кассовый Чек [15:45:34]line ПРОДАЖА [15:45:34]line Товар: 5449000027474 [15:45:34]line Напиток FuzeTea зел чай манго,ромашка 1л [15:45:34]line 1.000 * 107.00 [15:45:34]line = 107.00 [15:45:34]line НДС 12% НСП 1% [15:45:34]line > о реализуемом товаре [15:45:34]line ИТОГО: 107.00 [15:45:34]line НСП 1% : 0.95 [15:45:34]line НДС 12% : 11.36 [15:45:34]line Наличными: 107.00 [15:45:34]line Безнал.: 0.00 [15:45:34]line Место: АЗС № 76 "Партнер Нефть" [15:45:34]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [15:45:34]line СНО: Общий режим [15:45:34]line Чек 36 12.07.2024 15:45 [15:45:34]line Смена: 23 ФФД: 1.0 [15:45:34]line ЗНМ: 0300000124 [15:45:34]line РНМ: 0000000000177495 [15:45:34]line Версия ККМ: 001 [15:45:34]line ФМ: 0000000002098592 [15:45:34]line ФД: 1802 [15:45:34]line ФПД: 233699144499405 [15:45:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T154534&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1802&fm=233699144499405&tin=02508201610067®Number=0000000000177495&sum=10700 [15:45:34]line 0 [15:45:34]OFD Sender: Processing packet 1802 [packets to send 1, broken 0] [15:45:34]ProducePacketName [15:45:34]name=ofd_packets/00001802 [15:45:34]OFD Sender: To server: pG, [15:45:34]CommunicateWithHost lk.salyk.kg:30040 [15:45:34]ConnectInit lk.salyk.kg [15:45:34]written 0, free lines is 4095 [15:45:34]Connected sock=10 [15:45:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 48 01 00 00 91 E8 40 01 51 82 5A 03 01 00 03 00 34 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 9E 4F 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0A 07 00 00 35 04 06 00 D4 8C 52 7E 00 CD F3 02 66 BB F2 80 CF 65 [15:45:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 18 10 47 00 F5 4F 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 32 30 39 38 35 39 32 10 04 04 00 0A 07 00 00 F4 03 04 00 D6 FA 90 66 B6 04 01 00 00 6F F5 AC CA D9 AA E1 F7 [15:45:34]CommunicateWithHost err = 0 [15:45:34]CheckOFDResponse [15:45:34]1017 (14) - 77093643461234 [15:45:34]1041 (16) - 0000000002098592 [15:45:34]1040 (4) - 1802 [15:45:34]1012 (4) - 12.07.2024 09:43 [15:45:34]1206 (1) - 0 [15:45:34]OFD Sender: Remove packet 1802 [15:45:34]ProducePacketName [15:45:34]name=ofd_packets/00001802 [15:45:34]NVStorageDeleteData [15:45:35]Write to MH i2c: 01 00 00 8E 07 95 [15:45:35]Write i2c OK [15:45:35]MH_I2C_Read... [15:45:35]Read from MH i2c: 01 [15:45:35]MH_I2C_Read... [15:45:35]Read from MH i2c: 01 07 00 [15:45:35]MH_I2C_Read... [15:45:35]Read from MH i2c: 01 07 00 8E 07 00 00 00 00 00 03 0D AC [15:45:35]RasterBufferAndPrint [15:45:35]line [15:45:35]line [15:45:35]line [15:45:35]line [15:45:35]line [15:45:35]written 0, free lines is 3337 [15:45:35]MH_Cut [15:45:35]Write to MH i2c: D1 01 00 95 07 01 6E [15:45:35]Write i2c OK [15:45:35]MH_I2C_Read... [15:45:35]Read from MH i2c: D1 [15:45:35]MH_I2C_Read... [15:45:35]Read from MH i2c: D1 01 00 [15:45:35]MH_I2C_Read... [15:45:35]Read from MH i2c: D1 01 00 95 07 00 6D [15:45:35]Write to MH i2c: 01 00 00 96 07 9D [15:45:35]Write i2c OK [15:45:35]MH_I2C_Read... [15:45:35]OFD Sender: No OFD packet to send [15:45:35]*** Cut start [15:45:35]*** Partial cut [15:45:35]*** CUTSNS_PIN = 1 [15:45:35]*** CUTSNS_PIN = 0 [15:45:36]*** Brake cut motor [15:45:36]Read from MH i2c: 01 [15:45:36]MH_I2C_Read... [15:45:36]*** Stop cut motor [15:45:36]*** Cut end [15:45:36]Read from MH i2c: 01 07 00 [15:45:36]MH_I2C_Read... [15:45:36]Read from MH i2c: 01 07 00 96 07 00 00 00 00 00 FF 0F B2 [15:45:36]process_action close_receipt done [15:45:36]requested_data is exist [15:45:36]produce_requested_data [15:45:36]requested_item fm.sn is exist - process it [15:45:36]wFMCommunicate request_size=4 [15:45:36]MH_SAM_APDU [15:45:36]CAPDU: 80 11 00 00 [15:45:36]Write to MH i2c: E2 08 00 97 07 80 11 00 00 00 00 00 00 18 [15:45:36]Write i2c OK [15:45:36]MH_I2C_Read... [15:45:36]Read from MH i2c: E2 [15:45:36]MH_I2C_Read... [15:45:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:36]Read from MH i2c: E2 17 00 [15:45:36]MH_I2C_Read... [15:45:36]Read from MH i2c: E2 17 00 97 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 6E [15:45:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [15:45:36]wFMCommunicate OK [15:45:36]requested_item fd.num is exist - process it [15:45:36]SAM_PROTO_GetFieldsCounters [15:45:36]wFMCommunicate request_size=4 [15:45:36]MH_SAM_APDU [15:45:36]CAPDU: 80 13 00 00 [15:45:36]Write to MH i2c: E2 08 00 98 07 80 13 00 00 00 00 00 00 1B [15:45:36]Write i2c OK [15:45:36]MH_I2C_Read... [15:45:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:45:36]Read from MH i2c: E2 [15:45:36]MH_I2C_Read... [15:45:36]Read from MH i2c: E2 62 00 [15:45:36]MH_I2C_Read... [15:45:36]Read from MH i2c: E2 62 00 98 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0A 07 00 00 0E 04 04 00 17 00 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 DB [15:45:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0A 07 00 00 0E 04 04 00 17 00 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:45:36]wFMCommunicate OK [15:45:36]SAM_PROTO_GetFieldsCounters done [15:45:36]requested_item shift.num is exist - process it [15:45:36]requested_item shift.opened is exist - process it [15:45:36]req_shift_opened [15:45:36]FM_GetShiftState [15:45:36]SAM_PROTO_GetShiftState [15:45:36]wFMCommunicate request_size=4 [15:45:36]MH_SAM_APDU [15:45:36]CAPDU: 80 13 01 00 [15:45:36]Write to MH i2c: E2 08 00 99 07 80 13 01 00 00 00 00 00 1D [15:45:36]Write i2c OK [15:45:36]MH_I2C_Read... [15:45:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:36]Read from MH i2c: E2 [15:45:36]MH_I2C_Read... [15:45:36]Read from MH i2c: E2 0E 00 [15:45:36]MH_I2C_Read... [15:45:36]Read from MH i2c: E2 0E 00 99 07 00 09 00 01 43 74 90 66 00 00 00 00 90 00 D6 [15:45:36]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [15:45:36]wFMCommunicate OK [15:45:36]SAM_PROTO_GetShiftState done [15:45:36]FM_GetShiftState done [15:45:36]req_shift_opened done [15:45:36]requested_item shift.open_date is exist - process it [15:45:36]req_shift_open_date [15:45:36]req_shift_open_date done [15:45:36]produce_requested_data done [15:45:36]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1802,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [15:45:36]process_action_free close_receipt [15:45:36]json_value_free [15:45:36]json_value_free done [15:45:36]process_json_proto returns [15:45:36]Send response to host [15:45:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1802,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [15:45:36]free response buf [15:45:36]execute_script done [15:45:36]execute_script returns [15:45:36]free content buf [15:45:36]Sock 9.Close socket [15:45:36]Sock 9.Thread stoped [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:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:20]OFD Sender: No OFD packet to send [15:51:25]OFD Sender: No OFD packet to send [15:51:30]OFD Sender: No OFD packet to send [15:51:35]OFD Sender: No OFD packet to send [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:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:31]OFD Sender: No OFD packet to send [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:14]accept exits with 8 [16:02:14]New connection [16:02:14]New thread 3067002212 created [16:02:14]Thread 3067145572 joined [16:02:14]Waiting for new connection... [16:02:14] Sock 8.Parse request [16:02:14]Sock 8.Check first char [16:02:14]Sock 8.First char is OK [16:02:14]request: POST /json_proto HTTP/1.0 [16:02:14]Method: POST [16:02:14]URL: /json_proto [16:02:14]Method is POST - this is cgi request [16:02:14]url: /json_proto [16:02:14]query_string will be loaded in cgi processing [16:02:14]execute_cgi json_proto POST (null) [16:02:14]execute_cgi path=json_proto method=POST [16:02:14]POST find Content-Length [16:02:14]Host: 172.17.35.133:8080 [16:02:14]Content-Length: 992 [16:02:14]Content-Type: application/json [16:02:14] [16:02:14]POST finish read [16:02:14]Found Content-Length = 992 [16:02:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256268", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120854184", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 90\u0433", "price" : 53.00, "quantity" : 1.000, "sum" : 53.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 137.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:14]execute_script... [16:02:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256268", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120854184", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 90\u0433", "price" : 53.00, "quantity" : 1.000, "sum" : 53.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 137.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:14]POST & json_proto [16:02:14]process_json_proto [16:02:14]json parsed OK: [16:02:14]protocol is kg_v1.0 [16:02:14]action value=close_receipt [16:02:14]process_action close_receipt [16:02:14]cmd_close_receipt [16:02:14]MH_GetDate [16:02:14]Write to MH i2c: F0 00 00 9A 07 90 [16:02:14]Write i2c OK [16:02:14]MH_I2C_Read... [16:02:14]Read from MH i2c: F0 [16:02:14]MH_I2C_Read... [16:02:14]Read from MH i2c: F0 09 00 [16:02:14]MH_I2C_Read... [16:02:14]Read from MH i2c: F0 09 00 9A 07 00 88 53 91 66 1B 28 2A 66 3E [16:02:14]GetLastDocTimeStamp 1720799134 [16:02:14]current date 1720800136 [16:02:14]FM_GetShiftState [16:02:14]SAM_PROTO_GetShiftState [16:02:14]wFMCommunicate request_size=4 [16:02:14]MH_SAM_APDU [16:02:14]CAPDU: 80 13 01 00 [16:02:14]Write to MH i2c: E2 08 00 9B 07 80 13 01 00 00 00 00 00 1F [16:02:14]Write i2c OK [16:02:14]MH_I2C_Read... [16:02:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:14]Read from MH i2c: E2 [16:02:14]MH_I2C_Read... [16:02:14]Read from MH i2c: E2 0E 00 [16:02:14]MH_I2C_Read... [16:02:14]Read from MH i2c: E2 0E 00 9B 07 00 09 00 01 43 74 90 66 00 00 00 00 90 00 D8 [16:02:14]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:02:14]wFMCommunicate OK [16:02:14]SAM_PROTO_GetShiftState done [16:02:14]FM_GetShiftState done [16:02:14]opened in 1720742979 [16:02:14]opened+sec_in_day 1720829379 [16:02:14]quantity*price = 8400 [16:02:14]sum+1 = 8401 [16:02:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607120854184 Снек Орехи BEERKa Арахис 90г 1.000 * 53.00 = 53.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 137.00 НСП 1% : 1.21 НДС 12% : 14.55 Наличными: 137.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 37 12.07.2024 16:02 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1803 ФПД: 178798480301291 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160216&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1803&fm=178798480301291&tin=02508201610067®Number=0000000000177495&sum=13700 0 [16:02:16]StoreToDocumentArchive [16:02:16]shift 23 fd 1803 [16:02:16]save to /storage/0023/doc_00001803 [16:02:16]save last doc name /storage/0023/doc_00001803 to /storage/kkm_last_doc_name [16:02:16]save OK [16:02:16]Clear old archive folders... [16:02:16]ProcessDocumentItem done err = 0, tmpTLVsize=418 [16:02:16]tlvbuf is 0104BC80 [16:02:16]SAM_PROTO_ClearQueue [16:02:16]wFMCommunicate request_size=4 [16:02:16]MH_SAM_APDU [16:02:16]CAPDU: 80 09 00 00 [16:02:16]Write to MH i2c: E2 08 00 A8 07 80 09 00 00 00 00 00 00 21 [16:02:16]Write i2c OK [16:02:16]MH_I2C_Read... [16:02:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:16]Read from MH i2c: E2 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 03 00 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 03 00 A8 07 00 90 00 23 [16:02:16]RAPDU: 90 00 [16:02:16]wFMCommunicate OK [16:02:16]SAM_PROTO_ClearQueue done [16:02:16]KKMCreateOFDPacket [16:02:16]OFDProtocolAddRootSTLVToBuf [16:02:16]FM_MakeSignedData [16:02:16]FM_MakeSignedData [16:02:16]SAM_PROTO_SignData [16:02:16]wFMCommunicate request_size=4 [16:02:16]MH_SAM_APDU [16:02:16]CAPDU: 80 0D 01 02 [16:02:16]Write to MH i2c: E2 08 00 A9 07 80 0D 01 02 00 00 00 00 29 [16:02:16]Write i2c OK [16:02:16]MH_I2C_Read... [16:02:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:16]Read from MH i2c: E2 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 03 00 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 03 00 A9 07 00 90 00 24 [16:02:16]RAPDU: 90 00 [16:02:16]wFMCommunicate OK [16:02:16]wFMCommunicate request_size=255 [16:02:16]MH_SAM_APDU [16:02:16]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 [16:02:16]Write to MH i2c: E2 02 01 AA 07 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 BC [16:02:16]Write i2c OK [16:02:16]MH_I2C_Read... [16:02:16]OFD Sender: No OFD packet to send [16:02:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:16]Read from MH i2c: E2 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 03 00 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 03 00 AA 07 00 90 00 25 [16:02:16]RAPDU: 90 00 [16:02:16]wFMCommunicate OK [16:02:16]wFMCommunicate request_size=177 [16:02:16]MH_SAM_APDU [16:02:16]CAPDU: 80 0D 02 02 AC 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 84 35 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 88 53 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0B 07 00 00 35 04 06 00 A2 9D C3 E7 9C EB [16:02:16]Write to MH i2c: E2 B4 00 AB 07 80 0D 02 02 AC 00 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 84 35 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 88 53 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0B 07 00 00 35 04 06 00 A2 9D C3 E7 9C EB 00 00 C3 [16:02:16]Write i2c OK [16:02:16]MH_I2C_Read... [16:02:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:16]Read from MH i2c: E2 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 03 00 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 03 00 AB 07 00 90 00 26 [16:02:16]RAPDU: 90 00 [16:02:16]wFMCommunicate OK [16:02:16]wFMCommunicate request_size=4 [16:02:16]MH_SAM_APDU [16:02:16]CAPDU: 80 0D 03 02 [16:02:16]Write to MH i2c: E2 08 00 AC 07 80 0D 03 02 00 00 00 00 2E [16:02:16]Write i2c OK [16:02:16]MH_I2C_Read... [16:02:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:16]Read from MH i2c: E2 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 0B 00 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 0B 00 AC 07 00 A2 81 52 0B F3 92 7D EA 90 00 9B [16:02:16]RAPDU: A2 81 52 0B F3 92 7D EA 90 00 [16:02:16]wFMCommunicate OK [16:02:16]SAM_PROTO_SignData done [16:02:16]FM_MakeSignedData done [16:02:16]CreateOFDProtocolMessage [16:02:16]wFMCommunicate request_size=4 [16:02:16]MH_SAM_APDU [16:02:16]CAPDU: 80 11 00 00 [16:02:16]Write to MH i2c: E2 08 00 AD 07 80 11 00 00 00 00 00 00 2E [16:02:16]Write i2c OK [16:02:16]MH_I2C_Read... [16:02:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:16]Read from MH i2c: E2 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 17 00 [16:02:16]MH_I2C_Read... [16:02:16]Read from MH i2c: E2 17 00 AD 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 84 [16:02:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:02:16]wFMCommunicate OK [16:02:16]CreateOFDProtocolMessage done [16:02:16]OFDSenderStorePacket 1803 [16:02:16]StoreOFDPacket docnum=1803 [16:02:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 B6 01 00 00 3D 29 AE 01 41 E2 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 84 35 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 88 53 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0B 07 00 00 35 04 06 00 A2 9D C3 E7 9C EB A2 81 52 0B F3 92 7D EA [16:02:16]CheckFolder [16:02:16]dirname=/storage/ofd_packets [16:02:16]CheckFolder done [16:02:16]ProducePacketName [16:02:16]name=ofd_packets/00001803 [16:02:16]NVStorageSaveData ofd_packets/00001803 [16:02:16]File name is /storage/ofd_packets/00001803 [16:02:16]Write 468 bytes [16:02:16]NVStorageSaveData done [16:02:16]OFDSenderStorePacket done [16:02:16]KKMCreateOFDPacket done [16:02:16]NVStorageSaveData kkm_last_timestamp [16:02:16]File name is /storage/kkm_last_timestamp [16:02:16]Write 4 bytes [16:02:16]NVStorageSaveData done [16:02:16]ExternCall_PrintAddStr [16:02:16]wPrintStart [16:02:16]Write to MH i2c: 01 00 00 AE 07 B5 [16:02:17]OFD Sender: Processing packet 1803 [packets to send 1, broken 0] [16:02:17]ProducePacketName [16:02:17]name=ofd_packets/00001803 [16:02:17]OFD Sender: To server: pG, [16:02:17]CommunicateWithHost lk.salyk.kg:30040 [16:02:17]ConnectInit lk.salyk.kg [16:02:17]Write i2c OK [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: 01 [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: 01 07 00 [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: 01 07 00 AE 07 00 00 00 00 00 FF 0F CA [16:02:17]RasterBufferAndPrint [16:02:17]line Счет N : (3)256268 [16:02:17]line ИНН: 02508201610067 [16:02:17]line Контрольно-Кассовый Чек [16:02:17]line ПРОДАЖА [16:02:17]line Товар: 4870001571030 [16:02:17]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [16:02:17]line 1.000 * 84.00 [16:02:17]line = 84.00 [16:02:17]line НДС 12% НСП 1% [16:02:17]line > о реализуемом товаре [16:02:17]line Товар: 4607120854184 [16:02:17]line Снек Орехи BEERKa Арахис 90г [16:02:17]line 1.000 * 53.00 [16:02:17]line = 53.00 [16:02:17]line НДС 12% НСП 1% [16:02:17]line > о реализуемом товаре [16:02:17]line ИТОГО: 137.00 [16:02:17]line НСП 1% : 1.21 [16:02:17]line НДС 12% : 14.55 [16:02:17]line Наличными: 137.00 [16:02:17]line Безнал.: 0.00 [16:02:17]line Место: АЗС № 76 "Партнер Нефть" [16:02:17]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [16:02:17]line СНО: Общий режим [16:02:17]line Чек 37 12.07.2024 16:02 [16:02:17]line Смена: 23 ФФД: 1.0 [16:02:17]line ЗНМ: 0300000124 [16:02:17]line РНМ: 0000000000177495 [16:02:17]line Версия ККМ: 001 [16:02:17]line ФМ: 0000000002098592 [16:02:17]line ФД: 1803 [16:02:17]line ФПД: 178798480301291 [16:02:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160216&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1803&fm=178798480301291&tin=02508201610067®Number=0000000000177495&sum=13700 [16:02:17]line 0 [16:02:17]written 0, free lines is 4095 [16:02:17]Connected sock=10 [16:02:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 B6 01 00 00 3D 29 AE 01 41 E2 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 84 35 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 88 53 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0B 07 00 00 35 04 06 00 A2 9D C3 E7 9C EB A2 81 52 0B F3 92 7D EA [16:02:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 C3 38 47 00 DF C8 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 32 30 39 38 35 39 32 10 04 04 00 0B 07 00 00 F4 03 04 00 C1 FE 90 66 B6 04 01 00 00 47 47 9D 00 F1 7D FE CC [16:02:17]CommunicateWithHost err = 0 [16:02:17]CheckOFDResponse [16:02:17]1017 (14) - 77093643461234 [16:02:17]1041 (16) - 0000000002098592 [16:02:17]1040 (4) - 1803 [16:02:17]1012 (4) - 12.07.2024 10:00 [16:02:17]1206 (1) - 0 [16:02:17]OFD Sender: Remove packet 1803 [16:02:17]ProducePacketName [16:02:17]name=ofd_packets/00001803 [16:02:17]NVStorageDeleteData [16:02:17]Write to MH i2c: 01 00 00 DE 07 E5 [16:02:17]Write i2c OK [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: 01 [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: 01 07 00 [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: 01 07 00 DE 07 00 00 00 00 00 85 0C 7D [16:02:17]RasterBufferAndPrint [16:02:17]line [16:02:17]line [16:02:17]line [16:02:17]line [16:02:17]line [16:02:17]written 0, free lines is 3212 [16:02:17]MH_Cut [16:02:17]Write to MH i2c: D1 01 00 E5 07 01 BE [16:02:17]Write i2c OK [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: D1 [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: D1 01 00 [16:02:17]MH_I2C_Read... [16:02:17]Read from MH i2c: D1 01 00 E5 07 00 BD [16:02:17]Write to MH i2c: 01 00 00 E6 07 ED [16:02:17]Write i2c OK [16:02:17]MH_I2C_Read... [16:02:17]OFD Sender: No OFD packet to send [16:02:18]*** Cut start [16:02:18]*** Partial cut [16:02:18]*** CUTSNS_PIN = 1 [16:02:18]*** CUTSNS_PIN = 0 [16:02:18]*** Brake cut motor [16:02:18]Read from MH i2c: 01 [16:02:18]MH_I2C_Read... [16:02:18]*** Stop cut motor [16:02:18]*** Cut end [16:02:18]Read from MH i2c: 01 07 00 [16:02:18]MH_I2C_Read... [16:02:18]Read from MH i2c: 01 07 00 E6 07 00 00 00 00 00 FF 0F 02 [16:02:18]process_action close_receipt done [16:02:18]requested_data is exist [16:02:18]produce_requested_data [16:02:18]requested_item fm.sn is exist - process it [16:02:18]wFMCommunicate request_size=4 [16:02:18]MH_SAM_APDU [16:02:18]CAPDU: 80 11 00 00 [16:02:18]Write to MH i2c: E2 08 00 E7 07 80 11 00 00 00 00 00 00 68 [16:02:18]Write i2c OK [16:02:18]MH_I2C_Read... [16:02:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:19]Read from MH i2c: E2 [16:02:19]MH_I2C_Read... [16:02:19]Read from MH i2c: E2 17 00 [16:02:19]MH_I2C_Read... [16:02:19]Read from MH i2c: E2 17 00 E7 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 BE [16:02:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:02:19]wFMCommunicate OK [16:02:19]requested_item fd.num is exist - process it [16:02:19]SAM_PROTO_GetFieldsCounters [16:02:19]wFMCommunicate request_size=4 [16:02:19]MH_SAM_APDU [16:02:19]CAPDU: 80 13 00 00 [16:02:19]Write to MH i2c: E2 08 00 E8 07 80 13 00 00 00 00 00 00 6B [16:02:19]Write i2c OK [16:02:19]MH_I2C_Read... [16:02:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:19]Read from MH i2c: E2 [16:02:19]MH_I2C_Read... [16:02:19]Read from MH i2c: E2 62 00 [16:02:19]MH_I2C_Read... [16:02:19]Read from MH i2c: E2 62 00 E8 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0B 07 00 00 0E 04 04 00 17 00 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 2F [16:02:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0B 07 00 00 0E 04 04 00 17 00 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 [16:02:19]wFMCommunicate OK [16:02:19]SAM_PROTO_GetFieldsCounters done [16:02:19]requested_item shift.num is exist - process it [16:02:19]requested_item shift.opened is exist - process it [16:02:19]req_shift_opened [16:02:19]FM_GetShiftState [16:02:19]SAM_PROTO_GetShiftState [16:02:19]wFMCommunicate request_size=4 [16:02:19]MH_SAM_APDU [16:02:19]CAPDU: 80 13 01 00 [16:02:19]Write to MH i2c: E2 08 00 E9 07 80 13 01 00 00 00 00 00 6D [16:02:19]Write i2c OK [16:02:19]MH_I2C_Read... [16:02:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:19]Read from MH i2c: E2 [16:02:19]MH_I2C_Read... [16:02:19]Read from MH i2c: E2 0E 00 [16:02:19]MH_I2C_Read... [16:02:19]Read from MH i2c: E2 0E 00 E9 07 00 09 00 01 43 74 90 66 00 00 00 00 90 00 26 [16:02:19]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:02:19]wFMCommunicate OK [16:02:19]SAM_PROTO_GetShiftState done [16:02:19]FM_GetShiftState done [16:02:19]req_shift_opened done [16:02:19]requested_item shift.open_date is exist - process it [16:02:19]req_shift_open_date [16:02:19]req_shift_open_date done [16:02:19]produce_requested_data done [16:02:19]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1803,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [16:02:19]process_action_free close_receipt [16:02:19]json_value_free [16:02:19]json_value_free done [16:02:19]process_json_proto returns [16:02:19]Send response to host [16:02:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1803,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [16:02:19]free response buf [16:02:19]execute_script done [16:02:19]execute_script returns [16:02:19]free content buf [16:02:19]Sock 8.Close socket [16:02:19]Sock 8.Thread stoped [16:02:22]OFD Sender: No OFD packet to send [16:02:27]OFD Sender: No OFD packet to send [16:02:32]OFD Sender: No OFD packet to send [16:02:37]OFD Sender: No OFD packet to send [16:02:42]OFD Sender: No OFD packet to send [16:02:47]OFD Sender: No OFD packet to send [16:02:52]OFD Sender: No OFD packet to send [16:02:57]OFD Sender: No OFD packet to send [16:03:02]OFD Sender: No OFD packet to send [16:03:07]OFD Sender: No OFD packet to send [16:03:12]OFD Sender: No OFD packet to send [16:03:17]OFD Sender: No OFD packet to send [16:03:22]OFD Sender: No OFD packet to send [16:03:27]OFD Sender: No OFD packet to send [16:03:32]OFD Sender: No OFD packet to send [16:03:37]OFD Sender: No OFD packet to send [16:03:42]OFD Sender: No OFD packet to send [16:03:47]OFD Sender: No OFD packet to send [16:03:52]OFD Sender: No OFD packet to send [16:03:57]OFD Sender: No OFD packet to send [16:04:02]OFD Sender: No OFD packet to send [16:04:06]accept exits with 9 [16:04:06]New connection [16:04:06]New thread 3067145572 created [16:04:06]Thread 3067002212 joined [16:04:06]Waiting for new connection... [16:04:06] Sock 9.Parse request [16:04:06]Sock 9.Check first char [16:04:06]Sock 9.First char is OK [16:04:06]request: POST /json_proto HTTP/1.0 [16:04:06]Method: POST [16:04:06]URL: /json_proto [16:04:06]Method is POST - this is cgi request [16:04:06]url: /json_proto [16:04:06]query_string will be loaded in cgi processing [16:04:06]execute_cgi json_proto POST (null) [16:04:06]execute_cgi path=json_proto method=POST [16:04:06]POST find Content-Length [16:04:06]Host: 172.17.35.133:8080 [16:04:06]Content-Length: 1361 [16:04:06]Content-Type: application/json [16:04:06] [16:04:06]POST finish read [16:04:06]Found Content-Length = 1361 [16:04:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256269", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "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" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:04:06]execute_script... [16:04:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256269", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "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" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:04:06]POST & json_proto [16:04:06]process_json_proto [16:04:06]json parsed OK: [16:04:06]protocol is kg_v1.0 [16:04:06]action value=close_receipt [16:04:06]process_action close_receipt [16:04:06]cmd_close_receipt [16:04:06]MH_GetDate [16:04:06]Write to MH i2c: F0 00 00 EA 07 E0 [16:04:06]Write i2c OK [16:04:06]MH_I2C_Read... [16:04:06]Read from MH i2c: F0 [16:04:06]MH_I2C_Read... [16:04:06]Read from MH i2c: F0 09 00 [16:04:06]MH_I2C_Read... [16:04:06]Read from MH i2c: F0 09 00 EA 07 00 F9 53 91 66 1B 28 2A 66 FF [16:04:06]GetLastDocTimeStamp 1720800136 [16:04:06]current date 1720800249 [16:04:06]FM_GetShiftState [16:04:06]SAM_PROTO_GetShiftState [16:04:06]wFMCommunicate request_size=4 [16:04:06]MH_SAM_APDU [16:04:06]CAPDU: 80 13 01 00 [16:04:06]Write to MH i2c: E2 08 00 EB 07 80 13 01 00 00 00 00 00 6F [16:04:06]Write i2c OK [16:04:06]MH_I2C_Read... [16:04:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:04:07]Read from MH i2c: E2 [16:04:07]MH_I2C_Read... [16:04:07]Read from MH i2c: E2 0E 00 [16:04:07]MH_I2C_Read... [16:04:07]Read from MH i2c: E2 0E 00 EB 07 00 09 00 01 43 74 90 66 00 00 00 00 90 00 28 [16:04:07]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:04:07]wFMCommunicate OK [16:04:07]SAM_PROTO_GetShiftState done [16:04:07]FM_GetShiftState done [16:04:07]opened in 1720742979 [16:04:07]opened+sec_in_day 1720829379 [16:04:07]quantity*price = 12500 [16:04:07]sum+1 = 12501 [16:04:07]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 40822938 Напиток Фанта 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 295.00 НСП 1% : 2.61 НДС 12% : 31.32 Наличными: 0.00 Безнал.: 295.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 38 12.07.2024 16:04 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000002098592 ФД: 1804 ФПД: 141954314909766 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160409&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1804&fm=141954314909766&tin=02508201610067®Number=0000000000177495&sum=29500 0 [16:04:08]StoreToDocumentArchive [16:04:08]shift 23 fd 1804 [16:04:08]save to /storage/0023/doc_00001804 [16:04:08]save last doc name /storage/0023/doc_00001804 to /storage/kkm_last_doc_name [16:04:08]save OK [16:04:08]Clear old archive folders... [16:04:08]ProcessDocumentItem done err = 0, tmpTLVsize=492 [16:04:08]tlvbuf is 01072330 [16:04:08]SAM_PROTO_ClearQueue [16:04:08]wFMCommunicate request_size=4 [16:04:08]MH_SAM_APDU [16:04:08]CAPDU: 80 09 00 00 [16:04:08]Write to MH i2c: E2 08 00 F8 07 80 09 00 00 00 00 00 00 71 [16:04:08]Write i2c OK [16:04:08]MH_I2C_Read... [16:04:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:04:08]Read from MH i2c: E2 [16:04:08]MH_I2C_Read... [16:04:08]Read from MH i2c: E2 03 00 [16:04:08]MH_I2C_Read... [16:04:08]Read from MH i2c: E2 03 00 F8 07 00 90 00 73 [16:04:08]RAPDU: 90 00 [16:04:08]wFMCommunicate OK [16:04:08]SAM_PROTO_ClearQueue done [16:04:08]KKMCreateOFDPacket [16:04:08]OFDProtocolAddRootSTLVToBuf [16:04:08]FM_MakeSignedData [16:04:08]FM_MakeSignedData [16:04:08]SAM_PROTO_SignData [16:04:08]wFMCommunicate request_size=4 [16:04:08]MH_SAM_APDU [16:04:08]CAPDU: 80 0D 01 02 [16:04:08]Write to MH i2c: E2 08 00 F9 07 80 0D 01 02 00 00 00 00 79 [16:04:08]Write i2c OK [16:04:08]MH_I2C_Read... [16:04:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:04:08]Read from MH i2c: E2 [16:04:08]MH_I2C_Read... [16:04:08]Read from MH i2c: E2 03 00 [16:04:08]MH_I2C_Read... [16:04:08]Read from MH i2c: E2 03 00 F9 07 00 90 00 74 [16:04:08]RAPDU: 90 00 [16:04:08]wFMCommunicate OK [16:04:08]wFMCommunicate request_size=255 [16:04:08]MH_SAM_APDU [16:04:08]CAPDU: 80 0D 02 02 FA 03 00 EC 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 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 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 [16:04:08]Write to MH i2c: E2 02 01 FA 07 80 0D 02 02 FA 00 03 00 EC 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 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 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 00 00 AF [16:04:08]Write i2c OK [16:04:08]MH_I2C_Read... [16:04:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:04:08]Read from MH i2c: E2 [16:04:08]MH_I2C_Read... [16:04:08]Read from MH i2c: E2 03 00 [16:04:08]MH_I2C_Read... [16:04:08]Read from MH i2c: E2 03 00 FA 07 00 90 00 75 [16:04:08]RAPDU: 90 00 [16:04:08]wFMCommunicate OK [16:04:08]wFMCommunicate request_size=251 [16:04:08]MH_SAM_APDU [16:04:08]CAPDU: 80 0D 02 02 F6 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C 73 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 F9 53 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0C 07 00 00 35 04 06 00 81 1B 50 83 B8 46 [16:04:08]Write to MH i2c: E2 FE 00 FB 07 80 0D 02 02 F6 00 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C 73 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 F9 53 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0C 07 00 00 35 04 06 00 81 1B 50 83 B8 46 00 00 7F [16:04:08]Write i2c OK [16:04:08]MH_I2C_Read... [16:04:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:04:09]Read from MH i2c: E2 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: E2 03 00 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: E2 03 00 FB 07 00 90 00 76 [16:04:09]RAPDU: 90 00 [16:04:09]wFMCommunicate OK [16:04:09]wFMCommunicate request_size=4 [16:04:09]MH_SAM_APDU [16:04:09]CAPDU: 80 0D 03 02 [16:04:09]Write to MH i2c: E2 08 00 FC 07 80 0D 03 02 00 00 00 00 7E [16:04:09]Write i2c OK [16:04:09]MH_I2C_Read... [16:04:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:04:09]Read from MH i2c: E2 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: E2 0B 00 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: E2 0B 00 FC 07 00 60 7B 6E 13 8A B0 1D 03 90 00 35 [16:04:09]RAPDU: 60 7B 6E 13 8A B0 1D 03 90 00 [16:04:09]wFMCommunicate OK [16:04:09]SAM_PROTO_SignData done [16:04:09]FM_MakeSignedData done [16:04:09]CreateOFDProtocolMessage [16:04:09]wFMCommunicate request_size=4 [16:04:09]MH_SAM_APDU [16:04:09]CAPDU: 80 11 00 00 [16:04:09]Write to MH i2c: E2 08 00 FD 07 80 11 00 00 00 00 00 00 7E [16:04:09]Write i2c OK [16:04:09]MH_I2C_Read... [16:04:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:04:09]Read from MH i2c: E2 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: E2 17 00 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: E2 17 00 FD 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 D4 [16:04:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:04:09]wFMCommunicate OK [16:04:09]CreateOFDProtocolMessage done [16:04:09]OFDSenderStorePacket 1804 [16:04:09]StoreOFDPacket docnum=1804 [16:04:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 00 02 00 00 14 CB F8 01 DC A6 5A 03 01 00 03 00 EC 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 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 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C 73 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 F9 53 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0C 07 00 00 35 04 06 00 81 1B 50 83 B8 46 60 7B 6E 13 8A B0 1D 03 [16:04:09]CheckFolder [16:04:09]dirname=/storage/ofd_packets [16:04:09]CheckFolder done [16:04:09]ProducePacketName [16:04:09]name=ofd_packets/00001804 [16:04:09]NVStorageSaveData ofd_packets/00001804 [16:04:09]File name is /storage/ofd_packets/00001804 [16:04:09]Write 542 bytes [16:04:09]NVStorageSaveData done [16:04:09]OFDSenderStorePacket done [16:04:09]KKMCreateOFDPacket done [16:04:09]NVStorageSaveData kkm_last_timestamp [16:04:09]File name is /storage/kkm_last_timestamp [16:04:09]Write 4 bytes [16:04:09]NVStorageSaveData done [16:04:09]ExternCall_PrintAddStr [16:04:09]wPrintStart [16:04:09]Write to MH i2c: 01 00 00 FE 07 05 [16:04:09]Write i2c OK [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: 01 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: 01 07 00 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: 01 07 00 FE 07 00 00 00 00 00 FF 0F 1A [16:04:09]RasterBufferAndPrint [16:04:09]line Счет N : (3)256269 [16:04:09]line ИНН: 02508201610067 [16:04:09]line Контрольно-Кассовый Чек [16:04:09]line ПРОДАЖА [16:04:09]line Товар: 5449000006271 [16:04:09]line Напиток Фанта 1л [16:04:09]line 1.000 * 125.00 [16:04:09]line = 125.00 [16:04:09]line НДС 12% НСП 1% [16:04:09]line > о реализуемом товаре [16:04:09]line Товар: 4700000480050 [16:04:09]line Напиток Nitro Energy эн green ж/б 0,45л [16:04:09]line 1.000 * 95.00 [16:04:09]line = 95.00 [16:04:09]line НДС 12% НСП 1% [16:04:09]line > о реализуемом товаре [16:04:09]line Товар: 40822938 [16:04:09]line Напиток Фанта 0,5л [16:04:09]line 1.000 * 75.00 [16:04:09]line = 75.00 [16:04:09]line НДС 12% НСП 1% [16:04:09]line > о реализуемом товаре [16:04:09]line ИТОГО: 295.00 [16:04:09]line НСП 1% : 2.61 [16:04:09]line НДС 12% : 31.32 [16:04:09]line Наличными: 0.00 [16:04:09]line Безнал.: 295.00 [16:04:09]line Место: АЗС № 76 "Партнер Нефть" [16:04:09]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [16:04:09]line СНО: Общий режим [16:04:09]line Чек 38 12.07.2024 16:04 [16:04:09]line Смена: 23 ФФД: 1.0 [16:04:09]line ЗНМ: 0300000124 [16:04:09]line РНМ: 0000000000177495 [16:04:09]line Версия ККМ: 001 [16:04:09]line Платежная система: АКБ Кыргызстан [16:04:09]line ФМ: 0000000002098592 [16:04:09]line ФД: 1804 [16:04:09]line ФПД: 141954314909766 [16:04:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160409&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1804&fm=141954314909766&tin=02508201610067®Number=0000000000177495&sum=29500 [16:04:09]line 0 [16:04:09]written 0, free lines is 4095 [16:04:09]OFD Sender: Processing packet 1804 [packets to send 1, broken 0] [16:04:09]ProducePacketName [16:04:09]name=ofd_packets/00001804 [16:04:09]OFD Sender: To server: pG, [16:04:09]CommunicateWithHost lk.salyk.kg:30040 [16:04:09]ConnectInit lk.salyk.kg [16:04:09]Connected sock=10 [16:04:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 00 02 00 00 14 CB F8 01 DC A6 5A 03 01 00 03 00 EC 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 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 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C 73 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 F9 53 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0C 07 00 00 35 04 06 00 81 1B 50 83 B8 46 60 7B 6E 13 8A B0 1D 03 [16:04:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 CD D1 47 00 55 EF 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 32 30 39 38 35 39 32 10 04 04 00 0C 07 00 00 F4 03 04 00 31 FF 90 66 B6 04 01 00 00 31 10 C7 C8 96 37 0B 7B [16:04:09]CommunicateWithHost err = 0 [16:04:09]CheckOFDResponse [16:04:09]1017 (14) - 77093643461234 [16:04:09]1041 (16) - 0000000002098592 [16:04:09]1040 (4) - 1804 [16:04:09]1012 (4) - 12.07.2024 10:02 [16:04:09]1206 (1) - 0 [16:04:09]OFD Sender: Remove packet 1804 [16:04:09]ProducePacketName [16:04:09]name=ofd_packets/00001804 [16:04:09]NVStorageDeleteData [16:04:09]Write to MH i2c: 01 00 00 35 08 3D [16:04:09]Write i2c OK [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: 01 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: 01 07 00 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: 01 07 00 35 08 00 00 00 00 00 26 0C 76 [16:04:09]RasterBufferAndPrint [16:04:09]line [16:04:09]line [16:04:09]line [16:04:09]line [16:04:09]line [16:04:09]written 0, free lines is 3120 [16:04:09]MH_Cut [16:04:09]Write to MH i2c: D1 01 00 3C 08 01 16 [16:04:09]Write i2c OK [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: D1 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: D1 01 00 [16:04:09]MH_I2C_Read... [16:04:09]Read from MH i2c: D1 01 00 3C 08 00 15 [16:04:09]Write to MH i2c: 01 00 00 3D 08 45 [16:04:09]Write i2c OK [16:04:09]MH_I2C_Read... [16:04:10]OFD Sender: No OFD packet to send [16:04:10]*** Cut start [16:04:10]*** Partial cut [16:04:10]*** CUTSNS_PIN = 1 [16:04:10]*** CUTSNS_PIN = 0 [16:04:10]*** Brake cut motor [16:04:11]Read from MH i2c: 01 [16:04:11]MH_I2C_Read... [16:04:11]*** Stop cut motor [16:04:11]*** Cut end [16:04:11]Read from MH i2c: 01 07 00 [16:04:11]MH_I2C_Read... [16:04:11]Read from MH i2c: 01 07 00 3D 08 00 00 00 00 00 FF 0F 5A [16:04:11]process_action close_receipt done [16:04:11]requested_data is exist [16:04:11]produce_requested_data [16:04:11]requested_item fm.sn is exist - process it [16:04:11]wFMCommunicate request_size=4 [16:04:11]MH_SAM_APDU [16:04:11]CAPDU: 80 11 00 00 [16:04:11]Write to MH i2c: E2 08 00 3E 08 80 11 00 00 00 00 00 00 C0 [16:04:11]Write i2c OK [16:04:11]MH_I2C_Read... [16:04:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:04:11]Read from MH i2c: E2 [16:04:11]MH_I2C_Read... [16:04:11]Read from MH i2c: E2 17 00 [16:04:11]MH_I2C_Read... [16:04:11]Read from MH i2c: E2 17 00 3E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 16 [16:04:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:04:11]wFMCommunicate OK [16:04:11]requested_item fd.num is exist - process it [16:04:11]SAM_PROTO_GetFieldsCounters [16:04:11]wFMCommunicate request_size=4 [16:04:11]MH_SAM_APDU [16:04:11]CAPDU: 80 13 00 00 [16:04:11]Write to MH i2c: E2 08 00 3F 08 80 13 00 00 00 00 00 00 C3 [16:04:11]Write i2c OK [16:04:11]MH_I2C_Read... [16:04:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:04:11]Read from MH i2c: E2 [16:04:11]MH_I2C_Read... [16:04:11]Read from MH i2c: E2 62 00 [16:04:11]MH_I2C_Read... [16:04:11]Read from MH i2c: E2 62 00 3F 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0C 07 00 00 0E 04 04 00 17 00 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 8B [16:04:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0C 07 00 00 0E 04 04 00 17 00 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 [16:04:11]wFMCommunicate OK [16:04:11]SAM_PROTO_GetFieldsCounters done [16:04:11]requested_item shift.num is exist - process it [16:04:11]requested_item shift.opened is exist - process it [16:04:11]req_shift_opened [16:04:11]FM_GetShiftState [16:04:11]SAM_PROTO_GetShiftState [16:04:11]wFMCommunicate request_size=4 [16:04:11]MH_SAM_APDU [16:04:11]CAPDU: 80 13 01 00 [16:04:11]Write to MH i2c: E2 08 00 40 08 80 13 01 00 00 00 00 00 C5 [16:04:11]Write i2c OK [16:04:11]MH_I2C_Read... [16:04:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:04:11]Read from MH i2c: E2 [16:04:11]MH_I2C_Read... [16:04:11]Read from MH i2c: E2 0E 00 [16:04:11]MH_I2C_Read... [16:04:11]Read from MH i2c: E2 0E 00 40 08 00 09 00 01 43 74 90 66 00 00 00 00 90 00 7E [16:04:11]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:04:11]wFMCommunicate OK [16:04:11]SAM_PROTO_GetShiftState done [16:04:11]FM_GetShiftState done [16:04:11]req_shift_opened done [16:04:11]requested_item shift.open_date is exist - process it [16:04:11]req_shift_open_date [16:04:11]req_shift_open_date done [16:04:11]produce_requested_data done [16:04:11]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1804,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [16:04:11]process_action_free close_receipt [16:04:11]json_value_free [16:04:11]json_value_free done [16:04:11]process_json_proto returns [16:04:11]Send response to host [16:04:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1804,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [16:04:11]free response buf [16:04:11]execute_script done [16:04:11]execute_script returns [16:04:11]free content buf [16:04:11]Sock 9.Close socket [16:04:11]Sock 9.Thread stoped [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:05]accept exits with 8 [16:08:05]New connection [16:08:05]New thread 3067002212 created [16:08:05]Thread 3067145572 joined [16:08:05]Waiting for new connection... [16:08:05] Sock 8.Parse request [16:08:05]Sock 8.Check first char [16:08:05]Sock 8.First char is OK [16:08:05]request: POST /json_proto HTTP/1.0 [16:08:05]Method: POST [16:08:05]URL: /json_proto [16:08:05]Method is POST - this is cgi request [16:08:05]url: /json_proto [16:08:05]query_string will be loaded in cgi processing [16:08:05]execute_cgi json_proto POST (null) [16:08:05]execute_cgi path=json_proto method=POST [16:08:05]POST find Content-Length [16:08:05]Host: 172.17.35.133:8080 [16:08:05]Content-Length: 1257 [16:08:05]Content-Type: application/json [16:08:05] [16:08:05]POST finish read [16:08:05]Found Content-Length = 1257 [16:08:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256270", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 397.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:08:05]execute_script... [16:08: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)256270", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 397.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:08:05]POST & json_proto [16:08:05]process_json_proto [16:08:05]json parsed OK: [16:08:05]protocol is kg_v1.0 [16:08:05]action value=close_receipt [16:08:05]process_action close_receipt [16:08:05]cmd_close_receipt [16:08:05]MH_GetDate [16:08:05]Write to MH i2c: F0 00 00 41 08 38 [16:08:05]Write i2c OK [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: F0 [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: F0 09 00 [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: F0 09 00 41 08 00 E8 54 91 66 1B 28 2A 66 47 [16:08:05]GetLastDocTimeStamp 1720800249 [16:08:05]current date 1720800488 [16:08:05]FM_GetShiftState [16:08:05]SAM_PROTO_GetShiftState [16:08:05]wFMCommunicate request_size=4 [16:08:05]MH_SAM_APDU [16:08:05]CAPDU: 80 13 01 00 [16:08:05]Write to MH i2c: E2 08 00 42 08 80 13 01 00 00 00 00 00 C7 [16:08:05]Write i2c OK [16:08:05]MH_I2C_Read... [16:08:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:08:05]Read from MH i2c: E2 [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: E2 0E 00 [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: E2 0E 00 42 08 00 09 00 01 43 74 90 66 00 00 00 00 90 00 80 [16:08:05]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:08:05]wFMCommunicate OK [16:08:05]SAM_PROTO_GetShiftState done [16:08:05]FM_GetShiftState done [16:08:05]opened in 1720742979 [16:08:05]opened+sec_in_day 1720829379 [16:08:05]quantity*price = 19000 [16:08:05]sum+1 = 19001 [16:08:05]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 8710732217097 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 397.00 НСП 1% : 3.51 НДС 12% : 42.16 Наличными: 397.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 39 12.07.2024 16:08 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1805 ФПД: 186347033132727 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160808&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1805&fm=186347033132727&tin=02508201610067®Number=0000000000177495&sum=39700 0 [16:08:07]StoreToDocumentArchive [16:08:07]shift 23 fd 1805 [16:08:07]save to /storage/0023/doc_00001805 [16:08:07]save last doc name /storage/0023/doc_00001805 to /storage/kkm_last_doc_name [16:08:07]save OK [16:08:07]Clear old archive folders... [16:08:07]ProcessDocumentItem done err = 0, tmpTLVsize=528 [16:08:07]tlvbuf is 01071DD0 [16:08:07]SAM_PROTO_ClearQueue [16:08:07]wFMCommunicate request_size=4 [16:08:07]MH_SAM_APDU [16:08:07]CAPDU: 80 09 00 00 [16:08:07]Write to MH i2c: E2 08 00 4F 08 80 09 00 00 00 00 00 00 C9 [16:08:07]Write i2c OK [16:08:07]MH_I2C_Read... [16:08:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:08:07]Read from MH i2c: E2 [16:08:07]MH_I2C_Read... [16:08:07]Read from MH i2c: E2 03 00 [16:08:07]MH_I2C_Read... [16:08:07]Read from MH i2c: E2 03 00 4F 08 00 90 00 CB [16:08:07]RAPDU: 90 00 [16:08:07]wFMCommunicate OK [16:08:07]SAM_PROTO_ClearQueue done [16:08:07]KKMCreateOFDPacket [16:08:07]OFDProtocolAddRootSTLVToBuf [16:08:07]FM_MakeSignedData [16:08:07]FM_MakeSignedData [16:08:07]SAM_PROTO_SignData [16:08:07]wFMCommunicate request_size=4 [16:08:07]MH_SAM_APDU [16:08:07]CAPDU: 80 0D 01 02 [16:08:07]Write to MH i2c: E2 08 00 50 08 80 0D 01 02 00 00 00 00 D1 [16:08:07]Write i2c OK [16:08:07]MH_I2C_Read... [16:08:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:08:07]Read from MH i2c: E2 [16:08:07]MH_I2C_Read... [16:08:07]Read from MH i2c: E2 03 00 [16:08:07]MH_I2C_Read... [16:08:07]Read from MH i2c: E2 03 00 50 08 00 90 00 CC [16:08:07]RAPDU: 90 00 [16:08:07]wFMCommunicate OK [16:08:07]wFMCommunicate request_size=255 [16:08:07]MH_SAM_APDU [16:08:07]CAPDU: 80 0D 02 02 FA 03 00 10 02 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 [16:08:07]Write to MH i2c: E2 02 01 51 08 80 0D 02 02 FA 00 03 00 10 02 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 00 00 78 [16:08:07]Write i2c OK [16:08:07]MH_I2C_Read... [16:08:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:07]Read from MH i2c: E2 [16:08:07]MH_I2C_Read... [16:08:07]Read from MH i2c: E2 03 00 [16:08:07]MH_I2C_Read... [16:08:07]Read from MH i2c: E2 03 00 51 08 00 90 00 CD [16:08:07]RAPDU: 90 00 [16:08:07]wFMCommunicate OK [16:08:07]wFMCommunicate request_size=255 [16:08:07]MH_SAM_APDU [16:08:07]CAPDU: 80 0D 02 02 FA 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 10 00 00 00 00 07 04 06 00 14 9B 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 E8 54 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 [16:08:07]Write to MH i2c: E2 02 01 52 08 80 0D 02 02 FA 00 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 10 00 00 00 00 07 04 06 00 14 9B 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 E8 54 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 00 00 69 [16:08:07]Write i2c OK [16:08:07]MH_I2C_Read... [16:08:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:08]Read from MH i2c: E2 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: E2 03 00 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: E2 03 00 52 08 00 90 00 CE [16:08:08]RAPDU: 90 00 [16:08:08]wFMCommunicate OK [16:08:08]wFMCommunicate request_size=37 [16:08:08]MH_SAM_APDU [16:08:08]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0D 07 00 00 35 04 06 00 A9 7B 4C B6 FE B7 [16:08:08]Write to MH i2c: E2 28 00 53 08 80 0D 02 02 20 00 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0D 07 00 00 35 04 06 00 A9 7B 4C B6 FE B7 00 00 1E [16:08:08]Write i2c OK [16:08:08]MH_I2C_Read... [16:08:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:08]Read from MH i2c: E2 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: E2 03 00 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: E2 03 00 53 08 00 90 00 CF [16:08:08]RAPDU: 90 00 [16:08:08]wFMCommunicate OK [16:08:08]wFMCommunicate request_size=4 [16:08:08]MH_SAM_APDU [16:08:08]CAPDU: 80 0D 03 02 [16:08:08]Write to MH i2c: E2 08 00 54 08 80 0D 03 02 00 00 00 00 D7 [16:08:08]Write i2c OK [16:08:08]MH_I2C_Read... [16:08:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:08:08]Read from MH i2c: E2 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: E2 0B 00 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: E2 0B 00 54 08 00 FF 1F B8 06 00 4B D4 8B 90 00 5E [16:08:08]RAPDU: FF 1F B8 06 00 4B D4 8B 90 00 [16:08:08]wFMCommunicate OK [16:08:08]SAM_PROTO_SignData done [16:08:08]FM_MakeSignedData done [16:08:08]CreateOFDProtocolMessage [16:08:08]wFMCommunicate request_size=4 [16:08:08]MH_SAM_APDU [16:08:08]CAPDU: 80 11 00 00 [16:08:08]Write to MH i2c: E2 08 00 55 08 80 11 00 00 00 00 00 00 D7 [16:08:08]Write i2c OK [16:08:08]MH_I2C_Read... [16:08:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:08]Read from MH i2c: E2 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: E2 17 00 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: E2 17 00 55 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 2D [16:08:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:08:08]wFMCommunicate OK [16:08:08]CreateOFDProtocolMessage done [16:08:08]OFDSenderStorePacket 1805 [16:08:08]StoreOFDPacket docnum=1805 [16:08:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 24 02 00 00 41 AB 1C 02 C5 D4 5A 03 01 00 03 00 10 02 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 10 00 00 00 00 07 04 06 00 14 9B 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 E8 54 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0D 07 00 00 35 04 06 00 A9 7B 4C B6 FE B7 FF 1F B8 06 00 4B D4 8B [16:08:08]CheckFolder [16:08:08]dirname=/storage/ofd_packets [16:08:08]CheckFolder done [16:08:08]ProducePacketName [16:08:08]name=ofd_packets/00001805 [16:08:08]NVStorageSaveData ofd_packets/00001805 [16:08:08]File name is /storage/ofd_packets/00001805 [16:08:08]Write 578 bytes [16:08:08]NVStorageSaveData done [16:08:08]OFDSenderStorePacket done [16:08:08]KKMCreateOFDPacket done [16:08:08]NVStorageSaveData kkm_last_timestamp [16:08:08]File name is /storage/kkm_last_timestamp [16:08:08]Write 4 bytes [16:08:08]NVStorageSaveData done [16:08:08]ExternCall_PrintAddStr [16:08:08]wPrintStart [16:08:08]Write to MH i2c: 01 00 00 56 08 5E [16:08:08]Write i2c OK [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: 01 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: 01 07 00 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: 01 07 00 56 08 00 00 00 00 00 FF 0F 73 [16:08:08]RasterBufferAndPrint [16:08:08]line Счет N : (3)256270 [16:08:08]line ИНН: 02508201610067 [16:08:08]line Контрольно-Кассовый Чек [16:08:08]line ПРОДАЖА [16:08:08]line Товар: 4700000481972 [16:08:08]line Напиток энерг Nitro грейпфрут-маракуйя 0 [16:08:08]line 2.000 * 95.00 [16:08:08]line = 190.00 [16:08:08]line НДС 12% НСП 1% [16:08:08]line > о реализуемом товаре [16:08:08]line Товар: 48743570 [16:08:08]line Сигареты Winston XStyle Blue [16:08:08]line 1.000 * 140.00 [16:08:08]line = 140.00 [16:08:08]line НДС 12% НСП 1% [16:08:08]line > о реализуемом товаре [16:08:08]line Товар: 8710732217097 [16:08:08]line Зажигалка Cricket ПН пьезо [16:08:08]line 1.000 * 67.00 [16:08:08]line = 67.00 [16:08:08]line НДС 12% НСП 1% [16:08:08]line > о реализуемом товаре [16:08:08]line ИТОГО: 397.00 [16:08:08]line НСП 1% : 3.51 [16:08:08]line НДС 12% : 42.16 [16:08:08]line Наличными: 397.00 [16:08:08]line Безнал.: 0.00 [16:08:08]line Место: АЗС № 76 "Партнер Нефть" [16:08:08]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [16:08:08]line СНО: Общий режим [16:08:08]line Чек 39 12.07.2024 16:08 [16:08:08]line Смена: 23 ФФД: 1.0 [16:08:08]line ЗНМ: 0300000124 [16:08:08]line РНМ: 0000000000177495 [16:08:08]line Версия ККМ: 001 [16:08:08]line ФМ: 0000000002098592 [16:08:08]line ФД: 1805 [16:08:08]line ФПД: 186347033132727 [16:08:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160808&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1805&fm=186347033132727&tin=02508201610067®Number=0000000000177495&sum=39700 [16:08:08]line 0 [16:08:08]written 0, free lines is 4095 [16:08:08]OFD Sender: Processing packet 1805 [packets to send 1, broken 0] [16:08:08]ProducePacketName [16:08:08]name=ofd_packets/00001805 [16:08:08]OFD Sender: To server: pG, [16:08:08]CommunicateWithHost lk.salyk.kg:30040 [16:08:08]ConnectInit lk.salyk.kg [16:08:08]Write to MH i2c: 01 00 00 8B 08 93 [16:08:08]Write i2c OK [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: 01 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: 01 07 00 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: 01 07 00 8B 08 00 00 00 00 00 4D 0C F3 [16:08:08]RasterBufferAndPrint [16:08:08]line [16:08:08]line [16:08:08]line [16:08:08]line [16:08:08]line [16:08:08]written 0, free lines is 3155 [16:08:08]MH_Cut [16:08:08]Write to MH i2c: D1 01 00 92 08 01 6C [16:08:08]Write i2c OK [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: D1 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: D1 01 00 [16:08:08]MH_I2C_Read... [16:08:08]Read from MH i2c: D1 01 00 92 08 00 6B [16:08:08]Write to MH i2c: 01 00 00 93 08 9B [16:08:08]Write i2c OK [16:08:08]MH_I2C_Read... [16:08:09]*** Cut start [16:08:09]*** Partial cut [16:08:09]*** CUTSNS_PIN = 1 [16:08:09]*** CUTSNS_PIN = 0 [16:08:09]*** Brake cut motor [16:08:10]Read from MH i2c: 01 [16:08:10]MH_I2C_Read... [16:08:10]*** Stop cut motor [16:08:10]*** Cut end [16:08:10]Read from MH i2c: 01 07 00 [16:08:10]MH_I2C_Read... [16:08:10]Read from MH i2c: 01 07 00 93 08 00 00 00 00 00 FF 0F B0 [16:08:10]process_action close_receipt done [16:08:10]requested_data is exist [16:08:10]produce_requested_data [16:08:10]requested_item fm.sn is exist - process it [16:08:10]wFMCommunicate request_size=4 [16:08:10]MH_SAM_APDU [16:08:10]CAPDU: 80 11 00 00 [16:08:10]Write to MH i2c: E2 08 00 94 08 80 11 00 00 00 00 00 00 16 [16:08:10]Write i2c OK [16:08:10]MH_I2C_Read... [16:08:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:10]Read from MH i2c: E2 [16:08:10]MH_I2C_Read... [16:08:10]Read from MH i2c: E2 17 00 [16:08:10]MH_I2C_Read... [16:08:10]Read from MH i2c: E2 17 00 94 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 6C [16:08:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:08:10]wFMCommunicate OK [16:08:10]requested_item fd.num is exist - process it [16:08:10]SAM_PROTO_GetFieldsCounters [16:08:10]wFMCommunicate request_size=4 [16:08:10]MH_SAM_APDU [16:08:10]CAPDU: 80 13 00 00 [16:08:10]Write to MH i2c: E2 08 00 95 08 80 13 00 00 00 00 00 00 19 [16:08:10]Write i2c OK [16:08:10]MH_I2C_Read... [16:08:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:08:10]Read from MH i2c: E2 [16:08:10]MH_I2C_Read... [16:08:10]Read from MH i2c: E2 62 00 [16:08:10]MH_I2C_Read... [16:08:10]Read from MH i2c: E2 62 00 95 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0D 07 00 00 0E 04 04 00 17 00 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 E5 [16:08:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0D 07 00 00 0E 04 04 00 17 00 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 [16:08:10]wFMCommunicate OK [16:08:10]SAM_PROTO_GetFieldsCounters done [16:08:10]requested_item shift.num is exist - process it [16:08:10]requested_item shift.opened is exist - process it [16:08:10]req_shift_opened [16:08:10]FM_GetShiftState [16:08:10]SAM_PROTO_GetShiftState [16:08:10]wFMCommunicate request_size=4 [16:08:10]MH_SAM_APDU [16:08:10]CAPDU: 80 13 01 00 [16:08:10]Write to MH i2c: E2 08 00 96 08 80 13 01 00 00 00 00 00 1B [16:08:10]Write i2c OK [16:08:10]MH_I2C_Read... [16:08:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:08:10]Read from MH i2c: E2 [16:08:10]MH_I2C_Read... [16:08:10]Read from MH i2c: E2 0E 00 [16:08:10]MH_I2C_Read... [16:08:10]Read from MH i2c: E2 0E 00 96 08 00 09 00 01 43 74 90 66 00 00 00 00 90 00 D4 [16:08:10]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:08:10]wFMCommunicate OK [16:08:10]SAM_PROTO_GetShiftState done [16:08:10]FM_GetShiftState done [16:08:10]req_shift_opened done [16:08:10]requested_item shift.open_date is exist - process it [16:08:10]req_shift_open_date [16:08:10]req_shift_open_date done [16:08:10]produce_requested_data done [16:08:10]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1805,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [16:08:10]process_action_free close_receipt [16:08:10]json_value_free [16:08:10]json_value_free done [16:08:10]process_json_proto returns [16:08:10]Send response to host [16:08:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1805,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [16:08:10]free response buf [16:08:10]execute_script done [16:08:10]execute_script returns [16:08:10]free content buf [16:08:10]Sock 8.Close socket [16:08:10]Sock 8.Thread stoped [16:10:18]ConnectInit Can't connect to host [16:10:18]CommunicateWithHost connect error [16:10:18]CommunicateWithHost err = -1 [16:10:18]OFD Sender: Server communicate error [16:10:23]OFD Sender: Processing packet 1805 [packets to send 1, broken 0] [16:10:23]ProducePacketName [16:10:23]name=ofd_packets/00001805 [16:10:23]OFD Sender: To server: pG, [16:10:23]CommunicateWithHost lk.salyk.kg:30040 [16:10:23]ConnectInit lk.salyk.kg [16:10:23]Connected sock=8 [16:10:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 24 02 00 00 41 AB 1C 02 C5 D4 5A 03 01 00 03 00 10 02 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 10 00 00 00 00 07 04 06 00 14 9B 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 E8 54 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0D 07 00 00 35 04 06 00 A9 7B 4C B6 FE B7 FF 1F B8 06 00 4B D4 8B [16:10:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 31 E2 47 00 5A CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0D 07 00 00 F4 03 04 00 A7 00 91 66 B6 04 01 00 00 F5 F8 92 2D 66 6C E8 0C [16:10:23]CommunicateWithHost err = 0 [16:10:23]CheckOFDResponse [16:10:23]1017 (14) - 77093643461234 [16:10:23]1041 (16) - 0000000002098592 [16:10:23]1040 (4) - 1805 [16:10:23]1012 (4) - 12.07.2024 10:08 [16:10:23]1206 (1) - 0 [16:10:23]OFD Sender: Remove packet 1805 [16:10:23]ProducePacketName [16:10:23]name=ofd_packets/00001805 [16:10:23]NVStorageDeleteData [16:10:24]OFD Sender: No OFD packet to send [16:10:29]OFD Sender: No OFD packet to send [16:10:34]OFD Sender: No OFD packet to send [16:10:39]OFD Sender: No OFD packet to send [16:10:44]OFD Sender: No OFD packet to send [16:10:49]OFD Sender: No OFD packet to send [16:10:54]OFD Sender: No OFD packet to send [16:10:59]OFD Sender: No OFD packet to send [16:11:04]OFD Sender: No OFD packet to send [16:11:09]OFD Sender: No OFD packet to send [16:11:14]OFD Sender: No OFD packet to send [16:11:19]OFD Sender: No OFD packet to send [16:11:24]OFD Sender: No OFD packet to send [16:11:29]OFD Sender: No OFD packet to send [16:11:34]OFD Sender: No OFD packet to send [16:11:39]OFD Sender: No OFD packet to send [16:11:44]OFD Sender: No OFD packet to send [16:11:49]OFD Sender: No OFD packet to send [16:11:54]OFD Sender: No OFD packet to send [16:11:59]OFD Sender: No OFD packet to send [16:12:04]OFD Sender: No OFD packet to send [16:12:09]OFD Sender: No OFD packet to send [16:12:14]OFD Sender: No OFD packet to send [16:12:19]OFD Sender: No OFD packet to send [16:12:24]OFD Sender: No OFD packet to send [16:12:29]OFD Sender: No OFD packet to send [16:12:34]OFD Sender: No OFD packet to send [16:12:39]OFD Sender: No OFD packet to send [16:12:44]OFD Sender: No OFD packet to send [16:12:49]OFD Sender: No OFD packet to send [16:12:54]OFD Sender: No OFD packet to send [16:12:59]OFD Sender: No OFD packet to send [16:13:04]OFD Sender: No OFD packet to send [16:13:09]OFD Sender: No OFD packet to send [16:13:14]OFD Sender: No OFD packet to send [16:13:19]OFD Sender: No OFD packet to send [16:13:24]OFD Sender: No OFD packet to send [16:13:29]OFD Sender: No OFD packet to send [16:13:34]OFD Sender: No OFD packet to send [16:13:39]OFD Sender: No OFD packet to send [16:13:44]OFD Sender: No OFD packet to send [16:13:49]OFD Sender: No OFD packet to send [16:13:54]OFD Sender: No OFD packet to send [16:13:59]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:14]OFD Sender: No OFD packet to send [16:14:19]OFD Sender: No OFD packet to send [16:14:24]OFD Sender: No OFD packet to send [16:14:29]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:44]OFD Sender: No OFD packet to send [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:49]OFD Sender: No OFD packet to send [16:20:54]OFD Sender: No OFD packet to send [16:20:59]OFD Sender: No OFD packet to send [16:21:04]OFD Sender: No OFD packet to send [16:21:09]OFD Sender: No OFD packet to send [16:21:14]OFD Sender: No OFD packet to send [16:21:19]OFD Sender: No OFD packet to send [16:21:24]OFD Sender: No OFD packet to send [16:21:29]OFD Sender: No OFD packet to send [16:21:34]OFD Sender: No OFD packet to send [16:21:39]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:15]OFD Sender: No OFD packet to send [16:23:20]OFD Sender: No OFD packet to send [16:23:25]OFD Sender: No OFD packet to send [16:23:30]OFD Sender: No OFD packet to send [16:23:35]OFD Sender: No OFD packet to send [16:23:40]OFD Sender: No OFD packet to send [16:23:45]OFD Sender: No OFD packet to send [16:23:50]OFD Sender: No OFD packet to send [16:23:55]OFD Sender: No OFD packet to send [16:24:00]OFD Sender: No OFD packet to send [16:24:05]OFD Sender: No OFD packet to send [16:24:10]OFD Sender: No OFD packet to send [16:24:15]OFD Sender: No OFD packet to send [16:24:20]OFD Sender: No OFD packet to send [16:24:25]OFD Sender: No OFD packet to send [16:24:30]OFD Sender: No OFD packet to send [16:24:35]OFD Sender: No OFD packet to send [16:24:40]OFD Sender: No OFD packet to send [16:24:45]OFD Sender: No OFD packet to send [16:24:50]OFD Sender: No OFD packet to send [16:24:55]OFD Sender: No OFD packet to send [16:25:00]OFD Sender: No OFD packet to send [16:25:05]OFD Sender: No OFD packet to send [16:25:10]OFD Sender: No OFD packet to send [16:25:15]OFD Sender: No OFD packet to send [16:25:20]OFD Sender: No OFD packet to send [16:25:25]OFD Sender: No OFD packet to send [16:25:30]OFD Sender: No OFD packet to send [16:25:35]OFD Sender: No OFD packet to send [16:25:40]OFD Sender: No OFD packet to send [16:25:45]OFD Sender: No OFD packet to send [16:25:50]OFD Sender: No OFD packet to send [16:25:55]OFD Sender: No OFD packet to send [16:26:00]OFD Sender: No OFD packet to send [16:26:05]OFD Sender: No OFD packet to send [16:26:10]OFD Sender: No OFD packet to send [16:26:15]OFD Sender: No OFD packet to send [16:26:20]OFD Sender: No OFD packet to send [16:26:25]OFD Sender: No OFD packet to send [16:26:30]OFD Sender: No OFD packet to send [16:26:35]OFD Sender: No OFD packet to send [16:26:40]OFD Sender: No OFD packet to send [16:26:45]OFD Sender: No OFD packet to send [16:26:50]OFD Sender: No OFD packet to send [16:26:55]OFD Sender: No OFD packet to send [16:27:00]OFD Sender: No OFD packet to send [16:27:05]OFD Sender: No OFD packet to send [16:27:10]OFD Sender: No OFD packet to send [16:27:15]OFD Sender: No OFD packet to send [16:27:20]OFD Sender: No OFD packet to send [16:27:25]OFD Sender: No OFD packet to send [16:27:30]OFD Sender: No OFD packet to send [16:27:35]OFD Sender: No OFD packet to send [16:27:40]OFD Sender: No OFD packet to send [16:27:45]OFD Sender: No OFD packet to send [16:27:50]OFD Sender: No OFD packet to send [16:27:55]OFD Sender: No OFD packet to send [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:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:50]OFD Sender: No OFD packet to send [16:37:55]OFD Sender: No OFD packet to send [16:38:00]OFD Sender: No OFD packet to send [16:38:05]OFD Sender: No OFD packet to send [16:38:10]OFD Sender: No OFD packet to send [16:38:15]OFD Sender: No OFD packet to send [16:38:20]OFD Sender: No OFD packet to send [16:38:25]OFD Sender: No OFD packet to send [16:38:30]OFD Sender: No OFD packet to send [16:38:35]OFD Sender: No OFD packet to send [16:38:40]OFD Sender: No OFD packet to send [16:38:45]OFD Sender: No OFD packet to send [16:38:50]OFD Sender: No OFD packet to send [16:38:55]OFD Sender: No OFD packet to send [16:39:00]OFD Sender: No OFD packet to send [16:39:05]OFD Sender: No OFD packet to send [16:39:10]OFD Sender: No OFD packet to send [16:39:15]OFD Sender: No OFD packet to send [16:39:20]OFD Sender: No OFD packet to send [16:39:25]OFD Sender: No OFD packet to send [16:39:30]OFD Sender: No OFD packet to send [16:39:35]OFD Sender: No OFD packet to send [16:39:40]OFD Sender: No OFD packet to send [16:39:45]OFD Sender: No OFD packet to send [16:39:50]OFD Sender: No OFD packet to send [16:39:52]accept exits with 9 [16:39:52]New connection [16:39:52]New thread 3067145572 created [16:39:52]Thread 3067002212 joined [16:39:52]Waiting for new connection... [16:39:52] Sock 9.Parse request [16:39:52]Sock 9.Check first char [16:39:52]Sock 9.First char is OK [16:39:52]request: POST /json_proto HTTP/1.0 [16:39:52]Method: POST [16:39:52]URL: /json_proto [16:39:52]Method is POST - this is cgi request [16:39:52]url: /json_proto [16:39:52]query_string will be loaded in cgi processing [16:39:52]execute_cgi json_proto POST (null) [16:39:52]execute_cgi path=json_proto method=POST [16:39:52]POST find Content-Length [16:39:52]Host: 172.17.35.133:8080 [16:39:52]Content-Length: 897 [16:39:52]Content-Type: application/json [16:39:52] [16:39:52]POST finish read [16:39:52]Found Content-Length = 897 [16:39:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256271", "tax_sys" : 0, "items" : [ { "code": "42182092", "name": "\u0416\u0435\u0432 Five \u0421\u043B\u0430\u0434\u043A\u0438\u0435 \u042F\u0433\u043E\u0434\u044B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\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" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:52]execute_script... [16:39:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256271", "tax_sys" : 0, "items" : [ { "code": "42182092", "name": "\u0416\u0435\u0432 Five \u0421\u043B\u0430\u0434\u043A\u0438\u0435 \u042F\u0433\u043E\u0434\u044B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\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" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:52]POST & json_proto [16:39:52]process_json_proto [16:39:52]json parsed OK: [16:39:52]protocol is kg_v1.0 [16:39:52]action value=close_receipt [16:39:52]process_action close_receipt [16:39:52]cmd_close_receipt [16:39:52]MH_GetDate [16:39:52]Write to MH i2c: F0 00 00 97 08 8E [16:39:52]Write i2c OK [16:39:52]MH_I2C_Read... [16:39:52]Read from MH i2c: F0 [16:39:52]MH_I2C_Read... [16:39:52]Read from MH i2c: F0 09 00 [16:39:52]MH_I2C_Read... [16:39:52]Read from MH i2c: F0 09 00 97 08 00 5B 5C 91 66 1B 28 2A 66 18 [16:39:52]GetLastDocTimeStamp 1720800488 [16:39:52]current date 1720802395 [16:39:52]FM_GetShiftState [16:39:52]SAM_PROTO_GetShiftState [16:39:52]wFMCommunicate request_size=4 [16:39:52]MH_SAM_APDU [16:39:52]CAPDU: 80 13 01 00 [16:39:52]Write to MH i2c: E2 08 00 98 08 80 13 01 00 00 00 00 00 1D [16:39:52]Write i2c OK [16:39:52]MH_I2C_Read... [16:39:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:52]Read from MH i2c: E2 [16:39:52]MH_I2C_Read... [16:39:52]Read from MH i2c: E2 0E 00 [16:39:52]MH_I2C_Read... [16:39:52]Read from MH i2c: E2 0E 00 98 08 00 09 00 01 43 74 90 66 00 00 00 00 90 00 D6 [16:39:52]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:39:52]wFMCommunicate OK [16:39:52]SAM_PROTO_GetShiftState done [16:39:52]FM_GetShiftState done [16:39:52]opened in 1720742979 [16:39:52]opened+sec_in_day 1720829379 [16:39:52]quantity*price = 12000 [16:39:52]sum+1 = 12001 [16:39:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000066473 Вода Бонаква 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 40 12.07.2024 16:39 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1806 ФПД: 189837737171956 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163955&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1806&fm=189837737171956&tin=02508201610067®Number=0000000000177495&sum=17000 0 [16:39:53]StoreToDocumentArchive [16:39:53]shift 23 fd 1806 [16:39:53]save to /storage/0023/doc_00001806 [16:39:53]save last doc name /storage/0023/doc_00001806 to /storage/kkm_last_doc_name [16:39:53]save OK [16:39:53]Clear old archive folders... [16:39:53]ProcessDocumentItem done err = 0, tmpTLVsize=373 [16:39:53]tlvbuf is 010BD5C0 [16:39:53]SAM_PROTO_ClearQueue [16:39:53]wFMCommunicate request_size=4 [16:39:53]MH_SAM_APDU [16:39:53]CAPDU: 80 09 00 00 [16:39:53]Write to MH i2c: E2 08 00 A5 08 80 09 00 00 00 00 00 00 1F [16:39:53]Write i2c OK [16:39:53]MH_I2C_Read... [16:39:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:39:54]Read from MH i2c: E2 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 03 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 03 00 A5 08 00 90 00 21 [16:39:54]RAPDU: 90 00 [16:39:54]wFMCommunicate OK [16:39:54]SAM_PROTO_ClearQueue done [16:39:54]KKMCreateOFDPacket [16:39:54]OFDProtocolAddRootSTLVToBuf [16:39:54]FM_MakeSignedData [16:39:54]FM_MakeSignedData [16:39:54]SAM_PROTO_SignData [16:39:54]wFMCommunicate request_size=4 [16:39:54]MH_SAM_APDU [16:39:54]CAPDU: 80 0D 01 02 [16:39:54]Write to MH i2c: E2 08 00 A6 08 80 0D 01 02 00 00 00 00 27 [16:39:54]Write i2c OK [16:39:54]MH_I2C_Read... [16:39:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:39:54]Read from MH i2c: E2 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 03 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 03 00 A6 08 00 90 00 22 [16:39:54]RAPDU: 90 00 [16:39:54]wFMCommunicate OK [16:39:54]wFMCommunicate request_size=255 [16:39:54]MH_SAM_APDU [16:39:54]CAPDU: 80 0D 02 02 FA 03 00 75 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 32 31 38 32 30 39 32 06 04 25 00 D0 96 D0 B5 D0 B2 20 46 69 76 65 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B5 20 D0 AF D0 B3 D0 BE D0 B4 D1 8B 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 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 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 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 [16:39:54]Write to MH i2c: E2 02 01 A7 08 80 0D 02 02 FA 00 03 00 75 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 32 31 38 32 30 39 32 06 04 25 00 D0 96 D0 B5 D0 B2 20 46 69 76 65 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B5 20 D0 AF D0 B3 D0 BE D0 B4 D1 8B 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 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 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 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 00 00 10 [16:39:54]Write i2c OK [16:39:54]MH_I2C_Read... [16:39:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:54]Read from MH i2c: E2 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 03 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 03 00 A7 08 00 90 00 23 [16:39:54]RAPDU: 90 00 [16:39:54]wFMCommunicate OK [16:39:54]wFMCommunicate request_size=132 [16:39:54]MH_SAM_APDU [16:39:54]CAPDU: 80 0D 02 02 7F 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 5B 5C 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0E 07 00 00 35 04 06 00 AC A8 0A E3 9B F4 [16:39:54]Write to MH i2c: E2 87 00 A8 08 80 0D 02 02 7F 00 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 5B 5C 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0E 07 00 00 35 04 06 00 AC A8 0A E3 9B F4 00 00 FE [16:39:54]Write i2c OK [16:39:54]MH_I2C_Read... [16:39:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:54]Read from MH i2c: E2 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 03 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 03 00 A8 08 00 90 00 24 [16:39:54]RAPDU: 90 00 [16:39:54]wFMCommunicate OK [16:39:54]wFMCommunicate request_size=4 [16:39:54]MH_SAM_APDU [16:39:54]CAPDU: 80 0D 03 02 [16:39:54]Write to MH i2c: E2 08 00 A9 08 80 0D 03 02 00 00 00 00 2C [16:39:54]Write i2c OK [16:39:54]MH_I2C_Read... [16:39:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:39:54]Read from MH i2c: E2 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 0B 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 0B 00 A9 08 00 C4 10 52 59 5B CD D7 92 90 00 3D [16:39:54]RAPDU: C4 10 52 59 5B CD D7 92 90 00 [16:39:54]wFMCommunicate OK [16:39:54]SAM_PROTO_SignData done [16:39:54]FM_MakeSignedData done [16:39:54]CreateOFDProtocolMessage [16:39:54]wFMCommunicate request_size=4 [16:39:54]MH_SAM_APDU [16:39:54]CAPDU: 80 11 00 00 [16:39:54]Write to MH i2c: E2 08 00 AA 08 80 11 00 00 00 00 00 00 2C [16:39:54]Write i2c OK [16:39:54]MH_I2C_Read... [16:39:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:54]Read from MH i2c: E2 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 17 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 17 00 AA 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 82 [16:39:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:39:54]wFMCommunicate OK [16:39:54]CreateOFDProtocolMessage done [16:39:54]OFDSenderStorePacket 1806 [16:39:54]StoreOFDPacket docnum=1806 [16:39:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 89 01 00 00 71 5F 81 01 B5 2E 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 32 31 38 32 30 39 32 06 04 25 00 D0 96 D0 B5 D0 B2 20 46 69 76 65 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B5 20 D0 AF D0 B3 D0 BE D0 B4 D1 8B 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 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 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 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 5B 5C 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0E 07 00 00 35 04 06 00 AC A8 0A E3 9B F4 C4 10 52 59 5B CD D7 92 [16:39:54]CheckFolder [16:39:54]dirname=/storage/ofd_packets [16:39:54]CheckFolder done [16:39:54]ProducePacketName [16:39:54]name=ofd_packets/00001806 [16:39:54]NVStorageSaveData ofd_packets/00001806 [16:39:54]File name is /storage/ofd_packets/00001806 [16:39:54]Write 423 bytes [16:39:54]NVStorageSaveData done [16:39:54]OFDSenderStorePacket done [16:39:54]KKMCreateOFDPacket done [16:39:54]NVStorageSaveData kkm_last_timestamp [16:39:54]File name is /storage/kkm_last_timestamp [16:39:54]Write 4 bytes [16:39:54]NVStorageSaveData done [16:39:54]ExternCall_PrintAddStr [16:39:54]wPrintStart [16:39:54]Write to MH i2c: 01 00 00 AB 08 B3 [16:39:54]Write i2c OK [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: 01 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: 01 07 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: 01 07 00 AB 08 00 00 00 00 00 FF 0F C8 [16:39:54]RasterBufferAndPrint [16:39:54]line Счет N : (3)256271 [16:39:54]line ИНН: 02508201610067 [16:39:54]line Контрольно-Кассовый Чек [16:39:54]line ПРОДАЖА [16:39:54]line Товар: 42182092 [16:39:54]line Жев Five Сладкие Ягоды [16:39:54]line 1.000 * 120.00 [16:39:54]line = 120.00 [16:39:54]line НДС 12% НСП 1% [16:39:54]line > о реализуемом товаре [16:39:54]line Товар: 5449000066473 [16:39:54]line Вода Бонаква 1л [16:39:54]line 1.000 * 50.00 [16:39:54]line = 50.00 [16:39:54]line НДС 12% НСП 1% [16:39:54]line > о реализуемом товаре [16:39:54]line ИТОГО: 170.00 [16:39:54]line НСП 1% : 1.50 [16:39:54]line НДС 12% : 18.05 [16:39:54]line Наличными: 170.00 [16:39:54]line Безнал.: 0.00 [16:39:54]line Место: АЗС № 76 "Партнер Нефть" [16:39:54]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [16:39:54]line СНО: Общий режим [16:39:54]line Чек 40 12.07.2024 16:39 [16:39:54]line Смена: 23 ФФД: 1.0 [16:39:54]line ЗНМ: 0300000124 [16:39:54]line РНМ: 0000000000177495 [16:39:54]line Версия ККМ: 001 [16:39:54]line ФМ: 0000000002098592 [16:39:54]line ФД: 1806 [16:39:54]line ФПД: 189837737171956 [16:39:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163955&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1806&fm=189837737171956&tin=02508201610067®Number=0000000000177495&sum=17000 [16:39:54]line 0 [16:39:54]OFD Sender: Processing packet 1806 [packets to send 1, broken 0] [16:39:54]ProducePacketName [16:39:54]name=ofd_packets/00001806 [16:39:54]OFD Sender: To server: pG, [16:39:54]CommunicateWithHost lk.salyk.kg:30040 [16:39:54]ConnectInit lk.salyk.kg [16:39:54]written 0, free lines is 4095 [16:39:55]Connected sock=8 [16:39:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 89 01 00 00 71 5F 81 01 B5 2E 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 32 31 38 32 30 39 32 06 04 25 00 D0 96 D0 B5 D0 B2 20 46 69 76 65 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B5 20 D0 AF D0 B3 D0 BE D0 B4 D1 8B 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 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 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 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 5B 5C 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0E 07 00 00 35 04 06 00 AC A8 0A E3 9B F4 C4 10 52 59 5B CD D7 92 [16:39:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 BA DE 47 00 BE C3 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 32 30 39 38 35 39 32 10 04 04 00 0E 07 00 00 F4 03 04 00 93 07 91 66 B6 04 01 00 00 F0 54 51 C9 91 B0 2E 25 [16:39:55]CommunicateWithHost err = 0 [16:39:55]CheckOFDResponse [16:39:55]1017 (14) - 77093643461234 [16:39:55]1041 (16) - 0000000002098592 [16:39:55]1040 (4) - 1806 [16:39:55]1012 (4) - 12.07.2024 10:38 [16:39:55]1206 (1) - 0 [16:39:55]OFD Sender: Remove packet 1806 [16:39:55]ProducePacketName [16:39:55]name=ofd_packets/00001806 [16:39:55]NVStorageDeleteData [16:39:55]Write to MH i2c: 01 00 00 D9 08 E1 [16:39:55]Write i2c OK [16:39:55]MH_I2C_Read... [16:39:55]Read from MH i2c: 01 [16:39:55]MH_I2C_Read... [16:39:55]Read from MH i2c: 01 07 00 [16:39:55]MH_I2C_Read... [16:39:55]Read from MH i2c: 01 07 00 D9 08 00 00 00 00 00 C4 0C B8 [16:39:55]RasterBufferAndPrint [16:39:55]line [16:39:55]line [16:39:55]line [16:39:55]line [16:39:55]line [16:39:55]written 0, free lines is 3274 [16:39:55]MH_Cut [16:39:55]Write to MH i2c: D1 01 00 E0 08 01 BA [16:39:55]Write i2c OK [16:39:55]MH_I2C_Read... [16:39:55]Read from MH i2c: D1 [16:39:55]MH_I2C_Read... [16:39:55]Read from MH i2c: D1 01 00 [16:39:55]MH_I2C_Read... [16:39:55]Read from MH i2c: D1 01 00 E0 08 00 B9 [16:39:55]Write to MH i2c: 01 00 00 E1 08 E9 [16:39:55]Write i2c OK [16:39:55]MH_I2C_Read... [16:39:55]OFD Sender: No OFD packet to send [16:39:56]*** Cut start [16:39:56]*** Partial cut [16:39:56]*** CUTSNS_PIN = 1 [16:39:56]*** CUTSNS_PIN = 0 [16:39:56]*** Brake cut motor [16:39:56]Read from MH i2c: 01 [16:39:56]MH_I2C_Read... [16:39:56]*** Stop cut motor [16:39:56]*** Cut end [16:39:56]Read from MH i2c: 01 07 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: 01 07 00 E1 08 00 00 00 00 00 FF 0F FE [16:39:56]process_action close_receipt done [16:39:56]requested_data is exist [16:39:56]produce_requested_data [16:39:56]requested_item fm.sn is exist - process it [16:39:56]wFMCommunicate request_size=4 [16:39:56]MH_SAM_APDU [16:39:56]CAPDU: 80 11 00 00 [16:39:56]Write to MH i2c: E2 08 00 E2 08 80 11 00 00 00 00 00 00 64 [16:39:56]Write i2c OK [16:39:56]MH_I2C_Read... [16:39:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:56]Read from MH i2c: E2 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 17 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 17 00 E2 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 BA [16:39:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:39:56]wFMCommunicate OK [16:39:56]requested_item fd.num is exist - process it [16:39:56]SAM_PROTO_GetFieldsCounters [16:39:56]wFMCommunicate request_size=4 [16:39:56]MH_SAM_APDU [16:39:56]CAPDU: 80 13 00 00 [16:39:56]Write to MH i2c: E2 08 00 E3 08 80 13 00 00 00 00 00 00 67 [16:39:56]Write i2c OK [16:39:56]MH_I2C_Read... [16:39:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:39:57]Read from MH i2c: E2 [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: E2 62 00 [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: E2 62 00 E3 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0E 07 00 00 0E 04 04 00 17 00 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 37 [16:39:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0E 07 00 00 0E 04 04 00 17 00 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 [16:39:57]wFMCommunicate OK [16:39:57]SAM_PROTO_GetFieldsCounters done [16:39:57]requested_item shift.num is exist - process it [16:39:57]requested_item shift.opened is exist - process it [16:39:57]req_shift_opened [16:39:57]FM_GetShiftState [16:39:57]SAM_PROTO_GetShiftState [16:39:57]wFMCommunicate request_size=4 [16:39:57]MH_SAM_APDU [16:39:57]CAPDU: 80 13 01 00 [16:39:57]Write to MH i2c: E2 08 00 E4 08 80 13 01 00 00 00 00 00 69 [16:39:57]Write i2c OK [16:39:57]MH_I2C_Read... [16:39:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:57]Read from MH i2c: E2 [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: E2 0E 00 [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: E2 0E 00 E4 08 00 09 00 01 43 74 90 66 00 00 00 00 90 00 22 [16:39:57]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:39:57]wFMCommunicate OK [16:39:57]SAM_PROTO_GetShiftState done [16:39:57]FM_GetShiftState done [16:39:57]req_shift_opened done [16:39:57]requested_item shift.open_date is exist - process it [16:39:57]req_shift_open_date [16:39:57]req_shift_open_date done [16:39:57]produce_requested_data done [16:39:57]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1806,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [16:39:57]process_action_free close_receipt [16:39:57]json_value_free [16:39:57]json_value_free done [16:39:57]process_json_proto returns [16:39:57]Send response to host [16:39:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1806,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [16:39:57]free response buf [16:39:57]execute_script done [16:39:57]execute_script returns [16:39:57]free content buf [16:39:57]Sock 9.Close socket [16:39:57]Sock 9.Thread stoped [16:40:00]OFD Sender: No OFD packet to send [16:40:05]OFD Sender: No OFD packet to send [16:40:10]OFD Sender: No OFD packet to send [16:40:15]OFD Sender: No OFD packet to send [16:40:20]OFD Sender: No OFD packet to send [16:40:25]OFD Sender: No OFD packet to send [16:40:30]OFD Sender: No OFD packet to send [16:40:35]OFD Sender: No OFD packet to send [16:40:40]OFD Sender: No OFD packet to send [16:40:45]OFD Sender: No OFD packet to send [16:40:50]OFD Sender: No OFD packet to send [16:40:55]OFD Sender: No OFD packet to send [16:41:00]OFD Sender: No OFD packet to send [16:41:05]OFD Sender: No OFD packet to send [16:41:10]OFD Sender: No OFD packet to send [16:41:15]OFD Sender: No OFD packet to send [16:41:20]OFD Sender: No OFD packet to send [16:41:25]OFD Sender: No OFD packet to send [16:41:30]OFD Sender: No OFD packet to send [16:41:35]OFD Sender: No OFD packet to send [16:41:40]OFD Sender: No OFD packet to send [16:41:45]OFD Sender: No OFD packet to send [16:41:50]OFD Sender: No OFD packet to send [16:41:55]OFD Sender: No OFD packet to send [16:42:00]OFD Sender: No OFD packet to send [16:42:05]OFD Sender: No OFD packet to send [16:42:10]OFD Sender: No OFD packet to send [16:42:15]OFD Sender: No OFD packet to send [16:42:20]OFD Sender: No OFD packet to send [16:42:25]OFD Sender: No OFD packet to send [16:42:30]OFD Sender: No OFD packet to send [16:42:35]OFD Sender: No OFD packet to send [16:42:40]OFD Sender: No OFD packet to send [16:42:45]OFD Sender: No OFD packet to send [16:42:50]OFD Sender: No OFD packet to send [16:42:55]OFD Sender: No OFD packet to send [16:43:00]OFD Sender: No OFD packet to send [16:43:05]OFD Sender: No OFD packet to send [16:43:10]OFD Sender: No OFD packet to send [16:43:15]OFD Sender: No OFD packet to send [16:43:20]OFD Sender: No OFD packet to send [16:43:25]OFD Sender: No OFD packet to send [16:43:30]OFD Sender: No OFD packet to send [16:43:35]OFD Sender: No OFD packet to send [16:43:40]OFD Sender: No OFD packet to send [16:43:45]OFD Sender: No OFD packet to send [16:43:50]OFD Sender: No OFD packet to send [16:43:55]OFD Sender: No OFD packet to send [16:44:00]OFD Sender: No OFD packet to send [16:44:05]OFD Sender: No OFD packet to send [16:44:10]OFD Sender: No OFD packet to send [16:44:15]OFD Sender: No OFD packet to send [16:44:20]OFD Sender: No OFD packet to send [16:44:25]OFD Sender: No OFD packet to send [16:44:30]OFD Sender: No OFD packet to send [16:44:35]OFD Sender: No OFD packet to send [16:44:40]OFD Sender: No OFD packet to send [16:44:43]accept exits with 10 [16:44:43]New connection [16:44:43]New thread 3067002212 created [16:44:43]Thread 3067145572 joined [16:44:43]Waiting for new connection... [16:44:43] Sock 10.Parse request [16:44:43]Sock 10.Check first char [16:44:43]Sock 10.First char is OK [16:44:43]request: POST /json_proto HTTP/1.0 [16:44:43]Method: POST [16:44:43]URL: /json_proto [16:44:43]Method is POST - this is cgi request [16:44:43]url: /json_proto [16:44:43]query_string will be loaded in cgi processing [16:44:43]execute_cgi json_proto POST (null) [16:44:43]execute_cgi path=json_proto method=POST [16:44:43]POST find Content-Length [16:44:43]Host: 172.17.35.133:8080 [16:44:43]Content-Length: 1961 [16:44:43]Content-Type: application/json [16:44:43] [16:44:43]POST finish read [16:44:43]Found Content-Length = 1961 [16:44:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256272", "tax_sys" : 0, "items" : [ { "code": "4700003150714", "name": "\u0412\u043E\u0434\u043A\u0430 FAVORIT 0,7", "price" : 780.00, "quantity" : 1.000, "sum" : 780.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 37.00, "quantity" : 1.000, "sum" : 37.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681079", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u043B\u0430\u0434\u043A\u0438\u0439 \u0447\u0438\u043B\u0438 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1211.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:44:43]execute_script... [16:44: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)256272", "tax_sys" : 0, "items" : [ { "code": "4700003150714", "name": "\u0412\u043E\u0434\u043A\u0430 FAVORIT 0,7", "price" : 780.00, "quantity" : 1.000, "sum" : 780.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 37.00, "quantity" : 1.000, "sum" : 37.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681079", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u043B\u0430\u0434\u043A\u0438\u0439 \u0447\u0438\u043B\u0438 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1211.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:44:43]POST & json_proto [16:44:43]process_json_proto [16:44:43]json parsed OK: [16:44:43]protocol is kg_v1.0 [16:44:43]action value=close_receipt [16:44:43]process_action close_receipt [16:44:43]cmd_close_receipt [16:44:43]MH_GetDate [16:44:43]Write to MH i2c: F0 00 00 E5 08 DC [16:44:43]Write i2c OK [16:44:43]MH_I2C_Read... [16:44:43]Read from MH i2c: F0 [16:44:43]MH_I2C_Read... [16:44:43]Read from MH i2c: F0 09 00 [16:44:43]MH_I2C_Read... [16:44:43]Read from MH i2c: F0 09 00 E5 08 00 7E 5D 91 66 1B 28 2A 66 8A [16:44:43]GetLastDocTimeStamp 1720802395 [16:44:43]current date 1720802686 [16:44:43]FM_GetShiftState [16:44:43]SAM_PROTO_GetShiftState [16:44:43]wFMCommunicate request_size=4 [16:44:43]MH_SAM_APDU [16:44:43]CAPDU: 80 13 01 00 [16:44:43]Write to MH i2c: E2 08 00 E6 08 80 13 01 00 00 00 00 00 6B [16:44:43]Write i2c OK [16:44:43]MH_I2C_Read... [16:44:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:44]Read from MH i2c: E2 [16:44:44]MH_I2C_Read... [16:44:44]Read from MH i2c: E2 0E 00 [16:44:44]MH_I2C_Read... [16:44:44]Read from MH i2c: E2 0E 00 E6 08 00 09 00 01 43 74 90 66 00 00 00 00 90 00 24 [16:44:44]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:44:44]wFMCommunicate OK [16:44:44]SAM_PROTO_GetShiftState done [16:44:44]FM_GetShiftState done [16:44:44]opened in 1720742979 [16:44:44]opened+sec_in_day 1720829379 [16:44:44]quantity*price = 78000 [16:44:44]sum+1 = 78001 [16:44:44]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42113164 Жев Orbit White Spearmint 1.000 * 37.00 = 37.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570095 Напиток Pepsi 2л 1.000 * 210.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681079 Grizzly волнистые Сладкий чили 55 гр 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681086 Grizzly волнистые Сыр с халапеньо 55 гр 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1211.00 НСП 1% : 10.72 НДС 12% : 128.60 Наличными: 1211.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 41 12.07.2024 16:44 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1807 ФПД: 184761077916292 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T164446&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1807&fm=184761077916292&tin=02508201610067®Number=0000000000177495&sum=121100 0 [16:44:45]StoreToDocumentArchive [16:44:45]shift 23 fd 1807 [16:44:45]save to /storage/0023/doc_00001807 [16:44:45]save last doc name /storage/0023/doc_00001807 to /storage/kkm_last_doc_name [16:44:45]save OK [16:44:45]Clear old archive folders... [16:44:45]ProcessDocumentItem done err = 0, tmpTLVsize=828 [16:44:45]tlvbuf is 0106BE80 [16:44:45]SAM_PROTO_ClearQueue [16:44:45]wFMCommunicate request_size=4 [16:44:45]MH_SAM_APDU [16:44:45]CAPDU: 80 09 00 00 [16:44:45]Write to MH i2c: E2 08 00 F3 08 80 09 00 00 00 00 00 00 6D [16:44:45]Write i2c OK [16:44:45]MH_I2C_Read... [16:44:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:44:45]Read from MH i2c: E2 [16:44:45]MH_I2C_Read... [16:44:45]Read from MH i2c: E2 03 00 [16:44:45]MH_I2C_Read... [16:44:45]Read from MH i2c: E2 03 00 F3 08 00 90 00 6F [16:44:45]RAPDU: 90 00 [16:44:45]wFMCommunicate OK [16:44:45]SAM_PROTO_ClearQueue done [16:44:45]KKMCreateOFDPacket [16:44:45]OFDProtocolAddRootSTLVToBuf [16:44:45]FM_MakeSignedData [16:44:45]FM_MakeSignedData [16:44:45]SAM_PROTO_SignData [16:44:45]wFMCommunicate request_size=4 [16:44:45]MH_SAM_APDU [16:44:45]CAPDU: 80 0D 01 02 [16:44:45]Write to MH i2c: E2 08 00 F4 08 80 0D 01 02 00 00 00 00 75 [16:44:45]Write i2c OK [16:44:45]MH_I2C_Read... [16:44:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:44:45]Read from MH i2c: E2 [16:44:45]MH_I2C_Read... [16:44:45]Read from MH i2c: E2 03 00 [16:44:45]MH_I2C_Read... [16:44:45]Read from MH i2c: E2 03 00 F4 08 00 90 00 70 [16:44:45]RAPDU: 90 00 [16:44:45]wFMCommunicate OK [16:44:45]wFMCommunicate request_size=255 [16:44:45]MH_SAM_APDU [16:44:45]CAPDU: 80 0D 02 02 FA 03 00 3C 03 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 37 31 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 46 41 56 4F 52 49 54 20 30 2C 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 30 01 00 00 00 13 04 06 00 B0 30 01 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 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 [16:44:45]Write to MH i2c: E2 02 01 F5 08 80 0D 02 02 FA 00 03 00 3C 03 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 37 31 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 46 41 56 4F 52 49 54 20 30 2C 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 30 01 00 00 00 13 04 06 00 B0 30 01 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 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 00 8E [16:44:45]Write i2c OK [16:44:45]MH_I2C_Read... [16:44:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:45]Read from MH i2c: E2 [16:44:45]MH_I2C_Read... [16:44:45]Read from MH i2c: E2 03 00 [16:44:45]MH_I2C_Read... [16:44:45]Read from MH i2c: E2 03 00 F5 08 00 90 00 71 [16:44:45]RAPDU: 90 00 [16:44:45]wFMCommunicate OK [16:44:45]wFMCommunicate request_size=255 [16:44:45]MH_SAM_APDU [16:44:45]CAPDU: 80 0D 02 02 FA 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 [16:44:45]Write to MH i2c: E2 02 01 F6 08 80 0D 02 02 FA 00 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 B5 [16:44:45]Write i2c OK [16:44:45]MH_I2C_Read... [16:44:46]OFD Sender: No OFD packet to send [16:44:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:46]Read from MH i2c: E2 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 03 00 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 03 00 F6 08 00 90 00 72 [16:44:46]RAPDU: 90 00 [16:44:46]wFMCommunicate OK [16:44:46]wFMCommunicate request_size=255 [16:44:46]MH_SAM_APDU [16:44:46]CAPDU: 80 0D 02 02 FA 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C D9 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 32 00 00 00 00 07 04 06 00 0C D9 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 [16:44:46]Write to MH i2c: E2 02 01 F7 08 80 0D 02 02 FA 00 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C D9 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 32 00 00 00 00 07 04 06 00 0C D9 01 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 EC [16:44:46]Write i2c OK [16:44:46]MH_I2C_Read... [16:44:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:46]Read from MH i2c: E2 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 03 00 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 03 00 F7 08 00 90 00 73 [16:44:46]RAPDU: 90 00 [16:44:46]wFMCommunicate OK [16:44:46]wFMCommunicate request_size=87 [16:44:46]MH_SAM_APDU [16:44:46]CAPDU: 80 0D 02 02 52 00 00 00 F4 03 04 00 7E 5D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0F 07 00 00 35 04 06 00 A8 0A 0A 6A E2 84 [16:44:46]Write to MH i2c: E2 5A 00 F8 08 80 0D 02 02 52 00 00 00 00 F4 03 04 00 7E 5D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0F 07 00 00 35 04 06 00 A8 0A 0A 6A E2 84 00 00 5A [16:44:46]Write i2c OK [16:44:46]MH_I2C_Read... [16:44:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:46]Read from MH i2c: E2 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 03 00 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 03 00 F8 08 00 90 00 74 [16:44:46]RAPDU: 90 00 [16:44:46]wFMCommunicate OK [16:44:46]wFMCommunicate request_size=4 [16:44:46]MH_SAM_APDU [16:44:46]CAPDU: 80 0D 03 02 [16:44:46]Write to MH i2c: E2 08 00 F9 08 80 0D 03 02 00 00 00 00 7C [16:44:46]Write i2c OK [16:44:46]MH_I2C_Read... [16:44:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:44:46]Read from MH i2c: E2 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 0B 00 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 0B 00 F9 08 00 04 CF 94 4B 93 A0 BF AC 90 00 CD [16:44:46]RAPDU: 04 CF 94 4B 93 A0 BF AC 90 00 [16:44:46]wFMCommunicate OK [16:44:46]SAM_PROTO_SignData done [16:44:46]FM_MakeSignedData done [16:44:46]CreateOFDProtocolMessage [16:44:46]wFMCommunicate request_size=4 [16:44:46]MH_SAM_APDU [16:44:46]CAPDU: 80 11 00 00 [16:44:46]Write to MH i2c: E2 08 00 FA 08 80 11 00 00 00 00 00 00 7C [16:44:46]Write i2c OK [16:44:46]MH_I2C_Read... [16:44:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:46]Read from MH i2c: E2 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 17 00 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: E2 17 00 FA 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 D2 [16:44:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:44:46]wFMCommunicate OK [16:44:46]CreateOFDProtocolMessage done [16:44:46]OFDSenderStorePacket 1807 [16:44:46]StoreOFDPacket docnum=1807 [16:44:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 50 03 00 00 44 24 48 03 B8 BC 5A 03 01 00 03 00 3C 03 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 37 31 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 46 41 56 4F 52 49 54 20 30 2C 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 30 01 00 00 00 13 04 06 00 B0 30 01 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 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C D9 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 32 00 00 00 00 07 04 06 00 0C D9 01 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 7E 5D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0F 07 00 00 35 04 06 00 A8 0A 0A 6A E2 84 04 CF 94 4B 93 A0 BF AC [16:44:46]CheckFolder [16:44:46]dirname=/storage/ofd_packets [16:44:46]CheckFolder done [16:44:46]ProducePacketName [16:44:46]name=ofd_packets/00001807 [16:44:46]NVStorageSaveData ofd_packets/00001807 [16:44:46]File name is /storage/ofd_packets/00001807 [16:44:46]Write 878 bytes [16:44:46]NVStorageSaveData done [16:44:46]OFDSenderStorePacket done [16:44:46]KKMCreateOFDPacket done [16:44:46]NVStorageSaveData kkm_last_timestamp [16:44:46]File name is /storage/kkm_last_timestamp [16:44:46]Write 4 bytes [16:44:46]NVStorageSaveData done [16:44:46]ExternCall_PrintAddStr [16:44:46]wPrintStart [16:44:46]Write to MH i2c: 01 00 00 FB 08 03 [16:44:46]Write i2c OK [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: 01 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: 01 07 00 [16:44:46]MH_I2C_Read... [16:44:46]Read from MH i2c: 01 07 00 FB 08 00 00 00 00 00 FF 0F 18 [16:44:46]RasterBufferAndPrint [16:44:46]line Счет N : (3)256272 [16:44:46]line ИНН: 02508201610067 [16:44:46]line Контрольно-Кассовый Чек [16:44:46]line ПРОДАЖА [16:44:46]line Товар: 4700003150714 [16:44:46]line Водка FAVORIT 0,7 [16:44:46]line 1.000 * 780.00 [16:44:46]line = 780.00 [16:44:46]line НДС 12% НСП 1% [16:44:46]line > о реализуемом товаре [16:44:46]line Товар: 42113164 [16:44:46]line Жев Orbit White Spearmint [16:44:46]line 1.000 * 37.00 [16:44:46]line = 37.00 [16:44:46]line НДС 12% НСП 1% [16:44:46]line > о реализуемом товаре [16:44:46]line Товар: 4870001570095 [16:44:46]line Напиток Pepsi 2л [16:44:46]line 1.000 * 210.00 [16:44:46]line = 210.00 [16:44:46]line НДС 12% НСП 1% [16:44:46]line > о реализуемом товаре [16:44:46]line Товар: 2000031750019 [16:44:46]line Пакет Партнер Нефть [16:44:46]line 1.000 * 4.00 [16:44:46]line = 4.00 [16:44:46]line НДС 12% НСП 1% [16:44:46]line > о реализуемом товаре [16:44:46]line Товар: 4870235681079 [16:44:46]line Grizzly волнистые Сладкий чили 55 гр [16:44:46]line 1.000 * 90.00 [16:44:46]line = 90.00 [16:44:46]line НДС 12% НСП 1% [16:44:46]line > о реализуемом товаре [16:44:46]line Товар: 4870235681086 [16:44:46]line Grizzly волнистые Сыр с халапеньо 55 гр [16:44:46]line 1.000 * 90.00 [16:44:46]line = 90.00 [16:44:46]line НДС 12% НСП 1% [16:44:46]line > о реализуемом товаре [16:44:46]line ИТОГО: 1211.00 [16:44:46]line НСП 1% : 10.72 [16:44:46]line НДС 12% : 128.60 [16:44:46]line Наличными: 1211.00 [16:44:46]line Безнал.: 0.00 [16:44:46]line Место: АЗС № 76 "Партнер Нефть" [16:44:46]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [16:44:46]line СНО: Общий режим [16:44:46]line Чек 41 12.07.2024 16:44 [16:44:46]line Смена: 23 ФФД: 1.0 [16:44:46]line ЗНМ: 0300000124 [16:44:46]line РНМ: 0000000000177495 [16:44:46]line Версия ККМ: 001 [16:44:46]line ФМ: 0000000002098592 [16:44:46]line ФД: 1807 [16:44:46]line ФПД: 184761077916292 [16:44:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T164446&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1807&fm=184761077916292&tin=02508201610067®Number=0000000000177495&sum=121100 [16:44:46]OFD Sender: Processing packet 1807 [packets to send 1, broken 0] [16:44:46]ProducePacketName [16:44:46]name=ofd_packets/00001807 [16:44:46]OFD Sender: To server: pG, [16:44:46]CommunicateWithHost lk.salyk.kg:30040 [16:44:46]ConnectInit lk.salyk.kg [16:44:46]line 0 [16:44:46]written 0, free lines is 4095 [16:44:47]Connected sock=9 [16:44:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 50 03 00 00 44 24 48 03 B8 BC 5A 03 01 00 03 00 3C 03 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 37 31 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 46 41 56 4F 52 49 54 20 30 2C 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 30 01 00 00 00 13 04 06 00 B0 30 01 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 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C D9 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 32 00 00 00 00 07 04 06 00 0C D9 01 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 7E 5D 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 0F 07 00 00 35 04 06 00 A8 0A 0A 6A E2 84 04 CF 94 4B 93 A0 BF AC [16:44:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 F9 80 47 00 25 0D 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 32 30 39 38 35 39 32 10 04 04 00 0F 07 00 00 F4 03 04 00 B7 08 91 66 B6 04 01 00 00 B2 0D AD C9 70 0B 2A 5B [16:44:47]CommunicateWithHost err = 0 [16:44:47]CheckOFDResponse [16:44:47]1017 (14) - 77093643461234 [16:44:47]1041 (16) - 0000000002098592 [16:44:47]1040 (4) - 1807 [16:44:47]1012 (4) - 12.07.2024 10:43 [16:44:47]1206 (1) - 0 [16:44:47]OFD Sender: Remove packet 1807 [16:44:47]ProducePacketName [16:44:47]name=ofd_packets/00001807 [16:44:47]NVStorageDeleteData [16:44:47]Write to MH i2c: 01 00 00 43 09 4C [16:44:47]Write i2c OK [16:44:47]MH_I2C_Read... [16:44:47]Read from MH i2c: 01 [16:44:47]MH_I2C_Read... [16:44:47]Read from MH i2c: 01 07 00 [16:44:47]MH_I2C_Read... [16:44:47]Read from MH i2c: 01 07 00 43 09 00 00 00 00 00 43 0B A1 [16:44:47]RasterBufferAndPrint [16:44:47]line [16:44:47]line [16:44:47]line [16:44:47]line [16:44:47]line [16:44:47]written 0, free lines is 2894 [16:44:47]MH_Cut [16:44:47]Write to MH i2c: D1 01 00 4A 09 01 25 [16:44:47]Write i2c OK [16:44:47]MH_I2C_Read... [16:44:47]Read from MH i2c: D1 [16:44:47]MH_I2C_Read... [16:44:47]Read from MH i2c: D1 01 00 [16:44:47]MH_I2C_Read... [16:44:47]Read from MH i2c: D1 01 00 4A 09 00 24 [16:44:47]Write to MH i2c: 01 00 00 4B 09 54 [16:44:47]Write i2c OK [16:44:47]MH_I2C_Read... [16:44:47]OFD Sender: No OFD packet to send [16:44:48]*** Cut start [16:44:48]*** Partial cut [16:44:48]*** CUTSNS_PIN = 1 [16:44:48]*** CUTSNS_PIN = 0 [16:44:49]*** Brake cut motor [16:44:49]Read from MH i2c: 01 [16:44:49]MH_I2C_Read... [16:44:49]*** Stop cut motor [16:44:49]*** Cut end [16:44:49]Read from MH i2c: 01 07 00 [16:44:49]MH_I2C_Read... [16:44:49]Read from MH i2c: 01 07 00 4B 09 00 00 00 00 00 FF 0F 69 [16:44:49]process_action close_receipt done [16:44:49]requested_data is exist [16:44:49]produce_requested_data [16:44:49]requested_item fm.sn is exist - process it [16:44:49]wFMCommunicate request_size=4 [16:44:49]MH_SAM_APDU [16:44:49]CAPDU: 80 11 00 00 [16:44:49]Write to MH i2c: E2 08 00 4C 09 80 11 00 00 00 00 00 00 CF [16:44:49]Write i2c OK [16:44:49]MH_I2C_Read... [16:44:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:49]Read from MH i2c: E2 [16:44:49]MH_I2C_Read... [16:44:49]Read from MH i2c: E2 17 00 [16:44:49]MH_I2C_Read... [16:44:49]Read from MH i2c: E2 17 00 4C 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 25 [16:44:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [16:44:49]wFMCommunicate OK [16:44:49]requested_item fd.num is exist - process it [16:44:49]SAM_PROTO_GetFieldsCounters [16:44:49]wFMCommunicate request_size=4 [16:44:49]MH_SAM_APDU [16:44:49]CAPDU: 80 13 00 00 [16:44:49]Write to MH i2c: E2 08 00 4D 09 80 13 00 00 00 00 00 00 D2 [16:44:49]Write i2c OK [16:44:49]MH_I2C_Read... [16:44:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:44:49]Read from MH i2c: E2 [16:44:49]MH_I2C_Read... [16:44:49]Read from MH i2c: E2 62 00 [16:44:49]MH_I2C_Read... [16:44:49]Read from MH i2c: E2 62 00 4D 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0F 07 00 00 0E 04 04 00 17 00 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 A6 [16:44:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 0F 07 00 00 0E 04 04 00 17 00 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 [16:44:49]wFMCommunicate OK [16:44:49]SAM_PROTO_GetFieldsCounters done [16:44:49]requested_item shift.num is exist - process it [16:44:49]requested_item shift.opened is exist - process it [16:44:49]req_shift_opened [16:44:49]FM_GetShiftState [16:44:49]SAM_PROTO_GetShiftState [16:44:49]wFMCommunicate request_size=4 [16:44:49]MH_SAM_APDU [16:44:49]CAPDU: 80 13 01 00 [16:44:49]Write to MH i2c: E2 08 00 4E 09 80 13 01 00 00 00 00 00 D4 [16:44:49]Write i2c OK [16:44:49]MH_I2C_Read... [16:44:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:49]Read from MH i2c: E2 [16:44:49]MH_I2C_Read... [16:44:49]Read from MH i2c: E2 0E 00 [16:44:49]MH_I2C_Read... [16:44:49]Read from MH i2c: E2 0E 00 4E 09 00 09 00 01 43 74 90 66 00 00 00 00 90 00 8D [16:44:49]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [16:44:49]wFMCommunicate OK [16:44:49]SAM_PROTO_GetShiftState done [16:44:49]FM_GetShiftState done [16:44:49]req_shift_opened done [16:44:49]requested_item shift.open_date is exist - process it [16:44:49]req_shift_open_date [16:44:49]req_shift_open_date done [16:44:49]produce_requested_data done [16:44:49]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1807,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [16:44:49]process_action_free close_receipt [16:44:49]json_value_free [16:44:49]json_value_free done [16:44:49]process_json_proto returns [16:44:49]Send response to host [16:44:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1807,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [16:44:49]free response buf [16:44:49]execute_script done [16:44:49]execute_script returns [16:44:49]free content buf [16:44:49]Sock 10.Close socket [16:44:49]Sock 10.Thread stoped [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:22]OFD Sender: No OFD packet to send [16:46:27]OFD Sender: No OFD packet to send [16:46:32]OFD Sender: No OFD packet to send [16:46:37]OFD Sender: No OFD packet to send [16:46:42]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:43]OFD Sender: No OFD packet to send [16:48:48]OFD Sender: No OFD packet to send [16:48:53]OFD Sender: No OFD packet to send [16:48:58]OFD Sender: No OFD packet to send [16:49:03]OFD Sender: No OFD packet to send [16:49:08]OFD Sender: No OFD packet to send [16:49:13]OFD Sender: No OFD packet to send [16:49:18]OFD Sender: No OFD packet to send [16:49:23]OFD Sender: No OFD packet to send [16:49:28]OFD Sender: No OFD packet to send [16:49:33]OFD Sender: No OFD packet to send [16:49:38]OFD Sender: No OFD packet to send [16:49:43]OFD Sender: No OFD packet to send [16:49:48]OFD Sender: No OFD packet to send [16:49:53]OFD Sender: No OFD packet to send [16:49:58]OFD Sender: No OFD packet to send [16:50:03]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:43]OFD Sender: No OFD packet to send [16:50:48]OFD Sender: No OFD packet to send [16:50:53]OFD Sender: No OFD packet to send [16:50:58]OFD Sender: No OFD packet to send [16:51:03]OFD Sender: No OFD packet to send [16:51:08]OFD Sender: No OFD packet to send [16:51:13]OFD Sender: No OFD packet to send [16:51:18]OFD Sender: No OFD packet to send [16:51:23]OFD Sender: No OFD packet to send [16:51:28]OFD Sender: No OFD packet to send [16:51:33]OFD Sender: No OFD packet to send [16:51:38]OFD Sender: No OFD packet to send [16:51:43]OFD Sender: No OFD packet to send [16:51:48]OFD Sender: No OFD packet to send [16:51:53]OFD Sender: No OFD packet to send [16:51:58]OFD Sender: No OFD packet to send [16:52:03]OFD Sender: No OFD packet to send [16:52:08]OFD Sender: No OFD packet to send [16:52:13]OFD Sender: No OFD packet to send [16:52:18]OFD Sender: No OFD packet to send [16:52:23]OFD Sender: No OFD packet to send [16:52:28]OFD Sender: No OFD packet to send [16:52:33]OFD Sender: No OFD packet to send [16:52:38]OFD Sender: No OFD packet to send [16:52:43]OFD Sender: No OFD packet to send [16:52:48]OFD Sender: No OFD packet to send [16:52:53]OFD Sender: No OFD packet to send [16:52:58]OFD Sender: No OFD packet to send [16:53:03]OFD Sender: No OFD packet to send [16:53:08]OFD Sender: No OFD packet to send [16:53:13]OFD Sender: No OFD packet to send [16:53:18]OFD Sender: No OFD packet to send [16:53:23]OFD Sender: No OFD packet to send [16:53:28]OFD Sender: No OFD packet to send [16:53:33]OFD Sender: No OFD packet to send [16:53:38]OFD Sender: No OFD packet to send [16:53:43]OFD Sender: No OFD packet to send [16:53:48]OFD Sender: No OFD packet to send [16:53:53]OFD Sender: No OFD packet to send [16:53:58]OFD Sender: No OFD packet to send [16:54:03]OFD Sender: No OFD packet to send [16:54:08]OFD Sender: No OFD packet to send [16:54:13]OFD Sender: No OFD packet to send [16:54:18]OFD Sender: No OFD packet to send [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:48]OFD Sender: No OFD packet to send [16:56:53]OFD Sender: No OFD packet to send [16:56:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:48]OFD Sender: No OFD packet to send [16:57:53]OFD Sender: No OFD packet to send [16:57:58]OFD Sender: No OFD packet to send [16:58:03]OFD Sender: No OFD packet to send [16:58:08]OFD Sender: No OFD packet to send [16:58:13]OFD Sender: No OFD packet to send [16:58:18]OFD Sender: No OFD packet to send [16:58:23]OFD Sender: No OFD packet to send [16:58:28]OFD Sender: No OFD packet to send [16:58:33]OFD Sender: No OFD packet to send [16:58:38]OFD Sender: No OFD packet to send [16:58:43]OFD Sender: No OFD packet to send [16:58:48]OFD Sender: No OFD packet to send [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:33]OFD Sender: No OFD packet to send [16:59:38]OFD Sender: No OFD packet to send [16:59:43]OFD Sender: No OFD packet to send [16:59:48]OFD Sender: No OFD packet to send [16:59:53]OFD Sender: No OFD packet to send [16:59:58]OFD Sender: No OFD packet to send [17:00:03]OFD Sender: No OFD packet to send [17:00:08]OFD Sender: No OFD packet to send [17:00:13]OFD Sender: No OFD packet to send [17:00:18]OFD Sender: No OFD packet to send [17:00:23]OFD Sender: No OFD packet to send [17:00:28]OFD Sender: No OFD packet to send [17:00:33]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:58]OFD Sender: No OFD packet to send [17:01:03]OFD Sender: No OFD packet to send [17:01:08]OFD Sender: No OFD packet to send [17:01:13]OFD Sender: No OFD packet to send [17:01:18]OFD Sender: No OFD packet to send [17:01:23]OFD Sender: No OFD packet to send [17:01:28]OFD Sender: No OFD packet to send [17:01:33]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:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:39]OFD Sender: No OFD packet to send [17:09:44]OFD Sender: No OFD packet to send [17:09:49]OFD Sender: No OFD packet to send [17:09:54]OFD Sender: No OFD packet to send [17:09:59]OFD Sender: No OFD packet to send [17:10:04]OFD Sender: No OFD packet to send [17:10:09]OFD Sender: No OFD packet to send [17:10:14]OFD Sender: No OFD packet to send [17:10:19]OFD Sender: No OFD packet to send [17:10:24]OFD Sender: No OFD packet to send [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:39]OFD Sender: No OFD packet to send [17:10:44]OFD Sender: No OFD packet to send [17:10:49]OFD Sender: No OFD packet to send [17:10:54]OFD Sender: No OFD packet to send [17:10:59]OFD Sender: No OFD packet to send [17:11:04]OFD Sender: No OFD packet to send [17:11:09]OFD Sender: No OFD packet to send [17:11:14]OFD Sender: No OFD packet to send [17:11:19]OFD Sender: No OFD packet to send [17:11:24]OFD Sender: No OFD packet to send [17:11:29]OFD Sender: No OFD packet to send [17:11:34]OFD Sender: No OFD packet to send [17:11:39]OFD Sender: No OFD packet to send [17:11:44]OFD Sender: No OFD packet to send [17:11:49]OFD Sender: No OFD packet to send [17:11:54]OFD Sender: No OFD packet to send [17:11:59]OFD Sender: No OFD packet to send [17:12:04]OFD Sender: No OFD packet to send [17:12:09]OFD Sender: No OFD packet to send [17:12:14]OFD Sender: No OFD packet to send [17:12:19]OFD Sender: No OFD packet to send [17:12:24]OFD Sender: No OFD packet to send [17:12:29]OFD Sender: No OFD packet to send [17:12:34]OFD Sender: No OFD packet to send [17:12:39]OFD Sender: No OFD packet to send [17:12:44]OFD Sender: No OFD packet to send [17:12:49]OFD Sender: No OFD packet to send [17:12:54]OFD Sender: No OFD packet to send [17:12:59]OFD Sender: No OFD packet to send [17:13:04]OFD Sender: No OFD packet to send [17:13:09]OFD Sender: No OFD packet to send [17:13:14]OFD Sender: No OFD packet to send [17:13:19]OFD Sender: No OFD packet to send [17:13:24]OFD Sender: No OFD packet to send [17:13:29]OFD Sender: No OFD packet to send [17:13:34]OFD Sender: No OFD packet to send [17:13:39]OFD Sender: No OFD packet to send [17:13:44]OFD Sender: No OFD packet to send [17:13:49]OFD Sender: No OFD packet to send [17:13:54]OFD Sender: No OFD packet to send [17:13:59]OFD Sender: No OFD packet to send [17:14:04]OFD Sender: No OFD packet to send [17:14:09]OFD Sender: No OFD packet to send [17:14:14]OFD Sender: No OFD packet to send [17:14:19]OFD Sender: No OFD packet to send [17:14:24]OFD Sender: No OFD packet to send [17:14:29]OFD Sender: No OFD packet to send [17:14:34]OFD Sender: No OFD packet to send [17:14:39]OFD Sender: No OFD packet to send [17:14:44]OFD Sender: No OFD packet to send [17:14:49]OFD Sender: No OFD packet to send [17:14:54]OFD Sender: No OFD packet to send [17:14:59]OFD Sender: No OFD packet to send [17:15:04]OFD Sender: No OFD packet to send [17:15:09]OFD Sender: No OFD packet to send [17:15:14]OFD Sender: No OFD packet to send [17:15:19]OFD Sender: No OFD packet to send [17:15:24]OFD Sender: No OFD packet to send [17:15:29]OFD Sender: No OFD packet to send [17:15:34]OFD Sender: No OFD packet to send [17:15:39]OFD Sender: No OFD packet to send [17:15:44]OFD Sender: No OFD packet to send [17:15:49]OFD Sender: No OFD packet to send [17:15:54]OFD Sender: No OFD packet to send [17:15:59]OFD Sender: No OFD packet to send [17:16:04]OFD Sender: No OFD packet to send [17:16:09]OFD Sender: No OFD packet to send [17:16:14]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:43]accept exits with 8 [17:16:43]New connection [17:16:43]New thread 3067145572 created [17:16:43]Thread 3067002212 joined [17:16:43]Waiting for new connection... [17:16:43] Sock 8.Parse request [17:16:43]Sock 8.Check first char [17:16:43]Sock 8.First char is OK [17:16:43]request: POST /json_proto HTTP/1.0 [17:16:43]Method: POST [17:16:43]URL: /json_proto [17:16:43]Method is POST - this is cgi request [17:16:43]url: /json_proto [17:16:43]query_string will be loaded in cgi processing [17:16:43]execute_cgi json_proto POST (null) [17:16:43]execute_cgi path=json_proto method=POST [17:16:43]POST find Content-Length [17:16:43]Host: 172.17.35.133:8080 [17:16:43]Content-Length: 1306 [17:16:43]Content-Type: application/json [17:16:43] [17:16:43]POST finish read [17:16:43]Found Content-Length = 1306 [17:16:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256273", "tax_sys" : 0, "items" : [ { "code": "4607015232868", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0432 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u043E\u0439 \u0433\u043B\u0430\u0437\u0443\u0440\u0438 200\u0433", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607123066034", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.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" : 172.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:16:43]execute_script... [17:16: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)256273", "tax_sys" : 0, "items" : [ { "code": "4607015232868", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0432 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u043E\u0439 \u0433\u043B\u0430\u0437\u0443\u0440\u0438 200\u0433", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607123066034", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.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" : 172.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:16:43]POST & json_proto [17:16:43]process_json_proto [17:16:43]json parsed OK: [17:16:43]protocol is kg_v1.0 [17:16:43]action value=close_receipt [17:16:43]process_action close_receipt [17:16:43]cmd_close_receipt [17:16:43]MH_GetDate [17:16:43]Write to MH i2c: F0 00 00 4F 09 47 [17:16:43]Write i2c OK [17:16:43]MH_I2C_Read... [17:16:43]Read from MH i2c: F0 [17:16:43]MH_I2C_Read... [17:16:43]Read from MH i2c: F0 09 00 [17:16:43]MH_I2C_Read... [17:16:43]Read from MH i2c: F0 09 00 4F 09 00 FE 64 91 66 1B 28 2A 66 7C [17:16:43]GetLastDocTimeStamp 1720802686 [17:16:43]current date 1720804606 [17:16:43]FM_GetShiftState [17:16:43]SAM_PROTO_GetShiftState [17:16:43]wFMCommunicate request_size=4 [17:16:43]MH_SAM_APDU [17:16:43]CAPDU: 80 13 01 00 [17:16:43]Write to MH i2c: E2 08 00 50 09 80 13 01 00 00 00 00 00 D6 [17:16:43]Write i2c OK [17:16:43]MH_I2C_Read... [17:16:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:43]Read from MH i2c: E2 [17:16:43]MH_I2C_Read... [17:16:43]Read from MH i2c: E2 0E 00 [17:16:43]MH_I2C_Read... [17:16:43]Read from MH i2c: E2 0E 00 50 09 00 09 00 01 43 74 90 66 00 00 00 00 90 00 8F [17:16:43]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [17:16:43]wFMCommunicate OK [17:16:43]SAM_PROTO_GetShiftState done [17:16:43]FM_GetShiftState done [17:16:43]opened in 1720742979 [17:16:43]opened+sec_in_day 1720829379 [17:16:43]quantity*price = 11300 [17:16:43]sum+1 = 11301 [17:16:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607123066034 Печ Юбилейное Торжество молочное 120г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 172.00 НСП 1% : 1.52 НДС 12% : 18.26 Наличными: 0.00 Безнал.: 172.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 42 12.07.2024 17:16 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000002098592 ФД: 1808 ФПД: 186330755798001 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T171646&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1808&fm=186330755798001&tin=02508201610067®Number=0000000000177495&sum=17200 0 [17:16:44]StoreToDocumentArchive [17:16:44]shift 23 fd 1808 [17:16:44]save to /storage/0023/doc_00001808 [17:16:44]save last doc name /storage/0023/doc_00001808 to /storage/kkm_last_doc_name [17:16:44]save OK [17:16:44]Clear old archive folders... [17:16:44]ProcessDocumentItem done err = 0, tmpTLVsize=449 [17:16:44]tlvbuf is 010C3070 [17:16:44]SAM_PROTO_ClearQueue [17:16:44]wFMCommunicate request_size=4 [17:16:44]MH_SAM_APDU [17:16:44]CAPDU: 80 09 00 00 [17:16:44]Write to MH i2c: E2 08 00 5D 09 80 09 00 00 00 00 00 00 D8 [17:16:44]Write i2c OK [17:16:44]MH_I2C_Read... [17:16:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:16:44]Read from MH i2c: E2 [17:16:44]MH_I2C_Read... [17:16:44]Read from MH i2c: E2 03 00 [17:16:44]MH_I2C_Read... [17:16:44]Read from MH i2c: E2 03 00 5D 09 00 90 00 DA [17:16:44]RAPDU: 90 00 [17:16:44]wFMCommunicate OK [17:16:44]SAM_PROTO_ClearQueue done [17:16:44]KKMCreateOFDPacket [17:16:44]OFDProtocolAddRootSTLVToBuf [17:16:44]FM_MakeSignedData [17:16:44]FM_MakeSignedData [17:16:44]SAM_PROTO_SignData [17:16:44]wFMCommunicate request_size=4 [17:16:44]MH_SAM_APDU [17:16:44]CAPDU: 80 0D 01 02 [17:16:44]Write to MH i2c: E2 08 00 5E 09 80 0D 01 02 00 00 00 00 E0 [17:16:44]Write i2c OK [17:16:44]MH_I2C_Read... [17:16:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:16:44]Read from MH i2c: E2 [17:16:44]MH_I2C_Read... [17:16:44]Read from MH i2c: E2 03 00 [17:16:44]MH_I2C_Read... [17:16:44]Read from MH i2c: E2 03 00 5E 09 00 90 00 DB [17:16:44]RAPDU: 90 00 [17:16:44]wFMCommunicate OK [17:16:44]wFMCommunicate request_size=255 [17:16:44]MH_SAM_APDU [17:16:44]CAPDU: 80 0D 02 02 FA 03 00 C1 01 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 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 33 34 06 04 43 00 D0 9F D0 B5 D1 87 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 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 [17:16:44]Write to MH i2c: E2 02 01 5F 09 80 0D 02 02 FA 00 03 00 C1 01 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 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 33 34 06 04 43 00 D0 9F D0 B5 D1 87 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 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 A6 [17:16:45]Write i2c OK [17:16:45]MH_I2C_Read... [17:16:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:45]Read from MH i2c: E2 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: E2 03 00 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: E2 03 00 5F 09 00 90 00 DC [17:16:45]RAPDU: 90 00 [17:16:45]wFMCommunicate OK [17:16:45]wFMCommunicate request_size=208 [17:16:45]MH_SAM_APDU [17:16:45]CAPDU: 80 0D 02 02 CB 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 30 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 43 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 FE 64 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 10 07 00 00 35 04 06 00 A9 77 82 82 93 F1 [17:16:45]Write to MH i2c: E2 D3 00 60 09 80 0D 02 02 CB 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 30 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 43 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 FE 64 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 10 07 00 00 35 04 06 00 A9 77 82 82 93 F1 00 00 1E [17:16:45]Write i2c OK [17:16:45]MH_I2C_Read... [17:16:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:45]Read from MH i2c: E2 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: E2 03 00 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: E2 03 00 60 09 00 90 00 DD [17:16:45]RAPDU: 90 00 [17:16:45]wFMCommunicate OK [17:16:45]wFMCommunicate request_size=4 [17:16:45]MH_SAM_APDU [17:16:45]CAPDU: 80 0D 03 02 [17:16:45]Write to MH i2c: E2 08 00 61 09 80 0D 03 02 00 00 00 00 E5 [17:16:45]Write i2c OK [17:16:45]MH_I2C_Read... [17:16:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:16:45]Read from MH i2c: E2 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: E2 0B 00 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: E2 0B 00 61 09 00 1F 8F 1E 59 ED 21 A8 47 90 00 08 [17:16:45]RAPDU: 1F 8F 1E 59 ED 21 A8 47 90 00 [17:16:45]wFMCommunicate OK [17:16:45]SAM_PROTO_SignData done [17:16:45]FM_MakeSignedData done [17:16:45]CreateOFDProtocolMessage [17:16:45]wFMCommunicate request_size=4 [17:16:45]MH_SAM_APDU [17:16:45]CAPDU: 80 11 00 00 [17:16:45]Write to MH i2c: E2 08 00 62 09 80 11 00 00 00 00 00 00 E5 [17:16:45]Write i2c OK [17:16:45]MH_I2C_Read... [17:16:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:45]Read from MH i2c: E2 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: E2 17 00 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: E2 17 00 62 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 3B [17:16:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [17:16:45]wFMCommunicate OK [17:16:45]CreateOFDProtocolMessage done [17:16:45]OFDSenderStorePacket 1808 [17:16:45]StoreOFDPacket docnum=1808 [17:16:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 D5 01 00 00 65 42 CD 01 E7 59 5A 03 01 00 03 00 C1 01 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 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 33 34 06 04 43 00 D0 9F D0 B5 D1 87 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 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 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 30 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 43 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 FE 64 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 10 07 00 00 35 04 06 00 A9 77 82 82 93 F1 1F 8F 1E 59 ED 21 A8 47 [17:16:45]CheckFolder [17:16:45]dirname=/storage/ofd_packets [17:16:45]CheckFolder done [17:16:45]ProducePacketName [17:16:45]name=ofd_packets/00001808 [17:16:45]NVStorageSaveData ofd_packets/00001808 [17:16:45]File name is /storage/ofd_packets/00001808 [17:16:45]Write 499 bytes [17:16:45]NVStorageSaveData done [17:16:45]OFDSenderStorePacket done [17:16:45]KKMCreateOFDPacket done [17:16:45]NVStorageSaveData kkm_last_timestamp [17:16:45]File name is /storage/kkm_last_timestamp [17:16:45]Write 4 bytes [17:16:45]NVStorageSaveData done [17:16:45]ExternCall_PrintAddStr [17:16:45]wPrintStart [17:16:45]Write to MH i2c: 01 00 00 63 09 6C [17:16:45]Write i2c OK [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: 01 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: 01 07 00 [17:16:45]MH_I2C_Read... [17:16:45]Read from MH i2c: 01 07 00 63 09 00 00 00 00 00 FF 0F 81 [17:16:45]RasterBufferAndPrint [17:16:45]line Счет N : (3)256273 [17:16:45]line ИНН: 02508201610067 [17:16:45]line Контрольно-Кассовый Чек [17:16:45]line ПРОДАЖА [17:16:45]line Товар: 4607015232868 [17:16:45]line Вафли Яшкино в шоколадной глазури 200г [17:16:45]line 1.000 * 113.00 [17:16:45]line = 113.00 [17:16:45]line НДС 12% НСП 1% [17:16:45]line > о реализуемом товаре [17:16:45]line Товар: 4607123066034 [17:16:45]line Печ Юбилейное Торжество молочное 120г [17:16:45]line 1.000 * 59.00 [17:16:45]line = 59.00 [17:16:45]line НДС 12% НСП 1% [17:16:45]line > о реализуемом товаре [17:16:45]line ИТОГО: 172.00 [17:16:45]line НСП 1% : 1.52 [17:16:45]line НДС 12% : 18.26 [17:16:45]line Наличными: 0.00 [17:16:45]line Безнал.: 172.00 [17:16:45]line Место: АЗС № 76 "Партнер Нефть" [17:16:45]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [17:16:45]line СНО: Общий режим [17:16:45]line Чек 42 12.07.2024 17:16 [17:16:45]line Смена: 23 ФФД: 1.0 [17:16:45]line ЗНМ: 0300000124 [17:16:45]line РНМ: 0000000000177495 [17:16:45]line Версия ККМ: 001 [17:16:45]line Платежная система: АКБ Кыргызстан [17:16:45]line ФМ: 0000000002098592 [17:16:45]line ФД: 1808 [17:16:45]line ФПД: 186330755798001 [17:16:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T171646&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1808&fm=186330755798001&tin=02508201610067®Number=0000000000177495&sum=17200 [17:16:45]line 0 [17:16:45]written 0, free lines is 4095 [17:16:46]OFD Sender: Processing packet 1808 [packets to send 1, broken 0] [17:16:46]ProducePacketName [17:16:46]name=ofd_packets/00001808 [17:16:46]OFD Sender: To server: pG, [17:16:46]CommunicateWithHost lk.salyk.kg:30040 [17:16:46]ConnectInit lk.salyk.kg [17:16:46]Connected sock=10 [17:16:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 D5 01 00 00 65 42 CD 01 E7 59 5A 03 01 00 03 00 C1 01 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 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 33 34 06 04 43 00 D0 9F D0 B5 D1 87 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 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 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 30 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 43 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 FE 64 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 10 07 00 00 35 04 06 00 A9 77 82 82 93 F1 1F 8F 1E 59 ED 21 A8 47 [17:16:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 CE 74 47 00 85 34 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 32 30 39 38 35 39 32 10 04 04 00 10 07 00 00 F4 03 04 00 36 10 91 66 B6 04 01 00 00 46 2A 87 E7 6D 3C 72 DB [17:16:46]CommunicateWithHost err = 0 [17:16:46]CheckOFDResponse [17:16:46]1017 (14) - 77093643461234 [17:16:46]1041 (16) - 0000000002098592 [17:16:46]1040 (4) - 1808 [17:16:46]1012 (4) - 12.07.2024 11:15 [17:16:46]1206 (1) - 0 [17:16:46]OFD Sender: Remove packet 1808 [17:16:46]ProducePacketName [17:16:46]name=ofd_packets/00001808 [17:16:46]NVStorageDeleteData [17:16:46]Write to MH i2c: 01 00 00 95 09 9E [17:16:46]Write i2c OK [17:16:46]MH_I2C_Read... [17:16:46]Read from MH i2c: 01 [17:16:46]MH_I2C_Read... [17:16:46]Read from MH i2c: 01 07 00 [17:16:46]MH_I2C_Read... [17:16:46]Read from MH i2c: 01 07 00 95 09 00 00 00 00 00 79 0C 2A [17:16:46]RasterBufferAndPrint [17:16:46]line [17:16:46]line [17:16:46]line [17:16:46]line [17:16:46]line [17:16:46]written 0, free lines is 3200 [17:16:46]MH_Cut [17:16:46]Write to MH i2c: D1 01 00 9C 09 01 77 [17:16:46]Write i2c OK [17:16:46]MH_I2C_Read... [17:16:46]Read from MH i2c: D1 [17:16:46]MH_I2C_Read... [17:16:46]Read from MH i2c: D1 01 00 [17:16:46]MH_I2C_Read... [17:16:46]Read from MH i2c: D1 01 00 9C 09 00 76 [17:16:46]Write to MH i2c: 01 00 00 9D 09 A6 [17:16:46]Write i2c OK [17:16:46]MH_I2C_Read... [17:16:46]OFD Sender: No OFD packet to send [17:16:47]*** Cut start [17:16:47]*** Partial cut [17:16:47]*** CUTSNS_PIN = 1 [17:16:47]*** CUTSNS_PIN = 0 [17:16:47]*** Brake cut motor [17:16:47]Read from MH i2c: 01 [17:16:47]MH_I2C_Read... [17:16:47]*** Stop cut motor [17:16:47]*** Cut end [17:16:47]Read from MH i2c: 01 07 00 [17:16:47]MH_I2C_Read... [17:16:47]Read from MH i2c: 01 07 00 9D 09 00 00 00 00 00 FF 0F BB [17:16:47]process_action close_receipt done [17:16:47]requested_data is exist [17:16:47]produce_requested_data [17:16:47]requested_item fm.sn is exist - process it [17:16:47]wFMCommunicate request_size=4 [17:16:47]MH_SAM_APDU [17:16:47]CAPDU: 80 11 00 00 [17:16:47]Write to MH i2c: E2 08 00 9E 09 80 11 00 00 00 00 00 00 21 [17:16:47]Write i2c OK [17:16:47]MH_I2C_Read... [17:16:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:47]Read from MH i2c: E2 [17:16:47]MH_I2C_Read... [17:16:47]Read from MH i2c: E2 17 00 [17:16:47]MH_I2C_Read... [17:16:47]Read from MH i2c: E2 17 00 9E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 77 [17:16:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [17:16:48]wFMCommunicate OK [17:16:48]requested_item fd.num is exist - process it [17:16:48]SAM_PROTO_GetFieldsCounters [17:16:48]wFMCommunicate request_size=4 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 13 00 00 [17:16:48]Write to MH i2c: E2 08 00 9F 09 80 13 00 00 00 00 00 00 24 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 62 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 62 00 9F 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 10 07 00 00 0E 04 04 00 17 00 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 FC [17:16:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 10 07 00 00 0E 04 04 00 17 00 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 [17:16:48]wFMCommunicate OK [17:16:48]SAM_PROTO_GetFieldsCounters done [17:16:48]requested_item shift.num is exist - process it [17:16:48]requested_item shift.opened is exist - process it [17:16:48]req_shift_opened [17:16:48]FM_GetShiftState [17:16:48]SAM_PROTO_GetShiftState [17:16:48]wFMCommunicate request_size=4 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 13 01 00 [17:16:48]Write to MH i2c: E2 08 00 A0 09 80 13 01 00 00 00 00 00 26 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 0E 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 0E 00 A0 09 00 09 00 01 43 74 90 66 00 00 00 00 90 00 DF [17:16:48]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [17:16:48]wFMCommunicate OK [17:16:48]SAM_PROTO_GetShiftState done [17:16:48]FM_GetShiftState done [17:16:48]req_shift_opened done [17:16:48]requested_item shift.open_date is exist - process it [17:16:48]req_shift_open_date [17:16:48]req_shift_open_date done [17:16:48]produce_requested_data done [17:16:48]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1808,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [17:16:48]process_action_free close_receipt [17:16:48]json_value_free [17:16:48]json_value_free done [17:16:48]process_json_proto returns [17:16:48]Send response to host [17:16:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1808,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [17:16:48]free response buf [17:16:48]execute_script done [17:16:48]execute_script returns [17:16:48]free content buf [17:16:48]Sock 8.Close socket [17:16:48]Sock 8.Thread stoped [17:16:51]OFD Sender: No OFD packet to send [17:16:56]OFD Sender: No OFD packet to send [17:17:01]OFD Sender: No OFD packet to send [17:17:06]OFD Sender: No OFD packet to send [17:17:11]OFD Sender: No OFD packet to send [17:17:16]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]OFD Sender: No OFD packet to send [17:20:52]OFD Sender: No OFD packet to send [17:20:57]OFD Sender: No OFD packet to send [17:21:02]OFD Sender: No OFD packet to send [17:21:07]OFD Sender: No OFD packet to send [17:21:12]OFD Sender: No OFD packet to send [17:21:17]OFD Sender: No OFD packet to send [17:21:22]OFD Sender: No OFD packet to send [17:21:27]OFD Sender: No OFD packet to send [17:21:32]OFD Sender: No OFD packet to send [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]OFD Sender: No OFD packet to send [17:23:17]OFD Sender: No OFD packet to send [17:23:22]OFD Sender: No OFD packet to send [17:23:27]OFD Sender: No OFD packet to send [17:23:32]OFD Sender: No OFD packet to send [17:23:37]OFD Sender: No OFD packet to send [17:23:42]OFD Sender: No OFD packet to send [17:23:47]OFD Sender: No OFD packet to send [17:23:52]OFD Sender: No OFD packet to send [17:23:57]OFD Sender: No OFD packet to send [17:24:02]OFD Sender: No OFD packet to send [17:24:07]OFD Sender: No OFD packet to send [17:24:12]OFD Sender: No OFD packet to send [17:24:17]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:07]OFD Sender: No OFD packet to send [17:26:12]OFD Sender: No OFD packet to send [17:26:17]OFD Sender: No OFD packet to send [17:26:22]OFD Sender: No OFD packet to send [17:26:27]OFD Sender: No OFD packet to send [17:26:32]OFD Sender: No OFD packet to send [17:26:37]OFD Sender: No OFD packet to send [17:26:42]OFD Sender: No OFD packet to send [17:26:47]OFD Sender: No OFD packet to send [17:26:52]OFD Sender: No OFD packet to send [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:12]OFD Sender: No OFD packet to send [17:27:17]OFD Sender: No OFD packet to send [17:27:22]OFD Sender: No OFD packet to send [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:42]OFD Sender: No OFD packet to send [17:27:47]OFD Sender: No OFD packet to send [17:27:52]OFD Sender: No OFD packet to send [17:27:57]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28:45]recv_with_timeout no data received [17:28:47]OFD Sender: No OFD packet to send 00 00 00 00 00 00 A6 [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:03]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:31:03]Read from MH i2c: E2 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 A9 09 00 90 00 26 [17:31:03]RAPDU: 90 00 [17:31:03]wFMCommunicate OK [17:31:03]wFMCommunicate request_size=11 [17:31:03]MH_SAM_APDU [17:31:03]CAPDU: 80 15 02 00 06 1F 04 02 00 01 00 [17:31:03]Write to MH i2c: E2 0E 00 AA 09 80 15 02 00 06 00 1F 04 02 00 01 00 00 00 65 [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:03]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:31:03]Read from MH i2c: E2 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 AA 09 00 90 00 27 [17:31:03]RAPDU: 90 00 [17:31:03]wFMCommunicate OK [17:31:03]wFMCommunicate request_size=13 [17:31:03]MH_SAM_APDU [17:31:03]CAPDU: 80 15 02 00 08 F4 03 04 00 58 68 91 66 [17:31:03]Write to MH i2c: E2 10 00 AB 09 80 15 02 00 08 00 F4 03 04 00 58 68 91 66 00 00 F6 [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:03]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:31:03]Read from MH i2c: E2 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 AB 09 00 90 00 28 [17:31:03]RAPDU: 90 00 [17:31:03]wFMCommunicate OK [17:31:03]wFMCommunicate request_size=25 [17:31:03]MH_SAM_APDU [17:31:03]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 [17:31:03]Write to MH i2c: E2 1C 00 AC 09 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 00 00 9F [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:03]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:31:03]Read from MH i2c: E2 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 AC 09 00 90 00 29 [17:31:03]RAPDU: 90 00 [17:31:03]wFMCommunicate OK [17:31:03]wFMCommunicate request_size=4 [17:31:03]MH_SAM_APDU [17:31:03]CAPDU: 80 15 03 00 [17:31:03]Write to MH i2c: E2 08 00 AD 09 80 15 03 00 00 00 00 00 37 [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:03]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [17:31:03]Read from MH i2c: E2 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 40 00 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 40 00 AD 09 00 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 11 07 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2B 00 00 00 35 04 06 00 55 3B F5 AA 87 17 90 00 57 [17:31:03]RAPDU: 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 11 07 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2B 00 00 00 35 04 06 00 55 3B F5 AA 87 17 90 00 [17:31:03]wFMCommunicate OK [17:31:03]SAM_PROTO_ProcessDocument answer len = 59 [17:31:03]SAM_PROTO_ProcessDocument done [17:31:03]SetTLVBufToDocument [17:31:03]Processing tag 1209 (04B9) [17:31:03]Malloc new data [17:31:03]Processing tag 1041 (0411) [17:31:03]Processing tag 1040 (0410) [17:31:03]Malloc new data [17:31:03]Processing tag 1038 (040E) [17:31:03]Malloc new data [17:31:03]Processing tag 1042 (0412) [17:31:03]Malloc new data [17:31:03]Processing tag 1077 (0435) [17:31:03]Malloc new data [17:31:03]SetTLVBufToDocument err=0 [17:31:03]KKMLoadAndSignReceiptData store KKM data [17:31:03]KKMLoadAndSignReceiptData err=0 [17:31:03]wFMCommunicate request_size=4 [17:31:03]MH_SAM_APDU [17:31:03]CAPDU: 80 11 00 00 [17:31:03]Write to MH i2c: E2 08 00 AE 09 80 11 00 00 00 00 00 00 31 [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:03]Read from MH i2c: E2 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 17 00 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 17 00 AE 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 87 [17:31:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [17:31:03]wFMCommunicate OK [17:31:03]Счет N : (3)256274 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 0.00 Безнал.: 138.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 43 12.07.2024 17:31 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000002098592 ФД: 1809 ФПД: 93716013025047 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T173104&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1809&fm=93716013025047&tin=02508201610067®Number=0000000000177495&sum=13800 0 [17:31:03]StoreToDocumentArchive [17:31:03]shift 23 fd 1809 [17:31:03]save to /storage/0023/doc_00001809 [17:31:03]save last doc name /storage/0023/doc_00001809 to /storage/kkm_last_doc_name [17:31:03]save OK [17:31:03]Clear old archive folders... [17:31:03]ProcessDocumentItem done err = 0, tmpTLVsize=274 [17:31:03]tlvbuf is 0104C8E0 [17:31:03]SAM_PROTO_ClearQueue [17:31:03]wFMCommunicate request_size=4 [17:31:03]MH_SAM_APDU [17:31:03]CAPDU: 80 09 00 00 [17:31:03]Write to MH i2c: E2 08 00 AF 09 80 09 00 00 00 00 00 00 2A [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:31:03]Read from MH i2c: E2 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 AF 09 00 90 00 2C [17:31:03]RAPDU: 90 00 [17:31:03]wFMCommunicate OK [17:31:03]SAM_PROTO_ClearQueue done [17:31:03]KKMCreateOFDPacket [17:31:03]OFDProtocolAddRootSTLVToBuf [17:31:03]FM_MakeSignedData [17:31:03]FM_MakeSignedData [17:31:03]SAM_PROTO_SignData [17:31:03]wFMCommunicate request_size=4 [17:31:03]MH_SAM_APDU [17:31:03]CAPDU: 80 0D 01 02 [17:31:03]Write to MH i2c: E2 08 00 B0 09 80 0D 01 02 00 00 00 00 32 [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:31:03]Read from MH i2c: E2 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 [17:31:03]MH_I2C_Read... [17:31:03]Read from MH i2c: E2 03 00 B0 09 00 90 00 2D [17:31:03]RAPDU: 90 00 [17:31:03]wFMCommunicate OK [17:31:03]wFMCommunicate request_size=255 [17:31:03]MH_SAM_APDU [17:31:03]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 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 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 58 68 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 [17:31:03]Write to MH i2c: E2 02 01 B1 09 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 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 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 58 68 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 00 00 70 [17:31:03]Write i2c OK [17:31:03]MH_I2C_Read... [17:31:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:04]Read from MH i2c: E2 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: E2 03 00 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: E2 03 00 B1 09 00 90 00 2E [17:31:04]RAPDU: 90 00 [17:31:04]wFMCommunicate OK [17:31:04]wFMCommunicate request_size=33 [17:31:04]MH_SAM_APDU [17:31:04]CAPDU: 80 0D 02 02 1C 30 30 30 32 30 39 38 35 39 32 10 04 04 00 11 07 00 00 35 04 06 00 55 3B F5 AA 87 17 [17:31:04]Write to MH i2c: E2 24 00 B2 09 80 0D 02 02 1C 00 30 30 30 32 30 39 38 35 39 32 10 04 04 00 11 07 00 00 35 04 06 00 55 3B F5 AA 87 17 00 00 AC [17:31:04]Write i2c OK [17:31:04]MH_I2C_Read... [17:31:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:04]Read from MH i2c: E2 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: E2 03 00 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: E2 03 00 B2 09 00 90 00 2F [17:31:04]RAPDU: 90 00 [17:31:04]wFMCommunicate OK [17:31:04]wFMCommunicate request_size=4 [17:31:04]MH_SAM_APDU [17:31:04]CAPDU: 80 0D 03 02 [17:31:04]Write to MH i2c: E2 08 00 B3 09 80 0D 03 02 00 00 00 00 37 [17:31:04]Write i2c OK [17:31:04]MH_I2C_Read... [17:31:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:31:04]Read from MH i2c: E2 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: E2 0B 00 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: E2 0B 00 B3 09 00 89 1F 06 E2 6C 69 7B 9E 90 00 B6 [17:31:04]RAPDU: 89 1F 06 E2 6C 69 7B 9E 90 00 [17:31:04]wFMCommunicate OK [17:31:04]SAM_PROTO_SignData done [17:31:04]FM_MakeSignedData done [17:31:04]CreateOFDProtocolMessage [17:31:04]wFMCommunicate request_size=4 [17:31:04]MH_SAM_APDU [17:31:04]CAPDU: 80 11 00 00 [17:31:04]Write to MH i2c: E2 08 00 B4 09 80 11 00 00 00 00 00 00 37 [17:31:04]Write i2c OK [17:31:04]MH_I2C_Read... [17:31:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:04]Read from MH i2c: E2 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: E2 17 00 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: E2 17 00 B4 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 8D [17:31:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [17:31:04]wFMCommunicate OK [17:31:04]CreateOFDProtocolMessage done [17:31:04]OFDSenderStorePacket 1809 [17:31:04]StoreOFDPacket docnum=1809 [17:31:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 26 01 00 00 0E FD 1E 01 7D 96 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 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 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 58 68 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 11 07 00 00 35 04 06 00 55 3B F5 AA 87 17 89 1F 06 E2 6C 69 7B 9E [17:31:04]CheckFolder [17:31:04]dirname=/storage/ofd_packets [17:31:04]CheckFolder done [17:31:04]ProducePacketName [17:31:04]name=ofd_packets/00001809 [17:31:04]NVStorageSaveData ofd_packets/00001809 [17:31:04]File name is /storage/ofd_packets/00001809 [17:31:04]Write 324 bytes [17:31:04]NVStorageSaveData done [17:31:04]OFDSenderStorePacket done [17:31:04]KKMCreateOFDPacket done [17:31:04]NVStorageSaveData kkm_last_timestamp [17:31:04]File name is /storage/kkm_last_timestamp [17:31:04]Write 4 bytes [17:31:04]NVStorageSaveData done [17:31:04]ExternCall_PrintAddStr [17:31:04]wPrintStart [17:31:04]Write to MH i2c: 01 00 00 B5 09 BE [17:31:04]Write i2c OK [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: 01 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: 01 07 00 [17:31:04]MH_I2C_Read... [17:31:04]Read from MH i2c: 01 07 00 B5 09 00 00 00 00 00 FF 0F D3 [17:31:04]RasterBufferAndPrint [17:31:04]line Счет N : (3)256274 [17:31:04]line ИНН: 02508201610067 [17:31:04]line Контрольно-Кассовый Чек [17:31:04]line ПРОДАЖА [17:31:04]line Товар: 4640030091645 [17:31:04]line Сигареты ESSE Exchange M [17:31:04]line 1.000 * 138.00 [17:31:04]line = 138.00 [17:31:04]line НДС 12% НСП 1% [17:31:04]line > о реализуемом товаре [17:31:04]line ИТОГО: 138.00 [17:31:04]line НСП 1% : 1.22 [17:31:04]line НДС 12% : 14.65 [17:31:04]line Наличными: 0.00 [17:31:04]line Безнал.: 138.00 [17:31:04]line Место: АЗС № 76 "Партнер Нефть" [17:31:04]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [17:31:04]line СНО: Общий режим [17:31:04]line Чек 43 12.07.2024 17:31 [17:31:04]line Смена: 23 ФФД: 1.0 [17:31:04]line ЗНМ: 0300000124 [17:31:04]line РНМ: 0000000000177495 [17:31:04]line Версия ККМ: 001 [17:31:04]line Платежная система: АКБ Кыргызстан [17:31:04]line ФМ: 0000000002098592 [17:31:04]line ФД: 1809 [17:31:04]line ФПД: 93716013025047 [17:31:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T173104&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1809&fm=93716013025047&tin=02508201610067®Number=0000000000177495&sum=13800 [17:31:04]line 0 [17:31:04]OFD Sender: Processing packet 1809 [packets to send 1, broken 0] [17:31:04]ProducePacketName [17:31:04]name=ofd_packets/00001809 [17:31:04]OFD Sender: To server: pG, [17:31:04]CommunicateWithHost lk.salyk.kg:30040 [17:31:04]ConnectInit lk.salyk.kg [17:31:04]written 0, free lines is 4095 [17:31:04]Connected sock=11 [17:31:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 26 01 00 00 0E FD 1E 01 7D 96 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 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 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 58 68 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 11 07 00 00 35 04 06 00 55 3B F5 AA 87 17 89 1F 06 E2 6C 69 7B 9E [17:31:05]Write to MH i2c: 01 00 00 DF 09 E8 [17:31:05]Write i2c OK [17:31:05]MH_I2C_Read... [17:31:05]Read from MH i2c: 01 [17:31:05]MH_I2C_Read... [17:31:05]Read from MH i2c: 01 07 00 [17:31:05]MH_I2C_Read... [17:31:05]Read from MH i2c: 01 07 00 DF 09 00 00 00 00 00 FC 0C F7 [17:31:05]RasterBufferAndPrint [17:31:05]line [17:31:05]line [17:31:05]line [17:31:05]line [17:31:05]line [17:31:05]written 0, free lines is 3332 [17:31:05]MH_Cut [17:31:05]Write to MH i2c: D1 01 00 E6 09 01 C1 [17:31:05]Write i2c OK [17:31:05]MH_I2C_Read... [17:31:05]Read from MH i2c: D1 [17:31:05]MH_I2C_Read... [17:31:05]Read from MH i2c: D1 01 00 [17:31:05]MH_I2C_Read... [17:31:05]Read from MH i2c: D1 01 00 E6 09 00 C0 [17:31:05]Write to MH i2c: 01 00 00 E7 09 F0 [17:31:05]Write i2c OK [17:31:05]MH_I2C_Read... [17:31:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 D7 5E 47 00 F2 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 32 30 39 38 35 39 32 10 04 04 00 11 07 00 00 F4 03 04 00 91 13 91 66 B6 04 01 00 00 8B B8 66 9A F4 D0 73 27 [17:31:05]CommunicateWithHost err = 0 [17:31:05]CheckOFDResponse [17:31:05]1017 (14) - 77093643461234 [17:31:05]1041 (16) - 0000000002098592 [17:31:05]1040 (4) - 1809 [17:31:05]1012 (4) - 12.07.2024 11:29 [17:31:05]1206 (1) - 0 [17:31:05]OFD Sender: Remove packet 1809 [17:31:05]ProducePacketName [17:31:05]name=ofd_packets/00001809 [17:31:05]NVStorageDeleteData [17:31:05]OFD Sender: No OFD packet to send [17:31:05]*** Cut start [17:31:05]*** Partial cut [17:31:05]*** CUTSNS_PIN = 1 [17:31:05]*** CUTSNS_PIN = 0 [17:31:06]*** Brake cut motor [17:31:06]Read from MH i2c: 01 [17:31:06]MH_I2C_Read... [17:31:06]*** Stop cut motor [17:31:06]*** Cut end [17:31:06]Read from MH i2c: 01 07 00 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: 01 07 00 E7 09 00 00 00 00 00 FF 0F 05 [17:31:06]process_action close_receipt done [17:31:06]requested_data is exist [17:31:06]produce_requested_data [17:31:06]requested_item fm.sn is exist - process it [17:31:06]wFMCommunicate request_size=4 [17:31:06]MH_SAM_APDU [17:31:06]CAPDU: 80 11 00 00 [17:31:06]Write to MH i2c: E2 08 00 E8 09 80 11 00 00 00 00 00 00 6B [17:31:06]Write i2c OK [17:31:06]MH_I2C_Read... [17:31:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:06]Read from MH i2c: E2 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: E2 17 00 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: E2 17 00 E8 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 C1 [17:31:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [17:31:06]wFMCommunicate OK [17:31:06]requested_item fd.num is exist - process it [17:31:06]SAM_PROTO_GetFieldsCounters [17:31:06]wFMCommunicate request_size=4 [17:31:06]MH_SAM_APDU [17:31:06]CAPDU: 80 13 00 00 [17:31:06]Write to MH i2c: E2 08 00 E9 09 80 13 00 00 00 00 00 00 6E [17:31:06]Write i2c OK [17:31:06]MH_I2C_Read... [17:31:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:31:06]Read from MH i2c: E2 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: E2 62 00 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: E2 62 00 E9 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 11 07 00 00 0E 04 04 00 17 00 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 4A [17:31:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 11 07 00 00 0E 04 04 00 17 00 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 [17:31:06]wFMCommunicate OK [17:31:06]SAM_PROTO_GetFieldsCounters done [17:31:06]requested_item shift.num is exist - process it [17:31:06]requested_item shift.opened is exist - process it [17:31:06]req_shift_opened [17:31:06]FM_GetShiftState [17:31:06]SAM_PROTO_GetShiftState [17:31:06]wFMCommunicate request_size=4 [17:31:06]MH_SAM_APDU [17:31:06]CAPDU: 80 13 01 00 [17:31:06]Write to MH i2c: E2 08 00 EA 09 80 13 01 00 00 00 00 00 70 [17:31:06]Write i2c OK [17:31:06]MH_I2C_Read... [17:31:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:06]Read from MH i2c: E2 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: E2 0E 00 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: E2 0E 00 EA 09 00 09 00 01 43 74 90 66 00 00 00 00 90 00 29 [17:31:06]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [17:31:06]wFMCommunicate OK [17:31:06]SAM_PROTO_GetShiftState done [17:31:06]FM_GetShiftState done [17:31:06]req_shift_opened done [17:31:06]requested_item shift.open_date is exist - process it [17:31:06]req_shift_open_date [17:31:06]req_shift_open_date done [17:31:06]produce_requested_data done [17:31:06]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1809,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [17:31:06]process_action_free close_receipt [17:31:06]json_value_free [17:31:06]json_value_free done [17:31:06]process_json_proto returns [17:31:06]Send response to host [17:31:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1809,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [17:31:06]free response buf [17:31:06]execute_script done [17:31:06]execute_script returns [17:31:06]free content buf [17:31:06]Sock 9.Close socket [17:31:06]Sock 9.Thread stoped [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:38]ConnectInit Can't connect to host [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:33:56]ConnectInit Can't connect to host [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:50]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:11]OFD Sender: No OFD packet to send [17:39:16]OFD Sender: No OFD packet to send [17:39:21]OFD Sender: No OFD packet to send [17:39:26]OFD Sender: No OFD packet to send [17:39:31]OFD Sender: No OFD packet to send [17:39:36]OFD Sender: No OFD packet to send [17:39:41]OFD Sender: No OFD packet to send [17:39:46]OFD Sender: No OFD packet to send [17:39:51]OFD Sender: No OFD packet to send [17:39:56]OFD Sender: No OFD packet to send [17:40:01]OFD Sender: No OFD packet to send [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:46]OFD Sender: No OFD packet to send [17:42:51]OFD Sender: No OFD packet to send [17:42:56]OFD Sender: No OFD packet to send [17:43:01]OFD Sender: No OFD packet to send [17:43:06]OFD Sender: No OFD packet to send [17:43:11]OFD Sender: No OFD packet to send [17:43:16]OFD Sender: No OFD packet to send [17:43:21]OFD Sender: No OFD packet to send [17:43:26]OFD Sender: No OFD packet to send [17:43:31]OFD Sender: No OFD packet to send [17:43:36]OFD Sender: No OFD packet to send [17:43:41]OFD Sender: No OFD packet to send [17:43:46]OFD Sender: No OFD packet to send [17:43:51]OFD Sender: No OFD packet to send [17:43:56]OFD Sender: No OFD packet to send [17:44:01]OFD Sender: No OFD packet to send [17:44:06]OFD Sender: No OFD packet to send [17:44:11]OFD Sender: No OFD packet to send [17:44:16]OFD Sender: No OFD packet to send [17:44:21]OFD Sender: No OFD packet to send [17:44:26]OFD Sender: No OFD packet to send [17:44:31]OFD Sender: No OFD packet to send [17:44:36]OFD Sender: No OFD packet to send [17:44:41]OFD Sender: No OFD packet to send [17:44:46]OFD Sender: No OFD packet to send [17:44:51]OFD Sender: No OFD packet to send [17:44:56]OFD Sender: No OFD packet to send [17:45:01]OFD Sender: No OFD packet to send [17:45:06]OFD Sender: No OFD packet to send [17:45:11]OFD Sender: No OFD packet to send [17:45:16]OFD Sender: No OFD packet to send [17:45:21]OFD Sender: No OFD packet to send [17:45:26]OFD Sender: No OFD packet to send [17:45:31]OFD Sender: No OFD packet to send [17:45:36]OFD Sender: No OFD packet to send [17:45:41]OFD Sender: No OFD packet to send [17:45:46]OFD Sender: No OFD packet to send [17:45:51]OFD Sender: No OFD packet to send [17:45:56]OFD Sender: No OFD packet to send [17:46:01]OFD Sender: No OFD packet to send [17:46:06]OFD Sender: No OFD packet to send [17:46:11]OFD Sender: No OFD packet to send [17:46:16]OFD Sender: No OFD packet to send [17:46:21]OFD Sender: No OFD packet to send [17:46:26]OFD Sender: No OFD packet to send [17:46:31]OFD Sender: No OFD packet to send [17:46:36]OFD Sender: No OFD packet to send [17:46:41]OFD Sender: No OFD packet to send [17:46:46]OFD Sender: No OFD packet to send [17:46:51]OFD Sender: No OFD packet to send [17:46:56]OFD Sender: No OFD packet to send [17:47:01]OFD Sender: No OFD packet to send [17:47:06]OFD Sender: No OFD packet to send [17:47:11]OFD Sender: No OFD packet to send [17:47:16]OFD Sender: No OFD packet to send [17:47:21]OFD Sender: No OFD packet to send [17:47:26]OFD Sender: No OFD packet to send [17:47:31]OFD Sender: No OFD packet to send [17:47:36]OFD Sender: No OFD packet to send [17:47:41]OFD Sender: No OFD packet to send [17:47:46]OFD Sender: No OFD packet to send [17:47:51]OFD Sender: No OFD packet to send [17:47:56]OFD Sender: No OFD packet to send [17:48:01]OFD Sender: No OFD packet to send [17:48:06]OFD Sender: No OFD packet to send [17:48:11]OFD Sender: No OFD packet to send [17:48:16]OFD Sender: No OFD packet to send [17:48:21]OFD Sender: No OFD packet to send [17:48:26]OFD Sender: No OFD packet to send [17:48:31]OFD Sender: No OFD packet to send [17:48:36]OFD Sender: No OFD packet to send [17:48:41]OFD Sender: No OFD packet to send [17:48:46]OFD Sender: No OFD packet to send [17:48:51]OFD Sender: No OFD packet to send [17:48:56]OFD Sender: No OFD packet to send [17:49:01]OFD Sender: No OFD packet to send [17:49:06]OFD Sender: No OFD packet to send [17:49:11]OFD Sender: No OFD packet to send [17:49:16]OFD Sender: No OFD packet to send [17:49:21]OFD Sender: No OFD packet to send [17:49:26]OFD Sender: No OFD packet to send [17:49:31]OFD Sender: No OFD packet to send [17:49:36]OFD Sender: No OFD packet to send [17:49:41]OFD Sender: No OFD packet to send [17:49:46]OFD Sender: No OFD packet to send [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:31]OFD Sender: No OFD packet to send [17:55:36]OFD Sender: No OFD packet to send [17:55:41]OFD Sender: No OFD packet to send [17:55:46]OFD Sender: No OFD packet to send [17:55:51]OFD Sender: No OFD packet to send [17:55:56]OFD Sender: No OFD packet to send [17:56:01]OFD Sender: No OFD packet to send [17:56:06]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:12]OFD Sender: No OFD packet to send [18:01:17]OFD Sender: No OFD packet to send [18:01:22]OFD Sender: No OFD packet to send [18:01:27]OFD Sender: No OFD packet to send [18:01:32]OFD Sender: No OFD packet to send [18:01:37]OFD Sender: No OFD packet to send [18:01:42]OFD Sender: No OFD packet to send [18:01:47]OFD Sender: No OFD packet to send [18:01:52]OFD Sender: No OFD packet to send [18:01:57]OFD Sender: No OFD packet to send [18:02:02]OFD Sender: No OFD packet to send [18:02:07]OFD Sender: No OFD packet to send [18:02:12]OFD Sender: No OFD packet to send [18:02:17]OFD Sender: No OFD packet to send [18:02:22]OFD Sender: No OFD packet to send [18:02:27]OFD Sender: No OFD packet to send [18:02:32]OFD Sender: No OFD packet to send [18:02:37]OFD Sender: No OFD packet to send [18:02:42]OFD Sender: No OFD packet to send [18:02:47]OFD Sender: No OFD packet to send [18:02:52]OFD Sender: No OFD packet to send [18:02:57]OFD Sender: No OFD packet to send [18:03:02]OFD Sender: No OFD packet to send [18:03:07]OFD Sender: No OFD packet to send [18:03:12]OFD Sender: No OFD packet to send [18:03:17]OFD Sender: No OFD packet to send [18:03:22]OFD Sender: No OFD packet to send [18:03:27]OFD Sender: No OFD packet to send [18:03:32]OFD Sender: No OFD packet to send [18:03:37]OFD Sender: No OFD packet to send [18:03:42]OFD Sender: No OFD packet to send [18:03:47]OFD Sender: No OFD packet to send [18:03:52]OFD Sender: No OFD packet to send [18:03:57]OFD Sender: No OFD packet to send [18:04:02]OFD Sender: No OFD packet to send [18:04:07]OFD Sender: No OFD packet to send [18:04:12]OFD Sender: No OFD packet to send [18:04:13]accept exits with 10 [18:04:13]New connection [18:04:13]New thread 3067145572 created [18:04:13]Thread 3067002212 joined [18:04:13]Waiting for new connection... [18:04:13] Sock 10.Parse request [18:04:13]Sock 10.Check first char [18:04:13]Sock 10.First char is OK [18:04:13]request: POST /json_proto HTTP/1.0 [18:04:13]Method: POST [18:04:13]URL: /json_proto [18:04:13]Method is POST - this is cgi request [18:04:13]url: /json_proto [18:04:13]query_string will be loaded in cgi processing [18:04:13]execute_cgi json_proto POST (null) [18:04:13]execute_cgi path=json_proto method=POST [18:04:13]POST find Content-Length [18:04:13]Host: 172.17.35.133:8080 [18:04:13]Content-Length: 1830 [18:04:13]Content-Type: application/json [18:04:13] [18:04:13]POST finish read [18:04:13]Found Content-Length = 1830 [18:04:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256275", "tax_sys" : 0, "items" : [ { "code": "4620006990387", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,5\u043B", "price" : 550.00, "quantity" : 1.000, "sum" : 550.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 796.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:13]execute_script... [18:04: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 : (3)256275", "tax_sys" : 0, "items" : [ { "code": "4620006990387", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,5\u043B", "price" : 550.00, "quantity" : 1.000, "sum" : 550.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 796.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:13]POST & json_proto [18:04:13]process_json_proto [18:04:13]json parsed OK: [18:04:13]protocol is kg_v1.0 [18:04:13]action value=close_receipt [18:04:13]process_action close_receipt [18:04:13]cmd_close_receipt [18:04:13]MH_GetDate [18:04:13]Write to MH i2c: F0 00 00 EB 09 E3 [18:04:13]Write i2c OK [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: F0 [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: F0 09 00 [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: F0 09 00 EB 09 00 20 70 91 66 1B 28 2A 66 46 [18:04:13]GetLastDocTimeStamp 1720805464 [18:04:13]current date 1720807456 [18:04:13]FM_GetShiftState [18:04:13]SAM_PROTO_GetShiftState [18:04:13]wFMCommunicate request_size=4 [18:04:13]MH_SAM_APDU [18:04:13]CAPDU: 80 13 01 00 [18:04:13]Write to MH i2c: E2 08 00 EC 09 80 13 01 00 00 00 00 00 72 [18:04:13]Write i2c OK [18:04:13]MH_I2C_Read... [18:04:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:13]Read from MH i2c: E2 [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: E2 0E 00 [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: E2 0E 00 EC 09 00 09 00 01 43 74 90 66 00 00 00 00 90 00 2B [18:04:13]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [18:04:13]wFMCommunicate OK [18:04:13]SAM_PROTO_GetShiftState done [18:04:13]FM_GetShiftState done [18:04:13]opened in 1720742979 [18:04:13]opened+sec_in_day 1720829379 [18:04:13]quantity*price = 55000 [18:04:13]sum+1 = 55001 [18:04:13]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 796.00 НСП 1% : 7.05 НДС 12% : 84.52 Наличными: 796.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 44 12.07.2024 18:04 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1810 ФПД: 101796340688020 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T180416&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1810&fm=101796340688020&tin=02508201610067®Number=0000000000177495&sum=79600 0 [18:04:14]StoreToDocumentArchive [18:04:14]shift 23 fd 1810 [18:04:14]save to /storage/0023/doc_00001810 [18:04:14]save last doc name /storage/0023/doc_00001810 to /storage/kkm_last_doc_name [18:04:14]save OK [18:04:14]Clear old archive folders... [18:04:14]ProcessDocumentItem done err = 0, tmpTLVsize=749 [18:04:14]tlvbuf is 0104C4B0 [18:04:14]SAM_PROTO_ClearQueue [18:04:14]wFMCommunicate request_size=4 [18:04:14]MH_SAM_APDU [18:04:14]CAPDU: 80 09 00 00 [18:04:14]Write to MH i2c: E2 08 00 F9 09 80 09 00 00 00 00 00 00 74 [18:04:14]Write i2c OK [18:04:14]MH_I2C_Read... [18:04:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:04:14]Read from MH i2c: E2 [18:04:14]MH_I2C_Read... [18:04:14]Read from MH i2c: E2 03 00 [18:04:14]MH_I2C_Read... [18:04:14]Read from MH i2c: E2 03 00 F9 09 00 90 00 76 [18:04:14]RAPDU: 90 00 [18:04:14]wFMCommunicate OK [18:04:14]SAM_PROTO_ClearQueue done [18:04:14]KKMCreateOFDPacket [18:04:14]OFDProtocolAddRootSTLVToBuf [18:04:14]FM_MakeSignedData [18:04:14]FM_MakeSignedData [18:04:14]SAM_PROTO_SignData [18:04:14]wFMCommunicate request_size=4 [18:04:14]MH_SAM_APDU [18:04:14]CAPDU: 80 0D 01 02 [18:04:14]Write to MH i2c: E2 08 00 FA 09 80 0D 01 02 00 00 00 00 7C [18:04:14]Write i2c OK [18:04:14]MH_I2C_Read... [18:04:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:04:14]Read from MH i2c: E2 [18:04:14]MH_I2C_Read... [18:04:14]Read from MH i2c: E2 03 00 [18:04:14]MH_I2C_Read... [18:04:14]Read from MH i2c: E2 03 00 FA 09 00 90 00 77 [18:04:14]RAPDU: 90 00 [18:04:14]wFMCommunicate OK [18:04:14]wFMCommunicate request_size=255 [18:04:14]MH_SAM_APDU [18:04:14]CAPDU: 80 0D 02 02 FA 03 00 ED 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 [18:04:15]Write to MH i2c: E2 02 01 FB 09 80 0D 02 02 FA 00 03 00 ED 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 00 00 95 [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 FB 09 00 90 00 78 [18:04:15]RAPDU: 90 00 [18:04:15]wFMCommunicate OK [18:04:15]wFMCommunicate request_size=255 [18:04:15]MH_SAM_APDU [18:04:15]CAPDU: 80 0D 02 02 FA 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 [18:04:15]Write to MH i2c: E2 02 01 FC 09 80 0D 02 02 FA 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 00 00 8C [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 FC 09 00 90 00 79 [18:04:15]RAPDU: 90 00 [18:04:15]wFMCommunicate OK [18:04:15]wFMCommunicate request_size=255 [18:04:15]MH_SAM_APDU [18:04:15]CAPDU: 80 0D 02 02 FA 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 36 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 21 00 00 00 00 07 04 06 00 F0 36 01 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 20 70 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 12 07 00 00 35 04 06 00 5C 95 4E [18:04:15]Write to MH i2c: E2 02 01 FD 09 80 0D 02 02 FA 00 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 36 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 21 00 00 00 00 07 04 06 00 F0 36 01 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 20 70 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 12 07 00 00 35 04 06 00 5C 95 4E 00 00 2B [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 FD 09 00 90 00 7A [18:04:15]RAPDU: 90 00 [18:04:15]wFMCommunicate OK [18:04:15]wFMCommunicate request_size=8 [18:04:15]MH_SAM_APDU [18:04:15]CAPDU: 80 0D 02 02 03 B9 E4 94 [18:04:15]Write to MH i2c: E2 0B 00 FE 09 80 0D 02 02 03 00 B9 E4 94 00 00 B8 [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 FE 09 00 90 00 7B [18:04:15]RAPDU: 90 00 [18:04:15]wFMCommunicate OK [18:04:15]wFMCommunicate request_size=4 [18:04:15]MH_SAM_APDU [18:04:15]CAPDU: 80 0D 03 02 [18:04:15]Write to MH i2c: E2 08 00 FF 09 80 0D 03 02 00 00 00 00 83 [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 0B 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 0B 00 FF 09 00 01 75 0D CE A0 89 DD 67 90 00 42 [18:04:15]RAPDU: 01 75 0D CE A0 89 DD 67 90 00 [18:04:15]wFMCommunicate OK [18:04:15]SAM_PROTO_SignData done [18:04:15]FM_MakeSignedData done [18:04:15]CreateOFDProtocolMessage [18:04:15]wFMCommunicate request_size=4 [18:04:15]MH_SAM_APDU [18:04:15]CAPDU: 80 11 00 00 [18:04:15]Write to MH i2c: E2 08 00 00 0A 80 11 00 00 00 00 00 00 84 [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 17 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 17 00 00 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 DA [18:04:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [18:04:15]wFMCommunicate OK [18:04:15]CreateOFDProtocolMessage done [18:04:15]OFDSenderStorePacket 1810 [18:04:15]StoreOFDPacket docnum=1810 [18:04:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 01 03 00 00 03 43 F9 02 99 40 5A 03 01 00 03 00 ED 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 CC 29 00 00 00 00 13 04 06 00 CC 29 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 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 36 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 21 00 00 00 00 07 04 06 00 F0 36 01 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 20 70 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 12 07 00 00 35 04 06 00 5C 95 4E B9 E4 94 01 75 0D CE A0 89 DD 67 [18:04:16]CheckFolder [18:04:16]dirname=/storage/ofd_packets [18:04:16]CheckFolder done [18:04:16]ProducePacketName [18:04:16]name=ofd_packets/00001810 [18:04:16]NVStorageSaveData ofd_packets/00001810 [18:04:16]File name is /storage/ofd_packets/00001810 [18:04:16]Write 799 bytes [18:04:16]NVStorageSaveData done [18:04:16]OFDSenderStorePacket done [18:04:16]KKMCreateOFDPacket done [18:04:16]NVStorageSaveData kkm_last_timestamp [18:04:16]File name is /storage/kkm_last_timestamp [18:04:16]Write 4 bytes [18:04:16]NVStorageSaveData done [18:04:16]ExternCall_PrintAddStr [18:04:16]wPrintStart [18:04:16]Write to MH i2c: 01 00 00 01 0A 0B [18:04:16]Write i2c OK [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: 01 [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: 01 07 00 [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: 01 07 00 01 0A 00 00 00 00 00 FF 0F 20 [18:04:16]RasterBufferAndPrint [18:04:16]line Счет N : (3)256275 [18:04:16]line ИНН: 02508201610067 [18:04:16]line Контрольно-Кассовый Чек [18:04:16]line ПРОДАЖА [18:04:16]line Товар: 4620006990387 [18:04:16]line Водка Талка 0,5л [18:04:16]line 1.000 * 550.00 [18:04:16]line = 550.00 [18:04:16]line НДС 12% НСП 1% [18:04:16]line > о реализуемом товаре [18:04:16]line Товар: 5449000027474 [18:04:16]line Напиток FuzeTea зел чай манго,ромашка 1л [18:04:16]line 1.000 * 107.00 [18:04:16]line = 107.00 [18:04:16]line НДС 12% НСП 1% [18:04:16]line > о реализуемом товаре [18:04:16]line Товар: 2000053020015 [18:04:16]line Бумажные стаканы 250мл 1шт [18:04:16]line 4.000 * 7.00 [18:04:16]line = 28.00 [18:04:16]line НДС 12% НСП 1% [18:04:16]line > о реализуемом товаре [18:04:16]line Товар: 5449000189332 [18:04:16]line Холодный чай Fuse персик 1л [18:04:16]line 1.000 * 107.00 [18:04:16]line = 107.00 [18:04:16]line НДС 12% НСП 1% [18:04:16]line > о реализуемом товаре [18:04:16]line Товар: 2000031750019 [18:04:16]line Пакет Партнер Нефть [18:04:16]line 1.000 * 4.00 [18:04:16]line = 4.00 [18:04:16]line НДС 12% НСП 1% [18:04:16]line > о реализуемом товаре [18:04:16]line ИТОГО: 796.00 [18:04:16]line НСП 1% : 7.05 [18:04:16]line НДС 12% : 84.52 [18:04:16]line Наличными: 796.00 [18:04:16]line Безнал.: 0.00 [18:04:16]line Место: АЗС № 76 "Партнер Нефть" [18:04:16]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [18:04:16]line СНО: Общий режим [18:04:16]line Чек 44 12.07.2024 18:04 [18:04:16]line Смена: 23 ФФД: 1.0 [18:04:16]line ЗНМ: 0300000124 [18:04:16]line РНМ: 0000000000177495 [18:04:16]line Версия ККМ: 001 [18:04:16]line ФМ: 0000000002098592 [18:04:16]line ФД: 1810 [18:04:16]line ФПД: 101796340688020 [18:04:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T180416&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1810&fm=101796340688020&tin=02508201610067®Number=0000000000177495&sum=79600 [18:04:16]line 0 [18:04:16]written 0, free lines is 4095 [18:04:16]OFD Sender: Processing packet 1810 [packets to send 1, broken 0] [18:04:16]ProducePacketName [18:04:16]name=ofd_packets/00001810 [18:04:16]OFD Sender: To server: pG, [18:04:16]CommunicateWithHost lk.salyk.kg:30040 [18:04:16]ConnectInit lk.salyk.kg [18:04:16]Connected sock=9 [18:04:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 01 03 00 00 03 43 F9 02 99 40 5A 03 01 00 03 00 ED 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 CC 29 00 00 00 00 13 04 06 00 CC 29 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 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 36 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 21 00 00 00 00 07 04 06 00 F0 36 01 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 20 70 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 12 07 00 00 35 04 06 00 5C 95 4E B9 E4 94 01 75 0D CE A0 89 DD 67 [18:04:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 C1 4D 47 00 9D B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 12 07 00 00 F4 03 04 00 58 1B 91 66 B6 04 01 00 00 D7 CB 09 45 41 17 F8 6A [18:04:16]CommunicateWithHost err = 0 [18:04:16]CheckOFDResponse [18:04:16]1017 (14) - 77093643461234 [18:04:16]1041 (16) - 0000000002098592 [18:04:16]1040 (4) - 1810 [18:04:16]1012 (4) - 12.07.2024 12:02 [18:04:16]1206 (1) - 0 [18:04:16]OFD Sender: Remove packet 1810 [18:04:16]ProducePacketName [18:04:16]name=ofd_packets/00001810 [18:04:16]NVStorageDeleteData [18:04:17]Write to MH i2c: 01 00 00 43 0A 4D [18:04:17]Write i2c OK [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: 01 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: 01 07 00 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: 01 07 00 43 0A 00 00 00 00 00 93 0B F2 [18:04:17]RasterBufferAndPrint [18:04:17]line [18:04:17]line [18:04:17]line [18:04:17]line [18:04:17]line [18:04:17]written 0, free lines is 2973 [18:04:17]MH_Cut [18:04:17]Write to MH i2c: D1 01 00 4A 0A 01 26 [18:04:17]Write i2c OK [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: D1 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: D1 01 00 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: D1 01 00 4A 0A 00 25 [18:04:17]Write to MH i2c: 01 00 00 4B 0A 55 [18:04:17]Write i2c OK [18:04:17]MH_I2C_Read... [18:04:17]OFD Sender: No OFD packet to send [18:04:17]*** Cut start [18:04:17]*** Partial cut [18:04:17]*** CUTSNS_PIN = 1 [18:04:18]*** CUTSNS_PIN = 0 [18:04:18]*** Brake cut motor [18:04:18]Read from MH i2c: 01 [18:04:18]MH_I2C_Read... [18:04:18]*** Stop cut motor [18:04:18]*** Cut end [18:04:18]Read from MH i2c: 01 07 00 [18:04:18]MH_I2C_Read... [18:04:18]Read from MH i2c: 01 07 00 4B 0A 00 00 00 00 00 FF 0F 6A [18:04:18]process_action close_receipt done [18:04:18]requested_data is exist [18:04:18]produce_requested_data [18:04:18]requested_item fm.sn is exist - process it [18:04:18]wFMCommunicate request_size=4 [18:04:18]MH_SAM_APDU [18:04:18]CAPDU: 80 11 00 00 [18:04:18]Write to MH i2c: E2 08 00 4C 0A 80 11 00 00 00 00 00 00 D0 [18:04:18]Write i2c OK [18:04:18]MH_I2C_Read... [18:04:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:18]Read from MH i2c: E2 [18:04:18]MH_I2C_Read... [18:04:18]Read from MH i2c: E2 17 00 [18:04:18]MH_I2C_Read... [18:04:18]Read from MH i2c: E2 17 00 4C 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 26 [18:04:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [18:04:18]wFMCommunicate OK [18:04:18]requested_item fd.num is exist - process it [18:04:18]SAM_PROTO_GetFieldsCounters [18:04:18]wFMCommunicate request_size=4 [18:04:18]MH_SAM_APDU [18:04:18]CAPDU: 80 13 00 00 [18:04:18]Write to MH i2c: E2 08 00 4D 0A 80 13 00 00 00 00 00 00 D3 [18:04:18]Write i2c OK [18:04:18]MH_I2C_Read... [18:04:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:04:18]Read from MH i2c: E2 [18:04:18]MH_I2C_Read... [18:04:18]Read from MH i2c: E2 62 00 [18:04:18]MH_I2C_Read... [18:04:18]Read from MH i2c: E2 62 00 4D 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 12 07 00 00 0E 04 04 00 17 00 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 B3 [18:04:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 12 07 00 00 0E 04 04 00 17 00 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 [18:04:18]wFMCommunicate OK [18:04:18]SAM_PROTO_GetFieldsCounters done [18:04:18]requested_item shift.num is exist - process it [18:04:18]requested_item shift.opened is exist - process it [18:04:18]req_shift_opened [18:04:18]FM_GetShiftState [18:04:18]SAM_PROTO_GetShiftState [18:04:18]wFMCommunicate request_size=4 [18:04:18]MH_SAM_APDU [18:04:18]CAPDU: 80 13 01 00 [18:04:18]Write to MH i2c: E2 08 00 4E 0A 80 13 01 00 00 00 00 00 D5 [18:04:18]Write i2c OK [18:04:18]MH_I2C_Read... [18:04:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:18]Read from MH i2c: E2 [18:04:18]MH_I2C_Read... [18:04:18]Read from MH i2c: E2 0E 00 [18:04:18]MH_I2C_Read... [18:04:18]Read from MH i2c: E2 0E 00 4E 0A 00 09 00 01 43 74 90 66 00 00 00 00 90 00 8E [18:04:18]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [18:04:18]wFMCommunicate OK [18:04:18]SAM_PROTO_GetShiftState done [18:04:18]FM_GetShiftState done [18:04:18]req_shift_opened done [18:04:18]requested_item shift.open_date is exist - process it [18:04:18]req_shift_open_date [18:04:18]req_shift_open_date done [18:04:18]produce_requested_data done [18:04:18]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1810,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [18:04:18]process_action_free close_receipt [18:04:18]json_value_free [18:04:18]json_value_free done [18:04:18]process_json_proto returns [18:04:18]Send response to host [18:04:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1810,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [18:04:18]free response buf [18:04:18]execute_script done [18:04:18]execute_script returns [18:04:18]free content buf [18:04:18]Sock 10.Close socket [18:04:18]Sock 10.Thread stoped [18:04:22]OFD Sender: No OFD packet to send [18:04:27]OFD Sender: No OFD packet to send [18:04:32]OFD Sender: No OFD packet to send [18:04:37]OFD Sender: No OFD packet to send [18:04:42]OFD Sender: No OFD packet to send [18:04:47]OFD Sender: No OFD packet to send [18:04:52]OFD Sender: No OFD packet to send [18:04:52]accept exits with 8 [18:04:52]New connection [18:04:52]New thread 3067002212 created [18:04:52]Thread 3067145572 joined [18:04:52]Waiting for new connection... [18:04:52] Sock 8.Parse request [18:04:52]Sock 8.Check first char [18:04:52]Sock 8.First char is OK [18:04:52]request: POST /json_proto HTTP/1.0 [18:04:52]Method: POST [18:04:52]URL: /json_proto [18:04:52]Method is POST - this is cgi request [18:04:52]url: /json_proto [18:04:52]query_string will be loaded in cgi processing [18:04:52]execute_cgi json_proto POST (null) [18:04:52]execute_cgi path=json_proto method=POST [18:04:52]POST find Content-Length [18:04:52]Host: 172.17.35.133:8080 [18:04:52]Content-Length: 912 [18:04:52]Content-Type: application/json [18:04:52] [18:04:52]POST finish read [18:04:52]Found Content-Length = 912 [18:04:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256276", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.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" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:52]execute_script... [18:04:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256276", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.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" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:52]POST & json_proto [18:04:52]process_json_proto [18:04:52]json parsed OK: [18:04:52]protocol is kg_v1.0 [18:04:52]action value=close_receipt [18:04:52]process_action close_receipt [18:04:52]cmd_close_receipt [18:04:52]MH_GetDate [18:04:52]Write to MH i2c: F0 00 00 4F 0A 48 [18:04:52]Write i2c OK [18:04:52]MH_I2C_Read... [18:04:52]Read from MH i2c: F0 [18:04:52]MH_I2C_Read... [18:04:52]Read from MH i2c: F0 09 00 [18:04:52]MH_I2C_Read... [18:04:52]Read from MH i2c: F0 09 00 4F 0A 00 46 70 91 66 1B 28 2A 66 D1 [18:04:52]GetLastDocTimeStamp 1720807456 [18:04:52]current date 1720807494 [18:04:52]FM_GetShiftState [18:04:52]SAM_PROTO_GetShiftState [18:04:52]wFMCommunicate request_size=4 [18:04:52]MH_SAM_APDU [18:04:52]CAPDU: 80 13 01 00 [18:04:52]Write to MH i2c: E2 08 00 50 0A 80 13 01 00 00 00 00 00 D7 [18:04:52]Write i2c OK [18:04:52]MH_I2C_Read... [18:04:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:52]Read from MH i2c: E2 [18:04:52]MH_I2C_Read... [18:04:52]Read from MH i2c: E2 0E 00 [18:04:52]MH_I2C_Read... [18:04:52]Read from MH i2c: E2 0E 00 50 0A 00 09 00 01 43 74 90 66 00 00 00 00 90 00 90 [18:04:52]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [18:04:52]wFMCommunicate OK [18:04:52]SAM_PROTO_GetShiftState done [18:04:52]FM_GetShiftState done [18:04:52]opened in 1720742979 [18:04:52]opened+sec_in_day 1720829379 [18:04:52]quantity*price = 8400 [18:04:52]sum+1 = 8401 [18:04:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 0.00 Безнал.: 84.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 45 12.07.2024 18:04 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000002098592 ФД: 1811 ФПД: 242882330624578 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T180454&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1811&fm=242882330624578&tin=02508201610067®Number=0000000000177495&sum=8400 0 [18:04:53]StoreToDocumentArchive [18:04:53]shift 23 fd 1811 [18:04:53]save to /storage/0023/doc_00001811 [18:04:53]save last doc name /storage/0023/doc_00001811 to /storage/kkm_last_doc_name [18:04:53]save OK [18:04:53]Clear old archive folders... [18:04:53]ProcessDocumentItem done err = 0, tmpTLVsize=302 [18:04:53]tlvbuf is 01064D20 [18:04:53]SAM_PROTO_ClearQueue [18:04:53]wFMCommunicate request_size=4 [18:04:53]MH_SAM_APDU [18:04:53]CAPDU: 80 09 00 00 [18:04:53]Write to MH i2c: E2 08 00 5D 0A 80 09 00 00 00 00 00 00 D9 [18:04:53]Write i2c OK [18:04:53]MH_I2C_Read... [18:04:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:04:53]Read from MH i2c: E2 [18:04:53]MH_I2C_Read... [18:04:53]Read from MH i2c: E2 03 00 [18:04:53]MH_I2C_Read... [18:04:53]Read from MH i2c: E2 03 00 5D 0A 00 90 00 DB [18:04:53]RAPDU: 90 00 [18:04:53]wFMCommunicate OK [18:04:53]SAM_PROTO_ClearQueue done [18:04:53]KKMCreateOFDPacket [18:04:53]OFDProtocolAddRootSTLVToBuf [18:04:53]FM_MakeSignedData [18:04:53]FM_MakeSignedData [18:04:53]SAM_PROTO_SignData [18:04:53]wFMCommunicate request_size=4 [18:04:53]MH_SAM_APDU [18:04:53]CAPDU: 80 0D 01 02 [18:04:53]Write to MH i2c: E2 08 00 5E 0A 80 0D 01 02 00 00 00 00 E1 [18:04:53]Write i2c OK [18:04:53]MH_I2C_Read... [18:04:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:04:53]Read from MH i2c: E2 [18:04:53]MH_I2C_Read... [18:04:53]Read from MH i2c: E2 03 00 [18:04:53]MH_I2C_Read... [18:04:53]Read from MH i2c: E2 03 00 5E 0A 00 90 00 DC [18:04:53]RAPDU: 90 00 [18:04:53]wFMCommunicate OK [18:04:53]wFMCommunicate request_size=255 [18:04:53]MH_SAM_APDU [18:04:53]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 20 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 46 70 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 [18:04:53]Write to MH i2c: E2 02 01 5F 0A 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 20 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 46 70 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 00 00 70 [18:04:53]Write i2c OK [18:04:53]MH_I2C_Read... [18:04:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:54]Read from MH i2c: E2 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 03 00 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 03 00 5F 0A 00 90 00 DD [18:04:54]RAPDU: 90 00 [18:04:54]wFMCommunicate OK [18:04:54]wFMCommunicate request_size=61 [18:04:54]MH_SAM_APDU [18:04:54]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 13 07 00 00 35 04 06 00 DC E6 73 0A 02 42 [18:04:54]Write to MH i2c: E2 40 00 60 0A 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 13 07 00 00 35 04 06 00 DC E6 73 0A 02 42 00 00 C1 [18:04:54]Write i2c OK [18:04:54]MH_I2C_Read... [18:04:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:54]Read from MH i2c: E2 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 03 00 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 03 00 60 0A 00 90 00 DE [18:04:54]RAPDU: 90 00 [18:04:54]wFMCommunicate OK [18:04:54]wFMCommunicate request_size=4 [18:04:54]MH_SAM_APDU [18:04:54]CAPDU: 80 0D 03 02 [18:04:54]Write to MH i2c: E2 08 00 61 0A 80 0D 03 02 00 00 00 00 E6 [18:04:54]Write i2c OK [18:04:54]MH_I2C_Read... [18:04:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:04:54]Read from MH i2c: E2 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 0B 00 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 0B 00 61 0A 00 DB 8A 44 3A 6C 06 11 8F 90 00 DC [18:04:54]RAPDU: DB 8A 44 3A 6C 06 11 8F 90 00 [18:04:54]wFMCommunicate OK [18:04:54]SAM_PROTO_SignData done [18:04:54]FM_MakeSignedData done [18:04:54]CreateOFDProtocolMessage [18:04:54]wFMCommunicate request_size=4 [18:04:54]MH_SAM_APDU [18:04:54]CAPDU: 80 11 00 00 [18:04:54]Write to MH i2c: E2 08 00 62 0A 80 11 00 00 00 00 00 00 E6 [18:04:54]Write i2c OK [18:04:54]MH_I2C_Read... [18:04:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:54]Read from MH i2c: E2 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 17 00 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 17 00 62 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 3C [18:04:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [18:04:54]wFMCommunicate OK [18:04:54]CreateOFDProtocolMessage done [18:04:54]OFDSenderStorePacket 1811 [18:04:54]StoreOFDPacket docnum=1811 [18:04:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 42 01 00 00 67 0C 3A 01 15 34 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 20 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 46 70 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 13 07 00 00 35 04 06 00 DC E6 73 0A 02 42 DB 8A 44 3A 6C 06 11 8F [18:04:54]CheckFolder [18:04:54]dirname=/storage/ofd_packets [18:04:54]CheckFolder done [18:04:54]ProducePacketName [18:04:54]name=ofd_packets/00001811 [18:04:54]NVStorageSaveData ofd_packets/00001811 [18:04:54]File name is /storage/ofd_packets/00001811 [18:04:54]Write 352 bytes [18:04:54]NVStorageSaveData done [18:04:54]OFDSenderStorePacket done [18:04:54]KKMCreateOFDPacket done [18:04:54]NVStorageSaveData kkm_last_timestamp [18:04:54]File name is /storage/kkm_last_timestamp [18:04:54]Write 4 bytes [18:04:54]NVStorageSaveData done [18:04:54]ExternCall_PrintAddStr [18:04:54]wPrintStart [18:04:54]Write to MH i2c: 01 00 00 63 0A 6D [18:04:54]Write i2c OK [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: 01 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: 01 07 00 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: 01 07 00 63 0A 00 00 00 00 00 FF 0F 82 [18:04:54]RasterBufferAndPrint [18:04:54]line Счет N : (3)256276 [18:04:54]line ИНН: 02508201610067 [18:04:54]line Контрольно-Кассовый Чек [18:04:54]line ПРОДАЖА [18:04:54]line Товар: 4870001571030 [18:04:54]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [18:04:54]line 1.000 * 84.00 [18:04:54]line = 84.00 [18:04:54]line НДС 12% НСП 1% [18:04:54]line > о реализуемом товаре [18:04:54]line ИТОГО: 84.00 [18:04:54]line НСП 1% : 0.74 [18:04:54]line НДС 12% : 8.92 [18:04:54]line Наличными: 0.00 [18:04:54]line Безнал.: 84.00 [18:04:54]line Место: АЗС № 76 "Партнер Нефть" [18:04:54]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [18:04:54]line СНО: Общий режим [18:04:54]line Чек 45 12.07.2024 18:04 [18:04:54]line Смена: 23 ФФД: 1.0 [18:04:54]line ЗНМ: 0300000124 [18:04:54]line РНМ: 0000000000177495 [18:04:54]line Версия ККМ: 001 [18:04:54]line Платежная система: АКБ Кыргызстан [18:04:54]line ФМ: 0000000002098592 [18:04:54]line ФД: 1811 [18:04:54]line ФПД: 242882330624578 [18:04:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T180454&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1811&fm=242882330624578&tin=02508201610067®Number=0000000000177495&sum=8400 [18:04:54]line 0 [18:04:54]OFD Sender: Processing packet 1811 [packets to send 1, broken 0] [18:04:54]ProducePacketName [18:04:54]name=ofd_packets/00001811 [18:04:54]OFD Sender: To server: pG, [18:04:54]CommunicateWithHost lk.salyk.kg:30040 [18:04:54]ConnectInit lk.salyk.kg [18:04:54]written 0, free lines is 4095 [18:04:54]Connected sock=10 [18:04:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 42 01 00 00 67 0C 3A 01 15 34 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 20 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 46 70 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 13 07 00 00 35 04 06 00 DC E6 73 0A 02 42 DB 8A 44 3A 6C 06 11 8F [18:04:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 F5 B5 47 00 E7 A2 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 32 30 39 38 35 39 32 10 04 04 00 13 07 00 00 F4 03 04 00 7E 1B 91 66 B6 04 01 00 00 B3 82 F2 3C 94 6E 09 13 [18:04:54]CommunicateWithHost err = 0 [18:04:54]CheckOFDResponse [18:04:54]1017 (14) - 77093643461234 [18:04:54]1041 (16) - 0000000002098592 [18:04:54]1040 (4) - 1811 [18:04:54]1012 (4) - 12.07.2024 12:03 [18:04:54]1206 (1) - 0 [18:04:54]OFD Sender: Remove packet 1811 [18:04:54]ProducePacketName [18:04:54]name=ofd_packets/00001811 [18:04:54]NVStorageDeleteData [18:04:54]Write to MH i2c: 01 00 00 8E 0A 98 [18:04:54]Write i2c OK [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: 01 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: 01 07 00 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: 01 07 00 8E 0A 00 00 00 00 00 E8 0C 93 [18:04:54]RasterBufferAndPrint [18:04:54]line [18:04:54]line [18:04:54]line [18:04:54]line [18:04:54]line [18:04:54]written 0, free lines is 3311 [18:04:55]MH_Cut [18:04:55]Write to MH i2c: D1 01 00 95 0A 01 71 [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: D1 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: D1 01 00 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: D1 01 00 95 0A 00 70 [18:04:55]Write to MH i2c: 01 00 00 96 0A A0 [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]OFD Sender: No OFD packet to send [18:04:55]*** Cut start [18:04:55]*** Partial cut [18:04:55]*** CUTSNS_PIN = 1 [18:04:55]*** CUTSNS_PIN = 0 [18:04:56]*** Brake cut motor [18:04:56]Read from MH i2c: 01 [18:04:56]MH_I2C_Read... [18:04:56]*** Stop cut motor [18:04:56]*** Cut end [18:04:56]Read from MH i2c: 01 07 00 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: 01 07 00 96 0A 00 00 00 00 00 FF 0F B5 [18:04:56]process_action close_receipt done [18:04:56]requested_data is exist [18:04:56]produce_requested_data [18:04:56]requested_item fm.sn is exist - process it [18:04:56]wFMCommunicate request_size=4 [18:04:56]MH_SAM_APDU [18:04:56]CAPDU: 80 11 00 00 [18:04:56]Write to MH i2c: E2 08 00 97 0A 80 11 00 00 00 00 00 00 1B [18:04:56]Write i2c OK [18:04:56]MH_I2C_Read... [18:04:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:56]Read from MH i2c: E2 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: E2 17 00 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: E2 17 00 97 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 71 [18:04:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [18:04:56]wFMCommunicate OK [18:04:56]requested_item fd.num is exist - process it [18:04:56]SAM_PROTO_GetFieldsCounters [18:04:56]wFMCommunicate request_size=4 [18:04:56]MH_SAM_APDU [18:04:56]CAPDU: 80 13 00 00 [18:04:56]Write to MH i2c: E2 08 00 98 0A 80 13 00 00 00 00 00 00 1E [18:04:56]Write i2c OK [18:04:56]MH_I2C_Read... [18:04:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:04:56]Read from MH i2c: E2 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: E2 62 00 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: E2 62 00 98 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 13 07 00 00 0E 04 04 00 17 00 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 02 [18:04:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 13 07 00 00 0E 04 04 00 17 00 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 [18:04:56]wFMCommunicate OK [18:04:56]SAM_PROTO_GetFieldsCounters done [18:04:56]requested_item shift.num is exist - process it [18:04:56]requested_item shift.opened is exist - process it [18:04:56]req_shift_opened [18:04:56]FM_GetShiftState [18:04:56]SAM_PROTO_GetShiftState [18:04:56]wFMCommunicate request_size=4 [18:04:56]MH_SAM_APDU [18:04:56]CAPDU: 80 13 01 00 [18:04:56]Write to MH i2c: E2 08 00 99 0A 80 13 01 00 00 00 00 00 20 [18:04:56]Write i2c OK [18:04:56]MH_I2C_Read... [18:04:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:56]Read from MH i2c: E2 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: E2 0E 00 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: E2 0E 00 99 0A 00 09 00 01 43 74 90 66 00 00 00 00 90 00 D9 [18:04:56]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [18:04:56]wFMCommunicate OK [18:04:56]SAM_PROTO_GetShiftState done [18:04:56]FM_GetShiftState done [18:04:56]req_shift_opened done [18:04:56]requested_item shift.open_date is exist - process it [18:04:56]req_shift_open_date [18:04:56]req_shift_open_date done [18:04:56]produce_requested_data done [18:04:56]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1811,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [18:04:56]process_action_free close_receipt [18:04:56]json_value_free [18:04:56]json_value_free done [18:04:56]process_json_proto returns [18:04:56]Send response to host [18:04:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1811,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [18:04:56]free response buf [18:04:56]execute_script done [18:04:56]execute_script returns [18:04:56]free content buf [18:04:56]Sock 8.Close socket [18:04:56]Sock 8.Thread stoped [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:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:25]OFD Sender: No OFD packet to send [18:11:30]OFD Sender: No OFD packet to send [18:11:35]OFD Sender: No OFD packet to send [18:11:40]OFD Sender: No OFD packet to send [18:11:45]OFD Sender: No OFD packet to send [18:11:50]OFD Sender: No OFD packet to send [18:11:55]OFD Sender: No OFD packet to send [18:12:00]OFD Sender: No OFD packet to send [18:12:05]OFD Sender: No OFD packet to send [18:12:10]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:50]OFD Sender: No OFD packet to send [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:30]OFD Sender: No OFD packet to send [18:13:35]OFD Sender: No OFD packet to send [18:13:40]OFD Sender: No OFD packet to send [18:13:45]OFD Sender: No OFD packet to send [18:13:50]OFD Sender: No OFD packet to send [18:13:55]OFD Sender: No OFD packet to send [18:14:00]OFD Sender: No OFD packet to send [18:14:05]OFD Sender: No OFD packet to send [18:14:10]OFD Sender: No OFD packet to send [18:14:15]OFD Sender: No OFD packet to send [18:14:20]OFD Sender: No OFD packet to send [18:14:25]OFD Sender: No OFD packet to send [18:14:30]OFD Sender: No OFD packet to send [18:14:35]OFD Sender: No OFD packet to send [18:14:40]OFD Sender: No OFD packet to send [18:14:45]OFD Sender: No OFD packet to send [18:14:50]OFD Sender: No OFD packet to send [18:14:55]OFD Sender: No OFD packet to send [18:15:00]OFD Sender: No OFD packet to send [18:15:05]OFD Sender: No OFD packet to send [18:15:10]OFD Sender: No OFD packet to send [18:15:15]OFD Sender: No OFD packet to send [18:15:20]OFD Sender: No OFD packet to send [18:15:25]OFD Sender: No OFD packet to send [18:15:30]OFD Sender: No OFD packet to send [18:15:35]OFD Sender: No OFD packet to send [18:15:40]OFD Sender: No OFD packet to send [18:15:45]OFD Sender: No OFD packet to send [18:15:50]OFD Sender: No OFD packet to send [18:15:55]OFD Sender: No OFD packet to send [18:16:00]OFD Sender: No OFD packet to send [18:16:05]OFD Sender: No OFD packet to send [18:16:10]OFD Sender: No OFD packet to send [18:16:15]OFD Sender: No OFD packet to send [18:16:20]OFD Sender: No OFD packet to send [18:16:25]OFD Sender: No OFD packet to send [18:16:30]OFD Sender: No OFD packet to send [18:16:35]OFD Sender: No OFD packet to send [18:16:40]OFD Sender: No OFD packet to send [18:16:45]OFD Sender: No OFD packet to send [18:16:50]OFD Sender: No OFD packet to send [18:16:55]OFD Sender: No OFD packet to send [18:17:00]OFD Sender: No OFD packet to send [18:17:05]OFD Sender: No OFD packet to send [18:17:10]OFD Sender: No OFD packet to send [18:17:15]OFD Sender: No OFD packet to send [18:17:20]OFD Sender: No OFD packet to send [18:17:25]OFD Sender: No OFD packet to send [18:17:30]OFD Sender: No OFD packet to send [18:17:35]OFD Sender: No OFD packet to send [18:17:40]OFD Sender: No OFD packet to send [18:17:45]OFD Sender: No OFD packet to send [18:17:50]OFD Sender: No OFD packet to send [18:17:55]OFD Sender: No OFD packet to send [18:18:00]OFD Sender: No OFD packet to send [18:18:05]OFD Sender: No OFD packet to send [18:18:10]OFD Sender: No OFD packet to send [18:18:15]OFD Sender: No OFD packet to send [18:18:20]OFD Sender: No OFD packet to send [18:18:25]OFD Sender: No OFD packet to send [18:18:30]OFD Sender: No OFD packet to send [18:18:35]OFD Sender: No OFD packet to send [18:18:40]OFD Sender: No OFD packet to send [18:18:45]OFD Sender: No OFD packet to send [18:18:50]OFD Sender: No OFD packet to send [18:18:55]OFD Sender: No OFD packet to send [18:19:00]OFD Sender: No OFD packet to send [18:19:05]OFD Sender: No OFD packet to send [18:19:10]OFD Sender: No OFD packet to send [18:19:15]OFD Sender: No OFD packet to send [18:19:20]OFD Sender: No OFD packet to send [18:19:25]OFD Sender: No OFD packet to send [18:19:30]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:31]OFD Sender: No OFD packet to send [18:20:36]OFD Sender: No OFD packet to send [18:20:41]OFD Sender: No OFD packet to send [18:20:46]OFD Sender: No OFD packet to send [18:20:51]OFD Sender: No OFD packet to send [18:20:56]OFD Sender: No OFD packet to send [18:21:01]OFD Sender: No OFD packet to send [18:21:06]OFD Sender: No OFD packet to send [18:21:11]OFD Sender: No OFD packet to send [18:21:16]OFD Sender: No OFD packet to send [18:21:21]OFD Sender: No OFD packet to send [18:21:26]OFD Sender: No OFD packet to send [18:21:31]OFD Sender: No OFD packet to send [18:21:36]OFD Sender: No OFD packet to send [18:21:41]OFD Sender: No OFD packet to send [18:21:46]OFD Sender: No OFD packet to send [18:21:51]OFD Sender: No OFD packet to send [18:21:56]OFD Sender: No OFD packet to send [18:22:01]OFD Sender: No OFD packet to send [18:22:06]OFD Sender: No OFD packet to send [18:22:11]OFD Sender: No OFD packet to send [18:22:16]OFD Sender: No OFD packet to send [18:22:21]OFD Sender: No OFD packet to send [18:22:26]OFD Sender: No OFD packet to send [18:22:31]OFD Sender: No OFD packet to send [18:22:36]OFD Sender: No OFD packet to send [18:22:41]OFD Sender: No OFD packet to send [18:22:46]OFD Sender: No OFD packet to send [18:22:51]OFD Sender: No OFD packet to send [18:22:56]OFD Sender: No OFD packet to send [18:23:01]OFD Sender: No OFD packet to send [18:23:06]OFD Sender: No OFD packet to send [18:23:11]OFD Sender: No OFD packet to send [18:23:16]OFD Sender: No OFD packet to send [18:23:21]OFD Sender: No OFD packet to send [18:23:26]OFD Sender: No OFD packet to send [18:23:31]OFD Sender: No OFD packet to send [18:23:36]OFD Sender: No OFD packet to send [18:23:41]OFD Sender: No OFD packet to send [18:23:46]OFD Sender: No OFD packet to send [18:23:51]OFD Sender: No OFD packet to send [18:23:56]OFD Sender: No OFD packet to send [18:24:01]OFD Sender: No OFD packet to send [18:24:06]OFD Sender: No OFD packet to send [18:24:11]OFD Sender: No OFD packet to send [18:24:16]OFD Sender: No OFD packet to send [18:24:21]OFD Sender: No OFD packet to send [18:24:26]OFD Sender: No OFD packet to send [18:24:31]OFD Sender: No OFD packet to send [18:24:36]OFD Sender: No OFD packet to send [18:24:41]OFD Sender: No OFD packet to send [18:24:46]OFD Sender: No OFD packet to send [18:24:51]OFD Sender: No OFD packet to send [18:24:56]OFD Sender: No OFD packet to send [18:25:01]OFD Sender: No OFD packet to send [18:25:06]OFD Sender: No OFD packet to send [18:25:11]OFD Sender: No OFD packet to send [18:25:16]OFD Sender: No OFD packet to send [18:25:21]OFD Sender: No OFD packet to send [18:25:26]OFD Sender: No OFD packet to send [18:25:31]OFD Sender: No OFD packet to send [18:25:36]OFD Sender: No OFD packet to send [18:25:41]OFD Sender: No OFD packet to send [18:25:46]OFD Sender: No OFD packet to send [18:25:51]OFD Sender: No OFD packet to send [18:25:56]OFD Sender: No OFD packet to send [18:26:01]OFD Sender: No OFD packet to send [18:26:06]OFD Sender: No OFD packet to send [18:26:11]OFD Sender: No OFD packet to send [18:26:16]OFD Sender: No OFD packet to send [18:26:21]OFD Sender: No OFD packet to send [18:26:26]OFD Sender: No OFD packet to send [18:26:31]OFD Sender: No OFD packet to send [18:26:36]OFD Sender: No OFD packet to send [18:26:41]OFD Sender: No OFD packet to send [18:26:46]OFD Sender: No OFD packet to send [18:26:51]OFD Sender: No OFD packet to send [18:26:56]OFD Sender: No OFD packet to send [18:27:01]OFD Sender: No OFD packet to send [18:27:06]OFD Sender: No OFD packet to send [18:27:11]OFD Sender: No OFD packet to send [18:27:16]OFD Sender: No OFD packet to send [18:27:21]OFD Sender: No OFD packet to send [18:27:26]OFD Sender: No OFD packet to send [18:27:31]OFD Sender: No OFD packet to send [18:27:36]OFD Sender: No OFD packet to send [18:27:41]OFD Sender: No OFD packet to send [18:27:46]OFD Sender: No OFD packet to send [18:27:51]OFD Sender: No OFD packet to send [18:27:56]OFD Sender: No OFD packet to send [18:28:01]OFD Sender: No OFD packet to send [18:28:06]OFD Sender: No OFD packet to send [18:28:11]OFD Sender: No OFD packet to send [18:28:16]OFD Sender: No OFD packet to send [18:28:21]OFD Sender: No OFD packet to send [18:28:26]OFD Sender: No OFD packet to send [18:28:31]OFD Sender: No OFD packet to send [18:28:36]OFD Sender: No OFD packet to send [18:28:41]OFD Sender: No OFD packet to send [18:28:46]OFD Sender: No OFD packet to send [18:28:51]OFD Sender: No OFD packet to send [18:28:51]accept exits with 9 [18:28:51]New connection [18:28:51]New thread 3067145572 created [18:28:51]Thread 3067002212 joined [18:28:51]Waiting for new connection... [18:28:51] Sock 9.Parse request [18:28:51]Sock 9.Check first char [18:28:51]Sock 9.First char is OK [18:28:51]request: POST /json_proto HTTP/1.0 [18:28:51]Method: POST [18:28:51]URL: /json_proto [18:28:51]Method is POST - this is cgi request [18:28:51]url: /json_proto [18:28:51]query_string will be loaded in cgi processing [18:28:51]execute_cgi json_proto POST (null) [18:28:51]execute_cgi path=json_proto method=POST [18:28:51]POST find Content-Length [18:28:51]Host: 172.17.35.133:8080 [18:28:51]Content-Length: 670 [18:28:51]Content-Type: application/json [18:28:51] [18:28:51]POST finish read [18:28:51]Found Content-Length = 670 [18:28:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256277", "tax_sys" : 0, "items" : [ { "code": "4870209744502", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0421\u044B\u0440 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" ] } } [18:28:51]execute_script... [18:28:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256277", "tax_sys" : 0, "items" : [ { "code": "4870209744502", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0421\u044B\u0440 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" ] } } [18:28:51]POST & json_proto [18:28:51]process_json_proto [18:28:51]json parsed OK: [18:28:51]protocol is kg_v1.0 [18:28:51]action value=close_receipt [18:28:51]process_action close_receipt [18:28:51]cmd_close_receipt [18:28:51]MH_GetDate [18:28:51]Write to MH i2c: F0 00 00 9A 0A 93 [18:28:51]Write i2c OK [18:28:51]MH_I2C_Read... [18:28:51]Read from MH i2c: F0 [18:28:51]MH_I2C_Read... [18:28:51]Read from MH i2c: F0 09 00 [18:28:51]MH_I2C_Read... [18:28:51]Read from MH i2c: F0 09 00 9A 0A 00 E6 75 91 66 1B 28 2A 66 C1 [18:28:51]GetLastDocTimeStamp 1720807494 [18:28:51]current date 1720808934 [18:28:51]FM_GetShiftState [18:28:51]SAM_PROTO_GetShiftState [18:28:51]wFMCommunicate request_size=4 [18:28:51]MH_SAM_APDU [18:28:51]CAPDU: 80 13 01 00 [18:28:51]Write to MH i2c: E2 08 00 9B 0A 80 13 01 00 00 00 00 00 22 [18:28:51]Write i2c OK [18:28:51]MH_I2C_Read... [18:28:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:28:51]Read from MH i2c: E2 [18:28:51]MH_I2C_Read... [18:28:51]Read from MH i2c: E2 0E 00 [18:28:51]MH_I2C_Read... [18:28:51]Read from MH i2c: E2 0E 00 9B 0A 00 09 00 01 43 74 90 66 00 00 00 00 90 00 DB [18:28:51]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [18:28:51]wFMCommunicate OK [18:28:51]SAM_PROTO_GetShiftState done [18:28:51]FM_GetShiftState done [18:28:51]opened in 1720742979 [18:28:51]opened+sec_in_day 1720829379 [18:28:51]quantity*price = 6000 [18:28:51]sum+1 = 6001 [18:28:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 46 12.07.2024 18:28 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1812 ФПД: 194629973430225 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T182854&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1812&fm=194629973430225&tin=02508201610067®Number=0000000000177495&sum=6000 0 [18:28:52]StoreToDocumentArchive [18:28:52]shift 23 fd 1812 [18:28:52]save to /storage/0023/doc_00001812 [18:28:52]save last doc name /storage/0023/doc_00001812 to /storage/kkm_last_doc_name [18:28:52]save OK [18:28:52]Clear old archive folders... [18:28:52]ProcessDocumentItem done err = 0, tmpTLVsize=285 [18:28:52]tlvbuf is 010767A0 [18:28:52]SAM_PROTO_ClearQueue [18:28:52]wFMCommunicate request_size=4 [18:28:52]MH_SAM_APDU [18:28:52]CAPDU: 80 09 00 00 [18:28:52]Write to MH i2c: E2 08 00 A8 0A 80 09 00 00 00 00 00 00 24 [18:28:52]Write i2c OK [18:28:52]MH_I2C_Read... [18:28:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:28:52]Read from MH i2c: E2 [18:28:52]MH_I2C_Read... [18:28:52]Read from MH i2c: E2 03 00 [18:28:52]MH_I2C_Read... [18:28:52]Read from MH i2c: E2 03 00 A8 0A 00 90 00 26 [18:28:52]RAPDU: 90 00 [18:28:52]wFMCommunicate OK [18:28:52]SAM_PROTO_ClearQueue done [18:28:52]KKMCreateOFDPacket [18:28:52]OFDProtocolAddRootSTLVToBuf [18:28:52]FM_MakeSignedData [18:28:52]FM_MakeSignedData [18:28:52]SAM_PROTO_SignData [18:28:52]wFMCommunicate request_size=4 [18:28:52]MH_SAM_APDU [18:28:52]CAPDU: 80 0D 01 02 [18:28:52]Write to MH i2c: E2 08 00 A9 0A 80 0D 01 02 00 00 00 00 2C [18:28:52]Write i2c OK [18:28:52]MH_I2C_Read... [18:28:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:28:52]Read from MH i2c: E2 [18:28:52]MH_I2C_Read... [18:28:52]Read from MH i2c: E2 03 00 [18:28:52]MH_I2C_Read... [18:28:52]Read from MH i2c: E2 03 00 A9 0A 00 90 00 27 [18:28:52]RAPDU: 90 00 [18:28:52]wFMCommunicate OK [18:28:52]wFMCommunicate request_size=255 [18:28:52]MH_SAM_APDU [18:28:52]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 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 A1 D1 8B D1 80 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 2E 00 00 00 F4 03 04 00 E6 75 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 [18:28:52]Write to MH i2c: E2 02 01 AA 0A 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 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 A1 D1 8B D1 80 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 2E 00 00 00 F4 03 04 00 E6 75 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 00 00 4C [18:28:52]Write i2c OK [18:28:52]MH_I2C_Read... [18:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:28:53]Read from MH i2c: E2 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: E2 03 00 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: E2 03 00 AA 0A 00 90 00 28 [18:28:53]RAPDU: 90 00 [18:28:53]wFMCommunicate OK [18:28:53]wFMCommunicate request_size=44 [18:28:53]MH_SAM_APDU [18:28:53]CAPDU: 80 0D 02 02 27 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 14 07 00 00 35 04 06 00 B1 03 D2 6D CF D1 [18:28:53]Write to MH i2c: E2 2F 00 AB 0A 80 0D 02 02 27 00 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 14 07 00 00 35 04 06 00 B1 03 D2 6D CF D1 00 00 FF [18:28:53]Write i2c OK [18:28:53]MH_I2C_Read... [18:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:28:53]Read from MH i2c: E2 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: E2 03 00 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: E2 03 00 AB 0A 00 90 00 29 [18:28:53]RAPDU: 90 00 [18:28:53]wFMCommunicate OK [18:28:53]wFMCommunicate request_size=4 [18:28:53]MH_SAM_APDU [18:28:53]CAPDU: 80 0D 03 02 [18:28:53]Write to MH i2c: E2 08 00 AC 0A 80 0D 03 02 00 00 00 00 31 [18:28:53]Write i2c OK [18:28:53]MH_I2C_Read... [18:28:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:28:53]Read from MH i2c: E2 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: E2 0B 00 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: E2 0B 00 AC 0A 00 F5 8B 9A B5 F9 BC CB F7 90 00 78 [18:28:53]RAPDU: F5 8B 9A B5 F9 BC CB F7 90 00 [18:28:53]wFMCommunicate OK [18:28:53]SAM_PROTO_SignData done [18:28:53]FM_MakeSignedData done [18:28:53]CreateOFDProtocolMessage [18:28:53]wFMCommunicate request_size=4 [18:28:53]MH_SAM_APDU [18:28:53]CAPDU: 80 11 00 00 [18:28:53]Write to MH i2c: E2 08 00 AD 0A 80 11 00 00 00 00 00 00 31 [18:28:53]Write i2c OK [18:28:53]MH_I2C_Read... [18:28:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:28:53]Read from MH i2c: E2 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: E2 17 00 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: E2 17 00 AD 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 87 [18:28:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [18:28:53]wFMCommunicate OK [18:28:53]CreateOFDProtocolMessage done [18:28:53]OFDSenderStorePacket 1812 [18:28:53]StoreOFDPacket docnum=1812 [18:28:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 31 01 00 00 79 A4 29 01 5C 9F 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 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 A1 D1 8B D1 80 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 2E 00 00 00 F4 03 04 00 E6 75 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 14 07 00 00 35 04 06 00 B1 03 D2 6D CF D1 F5 8B 9A B5 F9 BC CB F7 [18:28:53]CheckFolder [18:28:53]dirname=/storage/ofd_packets [18:28:53]CheckFolder done [18:28:53]ProducePacketName [18:28:53]name=ofd_packets/00001812 [18:28:53]NVStorageSaveData ofd_packets/00001812 [18:28:53]File name is /storage/ofd_packets/00001812 [18:28:53]Write 335 bytes [18:28:53]NVStorageSaveData done [18:28:53]OFDSenderStorePacket done [18:28:53]KKMCreateOFDPacket done [18:28:53]NVStorageSaveData kkm_last_timestamp [18:28:53]File name is /storage/kkm_last_timestamp [18:28:53]Write 4 bytes [18:28:53]NVStorageSaveData done [18:28:53]ExternCall_PrintAddStr [18:28:53]wPrintStart [18:28:53]Write to MH i2c: 01 00 00 AE 0A B8 [18:28:53]Write i2c OK [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: 01 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: 01 07 00 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: 01 07 00 AE 0A 00 00 00 00 00 FF 0F CD [18:28:53]RasterBufferAndPrint [18:28:53]line Счет N : (3)256277 [18:28:53]line ИНН: 02508201610067 [18:28:53]line Контрольно-Кассовый Чек [18:28:53]line ПРОДАЖА [18:28:53]line Товар: 4870209744502 [18:28:53]line Сухарики Флинт Сыр 100 гр [18:28:53]line 1.000 * 60.00 [18:28:53]line = 60.00 [18:28:53]line НДС 12% НСП 1% [18:28:53]line > о реализуемом товаре [18:28:53]line ИТОГО: 60.00 [18:28:53]line НСП 1% : 0.53 [18:28:53]line НДС 12% : 6.37 [18:28:53]line Наличными: 60.00 [18:28:53]line Безнал.: 0.00 [18:28:53]line Место: АЗС № 76 "Партнер Нефть" [18:28:53]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [18:28:53]line СНО: Общий режим [18:28:53]line Чек 46 12.07.2024 18:28 [18:28:53]line Смена: 23 ФФД: 1.0 [18:28:53]line ЗНМ: 0300000124 [18:28:53]line РНМ: 0000000000177495 [18:28:53]line Версия ККМ: 001 [18:28:53]line ФМ: 0000000002098592 [18:28:53]line ФД: 1812 [18:28:53]line ФПД: 194629973430225 [18:28:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T182854&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1812&fm=194629973430225&tin=02508201610067®Number=0000000000177495&sum=6000 [18:28:53]line 0 [18:28:53]OFD Sender: Processing packet 1812 [packets to send 1, broken 0] [18:28:53]ProducePacketName [18:28:53]name=ofd_packets/00001812 [18:28:53]OFD Sender: To server: pG, [18:28:53]CommunicateWithHost lk.salyk.kg:30040 [18:28:53]ConnectInit lk.salyk.kg [18:28:53]written 0, free lines is 4095 [18:28:53]Connected sock=10 [18:28:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 31 01 00 00 79 A4 29 01 5C 9F 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 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 A1 D1 8B D1 80 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 2E 00 00 00 F4 03 04 00 E6 75 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 14 07 00 00 35 04 06 00 B1 03 D2 6D CF D1 F5 8B 9A B5 F9 BC CB F7 [18:28:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 02 CC 47 00 31 34 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 32 30 39 38 35 39 32 10 04 04 00 14 07 00 00 F4 03 04 00 1E 21 91 66 B6 04 01 00 00 2D E2 36 0B 13 80 50 82 [18:28:53]CommunicateWithHost err = 0 [18:28:53]CheckOFDResponse [18:28:53]1017 (14) - 77093643461234 [18:28:53]1041 (16) - 0000000002098592 [18:28:53]1040 (4) - 1812 [18:28:53]1012 (4) - 12.07.2024 12:27 [18:28:53]1206 (1) - 0 [18:28:53]OFD Sender: Remove packet 1812 [18:28:53]ProducePacketName [18:28:53]name=ofd_packets/00001812 [18:28:53]NVStorageDeleteData [18:28:53]Write to MH i2c: 01 00 00 D6 0A E0 [18:28:53]Write i2c OK [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: 01 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: 01 07 00 [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: 01 07 00 D6 0A 00 00 00 00 00 0F 0D 03 [18:28:53]RasterBufferAndPrint [18:28:53]line [18:28:53]line [18:28:53]line [18:28:53]line [18:28:53]line [18:28:53]written 0, free lines is 3349 [18:28:53]MH_Cut [18:28:53]Write to MH i2c: D1 01 00 DD 0A 01 B9 [18:28:53]Write i2c OK [18:28:53]MH_I2C_Read... [18:28:53]Read from MH i2c: D1 [18:28:53]MH_I2C_Read... [18:28:54]Read from MH i2c: D1 01 00 [18:28:54]MH_I2C_Read... [18:28:54]Read from MH i2c: D1 01 00 DD 0A 00 B8 [18:28:54]Write to MH i2c: 01 00 00 DE 0A E8 [18:28:54]Write i2c OK [18:28:54]MH_I2C_Read... [18:28:54]OFD Sender: No OFD packet to send [18:28:54]*** Cut start [18:28:54]*** Partial cut [18:28:54]*** CUTSNS_PIN = 1 [18:28:54]*** CUTSNS_PIN = 0 [18:28:54]*** Brake cut motor [18:28:55]Read from MH i2c: 01 [18:28:55]MH_I2C_Read... [18:28:55]*** Stop cut motor [18:28:55]*** Cut end [18:28:55]Read from MH i2c: 01 07 00 [18:28:55]MH_I2C_Read... [18:28:55]Read from MH i2c: 01 07 00 DE 0A 00 00 00 00 00 FF 0F FD [18:28:55]process_action close_receipt done [18:28:55]requested_data is exist [18:28:55]produce_requested_data [18:28:55]requested_item fm.sn is exist - process it [18:28:55]wFMCommunicate request_size=4 [18:28:55]MH_SAM_APDU [18:28:55]CAPDU: 80 11 00 00 [18:28:55]Write to MH i2c: E2 08 00 DF 0A 80 11 00 00 00 00 00 00 63 [18:28:55]Write i2c OK [18:28:55]MH_I2C_Read... [18:28:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:28:55]Read from MH i2c: E2 [18:28:55]MH_I2C_Read... [18:28:55]Read from MH i2c: E2 17 00 [18:28:55]MH_I2C_Read... [18:28:55]Read from MH i2c: E2 17 00 DF 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 B9 [18:28:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [18:28:55]wFMCommunicate OK [18:28:55]requested_item fd.num is exist - process it [18:28:55]SAM_PROTO_GetFieldsCounters [18:28:55]wFMCommunicate request_size=4 [18:28:55]MH_SAM_APDU [18:28:55]CAPDU: 80 13 00 00 [18:28:55]Write to MH i2c: E2 08 00 E0 0A 80 13 00 00 00 00 00 00 66 [18:28:55]Write i2c OK [18:28:55]MH_I2C_Read... [18:28:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:28:55]Read from MH i2c: E2 [18:28:55]MH_I2C_Read... [18:28:55]Read from MH i2c: E2 62 00 [18:28:55]MH_I2C_Read... [18:28:55]Read from MH i2c: E2 62 00 E0 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 14 07 00 00 0E 04 04 00 17 00 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 4E [18:28:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 14 07 00 00 0E 04 04 00 17 00 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 [18:28:55]wFMCommunicate OK [18:28:55]SAM_PROTO_GetFieldsCounters done [18:28:55]requested_item shift.num is exist - process it [18:28:55]requested_item shift.opened is exist - process it [18:28:55]req_shift_opened [18:28:55]FM_GetShiftState [18:28:55]SAM_PROTO_GetShiftState [18:28:55]wFMCommunicate request_size=4 [18:28:55]MH_SAM_APDU [18:28:55]CAPDU: 80 13 01 00 [18:28:55]Write to MH i2c: E2 08 00 E1 0A 80 13 01 00 00 00 00 00 68 [18:28:55]Write i2c OK [18:28:55]MH_I2C_Read... [18:28:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:28:55]Read from MH i2c: E2 [18:28:55]MH_I2C_Read... [18:28:55]Read from MH i2c: E2 0E 00 [18:28:55]MH_I2C_Read... [18:28:55]Read from MH i2c: E2 0E 00 E1 0A 00 09 00 01 43 74 90 66 00 00 00 00 90 00 21 [18:28:55]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [18:28:55]wFMCommunicate OK [18:28:55]SAM_PROTO_GetShiftState done [18:28:55]FM_GetShiftState done [18:28:55]req_shift_opened done [18:28:55]requested_item shift.open_date is exist - process it [18:28:55]req_shift_open_date [18:28:55]req_shift_open_date done [18:28:55]produce_requested_data done [18:28:55]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1812,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [18:28:55]process_action_free close_receipt [18:28:55]json_value_free [18:28:55]json_value_free done [18:28:55]process_json_proto returns [18:28:55]Send response to host [18:28:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1812,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [18:28:55]free response buf [18:28:55]execute_script done [18:28:55]execute_script returns [18:28:55]free content buf [18:28:55]Sock 9.Close socket [18:28:55]Sock 9.Thread stoped [18:28:59]OFD Sender: No OFD packet to send [18:29:04]OFD Sender: No OFD packet to send [18:29:09]OFD Sender: No OFD packet to send [18:29:14]OFD Sender: No OFD packet to send [18:29:19]OFD Sender: No OFD packet to send [18:29:24]OFD Sender: No OFD packet to send [18:29:29]OFD Sender: No OFD packet to send [18:29:34]OFD Sender: No OFD packet to send [18:29:39]OFD Sender: No OFD packet to send [18:29:44]OFD Sender: No OFD packet to send [18:29:49]OFD Sender: No OFD packet to send [18:29:49]accept exits with 8 [18:29:49]New connection [18:29:49]New thread 3067002212 created [18:29:49]Thread 3067145572 joined [18:29:49]Waiting for new connection... [18:29:49] Sock 8.Parse request [18:29:49]Sock 8.Check first char [18:29:49]Sock 8.First char is OK [18:29:49]request: POST /json_proto HTTP/1.0 [18:29:49]Method: POST [18:29:49]URL: /json_proto [18:29:49]Method is POST - this is cgi request [18:29:49]url: /json_proto [18:29:49]query_string will be loaded in cgi processing [18:29:49]execute_cgi json_proto POST (null) [18:29:49]execute_cgi path=json_proto method=POST [18:29:49]POST find Content-Length [18:29:49]Host: 172.17.35.133:8080 [18:29:49]Content-Length: 879 [18:29:49]Content-Type: application/json [18:29:49] [18:29:49]POST finish read [18:29:49]Found Content-Length = 879 [18:29:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256278", "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 }]} ], "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" ] } } [18:29:49]execute_script... [18:29: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)256278", "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 }]} ], "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" ] } } [18:29:49]POST & json_proto [18:29:49]process_json_proto [18:29:49]json parsed OK: [18:29:49]protocol is kg_v1.0 [18:29:49]action value=close_receipt [18:29:49]process_action close_receipt [18:29:49]cmd_close_receipt [18:29:49]MH_GetDate [18:29:49]Write to MH i2c: F0 00 00 E2 0A DB [18:29:49]Write i2c OK [18:29:49]MH_I2C_Read... [18:29:49]Read from MH i2c: F0 [18:29:49]MH_I2C_Read... [18:29:49]Read from MH i2c: F0 09 00 [18:29:49]MH_I2C_Read... [18:29:49]Read from MH i2c: F0 09 00 E2 0A 00 1F 76 91 66 1B 28 2A 66 43 [18:29:49]GetLastDocTimeStamp 1720808934 [18:29:49]current date 1720808991 [18:29:49]FM_GetShiftState [18:29:49]SAM_PROTO_GetShiftState [18:29:49]wFMCommunicate request_size=4 [18:29:49]MH_SAM_APDU [18:29:49]CAPDU: 80 13 01 00 [18:29:49]Write to MH i2c: E2 08 00 E3 0A 80 13 01 00 00 00 00 00 6A [18:29:49]Write i2c OK [18:29:49]MH_I2C_Read... [18:29:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:29:49]Read from MH i2c: E2 [18:29:49]MH_I2C_Read... [18:29:49]Read from MH i2c: E2 0E 00 [18:29:49]MH_I2C_Read... [18:29:49]Read from MH i2c: E2 0E 00 E3 0A 00 09 00 01 43 74 90 66 00 00 00 00 90 00 23 [18:29:49]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [18:29:49]wFMCommunicate OK [18:29:49]SAM_PROTO_GetShiftState done [18:29:49]FM_GetShiftState done [18:29:49]opened in 1720742979 [18:29:49]opened+sec_in_day 1720829379 [18:29:49]quantity*price = 11000 [18:29:49]sum+1 = 11001 [18:29:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 47 12.07.2024 18:29 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000002098592 ФД: 1813 ФПД: 241142107202922 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T182952&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1813&fm=241142107202922&tin=02508201610067®Number=0000000000177495&sum=11000 0 [18:29:50]StoreToDocumentArchive [18:29:50]shift 23 fd 1813 [18:29:50]save to /storage/0023/doc_00001813 [18:29:50]save last doc name /storage/0023/doc_00001813 to /storage/kkm_last_doc_name [18:29:50]save OK [18:29:50]Clear old archive folders... [18:29:50]ProcessDocumentItem done err = 0, tmpTLVsize=294 [18:29:50]tlvbuf is 010B3930 [18:29:50]SAM_PROTO_ClearQueue [18:29:50]wFMCommunicate request_size=4 [18:29:50]MH_SAM_APDU [18:29:50]CAPDU: 80 09 00 00 [18:29:50]Write to MH i2c: E2 08 00 F0 0A 80 09 00 00 00 00 00 00 6C [18:29:50]Write i2c OK [18:29:50]MH_I2C_Read... [18:29:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:29:50]Read from MH i2c: E2 [18:29:50]MH_I2C_Read... [18:29:50]Read from MH i2c: E2 03 00 [18:29:50]MH_I2C_Read... [18:29:50]Read from MH i2c: E2 03 00 F0 0A 00 90 00 6E [18:29:50]RAPDU: 90 00 [18:29:50]wFMCommunicate OK [18:29:50]SAM_PROTO_ClearQueue done [18:29:50]KKMCreateOFDPacket [18:29:50]OFDProtocolAddRootSTLVToBuf [18:29:50]FM_MakeSignedData [18:29:50]FM_MakeSignedData [18:29:50]SAM_PROTO_SignData [18:29:50]wFMCommunicate request_size=4 [18:29:50]MH_SAM_APDU [18:29:50]CAPDU: 80 0D 01 02 [18:29:50]Write to MH i2c: E2 08 00 F1 0A 80 0D 01 02 00 00 00 00 74 [18:29:50]Write i2c OK [18:29:50]MH_I2C_Read... [18:29:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:29:50]Read from MH i2c: E2 [18:29:50]MH_I2C_Read... [18:29:50]Read from MH i2c: E2 03 00 [18:29:50]MH_I2C_Read... [18:29:50]Read from MH i2c: E2 03 00 F1 0A 00 90 00 6F [18:29:50]RAPDU: 90 00 [18:29:50]wFMCommunicate OK [18:29:50]wFMCommunicate request_size=255 [18:29:50]MH_SAM_APDU [18:29:50]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 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 2F 00 00 00 F4 03 04 00 20 76 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [18:29:50]Write to MH i2c: E2 02 01 F2 0A 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 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 2F 00 00 00 F4 03 04 00 20 76 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 27 [18:29:50]Write i2c OK [18:29:50]MH_I2C_Read... [18:29:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:29:50]Read from MH i2c: E2 [18:29:50]MH_I2C_Read... [18:29:50]Read from MH i2c: E2 03 00 [18:29:50]MH_I2C_Read... [18:29:50]Read from MH i2c: E2 03 00 F2 0A 00 90 00 70 [18:29:50]RAPDU: 90 00 [18:29:50]wFMCommunicate OK [18:29:50]wFMCommunicate request_size=53 [18:29:50]MH_SAM_APDU [18:29:50]CAPDU: 80 0D 02 02 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 15 07 00 00 35 04 06 00 DB 51 45 A3 E5 6A [18:29:50]Write to MH i2c: E2 38 00 F3 0A 80 0D 02 02 30 00 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 15 07 00 00 35 04 06 00 DB 51 45 A3 E5 6A 00 00 F6 [18:29:50]Write i2c OK [18:29:50]MH_I2C_Read... [18:29:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:29:51]Read from MH i2c: E2 [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: E2 03 00 [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: E2 03 00 F3 0A 00 90 00 71 [18:29:51]RAPDU: 90 00 [18:29:51]wFMCommunicate OK [18:29:51]wFMCommunicate request_size=4 [18:29:51]MH_SAM_APDU [18:29:51]CAPDU: 80 0D 03 02 [18:29:51]Write to MH i2c: E2 08 00 F4 0A 80 0D 03 02 00 00 00 00 79 [18:29:51]Write i2c OK [18:29:51]MH_I2C_Read... [18:29:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:29:51]Read from MH i2c: E2 [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: E2 0B 00 [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: E2 0B 00 F4 0A 00 6A 58 49 E0 D1 A2 91 02 90 00 6B [18:29:51]RAPDU: 6A 58 49 E0 D1 A2 91 02 90 00 [18:29:51]wFMCommunicate OK [18:29:51]SAM_PROTO_SignData done [18:29:51]FM_MakeSignedData done [18:29:51]CreateOFDProtocolMessage [18:29:51]wFMCommunicate request_size=4 [18:29:51]MH_SAM_APDU [18:29:51]CAPDU: 80 11 00 00 [18:29:51]Write to MH i2c: E2 08 00 F5 0A 80 11 00 00 00 00 00 00 79 [18:29:51]Write i2c OK [18:29:51]MH_I2C_Read... [18:29:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:29:51]Read from MH i2c: E2 [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: E2 17 00 [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: E2 17 00 F5 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 CF [18:29:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [18:29:51]wFMCommunicate OK [18:29:51]CreateOFDProtocolMessage done [18:29:51]OFDSenderStorePacket 1813 [18:29:51]StoreOFDPacket docnum=1813 [18:29:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3A 01 00 00 12 C2 32 01 87 76 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 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 2F 00 00 00 F4 03 04 00 20 76 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 15 07 00 00 35 04 06 00 DB 51 45 A3 E5 6A 6A 58 49 E0 D1 A2 91 02 [18:29:51]CheckFolder [18:29:51]dirname=/storage/ofd_packets [18:29:51]CheckFolder done [18:29:51]ProducePacketName [18:29:51]name=ofd_packets/00001813 [18:29:51]NVStorageSaveData ofd_packets/00001813 [18:29:51]File name is /storage/ofd_packets/00001813 [18:29:51]Write 344 bytes [18:29:51]NVStorageSaveData done [18:29:51]OFDSenderStorePacket done [18:29:51]KKMCreateOFDPacket done [18:29:51]NVStorageSaveData kkm_last_timestamp [18:29:51]File name is /storage/kkm_last_timestamp [18:29:51]Write 4 bytes [18:29:51]NVStorageSaveData done [18:29:51]ExternCall_PrintAddStr [18:29:51]wPrintStart [18:29:51]Write to MH i2c: 01 00 00 F6 0A 00 [18:29:51]OFD Sender: Processing packet 1813 [packets to send 1, broken 0] [18:29:51]ProducePacketName [18:29:51]name=ofd_packets/00001813 [18:29:51]OFD Sender: To server: pG, [18:29:51]CommunicateWithHost lk.salyk.kg:30040 [18:29:51]Write i2c OK [18:29:51]ConnectInit lk.salyk.kg [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: 01 [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: 01 07 00 [18:29:51]MH_I2C_Read... [18:29:51]Read from MH i2c: 01 07 00 F6 0A 00 00 00 00 00 FF 0F 15 [18:29:51]RasterBufferAndPrint [18:29:51]line Счет N : (3)256278 [18:29:51]line ИНН: 02508201610067 [18:29:51]line Контрольно-Кассовый Чек [18:29:51]line ПРОДАЖА [18:29:51]line Товар: 4650243871828 [18:29:51]line Gorilla эн нап манго-кокос 0,45 ж/б [18:29:51]line 1.000 * 110.00 [18:29:51]line = 110.00 [18:29:51]line НДС 12% НСП 1% [18:29:51]line > о реализуемом товаре [18:29:51]line ИТОГО: 110.00 [18:29:51]line НСП 1% : 0.97 [18:29:51]line НДС 12% : 11.68 [18:29:51]line Наличными: 0.00 [18:29:51]line Безнал.: 110.00 [18:29:51]line Место: АЗС № 76 "Партнер Нефть" [18:29:51]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [18:29:51]line СНО: Общий режим [18:29:51]line Чек 47 12.07.2024 18:29 [18:29:51]line Смена: 23 ФФД: 1.0 [18:29:51]line ЗНМ: 0300000124 [18:29:51]line РНМ: 0000000000177495 [18:29:51]line Версия ККМ: 001 [18:29:51]line Платежная система: АКБ Кыргызстан [18:29:51]line ФМ: 0000000002098592 [18:29:51]line ФД: 1813 [18:29:51]line ФПД: 241142107202922 [18:29:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T182952&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1813&fm=241142107202922&tin=02508201610067®Number=0000000000177495&sum=11000 [18:29:51]Connected sock=10 [18:29:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3A 01 00 00 12 C2 32 01 87 76 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 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 2F 00 00 00 F4 03 04 00 20 76 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 15 07 00 00 35 04 06 00 DB 51 45 A3 E5 6A 6A 58 49 E0 D1 A2 91 02 [18:29:51]line 0 [18:29:51]written 0, free lines is 4095 [18:29:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 6C 2F 47 00 D6 98 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 32 30 39 38 35 39 32 10 04 04 00 15 07 00 00 F4 03 04 00 57 21 91 66 B6 04 01 00 00 29 F3 54 AD 2E DC 34 69 [18:29:51]CommunicateWithHost err = 0 [18:29:51]CheckOFDResponse [18:29:51]1017 (14) - 77093643461234 [18:29:51]1041 (16) - 0000000002098592 [18:29:51]1040 (4) - 1813 [18:29:51]1012 (4) - 12.07.2024 12:28 [18:29:51]1206 (1) - 0 [18:29:51]OFD Sender: Remove packet 1813 [18:29:51]ProducePacketName [18:29:51]name=ofd_packets/00001813 [18:29:51]NVStorageDeleteData [18:29:52]Write to MH i2c: 01 00 00 21 0B 2C [18:29:52]Write i2c OK [18:29:52]MH_I2C_Read... [18:29:52]Read from MH i2c: 01 [18:29:52]MH_I2C_Read... [18:29:52]Read from MH i2c: 01 07 00 [18:29:52]MH_I2C_Read... [18:29:52]Read from MH i2c: 01 07 00 21 0B 00 00 00 00 00 DD 0C 1C [18:29:52]RasterBufferAndPrint [18:29:52]line [18:29:52]line [18:29:52]line [18:29:52]line [18:29:52]line [18:29:52]written 0, free lines is 3299 [18:29:52]MH_Cut [18:29:52]Write to MH i2c: D1 01 00 28 0B 01 05 [18:29:52]Write i2c OK [18:29:52]MH_I2C_Read... [18:29:52]Read from MH i2c: D1 [18:29:52]MH_I2C_Read... [18:29:52]Read from MH i2c: D1 01 00 [18:29:52]MH_I2C_Read... [18:29:52]Read from MH i2c: D1 01 00 28 0B 00 04 [18:29:52]Write to MH i2c: 01 00 00 29 0B 34 [18:29:52]Write i2c OK [18:29:52]MH_I2C_Read... [18:29:52]OFD Sender: No OFD packet to send [18:29:52]*** Cut start [18:29:52]*** Partial cut [18:29:52]*** CUTSNS_PIN = 1 [18:29:52]*** CUTSNS_PIN = 0 [18:29:53]*** Brake cut motor [18:29:53]Read from MH i2c: 01 [18:29:53]MH_I2C_Read... [18:29:53]*** Stop cut motor [18:29:53]*** Cut end [18:29:53]Read from MH i2c: 01 07 00 [18:29:53]MH_I2C_Read... [18:29:53]Read from MH i2c: 01 07 00 29 0B 00 00 00 00 00 FF 0F 49 [18:29:53]process_action close_receipt done [18:29:53]requested_data is exist [18:29:53]produce_requested_data [18:29:53]requested_item fm.sn is exist - process it [18:29:53]wFMCommunicate request_size=4 [18:29:53]MH_SAM_APDU [18:29:53]CAPDU: 80 11 00 00 [18:29:53]Write to MH i2c: E2 08 00 2A 0B 80 11 00 00 00 00 00 00 AF [18:29:53]Write i2c OK [18:29:53]MH_I2C_Read... [18:29:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:29:53]Read from MH i2c: E2 [18:29:53]MH_I2C_Read... [18:29:53]Read from MH i2c: E2 17 00 [18:29:53]MH_I2C_Read... [18:29:53]Read from MH i2c: E2 17 00 2A 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 05 [18:29:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [18:29:53]wFMCommunicate OK [18:29:53]requested_item fd.num is exist - process it [18:29:53]SAM_PROTO_GetFieldsCounters [18:29:53]wFMCommunicate request_size=4 [18:29:53]MH_SAM_APDU [18:29:53]CAPDU: 80 13 00 00 [18:29:53]Write to MH i2c: E2 08 00 2B 0B 80 13 00 00 00 00 00 00 B2 [18:29:53]Write i2c OK [18:29:53]MH_I2C_Read... [18:29:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:29:53]Read from MH i2c: E2 [18:29:53]MH_I2C_Read... [18:29:53]Read from MH i2c: E2 62 00 [18:29:53]MH_I2C_Read... [18:29:53]Read from MH i2c: E2 62 00 2B 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 15 07 00 00 0E 04 04 00 17 00 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 9E [18:29:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 15 07 00 00 0E 04 04 00 17 00 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 [18:29:53]wFMCommunicate OK [18:29:53]SAM_PROTO_GetFieldsCounters done [18:29:53]requested_item shift.num is exist - process it [18:29:53]requested_item shift.opened is exist - process it [18:29:53]req_shift_opened [18:29:53]FM_GetShiftState [18:29:53]SAM_PROTO_GetShiftState [18:29:53]wFMCommunicate request_size=4 [18:29:53]MH_SAM_APDU [18:29:53]CAPDU: 80 13 01 00 [18:29:53]Write to MH i2c: E2 08 00 2C 0B 80 13 01 00 00 00 00 00 B4 [18:29:53]Write i2c OK [18:29:53]MH_I2C_Read... [18:29:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:29:53]Read from MH i2c: E2 [18:29:53]MH_I2C_Read... [18:29:53]Read from MH i2c: E2 0E 00 [18:29:53]MH_I2C_Read... [18:29:53]Read from MH i2c: E2 0E 00 2C 0B 00 09 00 01 43 74 90 66 00 00 00 00 90 00 6D [18:29:53]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [18:29:53]wFMCommunicate OK [18:29:53]SAM_PROTO_GetShiftState done [18:29:53]FM_GetShiftState done [18:29:53]req_shift_opened done [18:29:53]requested_item shift.open_date is exist - process it [18:29:53]req_shift_open_date [18:29:53]req_shift_open_date done [18:29:53]produce_requested_data done [18:29:53]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1813,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [18:29:53]process_action_free close_receipt [18:29:53]json_value_free [18:29:53]json_value_free done [18:29:53]process_json_proto returns [18:29:53]Send response to host [18:29:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1813,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [18:29:53]free response buf [18:29:53]execute_script done [18:29:53]execute_script returns [18:29:53]free content buf [18:29:53]Sock 8.Close socket [18:29:53]Sock 8.Thread stoped [18:29:57]OFD Sender: No OFD packet to send [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:47]OFD Sender: No OFD packet to send [18:30:52]OFD Sender: No OFD packet to send [18:30:57]OFD Sender: No OFD packet to send [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:27]OFD Sender: No OFD packet to send [18:31:32]OFD Sender: No OFD packet to send [18:31:37]OFD Sender: No OFD packet to send [18:31:42]OFD Sender: No OFD packet to send [18:31:47]OFD Sender: No OFD packet to send [18:31:52]OFD Sender: No OFD packet to send [18:31:57]OFD Sender: No OFD packet to send [18:32:02]OFD Sender: No OFD packet to send [18:32:07]OFD Sender: No OFD packet to send [18:32:12]OFD Sender: No OFD packet to send [18:32:17]OFD Sender: No OFD packet to send [18:32:22]OFD Sender: No OFD packet to send [18:32:27]OFD Sender: No OFD packet to send [18:32:32]OFD Sender: No OFD packet to send [18:32:37]OFD Sender: No OFD packet to send [18:32:42]OFD Sender: No OFD packet to send [18:32:47]OFD Sender: No OFD packet to send [18:32:52]OFD Sender: No OFD packet to send [18:32:57]OFD Sender: No OFD packet to send [18:33:02]OFD Sender: No OFD packet to send [18:33:07]OFD Sender: No OFD packet to send [18:33:12]OFD Sender: No OFD packet to send [18:33:17]OFD Sender: No OFD packet to send [18:33:22]OFD Sender: No OFD packet to send [18:33:27]OFD Sender: No OFD packet to send [18:33:32]OFD Sender: No OFD packet to send [18:33:37]OFD Sender: No OFD packet to send [18:33:42]OFD Sender: No OFD packet to send [18:33:47]OFD Sender: No OFD packet to send [18:38:41]ConnectInit Can't connect to host [18:38:44]OFD Sender: No OFD packet to send [18:38:49]OFD Sender: No OFD packet to send [18:38:54]OFD Sender: No OFD packet to send [18:38:59]OFD Sender: No OFD packet to send [18:39:04]OFD Sender: No OFD packet to send [18:39:09]OFD Sender: No OFD packet to send [18:39:14]OFD Sender: No OFD packet to send [18:39:19]OFD Sender: No OFD packet to send [18:39:24]OFD Sender: No OFD packet to send [18:39:29]OFD Sender: No OFD packet to send [18:39:34]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]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:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:20]OFD Sender: No OFD packet to send [18:54:25]OFD Sender: No OFD packet to send [18:54:30]OFD Sender: No OFD packet to send [18:54:35]OFD Sender: No OFD packet to send [18:54:40]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:05]OFD Sender: No OFD packet to send [19:01:10]OFD Sender: No OFD packet to send [19:01:15]OFD Sender: No OFD packet to send [19:01:20]OFD Sender: No OFD packet to send [19:01:25]OFD Sender: No OFD packet to send [19:01:30]OFD Sender: No OFD packet to send [20:53:51]ConnectInit Can't connect to host [20:53:52]ConnectInit Can't take IP for lk.salyk.kg [20:53:52]CommunicateWithHost connect error [20:53:52]CommunicateWithHost err = -1 [20:53:52]OFD Sender: Server communicate error [20:53:57]OFD Sender: Processing packet 1814 [packets to send 9, broken 0] [20:53:57]ProducePacketName [20:53:57]name=ofd_packets/00001814 [20:53:57]OFD Sender: To server: pG, [20:53:57]CommunicateWithHost lk.salyk.kg:30040 [20:53:57]ConnectInit lk.salyk.kg [20:53:57]Connected sock=9 [20:53:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 01 00 00 7E 8E 08 01 BA 98 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 30 00 00 00 F4 03 04 00 B8 81 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 16 07 00 00 35 04 06 00 5F 55 8B 82 82 B8 25 FF 88 F9 E5 E7 68 E5 [20:53:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 45 63 47 00 AA 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 16 07 00 00 F4 03 04 00 1B 43 91 66 B6 04 01 00 00 1E 33 28 A2 4B 3C A9 AA [20:53:57]CommunicateWithHost err = 0 [20:53:57]CheckOFDResponse [20:53:57]1017 (14) - 77093643461234 [20:53:57]1041 (16) - 0000000002098592 [20:53:57]1040 (4) - 1814 [20:53:57]1012 (4) - 12.07.2024 14:52 [20:53:57]1206 (1) - 0 [20:53:57]OFD Sender: Remove packet 1814 [20:53:57]ProducePacketName [20:53:57]name=ofd_packets/00001814 [20:53:57]NVStorageDeleteData [20:53:58]OFD Sender: Processing packet 1815 [packets to send 8, broken 0] [20:53:58]ProducePacketName [20:53:58]name=ofd_packets/00001815 [20:53:58]OFD Sender: To server: pG, [20:53:58]CommunicateWithHost lk.salyk.kg:30040 [20:53:58]ConnectInit lk.salyk.kg [20:53:58]Connected sock=9 [20:53:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 14 02 00 00 6D 3A 0C 02 71 83 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 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 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0D 00 00 00 00 07 04 06 00 40 83 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 66 82 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 17 07 00 00 35 04 06 00 10 61 69 FC 0A 07 EF E8 B4 48 4C C4 59 BB [20:53:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 1B 57 47 00 59 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 17 07 00 00 F4 03 04 00 1C 43 91 66 B6 04 01 00 00 87 56 7A E6 05 D8 54 D5 [20:53:58]CommunicateWithHost err = 0 [20:53:58]CheckOFDResponse [20:53:58]1017 (14) - 77093643461234 [20:53:58]1041 (16) - 0000000002098592 [20:53:58]1040 (4) - 1815 [20:53:58]1012 (4) - 12.07.2024 14:52 [20:53:58]1206 (1) - 0 [20:53:58]OFD Sender: Remove packet 1815 [20:53:58]ProducePacketName [20:53:58]name=ofd_packets/00001815 [20:53:58]NVStorageDeleteData [20:53:59]OFD Sender: Processing packet 1816 [packets to send 7, broken 0] [20:53:59]ProducePacketName [20:53:59]name=ofd_packets/00001816 [20:53:59]OFD Sender: To server: pG, [20:53:59]CommunicateWithHost lk.salyk.kg:30040 [20:53:59]ConnectInit lk.salyk.kg [20:53:59]Connected sock=9 [20:53:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 42 01 00 00 F9 37 3A 01 F0 1F 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 32 00 00 00 F4 03 04 00 88 82 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 18 07 00 00 35 04 06 00 5E 39 86 51 8B 94 79 E0 85 B2 75 1D 03 8A [20:53:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 B6 B8 47 00 7A F6 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 32 30 39 38 35 39 32 10 04 04 00 18 07 00 00 F4 03 04 00 1D 43 91 66 B6 04 01 00 00 C7 13 0A 51 84 B1 34 8F [20:53:59]CommunicateWithHost err = 0 [20:53:59]CheckOFDResponse [20:53:59]1017 (14) - 77093643461234 [20:53:59]1041 (16) - 0000000002098592 [20:53:59]1040 (4) - 1816 [20:53:59]1012 (4) - 12.07.2024 14:52 [20:53:59]1206 (1) - 0 [20:53:59]OFD Sender: Remove packet 1816 [20:53:59]ProducePacketName [20:53:59]name=ofd_packets/00001816 [20:53:59]NVStorageDeleteData [20:53:59]OFD Sender: Processing packet 1817 [packets to send 6, broken 0] [20:53:59]ProducePacketName [20:53:59]name=ofd_packets/00001817 [20:53:59]OFD Sender: To server: pG, [20:53:59]CommunicateWithHost lk.salyk.kg:30040 [20:53:59]ConnectInit lk.salyk.kg [20:53:59]Connected sock=9 [20:53:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3C 01 00 00 1C 05 34 01 6F 49 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 02 8F 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 19 07 00 00 35 04 06 00 71 1C 8A 77 04 23 22 90 7B 34 85 EF CC 24 [20:54:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 F7 AF 47 00 92 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 19 07 00 00 F4 03 04 00 1E 43 91 66 B6 04 01 00 00 46 2B D7 0C 83 72 92 CE [20:54:00]CommunicateWithHost err = 0 [20:54:00]CheckOFDResponse [20:54:00]1017 (14) - 77093643461234 [20:54:00]1041 (16) - 0000000002098592 [20:54:00]1040 (4) - 1817 [20:54:00]1012 (4) - 12.07.2024 14:52 [20:54:00]1206 (1) - 0 [20:54:00]OFD Sender: Remove packet 1817 [20:54:00]ProducePacketName [20:54:00]name=ofd_packets/00001817 [20:54:00]NVStorageDeleteData [20:54:00]OFD Sender: Processing packet 1818 [packets to send 5, broken 0] [20:54:00]ProducePacketName [20:54:00]name=ofd_packets/00001818 [20:54:00]OFD Sender: To server: pG, [20:54:00]CommunicateWithHost lk.salyk.kg:30040 [20:54:00]ConnectInit lk.salyk.kg [20:54:00]Connected sock=9 [20:54:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2A 01 00 00 7A DF 22 01 46 65 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 EF 8F 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1A 07 00 00 35 04 06 00 85 BC 92 D0 4F 6B 13 66 F7 16 23 E7 35 38 [20:54:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 8B B6 47 00 0F A6 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 32 30 39 38 35 39 32 10 04 04 00 1A 07 00 00 F4 03 04 00 1E 43 91 66 B6 04 01 00 00 4E A1 61 E9 EF 8D 84 2C [20:54:00]CommunicateWithHost err = 0 [20:54:00]CheckOFDResponse [20:54:00]1017 (14) - 77093643461234 [20:54:00]1041 (16) - 0000000002098592 [20:54:00]1040 (4) - 1818 [20:54:00]1012 (4) - 12.07.2024 14:52 [20:54:00]1206 (1) - 0 [20:54:00]OFD Sender: Remove packet 1818 [20:54:00]ProducePacketName [20:54:00]name=ofd_packets/00001818 [20:54:00]NVStorageDeleteData [20:54:01]OFD Sender: Processing packet 1819 [packets to send 4, broken 0] [20:54:01]ProducePacketName [20:54:01]name=ofd_packets/00001819 [20:54:01]OFD Sender: To server: pG, [20:54:01]CommunicateWithHost lk.salyk.kg:30040 [20:54:01]ConnectInit lk.salyk.kg [20:54:01]Connected sock=10 [20:54:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 3E 01 00 00 48 71 36 01 E7 85 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 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 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 AF 91 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1B 07 00 00 35 04 06 00 0E 94 8F 41 03 89 3E 1C 31 6E 4F 49 62 CC [20:54:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 26 D7 47 00 B0 29 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 32 30 39 38 35 39 32 10 04 04 00 1B 07 00 00 F4 03 04 00 1F 43 91 66 B6 04 01 00 00 D6 F4 0E E0 63 C6 F5 AB [20:54:01]CommunicateWithHost err = 0 [20:54:01]CheckOFDResponse [20:54:01]1017 (14) - 77093643461234 [20:54:01]1041 (16) - 0000000002098592 [20:54:01]1040 (4) - 1819 [20:54:01]1012 (4) - 12.07.2024 14:52 [20:54:01]1206 (1) - 0 [20:54:01]OFD Sender: Remove packet 1819 [20:54:01]ProducePacketName [20:54:01]name=ofd_packets/00001819 [20:54:01]NVStorageDeleteData [20:54:02]OFD Sender: Processing packet 1820 [packets to send 3, broken 0] [20:54:02]ProducePacketName [20:54:02]name=ofd_packets/00001820 [20:54:02]OFD Sender: To server: pG, [20:54:02]CommunicateWithHost lk.salyk.kg:30040 [20:54:02]ConnectInit lk.salyk.kg [20:54:02]Connected sock=9 [20:54:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 1E 01 00 00 E0 96 16 01 4B 9C 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 ED 92 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1C 07 00 00 35 04 06 00 57 7B 89 47 D3 89 4F 0B 9B A5 2F A6 09 9E [20:54:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 C2 C3 47 00 E3 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 32 30 39 38 35 39 32 10 04 04 00 1C 07 00 00 F4 03 04 00 20 43 91 66 B6 04 01 00 00 6B 1D 55 8F F4 57 64 E8 [20:54:02]CommunicateWithHost err = 0 [20:54:02]CheckOFDResponse [20:54:02]1017 (14) - 77093643461234 [20:54:02]1041 (16) - 0000000002098592 [20:54:02]1040 (4) - 1820 [20:54:02]1012 (4) - 12.07.2024 14:52 [20:54:02]1206 (1) - 0 [20:54:02]OFD Sender: Remove packet 1820 [20:54:02]ProducePacketName [20:54:02]name=ofd_packets/00001820 [20:54:02]NVStorageDeleteData [20:54:02]OFD Sender: Processing packet 1821 [packets to send 2, broken 0] [20:54:02]ProducePacketName [20:54:02]name=ofd_packets/00001821 [20:54:02]OFD Sender: To server: pG, [20:54:02]CommunicateWithHost lk.salyk.kg:30040 [20:54:02]ConnectInit lk.salyk.kg [20:54:02]Connected sock=9 [20:54:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 29 03 00 00 8B B0 21 03 B9 2C 5A 03 01 00 03 00 15 03 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 16 00 00 00 00 07 04 06 00 74 D6 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 CA 93 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1D 07 00 00 35 04 06 00 73 83 A4 81 E4 B6 12 75 7E 4D D6 B5 BC 34 [20:54:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 08 CF 47 00 5A 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 32 30 39 38 35 39 32 10 04 04 00 1D 07 00 00 F4 03 04 00 21 43 91 66 B6 04 01 00 00 8B 6C 26 AE 99 93 F4 CD [20:54:03]CommunicateWithHost err = 0 [20:54:03]CheckOFDResponse [20:54:03]1017 (14) - 77093643461234 [20:54:03]1041 (16) - 0000000002098592 [20:54:03]1040 (4) - 1821 [20:54:03]1012 (4) - 12.07.2024 14:52 [20:54:03]1206 (1) - 0 [20:54:03]OFD Sender: Remove packet 1821 [20:54:03]ProducePacketName [20:54:03]name=ofd_packets/00001821 [20:54:03]NVStorageDeleteData [20:54:03]OFD Sender: Processing packet 1822 [packets to send 1, broken 0] [20:54:03]ProducePacketName [20:54:03]name=ofd_packets/00001822 [20:54:03]OFD Sender: To server: pG, [20:54:03]CommunicateWithHost lk.salyk.kg:30040 [20:54:03]ConnectInit lk.salyk.kg [20:54:03]Connected sock=9 [20:54:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 39 01 00 00 7E FB 31 01 CA 79 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 65 96 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1E 07 00 00 35 04 06 00 8A 93 5F 01 EE 7B 99 86 49 F0 A5 85 7F F1 [20:54:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 28 EF 47 00 FD 24 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 32 30 39 38 35 39 32 10 04 04 00 1E 07 00 00 F4 03 04 00 22 43 91 66 B6 04 01 00 00 59 B5 14 FC 84 85 07 55 [20:54:03]CommunicateWithHost err = 0 [20:54:03]CheckOFDResponse [20:54:03]1017 (14) - 77093643461234 [20:54:03]1041 (16) - 0000000002098592 [20:54:03]1040 (4) - 1822 [20:54:03]1012 (4) - 12.07.2024 14:52 [20:54:03]1206 (1) - 0 [20:54:03]OFD Sender: Remove packet 1822 [20:54:03]ProducePacketName [20:54:03]name=ofd_packets/00001822 [20:54:03]NVStorageDeleteData [20:54:04]OFD Sender: No OFD packet to send [20:54:09]OFD Sender: No OFD packet to send [20:54:14]OFD Sender: No OFD packet to send [20:54:19]OFD Sender: No OFD packet to send [20:54:24]OFD Sender: No OFD packet to send [20:54:29]OFD Sender: No OFD packet to send [20:54:34]OFD Sender: No OFD packet to send [20:54:39]OFD Sender: No OFD packet to send [20:54:44]OFD Sender: No OFD packet to send [20:54:49]OFD Sender: No OFD packet to send [20:54:54]OFD Sender: No OFD packet to send [20:54:59]OFD Sender: No OFD packet to send [20:55:04]OFD Sender: No OFD packet to send [20:55:09]OFD Sender: No OFD packet to send [20:55:14]OFD Sender: No OFD packet to send [20:55:19]OFD Sender: No OFD packet to send [20:55:24]OFD Sender: No OFD packet to send [20:55:29]OFD Sender: No OFD packet to send [20:55:34]OFD Sender: No OFD packet to send [20:55:39]OFD Sender: No OFD packet to send [20:55:44]OFD Sender: No OFD packet to send [20:55:49]OFD Sender: No OFD packet to send [20:55:54]OFD Sender: No OFD packet to send [20:55:59]OFD Sender: No OFD packet to send [20:56:04]OFD Sender: No OFD packet to send [20:56:09]OFD Sender: No OFD packet to send [20:56:14]OFD Sender: No OFD packet to send [20:56:19]OFD Sender: No OFD packet to send [20:56:24]OFD Sender: No OFD packet to send [20:56:29]OFD Sender: No OFD packet to send [20:56:34]OFD Sender: No OFD packet to send [20:56:39]OFD Sender: No OFD packet to send [20:56:44]OFD Sender: No OFD packet to send [20:56:49]OFD Sender: No OFD packet to send [20:56:54]OFD Sender: No OFD packet to send [20:56:59]OFD Sender: No OFD packet to send [20:57:04]OFD Sender: No OFD packet to send [20:57:09]OFD Sender: No OFD packet to send [20:57:14]OFD Sender: No OFD packet to send [20:57:19]OFD Sender: No OFD packet to send [20:57:24]OFD Sender: No OFD packet to send [20:57:29]OFD Sender: No OFD packet to send [20:57:34]OFD Sender: No OFD packet to send [20:57:39]OFD Sender: No OFD packet to send [20:57:44]OFD Sender: No OFD packet to send [20:57:49]OFD Sender: No OFD packet to send [20:57:54]OFD Sender: No OFD packet to send [20:57:59]OFD Sender: No OFD packet to send [20:58:04]OFD Sender: No OFD packet to send [20:58:09]OFD Sender: No OFD packet to send [20:58:14]OFD Sender: No OFD packet to send [20:58:19]OFD Sender: No OFD packet to send [20:58:24]OFD Sender: No OFD packet to send [20:58:29]OFD Sender: No OFD packet to send [20:58:34]OFD Sender: No OFD packet to send [20:58:39]OFD Sender: No OFD packet to send [20:58:44]OFD Sender: No OFD packet to send [20:58:49]OFD Sender: No OFD packet to send [20:58:54]OFD Sender: No OFD packet to send [20:58:59]OFD Sender: No OFD packet to send [20:59:04]OFD Sender: No OFD packet to send [20:59:09]OFD Sender: No OFD packet to send [20:59:14]OFD Sender: No OFD packet to send [20:59:19]OFD Sender: No OFD packet to send [20:59:24]OFD Sender: No OFD packet to send [20:59:29]OFD Sender: No OFD packet to send [20:59:34]OFD Sender: No OFD packet to send [20:59:39]OFD Sender: No OFD packet to send [20:59:44]OFD Sender: No OFD packet to send [20:59:49]OFD Sender: No OFD packet to send [20:59:54]OFD Sender: No OFD packet to send [20:59:59]OFD Sender: No OFD packet to send [21:00:04]OFD Sender: No OFD packet to send [21:00:09]OFD Sender: No OFD packet to send [21:00:14]OFD Sender: No OFD packet to send [21:00:19]OFD Sender: No OFD packet to send [21:00:24]OFD Sender: No OFD packet to send [21:00:29]OFD Sender: No OFD packet to send [21:00:34]OFD Sender: No OFD packet to send [21:00:39]OFD Sender: No OFD packet to send [21:00:44]OFD Sender: No OFD packet to send [21:00:49]OFD Sender: No OFD packet to send [21:00:54]OFD Sender: No OFD packet to send [21:00:59]OFD Sender: No OFD packet to send [21:01:04]OFD Sender: No OFD packet to send [21:01:09]OFD Sender: No OFD packet to send [21:01:14]OFD Sender: No OFD packet to send [21:01:19]OFD Sender: No OFD packet to send [21:01:24]OFD Sender: No OFD packet to send [21:01:29]OFD Sender: No OFD packet to send [21:01:34]OFD Sender: No OFD packet to send [21:01:39]OFD Sender: No OFD packet to send [21:01:44]OFD Sender: No OFD packet to send [21:01:49]OFD Sender: No OFD packet to send [21:01:54]OFD Sender: No OFD packet to send [21:01:59]OFD Sender: No OFD packet to send [21:02:04]OFD Sender: No OFD packet to send [21:02:09]OFD Sender: No OFD packet to send [21:02:14]OFD Sender: No OFD packet to send [21:02:19]OFD Sender: No OFD packet to send [21:02:24]OFD Sender: No OFD packet to send [21:02:29]OFD Sender: No OFD packet to send [21:02:34]OFD Sender: No OFD packet to send [21:02:39]OFD Sender: No OFD packet to send [21:02:44]OFD Sender: No OFD packet to send [21:02:49]OFD Sender: No OFD packet to send [21:02:54]OFD Sender: No OFD packet to send [21:02:59]OFD Sender: No OFD packet to send [21:03:04]OFD Sender: No OFD packet to send [21:03:09]OFD Sender: No OFD packet to send [21:03:14]OFD Sender: No OFD packet to send [21:03:15]recv_with_timeout no data received [21:03:19]OFD Sender: No OFD packet to send [21:03:24]OFD Sender: No OFD packet to send [21:03:29]OFD Sender: No OFD packet to send [21:03:34]OFD Sender: No OFD packet to send [21:03:39]OFD Sender: No OFD packet to send [21:03:44]OFD Sender: No OFD packet to send [21:03:45]recv_with_timeout no data received [21:03:49]OFD Sender: No OFD packet to send [21:03:54]OFD Sender: No OFD packet to send [21:03:59]OFD Sender: No OFD packet to send [21:04:04]OFD Sender: No OFD packet to send [21:04:09]OFD Sender: No OFD packet to send [21:04:14]OFD Sender: No OFD packet to send [21:04:19]OFD Sender: No OFD packet to send [21:04:24]OFD Sender: No OFD packet to send [21:04:29]OFD Sender: No OFD packet to send [21:04:34]OFD Sender: No OFD packet to send [21:04:39]OFD Sender: No OFD packet to send [21:04:44]OFD Sender: No OFD packet to send [21:04:49]OFD Sender: No OFD packet to send [21:04:54]OFD Sender: No OFD packet to send [21:04:59]OFD Sender: No OFD packet to send [21:05:04]OFD Sender: No OFD packet to send [21:05:09]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:50]OFD Sender: No OFD packet to send [21:10:55]OFD Sender: No OFD packet to send [21:11:00]OFD Sender: No OFD packet to send [21:11:05]OFD Sender: No OFD packet to send [21:11:10]OFD Sender: No OFD packet to send [21:11:15]OFD Sender: No OFD packet to send [21:11:20]OFD Sender: No OFD packet to send [21:11:25]OFD Sender: No OFD packet to send [21:11:30]OFD Sender: No OFD packet to send [21:11:35]OFD Sender: No OFD packet to send [21:11:40]OFD Sender: No OFD packet to send [21:11:45]OFD Sender: No OFD packet to send [21:11:50]OFD Sender: No OFD packet to send [21:11:55]OFD Sender: No OFD packet to send [21:12:00]OFD Sender: No OFD packet to send [21:12:05]OFD Sender: No OFD packet to send [21:12:10]OFD Sender: No OFD packet to send [21:12:15]OFD Sender: No OFD packet to send [21:12:20]OFD Sender: No OFD packet to send [21:12:25]OFD Sender: No OFD packet to send [21:12:30]OFD Sender: No OFD packet to send [21:12:35]OFD Sender: No OFD packet to send [21:12:40]OFD Sender: No OFD packet to send [21:12:45]OFD Sender: No OFD packet to send [21:12:50]OFD Sender: No OFD packet to send [21:12:55]OFD Sender: No OFD packet to send [21:13:00]OFD Sender: No OFD packet to send [21:13:05]OFD Sender: No OFD packet to send [21:13:10]OFD Sender: No OFD packet to send [21:13:15]OFD Sender: No OFD packet to send [21:13:20]OFD Sender: No OFD packet to send [21:13:25]OFD Sender: No OFD packet to send [21:13:30]OFD Sender: No OFD packet to send [21:13:35]OFD Sender: No OFD packet to send [21:13:40]OFD Sender: No OFD packet to send [21:13:45]OFD Sender: No OFD packet to send [21:13:50]OFD Sender: No OFD packet to send [21:13:55]OFD Sender: No OFD packet to send [21:14:00]OFD Sender: No OFD packet to send [21:14:05]OFD Sender: No OFD packet to send [21:14:10]OFD Sender: No OFD packet to send [21:14:15]OFD Sender: No OFD packet to send [21:14:20]OFD Sender: No OFD packet to send [21:14:25]OFD Sender: No OFD packet to send [21:14:30]OFD Sender: No OFD packet to send [21:14:35]OFD Sender: No OFD packet to send [21:14:40]OFD Sender: No OFD packet to send [21:14:45]OFD Sender: No OFD packet to send [21:14:50]OFD Sender: No OFD packet to send [21:14:55]OFD Sender: No OFD packet to send [21:15:00]OFD Sender: No OFD packet to send [21:15:05]OFD Sender: No OFD packet to send [21:15:10]OFD Sender: No OFD packet to send [21:15:15]OFD Sender: No OFD packet to send [21:15:20]OFD Sender: No OFD packet to send [21:15:25]OFD Sender: No OFD packet to send [21:15:30]OFD Sender: No OFD packet to send [21:15:35]OFD Sender: No OFD packet to send [21:15:40]OFD Sender: No OFD packet to send [21:15:45]OFD Sender: No OFD packet to send [21:15:50]OFD Sender: No OFD packet to send [21:15:55]OFD Sender: No OFD packet to send [21:16:00]OFD Sender: No OFD packet to send [21:16:05]OFD Sender: No OFD packet to send [21:16:10]OFD Sender: No OFD packet to send [21:16:15]OFD Sender: No OFD packet to send [21:16:20]OFD Sender: No OFD packet to send [21:16:25]OFD Sender: No OFD packet to send [21:16:30]OFD Sender: No OFD packet to send [21:16:35]OFD Sender: No OFD packet to send [21:16:40]OFD Sender: No OFD packet to send [21:16:45]OFD Sender: No OFD packet to send [21:16:50]OFD Sender: No OFD packet to send [21:16:55]OFD Sender: No OFD packet to send [21:17:00]OFD Sender: No OFD packet to send [21:17:05]OFD Sender: No OFD packet to send [21:17:10]OFD Sender: No OFD packet to send [21:17:15]OFD Sender: No OFD packet to send [21:17:20]OFD Sender: No OFD packet to send [21:17:25]OFD Sender: No OFD packet to send [21:17:30]OFD Sender: No OFD packet to send [21:17:35]OFD Sender: No OFD packet to send [21:17:40]OFD Sender: No OFD packet to send [21:17:45]OFD Sender: No OFD packet to send [21:17:50]OFD Sender: No OFD packet to send [21:17:55]OFD Sender: No OFD packet to send [21:18:00]OFD Sender: No OFD packet to send [21:18:05]OFD Sender: No OFD packet to send [21:18:10]OFD Sender: No OFD packet to send [21:18:15]OFD Sender: No OFD packet to send [21:18:20]OFD Sender: No OFD packet to send [21:18:25]OFD Sender: No OFD packet to send [21:18:30]OFD Sender: No OFD packet to send [21:18:35]OFD Sender: No OFD packet to send [21:18:40]OFD Sender: No OFD packet to send [21:18:45]OFD Sender: No OFD packet to send [21:18:50]OFD Sender: No OFD packet to send [21:18:55]OFD Sender: No OFD packet to send [21:19:00]OFD Sender: No OFD packet to send [21:19:05]OFD Sender: No OFD packet to send [21:19:10]OFD Sender: No OFD packet to send [21:19:15]OFD Sender: No OFD packet to send [21:19:20]OFD Sender: No OFD packet to send [21:19:25]OFD Sender: No OFD packet to send [21:19:30]OFD Sender: No OFD packet to send [21:19:35]OFD Sender: No OFD packet to send [21:19:40]OFD Sender: No OFD packet to send [21:19:45]OFD Sender: No OFD packet to send [21:19:50]OFD Sender: No OFD packet to send [21:19:55]OFD Sender: No OFD packet to send [21:20:00]OFD Sender: No OFD packet to send [21:20:05]OFD Sender: No OFD packet to send [21:20:10]OFD Sender: No OFD packet to send [21:20:15]OFD Sender: No OFD packet to send [21:20:20]OFD Sender: No OFD packet to send [21:20:25]OFD Sender: No OFD packet to send [21:20:30]OFD Sender: No OFD packet to send [21:20:35]OFD Sender: No OFD packet to send [21:20:40]OFD Sender: No OFD packet to send [21:20:45]OFD Sender: No OFD packet to send [21:20:50]OFD Sender: No OFD packet to send [21:20:55]OFD Sender: No OFD packet to send [21:21:00]OFD Sender: No OFD packet to send [21:21:05]OFD Sender: No OFD packet to send [21:21:10]OFD Sender: No OFD packet to send [21:21:15]OFD Sender: No OFD packet to send [21:21:20]OFD Sender: No OFD packet to send [21:21:25]OFD Sender: No OFD packet to send [21:21:30]OFD Sender: No OFD packet to send [21:21:35]OFD Sender: No OFD packet to send [21:21:40]OFD Sender: No OFD packet to send [21:21:45]OFD Sender: No OFD packet to send [21:21:50]OFD Sender: No OFD packet to send [21:21:55]OFD Sender: No OFD packet to send [21:22:00]OFD Sender: No OFD packet to send [21:22:05]OFD Sender: No OFD packet to send [21:22:10]OFD Sender: No OFD packet to send [21:22:15]OFD Sender: No OFD packet to send [21:25:35]ConnectInit Can't connect to host [21:25:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:48]OFD Sender: No OFD packet to send [21:29:53]OFD Sender: No OFD packet to send [21:29:58]OFD Sender: No OFD packet to send [21:30:03]OFD Sender: No OFD packet to send [21:30:08]OFD Sender: No OFD packet to send [21:30:13]OFD Sender: No OFD packet to send [21:30:18]OFD Sender: No OFD packet to send [21:30:23]OFD Sender: No OFD packet to send [21:30:28]OFD Sender: No OFD packet to send [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:29]OFD Sender: No OFD packet to send [21:35:34]OFD Sender: No OFD packet to send [21:35:39]OFD Sender: No OFD packet to send [21:35:44]OFD Sender: No OFD packet to send [21:35:49]OFD Sender: No OFD packet to send [21:35:54]OFD Sender: No OFD packet to send [21:35:59]OFD Sender: No OFD packet to send [21:36:04]OFD Sender: No OFD packet to send [21:36:09]OFD Sender: No OFD packet to send [21:36:14]OFD Sender: No OFD packet to send [21:36:19]OFD Sender: No OFD packet to send [21:36:24]OFD Sender: No OFD packet to send [21:36:29]OFD Sender: No OFD packet to send [21:36:34]OFD Sender: No OFD packet to send [21:36:39]OFD Sender: No OFD packet to send [21:36:44]OFD Sender: No OFD packet to send [21:36:49]OFD Sender: No OFD packet to send [21:36:54]OFD Sender: No OFD packet to send [21:36:59]OFD Sender: No OFD packet to send [21:37:04]OFD Sender: No OFD packet to send [21:37:09]OFD Sender: No OFD packet to send [21:37:14]OFD Sender: No OFD packet to send [21:37:19]OFD Sender: No OFD packet to send [21:37:24]OFD Sender: No OFD packet to send [21:37:29]OFD Sender: No OFD packet to send [21:37:34]OFD Sender: No OFD packet to send [21:37:39]OFD Sender: No OFD packet to send [21:37:44]OFD Sender: No OFD packet to send [21:37:49]OFD Sender: No OFD packet to send [21:37:54]OFD Sender: No OFD packet to send [21:37:59]OFD Sender: No OFD packet to send [21:38:04]OFD Sender: No OFD packet to send [21:38:09]OFD Sender: No OFD packet to send [21:38:14]OFD Sender: No OFD packet to send [21:38:19]OFD Sender: No OFD packet to send [21:38:24]OFD Sender: No OFD packet to send [21:38:29]OFD Sender: No OFD packet to send [21:38:34]OFD Sender: No OFD packet to send [21:38:39]OFD Sender: No OFD packet to send [21:38:44]OFD Sender: No OFD packet to send [21:38:49]OFD Sender: No OFD packet to send [21:38:54]OFD Sender: No OFD packet to send [21:38:59]OFD Sender: No OFD packet to send [21:39:04]OFD Sender: No OFD packet to send [21:39:09]OFD Sender: No OFD packet to send [21:39:14]OFD Sender: No OFD packet to send [21:39:19]OFD Sender: No OFD packet to send [21:39:24]OFD Sender: No OFD packet to send [21:39:29]OFD Sender: No OFD packet to send [21:39:34]OFD Sender: No OFD packet to send [21:39:39]OFD Sender: No OFD packet to send [21:39:44]OFD Sender: No OFD packet to send [21:39:49]OFD Sender: No OFD packet to send [21:39:54]OFD Sender: No OFD packet to send [21:39:59]OFD Sender: No OFD packet to send [21:40:04]OFD Sender: No OFD packet to send [21:40:09]OFD Sender: No OFD packet to send [21:40:14]OFD Sender: No OFD packet to send [21:40:19]OFD Sender: No OFD packet to send [21:40:24]OFD Sender: No OFD packet to send [21:40:29]OFD Sender: No OFD packet to send [21:40:30]accept exits with 8 [21:40:30]New connection [21:40:30]New thread 3067161956 created [21:40:30]Thread 3067018596 joined [21:40:30]Waiting for new connection... [21:40:30] Sock 8.Parse request [21:40:30]Sock 8.Check first char [21:40:30]Sock 8.First char is OK [21:40:30]request: POST /json_proto HTTP/1.0 [21:40:30]Method: POST [21:40:30]URL: /json_proto [21:40:30]Method is POST - this is cgi request [21:40:30]url: /json_proto [21:40:30]query_string will be loaded in cgi processing [21:40:30]execute_cgi json_proto POST (null) [21:40:30]execute_cgi path=json_proto method=POST [21:40:30]POST find Content-Length [21:40:30]Host: 172.17.35.133:8080 [21:40:30]Content-Length: 661 [21:40:30]Content-Type: application/json [21:40:30] [21:40:30]POST finish read [21:40:30]Found Content-Length = 661 [21:40:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256288", "tax_sys" : 0, "items" : [ { "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:40:30]execute_script... [21:40: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)256288", "tax_sys" : 0, "items" : [ { "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:40:30]POST & json_proto [21:40:30]process_json_proto [21:40:30]json parsed OK: [21:40:30]protocol is kg_v1.0 [21:40:30]action value=close_receipt [21:40:30]process_action close_receipt [21:40:30]cmd_close_receipt [21:40:30]MH_GetDate [21:40:30]Write to MH i2c: F0 00 00 1D 00 0C [21:40:30]Write i2c OK [21:40:30]MH_I2C_Read... [21:40:30]Read from MH i2c: F0 [21:40:30]MH_I2C_Read... [21:40:30]Read from MH i2c: F0 09 00 [21:40:30]MH_I2C_Read... [21:40:30]Read from MH i2c: F0 09 00 1D 00 00 CE A2 91 66 1B 28 2A 66 4F [21:40:30]GetLastDocTimeStamp 1720817253 [21:40:30]current date 1720820430 [21:40:30]FM_GetShiftState [21:40:30]SAM_PROTO_GetShiftState [21:40:30]wFMCommunicate request_size=4 [21:40:30]MH_SAM_APDU [21:40:30]CAPDU: 80 13 01 00 [21:40:30]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [21:40:30]Write i2c OK [21:40:30]MH_I2C_Read... [21:40:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:30]Read from MH i2c: E2 [21:40:30]MH_I2C_Read... [21:40:30]Read from MH i2c: E2 0E 00 [21:40:30]MH_I2C_Read... [21:40:30]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 54 [21:40:30]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [21:40:30]wFMCommunicate OK [21:40:30]SAM_PROTO_GetShiftState done [21:40:30]FM_GetShiftState done [21:40:30]opened in 1720742979 [21:40:30]opened+sec_in_day 1720829379 [21:40:30]quantity*price = 6700 [21:40:30]sum+1 = 6701 [21:40:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 67.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 57 12.07.2024 21:40 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1823 ФПД: 33232284135591 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T214030&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1823&fm=33232284135591&tin=02508201610067®Number=0000000000177495&sum=6700 0 [21:40:31]StoreToDocumentArchive [21:40:31]shift 23 fd 1823 [21:40:31]save to /storage/0023/doc_00001823 [21:40:31]save last doc name /storage/0023/doc_00001823 to /storage/kkm_last_doc_name [21:40:31]save OK [21:40:31]Clear old archive folders... [21:40:31]ProcessDocumentItem done err = 0, tmpTLVsize=284 [21:40:31]tlvbuf is 00F54780 [21:40:31]SAM_PROTO_ClearQueue [21:40:31]wFMCommunicate request_size=4 [21:40:31]MH_SAM_APDU [21:40:31]CAPDU: 80 09 00 00 [21:40:31]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [21:40:31]Write i2c OK [21:40:31]MH_I2C_Read... [21:40:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:40:31]Read from MH i2c: E2 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 03 00 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [21:40:31]RAPDU: 90 00 [21:40:31]wFMCommunicate OK [21:40:31]SAM_PROTO_ClearQueue done [21:40:31]KKMCreateOFDPacket [21:40:31]OFDProtocolAddRootSTLVToBuf [21:40:31]FM_MakeSignedData [21:40:31]FM_MakeSignedData [21:40:31]SAM_PROTO_SignData [21:40:31]wFMCommunicate request_size=4 [21:40:31]MH_SAM_APDU [21:40:31]CAPDU: 80 0D 01 02 [21:40:31]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [21:40:31]Write i2c OK [21:40:31]MH_I2C_Read... [21:40:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:40:31]Read from MH i2c: E2 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 03 00 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [21:40:31]RAPDU: 90 00 [21:40:31]wFMCommunicate OK [21:40:31]wFMCommunicate request_size=255 [21:40:31]MH_SAM_APDU [21:40:31]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 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 CE A2 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 [21:40:31]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 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 CE A2 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 00 00 89 [21:40:31]Write i2c OK [21:40:31]MH_I2C_Read... [21:40:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:40:31]Read from MH i2c: E2 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 03 00 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [21:40:31]RAPDU: 90 00 [21:40:31]wFMCommunicate OK [21:40:31]wFMCommunicate request_size=43 [21:40:31]MH_SAM_APDU [21:40:31]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1F 07 00 00 35 04 06 00 1E 39 7E 7D B0 A7 [21:40:31]Write to MH i2c: E2 2E 00 2E 00 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1F 07 00 00 35 04 06 00 1E 39 7E 7D B0 A7 00 00 62 [21:40:31]Write i2c OK [21:40:31]MH_I2C_Read... [21:40:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:40:31]Read from MH i2c: E2 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 03 00 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [21:40:31]RAPDU: 90 00 [21:40:31]wFMCommunicate OK [21:40:31]wFMCommunicate request_size=4 [21:40:31]MH_SAM_APDU [21:40:31]CAPDU: 80 0D 03 02 [21:40:31]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [21:40:31]Write i2c OK [21:40:31]MH_I2C_Read... [21:40:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:40:31]Read from MH i2c: E2 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 0B 00 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 0B 00 2F 00 00 A4 A3 50 ED E1 75 87 1F 90 00 2B [21:40:31]RAPDU: A4 A3 50 ED E1 75 87 1F 90 00 [21:40:31]wFMCommunicate OK [21:40:31]SAM_PROTO_SignData done [21:40:31]FM_MakeSignedData done [21:40:31]CreateOFDProtocolMessage [21:40:31]wFMCommunicate request_size=4 [21:40:31]MH_SAM_APDU [21:40:31]CAPDU: 80 11 00 00 [21:40:31]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [21:40:31]Write i2c OK [21:40:31]MH_I2C_Read... [21:40:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:31]Read from MH i2c: E2 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 17 00 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 00 [21:40:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [21:40:31]wFMCommunicate OK [21:40:31]CreateOFDProtocolMessage done [21:40:31]OFDSenderStorePacket 1823 [21:40:31]StoreOFDPacket docnum=1823 [21:40:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 30 01 00 00 C0 58 28 01 8F 9E 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 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 CE A2 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1F 07 00 00 35 04 06 00 1E 39 7E 7D B0 A7 A4 A3 50 ED E1 75 87 1F [21:40:31]CheckFolder [21:40:31]dirname=/storage/ofd_packets [21:40:31]CheckFolder done [21:40:31]ProducePacketName [21:40:31]name=ofd_packets/00001823 [21:40:31]NVStorageSaveData ofd_packets/00001823 [21:40:31]File name is /storage/ofd_packets/00001823 [21:40:31]Write 334 bytes [21:40:31]NVStorageSaveData done [21:40:31]OFDSenderStorePacket done [21:40:31]KKMCreateOFDPacket done [21:40:31]NVStorageSaveData kkm_last_timestamp [21:40:31]File name is /storage/kkm_last_timestamp [21:40:31]Write 4 bytes [21:40:31]NVStorageSaveData done [21:40:31]ExternCall_PrintAddStr [21:40:31]wPrintStart [21:40:31]Write to MH i2c: 01 00 00 31 00 31 [21:40:31]Write i2c OK [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: 01 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: 01 07 00 [21:40:31]MH_I2C_Read... [21:40:31]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [21:40:31]RasterBufferAndPrint [21:40:31]line Счет N : (3)256288 [21:40:31]line ИНН: 02508201610067 [21:40:31]line Контрольно-Кассовый Чек [21:40:31]line ПРОДАЖА [21:40:31]line Товар: 8710732217097 [21:40:31]line Зажигалка Cricket ПН пьезо [21:40:31]line 1.000 * 67.00 [21:40:31]line = 67.00 [21:40:31]line НДС 12% НСП 1% [21:40:31]line > о реализуемом товаре [21:40:31]line ИТОГО: 67.00 [21:40:31]line НСП 1% : 0.59 [21:40:31]line НДС 12% : 7.11 [21:40:31]line Наличными: 67.00 [21:40:31]line Безнал.: 0.00 [21:40:31]line Место: АЗС № 76 "Партнер Нефть" [21:40:31]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [21:40:31]line СНО: Общий режим [21:40:31]line Чек 57 12.07.2024 21:40 [21:40:31]line Смена: 23 ФФД: 1.0 [21:40:31]line ЗНМ: 0300000124 [21:40:31]line РНМ: 0000000000177495 [21:40:31]line Версия ККМ: 001 [21:40:31]line ФМ: 0000000002098592 [21:40:31]line ФД: 1823 [21:40:31]line ФПД: 33232284135591 [21:40:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T214030&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1823&fm=33232284135591&tin=02508201610067®Number=0000000000177495&sum=6700 [21:40:32]OFD Sender: Processing packet 1823 [packets to send 1, broken 0] [21:40:32]ProducePacketName [21:40:32]name=ofd_packets/00001823 [21:40:32]OFD Sender: To server: pG, [21:40:32]CommunicateWithHost lk.salyk.kg:30040 [21:40:32]ConnectInit lk.salyk.kg [21:40:32]line 0 [21:40:32]written 0, free lines is 4095 [21:40:32]Connected sock=10 [21:40:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 30 01 00 00 C0 58 28 01 8F 9E 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 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 CE A2 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 1F 07 00 00 35 04 06 00 1E 39 7E 7D B0 A7 A4 A3 50 ED E1 75 87 1F [21:40:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 F9 C8 47 00 E1 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 32 30 39 38 35 39 32 10 04 04 00 1F 07 00 00 F4 03 04 00 06 4E 91 66 B6 04 01 00 00 FE DD 45 E2 6A 51 36 EF [21:40:32]CommunicateWithHost err = 0 [21:40:32]CheckOFDResponse [21:40:32]1017 (14) - 77093643461234 [21:40:32]1041 (16) - 0000000002098592 [21:40:32]1040 (4) - 1823 [21:40:32]1012 (4) - 12.07.2024 15:38 [21:40:32]1206 (1) - 0 [21:40:32]OFD Sender: Remove packet 1823 [21:40:32]ProducePacketName [21:40:32]name=ofd_packets/00001823 [21:40:32]NVStorageDeleteData [21:40:32]Write to MH i2c: 01 00 00 59 00 59 [21:40:32]Write i2c OK [21:40:32]MH_I2C_Read... [21:40:32]Read from MH i2c: 01 [21:40:32]MH_I2C_Read... [21:40:32]Read from MH i2c: 01 07 00 [21:40:32]MH_I2C_Read... [21:40:32]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 0F 0D 7C [21:40:32]RasterBufferAndPrint [21:40:32]line [21:40:32]line [21:40:32]line [21:40:32]line [21:40:32]line [21:40:32]written 0, free lines is 3349 [21:40:32]MH_Cut [21:40:32]Write to MH i2c: D1 01 00 60 00 01 32 [21:40:32]Write i2c OK [21:40:32]MH_I2C_Read... [21:40:32]Read from MH i2c: D1 [21:40:32]MH_I2C_Read... [21:40:32]Read from MH i2c: D1 01 00 [21:40:32]MH_I2C_Read... [21:40:32]Read from MH i2c: D1 01 00 60 00 00 31 [21:40:32]Write to MH i2c: 01 00 00 61 00 61 [21:40:32]Write i2c OK [21:40:32]MH_I2C_Read... [21:40:32]OFD Sender: No OFD packet to send [21:40:33]*** Cut start [21:40:33]*** Partial cut [21:40:33]*** CUTSNS_PIN = 1 [21:40:33]*** CUTSNS_PIN = 0 [21:40:33]*** Brake cut motor [21:40:33]Read from MH i2c: 01 [21:40:33]MH_I2C_Read... [21:40:33]*** Stop cut motor [21:40:33]*** Cut end [21:40:33]Read from MH i2c: 01 07 00 [21:40:33]MH_I2C_Read... [21:40:33]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [21:40:33]process_action close_receipt done [21:40:33]requested_data is exist [21:40:33]produce_requested_data [21:40:33]requested_item fm.sn is exist - process it [21:40:33]wFMCommunicate request_size=4 [21:40:33]MH_SAM_APDU [21:40:33]CAPDU: 80 11 00 00 [21:40:33]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [21:40:33]Write i2c OK [21:40:33]MH_I2C_Read... [21:40:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:34]Read from MH i2c: E2 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: E2 17 00 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 32 [21:40:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [21:40:34]wFMCommunicate OK [21:40:34]requested_item fd.num is exist - process it [21:40:34]SAM_PROTO_GetFieldsCounters [21:40:34]wFMCommunicate request_size=4 [21:40:34]MH_SAM_APDU [21:40:34]CAPDU: 80 13 00 00 [21:40:34]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [21:40:34]Write i2c OK [21:40:34]MH_I2C_Read... [21:40:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:40:34]Read from MH i2c: E2 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: E2 62 00 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 1F 07 00 00 0E 04 04 00 17 00 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 F3 [21:40:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 1F 07 00 00 0E 04 04 00 17 00 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 [21:40:34]wFMCommunicate OK [21:40:34]SAM_PROTO_GetFieldsCounters done [21:40:34]requested_item shift.num is exist - process it [21:40:34]requested_item shift.opened is exist - process it [21:40:34]req_shift_opened [21:40:34]FM_GetShiftState [21:40:34]SAM_PROTO_GetShiftState [21:40:34]wFMCommunicate request_size=4 [21:40:34]MH_SAM_APDU [21:40:34]CAPDU: 80 13 01 00 [21:40:34]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [21:40:34]Write i2c OK [21:40:34]MH_I2C_Read... [21:40:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:34]Read from MH i2c: E2 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: E2 0E 00 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 9A [21:40:34]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [21:40:34]wFMCommunicate OK [21:40:34]SAM_PROTO_GetShiftState done [21:40:34]FM_GetShiftState done [21:40:34]req_shift_opened done [21:40:34]requested_item shift.open_date is exist - process it [21:40:34]req_shift_open_date [21:40:34]req_shift_open_date done [21:40:34]produce_requested_data done [21:40:34]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1823,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [21:40:34]process_action_free close_receipt [21:40:34]json_value_free [21:40:34]json_value_free done [21:40:34]process_json_proto returns [21:40:34]Send response to host [21:40:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1823,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [21:40:34]free response buf [21:40:34]execute_script done [21:40:34]execute_script returns [21:40:34]free content buf [21:40:34]Sock 8.Close socket [21:40:34]Sock 8.Thread stoped [21:40:38]OFD Sender: No OFD packet to send [21:40:43]OFD Sender: No OFD packet to send [21:40:48]OFD Sender: No OFD packet to send [21:40:53]OFD Sender: No OFD packet to send [21:40:58]OFD Sender: No OFD packet to send [21:41:03]OFD Sender: No OFD packet to send [21:41:08]OFD Sender: No OFD packet to send [21:41:13]OFD Sender: No OFD packet to send [21:41:18]OFD Sender: No OFD packet to send [21:41:23]OFD Sender: No OFD packet to send [21:41:28]OFD Sender: No OFD packet to send [21:41:33]OFD Sender: No OFD packet to send [21:41:38]OFD Sender: No OFD packet to send [21:41:43]OFD Sender: No OFD packet to send [21:41:48]OFD Sender: No OFD packet to send [21:41:53]OFD Sender: No OFD packet to send [21:41:58]OFD Sender: No OFD packet to send [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:00]accept exits with 9 [21:43:00]New connection [21:43:00]New thread 3067018596 created [21:43:00]Thread 3067161956 joined [21:43:00]Waiting for new connection... [21:43:00] Sock 9.Parse request [21:43:00]Sock 9.Check first char [21:43:00]Sock 9.First char is OK [21:43:00]request: POST /json_proto HTTP/1.0 [21:43:00]Method: POST [21:43:00]URL: /json_proto [21:43:00]Method is POST - this is cgi request [21:43:00]url: /json_proto [21:43:00]query_string will be loaded in cgi processing [21:43:00]execute_cgi json_proto POST (null) [21:43:00]execute_cgi path=json_proto method=POST [21:43:00]POST find Content-Length [21:43:00]Host: 172.17.35.133:8080 [21:43:00]Content-Length: 663 [21:43:00]Content-Type: application/json [21:43:00] [21:43:00]POST finish read [21:43:00]Found Content-Length = 663 [21:43:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256289", "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" ] } } [21:43:00]execute_script... [21:43:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256289", "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" ] } } [21:43:00]POST & json_proto [21:43:00]process_json_proto [21:43:00]json parsed OK: [21:43:00]protocol is kg_v1.0 [21:43:00]action value=close_receipt [21:43:00]process_action close_receipt [21:43:00]cmd_close_receipt [21:43:00]MH_GetDate [21:43:00]Write to MH i2c: F0 00 00 65 00 54 [21:43:00]Write i2c OK [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: F0 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: F0 09 00 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: F0 09 00 65 00 00 64 A3 91 66 1B 28 2A 66 2E [21:43:00]GetLastDocTimeStamp 1720820430 [21:43:00]current date 1720820580 [21:43:00]FM_GetShiftState [21:43:00]SAM_PROTO_GetShiftState [21:43:00]wFMCommunicate request_size=4 [21:43:00]MH_SAM_APDU [21:43:00]CAPDU: 80 13 01 00 [21:43:00]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [21:43:00]Write i2c OK [21:43:00]MH_I2C_Read... [21:43:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:43:00]Read from MH i2c: E2 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: E2 0E 00 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 9C [21:43:00]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [21:43:00]wFMCommunicate OK [21:43:00]SAM_PROTO_GetShiftState done [21:43:00]FM_GetShiftState done [21:43:00]opened in 1720742979 [21:43:00]opened+sec_in_day 1720829379 [21:43:00]quantity*price = 18000 [21:43:00]sum+1 = 18001 [21:43:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 58 12.07.2024 21:43 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1824 ФПД: 66771261690371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T214300&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1824&fm=66771261690371&tin=02508201610067®Number=0000000000177495&sum=18000 0 [21:43:01]StoreToDocumentArchive [21:43:01]shift 23 fd 1824 [21:43:01]save to /storage/0023/doc_00001824 [21:43:01]save last doc name /storage/0023/doc_00001824 to /storage/kkm_last_doc_name [21:43:01]save OK [21:43:01]Clear old archive folders... [21:43:01]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:43:01]tlvbuf is 00F3E8B0 [21:43:01]SAM_PROTO_ClearQueue [21:43:01]wFMCommunicate request_size=4 [21:43:01]MH_SAM_APDU [21:43:01]CAPDU: 80 09 00 00 [21:43:01]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:43:01]Read from MH i2c: E2 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 03 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [21:43:01]RAPDU: 90 00 [21:43:01]wFMCommunicate OK [21:43:01]SAM_PROTO_ClearQueue done [21:43:01]KKMCreateOFDPacket [21:43:01]OFDProtocolAddRootSTLVToBuf [21:43:01]FM_MakeSignedData [21:43:01]FM_MakeSignedData [21:43:01]SAM_PROTO_SignData [21:43:01]wFMCommunicate request_size=4 [21:43:01]MH_SAM_APDU [21:43:01]CAPDU: 80 0D 01 02 [21:43:01]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:43:01]Read from MH i2c: E2 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 03 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [21:43:01]RAPDU: 90 00 [21:43:01]wFMCommunicate OK [21:43:01]wFMCommunicate request_size=255 [21:43:01]MH_SAM_APDU [21:43:01]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 3A 00 00 00 F4 03 04 00 64 A3 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 [21:43:01]Write to MH i2c: E2 02 01 75 00 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 3A 00 00 00 F4 03 04 00 64 A3 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 00 00 E6 [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:43:01]Read from MH i2c: E2 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 03 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [21:43:01]RAPDU: 90 00 [21:43:01]wFMCommunicate OK [21:43:01]wFMCommunicate request_size=46 [21:43:01]MH_SAM_APDU [21:43:01]CAPDU: 80 0D 02 02 29 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 20 07 00 00 35 04 06 00 3C BA 65 55 92 03 [21:43:01]Write to MH i2c: E2 31 00 76 00 80 0D 02 02 29 00 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 20 07 00 00 35 04 06 00 3C BA 65 55 92 03 00 00 EF [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:43:01]Read from MH i2c: E2 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 03 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [21:43:01]RAPDU: 90 00 [21:43:01]wFMCommunicate OK [21:43:01]wFMCommunicate request_size=4 [21:43:01]MH_SAM_APDU [21:43:01]CAPDU: 80 0D 03 02 [21:43:01]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:43:01]Read from MH i2c: E2 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 0B 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 0B 00 77 00 00 AF 86 08 53 F0 97 C6 4D 90 00 1D [21:43:01]RAPDU: AF 86 08 53 F0 97 C6 4D 90 00 [21:43:01]wFMCommunicate OK [21:43:01]SAM_PROTO_SignData done [21:43:01]FM_MakeSignedData done [21:43:01]CreateOFDProtocolMessage [21:43:01]wFMCommunicate request_size=4 [21:43:01]MH_SAM_APDU [21:43:01]CAPDU: 80 11 00 00 [21:43:01]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:43:01]Read from MH i2c: E2 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 17 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 48 [21:43:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [21:43:01]wFMCommunicate OK [21:43:01]CreateOFDProtocolMessage done [21:43:01]OFDSenderStorePacket 1824 [21:43:01]StoreOFDPacket docnum=1824 [21:43:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 33 01 00 00 51 DE 2B 01 D8 31 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 3A 00 00 00 F4 03 04 00 64 A3 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 20 07 00 00 35 04 06 00 3C BA 65 55 92 03 AF 86 08 53 F0 97 C6 4D [21:43:01]CheckFolder [21:43:01]dirname=/storage/ofd_packets [21:43:01]CheckFolder done [21:43:01]ProducePacketName [21:43:01]name=ofd_packets/00001824 [21:43:01]NVStorageSaveData ofd_packets/00001824 [21:43:01]File name is /storage/ofd_packets/00001824 [21:43:01]Write 337 bytes [21:43:01]NVStorageSaveData done [21:43:01]OFDSenderStorePacket done [21:43:01]KKMCreateOFDPacket done [21:43:01]NVStorageSaveData kkm_last_timestamp [21:43:01]File name is /storage/kkm_last_timestamp [21:43:01]Write 4 bytes [21:43:01]NVStorageSaveData done [21:43:01]ExternCall_PrintAddStr [21:43:01]wPrintStart [21:43:01]Write to MH i2c: 01 00 00 79 00 79 [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: 01 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: 01 07 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [21:43:01]RasterBufferAndPrint [21:43:01]line Счет N : (3)256289 [21:43:01]line ИНН: 02508201610067 [21:43:01]line Контрольно-Кассовый Чек [21:43:01]line ПРОДАЖА [21:43:01]line Товар: 5449000176448 [21:43:01]line Сок Piko Pulpy апельсин ПЭТ 1л [21:43:01]line 1.000 * 180.00 [21:43:01]line = 180.00 [21:43:01]line НДС 12% НСП 1% [21:43:01]line > о реализуемом товаре [21:43:01]line ИТОГО: 180.00 [21:43:01]line НСП 1% : 1.59 [21:43:01]line НДС 12% : 19.11 [21:43:01]line Наличными: 180.00 [21:43:01]line Безнал.: 0.00 [21:43:01]line Место: АЗС № 76 "Партнер Нефть" [21:43:01]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [21:43:01]line СНО: Общий режим [21:43:02]line Чек 58 12.07.2024 21:43 [21:43:02]line Смена: 23 ФФД: 1.0 [21:43:02]line ЗНМ: 0300000124 [21:43:02]line РНМ: 0000000000177495 [21:43:02]line Версия ККМ: 001 [21:43:02]line ФМ: 0000000002098592 [21:43:02]line ФД: 1824 [21:43:02]line ФПД: 66771261690371 [21:43:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T214300&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1824&fm=66771261690371&tin=02508201610067®Number=0000000000177495&sum=18000 [21:43:02]line 0 [21:43:02]OFD Sender: Processing packet 1824 [packets to send 1, broken 0] [21:43:02]ProducePacketName [21:43:02]name=ofd_packets/00001824 [21:43:02]OFD Sender: To server: pG, [21:43:02]CommunicateWithHost lk.salyk.kg:30040 [21:43:02]ConnectInit lk.salyk.kg [21:43:02]written 0, free lines is 4095 [21:43:02]Connected sock=10 [21:43:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 33 01 00 00 51 DE 2B 01 D8 31 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 3A 00 00 00 F4 03 04 00 64 A3 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 20 07 00 00 35 04 06 00 3C BA 65 55 92 03 AF 86 08 53 F0 97 C6 4D [21:43:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 E4 64 47 00 D1 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 20 07 00 00 F4 03 04 00 9C 4E 91 66 B6 04 01 00 00 95 38 54 A8 19 08 F2 7F [21:43:02]CommunicateWithHost err = 0 [21:43:02]CheckOFDResponse [21:43:02]1017 (14) - 77093643461234 [21:43:02]1041 (16) - 0000000002098592 [21:43:02]1040 (4) - 1824 [21:43:02]1012 (4) - 12.07.2024 15:41 [21:43:02]1206 (1) - 0 [21:43:02]OFD Sender: Remove packet 1824 [21:43:02]ProducePacketName [21:43:02]name=ofd_packets/00001824 [21:43:02]NVStorageDeleteData [21:43:02]Write to MH i2c: 01 00 00 A2 00 A2 [21:43:02]Write i2c OK [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: 01 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: 01 07 00 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 FF 0C B4 [21:43:02]RasterBufferAndPrint [21:43:02]line [21:43:02]line [21:43:02]line [21:43:02]line [21:43:02]line [21:43:02]written 0, free lines is 3331 [21:43:02]MH_Cut [21:43:02]Write to MH i2c: D1 01 00 A9 00 01 7B [21:43:02]Write i2c OK [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: D1 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: D1 01 00 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: D1 01 00 A9 00 00 7A [21:43:02]Write to MH i2c: 01 00 00 AA 00 AA [21:43:02]Write i2c OK [21:43:02]MH_I2C_Read... [21:43:02]OFD Sender: No OFD packet to send [21:43:03]*** Cut start [21:43:03]*** Partial cut [21:43:03]*** CUTSNS_PIN = 1 [21:43:03]*** CUTSNS_PIN = 0 [21:43:03]*** Brake cut motor [21:43:03]Read from MH i2c: 01 [21:43:03]MH_I2C_Read... [21:43:03]*** Stop cut motor [21:43:03]*** Cut end [21:43:03]Read from MH i2c: 01 07 00 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 FF 0F BF [21:43:03]process_action close_receipt done [21:43:03]requested_data is exist [21:43:03]produce_requested_data [21:43:03]requested_item fm.sn is exist - process it [21:43:03]wFMCommunicate request_size=4 [21:43:03]MH_SAM_APDU [21:43:03]CAPDU: 80 11 00 00 [21:43:03]Write to MH i2c: E2 08 00 AB 00 80 11 00 00 00 00 00 00 25 [21:43:03]Write i2c OK [21:43:03]MH_I2C_Read... [21:43:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:43:03]Read from MH i2c: E2 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: E2 17 00 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: E2 17 00 AB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 7B [21:43:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [21:43:03]wFMCommunicate OK [21:43:03]requested_item fd.num is exist - process it [21:43:03]SAM_PROTO_GetFieldsCounters [21:43:03]wFMCommunicate request_size=4 [21:43:03]MH_SAM_APDU [21:43:03]CAPDU: 80 13 00 00 [21:43:03]Write to MH i2c: E2 08 00 AC 00 80 13 00 00 00 00 00 00 28 [21:43:03]Write i2c OK [21:43:03]MH_I2C_Read... [21:43:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:43:04]Read from MH i2c: E2 [21:43:04]MH_I2C_Read... [21:43:04]Read from MH i2c: E2 62 00 [21:43:04]MH_I2C_Read... [21:43:04]Read from MH i2c: E2 62 00 AC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 20 07 00 00 0E 04 04 00 17 00 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 40 [21:43:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 20 07 00 00 0E 04 04 00 17 00 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 [21:43:04]wFMCommunicate OK [21:43:04]SAM_PROTO_GetFieldsCounters done [21:43:04]requested_item shift.num is exist - process it [21:43:04]requested_item shift.opened is exist - process it [21:43:04]req_shift_opened [21:43:04]FM_GetShiftState [21:43:04]SAM_PROTO_GetShiftState [21:43:04]wFMCommunicate request_size=4 [21:43:04]MH_SAM_APDU [21:43:04]CAPDU: 80 13 01 00 [21:43:04]Write to MH i2c: E2 08 00 AD 00 80 13 01 00 00 00 00 00 2A [21:43:04]Write i2c OK [21:43:04]MH_I2C_Read... [21:43:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:43:04]Read from MH i2c: E2 [21:43:04]MH_I2C_Read... [21:43:04]Read from MH i2c: E2 0E 00 [21:43:04]MH_I2C_Read... [21:43:04]Read from MH i2c: E2 0E 00 AD 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 E3 [21:43:04]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [21:43:04]wFMCommunicate OK [21:43:04]SAM_PROTO_GetShiftState done [21:43:04]FM_GetShiftState done [21:43:04]req_shift_opened done [21:43:04]requested_item shift.open_date is exist - process it [21:43:04]req_shift_open_date [21:43:04]req_shift_open_date done [21:43:04]produce_requested_data done [21:43:04]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1824,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [21:43:04]process_action_free close_receipt [21:43:04]json_value_free [21:43:04]json_value_free done [21:43:04]process_json_proto returns [21:43:04]Send response to host [21:43:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1824,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [21:43:04]free response buf [21:43:04]execute_script done [21:43:04]execute_script returns [21:43:04]free content buf [21:43:04]Sock 9.Close socket [21:43:04]Sock 9.Thread stoped [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:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]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:28]OFD Sender: No OFD packet to send [22:01:33]OFD Sender: No OFD packet to send [22:01:38]OFD Sender: No OFD packet to send [22:01:43]OFD Sender: No OFD packet to send [22:01:48]OFD Sender: No OFD packet to send [22:01:53]OFD Sender: No OFD packet to send [22:01:58]OFD Sender: No OFD packet to send [22:02:03]OFD Sender: No OFD packet to send [22:02:08]OFD Sender: No OFD packet to send [22:02:13]OFD Sender: No OFD packet to send [22:02:18]OFD Sender: No OFD packet to send [22:02:23]OFD Sender: No OFD packet to send [22:02:28]OFD Sender: No OFD packet to send [22:02:33]OFD Sender: No OFD packet to send [22:02:38]OFD Sender: No OFD packet to send [22:02:43]OFD Sender: No OFD packet to send [22:02:48]OFD Sender: No OFD packet to send [22:02:53]OFD Sender: No OFD packet to send [22:02:58]OFD Sender: No OFD packet to send [22:03:03]OFD Sender: No OFD packet to send [22:03:08]OFD Sender: No OFD packet to send [22:03:13]OFD Sender: No OFD packet to send [22:03:18]OFD Sender: No OFD packet to send [22:03:23]OFD Sender: No OFD packet to send [22:03:28]OFD Sender: No OFD packet to send [22:03:33]OFD Sender: No OFD packet to send [22:03:38]OFD Sender: No OFD packet to send [22:03:43]OFD Sender: No OFD packet to send [22:03:48]OFD Sender: No OFD packet to send [22:03:53]OFD Sender: No OFD packet to send [22:03:58]OFD Sender: No OFD packet to send [22:04:03]OFD Sender: No OFD packet to send [22:04:08]OFD Sender: No OFD packet to send [22:04:13]OFD Sender: No OFD packet to send [22:04:18]OFD Sender: No OFD packet to send [22:04:23]OFD Sender: No OFD packet to send [22:04:28]OFD Sender: No OFD packet to send [22:04:33]OFD Sender: No OFD packet to send [22:04:38]OFD Sender: No OFD packet to send [22:04:43]OFD Sender: No OFD packet to send [22:04:48]OFD Sender: No OFD packet to send [22:04:53]OFD Sender: No OFD packet to send [22:04:58]OFD Sender: No OFD packet to send [22:05:03]OFD Sender: No OFD packet to send [22:05:08]OFD Sender: No OFD packet to send [22:05:13]OFD Sender: No OFD packet to send [22:05:18]OFD Sender: No OFD packet to send [22:05:23]OFD Sender: No OFD packet to send [22:05:28]OFD Sender: No OFD packet to send [22:05:33]OFD Sender: No OFD packet to send [22:05:38]OFD Sender: No OFD packet to send [22:05:43]OFD Sender: No OFD packet to send [22:05:48]OFD Sender: No OFD packet to send [22:05:53]OFD Sender: No OFD packet to send [22:05:58]OFD Sender: No OFD packet to send [22:06:03]OFD Sender: No OFD packet to send [22:06:08]OFD Sender: No OFD packet to send [22:06:13]OFD Sender: No OFD packet to send [22:06:18]OFD Sender: No OFD packet to send [22:06:23]OFD Sender: No OFD packet to send [22:06:28]OFD Sender: No OFD packet to send [22:06:33]OFD Sender: No OFD packet to send [22:06:38]OFD Sender: No OFD packet to send [22:06:43]OFD Sender: No OFD packet to send [22:06:48]OFD Sender: No OFD packet to send [22:06:53]OFD Sender: No OFD packet to send [22:06:58]OFD Sender: No OFD packet to send [22:07:03]OFD Sender: No OFD packet to send [22:07:08]OFD Sender: No OFD packet to send [22:07:13]OFD Sender: No OFD packet to send [22:07:18]OFD Sender: No OFD packet to send [22:07:23]OFD Sender: No OFD packet to send [22:07:28]OFD Sender: No OFD packet to send [22:07:33]OFD Sender: No OFD packet to send [22:07:38]OFD Sender: No OFD packet to send [22:07:43]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:08:59]OFD Sender: No OFD packet to send [22:09:04]OFD Sender: No OFD packet to send [22:09:09]OFD Sender: No OFD packet to send [22:09:14]OFD Sender: No OFD packet to send [22:09:19]OFD Sender: No OFD packet to send [22:09:24]OFD Sender: No OFD packet to send [22:09:29]OFD Sender: No OFD packet to send [22:09:34]OFD Sender: No OFD packet to send [22:09:39]OFD Sender: No OFD packet to send [22:09:44]OFD Sender: No OFD packet to send [22:09:49]OFD Sender: No OFD packet to send [22:09:54]OFD Sender: No OFD packet to send [22:09:59]OFD Sender: No OFD packet to send [22:10:04]OFD Sender: No OFD packet to send [22:10:09]OFD Sender: No OFD packet to send [22:10:14]OFD Sender: No OFD packet to send [22:10:19]OFD Sender: No OFD packet to send [22:10:24]OFD Sender: No OFD packet to send [22:10:29]OFD Sender: No OFD packet to send [22:10:34]OFD Sender: No OFD packet to send [22:10:39]OFD Sender: No OFD packet to send [22:10:44]OFD Sender: No OFD packet to send [22:10:49]OFD Sender: No OFD packet to send [22:10:54]OFD Sender: No OFD packet to send [22:10:59]OFD Sender: No OFD packet to send [22:11:04]OFD Sender: No OFD packet to send [22:11:09]OFD Sender: No OFD packet to send [22:11:14]OFD Sender: No OFD packet to send [22:11:19]OFD Sender: No OFD packet to send [22:11:24]OFD Sender: No OFD packet to send [22:11:29]OFD Sender: No OFD packet to send [22:11:34]OFD Sender: No OFD packet to send [22:11:39]OFD Sender: No OFD packet to send [22:11:44]OFD Sender: No OFD packet to send [22:11:49]OFD Sender: No OFD packet to send [22:11:54]OFD Sender: No OFD packet to send [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12:09]OFD Sender: No OFD packet to send [22:12:14]OFD Sender: No OFD packet to send [22:12:19]OFD Sender: No OFD packet to send [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]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:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:14]OFD Sender: No OFD packet to send [22:17:19]OFD Sender: No OFD packet to send [22:17:24]OFD Sender: No OFD packet to send [22:17:29]OFD Sender: No OFD packet to send [22:17:34]OFD Sender: No OFD packet to send [22:17:39]OFD Sender: No OFD packet to send [22:17:44]OFD Sender: No OFD packet to send [22:17:49]OFD Sender: No OFD packet to send [22:17:54]OFD Sender: No OFD packet to send [22:17:59]OFD Sender: No OFD packet to send [22:18:04]OFD Sender: No OFD packet to send [22:18:09]OFD Sender: No OFD packet to send [22:18:14]OFD Sender: No OFD packet to send [22:18:19]OFD Sender: No OFD packet to send [22:18:24]OFD Sender: No OFD packet to send [22:18:29]OFD Sender: No OFD packet to send [22:18:34]OFD Sender: No OFD packet to send [22:18:39]OFD Sender: No OFD packet to send [22:18:44]OFD Sender: No OFD packet to send [22:18:49]OFD Sender: No OFD packet to send [22:18:54]OFD Sender: No OFD packet to send [22:18:59]OFD Sender: No OFD packet to send [22:19:04]OFD Sender: No OFD packet to send [22:19:09]OFD Sender: No OFD packet to send [22:19:14]OFD Sender: No OFD packet to send [22:19:19]OFD Sender: No OFD packet to send [22:19:24]OFD Sender: No OFD packet to send [22:19:29]OFD Sender: No OFD packet to send [22:19:34]OFD Sender: No OFD packet to send [22:19:39]OFD Sender: No OFD packet to send [22:19:44]OFD Sender: No OFD packet to send [22:19:49]OFD Sender: No OFD packet to send [22:19:54]OFD Sender: No OFD packet to send [22:19:59]OFD Sender: No OFD packet to send [22:20:04]OFD Sender: No OFD packet to send [22:20:09]OFD Sender: No OFD packet to send [22:20:14]OFD Sender: No OFD packet to send [22:20:19]OFD Sender: No OFD packet to send [22:20:24]OFD Sender: No OFD packet to send [22:20:29]OFD Sender: No OFD packet to send [22:20:34]OFD Sender: No OFD packet to send [22:20:39]OFD Sender: No OFD packet to send [22:20:44]OFD Sender: No OFD packet to send [22:20:49]OFD Sender: No OFD packet to send [22:20:54]OFD Sender: No OFD packet to send [22:20:59]OFD Sender: No OFD packet to send [22:21:04]OFD Sender: No OFD packet to send [22:21:09]OFD Sender: No OFD packet to send [22:21:14]OFD Sender: No OFD packet to send [22:21:19]OFD Sender: No OFD packet to send [22:21:24]OFD Sender: No OFD packet to send [22:21:29]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:14]OFD Sender: No OFD packet to send [22:22:19]OFD Sender: No OFD packet to send [22:22:24]OFD Sender: No OFD packet to send [22:22:29]OFD Sender: No OFD packet to send [22:22:34]OFD Sender: No OFD packet to send [22:22:39]OFD Sender: No OFD packet to send [22:22:44]OFD Sender: No OFD packet to send [22:22:49]OFD Sender: No OFD packet to send [22:22:54]OFD Sender: No OFD packet to send [22:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:36]accept exits with 8 [22:23:36]New connection [22:23:36]New thread 3067161956 created [22:23:36]Thread 3067018596 joined [22:23:36]Waiting for new connection... [22:23:36] Sock 8.Parse request [22:23:36]Sock 8.Check first char [22:23:36]Sock 8.First char is OK [22:23:36]request: POST /json_proto HTTP/1.0 [22:23:36]Method: POST [22:23:36]URL: /json_proto [22:23:36]Method is POST - this is cgi request [22:23:36]url: /json_proto [22:23:36]query_string will be loaded in cgi processing [22:23:36]execute_cgi json_proto POST (null) [22:23:36]execute_cgi path=json_proto method=POST [22:23:36]POST find Content-Length [22:23:36]Host: 172.17.35.133:8080 [22:23:36]Content-Length: 1786 [22:23:36]Content-Type: application/json [22:23:36] [22:23:36]POST finish read [22:23:36]Found Content-Length = 1786 [22:23:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256290", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441000081", "name": "\u041D\u0430\u043F\u0438\u0442\u043A \u0422\u0430\u0440\u0445\u0443\u043D 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 486.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:36]execute_script... [22:23:37]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)256290", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441000081", "name": "\u041D\u0430\u043F\u0438\u0442\u043A \u0422\u0430\u0440\u0445\u0443\u043D 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 486.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:37]POST & json_proto [22:23:37]process_json_proto [22:23:37]json parsed OK: [22:23:37]protocol is kg_v1.0 [22:23:37]action value=close_receipt [22:23:37]process_action close_receipt [22:23:37]cmd_close_receipt [22:23:37]MH_GetDate [22:23:37]Write to MH i2c: F0 00 00 AE 00 9D [22:23:37]Write i2c OK [22:23:37]MH_I2C_Read... [22:23:37]Read from MH i2c: F0 [22:23:37]MH_I2C_Read... [22:23:37]Read from MH i2c: F0 09 00 [22:23:37]MH_I2C_Read... [22:23:37]Read from MH i2c: F0 09 00 AE 00 00 E9 AC 91 66 1B 28 2A 66 05 [22:23:37]GetLastDocTimeStamp 1720820580 [22:23:37]current date 1720823017 [22:23:37]FM_GetShiftState [22:23:37]SAM_PROTO_GetShiftState [22:23:37]wFMCommunicate request_size=4 [22:23:37]MH_SAM_APDU [22:23:37]CAPDU: 80 13 01 00 [22:23:37]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [22:23:37]Write i2c OK [22:23:37]MH_I2C_Read... [22:23:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:37]Read from MH i2c: E2 [22:23:37]MH_I2C_Read... [22:23:37]Read from MH i2c: E2 0E 00 [22:23:37]MH_I2C_Read... [22:23:37]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 43 74 90 66 00 00 00 00 90 00 E5 [22:23:37]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [22:23:37]wFMCommunicate OK [22:23:37]SAM_PROTO_GetShiftState done [22:23:37]FM_GetShiftState done [22:23:37]opened in 1720742979 [22:23:37]opened+sec_in_day 1720829379 [22:23:37]quantity*price = 15700 [22:23:37]sum+1 = 15701 [22:23:37]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000066473 Вода Бонаква 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521216 Напиток MAXI чай 1,2 зел.лимон (новый) 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4602441000081 Напитк Тархун 1л стекло 1.000 * 165.00 = 165.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 486.00 НСП 1% : 4.29 НДС 12% : 51.60 Наличными: 486.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 59 12.07.2024 22:23 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1825 ФПД: 53975847407857 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T222337&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1825&fm=53975847407857&tin=02508201610067®Number=0000000000177495&sum=48600 0 [22:23:38]StoreToDocumentArchive [22:23:38]shift 23 fd 1825 [22:23:38]save to /storage/0023/doc_00001825 [22:23:38]save last doc name /storage/0023/doc_00001825 to /storage/kkm_last_doc_name [22:23:38]save OK [22:23:38]Clear old archive folders... [22:23:38]ProcessDocumentItem done err = 0, tmpTLVsize=732 [22:23:38]tlvbuf is 00F483E0 [22:23:38]SAM_PROTO_ClearQueue [22:23:38]wFMCommunicate request_size=4 [22:23:38]MH_SAM_APDU [22:23:38]CAPDU: 80 09 00 00 [22:23:38]Write to MH i2c: E2 08 00 BC 00 80 09 00 00 00 00 00 00 2E [22:23:38]Write i2c OK [22:23:38]MH_I2C_Read... [22:23:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:23:38]Read from MH i2c: E2 [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: E2 03 00 [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [22:23:38]RAPDU: 90 00 [22:23:38]wFMCommunicate OK [22:23:38]SAM_PROTO_ClearQueue done [22:23:38]KKMCreateOFDPacket [22:23:38]OFDProtocolAddRootSTLVToBuf [22:23:38]FM_MakeSignedData [22:23:38]FM_MakeSignedData [22:23:38]SAM_PROTO_SignData [22:23:38]wFMCommunicate request_size=4 [22:23:38]MH_SAM_APDU [22:23:38]CAPDU: 80 0D 01 02 [22:23:38]Write to MH i2c: E2 08 00 BD 00 80 0D 01 02 00 00 00 00 36 [22:23:38]Write i2c OK [22:23:38]MH_I2C_Read... [22:23:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:23:38]Read from MH i2c: E2 [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: E2 03 00 [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [22:23:38]RAPDU: 90 00 [22:23:38]wFMCommunicate OK [22:23:38]wFMCommunicate request_size=255 [22:23:38]MH_SAM_APDU [22:23:38]CAPDU: 80 0D 02 02 FA 03 00 DC 02 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 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 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 [22:23:38]Write to MH i2c: E2 02 01 BE 00 80 0D 02 02 FA 00 03 00 DC 02 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 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 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 00 00 6F [22:23:38]Write i2c OK [22:23:38]MH_I2C_Read... [22:23:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:39]Read from MH i2c: E2 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [22:23:39]RAPDU: 90 00 [22:23:39]wFMCommunicate OK [22:23:39]wFMCommunicate request_size=255 [22:23:39]MH_SAM_APDU [22:23:39]CAPDU: 80 0D 02 02 FA 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 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 6E 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 30 38 31 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BA 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 [22:23:39]Write to MH i2c: E2 02 01 BF 00 80 0D 02 02 FA 00 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 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 6E 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 30 38 31 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BA 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 00 00 F4 [22:23:39]Write i2c OK [22:23:39]MH_I2C_Read... [22:23:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:39]Read from MH i2c: E2 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [22:23:39]RAPDU: 90 00 [22:23:39]wFMCommunicate OK [22:23:39]wFMCommunicate request_size=241 [22:23:39]MH_SAM_APDU [22:23:39]CAPDU: 80 0D 02 02 EC 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 BD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 14 00 00 00 00 07 04 06 00 D8 BD 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 E9 AC 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 21 07 00 00 35 04 06 00 31 17 3B 36 10 F1 [22:23:39]Write to MH i2c: E2 F4 00 C0 00 80 0D 02 02 EC 00 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 BD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 14 00 00 00 00 07 04 06 00 D8 BD 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 E9 AC 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 21 07 00 00 35 04 06 00 31 17 3B 36 10 F1 00 00 9C [22:23:39]Write i2c OK [22:23:39]MH_I2C_Read... [22:23:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:39]Read from MH i2c: E2 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [22:23:39]RAPDU: 90 00 [22:23:39]wFMCommunicate OK [22:23:39]wFMCommunicate request_size=4 [22:23:39]MH_SAM_APDU [22:23:39]CAPDU: 80 0D 03 02 [22:23:39]Write to MH i2c: E2 08 00 C1 00 80 0D 03 02 00 00 00 00 3C [22:23:39]Write i2c OK [22:23:39]MH_I2C_Read... [22:23:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:23:39]Read from MH i2c: E2 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 0B 00 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 0B 00 C1 00 00 E4 C9 A0 A3 12 1D 10 C0 90 00 2C [22:23:39]RAPDU: E4 C9 A0 A3 12 1D 10 C0 90 00 [22:23:39]wFMCommunicate OK [22:23:39]SAM_PROTO_SignData done [22:23:39]FM_MakeSignedData done [22:23:39]CreateOFDProtocolMessage [22:23:39]wFMCommunicate request_size=4 [22:23:39]MH_SAM_APDU [22:23:39]CAPDU: 80 11 00 00 [22:23:39]Write to MH i2c: E2 08 00 C2 00 80 11 00 00 00 00 00 00 3C [22:23:39]Write i2c OK [22:23:39]MH_I2C_Read... [22:23:39]OFD Sender: No OFD packet to send [22:23:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:39]Read from MH i2c: E2 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 17 00 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 17 00 C2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 92 [22:23:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [22:23:39]wFMCommunicate OK [22:23:39]CreateOFDProtocolMessage done [22:23:39]OFDSenderStorePacket 1825 [22:23:39]StoreOFDPacket docnum=1825 [22:23:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 F0 02 00 00 99 37 E8 02 84 99 5A 03 01 00 03 00 DC 02 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 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 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 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 6E 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 30 38 31 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BA 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 BD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 14 00 00 00 00 07 04 06 00 D8 BD 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 E9 AC 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 21 07 00 00 35 04 06 00 31 17 3B 36 10 F1 E4 C9 A0 A3 12 1D 10 C0 [22:23:39]CheckFolder [22:23:39]dirname=/storage/ofd_packets [22:23:39]CheckFolder done [22:23:39]ProducePacketName [22:23:39]name=ofd_packets/00001825 [22:23:39]NVStorageSaveData ofd_packets/00001825 [22:23:39]File name is /storage/ofd_packets/00001825 [22:23:39]Write 782 bytes [22:23:39]NVStorageSaveData done [22:23:39]OFDSenderStorePacket done [22:23:39]KKMCreateOFDPacket done [22:23:39]NVStorageSaveData kkm_last_timestamp [22:23:39]File name is /storage/kkm_last_timestamp [22:23:39]Write 4 bytes [22:23:39]NVStorageSaveData done [22:23:39]ExternCall_PrintAddStr [22:23:39]wPrintStart [22:23:39]Write to MH i2c: 01 00 00 C3 00 C3 [22:23:39]Write i2c OK [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: 01 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: 01 07 00 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: 01 07 00 C3 00 00 00 00 00 00 FF 0F D8 [22:23:39]RasterBufferAndPrint [22:23:39]line Счет N : (3)256290 [22:23:39]line ИНН: 02508201610067 [22:23:39]line Контрольно-Кассовый Чек [22:23:39]line ПРОДАЖА [22:23:39]line Товар: 90162602 [22:23:39]line Энерг напиток Red bull 0,25л [22:23:39]line 1.000 * 157.00 [22:23:39]line = 157.00 [22:23:39]line НДС 12% НСП 1% [22:23:39]line > о реализуемом товаре [22:23:39]line Товар: 5449000066473 [22:23:39]line Вода Бонаква 1л [22:23:39]line 1.000 * 50.00 [22:23:39]line = 50.00 [22:23:39]line НДС 12% НСП 1% [22:23:39]line > о реализуемом товаре [22:23:39]line Товар: 4870202521216 [22:23:39]line Напиток MAXI чай 1,2 зел.лимон (новый) [22:23:39]line 1.000 * 110.00 [22:23:39]line = 110.00 [22:23:39]line НДС 12% НСП 1% [22:23:39]line > о реализуемом товаре [22:23:39]line Товар: 4602441000081 [22:23:39]line Напитк Тархун 1л стекло [22:23:39]line 1.000 * 165.00 [22:23:39]line = 165.00 [22:23:39]line НДС 12% НСП 1% [22:23:39]line > о реализуемом товаре [22:23:39]line Товар: 2000031750019 [22:23:39]line Пакет Партнер Нефть [22:23:39]line 1.000 * 4.00 [22:23:39]line = 4.00 [22:23:39]line НДС 12% НСП 1% [22:23:39]line > о реализуемом товаре [22:23:40]line ИТОГО: 486.00 [22:23:40]line НСП 1% : 4.29 [22:23:40]line НДС 12% : 51.60 [22:23:40]line Наличными: 486.00 [22:23:40]line Безнал.: 0.00 [22:23:40]line Место: АЗС № 76 "Партнер Нефть" [22:23:40]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [22:23:40]line СНО: Общий режим [22:23:40]line Чек 59 12.07.2024 22:23 [22:23:40]line Смена: 23 ФФД: 1.0 [22:23:40]line ЗНМ: 0300000124 [22:23:40]line РНМ: 0000000000177495 [22:23:40]line Версия ККМ: 001 [22:23:40]line ФМ: 0000000002098592 [22:23:40]line ФД: 1825 [22:23:40]line ФПД: 53975847407857 [22:23:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T222337&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1825&fm=53975847407857&tin=02508201610067®Number=0000000000177495&sum=48600 [22:23:40]line 0 [22:23:40]OFD Sender: Processing packet 1825 [packets to send 1, broken 0] [22:23:40]ProducePacketName [22:23:40]name=ofd_packets/00001825 [22:23:40]OFD Sender: To server: pG, [22:23:40]CommunicateWithHost lk.salyk.kg:30040 [22:23:40]ConnectInit lk.salyk.kg [22:23:40]written 0, free lines is 4095 [22:23:40]Connected sock=10 [22:23:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 F0 02 00 00 99 37 E8 02 84 99 5A 03 01 00 03 00 DC 02 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 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 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 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 6E 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 30 38 31 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BA 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 BD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 14 00 00 00 00 07 04 06 00 D8 BD 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 E9 AC 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 21 07 00 00 35 04 06 00 31 17 3B 36 10 F1 E4 C9 A0 A3 12 1D 10 C0 [22:23:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 62 9A 47 00 96 E8 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 32 30 39 38 35 39 32 10 04 04 00 21 07 00 00 F4 03 04 00 22 58 91 66 B6 04 01 00 00 34 1F 22 CF 7B C5 B5 34 [22:23:40]CommunicateWithHost err = 0 [22:23:40]CheckOFDResponse [22:23:40]1017 (14) - 77093643461234 [22:23:40]1041 (16) - 0000000002098592 [22:23:40]1040 (4) - 1825 [22:23:40]1012 (4) - 12.07.2024 16:21 [22:23:40]1206 (1) - 0 [22:23:40]OFD Sender: Remove packet 1825 [22:23:40]ProducePacketName [22:23:40]name=ofd_packets/00001825 [22:23:40]NVStorageDeleteData [22:23:40]Write to MH i2c: 01 00 00 04 01 05 [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 07 00 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 07 00 04 01 00 00 00 00 00 94 0B AB [22:23:40]RasterBufferAndPrint [22:23:40]line [22:23:40]line [22:23:40]line [22:23:40]line [22:23:40]line [22:23:40]written 0, free lines is 2973 [22:23:40]MH_Cut [22:23:40]Write to MH i2c: D1 01 00 0B 01 01 DE [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: D1 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: D1 01 00 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: D1 01 00 0B 01 00 DD [22:23:40]Write to MH i2c: 01 00 00 0C 01 0D [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]OFD Sender: No OFD packet to send [22:23:41]*** Cut start [22:23:41]*** Partial cut [22:23:41]*** CUTSNS_PIN = 1 [22:23:41]*** CUTSNS_PIN = 0 [22:23:42]*** Brake cut motor [22:23:42]Read from MH i2c: 01 [22:23:42]MH_I2C_Read... [22:23:42]*** Stop cut motor [22:23:42]*** Cut end [22:23:42]Read from MH i2c: 01 07 00 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: 01 07 00 0C 01 00 00 00 00 00 FF 0F 22 [22:23:42]process_action close_receipt done [22:23:42]requested_data is exist [22:23:42]produce_requested_data [22:23:42]requested_item fm.sn is exist - process it [22:23:42]wFMCommunicate request_size=4 [22:23:42]MH_SAM_APDU [22:23:42]CAPDU: 80 11 00 00 [22:23:42]Write to MH i2c: E2 08 00 0D 01 80 11 00 00 00 00 00 00 88 [22:23:42]Write i2c OK [22:23:42]MH_I2C_Read... [22:23:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:42]Read from MH i2c: E2 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 17 00 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 17 00 0D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 DE [22:23:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [22:23:42]wFMCommunicate OK [22:23:42]requested_item fd.num is exist - process it [22:23:42]SAM_PROTO_GetFieldsCounters [22:23:42]wFMCommunicate request_size=4 [22:23:42]MH_SAM_APDU [22:23:42]CAPDU: 80 13 00 00 [22:23:42]Write to MH i2c: E2 08 00 0E 01 80 13 00 00 00 00 00 00 8B [22:23:42]Write i2c OK [22:23:42]MH_I2C_Read... [22:23:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:23:42]Read from MH i2c: E2 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 62 00 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 62 00 0E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 21 07 00 00 0E 04 04 00 17 00 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 A7 [22:23:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 21 07 00 00 0E 04 04 00 17 00 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:23:42]wFMCommunicate OK [22:23:42]SAM_PROTO_GetFieldsCounters done [22:23:42]requested_item shift.num is exist - process it [22:23:42]requested_item shift.opened is exist - process it [22:23:42]req_shift_opened [22:23:42]FM_GetShiftState [22:23:42]SAM_PROTO_GetShiftState [22:23:42]wFMCommunicate request_size=4 [22:23:42]MH_SAM_APDU [22:23:42]CAPDU: 80 13 01 00 [22:23:42]Write to MH i2c: E2 08 00 0F 01 80 13 01 00 00 00 00 00 8D [22:23:42]Write i2c OK [22:23:42]MH_I2C_Read... [22:23:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:42]Read from MH i2c: E2 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 0E 00 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 0E 00 0F 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 46 [22:23:42]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [22:23:42]wFMCommunicate OK [22:23:42]SAM_PROTO_GetShiftState done [22:23:42]FM_GetShiftState done [22:23:42]req_shift_opened done [22:23:42]requested_item shift.open_date is exist - process it [22:23:42]req_shift_open_date [22:23:42]req_shift_open_date done [22:23:42]produce_requested_data done [22:23:42]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1825,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [22:23:42]process_action_free close_receipt [22:23:42]json_value_free [22:23:42]json_value_free done [22:23:42]process_json_proto returns [22:23:42]Send response to host [22:23:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1825,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [22:23:42]free response buf [22:23:42]execute_script done [22:23:42]execute_script returns [22:23:42]free content buf [22:23:42]Sock 8.Close socket [22:23:42]Sock 8.Thread stoped [22:23:45]OFD Sender: No OFD packet to send [22:23:50]OFD Sender: No OFD packet to send [22:23:55]OFD Sender: No OFD packet to send [22:24:00]OFD Sender: No OFD packet to send [22:24:05]OFD Sender: No OFD packet to send [22:24:10]OFD Sender: No OFD packet to send [22:24:15]OFD Sender: No OFD packet to send [22:24:20]OFD Sender: No OFD packet to send [22:24:25]OFD Sender: No OFD packet to send [22:24:30]OFD Sender: No OFD packet to send [22:24:35]OFD Sender: No OFD packet to send [22:24:40]OFD Sender: No OFD packet to send [22:24:45]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:52]accept exits with 9 [22:24:52]New connection [22:24:52]New thread 3067018596 created [22:24:52]Thread 3067161956 joined [22:24:52]Waiting for new connection... [22:24:52] Sock 9.Parse request [22:24:52]Sock 9.Check first char [22:24:52]Sock 9.First char is OK [22:24:52]request: POST /json_proto HTTP/1.0 [22:24:52]Method: POST [22:24:52]URL: /json_proto [22:24:52]Method is POST - this is cgi request [22:24:52]url: /json_proto [22:24:52]query_string will be loaded in cgi processing [22:24:52]execute_cgi json_proto POST (null) [22:24:52]execute_cgi path=json_proto method=POST [22:24:52]POST find Content-Length [22:24:52]Host: 172.17.35.133:8080 [22:24:52]Content-Length: 932 [22:24:52]Content-Type: application/json [22:24:52] [22:24:52]POST finish read [22:24:52]Found Content-Length = 932 [22:24:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256291", "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" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607084351378", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 6\u0448\u0442", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:24:52]execute_script... [22:24:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256291", "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" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607084351378", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 6\u0448\u0442", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:24:52]POST & json_proto [22:24:52]process_json_proto [22:24:52]json parsed OK: [22:24:52]protocol is kg_v1.0 [22:24:52]action value=close_receipt [22:24:52]process_action close_receipt [22:24:52]cmd_close_receipt [22:24:52]MH_GetDate [22:24:52]Write to MH i2c: F0 00 00 10 01 00 [22:24:52]Write i2c OK [22:24:52]MH_I2C_Read... [22:24:52]Read from MH i2c: F0 [22:24:52]MH_I2C_Read... [22:24:52]Read from MH i2c: F0 09 00 [22:24:52]MH_I2C_Read... [22:24:52]Read from MH i2c: F0 09 00 10 01 00 34 AD 91 66 1B 28 2A 66 B4 [22:24:52]GetLastDocTimeStamp 1720823017 [22:24:52]current date 1720823092 [22:24:52]FM_GetShiftState [22:24:52]SAM_PROTO_GetShiftState [22:24:52]wFMCommunicate request_size=4 [22:24:52]MH_SAM_APDU [22:24:52]CAPDU: 80 13 01 00 [22:24:52]Write to MH i2c: E2 08 00 11 01 80 13 01 00 00 00 00 00 8F [22:24:52]Write i2c OK [22:24:52]MH_I2C_Read... [22:24:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:24:52]Read from MH i2c: E2 [22:24:52]MH_I2C_Read... [22:24:52]Read from MH i2c: E2 0E 00 [22:24:52]MH_I2C_Read... [22:24:52]Read from MH i2c: E2 0E 00 11 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 48 [22:24:52]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [22:24:52]wFMCommunicate OK [22:24:52]SAM_PROTO_GetShiftState done [22:24:52]FM_GetShiftState done [22:24:52]opened in 1720742979 [22:24:52]opened+sec_in_day 1720829379 [22:24:52]quantity*price = 12500 [22:24:52]sum+1 = 12501 [22:24:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607084351378 Бисквит Чоко пай 6шт 1.000 * 175.00 = 175.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.66 НДС 12% : 31.85 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 60 12.07.2024 22:24 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1826 ФПД: 189000760888374 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T222452&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1826&fm=189000760888374&tin=02508201610067®Number=0000000000177495&sum=30000 0 [22:24:53]StoreToDocumentArchive [22:24:53]shift 23 fd 1826 [22:24:53]save to /storage/0023/doc_00001826 [22:24:53]save last doc name /storage/0023/doc_00001826 to /storage/kkm_last_doc_name [22:24:53]save OK [22:24:53]Clear old archive folders... [22:24:53]ProcessDocumentItem done err = 0, tmpTLVsize=386 [22:24:53]tlvbuf is 00F85000 [22:24:53]SAM_PROTO_ClearQueue [22:24:53]wFMCommunicate request_size=4 [22:24:53]MH_SAM_APDU [22:24:53]CAPDU: 80 09 00 00 [22:24:53]Write to MH i2c: E2 08 00 1E 01 80 09 00 00 00 00 00 00 91 [22:24:53]Write i2c OK [22:24:53]MH_I2C_Read... [22:24:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:24:53]Read from MH i2c: E2 [22:24:53]MH_I2C_Read... [22:24:53]Read from MH i2c: E2 03 00 [22:24:53]MH_I2C_Read... [22:24:53]Read from MH i2c: E2 03 00 1E 01 00 90 00 93 [22:24:53]RAPDU: 90 00 [22:24:53]wFMCommunicate OK [22:24:53]SAM_PROTO_ClearQueue done [22:24:53]KKMCreateOFDPacket [22:24:53]OFDProtocolAddRootSTLVToBuf [22:24:53]FM_MakeSignedData [22:24:53]FM_MakeSignedData [22:24:53]SAM_PROTO_SignData [22:24:53]wFMCommunicate request_size=4 [22:24:53]MH_SAM_APDU [22:24:53]CAPDU: 80 0D 01 02 [22:24:53]Write to MH i2c: E2 08 00 1F 01 80 0D 01 02 00 00 00 00 99 [22:24:53]Write i2c OK [22:24:53]MH_I2C_Read... [22:24:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:24:53]Read from MH i2c: E2 [22:24:53]MH_I2C_Read... [22:24:53]Read from MH i2c: E2 03 00 [22:24:53]MH_I2C_Read... [22:24:53]Read from MH i2c: E2 03 00 1F 01 00 90 00 94 [22:24:53]RAPDU: 90 00 [22:24:53]wFMCommunicate OK [22:24:53]wFMCommunicate request_size=255 [22:24:53]MH_SAM_APDU [22:24:53]CAPDU: 80 0D 02 02 FA 03 00 82 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 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 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 37 38 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 36 D1 88 D1 82 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 [22:24:53]Write to MH i2c: E2 02 01 20 01 80 0D 02 02 FA 00 03 00 82 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 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 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 37 38 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 36 D1 88 D1 82 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 00 00 F2 [22:24:53]Write i2c OK [22:24:53]MH_I2C_Read... [22:24:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:24:53]Read from MH i2c: E2 [22:24:53]MH_I2C_Read... [22:24:53]Read from MH i2c: E2 03 00 [22:24:53]MH_I2C_Read... [22:24:53]Read from MH i2c: E2 03 00 20 01 00 90 00 95 [22:24:53]RAPDU: 90 00 [22:24:53]wFMCommunicate OK [22:24:53]wFMCommunicate request_size=145 [22:24:53]MH_SAM_APDU [22:24:53]CAPDU: 80 0D 02 02 8C 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 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 34 AD 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 22 07 00 00 35 04 06 00 AB E5 2B 37 0C 36 [22:24:53]Write to MH i2c: E2 94 00 21 01 80 0D 02 02 8C 00 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 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 34 AD 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 22 07 00 00 35 04 06 00 AB E5 2B 37 0C 36 00 00 A7 [22:24:53]Write i2c OK [22:24:53]MH_I2C_Read... [22:24:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:24:54]Read from MH i2c: E2 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: E2 03 00 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: E2 03 00 21 01 00 90 00 96 [22:24:54]RAPDU: 90 00 [22:24:54]wFMCommunicate OK [22:24:54]wFMCommunicate request_size=4 [22:24:54]MH_SAM_APDU [22:24:54]CAPDU: 80 0D 03 02 [22:24:54]Write to MH i2c: E2 08 00 22 01 80 0D 03 02 00 00 00 00 9E [22:24:54]Write i2c OK [22:24:54]MH_I2C_Read... [22:24:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:24:54]Read from MH i2c: E2 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: E2 0B 00 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: E2 0B 00 22 01 00 7E A7 68 13 E7 B0 BC 00 90 00 92 [22:24:54]RAPDU: 7E A7 68 13 E7 B0 BC 00 90 00 [22:24:54]wFMCommunicate OK [22:24:54]SAM_PROTO_SignData done [22:24:54]FM_MakeSignedData done [22:24:54]CreateOFDProtocolMessage [22:24:54]wFMCommunicate request_size=4 [22:24:54]MH_SAM_APDU [22:24:54]CAPDU: 80 11 00 00 [22:24:54]Write to MH i2c: E2 08 00 23 01 80 11 00 00 00 00 00 00 9E [22:24:54]Write i2c OK [22:24:54]MH_I2C_Read... [22:24:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:24:54]Read from MH i2c: E2 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: E2 17 00 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: E2 17 00 23 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 F4 [22:24:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [22:24:54]wFMCommunicate OK [22:24:54]CreateOFDProtocolMessage done [22:24:54]OFDSenderStorePacket 1826 [22:24:54]StoreOFDPacket docnum=1826 [22:24:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 96 01 00 00 D6 8D 8E 01 CF 9B 5A 03 01 00 03 00 82 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 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 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 37 38 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 36 D1 88 D1 82 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 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 34 AD 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 22 07 00 00 35 04 06 00 AB E5 2B 37 0C 36 7E A7 68 13 E7 B0 BC 00 [22:24:54]CheckFolder [22:24:54]dirname=/storage/ofd_packets [22:24:54]CheckFolder done [22:24:54]ProducePacketName [22:24:54]name=ofd_packets/00001826 [22:24:54]NVStorageSaveData ofd_packets/00001826 [22:24:54]File name is /storage/ofd_packets/00001826 [22:24:54]Write 436 bytes [22:24:54]NVStorageSaveData done [22:24:54]OFDSenderStorePacket done [22:24:54]KKMCreateOFDPacket done [22:24:54]NVStorageSaveData kkm_last_timestamp [22:24:54]File name is /storage/kkm_last_timestamp [22:24:54]Write 4 bytes [22:24:54]NVStorageSaveData done [22:24:54]ExternCall_PrintAddStr [22:24:54]wPrintStart [22:24:54]Write to MH i2c: 01 00 00 24 01 25 [22:24:54]Write i2c OK [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: 01 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: 01 07 00 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: 01 07 00 24 01 00 00 00 00 00 FF 0F 3A [22:24:54]RasterBufferAndPrint [22:24:54]line Счет N : (3)256291 [22:24:54]line ИНН: 02508201610067 [22:24:54]line Контрольно-Кассовый Чек [22:24:54]line ПРОДАЖА [22:24:54]line Товар: 5449000054227 [22:24:54]line Напиток Кока-Кола 1л [22:24:54]line 1.000 * 125.00 [22:24:54]line = 125.00 [22:24:54]line НДС 12% НСП 1% [22:24:54]line > о реализуемом товаре [22:24:54]line Товар: 4607084351378 [22:24:54]line Бисквит Чоко пай 6шт [22:24:54]line 1.000 * 175.00 [22:24:54]line = 175.00 [22:24:54]line НДС 12% НСП 1% [22:24:54]line > о реализуемом товаре [22:24:54]line ИТОГО: 300.00 [22:24:54]line НСП 1% : 2.66 [22:24:54]line НДС 12% : 31.85 [22:24:54]line Наличными: 300.00 [22:24:54]line Безнал.: 0.00 [22:24:54]line Место: АЗС № 76 "Партнер Нефть" [22:24:54]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [22:24:54]line СНО: Общий режим [22:24:54]line Чек 60 12.07.2024 22:24 [22:24:54]line Смена: 23 ФФД: 1.0 [22:24:54]line ЗНМ: 0300000124 [22:24:54]line РНМ: 0000000000177495 [22:24:54]line Версия ККМ: 001 [22:24:54]line ФМ: 0000000002098592 [22:24:54]line ФД: 1826 [22:24:54]line ФПД: 189000760888374 [22:24:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T222452&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1826&fm=189000760888374&tin=02508201610067®Number=0000000000177495&sum=30000 [22:24:54]line 0 [22:24:54]OFD Sender: Processing packet 1826 [packets to send 1, broken 0] [22:24:54]ProducePacketName [22:24:54]name=ofd_packets/00001826 [22:24:54]OFD Sender: To server: pG, [22:24:54]CommunicateWithHost lk.salyk.kg:30040 [22:24:54]ConnectInit lk.salyk.kg [22:24:54]written 0, free lines is 4095 [22:24:54]Connected sock=10 [22:24:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 96 01 00 00 D6 8D 8E 01 CF 9B 5A 03 01 00 03 00 82 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 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 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 37 38 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 36 D1 88 D1 82 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 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 34 AD 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 22 07 00 00 35 04 06 00 AB E5 2B 37 0C 36 7E A7 68 13 E7 B0 BC 00 [22:24:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 E5 E7 47 00 20 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 32 30 39 38 35 39 32 10 04 04 00 22 07 00 00 F4 03 04 00 6C 58 91 66 B6 04 01 00 00 89 CF DA 6E 3A D1 2D BB [22:24:54]CommunicateWithHost err = 0 [22:24:54]CheckOFDResponse [22:24:54]1017 (14) - 77093643461234 [22:24:54]1041 (16) - 0000000002098592 [22:24:54]1040 (4) - 1826 [22:24:54]1012 (4) - 12.07.2024 16:23 [22:24:54]1206 (1) - 0 [22:24:54]OFD Sender: Remove packet 1826 [22:24:54]ProducePacketName [22:24:54]name=ofd_packets/00001826 [22:24:54]NVStorageDeleteData [22:24:54]Write to MH i2c: 01 00 00 52 01 53 [22:24:54]Write i2c OK [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: 01 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: 01 07 00 [22:24:54]MH_I2C_Read... [22:24:54]Read from MH i2c: 01 07 00 52 01 00 00 00 00 00 BF 0C 25 [22:24:54]RasterBufferAndPrint [22:24:54]line [22:24:54]line [22:24:54]line [22:24:54]line [22:24:54]line [22:24:54]written 0, free lines is 3271 [22:24:55]MH_Cut [22:24:55]Write to MH i2c: D1 01 00 59 01 01 2C [22:24:55]Write i2c OK [22:24:55]MH_I2C_Read... [22:24:55]Read from MH i2c: D1 [22:24:55]MH_I2C_Read... [22:24:55]Read from MH i2c: D1 01 00 [22:24:55]MH_I2C_Read... [22:24:55]Read from MH i2c: D1 01 00 59 01 00 2B [22:24:55]Write to MH i2c: 01 00 00 5A 01 5B [22:24:55]Write i2c OK [22:24:55]MH_I2C_Read... [22:24:55]OFD Sender: No OFD packet to send [22:24:55]*** Cut start [22:24:55]*** Partial cut [22:24:55]*** CUTSNS_PIN = 1 [22:24:55]*** CUTSNS_PIN = 0 [22:24:56]*** Brake cut motor [22:24:56]Read from MH i2c: 01 [22:24:56]MH_I2C_Read... [22:24:56]*** Stop cut motor [22:24:56]*** Cut end [22:24:56]Read from MH i2c: 01 07 00 [22:24:56]MH_I2C_Read... [22:24:56]Read from MH i2c: 01 07 00 5A 01 00 00 00 00 00 FF 0F 70 [22:24:56]process_action close_receipt done [22:24:56]requested_data is exist [22:24:56]produce_requested_data [22:24:56]requested_item fm.sn is exist - process it [22:24:56]wFMCommunicate request_size=4 [22:24:56]MH_SAM_APDU [22:24:56]CAPDU: 80 11 00 00 [22:24:56]Write to MH i2c: E2 08 00 5B 01 80 11 00 00 00 00 00 00 D6 [22:24:56]Write i2c OK [22:24:56]MH_I2C_Read... [22:24:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:24:56]Read from MH i2c: E2 [22:24:56]MH_I2C_Read... [22:24:56]Read from MH i2c: E2 17 00 [22:24:56]MH_I2C_Read... [22:24:56]Read from MH i2c: E2 17 00 5B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 2C [22:24:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [22:24:56]wFMCommunicate OK [22:24:56]requested_item fd.num is exist - process it [22:24:56]SAM_PROTO_GetFieldsCounters [22:24:56]wFMCommunicate request_size=4 [22:24:56]MH_SAM_APDU [22:24:56]CAPDU: 80 13 00 00 [22:24:56]Write to MH i2c: E2 08 00 5C 01 80 13 00 00 00 00 00 00 D9 [22:24:56]Write i2c OK [22:24:56]MH_I2C_Read... [22:24:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:24:56]Read from MH i2c: E2 [22:24:56]MH_I2C_Read... [22:24:56]Read from MH i2c: E2 62 00 [22:24:56]MH_I2C_Read... [22:24:56]Read from MH i2c: E2 62 00 5C 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 22 07 00 00 0E 04 04 00 17 00 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 F9 [22:24:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 22 07 00 00 0E 04 04 00 17 00 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:24:56]wFMCommunicate OK [22:24:56]SAM_PROTO_GetFieldsCounters done [22:24:56]requested_item shift.num is exist - process it [22:24:56]requested_item shift.opened is exist - process it [22:24:56]req_shift_opened [22:24:56]FM_GetShiftState [22:24:56]SAM_PROTO_GetShiftState [22:24:56]wFMCommunicate request_size=4 [22:24:56]MH_SAM_APDU [22:24:56]CAPDU: 80 13 01 00 [22:24:56]Write to MH i2c: E2 08 00 5D 01 80 13 01 00 00 00 00 00 DB [22:24:56]Write i2c OK [22:24:56]MH_I2C_Read... [22:24:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:24:56]Read from MH i2c: E2 [22:24:56]MH_I2C_Read... [22:24:56]Read from MH i2c: E2 0E 00 [22:24:56]MH_I2C_Read... [22:24:56]Read from MH i2c: E2 0E 00 5D 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 94 [22:24:56]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [22:24:56]wFMCommunicate OK [22:24:56]SAM_PROTO_GetShiftState done [22:24:56]FM_GetShiftState done [22:24:56]req_shift_opened done [22:24:56]requested_item shift.open_date is exist - process it [22:24:56]req_shift_open_date [22:24:56]req_shift_open_date done [22:24:56]produce_requested_data done [22:24:56]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1826,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [22:24:56]process_action_free close_receipt [22:24:56]json_value_free [22:24:56]json_value_free done [22:24:56]process_json_proto returns [22:24:56]Send response to host [22:24:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1826,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [22:24:56]free response buf [22:24:56]execute_script done [22:24:56]execute_script returns [22:24:56]free content buf [22:24:56]Sock 9.Close socket [22:24:56]Sock 9.Thread stoped [22:25:00]OFD Sender: No OFD packet to send [22:25:05]OFD Sender: No OFD packet to send [22:25:10]OFD Sender: No OFD packet to send [22:25:15]OFD Sender: No OFD packet to send [22:25:20]OFD Sender: No OFD packet to send [22:25:25]OFD Sender: No OFD packet to send [22:25:30]OFD Sender: No OFD packet to send [22:25:35]OFD Sender: No OFD packet to send [22:25:40]OFD Sender: No OFD packet to send [22:25:45]OFD Sender: No OFD packet to send [22:25:50]OFD Sender: No OFD packet to send [22:25:55]OFD Sender: No OFD packet to send [22:26:00]OFD Sender: No OFD packet to send [22:26:05]OFD Sender: No OFD packet to send [22:26:10]OFD Sender: No OFD packet to send [22:26:15]OFD Sender: No OFD packet to send [22:26:20]OFD Sender: No OFD packet to send [22:26:25]OFD Sender: No OFD packet to send [22:26:30]OFD Sender: No OFD packet to send [22:26:35]OFD Sender: No OFD packet to send [22:26:40]OFD Sender: No OFD packet to send [22:26:45]OFD Sender: No OFD packet to send [22:26:50]OFD Sender: No OFD packet to send [22:26:55]OFD Sender: No OFD packet to send [22:27:00]OFD Sender: No OFD packet to send [22:27:05]OFD Sender: No OFD packet to send [22:27:10]OFD Sender: No OFD packet to send [22:27:15]OFD Sender: No OFD packet to send [22:27:20]OFD Sender: No OFD packet to send [22:27:25]OFD Sender: No OFD packet to send [22:27:30]OFD Sender: No OFD packet to send [22:27:35]OFD Sender: No OFD packet to send [22:27:40]OFD Sender: No OFD packet to send [22:27:45]OFD Sender: No OFD packet to send [22:27:50]OFD Sender: No OFD packet to send [22:27:55]OFD Sender: No OFD packet to send [22:28:00]OFD Sender: No OFD packet to send [22:28:05]OFD Sender: No OFD packet to send [22:28:10]OFD Sender: No OFD packet to send [22:28:15]OFD Sender: No OFD packet to send [22:28:20]OFD Sender: No OFD packet to send [22:28:25]OFD Sender: No OFD packet to send [22:28:30]OFD Sender: No OFD packet to send [22:28:35]OFD Sender: No OFD packet to send [22:28:40]OFD Sender: No OFD packet to send [22:28:45]OFD Sender: No OFD packet to send [22:28:50]OFD Sender: No OFD packet to send [22:28:55]OFD Sender: No OFD packet to send [22:29:00]OFD Sender: No OFD packet to send [22:29:05]OFD Sender: No OFD packet to send [22:29:10]OFD Sender: No OFD packet to send [22:29:15]OFD Sender: No OFD packet to send [22:29:20]OFD Sender: No OFD packet to send [22:29:25]OFD Sender: No OFD packet to send [22:29:30]OFD Sender: No OFD packet to send [22:29:35]OFD Sender: No OFD packet to send [22:29:40]OFD Sender: No OFD packet to send [22:29:45]OFD Sender: No OFD packet to send [22:29:50]OFD Sender: No OFD packet to send [22:29:55]OFD Sender: No OFD packet to send [22:30:00]OFD Sender: No OFD packet to send [22:30:05]OFD Sender: No OFD packet to send [22:30:10]OFD Sender: No OFD packet to send [22:30:15]OFD Sender: No OFD packet to send [22:30:20]OFD Sender: No OFD packet to send [22:30:25]OFD Sender: No OFD packet to send [22:30:30]OFD Sender: No OFD packet to send [22:30:35]OFD Sender: No OFD packet to send [22:30:40]OFD Sender: No OFD packet to send [22:30:45]OFD Sender: No OFD packet to send [22:30:50]OFD Sender: No OFD packet to send [22:30:55]OFD Sender: No OFD packet to send [22:31:00]OFD Sender: No OFD packet to send [22:31:05]OFD Sender: No OFD packet to send [22:31:10]OFD Sender: No OFD packet to send [22:31:15]OFD Sender: No OFD packet to send [22:31:20]OFD Sender: No OFD packet to send [22:31:25]OFD Sender: No OFD packet to send [22:31:30]OFD Sender: No OFD packet to send [22:31:35]OFD Sender: No OFD packet to send [22:31:40]OFD Sender: No OFD packet to send [22:31:45]OFD Sender: No OFD packet to send [22:31:50]OFD Sender: No OFD packet to send [22:31:55]OFD Sender: No OFD packet to send [22:32:00]OFD Sender: No OFD packet to send [22:32:05]OFD Sender: No OFD packet to send [22:32:10]OFD Sender: No OFD packet to send [22:32:15]OFD Sender: No OFD packet to send [22:32:20]OFD Sender: No OFD packet to send [22:32:25]OFD Sender: No OFD packet to send [22:32:30]OFD Sender: No OFD packet to send [22:32:35]OFD Sender: No OFD packet to send [22:32:40]OFD Sender: No OFD packet to send [22:32:45]OFD Sender: No OFD packet to send [22:32:50]OFD Sender: No OFD packet to send [22:32:55]OFD Sender: No OFD packet to send [22:33:00]OFD Sender: No OFD packet to send [22:33:05]OFD Sender: No OFD packet to send [22:33:10]OFD Sender: No OFD packet to send [22:33:15]OFD Sender: No OFD packet to send [22:33:20]OFD Sender: No OFD packet to send [22:33:25]OFD Sender: No OFD packet to send [22:33:30]OFD Sender: No OFD packet to send [22:33:35]OFD Sender: No OFD packet to send [22:33:40]OFD Sender: No OFD packet to send [22:33:45]OFD Sender: No OFD packet to send [22:33:50]OFD Sender: No OFD packet to send [22:33:55]OFD Sender: No OFD packet to send [22:34:00]OFD Sender: No OFD packet to send [22:34:05]OFD Sender: No OFD packet to send [22:34:10]OFD Sender: No OFD packet to send [22:34:15]OFD Sender: No OFD packet to send [22:34:20]OFD Sender: No OFD packet to send [22:34:25]OFD Sender: No OFD packet to send [22:34:30]OFD Sender: No OFD packet to send [22:34:30]recv_with_timeout no data received [22:34:35]OFD Sender: No OFD packet to send [22:34:40]OFD Sender: No OFD packet to send [22:34:45]OFD Sender: No OFD packet to send [22:34:50]OFD Sender: No OFD packet to send [22:34:55]OFD Sender: No OFD packet to send [22:35:00]OFD Sender: No OFD packet to send [22:35:05]OFD Sender: No OFD packet to send [22:35:10]OFD Sender: No OFD packet to send [22:35:15]OFD Sender: No OFD packet to send [22:35:20]OFD Sender: No OFD packet to send [22:35:25]OFD Sender: No OFD packet to send [22:35:30]OFD Sender: No OFD packet to send [22:35:35]OFD Sender: No OFD packet to send [22:35:40]OFD Sender: No OFD packet to send [22:35:45]OFD Sender: No OFD packet to send [22:35:50]OFD Sender: No OFD packet to send [22:35:55]OFD Sender: No OFD packet to send [22:36:00]OFD Sender: No OFD packet to send [22:36:05]OFD Sender: No OFD packet to send [22:36:10]OFD Sender: No OFD packet to send [22:36:15]OFD Sender: No OFD packet to send [22:36:20]OFD Sender: No OFD packet to send [22:36:25]OFD Sender: No OFD packet to send [22:36:30]OFD Sender: No OFD packet to send [22:36:35]OFD Sender: No OFD packet to send [22:36:40]OFD Sender: No OFD packet to send [22:36:45]OFD Sender: No OFD packet to send [22:36:50]OFD Sender: No OFD packet to send [22:36:55]OFD Sender: No OFD packet to send [22:37:00]OFD Sender: No OFD packet to send [22:37:05]OFD Sender: No OFD packet to send [22:37:10]OFD Sender: No OFD packet to send [22:37:15]OFD Sender: No OFD packet to send [22:37:20]OFD Sender: No OFD packet to send [22:37:25]OFD Sender: No OFD packet to send [22:37:30]OFD Sender: No OFD packet to send [22:37:35]OFD Sender: No OFD packet to send [22:37:40]OFD Sender: No OFD packet to send [22:37:45]OFD Sender: No OFD packet to send [22:37:50]OFD Sender: No OFD packet to send [22:37:55]OFD Sender: No OFD packet to send [22:38:00]OFD Sender: No OFD packet to send [22:38:05]OFD Sender: No OFD packet to send [22:38:10]OFD Sender: No OFD packet to send [22:38:15]OFD Sender: No OFD packet to send [22:38:20]OFD Sender: No OFD packet to send [22:38:25]OFD Sender: No OFD packet to send [22:38:30]OFD Sender: No OFD packet to send [22:38:35]OFD Sender: No OFD packet to send [22:38:40]OFD Sender: No OFD packet to send [22:38:45]OFD Sender: No OFD packet to send [22:38:50]OFD Sender: No OFD packet to send [22:38:55]OFD Sender: No OFD packet to send [22:39:00]OFD Sender: No OFD packet to send [22:39:05]OFD Sender: No OFD packet to send [22:39:10]OFD Sender: No OFD packet to send [22:39:15]OFD Sender: No OFD packet to send [22:39:20]OFD Sender: No OFD packet to send [22:39:25]OFD Sender: No OFD packet to send [22:39:30]OFD Sender: No OFD packet to send [22:39:35]OFD Sender: No OFD packet to send [22:39:40]OFD Sender: No OFD packet to send [22:39:45]OFD Sender: No OFD packet to send [22:39:50]OFD Sender: No OFD packet to send [22:39:55]OFD Sender: No OFD packet to send [22:40:00]OFD Sender: No OFD packet to send [22:40:05]OFD Sender: No OFD packet to send [22:40:10]OFD Sender: No OFD packet to send [22:40:15]OFD Sender: No OFD packet to send [22:40:20]OFD Sender: No OFD packet to send [22:40:25]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:21]OFD Sender: No OFD packet to send [22:41:26]OFD Sender: No OFD packet to send [22:41:31]OFD Sender: No OFD packet to send [22:41:36]OFD Sender: No OFD packet to send [22:41:41]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]OFD Sender: No OFD packet to send [22:42:11]OFD Sender: No OFD packet to send [22:42:16]OFD Sender: No OFD packet to send [22:42:21]OFD Sender: No OFD packet to send [22:42:26]OFD Sender: No OFD packet to send [22:42:31]OFD Sender: No OFD packet to send [22:42:36]OFD Sender: No OFD packet to send [22:42:41]OFD Sender: No OFD packet to send [22:42:46]OFD Sender: No OFD packet to send [22:42:51]OFD Sender: No OFD packet to send [22:42:56]OFD Sender: No OFD packet to send [22:43:01]OFD Sender: No OFD packet to send [22:43:06]OFD Sender: No OFD packet to send [22:43:11]OFD Sender: No OFD packet to send [22:43:16]OFD Sender: No OFD packet to send [22:43:21]OFD Sender: No OFD packet to send [22:43:26]OFD Sender: No OFD packet to send [22:43:31]OFD Sender: No OFD packet to send [22:43:36]OFD Sender: No OFD packet to send [22:43:41]OFD Sender: No OFD packet to send [22:43:46]OFD Sender: No OFD packet to send [22:43:51]OFD Sender: No OFD packet to send [22:43:56]OFD Sender: No OFD packet to send [22:44:01]OFD Sender: No OFD packet to send [22:44:06]OFD Sender: No OFD packet to send [22:44:11]OFD Sender: No OFD packet to send [22:44:16]OFD Sender: No OFD packet to send [22:44:21]OFD Sender: No OFD packet to send [22:44:26]OFD Sender: No OFD packet to send [22:44:31]OFD Sender: No OFD packet to send [22:44:36]OFD Sender: No OFD packet to send [22:44:41]OFD Sender: No OFD packet to send [22:44:46]OFD Sender: No OFD packet to send [22:44:51]OFD Sender: No OFD packet to send [22:44:56]OFD Sender: No OFD packet to send [22:45:01]OFD Sender: No OFD packet to send [22:45:06]OFD Sender: No OFD packet to send [22:45:11]OFD Sender: No OFD packet to send [22:45:16]OFD Sender: No OFD packet to send [22:45:21]OFD Sender: No OFD packet to send [22:45:26]OFD Sender: No OFD packet to send [22:45:31]OFD Sender: No OFD packet to send [22:45:36]OFD Sender: No OFD packet to send [22:45:41]OFD Sender: No OFD packet to send [22:45:46]OFD Sender: No OFD packet to send [22:45:51]OFD Sender: No OFD packet to send [22:45:56]OFD Sender: No OFD packet to send [22:46:01]OFD Sender: No OFD packet to send [22:46:06]OFD Sender: No OFD packet to send [22:46:11]OFD Sender: No OFD packet to send [22:46:16]OFD Sender: No OFD packet to send [22:46:21]OFD Sender: No OFD packet to send [22:46:26]OFD Sender: No OFD packet to send [22:46:31]OFD Sender: No OFD packet to send [22:46:36]OFD Sender: No OFD packet to send [22:46:41]OFD Sender: No OFD packet to send [22:46:46]OFD Sender: No OFD packet to send [22:46:51]OFD Sender: No OFD packet to send [22:46:56]OFD Sender: No OFD packet to send [22:47:01]OFD Sender: No OFD packet to send [22:47:06]OFD Sender: No OFD packet to send [22:47:11]OFD Sender: No OFD packet to send [22:47:16]OFD Sender: No OFD packet to send [22:47:21]OFD Sender: No OFD packet to send [22:47:26]OFD Sender: No OFD packet to send [22:47:31]OFD Sender: No OFD packet to send [22:47:36]OFD Sender: No OFD packet to send [22:47:41]OFD Sender: No OFD packet to send [22:47:46]OFD Sender: No OFD packet to send [22:47:51]OFD Sender: No OFD packet to send [22:47:56]OFD Sender: No OFD packet to send [22:48:01]OFD Sender: No OFD packet to send [22:48:06]OFD Sender: No OFD packet to send [22:48:11]OFD Sender: No OFD packet to send [22:48:16]OFD Sender: No OFD packet to send [22:48:21]OFD Sender: No OFD packet to send [22:48:26]OFD Sender: No OFD packet to send [22:48:31]OFD Sender: No OFD packet to send [22:48:36]OFD Sender: No OFD packet to send [22:48:41]OFD Sender: No OFD packet to send [22:48:46]OFD Sender: No OFD packet to send [22:48:51]OFD Sender: No OFD packet to send [22:48:56]OFD Sender: No OFD packet to send [22:49:01]OFD Sender: No OFD packet to send [22:49:06]OFD Sender: No OFD packet to send [22:49:11]OFD Sender: No OFD packet to send [22:49:16]OFD Sender: No OFD packet to send [22:49:21]OFD Sender: No OFD packet to send [22:49:26]OFD Sender: No OFD packet to send [22:49:31]OFD Sender: No OFD packet to send [22:49:36]OFD Sender: No OFD packet to send [22:49:41]OFD Sender: No OFD packet to send [22:49:46]OFD Sender: No OFD packet to send [22:49:51]OFD Sender: No OFD packet to send [22:49:56]OFD Sender: No OFD packet to send [22:50:01]OFD Sender: No OFD packet to send [22:50:06]OFD Sender: No OFD packet to send [22:50:11]OFD Sender: No OFD packet to send [22:50:16]OFD Sender: No OFD packet to send [22:50:21]OFD Sender: No OFD packet to send [22:50:26]OFD Sender: No OFD packet to send [22:50:31]OFD Sender: No OFD packet to send [22:50:36]OFD Sender: No OFD packet to send [22:50:41]OFD Sender: No OFD packet to send [22:50:46]OFD Sender: No OFD packet to send [22:50:51]OFD Sender: No OFD packet to send [22:50:56]OFD Sender: No OFD packet to send [22:51:01]OFD Sender: No OFD packet to send [22:51:06]OFD Sender: No OFD packet to send [22:51:11]OFD Sender: No OFD packet to send [22:51:16]OFD Sender: No OFD packet to send [22:51:21]OFD Sender: No OFD packet to send [22:51:26]OFD Sender: No OFD packet to send [22:51:31]OFD Sender: No OFD packet to send [22:51:36]OFD Sender: No OFD packet to send [22:51:41]OFD Sender: No OFD packet to send [22:51:46]OFD Sender: No OFD packet to send [22:51:51]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:41]OFD Sender: No OFD packet to send [22:55:46]OFD Sender: No OFD packet to send [22:55:51]OFD Sender: No OFD packet to send [22:55:56]OFD Sender: No OFD packet to send [22:56:01]OFD Sender: No OFD packet to send [22:56:06]OFD Sender: No OFD packet to send [22:56:11]OFD Sender: No OFD packet to send [22:56:16]OFD Sender: No OFD packet to send [22:56:21]OFD Sender: No OFD packet to send [22:56:26]OFD Sender: No OFD packet to send [22:56:31]OFD Sender: No OFD packet to send [22:56:36]OFD Sender: No OFD packet to send [22:56:41]OFD Sender: No OFD packet to send [22:56:46]OFD Sender: No OFD packet to send [22:56:51]OFD Sender: No OFD packet to send [22:56:56]OFD Sender: No OFD packet to send [22:57:01]OFD Sender: No OFD packet to send [22:57:06]OFD Sender: No OFD packet to send [22:57:11]OFD Sender: No OFD packet to send [22:57:16]OFD Sender: No OFD packet to send [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:41]OFD Sender: No OFD packet to send [22:57:46]OFD Sender: No OFD packet to send [22:57:51]OFD Sender: No OFD packet to send [22:57:56]OFD Sender: No OFD packet to send [22:58:01]OFD Sender: No OFD packet to send [22:58:06]OFD Sender: No OFD packet to send [22:58:11]OFD Sender: No OFD packet to send [22:58:16]OFD Sender: No OFD packet to send [22:58:21]OFD Sender: No OFD packet to send [22:58:26]OFD Sender: No OFD packet to send [22:58:31]OFD Sender: No OFD packet to send [22:58:36]OFD Sender: No OFD packet to send [22:58:41]OFD Sender: No OFD packet to send [22:58:46]OFD Sender: No OFD packet to send [22:58:51]OFD Sender: No OFD packet to send [22:58:56]OFD Sender: No OFD packet to send [22:59:01]OFD Sender: No OFD packet to send [22:59:06]OFD Sender: No OFD packet to send [22:59:11]OFD Sender: No OFD packet to send [22:59:13]accept exits with 8 [22:59:13]New connection [22:59:13]New thread 3067161956 created [22:59:13]Thread 3067018596 joined [22:59:13]Waiting for new connection... [22:59:13] Sock 8.Parse request [22:59:13]Sock 8.Check first char [22:59:13]Sock 8.First char is OK [22:59:13]request: POST /json_proto HTTP/1.0 [22:59:13]Method: POST [22:59:13]URL: /json_proto [22:59:13]Method is POST - this is cgi request [22:59:13]url: /json_proto [22:59:13]query_string will be loaded in cgi processing [22:59:13]execute_cgi json_proto POST (null) [22:59:13]execute_cgi path=json_proto method=POST [22:59:13]POST find Content-Length [22:59:13]Host: 172.17.35.133:8080 [22:59:13]Content-Length: 922 [22:59:13]Content-Type: application/json [22:59:13] [22:59:13]POST finish read [22:59:13]Found Content-Length = 922 [22:59:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256292", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:59:13]execute_script... [22:59: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 : (3)256292", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:59:13]POST & json_proto [22:59:13]process_json_proto [22:59:13]json parsed OK: [22:59:13]protocol is kg_v1.0 [22:59:13]action value=close_receipt [22:59:13]process_action close_receipt [22:59:13]cmd_close_receipt [22:59:13]MH_GetDate [22:59:13]Write to MH i2c: F0 00 00 5E 01 4E [22:59:13]Write i2c OK [22:59:13]MH_I2C_Read... [22:59:13]Read from MH i2c: F0 [22:59:13]MH_I2C_Read... [22:59:13]Read from MH i2c: F0 09 00 [22:59:13]MH_I2C_Read... [22:59:13]Read from MH i2c: F0 09 00 5E 01 00 42 B5 91 66 1B 28 2A 66 18 [22:59:13]GetLastDocTimeStamp 1720823092 [22:59:13]current date 1720825154 [22:59:13]FM_GetShiftState [22:59:13]SAM_PROTO_GetShiftState [22:59:13]wFMCommunicate request_size=4 [22:59:13]MH_SAM_APDU [22:59:13]CAPDU: 80 13 01 00 [22:59:13]Write to MH i2c: E2 08 00 5F 01 80 13 01 00 00 00 00 00 DD [22:59:13]Write i2c OK [22:59:13]MH_I2C_Read... [22:59:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:13]Read from MH i2c: E2 [22:59:13]MH_I2C_Read... [22:59:13]Read from MH i2c: E2 0E 00 [22:59:13]MH_I2C_Read... [22:59:13]Read from MH i2c: E2 0E 00 5F 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 96 [22:59:13]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [22:59:13]wFMCommunicate OK [22:59:13]SAM_PROTO_GetShiftState done [22:59:13]FM_GetShiftState done [22:59:13]opened in 1720742979 [22:59:13]opened+sec_in_day 1720829379 [22:59:13]quantity*price = 7000 [22:59:13]sum+1 = 7001 [22:59:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 0.00 Безнал.: 70.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 61 12.07.2024 22:59 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000002098592 ФД: 1827 ФПД: 278529313909052 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T225914&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1827&fm=278529313909052&tin=02508201610067®Number=0000000000177495&sum=7000 0 [22:59:15]StoreToDocumentArchive [22:59:15]shift 23 fd 1827 [22:59:15]save to /storage/0023/doc_00001827 [22:59:15]save last doc name /storage/0023/doc_00001827 to /storage/kkm_last_doc_name [22:59:15]save OK [22:59:15]Clear old archive folders... [22:59:15]ProcessDocumentItem done err = 0, tmpTLVsize=300 [22:59:15]tlvbuf is 00F427D0 [22:59:15]SAM_PROTO_ClearQueue [22:59:15]wFMCommunicate request_size=4 [22:59:15]MH_SAM_APDU [22:59:15]CAPDU: 80 09 00 00 [22:59:15]Write to MH i2c: E2 08 00 6C 01 80 09 00 00 00 00 00 00 DF [22:59:15]Write i2c OK [22:59:15]MH_I2C_Read... [22:59:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:59:15]Read from MH i2c: E2 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 03 00 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 03 00 6C 01 00 90 00 E1 [22:59:15]RAPDU: 90 00 [22:59:15]wFMCommunicate OK [22:59:15]SAM_PROTO_ClearQueue done [22:59:15]KKMCreateOFDPacket [22:59:15]OFDProtocolAddRootSTLVToBuf [22:59:15]FM_MakeSignedData [22:59:15]FM_MakeSignedData [22:59:15]SAM_PROTO_SignData [22:59:15]wFMCommunicate request_size=4 [22:59:15]MH_SAM_APDU [22:59:15]CAPDU: 80 0D 01 02 [22:59:15]Write to MH i2c: E2 08 00 6D 01 80 0D 01 02 00 00 00 00 E7 [22:59:15]Write i2c OK [22:59:15]MH_I2C_Read... [22:59:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:59:15]Read from MH i2c: E2 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 03 00 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 03 00 6D 01 00 90 00 E2 [22:59:15]RAPDU: 90 00 [22:59:15]wFMCommunicate OK [22:59:15]wFMCommunicate request_size=255 [22:59:15]MH_SAM_APDU [22:59:15]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 42 B5 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 [22:59:15]Write to MH i2c: E2 02 01 6E 01 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 42 B5 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 00 00 97 [22:59:15]Write i2c OK [22:59:15]MH_I2C_Read... [22:59:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:59:15]Read from MH i2c: E2 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 03 00 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 03 00 6E 01 00 90 00 E3 [22:59:15]RAPDU: 90 00 [22:59:15]wFMCommunicate OK [22:59:15]wFMCommunicate request_size=59 [22:59:15]MH_SAM_APDU [22:59:15]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 23 07 00 00 35 04 06 00 FD 52 28 D0 A9 3C [22:59:15]Write to MH i2c: E2 3E 00 6F 01 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 23 07 00 00 35 04 06 00 FD 52 28 D0 A9 3C 00 00 6C [22:59:15]Write i2c OK [22:59:15]MH_I2C_Read... [22:59:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:59:15]Read from MH i2c: E2 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 03 00 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 03 00 6F 01 00 90 00 E4 [22:59:15]RAPDU: 90 00 [22:59:15]wFMCommunicate OK [22:59:15]wFMCommunicate request_size=4 [22:59:15]MH_SAM_APDU [22:59:15]CAPDU: 80 0D 03 02 [22:59:15]Write to MH i2c: E2 08 00 70 01 80 0D 03 02 00 00 00 00 EC [22:59:15]Write i2c OK [22:59:15]MH_I2C_Read... [22:59:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:59:15]Read from MH i2c: E2 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 0B 00 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 0B 00 70 01 00 D9 57 79 71 67 CD 7A 6A 90 00 1F [22:59:15]RAPDU: D9 57 79 71 67 CD 7A 6A 90 00 [22:59:15]wFMCommunicate OK [22:59:15]SAM_PROTO_SignData done [22:59:15]FM_MakeSignedData done [22:59:15]CreateOFDProtocolMessage [22:59:15]wFMCommunicate request_size=4 [22:59:15]MH_SAM_APDU [22:59:15]CAPDU: 80 11 00 00 [22:59:15]Write to MH i2c: E2 08 00 71 01 80 11 00 00 00 00 00 00 EC [22:59:15]Write i2c OK [22:59:15]MH_I2C_Read... [22:59:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:15]Read from MH i2c: E2 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 17 00 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: E2 17 00 71 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 42 [22:59:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [22:59:15]wFMCommunicate OK [22:59:15]CreateOFDProtocolMessage done [22:59:15]OFDSenderStorePacket 1827 [22:59:15]StoreOFDPacket docnum=1827 [22:59:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 40 01 00 00 53 47 38 01 08 B6 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 42 B5 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 23 07 00 00 35 04 06 00 FD 52 28 D0 A9 3C D9 57 79 71 67 CD 7A 6A [22:59:15]CheckFolder [22:59:15]dirname=/storage/ofd_packets [22:59:15]CheckFolder done [22:59:15]ProducePacketName [22:59:15]name=ofd_packets/00001827 [22:59:15]NVStorageSaveData ofd_packets/00001827 [22:59:15]File name is /storage/ofd_packets/00001827 [22:59:15]Write 350 bytes [22:59:15]NVStorageSaveData done [22:59:15]OFDSenderStorePacket done [22:59:15]KKMCreateOFDPacket done [22:59:15]NVStorageSaveData kkm_last_timestamp [22:59:15]File name is /storage/kkm_last_timestamp [22:59:15]Write 4 bytes [22:59:15]NVStorageSaveData done [22:59:15]ExternCall_PrintAddStr [22:59:15]wPrintStart [22:59:15]Write to MH i2c: 01 00 00 72 01 73 [22:59:15]Write i2c OK [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: 01 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: 01 07 00 [22:59:15]MH_I2C_Read... [22:59:15]Read from MH i2c: 01 07 00 72 01 00 00 00 00 00 FF 0F 88 [22:59:15]RasterBufferAndPrint [22:59:15]line Счет N : (3)256292 [22:59:15]line ИНН: 02508201610067 [22:59:15]line Контрольно-Кассовый Чек [22:59:15]line ПРОДАЖА [22:59:15]line Товар: 4700007110066 [22:59:15]line Сэндвич с майонезом Талас Даамы [22:59:15]line 1.000 * 70.00 [22:59:15]line = 70.00 [22:59:15]line НДС 12% НСП 1% [22:59:15]line > о реализуемом товаре [22:59:15]line ИТОГО: 70.00 [22:59:15]line НСП 1% : 0.62 [22:59:15]line НДС 12% : 7.43 [22:59:15]line Наличными: 0.00 [22:59:15]line Безнал.: 70.00 [22:59:15]line Место: АЗС № 76 "Партнер Нефть" [22:59:15]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [22:59:15]line СНО: Общий режим [22:59:15]line Чек 61 12.07.2024 22:59 [22:59:15]line Смена: 23 ФФД: 1.0 [22:59:15]line ЗНМ: 0300000124 [22:59:15]line РНМ: 0000000000177495 [22:59:15]line Версия ККМ: 001 [22:59:15]line Платежная система: АКБ Кыргызстан [22:59:15]line ФМ: 0000000002098592 [22:59:15]line ФД: 1827 [22:59:15]line ФПД: 278529313909052 [22:59:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T225914&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1827&fm=278529313909052&tin=02508201610067®Number=0000000000177495&sum=7000 [22:59:15]line 0 [22:59:15]OFD Sender: Processing packet 1827 [packets to send 1, broken 0] [22:59:15]ProducePacketName [22:59:15]name=ofd_packets/00001827 [22:59:15]OFD Sender: To server: pG, [22:59:15]CommunicateWithHost lk.salyk.kg:30040 [22:59:15]ConnectInit lk.salyk.kg [22:59:16]written 0, free lines is 4095 [22:59:16]Connected sock=10 [22:59:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 40 01 00 00 53 47 38 01 08 B6 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 42 B5 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 23 07 00 00 35 04 06 00 FD 52 28 D0 A9 3C D9 57 79 71 67 CD 7A 6A [22:59:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 96 C7 47 00 E3 4F 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 32 30 39 38 35 39 32 10 04 04 00 23 07 00 00 F4 03 04 00 7A 60 91 66 B6 04 01 00 00 E5 F5 97 D4 8B 65 01 2D [22:59:16]CommunicateWithHost err = 0 [22:59:16]CheckOFDResponse [22:59:16]1017 (14) - 77093643461234 [22:59:16]1041 (16) - 0000000002098592 [22:59:16]1040 (4) - 1827 [22:59:16]1012 (4) - 12.07.2024 16:57 [22:59:16]1206 (1) - 0 [22:59:16]OFD Sender: Remove packet 1827 [22:59:16]ProducePacketName [22:59:16]name=ofd_packets/00001827 [22:59:16]NVStorageDeleteData [22:59:16]Write to MH i2c: 01 00 00 9D 01 9E [22:59:16]Write i2c OK [22:59:16]MH_I2C_Read... [22:59:16]Read from MH i2c: 01 [22:59:16]MH_I2C_Read... [22:59:16]Read from MH i2c: 01 07 00 [22:59:16]MH_I2C_Read... [22:59:16]Read from MH i2c: 01 07 00 9D 01 00 00 00 00 00 C5 0C 76 [22:59:16]RasterBufferAndPrint [22:59:16]line [22:59:16]line [22:59:16]line [22:59:16]line [22:59:16]line [22:59:16]written 0, free lines is 3275 [22:59:16]MH_Cut [22:59:16]Write to MH i2c: D1 01 00 A4 01 01 77 [22:59:16]Write i2c OK [22:59:16]MH_I2C_Read... [22:59:16]Read from MH i2c: D1 [22:59:16]MH_I2C_Read... [22:59:16]Read from MH i2c: D1 01 00 [22:59:16]MH_I2C_Read... [22:59:16]Read from MH i2c: D1 01 00 A4 01 00 76 [22:59:16]Write to MH i2c: 01 00 00 A5 01 A6 [22:59:16]Write i2c OK [22:59:16]MH_I2C_Read... [22:59:16]OFD Sender: No OFD packet to send [22:59:17]*** Cut start [22:59:17]*** Partial cut [22:59:17]*** CUTSNS_PIN = 1 [22:59:17]*** CUTSNS_PIN = 0 [22:59:17]*** Brake cut motor [22:59:17]Read from MH i2c: 01 [22:59:17]MH_I2C_Read... [22:59:17]*** Stop cut motor [22:59:17]*** Cut end [22:59:17]Read from MH i2c: 01 07 00 [22:59:17]MH_I2C_Read... [22:59:17]Read from MH i2c: 01 07 00 A5 01 00 00 00 00 00 FF 0F BB [22:59:17]process_action close_receipt done [22:59:17]requested_data is exist [22:59:17]produce_requested_data [22:59:17]requested_item fm.sn is exist - process it [22:59:17]wFMCommunicate request_size=4 [22:59:17]MH_SAM_APDU [22:59:17]CAPDU: 80 11 00 00 [22:59:17]Write to MH i2c: E2 08 00 A6 01 80 11 00 00 00 00 00 00 21 [22:59:17]Write i2c OK [22:59:17]MH_I2C_Read... [22:59:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:17]Read from MH i2c: E2 [22:59:17]MH_I2C_Read... [22:59:17]Read from MH i2c: E2 17 00 [22:59:17]MH_I2C_Read... [22:59:17]Read from MH i2c: E2 17 00 A6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 77 [22:59:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [22:59:17]wFMCommunicate OK [22:59:17]requested_item fd.num is exist - process it [22:59:17]SAM_PROTO_GetFieldsCounters [22:59:17]wFMCommunicate request_size=4 [22:59:17]MH_SAM_APDU [22:59:17]CAPDU: 80 13 00 00 [22:59:17]Write to MH i2c: E2 08 00 A7 01 80 13 00 00 00 00 00 00 24 [22:59:17]Write i2c OK [22:59:17]MH_I2C_Read... [22:59:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:59:18]Read from MH i2c: E2 [22:59:18]MH_I2C_Read... [22:59:18]Read from MH i2c: E2 62 00 [22:59:18]MH_I2C_Read... [22:59:18]Read from MH i2c: E2 62 00 A7 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 23 07 00 00 0E 04 04 00 17 00 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 48 [22:59:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 23 07 00 00 0E 04 04 00 17 00 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:59:18]wFMCommunicate OK [22:59:18]SAM_PROTO_GetFieldsCounters done [22:59:18]requested_item shift.num is exist - process it [22:59:18]requested_item shift.opened is exist - process it [22:59:18]req_shift_opened [22:59:18]FM_GetShiftState [22:59:18]SAM_PROTO_GetShiftState [22:59:18]wFMCommunicate request_size=4 [22:59:18]MH_SAM_APDU [22:59:18]CAPDU: 80 13 01 00 [22:59:18]Write to MH i2c: E2 08 00 A8 01 80 13 01 00 00 00 00 00 26 [22:59:18]Write i2c OK [22:59:18]MH_I2C_Read... [22:59:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:18]Read from MH i2c: E2 [22:59:18]MH_I2C_Read... [22:59:18]Read from MH i2c: E2 0E 00 [22:59:18]MH_I2C_Read... [22:59:18]Read from MH i2c: E2 0E 00 A8 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 DF [22:59:18]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [22:59:18]wFMCommunicate OK [22:59:18]SAM_PROTO_GetShiftState done [22:59:18]FM_GetShiftState done [22:59:18]req_shift_opened done [22:59:18]requested_item shift.open_date is exist - process it [22:59:18]req_shift_open_date [22:59:18]req_shift_open_date done [22:59:18]produce_requested_data done [22:59:18]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1827,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [22:59:18]process_action_free close_receipt [22:59:18]json_value_free [22:59:18]json_value_free done [22:59:18]process_json_proto returns [22:59:18]Send response to host [22:59:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1827,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [22:59:18]free response buf [22:59:18]execute_script done [22:59:18]execute_script returns [22:59:18]free content buf [22:59:18]Sock 8.Close socket [22:59:18]Sock 8.Thread stoped [22:59:21]OFD Sender: No OFD packet to send [22:59:26]OFD Sender: No OFD packet to send [22:59:31]OFD Sender: No OFD packet to send [22:59:36]OFD Sender: No OFD packet to send [22:59:41]OFD Sender: No OFD packet to send [22:59:46]OFD Sender: No OFD packet to send [22:59:51]OFD Sender: No OFD packet to send [22:59:56]OFD Sender: No OFD packet to send [23:00:01]OFD Sender: No OFD packet to send [23:00:06]OFD Sender: No OFD packet to send [23:00:11]OFD Sender: No OFD packet to send [23:00:16]OFD Sender: No OFD packet to send [23:00:21]OFD Sender: No OFD packet to send [23:00:26]OFD Sender: No OFD packet to send [23:00:31]OFD Sender: No OFD packet to send [23:00:36]OFD Sender: No OFD packet to send [23:00:41]OFD Sender: No OFD packet to send [23:00:46]OFD Sender: No OFD packet to send [23:00:51]OFD Sender: No OFD packet to send [23:00:56]OFD Sender: No OFD packet to send [23:01:01]OFD Sender: No OFD packet to send [23:01:06]OFD Sender: No OFD packet to send [23:01:11]OFD Sender: No OFD packet to send [23:01:16]OFD Sender: No OFD packet to send [23:01:21]OFD Sender: No OFD packet to send [23:01:26]OFD Sender: No OFD packet to send [23:01:31]OFD Sender: No OFD packet to send [23:01:36]OFD Sender: No OFD packet to send [23:01:41]OFD Sender: No OFD packet to send [23:01:46]OFD Sender: No OFD packet to send [23:01:51]OFD Sender: No OFD packet to send [23:01:56]OFD Sender: No OFD packet to send [23:02:01]OFD Sender: No OFD packet to send [23:02:06]OFD Sender: No OFD packet to send [23:02:11]OFD Sender: No OFD packet to send [23:02:16]OFD Sender: No OFD packet to send [23:02:21]OFD Sender: No OFD packet to send [23:02:26]OFD Sender: No OFD packet to send [23:02:31]OFD Sender: No OFD packet to send [23:02:36]OFD Sender: No OFD packet to send [23:02:41]OFD Sender: No OFD packet to send [23:02:46]OFD Sender: No OFD packet to send [23:02:51]OFD Sender: No OFD packet to send [23:02:56]OFD Sender: No OFD packet to send [23:03:01]OFD Sender: No OFD packet to send [23:03:06]OFD Sender: No OFD packet to send [23:03:11]OFD Sender: No OFD packet to send [23:03:12]accept exits with 9 [23:03:12]New connection [23:03:12]New thread 3067018596 created [23:03:12]Thread 3067161956 joined [23:03:12]Waiting for new connection... [23:03:12] Sock 9.Parse request [23:03:12]Sock 9.Check first char [23:03:12]Sock 9.First char is OK [23:03:12]request: POST /json_proto HTTP/1.0 [23:03:12]Method: POST [23:03:12]URL: /json_proto [23:03:12]Method is POST - this is cgi request [23:03:12]url: /json_proto [23:03:12]query_string will be loaded in cgi processing [23:03:12]execute_cgi json_proto POST (null) [23:03:12]execute_cgi path=json_proto method=POST [23:03:12]POST find Content-Length [23:03:12]Host: 172.17.35.133:8080 [23:03:12]Content-Length: 632 [23:03:12]Content-Type: application/json [23:03:12] [23:03:12]POST finish read [23:03:12]Found Content-Length = 632 [23:03:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256293", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:03:12]execute_script... [23:03:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256293", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:03:12]POST & json_proto [23:03:12]process_json_proto [23:03:12]json parsed OK: [23:03:12]protocol is kg_v1.0 [23:03:12]action value=close_receipt [23:03:12]process_action close_receipt [23:03:12]cmd_close_receipt [23:03:12]MH_GetDate [23:03:12]Write to MH i2c: F0 00 00 A9 01 99 [23:03:12]Write i2c OK [23:03:12]MH_I2C_Read... [23:03:12]Read from MH i2c: F0 [23:03:12]MH_I2C_Read... [23:03:12]Read from MH i2c: F0 09 00 [23:03:12]MH_I2C_Read... [23:03:12]Read from MH i2c: F0 09 00 A9 01 00 31 B6 91 66 1B 28 2A 66 53 [23:03:12]GetLastDocTimeStamp 1720825154 [23:03:12]current date 1720825393 [23:03:12]FM_GetShiftState [23:03:12]SAM_PROTO_GetShiftState [23:03:12]wFMCommunicate request_size=4 [23:03:12]MH_SAM_APDU [23:03:12]CAPDU: 80 13 01 00 [23:03:12]Write to MH i2c: E2 08 00 AA 01 80 13 01 00 00 00 00 00 28 [23:03:12]Write i2c OK [23:03:12]MH_I2C_Read... [23:03:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:03:12]Read from MH i2c: E2 [23:03:12]MH_I2C_Read... [23:03:12]Read from MH i2c: E2 0E 00 [23:03:12]MH_I2C_Read... [23:03:12]Read from MH i2c: E2 0E 00 AA 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 E1 [23:03:12]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:03:12]wFMCommunicate OK [23:03:12]SAM_PROTO_GetShiftState done [23:03:12]FM_GetShiftState done [23:03:12]opened in 1720742979 [23:03:12]opened+sec_in_day 1720829379 [23:03:12]quantity*price = 4000 [23:03:12]sum+1 = 4001 [23:03:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 62 12.07.2024 23:03 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1828 ФПД: 145734431101140 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T230313&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1828&fm=145734431101140&tin=02508201610067®Number=0000000000177495&sum=4000 0 [23:03:14]StoreToDocumentArchive [23:03:14]shift 23 fd 1828 [23:03:14]save to /storage/0023/doc_00001828 [23:03:14]save last doc name /storage/0023/doc_00001828 to /storage/kkm_last_doc_name [23:03:14]save OK [23:03:14]Clear old archive folders... [23:03:14]ProcessDocumentItem done err = 0, tmpTLVsize=271 [23:03:14]tlvbuf is 00FA5850 [23:03:14]SAM_PROTO_ClearQueue [23:03:14]wFMCommunicate request_size=4 [23:03:14]MH_SAM_APDU [23:03:14]CAPDU: 80 09 00 00 [23:03:14]Write to MH i2c: E2 08 00 B7 01 80 09 00 00 00 00 00 00 2A [23:03:14]Write i2c OK [23:03:14]MH_I2C_Read... [23:03:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:03:14]Read from MH i2c: E2 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 03 00 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 03 00 B7 01 00 90 00 2C [23:03:14]RAPDU: 90 00 [23:03:14]wFMCommunicate OK [23:03:14]SAM_PROTO_ClearQueue done [23:03:14]KKMCreateOFDPacket [23:03:14]OFDProtocolAddRootSTLVToBuf [23:03:14]FM_MakeSignedData [23:03:14]FM_MakeSignedData [23:03:14]SAM_PROTO_SignData [23:03:14]wFMCommunicate request_size=4 [23:03:14]MH_SAM_APDU [23:03:14]CAPDU: 80 0D 01 02 [23:03:14]Write to MH i2c: E2 08 00 B8 01 80 0D 01 02 00 00 00 00 32 [23:03:14]Write i2c OK [23:03:14]MH_I2C_Read... [23:03:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:03:14]Read from MH i2c: E2 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 03 00 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 03 00 B8 01 00 90 00 2D [23:03:14]RAPDU: 90 00 [23:03:14]wFMCommunicate OK [23:03:14]wFMCommunicate request_size=255 [23:03:14]MH_SAM_APDU [23:03:14]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 31 B6 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 [23:03:14]Write to MH i2c: E2 02 01 B9 01 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 31 B6 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 52 [23:03:14]Write i2c OK [23:03:14]MH_I2C_Read... [23:03:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:03:14]Read from MH i2c: E2 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 03 00 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 03 00 B9 01 00 90 00 2E [23:03:14]RAPDU: 90 00 [23:03:14]wFMCommunicate OK [23:03:14]wFMCommunicate request_size=30 [23:03:14]MH_SAM_APDU [23:03:14]CAPDU: 80 0D 02 02 19 32 30 39 38 35 39 32 10 04 04 00 24 07 00 00 35 04 06 00 84 8B 70 FF 50 D4 [23:03:14]Write to MH i2c: E2 21 00 BA 01 80 0D 02 02 19 00 32 30 39 38 35 39 32 10 04 04 00 24 07 00 00 35 04 06 00 84 8B 70 FF 50 D4 00 00 FE [23:03:14]Write i2c OK [23:03:14]MH_I2C_Read... [23:03:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:03:14]Read from MH i2c: E2 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 03 00 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 03 00 BA 01 00 90 00 2F [23:03:14]RAPDU: 90 00 [23:03:14]wFMCommunicate OK [23:03:14]wFMCommunicate request_size=4 [23:03:14]MH_SAM_APDU [23:03:14]CAPDU: 80 0D 03 02 [23:03:14]Write to MH i2c: E2 08 00 BB 01 80 0D 03 02 00 00 00 00 37 [23:03:14]Write i2c OK [23:03:14]MH_I2C_Read... [23:03:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:03:14]Read from MH i2c: E2 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 0B 00 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 0B 00 BB 01 00 3C 38 B8 E4 EF 3D 7A FC 90 00 EA [23:03:14]RAPDU: 3C 38 B8 E4 EF 3D 7A FC 90 00 [23:03:14]wFMCommunicate OK [23:03:14]SAM_PROTO_SignData done [23:03:14]FM_MakeSignedData done [23:03:14]CreateOFDProtocolMessage [23:03:14]wFMCommunicate request_size=4 [23:03:14]MH_SAM_APDU [23:03:14]CAPDU: 80 11 00 00 [23:03:14]Write to MH i2c: E2 08 00 BC 01 80 11 00 00 00 00 00 00 37 [23:03:14]Write i2c OK [23:03:14]MH_I2C_Read... [23:03:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:03:14]Read from MH i2c: E2 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 17 00 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: E2 17 00 BC 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 8D [23:03:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [23:03:14]wFMCommunicate OK [23:03:14]CreateOFDProtocolMessage done [23:03:14]OFDSenderStorePacket 1828 [23:03:14]StoreOFDPacket docnum=1828 [23:03:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 23 01 00 00 5A E2 1B 01 D2 64 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 31 B6 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 24 07 00 00 35 04 06 00 84 8B 70 FF 50 D4 3C 38 B8 E4 EF 3D 7A FC [23:03:14]CheckFolder [23:03:14]dirname=/storage/ofd_packets [23:03:14]CheckFolder done [23:03:14]ProducePacketName [23:03:14]name=ofd_packets/00001828 [23:03:14]NVStorageSaveData ofd_packets/00001828 [23:03:14]File name is /storage/ofd_packets/00001828 [23:03:14]Write 321 bytes [23:03:14]NVStorageSaveData done [23:03:14]OFDSenderStorePacket done [23:03:14]KKMCreateOFDPacket done [23:03:14]NVStorageSaveData kkm_last_timestamp [23:03:14]File name is /storage/kkm_last_timestamp [23:03:14]Write 4 bytes [23:03:14]NVStorageSaveData done [23:03:14]ExternCall_PrintAddStr [23:03:14]wPrintStart [23:03:14]Write to MH i2c: 01 00 00 BD 01 BE [23:03:14]Write i2c OK [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: 01 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: 01 07 00 [23:03:14]MH_I2C_Read... [23:03:14]Read from MH i2c: 01 07 00 BD 01 00 00 00 00 00 FF 0F D3 [23:03:14]RasterBufferAndPrint [23:03:14]line Счет N : (3)256293 [23:03:14]line ИНН: 02508201610067 [23:03:14]line Контрольно-Кассовый Чек [23:03:14]line ПРОДАЖА [23:03:14]line Товар: 4700000160211 [23:03:14]line Вода Легенда 0,5л [23:03:14]line 1.000 * 40.00 [23:03:14]line = 40.00 [23:03:14]line НДС 12% НСП 1% [23:03:14]line > о реализуемом товаре [23:03:14]line ИТОГО: 40.00 [23:03:14]line НСП 1% : 0.35 [23:03:14]line НДС 12% : 4.25 [23:03:14]line Наличными: 40.00 [23:03:14]line Безнал.: 0.00 [23:03:14]line Место: АЗС № 76 "Партнер Нефть" [23:03:14]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [23:03:14]line СНО: Общий режим [23:03:14]line Чек 62 12.07.2024 23:03 [23:03:14]line Смена: 23 ФФД: 1.0 [23:03:14]line ЗНМ: 0300000124 [23:03:14]line РНМ: 0000000000177495 [23:03:14]line Версия ККМ: 001 [23:03:14]line ФМ: 0000000002098592 [23:03:14]line ФД: 1828 [23:03:14]line ФПД: 145734431101140 [23:03:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T230313&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1828&fm=145734431101140&tin=02508201610067®Number=0000000000177495&sum=4000 [23:03:14]line 0 [23:03:14]OFD Sender: Processing packet 1828 [packets to send 1, broken 0] [23:03:14]ProducePacketName [23:03:14]name=ofd_packets/00001828 [23:03:14]OFD Sender: To server: pG, [23:03:14]CommunicateWithHost lk.salyk.kg:30040 [23:03:14]ConnectInit lk.salyk.kg [23:03:14]written 0, free lines is 4095 [23:03:15]Connected sock=10 [23:03:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 23 01 00 00 5A E2 1B 01 D2 64 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 31 B6 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 24 07 00 00 35 04 06 00 84 8B 70 FF 50 D4 3C 38 B8 E4 EF 3D 7A FC [23:03:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 7E FD 47 00 93 98 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 32 30 39 38 35 39 32 10 04 04 00 24 07 00 00 F4 03 04 00 69 61 91 66 B6 04 01 00 00 D1 E1 7C 19 DD 46 E0 31 [23:03:15]CommunicateWithHost err = 0 [23:03:15]CheckOFDResponse [23:03:15]1017 (14) - 77093643461234 [23:03:15]1041 (16) - 0000000002098592 [23:03:15]1040 (4) - 1828 [23:03:15]1012 (4) - 12.07.2024 17:01 [23:03:15]1206 (1) - 0 [23:03:15]OFD Sender: Remove packet 1828 [23:03:15]ProducePacketName [23:03:15]name=ofd_packets/00001828 [23:03:15]NVStorageDeleteData [23:03:15]Write to MH i2c: 01 00 00 E5 01 E6 [23:03:15]Write i2c OK [23:03:15]MH_I2C_Read... [23:03:15]Read from MH i2c: 01 [23:03:15]MH_I2C_Read... [23:03:15]Read from MH i2c: 01 07 00 [23:03:15]MH_I2C_Read... [23:03:15]Read from MH i2c: 01 07 00 E5 01 00 00 00 00 00 0B 0D 05 [23:03:15]RasterBufferAndPrint [23:03:15]line [23:03:15]line [23:03:15]line [23:03:15]line [23:03:15]line [23:03:15]written 0, free lines is 3345 [23:03:15]MH_Cut [23:03:15]Write to MH i2c: D1 01 00 EC 01 01 BF [23:03:15]Write i2c OK [23:03:15]MH_I2C_Read... [23:03:15]Read from MH i2c: D1 [23:03:15]MH_I2C_Read... [23:03:15]Read from MH i2c: D1 01 00 [23:03:15]MH_I2C_Read... [23:03:15]Read from MH i2c: D1 01 00 EC 01 00 BE [23:03:15]Write to MH i2c: 01 00 00 ED 01 EE [23:03:15]Write i2c OK [23:03:15]MH_I2C_Read... [23:03:15]OFD Sender: No OFD packet to send [23:03:16]*** Cut start [23:03:16]*** Partial cut [23:03:16]*** CUTSNS_PIN = 1 [23:03:16]*** CUTSNS_PIN = 0 [23:03:16]*** Brake cut motor [23:03:16]Read from MH i2c: 01 [23:03:16]MH_I2C_Read... [23:03:16]*** Stop cut motor [23:03:16]*** Cut end [23:03:16]Read from MH i2c: 01 07 00 [23:03:16]MH_I2C_Read... [23:03:16]Read from MH i2c: 01 07 00 ED 01 00 00 00 00 00 FF 0F 03 [23:03:16]process_action close_receipt done [23:03:16]requested_data is exist [23:03:16]produce_requested_data [23:03:16]requested_item fm.sn is exist - process it [23:03:16]wFMCommunicate request_size=4 [23:03:16]MH_SAM_APDU [23:03:16]CAPDU: 80 11 00 00 [23:03:16]Write to MH i2c: E2 08 00 EE 01 80 11 00 00 00 00 00 00 69 [23:03:16]Write i2c OK [23:03:16]MH_I2C_Read... [23:03:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:03:16]Read from MH i2c: E2 [23:03:16]MH_I2C_Read... [23:03:16]Read from MH i2c: E2 17 00 [23:03:16]MH_I2C_Read... [23:03:16]Read from MH i2c: E2 17 00 EE 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 BF [23:03:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [23:03:16]wFMCommunicate OK [23:03:16]requested_item fd.num is exist - process it [23:03:16]SAM_PROTO_GetFieldsCounters [23:03:16]wFMCommunicate request_size=4 [23:03:16]MH_SAM_APDU [23:03:16]CAPDU: 80 13 00 00 [23:03:16]Write to MH i2c: E2 08 00 EF 01 80 13 00 00 00 00 00 00 6C [23:03:16]Write i2c OK [23:03:16]MH_I2C_Read... [23:03:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:03:16]Read from MH i2c: E2 [23:03:16]MH_I2C_Read... [23:03:16]Read from MH i2c: E2 62 00 [23:03:16]MH_I2C_Read... [23:03:16]Read from MH i2c: E2 62 00 EF 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 24 07 00 00 0E 04 04 00 17 00 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 94 [23:03:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 24 07 00 00 0E 04 04 00 17 00 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 [23:03:16]wFMCommunicate OK [23:03:16]SAM_PROTO_GetFieldsCounters done [23:03:16]requested_item shift.num is exist - process it [23:03:16]requested_item shift.opened is exist - process it [23:03:16]req_shift_opened [23:03:16]FM_GetShiftState [23:03:16]SAM_PROTO_GetShiftState [23:03:16]wFMCommunicate request_size=4 [23:03:16]MH_SAM_APDU [23:03:16]CAPDU: 80 13 01 00 [23:03:16]Write to MH i2c: E2 08 00 F0 01 80 13 01 00 00 00 00 00 6E [23:03:16]Write i2c OK [23:03:16]MH_I2C_Read... [23:03:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:03:16]Read from MH i2c: E2 [23:03:16]MH_I2C_Read... [23:03:16]Read from MH i2c: E2 0E 00 [23:03:16]MH_I2C_Read... [23:03:16]Read from MH i2c: E2 0E 00 F0 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 27 [23:03:16]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:03:16]wFMCommunicate OK [23:03:16]SAM_PROTO_GetShiftState done [23:03:16]FM_GetShiftState done [23:03:16]req_shift_opened done [23:03:16]requested_item shift.open_date is exist - process it [23:03:16]req_shift_open_date [23:03:16]req_shift_open_date done [23:03:16]produce_requested_data done [23:03:16]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1828,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [23:03:16]process_action_free close_receipt [23:03:16]json_value_free [23:03:16]json_value_free done [23:03:16]process_json_proto returns [23:03:16]Send response to host [23:03:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1828,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [23:03:16]free response buf [23:03:16]execute_script done [23:03:16]execute_script returns [23:03:16]free content buf [23:03:16]Sock 9.Close socket [23:03:16]Sock 9.Thread stoped [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:41]OFD Sender: No OFD packet to send [23:08:46]OFD Sender: No OFD packet to send [23:08:51]OFD Sender: No OFD packet to send [23:08:56]OFD Sender: No OFD packet to send [23:09:01]OFD Sender: No OFD packet to send [23:09:06]OFD Sender: No OFD packet to send [23:09:11]OFD Sender: No OFD packet to send [23:09:16]OFD Sender: No OFD packet to send [23:09:21]OFD Sender: No OFD packet to send [23:09:26]OFD Sender: No OFD packet to send [23:09:31]OFD Sender: No OFD packet to send [23:09:36]OFD Sender: No OFD packet to send [23:09:41]OFD Sender: No OFD packet to send [23:09:46]OFD Sender: No OFD packet to send [23:09:51]OFD Sender: No OFD packet to send [23:09:56]OFD Sender: No OFD packet to send [23:10:01]OFD Sender: No OFD packet to send [23:10:06]OFD Sender: No OFD packet to send [23:10:11]OFD Sender: No OFD packet to send [23:10:16]OFD Sender: No OFD packet to send [23:10:21]OFD Sender: No OFD packet to send [23:10:26]OFD Sender: No OFD packet to send [23:10:31]OFD Sender: No OFD packet to send [23:10:36]OFD Sender: No OFD packet to send [23:10:41]OFD Sender: No OFD packet to send [23:10:46]OFD Sender: No OFD packet to send [23:10:51]OFD Sender: No OFD packet to send [23:10:56]OFD Sender: No OFD packet to send [23:11:01]OFD Sender: No OFD packet to send [23:11:06]OFD Sender: No OFD packet to send [23:11:11]OFD Sender: No OFD packet to send [23:11:16]OFD Sender: No OFD packet to send [23:11:21]OFD Sender: No OFD packet to send [23:11:26]OFD Sender: No OFD packet to send [23:11:31]OFD Sender: No OFD packet to send [23:11:36]OFD Sender: No OFD packet to send [23:11:41]OFD Sender: No OFD packet to send [23:11:46]OFD Sender: No OFD packet to send [23:11:51]OFD Sender: No OFD packet to send [23:11:56]OFD Sender: No OFD packet to send [23:12:01]OFD Sender: No OFD packet to send [23:12:06]OFD Sender: No OFD packet to send [23:12:11]OFD Sender: No OFD packet to send [23:12:16]OFD Sender: No OFD packet to send [23:12:21]OFD Sender: No OFD packet to send [23:12:26]OFD Sender: No OFD packet to send [23:12:31]OFD Sender: No OFD packet to send [23:12:36]OFD Sender: No OFD packet to send [23:12:41]OFD Sender: No OFD packet to send [23:12:46]OFD Sender: No OFD packet to send [23:12:51]OFD Sender: No OFD packet to send [23:12:56]OFD Sender: No OFD packet to send [23:13:01]OFD Sender: No OFD packet to send [23:13:06]OFD Sender: No OFD packet to send [23:13:11]OFD Sender: No OFD packet to send [23:13:16]OFD Sender: No OFD packet to send [23:13:21]OFD Sender: No OFD packet to send [23:13:26]OFD Sender: No OFD packet to send [23:13:31]OFD Sender: No OFD packet to send [23:13:36]OFD Sender: No OFD packet to send [23:13:41]OFD Sender: No OFD packet to send [23:13:46]OFD Sender: No OFD packet to send [23:13:51]OFD Sender: No OFD packet to send [23:13:56]OFD Sender: No OFD packet to send [23:14:01]OFD Sender: No OFD packet to send [23:14:06]OFD Sender: No OFD packet to send [23:14:11]OFD Sender: No OFD packet to send [23:14:16]OFD Sender: No OFD packet to send [23:14:21]OFD Sender: No OFD packet to send [23:14:26]OFD Sender: No OFD packet to send [23:14:31]OFD Sender: No OFD packet to send [23:14:36]OFD Sender: No OFD packet to send [23:14:41]OFD Sender: No OFD packet to send [23:14:46]OFD Sender: No OFD packet to send [23:14:51]OFD Sender: No OFD packet to send [23:14:56]OFD Sender: No OFD packet to send [23:15:01]OFD Sender: No OFD packet to send [23:15:06]OFD Sender: No OFD packet to send [23:15:11]OFD Sender: No OFD packet to send [23:15:16]OFD Sender: No OFD packet to send [23:15:21]OFD Sender: No OFD packet to send [23:15:26]OFD Sender: No OFD packet to send [23:15:31]OFD Sender: No OFD packet to send [23:15:36]OFD Sender: No OFD packet to send [23:15:41]OFD Sender: No OFD packet to send [23:15:46]OFD Sender: No OFD packet to send [23:15:51]OFD Sender: No OFD packet to send [23:15:56]OFD Sender: No OFD packet to send [23:16:01]OFD Sender: No OFD packet to send [23:16:06]OFD Sender: No OFD packet to send [23:16:11]OFD Sender: No OFD packet to send [23:16:16]OFD Sender: No OFD packet to send [23:16:21]OFD Sender: No OFD packet to send [23:16:26]OFD Sender: No OFD packet to send [23:16:31]OFD Sender: No OFD packet to send [23:16:36]OFD Sender: No OFD packet to send [23:16:41]OFD Sender: No OFD packet to send [23:16:46]OFD Sender: No OFD packet to send [23:16:51]OFD Sender: No OFD packet to send [23:16:56]OFD Sender: No OFD packet to send [23:17:01]OFD Sender: No OFD packet to send [23:17:06]OFD Sender: No OFD packet to send [23:17:11]OFD Sender: No OFD packet to send [23:17:16]OFD Sender: No OFD packet to send [23:17:21]OFD Sender: No OFD packet to send [23:17:26]OFD Sender: No OFD packet to send [23:17:31]OFD Sender: No OFD packet to send [23:17:36]OFD Sender: No OFD packet to send [23:17:41]accept exits with 8 [23:17:41]New connection [23:17:41]New thread 3067161956 created [23:17:41]Thread 3067018596 joined [23:17:41]Waiting for new connection... [23:17:41] Sock 8.Parse request [23:17:41]Sock 8.Check first char [23:17:41]Sock 8.First char is OK [23:17:41]request: POST /json_proto HTTP/1.0 [23:17:41]Method: POST [23:17:41]URL: /json_proto [23:17:41]Method is POST - this is cgi request [23:17:41]url: /json_proto [23:17:41]query_string will be loaded in cgi processing [23:17:41]execute_cgi json_proto POST (null) [23:17:41]execute_cgi path=json_proto method=POST [23:17:41]POST find Content-Length [23:17:41]Host: 172.17.35.133:8080 [23:17:41]Content-Length: 923 [23:17:41]Content-Type: application/json [23:17:41] [23:17:41]POST finish read [23:17:41]Found Content-Length = 923 [23:17:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256294", "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 }]} ,{ "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:17:41]execute_script... [23:17:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256294", "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 }]} ,{ "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:17:41]POST & json_proto [23:17:41]process_json_proto [23:17:41]json parsed OK: [23:17:41]protocol is kg_v1.0 [23:17:41]action value=close_receipt [23:17:41]process_action close_receipt [23:17:41]cmd_close_receipt [23:17:41]MH_GetDate [23:17:41]Write to MH i2c: F0 00 00 F1 01 E1 [23:17:41]Write i2c OK [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: F0 [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: F0 09 00 [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: F0 09 00 F1 01 00 95 B9 91 66 1B 28 2A 66 02 [23:17:41]GetLastDocTimeStamp 1720825393 [23:17:41]current date 1720826261 [23:17:41]FM_GetShiftState [23:17:41]SAM_PROTO_GetShiftState [23:17:41]wFMCommunicate request_size=4 [23:17:41]MH_SAM_APDU [23:17:41]CAPDU: 80 13 01 00 [23:17:41]Write to MH i2c: E2 08 00 F2 01 80 13 01 00 00 00 00 00 70 [23:17:41]Write i2c OK [23:17:41]MH_I2C_Read... [23:17:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:41]Read from MH i2c: E2 [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: E2 0E 00 [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: E2 0E 00 F2 01 00 09 00 01 43 74 90 66 00 00 00 00 90 00 29 [23:17:41]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:17:41]wFMCommunicate OK [23:17:41]SAM_PROTO_GetShiftState done [23:17:41]FM_GetShiftState done [23:17:41]opened in 1720742979 [23:17:41]opened+sec_in_day 1720829379 [23:17:41]quantity*price = 1000 [23:17:41]sum+1 = 1001 [23:17:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8710732217097 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.17 Наличными: 77.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 63 12.07.2024 23:17 Смена: 23 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1829 ФПД: 262970709734354 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T231741&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1829&fm=262970709734354&tin=02508201610067®Number=0000000000177495&sum=7700 0 [23:17:42]StoreToDocumentArchive [23:17:42]shift 23 fd 1829 [23:17:42]save to /storage/0023/doc_00001829 [23:17:42]save last doc name /storage/0023/doc_00001829 to /storage/kkm_last_doc_name [23:17:42]save OK [23:17:42]Clear old archive folders... [23:17:42]ProcessDocumentItem done err = 0, tmpTLVsize=394 [23:17:42]tlvbuf is 00F42380 [23:17:42]SAM_PROTO_ClearQueue [23:17:42]wFMCommunicate request_size=4 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 09 00 00 [23:17:42]Write to MH i2c: E2 08 00 FF 01 80 09 00 00 00 00 00 00 72 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 FF 01 00 90 00 74 [23:17:42]RAPDU: 90 00 [23:17:42]wFMCommunicate OK [23:17:42]SAM_PROTO_ClearQueue done [23:17:42]KKMCreateOFDPacket [23:17:42]OFDProtocolAddRootSTLVToBuf [23:17:42]FM_MakeSignedData [23:17:42]FM_MakeSignedData [23:17:42]SAM_PROTO_SignData [23:17:42]wFMCommunicate request_size=4 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 0D 01 02 [23:17:42]Write to MH i2c: E2 08 00 00 02 80 0D 01 02 00 00 00 00 7B [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 00 02 00 90 00 76 [23:17:42]RAPDU: 90 00 [23:17:42]wFMCommunicate OK [23:17:42]wFMCommunicate request_size=255 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 0D 02 02 FA 03 00 8A 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 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F [23:17:42]Write to MH i2c: E2 02 01 01 02 80 0D 02 02 FA 00 03 00 8A 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 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 1D [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 01 02 00 90 00 77 [23:17:42]RAPDU: 90 00 [23:17:42]wFMCommunicate OK [23:17:42]wFMCommunicate request_size=153 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 03 00 00 00 00 07 04 06 00 14 1E 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 95 B9 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 25 07 00 00 35 04 06 00 EF 2B A3 BD 73 D2 [23:17:42]Write to MH i2c: E2 9C 00 02 02 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 03 00 00 00 00 07 04 06 00 14 1E 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 95 B9 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 25 07 00 00 35 04 06 00 EF 2B A3 BD 73 D2 00 00 09 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 02 02 00 90 00 78 [23:17:42]RAPDU: 90 00 [23:17:42]wFMCommunicate OK [23:17:42]wFMCommunicate request_size=4 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 0D 03 02 [23:17:42]Write to MH i2c: E2 08 00 03 02 80 0D 03 02 00 00 00 00 80 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 0B 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 0B 00 03 02 00 D9 CA 04 C2 C9 DB 24 FF 90 00 B1 [23:17:42]RAPDU: D9 CA 04 C2 C9 DB 24 FF 90 00 [23:17:42]wFMCommunicate OK [23:17:42]SAM_PROTO_SignData done [23:17:42]FM_MakeSignedData done [23:17:42]CreateOFDProtocolMessage [23:17:42]wFMCommunicate request_size=4 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 11 00 00 [23:17:42]Write to MH i2c: E2 08 00 04 02 80 11 00 00 00 00 00 00 80 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:43]Read from MH i2c: E2 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: E2 17 00 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: E2 17 00 04 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 D6 [23:17:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [23:17:43]wFMCommunicate OK [23:17:43]CreateOFDProtocolMessage done [23:17:43]OFDSenderStorePacket 1829 [23:17:43]StoreOFDPacket docnum=1829 [23:17:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 9E 01 00 00 CD 01 96 01 49 6C 5A 03 01 00 03 00 8A 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 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 03 00 00 00 00 07 04 06 00 14 1E 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 95 B9 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 25 07 00 00 35 04 06 00 EF 2B A3 BD 73 D2 D9 CA 04 C2 C9 DB 24 FF [23:17:43]CheckFolder [23:17:43]dirname=/storage/ofd_packets [23:17:43]CheckFolder done [23:17:43]ProducePacketName [23:17:43]name=ofd_packets/00001829 [23:17:43]NVStorageSaveData ofd_packets/00001829 [23:17:43]File name is /storage/ofd_packets/00001829 [23:17:43]Write 444 bytes [23:17:43]NVStorageSaveData done [23:17:43]OFDSenderStorePacket done [23:17:43]KKMCreateOFDPacket done [23:17:43]NVStorageSaveData kkm_last_timestamp [23:17:43]File name is /storage/kkm_last_timestamp [23:17:43]Write 4 bytes [23:17:43]NVStorageSaveData done [23:17:43]ExternCall_PrintAddStr [23:17:43]wPrintStart [23:17:43]Write to MH i2c: 01 00 00 05 02 07 [23:17:43]Write i2c OK [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: 01 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: 01 07 00 [23:17:43]MH_I2C_Read... [23:17:43]OFD Sender: Processing packet 1829 [packets to send 1, broken 0] [23:17:43]ProducePacketName [23:17:43]name=ofd_packets/00001829 [23:17:43]OFD Sender: To server: pG, [23:17:43]CommunicateWithHost lk.salyk.kg:30040 [23:17:43]ConnectInit lk.salyk.kg [23:17:43]Read from MH i2c: 01 07 00 05 02 00 00 00 00 00 FF 0F 1C [23:17:43]RasterBufferAndPrint [23:17:43]line Счет N : (3)256294 [23:17:43]line ИНН: 02508201610067 [23:17:43]line Контрольно-Кассовый Чек [23:17:43]line ПРОДАЖА [23:17:43]line Товар: 46226617 [23:17:43]line Mentos ПВ Нежная Мята 6*100*2г [23:17:43]line 1.000 * 10.00 [23:17:43]line = 10.00 [23:17:43]line НДС 12% НСП 1% [23:17:43]line > о реализуемом товаре [23:17:43]line Товар: 8710732217097 [23:17:43]line Зажигалка Cricket ПН пьезо [23:17:43]line 1.000 * 67.00 [23:17:43]line = 67.00 [23:17:43]line НДС 12% НСП 1% [23:17:43]line > о реализуемом товаре [23:17:43]line ИТОГО: 77.00 [23:17:43]line НСП 1% : 0.68 [23:17:43]line НДС 12% : 8.17 [23:17:43]line Наличными: 77.00 [23:17:43]line Безнал.: 0.00 [23:17:43]line Место: АЗС № 76 "Партнер Нефть" [23:17:43]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [23:17:43]line СНО: Общий режим [23:17:43]line Чек 63 12.07.2024 23:17 [23:17:43]line Смена: 23 ФФД: 1.0 [23:17:43]line ЗНМ: 0300000124 [23:17:43]line РНМ: 0000000000177495 [23:17:43]line Версия ККМ: 001 [23:17:43]line ФМ: 0000000002098592 [23:17:43]line ФД: 1829 [23:17:43]line ФПД: 262970709734354 [23:17:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T231741&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1829&fm=262970709734354&tin=02508201610067®Number=0000000000177495&sum=7700 [23:17:43]line 0 [23:17:43]written 0, free lines is 4095 [23:17:43]Connected sock=10 [23:17:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 9E 01 00 00 CD 01 96 01 49 6C 5A 03 01 00 03 00 8A 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 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 03 00 00 00 00 07 04 06 00 14 1E 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 95 B9 91 66 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 25 07 00 00 35 04 06 00 EF 2B A3 BD 73 D2 D9 CA 04 C2 C9 DB 24 FF [23:17:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 A0 4A 47 00 BE A2 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 32 30 39 38 35 39 32 10 04 04 00 25 07 00 00 F4 03 04 00 CD 64 91 66 B6 04 01 00 00 07 DB C0 20 7E 68 C8 2F [23:17:43]CommunicateWithHost err = 0 [23:17:43]CheckOFDResponse [23:17:43]1017 (14) - 77093643461234 [23:17:43]1041 (16) - 0000000002098592 [23:17:43]1040 (4) - 1829 [23:17:43]1012 (4) - 12.07.2024 17:15 [23:17:43]1206 (1) - 0 [23:17:43]OFD Sender: Remove packet 1829 [23:17:43]ProducePacketName [23:17:43]name=ofd_packets/00001829 [23:17:43]NVStorageDeleteData [23:17:43]Write to MH i2c: 01 00 00 34 02 36 [23:17:43]Write i2c OK [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: 01 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: 01 07 00 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: 01 07 00 34 02 00 00 00 00 00 A0 0C E9 [23:17:43]RasterBufferAndPrint [23:17:43]line [23:17:43]line [23:17:43]line [23:17:43]line [23:17:43]line [23:17:43]written 0, free lines is 3240 [23:17:43]MH_Cut [23:17:43]Write to MH i2c: D1 01 00 3B 02 01 0F [23:17:43]Write i2c OK [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: D1 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: D1 01 00 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: D1 01 00 3B 02 00 0E [23:17:43]Write to MH i2c: 01 00 00 3C 02 3E [23:17:43]Write i2c OK [23:17:43]MH_I2C_Read... [23:17:44]OFD Sender: No OFD packet to send [23:17:44]*** Cut start [23:17:44]*** Partial cut [23:17:44]*** CUTSNS_PIN = 1 [23:17:44]*** CUTSNS_PIN = 0 [23:17:44]*** Brake cut motor [23:17:45]Read from MH i2c: 01 [23:17:45]MH_I2C_Read... [23:17:45]*** Stop cut motor [23:17:45]*** Cut end [23:17:45]Read from MH i2c: 01 07 00 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: 01 07 00 3C 02 00 00 00 00 00 FF 0F 53 [23:17:45]process_action close_receipt done [23:17:45]requested_data is exist [23:17:45]produce_requested_data [23:17:45]requested_item fm.sn is exist - process it [23:17:45]wFMCommunicate request_size=4 [23:17:45]MH_SAM_APDU [23:17:45]CAPDU: 80 11 00 00 [23:17:45]Write to MH i2c: E2 08 00 3D 02 80 11 00 00 00 00 00 00 B9 [23:17:45]Write i2c OK [23:17:45]MH_I2C_Read... [23:17:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:45]Read from MH i2c: E2 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 17 00 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 17 00 3D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 0F [23:17:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [23:17:45]wFMCommunicate OK [23:17:45]requested_item fd.num is exist - process it [23:17:45]SAM_PROTO_GetFieldsCounters [23:17:45]wFMCommunicate request_size=4 [23:17:45]MH_SAM_APDU [23:17:45]CAPDU: 80 13 00 00 [23:17:45]Write to MH i2c: E2 08 00 3E 02 80 13 00 00 00 00 00 00 BC [23:17:45]Write i2c OK [23:17:45]MH_I2C_Read... [23:17:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:17:45]Read from MH i2c: E2 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 62 00 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 62 00 3E 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 E8 [23:17:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 [23:17:45]wFMCommunicate OK [23:17:45]SAM_PROTO_GetFieldsCounters done [23:17:45]requested_item shift.num is exist - process it [23:17:45]requested_item shift.opened is exist - process it [23:17:45]req_shift_opened [23:17:45]FM_GetShiftState [23:17:45]SAM_PROTO_GetShiftState [23:17:45]wFMCommunicate request_size=4 [23:17:45]MH_SAM_APDU [23:17:45]CAPDU: 80 13 01 00 [23:17:45]Write to MH i2c: E2 08 00 3F 02 80 13 01 00 00 00 00 00 BE [23:17:45]Write i2c OK [23:17:45]MH_I2C_Read... [23:17:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:45]Read from MH i2c: E2 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 0E 00 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 0E 00 3F 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 77 [23:17:45]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:17:45]wFMCommunicate OK [23:17:45]SAM_PROTO_GetShiftState done [23:17:45]FM_GetShiftState done [23:17:45]req_shift_opened done [23:17:45]requested_item shift.open_date is exist - process it [23:17:45]req_shift_open_date [23:17:45]req_shift_open_date done [23:17:45]produce_requested_data done [23:17:45]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1829,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [23:17:45]process_action_free close_receipt [23:17:45]json_value_free [23:17:45]json_value_free done [23:17:45]process_json_proto returns [23:17:45]Send response to host [23:17:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1829,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [23:17:45]free response buf [23:17:45]execute_script done [23:17:45]execute_script returns [23:17:45]free content buf [23:17:45]Sock 8.Close socket [23:17:45]Sock 8.Thread stoped [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:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:29]accept exits with 9 [23:42:29]New connection [23:42:29]New thread 3067018596 created [23:42:29]Thread 3067161956 joined [23:42:29]Waiting for new connection... [23:42:29] Sock 9.Parse request [23:42:29]Sock 9.Check first char [23:42:29]Sock 9.First char is OK [23:42:29]request: POST /json_proto HTTP/1.0 [23:42:29]Method: POST [23:42:29]URL: /json_proto [23:42:29]Method is POST - this is cgi request [23:42:29]url: /json_proto [23:42:29]query_string will be loaded in cgi processing [23:42:29]execute_cgi json_proto POST (null) [23:42:29]execute_cgi path=json_proto method=POST [23:42:29]POST find Content-Length [23:42:29]Host: 172.17.35.133:8080 [23:42:29]Content-Length: 215 [23:42:29]Content-Type: application/json [23:42:29] [23:42:29]POST finish read [23:42:29]Found Content-Length = 215 [23:42:29]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:42:29]execute_script... [23:42:29]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:42:29]POST & json_proto [23:42:29]process_json_proto [23:42:29]json parsed OK: [23:42:29]protocol is kg_v1.0 [23:42:29]action value=get_value [23:42:29]process_action get_value [23:42:29]cmd_get_value [23:42:29]process_action get_value done [23:42:29]requested_data is exist [23:42:29]produce_requested_data [23:42:29]requested_item kkm.sn is exist - process it [23:42:29]requested_item kkm.ver is exist - process it [23:42:29]requested_item fm.sn is exist - process it [23:42:29]wFMCommunicate request_size=4 [23:42:29]MH_SAM_APDU [23:42:29]CAPDU: 80 11 00 00 [23:42:29]Write to MH i2c: E2 08 00 40 02 80 11 00 00 00 00 00 00 BC [23:42:29]Write i2c OK [23:42:29]MH_I2C_Read... [23:42:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:42:29]Read from MH i2c: E2 [23:42:29]MH_I2C_Read... [23:42:29]Read from MH i2c: E2 17 00 [23:42:29]MH_I2C_Read... [23:42:29]Read from MH i2c: E2 17 00 40 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 12 [23:42:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [23:42:29]wFMCommunicate OK [23:42:29]requested_item fd.num is exist - process it [23:42:29]SAM_PROTO_GetFieldsCounters [23:42:29]wFMCommunicate request_size=4 [23:42:29]MH_SAM_APDU [23:42:29]CAPDU: 80 13 00 00 [23:42:29]Write to MH i2c: E2 08 00 41 02 80 13 00 00 00 00 00 00 BF [23:42:29]Write i2c OK [23:42:29]MH_I2C_Read... [23:42:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:42:29]Read from MH i2c: E2 [23:42:29]MH_I2C_Read... [23:42:29]Read from MH i2c: E2 62 00 [23:42:29]MH_I2C_Read... [23:42:29]Read from MH i2c: E2 62 00 41 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 EB [23:42:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 [23:42:29]wFMCommunicate OK [23:42:29]SAM_PROTO_GetFieldsCounters done [23:42:29]requested_item shift.num is exist - process it [23:42:29]requested_item shift.opened is exist - process it [23:42:29]req_shift_opened [23:42:29]FM_GetShiftState [23:42:29]SAM_PROTO_GetShiftState [23:42:29]wFMCommunicate request_size=4 [23:42:29]MH_SAM_APDU [23:42:29]CAPDU: 80 13 01 00 [23:42:29]Write to MH i2c: E2 08 00 42 02 80 13 01 00 00 00 00 00 C1 [23:42:29]Write i2c OK [23:42:29]MH_I2C_Read... [23:42:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:42:29]Read from MH i2c: E2 [23:42:29]MH_I2C_Read... [23:42:29]Read from MH i2c: E2 0E 00 [23:42:29]MH_I2C_Read... [23:42:29]Read from MH i2c: E2 0E 00 42 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 7A [23:42:29]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:42:29]wFMCommunicate OK [23:42:29]SAM_PROTO_GetShiftState done [23:42:29]FM_GetShiftState done [23:42:29]req_shift_opened done [23:42:29]requested_item shift.open_date is exist - process it [23:42:29]req_shift_open_date [23:42:29]req_shift_open_date done [23:42:29]produce_requested_data done [23:42:29]produce_requested_data return {"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1829,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [23:42:29]process_action_free get_value [23:42:29]json_value_free [23:42:29]json_value_free done [23:42:29]process_json_proto returns [23:42:29]Send response to host [23:42:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1829,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [23:42:29]free response buf [23:42:29]execute_script done [23:42:29]execute_script returns [23:42:29]free content buf [23:42:29]Sock 9.Close socket [23:42:29]Sock 9.Thread stoped [23:42:29]accept exits with 8 [23:42:29]New connection [23:42:29]New thread 3067161956 created [23:42:29]Thread 3067018596 joined [23:42:29]Waiting for new connection... [23:42:29] Sock 8.Parse request [23:42:29]Sock 8.Check first char [23:42:29]Sock 8.First char is OK [23:42:29]request: POST /json_proto HTTP/1.0 [23:42:29]Method: POST [23:42:29]URL: /json_proto [23:42:29]Method is POST - this is cgi request [23:42:29]url: /json_proto [23:42:29]query_string will be loaded in cgi processing [23:42:29]execute_cgi json_proto POST (null) [23:42:29]execute_cgi path=json_proto method=POST [23:42:29]POST find Content-Length [23:42:29]Host: 172.17.35.133:8080 [23:42:29]Content-Length: 331 [23:42:29]Content-Type: application/json [23:42:29] [23:42:29]POST finish read [23:42:29]Found Content-Length = 331 [23:42:29]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:42:29]execute_script... [23:42:29]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:42:29]POST & json_proto [23:42:29]process_json_proto [23:42:29]json parsed OK: [23:42:29]protocol is kg_v1.0 [23:42:29]action value=get_value [23:42:29]process_action get_value [23:42:29]cmd_get_value [23:42:29]process_action get_value done [23:42:29]requested_data is exist [23:42:29]produce_requested_data [23:42:29]requested_item fm.sale.total is exist - process it [23:42:29]SAM_PROTO_GetFMData [23:42:29]wFMCommunicate request_size=4 [23:42:29]MH_SAM_APDU [23:42:29]CAPDU: 80 13 03 00 [23:42:29]Write to MH i2c: E2 08 00 43 02 80 13 03 00 00 00 00 00 C4 [23:42:29]Write i2c OK [23:42:29]MH_I2C_Read... [23:42:30]OFD Sender: No OFD packet to send [23:42:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:42:30]Read from MH i2c: E2 [23:42:30]MH_I2C_Read... [23:42:30]Read from MH i2c: E2 FD 00 [23:42:30]MH_I2C_Read... [23:42:30]Read from MH i2c: E2 FD 00 43 02 00 BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 9E [23:42:30]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:42:30]wFMCommunicate OK [23:42:30]wFMCommunicate request_size=4 [23:42:30]MH_SAM_APDU [23:42:30]CAPDU: 80 17 00 00 [23:42:30]Write to MH i2c: E2 08 00 44 02 80 17 00 00 00 00 00 00 C6 [23:42:30]Write i2c OK [23:42:30]MH_I2C_Read... [23:42:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:30]Read from MH i2c: E2 [23:42:30]MH_I2C_Read... [23:42:30]Read from MH i2c: E2 FD 00 [23:42:30]MH_I2C_Read... [23:42:30]Read from MH i2c: E2 FD 00 44 02 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C3 [23:42:30]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:42:30]wFMCommunicate OK [23:42:30]wFMCommunicate request_size=4 [23:42:30]MH_SAM_APDU [23:42:30]CAPDU: 80 17 00 00 [23:42:30]Write to MH i2c: E2 08 00 45 02 80 17 00 00 00 00 00 00 C7 [23:42:30]Write i2c OK [23:42:30]MH_I2C_Read... [23:42:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:30]Read from MH i2c: E2 [23:42:30]MH_I2C_Read... [23:42:30]Read from MH i2c: E2 FD 00 [23:42:30]MH_I2C_Read... [23:42:30]Read from MH i2c: E2 FD 00 45 02 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F3 [23:42:30]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:42:30]wFMCommunicate OK [23:42:30]wFMCommunicate request_size=4 [23:42:30]MH_SAM_APDU [23:42:30]CAPDU: 80 17 00 00 [23:42:30]Write to MH i2c: E2 08 00 46 02 80 17 00 00 00 00 00 00 C8 [23:42:30]Write i2c OK [23:42:30]MH_I2C_Read... [23:42:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:31]Read from MH i2c: E2 [23:42:31]MH_I2C_Read... [23:42:31]Read from MH i2c: E2 FD 00 [23:42:31]MH_I2C_Read... [23:42:31]Read from MH i2c: E2 FD 00 46 02 00 00 EF 03 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 90 00 40 [23:42:31]RAPDU: 00 EF 03 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 90 00 [23:42:31]wFMCommunicate OK [23:42:31]wFMCommunicate request_size=4 [23:42:31]MH_SAM_APDU [23:42:31]CAPDU: 80 17 00 00 [23:42:31]Write to MH i2c: E2 08 00 47 02 80 17 00 00 00 00 00 00 C9 [23:42:31]Write i2c OK [23:42:31]MH_I2C_Read... [23:42:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:42:31]Read from MH i2c: E2 [23:42:31]MH_I2C_Read... [23:42:31]Read from MH i2c: E2 D7 00 [23:42:31]MH_I2C_Read... [23:42:31]Read from MH i2c: E2 D7 00 47 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 AC [23:42:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:42:31]wFMCommunicate OK [23:42:31]SAM_PROTO_GetFMData done [23:42:31]requested_item fm.sale_refund.total is exist - process it [23:42:31]requested_item fm.buy.total is exist - process it [23:42:31]requested_item shift.sale.total is exist - process it [23:42:31]SAM_PROTO_GetShiftData [23:42:31]wFMCommunicate request_size=4 [23:42:31]MH_SAM_APDU [23:42:31]CAPDU: 80 13 02 00 [23:42:31]Write to MH i2c: E2 08 00 48 02 80 13 02 00 00 00 00 00 C8 [23:42:31]Write i2c OK [23:42:31]MH_I2C_Read... [23:42:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:42:31]Read from MH i2c: E2 [23:42:31]MH_I2C_Read... [23:42:31]Read from MH i2c: E2 FD 00 [23:42:31]MH_I2C_Read... [23:42:31]Read from MH i2c: E2 FD 00 48 02 00 AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 97 [23:42:31]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:42:31]wFMCommunicate OK [23:42:31]wFMCommunicate request_size=4 [23:42:31]MH_SAM_APDU [23:42:31]CAPDU: 80 17 00 00 [23:42:31]Write to MH i2c: E2 08 00 49 02 80 17 00 00 00 00 00 00 CB [23:42:31]Write i2c OK [23:42:31]MH_I2C_Read... [23:42:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:32]Read from MH i2c: E2 [23:42:32]MH_I2C_Read... [23:42:32]Read from MH i2c: E2 FD 00 [23:42:32]MH_I2C_Read... [23:42:32]Read from MH i2c: E2 FD 00 49 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 ED [23:42:32]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:42:32]wFMCommunicate OK [23:42:32]wFMCommunicate request_size=4 [23:42:32]MH_SAM_APDU [23:42:32]CAPDU: 80 17 00 00 [23:42:32]Write to MH i2c: E2 08 00 4A 02 80 17 00 00 00 00 00 00 CC [23:42:32]Write i2c OK [23:42:32]MH_I2C_Read... [23:42:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:32]Read from MH i2c: E2 [23:42:32]MH_I2C_Read... [23:42:32]Read from MH i2c: E2 FD 00 [23:42:32]MH_I2C_Read... [23:42:32]Read from MH i2c: E2 FD 00 4A 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 83 [23:42:32]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:42:32]wFMCommunicate OK [23:42:32]wFMCommunicate request_size=4 [23:42:32]MH_SAM_APDU [23:42:32]CAPDU: 80 17 00 00 [23:42:32]Write to MH i2c: E2 08 00 4B 02 80 17 00 00 00 00 00 00 CD [23:42:32]Write i2c OK [23:42:32]MH_I2C_Read... [23:42:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:32]Read from MH i2c: E2 [23:42:32]MH_I2C_Read... [23:42:32]Read from MH i2c: E2 FD 00 [23:42:32]MH_I2C_Read... [23:42:32]Read from MH i2c: E2 FD 00 4B 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 3F [23:42:32]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:42:32]wFMCommunicate OK [23:42:32]wFMCommunicate request_size=4 [23:42:32]MH_SAM_APDU [23:42:32]CAPDU: 80 17 00 00 [23:42:32]Write to MH i2c: E2 08 00 4C 02 80 17 00 00 00 00 00 00 CE [23:42:32]Write i2c OK [23:42:32]MH_I2C_Read... [23:42:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:42:32]Read from MH i2c: E2 [23:42:32]MH_I2C_Read... [23:42:32]Read from MH i2c: E2 CB 00 [23:42:32]MH_I2C_Read... [23:42:32]Read from MH i2c: E2 CB 00 4C 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B7 [23:42:32]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:42:32]wFMCommunicate OK [23:42:32]SAM_PROTO_GetShiftData done [23:42:32]requested_item shift.sale.total_cash is exist - process it [23:42:32]requested_item shift.sale_refund.total is exist - process it [23:42:32]requested_item shift.sale_refund.total_cash is exist - process it [23:42:32]requested_item shift.buy.total is exist - process it [23:42:32]requested_item shift.buy.total_cash is exist - process it [23:42:32]produce_requested_data done [23:42:32]produce_requested_data return {"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:42:32]process_action_free get_value [23:42:32]json_value_free [23:42:32]json_value_free done [23:42:32]process_json_proto returns [23:42:32]Send response to host [23:42:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:42:32]free response buf [23:42:32]execute_script done [23:42:32]execute_script returns [23:42:32]free content buf [23:42:32]Sock 8.Close socket [23:42:32]Sock 8.Thread stoped [23:42:33]accept exits with 9 [23:42:33]New connection [23:42:33]New thread 3067018596 created [23:42:33]Thread 3067161956 joined [23:42:33]Waiting for new connection... [23:42:33] Sock 9.Parse request [23:42:33]Sock 9.Check first char [23:42:33]Sock 9.First char is OK [23:42:33]request: POST /json_proto HTTP/1.0 [23:42:33]Method: POST [23:42:33]URL: /json_proto [23:42:33]Method is POST - this is cgi request [23:42:33]url: /json_proto [23:42:33]query_string will be loaded in cgi processing [23:42:33]execute_cgi json_proto POST (null) [23:42:33]execute_cgi path=json_proto method=POST [23:42:33]POST find Content-Length [23:42:33]Host: 172.17.35.133:8080 [23:42:33]Content-Length: 331 [23:42:33]Content-Type: application/json [23:42:33] [23:42:33]POST finish read [23:42:33]Found Content-Length = 331 [23:42:33]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:42:33]execute_script... [23:42:33]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:42:33]POST & json_proto [23:42:33]process_json_proto [23:42:33]json parsed OK: [23:42:33]protocol is kg_v1.0 [23:42:33]action value=get_value [23:42:33]process_action get_value [23:42:33]cmd_get_value [23:42:33]process_action get_value done [23:42:33]requested_data is exist [23:42:33]produce_requested_data [23:42:33]requested_item fm.sale.total is exist - process it [23:42:33]SAM_PROTO_GetFMData [23:42:33]wFMCommunicate request_size=4 [23:42:33]MH_SAM_APDU [23:42:33]CAPDU: 80 13 03 00 [23:42:33]Write to MH i2c: E2 08 00 4D 02 80 13 03 00 00 00 00 00 CE [23:42:33]Write i2c OK [23:42:33]MH_I2C_Read... [23:42:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:42:33]Read from MH i2c: E2 [23:42:33]MH_I2C_Read... [23:42:33]Read from MH i2c: E2 FD 00 [23:42:33]MH_I2C_Read... [23:42:33]Read from MH i2c: E2 FD 00 4D 02 00 BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 A8 [23:42:33]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:42:33]wFMCommunicate OK [23:42:33]wFMCommunicate request_size=4 [23:42:33]MH_SAM_APDU [23:42:33]CAPDU: 80 17 00 00 [23:42:33]Write to MH i2c: E2 08 00 4E 02 80 17 00 00 00 00 00 00 D0 [23:42:33]Write i2c OK [23:42:33]MH_I2C_Read... [23:42:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:33]Read from MH i2c: E2 [23:42:33]MH_I2C_Read... [23:42:33]Read from MH i2c: E2 FD 00 [23:42:33]MH_I2C_Read... [23:42:33]Read from MH i2c: E2 FD 00 4E 02 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CD [23:42:33]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:42:33]wFMCommunicate OK [23:42:33]wFMCommunicate request_size=4 [23:42:33]MH_SAM_APDU [23:42:33]CAPDU: 80 17 00 00 [23:42:33]Write to MH i2c: E2 08 00 4F 02 80 17 00 00 00 00 00 00 D1 [23:42:33]Write i2c OK [23:42:33]MH_I2C_Read... [23:42:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:34]Read from MH i2c: E2 [23:42:34]MH_I2C_Read... [23:42:34]Read from MH i2c: E2 FD 00 [23:42:34]MH_I2C_Read... [23:42:34]Read from MH i2c: E2 FD 00 4F 02 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FD [23:42:34]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:42:34]wFMCommunicate OK [23:42:34]wFMCommunicate request_size=4 [23:42:34]MH_SAM_APDU [23:42:34]CAPDU: 80 17 00 00 [23:42:34]Write to MH i2c: E2 08 00 50 02 80 17 00 00 00 00 00 00 D2 [23:42:34]Write i2c OK [23:42:34]MH_I2C_Read... [23:42:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:34]Read from MH i2c: E2 [23:42:34]MH_I2C_Read... [23:42:34]Read from MH i2c: E2 FD 00 [23:42:34]MH_I2C_Read... [23:42:34]Read from MH i2c: E2 FD 00 50 02 00 00 EF 03 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 90 00 4A [23:42:34]RAPDU: 00 EF 03 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 90 00 [23:42:34]wFMCommunicate OK [23:42:34]wFMCommunicate request_size=4 [23:42:34]MH_SAM_APDU [23:42:34]CAPDU: 80 17 00 00 [23:42:34]Write to MH i2c: E2 08 00 51 02 80 17 00 00 00 00 00 00 D3 [23:42:34]Write i2c OK [23:42:34]MH_I2C_Read... [23:42:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:42:34]Read from MH i2c: E2 [23:42:34]MH_I2C_Read... [23:42:34]Read from MH i2c: E2 D7 00 [23:42:34]MH_I2C_Read... [23:42:34]Read from MH i2c: E2 D7 00 51 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 B6 [23:42:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:42:35]wFMCommunicate OK [23:42:35]SAM_PROTO_GetFMData done [23:42:35]requested_item fm.sale_refund.total is exist - process it [23:42:35]requested_item fm.buy.total is exist - process it [23:42:35]requested_item shift.sale.total is exist - process it [23:42:35]SAM_PROTO_GetShiftData [23:42:35]wFMCommunicate request_size=4 [23:42:35]MH_SAM_APDU [23:42:35]CAPDU: 80 13 02 00 [23:42:35]Write to MH i2c: E2 08 00 52 02 80 13 02 00 00 00 00 00 D2 [23:42:35]Write i2c OK [23:42:35]MH_I2C_Read... [23:42:35]OFD Sender: No OFD packet to send [23:42:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:42:35]Read from MH i2c: E2 [23:42:35]MH_I2C_Read... [23:42:35]Read from MH i2c: E2 FD 00 [23:42:35]MH_I2C_Read... [23:42:35]Read from MH i2c: E2 FD 00 52 02 00 AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A1 [23:42:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:42:35]wFMCommunicate OK [23:42:35]wFMCommunicate request_size=4 [23:42:35]MH_SAM_APDU [23:42:35]CAPDU: 80 17 00 00 [23:42:35]Write to MH i2c: E2 08 00 53 02 80 17 00 00 00 00 00 00 D5 [23:42:35]Write i2c OK [23:42:35]MH_I2C_Read... [23:42:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:35]Read from MH i2c: E2 [23:42:35]MH_I2C_Read... [23:42:35]Read from MH i2c: E2 FD 00 [23:42:35]MH_I2C_Read... [23:42:35]Read from MH i2c: E2 FD 00 53 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 F7 [23:42:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:42:35]wFMCommunicate OK [23:42:35]wFMCommunicate request_size=4 [23:42:35]MH_SAM_APDU [23:42:35]CAPDU: 80 17 00 00 [23:42:35]Write to MH i2c: E2 08 00 54 02 80 17 00 00 00 00 00 00 D6 [23:42:35]Write i2c OK [23:42:35]MH_I2C_Read... [23:42:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:36]Read from MH i2c: E2 [23:42:36]MH_I2C_Read... [23:42:36]Read from MH i2c: E2 FD 00 [23:42:36]MH_I2C_Read... [23:42:36]Read from MH i2c: E2 FD 00 54 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 8D [23:42:36]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:42:36]wFMCommunicate OK [23:42:36]wFMCommunicate request_size=4 [23:42:36]MH_SAM_APDU [23:42:36]CAPDU: 80 17 00 00 [23:42:36]Write to MH i2c: E2 08 00 55 02 80 17 00 00 00 00 00 00 D7 [23:42:36]Write i2c OK [23:42:36]MH_I2C_Read... [23:42:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:36]Read from MH i2c: E2 [23:42:36]MH_I2C_Read... [23:42:36]Read from MH i2c: E2 FD 00 [23:42:36]MH_I2C_Read... [23:42:36]Read from MH i2c: E2 FD 00 55 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 49 [23:42:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:42:36]wFMCommunicate OK [23:42:36]wFMCommunicate request_size=4 [23:42:36]MH_SAM_APDU [23:42:36]CAPDU: 80 17 00 00 [23:42:36]Write to MH i2c: E2 08 00 56 02 80 17 00 00 00 00 00 00 D8 [23:42:36]Write i2c OK [23:42:36]MH_I2C_Read... [23:42:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:42:36]Read from MH i2c: E2 [23:42:36]MH_I2C_Read... [23:42:36]Read from MH i2c: E2 CB 00 [23:42:36]MH_I2C_Read... [23:42:36]Read from MH i2c: E2 CB 00 56 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C1 [23:42:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:42:36]wFMCommunicate OK [23:42:36]SAM_PROTO_GetShiftData done [23:42:36]requested_item shift.sale.total_cash is exist - process it [23:42:36]requested_item shift.sale_refund.total is exist - process it [23:42:37]requested_item shift.sale_refund.total_cash is exist - process it [23:42:37]requested_item shift.buy.total is exist - process it [23:42:37]requested_item shift.buy.total_cash is exist - process it [23:42:37]produce_requested_data done [23:42:37]produce_requested_data return {"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:42:37]process_action_free get_value [23:42:37]json_value_free [23:42:37]json_value_free done [23:42:37]process_json_proto returns [23:42:37]Send response to host [23:42:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:42:37]free response buf [23:42:37]execute_script done [23:42:37]execute_script returns [23:42:37]free content buf [23:42:37]Sock 9.Close socket [23:42:37]Sock 9.Thread stoped [23:42:37]accept exits with 8 [23:42:37]New connection [23:42:37]New thread 3067161956 created [23:42:37]Thread 3067018596 joined [23:42:37]Waiting for new connection... [23:42:37] Sock 8.Parse request [23:42:37]Sock 8.Check first char [23:42:37]Sock 8.First char is OK [23:42:37]request: POST /json_proto HTTP/1.0 [23:42:37]Method: POST [23:42:37]URL: /json_proto [23:42:37]Method is POST - this is cgi request [23:42:37]url: /json_proto [23:42:37]query_string will be loaded in cgi processing [23:42:37]execute_cgi json_proto POST (null) [23:42:37]execute_cgi path=json_proto method=POST [23:42:37]POST find Content-Length [23:42:37]Host: 172.17.35.133:8080 [23:42:37]Content-Length: 241 [23:42:37]Content-Type: application/json [23:42:37] [23:42:37]POST finish read [23:42:37]Found Content-Length = 241 [23:42:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0427\u043E\u0440\u043E \u0443. \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:42:37]execute_script... [23:42:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0427\u043E\u0440\u043E \u0443. \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:42:37]POST & json_proto [23:42:37]process_json_proto [23:42:37]json parsed OK: [23:42:37]protocol is kg_v1.0 [23:42:37]action value=x_report [23:42:37]process_action x_report [23:42:37]cmd_x_report [23:42:37]MH_GetDate [23:42:37]Write to MH i2c: F0 00 00 57 02 48 [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: F0 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: F0 09 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: F0 09 00 57 02 00 6D BF 91 66 1B 28 2A 66 47 [23:42:37]GetLastDocTimeStamp 1720826261 [23:42:37]current date 1720827757 [23:42:37]FM_GetShiftState [23:42:37]SAM_PROTO_GetShiftState [23:42:37]wFMCommunicate request_size=4 [23:42:37]MH_SAM_APDU [23:42:37]CAPDU: 80 13 01 00 [23:42:37]Write to MH i2c: E2 08 00 58 02 80 13 01 00 00 00 00 00 D7 [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:42:37]Read from MH i2c: E2 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: E2 0E 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: E2 0E 00 58 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 90 [23:42:37]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:42:37]wFMCommunicate OK [23:42:37]SAM_PROTO_GetShiftState done [23:42:37]FM_GetShiftState done [23:42:37]KKMCreateXReportDocument [23:42:37]Load OK [23:42:37]Malloc new data [23:42:37]MH_GetDate [23:42:37]Write to MH i2c: F0 00 00 59 02 4A [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: F0 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: F0 09 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: F0 09 00 59 02 00 6D BF 91 66 1B 28 2A 66 49 [23:42:37]Malloc new data [23:42:37]Malloc new data [23:42:37]wFMCommunicate request_size=4 [23:42:37]MH_SAM_APDU [23:42:37]CAPDU: 80 11 00 00 [23:42:37]Write to MH i2c: E2 08 00 5A 02 80 11 00 00 00 00 00 00 D6 [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:42:37]Read from MH i2c: E2 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: E2 17 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: E2 17 00 5A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 2C [23:42:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [23:42:37]wFMCommunicate OK [23:42:37]SAM_PROTO_GetFieldsCounters [23:42:37]wFMCommunicate request_size=4 [23:42:37]MH_SAM_APDU [23:42:37]CAPDU: 80 13 00 00 [23:42:37]Write to MH i2c: E2 08 00 5B 02 80 13 00 00 00 00 00 00 D9 [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:42:37]Read from MH i2c: E2 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: E2 62 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: E2 62 00 5B 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 05 [23:42:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 [23:42:37]wFMCommunicate OK [23:42:37]SAM_PROTO_GetFieldsCounters done [23:42:37]Malloc new data [23:42:37]Malloc new data [23:42:37]Malloc new data [23:42:37]KKMCreateXReportDocument OK [23:42:37]KKMSetXReportData OK [23:42:37]KKMPrepareXReportFMData [23:42:37]SAM_PROTO_GetShiftData [23:42:37]wFMCommunicate request_size=4 [23:42:37]MH_SAM_APDU [23:42:37]CAPDU: 80 13 02 00 [23:42:37]Write to MH i2c: E2 08 00 5C 02 80 13 02 00 00 00 00 00 DC [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:42:37]Read from MH i2c: E2 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: E2 FD 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: E2 FD 00 5C 02 00 AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AB [23:42:37]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:42:38]wFMCommunicate OK [23:42:38]wFMCommunicate request_size=4 [23:42:38]MH_SAM_APDU [23:42:38]CAPDU: 80 17 00 00 [23:42:38]Write to MH i2c: E2 08 00 5D 02 80 17 00 00 00 00 00 00 DF [23:42:38]Write i2c OK [23:42:38]MH_I2C_Read... [23:42:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:38]Read from MH i2c: E2 [23:42:38]MH_I2C_Read... [23:42:38]Read from MH i2c: E2 FD 00 [23:42:38]MH_I2C_Read... [23:42:38]Read from MH i2c: E2 FD 00 5D 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 01 [23:42:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:42:38]wFMCommunicate OK [23:42:38]wFMCommunicate request_size=4 [23:42:38]MH_SAM_APDU [23:42:38]CAPDU: 80 17 00 00 [23:42:38]Write to MH i2c: E2 08 00 5E 02 80 17 00 00 00 00 00 00 E0 [23:42:38]Write i2c OK [23:42:38]MH_I2C_Read... [23:42:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:38]Read from MH i2c: E2 [23:42:38]MH_I2C_Read... [23:42:38]Read from MH i2c: E2 FD 00 [23:42:38]MH_I2C_Read... [23:42:38]Read from MH i2c: E2 FD 00 5E 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 97 [23:42:38]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:42:38]wFMCommunicate OK [23:42:38]wFMCommunicate request_size=4 [23:42:38]MH_SAM_APDU [23:42:38]CAPDU: 80 17 00 00 [23:42:38]Write to MH i2c: E2 08 00 5F 02 80 17 00 00 00 00 00 00 E1 [23:42:38]Write i2c OK [23:42:38]MH_I2C_Read... [23:42:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:39]Read from MH i2c: E2 [23:42:39]MH_I2C_Read... [23:42:39]Read from MH i2c: E2 FD 00 [23:42:39]MH_I2C_Read... [23:42:39]Read from MH i2c: E2 FD 00 5F 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 53 [23:42:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:42:39]wFMCommunicate OK [23:42:39]wFMCommunicate request_size=4 [23:42:39]MH_SAM_APDU [23:42:39]CAPDU: 80 17 00 00 [23:42:39]Write to MH i2c: E2 08 00 60 02 80 17 00 00 00 00 00 00 E2 [23:42:39]Write i2c OK [23:42:39]MH_I2C_Read... [23:42:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:42:39]Read from MH i2c: E2 [23:42:39]MH_I2C_Read... [23:42:39]Read from MH i2c: E2 CB 00 [23:42:39]MH_I2C_Read... [23:42:39]Read from MH i2c: E2 CB 00 60 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CB [23:42:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:42:39]wFMCommunicate OK [23:42:39]SAM_PROTO_GetShiftData done [23:42:39]1194 (1194) - счетчики итогов смены [23:42:39] 1134 (4) - 63 - количество чеков со всеми признаками расчетов [23:42:39] 1129 (155) - счетчики операций «приход» [23:42:39] 1135 (4) - 63 - количество чеков по признаку расчетов [23:42:39] 1201 (3) - 16119.00 - общая итоговая сумма в чеках [23:42:39] 1136 (3) - 13834.00 - итоговая сумма в чеках наличными [23:42:39] 1138 (3) - 2285.00 - итоговая сумма в чеках безналичными [23:42:39] 1024 (122) - суммы налогов [23:42:39] 1006 (9) - суммы НДС [23:42:39] 1010 (1) - 0% - код ставки НДС [23:42:39] 1011 (0) - 0.00 - сумма НДС по ставке [23:42:39] 1006 (12) - суммы НДС [23:42:39] 1010 (1) - 12% - код ставки НДС [23:42:39] 1011 (3) - 1711.85 - сумма НДС по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 0% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (11) - суммы НСП [23:42:39] 1014 (1) - 1% - код ставки НСП [23:42:39] 1015 (2) - 142.59 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 2% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 3% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 5% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 0,50% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 1,50% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1130 (141) - счетчики операций «возврат прихода» [23:42:39] 1135 (4) - 0 - количество чеков по признаку расчетов [23:42:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:42:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:42:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:42:39] 1024 (117) - суммы налогов [23:42:39] 1006 (9) - суммы НДС [23:42:39] 1010 (1) - 0% - код ставки НДС [23:42:39] 1011 (0) - 0.00 - сумма НДС по ставке [23:42:39] 1006 (9) - суммы НДС [23:42:39] 1010 (1) - 12% - код ставки НДС [23:42:39] 1011 (0) - 0.00 - сумма НДС по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 0% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 1% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 2% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 3% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 5% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 0,50% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 1,50% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1131 (141) - счетчики операций «расход» [23:42:39] 1135 (4) - 0 - количество чеков по признаку расчетов [23:42:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:42:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:42:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:42:39] 1024 (117) - суммы налогов [23:42:39] 1006 (9) - суммы НДС [23:42:39] 1010 (1) - 0% - код ставки НДС [23:42:39] 1011 (0) - 0.00 - сумма НДС по ставке [23:42:39] 1006 (9) - суммы НДС [23:42:39] 1010 (1) - 12% - код ставки НДС [23:42:39] 1011 (0) - 0.00 - сумма НДС по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 0% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 1% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 2% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 3% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 5% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 0,50% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 1,50% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1132 (141) - счетчики операций «возврат расхода» [23:42:39] 1135 (4) - 0 - количество чеков по признаку расчетов [23:42:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:42:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:42:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:42:39] 1024 (117) - суммы налогов [23:42:39] 1006 (9) - суммы НДС [23:42:39] 1010 (1) - 0% - код ставки НДС [23:42:39] 1011 (0) - 0.00 - сумма НДС по ставке [23:42:39] 1006 (9) - суммы НДС [23:42:39] 1010 (1) - 12% - код ставки НДС [23:42:39] 1011 (0) - 0.00 - сумма НДС по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 0% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 1% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 2% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 3% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 5% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 0,50% - код ставки НСП [23:42:39] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:39] 1007 (9) - суммы НСП [23:42:39] 1014 (1) - 1,50% - код ставки НСП [23:42:40] 1015 (0) - 0.00 - сумма НСП по ставке [23:42:40] 1133 (588) - - счетчики коррекции - не используются [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1194 (04AA) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1134 (046E) [23:42:40]Malloc new data [23:42:40]Processing tag 1129 (0469) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1135 (046F) [23:42:40]Malloc new data [23:42:40]Processing tag 1201 (04B1) [23:42:40]Malloc new data [23:42:40]Processing tag 1136 (0470) [23:42:40]Malloc new data [23:42:40]Processing tag 1138 (0472) [23:42:40]Malloc new data [23:42:40]Processing tag 1024 (0400) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1006 (03EE) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1010 (03F2) [23:42:40]Malloc new data [23:42:40]Processing tag 1011 (03F3) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1006 (03EE) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1010 (03F2) [23:42:40]Malloc new data [23:42:40]Processing tag 1011 (03F3) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1130 (046A) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1135 (046F) [23:42:40]Malloc new data [23:42:40]Processing tag 1201 (04B1) [23:42:40]Malloc new data [23:42:40]Processing tag 1136 (0470) [23:42:40]Malloc new data [23:42:40]Processing tag 1138 (0472) [23:42:40]Malloc new data [23:42:40]Processing tag 1024 (0400) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1006 (03EE) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1010 (03F2) [23:42:40]Malloc new data [23:42:40]Processing tag 1011 (03F3) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1006 (03EE) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1010 (03F2) [23:42:40]Malloc new data [23:42:40]Processing tag 1011 (03F3) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1131 (046B) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1135 (046F) [23:42:40]Malloc new data [23:42:40]Processing tag 1201 (04B1) [23:42:40]Malloc new data [23:42:40]Processing tag 1136 (0470) [23:42:40]Malloc new data [23:42:40]Processing tag 1138 (0472) [23:42:40]Malloc new data [23:42:40]Processing tag 1024 (0400) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1006 (03EE) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1010 (03F2) [23:42:40]Malloc new data [23:42:40]Processing tag 1011 (03F3) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1006 (03EE) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1010 (03F2) [23:42:40]Malloc new data [23:42:40]Processing tag 1011 (03F3) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]OFD Sender: No OFD packet to send [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1132 (046C) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1135 (046F) [23:42:40]Malloc new data [23:42:40]Processing tag 1201 (04B1) [23:42:40]Malloc new data [23:42:40]Processing tag 1136 (0470) [23:42:40]Malloc new data [23:42:40]Processing tag 1138 (0472) [23:42:40]Malloc new data [23:42:40]Processing tag 1024 (0400) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1006 (03EE) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1010 (03F2) [23:42:40]Malloc new data [23:42:40]Processing tag 1011 (03F3) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1006 (03EE) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1010 (03F2) [23:42:40]Malloc new data [23:42:40]Processing tag 1011 (03F3) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1007 (03EF) [23:42:40]Load OK [23:42:40]SetTLVBufToDocument [23:42:40]Processing tag 1014 (03F6) [23:42:40]Malloc new data [23:42:40]Processing tag 1015 (03F7) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Processing tag 1133 (046D) [23:42:40]Malloc new data [23:42:40]SetTLVBufToDocument err=0 [23:42:40]SetTLVBufToDocument err=0 [23:42:40]Malloc new data [23:42:40]SAM_PROTO_GetFMData [23:42:40]wFMCommunicate request_size=4 [23:42:40]MH_SAM_APDU [23:42:40]CAPDU: 80 13 03 00 [23:42:40]Write to MH i2c: E2 08 00 61 02 80 13 03 00 00 00 00 00 E2 [23:42:40]Write i2c OK [23:42:40]MH_I2C_Read... [23:42:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:42:41]Read from MH i2c: E2 [23:42:41]MH_I2C_Read... [23:42:41]Read from MH i2c: E2 FD 00 [23:42:41]MH_I2C_Read... [23:42:41]Read from MH i2c: E2 FD 00 61 02 00 BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 BC [23:42:41]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:42:41]wFMCommunicate OK [23:42:41]wFMCommunicate request_size=4 [23:42:41]MH_SAM_APDU [23:42:41]CAPDU: 80 17 00 00 [23:42:41]Write to MH i2c: E2 08 00 62 02 80 17 00 00 00 00 00 00 E4 [23:42:41]Write i2c OK [23:42:41]MH_I2C_Read... [23:42:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:41]Read from MH i2c: E2 [23:42:41]MH_I2C_Read... [23:42:41]Read from MH i2c: E2 FD 00 [23:42:41]MH_I2C_Read... [23:42:41]Read from MH i2c: E2 FD 00 62 02 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E1 [23:42:41]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:42:41]wFMCommunicate OK [23:42:41]wFMCommunicate request_size=4 [23:42:41]MH_SAM_APDU [23:42:41]CAPDU: 80 17 00 00 [23:42:41]Write to MH i2c: E2 08 00 63 02 80 17 00 00 00 00 00 00 E5 [23:42:42]Write i2c OK [23:42:42]MH_I2C_Read... [23:42:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:42]Read from MH i2c: E2 [23:42:42]MH_I2C_Read... [23:42:42]Read from MH i2c: E2 FD 00 [23:42:42]MH_I2C_Read... [23:42:42]Read from MH i2c: E2 FD 00 63 02 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 11 [23:42:42]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:42:42]wFMCommunicate OK [23:42:42]wFMCommunicate request_size=4 [23:42:42]MH_SAM_APDU [23:42:42]CAPDU: 80 17 00 00 [23:42:42]Write to MH i2c: E2 08 00 64 02 80 17 00 00 00 00 00 00 E6 [23:42:42]Write i2c OK [23:42:42]MH_I2C_Read... [23:42:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:42:42]Read from MH i2c: E2 [23:42:42]MH_I2C_Read... [23:42:42]Read from MH i2c: E2 FD 00 [23:42:42]MH_I2C_Read... [23:42:42]Read from MH i2c: E2 FD 00 64 02 00 00 EF 03 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 90 00 5E [23:42:42]RAPDU: 00 EF 03 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 90 00 [23:42:42]wFMCommunicate OK [23:42:42]wFMCommunicate request_size=4 [23:42:42]MH_SAM_APDU [23:42:42]CAPDU: 80 17 00 00 [23:42:42]Write to MH i2c: E2 08 00 65 02 80 17 00 00 00 00 00 00 E7 [23:42:42]Write i2c OK [23:42:42]MH_I2C_Read... [23:42:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:42:43]Read from MH i2c: E2 [23:42:43]MH_I2C_Read... [23:42:43]Read from MH i2c: E2 D7 00 [23:42:43]MH_I2C_Read... [23:42:43]Read from MH i2c: E2 D7 00 65 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 CA [23:42:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:42:43]wFMCommunicate OK [23:42:43]SAM_PROTO_GetFMData done [23:42:43]FM_GetFMData:85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:42:43]oper:6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 [23:42:44]total:99 E0 4F 04 [23:42:44]Malloc new data [23:42:44]oper:6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:42:44]total:80 25 [23:42:44]Malloc new data [23:42:44]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:42:44]total: [23:42:44]Malloc new data [23:42:44]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:42:44]total: [23:42:44]Malloc new data [23:42:44]KKMPrepareXReportFMData err=0 [23:42:44]Х отчет ИНН: 02508201610067 Кассир: Чоро у. К. 12.07.2024 23:42 Смена: 10 РНМ: 0000000000177495 ЗНМ: 0300000124 СНО: Общий режим Всего чеков: 63 ИТОГИ ПРИХОД Чеков: 63 Общий итог: 16119.00 Итого наличными: 13834.00 Итого безнал.: 2285.00 НДС 0% : 0.00 НДС 12% : 1711.85 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 142.59 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 13834.00 НС Приход: 723437.05 НС Возвр.Прихода: 96.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000002098592 [23:42:44]StoreToDocumentArchive [23:42:44]MH_GetDate [23:42:44]Write to MH i2c: F0 00 00 66 02 57 [23:42:44]Write i2c OK [23:42:44]MH_I2C_Read... [23:42:44]Read from MH i2c: F0 [23:42:44]MH_I2C_Read... [23:42:44]Read from MH i2c: F0 09 00 [23:42:44]MH_I2C_Read... [23:42:44]Read from MH i2c: F0 09 00 66 02 00 75 BF 91 66 1B 28 2A 66 5E [23:42:44]shift 10 fd 1720827765 [23:42:44]Create dir for shift 0010 [23:42:44]save to /storage/0010/doc_1720827765 [23:42:44]save last doc name /storage/0010/doc_1720827765 to /storage/kkm_last_doc_name [23:42:44]save OK [23:42:44]Clear old archive folders... [23:42:44]NVStorageSaveData kkm_last_timestamp [23:42:44]File name is /storage/kkm_last_timestamp [23:42:44]Write 4 bytes [23:42:44]NVStorageSaveData done [23:42:44]ExternCall_PrintAddStr [23:42:44]wPrintStart [23:42:44]Write to MH i2c: 01 00 00 67 02 69 [23:42:44]Write i2c OK [23:42:44]MH_I2C_Read... [23:42:44]Read from MH i2c: 01 [23:42:44]MH_I2C_Read... [23:42:44]Read from MH i2c: 01 07 00 [23:42:44]MH_I2C_Read... [23:42:44]Read from MH i2c: 01 07 00 67 02 00 00 00 00 00 FF 0F 7E [23:42:44]RasterBufferAndPrint [23:42:44]line Х отчет [23:42:44]line ИНН: 02508201610067 [23:42:44]line Кассир: Чоро у. К. [23:42:44]line 12.07.2024 23:42 [23:42:44]line Смена: 10 [23:42:44]line РНМ: 0000000000177495 [23:42:44]line ЗНМ: 0300000124 [23:42:44]line СНО: Общий режим [23:42:44]line Всего чеков: 63 [23:42:44]line ИТОГИ ПРИХОД [23:42:44]line Чеков: 63 [23:42:44]line Общий итог: 16119.00 [23:42:44]line Итого наличными: 13834.00 [23:42:44]line Итого безнал.: 2285.00 [23:42:44]line НДС 0% : 0.00 [23:42:44]line НДС 12% : 1711.85 [23:42:44]line НСП 0% : 0.00 [23:42:44]line НСП 1,50% : 0.00 [23:42:44]line НСП 0,50% : 0.00 [23:42:44]line НСП 5% : 0.00 [23:42:44]line НСП 3% : 0.00 [23:42:44]line НСП 2% : 0.00 [23:42:44]line НСП 1% : 142.59 [23:42:44]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:42:44]line Чеков: 0 [23:42:44]line Общий итог: 0.00 [23:42:44]line Итого наличными: 0.00 [23:42:44]line Итого безнал.: 0.00 [23:42:44]line НДС 0% : 0.00 [23:42:44]line НДС 12% : 0.00 [23:42:44]line НСП 0% : 0.00 [23:42:44]line НСП 1,50% : 0.00 [23:42:44]line НСП 0,50% : 0.00 [23:42:44]line НСП 5% : 0.00 [23:42:44]line НСП 3% : 0.00 [23:42:44]line НСП 2% : 0.00 [23:42:44]line НСП 1% : 0.00 [23:42:44]line ИТОГИ РАСХОД [23:42:44]line Чеков: 0 [23:42:44]line Общий итог: 0.00 [23:42:44]line Итого наличными: 0.00 [23:42:44]line Итого безнал.: 0.00 [23:42:44]line НДС 0% : 0.00 [23:42:44]line НДС 12% : 0.00 [23:42:44]line НСП 0% : 0.00 [23:42:44]line НСП 1,50% : 0.00 [23:42:44]line НСП 0,50% : 0.00 [23:42:44]line НСП 5% : 0.00 [23:42:44]line НСП 3% : 0.00 [23:42:44]line НСП 2% : 0.00 [23:42:44]line НСП 1% : 0.00 [23:42:44]line ИТОГИ ВОЗВРАТ РАСХОДА [23:42:44]line Чеков: 0 [23:42:44]line Общий итог: 0.00 [23:42:44]line Итого наличными: 0.00 [23:42:44]line Итого безнал.: 0.00 [23:42:44]line НДС 0% : 0.00 [23:42:44]line НДС 12% : 0.00 [23:42:44]line НСП 0% : 0.00 [23:42:44]line НСП 1,50% : 0.00 [23:42:44]line НСП 0,50% : 0.00 [23:42:44]line НСП 5% : 0.00 [23:42:44]line НСП 3% : 0.00 [23:42:44]line НСП 2% : 0.00 [23:42:44]line НСП 1% : 0.00 [23:42:44]line Сумма внесений: 0.00 [23:42:44]line Сумма выплат: 0.00 [23:42:44]line Нал. в кассе: 13834.00 [23:42:44]line НС Приход: 723437.05 [23:42:44]line НС Возвр.Прихода: 96.00 [23:42:44]line НС Расход: 0.00 [23:42:44]line НС Возвр.Расхода: 0.00 [23:42:44]line ФМ: 0000000002098592 [23:42:44]written 0, free lines is 4095 [23:42:45]Write to MH i2c: 01 00 00 B2 02 B4 [23:42:45]Write i2c OK [23:42:45]MH_I2C_Read... [23:42:45]Read from MH i2c: 01 [23:42:45]MH_I2C_Read... [23:42:45]Read from MH i2c: 01 07 00 [23:42:45]MH_I2C_Read... [23:42:45]Read from MH i2c: 01 07 00 B2 02 00 00 00 00 00 BD 0A 82 [23:42:45]RasterBufferAndPrint [23:42:45]line [23:42:45]line [23:42:45]line [23:42:45]line [23:42:45]line [23:42:45]written 0, free lines is 2785 [23:42:45]MH_Cut [23:42:45]Write to MH i2c: D1 01 00 B9 02 01 8D [23:42:45]Write i2c OK [23:42:45]MH_I2C_Read... [23:42:45]Read from MH i2c: D1 [23:42:45]MH_I2C_Read... [23:42:45]Read from MH i2c: D1 01 00 [23:42:45]MH_I2C_Read... [23:42:45]Read from MH i2c: D1 01 00 B9 02 00 8C [23:42:45]Write to MH i2c: 01 00 00 BA 02 BC [23:42:45]Write i2c OK [23:42:45]MH_I2C_Read... [23:42:45]OFD Sender: No OFD packet to send [23:42:46]*** Cut start [23:42:46]*** Partial cut [23:42:46]*** CUTSNS_PIN = 1 [23:42:46]*** CUTSNS_PIN = 0 [23:42:46]*** Brake cut motor [23:42:46]Read from MH i2c: 01 [23:42:46]MH_I2C_Read... [23:42:46]*** Stop cut motor [23:42:46]*** Cut end [23:42:46]Read from MH i2c: 01 07 00 [23:42:46]MH_I2C_Read... [23:42:46]Read from MH i2c: 01 07 00 BA 02 00 00 00 00 00 FF 0F D1 [23:42:46]process_action x_report done [23:42:46]requested_data is exist [23:42:46]produce_requested_data [23:42:46]requested_item fd.num is exist - process it [23:42:46]SAM_PROTO_GetFieldsCounters [23:42:46]wFMCommunicate request_size=4 [23:42:46]MH_SAM_APDU [23:42:46]CAPDU: 80 13 00 00 [23:42:46]Write to MH i2c: E2 08 00 BB 02 80 13 00 00 00 00 00 00 39 [23:42:46]Write i2c OK [23:42:46]MH_I2C_Read... [23:42:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:42:46]Read from MH i2c: E2 [23:42:46]MH_I2C_Read... [23:42:46]Read from MH i2c: E2 62 00 [23:42:46]MH_I2C_Read... [23:42:46]Read from MH i2c: E2 62 00 BB 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 65 [23:42:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 [23:42:47]wFMCommunicate OK [23:42:47]SAM_PROTO_GetFieldsCounters done [23:42:47]requested_item shift.num is exist - process it [23:42:47]requested_item shift.opened is exist - process it [23:42:47]req_shift_opened [23:42:47]FM_GetShiftState [23:42:47]SAM_PROTO_GetShiftState [23:42:47]wFMCommunicate request_size=4 [23:42:47]MH_SAM_APDU [23:42:47]CAPDU: 80 13 01 00 [23:42:47]Write to MH i2c: E2 08 00 BC 02 80 13 01 00 00 00 00 00 3B [23:42:47]Write i2c OK [23:42:47]MH_I2C_Read... [23:42:47]Read from MH i2c: E2 [23:42:47]MH_I2C_Read... [23:42:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:42:47]Read from MH i2c: E2 0E 00 [23:42:47]MH_I2C_Read... [23:42:47]Read from MH i2c: E2 0E 00 BC 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 F4 [23:42:47]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:42:47]wFMCommunicate OK [23:42:47]SAM_PROTO_GetShiftState done [23:42:47]FM_GetShiftState done [23:42:47]req_shift_opened done [23:42:47]requested_item shift.open_date is exist - process it [23:42:47]req_shift_open_date [23:42:47]req_shift_open_date done [23:42:47]produce_requested_data done [23:42:47]produce_requested_data return {"fd.num":1829,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [23:42:47]process_action_free x_report [23:42:47]json_value_free [23:42:47]json_value_free done [23:42:47]process_json_proto returns [23:42:47]Send response to host [23:42:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":1829,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [23:42:47]free response buf [23:42:47]execute_script done [23:42:47]execute_script returns [23:42:47]free content buf [23:42:47]Sock 8.Close socket [23:42:47]Sock 8.Thread stoped [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:18]accept exits with 9 [23:43:18]New connection [23:43:18]New thread 3067018596 created [23:43:18]Thread 3067161956 joined [23:43:18]Waiting for new connection... [23:43:18] Sock 9.Parse request [23:43:18]Sock 9.Check first char [23:43:18]Sock 9.First char is OK [23:43:18]request: POST /json_proto HTTP/1.0 [23:43:18]Method: POST [23:43:18]URL: /json_proto [23:43:18]Method is POST - this is cgi request [23:43:18]url: /json_proto [23:43:18]query_string will be loaded in cgi processing [23:43:18]execute_cgi json_proto POST (null) [23:43:18]execute_cgi path=json_proto method=POST [23:43:18]POST find Content-Length [23:43:18]Host: 172.17.35.133:8080 [23:43:18]Content-Length: 215 [23:43:18]Content-Type: application/json [23:43:18] [23:43:18]POST finish read [23:43:18]Found Content-Length = 215 [23:43:18]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:43:18]execute_script... [23:43:18]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:43:18]POST & json_proto [23:43:18]process_json_proto [23:43:18]json parsed OK: [23:43:18]protocol is kg_v1.0 [23:43:18]action value=get_value [23:43:18]process_action get_value [23:43:18]cmd_get_value [23:43:18]process_action get_value done [23:43:18]requested_data is exist [23:43:18]produce_requested_data [23:43:18]requested_item kkm.sn is exist - process it [23:43:18]requested_item kkm.ver is exist - process it [23:43:18]requested_item fm.sn is exist - process it [23:43:18]wFMCommunicate request_size=4 [23:43:18]MH_SAM_APDU [23:43:18]CAPDU: 80 11 00 00 [23:43:18]Write to MH i2c: E2 08 00 BD 02 80 11 00 00 00 00 00 00 39 [23:43:18]Write i2c OK [23:43:18]MH_I2C_Read... [23:43:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:43:18]Read from MH i2c: E2 [23:43:18]MH_I2C_Read... [23:43:18]Read from MH i2c: E2 17 00 [23:43:18]MH_I2C_Read... [23:43:18]Read from MH i2c: E2 17 00 BD 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 8F [23:43:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [23:43:18]wFMCommunicate OK [23:43:18]requested_item fd.num is exist - process it [23:43:18]SAM_PROTO_GetFieldsCounters [23:43:18]wFMCommunicate request_size=4 [23:43:18]MH_SAM_APDU [23:43:18]CAPDU: 80 13 00 00 [23:43:18]Write to MH i2c: E2 08 00 BE 02 80 13 00 00 00 00 00 00 3C [23:43:18]Write i2c OK [23:43:18]MH_I2C_Read... [23:43:18]Read from MH i2c: E2 [23:43:18]MH_I2C_Read... [23:43:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:43:18]Read from MH i2c: E2 62 00 [23:43:18]MH_I2C_Read... [23:43:18]Read from MH i2c: E2 62 00 BE 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 68 [23:43:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 25 07 00 00 0E 04 04 00 17 00 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 [23:43:18]wFMCommunicate OK [23:43:18]SAM_PROTO_GetFieldsCounters done [23:43:18]requested_item shift.num is exist - process it [23:43:18]requested_item shift.opened is exist - process it [23:43:18]req_shift_opened [23:43:18]FM_GetShiftState [23:43:18]SAM_PROTO_GetShiftState [23:43:18]wFMCommunicate request_size=4 [23:43:18]MH_SAM_APDU [23:43:18]CAPDU: 80 13 01 00 [23:43:18]Write to MH i2c: E2 08 00 BF 02 80 13 01 00 00 00 00 00 3E [23:43:18]Write i2c OK [23:43:18]MH_I2C_Read... [23:43:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:43:18]Read from MH i2c: E2 [23:43:18]MH_I2C_Read... [23:43:18]Read from MH i2c: E2 0E 00 [23:43:18]MH_I2C_Read... [23:43:18]Read from MH i2c: E2 0E 00 BF 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 F7 [23:43:18]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:43:18]wFMCommunicate OK [23:43:18]SAM_PROTO_GetShiftState done [23:43:18]FM_GetShiftState done [23:43:18]req_shift_opened done [23:43:18]requested_item shift.open_date is exist - process it [23:43:18]req_shift_open_date [23:43:18]req_shift_open_date done [23:43:18]produce_requested_data done [23:43:18]produce_requested_data return {"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1829,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979} [23:43:18]process_action_free get_value [23:43:18]json_value_free [23:43:18]json_value_free done [23:43:18]process_json_proto returns [23:43:18]Send response to host [23:43:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1829,"shift.num":23,"shift.opened":1,"shift.open_date":1720742979}}} [23:43:18]free response buf [23:43:18]execute_script done [23:43:18]execute_script returns [23:43:18]free content buf [23:43:18]Sock 9.Close socket [23:43:18]Sock 9.Thread stoped [23:43:18]accept exits with 8 [23:43:18]New connection [23:43:18]New thread 3067161956 created [23:43:18]Thread 3067018596 joined [23:43:18]Waiting for new connection... [23:43:18] Sock 8.Parse request [23:43:18]Sock 8.Check first char [23:43:18]Sock 8.First char is OK [23:43:18]request: POST /json_proto HTTP/1.0 [23:43:18]Method: POST [23:43:18]URL: /json_proto [23:43:18]Method is POST - this is cgi request [23:43:18]url: /json_proto [23:43:18]query_string will be loaded in cgi processing [23:43:18]execute_cgi json_proto POST (null) [23:43:18]execute_cgi path=json_proto method=POST [23:43:18]POST find Content-Length [23:43:18]Host: 172.17.35.133:8080 [23:43:18]Content-Length: 331 [23:43:18]Content-Type: application/json [23:43:18] [23:43:18]POST finish read [23:43:18]Found Content-Length = 331 [23:43:18]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:43:18]execute_script... [23:43:18]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:43:18]POST & json_proto [23:43:18]process_json_proto [23:43:18]json parsed OK: [23:43:18]protocol is kg_v1.0 [23:43:18]action value=get_value [23:43:18]process_action get_value [23:43:18]cmd_get_value [23:43:18]process_action get_value done [23:43:18]requested_data is exist [23:43:18]produce_requested_data [23:43:18]requested_item fm.sale.total is exist - process it [23:43:18]SAM_PROTO_GetFMData [23:43:18]wFMCommunicate request_size=4 [23:43:18]MH_SAM_APDU [23:43:18]CAPDU: 80 13 03 00 [23:43:18]Write to MH i2c: E2 08 00 C0 02 80 13 03 00 00 00 00 00 41 [23:43:18]Write i2c OK [23:43:18]MH_I2C_Read... [23:43:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:43:19]Read from MH i2c: E2 [23:43:19]MH_I2C_Read... [23:43:19]Read from MH i2c: E2 FD 00 [23:43:19]MH_I2C_Read... [23:43:19]Read from MH i2c: E2 FD 00 C0 02 00 BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 1B [23:43:19]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:43:19]wFMCommunicate OK [23:43:19]wFMCommunicate request_size=4 [23:43:19]MH_SAM_APDU [23:43:19]CAPDU: 80 17 00 00 [23:43:19]Write to MH i2c: E2 08 00 C1 02 80 17 00 00 00 00 00 00 43 [23:43:19]Write i2c OK [23:43:19]MH_I2C_Read... [23:43:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:19]Read from MH i2c: E2 [23:43:19]MH_I2C_Read... [23:43:19]Read from MH i2c: E2 FD 00 [23:43:19]MH_I2C_Read... [23:43:19]Read from MH i2c: E2 FD 00 C1 02 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 40 [23:43:19]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:43:19]wFMCommunicate OK [23:43:19]wFMCommunicate request_size=4 [23:43:19]MH_SAM_APDU [23:43:19]CAPDU: 80 17 00 00 [23:43:19]Write to MH i2c: E2 08 00 C2 02 80 17 00 00 00 00 00 00 44 [23:43:19]Write i2c OK [23:43:19]MH_I2C_Read... [23:43:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:19]Read from MH i2c: E2 [23:43:19]MH_I2C_Read... [23:43:19]Read from MH i2c: E2 FD 00 [23:43:19]MH_I2C_Read... [23:43:19]Read from MH i2c: E2 FD 00 C2 02 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 70 [23:43:19]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:43:20]wFMCommunicate OK [23:43:20]wFMCommunicate request_size=4 [23:43:20]MH_SAM_APDU [23:43:20]CAPDU: 80 17 00 00 [23:43:20]Write to MH i2c: E2 08 00 C3 02 80 17 00 00 00 00 00 00 45 [23:43:20]Write i2c OK [23:43:20]MH_I2C_Read... [23:43:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:20]Read from MH i2c: E2 [23:43:20]MH_I2C_Read... [23:43:20]Read from MH i2c: E2 FD 00 [23:43:20]MH_I2C_Read... [23:43:20]Read from MH i2c: E2 FD 00 C3 02 00 00 EF 03 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 90 00 BD [23:43:20]RAPDU: 00 EF 03 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 90 00 [23:43:20]wFMCommunicate OK [23:43:20]wFMCommunicate request_size=4 [23:43:20]MH_SAM_APDU [23:43:20]CAPDU: 80 17 00 00 [23:43:20]Write to MH i2c: E2 08 00 C4 02 80 17 00 00 00 00 00 00 46 [23:43:20]Write i2c OK [23:43:20]MH_I2C_Read... [23:43:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:43:20]Read from MH i2c: E2 [23:43:20]MH_I2C_Read... [23:43:20]Read from MH i2c: E2 D7 00 [23:43:20]MH_I2C_Read... [23:43:20]Read from MH i2c: E2 D7 00 C4 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 29 [23:43:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:43:20]wFMCommunicate OK [23:43:20]SAM_PROTO_GetFMData done [23:43:20]requested_item fm.sale_refund.total is exist - process it [23:43:20]requested_item fm.buy.total is exist - process it [23:43:20]requested_item shift.sale.total is exist - process it [23:43:20]SAM_PROTO_GetShiftData [23:43:20]wFMCommunicate request_size=4 [23:43:20]MH_SAM_APDU [23:43:20]CAPDU: 80 13 02 00 [23:43:20]Write to MH i2c: E2 08 00 C5 02 80 13 02 00 00 00 00 00 45 [23:43:20]Write i2c OK [23:43:20]MH_I2C_Read... [23:43:20]OFD Sender: No OFD packet to send [23:43:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:43:21]Read from MH i2c: E2 [23:43:21]MH_I2C_Read... [23:43:21]Read from MH i2c: E2 FD 00 [23:43:21]MH_I2C_Read... [23:43:21]Read from MH i2c: E2 FD 00 C5 02 00 AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 14 [23:43:21]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:43:21]wFMCommunicate OK [23:43:21]wFMCommunicate request_size=4 [23:43:21]MH_SAM_APDU [23:43:21]CAPDU: 80 17 00 00 [23:43:21]Write to MH i2c: E2 08 00 C6 02 80 17 00 00 00 00 00 00 48 [23:43:21]Write i2c OK [23:43:21]MH_I2C_Read... [23:43:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:21]Read from MH i2c: E2 [23:43:21]MH_I2C_Read... [23:43:21]Read from MH i2c: E2 FD 00 [23:43:21]MH_I2C_Read... [23:43:21]Read from MH i2c: E2 FD 00 C6 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 6A [23:43:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:43:21]wFMCommunicate OK [23:43:21]wFMCommunicate request_size=4 [23:43:21]MH_SAM_APDU [23:43:21]CAPDU: 80 17 00 00 [23:43:21]Write to MH i2c: E2 08 00 C7 02 80 17 00 00 00 00 00 00 49 [23:43:21]Write i2c OK [23:43:21]MH_I2C_Read... [23:43:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:21]Read from MH i2c: E2 [23:43:21]MH_I2C_Read... [23:43:21]Read from MH i2c: E2 FD 00 [23:43:21]MH_I2C_Read... [23:43:21]Read from MH i2c: E2 FD 00 C7 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 00 [23:43:21]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:43:21]wFMCommunicate OK [23:43:21]wFMCommunicate request_size=4 [23:43:21]MH_SAM_APDU [23:43:21]CAPDU: 80 17 00 00 [23:43:21]Write to MH i2c: E2 08 00 C8 02 80 17 00 00 00 00 00 00 4A [23:43:21]Write i2c OK [23:43:21]MH_I2C_Read... [23:43:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:22]Read from MH i2c: E2 [23:43:22]MH_I2C_Read... [23:43:22]Read from MH i2c: E2 FD 00 [23:43:22]MH_I2C_Read... [23:43:22]Read from MH i2c: E2 FD 00 C8 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 BC [23:43:22]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:43:22]wFMCommunicate OK [23:43:22]wFMCommunicate request_size=4 [23:43:22]MH_SAM_APDU [23:43:22]CAPDU: 80 17 00 00 [23:43:22]Write to MH i2c: E2 08 00 C9 02 80 17 00 00 00 00 00 00 4B [23:43:22]Write i2c OK [23:43:22]MH_I2C_Read... [23:43:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:43:22]Read from MH i2c: E2 [23:43:22]MH_I2C_Read... [23:43:22]Read from MH i2c: E2 CB 00 [23:43:22]MH_I2C_Read... [23:43:22]Read from MH i2c: E2 CB 00 C9 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 34 [23:43:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:43:22]wFMCommunicate OK [23:43:22]SAM_PROTO_GetShiftData done [23:43:22]requested_item shift.sale.total_cash is exist - process it [23:43:22]requested_item shift.sale_refund.total is exist - process it [23:43:22]requested_item shift.sale_refund.total_cash is exist - process it [23:43:22]requested_item shift.buy.total is exist - process it [23:43:22]requested_item shift.buy.total_cash is exist - process it [23:43:22]produce_requested_data done [23:43:22]produce_requested_data return {"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:43:22]process_action_free get_value [23:43:22]json_value_free [23:43:22]json_value_free done [23:43:22]process_json_proto returns [23:43:22]Send response to host [23:43:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:43:22]free response buf [23:43:22]execute_script done [23:43:22]execute_script returns [23:43:22]free content buf [23:43:22]Sock 8.Close socket [23:43:22]Sock 8.Thread stoped [23:43:22]accept exits with 9 [23:43:22]New connection [23:43:22]New thread 3067018596 created [23:43:22]Thread 3067161956 joined [23:43:22]Waiting for new connection... [23:43:22] Sock 9.Parse request [23:43:22]Sock 9.Check first char [23:43:22]Sock 9.First char is OK [23:43:22]request: POST /json_proto HTTP/1.0 [23:43:22]Method: POST [23:43:22]URL: /json_proto [23:43:22]Method is POST - this is cgi request [23:43:22]url: /json_proto [23:43:22]query_string will be loaded in cgi processing [23:43:22]execute_cgi json_proto POST (null) [23:43:22]execute_cgi path=json_proto method=POST [23:43:22]POST find Content-Length [23:43:22]Host: 172.17.35.133:8080 [23:43:22]Content-Length: 331 [23:43:22]Content-Type: application/json [23:43:22] [23:43:22]POST finish read [23:43:22]Found Content-Length = 331 [23:43:22]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:43:22]execute_script... [23:43:22]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:43:22]POST & json_proto [23:43:22]process_json_proto [23:43:22]json parsed OK: [23:43:22]protocol is kg_v1.0 [23:43:22]action value=get_value [23:43:22]process_action get_value [23:43:22]cmd_get_value [23:43:22]process_action get_value done [23:43:22]requested_data is exist [23:43:22]produce_requested_data [23:43:22]requested_item fm.sale.total is exist - process it [23:43:22]SAM_PROTO_GetFMData [23:43:22]wFMCommunicate request_size=4 [23:43:22]MH_SAM_APDU [23:43:22]CAPDU: 80 13 03 00 [23:43:22]Write to MH i2c: E2 08 00 CA 02 80 13 03 00 00 00 00 00 4B [23:43:22]Write i2c OK [23:43:22]MH_I2C_Read... [23:43:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:43:23]Read from MH i2c: E2 [23:43:23]MH_I2C_Read... [23:43:23]Read from MH i2c: E2 FD 00 [23:43:23]MH_I2C_Read... [23:43:23]Read from MH i2c: E2 FD 00 CA 02 00 BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 25 [23:43:23]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:43:23]wFMCommunicate OK [23:43:23]wFMCommunicate request_size=4 [23:43:23]MH_SAM_APDU [23:43:23]CAPDU: 80 17 00 00 [23:43:23]Write to MH i2c: E2 08 00 CB 02 80 17 00 00 00 00 00 00 4D [23:43:23]Write i2c OK [23:43:23]MH_I2C_Read... [23:43:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:23]Read from MH i2c: E2 [23:43:23]MH_I2C_Read... [23:43:23]Read from MH i2c: E2 FD 00 [23:43:23]MH_I2C_Read... [23:43:23]Read from MH i2c: E2 FD 00 CB 02 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4A [23:43:23]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:43:23]wFMCommunicate OK [23:43:23]wFMCommunicate request_size=4 [23:43:23]MH_SAM_APDU [23:43:23]CAPDU: 80 17 00 00 [23:43:23]Write to MH i2c: E2 08 00 CC 02 80 17 00 00 00 00 00 00 4E [23:43:23]Write i2c OK [23:43:23]MH_I2C_Read... [23:43:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:23]Read from MH i2c: E2 [23:43:23]MH_I2C_Read... [23:43:23]Read from MH i2c: E2 FD 00 [23:43:23]MH_I2C_Read... [23:43:23]Read from MH i2c: E2 FD 00 CC 02 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7A [23:43:23]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:43:24]wFMCommunicate OK [23:43:24]wFMCommunicate request_size=4 [23:43:24]MH_SAM_APDU [23:43:24]CAPDU: 80 17 00 00 [23:43:24]Write to MH i2c: E2 08 00 CD 02 80 17 00 00 00 00 00 00 4F [23:43:24]Write i2c OK [23:43:24]MH_I2C_Read... [23:43:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:24]Read from MH i2c: E2 [23:43:24]MH_I2C_Read... [23:43:24]Read from MH i2c: E2 FD 00 [23:43:24]MH_I2C_Read... [23:43:24]Read from MH i2c: E2 FD 00 CD 02 00 00 EF 03 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 90 00 C7 [23:43:24]RAPDU: 00 EF 03 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 90 00 [23:43:24]wFMCommunicate OK [23:43:24]wFMCommunicate request_size=4 [23:43:24]MH_SAM_APDU [23:43:24]CAPDU: 80 17 00 00 [23:43:24]Write to MH i2c: E2 08 00 CE 02 80 17 00 00 00 00 00 00 50 [23:43:24]Write i2c OK [23:43:24]MH_I2C_Read... [23:43:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:43:24]Read from MH i2c: E2 [23:43:24]MH_I2C_Read... [23:43:24]Read from MH i2c: E2 D7 00 [23:43:24]MH_I2C_Read... [23:43:24]Read from MH i2c: E2 D7 00 CE 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 33 [23:43:24]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:43:24]wFMCommunicate OK [23:43:24]SAM_PROTO_GetFMData done [23:43:24]requested_item fm.sale_refund.total is exist - process it [23:43:24]requested_item fm.buy.total is exist - process it [23:43:24]requested_item shift.sale.total is exist - process it [23:43:24]SAM_PROTO_GetShiftData [23:43:24]wFMCommunicate request_size=4 [23:43:24]MH_SAM_APDU [23:43:24]CAPDU: 80 13 02 00 [23:43:24]Write to MH i2c: E2 08 00 CF 02 80 13 02 00 00 00 00 00 4F [23:43:24]Write i2c OK [23:43:24]MH_I2C_Read... [23:43:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:43:25]Read from MH i2c: E2 [23:43:25]MH_I2C_Read... [23:43:25]Read from MH i2c: E2 FD 00 [23:43:25]MH_I2C_Read... [23:43:25]Read from MH i2c: E2 FD 00 CF 02 00 AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 1E [23:43:25]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:43:25]wFMCommunicate OK [23:43:25]wFMCommunicate request_size=4 [23:43:25]MH_SAM_APDU [23:43:25]CAPDU: 80 17 00 00 [23:43:25]Write to MH i2c: E2 08 00 D0 02 80 17 00 00 00 00 00 00 52 [23:43:25]Write i2c OK [23:43:25]MH_I2C_Read... [23:43:25]OFD Sender: No OFD packet to send [23:43:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:25]Read from MH i2c: E2 [23:43:25]MH_I2C_Read... [23:43:25]Read from MH i2c: E2 FD 00 [23:43:25]MH_I2C_Read... [23:43:25]Read from MH i2c: E2 FD 00 D0 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 74 [23:43:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:43:25]wFMCommunicate OK [23:43:25]wFMCommunicate request_size=4 [23:43:25]MH_SAM_APDU [23:43:25]CAPDU: 80 17 00 00 [23:43:25]Write to MH i2c: E2 08 00 D1 02 80 17 00 00 00 00 00 00 53 [23:43:25]Write i2c OK [23:43:25]MH_I2C_Read... [23:43:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:26]Read from MH i2c: E2 [23:43:26]MH_I2C_Read... [23:43:26]Read from MH i2c: E2 FD 00 [23:43:26]MH_I2C_Read... [23:43:26]Read from MH i2c: E2 FD 00 D1 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 0A [23:43:26]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:43:26]wFMCommunicate OK [23:43:26]wFMCommunicate request_size=4 [23:43:26]MH_SAM_APDU [23:43:26]CAPDU: 80 17 00 00 [23:43:26]Write to MH i2c: E2 08 00 D2 02 80 17 00 00 00 00 00 00 54 [23:43:26]Write i2c OK [23:43:26]MH_I2C_Read... [23:43:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:26]Read from MH i2c: E2 [23:43:26]MH_I2C_Read... [23:43:26]Read from MH i2c: E2 FD 00 [23:43:26]MH_I2C_Read... [23:43:26]Read from MH i2c: E2 FD 00 D2 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C6 [23:43:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:43:26]wFMCommunicate OK [23:43:26]wFMCommunicate request_size=4 [23:43:26]MH_SAM_APDU [23:43:26]CAPDU: 80 17 00 00 [23:43:26]Write to MH i2c: E2 08 00 D3 02 80 17 00 00 00 00 00 00 55 [23:43:26]Write i2c OK [23:43:26]MH_I2C_Read... [23:43:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:43:27]Read from MH i2c: E2 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 CB 00 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 CB 00 D3 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3E [23:43:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:43:27]wFMCommunicate OK [23:43:27]SAM_PROTO_GetShiftData done [23:43:27]requested_item shift.sale.total_cash is exist - process it [23:43:27]requested_item shift.sale_refund.total is exist - process it [23:43:27]requested_item shift.sale_refund.total_cash is exist - process it [23:43:27]requested_item shift.buy.total is exist - process it [23:43:27]requested_item shift.buy.total_cash is exist - process it [23:43:27]produce_requested_data done [23:43:27]produce_requested_data return {"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:43:27]process_action_free get_value [23:43:27]json_value_free [23:43:27]json_value_free done [23:43:27]process_json_proto returns [23:43:27]Send response to host [23:43:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:43:27]free response buf [23:43:27]execute_script done [23:43:27]execute_script returns [23:43:27]free content buf [23:43:27]Sock 9.Close socket [23:43:27]Sock 9.Thread stoped [23:43:27]accept exits with 10 [23:43:27]New connection [23:43:27]New thread 3067161956 created [23:43:27]Thread 3067018596 joined [23:43:27]Waiting for new connection... [23:43:27] Sock 10.Parse request [23:43:27]Sock 10.Check first char [23:43:27]Sock 10.First char is OK [23:43:27]request: POST /json_proto HTTP/1.0 [23:43:27]Method: POST [23:43:27]URL: /json_proto [23:43:27]Method is POST - this is cgi request [23:43:27]url: /json_proto [23:43:27]query_string will be loaded in cgi processing [23:43:27]execute_cgi json_proto POST (null) [23:43:27]execute_cgi path=json_proto method=POST [23:43:27]POST find Content-Length [23:43:27]Host: 172.17.35.133:8080 [23:43:27]Content-Length: 244 [23:43:27]Content-Type: application/json [23:43:27] [23:43:27]POST finish read [23:43:27]Found Content-Length = 244 [23:43:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0427\u043E\u0440\u043E \u0443. \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:43:27]execute_script... [23:43:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0427\u043E\u0440\u043E \u0443. \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:43:27]POST & json_proto [23:43:27]process_json_proto [23:43:27]json parsed OK: [23:43:27]protocol is kg_v1.0 [23:43:27]action value=close_shift [23:43:27]process_action close_shift [23:43:27]cmd_close_shift [23:43:27]MH_GetDate [23:43:27]Write to MH i2c: F0 00 00 D4 02 C5 [23:43:27]Write i2c OK [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: F0 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: F0 09 00 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: F0 09 00 D4 02 00 A0 BF 91 66 1B 28 2A 66 F7 [23:43:27]GetLastDocTimeStamp 1720827757 [23:43:27]current date 1720827808 [23:43:27]FM_GetShiftState [23:43:27]SAM_PROTO_GetShiftState [23:43:27]wFMCommunicate request_size=4 [23:43:27]MH_SAM_APDU [23:43:27]CAPDU: 80 13 01 00 [23:43:27]Write to MH i2c: E2 08 00 D5 02 80 13 01 00 00 00 00 00 54 [23:43:27]Write i2c OK [23:43:27]MH_I2C_Read... [23:43:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:43:27]Read from MH i2c: E2 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 0E 00 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 0E 00 D5 02 00 09 00 01 43 74 90 66 00 00 00 00 90 00 0D [23:43:27]RAPDU: 09 00 01 43 74 90 66 00 00 00 00 90 00 [23:43:27]wFMCommunicate OK [23:43:27]SAM_PROTO_GetShiftState done [23:43:27]FM_GetShiftState done [23:43:27]KKMCreateCloseShiftDocument [23:43:27]Load OK [23:43:27]Malloc new data [23:43:27]MH_GetDate [23:43:27]Write to MH i2c: F0 00 00 D6 02 C7 [23:43:27]Write i2c OK [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: F0 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: F0 09 00 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: F0 09 00 D6 02 00 A0 BF 91 66 1B 28 2A 66 F9 [23:43:27]Malloc new data [23:43:27]Malloc new data [23:43:27]Malloc new data [23:43:27]Malloc new data [23:43:27]KKMCreateCloseShiftDocument OK [23:43:27]KKMSetCloseShiftData OK [23:43:27]ProcessDocumentItem done err = 0, tmpTLVsize=67 [23:43:27]tlvbuf is 00F61FD0 [23:43:27]KKMLoadAndSignCloseShiftData [23:43:27]SAM_PROTO_ProcessDocument [23:43:27]wFMCommunicate request_size=9 [23:43:27]MH_SAM_APDU [23:43:27]CAPDU: 80 15 01 00 04 05 00 43 00 [23:43:27]Write to MH i2c: E2 0C 00 D7 02 80 15 01 00 04 00 05 00 43 00 00 00 A8 [23:43:27]Write i2c OK [23:43:27]MH_I2C_Read... [23:43:27]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:43:27]Read from MH i2c: E2 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 03 00 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 03 00 D7 02 00 90 00 4D [23:43:27]RAPDU: 90 00 [23:43:27]wFMCommunicate OK [23:43:27]wFMCommunicate request_size=23 [23:43:27]MH_SAM_APDU [23:43:27]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:43:27]Write to MH i2c: E2 1A 00 D8 02 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 4F [23:43:27]Write i2c OK [23:43:27]MH_I2C_Read... [23:43:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:43:27]Read from MH i2c: E2 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 03 00 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 03 00 D8 02 00 90 00 4E [23:43:27]RAPDU: 90 00 [23:43:27]wFMCommunicate OK [23:43:27]wFMCommunicate request_size=26 [23:43:27]MH_SAM_APDU [23:43:27]CAPDU: 80 15 02 00 15 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 [23:43:27]Write to MH i2c: E2 1D 00 D9 02 80 15 02 00 15 00 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 00 00 F4 [23:43:27]Write i2c OK [23:43:27]MH_I2C_Read... [23:43:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:43:27]Read from MH i2c: E2 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 03 00 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 03 00 D9 02 00 90 00 4F [23:43:27]RAPDU: 90 00 [23:43:27]wFMCommunicate OK [23:43:27]wFMCommunicate request_size=13 [23:43:27]MH_SAM_APDU [23:43:27]CAPDU: 80 15 02 00 08 F4 03 04 00 A0 BF 91 66 [23:43:27]Write to MH i2c: E2 10 00 DA 02 80 15 02 00 08 00 F4 03 04 00 A0 BF 91 66 00 00 BD [23:43:27]Write i2c OK [23:43:27]MH_I2C_Read... [23:43:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:43:27]Read from MH i2c: E2 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 03 00 [23:43:27]MH_I2C_Read... [23:43:27]Read from MH i2c: E2 03 00 DA 02 00 90 00 50 [23:43:27]RAPDU: 90 00 [23:43:27]wFMCommunicate OK [23:43:27]wFMCommunicate request_size=25 [23:43:27]MH_SAM_APDU [23:43:27]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 [23:43:27]Write to MH i2c: E2 1C 00 DB 02 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 00 00 C7 [23:43:27]Write i2c OK [23:43:27]MH_I2C_Read... [23:43:28]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:43:28]Read from MH i2c: E2 [23:43:28]MH_I2C_Read... [23:43:28]Read from MH i2c: E2 03 00 [23:43:28]MH_I2C_Read... [23:43:28]Read from MH i2c: E2 03 00 DB 02 00 90 00 51 [23:43:28]RAPDU: 90 00 [23:43:28]wFMCommunicate OK [23:43:28]wFMCommunicate request_size=4 [23:43:28]MH_SAM_APDU [23:43:28]CAPDU: 80 15 03 00 [23:43:28]Write to MH i2c: E2 08 00 DC 02 80 15 03 00 00 00 00 00 5F [23:43:28]Write i2c OK [23:43:28]MH_I2C_Read... [23:43:28]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:43:28]Read from MH i2c: E2 [23:43:28]MH_I2C_Read... [23:43:28]Read from MH i2c: E2 FD 00 [23:43:28]MH_I2C_Read... [23:43:28]Read from MH i2c: E2 FD 00 DC 02 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 26 07 00 00 0E 04 04 00 17 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 94 [23:43:28]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 26 07 00 00 0E 04 04 00 17 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [23:43:28]wFMCommunicate OK [23:43:28]SAM_PROTO_ProcessDocument answer len = 1265 [23:43:28]SAM_PROTO_ProcessDocument remain to read = 1017 [23:43:28]wFMCommunicate request_size=4 [23:43:28]MH_SAM_APDU [23:43:28]CAPDU: 80 17 00 00 [23:43:28]Write to MH i2c: E2 08 00 DD 02 80 17 00 00 00 00 00 00 5F [23:43:28]Write i2c OK [23:43:28]MH_I2C_Read... [23:43:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:29]Read from MH i2c: E2 [23:43:29]MH_I2C_Read... [23:43:29]Read from MH i2c: E2 FD 00 [23:43:29]MH_I2C_Read... [23:43:29]Read from MH i2c: E2 FD 00 DD 02 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 A8 [23:43:29]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:43:29]wFMCommunicate OK [23:43:29]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:43:29]SAM_PROTO_ProcessDocument remain to read = 767 [23:43:29]wFMCommunicate request_size=4 [23:43:29]MH_SAM_APDU [23:43:29]CAPDU: 80 17 00 00 [23:43:29]Write to MH i2c: E2 08 00 DE 02 80 17 00 00 00 00 00 00 60 [23:43:29]Write i2c OK [23:43:29]MH_I2C_Read... [23:43:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:29]Read from MH i2c: E2 [23:43:29]MH_I2C_Read... [23:43:29]Read from MH i2c: E2 FD 00 [23:43:29]MH_I2C_Read... [23:43:29]Read from MH i2c: E2 FD 00 DE 02 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 C2 [23:43:29]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:43:29]wFMCommunicate OK [23:43:29]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:43:29]SAM_PROTO_ProcessDocument remain to read = 517 [23:43:29]wFMCommunicate request_size=4 [23:43:29]MH_SAM_APDU [23:43:29]CAPDU: 80 17 00 00 [23:43:29]Write to MH i2c: E2 08 00 DF 02 80 17 00 00 00 00 00 00 61 [23:43:29]Write i2c OK [23:43:29]MH_I2C_Read... [23:43:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:30]Read from MH i2c: E2 [23:43:30]MH_I2C_Read... [23:43:30]Read from MH i2c: E2 FD 00 [23:43:30]MH_I2C_Read... [23:43:30]Read from MH i2c: E2 FD 00 DF 02 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 EB [23:43:30]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [23:43:30]wFMCommunicate OK [23:43:30]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:43:30]SAM_PROTO_ProcessDocument remain to read = 267 [23:43:30]wFMCommunicate request_size=4 [23:43:30]MH_SAM_APDU [23:43:30]CAPDU: 80 17 00 00 [23:43:30]Write to MH i2c: E2 08 00 E0 02 80 17 00 00 00 00 00 00 62 [23:43:30]Write i2c OK [23:43:30]MH_I2C_Read... [23:43:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:30]Read from MH i2c: E2 [23:43:30]MH_I2C_Read... [23:43:30]Read from MH i2c: E2 FD 00 [23:43:30]MH_I2C_Read... [23:43:30]Read from MH i2c: E2 FD 00 E0 02 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 2A [23:43:30]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:43:30]wFMCommunicate OK [23:43:30]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:43:30]SAM_PROTO_ProcessDocument remain to read = 17 [23:43:30]wFMCommunicate request_size=4 [23:43:30]MH_SAM_APDU [23:43:30]CAPDU: 80 17 00 00 [23:43:30]Write to MH i2c: E2 08 00 E1 02 80 17 00 00 00 00 00 00 63 [23:43:30]OFD Sender: No OFD packet to send [23:43:30]Write i2c OK [23:43:30]MH_I2C_Read... [23:43:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:43:30]Read from MH i2c: E2 [23:43:30]MH_I2C_Read... [23:43:30]Read from MH i2c: E2 14 00 [23:43:30]MH_I2C_Read... [23:43:30]Read from MH i2c: E2 14 00 E1 02 00 01 00 06 F7 03 00 00 35 04 06 00 BB 99 F0 44 F5 12 90 00 37 [23:43:30]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 BB 99 F0 44 F5 12 90 00 [23:43:30]wFMCommunicate OK [23:43:30]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:43:30]SAM_PROTO_ProcessDocument done [23:43:30]1209 (1) - 1.0 - номер версии ФФД [23:43:30]1041 (16) - 0000000002098592 - номер ФМ [23:43:30]1040 (4) - 1830 - номер ФД [23:43:30]1038 (4) - 23 - номер смены [23:43:30]1118 (4) - 63 - количество кассовых чеков за смену [23:43:30]1111 (4) - 65 - общее количество ФД за смену [23:43:31]1194 (1194) - счетчики итогов смены [23:43:31] 1134 (4) - 63 - количество чеков со всеми признаками расчетов [23:43:31] 1129 (155) - счетчики операций «приход» [23:43:31] 1135 (4) - 63 - количество чеков по признаку расчетов [23:43:31] 1201 (3) - 16119.00 - общая итоговая сумма в чеках [23:43:31] 1136 (3) - 13834.00 - итоговая сумма в чеках наличными [23:43:31] 1138 (3) - 2285.00 - итоговая сумма в чеках безналичными [23:43:31] 1024 (122) - суммы налогов [23:43:31] 1006 (9) - суммы НДС [23:43:31] 1010 (1) - 0% - код ставки НДС [23:43:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:43:31] 1006 (12) - суммы НДС [23:43:31] 1010 (1) - 12% - код ставки НДС [23:43:31] 1011 (3) - 1711.85 - сумма НДС по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 0% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (11) - суммы НСП [23:43:31] 1014 (1) - 1% - код ставки НСП [23:43:31] 1015 (2) - 142.59 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 2% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 3% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 5% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 0,50% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 1,50% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1130 (141) - счетчики операций «возврат прихода» [23:43:31] 1135 (4) - 0 - количество чеков по признаку расчетов [23:43:31] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:43:31] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:43:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:43:31] 1024 (117) - суммы налогов [23:43:31] 1006 (9) - суммы НДС [23:43:31] 1010 (1) - 0% - код ставки НДС [23:43:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:43:31] 1006 (9) - суммы НДС [23:43:31] 1010 (1) - 12% - код ставки НДС [23:43:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 0% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 1% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 2% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 3% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 5% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 0,50% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 1,50% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1131 (141) - счетчики операций «расход» [23:43:31] 1135 (4) - 0 - количество чеков по признаку расчетов [23:43:31] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:43:31] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:43:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:43:31] 1024 (117) - суммы налогов [23:43:31] 1006 (9) - суммы НДС [23:43:31] 1010 (1) - 0% - код ставки НДС [23:43:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:43:31] 1006 (9) - суммы НДС [23:43:31] 1010 (1) - 12% - код ставки НДС [23:43:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 0% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 1% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 2% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 3% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 5% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 0,50% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 1,50% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1132 (141) - счетчики операций «возврат расхода» [23:43:31] 1135 (4) - 0 - количество чеков по признаку расчетов [23:43:31] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:43:31] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:43:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:43:31] 1024 (117) - суммы налогов [23:43:31] 1006 (9) - суммы НДС [23:43:31] 1010 (1) - 0% - код ставки НДС [23:43:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:43:31] 1006 (9) - суммы НДС [23:43:31] 1010 (1) - 12% - код ставки НДС [23:43:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 0% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 1% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 2% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 3% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 5% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 0,50% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1007 (9) - суммы НСП [23:43:31] 1014 (1) - 1,50% - код ставки НСП [23:43:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:43:31] 1133 (588) - - счетчики коррекции - не используются [23:43:31]1077 (6) - 206269835441426 - ФПД [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1209 (04B9) [23:43:31]Malloc new data [23:43:31]Processing tag 1041 (0411) [23:43:31]Processing tag 1040 (0410) [23:43:31]Malloc new data [23:43:31]Processing tag 1038 (040E) [23:43:31]Malloc new data [23:43:31]Processing tag 1118 (045E) [23:43:31]Malloc new data [23:43:31]Processing tag 1111 (0457) [23:43:31]Malloc new data [23:43:31]Processing tag 1194 (04AA) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1134 (046E) [23:43:31]Malloc new data [23:43:31]Processing tag 1129 (0469) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1135 (046F) [23:43:31]Malloc new data [23:43:31]Processing tag 1201 (04B1) [23:43:31]Malloc new data [23:43:31]Processing tag 1136 (0470) [23:43:31]Malloc new data [23:43:31]Processing tag 1138 (0472) [23:43:31]Malloc new data [23:43:31]Processing tag 1024 (0400) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1006 (03EE) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1010 (03F2) [23:43:31]Malloc new data [23:43:31]Processing tag 1011 (03F3) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1006 (03EE) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1010 (03F2) [23:43:31]Malloc new data [23:43:31]Processing tag 1011 (03F3) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]SetTLVBufToDocument err=0 [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1130 (046A) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1135 (046F) [23:43:31]Malloc new data [23:43:31]Processing tag 1201 (04B1) [23:43:31]Malloc new data [23:43:31]Processing tag 1136 (0470) [23:43:31]Malloc new data [23:43:31]Processing tag 1138 (0472) [23:43:31]Malloc new data [23:43:31]Processing tag 1024 (0400) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1006 (03EE) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1010 (03F2) [23:43:31]Malloc new data [23:43:31]Processing tag 1011 (03F3) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1006 (03EE) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1010 (03F2) [23:43:31]Malloc new data [23:43:31]Processing tag 1011 (03F3) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]SetTLVBufToDocument err=0 [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1131 (046B) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1135 (046F) [23:43:31]Malloc new data [23:43:31]Processing tag 1201 (04B1) [23:43:31]Malloc new data [23:43:31]Processing tag 1136 (0470) [23:43:31]Malloc new data [23:43:31]Processing tag 1138 (0472) [23:43:31]Malloc new data [23:43:31]Processing tag 1024 (0400) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1006 (03EE) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1010 (03F2) [23:43:31]Malloc new data [23:43:31]Processing tag 1011 (03F3) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1006 (03EE) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1010 (03F2) [23:43:31]Malloc new data [23:43:31]Processing tag 1011 (03F3) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]SetTLVBufToDocument err=0 [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1132 (046C) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1135 (046F) [23:43:31]Malloc new data [23:43:31]Processing tag 1201 (04B1) [23:43:31]Malloc new data [23:43:31]Processing tag 1136 (0470) [23:43:31]Malloc new data [23:43:31]Processing tag 1138 (0472) [23:43:31]Malloc new data [23:43:31]Processing tag 1024 (0400) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1006 (03EE) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1010 (03F2) [23:43:31]Malloc new data [23:43:31]Processing tag 1011 (03F3) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1006 (03EE) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1010 (03F2) [23:43:31]Malloc new data [23:43:31]Processing tag 1011 (03F3) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:31]Malloc new data [23:43:31]SetTLVBufToDocument err=0 [23:43:31]Processing tag 1007 (03EF) [23:43:31]Load OK [23:43:31]SetTLVBufToDocument [23:43:31]Processing tag 1014 (03F6) [23:43:31]Malloc new data [23:43:31]Processing tag 1015 (03F7) [23:43:32]Malloc new data [23:43:32]SetTLVBufToDocument err=0 [23:43:32]Processing tag 1007 (03EF) [23:43:32]Load OK [23:43:32]SetTLVBufToDocument [23:43:32]Processing tag 1014 (03F6) [23:43:32]Malloc new data [23:43:32]Processing tag 1015 (03F7) [23:43:32]Malloc new data [23:43:32]SetTLVBufToDocument err=0 [23:43:32]Processing tag 1007 (03EF) [23:43:32]Load OK [23:43:32]SetTLVBufToDocument [23:43:32]Processing tag 1014 (03F6) [23:43:32]Malloc new data [23:43:32]Processing tag 1015 (03F7) [23:43:32]Malloc new data [23:43:32]SetTLVBufToDocument err=0 [23:43:32]SetTLVBufToDocument err=0 [23:43:32]SetTLVBufToDocument err=0 [23:43:32]Processing tag 1133 (046D) [23:43:32]Malloc new data [23:43:32]SetTLVBufToDocument err=0 [23:43:32]Processing tag 1077 (0435) [23:43:32]Malloc new data [23:43:32]SetTLVBufToDocument err=0 [23:43:32]Malloc new data [23:43:32]SAM_PROTO_GetFMData [23:43:32]wFMCommunicate request_size=4 [23:43:32]MH_SAM_APDU [23:43:32]CAPDU: 80 13 03 00 [23:43:32]Write to MH i2c: E2 08 00 E2 02 80 13 03 00 00 00 00 00 63 [23:43:32]Write i2c OK [23:43:32]MH_I2C_Read... [23:43:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:43:32]Read from MH i2c: E2 [23:43:32]MH_I2C_Read... [23:43:32]Read from MH i2c: E2 FD 00 [23:43:32]MH_I2C_Read... [23:43:32]Read from MH i2c: E2 FD 00 E2 02 00 BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 3D [23:43:32]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:43:33]wFMCommunicate OK [23:43:33]wFMCommunicate request_size=4 [23:43:33]MH_SAM_APDU [23:43:33]CAPDU: 80 17 00 00 [23:43:33]Write to MH i2c: E2 08 00 E3 02 80 17 00 00 00 00 00 00 65 [23:43:33]Write i2c OK [23:43:33]MH_I2C_Read... [23:43:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:33]Read from MH i2c: E2 [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: E2 FD 00 [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: E2 FD 00 E3 02 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [23:43:33]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:43:33]wFMCommunicate OK [23:43:33]wFMCommunicate request_size=4 [23:43:33]MH_SAM_APDU [23:43:33]CAPDU: 80 17 00 00 [23:43:33]Write to MH i2c: E2 08 00 E4 02 80 17 00 00 00 00 00 00 66 [23:43:33]Write i2c OK [23:43:33]MH_I2C_Read... [23:43:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:33]Read from MH i2c: E2 [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: E2 FD 00 [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: E2 FD 00 E4 02 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 92 [23:43:34]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:43:34]wFMCommunicate OK [23:43:34]wFMCommunicate request_size=4 [23:43:34]MH_SAM_APDU [23:43:34]CAPDU: 80 17 00 00 [23:43:34]Write to MH i2c: E2 08 00 E5 02 80 17 00 00 00 00 00 00 67 [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:43:34]Read from MH i2c: E2 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 FD 00 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 FD 00 E5 02 00 00 EF 03 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 90 00 DF [23:43:34]RAPDU: 00 EF 03 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 90 00 [23:43:34]wFMCommunicate OK [23:43:34]wFMCommunicate request_size=4 [23:43:34]MH_SAM_APDU [23:43:34]CAPDU: 80 17 00 00 [23:43:34]Write to MH i2c: E2 08 00 E6 02 80 17 00 00 00 00 00 00 68 [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:43:34]Read from MH i2c: E2 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 D7 00 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: E2 D7 00 E6 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 4B [23:43:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:43:35]wFMCommunicate OK [23:43:35]SAM_PROTO_GetFMData done [23:43:35]Malloc new data [23:43:35]Malloc new data [23:43:35]Malloc new data [23:43:35]Malloc new data [23:43:35]KKMLoadAndSignCloseShiftData err=0 [23:43:35]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Чоро у. К. 12.07.2024 23:43 Смена: 23 РНМ: 0000000000177495 ЗНМ: 0300000124 СНО: Общий режим Чеков за смену: 63 ФД за смену: 65 Всего чеков: 63 ИТОГИ ПРИХОД Чеков: 63 Общий итог: 16119.00 Итого наличными: 13834.00 Итого безнал.: 2285.00 НДС 0% : 0.00 НДС 12% : 1711.85 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 142.59 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 13834.00 НС Приход: 723437.05 НС Возвр.Прихода: 96.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 1830 ФМ: 0000000002098592 ФПД: 206269835441426 [23:43:35]StoreToDocumentArchive [23:43:35]shift 23 fd 1830 [23:43:35]save to /storage/0023/doc_00001830 [23:43:35]save last doc name /storage/0023/doc_00001830 to /storage/kkm_last_doc_name [23:43:35]save OK [23:43:35]Clear old archive folders... [23:43:35]Remove dir /storage/0010 [23:43:35]opendir ok [23:43:35]file . [23:43:35]file .. [23:43:35]file doc_1720827765 [23:43:35]remove file /storage/0010/doc_1720827765 [23:43:35]remove dir /storage/0010 [23:43:35]NVStorageSaveData kkm_registers [23:43:35]File name is /storage/kkm_registers [23:43:35]Write 24 bytes [23:43:35]NVStorageSaveData done [23:43:35]NVStorageSaveData kkm_registers [23:43:35]File name is /storage/kkm_registers [23:43:35]Write 24 bytes [23:43:35]NVStorageSaveData done [23:43:35]ProcessDocumentItem done err = 0, tmpTLVsize=1375 [23:43:35]tlvbuf is 00FAC960 [23:43:35]SAM_PROTO_ClearQueue [23:43:35]wFMCommunicate request_size=4 [23:43:35]MH_SAM_APDU [23:43:35]CAPDU: 80 09 00 00 [23:43:35]Write to MH i2c: E2 08 00 E7 02 80 09 00 00 00 00 00 00 5B [23:43:35]Write i2c OK [23:43:35]MH_I2C_Read... [23:43:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:43:35]Read from MH i2c: E2 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: E2 03 00 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: E2 03 00 E7 02 00 90 00 5D [23:43:35]RAPDU: 90 00 [23:43:35]wFMCommunicate OK [23:43:35]SAM_PROTO_ClearQueue done [23:43:35]KKMCreateOFDPacket [23:43:35]OFDProtocolAddRootSTLVToBuf [23:43:35]FM_MakeSignedData [23:43:35]FM_MakeSignedData [23:43:35]SAM_PROTO_SignData [23:43:35]wFMCommunicate request_size=4 [23:43:35]MH_SAM_APDU [23:43:35]CAPDU: 80 0D 01 02 [23:43:35]Write to MH i2c: E2 08 00 E8 02 80 0D 01 02 00 00 00 00 63 [23:43:35]Write i2c OK [23:43:35]MH_I2C_Read... [23:43:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:43:35]Read from MH i2c: E2 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: E2 03 00 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: E2 03 00 E8 02 00 90 00 5E [23:43:35]RAPDU: 90 00 [23:43:35]wFMCommunicate OK [23:43:35]wFMCommunicate request_size=255 [23:43:35]MH_SAM_APDU [23:43:35]CAPDU: 80 0D 02 02 FA 05 00 5F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F4 03 04 00 A0 BF 91 66 0E 04 04 00 17 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 AA 04 D5 04 6E 04 04 00 3F 00 00 00 69 04 A2 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 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 B1 9C 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF [23:43:35]Write to MH i2c: E2 02 01 E9 02 80 0D 02 02 FA 00 05 00 5F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F4 03 04 00 A0 BF 91 66 0E 04 04 00 17 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 AA 04 D5 04 6E 04 04 00 3F 00 00 00 69 04 A2 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 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 B1 9C 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 00 00 26 [23:43:35]Write i2c OK [23:43:35]MH_I2C_Read... [23:43:35]OFD Sender: No OFD packet to send [23:43:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:43:36]Read from MH i2c: E2 [23:43:36]MH_I2C_Read... [23:43:36]Read from MH i2c: E2 03 00 [23:43:36]MH_I2C_Read... [23:43:36]Read from MH i2c: E2 03 00 E9 02 00 90 00 5F [23:43:36]RAPDU: 90 00 [23:43:36]wFMCommunicate OK [23:43:36]wFMCommunicate request_size=255 [23:43:36]MH_SAM_APDU [23:43:36]CAPDU: 80 0D 02 02 FA 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B3 37 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 [23:43:36]Write to MH i2c: E2 02 01 EA 02 80 0D 02 02 FA 00 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B3 37 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 00 00 C5 [23:43:36]Write i2c OK [23:43:36]MH_I2C_Read... [23:43:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:43:36]Read from MH i2c: E2 [23:43:36]MH_I2C_Read... [23:43:36]Read from MH i2c: E2 03 00 [23:43:36]MH_I2C_Read... [23:43:36]Read from MH i2c: E2 03 00 EA 02 00 90 00 60 [23:43:36]RAPDU: 90 00 [23:43:36]wFMCommunicate OK [23:43:36]wFMCommunicate request_size=255 [23:43:36]MH_SAM_APDU [23:43:36]CAPDU: 80 0D 02 02 FA 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D [23:43:36]Write to MH i2c: E2 02 01 EB 02 80 0D 02 02 FA 00 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 00 00 A1 [23:43:37]Write i2c OK [23:43:37]MH_I2C_Read... [23:43:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:43:37]Read from MH i2c: E2 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 03 00 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 03 00 EB 02 00 90 00 61 [23:43:37]RAPDU: 90 00 [23:43:37]wFMCommunicate OK [23:43:37]wFMCommunicate request_size=255 [23:43:37]MH_SAM_APDU [23:43:37]CAPDU: 80 0D 02 02 FA 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF [23:43:37]Write to MH i2c: E2 02 01 EC 02 80 0D 02 02 FA 00 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 00 00 AF [23:43:37]Write i2c OK [23:43:37]MH_I2C_Read... [23:43:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:43:37]Read from MH i2c: E2 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 03 00 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 03 00 EC 02 00 90 00 62 [23:43:37]RAPDU: 90 00 [23:43:37]wFMCommunicate OK [23:43:37]wFMCommunicate request_size=255 [23:43:37]MH_SAM_APDU [23:43:37]CAPDU: 80 0D 02 02 FA 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 [23:43:38]Write to MH i2c: E2 02 01 ED 02 80 0D 02 02 FA 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 00 00 00 [23:43:38]Write i2c OK [23:43:38]MH_I2C_Read... [23:43:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:43:38]Read from MH i2c: E2 [23:43:38]MH_I2C_Read... [23:43:38]Read from MH i2c: E2 03 00 [23:43:38]MH_I2C_Read... [23:43:38]Read from MH i2c: E2 03 00 ED 02 00 90 00 63 [23:43:38]RAPDU: 90 00 [23:43:38]wFMCommunicate OK [23:43:38]wFMCommunicate request_size=134 [23:43:38]MH_SAM_APDU [23:43:38]CAPDU: 80 0D 02 02 81 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 26 07 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 35 04 06 00 BB 99 F0 44 F5 12 [23:43:38]Write to MH i2c: E2 89 00 EE 02 80 0D 02 02 81 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 26 07 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 35 04 06 00 BB 99 F0 44 F5 12 00 00 65 [23:43:38]Write i2c OK [23:43:38]MH_I2C_Read... [23:43:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:43:39]Read from MH i2c: E2 [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: E2 03 00 [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: E2 03 00 EE 02 00 90 00 64 [23:43:39]RAPDU: 90 00 [23:43:39]wFMCommunicate OK [23:43:39]wFMCommunicate request_size=4 [23:43:39]MH_SAM_APDU [23:43:39]CAPDU: 80 0D 03 02 [23:43:39]Write to MH i2c: E2 08 00 EF 02 80 0D 03 02 00 00 00 00 6C [23:43:39]Write i2c OK [23:43:39]MH_I2C_Read... [23:43:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:43:39]Read from MH i2c: E2 [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: E2 0B 00 [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: E2 0B 00 EF 02 00 96 FF 27 F9 66 E0 2E 57 90 00 ED [23:43:39]RAPDU: 96 FF 27 F9 66 E0 2E 57 90 00 [23:43:39]wFMCommunicate OK [23:43:39]SAM_PROTO_SignData done [23:43:39]FM_MakeSignedData done [23:43:39]CreateOFDProtocolMessage [23:43:39]wFMCommunicate request_size=4 [23:43:39]MH_SAM_APDU [23:43:39]CAPDU: 80 11 00 00 [23:43:39]Write to MH i2c: E2 08 00 F0 02 80 11 00 00 00 00 00 00 6C [23:43:39]Write i2c OK [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: E2 [23:43:39]MH_I2C_Read... [23:43:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:43:39]Read from MH i2c: E2 17 00 [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: E2 17 00 F0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 C2 [23:43:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [23:43:39]wFMCommunicate OK [23:43:39]CreateOFDProtocolMessage done [23:43:39]OFDSenderStorePacket 1830 [23:43:39]StoreOFDPacket docnum=1830 [23:43:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 73 05 00 00 0D 3A 6B 05 77 1C 5A 05 01 00 05 00 5F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F4 03 04 00 A0 BF 91 66 0E 04 04 00 17 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 AA 04 D5 04 6E 04 04 00 3F 00 00 00 69 04 A2 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 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 B1 9C 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B3 37 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 26 07 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 35 04 06 00 BB 99 F0 44 F5 12 96 FF 27 F9 66 E0 2E 57 [23:43:39]CheckFolder [23:43:39]dirname=/storage/ofd_packets [23:43:39]CheckFolder done [23:43:39]ProducePacketName [23:43:39]name=ofd_packets/00001830 [23:43:39]NVStorageSaveData ofd_packets/00001830 [23:43:39]File name is /storage/ofd_packets/00001830 [23:43:39]Write 1425 bytes [23:43:39]NVStorageSaveData done [23:43:39]OFDSenderStorePacket done [23:43:39]KKMCreateOFDPacket done [23:43:39]NVStorageSaveData kkm_last_timestamp [23:43:39]File name is /storage/kkm_last_timestamp [23:43:39]Write 4 bytes [23:43:39]NVStorageSaveData done [23:43:39]ExternCall_PrintAddStr [23:43:39]wPrintStart [23:43:39]Write to MH i2c: 01 00 00 F1 02 F3 [23:43:39]Write i2c OK [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: 01 [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: 01 07 00 [23:43:39]MH_I2C_Read... [23:43:39]Read from MH i2c: 01 07 00 F1 02 00 00 00 00 00 FF 0F 08 [23:43:39]RasterBufferAndPrint [23:43:39]line Отчет о закрытии смены [23:43:39]line ФФД: 1.0 [23:43:39]line ИНН: 02508201610067 [23:43:39]line Кассир: Чоро у. К. [23:43:39]line 12.07.2024 23:43 [23:43:39]line Смена: 23 [23:43:39]line РНМ: 0000000000177495 [23:43:39]line ЗНМ: 0300000124 [23:43:39]line СНО: Общий режим [23:43:39]line Чеков за смену: 63 [23:43:39]line ФД за смену: 65 [23:43:39]line Всего чеков: 63 [23:43:39]line ИТОГИ ПРИХОД [23:43:39]line Чеков: 63 [23:43:39]line Общий итог: 16119.00 [23:43:39]line Итого наличными: 13834.00 [23:43:39]line Итого безнал.: 2285.00 [23:43:39]line НДС 0% : 0.00 [23:43:39]line НДС 12% : 1711.85 [23:43:39]line НСП 0% : 0.00 [23:43:39]line НСП 1,50% : 0.00 [23:43:39]line НСП 0,50% : 0.00 [23:43:39]line НСП 5% : 0.00 [23:43:39]line НСП 3% : 0.00 [23:43:39]line НСП 2% : 0.00 [23:43:39]line НСП 1% : 142.59 [23:43:39]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:43:39]line Чеков: 0 [23:43:39]line Общий итог: 0.00 [23:43:39]line Итого наличными: 0.00 [23:43:39]line Итого безнал.: 0.00 [23:43:39]line НДС 0% : 0.00 [23:43:39]line НДС 12% : 0.00 [23:43:39]line НСП 0% : 0.00 [23:43:39]line НСП 1,50% : 0.00 [23:43:39]line НСП 0,50% : 0.00 [23:43:39]line НСП 5% : 0.00 [23:43:39]line НСП 3% : 0.00 [23:43:39]line НСП 2% : 0.00 [23:43:39]line НСП 1% : 0.00 [23:43:39]line ИТОГИ РАСХОД [23:43:39]line Чеков: 0 [23:43:39]line Общий итог: 0.00 [23:43:39]line Итого наличными: 0.00 [23:43:39]line Итого безнал.: 0.00 [23:43:39]line НДС 0% : 0.00 [23:43:39]line НДС 12% : 0.00 [23:43:39]line НСП 0% : 0.00 [23:43:39]line НСП 1,50% : 0.00 [23:43:39]line НСП 0,50% : 0.00 [23:43:39]line НСП 5% : 0.00 [23:43:39]line НСП 3% : 0.00 [23:43:39]line НСП 2% : 0.00 [23:43:39]line НСП 1% : 0.00 [23:43:39]line ИТОГИ ВОЗВРАТ РАСХОДА [23:43:39]line Чеков: 0 [23:43:39]OFD Sender: Processing packet 1830 [packets to send 1, broken 0] [23:43:39]ProducePacketName [23:43:39]name=ofd_packets/00001830 [23:43:39]OFD Sender: To server: pG, [23:43:39]CommunicateWithHost lk.salyk.kg:30040 [23:43:39]ConnectInit lk.salyk.kg [23:43:39]line Общий итог: 0.00 [23:43:39]line Итого наличными: 0.00 [23:43:39]line Итого безнал.: 0.00 [23:43:39]line НДС 0% : 0.00 [23:43:39]line НДС 12% : 0.00 [23:43:39]line НСП 0% : 0.00 [23:43:39]line НСП 1,50% : 0.00 [23:43:39]line НСП 0,50% : 0.00 [23:43:39]line НСП 5% : 0.00 [23:43:39]line НСП 3% : 0.00 [23:43:39]line НСП 2% : 0.00 [23:43:39]line НСП 1% : 0.00 [23:43:39]line Сумма внесений: 0.00 [23:43:39]line Сумма выплат: 0.00 [23:43:39]line Нал. в кассе: 13834.00 [23:43:39]line НС Приход: 723437.05 [23:43:39]line НС Возвр.Прихода: 96.00 [23:43:39]line НС Расход: 0.00 [23:43:39]line НС Возвр.Расхода: 0.00 [23:43:39]line ФД: 1830 [23:43:39]line ФМ: 0000000002098592 [23:43:39]line ФПД: 206269835441426 [23:43:39]written 0, free lines is 4095 [23:43:39]Connected sock=9 [23:43:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 73 05 00 00 0D 3A 6B 05 77 1C 5A 05 01 00 05 00 5F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 11 00 D0 A7 D0 BE D1 80 D0 BE 20 D1 83 2E 20 D0 9A 2E 20 F4 03 04 00 A0 BF 91 66 0E 04 04 00 17 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 AA 04 D5 04 6E 04 04 00 3F 00 00 00 69 04 A2 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 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 B1 9C 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B3 37 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 Write to MH i2c: 00 01 00 00 EF 00 03 41 09 03 00 44 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 [23:43:40]00 02 F7 03 00 00 EF 03 09 00 F6 03 01 Write i2c OK [23:43:40]00 MH_I2C_Read... [23:43:40]03 Read from MH i2c: F7 01 03 [23:43:40]00 MH_I2C_Read... [23:43:40]00 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:43:40]01 MH_I2C_Read... [23:43:40]00 Read from MH i2c: 05 01 F7 07 03 00 00 41 00 03 EF 00 03 00 09 00 00 00 F6 00 03 27 01 0B 00 7D [23:43:40]06 RasterBufferAndPrint [23:43:40]F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 line [23:43:40]00 line [23:43:40]B1 line [23:43:40]04 line [23:43:40]00 line [23:43:40]00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 written 0, free lines is 2991 [23:43:40]00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 MH_Cut [23:43:40]F3 Write to MH i2c: 03 D1 00 01 00 00 EF 48 03 03 09 01 00 1D F6 [23:43:40]03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 Write i2c OK [23:43:40]03 MH_I2C_Read... [23:43:40]00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 02 D1 F7 [23:43:40]03 MH_I2C_Read... [23:43:40]00 Read from MH i2c: 00 D1 EF 01 03 00 09 [23:43:40]00 MH_I2C_Read... [23:43:40]F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 Read from MH i2c: EF D1 03 01 09 00 00 48 F6 03 03 00 01 1C 00 [23:43:40]05 Write to MH i2c: F7 01 03 00 00 00 00 49 EF 03 03 4C 09 [23:43:40]00 Write i2c OK [23:43:40]F6 MH_I2C_Read... [23:43:40]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 26 07 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 35 04 06 00 BB 99 F0 44 F5 12 96 FF 27 F9 66 E0 2E 57 [23:43:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 59 AD 47 00 E3 03 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 32 30 39 38 35 39 32 10 04 04 00 26 07 00 00 F4 03 04 00 E3 6A 91 66 B6 04 01 00 00 92 03 E8 A6 AE CE 0C 15 [23:43:41]CommunicateWithHost err = 0 [23:43:41]CheckOFDResponse [23:43:41]1017 (14) - 77093643461234 [23:43:41]1041 (16) - 0000000002098592 [23:43:41]1040 (4) - 1830 [23:43:41]1012 (4) - 12.07.2024 17:41 [23:43:41]1206 (1) - 0 [23:43:41]OFD Sender: Remove packet 1830 [23:43:41]ProducePacketName [23:43:41]name=ofd_packets/00001830 [23:43:41]NVStorageDeleteData [23:43:41]*** Cut start [23:43:41]*** Partial cut [23:43:41]*** CUTSNS_PIN = 1 [23:43:41]*** CUTSNS_PIN = 0 [23:43:41]*** Brake cut motor [23:43:42]OFD Sender: No OFD packet to send [23:43:42]Read from MH i2c: 01 [23:43:42]MH_I2C_Read... [23:43:42]*** Stop cut motor [23:43:42]*** Cut end [23:43:42]Read from MH i2c: 01 07 00 [23:43:42]MH_I2C_Read... [23:43:42]Read from MH i2c: 01 07 00 49 03 00 00 00 00 00 FF 0F 61 [23:43:42]process_action close_shift done [23:43:42]requested_data is exist [23:43:42]produce_requested_data [23:43:42]requested_item fd.num is exist - process it [23:43:42]SAM_PROTO_GetFieldsCounters [23:43:42]wFMCommunicate request_size=4 [23:43:42]MH_SAM_APDU [23:43:42]CAPDU: 80 13 00 00 [23:43:42]Write to MH i2c: E2 08 00 4A 03 80 13 00 00 00 00 00 00 C9 [23:43:42]Write i2c OK [23:43:42]MH_I2C_Read... [23:43:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:43:42]Read from MH i2c: E2 [23:43:42]MH_I2C_Read... [23:43:42]Read from MH i2c: E2 62 00 [23:43:42]MH_I2C_Read... [23:43:42]Read from MH i2c: E2 62 00 4A 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 26 07 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 F7 [23:43:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 26 07 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:43:42]wFMCommunicate OK [23:43:42]SAM_PROTO_GetFieldsCounters done [23:43:42]requested_item shift.num is exist - process it [23:43:42]requested_item shift.opened is exist - process it [23:43:42]req_shift_opened [23:43:42]FM_GetShiftState [23:43:42]SAM_PROTO_GetShiftState [23:43:42]wFMCommunicate request_size=4 [23:43:42]MH_SAM_APDU [23:43:42]CAPDU: 80 13 01 00 [23:43:42]Write to MH i2c: E2 08 00 4B 03 80 13 01 00 00 00 00 00 CB [23:43:42]Write i2c OK [23:43:42]MH_I2C_Read... [23:43:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:43:42]Read from MH i2c: E2 [23:43:42]MH_I2C_Read... [23:43:42]Read from MH i2c: E2 0E 00 [23:43:42]MH_I2C_Read... [23:43:42]Read from MH i2c: E2 0E 00 4B 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 D6 [23:43:42]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:43:42]wFMCommunicate OK [23:43:42]SAM_PROTO_GetShiftState done [23:43:42]FM_GetShiftState done [23:43:42]req_shift_opened done [23:43:42]requested_item shift.open_date is exist - process it [23:43:42]req_shift_open_date [23:43:42]FM_GetShiftState [23:43:42]SAM_PROTO_GetShiftState [23:43:42]wFMCommunicate request_size=4 [23:43:42]MH_SAM_APDU [23:43:42]CAPDU: 80 13 01 00 [23:43:42]Write to MH i2c: E2 08 00 4C 03 80 13 01 00 00 00 00 00 CC [23:43:42]Write i2c OK [23:43:42]MH_I2C_Read... [23:43:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:43:42]Read from MH i2c: E2 [23:43:42]MH_I2C_Read... [23:43:42]Read from MH i2c: E2 0E 00 [23:43:42]MH_I2C_Read... [23:43:42]Read from MH i2c: E2 0E 00 4C 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 D7 [23:43:42]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:43:42]wFMCommunicate OK [23:43:42]SAM_PROTO_GetShiftState done [23:43:42]FM_GetShiftState done [23:43:42]req_shift_open_date done [23:43:42]produce_requested_data done [23:43:42]produce_requested_data return {"fd.num":1830,"shift.num":23,"shift.opened":0,"shift.open_date":0} [23:43:42]process_action_free close_shift [23:43:42]json_value_free [23:43:42]json_value_free done [23:43:42]process_json_proto returns [23:43:42]Send response to host [23:43:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":1830,"shift.num":23,"shift.opened":0,"shift.open_date":0}}} [23:43:42]free response buf [23:43:42]execute_script done [23:43:42]execute_script returns [23:43:42]free content buf [23:43:42]Sock 10.Close socket [23:43:42]Sock 10.Thread stoped [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:02]OFD Sender: No OFD packet to send [23:53:07]OFD Sender: No OFD packet to send [23:53:12]OFD Sender: No OFD packet to send [23:53:17]OFD Sender: No OFD packet to send [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:37]OFD Sender: No OFD packet to send [23:54:42]OFD Sender: No OFD packet to send [23:54:47]OFD Sender: No OFD packet to send [23:54:52]OFD Sender: No OFD packet to send [23:54:57]OFD Sender: No OFD packet to send [23:55:02]OFD Sender: No OFD packet to send [23:55:07]OFD Sender: No OFD packet to send [23:55:12]OFD Sender: No OFD packet to send [23:55:17]OFD Sender: No OFD packet to send [23:55:22]OFD Sender: No OFD packet to send [23:55:27]OFD Sender: No OFD packet to send [23:55:32]OFD Sender: No OFD packet to send [23:55:37]OFD Sender: No OFD packet to send [23:55:42]OFD Sender: No OFD packet to send [23:55:47]OFD Sender: No OFD packet to send [23:55:52]OFD Sender: No OFD packet to send [23:55:57]OFD Sender: No OFD packet to send [23:56:02]OFD Sender: No OFD packet to send [23:56:07]OFD Sender: No OFD packet to send [23:56:12]OFD Sender: No OFD packet to send [23:56:17]OFD Sender: No OFD packet to send [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:27]OFD Sender: No OFD packet to send [23:59:32]OFD Sender: No OFD packet to send [23:59:37]OFD Sender: No OFD packet to send [23:59:42]OFD Sender: No OFD packet to send [23:59:47]OFD Sender: No OFD packet to send [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:37]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:47]OFD Sender: No OFD packet to send [00:00:52]OFD Sender: No OFD packet to send [00:00:57]OFD Sender: No OFD packet to send [00:01:02]OFD Sender: No OFD packet to send [00:01:07]OFD Sender: No OFD packet to send [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]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:18]OFD Sender: No OFD packet to send [00:05:23]OFD Sender: No OFD packet to send [00:05:28]OFD Sender: No OFD packet to send [00:05:33]OFD Sender: No OFD packet to send [00:05:38]OFD Sender: No OFD packet to send [00:05:43]OFD Sender: No OFD packet to send [00:05:48]OFD Sender: No OFD packet to send [00:05:53]OFD Sender: No OFD packet to send [00:05:58]OFD Sender: No OFD packet to send [00:06:03]OFD Sender: No OFD packet to send [00:06:08]OFD Sender: No OFD packet to send [00:06:13]OFD Sender: No OFD packet to send [00:06:18]OFD Sender: No OFD packet to send [00:06:23]OFD Sender: No OFD packet to send [00:06:28]OFD Sender: No OFD packet to send [00:06:33]OFD Sender: No OFD packet to send [00:06:38]OFD Sender: No OFD packet to send [00:06:43]OFD Sender: No OFD packet to send [00:06:48]OFD Sender: No OFD packet to send [00:06:53]OFD Sender: No OFD packet to send [00:06:58]OFD Sender: No OFD packet to send [00:07:03]OFD Sender: No OFD packet to send [00:07:08]OFD Sender: No OFD packet to send [00:07:13]OFD Sender: No OFD packet to send [00:07:18]OFD Sender: No OFD packet to send [00:07:23]OFD Sender: No OFD packet to send [00:07:28]OFD Sender: No OFD packet to send [00:07:33]OFD Sender: No OFD packet to send [00:07:38]OFD Sender: No OFD packet to send [00:07:43]OFD Sender: No OFD packet to send [00:07:48]OFD Sender: No OFD packet to send [00:07:53]OFD Sender: No OFD packet to send [00:07:58]OFD Sender: No OFD packet to send [00:08:03]OFD Sender: No OFD packet to send [00:08:08]OFD Sender: No OFD packet to send [00:08:13]OFD Sender: No OFD packet to send [00:08:18]OFD Sender: No OFD packet to send [00:08:23]OFD Sender: No OFD packet to send [00:08:28]OFD Sender: No OFD packet to send [00:08:33]OFD Sender: No OFD packet to send [00:08:38]OFD Sender: No OFD packet to send [00:08:43]OFD Sender: No OFD packet to send [00:08:48]OFD Sender: No OFD packet to send [00:08:53]OFD Sender: No OFD packet to send [00:08:58]OFD Sender: No OFD packet to send [00:09:03]OFD Sender: No OFD packet to send [00:09:08]OFD Sender: No OFD packet to send [00:09:13]OFD Sender: No OFD packet to send [00:09:18]OFD Sender: No OFD packet to send [00:09:23]OFD Sender: No OFD packet to send [00:09:28]OFD Sender: No OFD packet to send [00:09:33]OFD Sender: No OFD packet to send [00:09:34]accept exits with 8 [00:09:34]New connection [00:09:34]New thread 3067018596 created [00:09:34]Thread 3067161956 joined [00:09:34]Waiting for new connection... [00:09:34] Sock 8.Parse request [00:09:34]Sock 8.Check first char [00:09:34]Sock 8.First char is OK [00:09:34]request: POST /json_proto HTTP/1.0 [00:09:34]Method: POST [00:09:34]URL: /json_proto [00:09:34]Method is POST - this is cgi request [00:09:34]url: /json_proto [00:09:34]query_string will be loaded in cgi processing [00:09:34]execute_cgi json_proto POST (null) [00:09:34]execute_cgi path=json_proto method=POST [00:09:34]POST find Content-Length [00:09:34]Host: 172.17.35.133:8080 [00:09:34]Content-Length: 215 [00:09:34]Content-Type: application/json [00:09:34] [00:09:34]POST finish read [00:09:34]Found Content-Length = 215 [00:09:34]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:09:34]execute_script... [00:09:34]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:09:34]POST & json_proto [00:09:34]process_json_proto [00:09:34]json parsed OK: [00:09:34]protocol is kg_v1.0 [00:09:34]action value=get_value [00:09:34]process_action get_value [00:09:34]cmd_get_value [00:09:34]process_action get_value done [00:09:34]requested_data is exist [00:09:34]produce_requested_data [00:09:34]requested_item kkm.sn is exist - process it [00:09:34]requested_item kkm.ver is exist - process it [00:09:34]requested_item fm.sn is exist - process it [00:09:34]wFMCommunicate request_size=4 [00:09:34]MH_SAM_APDU [00:09:34]CAPDU: 80 11 00 00 [00:09:34]Write to MH i2c: E2 08 00 4D 03 80 11 00 00 00 00 00 00 CA [00:09:34]Write i2c OK [00:09:34]MH_I2C_Read... [00:09:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:34]Read from MH i2c: E2 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 17 00 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 17 00 4D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 20 [00:09:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:09:34]wFMCommunicate OK [00:09:34]requested_item fd.num is exist - process it [00:09:34]SAM_PROTO_GetFieldsCounters [00:09:34]wFMCommunicate request_size=4 [00:09:34]MH_SAM_APDU [00:09:34]CAPDU: 80 13 00 00 [00:09:34]Write to MH i2c: E2 08 00 4E 03 80 13 00 00 00 00 00 00 CD [00:09:34]Write i2c OK [00:09:34]MH_I2C_Read... [00:09:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:34]Read from MH i2c: E2 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 62 00 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 62 00 4E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 26 07 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 FB [00:09:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 26 07 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:34]wFMCommunicate OK [00:09:34]SAM_PROTO_GetFieldsCounters done [00:09:34]requested_item shift.num is exist - process it [00:09:34]requested_item shift.opened is exist - process it [00:09:34]req_shift_opened [00:09:34]FM_GetShiftState [00:09:34]SAM_PROTO_GetShiftState [00:09:34]wFMCommunicate request_size=4 [00:09:34]MH_SAM_APDU [00:09:34]CAPDU: 80 13 01 00 [00:09:34]Write to MH i2c: E2 08 00 4F 03 80 13 01 00 00 00 00 00 CF [00:09:34]Write i2c OK [00:09:34]MH_I2C_Read... [00:09:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:34]Read from MH i2c: E2 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 0E 00 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 0E 00 4F 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DA [00:09:34]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:34]wFMCommunicate OK [00:09:34]SAM_PROTO_GetShiftState done [00:09:34]FM_GetShiftState done [00:09:34]req_shift_opened done [00:09:34]requested_item shift.open_date is exist - process it [00:09:34]req_shift_open_date [00:09:34]FM_GetShiftState [00:09:34]SAM_PROTO_GetShiftState [00:09:34]wFMCommunicate request_size=4 [00:09:34]MH_SAM_APDU [00:09:34]CAPDU: 80 13 01 00 [00:09:34]Write to MH i2c: E2 08 00 50 03 80 13 01 00 00 00 00 00 D0 [00:09:34]Write i2c OK [00:09:34]MH_I2C_Read... [00:09:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:35]Read from MH i2c: E2 [00:09:35]MH_I2C_Read... [00:09:35]Read from MH i2c: E2 0E 00 [00:09:35]MH_I2C_Read... [00:09:35]Read from MH i2c: E2 0E 00 50 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DB [00:09:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:35]wFMCommunicate OK [00:09:35]SAM_PROTO_GetShiftState done [00:09:35]FM_GetShiftState done [00:09:35]req_shift_open_date done [00:09:35]produce_requested_data done [00:09:35]produce_requested_data return {"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1830,"shift.num":23,"shift.opened":0,"shift.open_date":0} [00:09:35]process_action_free get_value [00:09:35]json_value_free [00:09:35]json_value_free done [00:09:35]process_json_proto returns [00:09:35]Send response to host [00:09:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000124","kkm.ver":"001","fm.sn":"0000000002098592","fd.num":1830,"shift.num":23,"shift.opened":0,"shift.open_date":0}}} [00:09:35]free response buf [00:09:35]execute_script done [00:09:35]execute_script returns [00:09:35]free content buf [00:09:35]Sock 8.Close socket [00:09:35]Sock 8.Thread stoped [00:09:35]accept exits with 9 [00:09:35]New connection [00:09:35]New thread 3067161956 created [00:09:35]Thread 3067018596 joined [00:09:35]Waiting for new connection... [00:09:35] Sock 9.Parse request [00:09:35]Sock 9.Check first char [00:09:35]Sock 9.First char is OK [00:09:35]request: POST /json_proto HTTP/1.0 [00:09:35]Method: POST [00:09:35]URL: /json_proto [00:09:35]Method is POST - this is cgi request [00:09:35]url: /json_proto [00:09:35]query_string will be loaded in cgi processing [00:09:35]execute_cgi json_proto POST (null) [00:09:35]execute_cgi path=json_proto method=POST [00:09:35]POST find Content-Length [00:09:35]Host: 172.17.35.133:8080 [00:09:35]Content-Length: 331 [00:09:35]Content-Type: application/json [00:09:35] [00:09:35]POST finish read [00:09:35]Found Content-Length = 331 [00:09:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:09:35]execute_script... [00:09:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:09:35]POST & json_proto [00:09:35]process_json_proto [00:09:35]json parsed OK: [00:09:35]protocol is kg_v1.0 [00:09:35]action value=get_value [00:09:35]process_action get_value [00:09:35]cmd_get_value [00:09:35]process_action get_value done [00:09:35]requested_data is exist [00:09:35]produce_requested_data [00:09:35]requested_item fm.sale.total is exist - process it [00:09:35]SAM_PROTO_GetFMData [00:09:35]wFMCommunicate request_size=4 [00:09:35]MH_SAM_APDU [00:09:35]CAPDU: 80 13 03 00 [00:09:35]Write to MH i2c: E2 08 00 51 03 80 13 03 00 00 00 00 00 D3 [00:09:35]Write i2c OK [00:09:35]MH_I2C_Read... [00:09:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:35]Read from MH i2c: E2 [00:09:35]MH_I2C_Read... [00:09:35]Read from MH i2c: E2 FD 00 [00:09:35]MH_I2C_Read... [00:09:35]Read from MH i2c: E2 FD 00 51 03 00 BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 AD [00:09:35]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:09:35]wFMCommunicate OK [00:09:35]wFMCommunicate request_size=4 [00:09:35]MH_SAM_APDU [00:09:35]CAPDU: 80 17 00 00 [00:09:35]Write to MH i2c: E2 08 00 52 03 80 17 00 00 00 00 00 00 D5 [00:09:35]Write i2c OK [00:09:35]MH_I2C_Read... [00:09:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:36]Read from MH i2c: E2 [00:09:36]MH_I2C_Read... [00:09:36]Read from MH i2c: E2 FD 00 [00:09:36]MH_I2C_Read... [00:09:36]Read from MH i2c: E2 FD 00 52 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D2 [00:09:36]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:36]wFMCommunicate OK [00:09:36]wFMCommunicate request_size=4 [00:09:36]MH_SAM_APDU [00:09:36]CAPDU: 80 17 00 00 [00:09:36]Write to MH i2c: E2 08 00 53 03 80 17 00 00 00 00 00 00 D6 [00:09:36]Write i2c OK [00:09:36]MH_I2C_Read... [00:09:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:36]Read from MH i2c: E2 [00:09:36]MH_I2C_Read... [00:09:36]Read from MH i2c: E2 FD 00 [00:09:36]MH_I2C_Read... [00:09:36]Read from MH i2c: E2 FD 00 53 03 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 02 [00:09:36]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:36]wFMCommunicate OK [00:09:36]wFMCommunicate request_size=4 [00:09:36]MH_SAM_APDU [00:09:36]CAPDU: 80 17 00 00 [00:09:36]Write to MH i2c: E2 08 00 54 03 80 17 00 00 00 00 00 00 D7 [00:09:36]Write i2c OK [00:09:36]MH_I2C_Read... [00:09:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:36]Read from MH i2c: E2 [00:09:36]MH_I2C_Read... [00:09:36]Read from MH i2c: E2 FD 00 [00:09:36]MH_I2C_Read... [00:09:36]Read from MH i2c: E2 FD 00 54 03 00 00 EF 03 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 90 00 4F [00:09:36]RAPDU: 00 EF 03 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 90 00 [00:09:36]wFMCommunicate OK [00:09:36]wFMCommunicate request_size=4 [00:09:36]MH_SAM_APDU [00:09:36]CAPDU: 80 17 00 00 [00:09:36]Write to MH i2c: E2 08 00 55 03 80 17 00 00 00 00 00 00 D8 [00:09:36]Write i2c OK [00:09:36]MH_I2C_Read... [00:09:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [00:09:36]Read from MH i2c: E2 [00:09:36]MH_I2C_Read... [00:09:36]Read from MH i2c: E2 D7 00 [00:09:36]MH_I2C_Read... [00:09:36]Read from MH i2c: E2 D7 00 55 03 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 BB [00:09:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:36]wFMCommunicate OK [00:09:36]SAM_PROTO_GetFMData done [00:09:36]requested_item fm.sale_refund.total is exist - process it [00:09:36]requested_item fm.buy.total is exist - process it [00:09:36]requested_item shift.sale.total is exist - process it [00:09:36]SAM_PROTO_GetShiftData [00:09:36]wFMCommunicate request_size=4 [00:09:36]MH_SAM_APDU [00:09:36]CAPDU: 80 13 02 00 [00:09:36]Write to MH i2c: E2 08 00 56 03 80 13 02 00 00 00 00 00 D7 [00:09:36]Write i2c OK [00:09:36]MH_I2C_Read... [00:09:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:37]Read from MH i2c: E2 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 56 03 00 AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A6 [00:09:37]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7C 98 18 70 04 03 00 E8 1B 15 72 04 03 00 94 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 9C 02 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 B3 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:09:37]wFMCommunicate OK [00:09:37]wFMCommunicate request_size=4 [00:09:37]MH_SAM_APDU [00:09:37]CAPDU: 80 17 00 00 [00:09:37]Write to MH i2c: E2 08 00 57 03 80 17 00 00 00 00 00 00 DA [00:09:37]Write i2c OK [00:09:37]MH_I2C_Read... [00:09:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:37]Read from MH i2c: E2 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 57 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FC [00:09:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:09:37]wFMCommunicate OK [00:09:37]wFMCommunicate request_size=4 [00:09:37]MH_SAM_APDU [00:09:37]CAPDU: 80 17 00 00 [00:09:37]Write to MH i2c: E2 08 00 58 03 80 17 00 00 00 00 00 00 DB [00:09:37]Write i2c OK [00:09:37]MH_I2C_Read... [00:09:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:37]Read from MH i2c: E2 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 58 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 92 [00:09:37]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:09:37]wFMCommunicate OK [00:09:37]wFMCommunicate request_size=4 [00:09:37]MH_SAM_APDU [00:09:37]CAPDU: 80 17 00 00 [00:09:37]Write to MH i2c: E2 08 00 59 03 80 17 00 00 00 00 00 00 DC [00:09:37]Write i2c OK [00:09:37]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 59 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 4E [00:09:38]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:09:38]wFMCommunicate OK [00:09:38]wFMCommunicate request_size=4 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 17 00 00 [00:09:38]Write to MH i2c: E2 08 00 5A 03 80 17 00 00 00 00 00 00 DD [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]OFD Sender: No OFD packet to send [00:09:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 CB 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 CB 00 5A 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C6 [00:09:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:09:38]wFMCommunicate OK [00:09:38]SAM_PROTO_GetShiftData done [00:09:38]requested_item shift.sale.total_cash is exist - process it [00:09:38]requested_item shift.sale_refund.total is exist - process it [00:09:38]requested_item shift.sale_refund.total_cash is exist - process it [00:09:38]requested_item shift.buy.total is exist - process it [00:09:38]requested_item shift.buy.total_cash is exist - process it [00:09:38]produce_requested_data done [00:09:38]produce_requested_data return {"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:09:38]process_action_free get_value [00:09:38]json_value_free [00:09:38]json_value_free done [00:09:38]process_json_proto returns [00:09:38]Send response to host [00:09:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":723437.05,"fm.sale_refund.total":96.00,"fm.buy.total":0.00,"shift.sale.total":16119.00,"shift.sale.total_cash":13834.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:09:38]free response buf [00:09:38]execute_script done [00:09:38]execute_script returns [00:09:38]free content buf [00:09:38]Sock 9.Close socket [00:09:38]Sock 9.Thread stoped [00:09:38]accept exits with 8 [00:09:38]New connection [00:09:38]New thread 3067018596 created [00:09:38]Thread 3067161956 joined [00:09:38]Waiting for new connection... [00:09:38] Sock 8.Parse request [00:09:38]Sock 8.Check first char [00:09:38]Sock 8.First char is OK [00:09:38]request: POST /json_proto HTTP/1.0 [00:09:38]Method: POST [00:09:38]URL: /json_proto [00:09:38]Method is POST - this is cgi request [00:09:38]url: /json_proto [00:09:38]query_string will be loaded in cgi processing [00:09:38]execute_cgi json_proto POST (null) [00:09:38]execute_cgi path=json_proto method=POST [00:09:38]POST find Content-Length [00:09:38]Host: 172.17.35.133:8080 [00:09:38]Content-Length: 277 [00:09:38]Content-Type: application/json [00:09:38] [00:09:38]POST finish read [00:09:38]Found Content-Length = 277 [00:09:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u043A\u0443\u043B\u043E\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:38]execute_script... [00:09:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u043A\u0443\u043B\u043E\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:38]POST & json_proto [00:09:38]process_json_proto [00:09:38]json parsed OK: [00:09:38]protocol is kg_v1.0 [00:09:38]action value=open_shift [00:09:38]process_action open_shift [00:09:38]cmd_open_shift [00:09:38]MH_GetDate [00:09:38]Write to MH i2c: F0 00 00 5B 03 4D [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: F0 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: F0 09 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: F0 09 00 5B 03 00 C3 C5 91 66 1B 28 2A 66 A8 [00:09:38]GetLastDocTimeStamp 1720827808 [00:09:38]current date 1720829379 [00:09:38]FM_GetShiftState [00:09:38]SAM_PROTO_GetShiftState [00:09:38]wFMCommunicate request_size=4 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 13 01 00 [00:09:38]Write to MH i2c: E2 08 00 5C 03 80 13 01 00 00 00 00 00 DC [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 0E 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 0E 00 5C 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 E7 [00:09:38]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:38]wFMCommunicate OK [00:09:38]SAM_PROTO_GetShiftState done [00:09:38]FM_GetShiftState done [00:09:38]KKMCreateOpenShiftDocument [00:09:38]Load OK [00:09:38]Malloc new data [00:09:38]MH_GetDate [00:09:38]Write to MH i2c: F0 00 00 5D 03 4F [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: F0 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: F0 09 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: F0 09 00 5D 03 00 C3 C5 91 66 1B 28 2A 66 AA [00:09:38]Malloc new data [00:09:38]KKMCreateOpenShiftDocument OK [00:09:38]KKMSetOpenShiftData OK [00:09:38]ProcessDocumentItem done err = 0, tmpTLVsize=218 [00:09:38]tlvbuf is 00F94350 [00:09:38]KKMLoadAndSignOpenShiftData [00:09:38]SAM_PROTO_ProcessDocument [00:09:38]wFMCommunicate request_size=9 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 15 01 00 04 02 00 DA 00 [00:09:38]Write to MH i2c: E2 0C 00 5E 03 80 15 01 00 04 00 02 00 DA 00 00 00 C4 [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 03 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 03 00 5E 03 00 90 00 D5 [00:09:38]RAPDU: 90 00 [00:09:38]wFMCommunicate OK [00:09:38]wFMCommunicate request_size=23 [00:09:38]MH_SAM_APDU [00:09:38]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:09:38]Write to MH i2c: E2 1A 00 5F 03 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 D7 [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 03 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 03 00 5F 03 00 90 00 D6 [00:09:38]RAPDU: 90 00 [00:09:38]wFMCommunicate OK [00:09:38]wFMCommunicate request_size=36 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 [00:09:38]Write to MH i2c: E2 27 00 60 03 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 1F [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 03 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 03 00 60 03 00 90 00 D7 [00:09:38]RAPDU: 90 00 [00:09:38]wFMCommunicate OK [00:09:38]wFMCommunicate request_size=101 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 15 02 00 60 F1 03 5C 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 37 32 2E 35 35 32 32 32 34 [00:09:38]Write to MH i2c: E2 68 00 61 03 80 15 02 00 60 00 F1 03 5C 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 37 32 2E 35 35 32 32 32 34 00 00 21 [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 03 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 03 00 61 03 00 90 00 D8 [00:09:39]RAPDU: 90 00 [00:09:39]wFMCommunicate OK [00:09:39]wFMCommunicate request_size=50 [00:09:39]MH_SAM_APDU [00:09:39]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:09:39]Write to MH i2c: E2 35 00 62 03 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 61 [00:09:39]Write i2c OK [00:09:39]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 03 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 03 00 62 03 00 90 00 D9 [00:09:39]RAPDU: 90 00 [00:09:39]wFMCommunicate OK [00:09:39]wFMCommunicate request_size=13 [00:09:39]MH_SAM_APDU [00:09:39]CAPDU: 80 15 02 00 08 F4 03 04 00 C3 C5 91 66 [00:09:39]Write to MH i2c: E2 10 00 63 03 80 15 02 00 08 00 F4 03 04 00 C3 C5 91 66 00 00 70 [00:09:39]Write i2c OK [00:09:39]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 03 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 03 00 63 03 00 90 00 DA [00:09:39]RAPDU: 90 00 [00:09:39]wFMCommunicate OK [00:09:39]wFMCommunicate request_size=25 [00:09:39]MH_SAM_APDU [00:09:39]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 [00:09:39]Write to MH i2c: E2 1C 00 64 03 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 00 00 51 [00:09:39]Write i2c OK [00:09:39]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 03 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 03 00 64 03 00 90 00 DB [00:09:39]RAPDU: 90 00 [00:09:39]wFMCommunicate OK [00:09:39]wFMCommunicate request_size=4 [00:09:39]MH_SAM_APDU [00:09:39]CAPDU: 80 15 03 00 [00:09:39]Write to MH i2c: E2 08 00 65 03 80 15 03 00 00 00 00 00 E9 [00:09:39]Write i2c OK [00:09:39]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 38 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 38 00 65 03 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 27 07 00 00 0E 04 04 00 18 00 00 00 35 04 06 00 50 03 42 A5 41 0E 90 00 87 [00:09:39]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 27 07 00 00 0E 04 04 00 18 00 00 00 35 04 06 00 50 03 42 A5 41 0E 90 00 [00:09:39]wFMCommunicate OK [00:09:39]SAM_PROTO_ProcessDocument answer len = 51 [00:09:39]SAM_PROTO_ProcessDocument done [00:09:39]SetTLVBufToDocument [00:09:39]Processing tag 1209 (04B9) [00:09:39]Malloc new data [00:09:39]Processing tag 1041 (0411) [00:09:39]Processing tag 1040 (0410) [00:09:39]Malloc new data [00:09:39]Processing tag 1038 (040E) [00:09:39]Malloc new data [00:09:39]Processing tag 1077 (0435) [00:09:39]Malloc new data [00:09:39]SetTLVBufToDocument err=0 [00:09:39]KKMLoadAndSignOpenShiftData store KKM data [00:09:39]KKMLoadAndSignOpenShiftData err=0 [00:09:39]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Кадыркулова Б. Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 Место: АЗС № 76 "Партнер Нефть" 13.07.2024 00:09 Смена: 24 РНМ: 0000000000177495 ЗНМ: 0300000124 ФД: 1831 ФМ: 0000000002098592 ФПД: 87974933250318 [00:09:39]StoreToDocumentArchive [00:09:39]shift 24 fd 1831 [00:09:39]Create dir for shift 0024 [00:09:39]save to /storage/0024/doc_00001831 [00:09:39]save last doc name /storage/0024/doc_00001831 to /storage/kkm_last_doc_name [00:09:39]save OK [00:09:39]Clear old archive folders... [00:09:39]Remove dir /storage/0023 [00:09:39]opendir ok [00:09:39]file . [00:09:39]file .. [00:09:39]file doc_00001766 [00:09:39]remove file /storage/0023/doc_00001766 [00:09:39]file doc_00001767 [00:09:39]remove file /storage/0023/doc_00001767 [00:09:39]file doc_00001768 [00:09:39]remove file /storage/0023/doc_00001768 [00:09:39]file doc_00001769 [00:09:39]remove file /storage/0023/doc_00001769 [00:09:39]file doc_00001770 [00:09:39]remove file /storage/0023/doc_00001770 [00:09:39]file doc_00001771 [00:09:39]remove file /storage/0023/doc_00001771 [00:09:39]file doc_00001772 [00:09:39]remove file /storage/0023/doc_00001772 [00:09:39]file doc_00001773 [00:09:39]remove file /storage/0023/doc_00001773 [00:09:39]file doc_00001774 [00:09:39]remove file /storage/0023/doc_00001774 [00:09:39]file doc_00001775 [00:09:39]remove file /storage/0023/doc_00001775 [00:09:39]file doc_00001776 [00:09:39]remove file /storage/0023/doc_00001776 [00:09:39]file doc_00001777 [00:09:39]remove file /storage/0023/doc_00001777 [00:09:39]file doc_00001778 [00:09:39]remove file /storage/0023/doc_00001778 [00:09:39]file doc_00001779 [00:09:39]remove file /storage/0023/doc_00001779 [00:09:39]file doc_00001780 [00:09:39]remove file /storage/0023/doc_00001780 [00:09:39]file doc_00001781 [00:09:39]remove file /storage/0023/doc_00001781 [00:09:39]file doc_00001782 [00:09:39]remove file /storage/0023/doc_00001782 [00:09:39]file doc_00001783 [00:09:39]remove file /storage/0023/doc_00001783 [00:09:39]file doc_00001784 [00:09:39]remove file /storage/0023/doc_00001784 [00:09:39]file doc_00001785 [00:09:39]remove file /storage/0023/doc_00001785 [00:09:39]file doc_00001786 [00:09:39]remove file /storage/0023/doc_00001786 [00:09:39]file doc_00001787 [00:09:39]remove file /storage/0023/doc_00001787 [00:09:39]file doc_00001788 [00:09:39]remove file /storage/0023/doc_00001788 [00:09:39]file doc_00001789 [00:09:39]remove file /storage/0023/doc_00001789 [00:09:39]file doc_00001790 [00:09:39]remove file /storage/0023/doc_00001790 [00:09:39]file doc_00001791 [00:09:39]remove file /storage/0023/doc_00001791 [00:09:39]file doc_00001792 [00:09:39]remove file /storage/0023/doc_00001792 [00:09:39]file doc_00001793 [00:09:39]remove file /storage/0023/doc_00001793 [00:09:39]file doc_00001794 [00:09:39]remove file /storage/0023/doc_00001794 [00:09:39]file doc_00001795 [00:09:39]remove file /storage/0023/doc_00001795 [00:09:39]file doc_00001796 [00:09:39]remove file /storage/0023/doc_00001796 [00:09:39]file doc_00001797 [00:09:39]remove file /storage/0023/doc_00001797 [00:09:39]file doc_00001798 [00:09:39]remove file /storage/0023/doc_00001798 [00:09:39]file doc_00001799 [00:09:39]remove file /storage/0023/doc_00001799 [00:09:39]file doc_00001800 [00:09:39]remove file /storage/0023/doc_00001800 [00:09:39]file doc_00001801 [00:09:39]remove file /storage/0023/doc_00001801 [00:09:39]file doc_00001802 [00:09:39]remove file /storage/0023/doc_00001802 [00:09:39]file doc_00001803 [00:09:39]remove file /storage/0023/doc_00001803 [00:09:39]file doc_00001804 [00:09:39]remove file /storage/0023/doc_00001804 [00:09:39]file doc_00001805 [00:09:39]remove file /storage/0023/doc_00001805 [00:09:39]file doc_00001806 [00:09:39]remove file /storage/0023/doc_00001806 [00:09:39]file doc_00001807 [00:09:39]remove file /storage/0023/doc_00001807 [00:09:39]file doc_00001808 [00:09:39]remove file /storage/0023/doc_00001808 [00:09:39]file doc_00001809 [00:09:39]remove file /storage/0023/doc_00001809 [00:09:39]file doc_00001810 [00:09:39]remove file /storage/0023/doc_00001810 [00:09:39]file doc_00001811 [00:09:39]remove file /storage/0023/doc_00001811 [00:09:39]file doc_00001812 [00:09:39]remove file /storage/0023/doc_00001812 [00:09:39]file doc_00001813 [00:09:39]remove file /storage/0023/doc_00001813 [00:09:39]file doc_00001814 [00:09:39]remove file /storage/0023/doc_00001814 [00:09:39]file doc_00001815 [00:09:39]remove file /storage/0023/doc_00001815 [00:09:39]file doc_00001816 [00:09:39]remove file /storage/0023/doc_00001816 [00:09:39]file doc_00001817 [00:09:39]remove file /storage/0023/doc_00001817 [00:09:39]file doc_00001818 [00:09:39]remove file /storage/0023/doc_00001818 [00:09:39]file doc_00001819 [00:09:39]remove file /storage/0023/doc_00001819 [00:09:39]file doc_00001820 [00:09:39]remove file /storage/0023/doc_00001820 [00:09:39]file doc_00001821 [00:09:39]remove file /storage/0023/doc_00001821 [00:09:39]file doc_00001822 [00:09:39]remove file /storage/0023/doc_00001822 [00:09:39]file doc_00001823 [00:09:39]remove file /storage/0023/doc_00001823 [00:09:39]file doc_00001824 [00:09:39]remove file /storage/0023/doc_00001824 [00:09:39]file doc_00001825 [00:09:39]remove file /storage/0023/doc_00001825 [00:09:39]file doc_00001826 [00:09:39]remove file /storage/0023/doc_00001826 [00:09:39]file doc_00001827 [00:09:39]remove file /storage/0023/doc_00001827 [00:09:39]file doc_00001828 [00:09:39]remove file /storage/0023/doc_00001828 [00:09:39]file doc_00001829 [00:09:39]remove file /storage/0023/doc_00001829 [00:09:39]file doc_00001830 [00:09:39]remove file /storage/0023/doc_00001830 [00:09:39]remove dir /storage/0023 [00:09:39]ProcessDocumentItem done err = 0, tmpTLVsize=269 [00:09:39]tlvbuf is 00F93120 [00:09:39]SAM_PROTO_ClearQueue [00:09:39]wFMCommunicate request_size=4 [00:09:39]MH_SAM_APDU [00:09:39]CAPDU: 80 09 00 00 [00:09:39]Write to MH i2c: E2 08 00 66 03 80 09 00 00 00 00 00 00 DB [00:09:39]Write i2c OK [00:09:39]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 03 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 03 00 66 03 00 90 00 DD [00:09:40]RAPDU: 90 00 [00:09:40]wFMCommunicate OK [00:09:40]SAM_PROTO_ClearQueue done [00:09:40]KKMCreateOFDPacket [00:09:40]OFDProtocolAddRootSTLVToBuf [00:09:40]FM_MakeSignedData [00:09:40]FM_MakeSignedData [00:09:40]SAM_PROTO_SignData [00:09:40]wFMCommunicate request_size=4 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 0D 01 02 [00:09:40]Write to MH i2c: E2 08 00 67 03 80 0D 01 02 00 00 00 00 E3 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 03 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 03 00 67 03 00 90 00 DE [00:09:40]RAPDU: 90 00 [00:09:40]wFMCommunicate OK [00:09:40]wFMCommunicate request_size=255 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 0D 02 02 FA 02 00 0D 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F1 03 5C 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 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 C3 C5 91 66 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 27 07 00 00 11 04 10 00 30 30 30 [00:09:40]Write to MH i2c: E2 02 01 68 03 80 0D 02 02 FA 00 02 00 0D 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F1 03 5C 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 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 C3 C5 91 66 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 27 07 00 00 11 04 10 00 30 30 30 00 00 FC [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 03 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 03 00 68 03 00 90 00 DF [00:09:40]RAPDU: 90 00 [00:09:40]wFMCommunicate OK [00:09:40]wFMCommunicate request_size=28 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 0D 02 02 17 30 30 30 30 30 30 32 30 39 38 35 39 32 35 04 06 00 50 03 42 A5 41 0E [00:09:40]Write to MH i2c: E2 1F 00 69 03 80 0D 02 02 17 00 30 30 30 30 30 30 32 30 39 38 35 39 32 35 04 06 00 50 03 42 A5 41 0E 00 00 6F [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 03 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 03 00 69 03 00 90 00 E0 [00:09:40]RAPDU: 90 00 [00:09:40]wFMCommunicate OK [00:09:40]wFMCommunicate request_size=4 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 0D 03 02 [00:09:40]Write to MH i2c: E2 08 00 6A 03 80 0D 03 02 00 00 00 00 E8 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 0B 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 0B 00 6A 03 00 0F A2 4E E5 3C E2 B6 59 90 00 FA [00:09:40]RAPDU: 0F A2 4E E5 3C E2 B6 59 90 00 [00:09:40]wFMCommunicate OK [00:09:40]SAM_PROTO_SignData done [00:09:40]FM_MakeSignedData done [00:09:40]CreateOFDProtocolMessage [00:09:40]wFMCommunicate request_size=4 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 11 00 00 [00:09:40]Write to MH i2c: E2 08 00 6B 03 80 11 00 00 00 00 00 00 E8 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 17 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 17 00 6B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 3E [00:09:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:09:40]wFMCommunicate OK [00:09:40]CreateOFDProtocolMessage done [00:09:40]OFDSenderStorePacket 1831 [00:09:40]StoreOFDPacket docnum=1831 [00:09:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 21 01 00 00 B3 90 19 01 9D C1 5A 02 01 00 02 00 0D 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F1 03 5C 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 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 C3 C5 91 66 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 27 07 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 35 04 06 00 50 03 42 A5 41 0E 0F A2 4E E5 3C E2 B6 59 [00:09:40]CheckFolder [00:09:40]dirname=/storage/ofd_packets [00:09:40]CheckFolder done [00:09:40]ProducePacketName [00:09:40]name=ofd_packets/00001831 [00:09:40]NVStorageSaveData ofd_packets/00001831 [00:09:40]File name is /storage/ofd_packets/00001831 [00:09:40]Write 319 bytes [00:09:40]NVStorageSaveData done [00:09:40]OFDSenderStorePacket done [00:09:40]KKMCreateOFDPacket done [00:09:40]NVStorageSaveData kkm_last_timestamp [00:09:40]File name is /storage/kkm_last_timestamp [00:09:40]Write 4 bytes [00:09:40]NVStorageSaveData done [00:09:40]ExternCall_PrintAddStr [00:09:40]wPrintStart [00:09:40]Write to MH i2c: 01 00 00 6C 03 6F [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 07 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 07 00 6C 03 00 00 00 00 00 FF 0F 84 [00:09:40]RasterBufferAndPrint [00:09:40]line Отчет об открытии смены [00:09:40]line ФФД: 1.0 [00:09:40]line ИНН: 02508201610067 [00:09:40]line Кассир: Кадыркулова Б. [00:09:40]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [00:09:40]line Место: АЗС № 76 "Партнер Нефть" [00:09:40]line 13.07.2024 00:09 [00:09:40]line Смена: 24 [00:09:40]line РНМ: 0000000000177495 [00:09:40]line ЗНМ: 0300000124 [00:09:40]line ФД: 1831 [00:09:40]line ФМ: 0000000002098592 [00:09:40]line ФПД: 87974933250318 [00:09:40]written 0, free lines is 4095 [00:09:40]OFD Sender: Processing packet 1831 [packets to send 1, broken 0] [00:09:40]ProducePacketName [00:09:40]name=ofd_packets/00001831 [00:09:40]OFD Sender: To server: pG, [00:09:40]CommunicateWithHost lk.salyk.kg:30040 [00:09:40]ConnectInit lk.salyk.kg [00:09:40]Connected sock=10 [00:09:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 21 01 00 00 B3 90 19 01 9D C1 5A 02 01 00 02 00 0D 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F1 03 5C 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 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 C3 C5 91 66 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 27 07 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 35 04 06 00 50 03 42 A5 41 0E 0F A2 4E E5 3C E2 B6 59 [00:09:40]Write to MH i2c: 01 00 00 7E 03 81 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 07 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 07 00 7E 03 00 00 00 00 00 A5 0E 3B [00:09:40]RasterBufferAndPrint [00:09:40]line [00:09:40]line [00:09:40]line [00:09:40]line [00:09:40]line [00:09:40]written 0, free lines is 3769 [00:09:40]MH_Cut [00:09:40]Write to MH i2c: D1 01 00 85 03 01 5A [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: D1 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: D1 01 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: D1 01 00 85 03 00 59 [00:09:41]Write to MH i2c: 01 00 00 86 03 89 [00:09:41]Write i2c OK [00:09:41]MH_I2C_Read... [00:09:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 53 9E 47 00 A2 E7 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 32 30 39 38 35 39 32 10 04 04 00 27 07 00 00 F4 03 04 00 FB 70 91 66 B6 04 01 00 00 4C 32 28 93 BC 00 6E BD [00:09:41]CommunicateWithHost err = 0 [00:09:41]CheckOFDResponse [00:09:41]1017 (14) - 77093643461234 [00:09:41]1041 (16) - 0000000002098592 [00:09:41]1040 (4) - 1831 [00:09:41]1012 (4) - 12.07.2024 18:07 [00:09:41]1206 (1) - 0 [00:09:41]OFD Sender: Remove packet 1831 [00:09:41]ProducePacketName [00:09:41]name=ofd_packets/00001831 [00:09:41]NVStorageDeleteData [00:09:41]*** Cut start [00:09:41]*** Partial cut [00:09:41]*** CUTSNS_PIN = 1 [00:09:41]*** CUTSNS_PIN = 0 [00:09:41]*** Brake cut motor [00:09:41]OFD Sender: No OFD packet to send [00:09:41]Read from MH i2c: 01 [00:09:42]MH_I2C_Read... [00:09:42]*** Stop cut motor [00:09:42]*** Cut end [00:09:42]Read from MH i2c: 01 07 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: 01 07 00 86 03 00 00 00 00 00 FF 0F 9E [00:09:42]process_action open_shift done [00:09:42]requested_data is exist [00:09:42]produce_requested_data [00:09:42]requested_item fd.num is exist - process it [00:09:42]SAM_PROTO_GetFieldsCounters [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 13 00 00 [00:09:42]Write to MH i2c: E2 08 00 87 03 80 13 00 00 00 00 00 00 06 [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 62 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 62 00 87 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 27 07 00 00 0E 04 04 00 18 00 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 78 [00:09:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 27 07 00 00 0E 04 04 00 18 00 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:09:42]wFMCommunicate OK [00:09:42]SAM_PROTO_GetFieldsCounters done [00:09:42]requested_item shift.num is exist - process it [00:09:42]requested_item shift.opened is exist - process it [00:09:42]req_shift_opened [00:09:42]FM_GetShiftState [00:09:42]SAM_PROTO_GetShiftState [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 13 01 00 [00:09:42]Write to MH i2c: E2 08 00 88 03 80 13 01 00 00 00 00 00 08 [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 0E 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 0E 00 88 03 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 93 [00:09:42]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:09:42]wFMCommunicate OK [00:09:42]SAM_PROTO_GetShiftState done [00:09:42]FM_GetShiftState done [00:09:42]req_shift_opened done [00:09:42]requested_item shift.open_date is exist - process it [00:09:42]req_shift_open_date [00:09:42]req_shift_open_date done [00:09:42]produce_requested_data done [00:09:42]produce_requested_data return {"fd.num":1831,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [00:09:42]process_action_free open_shift [00:09:42]json_value_free [00:09:42]json_value_free done [00:09:42]process_json_proto returns [00:09:42]Send response to host [00:09:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":1831,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [00:09:42]free response buf [00:09:42]execute_script done [00:09:42]execute_script returns [00:09:42]free content buf [00:09:42]Sock 8.Close socket [00:09:42]Sock 8.Thread stoped [00:09:42]accept exits with 9 [00:09:42]New connection [00:09:42]New thread 3067161956 created [00:09:42]Thread 3067018596 joined [00:09:42]Waiting for new connection... [00:09:42] Sock 9.Parse request [00:09:42]Sock 9.Check first char [00:09:42]Sock 9.First char is OK [00:09:42]request: POST /json_proto HTTP/1.0 [00:09:42]Method: POST [00:09:42]URL: /json_proto [00:09:42]Method is POST - this is cgi request [00:09:42]url: /json_proto [00:09:42]query_string will be loaded in cgi processing [00:09:42]execute_cgi json_proto POST (null) [00:09:42]execute_cgi path=json_proto method=POST [00:09:42]POST find Content-Length [00:09:42]Host: 172.17.35.133:8080 [00:09:42]Content-Length: 331 [00:09:42]Content-Type: application/json [00:09:42] [00:09:42]POST finish read [00:09:42]Found Content-Length = 331 [00:09:42]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:09:42]execute_script... [00:09:42]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:09:42]POST & json_proto [00:09:42]process_json_proto [00:09:42]json parsed OK: [00:09:42]protocol is kg_v1.0 [00:09:42]action value=get_value [00:09:42]process_action get_value [00:09:42]cmd_get_value [00:09:42]process_action get_value done [00:09:42]requested_data is exist [00:09:42]produce_requested_data [00:09:42]requested_item fm.sale.total is exist - process it [00:09:42]SAM_PROTO_GetFMData [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 13 03 00 [00:09:42]Write to MH i2c: E2 08 00 89 03 80 13 03 00 00 00 00 00 0B [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 FD 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 FD 00 89 03 00 BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 E5 [00:09:42]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 F7 06 00 00 69 04 9F 00 6F 04 04 00 F5 06 00 00 B1 04 04 00 99 E0 4F 04 70 04 04 00 C0 F7 94 03 72 04 03 00 D9 E8 BA 00 04 7C 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 68 3A 75 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 C4 C3 09 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 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 80 25 70 04 01 00 64 72 04 02 00 1C 25 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:09:42]wFMCommunicate OK [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 17 00 00 [00:09:42]Write to MH i2c: E2 08 00 8A 03 80 17 00 00 00 00 00 00 0D [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:43]Read from MH i2c: E2 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 FD 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 FD 00 8A 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0A [00:09:43]RAPDU: 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:43]wFMCommunicate OK [00:09:43]wFMCommunicate request_size=4 [00:09:43]MH_SAM_APDU [00:09:43]CAPDU: 80 17 00 00 [00:09:43]Write to MH i2c: E2 08 00 8B 03 80 17 00 00 00 00 00 00 0E [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:43]Read from MH i2c: E2 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 FD 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 FD 00 8B 03 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3A [00:09:43]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:43]wFMCommunicate OK [00:09:43]wFMCommunicate request_size=4 [00:09:43]MH_SAM_APDU [00:09:43]CAPDU: 80 17 00 00 [00:09:43]Write to MH i2c: E2 08 00 8C 03 80 17 00 00 00 00 00 00 0F [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:43]Read from MH i2c: E2 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 FD 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 FD 00 8C 03 00 00 EF 03 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 90 00 87 [00:09:44]RAPDU: 00 EF 03 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 90 00 [00:09:44]wFMCommunicate OK [00:09:44]wFMCommunicate request_size=4 [00:09:44]MH_SAM_APDU [00:09:44]CAPDU: 80 17 00 00 [00:09:44]Write to MH i2c: E2 08 00 8D 03 80 17 00 00 00 00 00 00 10 [00:09:44]Write i2c OK [00:09:44]MH_I2C_Read... [00:09:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [00:09:44]Read from MH i2c: E2 [00:09:44]MH_I2C_Read... [00:09:44]Read from MH i2c: E2 D7 00 [00:09:44]MH_I2C_Read... [00:09:44]Read from MH i2c: E2 D7 00 8D 03 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [00:09:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:44]wFMCommunicate OK [00:09:44]SAM_PROTO_GetFMData done [00:09:44]requested_item fm.sale_refund.total is exist - process it [00:09:44]requested_item fm.buy.total is exist - process it [00:09:44]requested_item shift.sale.total is exist - process it [00:09:44]SAM_PROTO_GetShiftData [00:09:44]wFMCommunicate request_size=4 [00:09:44]MH_SAM_APDU [00:09:44]CAPDU: 80 13 02 00 [00:09:44]Write to MH i2c: E2 08 00 8E 03 80 13 02 00 00 00 00 00 0F [00:09:44]Write i2c OK [00:09:44]MH_I2C_Read... [00:09:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:44]Read from MH i2c: E2 [00:09:44]MH_I2C_Read... [00:09:44]Read from MH i2c: E2 FD 00 [00:09:44]MH_I2C_Read... [00:09:44]Read from MH i2c: E2 FD 00 8E 03 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 82 [00:09:45]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:09:45]wFMCommunicate OK [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 17 00 00 [00:09:45]Write to MH i2c: E2 08 00 8F 03 80 17 00 00 00 00 00 00 12 [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 FD 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 FD 00 8F 03 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 1A [00:09:45]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:09:45]wFMCommunicate OK [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 17 00 00 [00:09:45]Write to MH i2c: E2 08 00 90 03 80 17 00 00 00 00 00 00 13 [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 FD 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 FD 00 90 03 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 E5 [00:09:45]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:09:45]wFMCommunicate OK [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 17 00 00 [00:09:45]Write to MH i2c: E2 08 00 91 03 80 17 00 00 00 00 00 00 14 [00:09:46]Write i2c OK [00:09:46]MH_I2C_Read... [00:09:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:46]Read from MH i2c: E2 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 FD 00 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 FD 00 91 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 90 00 86 [00:09:46]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:09:46]wFMCommunicate OK [00:09:46]wFMCommunicate request_size=4 [00:09:46]MH_SAM_APDU [00:09:46]CAPDU: 80 17 00 00 [00:09:46]Write to MH i2c: E2 08 00 92 03 80 17 00 00 00 00 00 00 15 [00:09:46]Write i2c OK [00:09:46]MH_I2C_Read... [00:09:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:09:46]Read from MH i2c: E2 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 BD 00 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 BD 00 92 03 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 FB [00:09:46]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:09:46]wFMCommunicate OK [00:09:46]SAM_PROTO_GetShiftData done [00:09:46]requested_item shift.sale.total_cash is exist - process it [00:09:46]requested_item shift.sale_refund.total is exist - process it [00:09:46]requested_item shift.sale_refund.total_cash is exist - process it [00:09:46]requested_item shift.buy.total is exist - process it [00:09:46]requested_item shift.buy.total_cash is exist - process it [00:09:46]produce_requested_data done [00:09:46]produce_requested_data return {"fm.sale.total":723437.05,"fm.sale_refund.total":96.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:09:46]process_action_free get_value [00:09:46]json_value_free [00:09:46]json_value_free done [00:09:46]process_json_proto returns [00:09:46]Send response to host [00:09:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":723437.05,"fm.sale_refund.total":96.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:09:46]free response buf [00:09:46]execute_script done [00:09:46]execute_script returns [00:09:46]free content buf [00:09:46]Sock 9.Close socket [00:09:46]Sock 9.Thread stoped [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:57]OFD Sender: No OFD packet to send [00:14:02]OFD Sender: No OFD packet to send [00:14:07]OFD Sender: No OFD packet to send [00:14:12]OFD Sender: No OFD packet to send [00:14:17]OFD Sender: No OFD packet to send [00:14:22]OFD Sender: No OFD packet to send [00:14:27]OFD Sender: No OFD packet to send [00:14:32]OFD Sender: No OFD packet to send [00:14:37]OFD Sender: No OFD packet to send [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:29]accept exits with 8 [00:17:29]New connection [00:17:29]New thread 3067018596 created [00:17:29]Thread 3067161956 joined [00:17:29]Waiting for new connection... [00:17:29] Sock 8.Parse request [00:17:29]Sock 8.Check first char [00:17:29]Sock 8.First char is OK [00:17:29]request: POST /json_proto HTTP/1.0 [00:17:29]Method: POST [00:17:29]URL: /json_proto [00:17:29]Method is POST - this is cgi request [00:17:29]url: /json_proto [00:17:29]query_string will be loaded in cgi processing [00:17:29]execute_cgi json_proto POST (null) [00:17:29]execute_cgi path=json_proto method=POST [00:17:29]POST find Content-Length [00:17:29]Host: 172.17.35.133:8080 [00:17:29]Content-Length: 626 [00:17:29]Content-Type: application/json [00:17:29] [00:17:29]POST finish read [00:17:29]Found Content-Length = 626 [00:17:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256296", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 3.000, "sum" : 345.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:29]execute_script... [00:17: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)256296", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 3.000, "sum" : 345.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:29]POST & json_proto [00:17:29]process_json_proto [00:17:29]json parsed OK: [00:17:29]protocol is kg_v1.0 [00:17:29]action value=close_receipt [00:17:29]process_action close_receipt [00:17:29]cmd_close_receipt [00:17:29]MH_GetDate [00:17:29]Write to MH i2c: F0 00 00 93 03 85 [00:17:29]Write i2c OK [00:17:29]MH_I2C_Read... [00:17:29]Read from MH i2c: F0 [00:17:29]MH_I2C_Read... [00:17:29]Read from MH i2c: F0 09 00 [00:17:29]MH_I2C_Read... [00:17:29]Read from MH i2c: F0 09 00 93 03 00 9A C7 91 66 1B 28 2A 66 B9 [00:17:29]GetLastDocTimeStamp 1720829379 [00:17:29]current date 1720829850 [00:17:29]FM_GetShiftState [00:17:29]SAM_PROTO_GetShiftState [00:17:29]wFMCommunicate request_size=4 [00:17:29]MH_SAM_APDU [00:17:29]CAPDU: 80 13 01 00 [00:17:29]Write to MH i2c: E2 08 00 94 03 80 13 01 00 00 00 00 00 14 [00:17:29]Write i2c OK [00:17:29]MH_I2C_Read... [00:17:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:30]Read from MH i2c: E2 [00:17:30]MH_I2C_Read... [00:17:30]Read from MH i2c: E2 0E 00 [00:17:30]MH_I2C_Read... [00:17:30]Read from MH i2c: E2 0E 00 94 03 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 9F [00:17:30]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:17:30]wFMCommunicate OK [00:17:30]SAM_PROTO_GetShiftState done [00:17:30]FM_GetShiftState done [00:17:30]opened in 1720829379 [00:17:30]opened+sec_in_day 1720915779 [00:17:30]quantity*price = 34500 [00:17:30]sum+1 = 34501 [00:17:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 345.00 НСП 1% : 3.05 НДС 12% : 36.64 Наличными: 345.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 1 13.07.2024 00:17 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1832 ФПД: 184414799546933 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T001730&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1832&fm=184414799546933&tin=02508201610067®Number=0000000000177495&sum=34500 0 [00:17:31]StoreToDocumentArchive [00:17:31]shift 24 fd 1832 [00:17:31]save to /storage/0024/doc_00001832 [00:17:31]save last doc name /storage/0024/doc_00001832 to /storage/kkm_last_doc_name [00:17:31]save OK [00:17:31]Clear old archive folders... [00:17:31]ProcessDocumentItem done err = 0, tmpTLVsize=274 [00:17:31]tlvbuf is 00F962F0 [00:17:31]SAM_PROTO_ClearQueue [00:17:31]wFMCommunicate request_size=4 [00:17:31]MH_SAM_APDU [00:17:31]CAPDU: 80 09 00 00 [00:17:31]Write to MH i2c: E2 08 00 A1 03 80 09 00 00 00 00 00 00 16 [00:17:31]Write i2c OK [00:17:31]MH_I2C_Read... [00:17:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:17:31]Read from MH i2c: E2 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 03 00 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 03 00 A1 03 00 90 00 18 [00:17:31]RAPDU: 90 00 [00:17:31]wFMCommunicate OK [00:17:31]SAM_PROTO_ClearQueue done [00:17:31]KKMCreateOFDPacket [00:17:31]OFDProtocolAddRootSTLVToBuf [00:17:31]FM_MakeSignedData [00:17:31]FM_MakeSignedData [00:17:31]SAM_PROTO_SignData [00:17:31]wFMCommunicate request_size=4 [00:17:31]MH_SAM_APDU [00:17:31]CAPDU: 80 0D 01 02 [00:17:31]Write to MH i2c: E2 08 00 A2 03 80 0D 01 02 00 00 00 00 1E [00:17:31]Write i2c OK [00:17:31]MH_I2C_Read... [00:17:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:17:31]Read from MH i2c: E2 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 03 00 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 03 00 A2 03 00 90 00 19 [00:17:31]RAPDU: 90 00 [00:17:31]wFMCommunicate OK [00:17:31]wFMCommunicate request_size=255 [00:17:31]MH_SAM_APDU [00:17:31]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 C4 86 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 9A C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 [00:17:31]Write to MH i2c: E2 02 01 A3 03 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 C4 86 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 9A C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 00 00 02 [00:17:31]Write i2c OK [00:17:31]MH_I2C_Read... [00:17:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:17:31]Read from MH i2c: E2 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 03 00 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 03 00 A3 03 00 90 00 1A [00:17:31]RAPDU: 90 00 [00:17:31]wFMCommunicate OK [00:17:31]wFMCommunicate request_size=33 [00:17:31]MH_SAM_APDU [00:17:31]CAPDU: 80 0D 02 02 1C 30 30 30 32 30 39 38 35 39 32 10 04 04 00 28 07 00 00 35 04 06 00 A7 B9 6A 9E 4A 35 [00:17:31]Write to MH i2c: E2 24 00 A4 03 80 0D 02 02 1C 00 30 30 30 32 30 39 38 35 39 32 10 04 04 00 28 07 00 00 35 04 06 00 A7 B9 6A 9E 4A 35 00 00 C9 [00:17:31]Write i2c OK [00:17:31]MH_I2C_Read... [00:17:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:17:31]Read from MH i2c: E2 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 03 00 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 03 00 A4 03 00 90 00 1B [00:17:31]RAPDU: 90 00 [00:17:31]wFMCommunicate OK [00:17:31]wFMCommunicate request_size=4 [00:17:31]MH_SAM_APDU [00:17:31]CAPDU: 80 0D 03 02 [00:17:31]Write to MH i2c: E2 08 00 A5 03 80 0D 03 02 00 00 00 00 23 [00:17:31]Write i2c OK [00:17:31]MH_I2C_Read... [00:17:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:17:31]Read from MH i2c: E2 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 0B 00 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 0B 00 A5 03 00 9C 8F 9D 9C 88 73 A8 1A 90 00 45 [00:17:31]RAPDU: 9C 8F 9D 9C 88 73 A8 1A 90 00 [00:17:31]wFMCommunicate OK [00:17:31]SAM_PROTO_SignData done [00:17:31]FM_MakeSignedData done [00:17:31]CreateOFDProtocolMessage [00:17:31]wFMCommunicate request_size=4 [00:17:31]MH_SAM_APDU [00:17:31]CAPDU: 80 11 00 00 [00:17:31]Write to MH i2c: E2 08 00 A6 03 80 11 00 00 00 00 00 00 23 [00:17:31]Write i2c OK [00:17:31]MH_I2C_Read... [00:17:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:31]Read from MH i2c: E2 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 17 00 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: E2 17 00 A6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 79 [00:17:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:17:31]wFMCommunicate OK [00:17:31]CreateOFDProtocolMessage done [00:17:31]OFDSenderStorePacket 1832 [00:17:31]StoreOFDPacket docnum=1832 [00:17:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 26 01 00 00 9A 1E 1E 01 3D 19 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 C4 86 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 9A C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 28 07 00 00 35 04 06 00 A7 B9 6A 9E 4A 35 9C 8F 9D 9C 88 73 A8 1A [00:17:31]CheckFolder [00:17:31]dirname=/storage/ofd_packets [00:17:31]CheckFolder done [00:17:31]ProducePacketName [00:17:31]name=ofd_packets/00001832 [00:17:31]NVStorageSaveData ofd_packets/00001832 [00:17:31]File name is /storage/ofd_packets/00001832 [00:17:31]Write 324 bytes [00:17:31]NVStorageSaveData done [00:17:31]OFDSenderStorePacket done [00:17:31]KKMCreateOFDPacket done [00:17:31]NVStorageSaveData kkm_last_timestamp [00:17:31]File name is /storage/kkm_last_timestamp [00:17:31]Write 4 bytes [00:17:31]NVStorageSaveData done [00:17:31]ExternCall_PrintAddStr [00:17:31]wPrintStart [00:17:31]Write to MH i2c: 01 00 00 A7 03 AA [00:17:31]OFD Sender: Processing packet 1832 [packets to send 1, broken 0] [00:17:31]ProducePacketName [00:17:31]name=ofd_packets/00001832 [00:17:31]OFD Sender: To server: pG, [00:17:31]CommunicateWithHost lk.salyk.kg:30040 [00:17:31]ConnectInit lk.salyk.kg [00:17:31]Write i2c OK [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: 01 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: 01 07 00 [00:17:31]MH_I2C_Read... [00:17:31]Read from MH i2c: 01 07 00 A7 03 00 00 00 00 00 FF 0F BF [00:17:31]RasterBufferAndPrint [00:17:31]line Счет N : (3)256296 [00:17:31]line ИНН: 02508201610067 [00:17:31]line Контрольно-Кассовый Чек [00:17:31]line ПРОДАЖА [00:17:31]line Товар: 2000036240010 [00:17:31]line Кофе Латте (GABB TRADE) [00:17:31]line 3.000 * 115.00 [00:17:31]line = 345.00 [00:17:31]line НДС 12% НСП 1% [00:17:31]line > о реализуемом товаре [00:17:31]line ИТОГО: 345.00 [00:17:31]line НСП 1% : 3.05 [00:17:31]line НДС 12% : 36.64 [00:17:31]line Наличными: 345.00 [00:17:31]line Безнал.: 0.00 [00:17:31]line Место: АЗС № 76 "Партнер Нефть" [00:17:31]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [00:17:31]line СНО: Общий режим [00:17:31]line Чек 1 13.07.2024 00:17 [00:17:31]line Смена: 24 ФФД: 1.0 [00:17:31]line ЗНМ: 0300000124 [00:17:31]line РНМ: 0000000000177495 [00:17:31]line Версия ККМ: 001 [00:17:31]line ФМ: 0000000002098592 [00:17:31]line ФД: 1832 [00:17:31]line ФПД: 184414799546933 [00:17:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T001730&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1832&fm=184414799546933&tin=02508201610067®Number=0000000000177495&sum=34500 [00:17:32]Connected sock=10 [00:17:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 26 01 00 00 9A 1E 1E 01 3D 19 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 C4 86 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 9A C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 28 07 00 00 35 04 06 00 A7 B9 6A 9E 4A 35 9C 8F 9D 9C 88 73 A8 1A [00:17:32]line 0 [00:17:32]written 0, free lines is 4095 [00:17:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 66 34 47 00 EE 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 32 30 39 38 35 39 32 10 04 04 00 28 07 00 00 F4 03 04 00 D2 72 91 66 B6 04 01 00 00 EA 27 85 30 E5 02 E3 43 [00:17:32]CommunicateWithHost err = 0 [00:17:32]CheckOFDResponse [00:17:32]1017 (14) - 77093643461234 [00:17:32]1041 (16) - 0000000002098592 [00:17:32]1040 (4) - 1832 [00:17:32]1012 (4) - 12.07.2024 18:15 [00:17:32]1206 (1) - 0 [00:17:32]OFD Sender: Remove packet 1832 [00:17:32]ProducePacketName [00:17:32]name=ofd_packets/00001832 [00:17:32]NVStorageDeleteData [00:17:32]Write to MH i2c: 01 00 00 CF 03 D2 [00:17:32]Write i2c OK [00:17:32]MH_I2C_Read... [00:17:32]Read from MH i2c: 01 [00:17:32]MH_I2C_Read... [00:17:32]Read from MH i2c: 01 07 00 [00:17:32]MH_I2C_Read... [00:17:32]Read from MH i2c: 01 07 00 CF 03 00 00 00 00 00 12 0D F8 [00:17:32]RasterBufferAndPrint [00:17:32]line [00:17:32]line [00:17:32]line [00:17:32]line [00:17:32]line [00:17:32]written 0, free lines is 3352 [00:17:32]MH_Cut [00:17:32]Write to MH i2c: D1 01 00 D6 03 01 AB [00:17:32]Write i2c OK [00:17:32]MH_I2C_Read... [00:17:32]Read from MH i2c: D1 [00:17:32]MH_I2C_Read... [00:17:32]Read from MH i2c: D1 01 00 [00:17:32]MH_I2C_Read... [00:17:32]Read from MH i2c: D1 01 00 D6 03 00 AA [00:17:32]Write to MH i2c: 01 00 00 D7 03 DA [00:17:32]Write i2c OK [00:17:32]MH_I2C_Read... [00:17:32]OFD Sender: No OFD packet to send [00:17:33]*** Cut start [00:17:33]*** Partial cut [00:17:33]*** CUTSNS_PIN = 1 [00:17:33]*** CUTSNS_PIN = 0 [00:17:33]*** Brake cut motor [00:17:33]Read from MH i2c: 01 [00:17:33]MH_I2C_Read... [00:17:33]*** Stop cut motor [00:17:33]*** Cut end [00:17:33]Read from MH i2c: 01 07 00 [00:17:33]MH_I2C_Read... [00:17:33]Read from MH i2c: 01 07 00 D7 03 00 00 00 00 00 FF 0F EF [00:17:33]process_action close_receipt done [00:17:33]requested_data is exist [00:17:33]produce_requested_data [00:17:33]requested_item fm.sn is exist - process it [00:17:33]wFMCommunicate request_size=4 [00:17:33]MH_SAM_APDU [00:17:33]CAPDU: 80 11 00 00 [00:17:33]Write to MH i2c: E2 08 00 D8 03 80 11 00 00 00 00 00 00 55 [00:17:33]Write i2c OK [00:17:33]MH_I2C_Read... [00:17:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:33]Read from MH i2c: E2 [00:17:33]MH_I2C_Read... [00:17:33]Read from MH i2c: E2 17 00 [00:17:33]MH_I2C_Read... [00:17:33]Read from MH i2c: E2 17 00 D8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 AB [00:17:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:17:33]wFMCommunicate OK [00:17:33]requested_item fd.num is exist - process it [00:17:33]SAM_PROTO_GetFieldsCounters [00:17:33]wFMCommunicate request_size=4 [00:17:33]MH_SAM_APDU [00:17:33]CAPDU: 80 13 00 00 [00:17:33]Write to MH i2c: E2 08 00 D9 03 80 13 00 00 00 00 00 00 58 [00:17:33]Write i2c OK [00:17:33]MH_I2C_Read... [00:17:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:17:34]Read from MH i2c: E2 [00:17:34]MH_I2C_Read... [00:17:34]Read from MH i2c: E2 62 00 [00:17:34]MH_I2C_Read... [00:17:34]Read from MH i2c: E2 62 00 D9 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 28 07 00 00 0E 04 04 00 18 00 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 CE [00:17:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 28 07 00 00 0E 04 04 00 18 00 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:17:34]wFMCommunicate OK [00:17:34]SAM_PROTO_GetFieldsCounters done [00:17:34]requested_item shift.num is exist - process it [00:17:34]requested_item shift.opened is exist - process it [00:17:34]req_shift_opened [00:17:34]FM_GetShiftState [00:17:34]SAM_PROTO_GetShiftState [00:17:34]wFMCommunicate request_size=4 [00:17:34]MH_SAM_APDU [00:17:34]CAPDU: 80 13 01 00 [00:17:34]Write to MH i2c: E2 08 00 DA 03 80 13 01 00 00 00 00 00 5A [00:17:34]Write i2c OK [00:17:34]MH_I2C_Read... [00:17:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:34]Read from MH i2c: E2 [00:17:34]MH_I2C_Read... [00:17:34]Read from MH i2c: E2 0E 00 [00:17:34]MH_I2C_Read... [00:17:34]Read from MH i2c: E2 0E 00 DA 03 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 E5 [00:17:34]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:17:34]wFMCommunicate OK [00:17:34]SAM_PROTO_GetShiftState done [00:17:34]FM_GetShiftState done [00:17:34]req_shift_opened done [00:17:34]requested_item shift.open_date is exist - process it [00:17:34]req_shift_open_date [00:17:34]req_shift_open_date done [00:17:34]produce_requested_data done [00:17:34]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1832,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [00:17:34]process_action_free close_receipt [00:17:34]json_value_free [00:17:34]json_value_free done [00:17:34]process_json_proto returns [00:17:34]Send response to host [00:17:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1832,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [00:17:34]free response buf [00:17:34]execute_script done [00:17:34]execute_script returns [00:17:34]free content buf [00:17:34]Sock 8.Close socket [00:17:34]Sock 8.Thread stoped [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:24]accept exits with 9 [00:18:24]New connection [00:18:24]New thread 3067161956 created [00:18:24]Thread 3067018596 joined [00:18:24]Waiting for new connection... [00:18:24] Sock 9.Parse request [00:18:24]Sock 9.Check first char [00:18:24]Sock 9.First char is OK [00:18:24]request: POST /json_proto HTTP/1.0 [00:18:24]Method: POST [00:18:24]URL: /json_proto [00:18:24]Method is POST - this is cgi request [00:18:24]url: /json_proto [00:18:24]query_string will be loaded in cgi processing [00:18:24]execute_cgi json_proto POST (null) [00:18:24]execute_cgi path=json_proto method=POST [00:18:24]POST find Content-Length [00:18:24]Host: 172.17.35.133:8080 [00:18:24]Content-Length: 1145 [00:18:24]Content-Type: application/json [00:18:24] [00:18:24]POST finish read [00:18:24]Found Content-Length = 1145 [00:18:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256297", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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" : 258.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:24]execute_script... [00:18:24]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)256297", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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" : 258.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:24]POST & json_proto [00:18:24]process_json_proto [00:18:24]json parsed OK: [00:18:24]protocol is kg_v1.0 [00:18:24]action value=close_receipt [00:18:24]process_action close_receipt [00:18:24]cmd_close_receipt [00:18:24]MH_GetDate [00:18:24]Write to MH i2c: F0 00 00 DB 03 CD [00:18:24]Write i2c OK [00:18:24]MH_I2C_Read... [00:18:24]Read from MH i2c: F0 [00:18:24]MH_I2C_Read... [00:18:24]Read from MH i2c: F0 09 00 [00:18:24]MH_I2C_Read... [00:18:24]Read from MH i2c: F0 09 00 DB 03 00 D1 C7 91 66 1B 28 2A 66 38 [00:18:24]GetLastDocTimeStamp 1720829850 [00:18:24]current date 1720829905 [00:18:24]FM_GetShiftState [00:18:24]SAM_PROTO_GetShiftState [00:18:24]wFMCommunicate request_size=4 [00:18:24]MH_SAM_APDU [00:18:24]CAPDU: 80 13 01 00 [00:18:24]Write to MH i2c: E2 08 00 DC 03 80 13 01 00 00 00 00 00 5C [00:18:24]Write i2c OK [00:18:24]MH_I2C_Read... [00:18:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:24]Read from MH i2c: E2 [00:18:24]MH_I2C_Read... [00:18:24]Read from MH i2c: E2 0E 00 [00:18:24]MH_I2C_Read... [00:18:24]Read from MH i2c: E2 0E 00 DC 03 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 E7 [00:18:24]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:18:24]wFMCommunicate OK [00:18:24]SAM_PROTO_GetShiftState done [00:18:24]FM_GetShiftState done [00:18:24]opened in 1720829379 [00:18:24]opened+sec_in_day 1720915779 [00:18:24]quantity*price = 15100 [00:18:24]sum+1 = 15101 [00:18:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189356 Холодный чай Fuse манго ананас 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 258.00 НСП 1% : 2.29 НДС 12% : 27.39 Наличными: 0.00 Безнал.: 258.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 2 13.07.2024 00:18 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000002098592 ФД: 1833 ФПД: 81785467581351 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T001825&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1833&fm=81785467581351&tin=02508201610067®Number=0000000000177495&sum=25800 0 [00:18:25]StoreToDocumentArchive [00:18:25]shift 24 fd 1833 [00:18:25]save to /storage/0024/doc_00001833 [00:18:25]save last doc name /storage/0024/doc_00001833 to /storage/kkm_last_doc_name [00:18:25]save OK [00:18:25]Clear old archive folders... [00:18:25]ProcessDocumentItem done err = 0, tmpTLVsize=402 [00:18:25]tlvbuf is 00F74D20 [00:18:25]SAM_PROTO_ClearQueue [00:18:25]wFMCommunicate request_size=4 [00:18:25]MH_SAM_APDU [00:18:25]CAPDU: 80 09 00 00 [00:18:25]Write to MH i2c: E2 08 00 E9 03 80 09 00 00 00 00 00 00 5E [00:18:25]Write i2c OK [00:18:25]MH_I2C_Read... [00:18:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:18:25]Read from MH i2c: E2 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 03 00 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 03 00 E9 03 00 90 00 60 [00:18:25]RAPDU: 90 00 [00:18:25]wFMCommunicate OK [00:18:25]SAM_PROTO_ClearQueue done [00:18:25]KKMCreateOFDPacket [00:18:25]OFDProtocolAddRootSTLVToBuf [00:18:25]FM_MakeSignedData [00:18:25]FM_MakeSignedData [00:18:25]SAM_PROTO_SignData [00:18:25]wFMCommunicate request_size=4 [00:18:25]MH_SAM_APDU [00:18:25]CAPDU: 80 0D 01 02 [00:18:25]Write to MH i2c: E2 08 00 EA 03 80 0D 01 02 00 00 00 00 66 [00:18:25]Write i2c OK [00:18:25]MH_I2C_Read... [00:18:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:18:25]Read from MH i2c: E2 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 03 00 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 03 00 EA 03 00 90 00 61 [00:18:25]RAPDU: 90 00 [00:18:25]wFMCommunicate OK [00:18:25]wFMCommunicate request_size=255 [00:18:25]MH_SAM_APDU [00:18:25]CAPDU: 80 0D 02 02 FA 03 00 92 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 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 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 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 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 [00:18:25]Write to MH i2c: E2 02 01 EB 03 80 0D 02 02 FA 00 03 00 92 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 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 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 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 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 00 CC [00:18:25]Write i2c OK [00:18:25]MH_I2C_Read... [00:18:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:25]Read from MH i2c: E2 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 03 00 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 03 00 EB 03 00 90 00 62 [00:18:25]RAPDU: 90 00 [00:18:25]wFMCommunicate OK [00:18:25]wFMCommunicate request_size=161 [00:18:25]MH_SAM_APDU [00:18:25]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 64 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D1 C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 29 07 00 00 35 04 06 00 4A 62 29 BE 33 A7 [00:18:25]Write to MH i2c: E2 A4 00 EC 03 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 64 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D1 C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 29 07 00 00 35 04 06 00 4A 62 29 BE 33 A7 00 00 FD [00:18:25]Write i2c OK [00:18:25]MH_I2C_Read... [00:18:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:25]Read from MH i2c: E2 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 03 00 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 03 00 EC 03 00 90 00 63 [00:18:25]RAPDU: 90 00 [00:18:25]wFMCommunicate OK [00:18:25]wFMCommunicate request_size=4 [00:18:25]MH_SAM_APDU [00:18:25]CAPDU: 80 0D 03 02 [00:18:25]Write to MH i2c: E2 08 00 ED 03 80 0D 03 02 00 00 00 00 6B [00:18:25]Write i2c OK [00:18:25]MH_I2C_Read... [00:18:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:18:25]Read from MH i2c: E2 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 0B 00 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 0B 00 ED 03 00 92 CC D9 C2 A2 05 41 5F 90 00 AC [00:18:25]RAPDU: 92 CC D9 C2 A2 05 41 5F 90 00 [00:18:25]wFMCommunicate OK [00:18:25]SAM_PROTO_SignData done [00:18:25]FM_MakeSignedData done [00:18:25]CreateOFDProtocolMessage [00:18:25]wFMCommunicate request_size=4 [00:18:25]MH_SAM_APDU [00:18:25]CAPDU: 80 11 00 00 [00:18:25]Write to MH i2c: E2 08 00 EE 03 80 11 00 00 00 00 00 00 6B [00:18:25]Write i2c OK [00:18:25]MH_I2C_Read... [00:18:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:25]Read from MH i2c: E2 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 17 00 [00:18:25]MH_I2C_Read... [00:18:25]Read from MH i2c: E2 17 00 EE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 C1 [00:18:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:18:25]wFMCommunicate OK [00:18:25]CreateOFDProtocolMessage done [00:18:25]OFDSenderStorePacket 1833 [00:18:25]StoreOFDPacket docnum=1833 [00:18:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 A6 01 00 00 9D D1 9E 01 4C 5C 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 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 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 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 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 64 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D1 C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 29 07 00 00 35 04 06 00 4A 62 29 BE 33 A7 92 CC D9 C2 A2 05 41 5F [00:18:25]CheckFolder [00:18:25]dirname=/storage/ofd_packets [00:18:25]CheckFolder done [00:18:25]ProducePacketName [00:18:25]name=ofd_packets/00001833 [00:18:25]NVStorageSaveData ofd_packets/00001833 [00:18:25]File name is /storage/ofd_packets/00001833 [00:18:25]Write 452 bytes [00:18:25]NVStorageSaveData done [00:18:25]OFDSenderStorePacket done [00:18:25]KKMCreateOFDPacket done [00:18:25]NVStorageSaveData kkm_last_timestamp [00:18:25]File name is /storage/kkm_last_timestamp [00:18:25]Write 4 bytes [00:18:25]NVStorageSaveData done [00:18:25]ExternCall_PrintAddStr [00:18:26]wPrintStart [00:18:26]Write to MH i2c: 01 00 00 EF 03 F2 [00:18:26]OFD Sender: Processing packet 1833 [packets to send 1, broken 0] [00:18:26]ProducePacketName [00:18:26]name=ofd_packets/00001833 [00:18:26]OFD Sender: To server: pG, [00:18:26]CommunicateWithHost lk.salyk.kg:30040 [00:18:26]ConnectInit lk.salyk.kg [00:18:26]Write i2c OK [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: 01 [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: 01 07 00 [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: 01 07 00 EF 03 00 00 00 00 00 FF 0F 07 [00:18:26]RasterBufferAndPrint [00:18:26]line Счет N : (3)256297 [00:18:26]line ИНН: 02508201610067 [00:18:26]line Контрольно-Кассовый Чек [00:18:26]line ПРОДАЖА [00:18:26]line Товар: 48741958 [00:18:26]line Сигареты Parliament Aqua Blue [00:18:26]line 1.000 * 151.00 [00:18:26]line = 151.00 [00:18:26]line НДС 12% НСП 1% [00:18:26]line > о реализуемом товаре [00:18:26]line Товар: 5449000189356 [00:18:26]line Холодный чай Fuse манго ананас 1л [00:18:26]line 1.000 * 107.00 [00:18:26]line = 107.00 [00:18:26]line НДС 12% НСП 1% [00:18:26]line > о реализуемом товаре [00:18:26]line ИТОГО: 258.00 [00:18:26]line НСП 1% : 2.29 [00:18:26]line НДС 12% : 27.39 [00:18:26]line Наличными: 0.00 [00:18:26]line Безнал.: 258.00 [00:18:26]line Место: АЗС № 76 "Партнер Нефть" [00:18:26]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [00:18:26]line СНО: Общий режим [00:18:26]line Чек 2 13.07.2024 00:18 [00:18:26]line Смена: 24 ФФД: 1.0 [00:18:26]line ЗНМ: 0300000124 [00:18:26]line РНМ: 0000000000177495 [00:18:26]line Версия ККМ: 001 [00:18:26]line Платежная система: АКБ Кыргызстан [00:18:26]line ФМ: 0000000002098592 [00:18:26]line ФД: 1833 [00:18:26]line ФПД: 81785467581351 [00:18:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T001825&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1833&fm=81785467581351&tin=02508201610067®Number=0000000000177495&sum=25800 [00:18:26]line 0 [00:18:26]written 0, free lines is 4095 [00:18:26]Connected sock=10 [00:18:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 A6 01 00 00 9D D1 9E 01 4C 5C 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 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 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 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 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 64 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D1 C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 29 07 00 00 35 04 06 00 4A 62 29 BE 33 A7 92 CC D9 C2 A2 05 41 5F [00:18:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 4D 97 47 00 61 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 29 07 00 00 F4 03 04 00 08 73 91 66 B6 04 01 00 00 DA 7A 4F 5C 54 A3 C3 82 [00:18:26]CommunicateWithHost err = 0 [00:18:26]CheckOFDResponse [00:18:26]1017 (14) - 77093643461234 [00:18:26]1041 (16) - 0000000002098592 [00:18:26]1040 (4) - 1833 [00:18:26]1012 (4) - 12.07.2024 18:16 [00:18:26]1206 (1) - 0 [00:18:26]OFD Sender: Remove packet 1833 [00:18:26]ProducePacketName [00:18:26]name=ofd_packets/00001833 [00:18:26]NVStorageDeleteData [00:18:26]Write to MH i2c: 01 00 00 21 04 25 [00:18:26]Write i2c OK [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: 01 [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: 01 07 00 [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: 01 07 00 21 04 00 00 00 00 00 78 0C B0 [00:18:26]RasterBufferAndPrint [00:18:26]line [00:18:26]line [00:18:26]line [00:18:26]line [00:18:26]line [00:18:26]written 0, free lines is 3197 [00:18:26]MH_Cut [00:18:26]Write to MH i2c: D1 01 00 28 04 01 FE [00:18:26]Write i2c OK [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: D1 [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: D1 01 00 [00:18:26]MH_I2C_Read... [00:18:26]Read from MH i2c: D1 01 00 28 04 00 FD [00:18:26]Write to MH i2c: 01 00 00 29 04 2D [00:18:26]Write i2c OK [00:18:26]MH_I2C_Read... [00:18:27]OFD Sender: No OFD packet to send [00:18:27]*** Cut start [00:18:27]*** Partial cut [00:18:27]*** CUTSNS_PIN = 1 [00:18:27]*** CUTSNS_PIN = 0 [00:18:27]*** Brake cut motor [00:18:28]Read from MH i2c: 01 [00:18:28]MH_I2C_Read... [00:18:28]*** Stop cut motor [00:18:28]*** Cut end [00:18:28]Read from MH i2c: 01 07 00 [00:18:28]MH_I2C_Read... [00:18:28]Read from MH i2c: 01 07 00 29 04 00 00 00 00 00 FF 0F 42 [00:18:28]process_action close_receipt done [00:18:28]requested_data is exist [00:18:28]produce_requested_data [00:18:28]requested_item fm.sn is exist - process it [00:18:28]wFMCommunicate request_size=4 [00:18:28]MH_SAM_APDU [00:18:28]CAPDU: 80 11 00 00 [00:18:28]Write to MH i2c: E2 08 00 2A 04 80 11 00 00 00 00 00 00 A8 [00:18:28]Write i2c OK [00:18:28]MH_I2C_Read... [00:18:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:28]Read from MH i2c: E2 [00:18:28]MH_I2C_Read... [00:18:28]Read from MH i2c: E2 17 00 [00:18:28]MH_I2C_Read... [00:18:28]Read from MH i2c: E2 17 00 2A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 FE [00:18:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:18:28]wFMCommunicate OK [00:18:28]requested_item fd.num is exist - process it [00:18:28]SAM_PROTO_GetFieldsCounters [00:18:28]wFMCommunicate request_size=4 [00:18:28]MH_SAM_APDU [00:18:28]CAPDU: 80 13 00 00 [00:18:28]Write to MH i2c: E2 08 00 2B 04 80 13 00 00 00 00 00 00 AB [00:18:28]Write i2c OK [00:18:28]MH_I2C_Read... [00:18:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:18:28]Read from MH i2c: E2 [00:18:28]MH_I2C_Read... [00:18:28]Read from MH i2c: E2 62 00 [00:18:28]MH_I2C_Read... [00:18:28]Read from MH i2c: E2 62 00 2B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 29 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 25 [00:18:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 29 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:18:28]wFMCommunicate OK [00:18:28]SAM_PROTO_GetFieldsCounters done [00:18:28]requested_item shift.num is exist - process it [00:18:28]requested_item shift.opened is exist - process it [00:18:28]req_shift_opened [00:18:28]FM_GetShiftState [00:18:28]SAM_PROTO_GetShiftState [00:18:28]wFMCommunicate request_size=4 [00:18:28]MH_SAM_APDU [00:18:28]CAPDU: 80 13 01 00 [00:18:28]Write to MH i2c: E2 08 00 2C 04 80 13 01 00 00 00 00 00 AD [00:18:28]Write i2c OK [00:18:28]MH_I2C_Read... [00:18:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:28]Read from MH i2c: E2 [00:18:28]MH_I2C_Read... [00:18:28]Read from MH i2c: E2 0E 00 [00:18:28]MH_I2C_Read... [00:18:28]Read from MH i2c: E2 0E 00 2C 04 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 38 [00:18:28]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:18:28]wFMCommunicate OK [00:18:28]SAM_PROTO_GetShiftState done [00:18:28]FM_GetShiftState done [00:18:28]req_shift_opened done [00:18:28]requested_item shift.open_date is exist - process it [00:18:28]req_shift_open_date [00:18:28]req_shift_open_date done [00:18:28]produce_requested_data done [00:18:28]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1833,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [00:18:28]process_action_free close_receipt [00:18:28]json_value_free [00:18:28]json_value_free done [00:18:28]process_json_proto returns [00:18:28]Send response to host [00:18:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1833,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [00:18:28]free response buf [00:18:28]execute_script done [00:18:28]execute_script returns [00:18:28]free content buf [00:18:28]Sock 9.Close socket [00:18:28]Sock 9.Thread stoped [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:51]accept exits with 8 [00:18:51]New connection [00:18:51]New thread 3067018596 created [00:18:51]Thread 3067161956 joined [00:18:51]Waiting for new connection... [00:18:51] Sock 8.Parse request [00:18:51]Sock 8.Check first char [00:18:51]Sock 8.First char is OK [00:18:51]request: POST /json_proto HTTP/1.0 [00:18:51]Method: POST [00:18:51]URL: /json_proto [00:18:51]Method is POST - this is cgi request [00:18:51]url: /json_proto [00:18:51]query_string will be loaded in cgi processing [00:18:51]execute_cgi json_proto POST (null) [00:18:51]execute_cgi path=json_proto method=POST [00:18:51]POST find Content-Length [00:18:51]Host: 172.17.35.133:8080 [00:18:51]Content-Length: 862 [00:18:51]Content-Type: application/json [00:18:51] [00:18:51]POST finish read [00:18:51]Found Content-Length = 862 [00:18:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256298", "tax_sys" : 0, "items" : [ { "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.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" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:51]execute_script... [00:18:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256298", "tax_sys" : 0, "items" : [ { "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.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" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:51]POST & json_proto [00:18:51]process_json_proto [00:18:51]json parsed OK: [00:18:51]protocol is kg_v1.0 [00:18:51]action value=close_receipt [00:18:51]process_action close_receipt [00:18:51]cmd_close_receipt [00:18:51]MH_GetDate [00:18:51]Write to MH i2c: F0 00 00 2D 04 20 [00:18:51]Write i2c OK [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: F0 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: F0 09 00 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: F0 09 00 2D 04 00 EC C7 91 66 1B 28 2A 66 A6 [00:18:51]GetLastDocTimeStamp 1720829905 [00:18:51]current date 1720829932 [00:18:51]FM_GetShiftState [00:18:51]SAM_PROTO_GetShiftState [00:18:51]wFMCommunicate request_size=4 [00:18:51]MH_SAM_APDU [00:18:51]CAPDU: 80 13 01 00 [00:18:51]Write to MH i2c: E2 08 00 2E 04 80 13 01 00 00 00 00 00 AF [00:18:51]Write i2c OK [00:18:51]MH_I2C_Read... [00:18:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:51]Read from MH i2c: E2 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 0E 00 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 0E 00 2E 04 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 3A [00:18:51]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:18:51]wFMCommunicate OK [00:18:51]SAM_PROTO_GetShiftState done [00:18:51]FM_GetShiftState done [00:18:51]opened in 1720829379 [00:18:51]opened+sec_in_day 1720915779 [00:18:51]quantity*price = 6700 [00:18:51]sum+1 = 6701 [00:18:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 0.00 Безнал.: 67.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 3 13.07.2024 00:18 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000002098592 ФД: 1834 ФПД: 252640976819867 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T001852&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1834&fm=252640976819867&tin=02508201610067®Number=0000000000177495&sum=6700 0 [00:18:53]StoreToDocumentArchive [00:18:53]shift 24 fd 1834 [00:18:53]save to /storage/0024/doc_00001834 [00:18:53]save last doc name /storage/0024/doc_00001834 to /storage/kkm_last_doc_name [00:18:53]save OK [00:18:53]Clear old archive folders... [00:18:53]ProcessDocumentItem done err = 0, tmpTLVsize=284 [00:18:53]tlvbuf is 00F40250 [00:18:53]SAM_PROTO_ClearQueue [00:18:53]wFMCommunicate request_size=4 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 09 00 00 [00:18:53]Write to MH i2c: E2 08 00 3B 04 80 09 00 00 00 00 00 00 B1 [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 03 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 03 00 3B 04 00 90 00 B3 [00:18:53]RAPDU: 90 00 [00:18:53]wFMCommunicate OK [00:18:53]SAM_PROTO_ClearQueue done [00:18:53]KKMCreateOFDPacket [00:18:53]OFDProtocolAddRootSTLVToBuf [00:18:53]FM_MakeSignedData [00:18:53]FM_MakeSignedData [00:18:53]SAM_PROTO_SignData [00:18:53]wFMCommunicate request_size=4 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 0D 01 02 [00:18:53]Write to MH i2c: E2 08 00 3C 04 80 0D 01 02 00 00 00 00 B9 [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 03 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 03 00 3C 04 00 90 00 B4 [00:18:53]RAPDU: 90 00 [00:18:53]wFMCommunicate OK [00:18:53]wFMCommunicate request_size=255 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 EC C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 [00:18:53]Write to MH i2c: E2 02 01 3D 04 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 EC C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 00 00 AB [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 03 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 03 00 3D 04 00 90 00 B5 [00:18:53]RAPDU: 90 00 [00:18:53]wFMCommunicate OK [00:18:53]wFMCommunicate request_size=43 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2A 07 00 00 35 04 06 00 E5 C6 8F AD D6 9B [00:18:53]Write to MH i2c: E2 2E 00 3E 04 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2A 07 00 00 35 04 06 00 E5 C6 8F AD D6 9B 00 00 30 [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 03 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 03 00 3E 04 00 90 00 B6 [00:18:53]RAPDU: 90 00 [00:18:53]wFMCommunicate OK [00:18:53]wFMCommunicate request_size=4 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 0D 03 02 [00:18:53]Write to MH i2c: E2 08 00 3F 04 80 0D 03 02 00 00 00 00 BE [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 0B 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 0B 00 3F 04 00 7F 91 BB B5 1F 02 3F 33 90 00 D2 [00:18:53]RAPDU: 7F 91 BB B5 1F 02 3F 33 90 00 [00:18:53]wFMCommunicate OK [00:18:53]SAM_PROTO_SignData done [00:18:53]FM_MakeSignedData done [00:18:53]CreateOFDProtocolMessage [00:18:53]wFMCommunicate request_size=4 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 11 00 00 [00:18:53]Write to MH i2c: E2 08 00 40 04 80 11 00 00 00 00 00 00 BE [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 17 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 17 00 40 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 14 [00:18:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:18:53]wFMCommunicate OK [00:18:53]CreateOFDProtocolMessage done [00:18:53]OFDSenderStorePacket 1834 [00:18:53]StoreOFDPacket docnum=1834 [00:18:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 30 01 00 00 EA 8E 28 01 98 2E 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 EC C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2A 07 00 00 35 04 06 00 E5 C6 8F AD D6 9B 7F 91 BB B5 1F 02 3F 33 [00:18:53]CheckFolder [00:18:53]dirname=/storage/ofd_packets [00:18:53]CheckFolder done [00:18:53]ProducePacketName [00:18:53]name=ofd_packets/00001834 [00:18:53]NVStorageSaveData ofd_packets/00001834 [00:18:53]File name is /storage/ofd_packets/00001834 [00:18:53]Write 334 bytes [00:18:53]NVStorageSaveData done [00:18:53]OFDSenderStorePacket done [00:18:53]KKMCreateOFDPacket done [00:18:53]NVStorageSaveData kkm_last_timestamp [00:18:53]File name is /storage/kkm_last_timestamp [00:18:53]Write 4 bytes [00:18:53]NVStorageSaveData done [00:18:53]ExternCall_PrintAddStr [00:18:53]wPrintStart [00:18:53]Write to MH i2c: 01 00 00 41 04 45 [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: 01 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: 01 07 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: 01 07 00 41 04 00 00 00 00 00 FF 0F 5A [00:18:53]RasterBufferAndPrint [00:18:53]line Счет N : (3)256298 [00:18:53]line ИНН: 02508201610067 [00:18:53]line Контрольно-Кассовый Чек [00:18:53]line ПРОДАЖА [00:18:53]line Товар: 8710732217097 [00:18:53]line Зажигалка Cricket ПН пьезо [00:18:53]line 1.000 * 67.00 [00:18:53]line = 67.00 [00:18:53]line НДС 12% НСП 1% [00:18:53]line > о реализуемом товаре [00:18:53]line ИТОГО: 67.00 [00:18:53]line НСП 1% : 0.59 [00:18:53]line НДС 12% : 7.11 [00:18:53]line Наличными: 0.00 [00:18:53]line Безнал.: 67.00 [00:18:53]line Место: АЗС № 76 "Партнер Нефть" [00:18:53]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [00:18:53]line СНО: Общий режим [00:18:53]line Чек 3 13.07.2024 00:18 [00:18:53]line Смена: 24 ФФД: 1.0 [00:18:53]line ЗНМ: 0300000124 [00:18:53]line РНМ: 0000000000177495 [00:18:53]line Версия ККМ: 001 [00:18:53]line Платежная система: АКБ Кыргызстан [00:18:53]line ФМ: 0000000002098592 [00:18:53]line ФД: 1834 [00:18:53]line ФПД: 252640976819867 [00:18:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T001852&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1834&fm=252640976819867&tin=02508201610067®Number=0000000000177495&sum=6700 [00:18:53]line 0 [00:18:53]OFD Sender: Processing packet 1834 [packets to send 1, broken 0] [00:18:53]ProducePacketName [00:18:53]name=ofd_packets/00001834 [00:18:53]OFD Sender: To server: pG, [00:18:53]CommunicateWithHost lk.salyk.kg:30040 [00:18:53]ConnectInit lk.salyk.kg [00:18:53]written 0, free lines is 4095 [00:18:54]Connected sock=10 [00:18:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 30 01 00 00 EA 8E 28 01 98 2E 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 EC C7 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2A 07 00 00 35 04 06 00 E5 C6 8F AD D6 9B 7F 91 BB B5 1F 02 3F 33 [00:18:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 06 EC 47 00 93 1D 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 32 30 39 38 35 39 32 10 04 04 00 2A 07 00 00 F4 03 04 00 24 73 91 66 B6 04 01 00 00 9F 15 0D 15 C6 84 A2 B6 [00:18:54]CommunicateWithHost err = 0 [00:18:54]CheckOFDResponse [00:18:54]1017 (14) - 77093643461234 [00:18:54]1041 (16) - 0000000002098592 [00:18:54]1040 (4) - 1834 [00:18:54]1012 (4) - 12.07.2024 18:17 [00:18:54]1206 (1) - 0 [00:18:54]OFD Sender: Remove packet 1834 [00:18:54]ProducePacketName [00:18:54]name=ofd_packets/00001834 [00:18:54]NVStorageDeleteData [00:18:54]Write to MH i2c: 01 00 00 6B 04 6F [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: 01 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: 01 07 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: 01 07 00 6B 04 00 00 00 00 00 F0 0C 72 [00:18:54]RasterBufferAndPrint [00:18:54]line [00:18:54]line [00:18:54]line [00:18:54]line [00:18:54]line [00:18:54]written 0, free lines is 3320 [00:18:54]MH_Cut [00:18:54]Write to MH i2c: D1 01 00 72 04 01 48 [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: D1 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: D1 01 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: D1 01 00 72 04 00 47 [00:18:54]Write to MH i2c: 01 00 00 73 04 77 [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]OFD Sender: No OFD packet to send [00:18:55]*** Cut start [00:18:55]*** Partial cut [00:18:55]*** CUTSNS_PIN = 1 [00:18:55]*** CUTSNS_PIN = 0 [00:18:55]*** Brake cut motor [00:18:55]Read from MH i2c: 01 [00:18:55]MH_I2C_Read... [00:18:55]*** Stop cut motor [00:18:55]*** Cut end [00:18:55]Read from MH i2c: 01 07 00 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: 01 07 00 73 04 00 00 00 00 00 FF 0F 8C [00:18:55]process_action close_receipt done [00:18:55]requested_data is exist [00:18:55]produce_requested_data [00:18:55]requested_item fm.sn is exist - process it [00:18:55]wFMCommunicate request_size=4 [00:18:55]MH_SAM_APDU [00:18:55]CAPDU: 80 11 00 00 [00:18:55]Write to MH i2c: E2 08 00 74 04 80 11 00 00 00 00 00 00 F2 [00:18:55]Write i2c OK [00:18:55]MH_I2C_Read... [00:18:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:55]Read from MH i2c: E2 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 17 00 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 17 00 74 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 48 [00:18:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:18:55]wFMCommunicate OK [00:18:55]requested_item fd.num is exist - process it [00:18:55]SAM_PROTO_GetFieldsCounters [00:18:55]wFMCommunicate request_size=4 [00:18:55]MH_SAM_APDU [00:18:55]CAPDU: 80 13 00 00 [00:18:55]Write to MH i2c: E2 08 00 75 04 80 13 00 00 00 00 00 00 F5 [00:18:55]Write i2c OK [00:18:55]MH_I2C_Read... [00:18:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:18:55]Read from MH i2c: E2 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 62 00 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 62 00 75 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2A 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 73 [00:18:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2A 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:18:55]wFMCommunicate OK [00:18:55]SAM_PROTO_GetFieldsCounters done [00:18:55]requested_item shift.num is exist - process it [00:18:55]requested_item shift.opened is exist - process it [00:18:55]req_shift_opened [00:18:55]FM_GetShiftState [00:18:55]SAM_PROTO_GetShiftState [00:18:55]wFMCommunicate request_size=4 [00:18:55]MH_SAM_APDU [00:18:55]CAPDU: 80 13 01 00 [00:18:55]Write to MH i2c: E2 08 00 76 04 80 13 01 00 00 00 00 00 F7 [00:18:55]Write i2c OK [00:18:55]MH_I2C_Read... [00:18:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:55]Read from MH i2c: E2 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 0E 00 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 0E 00 76 04 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 82 [00:18:55]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:18:55]wFMCommunicate OK [00:18:56]SAM_PROTO_GetShiftState done [00:18:56]FM_GetShiftState done [00:18:56]req_shift_opened done [00:18:56]requested_item shift.open_date is exist - process it [00:18:56]req_shift_open_date [00:18:56]req_shift_open_date done [00:18:56]produce_requested_data done [00:18:56]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1834,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [00:18:56]process_action_free close_receipt [00:18:56]json_value_free [00:18:56]json_value_free done [00:18:56]process_json_proto returns [00:18:56]Send response to host [00:18:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1834,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [00:18:56]free response buf [00:18:56]execute_script done [00:18:56]execute_script returns [00:18:56]free content buf [00:18:56]Sock 8.Close socket [00:18:56]Sock 8.Thread stoped [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:28]accept exits with 9 [00:19:28]New connection [00:19:28]New thread 3067161956 created [00:19:28]Thread 3067018596 joined [00:19:28]Waiting for new connection... [00:19:28] Sock 9.Parse request [00:19:28]Sock 9.Check first char [00:19:28]Sock 9.First char is OK [00:19:28]request: POST /json_proto HTTP/1.0 [00:19:28]Method: POST [00:19:28]URL: /json_proto [00:19:28]Method is POST - this is cgi request [00:19:28]url: /json_proto [00:19:28]query_string will be loaded in cgi processing [00:19:28]execute_cgi json_proto POST (null) [00:19:28]execute_cgi path=json_proto method=POST [00:19:28]POST find Content-Length [00:19:28]Host: 172.17.35.133:8080 [00:19:28]Content-Length: 632 [00:19:28]Content-Type: application/json [00:19:28] [00:19:28]POST finish read [00:19:28]Found Content-Length = 632 [00:19:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256299", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,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" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:28]execute_script... [00:19:28]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)256299", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,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" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:28]POST & json_proto [00:19:28]process_json_proto [00:19:28]json parsed OK: [00:19:28]protocol is kg_v1.0 [00:19:28]action value=close_receipt [00:19:28]process_action close_receipt [00:19:28]cmd_close_receipt [00:19:28]MH_GetDate [00:19:28]Write to MH i2c: F0 00 00 77 04 6A [00:19:28]Write i2c OK [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: F0 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: F0 09 00 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: F0 09 00 77 04 00 11 C8 91 66 1B 28 2A 66 16 [00:19:28]GetLastDocTimeStamp 1720829932 [00:19:28]current date 1720829969 [00:19:28]FM_GetShiftState [00:19:28]SAM_PROTO_GetShiftState [00:19:28]wFMCommunicate request_size=4 [00:19:28]MH_SAM_APDU [00:19:28]CAPDU: 80 13 01 00 [00:19:28]Write to MH i2c: E2 08 00 78 04 80 13 01 00 00 00 00 00 F9 [00:19:28]Write i2c OK [00:19:28]MH_I2C_Read... [00:19:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:28]Read from MH i2c: E2 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: E2 0E 00 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: E2 0E 00 78 04 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 84 [00:19:28]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:19:28]wFMCommunicate OK [00:19:28]SAM_PROTO_GetShiftState done [00:19:28]FM_GetShiftState done [00:19:28]opened in 1720829379 [00:19:28]opened+sec_in_day 1720915779 [00:19:28]quantity*price = 6000 [00:19:28]sum+1 = 6001 [00:19:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 4 13.07.2024 00:19 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1835 ФПД: 134623215138067 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T001929&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1835&fm=134623215138067&tin=02508201610067®Number=0000000000177495&sum=6000 0 [00:19:29]StoreToDocumentArchive [00:19:29]shift 24 fd 1835 [00:19:29]save to /storage/0024/doc_00001835 [00:19:29]save last doc name /storage/0024/doc_00001835 to /storage/kkm_last_doc_name [00:19:29]save OK [00:19:29]Clear old archive folders... [00:19:29]ProcessDocumentItem done err = 0, tmpTLVsize=271 [00:19:29]tlvbuf is 00F46F80 [00:19:29]SAM_PROTO_ClearQueue [00:19:29]wFMCommunicate request_size=4 [00:19:29]MH_SAM_APDU [00:19:29]CAPDU: 80 09 00 00 [00:19:29]Write to MH i2c: E2 08 00 85 04 80 09 00 00 00 00 00 00 FB [00:19:29]Write i2c OK [00:19:29]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 03 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 03 00 85 04 00 90 00 FD [00:19:30]RAPDU: 90 00 [00:19:30]wFMCommunicate OK [00:19:30]SAM_PROTO_ClearQueue done [00:19:30]KKMCreateOFDPacket [00:19:30]OFDProtocolAddRootSTLVToBuf [00:19:30]FM_MakeSignedData [00:19:30]FM_MakeSignedData [00:19:30]SAM_PROTO_SignData [00:19:30]wFMCommunicate request_size=4 [00:19:30]MH_SAM_APDU [00:19:30]CAPDU: 80 0D 01 02 [00:19:30]Write to MH i2c: E2 08 00 86 04 80 0D 01 02 00 00 00 00 03 [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 03 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 03 00 86 04 00 90 00 FE [00:19:30]RAPDU: 90 00 [00:19:30]wFMCommunicate OK [00:19:30]wFMCommunicate request_size=255 [00:19:30]MH_SAM_APDU [00:19:30]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 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 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 04 00 00 00 F4 03 04 00 11 C8 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 [00:19:30]Write to MH i2c: E2 02 01 87 04 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 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 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 04 00 00 00 F4 03 04 00 11 C8 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 4D [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 03 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 03 00 87 04 00 90 00 FF [00:19:30]RAPDU: 90 00 [00:19:30]wFMCommunicate OK [00:19:30]wFMCommunicate request_size=30 [00:19:30]MH_SAM_APDU [00:19:30]CAPDU: 80 0D 02 02 19 32 30 39 38 35 39 32 10 04 04 00 2B 07 00 00 35 04 06 00 7A 70 68 EA B5 13 [00:19:30]Write to MH i2c: E2 21 00 88 04 80 0D 02 02 19 00 32 30 39 38 35 39 32 10 04 04 00 2B 07 00 00 35 04 06 00 7A 70 68 EA B5 13 00 00 38 [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 03 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 03 00 88 04 00 90 00 00 [00:19:30]RAPDU: 90 00 [00:19:30]wFMCommunicate OK [00:19:30]wFMCommunicate request_size=4 [00:19:30]MH_SAM_APDU [00:19:30]CAPDU: 80 0D 03 02 [00:19:30]Write to MH i2c: E2 08 00 89 04 80 0D 03 02 00 00 00 00 08 [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 0B 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 0B 00 89 04 00 E5 2C F8 52 5E 64 6A C2 90 00 52 [00:19:30]RAPDU: E5 2C F8 52 5E 64 6A C2 90 00 [00:19:30]wFMCommunicate OK [00:19:30]SAM_PROTO_SignData done [00:19:30]FM_MakeSignedData done [00:19:30]CreateOFDProtocolMessage [00:19:30]wFMCommunicate request_size=4 [00:19:30]MH_SAM_APDU [00:19:30]CAPDU: 80 11 00 00 [00:19:30]Write to MH i2c: E2 08 00 8A 04 80 11 00 00 00 00 00 00 08 [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 17 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 17 00 8A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 5E [00:19:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:19:30]wFMCommunicate OK [00:19:30]CreateOFDProtocolMessage done [00:19:30]OFDSenderStorePacket 1835 [00:19:30]StoreOFDPacket docnum=1835 [00:19:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 23 01 00 00 26 B5 1B 01 59 EC 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 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 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 04 00 00 00 F4 03 04 00 11 C8 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2B 07 00 00 35 04 06 00 7A 70 68 EA B5 13 E5 2C F8 52 5E 64 6A C2 [00:19:30]CheckFolder [00:19:30]dirname=/storage/ofd_packets [00:19:30]CheckFolder done [00:19:30]ProducePacketName [00:19:30]name=ofd_packets/00001835 [00:19:30]NVStorageSaveData ofd_packets/00001835 [00:19:30]File name is /storage/ofd_packets/00001835 [00:19:30]Write 321 bytes [00:19:30]NVStorageSaveData done [00:19:30]OFDSenderStorePacket done [00:19:30]KKMCreateOFDPacket done [00:19:30]NVStorageSaveData kkm_last_timestamp [00:19:30]File name is /storage/kkm_last_timestamp [00:19:30]Write 4 bytes [00:19:30]NVStorageSaveData done [00:19:30]ExternCall_PrintAddStr [00:19:30]wPrintStart [00:19:30]Write to MH i2c: 01 00 00 8B 04 8F [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: 01 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: 01 07 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: 01 07 00 8B 04 00 00 00 00 00 FF 0F A4 [00:19:30]RasterBufferAndPrint [00:19:30]line Счет N : (3)256299 [00:19:30]line ИНН: 02508201610067 [00:19:30]line Контрольно-Кассовый Чек [00:19:30]line ПРОДАЖА [00:19:30]line Товар: 4700025313937 [00:19:30]line ВОДКА МЯГКАЯ 0,1л [00:19:30]line 1.000 * 60.00 [00:19:30]line = 60.00 [00:19:30]line НДС 12% НСП 1% [00:19:30]line > о реализуемом товаре [00:19:30]line ИТОГО: 60.00 [00:19:30]line НСП 1% : 0.53 [00:19:30]line НДС 12% : 6.37 [00:19:30]line Наличными: 60.00 [00:19:30]line Безнал.: 0.00 [00:19:30]line Место: АЗС № 76 "Партнер Нефть" [00:19:30]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [00:19:30]line СНО: Общий режим [00:19:30]line Чек 4 13.07.2024 00:19 [00:19:30]line Смена: 24 ФФД: 1.0 [00:19:30]line ЗНМ: 0300000124 [00:19:30]line РНМ: 0000000000177495 [00:19:30]line Версия ККМ: 001 [00:19:30]line ФМ: 0000000002098592 [00:19:30]line ФД: 1835 [00:19:30]line ФПД: 134623215138067 [00:19:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T001929&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1835&fm=134623215138067&tin=02508201610067®Number=0000000000177495&sum=6000 [00:19:30]line 0 [00:19:30]OFD Sender: Processing packet 1835 [packets to send 1, broken 0] [00:19:30]ProducePacketName [00:19:30]name=ofd_packets/00001835 [00:19:30]OFD Sender: To server: pG, [00:19:30]CommunicateWithHost lk.salyk.kg:30040 [00:19:30]ConnectInit lk.salyk.kg [00:19:30]written 0, free lines is 4095 [00:19:30]Connected sock=10 [00:19:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 23 01 00 00 26 B5 1B 01 59 EC 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 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 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 04 00 00 00 F4 03 04 00 11 C8 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2B 07 00 00 35 04 06 00 7A 70 68 EA B5 13 E5 2C F8 52 5E 64 6A C2 [00:19:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 F2 78 47 00 34 CD 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 32 30 39 38 35 39 32 10 04 04 00 2B 07 00 00 F4 03 04 00 49 73 91 66 B6 04 01 00 00 29 C9 7E 60 9A A0 CF 9C [00:19:31]CommunicateWithHost err = 0 [00:19:31]CheckOFDResponse [00:19:31]1017 (14) - 77093643461234 [00:19:31]1041 (16) - 0000000002098592 [00:19:31]1040 (4) - 1835 [00:19:31]1012 (4) - 12.07.2024 18:17 [00:19:31]1206 (1) - 0 [00:19:31]OFD Sender: Remove packet 1835 [00:19:31]ProducePacketName [00:19:31]name=ofd_packets/00001835 [00:19:31]NVStorageDeleteData [00:19:31]Write to MH i2c: 01 00 00 B3 04 B7 [00:19:31]Write i2c OK [00:19:31]MH_I2C_Read... [00:19:31]Read from MH i2c: 01 [00:19:31]MH_I2C_Read... [00:19:31]Read from MH i2c: 01 07 00 [00:19:31]MH_I2C_Read... [00:19:31]Read from MH i2c: 01 07 00 B3 04 00 00 00 00 00 0A 0D D5 [00:19:31]RasterBufferAndPrint [00:19:31]line [00:19:31]line [00:19:31]line [00:19:31]line [00:19:31]line [00:19:31]written 0, free lines is 3347 [00:19:31]MH_Cut [00:19:31]Write to MH i2c: D1 01 00 BA 04 01 90 [00:19:31]Write i2c OK [00:19:31]MH_I2C_Read... [00:19:31]Read from MH i2c: D1 [00:19:31]MH_I2C_Read... [00:19:31]Read from MH i2c: D1 01 00 [00:19:31]MH_I2C_Read... [00:19:31]Read from MH i2c: D1 01 00 BA 04 00 8F [00:19:31]Write to MH i2c: 01 00 00 BB 04 BF [00:19:31]Write i2c OK [00:19:31]MH_I2C_Read... [00:19:31]OFD Sender: No OFD packet to send [00:19:31]*** Cut start [00:19:31]*** Partial cut [00:19:31]*** CUTSNS_PIN = 1 [00:19:32]*** CUTSNS_PIN = 0 [00:19:32]*** Brake cut motor [00:19:32]Read from MH i2c: 01 [00:19:32]MH_I2C_Read... [00:19:32]*** Stop cut motor [00:19:32]*** Cut end [00:19:32]Read from MH i2c: 01 07 00 [00:19:32]MH_I2C_Read... [00:19:32]Read from MH i2c: 01 07 00 BB 04 00 00 00 00 00 FF 0F D4 [00:19:32]process_action close_receipt done [00:19:32]requested_data is exist [00:19:32]produce_requested_data [00:19:32]requested_item fm.sn is exist - process it [00:19:32]wFMCommunicate request_size=4 [00:19:32]MH_SAM_APDU [00:19:32]CAPDU: 80 11 00 00 [00:19:32]Write to MH i2c: E2 08 00 BC 04 80 11 00 00 00 00 00 00 3A [00:19:32]Write i2c OK [00:19:32]MH_I2C_Read... [00:19:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:32]Read from MH i2c: E2 [00:19:32]MH_I2C_Read... [00:19:32]Read from MH i2c: E2 17 00 [00:19:32]MH_I2C_Read... [00:19:32]Read from MH i2c: E2 17 00 BC 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 90 [00:19:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:19:32]wFMCommunicate OK [00:19:32]requested_item fd.num is exist - process it [00:19:32]SAM_PROTO_GetFieldsCounters [00:19:32]wFMCommunicate request_size=4 [00:19:32]MH_SAM_APDU [00:19:32]CAPDU: 80 13 00 00 [00:19:32]Write to MH i2c: E2 08 00 BD 04 80 13 00 00 00 00 00 00 3D [00:19:32]Write i2c OK [00:19:32]MH_I2C_Read... [00:19:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:19:32]Read from MH i2c: E2 [00:19:32]MH_I2C_Read... [00:19:32]Read from MH i2c: E2 62 00 [00:19:32]MH_I2C_Read... [00:19:32]Read from MH i2c: E2 62 00 BD 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2B 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [00:19:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2B 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:19:32]wFMCommunicate OK [00:19:32]SAM_PROTO_GetFieldsCounters done [00:19:32]requested_item shift.num is exist - process it [00:19:32]requested_item shift.opened is exist - process it [00:19:32]req_shift_opened [00:19:32]FM_GetShiftState [00:19:32]SAM_PROTO_GetShiftState [00:19:32]wFMCommunicate request_size=4 [00:19:32]MH_SAM_APDU [00:19:32]CAPDU: 80 13 01 00 [00:19:32]Write to MH i2c: E2 08 00 BE 04 80 13 01 00 00 00 00 00 3F [00:19:32]Write i2c OK [00:19:32]MH_I2C_Read... [00:19:32]Read from MH i2c: E2 [00:19:32]MH_I2C_Read... [00:19:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:32]Read from MH i2c: E2 0E 00 [00:19:32]MH_I2C_Read... [00:19:32]Read from MH i2c: E2 0E 00 BE 04 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 CA [00:19:32]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:19:32]wFMCommunicate OK [00:19:32]SAM_PROTO_GetShiftState done [00:19:32]FM_GetShiftState done [00:19:32]req_shift_opened done [00:19:32]requested_item shift.open_date is exist - process it [00:19:32]req_shift_open_date [00:19:32]req_shift_open_date done [00:19:32]produce_requested_data done [00:19:32]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1835,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [00:19:32]process_action_free close_receipt [00:19:32]json_value_free [00:19:32]json_value_free done [00:19:32]process_json_proto returns [00:19:32]Send response to host [00:19:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1835,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [00:19:32]free response buf [00:19:32]execute_script done [00:19:32]execute_script returns [00:19:32]free content buf [00:19:32]Sock 9.Close socket [00:19:32]Sock 9.Thread stoped [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:31]OFD Sender: No OFD packet to send [00:21:36]OFD Sender: No OFD packet to send [00:21:41]OFD Sender: No OFD packet to send [00:21:46]OFD Sender: No OFD packet to send [00:21:51]OFD Sender: No OFD packet to send [00:21:56]OFD Sender: No OFD packet to send [00:22:01]OFD Sender: No OFD packet to send [00:22:06]OFD Sender: No OFD packet to send [00:22:11]OFD Sender: No OFD packet to send [00:22:16]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:56]accept exits with 8 [00:41:56]New connection [00:41:56]New thread 3067018596 created [00:41:56]Thread 3067161956 joined [00:41:56]Waiting for new connection... [00:41:56] Sock 8.Parse request [00:41:56]Sock 8.Check first char [00:41:56]Sock 8.First char is OK [00:41:56]request: POST /json_proto HTTP/1.0 [00:41:56]Method: POST [00:41:56]URL: /json_proto [00:41:56]Method is POST - this is cgi request [00:41:56]url: /json_proto [00:41:56]query_string will be loaded in cgi processing [00:41:56]execute_cgi json_proto POST (null) [00:41:56]execute_cgi path=json_proto method=POST [00:41:56]POST find Content-Length [00:41:56]Host: 172.17.35.133:8080 [00:41:56]Content-Length: 668 [00:41:56]Content-Type: application/json [00:41:56] [00:41:56]POST finish read [00:41:56]Found Content-Length = 668 [00:41:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256300", "tax_sys" : 0, "items" : [ { "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\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" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:41:56]execute_script... [00:41:56]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)256300", "tax_sys" : 0, "items" : [ { "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\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" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:41:56]POST & json_proto [00:41:56]process_json_proto [00:41:56]json parsed OK: [00:41:56]protocol is kg_v1.0 [00:41:56]action value=close_receipt [00:41:56]process_action close_receipt [00:41:56]cmd_close_receipt [00:41:56]MH_GetDate [00:41:56]Write to MH i2c: F0 00 00 BF 04 B2 [00:41:56]Write i2c OK [00:41:56]MH_I2C_Read... [00:41:56]Read from MH i2c: F0 [00:41:56]MH_I2C_Read... [00:41:56]Read from MH i2c: F0 09 00 [00:41:56]MH_I2C_Read... [00:41:56]Read from MH i2c: F0 09 00 BF 04 00 55 CD 91 66 1B 28 2A 66 A7 [00:41:56]GetLastDocTimeStamp 1720829969 [00:41:56]current date 1720831317 [00:41:56]FM_GetShiftState [00:41:56]SAM_PROTO_GetShiftState [00:41:56]wFMCommunicate request_size=4 [00:41:56]MH_SAM_APDU [00:41:56]CAPDU: 80 13 01 00 [00:41:56]Write to MH i2c: E2 08 00 C0 04 80 13 01 00 00 00 00 00 41 [00:41:56]Write i2c OK [00:41:56]MH_I2C_Read... [00:41:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:41:56]Read from MH i2c: E2 [00:41:56]MH_I2C_Read... [00:41:56]Read from MH i2c: E2 0E 00 [00:41:56]MH_I2C_Read... [00:41:56]Read from MH i2c: E2 0E 00 C0 04 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 CC [00:41:56]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:41:56]wFMCommunicate OK [00:41:56]SAM_PROTO_GetShiftState done [00:41:56]FM_GetShiftState done [00:41:56]opened in 1720829379 [00:41:56]opened+sec_in_day 1720915779 [00:41:56]quantity*price = 5900 [00:41:56]sum+1 = 5901 [00:41:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 5 13.07.2024 00:41 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1836 ФПД: 82837241148025 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T004157&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1836&fm=82837241148025&tin=02508201610067®Number=0000000000177495&sum=5900 0 [00:41:58]StoreToDocumentArchive [00:41:58]shift 24 fd 1836 [00:41:58]save to /storage/0024/doc_00001836 [00:41:58]save last doc name /storage/0024/doc_00001836 to /storage/kkm_last_doc_name [00:41:58]save OK [00:41:58]Clear old archive folders... [00:41:58]ProcessDocumentItem done err = 0, tmpTLVsize=283 [00:41:58]tlvbuf is 00F47570 [00:41:58]SAM_PROTO_ClearQueue [00:41:58]wFMCommunicate request_size=4 [00:41:58]MH_SAM_APDU [00:41:58]CAPDU: 80 09 00 00 [00:41:58]Write to MH i2c: E2 08 00 CD 04 80 09 00 00 00 00 00 00 43 [00:41:58]Write i2c OK [00:41:58]MH_I2C_Read... [00:41:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:41:58]Read from MH i2c: E2 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 03 00 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 03 00 CD 04 00 90 00 45 [00:41:58]RAPDU: 90 00 [00:41:58]wFMCommunicate OK [00:41:58]SAM_PROTO_ClearQueue done [00:41:58]KKMCreateOFDPacket [00:41:58]OFDProtocolAddRootSTLVToBuf [00:41:58]FM_MakeSignedData [00:41:58]FM_MakeSignedData [00:41:58]SAM_PROTO_SignData [00:41:58]wFMCommunicate request_size=4 [00:41:58]MH_SAM_APDU [00:41:58]CAPDU: 80 0D 01 02 [00:41:58]Write to MH i2c: E2 08 00 CE 04 80 0D 01 02 00 00 00 00 4B [00:41:58]Write i2c OK [00:41:58]MH_I2C_Read... [00:41:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:41:58]Read from MH i2c: E2 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 03 00 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 03 00 CE 04 00 90 00 46 [00:41:58]RAPDU: 90 00 [00:41:58]wFMCommunicate OK [00:41:58]wFMCommunicate request_size=255 [00:41:58]MH_SAM_APDU [00:41:58]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 05 00 00 00 F4 03 04 00 55 CD 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 [00:41:58]Write to MH i2c: E2 02 01 CF 04 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 05 00 00 00 F4 03 04 00 55 CD 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 00 00 E7 [00:41:58]Write i2c OK [00:41:58]MH_I2C_Read... [00:41:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:41:58]Read from MH i2c: E2 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 03 00 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 03 00 CF 04 00 90 00 47 [00:41:58]RAPDU: 90 00 [00:41:58]wFMCommunicate OK [00:41:58]wFMCommunicate request_size=42 [00:41:58]MH_SAM_APDU [00:41:58]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2C 07 00 00 35 04 06 00 4B 57 0C 55 32 79 [00:41:58]Write to MH i2c: E2 2D 00 D0 04 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2C 07 00 00 35 04 06 00 4B 57 0C 55 32 79 00 00 07 [00:41:58]Write i2c OK [00:41:58]MH_I2C_Read... [00:41:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:41:58]Read from MH i2c: E2 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 03 00 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 03 00 D0 04 00 90 00 48 [00:41:58]RAPDU: 90 00 [00:41:58]wFMCommunicate OK [00:41:58]wFMCommunicate request_size=4 [00:41:58]MH_SAM_APDU [00:41:58]CAPDU: 80 0D 03 02 [00:41:58]Write to MH i2c: E2 08 00 D1 04 80 0D 03 02 00 00 00 00 50 [00:41:58]Write i2c OK [00:41:58]MH_I2C_Read... [00:41:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:41:58]Read from MH i2c: E2 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 0B 00 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 0B 00 D1 04 00 EF 7E 03 75 EF 30 A6 E4 90 00 DF [00:41:58]RAPDU: EF 7E 03 75 EF 30 A6 E4 90 00 [00:41:58]wFMCommunicate OK [00:41:58]SAM_PROTO_SignData done [00:41:58]FM_MakeSignedData done [00:41:58]CreateOFDProtocolMessage [00:41:58]wFMCommunicate request_size=4 [00:41:58]MH_SAM_APDU [00:41:58]CAPDU: 80 11 00 00 [00:41:58]Write to MH i2c: E2 08 00 D2 04 80 11 00 00 00 00 00 00 50 [00:41:58]Write i2c OK [00:41:58]MH_I2C_Read... [00:41:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:41:58]Read from MH i2c: E2 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 17 00 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: E2 17 00 D2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 A6 [00:41:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:41:58]wFMCommunicate OK [00:41:58]CreateOFDProtocolMessage done [00:41:58]OFDSenderStorePacket 1836 [00:41:58]StoreOFDPacket docnum=1836 [00:41:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2F 01 00 00 B7 D8 27 01 65 FA 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 05 00 00 00 F4 03 04 00 55 CD 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2C 07 00 00 35 04 06 00 4B 57 0C 55 32 79 EF 7E 03 75 EF 30 A6 E4 [00:41:58]CheckFolder [00:41:58]dirname=/storage/ofd_packets [00:41:58]CheckFolder done [00:41:58]ProducePacketName [00:41:58]name=ofd_packets/00001836 [00:41:58]NVStorageSaveData ofd_packets/00001836 [00:41:58]File name is /storage/ofd_packets/00001836 [00:41:58]Write 333 bytes [00:41:58]NVStorageSaveData done [00:41:58]OFDSenderStorePacket done [00:41:58]KKMCreateOFDPacket done [00:41:58]NVStorageSaveData kkm_last_timestamp [00:41:58]File name is /storage/kkm_last_timestamp [00:41:58]Write 4 bytes [00:41:58]NVStorageSaveData done [00:41:58]ExternCall_PrintAddStr [00:41:58]wPrintStart [00:41:58]Write to MH i2c: 01 00 00 D3 04 D7 [00:41:58]Write i2c OK [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: 01 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: 01 07 00 [00:41:58]MH_I2C_Read... [00:41:58]Read from MH i2c: 01 07 00 D3 04 00 00 00 00 00 FF 0F EC [00:41:58]RasterBufferAndPrint [00:41:58]line Счет N : (3)256300 [00:41:58]line ИНН: 02508201610067 [00:41:58]line Контрольно-Кассовый Чек [00:41:58]line ПРОДАЖА [00:41:58]line Товар: 4011100977624 [00:41:58]line Шок Батончик Баунти 55г [00:41:58]line 1.000 * 59.00 [00:41:58]line = 59.00 [00:41:58]line НДС 12% НСП 1% [00:41:58]line > о реализуемом товаре [00:41:58]line ИТОГО: 59.00 [00:41:58]line НСП 1% : 0.52 [00:41:58]line НДС 12% : 6.26 [00:41:58]line Наличными: 59.00 [00:41:58]line Безнал.: 0.00 [00:41:58]line Место: АЗС № 76 "Партнер Нефть" [00:41:58]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [00:41:58]line СНО: Общий режим [00:41:58]line Чек 5 13.07.2024 00:41 [00:41:58]line Смена: 24 ФФД: 1.0 [00:41:58]line ЗНМ: 0300000124 [00:41:58]line РНМ: 0000000000177495 [00:41:58]line Версия ККМ: 001 [00:41:58]line ФМ: 0000000002098592 [00:41:58]line ФД: 1836 [00:41:58]line ФПД: 82837241148025 [00:41:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T004157&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1836&fm=82837241148025&tin=02508201610067®Number=0000000000177495&sum=5900 [00:41:58]line 0 [00:41:58]OFD Sender: Processing packet 1836 [packets to send 1, broken 0] [00:41:58]ProducePacketName [00:41:58]name=ofd_packets/00001836 [00:41:58]OFD Sender: To server: pG, [00:41:58]CommunicateWithHost lk.salyk.kg:30040 [00:41:58]ConnectInit lk.salyk.kg [00:41:58]written 0, free lines is 4095 [00:41:59]Connected sock=9 [00:41:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2F 01 00 00 B7 D8 27 01 65 FA 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 05 00 00 00 F4 03 04 00 55 CD 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2C 07 00 00 35 04 06 00 4B 57 0C 55 32 79 EF 7E 03 75 EF 30 A6 E4 [00:41:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 FC E9 47 00 73 37 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 32 30 39 38 35 39 32 10 04 04 00 2C 07 00 00 F4 03 04 00 8D 78 91 66 B6 04 01 00 00 11 03 99 E7 D9 1A 5E 70 [00:41:59]CommunicateWithHost err = 0 [00:41:59]CheckOFDResponse [00:41:59]1017 (14) - 77093643461234 [00:41:59]1041 (16) - 0000000002098592 [00:41:59]1040 (4) - 1836 [00:41:59]1012 (4) - 12.07.2024 18:40 [00:41:59]1206 (1) - 0 [00:41:59]OFD Sender: Remove packet 1836 [00:41:59]ProducePacketName [00:41:59]name=ofd_packets/00001836 [00:41:59]NVStorageDeleteData [00:41:59]Write to MH i2c: 01 00 00 FB 04 FF [00:41:59]Write i2c OK [00:41:59]MH_I2C_Read... [00:41:59]Read from MH i2c: 01 [00:41:59]MH_I2C_Read... [00:41:59]Read from MH i2c: 01 07 00 [00:41:59]MH_I2C_Read... [00:41:59]Read from MH i2c: 01 07 00 FB 04 00 00 00 00 00 01 0D 14 [00:41:59]RasterBufferAndPrint [00:41:59]line [00:41:59]line [00:41:59]line [00:41:59]line [00:41:59]line [00:41:59]written 0, free lines is 3335 [00:41:59]MH_Cut [00:41:59]Write to MH i2c: D1 01 00 02 05 01 D9 [00:41:59]Write i2c OK [00:41:59]MH_I2C_Read... [00:41:59]Read from MH i2c: D1 [00:41:59]MH_I2C_Read... [00:41:59]Read from MH i2c: D1 01 00 [00:41:59]MH_I2C_Read... [00:41:59]Read from MH i2c: D1 01 00 02 05 00 D8 [00:41:59]Write to MH i2c: 01 00 00 03 05 08 [00:41:59]Write i2c OK [00:41:59]MH_I2C_Read... [00:41:59]OFD Sender: No OFD packet to send [00:42:00]*** Cut start [00:42:00]*** Partial cut [00:42:00]*** CUTSNS_PIN = 1 [00:42:00]*** CUTSNS_PIN = 0 [00:42:00]*** Brake cut motor [00:42:00]Read from MH i2c: 01 [00:42:00]MH_I2C_Read... [00:42:00]*** Stop cut motor [00:42:00]*** Cut end [00:42:00]Read from MH i2c: 01 07 00 [00:42:00]MH_I2C_Read... [00:42:00]Read from MH i2c: 01 07 00 03 05 00 00 00 00 00 FF 0F 1D [00:42:00]process_action close_receipt done [00:42:00]requested_data is exist [00:42:00]produce_requested_data [00:42:00]requested_item fm.sn is exist - process it [00:42:00]wFMCommunicate request_size=4 [00:42:00]MH_SAM_APDU [00:42:00]CAPDU: 80 11 00 00 [00:42:00]Write to MH i2c: E2 08 00 04 05 80 11 00 00 00 00 00 00 83 [00:42:00]Write i2c OK [00:42:00]MH_I2C_Read... [00:42:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:42:00]Read from MH i2c: E2 [00:42:00]MH_I2C_Read... [00:42:00]Read from MH i2c: E2 17 00 [00:42:00]MH_I2C_Read... [00:42:00]Read from MH i2c: E2 17 00 04 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 D9 [00:42:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [00:42:00]wFMCommunicate OK [00:42:00]requested_item fd.num is exist - process it [00:42:00]SAM_PROTO_GetFieldsCounters [00:42:00]wFMCommunicate request_size=4 [00:42:00]MH_SAM_APDU [00:42:00]CAPDU: 80 13 00 00 [00:42:00]Write to MH i2c: E2 08 00 05 05 80 13 00 00 00 00 00 00 86 [00:42:00]Write i2c OK [00:42:00]MH_I2C_Read... [00:42:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:42:00]Read from MH i2c: E2 [00:42:00]MH_I2C_Read... [00:42:00]Read from MH i2c: E2 62 00 [00:42:00]MH_I2C_Read... [00:42:00]Read from MH i2c: E2 62 00 05 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2C 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [00:42:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2C 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:42:00]wFMCommunicate OK [00:42:00]SAM_PROTO_GetFieldsCounters done [00:42:00]requested_item shift.num is exist - process it [00:42:00]requested_item shift.opened is exist - process it [00:42:00]req_shift_opened [00:42:00]FM_GetShiftState [00:42:00]SAM_PROTO_GetShiftState [00:42:00]wFMCommunicate request_size=4 [00:42:00]MH_SAM_APDU [00:42:00]CAPDU: 80 13 01 00 [00:42:00]Write to MH i2c: E2 08 00 06 05 80 13 01 00 00 00 00 00 88 [00:42:00]Write i2c OK [00:42:00]MH_I2C_Read... [00:42:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:42:00]Read from MH i2c: E2 [00:42:00]MH_I2C_Read... [00:42:00]Read from MH i2c: E2 0E 00 [00:42:00]MH_I2C_Read... [00:42:00]Read from MH i2c: E2 0E 00 06 05 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 13 [00:42:00]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [00:42:00]wFMCommunicate OK [00:42:00]SAM_PROTO_GetShiftState done [00:42:00]FM_GetShiftState done [00:42:00]req_shift_opened done [00:42:00]requested_item shift.open_date is exist - process it [00:42:00]req_shift_open_date [00:42:00]req_shift_open_date done [00:42:00]produce_requested_data done [00:42:00]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1836,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [00:42:00]process_action_free close_receipt [00:42:00]json_value_free [00:42:00]json_value_free done [00:42:00]process_json_proto returns [00:42:00]Send response to host [00:42:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1836,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [00:42:00]free response buf [00:42:00]execute_script done [00:42:00]execute_script returns [00:42:00]free content buf [00:42:00]Sock 8.Close socket [00:42:00]Sock 8.Thread stoped [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]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:40]OFD Sender: No OFD packet to send [00:52:45]OFD Sender: No OFD packet to send [00:52:50]OFD Sender: No OFD packet to send [00:52:55]OFD Sender: No OFD packet to send [00:53:00]OFD Sender: No OFD packet to send [00:53:05]OFD Sender: No OFD packet to send [00:53:10]OFD Sender: No OFD packet to send [00:53:15]OFD Sender: No OFD packet to send [00:53:20]OFD Sender: No OFD packet to send [00:53:25]OFD Sender: No OFD packet to send [00:53:30]OFD Sender: No OFD packet to send [00:53:35]OFD Sender: No OFD packet to send [00:53:40]OFD Sender: No OFD packet to send [00:53:45]OFD Sender: No OFD packet to send [00:53:50]OFD Sender: No OFD packet to send [00:53:55]OFD Sender: No OFD packet to send [00:54:00]OFD Sender: No OFD packet to send [00:54:05]OFD Sender: No OFD packet to send [00:54:10]OFD Sender: No OFD packet to send [00:54:15]OFD Sender: No OFD packet to send [00:54:20]OFD Sender: No OFD packet to send [00:54:25]OFD Sender: No OFD packet to send [00:54:30]OFD Sender: No OFD packet to send [00:54:35]OFD Sender: No OFD packet to send [00:54:40]OFD Sender: No OFD packet to send [00:54:45]OFD Sender: No OFD packet to send [00:54:50]OFD Sender: No OFD packet to send [00:54:55]OFD Sender: No OFD packet to send [00:55:00]OFD Sender: No OFD packet to send [00:55:05]OFD Sender: No OFD packet to send [00:55:10]OFD Sender: No OFD packet to send [00:55:15]OFD Sender: No OFD packet to send [00:55:20]OFD Sender: No OFD packet to send [00:55:25]OFD Sender: No OFD packet to send [00:55:30]OFD Sender: No OFD packet to send [00:55:35]OFD Sender: No OFD packet to send [00:55:40]OFD Sender: No OFD packet to send [00:55:45]OFD Sender: No OFD packet to send [00:55:50]OFD Sender: No OFD packet to send [00:55:55]OFD Sender: No OFD packet to send [00:56:00]OFD Sender: No OFD packet to send [00:56:05]OFD Sender: No OFD packet to send [00:56:10]OFD Sender: No OFD packet to send [00:56:15]OFD Sender: No OFD packet to send [00:56:20]OFD Sender: No OFD packet to send [00:56:25]OFD Sender: No OFD packet to send [00:56:30]OFD Sender: No OFD packet to send [00:56:35]OFD Sender: No OFD packet to send [00:56:40]OFD Sender: No OFD packet to send [00:56:45]OFD Sender: No OFD packet to send [00:56:50]OFD Sender: No OFD packet to send [00:56:55]OFD Sender: No OFD packet to send [00:57:00]OFD Sender: No OFD packet to send [00:57:05]OFD Sender: No OFD packet to send [00:57:10]OFD Sender: No OFD packet to send [00:57:15]OFD Sender: No OFD packet to send [00:57:20]OFD Sender: No OFD packet to send [00:57:25]OFD Sender: No OFD packet to send [00:57:30]OFD Sender: No OFD packet to send [00:57:35]OFD Sender: No OFD packet to send [00:57:40]OFD Sender: No OFD packet to send [00:57:45]OFD Sender: No OFD packet to send [00:57:50]OFD Sender: No OFD packet to send [00:57:55]OFD Sender: No OFD packet to send [00:58:00]OFD Sender: No OFD packet to send [00:58:05]OFD Sender: No OFD packet to send [00:58:10]OFD Sender: No OFD packet to send [00:58:15]OFD Sender: No OFD packet to send [00:58:20]OFD Sender: No OFD packet to send [00:58:25]OFD Sender: No OFD packet to send [00:58:30]OFD Sender: No OFD packet to send [00:58:35]OFD Sender: No OFD packet to send [00:58:40]OFD Sender: No OFD packet to send [00:58:45]OFD Sender: No OFD packet to send [00:58:50]OFD Sender: No OFD packet to send [00:58:55]OFD Sender: No OFD packet to send [00:59:00]OFD Sender: No OFD packet to send [00:59:05]OFD Sender: No OFD packet to send [00:59:10]OFD Sender: No OFD packet to send [00:59:15]OFD Sender: No OFD packet to send [00:59:20]OFD Sender: No OFD packet to send [00:59:25]OFD Sender: No OFD packet to send [00:59:30]OFD Sender: No OFD packet to send [00:59:35]OFD Sender: No OFD packet to send [00:59:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]accept exits with 10 [01:07:10]New connection [01:07:10]New thread 3067161956 created [01:07:10]Thread 3067018596 joined [01:07:10]Waiting for new connection... [01:07:10] Sock 10.Parse request [01:07:10]Sock 10.Check first char [01:07:10]Sock 10.First char is OK [01:07:10]request: POST /json_proto HTTP/1.0 [01:07:10]Method: POST [01:07:10]URL: /json_proto [01:07:10]Method is POST - this is cgi request [01:07:10]url: /json_proto [01:07:10]query_string will be loaded in cgi processing [01:07:10]execute_cgi json_proto POST (null) [01:07:10]execute_cgi path=json_proto method=POST [01:07:10]POST find Content-Length [01:07:10]Host: 172.17.35.133:8080 [01:07:10]Content-Length: 941 [01:07:10]Content-Type: application/json [01:07:10] [01:07:10]POST finish read [01:07:10]Found Content-Length = 941 [01:07:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256301", "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": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 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" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:07:10]execute_script... [01:07:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256301", "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": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 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" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:07:10]POST & json_proto [01:07:10]process_json_proto [01:07:10]json parsed OK: [01:07:10]protocol is kg_v1.0 [01:07:10]action value=close_receipt [01:07:10]process_action close_receipt [01:07:10]cmd_close_receipt [01:07:10]MH_GetDate [01:07:10]Write to MH i2c: F0 00 00 07 05 FB [01:07:10]Write i2c OK [01:07:10]MH_I2C_Read... [01:07:10]Read from MH i2c: F0 [01:07:10]MH_I2C_Read... [01:07:10]Read from MH i2c: F0 09 00 [01:07:10]MH_I2C_Read... [01:07:10]Read from MH i2c: F0 09 00 07 05 00 3F D3 91 66 1B 28 2A 66 E0 [01:07:10]GetLastDocTimeStamp 1720831317 [01:07:10]current date 1720832831 [01:07:10]FM_GetShiftState [01:07:10]SAM_PROTO_GetShiftState [01:07:10]wFMCommunicate request_size=4 [01:07:10]MH_SAM_APDU [01:07:10]CAPDU: 80 13 01 00 [01:07:10]Write to MH i2c: E2 08 00 08 05 80 13 01 00 00 00 00 00 8A [01:07:10]Write i2c OK [01:07:10]MH_I2C_Read... [01:07:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:10]Read from MH i2c: E2 [01:07:10]MH_I2C_Read... [01:07:10]Read from MH i2c: E2 0E 00 [01:07:10]MH_I2C_Read... [01:07:10]Read from MH i2c: E2 0E 00 08 05 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 15 [01:07:10]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [01:07:10]wFMCommunicate OK [01:07:10]SAM_PROTO_GetShiftState done [01:07:10]FM_GetShiftState done [01:07:10]opened in 1720829379 [01:07:10]opened+sec_in_day 1720915779 [01:07:10]quantity*price = 9500 [01:07:10]sum+1 = 9501 [01:07:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160181 Вода Байтик 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 6 13.07.2024 01:07 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1837 ФПД: 138477548684239 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010711&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1837&fm=138477548684239&tin=02508201610067®Number=0000000000177495&sum=14500 0 [01:07:11]StoreToDocumentArchive [01:07:11]shift 24 fd 1837 [01:07:11]save to /storage/0024/doc_00001837 [01:07:11]save last doc name /storage/0024/doc_00001837 to /storage/kkm_last_doc_name [01:07:11]save OK [01:07:11]Clear old archive folders... [01:07:11]ProcessDocumentItem done err = 0, tmpTLVsize=399 [01:07:11]tlvbuf is 00F48C60 [01:07:11]SAM_PROTO_ClearQueue [01:07:11]wFMCommunicate request_size=4 [01:07:11]MH_SAM_APDU [01:07:11]CAPDU: 80 09 00 00 [01:07:11]Write to MH i2c: E2 08 00 15 05 80 09 00 00 00 00 00 00 8C [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:07:11]Read from MH i2c: E2 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 03 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 03 00 15 05 00 90 00 8E [01:07:11]RAPDU: 90 00 [01:07:11]wFMCommunicate OK [01:07:11]SAM_PROTO_ClearQueue done [01:07:11]KKMCreateOFDPacket [01:07:11]OFDProtocolAddRootSTLVToBuf [01:07:11]FM_MakeSignedData [01:07:11]FM_MakeSignedData [01:07:11]SAM_PROTO_SignData [01:07:11]wFMCommunicate request_size=4 [01:07:11]MH_SAM_APDU [01:07:11]CAPDU: 80 0D 01 02 [01:07:11]Write to MH i2c: E2 08 00 16 05 80 0D 01 02 00 00 00 00 94 [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:07:11]Read from MH i2c: E2 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 03 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 03 00 16 05 00 90 00 8F [01:07:11]RAPDU: 90 00 [01:07:11]wFMCommunicate OK [01:07:11]wFMCommunicate request_size=255 [01:07:11]MH_SAM_APDU [01:07:11]CAPDU: 80 0D 02 02 FA 03 00 8F 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 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 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 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 A4 38 00 00 00 00 EB 03 [01:07:11]Write to MH i2c: E2 02 01 17 05 80 0D 02 02 FA 00 03 00 8F 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 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 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 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 A4 38 00 00 00 00 EB 03 00 00 9A [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:11]Read from MH i2c: E2 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 03 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 03 00 17 05 00 90 00 90 [01:07:11]RAPDU: 90 00 [01:07:11]wFMCommunicate OK [01:07:11]wFMCommunicate request_size=158 [01:07:11]MH_SAM_APDU [01:07:11]CAPDU: 80 0D 02 02 99 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 06 00 00 00 F4 03 04 00 3F D3 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2D 07 00 00 35 04 06 00 7D F1 D1 19 43 CF [01:07:11]Write to MH i2c: E2 A1 00 18 05 80 0D 02 02 99 00 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 06 00 00 00 F4 03 04 00 3F D3 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2D 07 00 00 35 04 06 00 7D F1 D1 19 43 CF 00 00 4E [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:11]Read from MH i2c: E2 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 03 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 03 00 18 05 00 90 00 91 [01:07:11]RAPDU: 90 00 [01:07:11]wFMCommunicate OK [01:07:11]wFMCommunicate request_size=4 [01:07:11]MH_SAM_APDU [01:07:11]CAPDU: 80 0D 03 02 [01:07:11]Write to MH i2c: E2 08 00 19 05 80 0D 03 02 00 00 00 00 99 [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:07:11]Read from MH i2c: E2 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 0B 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 0B 00 19 05 00 97 78 5F 6A 30 FD 8D ED 90 00 19 [01:07:11]RAPDU: 97 78 5F 6A 30 FD 8D ED 90 00 [01:07:11]wFMCommunicate OK [01:07:11]SAM_PROTO_SignData done [01:07:11]FM_MakeSignedData done [01:07:11]CreateOFDProtocolMessage [01:07:11]wFMCommunicate request_size=4 [01:07:11]MH_SAM_APDU [01:07:11]CAPDU: 80 11 00 00 [01:07:11]Write to MH i2c: E2 08 00 1A 05 80 11 00 00 00 00 00 00 99 [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:11]Read from MH i2c: E2 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 17 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 17 00 1A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 EF [01:07:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [01:07:11]wFMCommunicate OK [01:07:11]CreateOFDProtocolMessage done [01:07:11]OFDSenderStorePacket 1837 [01:07:11]StoreOFDPacket docnum=1837 [01:07:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 A3 01 00 00 1B 97 9B 01 79 74 5A 03 01 00 03 00 8F 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 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 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 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 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 06 00 00 00 F4 03 04 00 3F D3 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2D 07 00 00 35 04 06 00 7D F1 D1 19 43 CF 97 78 5F 6A 30 FD 8D ED [01:07:11]CheckFolder [01:07:11]dirname=/storage/ofd_packets [01:07:11]CheckFolder done [01:07:11]ProducePacketName [01:07:11]name=ofd_packets/00001837 [01:07:11]NVStorageSaveData ofd_packets/00001837 [01:07:11]File name is /storage/ofd_packets/00001837 [01:07:11]Write 449 bytes [01:07:11]NVStorageSaveData done [01:07:11]OFDSenderStorePacket done [01:07:11]KKMCreateOFDPacket done [01:07:11]NVStorageSaveData kkm_last_timestamp [01:07:11]File name is /storage/kkm_last_timestamp [01:07:11]Write 4 bytes [01:07:11]NVStorageSaveData done [01:07:11]ExternCall_PrintAddStr [01:07:11]wPrintStart [01:07:11]Write to MH i2c: 01 00 00 1B 05 20 [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: 01 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: 01 07 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: 01 07 00 1B 05 00 00 00 00 00 FF 0F 35 [01:07:12]RasterBufferAndPrint [01:07:12]line Счет N : (3)256301 [01:07:12]line ИНН: 02508201610067 [01:07:12]line Контрольно-Кассовый Чек [01:07:12]line ПРОДАЖА [01:07:12]line Товар: 4700003010087 [01:07:12]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [01:07:12]line 1.000 * 95.00 [01:07:12]line = 95.00 [01:07:12]line НДС 12% НСП 1% [01:07:12]line > о реализуемом товаре [01:07:12]line Товар: 4700000160181 [01:07:12]line Вода Байтик 1л [01:07:12]line 1.000 * 50.00 [01:07:12]line = 50.00 [01:07:12]line НДС 12% НСП 1% [01:07:12]line > о реализуемом товаре [01:07:12]line ИТОГО: 145.00 [01:07:12]line НСП 1% : 1.28 [01:07:12]line НДС 12% : 15.40 [01:07:12]line Наличными: 145.00 [01:07:12]line Безнал.: 0.00 [01:07:12]line Место: АЗС № 76 "Партнер Нефть" [01:07:12]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [01:07:12]line СНО: Общий режим [01:07:12]line Чек 6 13.07.2024 01:07 [01:07:12]line Смена: 24 ФФД: 1.0 [01:07:12]line ЗНМ: 0300000124 [01:07:12]line РНМ: 0000000000177495 [01:07:12]line Версия ККМ: 001 [01:07:12]line ФМ: 0000000002098592 [01:07:12]line ФД: 1837 [01:07:12]line ФПД: 138477548684239 [01:07:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010711&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1837&fm=138477548684239&tin=02508201610067®Number=0000000000177495&sum=14500 [01:07:12]line 0 [01:07:12]OFD Sender: Processing packet 1837 [packets to send 1, broken 0] [01:07:12]ProducePacketName [01:07:12]name=ofd_packets/00001837 [01:07:12]OFD Sender: To server: pG, [01:07:12]CommunicateWithHost lk.salyk.kg:30040 [01:07:12]ConnectInit lk.salyk.kg [01:07:12]written 0, free lines is 4095 [01:07:12]Connected sock=9 [01:07:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 A3 01 00 00 1B 97 9B 01 79 74 5A 03 01 00 03 00 8F 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 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 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 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 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 06 00 00 00 F4 03 04 00 3F D3 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2D 07 00 00 35 04 06 00 7D F1 D1 19 43 CF 97 78 5F 6A 30 FD 8D ED [01:07:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 30 F4 47 00 D6 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 32 30 39 38 35 39 32 10 04 04 00 2D 07 00 00 F4 03 04 00 76 7E 91 66 B6 04 01 00 00 A5 E8 34 50 64 91 C1 55 [01:07:12]CommunicateWithHost err = 0 [01:07:12]CheckOFDResponse [01:07:12]1017 (14) - 77093643461234 [01:07:12]1041 (16) - 0000000002098592 [01:07:12]1040 (4) - 1837 [01:07:12]1012 (4) - 12.07.2024 19:05 [01:07:12]1206 (1) - 0 [01:07:12]OFD Sender: Remove packet 1837 [01:07:12]ProducePacketName [01:07:12]name=ofd_packets/00001837 [01:07:12]NVStorageDeleteData [01:07:12]Write to MH i2c: 01 00 00 4A 05 4F [01:07:12]Write i2c OK [01:07:12]MH_I2C_Read... [01:07:12]Read from MH i2c: 01 [01:07:12]MH_I2C_Read... [01:07:12]Read from MH i2c: 01 07 00 [01:07:12]MH_I2C_Read... [01:07:12]Read from MH i2c: 01 07 00 4A 05 00 00 00 00 00 98 0C FA [01:07:12]RasterBufferAndPrint [01:07:12]line [01:07:12]line [01:07:12]line [01:07:12]line [01:07:12]line [01:07:12]written 0, free lines is 3232 [01:07:12]MH_Cut [01:07:12]Write to MH i2c: D1 01 00 51 05 01 28 [01:07:12]Write i2c OK [01:07:12]MH_I2C_Read... [01:07:12]Read from MH i2c: D1 [01:07:12]MH_I2C_Read... [01:07:12]Read from MH i2c: D1 01 00 [01:07:12]MH_I2C_Read... [01:07:12]Read from MH i2c: D1 01 00 51 05 00 27 [01:07:12]Write to MH i2c: 01 00 00 52 05 57 [01:07:12]Write i2c OK [01:07:12]MH_I2C_Read... [01:07:13]OFD Sender: No OFD packet to send [01:07:13]*** Cut start [01:07:13]*** Partial cut [01:07:13]*** CUTSNS_PIN = 1 [01:07:13]*** CUTSNS_PIN = 0 [01:07:13]*** Brake cut motor [01:07:14]Read from MH i2c: 01 [01:07:14]MH_I2C_Read... [01:07:14]*** Stop cut motor [01:07:14]*** Cut end [01:07:14]Read from MH i2c: 01 07 00 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: 01 07 00 52 05 00 00 00 00 00 FF 0F 6C [01:07:14]process_action close_receipt done [01:07:14]requested_data is exist [01:07:14]produce_requested_data [01:07:14]requested_item fm.sn is exist - process it [01:07:14]wFMCommunicate request_size=4 [01:07:14]MH_SAM_APDU [01:07:14]CAPDU: 80 11 00 00 [01:07:14]Write to MH i2c: E2 08 00 53 05 80 11 00 00 00 00 00 00 D2 [01:07:14]Write i2c OK [01:07:14]MH_I2C_Read... [01:07:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:14]Read from MH i2c: E2 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: E2 17 00 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: E2 17 00 53 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 28 [01:07:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [01:07:14]wFMCommunicate OK [01:07:14]requested_item fd.num is exist - process it [01:07:14]SAM_PROTO_GetFieldsCounters [01:07:14]wFMCommunicate request_size=4 [01:07:14]MH_SAM_APDU [01:07:14]CAPDU: 80 13 00 00 [01:07:14]Write to MH i2c: E2 08 00 54 05 80 13 00 00 00 00 00 00 D5 [01:07:14]Write i2c OK [01:07:14]MH_I2C_Read... [01:07:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:07:14]Read from MH i2c: E2 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: E2 62 00 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: E2 62 00 54 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2D 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 5F [01:07:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2D 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:07:14]wFMCommunicate OK [01:07:14]SAM_PROTO_GetFieldsCounters done [01:07:14]requested_item shift.num is exist - process it [01:07:14]requested_item shift.opened is exist - process it [01:07:14]req_shift_opened [01:07:14]FM_GetShiftState [01:07:14]SAM_PROTO_GetShiftState [01:07:14]wFMCommunicate request_size=4 [01:07:14]MH_SAM_APDU [01:07:14]CAPDU: 80 13 01 00 [01:07:14]Write to MH i2c: E2 08 00 55 05 80 13 01 00 00 00 00 00 D7 [01:07:14]Write i2c OK [01:07:14]MH_I2C_Read... [01:07:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:14]Read from MH i2c: E2 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: E2 0E 00 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: E2 0E 00 55 05 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 62 [01:07:14]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [01:07:14]wFMCommunicate OK [01:07:14]SAM_PROTO_GetShiftState done [01:07:14]FM_GetShiftState done [01:07:14]req_shift_opened done [01:07:14]requested_item shift.open_date is exist - process it [01:07:14]req_shift_open_date [01:07:14]req_shift_open_date done [01:07:14]produce_requested_data done [01:07:14]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1837,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [01:07:14]process_action_free close_receipt [01:07:14]json_value_free [01:07:14]json_value_free done [01:07:14]process_json_proto returns [01:07:14]Send response to host [01:07:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1837,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [01:07:14]free response buf [01:07:14]execute_script done [01:07:14]execute_script returns [01:07:14]free content buf [01:07:14]Sock 10.Close socket [01:07:14]Sock 10.Thread stoped [01:07:18]OFD Sender: No OFD packet to send [01:07:23]OFD Sender: No OFD packet to send [01:07:28]OFD Sender: No OFD packet to send [01:07:33]OFD Sender: No OFD packet to send [01:07:38]OFD Sender: No OFD packet to send [01:07:43]OFD Sender: No OFD packet to send [01:07:48]OFD Sender: No OFD packet to send [01:07:53]OFD Sender: No OFD packet to send [01:07:58]OFD Sender: No OFD packet to send [01:08:03]OFD Sender: No OFD packet to send [01:08:08]OFD Sender: No OFD packet to send [01:08:13]OFD Sender: No OFD packet to send [01:08:18]OFD Sender: No OFD packet to send [01:08:23]OFD Sender: No OFD packet to send [01:08:28]OFD Sender: No OFD packet to send [01:08:33]OFD Sender: No OFD packet to send [01:08:38]OFD Sender: No OFD packet to send [01:08:43]OFD Sender: No OFD packet to send [01:08:48]OFD Sender: No OFD packet to send [01:08:53]OFD Sender: No OFD packet to send [01:08:58]OFD Sender: No OFD packet to send [01:09:03]OFD Sender: No OFD packet to send [01:09:08]OFD Sender: No OFD packet to send [01:09:13]OFD Sender: No OFD packet to send [01:09:18]OFD Sender: No OFD packet to send [01:09:23]OFD Sender: No OFD packet to send [01:09:28]OFD Sender: No OFD packet to send [01:09:33]OFD Sender: No OFD packet to send [01:09:38]OFD Sender: No OFD packet to send [01:09:43]OFD Sender: No OFD packet to send [01:09:48]OFD Sender: No OFD packet to send [01:09:53]OFD Sender: No OFD packet to send [01:09:58]OFD Sender: No OFD packet to send [01:10:03]OFD Sender: No OFD packet to send [01:10:08]OFD Sender: No OFD packet to send [01:10:13]OFD Sender: No OFD packet to send [01:10:18]OFD Sender: No OFD packet to send [01:10:23]OFD Sender: No OFD packet to send [01:10:28]OFD Sender: No OFD packet to send [01:10:33]OFD Sender: No OFD packet to send [01:10:38]OFD Sender: No OFD packet to send [01:10:43]OFD Sender: No OFD packet to send [01:10:48]OFD Sender: No OFD packet to send [01:10:53]OFD Sender: No OFD packet to send [01:10:58]OFD Sender: No OFD packet to send [01:11:03]OFD Sender: No OFD packet to send [01:11:08]OFD Sender: No OFD packet to send [01:11:13]OFD Sender: No OFD packet to send [01:11:18]OFD Sender: No OFD packet to send [01:11:23]OFD Sender: No OFD packet to send [01:11:28]OFD Sender: No OFD packet to send [01:11:33]OFD Sender: No OFD packet to send [01:11:38]OFD Sender: No OFD packet to send [01:11:43]OFD Sender: No OFD packet to send [01:11:48]OFD Sender: No OFD packet to send [01:11:53]OFD Sender: No OFD packet to send [01:11:58]OFD Sender: No OFD packet to send [01:12:03]OFD Sender: No OFD packet to send [01:12:08]OFD Sender: No OFD packet to send [01:12:13]OFD Sender: No OFD packet to send [01:12:18]OFD Sender: No OFD packet to send [01:12:23]OFD Sender: No OFD packet to send [01:12:28]OFD Sender: No OFD packet to send [01:12:33]OFD Sender: No OFD packet to send [01:12:38]OFD Sender: No OFD packet to send [01:12:43]OFD Sender: No OFD packet to send [01:12:48]OFD Sender: No OFD packet to send [01:12:53]OFD Sender: No OFD packet to send [01:12:58]OFD Sender: No OFD packet to send [01:13:03]OFD Sender: No OFD packet to send [01:13:08]OFD Sender: No OFD packet to send [01:13:13]OFD Sender: No OFD packet to send [01:13:18]OFD Sender: No OFD packet to send [01:13:23]OFD Sender: No OFD packet to send [01:13:28]OFD Sender: No OFD packet to send [01:13:33]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:53]OFD Sender: No OFD packet to send [01:17:58]OFD Sender: No OFD packet to send [01:18:03]OFD Sender: No OFD packet to send [01:18:08]OFD Sender: No OFD packet to send [01:18:13]OFD Sender: No OFD packet to send [01:18:18]OFD Sender: No OFD packet to send [01:18:23]OFD Sender: No OFD packet to send [01:18:28]OFD Sender: No OFD packet to send [01:18:33]OFD Sender: No OFD packet to send [01:18:38]OFD Sender: No OFD packet to send [01:18:43]OFD Sender: No OFD packet to send [01:18:48]OFD Sender: No OFD packet to send [01:18:53]OFD Sender: No OFD packet to send [01:18:58]OFD Sender: No OFD packet to send [01:19:03]OFD Sender: No OFD packet to send [01:19:08]OFD Sender: No OFD packet to send [01:19:13]OFD Sender: No OFD packet to send [01:19:18]OFD Sender: No OFD packet to send [01:19:23]OFD Sender: No OFD packet to send [01:19:24]accept exits with 8 [01:19:24]New connection [01:19:24]New thread 3067018596 created [01:19:24]Thread 3067161956 joined [01:19:24]Waiting for new connection... [01:19:24] Sock 8.Parse request [01:19:24]Sock 8.Check first char [01:19:24]Sock 8.First char is OK [01:19:24]request: POST /json_proto HTTP/1.0 [01:19:24]Method: POST [01:19:24]URL: /json_proto [01:19:24]Method is POST - this is cgi request [01:19:24]url: /json_proto [01:19:24]query_string will be loaded in cgi processing [01:19:24]execute_cgi json_proto POST (null) [01:19:24]execute_cgi path=json_proto method=POST [01:19:24]POST find Content-Length [01:19:24]Host: 172.17.35.133:8080 [01:19:24]Content-Length: 626 [01:19:24]Content-Type: application/json [01:19:24] [01:19:24]POST finish read [01:19:24]Found Content-Length = 626 [01:19:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256302", "tax_sys" : 0, "items" : [ { "code": "4650063115881", "name": "\u041C\u0430\u0441\u043B\u043E GPN Premium N 5W-40 API SN/CF 1\u043B", "price" : 630.00, "quantity" : 1.000, "sum" : 630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 630.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:19:24]execute_script... [01:19:24]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)256302", "tax_sys" : 0, "items" : [ { "code": "4650063115881", "name": "\u041C\u0430\u0441\u043B\u043E GPN Premium N 5W-40 API SN/CF 1\u043B", "price" : 630.00, "quantity" : 1.000, "sum" : 630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 630.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:19:24]POST & json_proto [01:19:24]process_json_proto [01:19:24]json parsed OK: [01:19:24]protocol is kg_v1.0 [01:19:24]action value=close_receipt [01:19:24]process_action close_receipt [01:19:24]cmd_close_receipt [01:19:24]MH_GetDate [01:19:24]Write to MH i2c: F0 00 00 56 05 4A [01:19:24]Write i2c OK [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: F0 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: F0 09 00 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: F0 09 00 56 05 00 1D D6 91 66 1B 28 2A 66 10 [01:19:24]GetLastDocTimeStamp 1720832831 [01:19:24]current date 1720833565 [01:19:24]FM_GetShiftState [01:19:24]SAM_PROTO_GetShiftState [01:19:24]wFMCommunicate request_size=4 [01:19:24]MH_SAM_APDU [01:19:24]CAPDU: 80 13 01 00 [01:19:24]Write to MH i2c: E2 08 00 57 05 80 13 01 00 00 00 00 00 D9 [01:19:24]Write i2c OK [01:19:24]MH_I2C_Read... [01:19:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:19:24]Read from MH i2c: E2 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 0E 00 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 0E 00 57 05 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 64 [01:19:24]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [01:19:24]wFMCommunicate OK [01:19:24]SAM_PROTO_GetShiftState done [01:19:24]FM_GetShiftState done [01:19:24]opened in 1720829379 [01:19:24]opened+sec_in_day 1720915779 [01:19:24]quantity*price = 63000 [01:19:24]sum+1 = 63001 [01:19:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 630.00 НСП 1% : 5.57 НДС 12% : 66.90 Наличными: 630.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 7 13.07.2024 01:19 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1838 ФПД: 162502142005356 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T011925&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1838&fm=162502142005356&tin=02508201610067®Number=0000000000177495&sum=63000 0 [01:19:25]StoreToDocumentArchive [01:19:25]shift 24 fd 1838 [01:19:25]save to /storage/0024/doc_00001838 [01:19:25]save last doc name /storage/0024/doc_00001838 to /storage/kkm_last_doc_name [01:19:25]save OK [01:19:25]Clear old archive folders... [01:19:25]ProcessDocumentItem done err = 0, tmpTLVsize=286 [01:19:25]tlvbuf is 00F7B180 [01:19:25]SAM_PROTO_ClearQueue [01:19:25]wFMCommunicate request_size=4 [01:19:25]MH_SAM_APDU [01:19:25]CAPDU: 80 09 00 00 [01:19:25]Write to MH i2c: E2 08 00 64 05 80 09 00 00 00 00 00 00 DB [01:19:25]Write i2c OK [01:19:25]MH_I2C_Read... [01:19:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:19:25]Read from MH i2c: E2 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: E2 03 00 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: E2 03 00 64 05 00 90 00 DD [01:19:25]RAPDU: 90 00 [01:19:25]wFMCommunicate OK [01:19:25]SAM_PROTO_ClearQueue done [01:19:25]KKMCreateOFDPacket [01:19:25]OFDProtocolAddRootSTLVToBuf [01:19:25]FM_MakeSignedData [01:19:25]FM_MakeSignedData [01:19:25]SAM_PROTO_SignData [01:19:25]wFMCommunicate request_size=4 [01:19:25]MH_SAM_APDU [01:19:25]CAPDU: 80 0D 01 02 [01:19:25]Write to MH i2c: E2 08 00 65 05 80 0D 01 02 00 00 00 00 E3 [01:19:25]Write i2c OK [01:19:25]MH_I2C_Read... [01:19:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:19:26]Read from MH i2c: E2 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 03 00 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 03 00 65 05 00 90 00 DE [01:19:26]RAPDU: 90 00 [01:19:26]wFMCommunicate OK [01:19:26]wFMCommunicate request_size=255 [01:19:26]MH_SAM_APDU [01:19:26]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 35 38 38 31 06 04 2C 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 50 72 65 6D 69 75 6D 20 4E 20 35 57 2D 34 30 20 41 50 49 20 53 4E 2F 43 46 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 1D D6 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 [01:19:26]Write to MH i2c: E2 02 01 66 05 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 35 38 38 31 06 04 2C 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 50 72 65 6D 69 75 6D 20 4E 20 35 57 2D 34 30 20 41 50 49 20 53 4E 2F 43 46 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 1D D6 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 00 00 73 [01:19:26]Write i2c OK [01:19:26]MH_I2C_Read... [01:19:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:19:26]Read from MH i2c: E2 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 03 00 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 03 00 66 05 00 90 00 DF [01:19:26]RAPDU: 90 00 [01:19:26]wFMCommunicate OK [01:19:26]wFMCommunicate request_size=45 [01:19:26]MH_SAM_APDU [01:19:26]CAPDU: 80 0D 02 02 28 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2E 07 00 00 35 04 06 00 93 CB 7A 73 10 6C [01:19:26]Write to MH i2c: E2 30 00 67 05 80 0D 02 02 28 00 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2E 07 00 00 35 04 06 00 93 CB 7A 73 10 6C 00 00 3F [01:19:26]Write i2c OK [01:19:26]MH_I2C_Read... [01:19:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:19:26]Read from MH i2c: E2 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 03 00 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 03 00 67 05 00 90 00 E0 [01:19:26]RAPDU: 90 00 [01:19:26]wFMCommunicate OK [01:19:26]wFMCommunicate request_size=4 [01:19:26]MH_SAM_APDU [01:19:26]CAPDU: 80 0D 03 02 [01:19:26]Write to MH i2c: E2 08 00 68 05 80 0D 03 02 00 00 00 00 E8 [01:19:26]Write i2c OK [01:19:26]MH_I2C_Read... [01:19:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:19:26]Read from MH i2c: E2 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 0B 00 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 0B 00 68 05 00 BA F3 BD 5A 56 D2 BD 40 90 00 D2 [01:19:26]RAPDU: BA F3 BD 5A 56 D2 BD 40 90 00 [01:19:26]wFMCommunicate OK [01:19:26]SAM_PROTO_SignData done [01:19:26]FM_MakeSignedData done [01:19:26]CreateOFDProtocolMessage [01:19:26]wFMCommunicate request_size=4 [01:19:26]MH_SAM_APDU [01:19:26]CAPDU: 80 11 00 00 [01:19:26]Write to MH i2c: E2 08 00 69 05 80 11 00 00 00 00 00 00 E8 [01:19:26]Write i2c OK [01:19:26]MH_I2C_Read... [01:19:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:19:26]Read from MH i2c: E2 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 17 00 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: E2 17 00 69 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 3E [01:19:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [01:19:26]wFMCommunicate OK [01:19:26]CreateOFDProtocolMessage done [01:19:26]OFDSenderStorePacket 1838 [01:19:26]StoreOFDPacket docnum=1838 [01:19:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 32 01 00 00 81 DD 2A 01 87 17 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 35 38 38 31 06 04 2C 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 50 72 65 6D 69 75 6D 20 4E 20 35 57 2D 34 30 20 41 50 49 20 53 4E 2F 43 46 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 1D D6 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2E 07 00 00 35 04 06 00 93 CB 7A 73 10 6C BA F3 BD 5A 56 D2 BD 40 [01:19:26]CheckFolder [01:19:26]dirname=/storage/ofd_packets [01:19:26]CheckFolder done [01:19:26]ProducePacketName [01:19:26]name=ofd_packets/00001838 [01:19:26]NVStorageSaveData ofd_packets/00001838 [01:19:26]File name is /storage/ofd_packets/00001838 [01:19:26]Write 336 bytes [01:19:26]NVStorageSaveData done [01:19:26]OFDSenderStorePacket done [01:19:26]KKMCreateOFDPacket done [01:19:26]NVStorageSaveData kkm_last_timestamp [01:19:26]File name is /storage/kkm_last_timestamp [01:19:26]Write 4 bytes [01:19:26]NVStorageSaveData done [01:19:26]ExternCall_PrintAddStr [01:19:26]wPrintStart [01:19:26]Write to MH i2c: 01 00 00 6A 05 6F [01:19:26]Write i2c OK [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: 01 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: 01 07 00 [01:19:26]MH_I2C_Read... [01:19:26]Read from MH i2c: 01 07 00 6A 05 00 00 00 00 00 FF 0F 84 [01:19:26]RasterBufferAndPrint [01:19:26]line Счет N : (3)256302 [01:19:26]line ИНН: 02508201610067 [01:19:26]line Контрольно-Кассовый Чек [01:19:26]line ПРОДАЖА [01:19:26]line Товар: 4650063115881 [01:19:26]line Масло GPN Premium N 5W-40 API SN/CF 1л [01:19:26]line 1.000 * 630.00 [01:19:26]line = 630.00 [01:19:26]line НДС 12% НСП 1% [01:19:26]line > о реализуемом товаре [01:19:26]line ИТОГО: 630.00 [01:19:26]line НСП 1% : 5.57 [01:19:26]line НДС 12% : 66.90 [01:19:26]line Наличными: 630.00 [01:19:26]line Безнал.: 0.00 [01:19:26]line Место: АЗС № 76 "Партнер Нефть" [01:19:26]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [01:19:26]line СНО: Общий режим [01:19:26]line Чек 7 13.07.2024 01:19 [01:19:26]line Смена: 24 ФФД: 1.0 [01:19:26]line ЗНМ: 0300000124 [01:19:26]line РНМ: 0000000000177495 [01:19:26]line Версия ККМ: 001 [01:19:26]line ФМ: 0000000002098592 [01:19:26]line ФД: 1838 [01:19:26]line ФПД: 162502142005356 [01:19:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T011925&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1838&fm=162502142005356&tin=02508201610067®Number=0000000000177495&sum=63000 [01:19:26]line 0 [01:19:26]OFD Sender: Processing packet 1838 [packets to send 1, broken 0] [01:19:26]ProducePacketName [01:19:26]name=ofd_packets/00001838 [01:19:26]OFD Sender: To server: pG, [01:19:26]CommunicateWithHost lk.salyk.kg:30040 [01:19:26]ConnectInit lk.salyk.kg [01:19:26]written 0, free lines is 4095 [01:19:26]Connected sock=10 [01:19:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 32 01 00 00 81 DD 2A 01 87 17 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 35 38 38 31 06 04 2C 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 50 72 65 6D 69 75 6D 20 4E 20 35 57 2D 34 30 20 41 50 49 20 53 4E 2F 43 46 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 1D D6 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2E 07 00 00 35 04 06 00 93 CB 7A 73 10 6C BA F3 BD 5A 56 D2 BD 40 [01:19:27]Write to MH i2c: 01 00 00 93 05 98 [01:19:27]Write i2c OK [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: 01 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: 01 07 00 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: 01 07 00 93 05 00 00 00 00 00 FF 0C AA [01:19:27]RasterBufferAndPrint [01:19:27]line [01:19:27]line [01:19:27]line [01:19:27]line [01:19:27]line [01:19:27]written 0, free lines is 3332 [01:19:27]MH_Cut [01:19:27]Write to MH i2c: D1 01 00 9A 05 01 71 [01:19:27]Write i2c OK [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: D1 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: D1 01 00 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: D1 01 00 9A 05 00 70 [01:19:27]Write to MH i2c: 01 00 00 9B 05 A0 [01:19:27]Write i2c OK [01:19:27]MH_I2C_Read... [01:19:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 37 09 47 00 69 FF 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 32 30 39 38 35 39 32 10 04 04 00 2E 07 00 00 F4 03 04 00 55 81 91 66 B6 04 01 00 00 97 38 BF DB C8 23 B9 D5 [01:19:27]CommunicateWithHost err = 0 [01:19:27]CheckOFDResponse [01:19:27]1017 (14) - 77093643461234 [01:19:27]1041 (16) - 0000000002098592 [01:19:27]1040 (4) - 1838 [01:19:27]1012 (4) - 12.07.2024 19:17 [01:19:27]1206 (1) - 0 [01:19:27]OFD Sender: Remove packet 1838 [01:19:27]ProducePacketName [01:19:27]name=ofd_packets/00001838 [01:19:27]NVStorageDeleteData [01:19:27]OFD Sender: No OFD packet to send [01:19:27]*** Cut start [01:19:27]*** Partial cut [01:19:27]*** CUTSNS_PIN = 1 [01:19:28]*** CUTSNS_PIN = 0 [01:19:28]*** Brake cut motor [01:19:28]Read from MH i2c: 01 [01:19:28]MH_I2C_Read... [01:19:28]*** Stop cut motor [01:19:28]*** Cut end [01:19:28]Read from MH i2c: 01 07 00 [01:19:28]MH_I2C_Read... [01:19:28]Read from MH i2c: 01 07 00 9B 05 00 00 00 00 00 FF 0F B5 [01:19:28]process_action close_receipt done [01:19:28]requested_data is exist [01:19:28]produce_requested_data [01:19:28]requested_item fm.sn is exist - process it [01:19:28]wFMCommunicate request_size=4 [01:19:28]MH_SAM_APDU [01:19:28]CAPDU: 80 11 00 00 [01:19:28]Write to MH i2c: E2 08 00 9C 05 80 11 00 00 00 00 00 00 1B [01:19:28]Write i2c OK [01:19:28]MH_I2C_Read... [01:19:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:19:28]Read from MH i2c: E2 [01:19:28]MH_I2C_Read... [01:19:28]Read from MH i2c: E2 17 00 [01:19:28]MH_I2C_Read... [01:19:28]Read from MH i2c: E2 17 00 9C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 71 [01:19:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [01:19:28]wFMCommunicate OK [01:19:28]requested_item fd.num is exist - process it [01:19:28]SAM_PROTO_GetFieldsCounters [01:19:28]wFMCommunicate request_size=4 [01:19:28]MH_SAM_APDU [01:19:28]CAPDU: 80 13 00 00 [01:19:28]Write to MH i2c: E2 08 00 9D 05 80 13 00 00 00 00 00 00 1E [01:19:28]Write i2c OK [01:19:28]MH_I2C_Read... [01:19:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:19:28]Read from MH i2c: E2 [01:19:28]MH_I2C_Read... [01:19:28]Read from MH i2c: E2 62 00 [01:19:28]MH_I2C_Read... [01:19:28]Read from MH i2c: E2 62 00 9D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2E 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [01:19:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2E 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:19:28]wFMCommunicate OK [01:19:28]SAM_PROTO_GetFieldsCounters done [01:19:28]requested_item shift.num is exist - process it [01:19:28]requested_item shift.opened is exist - process it [01:19:28]req_shift_opened [01:19:28]FM_GetShiftState [01:19:28]SAM_PROTO_GetShiftState [01:19:28]wFMCommunicate request_size=4 [01:19:28]MH_SAM_APDU [01:19:28]CAPDU: 80 13 01 00 [01:19:28]Write to MH i2c: E2 08 00 9E 05 80 13 01 00 00 00 00 00 20 [01:19:28]Write i2c OK [01:19:28]MH_I2C_Read... [01:19:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:19:28]Read from MH i2c: E2 [01:19:28]MH_I2C_Read... [01:19:28]Read from MH i2c: E2 0E 00 [01:19:28]MH_I2C_Read... [01:19:28]Read from MH i2c: E2 0E 00 9E 05 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 AB [01:19:28]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [01:19:28]wFMCommunicate OK [01:19:28]SAM_PROTO_GetShiftState done [01:19:28]FM_GetShiftState done [01:19:28]req_shift_opened done [01:19:28]requested_item shift.open_date is exist - process it [01:19:28]req_shift_open_date [01:19:28]req_shift_open_date done [01:19:28]produce_requested_data done [01:19:28]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1838,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [01:19:28]process_action_free close_receipt [01:19:28]json_value_free [01:19:28]json_value_free done [01:19:28]process_json_proto returns [01:19:28]Send response to host [01:19:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1838,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [01:19:28]free response buf [01:19:28]execute_script done [01:19:28]execute_script returns [01:19:28]free content buf [01:19:28]Sock 8.Close socket [01:19:28]Sock 8.Thread stoped [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:00]accept exits with 9 [01:21:00]New connection [01:21:00]New thread 3067161956 created [01:21:00]Thread 3067018596 joined [01:21:00]Waiting for new connection... [01:21:00] Sock 9.Parse request [01:21:00]Sock 9.Check first char [01:21:00]Sock 9.First char is OK [01:21:00]request: POST /json_proto HTTP/1.0 [01:21:00]Method: POST [01:21:00]URL: /json_proto [01:21:00]Method is POST - this is cgi request [01:21:00]url: /json_proto [01:21:00]query_string will be loaded in cgi processing [01:21:00]execute_cgi json_proto POST (null) [01:21:00]execute_cgi path=json_proto method=POST [01:21:00]POST find Content-Length [01:21:00]Host: 172.17.35.133:8080 [01:21:00]Content-Length: 644 [01:21:00]Content-Type: application/json [01:21:00] [01:21:00]POST finish read [01:21:00]Found Content-Length = 644 [01:21:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256303", "tax_sys" : 0, "items" : [ { "code": "6931474730350", "name": "\u041C\u043E\u0434\u0443\u043B\u044F\u0442\u043E\u0440 FM \u0441 Bluetooth HOCO E51", "price" : 1320.00, "quantity" : 1.000, "sum" : 1320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:21:00]execute_script... [01:21:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256303", "tax_sys" : 0, "items" : [ { "code": "6931474730350", "name": "\u041C\u043E\u0434\u0443\u043B\u044F\u0442\u043E\u0440 FM \u0441 Bluetooth HOCO E51", "price" : 1320.00, "quantity" : 1.000, "sum" : 1320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:21:00]POST & json_proto [01:21:00]process_json_proto [01:21:00]json parsed OK: [01:21:00]protocol is kg_v1.0 [01:21:00]action value=close_receipt [01:21:00]process_action close_receipt [01:21:00]cmd_close_receipt [01:21:00]MH_GetDate [01:21:00]Write to MH i2c: F0 00 00 9F 05 93 [01:21:00]Write i2c OK [01:21:00]MH_I2C_Read... [01:21:00]Read from MH i2c: F0 [01:21:00]MH_I2C_Read... [01:21:00]Read from MH i2c: F0 09 00 [01:21:00]MH_I2C_Read... [01:21:00]Read from MH i2c: F0 09 00 9F 05 00 7E D6 91 66 1B 28 2A 66 BA [01:21:00]GetLastDocTimeStamp 1720833565 [01:21:00]current date 1720833662 [01:21:00]FM_GetShiftState [01:21:00]SAM_PROTO_GetShiftState [01:21:00]wFMCommunicate request_size=4 [01:21:00]MH_SAM_APDU [01:21:00]CAPDU: 80 13 01 00 [01:21:00]Write to MH i2c: E2 08 00 A0 05 80 13 01 00 00 00 00 00 22 [01:21:00]Write i2c OK [01:21:00]MH_I2C_Read... [01:21:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:21:00]Read from MH i2c: E2 [01:21:00]MH_I2C_Read... [01:21:00]Read from MH i2c: E2 0E 00 [01:21:00]MH_I2C_Read... [01:21:00]Read from MH i2c: E2 0E 00 A0 05 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 AD [01:21:00]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [01:21:00]wFMCommunicate OK [01:21:00]SAM_PROTO_GetShiftState done [01:21:00]FM_GetShiftState done [01:21:00]opened in 1720829379 [01:21:00]opened+sec_in_day 1720915779 [01:21:00]quantity*price = 132000 [01:21:00]sum+1 = 132001 [01:21:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1320.00 НСП 1% : 11.68 НДС 12% : 140.18 Наличными: 1320.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 8 13.07.2024 01:21 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1839 ФПД: 53451081302454 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T012102&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1839&fm=53451081302454&tin=02508201610067®Number=0000000000177495&sum=132000 0 [01:21:02]StoreToDocumentArchive [01:21:02]shift 24 fd 1839 [01:21:02]save to /storage/0024/doc_00001839 [01:21:02]save last doc name /storage/0024/doc_00001839 to /storage/kkm_last_doc_name [01:21:02]save OK [01:21:02]Clear old archive folders... [01:21:02]ProcessDocumentItem done err = 0, tmpTLVsize=285 [01:21:02]tlvbuf is 00F75D50 [01:21:02]SAM_PROTO_ClearQueue [01:21:02]wFMCommunicate request_size=4 [01:21:02]MH_SAM_APDU [01:21:02]CAPDU: 80 09 00 00 [01:21:02]Write to MH i2c: E2 08 00 AD 05 80 09 00 00 00 00 00 00 24 [01:21:02]Write i2c OK [01:21:02]MH_I2C_Read... [01:21:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:21:02]Read from MH i2c: E2 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 03 00 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 03 00 AD 05 00 90 00 26 [01:21:02]RAPDU: 90 00 [01:21:02]wFMCommunicate OK [01:21:02]SAM_PROTO_ClearQueue done [01:21:02]KKMCreateOFDPacket [01:21:02]OFDProtocolAddRootSTLVToBuf [01:21:02]FM_MakeSignedData [01:21:02]FM_MakeSignedData [01:21:02]SAM_PROTO_SignData [01:21:02]wFMCommunicate request_size=4 [01:21:02]MH_SAM_APDU [01:21:02]CAPDU: 80 0D 01 02 [01:21:02]Write to MH i2c: E2 08 00 AE 05 80 0D 01 02 00 00 00 00 2C [01:21:02]Write i2c OK [01:21:02]MH_I2C_Read... [01:21:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:21:02]Read from MH i2c: E2 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 03 00 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 03 00 AE 05 00 90 00 27 [01:21:02]RAPDU: 90 00 [01:21:02]wFMCommunicate OK [01:21:02]wFMCommunicate request_size=255 [01:21:02]MH_SAM_APDU [01:21:02]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 36 39 33 31 34 37 34 37 33 30 33 35 30 06 04 2B 00 D0 9C D0 BE D0 B4 D1 83 D0 BB D1 8F D1 82 D0 BE D1 80 20 46 4D 20 D1 81 20 42 6C 75 65 74 6F 6F 74 68 20 48 4F 43 4F 20 45 35 31 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 03 02 00 00 00 13 04 06 00 A0 03 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 03 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 36 00 00 00 00 07 04 06 00 A0 03 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 7E D6 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 [01:21:02]Write to MH i2c: E2 02 01 AF 05 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 36 39 33 31 34 37 34 37 33 30 33 35 30 06 04 2B 00 D0 9C D0 BE D0 B4 D1 83 D0 BB D1 8F D1 82 D0 BE D1 80 20 46 4D 20 D1 81 20 42 6C 75 65 74 6F 6F 74 68 20 48 4F 43 4F 20 45 35 31 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 03 02 00 00 00 13 04 06 00 A0 03 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 03 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 36 00 00 00 00 07 04 06 00 A0 03 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 7E D6 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 00 00 7E [01:21:02]Write i2c OK [01:21:02]MH_I2C_Read... [01:21:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:21:02]Read from MH i2c: E2 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 03 00 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 03 00 AF 05 00 90 00 28 [01:21:02]RAPDU: 90 00 [01:21:02]wFMCommunicate OK [01:21:02]wFMCommunicate request_size=44 [01:21:02]MH_SAM_APDU [01:21:02]CAPDU: 80 0D 02 02 27 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2F 07 00 00 35 04 06 00 30 9D 0C B6 C1 B6 [01:21:02]Write to MH i2c: E2 2F 00 B0 05 80 0D 02 02 27 00 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2F 07 00 00 35 04 06 00 30 9D 0C B6 C1 B6 00 00 8D [01:21:02]Write i2c OK [01:21:02]MH_I2C_Read... [01:21:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:21:02]Read from MH i2c: E2 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 03 00 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 03 00 B0 05 00 90 00 29 [01:21:02]RAPDU: 90 00 [01:21:02]wFMCommunicate OK [01:21:02]wFMCommunicate request_size=4 [01:21:02]MH_SAM_APDU [01:21:02]CAPDU: 80 0D 03 02 [01:21:02]Write to MH i2c: E2 08 00 B1 05 80 0D 03 02 00 00 00 00 31 [01:21:02]Write i2c OK [01:21:02]MH_I2C_Read... [01:21:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:21:02]Read from MH i2c: E2 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 0B 00 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 0B 00 B1 05 00 2F 1E A8 79 AC 3C B1 A5 90 00 DE [01:21:02]RAPDU: 2F 1E A8 79 AC 3C B1 A5 90 00 [01:21:02]wFMCommunicate OK [01:21:02]SAM_PROTO_SignData done [01:21:02]FM_MakeSignedData done [01:21:02]CreateOFDProtocolMessage [01:21:02]wFMCommunicate request_size=4 [01:21:02]MH_SAM_APDU [01:21:02]CAPDU: 80 11 00 00 [01:21:02]Write to MH i2c: E2 08 00 B2 05 80 11 00 00 00 00 00 00 31 [01:21:02]Write i2c OK [01:21:02]MH_I2C_Read... [01:21:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:21:02]Read from MH i2c: E2 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 17 00 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: E2 17 00 B2 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 87 [01:21:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [01:21:02]wFMCommunicate OK [01:21:02]CreateOFDProtocolMessage done [01:21:02]OFDSenderStorePacket 1839 [01:21:02]StoreOFDPacket docnum=1839 [01:21:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 31 01 00 00 F8 4A 29 01 27 5B 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 36 39 33 31 34 37 34 37 33 30 33 35 30 06 04 2B 00 D0 9C D0 BE D0 B4 D1 83 D0 BB D1 8F D1 82 D0 BE D1 80 20 46 4D 20 D1 81 20 42 6C 75 65 74 6F 6F 74 68 20 48 4F 43 4F 20 45 35 31 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 03 02 00 00 00 13 04 06 00 A0 03 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 03 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 36 00 00 00 00 07 04 06 00 A0 03 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 7E D6 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2F 07 00 00 35 04 06 00 30 9D 0C B6 C1 B6 2F 1E A8 79 AC 3C B1 A5 [01:21:02]CheckFolder [01:21:02]dirname=/storage/ofd_packets [01:21:02]CheckFolder done [01:21:02]ProducePacketName [01:21:02]name=ofd_packets/00001839 [01:21:02]NVStorageSaveData ofd_packets/00001839 [01:21:02]File name is /storage/ofd_packets/00001839 [01:21:02]Write 335 bytes [01:21:02]NVStorageSaveData done [01:21:02]OFDSenderStorePacket done [01:21:02]KKMCreateOFDPacket done [01:21:02]NVStorageSaveData kkm_last_timestamp [01:21:02]File name is /storage/kkm_last_timestamp [01:21:02]Write 4 bytes [01:21:02]NVStorageSaveData done [01:21:02]ExternCall_PrintAddStr [01:21:02]wPrintStart [01:21:02]Write to MH i2c: 01 00 00 B3 05 B8 [01:21:02]Write i2c OK [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: 01 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: 01 07 00 [01:21:02]MH_I2C_Read... [01:21:02]Read from MH i2c: 01 07 00 B3 05 00 00 00 00 00 FF 0F CD [01:21:02]RasterBufferAndPrint [01:21:02]line Счет N : (3)256303 [01:21:02]line ИНН: 02508201610067 [01:21:02]line Контрольно-Кассовый Чек [01:21:02]line ПРОДАЖА [01:21:02]line Товар: 6931474730350 [01:21:02]line Модулятор FM с Bluetooth HOCO E51 [01:21:02]line 1.000 * 1320.00 [01:21:02]line = 1320.00 [01:21:02]line НДС 12% НСП 1% [01:21:02]line > о реализуемом товаре [01:21:02]line ИТОГО: 1320.00 [01:21:02]line НСП 1% : 11.68 [01:21:02]line НДС 12% : 140.18 [01:21:02]line Наличными: 1320.00 [01:21:02]line Безнал.: 0.00 [01:21:02]line Место: АЗС № 76 "Партнер Нефть" [01:21:02]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [01:21:02]line СНО: Общий режим [01:21:02]line Чек 8 13.07.2024 01:21 [01:21:02]line Смена: 24 ФФД: 1.0 [01:21:02]line ЗНМ: 0300000124 [01:21:02]line РНМ: 0000000000177495 [01:21:02]line Версия ККМ: 001 [01:21:02]line ФМ: 0000000002098592 [01:21:02]line ФД: 1839 [01:21:02]line ФПД: 53451081302454 [01:21:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T012102&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1839&fm=53451081302454&tin=02508201610067®Number=0000000000177495&sum=132000 [01:21:02]line 0 [01:21:02]OFD Sender: Processing packet 1839 [packets to send 1, broken 0] [01:21:02]ProducePacketName [01:21:02]name=ofd_packets/00001839 [01:21:02]OFD Sender: To server: pG, [01:21:02]CommunicateWithHost lk.salyk.kg:30040 [01:21:02]ConnectInit lk.salyk.kg [01:21:02]written 0, free lines is 4095 [01:21:03]Connected sock=10 [01:21:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 31 01 00 00 F8 4A 29 01 27 5B 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 36 39 33 31 34 37 34 37 33 30 33 35 30 06 04 2B 00 D0 9C D0 BE D0 B4 D1 83 D0 BB D1 8F D1 82 D0 BE D1 80 20 46 4D 20 D1 81 20 42 6C 75 65 74 6F 6F 74 68 20 48 4F 43 4F 20 45 35 31 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 03 02 00 00 00 13 04 06 00 A0 03 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 03 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 36 00 00 00 00 07 04 06 00 A0 03 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 7E D6 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 2F 07 00 00 35 04 06 00 30 9D 0C B6 C1 B6 2F 1E A8 79 AC 3C B1 A5 [01:21:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 47 83 47 00 D3 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 32 30 39 38 35 39 32 10 04 04 00 2F 07 00 00 F4 03 04 00 B5 81 91 66 B6 04 01 00 00 C8 D7 CB 80 F6 1F B6 6B [01:21:03]CommunicateWithHost err = 0 [01:21:03]CheckOFDResponse [01:21:03]1017 (14) - 77093643461234 [01:21:03]1041 (16) - 0000000002098592 [01:21:03]1040 (4) - 1839 [01:21:03]1012 (4) - 12.07.2024 19:19 [01:21:03]1206 (1) - 0 [01:21:03]OFD Sender: Remove packet 1839 [01:21:03]ProducePacketName [01:21:03]name=ofd_packets/00001839 [01:21:03]NVStorageDeleteData [01:21:03]Write to MH i2c: 01 00 00 DC 05 E1 [01:21:03]Write i2c OK [01:21:03]MH_I2C_Read... [01:21:03]Read from MH i2c: 01 [01:21:03]MH_I2C_Read... [01:21:03]Read from MH i2c: 01 07 00 [01:21:03]MH_I2C_Read... [01:21:03]Read from MH i2c: 01 07 00 DC 05 00 00 00 00 00 DF 0C D3 [01:21:03]RasterBufferAndPrint [01:21:03]line [01:21:03]line [01:21:03]line [01:21:03]line [01:21:03]line [01:21:03]written 0, free lines is 3301 [01:21:03]MH_Cut [01:21:03]Write to MH i2c: D1 01 00 E3 05 01 BA [01:21:03]Write i2c OK [01:21:03]MH_I2C_Read... [01:21:03]Read from MH i2c: D1 [01:21:03]MH_I2C_Read... [01:21:03]Read from MH i2c: D1 01 00 [01:21:03]MH_I2C_Read... [01:21:03]Read from MH i2c: D1 01 00 E3 05 00 B9 [01:21:03]Write to MH i2c: 01 00 00 E4 05 E9 [01:21:03]Write i2c OK [01:21:03]MH_I2C_Read... [01:21:03]OFD Sender: No OFD packet to send [01:21:04]*** Cut start [01:21:04]*** Partial cut [01:21:04]*** CUTSNS_PIN = 1 [01:21:04]*** CUTSNS_PIN = 0 [01:21:04]*** Brake cut motor [01:21:04]Read from MH i2c: 01 [01:21:04]MH_I2C_Read... [01:21:04]*** Stop cut motor [01:21:04]*** Cut end [01:21:04]Read from MH i2c: 01 07 00 [01:21:04]MH_I2C_Read... [01:21:04]Read from MH i2c: 01 07 00 E4 05 00 00 00 00 00 FF 0F FE [01:21:04]process_action close_receipt done [01:21:04]requested_data is exist [01:21:04]produce_requested_data [01:21:04]requested_item fm.sn is exist - process it [01:21:04]wFMCommunicate request_size=4 [01:21:04]MH_SAM_APDU [01:21:04]CAPDU: 80 11 00 00 [01:21:04]Write to MH i2c: E2 08 00 E5 05 80 11 00 00 00 00 00 00 64 [01:21:04]Write i2c OK [01:21:04]MH_I2C_Read... [01:21:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:21:04]Read from MH i2c: E2 [01:21:04]MH_I2C_Read... [01:21:04]Read from MH i2c: E2 17 00 [01:21:04]MH_I2C_Read... [01:21:04]Read from MH i2c: E2 17 00 E5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 BA [01:21:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [01:21:04]wFMCommunicate OK [01:21:04]requested_item fd.num is exist - process it [01:21:04]SAM_PROTO_GetFieldsCounters [01:21:04]wFMCommunicate request_size=4 [01:21:04]MH_SAM_APDU [01:21:04]CAPDU: 80 13 00 00 [01:21:04]Write to MH i2c: E2 08 00 E6 05 80 13 00 00 00 00 00 00 67 [01:21:04]Write i2c OK [01:21:04]MH_I2C_Read... [01:21:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:21:04]Read from MH i2c: E2 [01:21:04]MH_I2C_Read... [01:21:04]Read from MH i2c: E2 62 00 [01:21:04]MH_I2C_Read... [01:21:04]Read from MH i2c: E2 62 00 E6 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2F 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [01:21:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 2F 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:21:04]wFMCommunicate OK [01:21:04]SAM_PROTO_GetFieldsCounters done [01:21:04]requested_item shift.num is exist - process it [01:21:04]requested_item shift.opened is exist - process it [01:21:04]req_shift_opened [01:21:04]FM_GetShiftState [01:21:04]SAM_PROTO_GetShiftState [01:21:04]wFMCommunicate request_size=4 [01:21:04]MH_SAM_APDU [01:21:04]CAPDU: 80 13 01 00 [01:21:04]Write to MH i2c: E2 08 00 E7 05 80 13 01 00 00 00 00 00 69 [01:21:04]Write i2c OK [01:21:04]MH_I2C_Read... [01:21:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:21:04]Read from MH i2c: E2 [01:21:04]MH_I2C_Read... [01:21:04]Read from MH i2c: E2 0E 00 [01:21:04]MH_I2C_Read... [01:21:04]Read from MH i2c: E2 0E 00 E7 05 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 F4 [01:21:04]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [01:21:04]wFMCommunicate OK [01:21:04]SAM_PROTO_GetShiftState done [01:21:04]FM_GetShiftState done [01:21:04]req_shift_opened done [01:21:04]requested_item shift.open_date is exist - process it [01:21:04]req_shift_open_date [01:21:04]req_shift_open_date done [01:21:04]produce_requested_data done [01:21:04]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1839,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [01:21:04]process_action_free close_receipt [01:21:04]json_value_free [01:21:04]json_value_free done [01:21:04]process_json_proto returns [01:21:04]Send response to host [01:21:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1839,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [01:21:04]free response buf [01:21:04]execute_script done [01:21:04]execute_script returns [01:21:04]free content buf [01:21:04]Sock 9.Close socket [01:21:04]Sock 9.Thread stoped [01:21:08]recv_with_timeout no data received [01:21:08]OFD Sender: No OFD packet to send [01:21:13]OFD Sender: No OFD packet to send [01:21:18]OFD Sender: No OFD packet to send [01:21:23]OFD Sender: No OFD packet to send [01:21:28]OFD Sender: No OFD packet to send [01:21:33]OFD Sender: No OFD packet to send [01:21:38]OFD Sender: No OFD packet to send [01:21:43]OFD Sender: No OFD packet to send [01:21:48]OFD Sender: No OFD packet to send [01:21:53]OFD Sender: No OFD packet to send [01:21:58]OFD Sender: No OFD packet to send [01:22:03]OFD Sender: No OFD packet to send [01:22:08]OFD Sender: No OFD packet to send [01:22:13]OFD Sender: No OFD packet to send [01:22:18]OFD Sender: No OFD packet to send [01:22:23]OFD Sender: No OFD packet to send [01:22:28]OFD Sender: No OFD packet to send [01:22:33]OFD Sender: No OFD packet to send [01:22:38]OFD Sender: No OFD packet to send [01:22:43]OFD Sender: No OFD packet to send [01:22:48]OFD Sender: No OFD packet to send [01:22:53]OFD Sender: No OFD packet to send [01:22:58]OFD Sender: No OFD packet to send [01:23:03]OFD Sender: No OFD packet to send [01:23:08]OFD Sender: No OFD packet to send [01:23:13]OFD Sender: No OFD packet to send [01:23:18]OFD Sender: No OFD packet to send [01:23:23]OFD Sender: No OFD packet to send [01:23:28]OFD Sender: No OFD packet to send [01:23:33]OFD Sender: No OFD packet to send [01:23:38]OFD Sender: No OFD packet to send [01:23:43]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]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:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:33]recv_with_timeout no data received [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]recv_with_timeout no data received [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]recv_with_timeout no data received [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:38:41]ConnectInit Can't connect to host [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:08]recv_with_timeout no data received [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:23]recv_with_timeout no data received [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]OFD Sender: No OFD packet to send [01:41:34]OFD Sender: No OFD packet to send [01:41:39]OFD Sender: No OFD packet to send [01:41:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:53]ConnectInit Can't connect to host [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:38]accept exits with 8 [01:43:38]New connection [01:43:38]New thread 3067018596 created [01:43:38]Thread 3067161956 joined [01:43:38]Waiting for new connection... [01:43:38] Sock 8.Parse request [01:43:38]Sock 8.Check first char [01:43:38]Sock 8.First char is OK [01:43:38]request: POST /json_proto HTTP/1.0 [01:43:38]Method: POST [01:43:38]URL: /json_proto [01:43:38]Method is POST - this is cgi request [01:43:38]url: /json_proto [01:43:38]query_string will be loaded in cgi processing [01:43:38]execute_cgi json_proto POST (null) [01:43:38]execute_cgi path=json_proto method=POST [01:43:38]POST find Content-Length [01:43:38]Host: 172.17.35.133:8080 [01:43:38]Content-Length: 660 [01:43:38]Content-Type: application/json [01:43:38] [01:43:38]POST finish read [01:43:38]Found Content-Length = 660 [01:43:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)256304", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:43:38]execute_script... [01:43: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)256304", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:43:38]POST & json_proto [01:43:38]process_json_proto [01:43:38]json parsed OK: [01:43:38]protocol is kg_v1.0 [01:43:38]action value=close_receipt [01:43:38]process_action close_receipt [01:43:38]cmd_close_receipt [01:43:38]MH_GetDate [01:43:38]Write to MH i2c: F0 00 00 E8 05 DC [01:43:38]Write i2c OK [01:43:38]MH_I2C_Read... [01:43:38]Read from MH i2c: F0 [01:43:38]MH_I2C_Read... [01:43:38]Read from MH i2c: F0 09 00 [01:43:38]MH_I2C_Read... [01:43:38]Read from MH i2c: F0 09 00 E8 05 00 CC DB 91 66 1B 28 2A 66 56 [01:43:38]GetLastDocTimeStamp 1720833662 [01:43:38]current date 1720835020 [01:43:38]FM_GetShiftState [01:43:38]SAM_PROTO_GetShiftState [01:43:38]wFMCommunicate request_size=4 [01:43:38]MH_SAM_APDU [01:43:38]CAPDU: 80 13 01 00 [01:43:38]Write to MH i2c: E2 08 00 E9 05 80 13 01 00 00 00 00 00 6B [01:43:38]Write i2c OK [01:43:38]MH_I2C_Read... [01:43:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:43:38]Read from MH i2c: E2 [01:43:38]MH_I2C_Read... [01:43:38]Read from MH i2c: E2 0E 00 [01:43:38]MH_I2C_Read... [01:43:38]Read from MH i2c: E2 0E 00 E9 05 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 F6 [01:43:38]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [01:43:38]wFMCommunicate OK [01:43:38]SAM_PROTO_GetShiftState done [01:43:38]FM_GetShiftState done [01:43:38]opened in 1720829379 [01:43:38]opened+sec_in_day 1720915779 [01:43:38]quantity*price = 15500 [01:43:38]sum+1 = 15501 [01:43:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 СНО: Общий режим Чек 9 13.07.2024 01:43 Смена: 24 ФФД: 1.0 ЗНМ: 0300000124 РНМ: 0000000000177495 Версия ККМ: 001 ФМ: 0000000002098592 ФД: 1840 ФПД: 59210931128006 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T014340&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1840&fm=59210931128006&tin=02508201610067®Number=0000000000177495&sum=15500 0 [01:43:40]StoreToDocumentArchive [01:43:40]shift 24 fd 1840 [01:43:40]save to /storage/0024/doc_00001840 [01:43:40]save last doc name /storage/0024/doc_00001840 to /storage/kkm_last_doc_name [01:43:40]save OK [01:43:40]Clear old archive folders... [01:43:40]ProcessDocumentItem done err = 0, tmpTLVsize=280 [01:43:40]tlvbuf is 00F409F0 [01:43:40]SAM_PROTO_ClearQueue [01:43:40]wFMCommunicate request_size=4 [01:43:40]MH_SAM_APDU [01:43:40]CAPDU: 80 09 00 00 [01:43:40]Write to MH i2c: E2 08 00 F6 05 80 09 00 00 00 00 00 00 6D [01:43:40]Write i2c OK [01:43:40]MH_I2C_Read... [01:43:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:43:40]Read from MH i2c: E2 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 03 00 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 03 00 F6 05 00 90 00 6F [01:43:40]RAPDU: 90 00 [01:43:40]wFMCommunicate OK [01:43:40]SAM_PROTO_ClearQueue done [01:43:40]KKMCreateOFDPacket [01:43:40]OFDProtocolAddRootSTLVToBuf [01:43:40]FM_MakeSignedData [01:43:40]FM_MakeSignedData [01:43:40]SAM_PROTO_SignData [01:43:40]wFMCommunicate request_size=4 [01:43:40]MH_SAM_APDU [01:43:40]CAPDU: 80 0D 01 02 [01:43:40]Write to MH i2c: E2 08 00 F7 05 80 0D 01 02 00 00 00 00 75 [01:43:40]Write i2c OK [01:43:40]MH_I2C_Read... [01:43:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:43:40]Read from MH i2c: E2 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 03 00 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 03 00 F7 05 00 90 00 70 [01:43:40]RAPDU: 90 00 [01:43:40]wFMCommunicate OK [01:43:40]wFMCommunicate request_size=255 [01:43:40]MH_SAM_APDU [01:43:40]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 CC DB 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 [01:43:40]Write to MH i2c: E2 02 01 F8 05 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 CC DB 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 00 00 55 [01:43:40]Write i2c OK [01:43:40]MH_I2C_Read... [01:43:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:43:40]Read from MH i2c: E2 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 03 00 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 03 00 F8 05 00 90 00 71 [01:43:40]RAPDU: 90 00 [01:43:40]wFMCommunicate OK [01:43:40]wFMCommunicate request_size=39 [01:43:40]MH_SAM_APDU [01:43:40]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 30 07 00 00 35 04 06 00 35 DA 1E 84 46 C6 [01:43:40]Write to MH i2c: E2 2A 00 F9 05 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 30 07 00 00 35 04 06 00 35 DA 1E 84 46 C6 00 00 2A [01:43:40]Write i2c OK [01:43:40]MH_I2C_Read... [01:43:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:43:40]Read from MH i2c: E2 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 03 00 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 03 00 F9 05 00 90 00 72 [01:43:40]RAPDU: 90 00 [01:43:40]wFMCommunicate OK [01:43:40]wFMCommunicate request_size=4 [01:43:40]MH_SAM_APDU [01:43:40]CAPDU: 80 0D 03 02 [01:43:40]Write to MH i2c: E2 08 00 FA 05 80 0D 03 02 00 00 00 00 7A [01:43:40]Write i2c OK [01:43:40]MH_I2C_Read... [01:43:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:43:40]Read from MH i2c: E2 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 0B 00 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 0B 00 FA 05 00 E0 DD FD 78 0F 18 40 A2 90 00 B6 [01:43:40]RAPDU: E0 DD FD 78 0F 18 40 A2 90 00 [01:43:40]wFMCommunicate OK [01:43:40]SAM_PROTO_SignData done [01:43:40]FM_MakeSignedData done [01:43:40]CreateOFDProtocolMessage [01:43:40]wFMCommunicate request_size=4 [01:43:40]MH_SAM_APDU [01:43:40]CAPDU: 80 11 00 00 [01:43:40]Write to MH i2c: E2 08 00 FB 05 80 11 00 00 00 00 00 00 7A [01:43:40]Write i2c OK [01:43:40]MH_I2C_Read... [01:43:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:43:40]Read from MH i2c: E2 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 17 00 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: E2 17 00 FB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 D0 [01:43:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [01:43:40]wFMCommunicate OK [01:43:40]CreateOFDProtocolMessage done [01:43:40]OFDSenderStorePacket 1840 [01:43:40]StoreOFDPacket docnum=1840 [01:43:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2C 01 00 00 28 06 24 01 E0 BC 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 CC DB 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 30 07 00 00 35 04 06 00 35 DA 1E 84 46 C6 E0 DD FD 78 0F 18 40 A2 [01:43:40]CheckFolder [01:43:40]dirname=/storage/ofd_packets [01:43:40]CheckFolder done [01:43:40]ProducePacketName [01:43:40]name=ofd_packets/00001840 [01:43:40]NVStorageSaveData ofd_packets/00001840 [01:43:40]File name is /storage/ofd_packets/00001840 [01:43:40]Write 330 bytes [01:43:40]NVStorageSaveData done [01:43:40]OFDSenderStorePacket done [01:43:40]KKMCreateOFDPacket done [01:43:40]NVStorageSaveData kkm_last_timestamp [01:43:40]File name is /storage/kkm_last_timestamp [01:43:40]Write 4 bytes [01:43:40]NVStorageSaveData done [01:43:40]ExternCall_PrintAddStr [01:43:40]wPrintStart [01:43:40]Write to MH i2c: 01 00 00 FC 05 01 [01:43:40]Write i2c OK [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: 01 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: 01 07 00 [01:43:40]MH_I2C_Read... [01:43:40]Read from MH i2c: 01 07 00 FC 05 00 00 00 00 00 FF 0F 16 [01:43:40]RasterBufferAndPrint [01:43:40]line Счет N : (3)256304 [01:43:40]line ИНН: 02508201610067 [01:43:40]line Контрольно-Кассовый Чек [01:43:40]line ПРОДАЖА [01:43:40]line Товар: 5449000000439 [01:43:40]line Напиток Кока-Кола 1,5л [01:43:40]line 1.000 * 155.00 [01:43:40]line = 155.00 [01:43:40]line НДС 12% НСП 1% [01:43:40]line > о реализуемом товаре [01:43:40]line ИТОГО: 155.00 [01:43:40]line НСП 1% : 1.37 [01:43:40]line НДС 12% : 16.46 [01:43:40]line Наличными: 155.00 [01:43:40]line Безнал.: 0.00 [01:43:40]line Место: АЗС № 76 "Партнер Нефть" [01:43:40]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056,72.552224 [01:43:40]line СНО: Общий режим [01:43:40]line Чек 9 13.07.2024 01:43 [01:43:40]line Смена: 24 ФФД: 1.0 [01:43:40]line ЗНМ: 0300000124 [01:43:40]line РНМ: 0000000000177495 [01:43:40]line Версия ККМ: 001 [01:43:40]line ФМ: 0000000002098592 [01:43:40]line ФД: 1840 [01:43:40]line ФПД: 59210931128006 [01:43:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T014340&type=1&operation_type=1&fn_number=0000000002098592&fd_number=1840&fm=59210931128006&tin=02508201610067®Number=0000000000177495&sum=15500 [01:43:40]line 0 [01:43:40]OFD Sender: Processing packet 1840 [packets to send 1, broken 0] [01:43:40]ProducePacketName [01:43:40]name=ofd_packets/00001840 [01:43:40]OFD Sender: To server: pG, [01:43:40]CommunicateWithHost lk.salyk.kg:30040 [01:43:40]ConnectInit lk.salyk.kg [01:43:40]written 0, free lines is 4095 [01:43:41]Write to MH i2c: 01 00 00 24 06 2A [01:43:41]Write i2c OK [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: 01 [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: 01 07 00 [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: 01 07 00 24 06 00 00 00 00 00 FD 0C 3A [01:43:41]RasterBufferAndPrint [01:43:41]line [01:43:41]line [01:43:41]line [01:43:41]line [01:43:41]line [01:43:41]written 0, free lines is 3332 [01:43:41]MH_Cut [01:43:41]Write to MH i2c: D1 01 00 2B 06 01 03 [01:43:41]Write i2c OK [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: D1 [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: D1 01 00 [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: D1 01 00 2B 06 00 02 [01:43:41]Write to MH i2c: 01 00 00 2C 06 32 [01:43:41]Write i2c OK [01:43:41]MH_I2C_Read... [01:43:42]*** Cut start [01:43:42]*** Partial cut [01:43:42]*** CUTSNS_PIN = 1 [01:43:42]*** CUTSNS_PIN = 0 [01:43:42]*** Brake cut motor [01:43:42]Read from MH i2c: 01 [01:43:42]MH_I2C_Read... [01:43:42]*** Stop cut motor [01:43:42]*** Cut end [01:43:42]Read from MH i2c: 01 07 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: 01 07 00 2C 06 00 00 00 00 00 FF 0F 47 [01:43:42]process_action close_receipt done [01:43:42]requested_data is exist [01:43:42]produce_requested_data [01:43:42]requested_item fm.sn is exist - process it [01:43:42]wFMCommunicate request_size=4 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 11 00 00 [01:43:42]Write to MH i2c: E2 08 00 2D 06 80 11 00 00 00 00 00 00 AD [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:43:42]Read from MH i2c: E2 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 17 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 17 00 2D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 03 [01:43:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 90 00 [01:43:42]wFMCommunicate OK [01:43:42]requested_item fd.num is exist - process it [01:43:42]SAM_PROTO_GetFieldsCounters [01:43:42]wFMCommunicate request_size=4 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 13 00 00 [01:43:42]Write to MH i2c: E2 08 00 2E 06 80 13 00 00 00 00 00 00 B0 [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:43:42]Read from MH i2c: E2 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 62 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 62 00 2E 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 30 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 46 [01:43:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 10 04 04 00 30 07 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:43:42]wFMCommunicate OK [01:43:42]SAM_PROTO_GetFieldsCounters done [01:43:42]requested_item shift.num is exist - process it [01:43:42]requested_item shift.opened is exist - process it [01:43:42]req_shift_opened [01:43:42]FM_GetShiftState [01:43:42]SAM_PROTO_GetShiftState [01:43:42]wFMCommunicate request_size=4 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 13 01 00 [01:43:42]Write to MH i2c: E2 08 00 2F 06 80 13 01 00 00 00 00 00 B2 [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:43:42]Read from MH i2c: E2 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 0E 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 0E 00 2F 06 00 09 00 01 C3 C5 91 66 00 00 00 00 90 00 3D [01:43:42]RAPDU: 09 00 01 C3 C5 91 66 00 00 00 00 90 00 [01:43:42]wFMCommunicate OK [01:43:42]SAM_PROTO_GetShiftState done [01:43:42]FM_GetShiftState done [01:43:42]req_shift_opened done [01:43:42]requested_item shift.open_date is exist - process it [01:43:42]req_shift_open_date [01:43:42]req_shift_open_date done [01:43:42]produce_requested_data done [01:43:42]produce_requested_data return {"fm.sn":"0000000002098592","fd.num":1840,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379} [01:43:42]process_action_free close_receipt [01:43:42]json_value_free [01:43:42]json_value_free done [01:43:42]process_json_proto returns [01:43:42]Send response to host [01:43:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002098592","fd.num":1840,"shift.num":24,"shift.opened":1,"shift.open_date":1720829379}}} [01:43:42]free response buf [01:43:42]execute_script done [01:43:42]execute_script returns [01:43:42]free content buf [01:43:42]Sock 8.Close socket [01:43:42]Sock 8.Thread stoped [01:43:45]ConnectInit Can't take IP for lk.salyk.kg [01:43:45]CommunicateWithHost connect error [01:43:45]CommunicateWithHost err = -1 [01:43:45]OFD Sender: Server communicate error [01:43:50]OFD Sender: Processing packet 1840 [packets to send 1, broken 0] [01:43:50]ProducePacketName [01:43:50]name=ofd_packets/00001840 [01:43:50]OFD Sender: To server: pG, [01:43:50]CommunicateWithHost lk.salyk.kg:30040 [01:43:50]ConnectInit lk.salyk.kg [01:43:55]ConnectInit Can't take IP for lk.salyk.kg [01:43:55]CommunicateWithHost connect error [01:43:55]CommunicateWithHost err = -1 [01:43:55]OFD Sender: Server communicate error [01:44:00]OFD Sender: Processing packet 1840 [packets to send 1, broken 0] [01:44:00]ProducePacketName [01:44:00]name=ofd_packets/00001840 [01:44:00]OFD Sender: To server: pG, [01:44:00]CommunicateWithHost lk.salyk.kg:30040 [01:44:00]ConnectInit lk.salyk.kg [01:44:03]Connected sock=8 [01:44:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 2C 01 00 00 28 06 24 01 E0 BC 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 CC DB 91 66 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 37 37 34 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 30 07 00 00 35 04 06 00 35 DA 1E 84 46 C6 E0 DD FD 78 0F 18 40 A2 [01:44:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 4F 00 00 00 D2 08 47 00 42 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 38 35 39 32 10 04 04 00 30 07 00 00 F4 03 04 00 19 87 91 66 B6 04 01 00 00 2C 3F 11 EB 65 6B FC D0 [01:44:03]CommunicateWithHost err = 0 [01:44:03]CheckOFDResponse [01:44:03]1017 (14) - 77093643461234 [01:44:03]1041 (16) - 0000000002098592 [01:44:03]1040 (4) - 1840 [01:44:03]1012 (4) - 12.07.2024 19:42 [01:44:03]1206 (1) - 0 [01:44:03]OFD Sender: Remove packet 1840 [01:44:03]ProducePacketName [01:44:03]name=ofd_packets/00001840 [01:44:03]NVStorageDeleteData [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]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:30]ConnectInit Can't connect to host [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]recv_with_timeout no data received [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:47]recv_with_timeout no data received [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:21]recv_with_timeout no data received [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: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:10]ConnectInit Can't connect to host [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 [02:06:38]ConnectInit Can't connect to host [02:06:40]OFD Sender: No OFD packet to send [02:11:50]ConnectInit Can't connect to host [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:45]OFD Sender: No OFD packet to send [02:12:45]recv_with_timeout no data received [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:46]recv_with_timeout no data received [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:29]recv_with_timeout no data received [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:22:02]ConnectInit Can't connect to host [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:28]recv_with_timeout no data received [02:22:30]OFD Sender: No OFD packet to send [02:22:35]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:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:02]recv_with_timeout no data received [02:25:06]OFD Sender: No OFD packet to send