[03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:40]OFD Sender: No OFD packet to send [03:03:45]OFD Sender: No OFD packet to send [03:03:50]OFD Sender: No OFD packet to send [03:03:55]OFD Sender: No OFD packet to send [03:04:00]OFD Sender: No OFD packet to send [03:04:05]OFD Sender: No OFD packet to send [03:04:10]OFD Sender: No OFD packet to send [03:04:15]OFD Sender: No OFD packet to send [03:04:20]OFD Sender: No OFD packet to send [03:04:25]OFD Sender: No OFD packet to send [03:04:30]OFD Sender: No OFD packet to send [03:04:35]OFD Sender: No OFD packet to send [03:04:40]OFD Sender: No OFD packet to send [03:04:45]OFD Sender: No OFD packet to send [03:04:50]OFD Sender: No OFD packet to send [03:04:55]OFD Sender: No OFD packet to send [03:05:00]OFD Sender: No OFD packet to send [03:05:05]OFD Sender: No OFD packet to send [03:05:10]OFD Sender: No OFD packet to send [03:05:15]OFD Sender: No OFD packet to send [03:05:20]OFD Sender: No OFD packet to send [03:05:25]OFD Sender: No OFD packet to send [03:05:30]OFD Sender: No OFD packet to send [03:05:35]OFD Sender: No OFD packet to send [03:05:40]OFD Sender: No OFD packet to send [03:05:45]OFD Sender: No OFD packet to send [03:05:50]OFD Sender: No OFD packet to send [03:05:55]OFD Sender: No OFD packet to send [03:06:00]OFD Sender: No OFD packet to send [03:06:05]OFD Sender: No OFD packet to send [03:06:10]OFD Sender: No OFD packet to send [03:06:15]OFD Sender: No OFD packet to send [03:06:20]OFD Sender: No OFD packet to send [03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]OFD Sender: No OFD packet to send [03:07:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:40]OFD Sender: No OFD packet to send [03:11:45]OFD Sender: No OFD packet to send [03:11:50]OFD Sender: No OFD packet to send [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:15]OFD Sender: No OFD packet to send [03:12:20]OFD Sender: No OFD packet to send [03:12:25]OFD Sender: No OFD packet to send [03:12:30]OFD Sender: No OFD packet to send [03:12:35]OFD Sender: No OFD packet to send [03:12:40]OFD Sender: No OFD packet to send [03:12:45]OFD Sender: No OFD packet to send [03:12:50]OFD Sender: No OFD packet to send [03:12:55]OFD Sender: No OFD packet to send [03:13:00]OFD Sender: No OFD packet to send [03:13:05]OFD Sender: No OFD packet to send [03:13:10]OFD Sender: No OFD packet to send [03:13:15]OFD Sender: No OFD packet to send [03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]OFD Sender: No OFD packet to send [03:16:30]OFD Sender: No OFD packet to send [03:16:35]OFD Sender: No OFD packet to send [03:16:40]OFD Sender: No OFD packet to send [03:16:45]OFD Sender: No OFD packet to send [03:16:50]OFD Sender: No OFD packet to send [03:16:55]OFD Sender: No OFD packet to send [03:17:00]OFD Sender: No OFD packet to send [03:17:05]OFD Sender: No OFD packet to send [03:17:10]OFD Sender: No OFD packet to send [03:17:15]OFD Sender: No OFD packet to send [03:17:20]OFD Sender: No OFD packet to send [03:17:25]OFD Sender: No OFD packet to send [03:17:30]OFD Sender: No OFD packet to send [03:17:33]int [03:17:33]Write to MH i2c: 01 00 00 DD 5C 39 [03:17:33]*** FLAG_PRN_PAP1 set [03:17:33]Write i2c OK [03:17:33]MH_I2C_Read... [03:17:33]Read from MH i2c: 01 [03:17:33]MH_I2C_Read... [03:17:33]Read from MH i2c: 01 07 00 [03:17:33]MH_I2C_Read... [03:17:33]Read from MH i2c: 01 07 00 DD 5C 00 01 00 00 00 FF 0F 4F [03:17:33]state=0 [03:17:33]No paper [03:17:33]int [03:17:33]Write to MH i2c: 01 00 00 DE 5C 3A [03:17:33]*** FLAG_PRN_PAP2 set [03:17:33]Write i2c OK [03:17:33]MH_I2C_Read... [03:17:33]Read from MH i2c: 01 [03:17:33]MH_I2C_Read... [03:17:33]Read from MH i2c: 01 07 00 [03:17:33]MH_I2C_Read... [03:17:33]Read from MH i2c: 01 07 00 DE 5C 00 03 00 00 00 FF 0F 52 [03:17:33]state=0 [03:17:33]No paper [03:17:33]Cover opened [03:17:35]OFD Sender: No OFD packet to send [03:17:38]Write to MH i2c: 01 00 00 DF 5C 3B [03:17:38]Write i2c OK [03:17:38]MH_I2C_Read... [03:17:38]Read from MH i2c: 01 [03:17:38]MH_I2C_Read... [03:17:38]Read from MH i2c: 01 07 00 [03:17:38]MH_I2C_Read... [03:17:38]Read from MH i2c: 01 07 00 DF 5C 00 03 00 00 00 FF 0F 53 [03:17:38]state=3 [03:17:38]No paper [03:17:38]Cover opened [03:17:40]OFD Sender: No OFD packet to send [03:17:43]Write to MH i2c: 01 00 00 E0 5C 3C [03:17:43]Write i2c OK [03:17:43]MH_I2C_Read... [03:17:43]Read from MH i2c: 01 [03:17:43]MH_I2C_Read... [03:17:43]Read from MH i2c: 01 07 00 [03:17:43]MH_I2C_Read... [03:17:43]Read from MH i2c: 01 07 00 E0 5C 00 03 00 00 00 FF 0F 54 [03:17:43]state=3 [03:17:43]No paper [03:17:43]Cover opened [03:17:45]OFD Sender: No OFD packet to send [03:17:48]Write to MH i2c: 01 00 00 E1 5C 3D [03:17:48]Write i2c OK [03:17:48]MH_I2C_Read... [03:17:48]Read from MH i2c: 01 [03:17:48]MH_I2C_Read... [03:17:48]Read from MH i2c: 01 07 00 [03:17:48]MH_I2C_Read... [03:17:48]Read from MH i2c: 01 07 00 E1 5C 00 03 00 00 00 FF 0F 55 [03:17:48]state=3 [03:17:48]No paper [03:17:48]Cover opened [03:17:50]OFD Sender: No OFD packet to send [03:17:53]Write to MH i2c: 01 00 00 E2 5C 3E [03:17:53]Write i2c OK [03:17:53]MH_I2C_Read... [03:17:53]Read from MH i2c: 01 [03:17:53]MH_I2C_Read... [03:17:53]Read from MH i2c: 01 07 00 [03:17:53]MH_I2C_Read... [03:17:53]Read from MH i2c: 01 07 00 E2 5C 00 03 00 00 00 FF 0F 56 [03:17:53]state=3 [03:17:53]No paper [03:17:53]Cover opened [03:17:55]OFD Sender: No OFD packet to send [03:17:58]Write to MH i2c: 01 00 00 E3 5C 3F [03:17:58]Write i2c OK [03:17:58]MH_I2C_Read... [03:17:58]Read from MH i2c: 01 [03:17:58]MH_I2C_Read... [03:17:58]Read from MH i2c: 01 07 00 [03:17:58]MH_I2C_Read... [03:17:58]Read from MH i2c: 01 07 00 E3 5C 00 03 00 00 00 FF 0F 57 [03:17:58]state=3 [03:17:58]No paper [03:17:58]Cover opened [03:18:00]OFD Sender: No OFD packet to send [03:18:02]int [03:18:02]Write to MH i2c: 01 00 00 E4 5C 40 [03:18:02]*** FLAG_PRN_PAP2 reset [03:18:02]Write i2c OK [03:18:02]MH_I2C_Read... [03:18:02]Read from MH i2c: 01 [03:18:02]MH_I2C_Read... [03:18:02]Read from MH i2c: 01 07 00 [03:18:02]MH_I2C_Read... [03:18:02]Read from MH i2c: 01 07 00 E4 5C 00 01 00 00 00 FF 0F 56 [03:18:02]state=3 [03:18:02]No paper [03:18:02]Cover closed [03:18:02]int [03:18:02]Write to MH i2c: 01 00 00 E5 5C 41 [03:18:02]*** FLAG_PRN_PAP1 reset [03:18:02]Write i2c OK [03:18:02]MH_I2C_Read... [03:18:02]Read from MH i2c: 01 [03:18:02]MH_I2C_Read... [03:18:02]Read from MH i2c: 01 07 00 [03:18:02]MH_I2C_Read... [03:18:02]Read from MH i2c: 01 07 00 E5 5C 00 00 00 00 00 FF 0F 56 [03:18:02]state=0 [03:18:05]OFD Sender: No OFD packet to send [03:18:10]OFD Sender: No OFD packet to send [03:18:15]OFD Sender: No OFD packet to send [03:18:20]OFD Sender: No OFD packet to send [03:18:25]OFD Sender: No OFD packet to send [03:18:30]OFD Sender: No OFD packet to send [03:18:35]OFD Sender: No OFD packet to send [03:18:40]OFD Sender: No OFD packet to send [03:18:45]OFD Sender: No OFD packet to send [03:18:50]OFD Sender: No OFD packet to send [03:18:55]OFD Sender: No OFD packet to send [03:19:00]OFD Sender: No OFD packet to send [03:19:05]OFD Sender: No OFD packet to send [03:19:10]OFD Sender: No OFD packet to send [03:19:15]OFD Sender: No OFD packet to send [03:19:20]OFD Sender: No OFD packet to send [03:19:25]OFD Sender: No OFD packet to send [03:19:30]OFD Sender: No OFD packet to send [03:19:35]OFD Sender: No OFD packet to send [03:19:40]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]OFD Sender: No OFD packet to send [03:21:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]OFD Sender: No OFD packet to send [03:21:55]OFD Sender: No OFD packet to send [03:22:00]OFD Sender: No OFD packet to send [03:22:05]OFD Sender: No OFD packet to send [03:22:10]OFD Sender: No OFD packet to send [03:22:15]OFD Sender: No OFD packet to send [03:22:20]OFD Sender: No OFD packet to send [03:22:25]OFD Sender: No OFD packet to send [03:22:30]OFD Sender: No OFD packet to send [03:22:35]OFD Sender: No OFD packet to send [03:22:40]OFD Sender: No OFD packet to send [03:22:45]OFD Sender: No OFD packet to send [03:22:50]OFD Sender: No OFD packet to send [03:22:55]OFD Sender: No OFD packet to send [03:23:00]OFD Sender: No OFD packet to send [03:23:05]OFD Sender: No OFD packet to send [03:23:10]OFD Sender: No OFD packet to send [03:23:15]OFD Sender: No OFD packet to send [03:23:20]OFD Sender: No OFD packet to send [03:23:25]OFD Sender: No OFD packet to send [03:23:30]OFD Sender: No OFD packet to send [03:23:35]OFD Sender: No OFD packet to send [03:23:40]OFD Sender: No OFD packet to send [03:23:45]OFD Sender: No OFD packet to send [03:23:50]OFD Sender: No OFD packet to send [03:23:55]OFD Sender: No OFD packet to send [03:24:00]OFD Sender: No OFD packet to send [03:24:05]OFD Sender: No OFD packet to send [03:24:10]OFD Sender: No OFD packet to send [03:24:15]OFD Sender: No OFD packet to send [03:24:20]OFD Sender: No OFD packet to send [03:24:25]OFD Sender: No OFD packet to send [03:24:30]OFD Sender: No OFD packet to send [03:24:35]OFD Sender: No OFD packet to send [03:24:40]OFD Sender: No OFD packet to send [03:24:45]OFD Sender: No OFD packet to send [03:24:50]OFD Sender: No OFD packet to send [03:24:55]OFD Sender: No OFD packet to send [03:25:00]OFD Sender: No OFD packet to send [03:25:05]OFD Sender: No OFD packet to send [03:25:10]OFD Sender: No OFD packet to send [03:25:15]OFD Sender: No OFD packet to send [03:25:20]OFD Sender: No OFD packet to send [03:25:25]OFD Sender: No OFD packet to send [03:25:30]OFD Sender: No OFD packet to send [03:25:35]OFD Sender: No OFD packet to send [03:25:40]OFD Sender: No OFD packet to send [03:25:46]OFD Sender: No OFD packet to send [03:25:51]OFD Sender: No OFD packet to send [03:25:56]OFD Sender: No OFD packet to send [03:26:01]OFD Sender: No OFD packet to send [03:26:06]OFD Sender: No OFD packet to send [03:26:11]OFD Sender: No OFD packet to send [03:26:16]OFD Sender: No OFD packet to send [03:26:21]OFD Sender: No OFD packet to send [03:26:26]OFD Sender: No OFD packet to send [03:26:31]OFD Sender: No OFD packet to send [03:26:36]OFD Sender: No OFD packet to send [03:26:41]OFD Sender: No OFD packet to send [03:26:46]OFD Sender: No OFD packet to send [03:26:51]OFD Sender: No OFD packet to send [03:26:56]OFD Sender: No OFD packet to send [03:27:01]OFD Sender: No OFD packet to send [03:27:06]OFD Sender: No OFD packet to send [03:27:11]OFD Sender: No OFD packet to send [03:27:16]OFD Sender: No OFD packet to send [03:27:21]OFD Sender: No OFD packet to send [03:27:26]OFD Sender: No OFD packet to send [03:27:31]OFD Sender: No OFD packet to send [03:27:36]OFD Sender: No OFD packet to send [03:27:41]OFD Sender: No OFD packet to send [03:27:46]OFD Sender: No OFD packet to send [03:27:51]OFD Sender: No OFD packet to send [03:27:56]OFD Sender: No OFD packet to send [03:28:01]OFD Sender: No OFD packet to send [03:28:06]OFD Sender: No OFD packet to send [03:28:11]OFD Sender: No OFD packet to send [03:28:16]OFD Sender: No OFD packet to send [03:28:21]OFD Sender: No OFD packet to send [03:28:26]OFD Sender: No OFD packet to send [03:28:31]OFD Sender: No OFD packet to send [03:28:36]OFD Sender: No OFD packet to send [03:28:41]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:36]OFD Sender: No OFD packet to send [03:30:41]OFD Sender: No OFD packet to send [03:30:46]OFD Sender: No OFD packet to send [03:30:51]OFD Sender: No OFD packet to send [03:30:56]OFD Sender: No OFD packet to send [03:31:01]OFD Sender: No OFD packet to send [03:31:06]OFD Sender: No OFD packet to send [03:31:11]OFD Sender: No OFD packet to send [03:31:16]OFD Sender: No OFD packet to send [03:31:21]OFD Sender: No OFD packet to send [03:31:26]OFD Sender: No OFD packet to send [03:31:31]OFD Sender: No OFD packet to send [03:31:36]OFD Sender: No OFD packet to send [03:31:41]OFD Sender: No OFD packet to send [03:31:46]OFD Sender: No OFD packet to send [03:31:51]OFD Sender: No OFD packet to send [03:31:56]OFD Sender: No OFD packet to send [03:32:01]OFD Sender: No OFD packet to send [03:32:06]OFD Sender: No OFD packet to send [03:32:11]OFD Sender: No OFD packet to send [03:32:16]OFD Sender: No OFD packet to send [03:32:21]OFD Sender: No OFD packet to send [03:32:26]OFD Sender: No OFD packet to send [03:32:31]OFD Sender: No OFD packet to send [03:32:36]OFD Sender: No OFD packet to send [03:32:41]OFD Sender: No OFD packet to send [03:32:46]OFD Sender: No OFD packet to send [03:32:51]OFD Sender: No OFD packet to send [03:32:56]OFD Sender: No OFD packet to send [03:33:01]OFD Sender: No OFD packet to send [03:33:06]OFD Sender: No OFD packet to send [03:33:11]OFD Sender: No OFD packet to send [03:33:16]OFD Sender: No OFD packet to send [03:33:21]OFD Sender: No OFD packet to send [03:33:26]OFD Sender: No OFD packet to send [03:33:31]OFD Sender: No OFD packet to send [03:33:36]OFD Sender: No OFD packet to send [03:33:41]OFD Sender: No OFD packet to send [03:33:46]OFD Sender: No OFD packet to send [03:33:51]OFD Sender: No OFD packet to send [03:33:56]OFD Sender: No OFD packet to send [03:34:01]OFD Sender: No OFD packet to send [03:34:06]OFD Sender: No OFD packet to send [03:34:11]OFD Sender: No OFD packet to send [03:34:16]OFD Sender: No OFD packet to send [03:34:21]OFD Sender: No OFD packet to send [03:34:26]OFD Sender: No OFD packet to send [03:34:31]OFD Sender: No OFD packet to send [03:34:36]OFD Sender: No OFD packet to send [03:34:41]OFD Sender: No OFD packet to send [03:34:46]OFD Sender: No OFD packet to send [03:34:51]OFD Sender: No OFD packet to send [03:34:56]OFD Sender: No OFD packet to send [03:35:01]OFD Sender: No OFD packet to send [03:35:06]OFD Sender: No OFD packet to send [03:35:11]OFD Sender: No OFD packet to send [03:35:16]OFD Sender: No OFD packet to send [03:35:21]OFD Sender: No OFD packet to send [03:35:26]OFD Sender: No OFD packet to send [03:35:31]OFD Sender: No OFD packet to send [03:35:36]OFD Sender: No OFD packet to send [03:35:41]OFD Sender: No OFD packet to send [03:35:46]OFD Sender: No OFD packet to send [03:35:51]OFD Sender: No OFD packet to send [03:35:56]OFD Sender: No OFD packet to send [03:36:01]OFD Sender: No OFD packet to send [03:36:06]OFD Sender: No OFD packet to send [03:36:11]OFD Sender: No OFD packet to send [03:36:16]OFD Sender: No OFD packet to send [03:36:21]OFD Sender: No OFD packet to send [03:36:26]OFD Sender: No OFD packet to send [03:36:31]OFD Sender: No OFD packet to send [03:36:36]OFD Sender: No OFD packet to send [03:36:41]OFD Sender: No OFD packet to send [03:36:46]OFD Sender: No OFD packet to send [03:36:51]OFD Sender: No OFD packet to send [03:36:56]OFD Sender: No OFD packet to send [03:37:01]OFD Sender: No OFD packet to send [03:37:06]OFD Sender: No OFD packet to send [03:37:11]OFD Sender: No OFD packet to send [03:37:16]OFD Sender: No OFD packet to send [03:37:21]OFD Sender: No OFD packet to send [03:37:26]OFD Sender: No OFD packet to send [03:37:31]OFD Sender: No OFD packet to send [03:37:36]OFD Sender: No OFD packet to send [03:37:41]OFD Sender: No OFD packet to send [03:37:46]OFD Sender: No OFD packet to send [03:37:51]OFD Sender: No OFD packet to send [03:37:56]OFD Sender: No OFD packet to send [03:38:01]OFD Sender: No OFD packet to send [03:38:06]OFD Sender: No OFD packet to send [03:38:11]OFD Sender: No OFD packet to send [03:38:16]OFD Sender: No OFD packet to send [03:38:21]OFD Sender: No OFD packet to send [03:38:26]OFD Sender: No OFD packet to send [03:38:31]OFD Sender: No OFD packet to send [03:38:36]OFD Sender: No OFD packet to send [03:38:41]OFD Sender: No OFD packet to send [03:38:46]OFD Sender: No OFD packet to send [03:38:51]OFD Sender: No OFD packet to send [03:38:56]OFD Sender: No OFD packet to send [03:39:01]OFD Sender: No OFD packet to send [03:39:06]OFD Sender: No OFD packet to send [03:39:11]OFD Sender: No OFD packet to send [03:39:16]OFD Sender: No OFD packet to send [03:39:21]OFD Sender: No OFD packet to send [03:39:26]OFD Sender: No OFD packet to send [03:39:31]OFD Sender: No OFD packet to send [03:39:36]OFD Sender: No OFD packet to send [03:39:41]OFD Sender: No OFD packet to send [03:39:46]OFD Sender: No OFD packet to send [03:39:51]OFD Sender: No OFD packet to send [03:39:56]OFD Sender: No OFD packet to send [03:40:01]OFD Sender: No OFD packet to send [03:40:06]OFD Sender: No OFD packet to send [03:40:11]OFD Sender: No OFD packet to send [03:40:16]OFD Sender: No OFD packet to send [03:40:21]OFD Sender: No OFD packet to send [03:40:26]OFD Sender: No OFD packet to send [03:40:31]OFD Sender: No OFD packet to send [03:40:36]OFD Sender: No OFD packet to send [03:40:41]OFD Sender: No OFD packet to send [03:40:46]OFD Sender: No OFD packet to send [03:40:51]OFD Sender: No OFD packet to send [03:40:56]OFD Sender: No OFD packet to send [03:41:01]OFD Sender: No OFD packet to send [03:41:06]OFD Sender: No OFD packet to send [03:41:11]OFD Sender: No OFD packet to send [03:41:16]OFD Sender: No OFD packet to send [03:41:21]OFD Sender: No OFD packet to send [03:41:26]OFD Sender: No OFD packet to send [03:41:31]OFD Sender: No OFD packet to send [03:41:36]OFD Sender: No OFD packet to send [03:41:41]OFD Sender: No OFD packet to send [03:41:46]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:26]OFD Sender: No OFD packet to send [03:43:31]OFD Sender: No OFD packet to send [03:43:36]OFD Sender: No OFD packet to send [03:43:41]OFD Sender: No OFD packet to send [03:43:46]OFD Sender: No OFD packet to send [03:43:51]OFD Sender: No OFD packet to send [03:43:56]OFD Sender: No OFD packet to send [03:44:01]OFD Sender: No OFD packet to send [03:44:06]OFD Sender: No OFD packet to send [03:44:11]OFD Sender: No OFD packet to send [03:44:16]OFD Sender: No OFD packet to send [03:44:21]OFD Sender: No OFD packet to send [03:44:26]OFD Sender: No OFD packet to send [03:44:31]OFD Sender: No OFD packet to send [03:44:36]OFD Sender: No OFD packet to send [03:44:41]OFD Sender: No OFD packet to send [03:44:46]OFD Sender: No OFD packet to send [03:44:51]OFD Sender: No OFD packet to send [03:44:56]OFD Sender: No OFD packet to send [03:45:01]OFD Sender: No OFD packet to send [03:45:06]OFD Sender: No OFD packet to send [03:45:11]OFD Sender: No OFD packet to send [03:45:16]OFD Sender: No OFD packet to send [03:45:21]OFD Sender: No OFD packet to send [03:45:26]OFD Sender: No OFD packet to send [03:45:31]OFD Sender: No OFD packet to send [03:45:36]OFD Sender: No OFD packet to send [03:45:41]OFD Sender: No OFD packet to send [03:45:46]OFD Sender: No OFD packet to send [03:45:51]OFD Sender: No OFD packet to send [03:45:56]OFD Sender: No OFD packet to send [03:46:01]OFD Sender: No OFD packet to send [03:46:06]OFD Sender: No OFD packet to send [03:46:11]OFD Sender: No OFD packet to send [03:46:16]OFD Sender: No OFD packet to send [03:46:21]OFD Sender: No OFD packet to send [03:46:26]OFD Sender: No OFD packet to send [03:46:31]OFD Sender: No OFD packet to send [03:46:36]OFD Sender: No OFD packet to send [03:46:41]OFD Sender: No OFD packet to send [03:46:46]OFD Sender: No OFD packet to send [03:46:51]OFD Sender: No OFD packet to send [03:46:56]OFD Sender: No OFD packet to send [03:47:01]OFD Sender: No OFD packet to send [03:47:06]OFD Sender: No OFD packet to send [03:47:11]OFD Sender: No OFD packet to send [03:47:16]OFD Sender: No OFD packet to send [03:47:21]OFD Sender: No OFD packet to send [03:47:26]OFD Sender: No OFD packet to send [03:47:31]OFD Sender: No OFD packet to send [03:47:36]OFD Sender: No OFD packet to send [03:47:41]OFD Sender: No OFD packet to send [03:47:46]OFD Sender: No OFD packet to send [03:47:51]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:17]OFD Sender: No OFD packet to send [03:50:22]OFD Sender: No OFD packet to send [03:50:27]OFD Sender: No OFD packet to send [03:50:32]OFD Sender: No OFD packet to send [03:50:37]OFD Sender: No OFD packet to send [03:50:42]OFD Sender: No OFD packet to send [03:50:47]OFD Sender: No OFD packet to send [03:50:52]OFD Sender: No OFD packet to send [03:50:57]OFD Sender: No OFD packet to send [03:51:02]OFD Sender: No OFD packet to send [03:51:07]OFD Sender: No OFD packet to send [03:51:12]OFD Sender: No OFD packet to send [03:51:17]OFD Sender: No OFD packet to send [03:51:22]OFD Sender: No OFD packet to send [03:51:27]OFD Sender: No OFD packet to send [03:51:32]OFD Sender: No OFD packet to send [03:51:37]OFD Sender: No OFD packet to send [03:51:42]OFD Sender: No OFD packet to send [03:51:47]OFD Sender: No OFD packet to send [03:51:52]OFD Sender: No OFD packet to send [03:51:57]OFD Sender: No OFD packet to send [03:52:02]OFD Sender: No OFD packet to send [03:52:07]OFD Sender: No OFD packet to send [03:52:12]OFD Sender: No OFD packet to send [03:52:17]OFD Sender: No OFD packet to send [03:52:22]OFD Sender: No OFD packet to send [03:52:27]OFD Sender: No OFD packet to send [03:52:32]OFD Sender: No OFD packet to send [03:52:37]OFD Sender: No OFD packet to send [03:52:42]OFD Sender: No OFD packet to send [03:52:47]OFD Sender: No OFD packet to send [03:52:52]OFD Sender: No OFD packet to send [03:52:57]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:52]OFD Sender: No OFD packet to send [03:54:57]OFD Sender: No OFD packet to send [03:55:02]OFD Sender: No OFD packet to send [03:55:07]OFD Sender: No OFD packet to send [03:55:12]OFD Sender: No OFD packet to send [03:55:17]OFD Sender: No OFD packet to send [03:55:22]OFD Sender: No OFD packet to send [03:55:27]OFD Sender: No OFD packet to send [03:55:32]OFD Sender: No OFD packet to send [03:55:37]OFD Sender: No OFD packet to send [03:55:42]OFD Sender: No OFD packet to send [03:55:47]OFD Sender: No OFD packet to send [03:55:52]OFD Sender: No OFD packet to send [03:55:57]OFD Sender: No OFD packet to send [03:56:02]OFD Sender: No OFD packet to send [03:56:07]OFD Sender: No OFD packet to send [03:56:12]OFD Sender: No OFD packet to send [03:56:17]OFD Sender: No OFD packet to send [03:56:22]OFD Sender: No OFD packet to send [03:56:27]OFD Sender: No OFD packet to send [03:56:32]OFD Sender: No OFD packet to send [03:56:37]OFD Sender: No OFD packet to send [03:56:42]OFD Sender: No OFD packet to send [03:56:47]OFD Sender: No OFD packet to send [03:56:52]OFD Sender: No OFD packet to send [03:56:57]OFD Sender: No OFD packet to send [03:57:02]OFD Sender: No OFD packet to send [03:57:07]OFD Sender: No OFD packet to send [03:57:12]OFD Sender: No OFD packet to send [03:57:17]OFD Sender: No OFD packet to send [03:57:22]OFD Sender: No OFD packet to send [03:57:27]OFD Sender: No OFD packet to send [03:57:32]OFD Sender: No OFD packet to send [03:57:37]OFD Sender: No OFD packet to send [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:27]OFD Sender: No OFD packet to send [03:58:32]OFD Sender: No OFD packet to send [03:58:37]OFD Sender: No OFD packet to send [03:58:42]OFD Sender: No OFD packet to send [03:58:47]OFD Sender: No OFD packet to send [03:58:52]OFD Sender: No OFD packet to send [03:58:57]OFD Sender: No OFD packet to send [03:59:02]OFD Sender: No OFD packet to send [03:59:07]OFD Sender: No OFD packet to send [03:59:12]OFD Sender: No OFD packet to send [03:59:17]OFD Sender: No OFD packet to send [03:59:22]OFD Sender: No OFD packet to send [03:59:27]OFD Sender: No OFD packet to send [03:59:32]OFD Sender: No OFD packet to send [03:59:37]OFD Sender: No OFD packet to send [03:59:42]OFD Sender: No OFD packet to send [03:59:47]OFD Sender: No OFD packet to send [03:59:52]OFD Sender: No OFD packet to send [03:59:57]OFD Sender: No OFD packet to send [04:00:02]OFD Sender: No OFD packet to send [04:00:07]OFD Sender: No OFD packet to send [04:00:12]OFD Sender: No OFD packet to send [04:00:17]OFD Sender: No OFD packet to send [04:00:22]OFD Sender: No OFD packet to send [04:00:27]OFD Sender: No OFD packet to send [04:00:32]OFD Sender: No OFD packet to send [04:00:37]OFD Sender: No OFD packet to send [04:00:42]OFD Sender: No OFD packet to send [04:00:47]OFD Sender: No OFD packet to send [04:00:52]OFD Sender: No OFD packet to send [04:00:57]OFD Sender: No OFD packet to send [04:01:02]OFD Sender: No OFD packet to send [04:01:07]OFD Sender: No OFD packet to send [04:01:12]OFD Sender: No OFD packet to send [04:01:17]OFD Sender: No OFD packet to send [04:01:22]OFD Sender: No OFD packet to send [04:01:27]OFD Sender: No OFD packet to send [04:01:32]OFD Sender: No OFD packet to send [04:01:37]OFD Sender: No OFD packet to send [04:01:42]OFD Sender: No OFD packet to send [04:01:47]OFD Sender: No OFD packet to send [04:01:52]OFD Sender: No OFD packet to send [04:01:57]OFD Sender: No OFD packet to send [04:02:02]OFD Sender: No OFD packet to send [04:02:07]OFD Sender: No OFD packet to send [04:02:12]OFD Sender: No OFD packet to send [04:02:17]OFD Sender: No OFD packet to send [04:02:22]OFD Sender: No OFD packet to send [04:02:27]OFD Sender: No OFD packet to send [04:02:32]OFD Sender: No OFD packet to send [04:02:37]OFD Sender: No OFD packet to send [04:02:42]OFD Sender: No OFD packet to send [04:02:47]OFD Sender: No OFD packet to send [04:02:52]OFD Sender: No OFD packet to send [04:02:57]OFD Sender: No OFD packet to send [04:03:02]OFD Sender: No OFD packet to send [04:03:07]OFD Sender: No OFD packet to send [04:03:12]OFD Sender: No OFD packet to send [04:03:17]OFD Sender: No OFD packet to send [04:03:22]OFD Sender: No OFD packet to send [04:03:27]OFD Sender: No OFD packet to send [04:03:32]OFD Sender: No OFD packet to send [04:03:37]OFD Sender: No OFD packet to send [04:03:42]OFD Sender: No OFD packet to send [04:03:47]OFD Sender: No OFD packet to send [04:03:52]OFD Sender: No OFD packet to send [04:03:57]OFD Sender: No OFD packet to send [04:04:02]OFD Sender: No OFD packet to send [04:04:07]OFD Sender: No OFD packet to send [04:04:12]OFD Sender: No OFD packet to send [04:04:17]OFD Sender: No OFD packet to send [04:04:22]OFD Sender: No OFD packet to send [04:04:27]OFD Sender: No OFD packet to send [04:04:32]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09:02]OFD Sender: No OFD packet to send [04:09:07]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:08]OFD Sender: No OFD packet to send [04:14:13]OFD Sender: No OFD packet to send [04:14:18]OFD Sender: No OFD packet to send [04:14:23]OFD Sender: No OFD packet to send [04:14:28]OFD Sender: No OFD packet to send [04:14:33]OFD Sender: No OFD packet to send [04:14:38]OFD Sender: No OFD packet to send [04:14:43]OFD Sender: No OFD packet to send [04:14:48]OFD Sender: No OFD packet to send [04:14:53]OFD Sender: No OFD packet to send [04:14:58]OFD Sender: No OFD packet to send [04:15:03]OFD Sender: No OFD packet to send [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:18]OFD Sender: No OFD packet to send [04:18:23]OFD Sender: No OFD packet to send [04:18:28]OFD Sender: No OFD packet to send [04:18:33]OFD Sender: No OFD packet to send [04:18:38]OFD Sender: No OFD packet to send [04:18:43]OFD Sender: No OFD packet to send [04:18:48]OFD Sender: No OFD packet to send [04:18:53]OFD Sender: No OFD packet to send [04:18:58]OFD Sender: No OFD packet to send [04:19:03]OFD Sender: No OFD packet to send [04:19:08]OFD Sender: No OFD packet to send [04:19:13]OFD Sender: No OFD packet to send [04:19:18]OFD Sender: No OFD packet to send [04:19:23]OFD Sender: No OFD packet to send [04:19:28]OFD Sender: No OFD packet to send [04:19:33]OFD Sender: No OFD packet to send [04:19:38]OFD Sender: No OFD packet to send [04:19:43]OFD Sender: No OFD packet to send [04:19:48]OFD Sender: No OFD packet to send [04:19:53]OFD Sender: No OFD packet to send [04:19:58]OFD Sender: No OFD packet to send [04:20:03]OFD Sender: No OFD packet to send [04:20:08]OFD Sender: No OFD packet to send [04:20:13]OFD Sender: No OFD packet to send [04:20:18]OFD Sender: No OFD packet to send [04:20:23]OFD Sender: No OFD packet to send [04:20:28]OFD Sender: No OFD packet to send [04:20:33]OFD Sender: No OFD packet to send [04:20:38]OFD Sender: No OFD packet to send [04:20:43]OFD Sender: No OFD packet to send [04:20:48]OFD Sender: No OFD packet to send [04:20:53]OFD Sender: No OFD packet to send [04:20:58]OFD Sender: No OFD packet to send [04:21:03]OFD Sender: No OFD packet to send [04:21:08]OFD Sender: No OFD packet to send [04:21:13]OFD Sender: No OFD packet to send [04:21:18]OFD Sender: No OFD packet to send [04:21:23]OFD Sender: No OFD packet to send [04:21:28]OFD Sender: No OFD packet to send [04:21:33]OFD Sender: No OFD packet to send [04:21:38]OFD Sender: No OFD packet to send [04:21:43]OFD Sender: No OFD packet to send [04:21:48]OFD Sender: No OFD packet to send [04:21:53]OFD Sender: No OFD packet to send [04:21:58]OFD Sender: No OFD packet to send [04:22:03]OFD Sender: No OFD packet to send [04:22:08]OFD Sender: No OFD packet to send [04:22:13]OFD Sender: No OFD packet to send [04:22:18]OFD Sender: No OFD packet to send [04:22:23]OFD Sender: No OFD packet to send [04:22:28]OFD Sender: No OFD packet to send [04:22:33]OFD Sender: No OFD packet to send [04:22:38]OFD Sender: No OFD packet to send [04:22:43]OFD Sender: No OFD packet to send [04:22:48]OFD Sender: No OFD packet to send [04:22:53]OFD Sender: No OFD packet to send [04:22:58]OFD Sender: No OFD packet to send [04:23:03]OFD Sender: No OFD packet to send [04:23:08]OFD Sender: No OFD packet to send [04:23:13]OFD Sender: No OFD packet to send [04:23:18]OFD Sender: No OFD packet to send [04:23:23]OFD Sender: No OFD packet to send [04:23:28]OFD Sender: No OFD packet to send [04:23:33]OFD Sender: No OFD packet to send [04:23:38]OFD Sender: No OFD packet to send [04:23:43]OFD Sender: No OFD packet to send [04:23:48]OFD Sender: No OFD packet to send [04:23:53]OFD Sender: No OFD packet to send [04:23:58]OFD Sender: No OFD packet to send [04:24:03]OFD Sender: No OFD packet to send [04:24:08]OFD Sender: No OFD packet to send [04:24:13]OFD Sender: No OFD packet to send [04:24:18]OFD Sender: No OFD packet to send [04:24:23]OFD Sender: No OFD packet to send [04:24:28]OFD Sender: No OFD packet to send [04:24:33]OFD Sender: No OFD packet to send [04:24:38]OFD Sender: No OFD packet to send [04:24:43]OFD Sender: No OFD packet to send [04:24:48]OFD Sender: No OFD packet to send [04:24:53]OFD Sender: No OFD packet to send [04:24:58]OFD Sender: No OFD packet to send [04:25:03]OFD Sender: No OFD packet to send [04:25:08]OFD Sender: No OFD packet to send [04:25:13]OFD Sender: No OFD packet to send [04:25:18]OFD Sender: No OFD packet to send [04:25:23]OFD Sender: No OFD packet to send [04:25:28]OFD Sender: No OFD packet to send [04:25:33]OFD Sender: No OFD packet to send [04:25:38]OFD Sender: No OFD packet to send [04:25:43]OFD Sender: No OFD packet to send [04:25:48]OFD Sender: No OFD packet to send [04:25:53]OFD Sender: No OFD packet to send [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:18]OFD Sender: No OFD packet to send [04:29:23]OFD Sender: No OFD packet to send [04:29:28]OFD Sender: No OFD packet to send [04:29:33]OFD Sender: No OFD packet to send [04:29:38]OFD Sender: No OFD packet to send [04:29:43]OFD Sender: No OFD packet to send [04:29:48]OFD Sender: No OFD packet to send [04:29:53]OFD Sender: No OFD packet to send [04:29:58]OFD Sender: No OFD packet to send [04:30:03]OFD Sender: No OFD packet to send [04:30:08]OFD Sender: No OFD packet to send [04:30:13]OFD Sender: No OFD packet to send [04:30:18]OFD Sender: No OFD packet to send [04:30:23]OFD Sender: No OFD packet to send [04:30:28]OFD Sender: No OFD packet to send [04:30:33]OFD Sender: No OFD packet to send [04:30:38]OFD Sender: No OFD packet to send [04:30:43]OFD Sender: No OFD packet to send [04:30:48]OFD Sender: No OFD packet to send [04:30:53]OFD Sender: No OFD packet to send [04:30:58]OFD Sender: No OFD packet to send [04:31:03]OFD Sender: No OFD packet to send [04:31:08]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:04]OFD Sender: No OFD packet to send [04:32:09]OFD Sender: No OFD packet to send [04:32:14]OFD Sender: No OFD packet to send [04:32:19]OFD Sender: No OFD packet to send [04:32:24]OFD Sender: No OFD packet to send [04:32:29]OFD Sender: No OFD packet to send [04:32:34]OFD Sender: No OFD packet to send [04:32:39]OFD Sender: No OFD packet to send [04:32:44]OFD Sender: No OFD packet to send [04:32:49]OFD Sender: No OFD packet to send [04:32:54]OFD Sender: No OFD packet to send [04:32:59]OFD Sender: No OFD packet to send [04:33:04]OFD Sender: No OFD packet to send [04:33:09]OFD Sender: No OFD packet to send [04:33:14]OFD Sender: No OFD packet to send [04:33:19]OFD Sender: No OFD packet to send [04:33:24]OFD Sender: No OFD packet to send [04:33:29]OFD Sender: No OFD packet to send [04:33:34]OFD Sender: No OFD packet to send [04:33:39]OFD Sender: No OFD packet to send [04:33:44]OFD Sender: No OFD packet to send [04:33:49]OFD Sender: No OFD packet to send [04:33:54]OFD Sender: No OFD packet to send [04:33:59]OFD Sender: No OFD packet to send [04:34:04]OFD Sender: No OFD packet to send [04:34:09]OFD Sender: No OFD packet to send [04:34:14]OFD Sender: No OFD packet to send [04:34:19]OFD Sender: No OFD packet to send [04:34:24]OFD Sender: No OFD packet to send [04:34:29]OFD Sender: No OFD packet to send [04:34:34]OFD Sender: No OFD packet to send [04:34:39]OFD Sender: No OFD packet to send [04:34:44]OFD Sender: No OFD packet to send [04:34:49]OFD Sender: No OFD packet to send [04:34:54]OFD Sender: No OFD packet to send [04:34:59]OFD Sender: No OFD packet to send [04:35:04]OFD Sender: No OFD packet to send [04:35:09]OFD Sender: No OFD packet to send [04:35:14]OFD Sender: No OFD packet to send [04:35:19]OFD Sender: No OFD packet to send [04:35:24]OFD Sender: No OFD packet to send [04:35:29]OFD Sender: No OFD packet to send [04:35:34]OFD Sender: No OFD packet to send [04:35:39]OFD Sender: No OFD packet to send [04:35:44]OFD Sender: No OFD packet to send [04:35:49]OFD Sender: No OFD packet to send [04:35:54]OFD Sender: No OFD packet to send [04:35:59]OFD Sender: No OFD packet to send [04:36:04]OFD Sender: No OFD packet to send [04:36:09]OFD Sender: No OFD packet to send [04:36:14]OFD Sender: No OFD packet to send [04:36:19]OFD Sender: No OFD packet to send [04:36:24]OFD Sender: No OFD packet to send [04:36:29]OFD Sender: No OFD packet to send [04:36:34]OFD Sender: No OFD packet to send [04:36:39]OFD Sender: No OFD packet to send [04:36:44]OFD Sender: No OFD packet to send [04:36:49]OFD Sender: No OFD packet to send [04:36:54]OFD Sender: No OFD packet to send [04:36:59]OFD Sender: No OFD packet to send [04:37:04]OFD Sender: No OFD packet to send [04:37:09]OFD Sender: No OFD packet to send [04:37:14]OFD Sender: No OFD packet to send [04:37:19]OFD Sender: No OFD packet to send [04:37:24]OFD Sender: No OFD packet to send [04:37:29]OFD Sender: No OFD packet to send [04:37:34]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42:04]OFD Sender: No OFD packet to send [04:42:09]OFD Sender: No OFD packet to send [04:42:14]OFD Sender: No OFD packet to send [04:42:19]OFD Sender: No OFD packet to send [04:42:24]OFD Sender: No OFD packet to send [04:42:29]OFD Sender: No OFD packet to send [04:42:34]OFD Sender: No OFD packet to send [04:42:39]OFD Sender: No OFD packet to send [04:42:44]OFD Sender: No OFD packet to send [04:42:49]OFD Sender: No OFD packet to send [04:42:54]OFD Sender: No OFD packet to send [04:42:59]OFD Sender: No OFD packet to send [04:43:04]OFD Sender: No OFD packet to send [04:43:09]OFD Sender: No OFD packet to send [04:43:14]OFD Sender: No OFD packet to send [04:43:19]OFD Sender: No OFD packet to send [04:43:24]OFD Sender: No OFD packet to send [04:43:29]OFD Sender: No OFD packet to send [04:43:34]OFD Sender: No OFD packet to send [04:43:39]OFD Sender: No OFD packet to send [04:43:44]OFD Sender: No OFD packet to send [04:43:49]OFD Sender: No OFD packet to send [04:43:54]OFD Sender: No OFD packet to send [04:43:59]OFD Sender: No OFD packet to send [04:44:04]OFD Sender: No OFD packet to send [04:44:09]OFD Sender: No OFD packet to send [04:44:14]OFD Sender: No OFD packet to send [04:44:19]OFD Sender: No OFD packet to send [04:44:24]OFD Sender: No OFD packet to send [04:44:29]OFD Sender: No OFD packet to send [04:44:34]OFD Sender: No OFD packet to send [04:44:39]OFD Sender: No OFD packet to send [04:44:44]OFD Sender: No OFD packet to send [04:44:49]OFD Sender: No OFD packet to send [04:44:54]OFD Sender: No OFD packet to send [04:44:59]OFD Sender: No OFD packet to send [04:45:04]OFD Sender: No OFD packet to send [04:45:09]OFD Sender: No OFD packet to send [04:45:14]OFD Sender: No OFD packet to send [04:45:19]OFD Sender: No OFD packet to send [04:45:24]OFD Sender: No OFD packet to send [04:45:29]OFD Sender: No OFD packet to send [04:45:34]OFD Sender: No OFD packet to send [04:45:39]OFD Sender: No OFD packet to send [04:45:44]OFD Sender: No OFD packet to send [04:45:49]OFD Sender: No OFD packet to send [04:45:54]OFD Sender: No OFD packet to send [04:45:59]OFD Sender: No OFD packet to send [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:19]OFD Sender: No OFD packet to send [04:53:24]OFD Sender: No OFD packet to send [04:53:29]OFD Sender: No OFD packet to send [04:53:34]OFD Sender: No OFD packet to send [04:53:39]OFD Sender: No OFD packet to send [04:53:44]OFD Sender: No OFD packet to send [04:53:49]OFD Sender: No OFD packet to send [04:53:54]OFD Sender: No OFD packet to send [04:53:59]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:50]OFD Sender: No OFD packet to send [05:15:55]OFD Sender: No OFD packet to send [05:16:00]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]OFD Sender: No OFD packet to send [05:28:46]OFD Sender: No OFD packet to send [05:28:51]OFD Sender: No OFD packet to send [05:28:56]OFD Sender: No OFD packet to send [05:29:01]OFD Sender: No OFD packet to send [05:29:06]OFD Sender: No OFD packet to send [05:29:11]OFD Sender: No OFD packet to send [05:29:16]OFD Sender: No OFD packet to send [05:29:21]OFD Sender: No OFD packet to send [05:29:26]OFD Sender: No OFD packet to send [05:29:31]OFD Sender: No OFD packet to send [05:29:36]OFD Sender: No OFD packet to send [05:29:41]OFD Sender: No OFD packet to send [05:29:46]OFD Sender: No OFD packet to send [05:29:51]OFD Sender: No OFD packet to send [05:29:56]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:36]OFD Sender: No OFD packet to send [05:32:41]OFD Sender: No OFD packet to send [05:32:46]OFD Sender: No OFD packet to send [05:32:51]OFD Sender: No OFD packet to send [05:32:56]OFD Sender: No OFD packet to send [05:33:01]OFD Sender: No OFD packet to send [05:33:06]OFD Sender: No OFD packet to send [05:33:11]OFD Sender: No OFD packet to send [05:33:16]OFD Sender: No OFD packet to send [05:33:21]OFD Sender: No OFD packet to send [05:33:26]OFD Sender: No OFD packet to send [05:33:31]OFD Sender: No OFD packet to send [05:33:36]OFD Sender: No OFD packet to send [05:33:41]OFD Sender: No OFD packet to send [05:33:46]OFD Sender: No OFD packet to send [05:33:51]OFD Sender: No OFD packet to send [05:33:56]OFD Sender: No OFD packet to send [05:34:01]OFD Sender: No OFD packet to send [05:34:06]OFD Sender: No OFD packet to send [05:34:11]OFD Sender: No OFD packet to send [05:34:16]OFD Sender: No OFD packet to send [05:34:21]OFD Sender: No OFD packet to send [05:34:26]OFD Sender: No OFD packet to send [05:34:31]OFD Sender: No OFD packet to send [05:34:36]OFD Sender: No OFD packet to send [05:34:41]OFD Sender: No OFD packet to send [05:34:46]OFD Sender: No OFD packet to send [05:34:51]OFD Sender: No OFD packet to send [05:34:56]OFD Sender: No OFD packet to send [05:35:01]OFD Sender: No OFD packet to send [05:35:06]OFD Sender: No OFD packet to send [05:35:11]OFD Sender: No OFD packet to send [05:35:16]OFD Sender: No OFD packet to send [05:35:21]OFD Sender: No OFD packet to send [05:35:26]OFD Sender: No OFD packet to send [05:35:31]OFD Sender: No OFD packet to send [05:35:36]OFD Sender: No OFD packet to send [05:35:41]OFD Sender: No OFD packet to send [05:35:46]OFD Sender: No OFD packet to send [05:35:51]OFD Sender: No OFD packet to send [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:06]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:26]OFD Sender: No OFD packet to send [05:36:31]OFD Sender: No OFD packet to send [05:36:36]OFD Sender: No OFD packet to send [05:36:41]OFD Sender: No OFD packet to send [05:36:46]OFD Sender: No OFD packet to send [05:36:51]OFD Sender: No OFD packet to send [05:36:56]OFD Sender: No OFD packet to send [05:37:01]OFD Sender: No OFD packet to send [05:37:06]OFD Sender: No OFD packet to send [05:37:11]OFD Sender: No OFD packet to send [05:37:16]OFD Sender: No OFD packet to send [05:37:21]OFD Sender: No OFD packet to send [05:37:26]OFD Sender: No OFD packet to send [05:37:31]OFD Sender: No OFD packet to send [05:37:36]OFD Sender: No OFD packet to send [05:37:41]OFD Sender: No OFD packet to send [05:37:46]OFD Sender: No OFD packet to send [05:37:51]OFD Sender: No OFD packet to send [05:37:56]OFD Sender: No OFD packet to send [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:12]OFD Sender: No OFD packet to send [05:38:17]OFD Sender: No OFD packet to send [05:38:22]OFD Sender: No OFD packet to send [05:38:27]OFD Sender: No OFD packet to send [05:38:32]OFD Sender: No OFD packet to send [05:38:37]OFD Sender: No OFD packet to send [05:38:42]OFD Sender: No OFD packet to send [05:38:47]OFD Sender: No OFD packet to send [05:38:52]OFD Sender: No OFD packet to send [05:38:57]OFD Sender: No OFD packet to send [05:39:02]OFD Sender: No OFD packet to send [05:39:07]OFD Sender: No OFD packet to send [05:39:12]OFD Sender: No OFD packet to send [05:39:17]OFD Sender: No OFD packet to send [05:39:22]OFD Sender: No OFD packet to send [05:39:27]OFD Sender: No OFD packet to send [05:39:32]OFD Sender: No OFD packet to send [05:39:37]OFD Sender: No OFD packet to send [05:39:42]OFD Sender: No OFD packet to send [05:39:47]OFD Sender: No OFD packet to send [05:39:52]OFD Sender: No OFD packet to send [05:39:57]OFD Sender: No OFD packet to send [05:40:02]OFD Sender: No OFD packet to send [05:40:07]OFD Sender: No OFD packet to send [05:40:12]OFD Sender: No OFD packet to send [05:40:17]OFD Sender: No OFD packet to send [05:40:22]OFD Sender: No OFD packet to send [05:40:27]OFD Sender: No OFD packet to send [05:40:32]OFD Sender: No OFD packet to send [05:40:37]OFD Sender: No OFD packet to send [05:40:42]OFD Sender: No OFD packet to send [05:40:47]OFD Sender: No OFD packet to send [05:40:52]OFD Sender: No OFD packet to send [05:40:57]OFD Sender: No OFD packet to send [05:41:02]OFD Sender: No OFD packet to send [05:41:07]OFD Sender: No OFD packet to send [05:41:12]OFD Sender: No OFD packet to send [05:41:17]OFD Sender: No OFD packet to send [05:41:22]OFD Sender: No OFD packet to send [05:41:27]OFD Sender: No OFD packet to send [05:41:32]OFD Sender: No OFD packet to send [05:41:37]OFD Sender: No OFD packet to send [05:41:42]OFD Sender: No OFD packet to send [05:41:47]OFD Sender: No OFD packet to send [05:41:52]OFD Sender: No OFD packet to send [05:41:57]OFD Sender: No OFD packet to send [05:42:02]OFD Sender: No OFD packet to send [05:42:07]OFD Sender: No OFD packet to send [05:42:12]OFD Sender: No OFD packet to send [05:42:17]OFD Sender: No OFD packet to send [05:42:22]OFD Sender: No OFD packet to send [05:42:27]OFD Sender: No OFD packet to send [05:42:32]OFD Sender: No OFD packet to send [05:42:37]OFD Sender: No OFD packet to send [05:42:42]OFD Sender: No OFD packet to send [05:42:47]OFD Sender: No OFD packet to send [05:42:52]OFD Sender: No OFD packet to send [05:42:57]OFD Sender: No OFD packet to send [05:43:02]OFD Sender: No OFD packet to send [05:43:07]OFD Sender: No OFD packet to send [05:43:12]OFD Sender: No OFD packet to send [05:43:17]OFD Sender: No OFD packet to send [05:43:22]OFD Sender: No OFD packet to send [05:43:27]OFD Sender: No OFD packet to send [05:43:32]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:17]OFD Sender: No OFD packet to send [05:46:22]OFD Sender: No OFD packet to send [05:46:27]OFD Sender: No OFD packet to send [05:46:32]OFD Sender: No OFD packet to send [05:46:37]OFD Sender: No OFD packet to send [05:46:42]OFD Sender: No OFD packet to send [05:46:47]OFD Sender: No OFD packet to send [05:46:52]OFD Sender: No OFD packet to send [05:46:57]OFD Sender: No OFD packet to send [05:47:02]OFD Sender: No OFD packet to send [05:47:07]OFD Sender: No OFD packet to send [05:47:12]OFD Sender: No OFD packet to send [05:47:17]OFD Sender: No OFD packet to send [05:47:22]OFD Sender: No OFD packet to send [05:47:27]OFD Sender: No OFD packet to send [05:47:32]OFD Sender: No OFD packet to send [05:47:37]OFD Sender: No OFD packet to send [05:47:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]OFD Sender: No OFD packet to send [05:50:17]OFD Sender: No OFD packet to send [05:50:22]OFD Sender: No OFD packet to send [05:50:27]OFD Sender: No OFD packet to send [05:50:32]OFD Sender: No OFD packet to send [05:50:37]OFD Sender: No OFD packet to send [05:50:42]OFD Sender: No OFD packet to send [05:50:47]OFD Sender: No OFD packet to send [05:50:52]OFD Sender: No OFD packet to send [05:50:57]OFD Sender: No OFD packet to send [05:51:02]OFD Sender: No OFD packet to send [05:51:07]OFD Sender: No OFD packet to send [05:51:12]OFD Sender: No OFD packet to send [05:51:17]OFD Sender: No OFD packet to send [05:51:22]OFD Sender: No OFD packet to send [05:51:27]OFD Sender: No OFD packet to send [05:51:32]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:32]OFD Sender: No OFD packet to send [05:53:37]OFD Sender: No OFD packet to send [05:53:42]OFD Sender: No OFD packet to send [05:53:47]OFD Sender: No OFD packet to send [05:53:52]OFD Sender: No OFD packet to send [05:53:57]OFD Sender: No OFD packet to send [05:54:02]OFD Sender: No OFD packet to send [05:54:07]OFD Sender: No OFD packet to send [05:54:12]OFD Sender: No OFD packet to send [05:54:17]OFD Sender: No OFD packet to send [05:54:22]OFD Sender: No OFD packet to send [05:54:27]OFD Sender: No OFD packet to send [05:54:32]OFD Sender: No OFD packet to send [05:54:37]OFD Sender: No OFD packet to send [05:54:42]OFD Sender: No OFD packet to send [05:54:47]OFD Sender: No OFD packet to send [05:54:52]OFD Sender: No OFD packet to send [05:54:57]OFD Sender: No OFD packet to send [05:55:02]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:02]OFD Sender: No OFD packet to send [05:56:07]OFD Sender: No OFD packet to send [05:56:12]OFD Sender: No OFD packet to send [05:56:17]OFD Sender: No OFD packet to send [05:56:22]OFD Sender: No OFD packet to send [05:56:27]OFD Sender: No OFD packet to send [05:56:32]OFD Sender: No OFD packet to send [05:56:37]OFD Sender: No OFD packet to send [05:56:42]OFD Sender: No OFD packet to send [05:56:47]OFD Sender: No OFD packet to send [05:56:52]OFD Sender: No OFD packet to send [05:56:57]OFD Sender: No OFD packet to send [05:57:02]OFD Sender: No OFD packet to send [05:57:07]OFD Sender: No OFD packet to send [05:57:12]OFD Sender: No OFD packet to send [05:57:17]OFD Sender: No OFD packet to send [05:57:22]OFD Sender: No OFD packet to send [05:57:27]OFD Sender: No OFD packet to send [05:57:32]OFD Sender: No OFD packet to send [05:57:37]OFD Sender: No OFD packet to send [05:57:42]OFD Sender: No OFD packet to send [05:57:47]OFD Sender: No OFD packet to send [05:57:52]OFD Sender: No OFD packet to send [05:57:57]OFD Sender: No OFD packet to send [05:58:02]OFD Sender: No OFD packet to send [05:58:07]OFD Sender: No OFD packet to send [05:58:12]OFD Sender: No OFD packet to send [05:58:17]OFD Sender: No OFD packet to send [05:58:22]OFD Sender: No OFD packet to send [05:58:27]OFD Sender: No OFD packet to send [05:58:32]OFD Sender: No OFD packet to send [05:58:37]OFD Sender: No OFD packet to send [05:58:42]OFD Sender: No OFD packet to send [05:58:47]OFD Sender: No OFD packet to send [05:58:52]OFD Sender: No OFD packet to send [05:58:57]OFD Sender: No OFD packet to send [05:59:02]OFD Sender: No OFD packet to send [05:59:07]OFD Sender: No OFD packet to send [05:59:12]OFD Sender: No OFD packet to send [05:59:17]OFD Sender: No OFD packet to send [05:59:22]OFD Sender: No OFD packet to send [05:59:27]OFD Sender: No OFD packet to send [05:59:32]OFD Sender: No OFD packet to send [05:59:37]OFD Sender: No OFD packet to send [05:59:42]OFD Sender: No OFD packet to send [05:59:47]OFD Sender: No OFD packet to send [05:59:52]OFD Sender: No OFD packet to send [05:59:57]OFD Sender: No OFD packet to send [06:00:02]OFD Sender: No OFD packet to send [06:00:07]OFD Sender: No OFD packet to send [06:00:12]OFD Sender: No OFD packet to send [06:00:17]OFD Sender: No OFD packet to send [06:00:22]OFD Sender: No OFD packet to send [06:00:27]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:23]OFD Sender: No OFD packet to send [06:02:28]OFD Sender: No OFD packet to send [06:02:33]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06:14:03]OFD Sender: No OFD packet to send [06:14:08]OFD Sender: No OFD packet to send [06:14:13]OFD Sender: No OFD packet to send [06:14:18]OFD Sender: No OFD packet to send [06:14:23]OFD Sender: No OFD packet to send [06:14:28]OFD Sender: No OFD packet to send [06:14:33]OFD Sender: No OFD packet to send [06:14:38]OFD Sender: No OFD packet to send [06:14:43]OFD Sender: No OFD packet to send [06:14:48]OFD Sender: No OFD packet to send [06:14:53]OFD Sender: No OFD packet to send [06:14:58]OFD Sender: No OFD packet to send [06:15:03]OFD Sender: No OFD packet to send [06:15:08]OFD Sender: No OFD packet to send [06:15:13]OFD Sender: No OFD packet to send [06:15:18]OFD Sender: No OFD packet to send [06:15:23]OFD Sender: No OFD packet to send [06:15:28]OFD Sender: No OFD packet to send [06:15:33]OFD Sender: No OFD packet to send [06:15:38]OFD Sender: No OFD packet to send [06:15:43]OFD Sender: No OFD packet to send [06:15:48]OFD Sender: No OFD packet to send [06:15:53]OFD Sender: No OFD packet to send [06:15:58]OFD Sender: No OFD packet to send [06:16:03]OFD Sender: No OFD packet to send [06:16:08]OFD Sender: No OFD packet to send [06:16:13]OFD Sender: No OFD packet to send [06:16:18]OFD Sender: No OFD packet to send [06:16:23]OFD Sender: No OFD packet to send [06:16:28]OFD Sender: No OFD packet to send [06:16:33]OFD Sender: No OFD packet to send [06:16:38]OFD Sender: No OFD packet to send [06:16:43]OFD Sender: No OFD packet to send [06:16:48]OFD Sender: No OFD packet to send [06:16:53]OFD Sender: No OFD packet to send [06:16:58]OFD Sender: No OFD packet to send [06:17:03]OFD Sender: No OFD packet to send [06:17:08]OFD Sender: No OFD packet to send [06:17:13]OFD Sender: No OFD packet to send [06:17:18]OFD Sender: No OFD packet to send [06:17:23]OFD Sender: No OFD packet to send [06:17:28]OFD Sender: No OFD packet to send [06:17:33]OFD Sender: No OFD packet to send [06:17:38]OFD Sender: No OFD packet to send [06:17:43]OFD Sender: No OFD packet to send [06:17:48]OFD Sender: No OFD packet to send [06:17:53]OFD Sender: No OFD packet to send [06:17:58]OFD Sender: No OFD packet to send [06:18:03]OFD Sender: No OFD packet to send [06:18:08]OFD Sender: No OFD packet to send [06:18:13]OFD Sender: No OFD packet to send [06:18:18]OFD Sender: No OFD packet to send [06:18:23]OFD Sender: No OFD packet to send [06:18:28]OFD Sender: No OFD packet to send [06:18:33]OFD Sender: No OFD packet to send [06:18:38]OFD Sender: No OFD packet to send [06:18:43]OFD Sender: No OFD packet to send [06:18:48]OFD Sender: No OFD packet to send [06:18:53]OFD Sender: No OFD packet to send [06:18:58]OFD Sender: No OFD packet to send [06:19:03]OFD Sender: No OFD packet to send [06:19:08]OFD Sender: No OFD packet to send [06:19:13]OFD Sender: No OFD packet to send [06:19:18]OFD Sender: No OFD packet to send [06:19:23]OFD Sender: No OFD packet to send [06:19:28]OFD Sender: No OFD packet to send [06:19:33]OFD Sender: No OFD packet to send [06:19:38]OFD Sender: No OFD packet to send [06:19:43]OFD Sender: No OFD packet to send [06:19:48]OFD Sender: No OFD packet to send [06:19:53]OFD Sender: No OFD packet to send [06:19:58]OFD Sender: No OFD packet to send [06:20:03]OFD Sender: No OFD packet to send [06:20:08]OFD Sender: No OFD packet to send [06:20:13]OFD Sender: No OFD packet to send [06:20:18]OFD Sender: No OFD packet to send [06:20:23]OFD Sender: No OFD packet to send [06:20:28]OFD Sender: No OFD packet to send [06:20:33]OFD Sender: No OFD packet to send [06:20:38]OFD Sender: No OFD packet to send [06:20:43]OFD Sender: No OFD packet to send [06:20:48]OFD Sender: No OFD packet to send [06:20:53]OFD Sender: No OFD packet to send [06:20:58]OFD Sender: No OFD packet to send [06:21:03]OFD Sender: No OFD packet to send [06:21:08]OFD Sender: No OFD packet to send [06:21:13]OFD Sender: No OFD packet to send [06:21:18]OFD Sender: No OFD packet to send [06:21:23]OFD Sender: No OFD packet to send [06:21:28]OFD Sender: No OFD packet to send [06:21:33]OFD Sender: No OFD packet to send [06:21:38]OFD Sender: No OFD packet to send [06:21:43]OFD Sender: No OFD packet to send [06:21:48]OFD Sender: No OFD packet to send [06:21:53]OFD Sender: No OFD packet to send [06:21:58]OFD Sender: No OFD packet to send [06:22:03]OFD Sender: No OFD packet to send [06:22:08]OFD Sender: No OFD packet to send [06:22:13]OFD Sender: No OFD packet to send [06:22:18]OFD Sender: No OFD packet to send [06:22:23]OFD Sender: No OFD packet to send [06:22:28]OFD Sender: No OFD packet to send [06:22:34]OFD Sender: No OFD packet to send [06:22:39]OFD Sender: No OFD packet to send [06:22:44]OFD Sender: No OFD packet to send [06:22:49]OFD Sender: No OFD packet to send [06:22:54]OFD Sender: No OFD packet to send [06:22:59]OFD Sender: No OFD packet to send [06:23:04]OFD Sender: No OFD packet to send [06:23:09]OFD Sender: No OFD packet to send [06:23:14]OFD Sender: No OFD packet to send [06:23:19]OFD Sender: No OFD packet to send [06:23:24]OFD Sender: No OFD packet to send [06:23:29]OFD Sender: No OFD packet to send [06:23:34]OFD Sender: No OFD packet to send [06:23:39]OFD Sender: No OFD packet to send [06:23:44]OFD Sender: No OFD packet to send [06:23:49]OFD Sender: No OFD packet to send [06:23:54]OFD Sender: No OFD packet to send [06:23:59]OFD Sender: No OFD packet to send [06:24:04]OFD Sender: No OFD packet to send [06:24:09]OFD Sender: No OFD packet to send [06:24:14]OFD Sender: No OFD packet to send [06:24:19]OFD Sender: No OFD packet to send [06:24:24]OFD Sender: No OFD packet to send [06:24:29]OFD Sender: No OFD packet to send [06:24:34]OFD Sender: No OFD packet to send [06:24:39]OFD Sender: No OFD packet to send [06:24:44]OFD Sender: No OFD packet to send [06:24:49]OFD Sender: No OFD packet to send [06:24:54]OFD Sender: No OFD packet to send [06:24:59]OFD Sender: No OFD packet to send [06:25:04]OFD Sender: No OFD packet to send [06:25:09]OFD Sender: No OFD packet to send [06:25:14]OFD Sender: No OFD packet to send [06:25:19]OFD Sender: No OFD packet to send [06:25:24]OFD Sender: No OFD packet to send [06:25:29]OFD Sender: No OFD packet to send [06:25:34]OFD Sender: No OFD packet to send [06:25:39]OFD Sender: No OFD packet to send [06:25:44]OFD Sender: No OFD packet to send [06:25:49]OFD Sender: No OFD packet to send [06:25:54]OFD Sender: No OFD packet to send [06:25:59]OFD Sender: No OFD packet to send [06:26:04]OFD Sender: No OFD packet to send [06:26:09]OFD Sender: No OFD packet to send [06:26:14]OFD Sender: No OFD packet to send [06:26:19]OFD Sender: No OFD packet to send [06:26:24]OFD Sender: No OFD packet to send [06:26:29]OFD Sender: No OFD packet to send [06:26:34]OFD Sender: No OFD packet to send [06:26:39]OFD Sender: No OFD packet to send [06:26:44]OFD Sender: No OFD packet to send [06:26:49]OFD Sender: No OFD packet to send [06:26:54]OFD Sender: No OFD packet to send [06:26:59]OFD Sender: No OFD packet to send [06:27:04]OFD Sender: No OFD packet to send [06:27:09]OFD Sender: No OFD packet to send [06:27:14]OFD Sender: No OFD packet to send [06:27:19]OFD Sender: No OFD packet to send [06:27:24]OFD Sender: No OFD packet to send [06:27:29]OFD Sender: No OFD packet to send [06:27:34]OFD Sender: No OFD packet to send [06:27:39]OFD Sender: No OFD packet to send [06:27:44]OFD Sender: No OFD packet to send [06:27:49]OFD Sender: No OFD packet to send [06:27:54]OFD Sender: No OFD packet to send [06:27:59]OFD Sender: No OFD packet to send [06:28:04]OFD Sender: No OFD packet to send [06:28:09]OFD Sender: No OFD packet to send [06:28:14]OFD Sender: No OFD packet to send [06:28:19]OFD Sender: No OFD packet to send [06:28:24]OFD Sender: No OFD packet to send [06:28:29]OFD Sender: No OFD packet to send [06:28:34]OFD Sender: No OFD packet to send [06:28:39]OFD Sender: No OFD packet to send [06:28:44]OFD Sender: No OFD packet to send [06:28:49]OFD Sender: No OFD packet to send [06:28:54]OFD Sender: No OFD packet to send [06:28:59]OFD Sender: No OFD packet to send [06:29:04]OFD Sender: No OFD packet to send [06:29:09]OFD Sender: No OFD packet to send [06:29:14]OFD Sender: No OFD packet to send [06:29:19]OFD Sender: No OFD packet to send [06:29:24]OFD Sender: No OFD packet to send [06:29:29]OFD Sender: No OFD packet to send [06:29:34]OFD Sender: No OFD packet to send [06:29:39]OFD Sender: No OFD packet to send [06:29:44]OFD Sender: No OFD packet to send [06:29:49]OFD Sender: No OFD packet to send [06:29:54]OFD Sender: No OFD packet to send [06:29:59]OFD Sender: No OFD packet to send [06:30:04]OFD Sender: No OFD packet to send [06:30:09]OFD Sender: No OFD packet to send [06:30:14]OFD Sender: No OFD packet to send [06:30:19]OFD Sender: No OFD packet to send [06:30:24]OFD Sender: No OFD packet to send [06:30:29]OFD Sender: No OFD packet to send [06:30:34]OFD Sender: No OFD packet to send [06:30:39]OFD Sender: No OFD packet to send [06:30:44]OFD Sender: No OFD packet to send [06:30:49]OFD Sender: No OFD packet to send [06:30:54]OFD Sender: No OFD packet to send [06:30:59]OFD Sender: No OFD packet to send [06:31:04]OFD Sender: No OFD packet to send [06:31:09]OFD Sender: No OFD packet to send [06:31:14]OFD Sender: No OFD packet to send [06:31:19]OFD Sender: No OFD packet to send [06:31:24]OFD Sender: No OFD packet to send [06:31:29]OFD Sender: No OFD packet to send [06:31:34]OFD Sender: No OFD packet to send [06:31:39]OFD Sender: No OFD packet to send [06:31:44]OFD Sender: No OFD packet to send [06:31:49]OFD Sender: No OFD packet to send [06:31:54]OFD Sender: No OFD packet to send [06:31:59]OFD Sender: No OFD packet to send [06:32:04]OFD Sender: No OFD packet to send [06:32:09]OFD Sender: No OFD packet to send [06:32:14]OFD Sender: No OFD packet to send [06:32:19]OFD Sender: No OFD packet to send [06:32:24]OFD Sender: No OFD packet to send [06:32:29]OFD Sender: No OFD packet to send [06:32:34]OFD Sender: No OFD packet to send [06:32:39]OFD Sender: No OFD packet to send [06:32:44]OFD Sender: No OFD packet to send [06:32:49]OFD Sender: No OFD packet to send [06:32:54]OFD Sender: No OFD packet to send [06:32:59]OFD Sender: No OFD packet to send [06:33:04]OFD Sender: No OFD packet to send [06:33:09]OFD Sender: No OFD packet to send [06:33:14]OFD Sender: No OFD packet to send [06:33:19]OFD Sender: No OFD packet to send [06:33:24]OFD Sender: No OFD packet to send [06:33:29]OFD Sender: No OFD packet to send [06:33:34]OFD Sender: No OFD packet to send [06:33:39]OFD Sender: No OFD packet to send [06:33:44]OFD Sender: No OFD packet to send [06:33:49]OFD Sender: No OFD packet to send [06:33:54]OFD Sender: No OFD packet to send [06:33:59]OFD Sender: No OFD packet to send [06:34:04]OFD Sender: No OFD packet to send [06:34:09]OFD Sender: No OFD packet to send [06:34:14]OFD Sender: No OFD packet to send [06:34:19]OFD Sender: No OFD packet to send [06:34:24]OFD Sender: No OFD packet to send [06:34:29]OFD Sender: No OFD packet to send [06:34:34]OFD Sender: No OFD packet to send [06:34:39]OFD Sender: No OFD packet to send [06:34:44]OFD Sender: No OFD packet to send [06:34:49]OFD Sender: No OFD packet to send [06:34:54]OFD Sender: No OFD packet to send [06:34:59]OFD Sender: No OFD packet to send [06:35:04]OFD Sender: No OFD packet to send [06:35:09]OFD Sender: No OFD packet to send [06:35:14]OFD Sender: No OFD packet to send [06:35:19]OFD Sender: No OFD packet to send [06:35:24]OFD Sender: No OFD packet to send [06:35:29]OFD Sender: No OFD packet to send [06:35:34]OFD Sender: No OFD packet to send [06:35:39]OFD Sender: No OFD packet to send [06:35:44]OFD Sender: No OFD packet to send [06:35:49]OFD Sender: No OFD packet to send [06:35:54]OFD Sender: No OFD packet to send [06:35:59]OFD Sender: No OFD packet to send [06:36:04]OFD Sender: No OFD packet to send [06:36:09]OFD Sender: No OFD packet to send [06:36:14]OFD Sender: No OFD packet to send [06:36:19]OFD Sender: No OFD packet to send [06:36:24]OFD Sender: No OFD packet to send [06:36:29]OFD Sender: No OFD packet to send [06:36:34]OFD Sender: No OFD packet to send [06:36:39]OFD Sender: No OFD packet to send [06:36:44]OFD Sender: No OFD packet to send [06:36:49]OFD Sender: No OFD packet to send [06:36:54]OFD Sender: No OFD packet to send [06:36:59]OFD Sender: No OFD packet to send [06:37:04]OFD Sender: No OFD packet to send [06:37:09]OFD Sender: No OFD packet to send [06:37:14]OFD Sender: No OFD packet to send [06:37:19]OFD Sender: No OFD packet to send [06:37:24]OFD Sender: No OFD packet to send [06:37:29]OFD Sender: No OFD packet to send [06:37:34]OFD Sender: No OFD packet to send [06:37:39]OFD Sender: No OFD packet to send [06:37:44]OFD Sender: No OFD packet to send [06:37:49]OFD Sender: No OFD packet to send [06:37:54]OFD Sender: No OFD packet to send [06:37:59]OFD Sender: No OFD packet to send [06:38:04]OFD Sender: No OFD packet to send [06:38:09]OFD Sender: No OFD packet to send [06:38:14]OFD Sender: No OFD packet to send [06:38:19]OFD Sender: No OFD packet to send [06:38:24]OFD Sender: No OFD packet to send [06:38:29]OFD Sender: No OFD packet to send [06:38:34]OFD Sender: No OFD packet to send [06:38:39]OFD Sender: No OFD packet to send [06:38:44]OFD Sender: No OFD packet to send [06:38:49]OFD Sender: No OFD packet to send [06:38:54]OFD Sender: No OFD packet to send [06:38:59]OFD Sender: No OFD packet to send [06:39:04]OFD Sender: No OFD packet to send [06:39:09]OFD Sender: No OFD packet to send [06:39:14]OFD Sender: No OFD packet to send [06:39:19]OFD Sender: No OFD packet to send [06:39:24]OFD Sender: No OFD packet to send [06:39:29]OFD Sender: No OFD packet to send [06:39:34]OFD Sender: No OFD packet to send [06:39:39]OFD Sender: No OFD packet to send [06:39:44]OFD Sender: No OFD packet to send [06:39:49]OFD Sender: No OFD packet to send [06:39:54]OFD Sender: No OFD packet to send [06:39:59]OFD Sender: No OFD packet to send [06:40:04]OFD Sender: No OFD packet to send [06:40:09]OFD Sender: No OFD packet to send [06:40:14]OFD Sender: No OFD packet to send [06:40:19]OFD Sender: No OFD packet to send [06:40:24]OFD Sender: No OFD packet to send [06:40:29]OFD Sender: No OFD packet to send [06:40:34]OFD Sender: No OFD packet to send [06:40:39]OFD Sender: No OFD packet to send [06:40:44]OFD Sender: No OFD packet to send [06:40:49]OFD Sender: No OFD packet to send [06:40:54]OFD Sender: No OFD packet to send [06:40:59]OFD Sender: No OFD packet to send [06:41:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:30]OFD Sender: No OFD packet to send [06:44:35]OFD Sender: No OFD packet to send [06:44:40]OFD Sender: No OFD packet to send [06:44:45]OFD Sender: No OFD packet to send [06:44:50]OFD Sender: No OFD packet to send [06:44:55]OFD Sender: No OFD packet to send [06:45:00]OFD Sender: No OFD packet to send [06:45:05]OFD Sender: No OFD packet to send [06:45:10]OFD Sender: No OFD packet to send [06:45:15]OFD Sender: No OFD packet to send [06:45:20]OFD Sender: No OFD packet to send [06:45:25]OFD Sender: No OFD packet to send [06:45:30]OFD Sender: No OFD packet to send [06:45:35]OFD Sender: No OFD packet to send [06:45:40]OFD Sender: No OFD packet to send [06:45:45]OFD Sender: No OFD packet to send [06:45:50]OFD Sender: No OFD packet to send [06:45:55]OFD Sender: No OFD packet to send [06:46:00]OFD Sender: No OFD packet to send [06:46:05]OFD Sender: No OFD packet to send [06:46:10]OFD Sender: No OFD packet to send [06:46:15]OFD Sender: No OFD packet to send [06:46:20]OFD Sender: No OFD packet to send [06:46:25]OFD Sender: No OFD packet to send [06:46:30]OFD Sender: No OFD packet to send [06:46:35]OFD Sender: No OFD packet to send [06:46:40]OFD Sender: No OFD packet to send [06:46:45]OFD Sender: No OFD packet to send [06:46:50]OFD Sender: No OFD packet to send [06:46:55]OFD Sender: No OFD packet to send [06:47:00]OFD Sender: No OFD packet to send [06:47:05]OFD Sender: No OFD packet to send [06:47:10]OFD Sender: No OFD packet to send [06:47:15]OFD Sender: No OFD packet to send [06:47:20]OFD Sender: No OFD packet to send [06:47:25]OFD Sender: No OFD packet to send [06:47:30]OFD Sender: No OFD packet to send [06:47:35]OFD Sender: No OFD packet to send [06:47:40]OFD Sender: No OFD packet to send [06:47:45]OFD Sender: No OFD packet to send [06:47:50]OFD Sender: No OFD packet to send [06:47:55]OFD Sender: No OFD packet to send [06:48:00]OFD Sender: No OFD packet to send [06:48:05]OFD Sender: No OFD packet to send [06:48:10]OFD Sender: No OFD packet to send [06:48:15]OFD Sender: No OFD packet to send [06:48:20]OFD Sender: No OFD packet to send [06:48:25]OFD Sender: No OFD packet to send [06:48:30]OFD Sender: No OFD packet to send [06:48:35]OFD Sender: No OFD packet to send [06:48:40]OFD Sender: No OFD packet to send [06:48:45]OFD Sender: No OFD packet to send [06:48:50]OFD Sender: No OFD packet to send [06:48:55]OFD Sender: No OFD packet to send [06:49:00]OFD Sender: No OFD packet to send [06:49:05]OFD Sender: No OFD packet to send [06:49:10]OFD Sender: No OFD packet to send [06:49:15]OFD Sender: No OFD packet to send [06:49:20]OFD Sender: No OFD packet to send [06:49:25]OFD Sender: No OFD packet to send [06:49:30]OFD Sender: No OFD packet to send [06:49:35]OFD Sender: No OFD packet to send [06:49:40]OFD Sender: No OFD packet to send [06:49:45]OFD Sender: No OFD packet to send [06:49:50]OFD Sender: No OFD packet to send [06:49:55]OFD Sender: No OFD packet to send [06:50:00]OFD Sender: No OFD packet to send [06:50:05]OFD Sender: No OFD packet to send [06:50:10]OFD Sender: No OFD packet to send [06:50:15]OFD Sender: No OFD packet to send [06:50:20]OFD Sender: No OFD packet to send [06:50:25]OFD Sender: No OFD packet to send [06:50:30]OFD Sender: No OFD packet to send [06:50:35]OFD Sender: No OFD packet to send [06:50:40]OFD Sender: No OFD packet to send [06:50:45]OFD Sender: No OFD packet to send [06:50:50]OFD Sender: No OFD packet to send [06:50:55]OFD Sender: No OFD packet to send [06:51:00]OFD Sender: No OFD packet to send [06:51:05]OFD Sender: No OFD packet to send [06:51:10]OFD Sender: No OFD packet to send [06:51:15]OFD Sender: No OFD packet to send [06:51:20]OFD Sender: No OFD packet to send [06:51:25]OFD Sender: No OFD packet to send [06:51:30]OFD Sender: No OFD packet to send [06:51:31]accept exits with 9 [06:51:31]New connection [06:51:31]New thread 3066707300 created [06:51:31]Thread 3066850660 joined [06:51:31]Waiting for new connection... [06:51:31] Sock 9.Parse request [06:51:31]Sock 9.Check first char [06:51:31]Sock 9.First char is OK [06:51:31]request: POST /json_proto HTTP/1.0 [06:51:31]Method: POST [06:51:31]URL: /json_proto [06:51:31]Method is POST - this is cgi request [06:51:31]url: /json_proto [06:51:31]query_string will be loaded in cgi processing [06:51:31]execute_cgi json_proto POST (null) [06:51:31]execute_cgi path=json_proto method=POST [06:51:31]POST find Content-Length [06:51:31]Host: 172.17.52.132:8080 [06:51:31]Content-Length: 695 [06:51:31]Content-Type: application/json [06:51:31] [06:51:31]POST finish read [06:51:31]Found Content-Length = 695 [06:51:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100002", "tax_sys" : 0, "items" : [ { "code": "4700000160099", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:51:31]execute_script... [06:51:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100002", "tax_sys" : 0, "items" : [ { "code": "4700000160099", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:51:31]POST & json_proto [06:51:31]process_json_proto [06:51:31]json parsed OK: [06:51:31]protocol is kg_v1.0 [06:51:31]action value=close_receipt [06:51:31]process_action close_receipt [06:51:31]cmd_close_receipt [06:51:31]MH_GetDate [06:51:31]Write to MH i2c: F0 00 00 E6 5C 31 [06:51:31]Write i2c OK [06:51:31]MH_I2C_Read... [06:51:31]Read from MH i2c: F0 [06:51:31]MH_I2C_Read... [06:51:31]Read from MH i2c: F0 09 00 [06:51:31]MH_I2C_Read... [06:51:31]Read from MH i2c: F0 09 00 E6 5C 00 80 A8 14 67 5A BE F6 66 51 [06:51:31]GetLastDocTimeStamp 1729391938 [06:51:31]current date 1729407104 [06:51:31]FM_GetShiftState [06:51:31]SAM_PROTO_GetShiftState [06:51:31]wFMCommunicate request_size=4 [06:51:31]MH_SAM_APDU [06:51:31]CAPDU: 80 13 01 00 [06:51:31]Write to MH i2c: E2 08 00 E7 5C 80 13 01 00 00 00 00 00 C0 [06:51:31]Write i2c OK [06:51:31]MH_I2C_Read... [06:51:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:51:31]Read from MH i2c: E2 [06:51:31]MH_I2C_Read... [06:51:31]Read from MH i2c: E2 0E 00 [06:51:31]MH_I2C_Read... [06:51:31]Read from MH i2c: E2 0E 00 E7 5C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 AA [06:51:31]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [06:51:31]wFMCommunicate OK [06:51:31]SAM_PROTO_GetShiftState done [06:51:31]FM_GetShiftState done [06:51:31]opened in 1729382427 [06:51:31]opened+sec_in_day 1729468827 [06:51:31]quantity*price = 3000 [06:51:31]sum+1 = 3001 [06:51:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 6 20.10.2024 06:51 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2625 ФПД: 85039713152102 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T065144&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2625&fm=85039713152102&tin=02508201610067®Number=0000000000207295&sum=3000 0 [06:51:32]StoreToDocumentArchive [06:51:32]shift 24 fd 2625 [06:51:32]save to /storage/0024/doc_00002625 [06:51:32]save last doc name /storage/0024/doc_00002625 to /storage/kkm_last_doc_name [06:51:32]save OK [06:51:32]Clear old archive folders... [06:51:32]ProcessDocumentItem done err = 0, tmpTLVsize=290 [06:51:32]tlvbuf is 014C22A0 [06:51:32]SAM_PROTO_ClearQueue [06:51:32]wFMCommunicate request_size=4 [06:51:32]MH_SAM_APDU [06:51:32]CAPDU: 80 09 00 00 [06:51:32]Write to MH i2c: E2 08 00 F4 5C 80 09 00 00 00 00 00 00 C2 [06:51:32]Write i2c OK [06:51:32]MH_I2C_Read... [06:51:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:51:32]Read from MH i2c: E2 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 03 00 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 03 00 F4 5C 00 90 00 C4 [06:51:32]RAPDU: 90 00 [06:51:32]wFMCommunicate OK [06:51:32]SAM_PROTO_ClearQueue done [06:51:32]KKMCreateOFDPacket [06:51:32]OFDProtocolAddRootSTLVToBuf [06:51:32]FM_MakeSignedData [06:51:32]FM_MakeSignedData [06:51:32]SAM_PROTO_SignData [06:51:32]wFMCommunicate request_size=4 [06:51:32]MH_SAM_APDU [06:51:32]CAPDU: 80 0D 01 02 [06:51:32]Write to MH i2c: E2 08 00 F5 5C 80 0D 01 02 00 00 00 00 CA [06:51:32]Write i2c OK [06:51:32]MH_I2C_Read... [06:51:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:51:32]Read from MH i2c: E2 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 03 00 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 03 00 F5 5C 00 90 00 C5 [06:51:32]RAPDU: 90 00 [06:51:32]wFMCommunicate OK [06:51:32]wFMCommunicate request_size=255 [06:51:32]MH_SAM_APDU [06:51:32]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 80 A8 14 67 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 [06:51:32]Write to MH i2c: E2 02 01 F6 5C 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 80 A8 14 67 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 00 00 97 [06:51:32]Write i2c OK [06:51:32]MH_I2C_Read... [06:51:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:51:32]Read from MH i2c: E2 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 03 00 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 03 00 F6 5C 00 90 00 C6 [06:51:32]RAPDU: 90 00 [06:51:32]wFMCommunicate OK [06:51:32]wFMCommunicate request_size=49 [06:51:32]MH_SAM_APDU [06:51:32]CAPDU: 80 0D 02 02 2C 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 41 0A 00 00 35 04 06 00 4D 57 D9 E4 EC 66 [06:51:32]Write to MH i2c: E2 34 00 F7 5C 80 0D 02 02 2C 00 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 41 0A 00 00 35 04 06 00 4D 57 D9 E4 EC 66 00 00 ED [06:51:32]Write i2c OK [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 [06:51:32]MH_I2C_Read... [06:51:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:51:32]Read from MH i2c: E2 03 00 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 03 00 F7 5C 00 90 00 C7 [06:51:32]RAPDU: 90 00 [06:51:32]wFMCommunicate OK [06:51:32]wFMCommunicate request_size=4 [06:51:32]MH_SAM_APDU [06:51:32]CAPDU: 80 0D 03 02 [06:51:32]Write to MH i2c: E2 08 00 F8 5C 80 0D 03 02 00 00 00 00 CF [06:51:32]Write i2c OK [06:51:32]MH_I2C_Read... [06:51:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:51:32]Read from MH i2c: E2 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 0B 00 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 0B 00 F8 5C 00 E4 DC D3 27 F1 4A BF 4A 90 00 CE [06:51:32]RAPDU: E4 DC D3 27 F1 4A BF 4A 90 00 [06:51:32]wFMCommunicate OK [06:51:32]SAM_PROTO_SignData done [06:51:32]FM_MakeSignedData done [06:51:32]CreateOFDProtocolMessage [06:51:32]wFMCommunicate request_size=4 [06:51:32]MH_SAM_APDU [06:51:32]CAPDU: 80 11 00 00 [06:51:32]Write to MH i2c: E2 08 00 F9 5C 80 11 00 00 00 00 00 00 CF [06:51:32]Write i2c OK [06:51:32]MH_I2C_Read... [06:51:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:51:32]Read from MH i2c: E2 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 17 00 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: E2 17 00 F9 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 17 [06:51:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [06:51:32]wFMCommunicate OK [06:51:32]CreateOFDProtocolMessage done [06:51:32]OFDSenderStorePacket 2625 [06:51:32]StoreOFDPacket docnum=2625 [06:51:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 36 01 00 00 3C 52 2E 01 A9 1B 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 80 A8 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 41 0A 00 00 35 04 06 00 4D 57 D9 E4 EC 66 E4 DC D3 27 F1 4A BF 4A [06:51:32]CheckFolder [06:51:32]dirname=/storage/ofd_packets [06:51:32]CheckFolder done [06:51:32]ProducePacketName [06:51:32]name=ofd_packets/00002625 [06:51:32]NVStorageSaveData ofd_packets/00002625 [06:51:32]File name is /storage/ofd_packets/00002625 [06:51:32]Write 340 bytes [06:51:32]NVStorageSaveData done [06:51:32]OFDSenderStorePacket done [06:51:32]KKMCreateOFDPacket done [06:51:32]NVStorageSaveData kkm_last_timestamp [06:51:32]File name is /storage/kkm_last_timestamp [06:51:32]Write 4 bytes [06:51:32]NVStorageSaveData done [06:51:32]ExternCall_PrintAddStr [06:51:32]wPrintStart [06:51:32]Write to MH i2c: 01 00 00 FA 5C 56 [06:51:32]Write i2c OK [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: 01 [06:51:32]MH_I2C_Read... [06:51:32]OFD Sender: Processing packet 2625 [packets to send 1, broken 0] [06:51:32]ProducePacketName [06:51:32]name=ofd_packets/00002625 [06:51:32]OFD Sender: To server: pG, [06:51:32]CommunicateWithHost lk.salyk.kg:30040 [06:51:32]ConnectInit lk.salyk.kg [06:51:32]Read from MH i2c: 01 07 00 [06:51:32]MH_I2C_Read... [06:51:32]Read from MH i2c: 01 07 00 FA 5C 00 00 00 00 00 FF 0F 6B [06:51:32]RasterBufferAndPrint [06:51:32]line Счет N : (3)100002 [06:51:32]line ИНН: 02508201610067 [06:51:32]line Контрольно-Кассовый Чек [06:51:32]line ПРОДАЖА [06:51:32]line Товар: 4700000160099 [06:51:32]line Снек Курут индивидуальный [06:51:32]line 2.000 * 15.00 [06:51:32]line = 30.00 [06:51:32]line НДС 12% НСП 1% [06:51:32]line > о реализуемом товаре [06:51:32]line ИТОГО: 30.00 [06:51:32]line НСП 1% : 0.26 [06:51:32]line НДС 12% : 3.19 [06:51:32]line Наличными: 30.00 [06:51:32]line Безнал.: 0.00 [06:51:32]line Место: АЗС № 162 "Партнер Нефть" [06:51:32]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [06:51:32]line СНО: Общий режим [06:51:32]line Чек 6 20.10.2024 06:51 [06:51:32]line Смена: 24 ФФД: 1.0 [06:51:32]line ЗНМ: 0300000191 [06:51:33]line РНМ: 0000000000207295 [06:51:33]line Версия ККМ: v1.0 [06:51:33]line ФМ: 0000000002342820 [06:51:33]line ФД: 2625 [06:51:33]line ФПД: 85039713152102 [06:51:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T065144&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2625&fm=85039713152102&tin=02508201610067®Number=0000000000207295&sum=3000 [06:51:33]line 0 [06:51:33]Connected sock=10 [06:51:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 36 01 00 00 3C 52 2E 01 A9 1B 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 80 A8 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 41 0A 00 00 35 04 06 written 0, free lines is 4095 [06:51:33]00 4D 57 D9 E4 EC 66 E4 DC D3 27 F1 4A BF 4A [06:51:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 17 40 47 00 1A 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 41 0A 00 00 F4 03 04 00 DF 53 14 67 B6 04 01 00 00 68 11 D1 3D BC 1B CE 44 [06:51:33]CommunicateWithHost err = 0 [06:51:33]CheckOFDResponse [06:51:33]1017 (14) - 77093643461234 [06:51:33]1041 (16) - 0000000002342820 [06:51:33]1040 (4) - 2625 [06:51:33]1012 (4) - 20.10.2024 00:50 [06:51:33]1206 (1) - 0 [06:51:33]OFD Sender: Remove packet 2625 [06:51:33]ProducePacketName [06:51:33]name=ofd_packets/00002625 [06:51:33]NVStorageDeleteData [06:51:33]Write to MH i2c: 01 00 00 22 5D 7F [06:51:33]Write i2c OK [06:51:33]MH_I2C_Read... [06:51:33]Read from MH i2c: 01 [06:51:33]MH_I2C_Read... [06:51:33]Read from MH i2c: 01 07 00 [06:51:33]MH_I2C_Read... [06:51:33]Read from MH i2c: 01 07 00 22 5D 00 00 00 00 00 AD 0C 3F [06:51:33]RasterBufferAndPrint [06:51:33]line [06:51:33]line [06:51:33]line [06:51:33]line [06:51:33]line [06:51:33]written 0, free lines is 3248 [06:51:33]MH_Cut [06:51:33]Write to MH i2c: D1 01 00 29 5D 01 58 [06:51:33]Write i2c OK [06:51:33]MH_I2C_Read... [06:51:33]Read from MH i2c: D1 [06:51:33]MH_I2C_Read... [06:51:33]Read from MH i2c: D1 01 00 [06:51:33]MH_I2C_Read... [06:51:33]Read from MH i2c: D1 01 00 29 5D 00 57 [06:51:33]Write to MH i2c: 01 00 00 2A 5D 87 [06:51:33]Write i2c OK [06:51:33]MH_I2C_Read... [06:51:33]OFD Sender: No OFD packet to send [06:51:34]*** Cut start [06:51:34]*** Partial cut [06:51:34]*** CUTSNS_PIN = 1 [06:51:34]*** CUTSNS_PIN = 0 [06:51:34]*** Brake cut motor [06:51:35]Read from MH i2c: 01 [06:51:35]MH_I2C_Read... [06:51:35]*** Stop cut motor [06:51:35]*** Cut end [06:51:35]Read from MH i2c: 01 07 00 [06:51:35]MH_I2C_Read... [06:51:35]Read from MH i2c: 01 07 00 2A 5D 00 00 00 00 00 FF 0F 9C [06:51:35]process_action close_receipt done [06:51:35]requested_data is exist [06:51:35]produce_requested_data [06:51:35]requested_item fm.sn is exist - process it [06:51:35]wFMCommunicate request_size=4 [06:51:35]MH_SAM_APDU [06:51:35]CAPDU: 80 11 00 00 [06:51:35]Write to MH i2c: E2 08 00 2B 5D 80 11 00 00 00 00 00 00 02 [06:51:35]Write i2c OK [06:51:35]MH_I2C_Read... [06:51:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:51:35]Read from MH i2c: E2 [06:51:35]MH_I2C_Read... [06:51:35]Read from MH i2c: E2 17 00 [06:51:35]MH_I2C_Read... [06:51:35]Read from MH i2c: E2 17 00 2B 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4A [06:51:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [06:51:35]wFMCommunicate OK [06:51:35]requested_item fd.num is exist - process it [06:51:35]SAM_PROTO_GetFieldsCounters [06:51:35]wFMCommunicate request_size=4 [06:51:35]MH_SAM_APDU [06:51:35]CAPDU: 80 13 00 00 [06:51:35]Write to MH i2c: E2 08 00 2C 5D 80 13 00 00 00 00 00 00 05 [06:51:35]Write i2c OK [06:51:35]MH_I2C_Read... [06:51:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:51:35]Read from MH i2c: E2 [06:51:35]MH_I2C_Read... [06:51:35]Read from MH i2c: E2 62 00 [06:51:35]MH_I2C_Read... [06:51:35]Read from MH i2c: E2 62 00 2C 5D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 41 0A 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 90 [06:51:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 41 0A 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 [06:51:35]wFMCommunicate OK [06:51:35]SAM_PROTO_GetFieldsCounters done [06:51:35]requested_item shift.num is exist - process it [06:51:35]requested_item shift.opened is exist - process it [06:51:35]req_shift_opened [06:51:35]FM_GetShiftState [06:51:35]SAM_PROTO_GetShiftState [06:51:35]wFMCommunicate request_size=4 [06:51:35]MH_SAM_APDU [06:51:35]CAPDU: 80 13 01 00 [06:51:35]Write to MH i2c: E2 08 00 2D 5D 80 13 01 00 00 00 00 00 07 [06:51:35]Write i2c OK [06:51:35]MH_I2C_Read... [06:51:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:51:35]Read from MH i2c: E2 [06:51:35]MH_I2C_Read... [06:51:35]Read from MH i2c: E2 0E 00 [06:51:35]MH_I2C_Read... [06:51:35]Read from MH i2c: E2 0E 00 2D 5D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F1 [06:51:35]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [06:51:35]wFMCommunicate OK [06:51:35]SAM_PROTO_GetShiftState done [06:51:35]FM_GetShiftState done [06:51:35]req_shift_opened done [06:51:35]requested_item shift.open_date is exist - process it [06:51:35]req_shift_open_date [06:51:35]req_shift_open_date done [06:51:35]produce_requested_data done [06:51:35]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2625,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [06:51:35]process_action_free close_receipt [06:51:35]json_value_free [06:51:35]json_value_free done [06:51:35]process_json_proto returns [06:51:35]Send response to host [06:51:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2625,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [06:51:35]free response buf [06:51:35]execute_script done [06:51:35]execute_script returns [06:51:35]free content buf [06:51:35]Sock 9.Close socket [06:51:35]Sock 9.Thread stoped [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:24]OFD Sender: No OFD packet to send [07:15:29]OFD Sender: No OFD packet to send [07:15:34]OFD Sender: No OFD packet to send [07:15:39]OFD Sender: No OFD packet to send [07:15:44]OFD Sender: No OFD packet to send [07:15:49]OFD Sender: No OFD packet to send [07:15:54]OFD Sender: No OFD packet to send [07:15:59]OFD Sender: No OFD packet to send [07:16:04]OFD Sender: No OFD packet to send [07:16:09]OFD Sender: No OFD packet to send [07:16:14]OFD Sender: No OFD packet to send [07:16:19]OFD Sender: No OFD packet to send [07:16:24]OFD Sender: No OFD packet to send [07:16:29]OFD Sender: No OFD packet to send [07:16:34]OFD Sender: No OFD packet to send [07:16:39]OFD Sender: No OFD packet to send [07:16:44]OFD Sender: No OFD packet to send [07:16:49]OFD Sender: No OFD packet to send [07:16:54]OFD Sender: No OFD packet to send [07:16:59]OFD Sender: No OFD packet to send [07:17:04]OFD Sender: No OFD packet to send [07:17:09]OFD Sender: No OFD packet to send [07:17:14]OFD Sender: No OFD packet to send [07:17:19]OFD Sender: No OFD packet to send [07:17:24]OFD Sender: No OFD packet to send [07:17:29]OFD Sender: No OFD packet to send [07:17:34]OFD Sender: No OFD packet to send [07:17:39]OFD Sender: No OFD packet to send [07:17:44]OFD Sender: No OFD packet to send [07:17:49]OFD Sender: No OFD packet to send [07:17:54]OFD Sender: No OFD packet to send [07:17:59]OFD Sender: No OFD packet to send [07:18:04]OFD Sender: No OFD packet to send [07:18:10]OFD Sender: No OFD packet to send [07:18:15]OFD Sender: No OFD packet to send [07:18:20]OFD Sender: No OFD packet to send [07:18:25]OFD Sender: No OFD packet to send [07:18:30]OFD Sender: No OFD packet to send [07:18:35]OFD Sender: No OFD packet to send [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:22]accept exits with 7 [07:30:22]New connection [07:30:22]New thread 3066850660 created [07:30:22]Thread 3066707300 joined [07:30:22]Waiting for new connection... [07:30:22] Sock 7.Parse request [07:30:22]Sock 7.Check first char [07:30:22]Sock 7.First char is OK [07:30:22]request: POST /json_proto HTTP/1.0 [07:30:22]Method: POST [07:30:22]URL: /json_proto [07:30:22]Method is POST - this is cgi request [07:30:22]url: /json_proto [07:30:22]query_string will be loaded in cgi processing [07:30:22]execute_cgi json_proto POST (null) [07:30:22]execute_cgi path=json_proto method=POST [07:30:22]POST find Content-Length [07:30:22]Host: 172.17.52.132:8080 [07:30:22]Content-Length: 1004 [07:30:22]Content-Type: application/json [07:30:22] [07:30:22]POST finish read [07:30:22]Found Content-Length = 1004 [07:30:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100003", "tax_sys" : 0, "items" : [ { "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4670003190020", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0436\u0435\u043B 5\u043B", "price" : 1000.00, "quantity" : 1.000, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:30:22]execute_script... [07:30:22]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)100003", "tax_sys" : 0, "items" : [ { "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4670003190020", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0436\u0435\u043B 5\u043B", "price" : 1000.00, "quantity" : 1.000, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:30:22]POST & json_proto [07:30:22]process_json_proto [07:30:22]json parsed OK: [07:30:22]protocol is kg_v1.0 [07:30:22]action value=close_receipt [07:30:22]process_action close_receipt [07:30:22]cmd_close_receipt [07:30:22]MH_GetDate [07:30:22]Write to MH i2c: F0 00 00 2E 5D 7A [07:30:22]Write i2c OK [07:30:22]MH_I2C_Read... [07:30:22]Read from MH i2c: F0 [07:30:22]MH_I2C_Read... [07:30:22]Read from MH i2c: F0 09 00 [07:30:22]MH_I2C_Read... [07:30:22]Read from MH i2c: F0 09 00 2E 5D 00 9B B1 14 67 5A BE F6 66 BE [07:30:22]GetLastDocTimeStamp 1729407104 [07:30:22]current date 1729409435 [07:30:22]FM_GetShiftState [07:30:22]SAM_PROTO_GetShiftState [07:30:22]wFMCommunicate request_size=4 [07:30:22]MH_SAM_APDU [07:30:22]CAPDU: 80 13 01 00 [07:30:22]Write to MH i2c: E2 08 00 2F 5D 80 13 01 00 00 00 00 00 09 [07:30:22]Write i2c OK [07:30:22]MH_I2C_Read... [07:30:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:30:22]Read from MH i2c: E2 [07:30:22]MH_I2C_Read... [07:30:22]Read from MH i2c: E2 0E 00 [07:30:22]MH_I2C_Read... [07:30:22]Read from MH i2c: E2 0E 00 2F 5D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F3 [07:30:22]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [07:30:22]wFMCommunicate OK [07:30:22]SAM_PROTO_GetShiftState done [07:30:22]FM_GetShiftState done [07:30:22]opened in 1729382427 [07:30:22]opened+sec_in_day 1729468827 [07:30:22]quantity*price = 10000 [07:30:22]sum+1 = 10001 [07:30:22]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4670003190020 Антифриз SIBIRIA ANTIFREEZE ОЖ-40 жел 5л 1.000 * 1000.00 = 1000.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1100.00 НСП 1% : 9.73 НДС 12% : 116.81 Наличными: 1100.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 7 20.10.2024 07:30 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2626 ФПД: 162029407019059 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T073035&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2626&fm=162029407019059&tin=02508201610067®Number=0000000000207295&sum=110000 0 [07:30:23]StoreToDocumentArchive [07:30:23]shift 24 fd 2626 [07:30:23]save to /storage/0024/doc_00002626 [07:30:23]save last doc name /storage/0024/doc_00002626 to /storage/kkm_last_doc_name [07:30:23]save OK [07:30:23]Clear old archive folders... [07:30:23]ProcessDocumentItem done err = 0, tmpTLVsize=427 [07:30:23]tlvbuf is 014C1F50 [07:30:23]SAM_PROTO_ClearQueue [07:30:23]wFMCommunicate request_size=4 [07:30:23]MH_SAM_APDU [07:30:23]CAPDU: 80 09 00 00 [07:30:23]Write to MH i2c: E2 08 00 3C 5D 80 09 00 00 00 00 00 00 0B [07:30:23]Write i2c OK [07:30:23]MH_I2C_Read... [07:30:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:30:23]Read from MH i2c: E2 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 03 00 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 03 00 3C 5D 00 90 00 0D [07:30:23]RAPDU: 90 00 [07:30:23]wFMCommunicate OK [07:30:23]SAM_PROTO_ClearQueue done [07:30:23]KKMCreateOFDPacket [07:30:23]OFDProtocolAddRootSTLVToBuf [07:30:23]FM_MakeSignedData [07:30:23]FM_MakeSignedData [07:30:23]SAM_PROTO_SignData [07:30:23]wFMCommunicate request_size=4 [07:30:23]MH_SAM_APDU [07:30:23]CAPDU: 80 0D 01 02 [07:30:23]Write to MH i2c: E2 08 00 3D 5D 80 0D 01 02 00 00 00 00 13 [07:30:23]Write i2c OK [07:30:23]MH_I2C_Read... [07:30:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:30:23]Read from MH i2c: E2 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 03 00 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 03 00 3D 5D 00 90 00 0E [07:30:23]RAPDU: 90 00 [07:30:23]wFMCommunicate OK [07:30:23]wFMCommunicate request_size=255 [07:30:23]MH_SAM_APDU [07:30:23]CAPDU: 80 0D 02 02 FA 03 00 AB 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 32 30 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 86 01 00 00 00 13 04 06 00 A0 86 01 00 00 [07:30:23]Write to MH i2c: E2 02 01 3E 5D 80 0D 02 02 FA 00 03 00 AB 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 32 30 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 86 01 00 00 00 13 04 06 00 A0 86 01 00 00 00 00 94 [07:30:23]Write i2c OK [07:30:23]MH_I2C_Read... [07:30:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:30:23]Read from MH i2c: E2 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 03 00 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 03 00 3E 5D 00 90 00 0F [07:30:23]RAPDU: 90 00 [07:30:23]wFMCommunicate OK [07:30:23]wFMCommunicate request_size=186 [07:30:23]MH_SAM_APDU [07:30:23]CAPDU: 80 0D 02 02 B5 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 2D 00 00 00 00 07 04 06 00 B0 AD 01 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 9B B1 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 42 0A 00 00 35 04 06 00 93 5D 69 3F A0 33 [07:30:23]Write to MH i2c: E2 BD 00 3F 5D 80 0D 02 02 B5 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 2D 00 00 00 00 07 04 06 00 B0 AD 01 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 9B B1 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 42 0A 00 00 35 04 06 00 93 5D 69 3F A0 33 00 00 62 [07:30:23]Write i2c OK [07:30:23]MH_I2C_Read... [07:30:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:30:23]Read from MH i2c: E2 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 03 00 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 03 00 3F 5D 00 90 00 10 [07:30:23]RAPDU: 90 00 [07:30:23]wFMCommunicate OK [07:30:23]wFMCommunicate request_size=4 [07:30:23]MH_SAM_APDU [07:30:23]CAPDU: 80 0D 03 02 [07:30:23]Write to MH i2c: E2 08 00 40 5D 80 0D 03 02 00 00 00 00 18 [07:30:23]Write i2c OK [07:30:23]MH_I2C_Read... [07:30:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:30:23]Read from MH i2c: E2 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 0B 00 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 0B 00 40 5D 00 4B 25 DE 8B FC 71 77 B9 90 00 8F [07:30:23]RAPDU: 4B 25 DE 8B FC 71 77 B9 90 00 [07:30:23]wFMCommunicate OK [07:30:23]SAM_PROTO_SignData done [07:30:23]FM_MakeSignedData done [07:30:23]CreateOFDProtocolMessage [07:30:23]wFMCommunicate request_size=4 [07:30:23]MH_SAM_APDU [07:30:23]CAPDU: 80 11 00 00 [07:30:23]Write to MH i2c: E2 08 00 41 5D 80 11 00 00 00 00 00 00 18 [07:30:23]Write i2c OK [07:30:23]MH_I2C_Read... [07:30:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:30:23]Read from MH i2c: E2 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 17 00 [07:30:23]MH_I2C_Read... [07:30:23]Read from MH i2c: E2 17 00 41 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 60 [07:30:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [07:30:23]wFMCommunicate OK [07:30:23]CreateOFDProtocolMessage done [07:30:23]OFDSenderStorePacket 2626 [07:30:23]StoreOFDPacket docnum=2626 [07:30:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 BF 01 00 00 CC BE B7 01 15 5E 5A 03 01 00 03 00 AB 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 32 30 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 86 01 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 2D 00 00 00 00 07 04 06 00 B0 AD 01 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 9B B1 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 42 0A 00 00 35 04 06 00 93 5D 69 3F A0 33 4B 25 DE 8B FC 71 77 B9 [07:30:23]CheckFolder [07:30:23]dirname=/storage/ofd_packets [07:30:23]CheckFolder done [07:30:23]ProducePacketName [07:30:23]name=ofd_packets/00002626 [07:30:23]NVStorageSaveData ofd_packets/00002626 [07:30:23]File name is /storage/ofd_packets/00002626 [07:30:23]Write 477 bytes [07:30:23]NVStorageSaveData done [07:30:23]OFDSenderStorePacket done [07:30:23]KKMCreateOFDPacket done [07:30:23]NVStorageSaveData kkm_last_timestamp [07:30:24]File name is /storage/kkm_last_timestamp [07:30:24]Write 4 bytes [07:30:24]NVStorageSaveData done [07:30:24]ExternCall_PrintAddStr [07:30:24]wPrintStart [07:30:24]Write to MH i2c: 01 00 00 42 5D 9F [07:30:24]OFD Sender: Processing packet 2626 [packets to send 1, broken 0] [07:30:24]ProducePacketName [07:30:24]name=ofd_packets/00002626 [07:30:24]OFD Sender: To server: pG, [07:30:24]CommunicateWithHost lk.salyk.kg:30040 [07:30:24]ConnectInit lk.salyk.kg [07:30:24]Write i2c OK [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: 01 [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: 01 07 00 [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: 01 07 00 42 5D 00 00 00 00 00 FF 0F B4 [07:30:24]RasterBufferAndPrint [07:30:24]line Счет N : (3)100003 [07:30:24]line ИНН: 02508201610067 [07:30:24]line Контрольно-Кассовый Чек [07:30:24]line ПРОДАЖА [07:30:24]line Товар: 4860019001810 [07:30:24]line Вода Боржоми минеральная ж/б 0,33л [07:30:24]line 1.000 * 100.00 [07:30:24]line = 100.00 [07:30:24]line НДС 12% НСП 1% [07:30:24]line > о реализуемом товаре [07:30:24]line Товар: 4670003190020 [07:30:24]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 жел 5л [07:30:24]line 1.000 * 1000.00 [07:30:24]line = 1000.00 [07:30:24]line НДС 12% НСП 1% [07:30:24]line > о реализуемом товаре [07:30:24]line ИТОГО: 1100.00 [07:30:24]line НСП 1% : 9.73 [07:30:24]line НДС 12% : 116.81 [07:30:24]line Наличными: 1100.00 [07:30:24]line Безнал.: 0.00 [07:30:24]line Место: АЗС № 162 "Партнер Нефть" [07:30:24]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [07:30:24]line СНО: Общий режим [07:30:24]line Чек 7 20.10.2024 07:30 [07:30:24]line Смена: 24 ФФД: 1.0 [07:30:24]line ЗНМ: 0300000191 [07:30:24]line РНМ: 0000000000207295 [07:30:24]line Версия ККМ: v1.0 [07:30:24]line ФМ: 0000000002342820 [07:30:24]line ФД: 2626 [07:30:24]line ФПД: 162029407019059 [07:30:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T073035&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2626&fm=162029407019059&tin=02508201610067®Number=0000000000207295&sum=110000 [07:30:24]line 0 [07:30:24]written 0, free lines is 4095 [07:30:24]Connected sock=10 [07:30:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 BF 01 00 00 CC BE B7 01 15 5E 5A 03 01 00 03 00 AB 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 32 30 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 86 01 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 2D 00 00 00 00 07 04 06 00 B0 AD 01 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 9B B1 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 42 0A 00 00 35 04 06 00 93 5D 69 3F A0 33 4B 25 DE 8B FC 71 77 B9 [07:30:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 FB 4E 47 00 80 5B 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 33 34 32 38 32 30 10 04 04 00 42 0A 00 00 F4 03 04 00 FA 5C 14 67 B6 04 01 00 00 B7 BF 3E 7A BB 21 A9 43 [07:30:24]CommunicateWithHost err = 0 [07:30:24]CheckOFDResponse [07:30:24]1017 (14) - 77093643461234 [07:30:24]1041 (16) - 0000000002342820 [07:30:24]1040 (4) - 2626 [07:30:24]1012 (4) - 20.10.2024 01:29 [07:30:24]1206 (1) - 0 [07:30:24]OFD Sender: Remove packet 2626 [07:30:24]ProducePacketName [07:30:24]name=ofd_packets/00002626 [07:30:24]NVStorageDeleteData [07:30:24]Write to MH i2c: 01 00 00 72 5D CF [07:30:24]Write i2c OK [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: 01 [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: 01 07 00 [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: 01 07 00 72 5D 00 00 00 00 00 18 0C FA [07:30:24]RasterBufferAndPrint [07:30:24]line [07:30:24]line [07:30:24]line [07:30:24]line [07:30:24]line [07:30:24]written 0, free lines is 3101 [07:30:24]MH_Cut [07:30:24]Write to MH i2c: D1 01 00 79 5D 01 A8 [07:30:24]Write i2c OK [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: D1 [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: D1 01 00 [07:30:24]MH_I2C_Read... [07:30:24]Read from MH i2c: D1 01 00 79 5D 00 A7 [07:30:24]Write to MH i2c: 01 00 00 7A 5D D7 [07:30:24]Write i2c OK [07:30:24]MH_I2C_Read... [07:30:25]OFD Sender: No OFD packet to send [07:30:25]*** Cut start [07:30:25]*** Partial cut [07:30:25]*** CUTSNS_PIN = 1 [07:30:25]*** CUTSNS_PIN = 0 [07:30:26]*** Brake cut motor [07:30:26]Read from MH i2c: 01 [07:30:26]MH_I2C_Read... [07:30:26]*** Stop cut motor [07:30:26]*** Cut end [07:30:26]Read from MH i2c: 01 07 00 [07:30:26]MH_I2C_Read... [07:30:26]Read from MH i2c: 01 07 00 7A 5D 00 00 00 00 00 FF 0F EC [07:30:26]process_action close_receipt done [07:30:26]requested_data is exist [07:30:26]produce_requested_data [07:30:26]requested_item fm.sn is exist - process it [07:30:26]wFMCommunicate request_size=4 [07:30:26]MH_SAM_APDU [07:30:26]CAPDU: 80 11 00 00 [07:30:26]Write to MH i2c: E2 08 00 7B 5D 80 11 00 00 00 00 00 00 52 [07:30:26]Write i2c OK [07:30:26]MH_I2C_Read... [07:30:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:30:26]Read from MH i2c: E2 [07:30:26]MH_I2C_Read... [07:30:26]Read from MH i2c: E2 17 00 [07:30:26]MH_I2C_Read... [07:30:26]Read from MH i2c: E2 17 00 7B 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9A [07:30:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [07:30:26]wFMCommunicate OK [07:30:26]requested_item fd.num is exist - process it [07:30:26]SAM_PROTO_GetFieldsCounters [07:30:26]wFMCommunicate request_size=4 [07:30:26]MH_SAM_APDU [07:30:26]CAPDU: 80 13 00 00 [07:30:26]Write to MH i2c: E2 08 00 7C 5D 80 13 00 00 00 00 00 00 55 [07:30:26]Write i2c OK [07:30:26]MH_I2C_Read... [07:30:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:30:26]Read from MH i2c: E2 [07:30:26]MH_I2C_Read... [07:30:26]Read from MH i2c: E2 62 00 [07:30:26]MH_I2C_Read... [07:30:26]Read from MH i2c: E2 62 00 7C 5D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 42 0A 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 E4 [07:30:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 42 0A 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 [07:30:26]wFMCommunicate OK [07:30:26]SAM_PROTO_GetFieldsCounters done [07:30:26]requested_item shift.num is exist - process it [07:30:26]requested_item shift.opened is exist - process it [07:30:26]req_shift_opened [07:30:26]FM_GetShiftState [07:30:26]SAM_PROTO_GetShiftState [07:30:26]wFMCommunicate request_size=4 [07:30:26]MH_SAM_APDU [07:30:26]CAPDU: 80 13 01 00 [07:30:26]Write to MH i2c: E2 08 00 7D 5D 80 13 01 00 00 00 00 00 57 [07:30:26]Write i2c OK [07:30:26]MH_I2C_Read... [07:30:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:30:26]Read from MH i2c: E2 [07:30:26]MH_I2C_Read... [07:30:26]Read from MH i2c: E2 0E 00 [07:30:26]MH_I2C_Read... [07:30:26]Read from MH i2c: E2 0E 00 7D 5D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 41 [07:30:26]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [07:30:26]wFMCommunicate OK [07:30:26]SAM_PROTO_GetShiftState done [07:30:26]FM_GetShiftState done [07:30:26]req_shift_opened done [07:30:26]requested_item shift.open_date is exist - process it [07:30:26]req_shift_open_date [07:30:26]req_shift_open_date done [07:30:26]produce_requested_data done [07:30:26]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2626,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [07:30:26]process_action_free close_receipt [07:30:26]json_value_free [07:30:26]json_value_free done [07:30:26]process_json_proto returns [07:30:26]Send response to host [07:30:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2626,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [07:30:26]free response buf [07:30:26]execute_script done [07:30:26]execute_script returns [07:30:26]free content buf [07:30:26]Sock 7.Close socket [07:30:26]Sock 7.Thread stoped [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:35]OFD Sender: No OFD packet to send [07:41:40]OFD Sender: No OFD packet to send [07:41:45]OFD Sender: No OFD packet to send [07:41:50]OFD Sender: No OFD packet to send [07:41:55]OFD Sender: No OFD packet to send [07:42:00]OFD Sender: No OFD packet to send [07:42:05]OFD Sender: No OFD packet to send [07:42:10]OFD Sender: No OFD packet to send [07:42:15]OFD Sender: No OFD packet to send [07:42:20]OFD Sender: No OFD packet to send [07:42:25]OFD Sender: No OFD packet to send [07:42:30]OFD Sender: No OFD packet to send [07:42:35]OFD Sender: No OFD packet to send [07:42:40]OFD Sender: No OFD packet to send [07:42:45]OFD Sender: No OFD packet to send [07:42:50]OFD Sender: No OFD packet to send [07:42:55]OFD Sender: No OFD packet to send [07:43:00]OFD Sender: No OFD packet to send [07:43:05]OFD Sender: No OFD packet to send [07:43:10]OFD Sender: No OFD packet to send [07:43:15]OFD Sender: No OFD packet to send [07:43:20]OFD Sender: No OFD packet to send [07:43:25]OFD Sender: No OFD packet to send [07:43:30]OFD Sender: No OFD packet to send [07:43:35]OFD Sender: No OFD packet to send [07:43:40]OFD Sender: No OFD packet to send [07:43:45]OFD Sender: No OFD packet to send [07:43:50]OFD Sender: No OFD packet to send [07:43:55]OFD Sender: No OFD packet to send [07:44:00]OFD Sender: No OFD packet to send [07:44:05]OFD Sender: No OFD packet to send [07:44:10]OFD Sender: No OFD packet to send [07:44:15]OFD Sender: No OFD packet to send [07:44:20]OFD Sender: No OFD packet to send [07:44:25]OFD Sender: No OFD packet to send [07:44:30]OFD Sender: No OFD packet to send [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:45]OFD Sender: No OFD packet to send [07:44:50]OFD Sender: No OFD packet to send [07:44:55]OFD Sender: No OFD packet to send [07:45:00]OFD Sender: No OFD packet to send [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46: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:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [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:47]accept exits with 9 [08:06:47]New connection [08:06:47]New thread 3066707300 created [08:06:47]Thread 3066850660 joined [08:06:47]Waiting for new connection... [08:06:47] Sock 9.Parse request [08:06:47]Sock 9.Check first char [08:06:47]Sock 9.First char is OK [08:06:47]request: POST /json_proto HTTP/1.0 [08:06:47]Method: POST [08:06:47]URL: /json_proto [08:06:47]Method is POST - this is cgi request [08:06:47]url: /json_proto [08:06:47]query_string will be loaded in cgi processing [08:06:47]execute_cgi json_proto POST (null) [08:06:47]execute_cgi path=json_proto method=POST [08:06:47]POST find Content-Length [08:06:47]Host: 172.17.52.132:8080 [08:06:47]Content-Length: 805 [08:06:47]Content-Type: application/json [08:06:47] [08:06:47]POST finish read [08:06:47]Found Content-Length = 805 [08:06:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100004", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744713", "name": "LD Compact Purple Beat", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 256.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:06:47]execute_script... [08:06:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100004", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744713", "name": "LD Compact Purple Beat", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 256.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:06:47]POST & json_proto [08:06:47]process_json_proto [08:06:47]json parsed OK: [08:06:47]protocol is kg_v1.0 [08:06:47]action value=close_receipt [08:06:47]process_action close_receipt [08:06:47]cmd_close_receipt [08:06:47]MH_GetDate [08:06:47]Write to MH i2c: F0 00 00 7E 5D CA [08:06:47]Write i2c OK [08:06:47]MH_I2C_Read... [08:06:47]Read from MH i2c: F0 [08:06:47]MH_I2C_Read... [08:06:47]Read from MH i2c: F0 09 00 [08:06:47]MH_I2C_Read... [08:06:47]Read from MH i2c: F0 09 00 7E 5D 00 25 BA 14 67 5A BE F6 66 A1 [08:06:47]GetLastDocTimeStamp 1729409435 [08:06:47]current date 1729411621 [08:06:47]FM_GetShiftState [08:06:47]SAM_PROTO_GetShiftState [08:06:47]wFMCommunicate request_size=4 [08:06:47]MH_SAM_APDU [08:06:47]CAPDU: 80 13 01 00 [08:06:47]Write to MH i2c: E2 08 00 7F 5D 80 13 01 00 00 00 00 00 59 [08:06:47]Write i2c OK [08:06:47]MH_I2C_Read... [08:06:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:06:47]Read from MH i2c: E2 [08:06:47]MH_I2C_Read... [08:06:47]Read from MH i2c: E2 0E 00 [08:06:47]MH_I2C_Read... [08:06:47]Read from MH i2c: E2 0E 00 7F 5D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 43 [08:06:47]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [08:06:47]wFMCommunicate OK [08:06:47]SAM_PROTO_GetShiftState done [08:06:47]FM_GetShiftState done [08:06:47]opened in 1729382427 [08:06:47]opened+sec_in_day 1729468827 [08:06:47]quantity*price = 11900 [08:06:47]sum+1 = 11901 [08:06:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48744713 LD Compact Purple Beat 1.000 * 137.00 = 137.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 256.00 НСП 1% : 2.26 НДС 12% : 27.19 Наличными: 256.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 8 20.10.2024 08:07 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2627 ФПД: 229328776948605 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T080701&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2627&fm=229328776948605&tin=02508201610067®Number=0000000000207295&sum=25600 0 [08:06:48]StoreToDocumentArchive [08:06:48]shift 24 fd 2627 [08:06:48]save to /storage/0024/doc_00002627 [08:06:48]save last doc name /storage/0024/doc_00002627 to /storage/kkm_last_doc_name [08:06:48]save OK [08:06:48]Clear old archive folders... [08:06:48]ProcessDocumentItem done err = 0, tmpTLVsize=355 [08:06:48]tlvbuf is 014AE0D0 [08:06:48]SAM_PROTO_ClearQueue [08:06:48]wFMCommunicate request_size=4 [08:06:48]MH_SAM_APDU [08:06:48]CAPDU: 80 09 00 00 [08:06:48]Write to MH i2c: E2 08 00 8C 5D 80 09 00 00 00 00 00 00 5B [08:06:48]Write i2c OK [08:06:48]MH_I2C_Read... [08:06:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:06:49]Read from MH i2c: E2 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 03 00 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 03 00 8C 5D 00 90 00 5D [08:06:49]RAPDU: 90 00 [08:06:49]wFMCommunicate OK [08:06:49]SAM_PROTO_ClearQueue done [08:06:49]KKMCreateOFDPacket [08:06:49]OFDProtocolAddRootSTLVToBuf [08:06:49]FM_MakeSignedData [08:06:49]FM_MakeSignedData [08:06:49]SAM_PROTO_SignData [08:06:49]wFMCommunicate request_size=4 [08:06:49]MH_SAM_APDU [08:06:49]CAPDU: 80 0D 01 02 [08:06:49]Write to MH i2c: E2 08 00 8D 5D 80 0D 01 02 00 00 00 00 63 [08:06:49]Write i2c OK [08:06:49]MH_I2C_Read... [08:06:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:06:49]Read from MH i2c: E2 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 03 00 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 03 00 8D 5D 00 90 00 5E [08:06:49]RAPDU: 90 00 [08:06:49]wFMCommunicate OK [08:06:49]wFMCommunicate request_size=255 [08:06:49]MH_SAM_APDU [08:06:49]CAPDU: 80 0D 02 02 FA 03 00 63 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 0A 00 00 00 00 07 04 06 00 [08:06:49]Write to MH i2c: E2 02 01 8E 5D 80 0D 02 02 FA 00 03 00 63 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 0A 00 00 00 00 07 04 06 00 00 00 8E [08:06:49]Write i2c OK [08:06:49]MH_I2C_Read... [08:06:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:06:49]Read from MH i2c: E2 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 03 00 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 03 00 8E 5D 00 90 00 5F [08:06:49]RAPDU: 90 00 [08:06:49]wFMCommunicate OK [08:06:49]wFMCommunicate request_size=114 [08:06:49]MH_SAM_APDU [08:06:49]CAPDU: 80 0D 02 02 6D 00 64 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 25 BA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 43 0A 00 00 35 04 06 00 D0 92 C4 49 6B 7D [08:06:49]Write to MH i2c: E2 75 00 8F 5D 80 0D 02 02 6D 00 00 64 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 25 BA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 43 0A 00 00 35 04 06 00 D0 92 C4 49 6B 7D 00 00 E0 [08:06:49]Write i2c OK [08:06:49]MH_I2C_Read... [08:06:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:06:49]Read from MH i2c: E2 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 03 00 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 03 00 8F 5D 00 90 00 60 [08:06:49]RAPDU: 90 00 [08:06:49]wFMCommunicate OK [08:06:49]wFMCommunicate request_size=4 [08:06:49]MH_SAM_APDU [08:06:49]CAPDU: 80 0D 03 02 [08:06:49]Write to MH i2c: E2 08 00 90 5D 80 0D 03 02 00 00 00 00 68 [08:06:49]Write i2c OK [08:06:49]MH_I2C_Read... [08:06:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:06:49]Read from MH i2c: E2 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 0B 00 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 0B 00 90 5D 00 29 26 AB 15 E0 74 90 EA 90 00 46 [08:06:49]RAPDU: 29 26 AB 15 E0 74 90 EA 90 00 [08:06:49]wFMCommunicate OK [08:06:49]SAM_PROTO_SignData done [08:06:49]FM_MakeSignedData done [08:06:49]CreateOFDProtocolMessage [08:06:49]wFMCommunicate request_size=4 [08:06:49]MH_SAM_APDU [08:06:49]CAPDU: 80 11 00 00 [08:06:49]Write to MH i2c: E2 08 00 91 5D 80 11 00 00 00 00 00 00 68 [08:06:49]Write i2c OK [08:06:49]MH_I2C_Read... [08:06:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:06:49]Read from MH i2c: E2 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 17 00 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: E2 17 00 91 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B0 [08:06:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:06:49]wFMCommunicate OK [08:06:49]CreateOFDProtocolMessage done [08:06:49]OFDSenderStorePacket 2627 [08:06:49]StoreOFDPacket docnum=2627 [08:06:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 77 01 00 00 DA A9 6F 01 FA 7A 5A 03 01 00 03 00 63 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 0A 00 00 00 00 07 04 06 00 00 64 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 25 BA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 43 0A 00 00 35 04 06 00 D0 92 C4 49 6B 7D 29 26 AB 15 E0 74 90 EA [08:06:49]CheckFolder [08:06:49]dirname=/storage/ofd_packets [08:06:49]CheckFolder done [08:06:49]ProducePacketName [08:06:49]name=ofd_packets/00002627 [08:06:49]NVStorageSaveData ofd_packets/00002627 [08:06:49]File name is /storage/ofd_packets/00002627 [08:06:49]Write 405 bytes [08:06:49]NVStorageSaveData done [08:06:49]OFDSenderStorePacket done [08:06:49]KKMCreateOFDPacket done [08:06:49]NVStorageSaveData kkm_last_timestamp [08:06:49]File name is /storage/kkm_last_timestamp [08:06:49]Write 4 bytes [08:06:49]NVStorageSaveData done [08:06:49]ExternCall_PrintAddStr [08:06:49]wPrintStart [08:06:49]Write to MH i2c: 01 00 00 92 5D EF [08:06:49]Write i2c OK [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: 01 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: 01 07 00 [08:06:49]MH_I2C_Read... [08:06:49]Read from MH i2c: 01 07 00 92 5D 00 00 00 00 00 FF 0F 04 [08:06:49]RasterBufferAndPrint [08:06:49]line Счет N : (3)100004 [08:06:49]line ИНН: 02508201610067 [08:06:49]line Контрольно-Кассовый Чек [08:06:49]line ПРОДАЖА [08:06:49]line Товар: 4870001570071 [08:06:49]line Напиток Pepsi 1л [08:06:49]line 1.000 * 119.00 [08:06:49]line = 119.00 [08:06:49]line НДС 12% НСП 1% [08:06:49]line > о реализуемом товаре [08:06:49]line Товар: 48744713 [08:06:49]line LD Compact Purple Beat [08:06:49]line 1.000 * 137.00 [08:06:49]line = 137.00 [08:06:49]line НДС 12% НСП 1% [08:06:49]line > о реализуемом товаре [08:06:49]line ИТОГО: 256.00 [08:06:49]line НСП 1% : 2.26 [08:06:49]line НДС 12% : 27.19 [08:06:49]line Наличными: 256.00 [08:06:49]line Безнал.: 0.00 [08:06:49]line Место: АЗС № 162 "Партнер Нефть" [08:06:49]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:06:49]line СНО: Общий режим [08:06:49]line Чек 8 20.10.2024 08:07 [08:06:49]line Смена: 24 ФФД: 1.0 [08:06:49]line ЗНМ: 0300000191 [08:06:49]line РНМ: 0000000000207295 [08:06:49]line Версия ККМ: v1.0 [08:06:49]line ФМ: 0000000002342820 [08:06:49]line ФД: 2627 [08:06:49]line ФПД: 229328776948605 [08:06:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T080701&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2627&fm=229328776948605&tin=02508201610067®Number=0000000000207295&sum=25600 [08:06:49]line 0 [08:06:49]OFD Sender: Processing packet 2627 [packets to send 1, broken 0] [08:06:49]ProducePacketName [08:06:49]name=ofd_packets/00002627 [08:06:49]OFD Sender: To server: pG, [08:06:49]CommunicateWithHost lk.salyk.kg:30040 [08:06:49]ConnectInit lk.salyk.kg [08:06:49]written 0, free lines is 4095 [08:06:50]Connected sock=10 [08:06:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 77 01 00 00 DA A9 6F 01 FA 7A 5A 03 01 00 03 00 63 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 0A 00 00 00 00 07 04 06 00 00 64 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 25 BA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 43 0A 00 00 35 04 06 00 D0 92 C4 49 6B 7D 29 26 AB 15 E0 74 90 EA [08:06:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D0 0F 47 00 73 1F 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 33 34 32 38 32 30 10 04 04 00 43 0A 00 00 F4 03 04 00 84 65 14 67 B6 04 01 00 00 04 D3 FC 93 90 A6 5F 89 [08:06:50]CommunicateWithHost err = 0 [08:06:50]CheckOFDResponse [08:06:50]1017 (14) - 77093643461234 [08:06:50]1041 (16) - 0000000002342820 [08:06:50]1040 (4) - 2627 [08:06:50]1012 (4) - 20.10.2024 02:05 [08:06:50]1206 (1) - 0 [08:06:50]OFD Sender: Remove packet 2627 [08:06:50]ProducePacketName [08:06:50]name=ofd_packets/00002627 [08:06:50]NVStorageDeleteData [08:06:50]Write to MH i2c: 01 00 00 C0 5D 1D [08:06:50]Write i2c OK [08:06:50]MH_I2C_Read... [08:06:50]Read from MH i2c: 01 [08:06:50]MH_I2C_Read... [08:06:50]Read from MH i2c: 01 07 00 [08:06:50]MH_I2C_Read... [08:06:50]Read from MH i2c: 01 07 00 C0 5D 00 00 00 00 00 5B 0C 8B [08:06:50]RasterBufferAndPrint [08:06:50]line [08:06:50]line [08:06:50]line [08:06:50]line [08:06:50]line [08:06:50]written 0, free lines is 3172 [08:06:50]MH_Cut [08:06:50]Write to MH i2c: D1 01 00 C7 5D 01 F6 [08:06:50]Write i2c OK [08:06:50]MH_I2C_Read... [08:06:50]Read from MH i2c: D1 [08:06:50]MH_I2C_Read... [08:06:50]Read from MH i2c: D1 01 00 [08:06:50]MH_I2C_Read... [08:06:50]Read from MH i2c: D1 01 00 C7 5D 00 F5 [08:06:50]Write to MH i2c: 01 00 00 C8 5D 25 [08:06:50]Write i2c OK [08:06:50]MH_I2C_Read... [08:06:50]OFD Sender: No OFD packet to send [08:06:51]*** Cut start [08:06:51]*** Partial cut [08:06:51]*** CUTSNS_PIN = 1 [08:06:51]*** CUTSNS_PIN = 0 [08:06:51]*** Brake cut motor [08:06:52]Read from MH i2c: 01 [08:06:52]MH_I2C_Read... [08:06:52]*** Stop cut motor [08:06:52]*** Cut end [08:06:52]Read from MH i2c: 01 07 00 [08:06:52]MH_I2C_Read... [08:06:52]Read from MH i2c: 01 07 00 C8 5D 00 00 00 00 00 FF 0F 3A [08:06:52]process_action close_receipt done [08:06:52]requested_data is exist [08:06:52]produce_requested_data [08:06:52]requested_item fm.sn is exist - process it [08:06:52]wFMCommunicate request_size=4 [08:06:52]MH_SAM_APDU [08:06:52]CAPDU: 80 11 00 00 [08:06:52]Write to MH i2c: E2 08 00 C9 5D 80 11 00 00 00 00 00 00 A0 [08:06:52]Write i2c OK [08:06:52]MH_I2C_Read... [08:06:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:06:52]Read from MH i2c: E2 [08:06:52]MH_I2C_Read... [08:06:52]Read from MH i2c: E2 17 00 [08:06:52]MH_I2C_Read... [08:06:52]Read from MH i2c: E2 17 00 C9 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E8 [08:06:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:06:52]wFMCommunicate OK [08:06:52]requested_item fd.num is exist - process it [08:06:52]SAM_PROTO_GetFieldsCounters [08:06:52]wFMCommunicate request_size=4 [08:06:52]MH_SAM_APDU [08:06:52]CAPDU: 80 13 00 00 [08:06:52]Write to MH i2c: E2 08 00 CA 5D 80 13 00 00 00 00 00 00 A3 [08:06:52]Write i2c OK [08:06:52]MH_I2C_Read... [08:06:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:06:52]Read from MH i2c: E2 [08:06:52]MH_I2C_Read... [08:06:52]Read from MH i2c: E2 62 00 [08:06:52]MH_I2C_Read... [08:06:52]Read from MH i2c: E2 62 00 CA 5D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 43 0A 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 36 [08:06:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 43 0A 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 [08:06:52]wFMCommunicate OK [08:06:52]SAM_PROTO_GetFieldsCounters done [08:06:52]requested_item shift.num is exist - process it [08:06:52]requested_item shift.opened is exist - process it [08:06:52]req_shift_opened [08:06:52]FM_GetShiftState [08:06:52]SAM_PROTO_GetShiftState [08:06:52]wFMCommunicate request_size=4 [08:06:52]MH_SAM_APDU [08:06:52]CAPDU: 80 13 01 00 [08:06:52]Write to MH i2c: E2 08 00 CB 5D 80 13 01 00 00 00 00 00 A5 [08:06:52]Write i2c OK [08:06:52]MH_I2C_Read... [08:06:52]Read from MH i2c: E2 [08:06:52]MH_I2C_Read... [08:06:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:06:52]Read from MH i2c: E2 0E 00 [08:06:52]MH_I2C_Read... [08:06:52]Read from MH i2c: E2 0E 00 CB 5D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 8F [08:06:52]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [08:06:52]wFMCommunicate OK [08:06:52]SAM_PROTO_GetShiftState done [08:06:52]FM_GetShiftState done [08:06:52]req_shift_opened done [08:06:52]requested_item shift.open_date is exist - process it [08:06:52]req_shift_open_date [08:06:52]req_shift_open_date done [08:06:52]produce_requested_data done [08:06:52]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2627,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [08:06:52]process_action_free close_receipt [08:06:52]json_value_free [08:06:52]json_value_free done [08:06:52]process_json_proto returns [08:06:52]Send response to host [08:06:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2627,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [08:06:52]free response buf [08:06:52]execute_script done [08:06:52]execute_script returns [08:06:52]free content buf [08:06:52]Sock 9.Close socket [08:06:52]Sock 9.Thread stoped [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:05]accept exits with 7 [08:28:05]New connection [08:28:05]New thread 3066850660 created [08:28:05]Thread 3066707300 joined [08:28:05]Waiting for new connection... [08:28:05] Sock 7.Parse request [08:28:05]Sock 7.Check first char [08:28:05]Sock 7.First char is OK [08:28:05]request: POST /json_proto HTTP/1.0 [08:28:05]Method: POST [08:28:05]URL: /json_proto [08:28:05]Method is POST - this is cgi request [08:28:05]url: /json_proto [08:28:05]query_string will be loaded in cgi processing [08:28:05]execute_cgi json_proto POST (null) [08:28:05]execute_cgi path=json_proto method=POST [08:28:05]POST find Content-Length [08:28:05]Host: 172.17.52.132:8080 [08:28:05]Content-Length: 755 [08:28:05]Content-Type: application/json [08:28:05] [08:28:05]POST finish read [08:28:05]Found Content-Length = 755 [08:28:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100005", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:28:05]execute_script... [08:28: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)100005", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:28:05]POST & json_proto [08:28:05]process_json_proto [08:28:05]json parsed OK: [08:28:05]protocol is kg_v1.0 [08:28:05]action value=close_receipt [08:28:05]process_action close_receipt [08:28:05]cmd_close_receipt [08:28:05]MH_GetDate [08:28:05]Write to MH i2c: F0 00 00 CC 5D 18 [08:28:05]Write i2c OK [08:28:05]MH_I2C_Read... [08:28:05]Read from MH i2c: F0 [08:28:05]MH_I2C_Read... [08:28:05]Read from MH i2c: F0 09 00 [08:28:05]MH_I2C_Read... [08:28:05]Read from MH i2c: F0 09 00 CC 5D 00 23 BF 14 67 5A BE F6 66 F2 [08:28:05]GetLastDocTimeStamp 1729411621 [08:28:05]current date 1729412899 [08:28:05]FM_GetShiftState [08:28:05]SAM_PROTO_GetShiftState [08:28:05]wFMCommunicate request_size=4 [08:28:05]MH_SAM_APDU [08:28:05]CAPDU: 80 13 01 00 [08:28:05]Write to MH i2c: E2 08 00 CD 5D 80 13 01 00 00 00 00 00 A7 [08:28:05]Write i2c OK [08:28:05]MH_I2C_Read... [08:28:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:05]Read from MH i2c: E2 [08:28:05]MH_I2C_Read... [08:28:05]Read from MH i2c: E2 0E 00 [08:28:05]MH_I2C_Read... [08:28:05]Read from MH i2c: E2 0E 00 CD 5D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 91 [08:28:05]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [08:28:05]wFMCommunicate OK [08:28:05]SAM_PROTO_GetShiftState done [08:28:05]FM_GetShiftState done [08:28:05]opened in 1729382427 [08:28:05]opened+sec_in_day 1729468827 [08:28:05]quantity*price = 13000 [08:28:05]sum+1 = 13001 [08:28:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 9 20.10.2024 08:28 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2628 ФПД: 47708876562257 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T082819&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2628&fm=47708876562257&tin=02508201610067®Number=0000000000207295&sum=13000 0 [08:28:06]StoreToDocumentArchive [08:28:06]shift 24 fd 2628 [08:28:06]save to /storage/0024/doc_00002628 [08:28:06]save last doc name /storage/0024/doc_00002628 to /storage/kkm_last_doc_name [08:28:06]save OK [08:28:06]Clear old archive folders... [08:28:06]ProcessDocumentItem done err = 0, tmpTLVsize=276 [08:28:06]tlvbuf is 014C23A0 [08:28:06]SAM_PROTO_ClearQueue [08:28:06]wFMCommunicate request_size=4 [08:28:06]MH_SAM_APDU [08:28:06]CAPDU: 80 09 00 00 [08:28:06]Write to MH i2c: E2 08 00 DA 5D 80 09 00 00 00 00 00 00 A9 [08:28:06]Write i2c OK [08:28:06]MH_I2C_Read... [08:28:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:28:06]Read from MH i2c: E2 [08:28:06]MH_I2C_Read... [08:28:06]Read from MH i2c: E2 03 00 [08:28:06]MH_I2C_Read... [08:28:06]Read from MH i2c: E2 03 00 DA 5D 00 90 00 AB [08:28:06]RAPDU: 90 00 [08:28:06]wFMCommunicate OK [08:28:06]SAM_PROTO_ClearQueue done [08:28:06]KKMCreateOFDPacket [08:28:06]OFDProtocolAddRootSTLVToBuf [08:28:06]FM_MakeSignedData [08:28:06]FM_MakeSignedData [08:28:06]SAM_PROTO_SignData [08:28:06]wFMCommunicate request_size=4 [08:28:06]MH_SAM_APDU [08:28:06]CAPDU: 80 0D 01 02 [08:28:06]Write to MH i2c: E2 08 00 DB 5D 80 0D 01 02 00 00 00 00 B1 [08:28:06]Write i2c OK [08:28:06]MH_I2C_Read... [08:28:06]Read from MH i2c: E2 [08:28:06]MH_I2C_Read... [08:28:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:28:06]Read from MH i2c: E2 03 00 [08:28:06]MH_I2C_Read... [08:28:06]Read from MH i2c: E2 03 00 DB 5D 00 90 00 AC [08:28:06]RAPDU: 90 00 [08:28:06]wFMCommunicate OK [08:28:06]wFMCommunicate request_size=255 [08:28:06]MH_SAM_APDU [08:28:06]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 23 BF 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 [08:28:06]Write to MH i2c: E2 02 01 DC 5D 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 23 BF 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 00 00 4A [08:28:06]Write i2c OK [08:28:06]MH_I2C_Read... [08:28:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:07]Read from MH i2c: E2 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: E2 03 00 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: E2 03 00 DC 5D 00 90 00 AD [08:28:07]RAPDU: 90 00 [08:28:07]wFMCommunicate OK [08:28:07]wFMCommunicate request_size=35 [08:28:07]MH_SAM_APDU [08:28:07]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 44 0A 00 00 35 04 06 00 2B 64 16 A3 DF 51 [08:28:07]Write to MH i2c: E2 26 00 DD 5D 80 0D 02 02 1E 00 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 44 0A 00 00 35 04 06 00 2B 64 16 A3 DF 51 00 00 62 [08:28:07]Write i2c OK [08:28:07]MH_I2C_Read... [08:28:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:07]Read from MH i2c: E2 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: E2 03 00 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: E2 03 00 DD 5D 00 90 00 AE [08:28:07]RAPDU: 90 00 [08:28:07]wFMCommunicate OK [08:28:07]wFMCommunicate request_size=4 [08:28:07]MH_SAM_APDU [08:28:07]CAPDU: 80 0D 03 02 [08:28:07]Write to MH i2c: E2 08 00 DE 5D 80 0D 03 02 00 00 00 00 B6 [08:28:07]Write i2c OK [08:28:07]MH_I2C_Read... [08:28:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:28:07]Read from MH i2c: E2 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: E2 0B 00 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: E2 0B 00 DE 5D 00 74 A2 B1 D6 72 4C CB 34 90 00 11 [08:28:07]RAPDU: 74 A2 B1 D6 72 4C CB 34 90 00 [08:28:07]wFMCommunicate OK [08:28:07]SAM_PROTO_SignData done [08:28:07]FM_MakeSignedData done [08:28:07]CreateOFDProtocolMessage [08:28:07]wFMCommunicate request_size=4 [08:28:07]MH_SAM_APDU [08:28:07]CAPDU: 80 11 00 00 [08:28:07]Write to MH i2c: E2 08 00 DF 5D 80 11 00 00 00 00 00 00 B6 [08:28:07]Write i2c OK [08:28:07]MH_I2C_Read... [08:28:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:07]Read from MH i2c: E2 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: E2 17 00 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: E2 17 00 DF 5D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FE [08:28:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:28:07]wFMCommunicate OK [08:28:07]CreateOFDProtocolMessage done [08:28:07]OFDSenderStorePacket 2628 [08:28:07]StoreOFDPacket docnum=2628 [08:28:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 DA A9 20 01 3B 95 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 23 BF 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 44 0A 00 00 35 04 06 00 2B 64 16 A3 DF 51 74 A2 B1 D6 72 4C CB 34 [08:28:07]CheckFolder [08:28:07]dirname=/storage/ofd_packets [08:28:07]CheckFolder done [08:28:07]ProducePacketName [08:28:07]name=ofd_packets/00002628 [08:28:07]NVStorageSaveData ofd_packets/00002628 [08:28:07]File name is /storage/ofd_packets/00002628 [08:28:07]Write 326 bytes [08:28:07]NVStorageSaveData done [08:28:07]OFDSenderStorePacket done [08:28:07]KKMCreateOFDPacket done [08:28:07]NVStorageSaveData kkm_last_timestamp [08:28:07]File name is /storage/kkm_last_timestamp [08:28:07]Write 4 bytes [08:28:07]NVStorageSaveData done [08:28:07]ExternCall_PrintAddStr [08:28:07]wPrintStart [08:28:07]Write to MH i2c: 01 00 00 E0 5D 3D [08:28:07]Write i2c OK [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: 01 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: 01 07 00 [08:28:07]MH_I2C_Read... [08:28:07]Read from MH i2c: 01 07 00 E0 5D 00 00 00 00 00 FF 0F 52 [08:28:07]RasterBufferAndPrint [08:28:07]line Счет N : (3)100005 [08:28:07]line ИНН: 02508201610067 [08:28:07]line Контрольно-Кассовый Чек [08:28:07]line ПРОДАЖА [08:28:07]line Товар: 2000036230011 [08:28:07]line Кофе Латте XL(GABB TRADE) [08:28:07]line 1.000 * 130.00 [08:28:07]line = 130.00 [08:28:07]line НДС 12% НСП 1% [08:28:07]line > о реализуемом товаре [08:28:07]line ИТОГО: 130.00 [08:28:07]line НСП 1% : 1.15 [08:28:07]line НДС 12% : 13.80 [08:28:07]line Наличными: 0.00 [08:28:07]line Безнал.: 130.00 [08:28:07]line Место: АЗС № 162 "Партнер Нефть" [08:28:07]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:28:07]line СНО: Общий режим [08:28:07]line Чек 9 20.10.2024 08:28 [08:28:07]line Смена: 24 ФФД: 1.0 [08:28:07]line ЗНМ: 0300000191 [08:28:07]line РНМ: 0000000000207295 [08:28:07]line Версия ККМ: v1.0 [08:28:07]line Платежная система: Mbank [08:28:07]line ФМ: 0000000002342820 [08:28:07]line ФД: 2628 [08:28:07]line ФПД: 47708876562257 [08:28:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T082819&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2628&fm=47708876562257&tin=02508201610067®Number=0000000000207295&sum=13000 [08:28:07]line 0 [08:28:07]OFD Sender: Processing packet 2628 [packets to send 1, broken 0] [08:28:07]ProducePacketName [08:28:07]name=ofd_packets/00002628 [08:28:07]OFD Sender: To server: pG, [08:28:07]CommunicateWithHost lk.salyk.kg:30040 [08:28:07]ConnectInit lk.salyk.kg [08:28:07]written 0, free lines is 4095 [08:28:07]Connected sock=10 [08:28:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 DA A9 20 01 3B 95 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 23 BF 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 44 0A 00 00 35 04 06 00 2B 64 16 A3 DF 51 74 A2 B1 D6 72 4C CB 34 [08:28:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 B8 07 47 00 84 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 33 34 32 38 32 30 10 04 04 00 44 0A 00 00 F4 03 04 00 81 6A 14 67 B6 04 01 00 00 02 5D C5 DE 78 3E 7E C7 [08:28:07]CommunicateWithHost err = 0 [08:28:07]CheckOFDResponse [08:28:07]1017 (14) - 77093643461234 [08:28:07]1041 (16) - 0000000002342820 [08:28:07]1040 (4) - 2628 [08:28:07]1012 (4) - 20.10.2024 02:27 [08:28:07]1206 (1) - 0 [08:28:07]OFD Sender: Remove packet 2628 [08:28:07]ProducePacketName [08:28:07]name=ofd_packets/00002628 [08:28:07]NVStorageDeleteData [08:28:08]Write to MH i2c: 01 00 00 09 5E 67 [08:28:08]Write i2c OK [08:28:08]MH_I2C_Read... [08:28:08]Read from MH i2c: 01 [08:28:08]MH_I2C_Read... [08:28:08]Read from MH i2c: 01 07 00 [08:28:08]MH_I2C_Read... [08:28:08]Read from MH i2c: 01 07 00 09 5E 00 00 00 00 00 B2 0C 2C [08:28:08]RasterBufferAndPrint [08:28:08]line [08:28:08]line [08:28:08]line [08:28:08]line [08:28:08]line [08:28:08]written 0, free lines is 3256 [08:28:08]MH_Cut [08:28:08]Write to MH i2c: D1 01 00 10 5E 01 40 [08:28:08]Write i2c OK [08:28:08]MH_I2C_Read... [08:28:08]Read from MH i2c: D1 [08:28:08]MH_I2C_Read... [08:28:08]Read from MH i2c: D1 01 00 [08:28:08]MH_I2C_Read... [08:28:08]Read from MH i2c: D1 01 00 10 5E 00 3F [08:28:08]Write to MH i2c: 01 00 00 11 5E 6F [08:28:08]Write i2c OK [08:28:08]MH_I2C_Read... [08:28:08]OFD Sender: No OFD packet to send [08:28:09]*** Cut start [08:28:09]*** Partial cut [08:28:09]*** CUTSNS_PIN = 1 [08:28:09]*** CUTSNS_PIN = 0 [08:28:09]*** Brake cut motor [08:28:09]Read from MH i2c: 01 [08:28:09]MH_I2C_Read... [08:28:09]*** Stop cut motor [08:28:09]*** Cut end [08:28:09]Read from MH i2c: 01 07 00 [08:28:09]MH_I2C_Read... [08:28:09]Read from MH i2c: 01 07 00 11 5E 00 00 00 00 00 FF 0F 84 [08:28:09]process_action close_receipt done [08:28:09]requested_data is exist [08:28:09]produce_requested_data [08:28:09]requested_item fm.sn is exist - process it [08:28:09]wFMCommunicate request_size=4 [08:28:09]MH_SAM_APDU [08:28:09]CAPDU: 80 11 00 00 [08:28:09]Write to MH i2c: E2 08 00 12 5E 80 11 00 00 00 00 00 00 EA [08:28:09]Write i2c OK [08:28:09]MH_I2C_Read... [08:28:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:09]Read from MH i2c: E2 [08:28:09]MH_I2C_Read... [08:28:09]Read from MH i2c: E2 17 00 [08:28:09]MH_I2C_Read... [08:28:09]Read from MH i2c: E2 17 00 12 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 32 [08:28:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:28:09]wFMCommunicate OK [08:28:09]requested_item fd.num is exist - process it [08:28:09]SAM_PROTO_GetFieldsCounters [08:28:09]wFMCommunicate request_size=4 [08:28:09]MH_SAM_APDU [08:28:09]CAPDU: 80 13 00 00 [08:28:09]Write to MH i2c: E2 08 00 13 5E 80 13 00 00 00 00 00 00 ED [08:28:09]Write i2c OK [08:28:09]MH_I2C_Read... [08:28:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:28:09]Read from MH i2c: E2 [08:28:09]MH_I2C_Read... [08:28:09]Read from MH i2c: E2 62 00 [08:28:09]MH_I2C_Read... [08:28:09]Read from MH i2c: E2 62 00 13 5E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 44 0A 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 84 [08:28:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 44 0A 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 [08:28:09]wFMCommunicate OK [08:28:09]SAM_PROTO_GetFieldsCounters done [08:28:09]requested_item shift.num is exist - process it [08:28:09]requested_item shift.opened is exist - process it [08:28:09]req_shift_opened [08:28:09]FM_GetShiftState [08:28:09]SAM_PROTO_GetShiftState [08:28:09]wFMCommunicate request_size=4 [08:28:09]MH_SAM_APDU [08:28:09]CAPDU: 80 13 01 00 [08:28:09]Write to MH i2c: E2 08 00 14 5E 80 13 01 00 00 00 00 00 EF [08:28:09]Write i2c OK [08:28:09]MH_I2C_Read... [08:28:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:09]Read from MH i2c: E2 [08:28:09]MH_I2C_Read... [08:28:09]Read from MH i2c: E2 0E 00 [08:28:09]MH_I2C_Read... [08:28:09]Read from MH i2c: E2 0E 00 14 5E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 D9 [08:28:09]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [08:28:09]wFMCommunicate OK [08:28:09]SAM_PROTO_GetShiftState done [08:28:09]FM_GetShiftState done [08:28:09]req_shift_opened done [08:28:09]requested_item shift.open_date is exist - process it [08:28:09]req_shift_open_date [08:28:09]req_shift_open_date done [08:28:09]produce_requested_data done [08:28:09]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2628,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [08:28:09]process_action_free close_receipt [08:28:09]json_value_free [08:28:09]json_value_free done [08:28:09]process_json_proto returns [08:28:09]Send response to host [08:28:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2628,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [08:28:09]free response buf [08:28:09]execute_script done [08:28:09]execute_script returns [08:28:09]free content buf [08:28:09]Sock 7.Close socket [08:28:09]Sock 7.Thread stoped [08:28:13]OFD Sender: No OFD packet to send [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:28]OFD Sender: No OFD packet to send [08:28:33]OFD Sender: No OFD packet to send [08:28:38]OFD Sender: No OFD packet to send [08:28:43]OFD Sender: No OFD packet to send [08:28:48]OFD Sender: No OFD packet to send [08:28:53]OFD Sender: No OFD packet to send [08:28:58]OFD Sender: No OFD packet to send [08:29:03]OFD Sender: No OFD packet to send [08:29:08]OFD Sender: No OFD packet to send [08:29:13]OFD Sender: No OFD packet to send [08:29:18]OFD Sender: No OFD packet to send [08:29:23]OFD Sender: No OFD packet to send [08:29:28]OFD Sender: No OFD packet to send [08:29:33]OFD Sender: No OFD packet to send [08:29:38]OFD Sender: No OFD packet to send [08:29:43]OFD Sender: No OFD packet to send [08:29:48]OFD Sender: No OFD packet to send [08:29:53]OFD Sender: No OFD packet to send [08:29:58]OFD Sender: No OFD packet to send [08:30:03]OFD Sender: No OFD packet to send [08:30:08]OFD Sender: No OFD packet to send [08:30:13]OFD Sender: No OFD packet to send [08:30:18]OFD Sender: No OFD packet to send [08:30:23]OFD Sender: No OFD packet to send [08:30:28]OFD Sender: No OFD packet to send [08:30:33]OFD Sender: No OFD packet to send [08:30:38]OFD Sender: No OFD packet to send [08:30:43]OFD Sender: No OFD packet to send [08:30:48]OFD Sender: No OFD packet to send [08:30:53]OFD Sender: No OFD packet to send [08:30:58]OFD Sender: No OFD packet to send [08:31:03]OFD Sender: No OFD packet to send [08:31:08]OFD Sender: No OFD packet to send [08:31:13]OFD Sender: No OFD packet to send [08:31:18]OFD Sender: No OFD packet to send [08:31:23]OFD Sender: No OFD packet to send [08:31:28]OFD Sender: No OFD packet to send [08:31:33]OFD Sender: No OFD packet to send [08:31:38]OFD Sender: No OFD packet to send [08:31:43]OFD Sender: No OFD packet to send [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:33]OFD Sender: No OFD packet to send [08:39:38]OFD Sender: No OFD packet to send [08:39:43]OFD Sender: No OFD packet to send [08:39:48]OFD Sender: No OFD packet to send [08:39:53]OFD Sender: No OFD packet to send [08:39:58]OFD Sender: No OFD packet to send [08:40:03]OFD Sender: No OFD packet to send [08:40:08]OFD Sender: No OFD packet to send [08:40:13]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:25]accept exits with 9 [08:46:25]New connection [08:46:25]New thread 3066707300 created [08:46:25]Thread 3066850660 joined [08:46:25]Waiting for new connection... [08:46:25] Sock 9.Parse request [08:46:25]Sock 9.Check first char [08:46:25]Sock 9.First char is OK [08:46:25]request: POST /json_proto HTTP/1.0 [08:46:25]Method: POST [08:46:25]URL: /json_proto [08:46:25]Method is POST - this is cgi request [08:46:25]url: /json_proto [08:46:25]query_string will be loaded in cgi processing [08:46:25]execute_cgi json_proto POST (null) [08:46:25]execute_cgi path=json_proto method=POST [08:46:25]POST find Content-Length [08:46:25]Host: 172.17.52.132:8080 [08:46:25]Content-Length: 626 [08:46:25]Content-Type: application/json [08:46:25] [08:46:25]POST finish read [08:46:25]Found Content-Length = 626 [08:46:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100006", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:46:25]execute_script... [08:46: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)100006", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:46:25]POST & json_proto [08:46:25]process_json_proto [08:46:25]json parsed OK: [08:46:25]protocol is kg_v1.0 [08:46:25]action value=close_receipt [08:46:25]process_action close_receipt [08:46:25]cmd_close_receipt [08:46:25]MH_GetDate [08:46:25]Write to MH i2c: F0 00 00 15 5E 62 [08:46:25]Write i2c OK [08:46:25]MH_I2C_Read... [08:46:25]Read from MH i2c: F0 [08:46:25]MH_I2C_Read... [08:46:25]Read from MH i2c: F0 09 00 [08:46:25]MH_I2C_Read... [08:46:25]Read from MH i2c: F0 09 00 15 5E 00 6F C3 14 67 5A BE F6 66 8C [08:46:25]GetLastDocTimeStamp 1729412899 [08:46:25]current date 1729413999 [08:46:25]FM_GetShiftState [08:46:25]SAM_PROTO_GetShiftState [08:46:25]wFMCommunicate request_size=4 [08:46:25]MH_SAM_APDU [08:46:25]CAPDU: 80 13 01 00 [08:46:25]Write to MH i2c: E2 08 00 16 5E 80 13 01 00 00 00 00 00 F1 [08:46:25]Write i2c OK [08:46:25]MH_I2C_Read... [08:46:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:46:25]Read from MH i2c: E2 [08:46:25]MH_I2C_Read... [08:46:25]Read from MH i2c: E2 0E 00 [08:46:25]MH_I2C_Read... [08:46:25]Read from MH i2c: E2 0E 00 16 5E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 DB [08:46:25]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [08:46:25]wFMCommunicate OK [08:46:25]SAM_PROTO_GetShiftState done [08:46:25]FM_GetShiftState done [08:46:25]opened in 1729382427 [08:46:25]opened+sec_in_day 1729468827 [08:46:25]quantity*price = 13400 [08:46:25]sum+1 = 13401 [08:46:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 10 20.10.2024 08:46 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2629 ФПД: 248202287562506 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T084639&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2629&fm=248202287562506&tin=02508201610067®Number=0000000000207295&sum=13400 0 [08:46:26]StoreToDocumentArchive [08:46:26]shift 24 fd 2629 [08:46:26]save to /storage/0024/doc_00002629 [08:46:26]save last doc name /storage/0024/doc_00002629 to /storage/kkm_last_doc_name [08:46:26]save OK [08:46:26]Clear old archive folders... [08:46:26]ProcessDocumentItem done err = 0, tmpTLVsize=278 [08:46:26]tlvbuf is 0135D3B0 [08:46:26]SAM_PROTO_ClearQueue [08:46:26]wFMCommunicate request_size=4 [08:46:26]MH_SAM_APDU [08:46:26]CAPDU: 80 09 00 00 [08:46:26]Write to MH i2c: E2 08 00 23 5E 80 09 00 00 00 00 00 00 F3 [08:46:26]Write i2c OK [08:46:26]MH_I2C_Read... [08:46:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:46:26]Read from MH i2c: E2 [08:46:26]MH_I2C_Read... [08:46:26]Read from MH i2c: E2 03 00 [08:46:26]MH_I2C_Read... [08:46:26]Read from MH i2c: E2 03 00 23 5E 00 90 00 F5 [08:46:26]RAPDU: 90 00 [08:46:26]wFMCommunicate OK [08:46:26]SAM_PROTO_ClearQueue done [08:46:26]KKMCreateOFDPacket [08:46:26]OFDProtocolAddRootSTLVToBuf [08:46:26]FM_MakeSignedData [08:46:26]FM_MakeSignedData [08:46:26]SAM_PROTO_SignData [08:46:26]wFMCommunicate request_size=4 [08:46:26]MH_SAM_APDU [08:46:26]CAPDU: 80 0D 01 02 [08:46:26]Write to MH i2c: E2 08 00 24 5E 80 0D 01 02 00 00 00 00 FB [08:46:26]Write i2c OK [08:46:26]MH_I2C_Read... [08:46:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:46:26]Read from MH i2c: E2 [08:46:26]MH_I2C_Read... [08:46:26]Read from MH i2c: E2 03 00 [08:46:26]MH_I2C_Read... [08:46:26]Read from MH i2c: E2 03 00 24 5E 00 90 00 F6 [08:46:26]RAPDU: 90 00 [08:46:26]wFMCommunicate OK [08:46:26]wFMCommunicate request_size=255 [08:46:26]MH_SAM_APDU [08:46:26]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 0A 00 00 00 F4 03 04 00 6F C3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 [08:46:26]Write to MH i2c: E2 02 01 25 5E 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 0A 00 00 00 F4 03 04 00 6F C3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 00 00 FF [08:46:26]Write i2c OK [08:46:26]MH_I2C_Read... [08:46:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:46:26]Read from MH i2c: E2 [08:46:26]MH_I2C_Read... [08:46:26]Read from MH i2c: E2 03 00 [08:46:26]MH_I2C_Read... [08:46:26]Read from MH i2c: E2 03 00 25 5E 00 90 00 F7 [08:46:26]RAPDU: 90 00 [08:46:26]wFMCommunicate OK [08:46:26]wFMCommunicate request_size=37 [08:46:26]MH_SAM_APDU [08:46:26]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 45 0A 00 00 35 04 06 00 E1 BD 19 2E BF 0A [08:46:26]Write to MH i2c: E2 28 00 26 5E 80 0D 02 02 20 00 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 45 0A 00 00 35 04 06 00 E1 BD 19 2E BF 0A 00 00 47 [08:46:26]Write i2c OK [08:46:26]MH_I2C_Read... [08:46:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:46:26]Read from MH i2c: E2 [08:46:26]MH_I2C_Read... [08:46:26]Read from MH i2c: E2 03 00 [08:46:26]MH_I2C_Read... [08:46:26]Read from MH i2c: E2 03 00 26 5E 00 90 00 F8 [08:46:26]RAPDU: 90 00 [08:46:26]wFMCommunicate OK [08:46:26]wFMCommunicate request_size=4 [08:46:26]MH_SAM_APDU [08:46:26]CAPDU: 80 0D 03 02 [08:46:26]Write to MH i2c: E2 08 00 27 5E 80 0D 03 02 00 00 00 00 00 [08:46:26]Write i2c OK [08:46:26]MH_I2C_Read... [08:46:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:46:27]Read from MH i2c: E2 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: E2 0B 00 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: E2 0B 00 27 5E 00 BC 02 28 A7 BA 45 80 51 90 00 5E [08:46:27]RAPDU: BC 02 28 A7 BA 45 80 51 90 00 [08:46:27]wFMCommunicate OK [08:46:27]SAM_PROTO_SignData done [08:46:27]FM_MakeSignedData done [08:46:27]CreateOFDProtocolMessage [08:46:27]wFMCommunicate request_size=4 [08:46:27]MH_SAM_APDU [08:46:27]CAPDU: 80 11 00 00 [08:46:27]Write to MH i2c: E2 08 00 28 5E 80 11 00 00 00 00 00 00 00 [08:46:27]Write i2c OK [08:46:27]MH_I2C_Read... [08:46:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:46:27]Read from MH i2c: E2 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: E2 17 00 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: E2 17 00 28 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 48 [08:46:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:46:27]wFMCommunicate OK [08:46:27]CreateOFDProtocolMessage done [08:46:27]OFDSenderStorePacket 2629 [08:46:27]StoreOFDPacket docnum=2629 [08:46:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2A 01 00 00 6E 51 22 01 B4 1D 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 0A 00 00 00 F4 03 04 00 6F C3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 45 0A 00 00 35 04 06 00 E1 BD 19 2E BF 0A BC 02 28 A7 BA 45 80 51 [08:46:27]CheckFolder [08:46:27]dirname=/storage/ofd_packets [08:46:27]CheckFolder done [08:46:27]ProducePacketName [08:46:27]name=ofd_packets/00002629 [08:46:27]NVStorageSaveData ofd_packets/00002629 [08:46:27]File name is /storage/ofd_packets/00002629 [08:46:27]Write 328 bytes [08:46:27]NVStorageSaveData done [08:46:27]OFDSenderStorePacket done [08:46:27]KKMCreateOFDPacket done [08:46:27]NVStorageSaveData kkm_last_timestamp [08:46:27]File name is /storage/kkm_last_timestamp [08:46:27]Write 4 bytes [08:46:27]NVStorageSaveData done [08:46:27]ExternCall_PrintAddStr [08:46:27]wPrintStart [08:46:27]Write to MH i2c: 01 00 00 29 5E 87 [08:46:27]Write i2c OK [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 07 00 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 07 00 29 5E 00 00 00 00 00 FF 0F 9C [08:46:27]RasterBufferAndPrint [08:46:27]line Счет N : (3)100006 [08:46:27]line ИНН: 02508201610067 [08:46:27]line Контрольно-Кассовый Чек [08:46:27]line ПРОДАЖА [08:46:27]line Товар: 48743389 [08:46:27]line Сигареты BOND STREET compact blue [08:46:27]line 1.000 * 134.00 [08:46:27]line = 134.00 [08:46:27]line НДС 12% НСП 1% [08:46:27]line > о реализуемом товаре [08:46:27]line ИТОГО: 134.00 [08:46:27]line НСП 1% : 1.19 [08:46:27]line НДС 12% : 14.23 [08:46:27]line Наличными: 134.00 [08:46:27]line Безнал.: 0.00 [08:46:27]line Место: АЗС № 162 "Партнер Нефть" [08:46:27]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:46:27]line СНО: Общий режим [08:46:27]line Чек 10 20.10.2024 08:46 [08:46:27]line Смена: 24 ФФД: 1.0 [08:46:27]line ЗНМ: 0300000191 [08:46:27]line РНМ: 0000000000207295 [08:46:27]line Версия ККМ: v1.0 [08:46:27]line ФМ: 0000000002342820 [08:46:27]line ФД: 2629 [08:46:27]line ФПД: 248202287562506 [08:46:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T084639&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2629&fm=248202287562506&tin=02508201610067®Number=0000000000207295&sum=13400 [08:46:27]line 0 [08:46:27]OFD Sender: Processing packet 2629 [packets to send 1, broken 0] [08:46:27]ProducePacketName [08:46:27]name=ofd_packets/00002629 [08:46:27]OFD Sender: To server: pG, [08:46:27]CommunicateWithHost lk.salyk.kg:30040 [08:46:27]ConnectInit lk.salyk.kg [08:46:27]written 0, free lines is 4095 [08:46:27]Connected sock=11 [08:46:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2A 01 00 00 6E 51 22 01 B4 1D 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 0A 00 00 00 F4 03 04 00 6F C3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 45 0A 00 00 35 04 06 00 E1 BD 19 2E BF 0A BC 02 28 A7 BA 45 80 51 [08:46:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 A2 A0 47 00 5A 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 45 0A 00 00 F4 03 04 00 CD 6E 14 67 B6 04 01 00 00 FD D3 46 3B AB 0D 13 BD [08:46:27]CommunicateWithHost err = 0 [08:46:27]CheckOFDResponse [08:46:27]1017 (14) - 77093643461234 [08:46:27]1041 (16) - 0000000002342820 [08:46:27]1040 (4) - 2629 [08:46:27]1012 (4) - 20.10.2024 02:45 [08:46:27]1206 (1) - 0 [08:46:27]OFD Sender: Remove packet 2629 [08:46:27]ProducePacketName [08:46:27]name=ofd_packets/00002629 [08:46:27]NVStorageDeleteData [08:46:27]Write to MH i2c: 01 00 00 52 5E B0 [08:46:27]Write i2c OK [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 07 00 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 07 00 52 5E 00 00 00 00 00 AD 0C 70 [08:46:27]RasterBufferAndPrint [08:46:27]line [08:46:27]line [08:46:27]line [08:46:27]line [08:46:27]line [08:46:27]written 0, free lines is 3247 [08:46:27]MH_Cut [08:46:27]Write to MH i2c: D1 01 00 59 5E 01 89 [08:46:27]Write i2c OK [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: D1 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: D1 01 00 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: D1 01 00 59 5E 00 88 [08:46:27]Write to MH i2c: 01 00 00 5A 5E B8 [08:46:27]Write i2c OK [08:46:27]MH_I2C_Read... [08:46:28]OFD Sender: No OFD packet to send [08:46:28]*** Cut start [08:46:28]*** Partial cut [08:46:28]*** CUTSNS_PIN = 1 [08:46:28]*** CUTSNS_PIN = 0 [08:46:29]*** Brake cut motor [08:46:29]Read from MH i2c: 01 [08:46:29]MH_I2C_Read... [08:46:29]*** Stop cut motor [08:46:29]*** Cut end [08:46:29]Read from MH i2c: 01 07 00 [08:46:29]MH_I2C_Read... [08:46:29]Read from MH i2c: 01 07 00 5A 5E 00 00 00 00 00 FF 0F CD [08:46:29]process_action close_receipt done [08:46:29]requested_data is exist [08:46:29]produce_requested_data [08:46:29]requested_item fm.sn is exist - process it [08:46:29]wFMCommunicate request_size=4 [08:46:29]MH_SAM_APDU [08:46:29]CAPDU: 80 11 00 00 [08:46:29]Write to MH i2c: E2 08 00 5B 5E 80 11 00 00 00 00 00 00 33 [08:46:29]Write i2c OK [08:46:29]MH_I2C_Read... [08:46:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:46:29]Read from MH i2c: E2 [08:46:29]MH_I2C_Read... [08:46:29]Read from MH i2c: E2 17 00 [08:46:29]MH_I2C_Read... [08:46:29]Read from MH i2c: E2 17 00 5B 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 7B [08:46:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:46:29]wFMCommunicate OK [08:46:29]requested_item fd.num is exist - process it [08:46:29]SAM_PROTO_GetFieldsCounters [08:46:29]wFMCommunicate request_size=4 [08:46:29]MH_SAM_APDU [08:46:29]CAPDU: 80 13 00 00 [08:46:29]Write to MH i2c: E2 08 00 5C 5E 80 13 00 00 00 00 00 00 36 [08:46:29]Write i2c OK [08:46:29]MH_I2C_Read... [08:46:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:46:29]Read from MH i2c: E2 [08:46:29]MH_I2C_Read... [08:46:29]Read from MH i2c: E2 62 00 [08:46:29]MH_I2C_Read... [08:46:29]Read from MH i2c: E2 62 00 5C 5E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 45 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [08:46:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 45 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:46:29]wFMCommunicate OK [08:46:29]SAM_PROTO_GetFieldsCounters done [08:46:29]requested_item shift.num is exist - process it [08:46:29]requested_item shift.opened is exist - process it [08:46:29]req_shift_opened [08:46:29]FM_GetShiftState [08:46:29]SAM_PROTO_GetShiftState [08:46:29]wFMCommunicate request_size=4 [08:46:29]MH_SAM_APDU [08:46:29]CAPDU: 80 13 01 00 [08:46:29]Write to MH i2c: E2 08 00 5D 5E 80 13 01 00 00 00 00 00 38 [08:46:29]Write i2c OK [08:46:29]MH_I2C_Read... [08:46:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:46:29]Read from MH i2c: E2 [08:46:29]MH_I2C_Read... [08:46:29]Read from MH i2c: E2 0E 00 [08:46:29]MH_I2C_Read... [08:46:29]Read from MH i2c: E2 0E 00 5D 5E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 22 [08:46:29]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [08:46:29]wFMCommunicate OK [08:46:29]SAM_PROTO_GetShiftState done [08:46:29]FM_GetShiftState done [08:46:29]req_shift_opened done [08:46:29]requested_item shift.open_date is exist - process it [08:46:29]req_shift_open_date [08:46:29]req_shift_open_date done [08:46:29]produce_requested_data done [08:46:29]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2629,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [08:46:29]process_action_free close_receipt [08:46:29]json_value_free [08:46:29]json_value_free done [08:46:29]process_json_proto returns [08:46:29]Send response to host [08:46:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2629,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [08:46:29]free response buf [08:46:29]execute_script done [08:46:29]execute_script returns [08:46:29]free content buf [08:46:29]Sock 9.Close socket [08:46:29]Sock 9.Thread stoped [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:23]OFD Sender: No OFD packet to send [08:48:28]OFD Sender: No OFD packet to send [08:48:33]OFD Sender: No OFD packet to send [08:48:38]OFD Sender: No OFD packet to send [08:48:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:03]OFD Sender: No OFD packet to send [08:51:08]OFD Sender: No OFD packet to send [08:51:13]OFD Sender: No OFD packet to send [08:51:18]OFD Sender: No OFD packet to send [08:51:23]OFD Sender: No OFD packet to send [08:51:28]OFD Sender: No OFD packet to send [08:51:33]OFD Sender: No OFD packet to send [08:51:38]OFD Sender: No OFD packet to send [08:51:43]OFD Sender: No OFD packet to send [08:51:48]OFD Sender: No OFD packet to send [08:51:53]OFD Sender: No OFD packet to send [08:51:58]OFD Sender: No OFD packet to send [08:52:03]OFD Sender: No OFD packet to send [08:52:08]OFD Sender: No OFD packet to send [08:52:13]OFD Sender: No OFD packet to send [08:52:18]OFD Sender: No OFD packet to send [08:52:23]OFD Sender: No OFD packet to send [08:52:28]OFD Sender: No OFD packet to send [08:52:33]OFD Sender: No OFD packet to send [08:52:38]OFD Sender: No OFD packet to send [08:52:43]OFD Sender: No OFD packet to send [08:52:48]OFD Sender: No OFD packet to send [08:52:53]OFD Sender: No OFD packet to send [08:52:58]OFD Sender: No OFD packet to send [08:53:03]OFD Sender: No OFD packet to send [08:53:08]OFD Sender: No OFD packet to send [08:53:13]OFD Sender: No OFD packet to send [08:53:18]OFD Sender: No OFD packet to send [08:53:23]OFD Sender: No OFD packet to send [08:53:28]OFD Sender: No OFD packet to send [08:53:33]OFD Sender: No OFD packet to send [08:53:38]OFD Sender: No OFD packet to send [08:53:43]OFD Sender: No OFD packet to send [08:53:48]OFD Sender: No OFD packet to send [08:53:53]OFD Sender: No OFD packet to send [08:53:58]OFD Sender: No OFD packet to send [08:54:03]OFD Sender: No OFD packet to send [08:54:08]OFD Sender: No OFD packet to send [08:54:13]OFD Sender: No OFD packet to send [08:54:18]OFD Sender: No OFD packet to send [08:54:23]OFD Sender: No OFD packet to send [08:54:28]OFD Sender: No OFD packet to send [08:54:33]OFD Sender: No OFD packet to send [08:54:38]OFD Sender: No OFD packet to send [08:54:43]OFD Sender: No OFD packet to send [08:54:48]OFD Sender: No OFD packet to send [08:54:53]OFD Sender: No OFD packet to send [08:54:58]OFD Sender: No OFD packet to send [08:55:03]OFD Sender: No OFD packet to send [08:55:08]OFD Sender: No OFD packet to send [08:55:13]OFD Sender: No OFD packet to send [08:55:18]OFD Sender: No OFD packet to send [08:55:23]OFD Sender: No OFD packet to send [08:55:28]OFD Sender: No OFD packet to send [08:55:33]OFD Sender: No OFD packet to send [08:55:38]OFD Sender: No OFD packet to send [08:55:43]OFD Sender: No OFD packet to send [08:55:48]OFD Sender: No OFD packet to send [08:55:53]OFD Sender: No OFD packet to send [08:55:58]OFD Sender: No OFD packet to send [08:56:03]OFD Sender: No OFD packet to send [08:56:08]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:38]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:48]OFD Sender: No OFD packet to send [08:58:53]OFD Sender: No OFD packet to send [08:58:58]OFD Sender: No OFD packet to send [08:59:03]OFD Sender: No OFD packet to send [08:59:08]OFD Sender: No OFD packet to send [08:59:11]accept exits with 7 [08:59:11]New connection [08:59:11]New thread 3066850660 created [08:59:11]Thread 3066707300 joined [08:59:11]Waiting for new connection... [08:59:11] Sock 7.Parse request [08:59:11]Sock 7.Check first char [08:59:11]Sock 7.First char is OK [08:59:11]request: POST /json_proto HTTP/1.0 [08:59:11]Method: POST [08:59:11]URL: /json_proto [08:59:11]Method is POST - this is cgi request [08:59:11]url: /json_proto [08:59:11]query_string will be loaded in cgi processing [08:59:11]execute_cgi json_proto POST (null) [08:59:11]execute_cgi path=json_proto method=POST [08:59:11]POST find Content-Length [08:59:11]Host: 172.17.52.132:8080 [08:59:11]Content-Length: 696 [08:59:11]Content-Type: application/json [08:59:11] [08:59:11]POST finish read [08:59:11]Found Content-Length = 696 [08:59:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100007", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:59:11]execute_script... [08:59:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100007", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:59:11]POST & json_proto [08:59:11]process_json_proto [08:59:11]json parsed OK: [08:59:11]protocol is kg_v1.0 [08:59:11]action value=close_receipt [08:59:11]process_action close_receipt [08:59:11]cmd_close_receipt [08:59:11]MH_GetDate [08:59:11]Write to MH i2c: F0 00 00 5E 5E AB [08:59:11]Write i2c OK [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: F0 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: F0 09 00 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: F0 09 00 5E 5E 00 6D C6 14 67 5A BE F6 66 D6 [08:59:11]GetLastDocTimeStamp 1729413999 [08:59:11]current date 1729414765 [08:59:11]FM_GetShiftState [08:59:11]SAM_PROTO_GetShiftState [08:59:11]wFMCommunicate request_size=4 [08:59:11]MH_SAM_APDU [08:59:11]CAPDU: 80 13 01 00 [08:59:11]Write to MH i2c: E2 08 00 5F 5E 80 13 01 00 00 00 00 00 3A [08:59:11]Write i2c OK [08:59:11]MH_I2C_Read... [08:59:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:59:11]Read from MH i2c: E2 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 0E 00 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 0E 00 5F 5E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 24 [08:59:11]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [08:59:11]wFMCommunicate OK [08:59:11]SAM_PROTO_GetShiftState done [08:59:11]FM_GetShiftState done [08:59:11]opened in 1729382427 [08:59:11]opened+sec_in_day 1729468827 [08:59:11]quantity*price = 9500 [08:59:11]sum+1 = 9501 [08:59:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 11 20.10.2024 08:59 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2630 ФПД: 158167747971265 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T085925&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2630&fm=158167747971265&tin=02508201610067®Number=0000000000207295&sum=9500 0 [08:59:12]StoreToDocumentArchive [08:59:12]shift 24 fd 2630 [08:59:12]save to /storage/0024/doc_00002630 [08:59:12]save last doc name /storage/0024/doc_00002630 to /storage/kkm_last_doc_name [08:59:12]save OK [08:59:12]Clear old archive folders... [08:59:12]ProcessDocumentItem done err = 0, tmpTLVsize=299 [08:59:12]tlvbuf is 015177D0 [08:59:12]SAM_PROTO_ClearQueue [08:59:12]wFMCommunicate request_size=4 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 09 00 00 [08:59:12]Write to MH i2c: E2 08 00 6C 5E 80 09 00 00 00 00 00 00 3C [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 03 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 03 00 6C 5E 00 90 00 3E [08:59:12]RAPDU: 90 00 [08:59:12]wFMCommunicate OK [08:59:12]SAM_PROTO_ClearQueue done [08:59:12]KKMCreateOFDPacket [08:59:12]OFDProtocolAddRootSTLVToBuf [08:59:12]FM_MakeSignedData [08:59:12]FM_MakeSignedData [08:59:12]SAM_PROTO_SignData [08:59:12]wFMCommunicate request_size=4 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 0D 01 02 [08:59:12]Write to MH i2c: E2 08 00 6D 5E 80 0D 01 02 00 00 00 00 44 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 03 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 03 00 6D 5E 00 90 00 3F [08:59:12]RAPDU: 90 00 [08:59:12]wFMCommunicate OK [08:59:12]wFMCommunicate request_size=255 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 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 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 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 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 0B 00 00 00 F4 03 04 00 6D C6 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [08:59:12]Write to MH i2c: E2 02 01 6E 5E 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 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 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 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 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 0B 00 00 00 F4 03 04 00 6D C6 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 46 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 03 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 03 00 6E 5E 00 90 00 40 [08:59:12]RAPDU: 90 00 [08:59:12]wFMCommunicate OK [08:59:12]wFMCommunicate request_size=58 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 46 0A 00 00 35 04 06 00 8F DA 4C 6E C8 C1 [08:59:12]Write to MH i2c: E2 3D 00 6F 5E 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 46 0A 00 00 35 04 06 00 8F DA 4C 6E C8 C1 00 00 27 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 03 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 03 00 6F 5E 00 90 00 41 [08:59:12]RAPDU: 90 00 [08:59:12]wFMCommunicate OK [08:59:12]wFMCommunicate request_size=4 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 0D 03 02 [08:59:12]Write to MH i2c: E2 08 00 70 5E 80 0D 03 02 00 00 00 00 49 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 0B 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 0B 00 70 5E 00 7D 04 40 5A 4E 2B 99 50 90 00 C7 [08:59:12]RAPDU: 7D 04 40 5A 4E 2B 99 50 90 00 [08:59:12]wFMCommunicate OK [08:59:12]SAM_PROTO_SignData done [08:59:12]FM_MakeSignedData done [08:59:12]CreateOFDProtocolMessage [08:59:12]wFMCommunicate request_size=4 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 11 00 00 [08:59:12]Write to MH i2c: E2 08 00 71 5E 80 11 00 00 00 00 00 00 49 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:59:13]Read from MH i2c: E2 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: E2 17 00 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: E2 17 00 71 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 91 [08:59:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:59:13]wFMCommunicate OK [08:59:13]CreateOFDProtocolMessage done [08:59:13]OFDSenderStorePacket 2630 [08:59:13]StoreOFDPacket docnum=2630 [08:59:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3F 01 00 00 AC B0 37 01 E7 72 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 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 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 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 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 0B 00 00 00 F4 03 04 00 6D C6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 46 0A 00 00 35 04 06 00 8F DA 4C 6E C8 C1 7D 04 40 5A 4E 2B 99 50 [08:59:13]CheckFolder [08:59:13]dirname=/storage/ofd_packets [08:59:13]CheckFolder done [08:59:13]ProducePacketName [08:59:13]name=ofd_packets/00002630 [08:59:13]NVStorageSaveData ofd_packets/00002630 [08:59:13]File name is /storage/ofd_packets/00002630 [08:59:13]Write 349 bytes [08:59:13]NVStorageSaveData done [08:59:13]OFDSenderStorePacket done [08:59:13]KKMCreateOFDPacket done [08:59:13]NVStorageSaveData kkm_last_timestamp [08:59:13]File name is /storage/kkm_last_timestamp [08:59:13]Write 4 bytes [08:59:13]NVStorageSaveData done [08:59:13]ExternCall_PrintAddStr [08:59:13]wPrintStart [08:59:13]Write to MH i2c: 01 00 00 72 5E D0 [08:59:13]Write i2c OK [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: 01 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: 01 07 00 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: 01 07 00 72 5E 00 00 00 00 00 FF 0F E5 [08:59:13]RasterBufferAndPrint [08:59:13]line Счет N : (3)100007 [08:59:13]line ИНН: 02508201610067 [08:59:13]line Контрольно-Кассовый Чек [08:59:13]line ПРОДАЖА [08:59:13]line Товар: 4700000480364 [08:59:13]line Напиток энерг Nitro экзотик 0.45 ж/б [08:59:13]line 1.000 * 95.00 [08:59:13]line = 95.00 [08:59:13]line НДС 12% НСП 1% [08:59:13]line > о реализуемом товаре [08:59:13]line ИТОГО: 95.00 [08:59:13]line НСП 1% : 0.84 [08:59:13]line НДС 12% : 10.09 [08:59:13]line Наличными: 95.00 [08:59:13]line Безнал.: 0.00 [08:59:13]line Место: АЗС № 162 "Партнер Нефть" [08:59:13]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:59:13]line СНО: Общий режим [08:59:13]line Чек 11 20.10.2024 08:59 [08:59:13]line Смена: 24 ФФД: 1.0 [08:59:13]line ЗНМ: 0300000191 [08:59:13]line РНМ: 0000000000207295 [08:59:13]line Версия ККМ: v1.0 [08:59:13]line ФМ: 0000000002342820 [08:59:13]line ФД: 2630 [08:59:13]line ФПД: 158167747971265 [08:59:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T085925&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2630&fm=158167747971265&tin=02508201610067®Number=0000000000207295&sum=9500 [08:59:13]line 0 [08:59:13]OFD Sender: Processing packet 2630 [packets to send 1, broken 0] [08:59:13]ProducePacketName [08:59:13]name=ofd_packets/00002630 [08:59:13]OFD Sender: To server: pG, [08:59:13]CommunicateWithHost lk.salyk.kg:30040 [08:59:13]ConnectInit lk.salyk.kg [08:59:13]written 0, free lines is 4095 [08:59:13]Connected sock=10 [08:59:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3F 01 00 00 AC B0 37 01 E7 72 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 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 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 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 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 0B 00 00 00 F4 03 04 00 6D C6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 46 0A 00 00 35 04 06 00 8F DA 4C 6E C8 C1 7D 04 40 5A 4E 2B 99 50 [08:59:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 76 96 47 00 FE 2D 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 33 34 32 38 32 30 10 04 04 00 46 0A 00 00 F4 03 04 00 CB 71 14 67 B6 04 01 00 00 B6 1C 45 2F A7 06 71 24 [08:59:13]CommunicateWithHost err = 0 [08:59:13]CheckOFDResponse [08:59:13]1017 (14) - 77093643461234 [08:59:13]1041 (16) - 0000000002342820 [08:59:13]1040 (4) - 2630 [08:59:13]1012 (4) - 20.10.2024 02:58 [08:59:13]1206 (1) - 0 [08:59:13]OFD Sender: Remove packet 2630 [08:59:13]ProducePacketName [08:59:13]name=ofd_packets/00002630 [08:59:13]NVStorageDeleteData [08:59:13]Write to MH i2c: 01 00 00 9B 5E F9 [08:59:13]Write i2c OK [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: 01 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: 01 07 00 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: 01 07 00 9B 5E 00 00 00 00 00 AD 0C B9 [08:59:13]RasterBufferAndPrint [08:59:13]line [08:59:13]line [08:59:13]line [08:59:13]line [08:59:13]line [08:59:13]written 0, free lines is 3249 [08:59:13]MH_Cut [08:59:13]Write to MH i2c: D1 01 00 A2 5E 01 D2 [08:59:13]Write i2c OK [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: D1 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: D1 01 00 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: D1 01 00 A2 5E 00 D1 [08:59:13]Write to MH i2c: 01 00 00 A3 5E 01 [08:59:13]Write i2c OK [08:59:13]MH_I2C_Read... [08:59:14]OFD Sender: No OFD packet to send [08:59:14]*** Cut start [08:59:14]*** Partial cut [08:59:14]*** CUTSNS_PIN = 1 [08:59:14]*** CUTSNS_PIN = 0 [08:59:15]*** Brake cut motor [08:59:15]Read from MH i2c: 01 [08:59:15]MH_I2C_Read... [08:59:15]*** Stop cut motor [08:59:15]*** Cut end [08:59:15]Read from MH i2c: 01 07 00 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: 01 07 00 A3 5E 00 00 00 00 00 FF 0F 16 [08:59:15]process_action close_receipt done [08:59:15]requested_data is exist [08:59:15]produce_requested_data [08:59:15]requested_item fm.sn is exist - process it [08:59:15]wFMCommunicate request_size=4 [08:59:15]MH_SAM_APDU [08:59:15]CAPDU: 80 11 00 00 [08:59:15]Write to MH i2c: E2 08 00 A4 5E 80 11 00 00 00 00 00 00 7C [08:59:15]Write i2c OK [08:59:15]MH_I2C_Read... [08:59:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:59:15]Read from MH i2c: E2 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: E2 17 00 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: E2 17 00 A4 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C4 [08:59:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:59:15]wFMCommunicate OK [08:59:15]requested_item fd.num is exist - process it [08:59:15]SAM_PROTO_GetFieldsCounters [08:59:15]wFMCommunicate request_size=4 [08:59:15]MH_SAM_APDU [08:59:15]CAPDU: 80 13 00 00 [08:59:15]Write to MH i2c: E2 08 00 A5 5E 80 13 00 00 00 00 00 00 7F [08:59:15]Write i2c OK [08:59:15]MH_I2C_Read... [08:59:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:59:15]Read from MH i2c: E2 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: E2 62 00 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: E2 62 00 A5 5E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 46 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 1E [08:59:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 46 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:59:15]wFMCommunicate OK [08:59:15]SAM_PROTO_GetFieldsCounters done [08:59:15]requested_item shift.num is exist - process it [08:59:15]requested_item shift.opened is exist - process it [08:59:15]req_shift_opened [08:59:15]FM_GetShiftState [08:59:15]SAM_PROTO_GetShiftState [08:59:15]wFMCommunicate request_size=4 [08:59:15]MH_SAM_APDU [08:59:15]CAPDU: 80 13 01 00 [08:59:15]Write to MH i2c: E2 08 00 A6 5E 80 13 01 00 00 00 00 00 81 [08:59:15]Write i2c OK [08:59:15]MH_I2C_Read... [08:59:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:59:15]Read from MH i2c: E2 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: E2 0E 00 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: E2 0E 00 A6 5E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 6B [08:59:15]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [08:59:15]wFMCommunicate OK [08:59:15]SAM_PROTO_GetShiftState done [08:59:15]FM_GetShiftState done [08:59:15]req_shift_opened done [08:59:15]requested_item shift.open_date is exist - process it [08:59:15]req_shift_open_date [08:59:15]req_shift_open_date done [08:59:15]produce_requested_data done [08:59:15]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2630,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [08:59:15]process_action_free close_receipt [08:59:15]json_value_free [08:59:15]json_value_free done [08:59:15]process_json_proto returns [08:59:15]Send response to host [08:59:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2630,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [08:59:15]free response buf [08:59:15]execute_script done [08:59:15]execute_script returns [08:59:15]free content buf [08:59:15]Sock 7.Close socket [08:59:15]Sock 7.Thread stoped [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:12]accept exits with 9 [09:00:12]New connection [09:00:12]New thread 3066707300 created [09:00:12]Thread 3066850660 joined [09:00:12]Waiting for new connection... [09:00:12] Sock 9.Parse request [09:00:12]Sock 9.Check first char [09:00:12]Sock 9.First char is OK [09:00:12]request: POST /json_proto HTTP/1.0 [09:00:12]Method: POST [09:00:12]URL: /json_proto [09:00:12]Method is POST - this is cgi request [09:00:12]url: /json_proto [09:00:12]query_string will be loaded in cgi processing [09:00:12]execute_cgi json_proto POST (null) [09:00:12]execute_cgi path=json_proto method=POST [09:00:12]POST find Content-Length [09:00:12]Host: 172.17.52.132:8080 [09:00:12]Content-Length: 621 [09:00:12]Content-Type: application/json [09:00:12] [09:00:12]POST finish read [09:00:12]Found Content-Length = 621 [09:00:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100008", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:12]execute_script... [09:00: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)100008", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:12]POST & json_proto [09:00:12]process_json_proto [09:00:12]json parsed OK: [09:00:12]protocol is kg_v1.0 [09:00:12]action value=close_receipt [09:00:12]process_action close_receipt [09:00:12]cmd_close_receipt [09:00:12]MH_GetDate [09:00:12]Write to MH i2c: F0 00 00 A7 5E F4 [09:00:12]Write i2c OK [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: F0 [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: F0 09 00 [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: F0 09 00 A7 5E 00 AA C6 14 67 5A BE F6 66 5C [09:00:12]GetLastDocTimeStamp 1729414765 [09:00:12]current date 1729414826 [09:00:12]FM_GetShiftState [09:00:12]SAM_PROTO_GetShiftState [09:00:12]wFMCommunicate request_size=4 [09:00:12]MH_SAM_APDU [09:00:12]CAPDU: 80 13 01 00 [09:00:12]Write to MH i2c: E2 08 00 A8 5E 80 13 01 00 00 00 00 00 83 [09:00:12]Write i2c OK [09:00:12]MH_I2C_Read... [09:00:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:12]Read from MH i2c: E2 [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: E2 0E 00 [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: E2 0E 00 A8 5E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 6D [09:00:12]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:00:12]wFMCommunicate OK [09:00:12]SAM_PROTO_GetShiftState done [09:00:12]FM_GetShiftState done [09:00:12]opened in 1729382427 [09:00:12]opened+sec_in_day 1729468827 [09:00:12]quantity*price = 14400 [09:00:12]sum+1 = 14401 [09:00:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 12 20.10.2024 09:00 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2631 ФПД: 99682186949588 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090026&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2631&fm=99682186949588&tin=02508201610067®Number=0000000000207295&sum=14400 0 [09:00:13]StoreToDocumentArchive [09:00:13]shift 24 fd 2631 [09:00:13]save to /storage/0024/doc_00002631 [09:00:13]save last doc name /storage/0024/doc_00002631 to /storage/kkm_last_doc_name [09:00:13]save OK [09:00:13]Clear old archive folders... [09:00:13]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:00:13]tlvbuf is 01447740 [09:00:13]SAM_PROTO_ClearQueue [09:00:13]wFMCommunicate request_size=4 [09:00:13]MH_SAM_APDU [09:00:13]CAPDU: 80 09 00 00 [09:00:13]Write to MH i2c: E2 08 00 B5 5E 80 09 00 00 00 00 00 00 85 [09:00:13]Write i2c OK [09:00:13]MH_I2C_Read... [09:00:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:00:13]Read from MH i2c: E2 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 B5 5E 00 90 00 87 [09:00:13]RAPDU: 90 00 [09:00:13]wFMCommunicate OK [09:00:13]SAM_PROTO_ClearQueue done [09:00:13]KKMCreateOFDPacket [09:00:13]OFDProtocolAddRootSTLVToBuf [09:00:13]FM_MakeSignedData [09:00:13]FM_MakeSignedData [09:00:13]SAM_PROTO_SignData [09:00:13]wFMCommunicate request_size=4 [09:00:13]MH_SAM_APDU [09:00:13]CAPDU: 80 0D 01 02 [09:00:13]Write to MH i2c: E2 08 00 B6 5E 80 0D 01 02 00 00 00 00 8D [09:00:13]Write i2c OK [09:00:13]MH_I2C_Read... [09:00:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:00:13]Read from MH i2c: E2 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 B6 5E 00 90 00 88 [09:00:13]RAPDU: 90 00 [09:00:13]wFMCommunicate OK [09:00:13]wFMCommunicate request_size=255 [09:00:13]MH_SAM_APDU [09:00:13]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 AA C6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [09:00:13]Write to MH i2c: E2 02 01 B7 5E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 AA C6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 06 [09:00:13]Write i2c OK [09:00:13]MH_I2C_Read... [09:00:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:13]Read from MH i2c: E2 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 B7 5E 00 90 00 89 [09:00:13]RAPDU: 90 00 [09:00:13]wFMCommunicate OK [09:00:13]wFMCommunicate request_size=32 [09:00:13]MH_SAM_APDU [09:00:13]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 47 0A 00 00 35 04 06 00 5A A9 11 57 F3 D4 [09:00:13]Write to MH i2c: E2 23 00 B8 5E 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 47 0A 00 00 35 04 06 00 5A A9 11 57 F3 D4 00 00 65 [09:00:13]Write i2c OK [09:00:13]MH_I2C_Read... [09:00:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:13]Read from MH i2c: E2 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 B8 5E 00 90 00 8A [09:00:13]RAPDU: 90 00 [09:00:13]wFMCommunicate OK [09:00:13]wFMCommunicate request_size=4 [09:00:13]MH_SAM_APDU [09:00:13]CAPDU: 80 0D 03 02 [09:00:13]Write to MH i2c: E2 08 00 B9 5E 80 0D 03 02 00 00 00 00 92 [09:00:13]Write i2c OK [09:00:13]MH_I2C_Read... [09:00:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:00:14]Read from MH i2c: E2 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 0B 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 0B 00 B9 5E 00 1A 0A 26 E0 FF 5B 0B 48 90 00 6A [09:00:14]RAPDU: 1A 0A 26 E0 FF 5B 0B 48 90 00 [09:00:14]wFMCommunicate OK [09:00:14]SAM_PROTO_SignData done [09:00:14]FM_MakeSignedData done [09:00:14]CreateOFDProtocolMessage [09:00:14]wFMCommunicate request_size=4 [09:00:14]MH_SAM_APDU [09:00:14]CAPDU: 80 11 00 00 [09:00:14]Write to MH i2c: E2 08 00 BA 5E 80 11 00 00 00 00 00 00 92 [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:14]Read from MH i2c: E2 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 17 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 17 00 BA 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 DA [09:00:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:00:14]wFMCommunicate OK [09:00:14]CreateOFDProtocolMessage done [09:00:14]OFDSenderStorePacket 2631 [09:00:14]StoreOFDPacket docnum=2631 [09:00:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 B6 5B 1D 01 9C AA 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 AA C6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 47 0A 00 00 35 04 06 00 5A A9 11 57 F3 D4 1A 0A 26 E0 FF 5B 0B 48 [09:00:14]CheckFolder [09:00:14]dirname=/storage/ofd_packets [09:00:14]CheckFolder done [09:00:14]ProducePacketName [09:00:14]name=ofd_packets/00002631 [09:00:14]NVStorageSaveData ofd_packets/00002631 [09:00:14]File name is /storage/ofd_packets/00002631 [09:00:14]Write 323 bytes [09:00:14]NVStorageSaveData done [09:00:14]OFDSenderStorePacket done [09:00:14]KKMCreateOFDPacket done [09:00:14]NVStorageSaveData kkm_last_timestamp [09:00:14]File name is /storage/kkm_last_timestamp [09:00:14]Write 4 bytes [09:00:14]NVStorageSaveData done [09:00:14]ExternCall_PrintAddStr [09:00:14]wPrintStart [09:00:14]Write to MH i2c: 01 00 00 BB 5E 19 [09:00:14]OFD Sender: Processing packet 2631 [packets to send 1, broken 0] [09:00:14]ProducePacketName [09:00:14]name=ofd_packets/00002631 [09:00:14]OFD Sender: To server: pG, [09:00:14]CommunicateWithHost lk.salyk.kg:30040 [09:00:14]ConnectInit lk.salyk.kg [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 07 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 07 00 BB 5E 00 00 00 00 00 FF 0F 2E [09:00:14]RasterBufferAndPrint [09:00:14]line Счет N : (3)100008 [09:00:14]line ИНН: 02508201610067 [09:00:14]line Контрольно-Кассовый Чек [09:00:14]line ПРОДАЖА [09:00:14]line Товар: 48743570 [09:00:14]line Сигареты Winston XStyle Blue [09:00:14]line 1.000 * 144.00 [09:00:14]line = 144.00 [09:00:14]line НДС 12% НСП 1% [09:00:14]line > о реализуемом товаре [09:00:14]line ИТОГО: 144.00 [09:00:14]line НСП 1% : 1.27 [09:00:14]line НДС 12% : 15.29 [09:00:14]line Наличными: 144.00 [09:00:14]line Безнал.: 0.00 [09:00:14]line Место: АЗС № 162 "Партнер Нефть" [09:00:14]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:00:14]line СНО: Общий режим [09:00:14]line Чек 12 20.10.2024 09:00 [09:00:14]line Смена: 24 ФФД: 1.0 [09:00:14]line ЗНМ: 0300000191 [09:00:14]line РНМ: 0000000000207295 [09:00:14]line Версия ККМ: v1.0 [09:00:14]line ФМ: 0000000002342820 [09:00:14]line ФД: 2631 [09:00:14]line ФПД: 99682186949588 [09:00:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090026&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2631&fm=99682186949588&tin=02508201610067®Number=0000000000207295&sum=14400 [09:00:14]line 0 [09:00:14]Connected sock=10 [09:00:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 B6 5B 1D 01 9C AA 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 AA C6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 47 0A 00 00 35 04 06 00 5A A9 11 57 F3 D4 1A 0A 26 E0 FF 5B 0B 48 [09:00:14]written 0, free lines is 4095 [09:00:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 97 4E 47 00 C9 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 47 0A 00 00 F4 03 04 00 08 72 14 67 B6 04 01 00 00 48 E7 5D 6E 5E C2 E7 53 [09:00:14]CommunicateWithHost err = 0 [09:00:14]CheckOFDResponse [09:00:14]1017 (14) - 77093643461234 [09:00:14]1041 (16) - 0000000002342820 [09:00:14]1040 (4) - 2631 [09:00:14]1012 (4) - 20.10.2024 02:59 [09:00:14]1206 (1) - 0 [09:00:14]OFD Sender: Remove packet 2631 [09:00:14]ProducePacketName [09:00:14]name=ofd_packets/00002631 [09:00:14]NVStorageDeleteData [09:00:14]Write to MH i2c: 01 00 00 E3 5E 41 [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 07 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 07 00 E3 5E 00 00 00 00 00 B8 0C 0C [09:00:14]RasterBufferAndPrint [09:00:14]line [09:00:14]line [09:00:14]line [09:00:14]line [09:00:14]line [09:00:14]written 0, free lines is 3260 [09:00:14]MH_Cut [09:00:14]Write to MH i2c: D1 01 00 EA 5E 01 1A [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: D1 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: D1 01 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: D1 01 00 EA 5E 00 19 [09:00:14]Write to MH i2c: 01 00 00 EB 5E 49 [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:15]OFD Sender: No OFD packet to send [09:00:15]*** Cut start [09:00:15]*** Partial cut [09:00:15]*** CUTSNS_PIN = 1 [09:00:15]*** CUTSNS_PIN = 0 [09:00:16]*** Brake cut motor [09:00:16]Read from MH i2c: 01 [09:00:16]MH_I2C_Read... [09:00:16]*** Stop cut motor [09:00:16]*** Cut end [09:00:16]Read from MH i2c: 01 07 00 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: 01 07 00 EB 5E 00 00 00 00 00 FF 0F 5E [09:00:16]process_action close_receipt done [09:00:16]requested_data is exist [09:00:16]produce_requested_data [09:00:16]requested_item fm.sn is exist - process it [09:00:16]wFMCommunicate request_size=4 [09:00:16]MH_SAM_APDU [09:00:16]CAPDU: 80 11 00 00 [09:00:16]Write to MH i2c: E2 08 00 EC 5E 80 11 00 00 00 00 00 00 C4 [09:00:16]Write i2c OK [09:00:16]MH_I2C_Read... [09:00:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:16]Read from MH i2c: E2 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 17 00 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 17 00 EC 5E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0C [09:00:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:00:16]wFMCommunicate OK [09:00:16]requested_item fd.num is exist - process it [09:00:16]SAM_PROTO_GetFieldsCounters [09:00:16]wFMCommunicate request_size=4 [09:00:16]MH_SAM_APDU [09:00:16]CAPDU: 80 13 00 00 [09:00:16]Write to MH i2c: E2 08 00 ED 5E 80 13 00 00 00 00 00 00 C7 [09:00:16]Write i2c OK [09:00:16]MH_I2C_Read... [09:00:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:00:16]Read from MH i2c: E2 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 62 00 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 62 00 ED 5E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 47 0A 00 00 0E 04 04 00 18 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 6A [09:00:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 47 0A 00 00 0E 04 04 00 18 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 [09:00:16]wFMCommunicate OK [09:00:16]SAM_PROTO_GetFieldsCounters done [09:00:16]requested_item shift.num is exist - process it [09:00:16]requested_item shift.opened is exist - process it [09:00:16]req_shift_opened [09:00:16]FM_GetShiftState [09:00:16]SAM_PROTO_GetShiftState [09:00:16]wFMCommunicate request_size=4 [09:00:16]MH_SAM_APDU [09:00:16]CAPDU: 80 13 01 00 [09:00:16]Write to MH i2c: E2 08 00 EE 5E 80 13 01 00 00 00 00 00 C9 [09:00:16]Write i2c OK [09:00:16]MH_I2C_Read... [09:00:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:16]Read from MH i2c: E2 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 0E 00 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 0E 00 EE 5E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 B3 [09:00:16]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:00:16]wFMCommunicate OK [09:00:16]SAM_PROTO_GetShiftState done [09:00:16]FM_GetShiftState done [09:00:16]req_shift_opened done [09:00:16]requested_item shift.open_date is exist - process it [09:00:16]req_shift_open_date [09:00:16]req_shift_open_date done [09:00:16]produce_requested_data done [09:00:16]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2631,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:00:16]process_action_free close_receipt [09:00:16]json_value_free [09:00:16]json_value_free done [09:00:16]process_json_proto returns [09:00:16]Send response to host [09:00:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2631,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:00:16]free response buf [09:00:16]execute_script done [09:00:16]execute_script returns [09:00:16]free content buf [09:00:16]Sock 9.Close socket [09:00:16]Sock 9.Thread stoped [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:12]accept exits with 7 [09:02:12]New connection [09:02:12]New thread 3066850660 created [09:02:12]Thread 3066707300 joined [09:02:12]Waiting for new connection... [09:02:12] Sock 7.Parse request [09:02:12]Sock 7.Check first char [09:02:12]Sock 7.First char is OK [09:02:12]request: POST /json_proto HTTP/1.0 [09:02:12]Method: POST [09:02:12]URL: /json_proto [09:02:12]Method is POST - this is cgi request [09:02:12]url: /json_proto [09:02:12]query_string will be loaded in cgi processing [09:02:12]execute_cgi json_proto POST (null) [09:02:12]execute_cgi path=json_proto method=POST [09:02:12]POST find Content-Length [09:02:12]Host: 172.17.52.132:8080 [09:02:12]Content-Length: 656 [09:02:12]Content-Type: application/json [09:02:12] [09:02:12]POST finish read [09:02:12]Found Content-Length = 656 [09:02:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100009", "tax_sys" : 0, "items" : [ { "code": "4603290004831", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A.\u0432\u043A.", "price" : 86.00, "quantity" : 1.000, "sum" : 86.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 86.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:12]execute_script... [09:02: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)100009", "tax_sys" : 0, "items" : [ { "code": "4603290004831", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A.\u0432\u043A.", "price" : 86.00, "quantity" : 1.000, "sum" : 86.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 86.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:12]POST & json_proto [09:02:12]process_json_proto [09:02:12]json parsed OK: [09:02:12]protocol is kg_v1.0 [09:02:12]action value=close_receipt [09:02:12]process_action close_receipt [09:02:12]cmd_close_receipt [09:02:12]MH_GetDate [09:02:12]Write to MH i2c: F0 00 00 EF 5E 3C [09:02:12]Write i2c OK [09:02:12]MH_I2C_Read... [09:02:12]Read from MH i2c: F0 [09:02:12]MH_I2C_Read... [09:02:12]Read from MH i2c: F0 09 00 [09:02:12]MH_I2C_Read... [09:02:12]Read from MH i2c: F0 09 00 EF 5E 00 22 C7 14 67 5A BE F6 66 1D [09:02:12]GetLastDocTimeStamp 1729414826 [09:02:12]current date 1729414946 [09:02:12]FM_GetShiftState [09:02:12]SAM_PROTO_GetShiftState [09:02:12]wFMCommunicate request_size=4 [09:02:12]MH_SAM_APDU [09:02:12]CAPDU: 80 13 01 00 [09:02:12]Write to MH i2c: E2 08 00 F0 5E 80 13 01 00 00 00 00 00 CB [09:02:12]Write i2c OK [09:02:12]MH_I2C_Read... [09:02:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:12]Read from MH i2c: E2 [09:02:12]MH_I2C_Read... [09:02:12]Read from MH i2c: E2 0E 00 [09:02:12]MH_I2C_Read... [09:02:12]Read from MH i2c: E2 0E 00 F0 5E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 B5 [09:02:12]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:02:12]wFMCommunicate OK [09:02:12]SAM_PROTO_GetShiftState done [09:02:12]FM_GetShiftState done [09:02:12]opened in 1729382427 [09:02:12]opened+sec_in_day 1729468827 [09:02:12]quantity*price = 8600 [09:02:12]sum+1 = 8601 [09:02:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 86.00 НСП 1% : 0.76 НДС 12% : 9.13 Наличными: 86.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 13 20.10.2024 09:02 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2632 ФПД: 270199296881540 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090226&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2632&fm=270199296881540&tin=02508201610067®Number=0000000000207295&sum=8600 0 [09:02:13]StoreToDocumentArchive [09:02:13]shift 24 fd 2632 [09:02:13]save to /storage/0024/doc_00002632 [09:02:13]save last doc name /storage/0024/doc_00002632 to /storage/kkm_last_doc_name [09:02:13]save OK [09:02:13]Clear old archive folders... [09:02:13]ProcessDocumentItem done err = 0, tmpTLVsize=283 [09:02:13]tlvbuf is 01517740 [09:02:13]SAM_PROTO_ClearQueue [09:02:13]wFMCommunicate request_size=4 [09:02:13]MH_SAM_APDU [09:02:13]CAPDU: 80 09 00 00 [09:02:13]Write to MH i2c: E2 08 00 FD 5E 80 09 00 00 00 00 00 00 CD [09:02:13]Write i2c OK [09:02:13]MH_I2C_Read... [09:02:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:02:13]Read from MH i2c: E2 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 03 00 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 03 00 FD 5E 00 90 00 CF [09:02:13]RAPDU: 90 00 [09:02:13]wFMCommunicate OK [09:02:13]SAM_PROTO_ClearQueue done [09:02:13]KKMCreateOFDPacket [09:02:13]OFDProtocolAddRootSTLVToBuf [09:02:13]FM_MakeSignedData [09:02:13]FM_MakeSignedData [09:02:13]SAM_PROTO_SignData [09:02:13]wFMCommunicate request_size=4 [09:02:13]MH_SAM_APDU [09:02:13]CAPDU: 80 0D 01 02 [09:02:13]Write to MH i2c: E2 08 00 FE 5E 80 0D 01 02 00 00 00 00 D5 [09:02:13]Write i2c OK [09:02:13]MH_I2C_Read... [09:02:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:02:13]Read from MH i2c: E2 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 03 00 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 03 00 FE 5E 00 90 00 D0 [09:02:13]RAPDU: 90 00 [09:02:13]wFMCommunicate OK [09:02:13]wFMCommunicate request_size=255 [09:02:13]MH_SAM_APDU [09:02:13]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 03 00 00 00 00 07 04 06 00 98 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 22 C7 14 67 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 32 30 37 32 39 35 11 [09:02:13]Write to MH i2c: E2 02 01 FF 5E 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 03 00 00 00 00 07 04 06 00 98 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 22 C7 14 67 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 32 30 37 32 39 35 11 00 00 9E [09:02:13]Write i2c OK [09:02:13]MH_I2C_Read... [09:02:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:13]Read from MH i2c: E2 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 03 00 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 03 00 FF 5E 00 90 00 D1 [09:02:13]RAPDU: 90 00 [09:02:13]wFMCommunicate OK [09:02:13]wFMCommunicate request_size=42 [09:02:13]MH_SAM_APDU [09:02:13]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 48 0A 00 00 35 04 06 00 F5 BE AD 1B F3 84 [09:02:13]Write to MH i2c: E2 2D 00 00 5F 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 48 0A 00 00 35 04 06 00 F5 BE AD 1B F3 84 00 00 E7 [09:02:13]Write i2c OK [09:02:13]MH_I2C_Read... [09:02:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:13]Read from MH i2c: E2 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 03 00 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 03 00 00 5F 00 90 00 D3 [09:02:13]RAPDU: 90 00 [09:02:13]wFMCommunicate OK [09:02:13]wFMCommunicate request_size=4 [09:02:13]MH_SAM_APDU [09:02:13]CAPDU: 80 0D 03 02 [09:02:13]Write to MH i2c: E2 08 00 01 5F 80 0D 03 02 00 00 00 00 DB [09:02:13]Write i2c OK [09:02:13]MH_I2C_Read... [09:02:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:02:14]Read from MH i2c: E2 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: E2 0B 00 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: E2 0B 00 01 5F 00 5E 4F FE 4D CA 9F 4C 80 90 00 09 [09:02:14]RAPDU: 5E 4F FE 4D CA 9F 4C 80 90 00 [09:02:14]wFMCommunicate OK [09:02:14]SAM_PROTO_SignData done [09:02:14]FM_MakeSignedData done [09:02:14]CreateOFDProtocolMessage [09:02:14]wFMCommunicate request_size=4 [09:02:14]MH_SAM_APDU [09:02:14]CAPDU: 80 11 00 00 [09:02:14]Write to MH i2c: E2 08 00 02 5F 80 11 00 00 00 00 00 00 DB [09:02:14]Write i2c OK [09:02:14]MH_I2C_Read... [09:02:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:14]Read from MH i2c: E2 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: E2 17 00 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: E2 17 00 02 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 23 [09:02:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:02:14]wFMCommunicate OK [09:02:14]CreateOFDProtocolMessage done [09:02:14]OFDSenderStorePacket 2632 [09:02:14]StoreOFDPacket docnum=2632 [09:02:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2F 01 00 00 32 57 27 01 67 1E 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 03 00 00 00 00 07 04 06 00 98 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 22 C7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 48 0A 00 00 35 04 06 00 F5 BE AD 1B F3 84 5E 4F FE 4D CA 9F 4C 80 [09:02:14]CheckFolder [09:02:14]dirname=/storage/ofd_packets [09:02:14]CheckFolder done [09:02:14]ProducePacketName [09:02:14]name=ofd_packets/00002632 [09:02:14]NVStorageSaveData ofd_packets/00002632 [09:02:14]File name is /storage/ofd_packets/00002632 [09:02:14]Write 333 bytes [09:02:14]NVStorageSaveData done [09:02:14]OFDSenderStorePacket done [09:02:14]KKMCreateOFDPacket done [09:02:14]NVStorageSaveData kkm_last_timestamp [09:02:14]File name is /storage/kkm_last_timestamp [09:02:14]Write 4 bytes [09:02:14]NVStorageSaveData done [09:02:14]ExternCall_PrintAddStr [09:02:14]wPrintStart [09:02:14]Write to MH i2c: 01 00 00 03 5F 62 [09:02:14]Write i2c OK [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: 01 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: 01 07 00 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: 01 07 00 03 5F 00 00 00 00 00 FF 0F 77 [09:02:14]RasterBufferAndPrint [09:02:14]line Счет N : (3)100009 [09:02:14]line ИНН: 02508201610067 [09:02:14]line Контрольно-Кассовый Чек [09:02:14]line ПРОДАЖА [09:02:14]line Товар: 4603290004831 [09:02:14]line Печ.зат.TONDI Сэнд.шок.вк. [09:02:14]line 1.000 * 86.00 [09:02:14]line = 86.00 [09:02:14]line НДС 12% НСП 1% [09:02:14]line > о реализуемом товаре [09:02:14]line ИТОГО: 86.00 [09:02:14]line НСП 1% : 0.76 [09:02:14]line НДС 12% : 9.13 [09:02:14]line Наличными: 86.00 [09:02:14]line Безнал.: 0.00 [09:02:14]line Место: АЗС № 162 "Партнер Нефть" [09:02:14]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:02:14]line СНО: Общий режим [09:02:14]line Чек 13 20.10.2024 09:02 [09:02:14]line Смена: 24 ФФД: 1.0 [09:02:14]line ЗНМ: 0300000191 [09:02:14]line РНМ: 0000000000207295 [09:02:14]line Версия ККМ: v1.0 [09:02:14]line ФМ: 0000000002342820 [09:02:14]line ФД: 2632 [09:02:14]line ФПД: 270199296881540 [09:02:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090226&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2632&fm=270199296881540&tin=02508201610067®Number=0000000000207295&sum=8600 [09:02:14]OFD Sender: Processing packet 2632 [packets to send 1, broken 0] [09:02:14]ProducePacketName [09:02:14]name=ofd_packets/00002632 [09:02:14]OFD Sender: To server: pG, [09:02:14]CommunicateWithHost lk.salyk.kg:30040 [09:02:14]ConnectInit lk.salyk.kg [09:02:14]line 0 [09:02:14]written 0, free lines is 4095 [09:02:14]Connected sock=10 [09:02:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2F 01 00 00 32 57 27 01 67 1E 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 03 00 00 00 00 07 04 06 00 98 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 22 C7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 48 0A 00 00 35 04 06 00 F5 BE AD 1B F3 84 5E 4F FE 4D CA 9F 4C 80 [09:02:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 EC C9 47 00 A2 CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 48 0A 00 00 F4 03 04 00 80 72 14 67 B6 04 01 00 00 DF 47 AD D2 C6 8F A6 7B [09:02:14]CommunicateWithHost err = 0 [09:02:14]CheckOFDResponse [09:02:14]1017 (14) - 77093643461234 [09:02:14]1041 (16) - 0000000002342820 [09:02:14]1040 (4) - 2632 [09:02:14]1012 (4) - 20.10.2024 03:01 [09:02:14]1206 (1) - 0 [09:02:14]OFD Sender: Remove packet 2632 [09:02:14]ProducePacketName [09:02:14]name=ofd_packets/00002632 [09:02:14]NVStorageDeleteData [09:02:14]Write to MH i2c: 01 00 00 2B 5F 8A [09:02:14]Write i2c OK [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: 01 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: 01 07 00 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: 01 07 00 2B 5F 00 00 00 00 00 C8 0C 65 [09:02:14]RasterBufferAndPrint [09:02:14]line [09:02:14]line [09:02:14]line [09:02:14]line [09:02:14]line [09:02:14]written 0, free lines is 3277 [09:02:14]MH_Cut [09:02:14]Write to MH i2c: D1 01 00 32 5F 01 63 [09:02:14]Write i2c OK [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: D1 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: D1 01 00 [09:02:14]MH_I2C_Read... [09:02:14]Read from MH i2c: D1 01 00 32 5F 00 62 [09:02:14]Write to MH i2c: 01 00 00 33 5F 92 [09:02:14]Write i2c OK [09:02:14]MH_I2C_Read... [09:02:15]OFD Sender: No OFD packet to send [09:02:15]*** Cut start [09:02:15]*** Partial cut [09:02:15]*** CUTSNS_PIN = 1 [09:02:15]*** CUTSNS_PIN = 0 [09:02:16]*** Brake cut motor [09:02:16]Read from MH i2c: 01 [09:02:16]MH_I2C_Read... [09:02:16]*** Stop cut motor [09:02:16]*** Cut end [09:02:16]Read from MH i2c: 01 07 00 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: 01 07 00 33 5F 00 00 00 00 00 FF 0F A7 [09:02:16]process_action close_receipt done [09:02:16]requested_data is exist [09:02:16]produce_requested_data [09:02:16]requested_item fm.sn is exist - process it [09:02:16]wFMCommunicate request_size=4 [09:02:16]MH_SAM_APDU [09:02:16]CAPDU: 80 11 00 00 [09:02:16]Write to MH i2c: E2 08 00 34 5F 80 11 00 00 00 00 00 00 0D [09:02:16]Write i2c OK [09:02:16]MH_I2C_Read... [09:02:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:16]Read from MH i2c: E2 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: E2 17 00 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: E2 17 00 34 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 55 [09:02:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:02:16]wFMCommunicate OK [09:02:16]requested_item fd.num is exist - process it [09:02:16]SAM_PROTO_GetFieldsCounters [09:02:16]wFMCommunicate request_size=4 [09:02:16]MH_SAM_APDU [09:02:16]CAPDU: 80 13 00 00 [09:02:16]Write to MH i2c: E2 08 00 35 5F 80 13 00 00 00 00 00 00 10 [09:02:16]Write i2c OK [09:02:16]MH_I2C_Read... [09:02:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:02:16]Read from MH i2c: E2 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: E2 62 00 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: E2 62 00 35 5F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 48 0A 00 00 0E 04 04 00 18 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 B7 [09:02:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 48 0A 00 00 0E 04 04 00 18 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 [09:02:16]wFMCommunicate OK [09:02:16]SAM_PROTO_GetFieldsCounters done [09:02:16]requested_item shift.num is exist - process it [09:02:16]requested_item shift.opened is exist - process it [09:02:16]req_shift_opened [09:02:16]FM_GetShiftState [09:02:16]SAM_PROTO_GetShiftState [09:02:16]wFMCommunicate request_size=4 [09:02:16]MH_SAM_APDU [09:02:16]CAPDU: 80 13 01 00 [09:02:16]Write to MH i2c: E2 08 00 36 5F 80 13 01 00 00 00 00 00 12 [09:02:16]Write i2c OK [09:02:16]MH_I2C_Read... [09:02:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:16]Read from MH i2c: E2 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: E2 0E 00 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: E2 0E 00 36 5F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 FC [09:02:16]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:02:16]wFMCommunicate OK [09:02:16]SAM_PROTO_GetShiftState done [09:02:16]FM_GetShiftState done [09:02:16]req_shift_opened done [09:02:16]requested_item shift.open_date is exist - process it [09:02:16]req_shift_open_date [09:02:16]req_shift_open_date done [09:02:16]produce_requested_data done [09:02:16]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2632,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:02:16]process_action_free close_receipt [09:02:16]json_value_free [09:02:16]json_value_free done [09:02:16]process_json_proto returns [09:02:16]Send response to host [09:02:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2632,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:02:16]free response buf [09:02:16]execute_script done [09:02:16]execute_script returns [09:02:16]free content buf [09:02:16]Sock 7.Close socket [09:02:16]Sock 7.Thread stoped [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:25]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:53]accept exits with 9 [09:14:53]New connection [09:14:53]New thread 3066707300 created [09:14:53]Thread 3066850660 joined [09:14:53]Waiting for new connection... [09:14:53] Sock 9.Parse request [09:14:53]Sock 9.Check first char [09:14:53]Sock 9.First char is OK [09:14:53]request: POST /json_proto HTTP/1.0 [09:14:53]Method: POST [09:14:53]URL: /json_proto [09:14:53]Method is POST - this is cgi request [09:14:53]url: /json_proto [09:14:53]query_string will be loaded in cgi processing [09:14:53]execute_cgi json_proto POST (null) [09:14:53]execute_cgi path=json_proto method=POST [09:14:53]POST find Content-Length [09:14:53]Host: 172.17.52.132:8080 [09:14:53]Content-Length: 623 [09:14:53]Content-Type: application/json [09:14:53] [09:14:53]POST finish read [09:14:53]Found Content-Length = 623 [09:14:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100010", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:14:53]execute_script... [09:14:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100010", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:14:53]POST & json_proto [09:14:53]process_json_proto [09:14:53]json parsed OK: [09:14:53]protocol is kg_v1.0 [09:14:53]action value=close_receipt [09:14:53]process_action close_receipt [09:14:53]cmd_close_receipt [09:14:53]MH_GetDate [09:14:53]Write to MH i2c: F0 00 00 37 5F 85 [09:14:53]Write i2c OK [09:14:53]MH_I2C_Read... [09:14:53]Read from MH i2c: F0 [09:14:53]MH_I2C_Read... [09:14:53]Read from MH i2c: F0 09 00 [09:14:53]MH_I2C_Read... [09:14:53]Read from MH i2c: F0 09 00 37 5F 00 1B CA 14 67 5A BE F6 66 62 [09:14:53]GetLastDocTimeStamp 1729414946 [09:14:53]current date 1729415707 [09:14:53]FM_GetShiftState [09:14:53]SAM_PROTO_GetShiftState [09:14:53]wFMCommunicate request_size=4 [09:14:53]MH_SAM_APDU [09:14:53]CAPDU: 80 13 01 00 [09:14:53]Write to MH i2c: E2 08 00 38 5F 80 13 01 00 00 00 00 00 14 [09:14:53]Write i2c OK [09:14:53]MH_I2C_Read... [09:14:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:14:53]Read from MH i2c: E2 [09:14:53]MH_I2C_Read... [09:14:53]Read from MH i2c: E2 0E 00 [09:14:53]MH_I2C_Read... [09:14:53]Read from MH i2c: E2 0E 00 38 5F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 FE [09:14:53]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:14:53]wFMCommunicate OK [09:14:53]SAM_PROTO_GetShiftState done [09:14:53]FM_GetShiftState done [09:14:53]opened in 1729382427 [09:14:53]opened+sec_in_day 1729468827 [09:14:53]quantity*price = 14400 [09:14:53]sum+1 = 14401 [09:14:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 14 20.10.2024 09:15 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2633 ФПД: 231155817516907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T091507&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2633&fm=231155817516907&tin=02508201610067®Number=0000000000207295&sum=14400 0 [09:14:54]StoreToDocumentArchive [09:14:54]shift 24 fd 2633 [09:14:54]save to /storage/0024/doc_00002633 [09:14:54]save last doc name /storage/0024/doc_00002633 to /storage/kkm_last_doc_name [09:14:54]save OK [09:14:54]Clear old archive folders... [09:14:54]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:14:54]tlvbuf is 01438250 [09:14:54]SAM_PROTO_ClearQueue [09:14:54]wFMCommunicate request_size=4 [09:14:54]MH_SAM_APDU [09:14:54]CAPDU: 80 09 00 00 [09:14:54]Write to MH i2c: E2 08 00 45 5F 80 09 00 00 00 00 00 00 16 [09:14:54]Write i2c OK [09:14:54]MH_I2C_Read... [09:14:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:14:54]Read from MH i2c: E2 [09:14:54]MH_I2C_Read... [09:14:54]Read from MH i2c: E2 03 00 [09:14:54]MH_I2C_Read... [09:14:54]Read from MH i2c: E2 03 00 45 5F 00 90 00 18 [09:14:54]RAPDU: 90 00 [09:14:54]wFMCommunicate OK [09:14:54]SAM_PROTO_ClearQueue done [09:14:54]KKMCreateOFDPacket [09:14:54]OFDProtocolAddRootSTLVToBuf [09:14:54]FM_MakeSignedData [09:14:54]FM_MakeSignedData [09:14:54]SAM_PROTO_SignData [09:14:54]wFMCommunicate request_size=4 [09:14:54]MH_SAM_APDU [09:14:54]CAPDU: 80 0D 01 02 [09:14:54]Write to MH i2c: E2 08 00 46 5F 80 0D 01 02 00 00 00 00 1E [09:14:54]Write i2c OK [09:14:54]MH_I2C_Read... [09:14:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:14:54]Read from MH i2c: E2 [09:14:54]MH_I2C_Read... [09:14:54]Read from MH i2c: E2 03 00 [09:14:54]MH_I2C_Read... [09:14:54]Read from MH i2c: E2 03 00 46 5F 00 90 00 19 [09:14:54]RAPDU: 90 00 [09:14:54]wFMCommunicate OK [09:14:54]wFMCommunicate request_size=255 [09:14:54]MH_SAM_APDU [09:14:54]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 1B CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 [09:14:54]Write to MH i2c: E2 02 01 47 5F 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 1B CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 00 00 A9 [09:14:54]Write i2c OK [09:14:54]MH_I2C_Read... [09:14:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:14:54]Read from MH i2c: E2 [09:14:54]MH_I2C_Read... [09:14:54]Read from MH i2c: E2 03 00 [09:14:54]MH_I2C_Read... [09:14:54]Read from MH i2c: E2 03 00 47 5F 00 90 00 1A [09:14:54]RAPDU: 90 00 [09:14:54]wFMCommunicate OK [09:14:54]wFMCommunicate request_size=34 [09:14:54]MH_SAM_APDU [09:14:54]CAPDU: 80 0D 02 02 1D 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 49 0A 00 00 35 04 06 00 D2 3C 28 64 0F 6B [09:14:54]Write to MH i2c: E2 25 00 48 5F 80 0D 02 02 1D 00 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 49 0A 00 00 35 04 06 00 D2 3C 28 64 0F 6B 00 00 3E [09:14:54]Write i2c OK [09:14:54]MH_I2C_Read... [09:14:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:14:54]Read from MH i2c: E2 [09:14:54]MH_I2C_Read... [09:14:54]Read from MH i2c: E2 03 00 [09:14:54]MH_I2C_Read... [09:14:54]Read from MH i2c: E2 03 00 48 5F 00 90 00 1B [09:14:54]RAPDU: 90 00 [09:14:54]wFMCommunicate OK [09:14:54]wFMCommunicate request_size=4 [09:14:54]MH_SAM_APDU [09:14:54]CAPDU: 80 0D 03 02 [09:14:54]Write to MH i2c: E2 08 00 49 5F 80 0D 03 02 00 00 00 00 23 [09:14:54]Write i2c OK [09:14:54]MH_I2C_Read... [09:14:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:14:55]Read from MH i2c: E2 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: E2 0B 00 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: E2 0B 00 49 5F 00 17 35 70 5E 18 DF B5 EF 90 00 D9 [09:14:55]RAPDU: 17 35 70 5E 18 DF B5 EF 90 00 [09:14:55]wFMCommunicate OK [09:14:55]SAM_PROTO_SignData done [09:14:55]FM_MakeSignedData done [09:14:55]CreateOFDProtocolMessage [09:14:55]wFMCommunicate request_size=4 [09:14:55]MH_SAM_APDU [09:14:55]CAPDU: 80 11 00 00 [09:14:55]Write to MH i2c: E2 08 00 4A 5F 80 11 00 00 00 00 00 00 23 [09:14:55]Write i2c OK [09:14:55]MH_I2C_Read... [09:14:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:14:55]Read from MH i2c: E2 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: E2 17 00 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: E2 17 00 4A 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6B [09:14:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:14:55]wFMCommunicate OK [09:14:55]CreateOFDProtocolMessage done [09:14:55]OFDSenderStorePacket 2633 [09:14:55]StoreOFDPacket docnum=2633 [09:14:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 85 41 1F 01 EE A7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 1B CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 49 0A 00 00 35 04 06 00 D2 3C 28 64 0F 6B 17 35 70 5E 18 DF B5 EF [09:14:55]CheckFolder [09:14:55]dirname=/storage/ofd_packets [09:14:55]CheckFolder done [09:14:55]ProducePacketName [09:14:55]name=ofd_packets/00002633 [09:14:55]NVStorageSaveData ofd_packets/00002633 [09:14:55]File name is /storage/ofd_packets/00002633 [09:14:55]Write 325 bytes [09:14:55]NVStorageSaveData done [09:14:55]OFDSenderStorePacket done [09:14:55]KKMCreateOFDPacket done [09:14:55]NVStorageSaveData kkm_last_timestamp [09:14:55]File name is /storage/kkm_last_timestamp [09:14:55]Write 4 bytes [09:14:55]NVStorageSaveData done [09:14:55]ExternCall_PrintAddStr [09:14:55]wPrintStart [09:14:55]Write to MH i2c: 01 00 00 4B 5F AA [09:14:55]Write i2c OK [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 07 00 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 07 00 4B 5F 00 00 00 00 00 FF 0F BF [09:14:55]RasterBufferAndPrint [09:14:55]line Счет N : (3)100010 [09:14:55]line ИНН: 02508201610067 [09:14:55]line Контрольно-Кассовый Чек [09:14:55]line ПРОДАЖА [09:14:55]line Товар: 48743587 [09:14:55]line Сигареты Winston XStyle Silver [09:14:55]line 1.000 * 144.00 [09:14:55]line = 144.00 [09:14:55]line НДС 12% НСП 1% [09:14:55]line > о реализуемом товаре [09:14:55]line ИТОГО: 144.00 [09:14:55]line НСП 1% : 1.27 [09:14:55]line НДС 12% : 15.29 [09:14:55]line Наличными: 144.00 [09:14:55]line Безнал.: 0.00 [09:14:55]line Место: АЗС № 162 "Партнер Нефть" [09:14:55]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:14:55]line СНО: Общий режим [09:14:55]line Чек 14 20.10.2024 09:15 [09:14:55]line Смена: 24 ФФД: 1.0 [09:14:55]line ЗНМ: 0300000191 [09:14:55]line РНМ: 0000000000207295 [09:14:55]line Версия ККМ: v1.0 [09:14:55]line ФМ: 0000000002342820 [09:14:55]line ФД: 2633 [09:14:55]line ФПД: 231155817516907 [09:14:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T091507&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2633&fm=231155817516907&tin=02508201610067®Number=0000000000207295&sum=14400 [09:14:55]line 0 [09:14:55]OFD Sender: Processing packet 2633 [packets to send 1, broken 0] [09:14:55]ProducePacketName [09:14:55]name=ofd_packets/00002633 [09:14:55]OFD Sender: To server: pG, [09:14:55]CommunicateWithHost lk.salyk.kg:30040 [09:14:55]ConnectInit lk.salyk.kg [09:14:55]written 0, free lines is 4095 [09:14:55]Connected sock=10 [09:14:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 85 41 1F 01 EE A7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 1B CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 49 0A 00 00 35 04 06 00 D2 3C 28 64 0F 6B 17 35 70 5E 18 DF B5 EF [09:14:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 85 E4 47 00 41 D5 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 33 34 32 38 32 30 10 04 04 00 49 0A 00 00 F4 03 04 00 79 75 14 67 B6 04 01 00 00 C0 78 80 FC 95 16 0A DD [09:14:55]CommunicateWithHost err = 0 [09:14:55]CheckOFDResponse [09:14:55]1017 (14) - 77093643461234 [09:14:55]1041 (16) - 0000000002342820 [09:14:55]1040 (4) - 2633 [09:14:55]1012 (4) - 20.10.2024 03:14 [09:14:55]1206 (1) - 0 [09:14:55]OFD Sender: Remove packet 2633 [09:14:55]ProducePacketName [09:14:55]name=ofd_packets/00002633 [09:14:55]NVStorageDeleteData [09:14:55]Write to MH i2c: 01 00 00 74 5F D3 [09:14:55]Write i2c OK [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 07 00 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 07 00 74 5F 00 00 00 00 00 B4 0C 9A [09:14:55]RasterBufferAndPrint [09:14:55]line [09:14:55]line [09:14:55]line [09:14:55]line [09:14:55]line [09:14:55]written 0, free lines is 3258 [09:14:55]MH_Cut [09:14:55]Write to MH i2c: D1 01 00 7B 5F 01 AC [09:14:55]Write i2c OK [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: D1 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: D1 01 00 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: D1 01 00 7B 5F 00 AB [09:14:55]Write to MH i2c: 01 00 00 7C 5F DB [09:14:55]Write i2c OK [09:14:55]MH_I2C_Read... [09:14:56]OFD Sender: No OFD packet to send [09:14:56]*** Cut start [09:14:56]*** Partial cut [09:14:56]*** CUTSNS_PIN = 1 [09:14:56]*** CUTSNS_PIN = 0 [09:14:57]*** Brake cut motor [09:14:57]Read from MH i2c: 01 [09:14:57]MH_I2C_Read... [09:14:57]*** Stop cut motor [09:14:57]*** Cut end [09:14:57]Read from MH i2c: 01 07 00 [09:14:57]MH_I2C_Read... [09:14:57]Read from MH i2c: 01 07 00 7C 5F 00 00 00 00 00 FF 0F F0 [09:14:57]process_action close_receipt done [09:14:57]requested_data is exist [09:14:57]produce_requested_data [09:14:57]requested_item fm.sn is exist - process it [09:14:57]wFMCommunicate request_size=4 [09:14:57]MH_SAM_APDU [09:14:57]CAPDU: 80 11 00 00 [09:14:57]Write to MH i2c: E2 08 00 7D 5F 80 11 00 00 00 00 00 00 56 [09:14:57]Write i2c OK [09:14:57]MH_I2C_Read... [09:14:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:14:57]Read from MH i2c: E2 [09:14:57]MH_I2C_Read... [09:14:57]Read from MH i2c: E2 17 00 [09:14:57]MH_I2C_Read... [09:14:57]Read from MH i2c: E2 17 00 7D 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9E [09:14:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:14:57]wFMCommunicate OK [09:14:57]requested_item fd.num is exist - process it [09:14:57]SAM_PROTO_GetFieldsCounters [09:14:57]wFMCommunicate request_size=4 [09:14:57]MH_SAM_APDU [09:14:57]CAPDU: 80 13 00 00 [09:14:57]Write to MH i2c: E2 08 00 7E 5F 80 13 00 00 00 00 00 00 59 [09:14:57]Write i2c OK [09:14:57]MH_I2C_Read... [09:14:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:14:57]Read from MH i2c: E2 [09:14:57]MH_I2C_Read... [09:14:57]Read from MH i2c: E2 62 00 [09:14:57]MH_I2C_Read... [09:14:57]Read from MH i2c: E2 62 00 7E 5F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 49 0A 00 00 0E 04 04 00 18 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 04 [09:14:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 49 0A 00 00 0E 04 04 00 18 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 [09:14:57]wFMCommunicate OK [09:14:57]SAM_PROTO_GetFieldsCounters done [09:14:57]requested_item shift.num is exist - process it [09:14:57]requested_item shift.opened is exist - process it [09:14:57]req_shift_opened [09:14:57]FM_GetShiftState [09:14:57]SAM_PROTO_GetShiftState [09:14:57]wFMCommunicate request_size=4 [09:14:57]MH_SAM_APDU [09:14:57]CAPDU: 80 13 01 00 [09:14:57]Write to MH i2c: E2 08 00 7F 5F 80 13 01 00 00 00 00 00 5B [09:14:57]Write i2c OK [09:14:57]MH_I2C_Read... [09:14:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:14:57]Read from MH i2c: E2 [09:14:57]MH_I2C_Read... [09:14:57]Read from MH i2c: E2 0E 00 [09:14:57]MH_I2C_Read... [09:14:57]Read from MH i2c: E2 0E 00 7F 5F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 45 [09:14:57]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:14:57]wFMCommunicate OK [09:14:57]SAM_PROTO_GetShiftState done [09:14:57]FM_GetShiftState done [09:14:57]req_shift_opened done [09:14:57]requested_item shift.open_date is exist - process it [09:14:57]req_shift_open_date [09:14:57]req_shift_open_date done [09:14:57]produce_requested_data done [09:14:57]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2633,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:14:57]process_action_free close_receipt [09:14:57]json_value_free [09:14:57]json_value_free done [09:14:57]process_json_proto returns [09:14:57]Send response to host [09:14:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2633,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:14:57]free response buf [09:14:57]execute_script done [09:14:57]execute_script returns [09:14:57]free content buf [09:14:57]Sock 9.Close socket [09:14:57]Sock 9.Thread stoped [09:15:01]OFD Sender: No OFD packet to send [09:15:06]OFD Sender: No OFD packet to send [09:15:06]accept exits with 7 [09:15:06]New connection [09:15:06]New thread 3066850660 created [09:15:06]Thread 3066707300 joined [09:15:06]Waiting for new connection... [09:15:06] Sock 7.Parse request [09:15:06]Sock 7.Check first char [09:15:06]Sock 7.First char is OK [09:15:06]request: POST /json_proto HTTP/1.0 [09:15:06]Method: POST [09:15:06]URL: /json_proto [09:15:06]Method is POST - this is cgi request [09:15:06]url: /json_proto [09:15:06]query_string will be loaded in cgi processing [09:15:06]execute_cgi json_proto POST (null) [09:15:06]execute_cgi path=json_proto method=POST [09:15:06]POST find Content-Length [09:15:06]Host: 172.17.52.132:8080 [09:15:06]Content-Length: 628 [09:15:06]Content-Type: application/json [09:15:06] [09:15:06]POST finish read [09:15:06]Found Content-Length = 628 [09:15:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100011", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:06]execute_script... [09:15: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)100011", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:06]POST & json_proto [09:15:06]process_json_proto [09:15:06]json parsed OK: [09:15:06]protocol is kg_v1.0 [09:15:06]action value=close_receipt [09:15:06]process_action close_receipt [09:15:06]cmd_close_receipt [09:15:06]MH_GetDate [09:15:06]Write to MH i2c: F0 00 00 80 5F CE [09:15:06]Write i2c OK [09:15:06]MH_I2C_Read... [09:15:06]Read from MH i2c: F0 [09:15:06]MH_I2C_Read... [09:15:06]Read from MH i2c: F0 09 00 [09:15:06]MH_I2C_Read... [09:15:06]Read from MH i2c: F0 09 00 80 5F 00 28 CA 14 67 5A BE F6 66 B8 [09:15:06]GetLastDocTimeStamp 1729415707 [09:15:06]current date 1729415720 [09:15:06]FM_GetShiftState [09:15:06]SAM_PROTO_GetShiftState [09:15:06]wFMCommunicate request_size=4 [09:15:06]MH_SAM_APDU [09:15:06]CAPDU: 80 13 01 00 [09:15:06]Write to MH i2c: E2 08 00 81 5F 80 13 01 00 00 00 00 00 5D [09:15:06]Write i2c OK [09:15:06]MH_I2C_Read... [09:15:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:06]Read from MH i2c: E2 [09:15:06]MH_I2C_Read... [09:15:06]Read from MH i2c: E2 0E 00 [09:15:06]MH_I2C_Read... [09:15:06]Read from MH i2c: E2 0E 00 81 5F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 47 [09:15:06]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:15:06]wFMCommunicate OK [09:15:06]SAM_PROTO_GetShiftState done [09:15:06]FM_GetShiftState done [09:15:06]opened in 1729382427 [09:15:06]opened+sec_in_day 1729468827 [09:15:06]quantity*price = 13000 [09:15:06]sum+1 = 13001 [09:15:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 15 20.10.2024 09:15 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2634 ФПД: 21261621981515 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T091520&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2634&fm=21261621981515&tin=02508201610067®Number=0000000000207295&sum=13000 0 [09:15:07]StoreToDocumentArchive [09:15:07]shift 24 fd 2634 [09:15:07]save to /storage/0024/doc_00002634 [09:15:07]save last doc name /storage/0024/doc_00002634 to /storage/kkm_last_doc_name [09:15:07]save OK [09:15:07]Clear old archive folders... [09:15:07]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:15:07]tlvbuf is 0143CB40 [09:15:07]SAM_PROTO_ClearQueue [09:15:07]wFMCommunicate request_size=4 [09:15:07]MH_SAM_APDU [09:15:07]CAPDU: 80 09 00 00 [09:15:07]Write to MH i2c: E2 08 00 8E 5F 80 09 00 00 00 00 00 00 5F [09:15:07]Write i2c OK [09:15:07]MH_I2C_Read... [09:15:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:15:07]Read from MH i2c: E2 [09:15:07]MH_I2C_Read... [09:15:07]Read from MH i2c: E2 03 00 [09:15:07]MH_I2C_Read... [09:15:07]Read from MH i2c: E2 03 00 8E 5F 00 90 00 61 [09:15:07]RAPDU: 90 00 [09:15:07]wFMCommunicate OK [09:15:07]SAM_PROTO_ClearQueue done [09:15:07]KKMCreateOFDPacket [09:15:07]OFDProtocolAddRootSTLVToBuf [09:15:07]FM_MakeSignedData [09:15:07]FM_MakeSignedData [09:15:07]SAM_PROTO_SignData [09:15:07]wFMCommunicate request_size=4 [09:15:07]MH_SAM_APDU [09:15:07]CAPDU: 80 0D 01 02 [09:15:07]Write to MH i2c: E2 08 00 8F 5F 80 0D 01 02 00 00 00 00 67 [09:15:07]Write i2c OK [09:15:07]MH_I2C_Read... [09:15:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:15:07]Read from MH i2c: E2 [09:15:07]MH_I2C_Read... [09:15:07]Read from MH i2c: E2 03 00 [09:15:07]MH_I2C_Read... [09:15:07]Read from MH i2c: E2 03 00 8F 5F 00 90 00 62 [09:15:07]RAPDU: 90 00 [09:15:07]wFMCommunicate OK [09:15:07]wFMCommunicate request_size=255 [09:15:07]MH_SAM_APDU [09:15:07]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 28 CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 [09:15:07]Write to MH i2c: E2 02 01 90 5F 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 28 CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 00 00 16 [09:15:07]Write i2c OK [09:15:07]MH_I2C_Read... [09:15:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:07]Read from MH i2c: E2 [09:15:07]MH_I2C_Read... [09:15:07]Read from MH i2c: E2 03 00 [09:15:07]MH_I2C_Read... [09:15:07]Read from MH i2c: E2 03 00 90 5F 00 90 00 63 [09:15:07]RAPDU: 90 00 [09:15:07]wFMCommunicate OK [09:15:07]wFMCommunicate request_size=35 [09:15:07]MH_SAM_APDU [09:15:07]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4A 0A 00 00 35 04 06 00 13 56 5B 6C F1 4B [09:15:07]Write to MH i2c: E2 26 00 91 5F 80 0D 02 02 1E 00 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4A 0A 00 00 35 04 06 00 13 56 5B 6C F1 4B 00 00 12 [09:15:07]Write i2c OK [09:15:07]MH_I2C_Read... [09:15:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:07]Read from MH i2c: E2 [09:15:07]MH_I2C_Read... [09:15:07]Read from MH i2c: E2 03 00 [09:15:07]MH_I2C_Read... [09:15:07]Read from MH i2c: E2 03 00 91 5F 00 90 00 64 [09:15:07]RAPDU: 90 00 [09:15:07]wFMCommunicate OK [09:15:07]wFMCommunicate request_size=4 [09:15:07]MH_SAM_APDU [09:15:07]CAPDU: 80 0D 03 02 [09:15:07]Write to MH i2c: E2 08 00 92 5F 80 0D 03 02 00 00 00 00 6C [09:15:07]Write i2c OK [09:15:07]MH_I2C_Read... [09:15:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:15:08]Read from MH i2c: E2 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: E2 0B 00 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: E2 0B 00 92 5F 00 3F 3D 89 8B 80 FC DE 24 90 00 7B [09:15:08]RAPDU: 3F 3D 89 8B 80 FC DE 24 90 00 [09:15:08]wFMCommunicate OK [09:15:08]SAM_PROTO_SignData done [09:15:08]FM_MakeSignedData done [09:15:08]CreateOFDProtocolMessage [09:15:08]wFMCommunicate request_size=4 [09:15:08]MH_SAM_APDU [09:15:08]CAPDU: 80 11 00 00 [09:15:08]Write to MH i2c: E2 08 00 93 5F 80 11 00 00 00 00 00 00 6C [09:15:08]Write i2c OK [09:15:08]MH_I2C_Read... [09:15:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:08]Read from MH i2c: E2 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: E2 17 00 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: E2 17 00 93 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B4 [09:15:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:15:08]wFMCommunicate OK [09:15:08]CreateOFDProtocolMessage done [09:15:08]OFDSenderStorePacket 2634 [09:15:08]StoreOFDPacket docnum=2634 [09:15:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 CC DA 20 01 B1 F4 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 28 CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4A 0A 00 00 35 04 06 00 13 56 5B 6C F1 4B 3F 3D 89 8B 80 FC DE 24 [09:15:08]CheckFolder [09:15:08]dirname=/storage/ofd_packets [09:15:08]CheckFolder done [09:15:08]ProducePacketName [09:15:08]name=ofd_packets/00002634 [09:15:08]NVStorageSaveData ofd_packets/00002634 [09:15:08]File name is /storage/ofd_packets/00002634 [09:15:08]Write 326 bytes [09:15:08]NVStorageSaveData done [09:15:08]OFDSenderStorePacket done [09:15:08]KKMCreateOFDPacket done [09:15:08]NVStorageSaveData kkm_last_timestamp [09:15:08]File name is /storage/kkm_last_timestamp [09:15:08]Write 4 bytes [09:15:08]NVStorageSaveData done [09:15:08]ExternCall_PrintAddStr [09:15:08]wPrintStart [09:15:08]Write to MH i2c: 01 00 00 94 5F F3 [09:15:08]Write i2c OK [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: 01 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: 01 07 00 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: 01 07 00 94 5F 00 00 00 00 00 FF 0F 08 [09:15:08]RasterBufferAndPrint [09:15:08]line Счет N : (3)100011 [09:15:08]line ИНН: 02508201610067 [09:15:08]line Контрольно-Кассовый Чек [09:15:08]line ПРОДАЖА [09:15:08]line Товар: 2000036230011 [09:15:08]line Кофе Латте XL(GABB TRADE) [09:15:08]line 1.000 * 130.00 [09:15:08]line = 130.00 [09:15:08]line НДС 12% НСП 1% [09:15:08]line > о реализуемом товаре [09:15:08]line ИТОГО: 130.00 [09:15:08]line НСП 1% : 1.15 [09:15:08]line НДС 12% : 13.80 [09:15:08]line Наличными: 130.00 [09:15:08]line Безнал.: 0.00 [09:15:08]line Место: АЗС № 162 "Партнер Нефть" [09:15:08]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:15:08]line СНО: Общий режим [09:15:08]line Чек 15 20.10.2024 09:15 [09:15:08]line Смена: 24 ФФД: 1.0 [09:15:08]line ЗНМ: 0300000191 [09:15:08]line РНМ: 0000000000207295 [09:15:08]line Версия ККМ: v1.0 [09:15:08]line ФМ: 0000000002342820 [09:15:08]line ФД: 2634 [09:15:08]line ФПД: 21261621981515 [09:15:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T091520&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2634&fm=21261621981515&tin=02508201610067®Number=0000000000207295&sum=13000 [09:15:08]line 0 [09:15:08]OFD Sender: Processing packet 2634 [packets to send 1, broken 0] [09:15:08]ProducePacketName [09:15:08]name=ofd_packets/00002634 [09:15:08]OFD Sender: To server: pG, [09:15:08]CommunicateWithHost lk.salyk.kg:30040 [09:15:08]ConnectInit lk.salyk.kg [09:15:08]written 0, free lines is 4095 [09:15:08]Connected sock=10 [09:15:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 CC DA 20 01 B1 F4 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 28 CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4A 0A 00 00 35 04 06 00 13 56 5B 6C F1 4B 3F 3D 89 8B 80 FC DE 24 [09:15:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 7D 4A 47 00 E8 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4A 0A 00 00 F4 03 04 00 86 75 14 67 B6 04 01 00 00 08 AA 2E F9 B6 C2 BA AF [09:15:08]CommunicateWithHost err = 0 [09:15:08]CheckOFDResponse [09:15:08]1017 (14) - 77093643461234 [09:15:08]1041 (16) - 0000000002342820 [09:15:08]1040 (4) - 2634 [09:15:08]1012 (4) - 20.10.2024 03:14 [09:15:08]1206 (1) - 0 [09:15:08]OFD Sender: Remove packet 2634 [09:15:08]ProducePacketName [09:15:08]name=ofd_packets/00002634 [09:15:08]NVStorageDeleteData [09:15:08]Write to MH i2c: 01 00 00 BC 5F 1B [09:15:08]Write i2c OK [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: 01 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: 01 07 00 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: 01 07 00 BC 5F 00 00 00 00 00 CD 0C FB [09:15:08]RasterBufferAndPrint [09:15:08]line [09:15:08]line [09:15:08]line [09:15:08]line [09:15:08]line [09:15:08]written 0, free lines is 3283 [09:15:08]MH_Cut [09:15:08]Write to MH i2c: D1 01 00 C3 5F 01 F4 [09:15:08]Write i2c OK [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: D1 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: D1 01 00 [09:15:08]MH_I2C_Read... [09:15:08]Read from MH i2c: D1 01 00 C3 5F 00 F3 [09:15:08]Write to MH i2c: 01 00 00 C4 5F 23 [09:15:08]Write i2c OK [09:15:08]MH_I2C_Read... [09:15:09]OFD Sender: No OFD packet to send [09:15:09]*** Cut start [09:15:09]*** Partial cut [09:15:09]*** CUTSNS_PIN = 1 [09:15:09]*** CUTSNS_PIN = 0 [09:15:10]*** Brake cut motor [09:15:10]Read from MH i2c: 01 [09:15:10]MH_I2C_Read... [09:15:10]*** Stop cut motor [09:15:10]*** Cut end [09:15:10]Read from MH i2c: 01 07 00 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: 01 07 00 C4 5F 00 00 00 00 00 FF 0F 38 [09:15:10]process_action close_receipt done [09:15:10]requested_data is exist [09:15:10]produce_requested_data [09:15:10]requested_item fm.sn is exist - process it [09:15:10]wFMCommunicate request_size=4 [09:15:10]MH_SAM_APDU [09:15:10]CAPDU: 80 11 00 00 [09:15:10]Write to MH i2c: E2 08 00 C5 5F 80 11 00 00 00 00 00 00 9E [09:15:10]Write i2c OK [09:15:10]MH_I2C_Read... [09:15:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:10]Read from MH i2c: E2 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: E2 17 00 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: E2 17 00 C5 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E6 [09:15:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:15:10]wFMCommunicate OK [09:15:10]requested_item fd.num is exist - process it [09:15:10]SAM_PROTO_GetFieldsCounters [09:15:10]wFMCommunicate request_size=4 [09:15:10]MH_SAM_APDU [09:15:10]CAPDU: 80 13 00 00 [09:15:10]Write to MH i2c: E2 08 00 C6 5F 80 13 00 00 00 00 00 00 A1 [09:15:10]Write i2c OK [09:15:10]MH_I2C_Read... [09:15:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:15:10]Read from MH i2c: E2 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: E2 62 00 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: E2 62 00 C6 5F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4A 0A 00 00 0E 04 04 00 18 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 50 [09:15:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4A 0A 00 00 0E 04 04 00 18 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 [09:15:10]wFMCommunicate OK [09:15:10]SAM_PROTO_GetFieldsCounters done [09:15:10]requested_item shift.num is exist - process it [09:15:10]requested_item shift.opened is exist - process it [09:15:10]req_shift_opened [09:15:10]FM_GetShiftState [09:15:10]SAM_PROTO_GetShiftState [09:15:10]wFMCommunicate request_size=4 [09:15:10]MH_SAM_APDU [09:15:10]CAPDU: 80 13 01 00 [09:15:10]Write to MH i2c: E2 08 00 C7 5F 80 13 01 00 00 00 00 00 A3 [09:15:10]Write i2c OK [09:15:10]MH_I2C_Read... [09:15:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:10]Read from MH i2c: E2 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: E2 0E 00 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: E2 0E 00 C7 5F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 8D [09:15:10]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:15:10]wFMCommunicate OK [09:15:10]SAM_PROTO_GetShiftState done [09:15:10]FM_GetShiftState done [09:15:10]req_shift_opened done [09:15:10]requested_item shift.open_date is exist - process it [09:15:10]req_shift_open_date [09:15:10]req_shift_open_date done [09:15:10]produce_requested_data done [09:15:10]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2634,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:15:10]process_action_free close_receipt [09:15:10]json_value_free [09:15:10]json_value_free done [09:15:10]process_json_proto returns [09:15:10]Send response to host [09:15:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2634,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:15:10]free response buf [09:15:10]execute_script done [09:15:10]execute_script returns [09:15:10]free content buf [09:15:10]Sock 7.Close socket [09:15:10]Sock 7.Thread stoped [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:25]accept exits with 9 [09:15:25]New connection [09:15:25]New thread 3066707300 created [09:15:25]Thread 3066850660 joined [09:15:25]Waiting for new connection... [09:15:25] Sock 9.Parse request [09:15:25]Sock 9.Check first char [09:15:25]Sock 9.First char is OK [09:15:25]request: POST /json_proto HTTP/1.0 [09:15:25]Method: POST [09:15:25]URL: /json_proto [09:15:25]Method is POST - this is cgi request [09:15:25]url: /json_proto [09:15:25]query_string will be loaded in cgi processing [09:15:25]execute_cgi json_proto POST (null) [09:15:25]execute_cgi path=json_proto method=POST [09:15:25]POST find Content-Length [09:15:25]Host: 172.17.52.132:8080 [09:15:25]Content-Length: 803 [09:15:25]Content-Type: application/json [09:15:25] [09:15:25]POST finish read [09:15:25]Found Content-Length = 803 [09:15:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100012", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:25]execute_script... [09:15: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)100012", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:25]POST & json_proto [09:15:25]process_json_proto [09:15:25]json parsed OK: [09:15:25]protocol is kg_v1.0 [09:15:25]action value=close_receipt [09:15:25]process_action close_receipt [09:15:25]cmd_close_receipt [09:15:25]MH_GetDate [09:15:25]Write to MH i2c: F0 00 00 C8 5F 16 [09:15:25]Write i2c OK [09:15:25]MH_I2C_Read... [09:15:25]Read from MH i2c: F0 [09:15:25]MH_I2C_Read... [09:15:25]Read from MH i2c: F0 09 00 [09:15:25]MH_I2C_Read... [09:15:25]Read from MH i2c: F0 09 00 C8 5F 00 3B CA 14 67 5A BE F6 66 13 [09:15:25]GetLastDocTimeStamp 1729415720 [09:15:25]current date 1729415739 [09:15:25]FM_GetShiftState [09:15:25]SAM_PROTO_GetShiftState [09:15:25]wFMCommunicate request_size=4 [09:15:25]MH_SAM_APDU [09:15:25]CAPDU: 80 13 01 00 [09:15:25]Write to MH i2c: E2 08 00 C9 5F 80 13 01 00 00 00 00 00 A5 [09:15:25]Write i2c OK [09:15:25]MH_I2C_Read... [09:15:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:25]Read from MH i2c: E2 [09:15:25]MH_I2C_Read... [09:15:25]Read from MH i2c: E2 0E 00 [09:15:25]MH_I2C_Read... [09:15:25]Read from MH i2c: E2 0E 00 C9 5F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 8F [09:15:25]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:15:25]wFMCommunicate OK [09:15:25]SAM_PROTO_GetShiftState done [09:15:25]FM_GetShiftState done [09:15:25]opened in 1729382427 [09:15:25]opened+sec_in_day 1729468827 [09:15:25]quantity*price = 11500 [09:15:25]sum+1 = 11501 [09:15:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 16 20.10.2024 09:15 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2635 ФПД: 95522036307615 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T091539&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2635&fm=95522036307615&tin=02508201610067®Number=0000000000207295&sum=11500 0 [09:15:26]StoreToDocumentArchive [09:15:26]shift 24 fd 2635 [09:15:26]save to /storage/0024/doc_00002635 [09:15:26]save last doc name /storage/0024/doc_00002635 to /storage/kkm_last_doc_name [09:15:26]save OK [09:15:26]Clear old archive folders... [09:15:26]ProcessDocumentItem done err = 0, tmpTLVsize=274 [09:15:26]tlvbuf is 013D53B0 [09:15:26]SAM_PROTO_ClearQueue [09:15:26]wFMCommunicate request_size=4 [09:15:26]MH_SAM_APDU [09:15:26]CAPDU: 80 09 00 00 [09:15:26]Write to MH i2c: E2 08 00 D6 5F 80 09 00 00 00 00 00 00 A7 [09:15:26]Write i2c OK [09:15:26]MH_I2C_Read... [09:15:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:15:26]Read from MH i2c: E2 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 03 00 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 03 00 D6 5F 00 90 00 A9 [09:15:26]RAPDU: 90 00 [09:15:26]wFMCommunicate OK [09:15:26]SAM_PROTO_ClearQueue done [09:15:26]KKMCreateOFDPacket [09:15:26]OFDProtocolAddRootSTLVToBuf [09:15:26]FM_MakeSignedData [09:15:26]FM_MakeSignedData [09:15:26]SAM_PROTO_SignData [09:15:26]wFMCommunicate request_size=4 [09:15:26]MH_SAM_APDU [09:15:26]CAPDU: 80 0D 01 02 [09:15:26]Write to MH i2c: E2 08 00 D7 5F 80 0D 01 02 00 00 00 00 AF [09:15:26]Write i2c OK [09:15:26]MH_I2C_Read... [09:15:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:15:26]Read from MH i2c: E2 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 03 00 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 03 00 D7 5F 00 90 00 AA [09:15:26]RAPDU: 90 00 [09:15:26]wFMCommunicate OK [09:15:26]wFMCommunicate request_size=255 [09:15:26]MH_SAM_APDU [09:15:26]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 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 3B CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 [09:15:26]Write to MH i2c: E2 02 01 D8 5F 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 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 3B CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 00 00 F3 [09:15:26]Write i2c OK [09:15:26]MH_I2C_Read... [09:15:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:26]Read from MH i2c: E2 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 03 00 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 03 00 D8 5F 00 90 00 AB [09:15:26]RAPDU: 90 00 [09:15:26]wFMCommunicate OK [09:15:26]wFMCommunicate request_size=33 [09:15:26]MH_SAM_APDU [09:15:26]CAPDU: 80 0D 02 02 1C 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4B 0A 00 00 35 04 06 00 56 E0 75 0A D6 9F [09:15:26]Write to MH i2c: E2 24 00 D9 5F 80 0D 02 02 1C 00 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4B 0A 00 00 35 04 06 00 56 E0 75 0A D6 9F 00 00 B5 [09:15:26]Write i2c OK [09:15:26]MH_I2C_Read... [09:15:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:26]Read from MH i2c: E2 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 03 00 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 03 00 D9 5F 00 90 00 AC [09:15:26]RAPDU: 90 00 [09:15:26]wFMCommunicate OK [09:15:26]wFMCommunicate request_size=4 [09:15:26]MH_SAM_APDU [09:15:26]CAPDU: 80 0D 03 02 [09:15:26]Write to MH i2c: E2 08 00 DA 5F 80 0D 03 02 00 00 00 00 B4 [09:15:26]Write i2c OK [09:15:26]MH_I2C_Read... [09:15:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:15:26]Read from MH i2c: E2 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 0B 00 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 0B 00 DA 5F 00 C0 45 49 B5 08 6E CF 76 90 00 73 [09:15:26]RAPDU: C0 45 49 B5 08 6E CF 76 90 00 [09:15:26]wFMCommunicate OK [09:15:26]SAM_PROTO_SignData done [09:15:26]FM_MakeSignedData done [09:15:26]CreateOFDProtocolMessage [09:15:26]wFMCommunicate request_size=4 [09:15:26]MH_SAM_APDU [09:15:26]CAPDU: 80 11 00 00 [09:15:26]Write to MH i2c: E2 08 00 DB 5F 80 11 00 00 00 00 00 00 B4 [09:15:26]Write i2c OK [09:15:26]MH_I2C_Read... [09:15:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:26]Read from MH i2c: E2 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 17 00 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: E2 17 00 DB 5F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FC [09:15:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:15:26]wFMCommunicate OK [09:15:26]CreateOFDProtocolMessage done [09:15:26]OFDSenderStorePacket 2635 [09:15:26]StoreOFDPacket docnum=2635 [09:15:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 26 01 00 00 1E 5A 1E 01 B0 21 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 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 3B CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4B 0A 00 00 35 04 06 00 56 E0 75 0A D6 9F C0 45 49 B5 08 6E CF 76 [09:15:26]CheckFolder [09:15:26]dirname=/storage/ofd_packets [09:15:26]CheckFolder done [09:15:26]ProducePacketName [09:15:26]name=ofd_packets/00002635 [09:15:26]NVStorageSaveData ofd_packets/00002635 [09:15:26]File name is /storage/ofd_packets/00002635 [09:15:26]Write 324 bytes [09:15:26]NVStorageSaveData done [09:15:26]OFDSenderStorePacket done [09:15:26]KKMCreateOFDPacket done [09:15:26]NVStorageSaveData kkm_last_timestamp [09:15:26]File name is /storage/kkm_last_timestamp [09:15:26]Write 4 bytes [09:15:26]NVStorageSaveData done [09:15:26]ExternCall_PrintAddStr [09:15:26]wPrintStart [09:15:26]Write to MH i2c: 01 00 00 DC 5F 3B [09:15:26]Write i2c OK [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: 01 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: 01 07 00 [09:15:26]MH_I2C_Read... [09:15:26]Read from MH i2c: 01 07 00 DC 5F 00 00 00 00 00 FF 0F 50 [09:15:26]RasterBufferAndPrint [09:15:26]line Счет N : (3)100012 [09:15:26]line ИНН: 02508201610067 [09:15:26]line Контрольно-Кассовый Чек [09:15:26]line ПРОДАЖА [09:15:26]line Товар: 2000036240010 [09:15:26]line Кофе Латте (GABB TRADE) [09:15:26]line 1.000 * 115.00 [09:15:26]line = 115.00 [09:15:26]line НДС 12% НСП 1% [09:15:26]line > о реализуемом товаре [09:15:26]line ИТОГО: 115.00 [09:15:26]line НСП 1% : 1.02 [09:15:27]line НДС 12% : 12.21 [09:15:27]line Наличными: 0.00 [09:15:27]line Безнал.: 115.00 [09:15:27]line Место: АЗС № 162 "Партнер Нефть" [09:15:27]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:15:27]line СНО: Общий режим [09:15:27]line Чек 16 20.10.2024 09:15 [09:15:27]line Смена: 24 ФФД: 1.0 [09:15:27]line ЗНМ: 0300000191 [09:15:27]line РНМ: 0000000000207295 [09:15:27]line Версия ККМ: v1.0 [09:15:27]line Платежная система: Бакай Банк [09:15:27]line ФМ: 0000000002342820 [09:15:27]line ФД: 2635 [09:15:27]line ФПД: 95522036307615 [09:15:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T091539&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2635&fm=95522036307615&tin=02508201610067®Number=0000000000207295&sum=11500 [09:15:27]line 0 [09:15:27]OFD Sender: Processing packet 2635 [packets to send 1, broken 0] [09:15:27]ProducePacketName [09:15:27]name=ofd_packets/00002635 [09:15:27]OFD Sender: To server: pG, [09:15:27]CommunicateWithHost lk.salyk.kg:30040 [09:15:27]ConnectInit lk.salyk.kg [09:15:27]written 0, free lines is 4095 [09:15:27]Connected sock=10 [09:15:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 26 01 00 00 1E 5A 1E 01 B0 21 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 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 3B CA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4B 0A 00 00 35 04 06 00 56 E0 75 0A D6 9F C0 45 49 B5 08 6E CF 76 [09:15:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 9D 9C 47 00 00 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4B 0A 00 00 F4 03 04 00 99 75 14 67 B6 04 01 00 00 70 5D 48 F7 D8 E1 A4 3C [09:15:27]CommunicateWithHost err = 0 [09:15:27]CheckOFDResponse [09:15:27]1017 (14) - 77093643461234 [09:15:27]1041 (16) - 0000000002342820 [09:15:27]1040 (4) - 2635 [09:15:27]1012 (4) - 20.10.2024 03:14 [09:15:27]1206 (1) - 0 [09:15:27]OFD Sender: Remove packet 2635 [09:15:27]ProducePacketName [09:15:27]name=ofd_packets/00002635 [09:15:27]NVStorageDeleteData [09:15:27]Write to MH i2c: 01 00 00 06 60 66 [09:15:27]Write i2c OK [09:15:27]MH_I2C_Read... [09:15:27]Read from MH i2c: 01 [09:15:27]MH_I2C_Read... [09:15:27]Read from MH i2c: 01 07 00 [09:15:27]MH_I2C_Read... [09:15:27]Read from MH i2c: 01 07 00 06 60 00 00 00 00 00 B4 0C 2D [09:15:27]RasterBufferAndPrint [09:15:27]line [09:15:27]line [09:15:27]line [09:15:27]line [09:15:27]line [09:15:27]written 0, free lines is 3258 [09:15:27]MH_Cut [09:15:27]Write to MH i2c: D1 01 00 0D 60 01 3F [09:15:27]Write i2c OK [09:15:27]MH_I2C_Read... [09:15:27]Read from MH i2c: D1 [09:15:27]MH_I2C_Read... [09:15:27]Read from MH i2c: D1 01 00 [09:15:27]MH_I2C_Read... [09:15:27]Read from MH i2c: D1 01 00 0D 60 00 3E [09:15:27]Write to MH i2c: 01 00 00 0E 60 6E [09:15:27]Write i2c OK [09:15:27]MH_I2C_Read... [09:15:28]OFD Sender: No OFD packet to send [09:15:28]*** Cut start [09:15:28]*** Partial cut [09:15:28]*** CUTSNS_PIN = 1 [09:15:28]*** CUTSNS_PIN = 0 [09:15:29]*** Brake cut motor [09:15:29]Read from MH i2c: 01 [09:15:29]MH_I2C_Read... [09:15:29]*** Stop cut motor [09:15:29]*** Cut end [09:15:29]Read from MH i2c: 01 07 00 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: 01 07 00 0E 60 00 00 00 00 00 FF 0F 83 [09:15:29]process_action close_receipt done [09:15:29]requested_data is exist [09:15:29]produce_requested_data [09:15:29]requested_item fm.sn is exist - process it [09:15:29]wFMCommunicate request_size=4 [09:15:29]MH_SAM_APDU [09:15:29]CAPDU: 80 11 00 00 [09:15:29]Write to MH i2c: E2 08 00 0F 60 80 11 00 00 00 00 00 00 E9 [09:15:29]Write i2c OK [09:15:29]MH_I2C_Read... [09:15:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:29]Read from MH i2c: E2 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 17 00 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 17 00 0F 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 31 [09:15:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:15:29]wFMCommunicate OK [09:15:29]requested_item fd.num is exist - process it [09:15:29]SAM_PROTO_GetFieldsCounters [09:15:29]wFMCommunicate request_size=4 [09:15:29]MH_SAM_APDU [09:15:29]CAPDU: 80 13 00 00 [09:15:29]Write to MH i2c: E2 08 00 10 60 80 13 00 00 00 00 00 00 EC [09:15:29]Write i2c OK [09:15:29]MH_I2C_Read... [09:15:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:15:29]Read from MH i2c: E2 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 62 00 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 62 00 10 60 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4B 0A 00 00 0E 04 04 00 18 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 9F [09:15:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4B 0A 00 00 0E 04 04 00 18 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:15:29]wFMCommunicate OK [09:15:29]SAM_PROTO_GetFieldsCounters done [09:15:29]requested_item shift.num is exist - process it [09:15:29]requested_item shift.opened is exist - process it [09:15:29]req_shift_opened [09:15:29]FM_GetShiftState [09:15:29]SAM_PROTO_GetShiftState [09:15:29]wFMCommunicate request_size=4 [09:15:29]MH_SAM_APDU [09:15:29]CAPDU: 80 13 01 00 [09:15:29]Write to MH i2c: E2 08 00 11 60 80 13 01 00 00 00 00 00 EE [09:15:29]Write i2c OK [09:15:29]MH_I2C_Read... [09:15:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:29]Read from MH i2c: E2 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 0E 00 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 0E 00 11 60 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 D8 [09:15:29]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:15:29]wFMCommunicate OK [09:15:29]SAM_PROTO_GetShiftState done [09:15:29]FM_GetShiftState done [09:15:29]req_shift_opened done [09:15:29]requested_item shift.open_date is exist - process it [09:15:29]req_shift_open_date [09:15:29]req_shift_open_date done [09:15:29]produce_requested_data done [09:15:29]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2635,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:15:29]process_action_free close_receipt [09:15:29]json_value_free [09:15:29]json_value_free done [09:15:29]process_json_proto returns [09:15:29]Send response to host [09:15:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2635,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:15:29]free response buf [09:15:29]execute_script done [09:15:29]execute_script returns [09:15:29]free content buf [09:15:29]Sock 9.Close socket [09:15:29]Sock 9.Thread stoped [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:03]accept exits with 7 [09:17:03]New connection [09:17:03]New thread 3066850660 created [09:17:03]Thread 3066707300 joined [09:17:03]Waiting for new connection... [09:17:03] Sock 7.Parse request [09:17:03]Sock 7.Check first char [09:17:03]Sock 7.First char is OK [09:17:03]request: POST /json_proto HTTP/1.0 [09:17:03]Method: POST [09:17:03]URL: /json_proto [09:17:03]Method is POST - this is cgi request [09:17:03]url: /json_proto [09:17:03]query_string will be loaded in cgi processing [09:17:03]execute_cgi json_proto POST (null) [09:17:03]execute_cgi path=json_proto method=POST [09:17:03]POST find Content-Length [09:17:03]Host: 172.17.52.132:8080 [09:17:03]Content-Length: 215 [09:17:03]Content-Type: application/json [09:17:03] [09:17:03]POST finish read [09:17:03]Found Content-Length = 215 [09:17:03]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:17:03]execute_script... [09:17:03]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:17:03]POST & json_proto [09:17:03]process_json_proto [09:17:03]json parsed OK: [09:17:03]protocol is kg_v1.0 [09:17:03]action value=get_value [09:17:03]process_action get_value [09:17:03]cmd_get_value [09:17:03]process_action get_value done [09:17:03]requested_data is exist [09:17:03]produce_requested_data [09:17:03]requested_item kkm.sn is exist - process it [09:17:03]requested_item kkm.ver is exist - process it [09:17:03]requested_item fm.sn is exist - process it [09:17:03]wFMCommunicate request_size=4 [09:17:03]MH_SAM_APDU [09:17:03]CAPDU: 80 11 00 00 [09:17:03]Write to MH i2c: E2 08 00 12 60 80 11 00 00 00 00 00 00 EC [09:17:03]Write i2c OK [09:17:03]MH_I2C_Read... [09:17:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:03]Read from MH i2c: E2 [09:17:03]MH_I2C_Read... [09:17:03]Read from MH i2c: E2 17 00 [09:17:03]MH_I2C_Read... [09:17:03]Read from MH i2c: E2 17 00 12 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 34 [09:17:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:17:03]wFMCommunicate OK [09:17:03]requested_item fd.num is exist - process it [09:17:03]SAM_PROTO_GetFieldsCounters [09:17:03]wFMCommunicate request_size=4 [09:17:03]MH_SAM_APDU [09:17:03]CAPDU: 80 13 00 00 [09:17:03]Write to MH i2c: E2 08 00 13 60 80 13 00 00 00 00 00 00 EF [09:17:03]Write i2c OK [09:17:03]MH_I2C_Read... [09:17:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:17:03]Read from MH i2c: E2 [09:17:03]MH_I2C_Read... [09:17:03]Read from MH i2c: E2 62 00 [09:17:03]MH_I2C_Read... [09:17:03]Read from MH i2c: E2 62 00 13 60 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4B 0A 00 00 0E 04 04 00 18 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 A2 [09:17:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4B 0A 00 00 0E 04 04 00 18 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:17:03]wFMCommunicate OK [09:17:03]SAM_PROTO_GetFieldsCounters done [09:17:03]requested_item shift.num is exist - process it [09:17:03]requested_item shift.opened is exist - process it [09:17:03]req_shift_opened [09:17:03]FM_GetShiftState [09:17:03]SAM_PROTO_GetShiftState [09:17:03]wFMCommunicate request_size=4 [09:17:03]MH_SAM_APDU [09:17:03]CAPDU: 80 13 01 00 [09:17:03]Write to MH i2c: E2 08 00 14 60 80 13 01 00 00 00 00 00 F1 [09:17:03]Write i2c OK [09:17:03]MH_I2C_Read... [09:17:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:03]Read from MH i2c: E2 [09:17:03]MH_I2C_Read... [09:17:03]Read from MH i2c: E2 0E 00 [09:17:03]MH_I2C_Read... [09:17:03]Read from MH i2c: E2 0E 00 14 60 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 DB [09:17:03]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:17:03]wFMCommunicate OK [09:17:03]SAM_PROTO_GetShiftState done [09:17:03]FM_GetShiftState done [09:17:03]req_shift_opened done [09:17:03]requested_item shift.open_date is exist - process it [09:17:03]req_shift_open_date [09:17:03]req_shift_open_date done [09:17:03]produce_requested_data done [09:17:03]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2635,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:17:03]process_action_free get_value [09:17:03]json_value_free [09:17:03]json_value_free done [09:17:03]process_json_proto returns [09:17:03]Send response to host [09:17:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2635,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:17:03]free response buf [09:17:03]execute_script done [09:17:03]execute_script returns [09:17:03]free content buf [09:17:03]Sock 7.Close socket [09:17:03]Sock 7.Thread stoped [09:17:04]accept exits with 9 [09:17:04]New connection [09:17:04]New thread 3066707300 created [09:17:04]Thread 3066850660 joined [09:17:04]Waiting for new connection... [09:17:04] Sock 9.Parse request [09:17:04]Sock 9.Check first char [09:17:04]Sock 9.First char is OK [09:17:04]request: POST /json_proto HTTP/1.0 [09:17:04]Method: POST [09:17:04]URL: /json_proto [09:17:04]Method is POST - this is cgi request [09:17:04]url: /json_proto [09:17:04]query_string will be loaded in cgi processing [09:17:04]execute_cgi json_proto POST (null) [09:17:04]execute_cgi path=json_proto method=POST [09:17:04]POST find Content-Length [09:17:04]Host: 172.17.52.132:8080 [09:17:04]Content-Length: 331 [09:17:04]Content-Type: application/json [09:17:04] [09:17:04]POST finish read [09:17:04]Found Content-Length = 331 [09:17:04]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:17:04]execute_script... [09:17:04]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:17:04]POST & json_proto [09:17:04]process_json_proto [09:17:04]json parsed OK: [09:17:04]protocol is kg_v1.0 [09:17:04]action value=get_value [09:17:04]process_action get_value [09:17:04]cmd_get_value [09:17:04]process_action get_value done [09:17:04]requested_data is exist [09:17:04]produce_requested_data [09:17:04]requested_item fm.sale.total is exist - process it [09:17:04]SAM_PROTO_GetFMData [09:17:04]wFMCommunicate request_size=4 [09:17:04]MH_SAM_APDU [09:17:04]CAPDU: 80 13 03 00 [09:17:04]Write to MH i2c: E2 08 00 15 60 80 13 03 00 00 00 00 00 F4 [09:17:04]Write i2c OK [09:17:04]MH_I2C_Read... [09:17:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:17:04]Read from MH i2c: E2 [09:17:04]MH_I2C_Read... [09:17:04]Read from MH i2c: E2 FD 00 [09:17:04]MH_I2C_Read... [09:17:04]Read from MH i2c: E2 FD 00 15 60 00 BE 04 85 04 BA 04 6E 04 04 00 1B 0A 00 00 69 04 9F 00 6F 04 04 00 13 0A 00 00 B1 04 04 00 96 25 15 05 70 04 04 00 38 EC CD 03 72 04 04 00 5E 39 47 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 2E 8A 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 EE 82 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 0C [09:17:04]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 1B 0A 00 00 69 04 9F 00 6F 04 04 00 13 0A 00 00 B1 04 04 00 96 25 15 05 70 04 04 00 38 EC CD 03 72 04 04 00 5E 39 47 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 2E 8A 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 EE 82 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [09:17:04]wFMCommunicate OK [09:17:04]wFMCommunicate request_size=4 [09:17:04]MH_SAM_APDU [09:17:04]CAPDU: 80 17 00 00 [09:17:04]Write to MH i2c: E2 08 00 16 60 80 17 00 00 00 00 00 00 F6 [09:17:04]Write i2c OK [09:17:04]MH_I2C_Read... [09:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:05]Read from MH i2c: E2 [09:17:05]MH_I2C_Read... [09:17:05]Read from MH i2c: E2 FD 00 [09:17:05]MH_I2C_Read... [09:17:05]Read from MH i2c: E2 FD 00 16 60 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0B [09:17:05]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:17:05]wFMCommunicate OK [09:17:05]wFMCommunicate request_size=4 [09:17:05]MH_SAM_APDU [09:17:05]CAPDU: 80 17 00 00 [09:17:05]Write to MH i2c: E2 08 00 17 60 80 17 00 00 00 00 00 00 F7 [09:17:05]Write i2c OK [09:17:05]MH_I2C_Read... [09:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:05]Read from MH i2c: E2 [09:17:05]MH_I2C_Read... [09:17:05]Read from MH i2c: E2 FD 00 [09:17:05]MH_I2C_Read... [09:17:05]Read from MH i2c: E2 FD 00 17 60 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 29 [09:17:05]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:17:05]wFMCommunicate OK [09:17:05]wFMCommunicate request_size=4 [09:17:05]MH_SAM_APDU [09:17:05]CAPDU: 80 17 00 00 [09:17:05]Write to MH i2c: E2 08 00 18 60 80 17 00 00 00 00 00 00 F8 [09:17:05]Write i2c OK [09:17:05]MH_I2C_Read... [09:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:05]Read from MH i2c: E2 [09:17:05]MH_I2C_Read... [09:17:05]Read from MH i2c: E2 FD 00 [09:17:05]MH_I2C_Read... [09:17:05]Read from MH i2c: E2 FD 00 18 60 00 04 F7 03 00 00 EF 03 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 90 00 73 [09:17:05]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [09:17:05]wFMCommunicate OK [09:17:05]wFMCommunicate request_size=4 [09:17:05]MH_SAM_APDU [09:17:05]CAPDU: 80 17 00 00 [09:17:05]Write to MH i2c: E2 08 00 19 60 80 17 00 00 00 00 00 00 F9 [09:17:05]Write i2c OK [09:17:05]MH_I2C_Read... [09:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [09:17:05]Read from MH i2c: E2 [09:17:05]MH_I2C_Read... [09:17:05]Read from MH i2c: E2 DB 00 [09:17:05]MH_I2C_Read... [09:17:05]Read from MH i2c: E2 DB 00 19 60 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DB [09:17:05]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17:05]wFMCommunicate OK [09:17:05]SAM_PROTO_GetFMData done [09:17:05]requested_item fm.sale_refund.total is exist - process it [09:17:05]requested_item fm.buy.total is exist - process it [09:17:05]requested_item shift.sale.total is exist - process it [09:17:05]SAM_PROTO_GetShiftData [09:17:05]wFMCommunicate request_size=4 [09:17:05]MH_SAM_APDU [09:17:05]CAPDU: 80 13 02 00 [09:17:05]Write to MH i2c: E2 08 00 1A 60 80 13 02 00 00 00 00 00 F8 [09:17:05]Write i2c OK [09:17:05]MH_I2C_Read... [09:17:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:17:06]Read from MH i2c: E2 [09:17:06]MH_I2C_Read... [09:17:06]Read from MH i2c: E2 FD 00 [09:17:06]MH_I2C_Read... [09:17:06]Read from MH i2c: E2 FD 00 1A 60 00 AC 04 AA 04 A8 04 6E 04 04 00 10 00 00 00 69 04 99 00 6F 04 04 00 10 00 00 00 B1 04 03 00 54 1F 05 70 04 03 00 A0 BF 04 72 04 02 00 B4 5F 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 3F 8B 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 98 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 00 90 00 2D [09:17:06]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 10 00 00 00 69 04 99 00 6F 04 04 00 10 00 00 00 B1 04 03 00 54 1F 05 70 04 03 00 A0 BF 04 72 04 02 00 B4 5F 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 3F 8B 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 98 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 00 90 00 [09:17:06]wFMCommunicate OK [09:17:06]wFMCommunicate request_size=4 [09:17:06]MH_SAM_APDU [09:17:06]CAPDU: 80 17 00 00 [09:17:06]Write to MH i2c: E2 08 00 1B 60 80 17 00 00 00 00 00 00 FB [09:17:06]Write i2c OK [09:17:06]MH_I2C_Read... [09:17:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:06]Read from MH i2c: E2 [09:17:06]MH_I2C_Read... [09:17:06]Read from MH i2c: E2 FD 00 [09:17:06]MH_I2C_Read... [09:17:06]Read from MH i2c: E2 FD 00 1B 60 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 10 [09:17:06]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [09:17:06]wFMCommunicate OK [09:17:06]wFMCommunicate request_size=4 [09:17:06]MH_SAM_APDU [09:17:06]CAPDU: 80 17 00 00 [09:17:06]Write to MH i2c: E2 08 00 1C 60 80 17 00 00 00 00 00 00 FC [09:17:06]Write i2c OK [09:17:06]MH_I2C_Read... [09:17:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:06]Read from MH i2c: E2 [09:17:06]MH_I2C_Read... [09:17:06]Read from MH i2c: E2 FD 00 [09:17:06]MH_I2C_Read... [09:17:06]Read from MH i2c: E2 FD 00 1C 60 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 BD [09:17:06]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [09:17:06]wFMCommunicate OK [09:17:06]wFMCommunicate request_size=4 [09:17:06]MH_SAM_APDU [09:17:06]CAPDU: 80 17 00 00 [09:17:06]Write to MH i2c: E2 08 00 1D 60 80 17 00 00 00 00 00 00 FD [09:17:06]Write i2c OK [09:17:06]MH_I2C_Read... [09:17:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:07]Read from MH i2c: E2 [09:17:07]MH_I2C_Read... [09:17:07]Read from MH i2c: E2 FD 00 [09:17:07]MH_I2C_Read... [09:17:07]Read from MH i2c: E2 FD 00 1D 60 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 90 00 72 [09:17:07]RAPDU: 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 90 00 [09:17:07]wFMCommunicate OK [09:17:07]wFMCommunicate request_size=4 [09:17:07]MH_SAM_APDU [09:17:07]CAPDU: 80 17 00 00 [09:17:07]Write to MH i2c: E2 08 00 1E 60 80 17 00 00 00 00 00 00 FE [09:17:07]Write i2c OK [09:17:07]MH_I2C_Read... [09:17:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [09:17:07]Read from MH i2c: E2 [09:17:07]MH_I2C_Read... [09:17:07]Read from MH i2c: E2 C9 00 [09:17:07]MH_I2C_Read... [09:17:07]Read from MH i2c: E2 C9 00 1E 60 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E2 [09:17:07]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17:07]wFMCommunicate OK [09:17:07]SAM_PROTO_GetShiftData done [09:17:07]requested_item shift.sale.total_cash is exist - process it [09:17:07]requested_item shift.sale_refund.total is exist - process it [09:17:07]requested_item shift.sale_refund.total_cash is exist - process it [09:17:07]requested_item shift.buy.total is exist - process it [09:17:07]requested_item shift.buy.total_cash is exist - process it [09:17:07]produce_requested_data done [09:17:07]produce_requested_data return {"fm.sale.total":852719.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":3357.00,"shift.sale.total_cash":3112.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:17:07]process_action_free get_value [09:17:07]json_value_free [09:17:07]json_value_free done [09:17:07]process_json_proto returns [09:17:07]Send response to host [09:17:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":852719.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":3357.00,"shift.sale.total_cash":3112.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:17:07]free response buf [09:17:07]execute_script done [09:17:07]execute_script returns [09:17:07]free content buf [09:17:07]Sock 9.Close socket [09:17:07]Sock 9.Thread stoped [09:17:07]accept exits with 7 [09:17:07]New connection [09:17:07]New thread 3066850660 created [09:17:07]Thread 3066707300 joined [09:17:07]Waiting for new connection... [09:17:07] Sock 7.Parse request [09:17:07]Sock 7.Check first char [09:17:07]Sock 7.First char is OK [09:17:07]request: POST /json_proto HTTP/1.0 [09:17:07]Method: POST [09:17:07]URL: /json_proto [09:17:07]Method is POST - this is cgi request [09:17:07]url: /json_proto [09:17:07]query_string will be loaded in cgi processing [09:17:07]execute_cgi json_proto POST (null) [09:17:07]execute_cgi path=json_proto method=POST [09:17:07]POST find Content-Length [09:17:07]Host: 172.17.52.132:8080 [09:17:07]Content-Length: 331 [09:17:07]Content-Type: application/json [09:17:07] [09:17:07]POST finish read [09:17:07]Found Content-Length = 331 [09:17:07]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:17:07]execute_script... [09:17:07]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:17:07]POST & json_proto [09:17:07]process_json_proto [09:17:07]json parsed OK: [09:17:07]protocol is kg_v1.0 [09:17:07]action value=get_value [09:17:07]process_action get_value [09:17:07]cmd_get_value [09:17:07]process_action get_value done [09:17:07]requested_data is exist [09:17:07]produce_requested_data [09:17:07]requested_item fm.sale.total is exist - process it [09:17:07]SAM_PROTO_GetFMData [09:17:07]wFMCommunicate request_size=4 [09:17:07]MH_SAM_APDU [09:17:07]CAPDU: 80 13 03 00 [09:17:07]Write to MH i2c: E2 08 00 1F 60 80 13 03 00 00 00 00 00 FE [09:17:07]Write i2c OK [09:17:07]MH_I2C_Read... [09:17:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:17:08]Read from MH i2c: E2 [09:17:08]MH_I2C_Read... [09:17:08]Read from MH i2c: E2 FD 00 [09:17:08]MH_I2C_Read... [09:17:08]Read from MH i2c: E2 FD 00 1F 60 00 BE 04 85 04 BA 04 6E 04 04 00 1B 0A 00 00 69 04 9F 00 6F 04 04 00 13 0A 00 00 B1 04 04 00 96 25 15 05 70 04 04 00 38 EC CD 03 72 04 04 00 5E 39 47 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 2E 8A 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 EE 82 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 16 [09:17:08]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 1B 0A 00 00 69 04 9F 00 6F 04 04 00 13 0A 00 00 B1 04 04 00 96 25 15 05 70 04 04 00 38 EC CD 03 72 04 04 00 5E 39 47 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 2E 8A 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 EE 82 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [09:17:08]wFMCommunicate OK [09:17:08]wFMCommunicate request_size=4 [09:17:08]MH_SAM_APDU [09:17:08]CAPDU: 80 17 00 00 [09:17:08]Write to MH i2c: E2 08 00 20 60 80 17 00 00 00 00 00 00 00 [09:17:08]Write i2c OK [09:17:08]MH_I2C_Read... [09:17:08]OFD Sender: No OFD packet to send [09:17:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:08]Read from MH i2c: E2 [09:17:08]MH_I2C_Read... [09:17:08]Read from MH i2c: E2 FD 00 [09:17:08]MH_I2C_Read... [09:17:08]Read from MH i2c: E2 FD 00 20 60 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 15 [09:17:08]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:17:08]wFMCommunicate OK [09:17:08]wFMCommunicate request_size=4 [09:17:08]MH_SAM_APDU [09:17:08]CAPDU: 80 17 00 00 [09:17:08]Write to MH i2c: E2 08 00 21 60 80 17 00 00 00 00 00 00 01 [09:17:08]Write i2c OK [09:17:08]MH_I2C_Read... [09:17:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:08]Read from MH i2c: E2 [09:17:08]MH_I2C_Read... [09:17:08]Read from MH i2c: E2 FD 00 [09:17:08]MH_I2C_Read... [09:17:08]Read from MH i2c: E2 FD 00 21 60 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 33 [09:17:08]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:17:08]wFMCommunicate OK [09:17:08]wFMCommunicate request_size=4 [09:17:08]MH_SAM_APDU [09:17:08]CAPDU: 80 17 00 00 [09:17:08]Write to MH i2c: E2 08 00 22 60 80 17 00 00 00 00 00 00 02 [09:17:08]Write i2c OK [09:17:08]MH_I2C_Read... [09:17:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:09]Read from MH i2c: E2 [09:17:09]MH_I2C_Read... [09:17:09]Read from MH i2c: E2 FD 00 [09:17:09]MH_I2C_Read... [09:17:09]Read from MH i2c: E2 FD 00 22 60 00 04 F7 03 00 00 EF 03 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 90 00 7D [09:17:09]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [09:17:09]wFMCommunicate OK [09:17:09]wFMCommunicate request_size=4 [09:17:09]MH_SAM_APDU [09:17:09]CAPDU: 80 17 00 00 [09:17:09]Write to MH i2c: E2 08 00 23 60 80 17 00 00 00 00 00 00 03 [09:17:09]Write i2c OK [09:17:09]MH_I2C_Read... [09:17:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [09:17:09]Read from MH i2c: E2 [09:17:09]MH_I2C_Read... [09:17:09]Read from MH i2c: E2 DB 00 [09:17:09]MH_I2C_Read... [09:17:09]Read from MH i2c: E2 DB 00 23 60 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E5 [09:17:09]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17:09]wFMCommunicate OK [09:17:09]SAM_PROTO_GetFMData done [09:17:09]requested_item fm.sale_refund.total is exist - process it [09:17:09]requested_item fm.buy.total is exist - process it [09:17:09]requested_item shift.sale.total is exist - process it [09:17:09]SAM_PROTO_GetShiftData [09:17:09]wFMCommunicate request_size=4 [09:17:09]MH_SAM_APDU [09:17:09]CAPDU: 80 13 02 00 [09:17:09]Write to MH i2c: E2 08 00 24 60 80 13 02 00 00 00 00 00 02 [09:17:09]Write i2c OK [09:17:09]MH_I2C_Read... [09:17:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:17:10]Read from MH i2c: E2 [09:17:10]MH_I2C_Read... [09:17:10]Read from MH i2c: E2 FD 00 [09:17:10]MH_I2C_Read... [09:17:10]Read from MH i2c: E2 FD 00 24 60 00 AC 04 AA 04 A8 04 6E 04 04 00 10 00 00 00 69 04 99 00 6F 04 04 00 10 00 00 00 B1 04 03 00 54 1F 05 70 04 03 00 A0 BF 04 72 04 02 00 B4 5F 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 3F 8B 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 98 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 00 90 00 37 [09:17:10]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 10 00 00 00 69 04 99 00 6F 04 04 00 10 00 00 00 B1 04 03 00 54 1F 05 70 04 03 00 A0 BF 04 72 04 02 00 B4 5F 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 3F 8B 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 98 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 00 90 00 [09:17:10]wFMCommunicate OK [09:17:10]wFMCommunicate request_size=4 [09:17:10]MH_SAM_APDU [09:17:10]CAPDU: 80 17 00 00 [09:17:10]Write to MH i2c: E2 08 00 25 60 80 17 00 00 00 00 00 00 05 [09:17:10]Write i2c OK [09:17:10]MH_I2C_Read... [09:17:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:10]Read from MH i2c: E2 [09:17:10]MH_I2C_Read... [09:17:10]Read from MH i2c: E2 FD 00 [09:17:10]MH_I2C_Read... [09:17:10]Read from MH i2c: E2 FD 00 25 60 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1A [09:17:10]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [09:17:10]wFMCommunicate OK [09:17:10]wFMCommunicate request_size=4 [09:17:10]MH_SAM_APDU [09:17:10]CAPDU: 80 17 00 00 [09:17:10]Write to MH i2c: E2 08 00 26 60 80 17 00 00 00 00 00 00 06 [09:17:10]Write i2c OK [09:17:10]MH_I2C_Read... [09:17:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:10]Read from MH i2c: E2 [09:17:10]MH_I2C_Read... [09:17:10]Read from MH i2c: E2 FD 00 [09:17:10]MH_I2C_Read... [09:17:10]Read from MH i2c: E2 FD 00 26 60 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 C7 [09:17:10]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [09:17:11]wFMCommunicate OK [09:17:11]wFMCommunicate request_size=4 [09:17:11]MH_SAM_APDU [09:17:11]CAPDU: 80 17 00 00 [09:17:11]Write to MH i2c: E2 08 00 27 60 80 17 00 00 00 00 00 00 07 [09:17:11]Write i2c OK [09:17:11]MH_I2C_Read... [09:17:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:11]Read from MH i2c: E2 [09:17:11]MH_I2C_Read... [09:17:11]Read from MH i2c: E2 FD 00 [09:17:11]MH_I2C_Read... [09:17:11]Read from MH i2c: E2 FD 00 27 60 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 90 00 7C [09:17:11]RAPDU: 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 90 00 [09:17:11]wFMCommunicate OK [09:17:11]wFMCommunicate request_size=4 [09:17:11]MH_SAM_APDU [09:17:11]CAPDU: 80 17 00 00 [09:17:11]Write to MH i2c: E2 08 00 28 60 80 17 00 00 00 00 00 00 08 [09:17:11]Write i2c OK [09:17:11]MH_I2C_Read... [09:17:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [09:17:11]Read from MH i2c: E2 [09:17:11]MH_I2C_Read... [09:17:11]Read from MH i2c: E2 C9 00 [09:17:11]MH_I2C_Read... [09:17:11]Read from MH i2c: E2 C9 00 28 60 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EC [09:17:11]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17:11]wFMCommunicate OK [09:17:11]SAM_PROTO_GetShiftData done [09:17:11]requested_item shift.sale.total_cash is exist - process it [09:17:11]requested_item shift.sale_refund.total is exist - process it [09:17:11]requested_item shift.sale_refund.total_cash is exist - process it [09:17:11]requested_item shift.buy.total is exist - process it [09:17:11]requested_item shift.buy.total_cash is exist - process it [09:17:11]produce_requested_data done [09:17:11]produce_requested_data return {"fm.sale.total":852719.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":3357.00,"shift.sale.total_cash":3112.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:17:11]process_action_free get_value [09:17:11]json_value_free [09:17:11]json_value_free done [09:17:11]process_json_proto returns [09:17:11]Send response to host [09:17:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":852719.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":3357.00,"shift.sale.total_cash":3112.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:17:11]free response buf [09:17:11]execute_script done [09:17:11]execute_script returns [09:17:11]free content buf [09:17:11]Sock 7.Close socket [09:17:11]Sock 7.Thread stoped [09:17:11]accept exits with 9 [09:17:11]New connection [09:17:11]New thread 3066707300 created [09:17:11]Thread 3066850660 joined [09:17:11]Waiting for new connection... [09:17:11] Sock 9.Parse request [09:17:11]Sock 9.Check first char [09:17:11]Sock 9.First char is OK [09:17:11]request: POST /json_proto HTTP/1.0 [09:17:11]Method: POST [09:17:11]URL: /json_proto [09:17:11]Method is POST - this is cgi request [09:17:11]url: /json_proto [09:17:11]query_string will be loaded in cgi processing [09:17:11]execute_cgi json_proto POST (null) [09:17:11]execute_cgi path=json_proto method=POST [09:17:11]POST find Content-Length [09:17:11]Host: 172.17.52.132:8080 [09:17:11]Content-Length: 257 [09:17:11]Content-Type: application/json [09:17:11] [09:17:11]POST finish read [09:17:11]Found Content-Length = 257 [09:17:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:17:11]execute_script... [09:17:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:17:11]POST & json_proto [09:17:11]process_json_proto [09:17:11]json parsed OK: [09:17:11]protocol is kg_v1.0 [09:17:11]action value=x_report [09:17:11]process_action x_report [09:17:11]cmd_x_report [09:17:11]MH_GetDate [09:17:11]Write to MH i2c: F0 00 00 29 60 78 [09:17:11]Write i2c OK [09:17:11]MH_I2C_Read... [09:17:11]Read from MH i2c: F0 [09:17:11]MH_I2C_Read... [09:17:11]Read from MH i2c: F0 09 00 [09:17:11]MH_I2C_Read... [09:17:11]Read from MH i2c: F0 09 00 29 60 00 A6 CA 14 67 5A BE F6 66 E0 [09:17:11]GetLastDocTimeStamp 1729415739 [09:17:11]current date 1729415846 [09:17:11]FM_GetShiftState [09:17:11]SAM_PROTO_GetShiftState [09:17:11]wFMCommunicate request_size=4 [09:17:11]MH_SAM_APDU [09:17:11]CAPDU: 80 13 01 00 [09:17:11]Write to MH i2c: E2 08 00 2A 60 80 13 01 00 00 00 00 00 07 [09:17:11]Write i2c OK [09:17:11]MH_I2C_Read... [09:17:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:12]Read from MH i2c: E2 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: E2 0E 00 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: E2 0E 00 2A 60 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F1 [09:17:12]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:17:12]wFMCommunicate OK [09:17:12]SAM_PROTO_GetShiftState done [09:17:12]FM_GetShiftState done [09:17:12]KKMCreateXReportDocument [09:17:12]Load OK [09:17:12]Malloc new data [09:17:12]MH_GetDate [09:17:12]Write to MH i2c: F0 00 00 2B 60 7A [09:17:12]Write i2c OK [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: F0 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: F0 09 00 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: F0 09 00 2B 60 00 A6 CA 14 67 5A BE F6 66 E2 [09:17:12]Malloc new data [09:17:12]Malloc new data [09:17:12]wFMCommunicate request_size=4 [09:17:12]MH_SAM_APDU [09:17:12]CAPDU: 80 11 00 00 [09:17:12]Write to MH i2c: E2 08 00 2C 60 80 11 00 00 00 00 00 00 06 [09:17:12]Write i2c OK [09:17:12]MH_I2C_Read... [09:17:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:12]Read from MH i2c: E2 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: E2 17 00 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: E2 17 00 2C 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4E [09:17:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:17:12]wFMCommunicate OK [09:17:12]SAM_PROTO_GetFieldsCounters [09:17:12]wFMCommunicate request_size=4 [09:17:12]MH_SAM_APDU [09:17:12]CAPDU: 80 13 00 00 [09:17:12]Write to MH i2c: E2 08 00 2D 60 80 13 00 00 00 00 00 00 09 [09:17:12]Write i2c OK [09:17:12]MH_I2C_Read... [09:17:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:17:12]Read from MH i2c: E2 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: E2 62 00 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: E2 62 00 2D 60 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4B 0A 00 00 0E 04 04 00 18 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 BC [09:17:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4B 0A 00 00 0E 04 04 00 18 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:17:12]wFMCommunicate OK [09:17:12]SAM_PROTO_GetFieldsCounters done [09:17:12]Malloc new data [09:17:12]Malloc new data [09:17:12]Malloc new data [09:17:12]KKMCreateXReportDocument OK [09:17:12]KKMSetXReportData OK [09:17:12]KKMPrepareXReportFMData [09:17:12]SAM_PROTO_GetShiftData [09:17:12]wFMCommunicate request_size=4 [09:17:12]MH_SAM_APDU [09:17:12]CAPDU: 80 13 02 00 [09:17:12]Write to MH i2c: E2 08 00 2E 60 80 13 02 00 00 00 00 00 0C [09:17:12]Write i2c OK [09:17:12]MH_I2C_Read... [09:17:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:17:12]Read from MH i2c: E2 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: E2 FD 00 [09:17:12]MH_I2C_Read... [09:17:12]Read from MH i2c: E2 FD 00 2E 60 00 AC 04 AA 04 A8 04 6E 04 04 00 10 00 00 00 69 04 99 00 6F 04 04 00 10 00 00 00 B1 04 03 00 54 1F 05 70 04 03 00 A0 BF 04 72 04 02 00 B4 5F 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 3F 8B 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 98 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 00 90 00 41 [09:17:12]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 10 00 00 00 69 04 99 00 6F 04 04 00 10 00 00 00 B1 04 03 00 54 1F 05 70 04 03 00 A0 BF 04 72 04 02 00 B4 5F 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 3F 8B 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 98 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 00 90 00 [09:17:13]wFMCommunicate OK [09:17:13]wFMCommunicate request_size=4 [09:17:13]MH_SAM_APDU [09:17:13]CAPDU: 80 17 00 00 [09:17:13]Write to MH i2c: E2 08 00 2F 60 80 17 00 00 00 00 00 00 0F [09:17:13]Write i2c OK [09:17:13]MH_I2C_Read... [09:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:13]Read from MH i2c: E2 [09:17:13]MH_I2C_Read... [09:17:13]Read from MH i2c: E2 FD 00 [09:17:13]MH_I2C_Read... [09:17:13]Read from MH i2c: E2 FD 00 2F 60 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 24 [09:17:13]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 OFD Sender: No OFD packet to send [09:17:13]04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [09:17:13]wFMCommunicate OK [09:17:13]wFMCommunicate request_size=4 [09:17:13]MH_SAM_APDU [09:17:13]CAPDU: 80 17 00 00 [09:17:13]Write to MH i2c: E2 08 00 30 60 80 17 00 00 00 00 00 00 10 [09:17:13]Write i2c OK [09:17:13]MH_I2C_Read... [09:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:13]Read from MH i2c: E2 [09:17:13]MH_I2C_Read... [09:17:13]Read from MH i2c: E2 FD 00 [09:17:13]MH_I2C_Read... [09:17:14]Read from MH i2c: E2 FD 00 30 60 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 D1 [09:17:14]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [09:17:14]wFMCommunicate OK [09:17:14]wFMCommunicate request_size=4 [09:17:14]MH_SAM_APDU [09:17:14]CAPDU: 80 17 00 00 [09:17:14]Write to MH i2c: E2 08 00 31 60 80 17 00 00 00 00 00 00 11 [09:17:14]Write i2c OK [09:17:14]MH_I2C_Read... [09:17:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:14]Read from MH i2c: E2 [09:17:14]MH_I2C_Read... [09:17:14]Read from MH i2c: E2 FD 00 [09:17:14]MH_I2C_Read... [09:17:14]Read from MH i2c: E2 FD 00 31 60 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 90 00 86 [09:17:14]RAPDU: 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 90 00 [09:17:14]wFMCommunicate OK [09:17:14]wFMCommunicate request_size=4 [09:17:14]MH_SAM_APDU [09:17:14]CAPDU: 80 17 00 00 [09:17:14]Write to MH i2c: E2 08 00 32 60 80 17 00 00 00 00 00 00 12 [09:17:14]Write i2c OK [09:17:14]MH_I2C_Read... [09:17:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [09:17:14]Read from MH i2c: E2 [09:17:14]MH_I2C_Read... [09:17:14]Read from MH i2c: E2 C9 00 [09:17:14]MH_I2C_Read... [09:17:14]Read from MH i2c: E2 C9 00 32 60 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F6 [09:17:15]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17:15]wFMCommunicate OK [09:17:15]SAM_PROTO_GetShiftData done [09:17:15]1194 (1192) - счетчики итогов смены [09:17:15] 1134 (4) - 16 - количество чеков со всеми признаками расчетов [09:17:15] 1129 (153) - счетчики операций «приход» [09:17:15] 1135 (4) - 16 - количество чеков по признаку расчетов [09:17:15] 1201 (3) - 3357.00 - общая итоговая сумма в чеках [09:17:15] 1136 (3) - 3112.00 - итоговая сумма в чеках наличными [09:17:15] 1138 (2) - 245.00 - итоговая сумма в чеках безналичными [09:17:15] 1024 (121) - суммы налогов [09:17:15] 1006 (9) - суммы НДС [09:17:15] 1010 (1) - 0% - код ставки НДС [09:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [09:17:15] 1006 (11) - суммы НДС [09:17:15] 1010 (1) - 12% - код ставки НДС [09:17:15] 1011 (2) - 356.47 - сумма НДС по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 0% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (11) - суммы НСП [09:17:15] 1014 (1) - 1% - код ставки НСП [09:17:15] 1015 (2) - 29.68 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 2% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 3% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 5% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 0,50% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 1,50% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1130 (141) - счетчики операций «возврат прихода» [09:17:15] 1135 (4) - 0 - количество чеков по признаку расчетов [09:17:15] 1201 (0) - 0.00 - общая итоговая сумма в чеках [09:17:15] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [09:17:15] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [09:17:15] 1024 (117) - суммы налогов [09:17:15] 1006 (9) - суммы НДС [09:17:15] 1010 (1) - 0% - код ставки НДС [09:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [09:17:15] 1006 (9) - суммы НДС [09:17:15] 1010 (1) - 12% - код ставки НДС [09:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 0% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 1% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 2% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 3% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 5% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 0,50% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 1,50% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1131 (141) - счетчики операций «расход» [09:17:15] 1135 (4) - 0 - количество чеков по признаку расчетов [09:17:15] 1201 (0) - 0.00 - общая итоговая сумма в чеках [09:17:15] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [09:17:15] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [09:17:15] 1024 (117) - суммы налогов [09:17:15] 1006 (9) - суммы НДС [09:17:15] 1010 (1) - 0% - код ставки НДС [09:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [09:17:15] 1006 (9) - суммы НДС [09:17:15] 1010 (1) - 12% - код ставки НДС [09:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 0% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 1% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 2% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 3% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 5% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 0,50% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 1,50% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1132 (141) - счетчики операций «возврат расхода» [09:17:15] 1135 (4) - 0 - количество чеков по признаку расчетов [09:17:15] 1201 (0) - 0.00 - общая итоговая сумма в чеках [09:17:15] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [09:17:15] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [09:17:15] 1024 (117) - суммы налогов [09:17:15] 1006 (9) - суммы НДС [09:17:15] 1010 (1) - 0% - код ставки НДС [09:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [09:17:15] 1006 (9) - суммы НДС [09:17:15] 1010 (1) - 12% - код ставки НДС [09:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 0% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 1% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 2% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 3% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 5% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 0,50% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1007 (9) - суммы НСП [09:17:15] 1014 (1) - 1,50% - код ставки НСП [09:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [09:17:15] 1133 (588) - - счетчики коррекции - не используются [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1194 (04AA) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1134 (046E) [09:17:15]Malloc new data [09:17:15]Processing tag 1129 (0469) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1135 (046F) [09:17:15]Malloc new data [09:17:15]Processing tag 1201 (04B1) [09:17:15]Malloc new data [09:17:15]Processing tag 1136 (0470) [09:17:15]Malloc new data [09:17:15]Processing tag 1138 (0472) [09:17:15]Malloc new data [09:17:15]Processing tag 1024 (0400) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1006 (03EE) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1010 (03F2) [09:17:15]Malloc new data [09:17:15]Processing tag 1011 (03F3) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1006 (03EE) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1010 (03F2) [09:17:15]Malloc new data [09:17:15]Processing tag 1011 (03F3) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]SetTLVBufToDocument err=0 [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1130 (046A) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1135 (046F) [09:17:15]Malloc new data [09:17:15]Processing tag 1201 (04B1) [09:17:15]Malloc new data [09:17:15]Processing tag 1136 (0470) [09:17:15]Malloc new data [09:17:15]Processing tag 1138 (0472) [09:17:15]Malloc new data [09:17:15]Processing tag 1024 (0400) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1006 (03EE) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1010 (03F2) [09:17:15]Malloc new data [09:17:15]Processing tag 1011 (03F3) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1006 (03EE) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1010 (03F2) [09:17:15]Malloc new data [09:17:15]Processing tag 1011 (03F3) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]SetTLVBufToDocument err=0 [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1131 (046B) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1135 (046F) [09:17:15]Malloc new data [09:17:15]Processing tag 1201 (04B1) [09:17:15]Malloc new data [09:17:15]Processing tag 1136 (0470) [09:17:15]Malloc new data [09:17:15]Processing tag 1138 (0472) [09:17:15]Malloc new data [09:17:15]Processing tag 1024 (0400) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1006 (03EE) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1010 (03F2) [09:17:15]Malloc new data [09:17:15]Processing tag 1011 (03F3) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1006 (03EE) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1010 (03F2) [09:17:15]Malloc new data [09:17:15]Processing tag 1011 (03F3) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]Processing tag 1007 (03EF) [09:17:15]Load OK [09:17:15]SetTLVBufToDocument [09:17:15]Processing tag 1014 (03F6) [09:17:15]Malloc new data [09:17:15]Processing tag 1015 (03F7) [09:17:15]Malloc new data [09:17:15]SetTLVBufToDocument err=0 [09:17:15]SetTLVBufToDocument err=0 [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1132 (046C) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1135 (046F) [09:17:16]Malloc new data [09:17:16]Processing tag 1201 (04B1) [09:17:16]Malloc new data [09:17:16]Processing tag 1136 (0470) [09:17:16]Malloc new data [09:17:16]Processing tag 1138 (0472) [09:17:16]Malloc new data [09:17:16]Processing tag 1024 (0400) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1006 (03EE) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1010 (03F2) [09:17:16]Malloc new data [09:17:16]Processing tag 1011 (03F3) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1006 (03EE) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1010 (03F2) [09:17:16]Malloc new data [09:17:16]Processing tag 1011 (03F3) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1007 (03EF) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1014 (03F6) [09:17:16]Malloc new data [09:17:16]Processing tag 1015 (03F7) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1007 (03EF) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1014 (03F6) [09:17:16]Malloc new data [09:17:16]Processing tag 1015 (03F7) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1007 (03EF) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1014 (03F6) [09:17:16]Malloc new data [09:17:16]Processing tag 1015 (03F7) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1007 (03EF) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1014 (03F6) [09:17:16]Malloc new data [09:17:16]Processing tag 1015 (03F7) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1007 (03EF) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1014 (03F6) [09:17:16]Malloc new data [09:17:16]Processing tag 1015 (03F7) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1007 (03EF) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1014 (03F6) [09:17:16]Malloc new data [09:17:16]Processing tag 1015 (03F7) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1007 (03EF) [09:17:16]Load OK [09:17:16]SetTLVBufToDocument [09:17:16]Processing tag 1014 (03F6) [09:17:16]Malloc new data [09:17:16]Processing tag 1015 (03F7) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]SetTLVBufToDocument err=0 [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Processing tag 1133 (046D) [09:17:16]Malloc new data [09:17:16]SetTLVBufToDocument err=0 [09:17:16]SetTLVBufToDocument err=0 [09:17:16]Malloc new data [09:17:16]SAM_PROTO_GetFMData [09:17:16]wFMCommunicate request_size=4 [09:17:16]MH_SAM_APDU [09:17:16]CAPDU: 80 13 03 00 [09:17:16]Write to MH i2c: E2 08 00 33 60 80 13 03 00 00 00 00 00 12 [09:17:16]Write i2c OK [09:17:16]MH_I2C_Read... [09:17:16]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:17:16]Read from MH i2c: E2 [09:17:16]MH_I2C_Read... [09:17:16]Read from MH i2c: E2 FD 00 [09:17:16]MH_I2C_Read... [09:17:16]Read from MH i2c: E2 FD 00 33 60 00 BE 04 85 04 BA 04 6E 04 04 00 1B 0A 00 00 69 04 9F 00 6F 04 04 00 13 0A 00 00 B1 04 04 00 96 25 15 05 70 04 04 00 38 EC CD 03 72 04 04 00 5E 39 47 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 2E 8A 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 EE 82 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 2A [09:17:16]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 1B 0A 00 00 69 04 9F 00 6F 04 04 00 13 0A 00 00 B1 04 04 00 96 25 15 05 70 04 04 00 38 EC CD 03 72 04 04 00 5E 39 47 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 2E 8A 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 EE 82 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [09:17:16]wFMCommunicate OK [09:17:16]wFMCommunicate request_size=4 [09:17:16]MH_SAM_APDU [09:17:16]CAPDU: 80 17 00 00 [09:17:16]Write to MH i2c: E2 08 00 34 60 80 17 00 00 00 00 00 00 14 [09:17:16]Write i2c OK [09:17:16]MH_I2C_Read... [09:17:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:17]Read from MH i2c: E2 [09:17:17]MH_I2C_Read... [09:17:17]Read from MH i2c: E2 FD 00 [09:17:17]MH_I2C_Read... [09:17:17]Read from MH i2c: E2 FD 00 34 60 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 29 [09:17:17]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:17:17]wFMCommunicate OK [09:17:17]wFMCommunicate request_size=4 [09:17:17]MH_SAM_APDU [09:17:17]CAPDU: 80 17 00 00 [09:17:17]Write to MH i2c: E2 08 00 35 60 80 17 00 00 00 00 00 00 15 [09:17:17]Write i2c OK [09:17:17]MH_I2C_Read... [09:17:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:17]Read from MH i2c: E2 [09:17:17]MH_I2C_Read... [09:17:17]Read from MH i2c: E2 FD 00 [09:17:17]MH_I2C_Read... [09:17:17]Read from MH i2c: E2 FD 00 35 60 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 47 [09:17:17]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:17:18]wFMCommunicate OK [09:17:18]wFMCommunicate request_size=4 [09:17:18]MH_SAM_APDU [09:17:18]CAPDU: 80 17 00 00 [09:17:18]Write to MH i2c: E2 08 00 36 60 80 17 00 00 00 00 00 00 16 [09:17:18]Write i2c OK [09:17:18]MH_I2C_Read... [09:17:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:18]Read from MH i2c: E2 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 FD 00 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 FD 00 36 60 00 04 F7 03 00 00 EF 03 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 90 00 91 [09:17:18]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [09:17:18]wFMCommunicate OK [09:17:18]wFMCommunicate request_size=4 [09:17:18]MH_SAM_APDU [09:17:18]CAPDU: 80 17 00 00 [09:17:18]Write to MH i2c: E2 08 00 37 60 80 17 00 00 00 00 00 00 17 [09:17:18]Write i2c OK [09:17:18]MH_I2C_Read... [09:17:18]OFD Sender: No OFD packet to send [09:17:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [09:17:18]Read from MH i2c: E2 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 DB 00 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 DB 00 37 60 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F9 [09:17:19]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17:19]wFMCommunicate OK [09:17:19]SAM_PROTO_GetFMData done [09:17:19]FM_GetFMData:85 04 BA 04 6E 04 04 00 1B 0A 00 00 69 04 9F 00 6F 04 04 00 13 0A 00 00 B1 04 04 00 96 25 15 05 70 04 04 00 38 EC CD 03 72 04 04 00 5E 39 47 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 2E 8A 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 EE 82 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 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 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:17:20]oper:6F 04 04 00 13 0A 00 00 B1 04 04 00 96 25 15 05 70 04 04 00 38 EC CD 03 72 04 04 00 5E 39 47 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 2E 8A 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 EE 82 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 [09:17:20]total:96 25 15 05 [09:17:20]Malloc new data [09:17:20]oper:6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 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 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [09:17:20]total:58 F6 01 [09:17:20]Malloc new data [09:17:20]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 [09:17:20]total: [09:17:20]Malloc new data [09:17:20]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 [09:17:20]total: [09:17:20]Malloc new data [09:17:20]KKMPrepareXReportFMData err=0 [09:17:20]Х отчет ИНН: 02508201610067 Кассир: Орумбаев Р. 20.10.2024 09:17 Смена: 10 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Всего чеков: 16 ИТОГИ ПРИХОД Чеков: 16 Общий итог: 3357.00 Итого наличными: 3112.00 Итого безнал.: 245.00 НДС 0% : 0.00 НДС 12% : 356.47 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 29.68 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 3112.00 НС Приход: 852719.58 НС Возвр.Прихода: 1286.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000002342820 [09:17:20]StoreToDocumentArchive [09:17:20]MH_GetDate [09:17:20]Write to MH i2c: F0 00 00 38 60 87 [09:17:20]Write i2c OK [09:17:20]MH_I2C_Read... [09:17:20]Read from MH i2c: F0 [09:17:20]MH_I2C_Read... [09:17:20]Read from MH i2c: F0 09 00 [09:17:20]MH_I2C_Read... [09:17:20]Read from MH i2c: F0 09 00 38 60 00 AE CA 14 67 5A BE F6 66 F7 [09:17:20]shift 10 fd 1729415854 [09:17:20]Create dir for shift 0010 [09:17:20]save to /storage/0010/doc_1729415854 [09:17:20]save last doc name /storage/0010/doc_1729415854 to /storage/kkm_last_doc_name [09:17:20]save OK [09:17:20]Clear old archive folders... [09:17:20]NVStorageSaveData kkm_last_timestamp [09:17:20]File name is /storage/kkm_last_timestamp [09:17:20]Write 4 bytes [09:17:20]NVStorageSaveData done [09:17:20]ExternCall_PrintAddStr [09:17:20]wPrintStart [09:17:20]Write to MH i2c: 01 00 00 39 60 99 [09:17:20]Write i2c OK [09:17:20]MH_I2C_Read... [09:17:20]Read from MH i2c: 01 [09:17:20]MH_I2C_Read... [09:17:20]Read from MH i2c: 01 07 00 [09:17:20]MH_I2C_Read... [09:17:20]Read from MH i2c: 01 07 00 39 60 00 00 00 00 00 FF 0F AE [09:17:20]RasterBufferAndPrint [09:17:20]line Х отчет [09:17:20]line ИНН: 02508201610067 [09:17:20]line Кассир: Орумбаев Р. [09:17:20]line 20.10.2024 09:17 [09:17:20]line Смена: 10 [09:17:20]line РНМ: 0000000000207295 [09:17:20]line ЗНМ: 0300000191 [09:17:20]line СНО: Общий режим [09:17:20]line Всего чеков: 16 [09:17:20]line ИТОГИ ПРИХОД [09:17:20]line Чеков: 16 [09:17:20]line Общий итог: 3357.00 [09:17:20]line Итого наличными: 3112.00 [09:17:20]line Итого безнал.: 245.00 [09:17:20]line НДС 0% : 0.00 [09:17:20]line НДС 12% : 356.47 [09:17:20]line НСП 0% : 0.00 [09:17:20]line НСП 1,50% : 0.00 [09:17:20]line НСП 0,50% : 0.00 [09:17:20]line НСП 5% : 0.00 [09:17:20]line НСП 3% : 0.00 [09:17:20]line НСП 2% : 0.00 [09:17:20]line НСП 1% : 29.68 [09:17:20]line ИТОГИ ВОЗВРАТ ПРИХОДА [09:17:20]line Чеков: 0 [09:17:20]line Общий итог: 0.00 [09:17:20]line Итого наличными: 0.00 [09:17:20]line Итого безнал.: 0.00 [09:17:20]line НДС 0% : 0.00 [09:17:20]line НДС 12% : 0.00 [09:17:20]line НСП 0% : 0.00 [09:17:20]line НСП 1,50% : 0.00 [09:17:20]line НСП 0,50% : 0.00 [09:17:20]line НСП 5% : 0.00 [09:17:20]line НСП 3% : 0.00 [09:17:20]line НСП 2% : 0.00 [09:17:20]line НСП 1% : 0.00 [09:17:20]line ИТОГИ РАСХОД [09:17:20]line Чеков: 0 [09:17:20]line Общий итог: 0.00 [09:17:20]line Итого наличными: 0.00 [09:17:20]line Итого безнал.: 0.00 [09:17:20]line НДС 0% : 0.00 [09:17:20]line НДС 12% : 0.00 [09:17:20]line НСП 0% : 0.00 [09:17:20]line НСП 1,50% : 0.00 [09:17:20]line НСП 0,50% : 0.00 [09:17:20]line НСП 5% : 0.00 [09:17:20]line НСП 3% : 0.00 [09:17:20]line НСП 2% : 0.00 [09:17:20]line НСП 1% : 0.00 [09:17:20]line ИТОГИ ВОЗВРАТ РАСХОДА [09:17:20]line Чеков: 0 [09:17:20]line Общий итог: 0.00 [09:17:20]line Итого наличными: 0.00 [09:17:20]line Итого безнал.: 0.00 [09:17:20]line НДС 0% : 0.00 [09:17:20]line НДС 12% : 0.00 [09:17:20]line НСП 0% : 0.00 [09:17:20]line НСП 1,50% : 0.00 [09:17:20]line НСП 0,50% : 0.00 [09:17:20]line НСП 5% : 0.00 [09:17:20]line НСП 3% : 0.00 [09:17:20]line НСП 2% : 0.00 [09:17:20]line НСП 1% : 0.00 [09:17:20]line Сумма внесений: 0.00 [09:17:20]line Сумма выплат: 0.00 [09:17:20]line Нал. в кассе: 3112.00 [09:17:20]line НС Приход: 852719.58 [09:17:20]line НС Возвр.Прихода: 1286.00 [09:17:20]line НС Расход: 0.00 [09:17:20]line НС Возвр.Расхода: 0.00 [09:17:20]line ФМ: 0000000002342820 [09:17:20]written 0, free lines is 4095 [09:17:21]Write to MH i2c: 01 00 00 84 60 E4 [09:17:21]Write i2c OK [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: 01 [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: 01 07 00 [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: 01 07 00 84 60 00 00 00 00 00 2B 0A 20 [09:17:21]RasterBufferAndPrint [09:17:21]line [09:17:21]line [09:17:21]line [09:17:21]line [09:17:21]line [09:17:21]written 0, free lines is 2627 [09:17:21]MH_Cut [09:17:21]Write to MH i2c: D1 01 00 8B 60 01 BD [09:17:21]Write i2c OK [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: D1 [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: D1 01 00 [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: D1 01 00 8B 60 00 BC [09:17:21]Write to MH i2c: 01 00 00 8C 60 EC [09:17:21]Write i2c OK [09:17:21]MH_I2C_Read... [09:17:22]*** Cut start [09:17:22]*** Partial cut [09:17:22]*** CUTSNS_PIN = 1 [09:17:22]*** CUTSNS_PIN = 0 [09:17:22]*** Brake cut motor [09:17:23]Read from MH i2c: 01 [09:17:23]MH_I2C_Read... [09:17:23]*** Stop cut motor [09:17:23]*** Cut end [09:17:23]Read from MH i2c: 01 07 00 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: 01 07 00 8C 60 00 00 00 00 00 FF 0F 01 [09:17:23]process_action x_report done [09:17:23]requested_data is exist [09:17:23]produce_requested_data [09:17:23]requested_item fd.num is exist - process it [09:17:23]SAM_PROTO_GetFieldsCounters [09:17:23]wFMCommunicate request_size=4 [09:17:23]MH_SAM_APDU [09:17:23]CAPDU: 80 13 00 00 [09:17:23]Write to MH i2c: E2 08 00 8D 60 80 13 00 00 00 00 00 00 69 [09:17:23]Write i2c OK [09:17:23]MH_I2C_Read... [09:17:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:17:23]Read from MH i2c: E2 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 62 00 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 62 00 8D 60 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4B 0A 00 00 0E 04 04 00 18 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 1C [09:17:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4B 0A 00 00 0E 04 04 00 18 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:17:23]wFMCommunicate OK [09:17:23]SAM_PROTO_GetFieldsCounters done [09:17:23]requested_item shift.num is exist - process it [09:17:23]requested_item shift.opened is exist - process it [09:17:23]req_shift_opened [09:17:23]FM_GetShiftState [09:17:23]SAM_PROTO_GetShiftState [09:17:23]wFMCommunicate request_size=4 [09:17:23]MH_SAM_APDU [09:17:23]CAPDU: 80 13 01 00 [09:17:23]Write to MH i2c: E2 08 00 8E 60 80 13 01 00 00 00 00 00 6B [09:17:23]Write i2c OK [09:17:23]MH_I2C_Read... [09:17:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:23]Read from MH i2c: E2 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 0E 00 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 0E 00 8E 60 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 55 [09:17:23]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:17:23]wFMCommunicate OK [09:17:23]SAM_PROTO_GetShiftState done [09:17:23]FM_GetShiftState done [09:17:23]req_shift_opened done [09:17:23]requested_item shift.open_date is exist - process it [09:17:23]req_shift_open_date [09:17:23]req_shift_open_date done [09:17:23]produce_requested_data done [09:17:23]produce_requested_data return {"fd.num":2635,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:17:23]process_action_free x_report [09:17:23]json_value_free [09:17:23]json_value_free done [09:17:23]process_json_proto returns [09:17:23]Send response to host [09:17:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2635,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:17:23]free response buf [09:17:23]execute_script done [09:17:23]execute_script returns [09:17:23]free content buf [09:17:23]Sock 9.Close socket [09:17:23]Sock 9.Thread stoped [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:06]accept exits with 7 [09:20:06]New connection [09:20:06]New thread 3066850660 created [09:20:06]Thread 3066707300 joined [09:20:06]Waiting for new connection... [09:20:06] Sock 7.Parse request [09:20:06]Sock 7.Check first char [09:20:06]Sock 7.First char is OK [09:20:06]request: POST /json_proto HTTP/1.0 [09:20:06]Method: POST [09:20:06]URL: /json_proto [09:20:06]Method is POST - this is cgi request [09:20:06]url: /json_proto [09:20:06]query_string will be loaded in cgi processing [09:20:06]execute_cgi json_proto POST (null) [09:20:06]execute_cgi path=json_proto method=POST [09:20:06]POST find Content-Length [09:20:06]Host: 172.17.52.132:8080 [09:20:06]Content-Length: 720 [09:20:06]Content-Type: application/json [09:20:06] [09:20:06]POST finish read [09:20:06]Found Content-Length = 720 [09:20:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100013", "tax_sys" : 0, "items" : [ { "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:20:06]execute_script... [09:20:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100013", "tax_sys" : 0, "items" : [ { "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:20:06]POST & json_proto [09:20:06]process_json_proto [09:20:06]json parsed OK: [09:20:06]protocol is kg_v1.0 [09:20:06]action value=close_receipt [09:20:06]process_action close_receipt [09:20:06]cmd_close_receipt [09:20:06]MH_GetDate [09:20:06]Write to MH i2c: F0 00 00 8F 60 DE [09:20:06]Write i2c OK [09:20:06]MH_I2C_Read... [09:20:06]Read from MH i2c: F0 [09:20:06]MH_I2C_Read... [09:20:06]Read from MH i2c: F0 09 00 [09:20:06]MH_I2C_Read... [09:20:06]Read from MH i2c: F0 09 00 8F 60 00 54 CB 14 67 5A BE F6 66 F5 [09:20:06]GetLastDocTimeStamp 1729415846 [09:20:06]current date 1729416020 [09:20:06]FM_GetShiftState [09:20:06]SAM_PROTO_GetShiftState [09:20:06]wFMCommunicate request_size=4 [09:20:06]MH_SAM_APDU [09:20:06]CAPDU: 80 13 01 00 [09:20:06]Write to MH i2c: E2 08 00 90 60 80 13 01 00 00 00 00 00 6D [09:20:06]Write i2c OK [09:20:06]MH_I2C_Read... [09:20:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:06]Read from MH i2c: E2 [09:20:06]MH_I2C_Read... [09:20:06]Read from MH i2c: E2 0E 00 [09:20:06]MH_I2C_Read... [09:20:06]Read from MH i2c: E2 0E 00 90 60 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 57 [09:20:06]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:20:06]wFMCommunicate OK [09:20:06]SAM_PROTO_GetShiftState done [09:20:06]FM_GetShiftState done [09:20:06]opened in 1729382427 [09:20:06]opened+sec_in_day 1729468827 [09:20:06]quantity*price = 9500 [09:20:06]sum+1 = 9501 [09:20:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 17 20.10.2024 09:20 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2636 ФПД: 113434474511473 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092020&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2636&fm=113434474511473&tin=02508201610067®Number=0000000000207295&sum=9500 0 [09:20:07]StoreToDocumentArchive [09:20:07]shift 24 fd 2636 [09:20:07]save to /storage/0024/doc_00002636 [09:20:07]save last doc name /storage/0024/doc_00002636 to /storage/kkm_last_doc_name [09:20:07]save OK [09:20:07]Clear old archive folders... [09:20:07]Remove dir /storage/0010 [09:20:07]opendir ok [09:20:07]file . [09:20:07]file .. [09:20:07]file doc_1729415854 [09:20:07]remove file /storage/0010/doc_1729415854 [09:20:07]remove dir /storage/0010 [09:20:07]ProcessDocumentItem done err = 0, tmpTLVsize=307 [09:20:07]tlvbuf is 014EBF70 [09:20:07]SAM_PROTO_ClearQueue [09:20:07]wFMCommunicate request_size=4 [09:20:07]MH_SAM_APDU [09:20:07]CAPDU: 80 09 00 00 [09:20:07]Write to MH i2c: E2 08 00 9D 60 80 09 00 00 00 00 00 00 6F [09:20:07]Write i2c OK [09:20:07]MH_I2C_Read... [09:20:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:20:07]Read from MH i2c: E2 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 03 00 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 03 00 9D 60 00 90 00 71 [09:20:07]RAPDU: 90 00 [09:20:07]wFMCommunicate OK [09:20:07]SAM_PROTO_ClearQueue done [09:20:07]KKMCreateOFDPacket [09:20:07]OFDProtocolAddRootSTLVToBuf [09:20:07]FM_MakeSignedData [09:20:07]FM_MakeSignedData [09:20:07]SAM_PROTO_SignData [09:20:07]wFMCommunicate request_size=4 [09:20:07]MH_SAM_APDU [09:20:07]CAPDU: 80 0D 01 02 [09:20:07]Write to MH i2c: E2 08 00 9E 60 80 0D 01 02 00 00 00 00 77 [09:20:07]Write i2c OK [09:20:07]MH_I2C_Read... [09:20:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:20:07]Read from MH i2c: E2 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 03 00 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 03 00 9E 60 00 90 00 72 [09:20:07]RAPDU: 90 00 [09:20:07]wFMCommunicate OK [09:20:07]wFMCommunicate request_size=255 [09:20:07]MH_SAM_APDU [09:20:07]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 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 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 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 11 00 00 00 F4 03 04 00 54 CB 14 67 0E 04 04 00 18 00 00 00 B9 04 [09:20:07]Write to MH i2c: E2 02 01 9F 60 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 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 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 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 11 00 00 00 F4 03 04 00 54 CB 14 67 0E 04 04 00 18 00 00 00 B9 04 00 00 51 [09:20:07]Write i2c OK [09:20:07]MH_I2C_Read... [09:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:07]Read from MH i2c: E2 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 03 00 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 03 00 9F 60 00 90 00 73 [09:20:07]RAPDU: 90 00 [09:20:07]wFMCommunicate OK [09:20:07]wFMCommunicate request_size=66 [09:20:07]MH_SAM_APDU [09:20:07]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4C 0A 00 00 35 04 06 00 67 2B 05 8E FC 71 [09:20:07]Write to MH i2c: E2 45 00 A0 60 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4C 0A 00 00 35 04 06 00 67 2B 05 8E FC 71 00 00 A9 [09:20:07]Write i2c OK [09:20:07]MH_I2C_Read... [09:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:07]Read from MH i2c: E2 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 03 00 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 03 00 A0 60 00 90 00 74 [09:20:07]RAPDU: 90 00 [09:20:07]wFMCommunicate OK [09:20:07]wFMCommunicate request_size=4 [09:20:07]MH_SAM_APDU [09:20:07]CAPDU: 80 0D 03 02 [09:20:07]Write to MH i2c: E2 08 00 A1 60 80 0D 03 02 00 00 00 00 7C [09:20:07]Write i2c OK [09:20:07]MH_I2C_Read... [09:20:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:20:07]Read from MH i2c: E2 [09:20:07]MH_I2C_Read... [09:20:07]Read from MH i2c: E2 0B 00 [09:20:07]MH_I2C_Read... [09:20:08]Read from MH i2c: E2 0B 00 A1 60 00 58 6A 56 EB 9B 45 B6 E5 90 00 FB [09:20:08]RAPDU: 58 6A 56 EB 9B 45 B6 E5 90 00 [09:20:08]wFMCommunicate OK [09:20:08]SAM_PROTO_SignData done [09:20:08]FM_MakeSignedData done [09:20:08]CreateOFDProtocolMessage [09:20:08]wFMCommunicate request_size=4 [09:20:08]MH_SAM_APDU [09:20:08]CAPDU: 80 11 00 00 [09:20:08]Write to MH i2c: E2 08 00 A2 60 80 11 00 00 00 00 00 00 7C [09:20:08]Write i2c OK [09:20:08]MH_I2C_Read... [09:20:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:08]Read from MH i2c: E2 [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: E2 17 00 [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: E2 17 00 A2 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C4 [09:20:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:20:08]wFMCommunicate OK [09:20:08]CreateOFDProtocolMessage done [09:20:08]OFDSenderStorePacket 2636 [09:20:08]StoreOFDPacket docnum=2636 [09:20:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 47 01 00 00 D7 A4 3F 01 A6 09 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 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 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 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 11 00 00 00 F4 03 04 00 54 CB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4C 0A 00 00 35 04 06 00 67 2B 05 8E FC 71 58 6A 56 EB 9B 45 B6 E5 [09:20:08]CheckFolder [09:20:08]dirname=/storage/ofd_packets [09:20:08]CheckFolder done [09:20:08]ProducePacketName [09:20:08]name=ofd_packets/00002636 [09:20:08]NVStorageSaveData ofd_packets/00002636 [09:20:08]File name is /storage/ofd_packets/00002636 [09:20:08]Write 357 bytes [09:20:08]NVStorageSaveData done [09:20:08]OFDSenderStorePacket done [09:20:08]KKMCreateOFDPacket done [09:20:08]NVStorageSaveData kkm_last_timestamp [09:20:08]File name is /storage/kkm_last_timestamp [09:20:08]Write 4 bytes [09:20:08]NVStorageSaveData done [09:20:08]ExternCall_PrintAddStr [09:20:08]wPrintStart [09:20:08]Write to MH i2c: 01 00 00 A3 60 03 [09:20:08]Write i2c OK [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: 01 [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: 01 07 00 [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: 01 07 00 A3 60 00 00 00 00 00 FF 0F 18 [09:20:08]RasterBufferAndPrint [09:20:08]line Счет N : (3)100013 [09:20:08]line ИНН: 02508201610067 [09:20:08]line Контрольно-Кассовый Чек [09:20:08]line ПРОДАЖА [09:20:08]line Товар: 4700000481989 [09:20:08]line Напиток энерг Nitro киви-мангостин 0,45 [09:20:08]line 1.000 * 95.00 [09:20:08]line = 95.00 [09:20:08]line НДС 12% НСП 1% [09:20:08]line > о реализуемом товаре [09:20:08]line ИТОГО: 95.00 [09:20:08]line НСП 1% : 0.84 [09:20:08]line НДС 12% : 10.09 [09:20:08]line Наличными: 95.00 [09:20:08]line Безнал.: 0.00 [09:20:08]line Место: АЗС № 162 "Партнер Нефть" [09:20:08]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:20:08]line СНО: Общий режим [09:20:08]line Чек 17 20.10.2024 09:20 [09:20:08]line Смена: 24 ФФД: 1.0 [09:20:08]line ЗНМ: 0300000191 [09:20:08]line РНМ: 0000000000207295 [09:20:08]line Версия ККМ: v1.0 [09:20:08]line ФМ: 0000000002342820 [09:20:08]line ФД: 2636 [09:20:08]line ФПД: 113434474511473 [09:20:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092020&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2636&fm=113434474511473&tin=02508201610067®Number=0000000000207295&sum=9500 [09:20:08]line 0 [09:20:08]OFD Sender: Processing packet 2636 [packets to send 1, broken 0] [09:20:08]ProducePacketName [09:20:08]name=ofd_packets/00002636 [09:20:08]OFD Sender: To server: pG, [09:20:08]CommunicateWithHost lk.salyk.kg:30040 [09:20:08]ConnectInit lk.salyk.kg [09:20:08]written 0, free lines is 4095 [09:20:08]Connected sock=10 [09:20:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 47 01 00 00 D7 A4 3F 01 A6 09 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 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 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 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 11 00 00 00 F4 03 04 00 54 CB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4C 0A 00 00 35 04 06 00 67 2B 05 8E FC 71 58 6A 56 EB 9B 45 B6 E5 [09:20:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 74 75 47 00 50 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4C 0A 00 00 F4 03 04 00 B2 76 14 67 B6 04 01 00 00 EF 51 C5 EA D0 C3 F4 1F [09:20:08]CommunicateWithHost err = 0 [09:20:08]CheckOFDResponse [09:20:08]1017 (14) - 77093643461234 [09:20:08]1041 (16) - 0000000002342820 [09:20:08]1040 (4) - 2636 [09:20:08]1012 (4) - 20.10.2024 03:19 [09:20:08]1206 (1) - 0 [09:20:08]OFD Sender: Remove packet 2636 [09:20:08]ProducePacketName [09:20:08]name=ofd_packets/00002636 [09:20:08]NVStorageDeleteData [09:20:08]Write to MH i2c: 01 00 00 CC 60 2C [09:20:08]Write i2c OK [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: 01 [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: 01 07 00 [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: 01 07 00 CC 60 00 00 00 00 00 A2 0C E1 [09:20:08]RasterBufferAndPrint [09:20:08]line [09:20:08]line [09:20:08]line [09:20:08]line [09:20:08]line [09:20:08]written 0, free lines is 3240 [09:20:08]MH_Cut [09:20:08]Write to MH i2c: D1 01 00 D3 60 01 05 [09:20:08]Write i2c OK [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: D1 [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: D1 01 00 [09:20:08]MH_I2C_Read... [09:20:08]Read from MH i2c: D1 01 00 D3 60 00 04 [09:20:08]Write to MH i2c: 01 00 00 D4 60 34 [09:20:08]Write i2c OK [09:20:08]MH_I2C_Read... [09:20:09]OFD Sender: No OFD packet to send [09:20:09]*** Cut start [09:20:09]*** Partial cut [09:20:09]*** CUTSNS_PIN = 1 [09:20:09]*** CUTSNS_PIN = 0 [09:20:10]*** Brake cut motor [09:20:10]Read from MH i2c: 01 [09:20:10]MH_I2C_Read... [09:20:10]*** Stop cut motor [09:20:10]*** Cut end [09:20:10]Read from MH i2c: 01 07 00 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: 01 07 00 D4 60 00 00 00 00 00 FF 0F 49 [09:20:10]process_action close_receipt done [09:20:10]requested_data is exist [09:20:10]produce_requested_data [09:20:10]requested_item fm.sn is exist - process it [09:20:10]wFMCommunicate request_size=4 [09:20:10]MH_SAM_APDU [09:20:10]CAPDU: 80 11 00 00 [09:20:10]Write to MH i2c: E2 08 00 D5 60 80 11 00 00 00 00 00 00 AF [09:20:10]Write i2c OK [09:20:10]MH_I2C_Read... [09:20:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:10]Read from MH i2c: E2 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: E2 17 00 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: E2 17 00 D5 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F7 [09:20:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:20:10]wFMCommunicate OK [09:20:10]requested_item fd.num is exist - process it [09:20:10]SAM_PROTO_GetFieldsCounters [09:20:10]wFMCommunicate request_size=4 [09:20:10]MH_SAM_APDU [09:20:10]CAPDU: 80 13 00 00 [09:20:10]Write to MH i2c: E2 08 00 D6 60 80 13 00 00 00 00 00 00 B2 [09:20:10]Write i2c OK [09:20:10]MH_I2C_Read... [09:20:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:20:10]Read from MH i2c: E2 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: E2 62 00 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: E2 62 00 D6 60 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4C 0A 00 00 0E 04 04 00 18 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 69 [09:20:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4C 0A 00 00 0E 04 04 00 18 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:20:10]wFMCommunicate OK [09:20:10]SAM_PROTO_GetFieldsCounters done [09:20:10]requested_item shift.num is exist - process it [09:20:10]requested_item shift.opened is exist - process it [09:20:10]req_shift_opened [09:20:10]FM_GetShiftState [09:20:10]SAM_PROTO_GetShiftState [09:20:10]wFMCommunicate request_size=4 [09:20:10]MH_SAM_APDU [09:20:10]CAPDU: 80 13 01 00 [09:20:10]Write to MH i2c: E2 08 00 D7 60 80 13 01 00 00 00 00 00 B4 [09:20:10]Write i2c OK [09:20:10]MH_I2C_Read... [09:20:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:10]Read from MH i2c: E2 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: E2 0E 00 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: E2 0E 00 D7 60 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9E [09:20:10]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:20:10]wFMCommunicate OK [09:20:10]SAM_PROTO_GetShiftState done [09:20:10]FM_GetShiftState done [09:20:10]req_shift_opened done [09:20:10]requested_item shift.open_date is exist - process it [09:20:10]req_shift_open_date [09:20:10]req_shift_open_date done [09:20:10]produce_requested_data done [09:20:10]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2636,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:20:10]process_action_free close_receipt [09:20:10]json_value_free [09:20:10]json_value_free done [09:20:10]process_json_proto returns [09:20:10]Send response to host [09:20:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2636,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:20:10]free response buf [09:20:10]execute_script done [09:20:10]execute_script returns [09:20:10]free content buf [09:20:10]Sock 7.Close socket [09:20:10]Sock 7.Thread stoped [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:49]OFD Sender: No OFD packet to send [09:23:54]OFD Sender: No OFD packet to send [09:23:59]OFD Sender: No OFD packet to send [09:24:04]OFD Sender: No OFD packet to send [09:24:09]OFD Sender: No OFD packet to send [09:24:14]OFD Sender: No OFD packet to send [09:24:19]OFD Sender: No OFD packet to send [09:24:24]OFD Sender: No OFD packet to send [09:24:29]OFD Sender: No OFD packet to send [09:24:34]OFD Sender: No OFD packet to send [09:24:39]OFD Sender: No OFD packet to send [09:24:44]OFD Sender: No OFD packet to send [09:24:49]OFD Sender: No OFD packet to send [09:24:54]OFD Sender: No OFD packet to send [09:24:59]OFD Sender: No OFD packet to send [09:25:04]OFD Sender: No OFD packet to send [09:25:09]OFD Sender: No OFD packet to send [09:25:14]OFD Sender: No OFD packet to send [09:25:19]OFD Sender: No OFD packet to send [09:25:24]OFD Sender: No OFD packet to send [09:25:29]OFD Sender: No OFD packet to send [09:25:34]OFD Sender: No OFD packet to send [09:25:39]OFD Sender: No OFD packet to send [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:54]OFD Sender: No OFD packet to send [09:25:59]OFD Sender: No OFD packet to send [09:26:04]OFD Sender: No OFD packet to send [09:26:09]OFD Sender: No OFD packet to send [09:26:14]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:29]OFD Sender: No OFD packet to send [09:29:34]OFD Sender: No OFD packet to send [09:29:39]OFD Sender: No OFD packet to send [09:29:44]OFD Sender: No OFD packet to send [09:29:49]OFD Sender: No OFD packet to send [09:29:54]OFD Sender: No OFD packet to send [09:29:59]OFD Sender: No OFD packet to send [09:30:04]OFD Sender: No OFD packet to send [09:30:09]OFD Sender: No OFD packet to send [09:30:14]OFD Sender: No OFD packet to send [09:30:19]OFD Sender: No OFD packet to send [09:30:24]OFD Sender: No OFD packet to send [09:30:29]OFD Sender: No OFD packet to send [09:30:34]OFD Sender: No OFD packet to send [09:30:39]OFD Sender: No OFD packet to send [09:30:44]OFD Sender: No OFD packet to send [09:30:49]OFD Sender: No OFD packet to send [09:30:54]OFD Sender: No OFD packet to send [09:30:59]OFD Sender: No OFD packet to send [09:31:04]OFD Sender: No OFD packet to send [09:31:09]OFD Sender: No OFD packet to send [09:31:14]OFD Sender: No OFD packet to send [09:31:19]OFD Sender: No OFD packet to send [09:31:24]OFD Sender: No OFD packet to send [09:31:29]OFD Sender: No OFD packet to send [09:31:34]OFD Sender: No OFD packet to send [09:31:39]OFD Sender: No OFD packet to send [09:31:44]OFD Sender: No OFD packet to send [09:31:49]OFD Sender: No OFD packet to send [09:31:54]OFD Sender: No OFD packet to send [09:31:59]OFD Sender: No OFD packet to send [09:32:04]OFD Sender: No OFD packet to send [09:32:09]OFD Sender: No OFD packet to send [09:32:14]OFD Sender: No OFD packet to send [09:32:19]OFD Sender: No OFD packet to send [09:32:24]OFD Sender: No OFD packet to send [09:32:29]OFD Sender: No OFD packet to send [09:32:34]OFD Sender: No OFD packet to send [09:32:39]OFD Sender: No OFD packet to send [09:32:44]OFD Sender: No OFD packet to send [09:32:49]OFD Sender: No OFD packet to send [09:32:54]OFD Sender: No OFD packet to send [09:32:59]OFD Sender: No OFD packet to send [09:33:04]OFD Sender: No OFD packet to send [09:33:09]OFD Sender: No OFD packet to send [09:33:14]OFD Sender: No OFD packet to send [09:33:19]OFD Sender: No OFD packet to send [09:33:24]OFD Sender: No OFD packet to send [09:33:29]OFD Sender: No OFD packet to send [09:33:34]OFD Sender: No OFD packet to send [09:33:39]OFD Sender: No OFD packet to send [09:33:44]OFD Sender: No OFD packet to send [09:33:49]OFD Sender: No OFD packet to send [09:33:54]OFD Sender: No OFD packet to send [09:33:59]OFD Sender: No OFD packet to send [09:34:04]OFD Sender: No OFD packet to send [09:34:09]OFD Sender: No OFD packet to send [09:34:14]OFD Sender: No OFD packet to send [09:34:19]OFD Sender: No OFD packet to send [09:34:24]OFD Sender: No OFD packet to send [09:34:29]OFD Sender: No OFD packet to send [09:34:34]OFD Sender: No OFD packet to send [09:34:39]OFD Sender: No OFD packet to send [09:34:44]OFD Sender: No OFD packet to send [09:34:49]OFD Sender: No OFD packet to send [09:34:54]OFD Sender: No OFD packet to send [09:34:59]OFD Sender: No OFD packet to send [09:35:04]OFD Sender: No OFD packet to send [09:35:09]OFD Sender: No OFD packet to send [09:35:14]OFD Sender: No OFD packet to send [09:35:19]OFD Sender: No OFD packet to send [09:35:24]OFD Sender: No OFD packet to send [09:35:29]OFD Sender: No OFD packet to send [09:35:34]OFD Sender: No OFD packet to send [09:35:39]OFD Sender: No OFD packet to send [09:35:44]OFD Sender: No OFD packet to send [09:35:49]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:29]OFD Sender: No OFD packet to send [09:36:34]OFD Sender: No OFD packet to send [09:36:39]OFD Sender: No OFD packet to send [09:36:44]OFD Sender: No OFD packet to send [09:36:49]OFD Sender: No OFD packet to send [09:36:54]OFD Sender: No OFD packet to send [09:36:59]OFD Sender: No OFD packet to send [09:37:04]OFD Sender: No OFD packet to send [09:37:09]OFD Sender: No OFD packet to send [09:37:15]OFD Sender: No OFD packet to send [09:37:20]OFD Sender: No OFD packet to send [09:37:25]OFD Sender: No OFD packet to send [09:37:30]OFD Sender: No OFD packet to send [09:37:35]OFD Sender: No OFD packet to send [09:37:40]OFD Sender: No OFD packet to send [09:37:45]OFD Sender: No OFD packet to send [09:37:50]OFD Sender: No OFD packet to send [09:37:55]OFD Sender: No OFD packet to send [09:38:00]OFD Sender: No OFD packet to send [09:38:05]OFD Sender: No OFD packet to send [09:38:10]OFD Sender: No OFD packet to send [09:38:15]OFD Sender: No OFD packet to send [09:38:20]OFD Sender: No OFD packet to send [09:38:25]OFD Sender: No OFD packet to send [09:38:30]OFD Sender: No OFD packet to send [09:38:35]OFD Sender: No OFD packet to send [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:35]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:10]OFD Sender: No OFD packet to send [09:45:15]OFD Sender: No OFD packet to send [09:45:20]OFD Sender: No OFD packet to send [09:45:25]OFD Sender: No OFD packet to send [09:45:30]OFD Sender: No OFD packet to send [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:20]OFD Sender: No OFD packet to send [09:46:25]OFD Sender: No OFD packet to send [09:46:30]OFD Sender: No OFD packet to send [09:46:35]OFD Sender: No OFD packet to send [09:46:40]OFD Sender: No OFD packet to send [09:46:45]OFD Sender: No OFD packet to send [09:46:50]OFD Sender: No OFD packet to send [09:46:55]OFD Sender: No OFD packet to send [09:47:00]OFD Sender: No OFD packet to send [09:47:05]OFD Sender: No OFD packet to send [09:47:10]OFD Sender: No OFD packet to send [09:47:15]OFD Sender: No OFD packet to send [09:47:20]OFD Sender: No OFD packet to send [09:47:25]OFD Sender: No OFD packet to send [09:47:30]OFD Sender: No OFD packet to send [09:47:35]OFD Sender: No OFD packet to send [09:47:40]OFD Sender: No OFD packet to send [09:47:45]OFD Sender: No OFD packet to send [09:47:50]OFD Sender: No OFD packet to send [09:47:55]OFD Sender: No OFD packet to send [09:48:00]OFD Sender: No OFD packet to send [09:48:05]OFD Sender: No OFD packet to send [09:48:10]OFD Sender: No OFD packet to send [09:48:15]OFD Sender: No OFD packet to send [09:48:20]OFD Sender: No OFD packet to send [09:48:25]OFD Sender: No OFD packet to send [09:48:30]OFD Sender: No OFD packet to send [09:48:35]OFD Sender: No OFD packet to send [09:48:40]OFD Sender: No OFD packet to send [09:48:45]OFD Sender: No OFD packet to send [09:48:50]OFD Sender: No OFD packet to send [09:48:55]OFD Sender: No OFD packet to send [09:49:00]OFD Sender: No OFD packet to send [09:49:05]OFD Sender: No OFD packet to send [09:49:10]OFD Sender: No OFD packet to send [09:49:15]OFD Sender: No OFD packet to send [09:49:20]OFD Sender: No OFD packet to send [09:49:25]OFD Sender: No OFD packet to send [09:49:30]OFD Sender: No OFD packet to send [09:49:35]OFD Sender: No OFD packet to send [09:49:40]OFD Sender: No OFD packet to send [09:49:45]OFD Sender: No OFD packet to send [09:49:50]OFD Sender: No OFD packet to send [09:49:55]OFD Sender: No OFD packet to send [09:50:00]OFD Sender: No OFD packet to send [09:50:05]OFD Sender: No OFD packet to send [09:50:10]OFD Sender: No OFD packet to send [09:50:15]OFD Sender: No OFD packet to send [09:50:20]OFD Sender: No OFD packet to send [09:50:25]OFD Sender: No OFD packet to send [09:50:30]OFD Sender: No OFD packet to send [09:50:31]accept exits with 9 [09:50:31]New connection [09:50:31]New thread 3066707300 created [09:50:31]Thread 3066850660 joined [09:50:31]Waiting for new connection... [09:50:31] Sock 9.Parse request [09:50:31]Sock 9.Check first char [09:50:31]Sock 9.First char is OK [09:50:31]request: POST /json_proto HTTP/1.0 [09:50:31]Method: POST [09:50:31]URL: /json_proto [09:50:31]Method is POST - this is cgi request [09:50:31]url: /json_proto [09:50:31]query_string will be loaded in cgi processing [09:50:31]execute_cgi json_proto POST (null) [09:50:31]execute_cgi path=json_proto method=POST [09:50:31]POST find Content-Length [09:50:31]Host: 172.17.52.132:8080 [09:50:31]Content-Length: 747 [09:50:31]Content-Type: application/json [09:50:31] [09:50:31]POST finish read [09:50:31]Found Content-Length = 747 [09:50:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100014", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.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: Mbank", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:31]execute_script... [09:50:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100014", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.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: Mbank", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:31]POST & json_proto [09:50:31]process_json_proto [09:50:31]json parsed OK: [09:50:31]protocol is kg_v1.0 [09:50:31]action value=close_receipt [09:50:31]process_action close_receipt [09:50:31]cmd_close_receipt [09:50:31]MH_GetDate [09:50:31]Write to MH i2c: F0 00 00 D8 60 27 [09:50:31]Write i2c OK [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: F0 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: F0 09 00 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: F0 09 00 D8 60 00 75 D2 14 67 5A BE F6 66 66 [09:50:31]GetLastDocTimeStamp 1729416020 [09:50:31]current date 1729417845 [09:50:31]FM_GetShiftState [09:50:31]SAM_PROTO_GetShiftState [09:50:31]wFMCommunicate request_size=4 [09:50:31]MH_SAM_APDU [09:50:31]CAPDU: 80 13 01 00 [09:50:31]Write to MH i2c: E2 08 00 D9 60 80 13 01 00 00 00 00 00 B6 [09:50:31]Write i2c OK [09:50:31]MH_I2C_Read... [09:50:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:31]Read from MH i2c: E2 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: E2 0E 00 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: E2 0E 00 D9 60 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A0 [09:50:31]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:50:31]wFMCommunicate OK [09:50:31]SAM_PROTO_GetShiftState done [09:50:31]FM_GetShiftState done [09:50:31]opened in 1729382427 [09:50:31]opened+sec_in_day 1729468827 [09:50:31]quantity*price = 13900 [09:50:31]sum+1 = 13901 [09:50:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 0.00 Безнал.: 139.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 18 20.10.2024 09:50 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2637 ФПД: 253482636750921 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T095045&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2637&fm=253482636750921&tin=02508201610067®Number=0000000000207295&sum=13900 0 [09:50:32]StoreToDocumentArchive [09:50:32]shift 24 fd 2637 [09:50:32]save to /storage/0024/doc_00002637 [09:50:32]save last doc name /storage/0024/doc_00002637 to /storage/kkm_last_doc_name [09:50:32]save OK [09:50:32]Clear old archive folders... [09:50:32]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:50:32]tlvbuf is 015099B0 [09:50:32]SAM_PROTO_ClearQueue [09:50:32]wFMCommunicate request_size=4 [09:50:32]MH_SAM_APDU [09:50:32]CAPDU: 80 09 00 00 [09:50:32]Write to MH i2c: E2 08 00 E6 60 80 09 00 00 00 00 00 00 B8 [09:50:32]Write i2c OK [09:50:32]MH_I2C_Read... [09:50:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:50:32]Read from MH i2c: E2 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 03 00 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 03 00 E6 60 00 90 00 BA [09:50:32]RAPDU: 90 00 [09:50:32]wFMCommunicate OK [09:50:32]SAM_PROTO_ClearQueue done [09:50:32]KKMCreateOFDPacket [09:50:32]OFDProtocolAddRootSTLVToBuf [09:50:32]FM_MakeSignedData [09:50:32]FM_MakeSignedData [09:50:32]SAM_PROTO_SignData [09:50:32]wFMCommunicate request_size=4 [09:50:32]MH_SAM_APDU [09:50:32]CAPDU: 80 0D 01 02 [09:50:32]Write to MH i2c: E2 08 00 E7 60 80 0D 01 02 00 00 00 00 C0 [09:50:32]Write i2c OK [09:50:32]MH_I2C_Read... [09:50:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:50:32]Read from MH i2c: E2 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 03 00 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 03 00 E7 60 00 90 00 BB [09:50:32]RAPDU: 90 00 [09:50:32]wFMCommunicate OK [09:50:32]wFMCommunicate request_size=255 [09:50:32]MH_SAM_APDU [09:50:32]CAPDU: 80 0D 02 02 FA 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 75 D2 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 [09:50:32]Write to MH i2c: E2 02 01 E8 60 80 0D 02 02 FA 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 75 D2 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 DD [09:50:32]Write i2c OK [09:50:32]MH_I2C_Read... [09:50:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:50:32]Read from MH i2c: E2 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 03 00 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 03 00 E8 60 00 90 00 BC [09:50:32]RAPDU: 90 00 [09:50:32]wFMCommunicate OK [09:50:32]wFMCommunicate request_size=31 [09:50:32]MH_SAM_APDU [09:50:32]CAPDU: 80 0D 02 02 1A 30 32 33 34 32 38 32 30 10 04 04 00 4D 0A 00 00 35 04 06 00 E6 8A 86 85 30 49 [09:50:32]Write to MH i2c: E2 22 00 E9 60 80 0D 02 02 1A 00 30 32 33 34 32 38 32 30 10 04 04 00 4D 0A 00 00 35 04 06 00 E6 8A 86 85 30 49 00 00 2E [09:50:32]Write i2c OK [09:50:32]MH_I2C_Read... [09:50:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:50:32]Read from MH i2c: E2 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 03 00 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 03 00 E9 60 00 90 00 BD [09:50:32]RAPDU: 90 00 [09:50:32]wFMCommunicate OK [09:50:32]wFMCommunicate request_size=4 [09:50:32]MH_SAM_APDU [09:50:32]CAPDU: 80 0D 03 02 [09:50:32]Write to MH i2c: E2 08 00 EA 60 80 0D 03 02 00 00 00 00 C5 [09:50:32]Write i2c OK [09:50:32]MH_I2C_Read... [09:50:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:50:32]Read from MH i2c: E2 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 0B 00 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 0B 00 EA 60 00 B5 11 A2 AF 17 30 4A 77 90 00 E5 [09:50:32]RAPDU: B5 11 A2 AF 17 30 4A 77 90 00 [09:50:32]wFMCommunicate OK [09:50:32]SAM_PROTO_SignData done [09:50:32]FM_MakeSignedData done [09:50:32]CreateOFDProtocolMessage [09:50:32]wFMCommunicate request_size=4 [09:50:32]MH_SAM_APDU [09:50:32]CAPDU: 80 11 00 00 [09:50:32]Write to MH i2c: E2 08 00 EB 60 80 11 00 00 00 00 00 00 C5 [09:50:32]Write i2c OK [09:50:32]MH_I2C_Read... [09:50:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:32]Read from MH i2c: E2 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 17 00 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: E2 17 00 EB 60 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0D [09:50:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:50:32]wFMCommunicate OK [09:50:32]CreateOFDProtocolMessage done [09:50:32]OFDSenderStorePacket 2637 [09:50:32]StoreOFDPacket docnum=2637 [09:50:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 15 6A 1C 01 F9 9B 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 75 D2 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4D 0A 00 00 35 04 06 00 E6 8A 86 85 30 49 B5 11 A2 AF 17 30 4A 77 [09:50:32]CheckFolder [09:50:32]dirname=/storage/ofd_packets [09:50:32]CheckFolder done [09:50:32]ProducePacketName [09:50:32]name=ofd_packets/00002637 [09:50:32]NVStorageSaveData ofd_packets/00002637 [09:50:32]File name is /storage/ofd_packets/00002637 [09:50:32]Write 322 bytes [09:50:32]NVStorageSaveData done [09:50:32]OFDSenderStorePacket done [09:50:32]KKMCreateOFDPacket done [09:50:32]NVStorageSaveData kkm_last_timestamp [09:50:32]File name is /storage/kkm_last_timestamp [09:50:32]Write 4 bytes [09:50:32]NVStorageSaveData done [09:50:32]ExternCall_PrintAddStr [09:50:32]wPrintStart [09:50:32]Write to MH i2c: 01 00 00 EC 60 4C [09:50:32]Write i2c OK [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: 01 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: 01 07 00 [09:50:32]MH_I2C_Read... [09:50:32]Read from MH i2c: 01 07 00 EC 60 00 00 00 00 00 FF 0F 61 [09:50:32]RasterBufferAndPrint [09:50:32]line Счет N : (3)100014 [09:50:32]line ИНН: 02508201610067 [09:50:32]line Контрольно-Кассовый Чек [09:50:32]line ПРОДАЖА [09:50:32]line Товар: 48745000 [09:50:32]line Сигареты Winston Purple Mix [09:50:32]line 1.000 * 139.00 [09:50:32]line = 139.00 [09:50:32]line НДС 12% НСП 1% [09:50:32]line > о реализуемом товаре [09:50:32]line ИТОГО: 139.00 [09:50:32]line НСП 1% : 1.23 [09:50:32]line НДС 12% : 14.76 [09:50:32]line Наличными: 0.00 [09:50:32]line Безнал.: 139.00 [09:50:32]line Место: АЗС № 162 "Партнер Нефть" [09:50:32]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:50:32]line СНО: Общий режим [09:50:32]line Чек 18 20.10.2024 09:50 [09:50:32]line Смена: 24 ФФД: 1.0 [09:50:32]line ЗНМ: 0300000191 [09:50:32]line РНМ: 0000000000207295 [09:50:32]line Версия ККМ: v1.0 [09:50:32]line Платежная система: Mbank [09:50:32]line ФМ: 0000000002342820 [09:50:32]line ФД: 2637 [09:50:32]line ФПД: 253482636750921 [09:50:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T095045&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2637&fm=253482636750921&tin=02508201610067®Number=0000000000207295&sum=13900 [09:50:33]line 0 [09:50:33]OFD Sender: Processing packet 2637 [packets to send 1, broken 0] [09:50:33]ProducePacketName [09:50:33]name=ofd_packets/00002637 [09:50:33]OFD Sender: To server: pG, [09:50:33]CommunicateWithHost lk.salyk.kg:30040 [09:50:33]ConnectInit lk.salyk.kg [09:50:33]written 0, free lines is 4095 [09:50:33]Connected sock=10 [09:50:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 15 6A 1C 01 F9 9B 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 75 D2 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4D 0A 00 00 35 04 06 00 E6 8A 86 85 30 49 B5 11 A2 AF 17 30 4A 77 [09:50:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 F5 46 47 00 82 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4D 0A 00 00 F4 03 04 00 D3 7D 14 67 B6 04 01 00 00 16 C9 2F 1A 4F 44 10 5B [09:50:33]CommunicateWithHost err = 0 [09:50:33]CheckOFDResponse [09:50:33]1017 (14) - 77093643461234 [09:50:33]1041 (16) - 0000000002342820 [09:50:33]1040 (4) - 2637 [09:50:33]1012 (4) - 20.10.2024 03:49 [09:50:33]1206 (1) - 0 [09:50:33]OFD Sender: Remove packet 2637 [09:50:33]ProducePacketName [09:50:33]name=ofd_packets/00002637 [09:50:33]NVStorageDeleteData [09:50:33]Write to MH i2c: 01 00 00 15 61 76 [09:50:33]Write i2c OK [09:50:33]MH_I2C_Read... [09:50:33]Read from MH i2c: 01 [09:50:33]MH_I2C_Read... [09:50:33]Read from MH i2c: 01 07 00 [09:50:33]MH_I2C_Read... [09:50:33]Read from MH i2c: 01 07 00 15 61 00 00 00 00 00 B2 0C 3B [09:50:33]RasterBufferAndPrint [09:50:33]line [09:50:33]line [09:50:33]line [09:50:33]line [09:50:33]line [09:50:33]written 0, free lines is 3256 [09:50:33]MH_Cut [09:50:33]Write to MH i2c: D1 01 00 1C 61 01 4F [09:50:33]Write i2c OK [09:50:33]MH_I2C_Read... [09:50:33]Read from MH i2c: D1 [09:50:33]MH_I2C_Read... [09:50:33]Read from MH i2c: D1 01 00 [09:50:33]MH_I2C_Read... [09:50:33]Read from MH i2c: D1 01 00 1C 61 00 4E [09:50:33]Write to MH i2c: 01 00 00 1D 61 7E [09:50:33]Write i2c OK [09:50:33]MH_I2C_Read... [09:50:34]OFD Sender: No OFD packet to send [09:50:34]*** Cut start [09:50:34]*** Partial cut [09:50:34]*** CUTSNS_PIN = 1 [09:50:34]*** CUTSNS_PIN = 0 [09:50:34]*** Brake cut motor [09:50:35]Read from MH i2c: 01 [09:50:35]MH_I2C_Read... [09:50:35]*** Stop cut motor [09:50:35]*** Cut end [09:50:35]Read from MH i2c: 01 07 00 [09:50:35]MH_I2C_Read... [09:50:35]Read from MH i2c: 01 07 00 1D 61 00 00 00 00 00 FF 0F 93 [09:50:35]process_action close_receipt done [09:50:35]requested_data is exist [09:50:35]produce_requested_data [09:50:35]requested_item fm.sn is exist - process it [09:50:35]wFMCommunicate request_size=4 [09:50:35]MH_SAM_APDU [09:50:35]CAPDU: 80 11 00 00 [09:50:35]Write to MH i2c: E2 08 00 1E 61 80 11 00 00 00 00 00 00 F9 [09:50:35]Write i2c OK [09:50:35]MH_I2C_Read... [09:50:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:35]Read from MH i2c: E2 [09:50:35]MH_I2C_Read... [09:50:35]Read from MH i2c: E2 17 00 [09:50:35]MH_I2C_Read... [09:50:35]Read from MH i2c: E2 17 00 1E 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 41 [09:50:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:50:35]wFMCommunicate OK [09:50:35]requested_item fd.num is exist - process it [09:50:35]SAM_PROTO_GetFieldsCounters [09:50:35]wFMCommunicate request_size=4 [09:50:35]MH_SAM_APDU [09:50:35]CAPDU: 80 13 00 00 [09:50:35]Write to MH i2c: E2 08 00 1F 61 80 13 00 00 00 00 00 00 FC [09:50:35]Write i2c OK [09:50:35]MH_I2C_Read... [09:50:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:50:35]Read from MH i2c: E2 [09:50:35]MH_I2C_Read... [09:50:35]Read from MH i2c: E2 62 00 [09:50:35]MH_I2C_Read... [09:50:35]Read from MH i2c: E2 62 00 1F 61 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4D 0A 00 00 0E 04 04 00 18 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 B7 [09:50:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4D 0A 00 00 0E 04 04 00 18 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:50:35]wFMCommunicate OK [09:50:35]SAM_PROTO_GetFieldsCounters done [09:50:35]requested_item shift.num is exist - process it [09:50:35]requested_item shift.opened is exist - process it [09:50:35]req_shift_opened [09:50:35]FM_GetShiftState [09:50:35]SAM_PROTO_GetShiftState [09:50:35]wFMCommunicate request_size=4 [09:50:35]MH_SAM_APDU [09:50:35]CAPDU: 80 13 01 00 [09:50:35]Write to MH i2c: E2 08 00 20 61 80 13 01 00 00 00 00 00 FE [09:50:35]Write i2c OK [09:50:35]MH_I2C_Read... [09:50:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:35]Read from MH i2c: E2 [09:50:35]MH_I2C_Read... [09:50:35]Read from MH i2c: E2 0E 00 [09:50:35]MH_I2C_Read... [09:50:35]Read from MH i2c: E2 0E 00 20 61 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E8 [09:50:35]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [09:50:35]wFMCommunicate OK [09:50:35]SAM_PROTO_GetShiftState done [09:50:35]FM_GetShiftState done [09:50:35]req_shift_opened done [09:50:35]requested_item shift.open_date is exist - process it [09:50:35]req_shift_open_date [09:50:35]req_shift_open_date done [09:50:35]produce_requested_data done [09:50:35]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2637,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [09:50:35]process_action_free close_receipt [09:50:35]json_value_free [09:50:35]json_value_free done [09:50:35]process_json_proto returns [09:50:35]Send response to host [09:50:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2637,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [09:50:35]free response buf [09:50:35]execute_script done [09:50:35]execute_script returns [09:50:35]free content buf [09:50:35]Sock 9.Close socket [09:50:35]Sock 9.Thread stoped [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:19]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:59]OFD Sender: No OFD packet to send [10:01:04]OFD Sender: No OFD packet to send [10:01:09]OFD Sender: No OFD packet to send [10:01:14]OFD Sender: No OFD packet to send [10:01:19]OFD Sender: No OFD packet to send [10:01:24]OFD Sender: No OFD packet to send [10:01:29]OFD Sender: No OFD packet to send [10:01:34]OFD Sender: No OFD packet to send [10:01:39]OFD Sender: No OFD packet to send [10:01:44]OFD Sender: No OFD packet to send [10:01:49]OFD Sender: No OFD packet to send [10:01:54]OFD Sender: No OFD packet to send [10:01:59]OFD Sender: No OFD packet to send [10:02:04]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:14]OFD Sender: No OFD packet to send [10:03:19]OFD Sender: No OFD packet to send [10:03:24]OFD Sender: No OFD packet to send [10:03:29]OFD Sender: No OFD packet to send [10:03:34]OFD Sender: No OFD packet to send [10:03:39]OFD Sender: No OFD packet to send [10:03:44]OFD Sender: No OFD packet to send [10:03:49]OFD Sender: No OFD packet to send [10:03:54]OFD Sender: No OFD packet to send [10:03:59]OFD Sender: No OFD packet to send [10:04:04]OFD Sender: No OFD packet to send [10:04:09]OFD Sender: No OFD packet to send [10:04:14]OFD Sender: No OFD packet to send [10:04:19]OFD Sender: No OFD packet to send [10:04:24]OFD Sender: No OFD packet to send [10:04:29]OFD Sender: No OFD packet to send [10:04:34]OFD Sender: No OFD packet to send [10:04:39]OFD Sender: No OFD packet to send [10:04:44]OFD Sender: No OFD packet to send [10:04:49]OFD Sender: No OFD packet to send [10:04:54]OFD Sender: No OFD packet to send [10:04:59]OFD Sender: No OFD packet to send [10:05:04]OFD Sender: No OFD packet to send [10:05:09]OFD Sender: No OFD packet to send [10:05:14]OFD Sender: No OFD packet to send [10:05:19]OFD Sender: No OFD packet to send [10:05:24]OFD Sender: No OFD packet to send [10:05:29]OFD Sender: No OFD packet to send [10:05:34]OFD Sender: No OFD packet to send [10:05:39]OFD Sender: No OFD packet to send [10:05:44]OFD Sender: No OFD packet to send [10:05:49]OFD Sender: No OFD packet to send [10:05:54]OFD Sender: No OFD packet to send [10:05:59]OFD Sender: No OFD packet to send [10:06:04]OFD Sender: No OFD packet to send [10:06:09]OFD Sender: No OFD packet to send [10:06:14]OFD Sender: No OFD packet to send [10:06:19]OFD Sender: No OFD packet to send [10:06:24]OFD Sender: No OFD packet to send [10:06:29]OFD Sender: No OFD packet to send [10:06:34]OFD Sender: No OFD packet to send [10:06:39]OFD Sender: No OFD packet to send [10:06:44]OFD Sender: No OFD packet to send [10:06:49]OFD Sender: No OFD packet to send [10:06:54]OFD Sender: No OFD packet to send [10:06:59]OFD Sender: No OFD packet to send [10:07:04]OFD Sender: No OFD packet to send [10:07:09]OFD Sender: No OFD packet to send [10:07:14]OFD Sender: No OFD packet to send [10:07:19]OFD Sender: No OFD packet to send [10:07:24]OFD Sender: No OFD packet to send [10:07:29]OFD Sender: No OFD packet to send [10:07:34]OFD Sender: No OFD packet to send [10:07:39]OFD Sender: No OFD packet to send [10:07:44]OFD Sender: No OFD packet to send [10:07:49]OFD Sender: No OFD packet to send [10:07:54]OFD Sender: No OFD packet to send [10:07:59]OFD Sender: No OFD packet to send [10:08:04]OFD Sender: No OFD packet to send [10:08:09]OFD Sender: No OFD packet to send [10:08:14]OFD Sender: No OFD packet to send [10:08:19]OFD Sender: No OFD packet to send [10:08:24]OFD Sender: No OFD packet to send [10:08:29]OFD Sender: No OFD packet to send [10:08:34]OFD Sender: No OFD packet to send [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:10]accept exits with 7 [10:09:10]New connection [10:09:10]New thread 3066850660 created [10:09:10]Thread 3066707300 joined [10:09:10]Waiting for new connection... [10:09:10] Sock 7.Parse request [10:09:10]Sock 7.Check first char [10:09:10]Sock 7.First char is OK [10:09:10]request: POST /json_proto HTTP/1.0 [10:09:10]Method: POST [10:09:10]URL: /json_proto [10:09:10]Method is POST - this is cgi request [10:09:10]url: /json_proto [10:09:10]query_string will be loaded in cgi processing [10:09:10]execute_cgi json_proto POST (null) [10:09:10]execute_cgi path=json_proto method=POST [10:09:10]POST find Content-Length [10:09:10]Host: 172.17.52.132:8080 [10:09:10]Content-Length: 1124 [10:09:10]Content-Type: application/json [10:09:10] [10:09:10]POST finish read [10:09:10]Found Content-Length = 1124 [10:09:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100017", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 363.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:09:10]execute_script... [10:09: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)100017", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 363.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:09:10]POST & json_proto [10:09:10]process_json_proto [10:09:10]json parsed OK: [10:09:10]protocol is kg_v1.0 [10:09:10]action value=close_receipt [10:09:10]process_action close_receipt [10:09:10]cmd_close_receipt [10:09:10]MH_GetDate [10:09:10]Write to MH i2c: F0 00 00 21 61 71 [10:09:10]Write i2c OK [10:09:10]MH_I2C_Read... [10:09:10]Read from MH i2c: F0 [10:09:10]MH_I2C_Read... [10:09:10]Read from MH i2c: F0 09 00 [10:09:10]MH_I2C_Read... [10:09:10]Read from MH i2c: F0 09 00 21 61 00 D5 D6 14 67 5A BE F6 66 14 [10:09:10]GetLastDocTimeStamp 1729417845 [10:09:10]current date 1729418965 [10:09:10]FM_GetShiftState [10:09:10]SAM_PROTO_GetShiftState [10:09:10]wFMCommunicate request_size=4 [10:09:10]MH_SAM_APDU [10:09:10]CAPDU: 80 13 01 00 [10:09:10]Write to MH i2c: E2 08 00 22 61 80 13 01 00 00 00 00 00 00 [10:09:10]Write i2c OK [10:09:10]MH_I2C_Read... [10:09:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:09:10]Read from MH i2c: E2 [10:09:10]MH_I2C_Read... [10:09:10]Read from MH i2c: E2 0E 00 [10:09:10]MH_I2C_Read... [10:09:10]Read from MH i2c: E2 0E 00 22 61 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 EA [10:09:10]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [10:09:10]wFMCommunicate OK [10:09:10]SAM_PROTO_GetShiftState done [10:09:10]FM_GetShiftState done [10:09:10]opened in 1729382427 [10:09:10]opened+sec_in_day 1729468827 [10:09:10]quantity*price = 7000 [10:09:10]sum+1 = 7001 [10:09:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46230607 Сигареты Richmond Bronze Edition 1.000 * 154.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48741231 Сигареты Winston Super Slims Silver 1.000 * 139.00 = 139.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 363.00 НСП 1% : 3.21 НДС 12% : 38.54 Наличными: 363.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 19 20.10.2024 10:09 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2638 ФПД: 104567766042128 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T100925&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2638&fm=104567766042128&tin=02508201610067®Number=0000000000207295&sum=36300 0 [10:09:11]StoreToDocumentArchive [10:09:11]shift 24 fd 2638 [10:09:11]save to /storage/0024/doc_00002638 [10:09:11]save last doc name /storage/0024/doc_00002638 to /storage/kkm_last_doc_name [10:09:11]save OK [10:09:11]Clear old archive folders... [10:09:11]ProcessDocumentItem done err = 0, tmpTLVsize=490 [10:09:11]tlvbuf is B6F3F590 [10:09:11]SAM_PROTO_ClearQueue [10:09:11]wFMCommunicate request_size=4 [10:09:11]MH_SAM_APDU [10:09:11]CAPDU: 80 09 00 00 [10:09:11]Write to MH i2c: E2 08 00 2F 61 80 09 00 00 00 00 00 00 02 [10:09:11]Write i2c OK [10:09:11]MH_I2C_Read... [10:09:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:09:11]Read from MH i2c: E2 [10:09:11]MH_I2C_Read... [10:09:11]Read from MH i2c: E2 03 00 [10:09:11]MH_I2C_Read... [10:09:11]Read from MH i2c: E2 03 00 2F 61 00 90 00 04 [10:09:11]RAPDU: 90 00 [10:09:11]wFMCommunicate OK [10:09:11]SAM_PROTO_ClearQueue done [10:09:11]KKMCreateOFDPacket [10:09:11]OFDProtocolAddRootSTLVToBuf [10:09:11]FM_MakeSignedData [10:09:11]FM_MakeSignedData [10:09:11]SAM_PROTO_SignData [10:09:11]wFMCommunicate request_size=4 [10:09:11]MH_SAM_APDU [10:09:11]CAPDU: 80 0D 01 02 [10:09:11]Write to MH i2c: E2 08 00 30 61 80 0D 01 02 00 00 00 00 0A [10:09:11]Write i2c OK [10:09:11]MH_I2C_Read... [10:09:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:09:11]Read from MH i2c: E2 [10:09:11]MH_I2C_Read... [10:09:11]Read from MH i2c: E2 03 00 [10:09:11]MH_I2C_Read... [10:09:11]Read from MH i2c: E2 03 00 30 61 00 90 00 05 [10:09:11]RAPDU: 90 00 [10:09:11]wFMCommunicate OK [10:09:11]wFMCommunicate request_size=255 [10:09:11]MH_SAM_APDU [10:09:11]CAPDU: 80 0D 02 02 FA 03 00 EA 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 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 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 [10:09:11]Write to MH i2c: E2 02 01 31 61 80 0D 02 02 FA 00 03 00 EA 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 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 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 00 00 02 [10:09:12]Write i2c OK [10:09:12]MH_I2C_Read... [10:09:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:09:12]Read from MH i2c: E2 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: E2 03 00 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: E2 03 00 31 61 00 90 00 06 [10:09:12]RAPDU: 90 00 [10:09:12]wFMCommunicate OK [10:09:12]wFMCommunicate request_size=249 [10:09:12]MH_SAM_APDU [10:09:12]CAPDU: 80 0D 02 02 F4 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 0F 00 00 00 00 07 04 06 00 CC 8D 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 D5 D6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4E 0A 00 00 35 04 06 00 5F 1A 94 8C C6 10 [10:09:12]Write to MH i2c: E2 FC 00 32 61 80 0D 02 02 F4 00 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 0F 00 00 00 00 07 04 06 00 CC 8D 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 D5 D6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4E 0A 00 00 35 04 06 00 5F 1A 94 8C C6 10 00 00 C5 [10:09:12]Write i2c OK [10:09:12]MH_I2C_Read... [10:09:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:09:12]Read from MH i2c: E2 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: E2 03 00 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: E2 03 00 32 61 00 90 00 07 [10:09:12]RAPDU: 90 00 [10:09:12]wFMCommunicate OK [10:09:12]wFMCommunicate request_size=4 [10:09:12]MH_SAM_APDU [10:09:12]CAPDU: 80 0D 03 02 [10:09:12]Write to MH i2c: E2 08 00 33 61 80 0D 03 02 00 00 00 00 0F [10:09:12]Write i2c OK [10:09:12]MH_I2C_Read... [10:09:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:09:12]Read from MH i2c: E2 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: E2 0B 00 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: E2 0B 00 33 61 00 4C F1 E6 F9 99 B3 17 26 90 00 B5 [10:09:12]RAPDU: 4C F1 E6 F9 99 B3 17 26 90 00 [10:09:12]wFMCommunicate OK [10:09:12]SAM_PROTO_SignData done [10:09:12]FM_MakeSignedData done [10:09:12]CreateOFDProtocolMessage [10:09:12]wFMCommunicate request_size=4 [10:09:12]MH_SAM_APDU [10:09:12]CAPDU: 80 11 00 00 [10:09:12]Write to MH i2c: E2 08 00 34 61 80 11 00 00 00 00 00 00 0F [10:09:12]Write i2c OK [10:09:12]MH_I2C_Read... [10:09:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:09:12]Read from MH i2c: E2 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: E2 17 00 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: E2 17 00 34 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 57 [10:09:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [10:09:12]wFMCommunicate OK [10:09:12]CreateOFDProtocolMessage done [10:09:12]OFDSenderStorePacket 2638 [10:09:12]StoreOFDPacket docnum=2638 [10:09:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 FE 01 00 00 8D E2 F6 01 BB AB 5A 03 01 00 03 00 EA 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 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 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 0F 00 00 00 00 07 04 06 00 CC 8D 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 D5 D6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4E 0A 00 00 35 04 06 00 5F 1A 94 8C C6 10 4C F1 E6 F9 99 B3 17 26 [10:09:12]CheckFolder [10:09:12]dirname=/storage/ofd_packets [10:09:12]CheckFolder done [10:09:12]ProducePacketName [10:09:12]name=ofd_packets/00002638 [10:09:12]NVStorageSaveData ofd_packets/00002638 [10:09:12]File name is /storage/ofd_packets/00002638 [10:09:12]Write 540 bytes [10:09:12]NVStorageSaveData done [10:09:12]OFDSenderStorePacket done [10:09:12]KKMCreateOFDPacket done [10:09:12]NVStorageSaveData kkm_last_timestamp [10:09:12]File name is /storage/kkm_last_timestamp [10:09:12]Write 4 bytes [10:09:12]NVStorageSaveData done [10:09:12]ExternCall_PrintAddStr [10:09:12]wPrintStart [10:09:12]Write to MH i2c: 01 00 00 35 61 96 [10:09:12]Write i2c OK [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: 01 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: 01 07 00 [10:09:12]MH_I2C_Read... [10:09:12]Read from MH i2c: 01 07 00 35 61 00 00 00 00 00 FF 0F AB [10:09:12]RasterBufferAndPrint [10:09:12]line Счет N : (3)100017 [10:09:12]line ИНН: 02508201610067 [10:09:12]line Контрольно-Кассовый Чек [10:09:12]line ПРОДАЖА [10:09:12]line Товар: 4700002082931 [10:09:12]line Водка Хорошая 0,1л [10:09:12]line 1.000 * 70.00 [10:09:12]line = 70.00 [10:09:12]line НДС 12% НСП 1% [10:09:12]line > о реализуемом товаре [10:09:12]line Товар: 46230607 [10:09:12]line Сигареты Richmond Bronze Edition [10:09:12]line 1.000 * 154.00 [10:09:12]line = 154.00 [10:09:12]line НДС 12% НСП 1% [10:09:12]line > о реализуемом товаре [10:09:12]line Товар: 48741231 [10:09:12]line Сигареты Winston Super Slims Silver [10:09:12]line 1.000 * 139.00 [10:09:12]line = 139.00 [10:09:12]line НДС 12% НСП 1% [10:09:12]line > о реализуемом товаре [10:09:12]line ИТОГО: 363.00 [10:09:12]line НСП 1% : 3.21 [10:09:12]line НДС 12% : 38.54 [10:09:12]line Наличными: 363.00 [10:09:12]line Безнал.: 0.00 [10:09:12]line Место: АЗС № 162 "Партнер Нефть" [10:09:12]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [10:09:12]line СНО: Общий режим [10:09:12]line Чек 19 20.10.2024 10:09 [10:09:12]line Смена: 24 ФФД: 1.0 [10:09:12]line ЗНМ: 0300000191 [10:09:12]line РНМ: 0000000000207295 [10:09:12]line Версия ККМ: v1.0 [10:09:12]line ФМ: 0000000002342820 [10:09:12]line ФД: 2638 [10:09:12]line ФПД: 104567766042128 [10:09:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T100925&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2638&fm=104567766042128&tin=02508201610067®Number=0000000000207295&sum=36300 [10:09:12]line 0 [10:09:12]written 0, free lines is 4095 [10:09:12]OFD Sender: Processing packet 2638 [packets to send 1, broken 0] [10:09:12]ProducePacketName [10:09:12]name=ofd_packets/00002638 [10:09:12]OFD Sender: To server: pG, [10:09:12]CommunicateWithHost lk.salyk.kg:30040 [10:09:12]ConnectInit lk.salyk.kg [10:09:12]Connected sock=9 [10:09:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 FE 01 00 00 8D E2 F6 01 BB AB 5A 03 01 00 03 00 EA 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 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 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 0F 00 00 00 00 07 04 06 00 CC 8D 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 D5 D6 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4E 0A 00 00 35 04 06 00 5F 1A 94 8C C6 10 4C F1 E6 F9 99 B3 17 26 [10:09:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 28 D5 47 00 2F 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 33 34 32 38 32 30 10 04 04 00 4E 0A 00 00 F4 03 04 00 33 82 14 67 B6 04 01 00 00 81 C4 93 00 95 EB 00 9F [10:09:13]CommunicateWithHost err = 0 [10:09:13]CheckOFDResponse [10:09:13]1017 (14) - 77093643461234 [10:09:13]1041 (16) - 0000000002342820 [10:09:13]1040 (4) - 2638 [10:09:13]1012 (4) - 20.10.2024 04:08 [10:09:13]1206 (1) - 0 [10:09:13]OFD Sender: Remove packet 2638 [10:09:13]ProducePacketName [10:09:13]name=ofd_packets/00002638 [10:09:13]NVStorageDeleteData [10:09:13]Write to MH i2c: 01 00 00 6B 61 CC [10:09:13]Write i2c OK [10:09:13]MH_I2C_Read... [10:09:13]Read from MH i2c: 01 [10:09:13]MH_I2C_Read... [10:09:13]Read from MH i2c: 01 07 00 [10:09:13]MH_I2C_Read... [10:09:13]Read from MH i2c: 01 07 00 6B 61 00 00 00 00 00 BB 0B 99 [10:09:13]RasterBufferAndPrint [10:09:13]line [10:09:13]line [10:09:13]line [10:09:13]line [10:09:13]line [10:09:13]written 0, free lines is 3010 [10:09:13]MH_Cut [10:09:13]Write to MH i2c: D1 01 00 72 61 01 A5 [10:09:13]Write i2c OK [10:09:13]MH_I2C_Read... [10:09:13]Read from MH i2c: D1 [10:09:13]MH_I2C_Read... [10:09:13]Read from MH i2c: D1 01 00 [10:09:13]MH_I2C_Read... [10:09:13]Read from MH i2c: D1 01 00 72 61 00 A4 [10:09:13]Write to MH i2c: 01 00 00 73 61 D4 [10:09:13]Write i2c OK [10:09:13]MH_I2C_Read... [10:09:13]OFD Sender: No OFD packet to send [10:09:14]*** Cut start [10:09:14]*** Partial cut [10:09:14]*** CUTSNS_PIN = 1 [10:09:14]*** CUTSNS_PIN = 0 [10:09:14]*** Brake cut motor [10:09:15]Read from MH i2c: 01 [10:09:15]MH_I2C_Read... [10:09:15]*** Stop cut motor [10:09:15]*** Cut end [10:09:15]Read from MH i2c: 01 07 00 [10:09:15]MH_I2C_Read... [10:09:15]Read from MH i2c: 01 07 00 73 61 00 00 00 00 00 FF 0F E9 [10:09:15]process_action close_receipt done [10:09:15]requested_data is exist [10:09:15]produce_requested_data [10:09:15]requested_item fm.sn is exist - process it [10:09:15]wFMCommunicate request_size=4 [10:09:15]MH_SAM_APDU [10:09:15]CAPDU: 80 11 00 00 [10:09:15]Write to MH i2c: E2 08 00 74 61 80 11 00 00 00 00 00 00 4F [10:09:15]Write i2c OK [10:09:15]MH_I2C_Read... [10:09:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:09:15]Read from MH i2c: E2 [10:09:15]MH_I2C_Read... [10:09:15]Read from MH i2c: E2 17 00 [10:09:15]MH_I2C_Read... [10:09:15]Read from MH i2c: E2 17 00 74 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 97 [10:09:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [10:09:15]wFMCommunicate OK [10:09:15]requested_item fd.num is exist - process it [10:09:15]SAM_PROTO_GetFieldsCounters [10:09:15]wFMCommunicate request_size=4 [10:09:15]MH_SAM_APDU [10:09:15]CAPDU: 80 13 00 00 [10:09:15]Write to MH i2c: E2 08 00 75 61 80 13 00 00 00 00 00 00 52 [10:09:15]Write i2c OK [10:09:15]MH_I2C_Read... [10:09:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:09:15]Read from MH i2c: E2 [10:09:15]MH_I2C_Read... [10:09:15]Read from MH i2c: E2 62 00 [10:09:15]MH_I2C_Read... [10:09:15]Read from MH i2c: E2 62 00 75 61 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4E 0A 00 00 0E 04 04 00 18 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 11 [10:09:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4E 0A 00 00 0E 04 04 00 18 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:09:15]wFMCommunicate OK [10:09:15]SAM_PROTO_GetFieldsCounters done [10:09:15]requested_item shift.num is exist - process it [10:09:15]requested_item shift.opened is exist - process it [10:09:15]req_shift_opened [10:09:15]FM_GetShiftState [10:09:15]SAM_PROTO_GetShiftState [10:09:15]wFMCommunicate request_size=4 [10:09:15]MH_SAM_APDU [10:09:15]CAPDU: 80 13 01 00 [10:09:15]Write to MH i2c: E2 08 00 76 61 80 13 01 00 00 00 00 00 54 [10:09:15]Write i2c OK [10:09:15]MH_I2C_Read... [10:09:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:09:15]Read from MH i2c: E2 [10:09:15]MH_I2C_Read... [10:09:15]Read from MH i2c: E2 0E 00 [10:09:15]MH_I2C_Read... [10:09:15]Read from MH i2c: E2 0E 00 76 61 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 3E [10:09:15]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [10:09:15]wFMCommunicate OK [10:09:15]SAM_PROTO_GetShiftState done [10:09:15]FM_GetShiftState done [10:09:15]req_shift_opened done [10:09:15]requested_item shift.open_date is exist - process it [10:09:15]req_shift_open_date [10:09:15]req_shift_open_date done [10:09:15]produce_requested_data done [10:09:15]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2638,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [10:09:15]process_action_free close_receipt [10:09:15]json_value_free [10:09:15]json_value_free done [10:09:15]process_json_proto returns [10:09:15]Send response to host [10:09:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2638,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [10:09:15]free response buf [10:09:15]execute_script done [10:09:15]execute_script returns [10:09:15]free content buf [10:09:15]Sock 7.Close socket [10:09:15]Sock 7.Thread stoped [10:09:18]OFD Sender: No OFD packet to send [10:09:23]OFD Sender: No OFD packet to send [10:09:28]OFD Sender: No OFD packet to send [10:09:33]OFD Sender: No OFD packet to send [10:09:38]OFD Sender: No OFD packet to send [10:09:43]OFD Sender: No OFD packet to send [10:09:48]OFD Sender: No OFD packet to send [10:09:53]OFD Sender: No OFD packet to send [10:09:58]OFD Sender: No OFD packet to send [10:10:03]OFD Sender: No OFD packet to send [10:10:08]OFD Sender: No OFD packet to send [10:10:13]OFD Sender: No OFD packet to send [10:10:18]OFD Sender: No OFD packet to send [10:10:23]OFD Sender: No OFD packet to send [10:10:28]OFD Sender: No OFD packet to send [10:10:33]OFD Sender: No OFD packet to send [10:10:38]OFD Sender: No OFD packet to send [10:10:43]OFD Sender: No OFD packet to send [10:10:48]OFD Sender: No OFD packet to send [10:10:53]OFD Sender: No OFD packet to send [10:10:58]OFD Sender: No OFD packet to send [10:11:03]OFD Sender: No OFD packet to send [10:11:08]OFD Sender: No OFD packet to send [10:11:13]OFD Sender: No OFD packet to send [10:11:18]OFD Sender: No OFD packet to send [10:11:23]OFD Sender: No OFD packet to send [10:11:28]OFD Sender: No OFD packet to send [10:11:33]OFD Sender: No OFD packet to send [10:11:38]OFD Sender: No OFD packet to send [10:11:43]OFD Sender: No OFD packet to send [10:11:48]OFD Sender: No OFD packet to send [10:11:53]OFD Sender: No OFD packet to send [10:11:58]OFD Sender: No OFD packet to send [10:12:03]OFD Sender: No OFD packet to send [10:12:08]OFD Sender: No OFD packet to send [10:12:13]OFD Sender: No OFD packet to send [10:12:18]OFD Sender: No OFD packet to send [10:12:23]OFD Sender: No OFD packet to send [10:12:28]OFD Sender: No OFD packet to send [10:12:33]OFD Sender: No OFD packet to send [10:12:38]OFD Sender: No OFD packet to send [10:12:43]OFD Sender: No OFD packet to send [10:12:48]OFD Sender: No OFD packet to send [10:12:53]OFD Sender: No OFD packet to send [10:12:58]OFD Sender: No OFD packet to send [10:13:03]OFD Sender: No OFD packet to send [10:13:08]OFD Sender: No OFD packet to send [10:13:13]OFD Sender: No OFD packet to send [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:33]OFD Sender: No OFD packet to send [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:33]OFD Sender: No OFD packet to send [10:15:38]OFD Sender: No OFD packet to send [10:15:43]OFD Sender: No OFD packet to send [10:15:48]OFD Sender: No OFD packet to send [10:15:53]OFD Sender: No OFD packet to send [10:15:58]OFD Sender: No OFD packet to send [10:16:03]OFD Sender: No OFD packet to send [10:16:08]OFD Sender: No OFD packet to send [10:16:13]OFD Sender: No OFD packet to send [10:16:18]OFD Sender: No OFD packet to send [10:16:23]OFD Sender: No OFD packet to send [10:16:28]OFD Sender: No OFD packet to send [10:16:33]OFD Sender: No OFD packet to send [10:16:38]OFD Sender: No OFD packet to send [10:16:43]OFD Sender: No OFD packet to send [10:16:48]OFD Sender: No OFD packet to send [10:16:53]OFD Sender: No OFD packet to send [10:16:58]OFD Sender: No OFD packet to send [10:17:03]OFD Sender: No OFD packet to send [10:17:08]OFD Sender: No OFD packet to send [10:17:13]OFD Sender: No OFD packet to send [10:17:18]OFD Sender: No OFD packet to send [10:17:24]OFD Sender: No OFD packet to send [10:17:29]OFD Sender: No OFD packet to send [10:17:34]OFD Sender: No OFD packet to send [10:17:39]OFD Sender: No OFD packet to send [10:17:44]OFD Sender: No OFD packet to send [10:17:49]OFD Sender: No OFD packet to send [10:17:54]OFD Sender: No OFD packet to send [10:17:59]OFD Sender: No OFD packet to send [10:18:04]OFD Sender: No OFD packet to send [10:18:09]OFD Sender: No OFD packet to send [10:18:14]OFD Sender: No OFD packet to send [10:18:19]OFD Sender: No OFD packet to send [10:18:24]OFD Sender: No OFD packet to send [10:18:29]OFD Sender: No OFD packet to send [10:18:34]OFD Sender: No OFD packet to send [10:18:39]OFD Sender: No OFD packet to send [10:18:44]OFD Sender: No OFD packet to send [10:18:49]OFD Sender: No OFD packet to send [10:18:54]OFD Sender: No OFD packet to send [10:18:59]OFD Sender: No OFD packet to send [10:19:04]OFD Sender: No OFD packet to send [10:19:09]OFD Sender: No OFD packet to send [10:19:14]OFD Sender: No OFD packet to send [10:19:19]OFD Sender: No OFD packet to send [10:19:24]OFD Sender: No OFD packet to send [10:19:29]OFD Sender: No OFD packet to send [10:19:34]OFD Sender: No OFD packet to send [10:19:39]OFD Sender: No OFD packet to send [10:19:44]OFD Sender: No OFD packet to send [10:19:49]OFD Sender: No OFD packet to send [10:19:54]OFD Sender: No OFD packet to send [10:19:59]OFD Sender: No OFD packet to send [10:20:04]OFD Sender: No OFD packet to send [10:20:09]OFD Sender: No OFD packet to send [10:20:14]OFD Sender: No OFD packet to send [10:20:19]OFD Sender: No OFD packet to send [10:20:24]OFD Sender: No OFD packet to send [10:20:29]OFD Sender: No OFD packet to send [10:20:34]OFD Sender: No OFD packet to send [10:20:39]OFD Sender: No OFD packet to send [10:20:44]OFD Sender: No OFD packet to send [10:20:49]OFD Sender: No OFD packet to send [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:04]OFD Sender: No OFD packet to send [10:21:09]OFD Sender: No OFD packet to send [10:21:14]OFD Sender: No OFD packet to send [10:21:19]OFD Sender: No OFD packet to send [10:21:24]OFD Sender: No OFD packet to send [10:21:29]OFD Sender: No OFD packet to send [10:21:34]OFD Sender: No OFD packet to send [10:21:39]OFD Sender: No OFD packet to send [10:21:44]OFD Sender: No OFD packet to send [10:21:49]OFD Sender: No OFD packet to send [10:21:54]OFD Sender: No OFD packet to send [10:21:59]OFD Sender: No OFD packet to send [10:22:04]OFD Sender: No OFD packet to send [10:22:09]OFD Sender: No OFD packet to send [10:22:14]OFD Sender: No OFD packet to send [10:22:19]OFD Sender: No OFD packet to send [10:22:24]OFD Sender: No OFD packet to send [10:22:29]OFD Sender: No OFD packet to send [10:22:34]OFD Sender: No OFD packet to send [10:22:39]OFD Sender: No OFD packet to send [10:22:44]OFD Sender: No OFD packet to send [10:22:49]OFD Sender: No OFD packet to send [10:22:54]OFD Sender: No OFD packet to send [10:22:59]OFD Sender: No OFD packet to send [10:23:04]OFD Sender: No OFD packet to send [10:23:09]OFD Sender: No OFD packet to send [10:23:14]OFD Sender: No OFD packet to send [10:23:19]OFD Sender: No OFD packet to send [10:23:24]OFD Sender: No OFD packet to send [10:23:29]OFD Sender: No OFD packet to send [10:23:34]OFD Sender: No OFD packet to send [10:23:39]OFD Sender: No OFD packet to send [10:23:44]OFD Sender: No OFD packet to send [10:23:49]OFD Sender: No OFD packet to send [10:23:54]OFD Sender: No OFD packet to send [10:23:59]OFD Sender: No OFD packet to send [10:24:04]OFD Sender: No OFD packet to send [10:24:09]OFD Sender: No OFD packet to send [10:24:14]OFD Sender: No OFD packet to send [10:24:19]OFD Sender: No OFD packet to send [10:24:24]OFD Sender: No OFD packet to send [10:24:29]OFD Sender: No OFD packet to send [10:24:34]OFD Sender: No OFD packet to send [10:24:39]OFD Sender: No OFD packet to send [10:24:44]OFD Sender: No OFD packet to send [10:24:49]OFD Sender: No OFD packet to send [10:24:54]OFD Sender: No OFD packet to send [10:24:59]OFD Sender: No OFD packet to send [10:25:04]OFD Sender: No OFD packet to send [10:25:09]OFD Sender: No OFD packet to send [10:25:14]OFD Sender: No OFD packet to send [10:25:19]OFD Sender: No OFD packet to send [10:25:24]OFD Sender: No OFD packet to send [10:25:29]OFD Sender: No OFD packet to send [10:25:34]OFD Sender: No OFD packet to send [10:25:39]OFD Sender: No OFD packet to send [10:25:44]OFD Sender: No OFD packet to send [10:25:49]OFD Sender: No OFD packet to send [10:25:54]OFD Sender: No OFD packet to send [10:25:59]OFD Sender: No OFD packet to send [10:26:04]OFD Sender: No OFD packet to send [10:26:09]OFD Sender: No OFD packet to send [10:26:14]OFD Sender: No OFD packet to send [10:26:19]OFD Sender: No OFD packet to send [10:26:24]OFD Sender: No OFD packet to send [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:39]OFD Sender: No OFD packet to send [10:26:44]OFD Sender: No OFD packet to send [10:26:49]OFD Sender: No OFD packet to send [10:26:54]OFD Sender: No OFD packet to send [10:26:59]OFD Sender: No OFD packet to send [10:27:04]OFD Sender: No OFD packet to send [10:27:09]OFD Sender: No OFD packet to send [10:27:14]OFD Sender: No OFD packet to send [10:27:19]OFD Sender: No OFD packet to send [10:27:24]OFD Sender: No OFD packet to send [10:27:29]OFD Sender: No OFD packet to send [10:27:34]OFD Sender: No OFD packet to send [10:27:39]OFD Sender: No OFD packet to send [10:27:44]OFD Sender: No OFD packet to send [10:27:49]OFD Sender: No OFD packet to send [10:27:54]OFD Sender: No OFD packet to send [10:27:59]OFD Sender: No OFD packet to send [10:28:04]OFD Sender: No OFD packet to send [10:28:09]OFD Sender: No OFD packet to send [10:28:14]OFD Sender: No OFD packet to send [10:28:19]OFD Sender: No OFD packet to send [10:28:24]OFD Sender: No OFD packet to send [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:54]OFD Sender: No OFD packet to send [10:28:59]OFD Sender: No OFD packet to send [10:29:04]OFD Sender: No OFD packet to send [10:29:09]OFD Sender: No OFD packet to send [10:29:14]OFD Sender: No OFD packet to send [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39: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:28]accept exits with 10 [10:40:28]New connection [10:40:28]New thread 3066707300 created [10:40:28]Thread 3066850660 joined [10:40:28]Waiting for new connection... [10:40:28] Sock 10.Parse request [10:40:28]Sock 10.Check first char [10:40:28]Sock 10.First char is OK [10:40:28]request: POST /json_proto HTTP/1.0 [10:40:28]Method: POST [10:40:28]URL: /json_proto [10:40:28]Method is POST - this is cgi request [10:40:28]url: /json_proto [10:40:28]query_string will be loaded in cgi processing [10:40:28]execute_cgi json_proto POST (null) [10:40:28]execute_cgi path=json_proto method=POST [10:40:28]POST find Content-Length [10:40:28]Host: 172.17.52.132:8080 [10:40:28]Content-Length: 1604 [10:40:28]Content-Type: application/json [10:40:28] [10:40:28]POST finish read [10:40:28]Found Content-Length = 1604 [10:40:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100018", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8683130057735", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u041F\u043B\u043E\u043C\u0431\u0438\u0440 \u0441\u0442\u0430\u043A\u0430", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8683130060278", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u0427\u0435\u0440\u043D\u0438\u043A\u0430 \u0441\u0442\u0430\u043A\u0430", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46233820", "name": "LD Compact 100s Silver", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 588.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:40:28]execute_script... [10:40: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)100018", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8683130057735", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u041F\u043B\u043E\u043C\u0431\u0438\u0440 \u0441\u0442\u0430\u043A\u0430", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8683130060278", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u0427\u0435\u0440\u043D\u0438\u043A\u0430 \u0441\u0442\u0430\u043A\u0430", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46233820", "name": "LD Compact 100s Silver", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 588.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:40:28]POST & json_proto [10:40:28]process_json_proto [10:40:28]json parsed OK: [10:40:28]protocol is kg_v1.0 [10:40:28]action value=close_receipt [10:40:28]process_action close_receipt [10:40:28]cmd_close_receipt [10:40:28]MH_GetDate [10:40:28]Write to MH i2c: F0 00 00 77 61 C7 [10:40:28]Write i2c OK [10:40:28]MH_I2C_Read... [10:40:28]Read from MH i2c: F0 [10:40:28]MH_I2C_Read... [10:40:28]Read from MH i2c: F0 09 00 [10:40:28]MH_I2C_Read... [10:40:28]Read from MH i2c: F0 09 00 77 61 00 2A DE 14 67 5A BE F6 66 C7 [10:40:28]GetLastDocTimeStamp 1729418965 [10:40:28]current date 1729420842 [10:40:28]FM_GetShiftState [10:40:28]SAM_PROTO_GetShiftState [10:40:28]wFMCommunicate request_size=4 [10:40:28]MH_SAM_APDU [10:40:28]CAPDU: 80 13 01 00 [10:40:28]Write to MH i2c: E2 08 00 78 61 80 13 01 00 00 00 00 00 56 [10:40:28]Write i2c OK [10:40:28]MH_I2C_Read... [10:40:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:40:28]Read from MH i2c: E2 [10:40:28]MH_I2C_Read... [10:40:28]Read from MH i2c: E2 0E 00 [10:40:28]MH_I2C_Read... [10:40:28]Read from MH i2c: E2 0E 00 78 61 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 40 [10:40:28]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [10:40:28]wFMCommunicate OK [10:40:28]SAM_PROTO_GetShiftState done [10:40:28]FM_GetShiftState done [10:40:28]opened in 1729382427 [10:40:28]opened+sec_in_day 1729468827 [10:40:28]quantity*price = 13000 [10:40:28]sum+1 = 13001 [10:40:28]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8683130057735 Мороженое Золотой Стандарт Пломбир стака 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 8683130060278 Мороженое Золотой Стандарт Черника стака 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46233820 LD Compact 100s Silver 2.000 * 134.00 = 268.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 588.00 НСП 1% : 5.20 НДС 12% : 62.44 Наличными: 588.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 20 20.10.2024 10:40 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2639 ФПД: 123238558868266 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T104043&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2639&fm=123238558868266&tin=02508201610067®Number=0000000000207295&sum=58800 0 [10:40:29]StoreToDocumentArchive [10:40:29]shift 24 fd 2639 [10:40:29]save to /storage/0024/doc_00002639 [10:40:29]save last doc name /storage/0024/doc_00002639 to /storage/kkm_last_doc_name [10:40:29]save OK [10:40:29]Clear old archive folders... [10:40:29]ProcessDocumentItem done err = 0, tmpTLVsize=654 [10:40:29]tlvbuf is 0152A9A0 [10:40:29]SAM_PROTO_ClearQueue [10:40:29]wFMCommunicate request_size=4 [10:40:29]MH_SAM_APDU [10:40:29]CAPDU: 80 09 00 00 [10:40:29]Write to MH i2c: E2 08 00 85 61 80 09 00 00 00 00 00 00 58 [10:40:29]Write i2c OK [10:40:29]MH_I2C_Read... [10:40:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:40:30]Read from MH i2c: E2 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 85 61 00 90 00 5A [10:40:30]RAPDU: 90 00 [10:40:30]wFMCommunicate OK [10:40:30]SAM_PROTO_ClearQueue done [10:40:30]KKMCreateOFDPacket [10:40:30]OFDProtocolAddRootSTLVToBuf [10:40:30]FM_MakeSignedData [10:40:30]FM_MakeSignedData [10:40:30]SAM_PROTO_SignData [10:40:30]wFMCommunicate request_size=4 [10:40:30]MH_SAM_APDU [10:40:30]CAPDU: 80 0D 01 02 [10:40:30]Write to MH i2c: E2 08 00 86 61 80 0D 01 02 00 00 00 00 60 [10:40:30]Write i2c OK [10:40:30]MH_I2C_Read... [10:40:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:40:30]Read from MH i2c: E2 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 86 61 00 90 00 5B [10:40:30]RAPDU: 90 00 [10:40:30]wFMCommunicate OK [10:40:30]wFMCommunicate request_size=255 [10:40:30]MH_SAM_APDU [10:40:30]CAPDU: 80 0D 02 02 FA 03 00 8E 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 35 37 37 33 35 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 [10:40:30]Write to MH i2c: E2 02 01 87 61 80 0D 02 02 FA 00 03 00 8E 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 35 37 37 33 35 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 00 00 02 [10:40:30]OFD Sender: No OFD packet to send [10:40:30]Write i2c OK [10:40:30]MH_I2C_Read... [10:40:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:40:30]Read from MH i2c: E2 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 87 61 00 90 00 5C [10:40:30]RAPDU: 90 00 [10:40:30]wFMCommunicate OK [10:40:30]wFMCommunicate request_size=255 [10:40:30]MH_SAM_APDU [10:40:30]CAPDU: 80 0D 02 02 FA 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 30 32 37 38 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A7 D0 B5 D1 80 D0 BD D0 B8 D0 BA D0 B0 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 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 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 E5 00 [10:40:30]Write to MH i2c: E2 02 01 88 61 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 30 32 37 38 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A7 D0 B5 D1 80 D0 BD D0 B8 D0 BA D0 B0 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 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 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 E5 00 00 00 B5 [10:40:30]Write i2c OK [10:40:30]MH_I2C_Read... [10:40:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:40:30]Read from MH i2c: E2 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 88 61 00 90 00 5D [10:40:30]RAPDU: 90 00 [10:40:30]wFMCommunicate OK [10:40:30]wFMCommunicate request_size=163 [10:40:30]MH_SAM_APDU [10:40:30]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 08 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 18 00 00 00 00 07 04 06 00 B0 E5 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 2B DE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4F 0A 00 00 35 04 06 00 70 15 B6 86 23 2A [10:40:30]Write to MH i2c: E2 A6 00 89 61 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 08 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 18 00 00 00 00 07 04 06 00 B0 E5 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 2B DE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4F 0A 00 00 35 04 06 00 70 15 B6 86 23 2A 00 00 04 [10:40:30]Write i2c OK [10:40:30]MH_I2C_Read... [10:40:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:40:30]Read from MH i2c: E2 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 03 00 89 61 00 90 00 5E [10:40:30]RAPDU: 90 00 [10:40:30]wFMCommunicate OK [10:40:30]wFMCommunicate request_size=4 [10:40:30]MH_SAM_APDU [10:40:30]CAPDU: 80 0D 03 02 [10:40:30]Write to MH i2c: E2 08 00 8A 61 80 0D 03 02 00 00 00 00 66 [10:40:30]Write i2c OK [10:40:30]MH_I2C_Read... [10:40:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:40:30]Read from MH i2c: E2 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 0B 00 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 0B 00 8A 61 00 0F C1 EE D3 C9 C2 92 1B 90 00 30 [10:40:30]RAPDU: 0F C1 EE D3 C9 C2 92 1B 90 00 [10:40:30]wFMCommunicate OK [10:40:30]SAM_PROTO_SignData done [10:40:30]FM_MakeSignedData done [10:40:30]CreateOFDProtocolMessage [10:40:30]wFMCommunicate request_size=4 [10:40:30]MH_SAM_APDU [10:40:30]CAPDU: 80 11 00 00 [10:40:30]Write to MH i2c: E2 08 00 8B 61 80 11 00 00 00 00 00 00 66 [10:40:30]Write i2c OK [10:40:30]MH_I2C_Read... [10:40:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:30]Read from MH i2c: E2 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 17 00 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: E2 17 00 8B 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AE [10:40:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [10:40:30]wFMCommunicate OK [10:40:30]CreateOFDProtocolMessage done [10:40:30]OFDSenderStorePacket 2639 [10:40:30]StoreOFDPacket docnum=2639 [10:40:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A2 02 00 00 93 B2 9A 02 B5 29 5A 03 01 00 03 00 8E 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 35 37 37 33 35 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 30 32 37 38 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A7 D0 B5 D1 80 D0 BD D0 B8 D0 BA D0 B0 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 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 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 E5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 18 00 00 00 00 07 04 06 00 B0 E5 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 2B DE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4F 0A 00 00 35 04 06 00 70 15 B6 86 23 2A 0F C1 EE D3 C9 C2 92 1B [10:40:30]CheckFolder [10:40:30]dirname=/storage/ofd_packets [10:40:30]CheckFolder done [10:40:30]ProducePacketName [10:40:30]name=ofd_packets/00002639 [10:40:30]NVStorageSaveData ofd_packets/00002639 [10:40:30]File name is /storage/ofd_packets/00002639 [10:40:30]Write 704 bytes [10:40:30]NVStorageSaveData done [10:40:30]OFDSenderStorePacket done [10:40:30]KKMCreateOFDPacket done [10:40:30]NVStorageSaveData kkm_last_timestamp [10:40:30]File name is /storage/kkm_last_timestamp [10:40:30]Write 4 bytes [10:40:30]NVStorageSaveData done [10:40:30]ExternCall_PrintAddStr [10:40:30]wPrintStart [10:40:30]Write to MH i2c: 01 00 00 8C 61 ED [10:40:30]Write i2c OK [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: 01 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: 01 07 00 [10:40:30]MH_I2C_Read... [10:40:30]Read from MH i2c: 01 07 00 8C 61 00 00 00 00 00 FF 0F 02 [10:40:30]RasterBufferAndPrint [10:40:30]line Счет N : (3)100018 [10:40:30]line ИНН: 02508201610067 [10:40:30]line Контрольно-Кассовый Чек [10:40:30]line ПРОДАЖА [10:40:30]line Товар: 4620006996716 [10:40:30]line Водка Талка 0,1л [10:40:30]line 1.000 * 130.00 [10:40:30]line = 130.00 [10:40:30]line НДС 12% НСП 1% [10:40:31]line > о реализуемом товаре [10:40:31]line Товар: 8683130057735 [10:40:31]line Мороженое Золотой Стандарт Пломбир стака [10:40:31]line 1.000 * 95.00 [10:40:31]line = 95.00 [10:40:31]line НДС 12% НСП 1% [10:40:31]line > о реализуемом товаре [10:40:31]line Товар: 8683130060278 [10:40:31]line Мороженое Золотой Стандарт Черника стака [10:40:31]line 1.000 * 95.00 [10:40:31]line = 95.00 [10:40:31]line НДС 12% НСП 1% [10:40:31]line > о реализуемом товаре [10:40:31]line Товар: 46233820 [10:40:31]line LD Compact 100s Silver [10:40:31]line 2.000 * 134.00 [10:40:31]line = 268.00 [10:40:31]line НДС 12% НСП 1% [10:40:31]line > о реализуемом товаре [10:40:31]line ИТОГО: 588.00 [10:40:31]line НСП 1% : 5.20 [10:40:31]line НДС 12% : 62.44 [10:40:31]line Наличными: 588.00 [10:40:31]line Безнал.: 0.00 [10:40:31]line Место: АЗС № 162 "Партнер Нефть" [10:40:31]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [10:40:31]line СНО: Общий режим [10:40:31]line Чек 20 20.10.2024 10:40 [10:40:31]line Смена: 24 ФФД: 1.0 [10:40:31]line ЗНМ: 0300000191 [10:40:31]line РНМ: 0000000000207295 [10:40:31]line Версия ККМ: v1.0 [10:40:31]line ФМ: 0000000002342820 [10:40:31]line ФД: 2639 [10:40:31]line ФПД: 123238558868266 [10:40:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T104043&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2639&fm=123238558868266&tin=02508201610067®Number=0000000000207295&sum=58800 [10:40:31]line 0 [10:40:31]OFD Sender: Processing packet 2639 [packets to send 1, broken 0] [10:40:31]ProducePacketName [10:40:31]name=ofd_packets/00002639 [10:40:31]OFD Sender: To server: pG, [10:40:31]CommunicateWithHost lk.salyk.kg:30040 [10:40:31]ConnectInit lk.salyk.kg [10:40:31]written 0, free lines is 4095 [10:40:31]Connected sock=9 [10:40:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A2 02 00 00 93 B2 9A 02 B5 29 5A 03 01 00 03 00 8E 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 35 37 37 33 35 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 30 32 37 38 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A7 D0 B5 D1 80 D0 BD D0 B8 D0 BA D0 B0 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 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 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 E5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 18 00 00 00 00 07 04 06 00 B0 E5 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 2B DE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 4F 0A 00 00 35 04 06 00 70 15 B6 86 23 2A 0F C1 EE D3 C9 C2 92 1B [10:40:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 E0 F3 47 00 AC 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 33 34 32 38 32 30 10 04 04 00 4F 0A 00 00 F4 03 04 00 89 89 14 67 B6 04 01 00 00 FB 9C 74 38 2D 78 36 0E [10:40:31]CommunicateWithHost err = 0 [10:40:31]CheckOFDResponse [10:40:31]1017 (14) - 77093643461234 [10:40:31]1041 (16) - 0000000002342820 [10:40:31]1040 (4) - 2639 [10:40:31]1012 (4) - 20.10.2024 04:39 [10:40:31]1206 (1) - 0 [10:40:31]OFD Sender: Remove packet 2639 [10:40:31]ProducePacketName [10:40:31]name=ofd_packets/00002639 [10:40:31]NVStorageDeleteData [10:40:31]Write to MH i2c: 01 00 00 C8 61 29 [10:40:31]Write i2c OK [10:40:31]MH_I2C_Read... [10:40:31]Read from MH i2c: 01 [10:40:31]MH_I2C_Read... [10:40:31]Read from MH i2c: 01 07 00 [10:40:31]MH_I2C_Read... [10:40:31]Read from MH i2c: 01 07 00 C8 61 00 00 00 00 00 61 0B 9C [10:40:31]RasterBufferAndPrint [10:40:31]line [10:40:31]line [10:40:31]line [10:40:31]line [10:40:31]line [10:40:31]written 0, free lines is 2919 [10:40:31]MH_Cut [10:40:31]Write to MH i2c: D1 01 00 CF 61 01 02 [10:40:31]Write i2c OK [10:40:31]MH_I2C_Read... [10:40:31]Read from MH i2c: D1 [10:40:31]MH_I2C_Read... [10:40:31]Read from MH i2c: D1 01 00 [10:40:31]MH_I2C_Read... [10:40:31]Read from MH i2c: D1 01 00 CF 61 00 01 [10:40:31]Write to MH i2c: 01 00 00 D0 61 31 [10:40:31]Write i2c OK [10:40:31]MH_I2C_Read... [10:40:32]OFD Sender: No OFD packet to send [10:40:33]*** Cut start [10:40:33]*** Partial cut [10:40:33]*** CUTSNS_PIN = 1 [10:40:33]*** CUTSNS_PIN = 0 [10:40:33]*** Brake cut motor [10:40:33]Read from MH i2c: 01 [10:40:33]MH_I2C_Read... [10:40:33]*** Stop cut motor [10:40:33]*** Cut end [10:40:33]Read from MH i2c: 01 07 00 [10:40:33]MH_I2C_Read... [10:40:33]Read from MH i2c: 01 07 00 D0 61 00 00 00 00 00 FF 0F 46 [10:40:33]process_action close_receipt done [10:40:33]requested_data is exist [10:40:33]produce_requested_data [10:40:33]requested_item fm.sn is exist - process it [10:40:33]wFMCommunicate request_size=4 [10:40:33]MH_SAM_APDU [10:40:33]CAPDU: 80 11 00 00 [10:40:33]Write to MH i2c: E2 08 00 D1 61 80 11 00 00 00 00 00 00 AC [10:40:33]Write i2c OK [10:40:33]MH_I2C_Read... [10:40:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:33]Read from MH i2c: E2 [10:40:33]MH_I2C_Read... [10:40:33]Read from MH i2c: E2 17 00 [10:40:33]MH_I2C_Read... [10:40:33]Read from MH i2c: E2 17 00 D1 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F4 [10:40:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [10:40:33]wFMCommunicate OK [10:40:33]requested_item fd.num is exist - process it [10:40:33]SAM_PROTO_GetFieldsCounters [10:40:33]wFMCommunicate request_size=4 [10:40:33]MH_SAM_APDU [10:40:33]CAPDU: 80 13 00 00 [10:40:33]Write to MH i2c: E2 08 00 D2 61 80 13 00 00 00 00 00 00 AF [10:40:33]Write i2c OK [10:40:33]MH_I2C_Read... [10:40:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:40:33]Read from MH i2c: E2 [10:40:33]MH_I2C_Read... [10:40:33]Read from MH i2c: E2 62 00 [10:40:33]MH_I2C_Read... [10:40:33]Read from MH i2c: E2 62 00 D2 61 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4F 0A 00 00 0E 04 04 00 18 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 72 [10:40:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 4F 0A 00 00 0E 04 04 00 18 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 [10:40:34]wFMCommunicate OK [10:40:34]SAM_PROTO_GetFieldsCounters done [10:40:34]requested_item shift.num is exist - process it [10:40:34]requested_item shift.opened is exist - process it [10:40:34]req_shift_opened [10:40:34]FM_GetShiftState [10:40:34]SAM_PROTO_GetShiftState [10:40:34]wFMCommunicate request_size=4 [10:40:34]MH_SAM_APDU [10:40:34]CAPDU: 80 13 01 00 [10:40:34]Write to MH i2c: E2 08 00 D3 61 80 13 01 00 00 00 00 00 B1 [10:40:34]Write i2c OK [10:40:34]MH_I2C_Read... [10:40:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:40:34]Read from MH i2c: E2 [10:40:34]MH_I2C_Read... [10:40:34]Read from MH i2c: E2 0E 00 [10:40:34]MH_I2C_Read... [10:40:34]Read from MH i2c: E2 0E 00 D3 61 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9B [10:40:34]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [10:40:34]wFMCommunicate OK [10:40:34]SAM_PROTO_GetShiftState done [10:40:34]FM_GetShiftState done [10:40:34]req_shift_opened done [10:40:34]requested_item shift.open_date is exist - process it [10:40:34]req_shift_open_date [10:40:34]req_shift_open_date done [10:40:34]produce_requested_data done [10:40:34]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2639,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [10:40:34]process_action_free close_receipt [10:40:34]json_value_free [10:40:34]json_value_free done [10:40:34]process_json_proto returns [10:40:34]Send response to host [10:40:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2639,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [10:40:34]free response buf [10:40:34]execute_script done [10:40:34]execute_script returns [10:40:34]free content buf [10:40:34]Sock 10.Close socket [10:40:34]Sock 10.Thread stoped [10:40:37]OFD Sender: No OFD packet to send [10:40:42]OFD Sender: No OFD packet to send [10:40:47]OFD Sender: No OFD packet to send [10:40:52]OFD Sender: No OFD packet to send [10:40:57]OFD Sender: No OFD packet to send [10:41:02]OFD Sender: No OFD packet to send [10:41:07]OFD Sender: No OFD packet to send [10:41:12]OFD Sender: No OFD packet to send [10:41:17]OFD Sender: No OFD packet to send [10:41:22]OFD Sender: No OFD packet to send [10:41:27]OFD Sender: No OFD packet to send [10:41:32]OFD Sender: No OFD packet to send [10:41:37]OFD Sender: No OFD packet to send [10:41:42]OFD Sender: No OFD packet to send [10:41:47]OFD Sender: No OFD packet to send [10:41:52]OFD Sender: No OFD packet to send [10:41:57]OFD Sender: No OFD packet to send [10:42:02]OFD Sender: No OFD packet to send [10:42:07]OFD Sender: No OFD packet to send [10:42:12]OFD Sender: No OFD packet to send [10:42:17]OFD Sender: No OFD packet to send [10:42:22]OFD Sender: No OFD packet to send [10:42:27]OFD Sender: No OFD packet to send [10:42:32]OFD Sender: No OFD packet to send [10:42:37]OFD Sender: No OFD packet to send [10:42:42]OFD Sender: No OFD packet to send [10:42:47]OFD Sender: No OFD packet to send [10:42:52]OFD Sender: No OFD packet to send [10:42:57]OFD Sender: No OFD packet to send [10:43:02]OFD Sender: No OFD packet to send [10:43:07]OFD Sender: No OFD packet to send [10:43:12]OFD Sender: No OFD packet to send [10:43:17]OFD Sender: No OFD packet to send [10:43:22]OFD Sender: No OFD packet to send [10:43:27]OFD Sender: No OFD packet to send [10:43:32]OFD Sender: No OFD packet to send [10:43:37]OFD Sender: No OFD packet to send [10:43:42]OFD Sender: No OFD packet to send [10:43:47]OFD Sender: No OFD packet to send [10:43:52]OFD Sender: No OFD packet to send [10:43:57]OFD Sender: No OFD packet to send [10:44:02]OFD Sender: No OFD packet to send [10:44:07]OFD Sender: No OFD packet to send [10:44:12]OFD Sender: No OFD packet to send [10:44:17]OFD Sender: No OFD packet to send [10:44:22]OFD Sender: No OFD packet to send [10:44:27]OFD Sender: No OFD packet to send [10:44:32]OFD Sender: No OFD packet to send [10:44:37]OFD Sender: No OFD packet to send [10:44:42]OFD Sender: No OFD packet to send [10:44:47]OFD Sender: No OFD packet to send [10:44:52]OFD Sender: No OFD packet to send [10:44:57]OFD Sender: No OFD packet to send [10:45:02]OFD Sender: No OFD packet to send [10:45:07]OFD Sender: No OFD packet to send [10:45:12]OFD Sender: No OFD packet to send [10:45:17]OFD Sender: No OFD packet to send [10:45:22]OFD Sender: No OFD packet to send [10:45:27]OFD Sender: No OFD packet to send [10:45:32]OFD Sender: No OFD packet to send [10:45:37]OFD Sender: No OFD packet to send [10:45:42]OFD Sender: No OFD packet to send [10:45:47]OFD Sender: No OFD packet to send [10:45:52]OFD Sender: No OFD packet to send [10:45:57]OFD Sender: No OFD packet to send [10:46:02]OFD Sender: No OFD packet to send [10:46:07]OFD Sender: No OFD packet to send [10:46:12]OFD Sender: No OFD packet to send [10:46:17]OFD Sender: No OFD packet to send [10:46:22]OFD Sender: No OFD packet to send [10:46:27]OFD Sender: No OFD packet to send [10:46:32]OFD Sender: No OFD packet to send [10:46:37]OFD Sender: No OFD packet to send [10:46:42]OFD Sender: No OFD packet to send [10:46:47]OFD Sender: No OFD packet to send [10:46:52]OFD Sender: No OFD packet to send [10:46:57]OFD Sender: No OFD packet to send [10:47:02]OFD Sender: No OFD packet to send [10:47:07]OFD Sender: No OFD packet to send [10:47:12]OFD Sender: No OFD packet to send [10:47:17]OFD Sender: No OFD packet to send [10:47:22]OFD Sender: No OFD packet to send [10:47:27]OFD Sender: No OFD packet to send [10:47:32]OFD Sender: No OFD packet to send [10:47:37]OFD Sender: No OFD packet to send [10:47:42]OFD Sender: No OFD packet to send [10:47:47]OFD Sender: No OFD packet to send [10:47:52]OFD Sender: No OFD packet to send [10:47:57]OFD Sender: No OFD packet to send [10:48:02]OFD Sender: No OFD packet to send [10:48:07]OFD Sender: No OFD packet to send [10:48:12]OFD Sender: No OFD packet to send [10:48:17]OFD Sender: No OFD packet to send [10:48:22]OFD Sender: No OFD packet to send [10:48:27]OFD Sender: No OFD packet to send [10:48:32]OFD Sender: No OFD packet to send [10:48:37]OFD Sender: No OFD packet to send [10:48:42]OFD Sender: No OFD packet to send [10:48:47]OFD Sender: No OFD packet to send [10:48:52]OFD Sender: No OFD packet to send [10:48:57]OFD Sender: No OFD packet to send [10:49:02]OFD Sender: No OFD packet to send [10:49:07]OFD Sender: No OFD packet to send [10:49:12]OFD Sender: No OFD packet to send [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:52]OFD Sender: No OFD packet to send [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:58]OFD Sender: No OFD packet to send [11:00:03]OFD Sender: No OFD packet to send [11:00:08]OFD Sender: No OFD packet to send [11:00:13]OFD Sender: No OFD packet to send [11:00:18]OFD Sender: No OFD packet to send [11:00:23]OFD Sender: No OFD packet to send [11:00:28]OFD Sender: No OFD packet to send [11:00:33]OFD Sender: No OFD packet to send [11:00:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:08]OFD Sender: No OFD packet to send [11:02:13]OFD Sender: No OFD packet to send [11:02:18]OFD Sender: No OFD packet to send [11:02:23]OFD Sender: No OFD packet to send [11:02:28]OFD Sender: No OFD packet to send [11:02:33]OFD Sender: No OFD packet to send [11:02:38]OFD Sender: No OFD packet to send [11:02:43]OFD Sender: No OFD packet to send [11:02:48]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:18]OFD Sender: No OFD packet to send [11:03:23]OFD Sender: No OFD packet to send [11:03:28]OFD Sender: No OFD packet to send [11:03:33]OFD Sender: No OFD packet to send [11:03:38]OFD Sender: No OFD packet to send [11:03:43]OFD Sender: No OFD packet to send [11:03:48]OFD Sender: No OFD packet to send [11:03:53]OFD Sender: No OFD packet to send [11:03:58]OFD Sender: No OFD packet to send [11:04:03]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:48]OFD Sender: No OFD packet to send [11:12:53]OFD Sender: No OFD packet to send [11:12:58]OFD Sender: No OFD packet to send [11:13:03]OFD Sender: No OFD packet to send [11:13:08]OFD Sender: No OFD packet to send [11:13:13]OFD Sender: No OFD packet to send [11:13:18]OFD Sender: No OFD packet to send [11:13:23]OFD Sender: No OFD packet to send [11:13:28]OFD Sender: No OFD packet to send [11:13:33]OFD Sender: No OFD packet to send [11:13:38]OFD Sender: No OFD packet to send [11:13:43]OFD Sender: No OFD packet to send [11:13:48]OFD Sender: No OFD packet to send [11:13:53]OFD Sender: No OFD packet to send [11:13:58]OFD Sender: No OFD packet to send [11:14:03]OFD Sender: No OFD packet to send [11:14:08]OFD Sender: No OFD packet to send [11:14:13]OFD Sender: No OFD packet to send [11:14:18]OFD Sender: No OFD packet to send [11:14:23]OFD Sender: No OFD packet to send [11:14:28]OFD Sender: No OFD packet to send [11:14:33]OFD Sender: No OFD packet to send [11:14:38]OFD Sender: No OFD packet to send [11:14:43]OFD Sender: No OFD packet to send [11:14:48]OFD Sender: No OFD packet to send [11:14:53]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:03]OFD Sender: No OFD packet to send [11:15:08]OFD Sender: No OFD packet to send [11:15:13]OFD Sender: No OFD packet to send [11:15:18]OFD Sender: No OFD packet to send [11:15:23]OFD Sender: No OFD packet to send [11:15:28]OFD Sender: No OFD packet to send [11:15:33]OFD Sender: No OFD packet to send [11:15:38]OFD Sender: No OFD packet to send [11:15:43]OFD Sender: No OFD packet to send [11:15:48]OFD Sender: No OFD packet to send [11:15:53]OFD Sender: No OFD packet to send [11:15:58]OFD Sender: No OFD packet to send [11:16:03]OFD Sender: No OFD packet to send [11:16:08]OFD Sender: No OFD packet to send [11:16:13]OFD Sender: No OFD packet to send [11:16:18]OFD Sender: No OFD packet to send [11:16:23]OFD Sender: No OFD packet to send [11:16:28]OFD Sender: No OFD packet to send [11:16:33]OFD Sender: No OFD packet to send [11:16:38]OFD Sender: No OFD packet to send [11:16:43]OFD Sender: No OFD packet to send [11:16:48]OFD Sender: No OFD packet to send [11:16:53]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:36]accept exits with 7 [11:18:36]New connection [11:18:36]New thread 3066850660 created [11:18:36]Thread 3066707300 joined [11:18:36]Waiting for new connection... [11:18:36] Sock 7.Parse request [11:18:36]Sock 7.Check first char [11:18:36]Sock 7.First char is OK [11:18:36]request: POST /json_proto HTTP/1.0 [11:18:36]Method: POST [11:18:36]URL: /json_proto [11:18:36]Method is POST - this is cgi request [11:18:36]url: /json_proto [11:18:36]query_string will be loaded in cgi processing [11:18:36]execute_cgi json_proto POST (null) [11:18:36]execute_cgi path=json_proto method=POST [11:18:36]POST find Content-Length [11:18:36]Host: 172.17.52.132:8080 [11:18:36]Content-Length: 2594 [11:18:36]Content-Type: application/json [11:18:36] [11:18:36]POST finish read [11:18:36]Found Content-Length = 2594 [11:18:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100019", "tax_sys" : 0, "items" : [ { "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" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607014822954", "name": "\u0421\u0430\u0434\u043E\u0447\u043E\u043A 0,2 \u041F\u0435\u0440\u0441\u0438\u043A\u043E\u0432\u044B\u0439 \u0441\u043E\u043A 1/200", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 784.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:18:36]execute_script... [11:18:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100019", "tax_sys" : 0, "items" : [ { "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" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607014822954", "name": "\u0421\u0430\u0434\u043E\u0447\u043E\u043A 0,2 \u041F\u0435\u0440\u0441\u0438\u043A\u043E\u0432\u044B\u0439 \u0441\u043E\u043A 1/200", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 784.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:18:36]POST & json_proto [11:18:36]process_json_proto [11:18:36]json parsed OK: [11:18:36]protocol is kg_v1.0 [11:18:36]action value=close_receipt [11:18:36]process_action close_receipt [11:18:36]cmd_close_receipt [11:18:36]MH_GetDate [11:18:36]Write to MH i2c: F0 00 00 D4 61 24 [11:18:36]Write i2c OK [11:18:36]MH_I2C_Read... [11:18:36]Read from MH i2c: F0 [11:18:36]MH_I2C_Read... [11:18:36]Read from MH i2c: F0 09 00 [11:18:36]MH_I2C_Read... [11:18:36]Read from MH i2c: F0 09 00 D4 61 00 1B E7 14 67 5A BE F6 66 1E [11:18:36]GetLastDocTimeStamp 1729420843 [11:18:36]current date 1729423131 [11:18:36]FM_GetShiftState [11:18:36]SAM_PROTO_GetShiftState [11:18:36]wFMCommunicate request_size=4 [11:18:36]MH_SAM_APDU [11:18:36]CAPDU: 80 13 01 00 [11:18:36]Write to MH i2c: E2 08 00 D5 61 80 13 01 00 00 00 00 00 B3 [11:18:36]Write i2c OK [11:18:36]MH_I2C_Read... [11:18:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:18:36]Read from MH i2c: E2 [11:18:36]MH_I2C_Read... [11:18:36]Read from MH i2c: E2 0E 00 [11:18:36]MH_I2C_Read... [11:18:36]Read from MH i2c: E2 0E 00 D5 61 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9D [11:18:36]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:18:36]wFMCommunicate OK [11:18:36]SAM_PROTO_GetShiftState done [11:18:36]FM_GetShiftState done [11:18:36]opened in 1729382427 [11:18:36]opened+sec_in_day 1729468827 [11:18:36]quantity*price = 12000 [11:18:36]sum+1 = 12001 [11:18:36]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002326172 Вода ASU пит н.газ лимон ПЭТ 1л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607014822954 Садочок 0,2 Персиковый сок 1/200 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112003925 Конд ULKER-Albeni 40gr (6*24) 1.000 * 44.00 = 44.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002329487 Напиток Pepsi 1,5л 1.000 * 175.00 = 175.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48742245 Сигареты Parliament Silver Blue 1.000 * 160.00 = 160.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000005489 Вода Бонаква 1л б/г 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 784.00 НСП 1% : 6.94 НДС 12% : 83.25 Наличными: 784.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 21 20.10.2024 11:18 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2640 ФПД: 73805991114434 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T111851&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2640&fm=73805991114434&tin=02508201610067®Number=0000000000207295&sum=78400 0 [11:18:38]StoreToDocumentArchive [11:18:38]shift 24 fd 2640 [11:18:38]save to /storage/0024/doc_00002640 [11:18:38]save last doc name /storage/0024/doc_00002640 to /storage/kkm_last_doc_name [11:18:38]save OK [11:18:38]Clear old archive folders... [11:18:38]ProcessDocumentItem done err = 0, tmpTLVsize=1088 [11:18:38]tlvbuf is 01492B90 [11:18:38]SAM_PROTO_ClearQueue [11:18:38]wFMCommunicate request_size=4 [11:18:38]MH_SAM_APDU [11:18:38]CAPDU: 80 09 00 00 [11:18:38]Write to MH i2c: E2 08 00 E2 61 80 09 00 00 00 00 00 00 B5 [11:18:38]Write i2c OK [11:18:38]MH_I2C_Read... [11:18:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:18:38]Read from MH i2c: E2 [11:18:38]MH_I2C_Read... [11:18:38]Read from MH i2c: E2 03 00 [11:18:38]MH_I2C_Read... [11:18:38]Read from MH i2c: E2 03 00 E2 61 00 90 00 B7 [11:18:38]RAPDU: 90 00 [11:18:38]wFMCommunicate OK [11:18:38]SAM_PROTO_ClearQueue done [11:18:38]KKMCreateOFDPacket [11:18:38]OFDProtocolAddRootSTLVToBuf [11:18:38]FM_MakeSignedData [11:18:38]FM_MakeSignedData [11:18:38]SAM_PROTO_SignData [11:18:38]wFMCommunicate request_size=4 [11:18:38]MH_SAM_APDU [11:18:38]CAPDU: 80 0D 01 02 [11:18:38]Write to MH i2c: E2 08 00 E3 61 80 0D 01 02 00 00 00 00 BD [11:18:38]Write i2c OK [11:18:38]MH_I2C_Read... [11:18:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:18:38]Read from MH i2c: E2 [11:18:38]MH_I2C_Read... [11:18:38]Read from MH i2c: E2 03 00 [11:18:38]MH_I2C_Read... [11:18:38]Read from MH i2c: E2 03 00 E3 61 00 90 00 B8 [11:18:38]RAPDU: 90 00 [11:18:38]wFMCommunicate OK [11:18:38]wFMCommunicate request_size=255 [11:18:38]MH_SAM_APDU [11:18:38]CAPDU: 80 0D 02 02 FA 03 00 40 04 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 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 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 [11:18:38]Write to MH i2c: E2 02 01 E4 61 80 0D 02 02 FA 00 03 00 40 04 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 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 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 00 00 4E [11:18:38]Write i2c OK [11:18:38]MH_I2C_Read... [11:18:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:38]Read from MH i2c: E2 [11:18:38]MH_I2C_Read... [11:18:38]Read from MH i2c: E2 03 00 [11:18:38]MH_I2C_Read... [11:18:38]Read from MH i2c: E2 03 00 E4 61 00 90 00 B9 [11:18:38]RAPDU: 90 00 [11:18:38]wFMCommunicate OK [11:18:38]wFMCommunicate request_size=255 [11:18:38]MH_SAM_APDU [11:18:38]CAPDU: 80 0D 02 02 FA F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 31 34 38 32 32 39 35 34 06 04 34 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA D0 BE D0 B2 D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 31 2F 32 30 30 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 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 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 38 37 [11:18:38]Write to MH i2c: E2 02 01 E5 61 80 0D 02 02 FA 00 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 31 34 38 32 32 39 35 34 06 04 34 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA D0 BE D0 B2 D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 31 2F 32 30 30 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 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 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 38 37 00 00 50 [11:18:38]Write i2c OK [11:18:38]MH_I2C_Read... [11:18:38]OFD Sender: No OFD packet to send [11:18:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:39]Read from MH i2c: E2 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 03 00 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 03 00 E5 61 00 90 00 BA [11:18:39]RAPDU: 90 00 [11:18:39]wFMCommunicate OK [11:18:39]wFMCommunicate request_size=255 [11:18:39]MH_SAM_APDU [11:18:39]CAPDU: 80 0D 02 02 FA 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [11:18:39]Write to MH i2c: E2 02 01 E6 61 80 0D 02 02 FA 00 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 1A [11:18:39]Write i2c OK [11:18:39]MH_I2C_Read... [11:18:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:39]Read from MH i2c: E2 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 03 00 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 03 00 E6 61 00 90 00 BB [11:18:39]RAPDU: 90 00 [11:18:39]wFMCommunicate OK [11:18:39]wFMCommunicate request_size=255 [11:18:39]MH_SAM_APDU [11:18:39]CAPDU: 80 0D 02 02 FA 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 40 32 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 20 00 00 00 00 07 04 06 00 40 32 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F [11:18:39]Write to MH i2c: E2 02 01 E7 61 80 0D 02 02 FA 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 40 32 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 20 00 00 00 00 07 04 06 00 40 32 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 00 00 0D [11:18:39]Write i2c OK [11:18:39]MH_I2C_Read... [11:18:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:39]Read from MH i2c: E2 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 03 00 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 03 00 E7 61 00 90 00 BC [11:18:39]RAPDU: 90 00 [11:18:39]wFMCommunicate OK [11:18:39]wFMCommunicate request_size=97 [11:18:39]MH_SAM_APDU [11:18:39]CAPDU: 80 0D 02 02 5C 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 1B E7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 50 0A 00 00 35 04 06 00 43 20 4B E1 F6 C2 [11:18:39]Write to MH i2c: E2 64 00 E8 61 80 0D 02 02 5C 00 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 1B E7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 50 0A 00 00 35 04 06 00 43 20 4B E1 F6 C2 00 00 82 [11:18:39]Write i2c OK [11:18:39]MH_I2C_Read... [11:18:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:39]Read from MH i2c: E2 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 03 00 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 03 00 E8 61 00 90 00 BD [11:18:39]RAPDU: 90 00 [11:18:39]wFMCommunicate OK [11:18:39]wFMCommunicate request_size=4 [11:18:39]MH_SAM_APDU [11:18:39]CAPDU: 80 0D 03 02 [11:18:39]Write to MH i2c: E2 08 00 E9 61 80 0D 03 02 00 00 00 00 C5 [11:18:39]Write i2c OK [11:18:39]MH_I2C_Read... [11:18:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:18:39]Read from MH i2c: E2 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 0B 00 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 0B 00 E9 61 00 D9 ED B1 B7 E3 BF 64 70 90 00 6A [11:18:39]RAPDU: D9 ED B1 B7 E3 BF 64 70 90 00 [11:18:39]wFMCommunicate OK [11:18:39]SAM_PROTO_SignData done [11:18:39]FM_MakeSignedData done [11:18:39]CreateOFDProtocolMessage [11:18:39]wFMCommunicate request_size=4 [11:18:39]MH_SAM_APDU [11:18:39]CAPDU: 80 11 00 00 [11:18:39]Write to MH i2c: E2 08 00 EA 61 80 11 00 00 00 00 00 00 C5 [11:18:39]Write i2c OK [11:18:39]MH_I2C_Read... [11:18:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:18:39]Read from MH i2c: E2 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 17 00 [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: E2 17 00 EA 61 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0D [11:18:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:18:39]wFMCommunicate OK [11:18:39]CreateOFDProtocolMessage done [11:18:39]OFDSenderStorePacket 2640 [11:18:39]StoreOFDPacket docnum=2640 [11:18:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 54 04 00 00 4F 7C 4C 04 CD 5A 5A 03 01 00 03 00 40 04 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 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 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 23 04 78 00 8A 04 0D 00 34 36 30 37 30 31 34 38 32 32 39 35 34 06 04 34 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA D0 BE D0 B2 D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 31 2F 32 30 30 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 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 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 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 40 32 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 20 00 00 00 00 07 04 06 00 40 32 01 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 1B E7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 50 0A 00 00 35 04 06 00 43 20 4B E1 F6 C2 D9 ED B1 B7 E3 BF 64 70 [11:18:39]CheckFolder [11:18:39]dirname=/storage/ofd_packets [11:18:39]CheckFolder done [11:18:39]ProducePacketName [11:18:39]name=ofd_packets/00002640 [11:18:39]NVStorageSaveData ofd_packets/00002640 [11:18:39]File name is /storage/ofd_packets/00002640 [11:18:39]Write 1138 bytes [11:18:39]NVStorageSaveData done [11:18:39]OFDSenderStorePacket done [11:18:39]KKMCreateOFDPacket done [11:18:39]NVStorageSaveData kkm_last_timestamp [11:18:39]File name is /storage/kkm_last_timestamp [11:18:39]Write 4 bytes [11:18:39]NVStorageSaveData done [11:18:39]ExternCall_PrintAddStr [11:18:39]wPrintStart [11:18:39]Write to MH i2c: 01 00 00 EB 61 4C [11:18:39]Write i2c OK [11:18:39]MH_I2C_Read... [11:18:39]Read from MH i2c: 01 [11:18:40]MH_I2C_Read... [11:18:40]Read from MH i2c: 01 07 00 [11:18:40]MH_I2C_Read... [11:18:40]OFD Sender: Processing packet 2640 [packets to send 1, broken 0] [11:18:40]ProducePacketName [11:18:40]name=ofd_packets/00002640 [11:18:40]OFD Sender: To server: pG, [11:18:40]CommunicateWithHost lk.salyk.kg:30040 [11:18:40]ConnectInit lk.salyk.kg [11:18:40]Read from MH i2c: 01 07 00 EB 61 00 00 00 00 00 FF 0F 61 [11:18:40]RasterBufferAndPrint [11:18:40]line Счет N : (3)100019 [11:18:40]line ИНН: 02508201610067 [11:18:40]line Контрольно-Кассовый Чек [11:18:40]line ПРОДАЖА [11:18:40]line Товар: 5449000189356 [11:18:40]line Холодный чай Fuse манго ананас 1л [11:18:40]line 1.000 * 120.00 [11:18:40]line = 120.00 [11:18:40]line НДС 12% НСП 1% [11:18:40]line > о реализуемом товаре [11:18:40]line Товар: 4870002326172 [11:18:40]line Вода ASU пит н.газ лимон ПЭТ 1л [11:18:40]line 1.000 * 100.00 [11:18:40]line = 100.00 [11:18:40]line НДС 12% НСП 1% [11:18:40]line > о реализуемом товаре [11:18:40]line Товар: 4607014822954 [11:18:40]line Садочок 0,2 Персиковый сок 1/200 [11:18:40]line 1.000 * 45.00 [11:18:40]line = 45.00 [11:18:40]line НДС 12% НСП 1% [11:18:40]line > о реализуемом товаре [11:18:40]line Товар: 4870112003925 [11:18:40]line Конд ULKER-Albeni 40gr (6*24) [11:18:40]line 1.000 * 44.00 [11:18:40]line = 44.00 [11:18:40]line НДС 12% НСП 1% [11:18:40]line > о реализуемом товаре [11:18:40]line Товар: 4870002329487 [11:18:40]line Напиток Pepsi 1,5л [11:18:40]line 1.000 * 175.00 [11:18:40]line = 175.00 [11:18:40]line НДС 12% НСП 1% [11:18:40]line > о реализуемом товаре [11:18:40]line Товар: 48742245 [11:18:40]line Сигареты Parliament Silver Blue [11:18:40]line 1.000 * 160.00 [11:18:40]line = 160.00 [11:18:40]line НДС 12% НСП 1% [11:18:40]line > о реализуемом товаре [11:18:40]line Товар: 4660085515163 [11:18:40]line Шок Батончик Сникерс супер 95/80г [11:18:40]line 1.000 * 90.00 [11:18:40]line = 90.00 [11:18:40]line НДС 12% НСП 1% [11:18:40]line > о реализуемом товаре [11:18:40]line Товар: 5449000005489 [11:18:40]line Вода Бонаква 1л б/г [11:18:40]line 1.000 * 50.00 [11:18:40]line = 50.00 [11:18:40]line НДС 12% НСП 1% [11:18:40]line > о реализуемом товаре [11:18:40]line ИТОГО: 784.00 [11:18:40]line НСП 1% : 6.94 [11:18:40]line НДС 12% : 83.25 [11:18:40]line Наличными: 784.00 [11:18:40]line Безнал.: 0.00 [11:18:40]line Место: АЗС № 162 "Партнер Нефть" [11:18:40]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:18:40]line СНО: Общий режим [11:18:40]line Чек 21 20.10.2024 11:18 [11:18:40]line Смена: 24 ФФД: 1.0 [11:18:40]line ЗНМ: 0300000191 [11:18:40]line РНМ: 0000000000207295 [11:18:40]line Версия ККМ: v1.0 [11:18:40]line ФМ: 0000000002342820 [11:18:40]line ФД: 2640 [11:18:40]line ФПД: 73805991114434 [11:18:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T111851&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2640&fm=73805991114434&tin=02508201610067®Number=0000000000207295&sum=78400 [11:18:40]line 0 [11:18:40]written 0, free lines is 4095 [11:18:40]Connected sock=10 [11:18:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 54 04 00 00 4F 7C 4C 04 CD 5A 5A 03 01 00 03 00 40 04 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 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 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 23 04 78 00 8A 04 0D 00 34 36 30 37 30 31 34 38 32 32 39 35 34 06 04 34 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA D0 BE D0 B2 D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 31 2F 32 30 30 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 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 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 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 40 32 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 20 00 00 00 00 07 04 06 00 40 32 01 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 1B E7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 50 0A 00 00 35 04 06 00 43 20 4B E1 F6 C2 D9 ED B1 B7 E3 BF 64 70 [11:18:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 7A 0A 47 00 70 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 50 0A 00 00 F4 03 04 00 7A 92 14 67 B6 04 01 00 00 1C 9A B6 6E 78 14 F2 72 [11:18:40]CommunicateWithHost err = 0 [11:18:40]CheckOFDResponse [11:18:40]1017 (14) - 77093643461234 [11:18:40]1041 (16) - 0000000002342820 [11:18:40]1040 (4) - 2640 [11:18:40]1012 (4) - 20.10.2024 05:17 [11:18:40]1206 (1) - 0 [11:18:40]OFD Sender: Remove packet 2640 [11:18:40]ProducePacketName [11:18:40]name=ofd_packets/00002640 [11:18:40]NVStorageDeleteData [11:18:41]Write to MH i2c: 01 00 00 42 62 A4 [11:18:41]Write i2c OK [11:18:41]MH_I2C_Read... [11:18:41]Read from MH i2c: 01 [11:18:41]MH_I2C_Read... [11:18:41]Read from MH i2c: 01 07 00 [11:18:41]MH_I2C_Read... [11:18:41]Read from MH i2c: 01 07 00 42 62 00 00 00 00 00 81 09 35 [11:18:41]RasterBufferAndPrint [11:18:41]line [11:18:41]line [11:18:41]line [11:18:41]line [11:18:41]line [11:18:41]written 0, free lines is 2444 [11:18:41]MH_Cut [11:18:41]Write to MH i2c: D1 01 00 49 62 01 7D [11:18:41]Write i2c OK [11:18:41]MH_I2C_Read... [11:18:41]Read from MH i2c: D1 [11:18:41]MH_I2C_Read... [11:18:41]Read from MH i2c: D1 01 00 [11:18:41]MH_I2C_Read... [11:18:41]Read from MH i2c: D1 01 00 49 62 00 7C [11:18:41]Write to MH i2c: 01 00 00 4A 62 AC [11:18:41]Write i2c OK [11:18:41]MH_I2C_Read... [11:18:41]OFD Sender: No OFD packet to send [11:18:42]*** Cut start [11:18:42]*** Partial cut [11:18:42]*** CUTSNS_PIN = 1 [11:18:42]*** CUTSNS_PIN = 0 [11:18:43]*** Brake cut motor [11:18:43]Read from MH i2c: 01 [11:18:43]MH_I2C_Read... [11:18:43]*** Stop cut motor [11:18:43]*** Cut end [11:18:43]Read from MH i2c: 01 07 00 [11:18:43]MH_I2C_Read... [11:18:43]Read from MH i2c: 01 07 00 4A 62 00 00 00 00 00 FF 0F C1 [11:18:43]process_action close_receipt done [11:18:43]requested_data is exist [11:18:43]produce_requested_data [11:18:43]requested_item fm.sn is exist - process it [11:18:43]wFMCommunicate request_size=4 [11:18:43]MH_SAM_APDU [11:18:43]CAPDU: 80 11 00 00 [11:18:43]Write to MH i2c: E2 08 00 4B 62 80 11 00 00 00 00 00 00 27 [11:18:43]Write i2c OK [11:18:43]MH_I2C_Read... [11:18:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:18:43]Read from MH i2c: E2 [11:18:43]MH_I2C_Read... [11:18:43]Read from MH i2c: E2 17 00 [11:18:43]MH_I2C_Read... [11:18:43]Read from MH i2c: E2 17 00 4B 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6F [11:18:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:18:43]wFMCommunicate OK [11:18:43]requested_item fd.num is exist - process it [11:18:43]SAM_PROTO_GetFieldsCounters [11:18:43]wFMCommunicate request_size=4 [11:18:43]MH_SAM_APDU [11:18:43]CAPDU: 80 13 00 00 [11:18:43]Write to MH i2c: E2 08 00 4C 62 80 13 00 00 00 00 00 00 2A [11:18:43]Write i2c OK [11:18:43]MH_I2C_Read... [11:18:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:18:43]Read from MH i2c: E2 [11:18:43]MH_I2C_Read... [11:18:43]Read from MH i2c: E2 62 00 [11:18:43]MH_I2C_Read... [11:18:43]Read from MH i2c: E2 62 00 4C 62 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 50 0A 00 00 0E 04 04 00 18 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 F1 [11:18:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 50 0A 00 00 0E 04 04 00 18 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 [11:18:43]wFMCommunicate OK [11:18:43]SAM_PROTO_GetFieldsCounters done [11:18:43]requested_item shift.num is exist - process it [11:18:43]requested_item shift.opened is exist - process it [11:18:43]req_shift_opened [11:18:43]FM_GetShiftState [11:18:43]SAM_PROTO_GetShiftState [11:18:43]wFMCommunicate request_size=4 [11:18:43]MH_SAM_APDU [11:18:43]CAPDU: 80 13 01 00 [11:18:43]Write to MH i2c: E2 08 00 4D 62 80 13 01 00 00 00 00 00 2C [11:18:43]Write i2c OK [11:18:43]MH_I2C_Read... [11:18:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:18:43]Read from MH i2c: E2 [11:18:43]MH_I2C_Read... [11:18:43]Read from MH i2c: E2 0E 00 [11:18:43]MH_I2C_Read... [11:18:43]Read from MH i2c: E2 0E 00 4D 62 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 16 [11:18:43]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:18:43]wFMCommunicate OK [11:18:43]SAM_PROTO_GetShiftState done [11:18:43]FM_GetShiftState done [11:18:43]req_shift_opened done [11:18:43]requested_item shift.open_date is exist - process it [11:18:43]req_shift_open_date [11:18:43]req_shift_open_date done [11:18:43]produce_requested_data done [11:18:43]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2640,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:18:43]process_action_free close_receipt [11:18:43]json_value_free [11:18:43]json_value_free done [11:18:43]process_json_proto returns [11:18:43]Send response to host [11:18:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2640,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:18:43]free response buf [11:18:43]execute_script done [11:18:43]execute_script returns [11:18:43]free content buf [11:18:43]Sock 7.Close socket [11:18:43]Sock 7.Thread stoped [11:18:46]OFD Sender: No OFD packet to send [11:18:51]OFD Sender: No OFD packet to send [11:18:56]OFD Sender: No OFD packet to send [11:19:01]OFD Sender: No OFD packet to send [11:19:06]OFD Sender: No OFD packet to send [11:19:11]OFD Sender: No OFD packet to send [11:19:16]OFD Sender: No OFD packet to send [11:19:21]OFD Sender: No OFD packet to send [11:19:26]OFD Sender: No OFD packet to send [11:19:31]OFD Sender: No OFD packet to send [11:19:36]OFD Sender: No OFD packet to send [11:19:41]OFD Sender: No OFD packet to send [11:19:46]OFD Sender: No OFD packet to send [11:19:51]OFD Sender: No OFD packet to send [11:19:56]OFD Sender: No OFD packet to send [11:20:01]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:16]OFD Sender: No OFD packet to send [11:20:21]OFD Sender: No OFD packet to send [11:20:26]OFD Sender: No OFD packet to send [11:20:31]OFD Sender: No OFD packet to send [11:20:36]OFD Sender: No OFD packet to send [11:20:41]OFD Sender: No OFD packet to send [11:20:46]OFD Sender: No OFD packet to send [11:20:51]OFD Sender: No OFD packet to send [11:20:56]OFD Sender: No OFD packet to send [11:21:01]OFD Sender: No OFD packet to send [11:21:06]OFD Sender: No OFD packet to send [11:21:11]OFD Sender: No OFD packet to send [11:21:16]OFD Sender: No OFD packet to send [11:21:21]OFD Sender: No OFD packet to send [11:21:26]OFD Sender: No OFD packet to send [11:21:31]OFD Sender: No OFD packet to send [11:21:36]OFD Sender: No OFD packet to send [11:21:41]OFD Sender: No OFD packet to send [11:21:46]OFD Sender: No OFD packet to send [11:21:51]OFD Sender: No OFD packet to send [11:21:56]OFD Sender: No OFD packet to send [11:22:01]OFD Sender: No OFD packet to send [11:22:06]OFD Sender: No OFD packet to send [11:22:11]OFD Sender: No OFD packet to send [11:22:16]OFD Sender: No OFD packet to send [11:22:21]OFD Sender: No OFD packet to send [11:22:26]OFD Sender: No OFD packet to send [11:22:31]OFD Sender: No OFD packet to send [11:22:36]OFD Sender: No OFD packet to send [11:22:41]OFD Sender: No OFD packet to send [11:22:46]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]OFD Sender: No OFD packet to send [11:23:41]OFD Sender: No OFD packet to send [11:23:46]OFD Sender: No OFD packet to send [11:23:51]OFD Sender: No OFD packet to send [11:23:56]OFD Sender: No OFD packet to send [11:24:01]OFD Sender: No OFD packet to send [11:24:06]OFD Sender: No OFD packet to send [11:24:11]OFD Sender: No OFD packet to send [11:24:16]OFD Sender: No OFD packet to send [11:24:21]OFD Sender: No OFD packet to send [11:24:26]OFD Sender: No OFD packet to send [11:24:31]OFD Sender: No OFD packet to send [11:24:36]OFD Sender: No OFD packet to send [11:24:41]OFD Sender: No OFD packet to send [11:24:46]OFD Sender: No OFD packet to send [11:24:51]OFD Sender: No OFD packet to send [11:24:56]OFD Sender: No OFD packet to send [11:25:01]OFD Sender: No OFD packet to send [11:25:06]OFD Sender: No OFD packet to send [11:25:11]OFD Sender: No OFD packet to send [11:25:16]OFD Sender: No OFD packet to send [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]OFD Sender: No OFD packet to send [11:27:41]OFD Sender: No OFD packet to send [11:27:46]OFD Sender: No OFD packet to send [11:27:51]OFD Sender: No OFD packet to send [11:27:56]OFD Sender: No OFD packet to send [11:28:01]OFD Sender: No OFD packet to send [11:28:06]OFD Sender: No OFD packet to send [11:28:11]OFD Sender: No OFD packet to send [11:28:16]OFD Sender: No OFD packet to send [11:28:21]OFD Sender: No OFD packet to send [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:36]OFD Sender: No OFD packet to send [11:28:41]OFD Sender: No OFD packet to send [11:28:46]OFD Sender: No OFD packet to send [11:28:51]OFD Sender: No OFD packet to send [11:28:56]OFD Sender: No OFD packet to send [11:29:01]OFD Sender: No OFD packet to send [11:29:06]OFD Sender: No OFD packet to send [11:29:11]OFD Sender: No OFD packet to send [11:29:16]OFD Sender: No OFD packet to send [11:29:21]OFD Sender: No OFD packet to send [11:29:26]OFD Sender: No OFD packet to send [11:29:31]OFD Sender: No OFD packet to send [11:29:36]OFD Sender: No OFD packet to send [11:29:41]OFD Sender: No OFD packet to send [11:29:46]OFD Sender: No OFD packet to send [11:29:51]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:43]accept exits with 9 [11:30:43]New connection [11:30:43]New thread 3066707300 created [11:30:43]Thread 3066850660 joined [11:30:43]Waiting for new connection... [11:30:43] Sock 9.Parse request [11:30:43]Sock 9.Check first char [11:30:43]Sock 9.First char is OK [11:30:43]request: POST /json_proto HTTP/1.0 [11:30:43]Method: POST [11:30:43]URL: /json_proto [11:30:43]Method is POST - this is cgi request [11:30:43]url: /json_proto [11:30:43]query_string will be loaded in cgi processing [11:30:43]execute_cgi json_proto POST (null) [11:30:43]execute_cgi path=json_proto method=POST [11:30:43]POST find Content-Length [11:30:43]Host: 172.17.52.132:8080 [11:30:43]Content-Length: 917 [11:30:43]Content-Type: application/json [11:30:43] [11:30:43]POST finish read [11:30:43]Found Content-Length = 917 [11:30:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100020", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.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" ] } } [11:30:43]execute_script... [11:30: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)100020", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.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" ] } } [11:30:43]POST & json_proto [11:30:43]process_json_proto [11:30:43]json parsed OK: [11:30:43]protocol is kg_v1.0 [11:30:43]action value=close_receipt [11:30:43]process_action close_receipt [11:30:43]cmd_close_receipt [11:30:43]MH_GetDate [11:30:43]Write to MH i2c: F0 00 00 4E 62 9F [11:30:43]Write i2c OK [11:30:43]MH_I2C_Read... [11:30:43]Read from MH i2c: F0 [11:30:43]MH_I2C_Read... [11:30:43]Read from MH i2c: F0 09 00 [11:30:43]MH_I2C_Read... [11:30:43]Read from MH i2c: F0 09 00 4E 62 00 F2 E9 14 67 5A BE F6 66 72 [11:30:43]GetLastDocTimeStamp 1729423131 [11:30:43]current date 1729423858 [11:30:43]FM_GetShiftState [11:30:43]SAM_PROTO_GetShiftState [11:30:43]wFMCommunicate request_size=4 [11:30:43]MH_SAM_APDU [11:30:43]CAPDU: 80 13 01 00 [11:30:43]Write to MH i2c: E2 08 00 4F 62 80 13 01 00 00 00 00 00 2E [11:30:43]Write i2c OK [11:30:43]MH_I2C_Read... [11:30:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:43]Read from MH i2c: E2 [11:30:43]MH_I2C_Read... [11:30:43]Read from MH i2c: E2 0E 00 [11:30:43]MH_I2C_Read... [11:30:43]Read from MH i2c: E2 0E 00 4F 62 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 18 [11:30:43]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:30:43]wFMCommunicate OK [11:30:43]SAM_PROTO_GetShiftState done [11:30:43]FM_GetShiftState done [11:30:43]opened in 1729382427 [11:30:43]opened+sec_in_day 1729468827 [11:30:43]quantity*price = 6000 [11:30:43]sum+1 = 6001 [11:30:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860019001414 Вода Боржоми 0,75л ПЭТ 1.000 * 165.00 = 165.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 22 20.10.2024 11:30 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2641 ФПД: 40486781724533 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113058&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2641&fm=40486781724533&tin=02508201610067®Number=0000000000207295&sum=22500 0 [11:30:45]StoreToDocumentArchive [11:30:45]shift 24 fd 2641 [11:30:45]save to /storage/0024/doc_00002641 [11:30:45]save last doc name /storage/0024/doc_00002641 to /storage/kkm_last_doc_name [11:30:45]save OK [11:30:45]Clear old archive folders... [11:30:45]ProcessDocumentItem done err = 0, tmpTLVsize=385 [11:30:45]tlvbuf is 01399CD0 [11:30:45]SAM_PROTO_ClearQueue [11:30:45]wFMCommunicate request_size=4 [11:30:45]MH_SAM_APDU [11:30:45]CAPDU: 80 09 00 00 [11:30:45]Write to MH i2c: E2 08 00 5C 62 80 09 00 00 00 00 00 00 30 [11:30:45]Write i2c OK [11:30:45]MH_I2C_Read... [11:30:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:30:45]Read from MH i2c: E2 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 03 00 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 03 00 5C 62 00 90 00 32 [11:30:45]RAPDU: 90 00 [11:30:45]wFMCommunicate OK [11:30:45]SAM_PROTO_ClearQueue done [11:30:45]KKMCreateOFDPacket [11:30:45]OFDProtocolAddRootSTLVToBuf [11:30:45]FM_MakeSignedData [11:30:45]FM_MakeSignedData [11:30:45]SAM_PROTO_SignData [11:30:45]wFMCommunicate request_size=4 [11:30:45]MH_SAM_APDU [11:30:45]CAPDU: 80 0D 01 02 [11:30:45]Write to MH i2c: E2 08 00 5D 62 80 0D 01 02 00 00 00 00 38 [11:30:45]Write i2c OK [11:30:45]MH_I2C_Read... [11:30:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:30:45]Read from MH i2c: E2 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 03 00 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 03 00 5D 62 00 90 00 33 [11:30:45]RAPDU: 90 00 [11:30:45]wFMCommunicate OK [11:30:45]wFMCommunicate request_size=255 [11:30:45]MH_SAM_APDU [11:30:45]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [11:30:45]Write to MH i2c: E2 02 01 5E 62 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 B2 [11:30:45]Write i2c OK [11:30:45]MH_I2C_Read... [11:30:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:45]Read from MH i2c: E2 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 03 00 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 03 00 5E 62 00 90 00 34 [11:30:45]RAPDU: 90 00 [11:30:45]wFMCommunicate OK [11:30:45]wFMCommunicate request_size=144 [11:30:45]MH_SAM_APDU [11:30:45]CAPDU: 80 0D 02 02 8B 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 16 00 00 00 F4 03 04 00 F2 E9 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 51 0A 00 00 35 04 06 00 24 D2 90 3E 27 75 [11:30:45]Write to MH i2c: E2 93 00 5F 62 80 0D 02 02 8B 00 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 16 00 00 00 F4 03 04 00 F2 E9 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 51 0A 00 00 35 04 06 00 24 D2 90 3E 27 75 00 00 12 [11:30:45]Write i2c OK [11:30:45]MH_I2C_Read... [11:30:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:45]Read from MH i2c: E2 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 03 00 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 03 00 5F 62 00 90 00 35 [11:30:45]RAPDU: 90 00 [11:30:45]wFMCommunicate OK [11:30:45]wFMCommunicate request_size=4 [11:30:45]MH_SAM_APDU [11:30:45]CAPDU: 80 0D 03 02 [11:30:45]Write to MH i2c: E2 08 00 60 62 80 0D 03 02 00 00 00 00 3D [11:30:45]Write i2c OK [11:30:45]MH_I2C_Read... [11:30:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:30:45]Read from MH i2c: E2 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 0B 00 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 0B 00 60 62 00 12 9E A4 7B 50 68 45 92 90 00 9C [11:30:45]RAPDU: 12 9E A4 7B 50 68 45 92 90 00 [11:30:45]wFMCommunicate OK [11:30:45]SAM_PROTO_SignData done [11:30:45]FM_MakeSignedData done [11:30:45]CreateOFDProtocolMessage [11:30:45]wFMCommunicate request_size=4 [11:30:45]MH_SAM_APDU [11:30:45]CAPDU: 80 11 00 00 [11:30:45]Write to MH i2c: E2 08 00 61 62 80 11 00 00 00 00 00 00 3D [11:30:45]Write i2c OK [11:30:45]MH_I2C_Read... [11:30:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:45]Read from MH i2c: E2 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 17 00 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: E2 17 00 61 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 85 [11:30:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:30:45]wFMCommunicate OK [11:30:45]CreateOFDProtocolMessage done [11:30:45]OFDSenderStorePacket 2641 [11:30:45]StoreOFDPacket docnum=2641 [11:30:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 95 01 00 00 4F 96 8D 01 12 42 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 16 00 00 00 F4 03 04 00 F2 E9 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 51 0A 00 00 35 04 06 00 24 D2 90 3E 27 75 12 9E A4 7B 50 68 45 92 [11:30:45]CheckFolder [11:30:45]dirname=/storage/ofd_packets [11:30:45]CheckFolder done [11:30:45]ProducePacketName [11:30:45]name=ofd_packets/00002641 [11:30:45]NVStorageSaveData ofd_packets/00002641 [11:30:45]File name is /storage/ofd_packets/00002641 [11:30:45]Write 435 bytes [11:30:45]NVStorageSaveData done [11:30:45]OFDSenderStorePacket done [11:30:45]KKMCreateOFDPacket done [11:30:45]NVStorageSaveData kkm_last_timestamp [11:30:45]File name is /storage/kkm_last_timestamp [11:30:45]Write 4 bytes [11:30:45]NVStorageSaveData done [11:30:45]ExternCall_PrintAddStr [11:30:45]wPrintStart [11:30:45]Write to MH i2c: 01 00 00 62 62 C4 [11:30:45]Write i2c OK [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: 01 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: 01 07 00 [11:30:45]MH_I2C_Read... [11:30:45]Read from MH i2c: 01 07 00 62 62 00 00 00 00 00 FF 0F D9 [11:30:45]RasterBufferAndPrint [11:30:46]line Счет N : (3)100020 [11:30:46]line ИНН: 02508201610067 [11:30:46]line Контрольно-Кассовый Чек [11:30:46]line ПРОДАЖА [11:30:46]line Товар: 4700000310043 [11:30:46]line Вода Жалалабат 27 1л [11:30:46]line 1.000 * 60.00 [11:30:46]line = 60.00 [11:30:46]line НДС 12% НСП 1% [11:30:46]line > о реализуемом товаре [11:30:46]line Товар: 4860019001414 [11:30:46]line Вода Боржоми 0,75л ПЭТ [11:30:46]line 1.000 * 165.00 [11:30:46]line = 165.00 [11:30:46]line НДС 12% НСП 1% [11:30:46]line > о реализуемом товаре [11:30:46]line ИТОГО: 225.00 [11:30:46]line НСП 1% : 1.99 [11:30:46]line НДС 12% : 23.89 [11:30:46]line Наличными: 225.00 [11:30:46]line Безнал.: 0.00 [11:30:46]line Место: АЗС № 162 "Партнер Нефть" [11:30:46]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:30:46]line СНО: Общий режим [11:30:46]line Чек 22 20.10.2024 11:30 [11:30:46]line Смена: 24 ФФД: 1.0 [11:30:46]line ЗНМ: 0300000191 [11:30:46]line РНМ: 0000000000207295 [11:30:46]line Версия ККМ: v1.0 [11:30:46]line ФМ: 0000000002342820 [11:30:46]line ФД: 2641 [11:30:46]line ФПД: 40486781724533 [11:30:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113058&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2641&fm=40486781724533&tin=02508201610067®Number=0000000000207295&sum=22500 [11:30:46]line 0 [11:30:46]OFD Sender: Processing packet 2641 [packets to send 1, broken 0] [11:30:46]ProducePacketName [11:30:46]name=ofd_packets/00002641 [11:30:46]OFD Sender: To server: pG, [11:30:46]CommunicateWithHost lk.salyk.kg:30040 [11:30:46]ConnectInit lk.salyk.kg [11:30:46]written 0, free lines is 4095 [11:30:46]Connected sock=10 [11:30:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 95 01 00 00 4F 96 8D 01 12 42 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 16 00 00 00 F4 03 04 00 F2 E9 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 51 0A 00 00 35 04 06 00 24 D2 90 3E 27 75 12 9E A4 7B 50 68 45 92 [11:30:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D4 F2 47 00 2E 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 51 0A 00 00 F4 03 04 00 50 95 14 67 B6 04 01 00 00 91 7B 2F FA 10 A2 68 14 [11:30:46]CommunicateWithHost err = 0 [11:30:46]CheckOFDResponse [11:30:46]1017 (14) - 77093643461234 [11:30:46]1041 (16) - 0000000002342820 [11:30:46]1040 (4) - 2641 [11:30:46]1012 (4) - 20.10.2024 05:29 [11:30:46]1206 (1) - 0 [11:30:46]OFD Sender: Remove packet 2641 [11:30:46]ProducePacketName [11:30:46]name=ofd_packets/00002641 [11:30:46]NVStorageDeleteData [11:30:46]Write to MH i2c: 01 00 00 90 62 F2 [11:30:46]Write i2c OK [11:30:46]MH_I2C_Read... [11:30:46]Read from MH i2c: 01 [11:30:46]MH_I2C_Read... [11:30:46]Read from MH i2c: 01 07 00 [11:30:46]MH_I2C_Read... [11:30:46]Read from MH i2c: 01 07 00 90 62 00 00 00 00 00 54 0C 59 [11:30:46]RasterBufferAndPrint [11:30:46]line [11:30:46]line [11:30:46]line [11:30:46]line [11:30:46]line [11:30:46]written 0, free lines is 3162 [11:30:46]MH_Cut [11:30:46]Write to MH i2c: D1 01 00 97 62 01 CB [11:30:46]Write i2c OK [11:30:46]MH_I2C_Read... [11:30:46]Read from MH i2c: D1 [11:30:46]MH_I2C_Read... [11:30:46]Read from MH i2c: D1 01 00 [11:30:46]MH_I2C_Read... [11:30:46]Read from MH i2c: D1 01 00 97 62 00 CA [11:30:46]Write to MH i2c: 01 00 00 98 62 FA [11:30:46]Write i2c OK [11:30:46]MH_I2C_Read... [11:30:46]OFD Sender: No OFD packet to send [11:30:47]*** Cut start [11:30:47]*** Partial cut [11:30:47]*** CUTSNS_PIN = 1 [11:30:47]*** CUTSNS_PIN = 0 [11:30:47]*** Brake cut motor [11:30:48]Read from MH i2c: 01 [11:30:48]MH_I2C_Read... [11:30:48]*** Stop cut motor [11:30:48]*** Cut end [11:30:48]Read from MH i2c: 01 07 00 [11:30:48]MH_I2C_Read... [11:30:48]Read from MH i2c: 01 07 00 98 62 00 00 00 00 00 FF 0F 0F [11:30:48]process_action close_receipt done [11:30:48]requested_data is exist [11:30:48]produce_requested_data [11:30:48]requested_item fm.sn is exist - process it [11:30:48]wFMCommunicate request_size=4 [11:30:48]MH_SAM_APDU [11:30:48]CAPDU: 80 11 00 00 [11:30:48]Write to MH i2c: E2 08 00 99 62 80 11 00 00 00 00 00 00 75 [11:30:48]Write i2c OK [11:30:48]MH_I2C_Read... [11:30:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:48]Read from MH i2c: E2 [11:30:48]MH_I2C_Read... [11:30:48]Read from MH i2c: E2 17 00 [11:30:48]MH_I2C_Read... [11:30:48]Read from MH i2c: E2 17 00 99 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 BD [11:30:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:30:48]wFMCommunicate OK [11:30:48]requested_item fd.num is exist - process it [11:30:48]SAM_PROTO_GetFieldsCounters [11:30:48]wFMCommunicate request_size=4 [11:30:48]MH_SAM_APDU [11:30:48]CAPDU: 80 13 00 00 [11:30:48]Write to MH i2c: E2 08 00 9A 62 80 13 00 00 00 00 00 00 78 [11:30:48]Write i2c OK [11:30:48]MH_I2C_Read... [11:30:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:30:48]Read from MH i2c: E2 [11:30:48]MH_I2C_Read... [11:30:48]Read from MH i2c: E2 62 00 [11:30:48]MH_I2C_Read... [11:30:48]Read from MH i2c: E2 62 00 9A 62 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 51 0A 00 00 0E 04 04 00 18 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 43 [11:30:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 51 0A 00 00 0E 04 04 00 18 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 [11:30:48]wFMCommunicate OK [11:30:48]SAM_PROTO_GetFieldsCounters done [11:30:48]requested_item shift.num is exist - process it [11:30:48]requested_item shift.opened is exist - process it [11:30:48]req_shift_opened [11:30:48]FM_GetShiftState [11:30:48]SAM_PROTO_GetShiftState [11:30:48]wFMCommunicate request_size=4 [11:30:48]MH_SAM_APDU [11:30:48]CAPDU: 80 13 01 00 [11:30:48]Write to MH i2c: E2 08 00 9B 62 80 13 01 00 00 00 00 00 7A [11:30:48]Write i2c OK [11:30:48]MH_I2C_Read... [11:30:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:48]Read from MH i2c: E2 [11:30:48]MH_I2C_Read... [11:30:48]Read from MH i2c: E2 0E 00 [11:30:48]MH_I2C_Read... [11:30:48]Read from MH i2c: E2 0E 00 9B 62 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 64 [11:30:48]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:30:48]wFMCommunicate OK [11:30:48]SAM_PROTO_GetShiftState done [11:30:48]FM_GetShiftState done [11:30:48]req_shift_opened done [11:30:48]requested_item shift.open_date is exist - process it [11:30:48]req_shift_open_date [11:30:48]req_shift_open_date done [11:30:48]produce_requested_data done [11:30:48]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2641,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:30:48]process_action_free close_receipt [11:30:48]json_value_free [11:30:48]json_value_free done [11:30:48]process_json_proto returns [11:30:48]Send response to host [11:30:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2641,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:30:48]free response buf [11:30:48]execute_script done [11:30:48]execute_script returns [11:30:48]free content buf [11:30:48]Sock 9.Close socket [11:30:48]Sock 9.Thread stoped [11:30:51]OFD Sender: No OFD packet to send [11:30:56]OFD Sender: No OFD packet to send [11:31:01]OFD Sender: No OFD packet to send [11:31:06]OFD Sender: No OFD packet to send [11:31:11]OFD Sender: No OFD packet to send [11:31:16]OFD Sender: No OFD packet to send [11:31:21]OFD Sender: No OFD packet to send [11:31:26]OFD Sender: No OFD packet to send [11:31:31]OFD Sender: No OFD packet to send [11:31:36]OFD Sender: No OFD packet to send [11:31:41]OFD Sender: No OFD packet to send [11:31:46]OFD Sender: No OFD packet to send [11:31:51]OFD Sender: No OFD packet to send [11:31:56]OFD Sender: No OFD packet to send [11:32:01]OFD Sender: No OFD packet to send [11:32:06]OFD Sender: No OFD packet to send [11:32:11]OFD Sender: No OFD packet to send [11:32:16]OFD Sender: No OFD packet to send [11:32:21]OFD Sender: No OFD packet to send [11:32:26]OFD Sender: No OFD packet to send [11:32:31]OFD Sender: No OFD packet to send [11:32:36]OFD Sender: No OFD packet to send [11:32:41]OFD Sender: No OFD packet to send [11:32:46]OFD Sender: No OFD packet to send [11:32:51]accept exits with 7 [11:32:51]New connection [11:32:51]New thread 3066850660 created [11:32:51]Thread 3066707300 joined [11:32:51]Waiting for new connection... [11:32:51] Sock 7.Parse request [11:32:51]Sock 7.Check first char [11:32:51]Sock 7.First char is OK [11:32:51]request: POST /json_proto HTTP/1.0 [11:32:51]Method: POST [11:32:51]URL: /json_proto [11:32:51]Method is POST - this is cgi request [11:32:51]url: /json_proto [11:32:51]query_string will be loaded in cgi processing [11:32:51]execute_cgi json_proto POST (null) [11:32:51]execute_cgi path=json_proto method=POST [11:32:51]POST find Content-Length [11:32:51]Host: 172.17.52.132:8080 [11:32:51]Content-Length: 856 [11:32:51]Content-Type: application/json [11:32:51] [11:32:51]POST finish read [11:32:51]Found Content-Length = 856 [11:32:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100021", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:32:51]execute_script... [11:32: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)100021", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:32:51]POST & json_proto [11:32:51]process_json_proto [11:32:51]json parsed OK: [11:32:51]protocol is kg_v1.0 [11:32:51]action value=close_receipt [11:32:51]process_action close_receipt [11:32:51]cmd_close_receipt [11:32:51]MH_GetDate [11:32:51]Write to MH i2c: F0 00 00 9C 62 ED [11:32:51]Write i2c OK [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: F0 [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: F0 09 00 [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: F0 09 00 9C 62 00 72 EA 14 67 5A BE F6 66 41 [11:32:51]GetLastDocTimeStamp 1729423858 [11:32:51]current date 1729423986 [11:32:51]FM_GetShiftState [11:32:51]SAM_PROTO_GetShiftState [11:32:51]wFMCommunicate request_size=4 [11:32:51]MH_SAM_APDU [11:32:51]CAPDU: 80 13 01 00 [11:32:51]Write to MH i2c: E2 08 00 9D 62 80 13 01 00 00 00 00 00 7C [11:32:51]Write i2c OK [11:32:51]MH_I2C_Read... [11:32:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:32:51]Read from MH i2c: E2 [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: E2 0E 00 [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: E2 0E 00 9D 62 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 66 [11:32:51]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:32:51]wFMCommunicate OK [11:32:51]SAM_PROTO_GetShiftState done [11:32:51]FM_GetShiftState done [11:32:51]opened in 1729382427 [11:32:51]opened+sec_in_day 1729468827 [11:32:51]quantity*price = 14400 [11:32:51]sum+1 = 14401 [11:32:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47802995 Сигареты Winston XS Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.54 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 23 20.10.2024 11:33 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2642 ФПД: 131749310549866 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113306&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2642&fm=131749310549866&tin=02508201610067®Number=0000000000207295&sum=28800 0 [11:32:52]StoreToDocumentArchive [11:32:52]shift 24 fd 2642 [11:32:52]save to /storage/0024/doc_00002642 [11:32:52]save last doc name /storage/0024/doc_00002642 to /storage/kkm_last_doc_name [11:32:52]save OK [11:32:52]Clear old archive folders... [11:32:52]ProcessDocumentItem done err = 0, tmpTLVsize=374 [11:32:52]tlvbuf is 01517A20 [11:32:52]SAM_PROTO_ClearQueue [11:32:52]wFMCommunicate request_size=4 [11:32:52]MH_SAM_APDU [11:32:52]CAPDU: 80 09 00 00 [11:32:52]Write to MH i2c: E2 08 00 AA 62 80 09 00 00 00 00 00 00 7E [11:32:52]Write i2c OK [11:32:52]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 03 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 03 00 AA 62 00 90 00 80 [11:32:53]RAPDU: 90 00 [11:32:53]wFMCommunicate OK [11:32:53]SAM_PROTO_ClearQueue done [11:32:53]KKMCreateOFDPacket [11:32:53]OFDProtocolAddRootSTLVToBuf [11:32:53]FM_MakeSignedData [11:32:53]FM_MakeSignedData [11:32:53]SAM_PROTO_SignData [11:32:53]wFMCommunicate request_size=4 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 0D 01 02 [11:32:53]Write to MH i2c: E2 08 00 AB 62 80 0D 01 02 00 00 00 00 86 [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 03 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 03 00 AB 62 00 90 00 81 [11:32:53]RAPDU: 90 00 [11:32:53]wFMCommunicate OK [11:32:53]wFMCommunicate request_size=255 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 0D 02 02 FA 03 00 76 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 [11:32:53]Write to MH i2c: E2 02 01 AC 62 80 0D 02 02 FA 00 03 00 76 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 00 00 B3 [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 03 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 03 00 AC 62 00 90 00 82 [11:32:53]RAPDU: 90 00 [11:32:53]wFMCommunicate OK [11:32:53]wFMCommunicate request_size=133 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 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 72 EA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 52 0A 00 00 35 04 06 00 77 D3 46 DA CF 6A [11:32:53]Write to MH i2c: E2 88 00 AD 62 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 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 72 EA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 52 0A 00 00 35 04 06 00 77 D3 46 DA CF 6A 00 00 9D [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 03 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 03 00 AD 62 00 90 00 83 [11:32:53]RAPDU: 90 00 [11:32:53]wFMCommunicate OK [11:32:53]wFMCommunicate request_size=4 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 0D 03 02 [11:32:53]Write to MH i2c: E2 08 00 AE 62 80 0D 03 02 00 00 00 00 8B [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 0B 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 0B 00 AE 62 00 A6 AC B4 FA 9B 12 B0 C8 90 00 B1 [11:32:53]RAPDU: A6 AC B4 FA 9B 12 B0 C8 90 00 [11:32:53]wFMCommunicate OK [11:32:53]SAM_PROTO_SignData done [11:32:53]FM_MakeSignedData done [11:32:53]CreateOFDProtocolMessage [11:32:53]wFMCommunicate request_size=4 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 11 00 00 [11:32:53]Write to MH i2c: E2 08 00 AF 62 80 11 00 00 00 00 00 00 8B [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 17 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 17 00 AF 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D3 [11:32:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:32:53]wFMCommunicate OK [11:32:53]CreateOFDProtocolMessage done [11:32:53]OFDSenderStorePacket 2642 [11:32:53]StoreOFDPacket docnum=2642 [11:32:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8A 01 00 00 71 C5 82 01 27 A4 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 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 72 EA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 52 0A 00 00 35 04 06 00 77 D3 46 DA CF 6A A6 AC B4 FA 9B 12 B0 C8 [11:32:53]CheckFolder [11:32:53]dirname=/storage/ofd_packets [11:32:53]CheckFolder done [11:32:53]ProducePacketName [11:32:53]name=ofd_packets/00002642 [11:32:53]NVStorageSaveData ofd_packets/00002642 [11:32:53]File name is /storage/ofd_packets/00002642 [11:32:53]Write 424 bytes [11:32:53]NVStorageSaveData done [11:32:53]OFDSenderStorePacket done [11:32:53]KKMCreateOFDPacket done [11:32:53]NVStorageSaveData kkm_last_timestamp [11:32:53]File name is /storage/kkm_last_timestamp [11:32:53]Write 4 bytes [11:32:53]NVStorageSaveData done [11:32:53]ExternCall_PrintAddStr [11:32:53]wPrintStart [11:32:53]Write to MH i2c: 01 00 00 B0 62 12 [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: 01 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: 01 07 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: 01 07 00 B0 62 00 00 00 00 00 FF 0F 27 [11:32:53]RasterBufferAndPrint [11:32:53]line Счет N : (3)100021 [11:32:53]line ИНН: 02508201610067 [11:32:53]line Контрольно-Кассовый Чек [11:32:53]line ПРОДАЖА [11:32:53]line Товар: 48743570 [11:32:53]line Сигареты Winston XStyle Blue [11:32:53]line 1.000 * 144.00 [11:32:53]line = 144.00 [11:32:53]line НДС 12% НСП 1% [11:32:53]line > о реализуемом товаре [11:32:53]line Товар: 47802995 [11:32:53]line Сигареты Winston XS Silver [11:32:53]line 1.000 * 144.00 [11:32:53]line = 144.00 [11:32:53]line НДС 12% НСП 1% [11:32:53]line > о реализуемом товаре [11:32:53]line ИТОГО: 288.00 [11:32:53]line НСП 1% : 2.54 [11:32:53]line НДС 12% : 30.58 [11:32:53]line Наличными: 288.00 [11:32:53]line Безнал.: 0.00 [11:32:53]line Место: АЗС № 162 "Партнер Нефть" [11:32:53]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:32:53]line СНО: Общий режим [11:32:53]line Чек 23 20.10.2024 11:33 [11:32:53]line Смена: 24 ФФД: 1.0 [11:32:53]line ЗНМ: 0300000191 [11:32:53]line РНМ: 0000000000207295 [11:32:53]line Версия ККМ: v1.0 [11:32:53]line ФМ: 0000000002342820 [11:32:53]line ФД: 2642 [11:32:53]line ФПД: 131749310549866 [11:32:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113306&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2642&fm=131749310549866&tin=02508201610067®Number=0000000000207295&sum=28800 [11:32:53]line 0 [11:32:53]OFD Sender: Processing packet 2642 [packets to send 1, broken 0] [11:32:53]ProducePacketName [11:32:53]name=ofd_packets/00002642 [11:32:53]OFD Sender: To server: pG, [11:32:53]CommunicateWithHost lk.salyk.kg:30040 [11:32:53]ConnectInit lk.salyk.kg [11:32:53]written 0, free lines is 4095 [11:32:54]Connected sock=6 [11:32:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8A 01 00 00 71 C5 82 01 27 A4 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 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 72 EA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 52 0A 00 00 35 04 06 00 77 D3 46 DA CF 6A A6 AC B4 FA 9B 12 B0 C8 [11:32:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 85 8B 47 00 55 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 33 34 32 38 32 30 10 04 04 00 52 0A 00 00 F4 03 04 00 D0 95 14 67 B6 04 01 00 00 3A 45 A2 95 BC 7E 68 68 [11:32:54]CommunicateWithHost err = 0 [11:32:54]CheckOFDResponse [11:32:54]1017 (14) - 77093643461234 [11:32:54]1041 (16) - 0000000002342820 [11:32:54]1040 (4) - 2642 [11:32:54]1012 (4) - 20.10.2024 05:32 [11:32:54]1206 (1) - 0 [11:32:54]OFD Sender: Remove packet 2642 [11:32:54]ProducePacketName [11:32:54]name=ofd_packets/00002642 [11:32:54]NVStorageDeleteData [11:32:54]Write to MH i2c: 01 00 00 DE 62 40 [11:32:54]Write i2c OK [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: 01 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: 01 07 00 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: 01 07 00 DE 62 00 00 00 00 00 5D 0C B0 [11:32:54]RasterBufferAndPrint [11:32:54]line [11:32:54]line [11:32:54]line [11:32:54]line [11:32:54]line [11:32:54]written 0, free lines is 3172 [11:32:54]MH_Cut [11:32:54]Write to MH i2c: D1 01 00 E5 62 01 19 [11:32:54]Write i2c OK [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: D1 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: D1 01 00 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: D1 01 00 E5 62 00 18 [11:32:54]Write to MH i2c: 01 00 00 E6 62 48 [11:32:54]Write i2c OK [11:32:54]MH_I2C_Read... [11:32:54]OFD Sender: No OFD packet to send [11:32:55]*** Cut start [11:32:55]*** Partial cut [11:32:55]*** CUTSNS_PIN = 1 [11:32:55]*** CUTSNS_PIN = 0 [11:32:55]*** Brake cut motor [11:32:56]Read from MH i2c: 01 [11:32:56]MH_I2C_Read... [11:32:56]*** Stop cut motor [11:32:56]*** Cut end [11:32:56]Read from MH i2c: 01 07 00 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: 01 07 00 E6 62 00 00 00 00 00 FF 0F 5D [11:32:56]process_action close_receipt done [11:32:56]requested_data is exist [11:32:56]produce_requested_data [11:32:56]requested_item fm.sn is exist - process it [11:32:56]wFMCommunicate request_size=4 [11:32:56]MH_SAM_APDU [11:32:56]CAPDU: 80 11 00 00 [11:32:56]Write to MH i2c: E2 08 00 E7 62 80 11 00 00 00 00 00 00 C3 [11:32:56]Write i2c OK [11:32:56]MH_I2C_Read... [11:32:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:32:56]Read from MH i2c: E2 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: E2 17 00 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: E2 17 00 E7 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0B [11:32:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:32:56]wFMCommunicate OK [11:32:56]requested_item fd.num is exist - process it [11:32:56]SAM_PROTO_GetFieldsCounters [11:32:56]wFMCommunicate request_size=4 [11:32:56]MH_SAM_APDU [11:32:56]CAPDU: 80 13 00 00 [11:32:56]Write to MH i2c: E2 08 00 E8 62 80 13 00 00 00 00 00 00 C6 [11:32:56]Write i2c OK [11:32:56]MH_I2C_Read... [11:32:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:32:56]Read from MH i2c: E2 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: E2 62 00 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: E2 62 00 E8 62 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 52 0A 00 00 0E 04 04 00 18 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 95 [11:32:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 52 0A 00 00 0E 04 04 00 18 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 [11:32:56]wFMCommunicate OK [11:32:56]SAM_PROTO_GetFieldsCounters done [11:32:56]requested_item shift.num is exist - process it [11:32:56]requested_item shift.opened is exist - process it [11:32:56]req_shift_opened [11:32:56]FM_GetShiftState [11:32:56]SAM_PROTO_GetShiftState [11:32:56]wFMCommunicate request_size=4 [11:32:56]MH_SAM_APDU [11:32:56]CAPDU: 80 13 01 00 [11:32:56]Write to MH i2c: E2 08 00 E9 62 80 13 01 00 00 00 00 00 C8 [11:32:56]Write i2c OK [11:32:56]MH_I2C_Read... [11:32:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:32:56]Read from MH i2c: E2 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: E2 0E 00 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: E2 0E 00 E9 62 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 B2 [11:32:56]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:32:56]wFMCommunicate OK [11:32:56]SAM_PROTO_GetShiftState done [11:32:56]FM_GetShiftState done [11:32:56]req_shift_opened done [11:32:56]requested_item shift.open_date is exist - process it [11:32:56]req_shift_open_date [11:32:56]req_shift_open_date done [11:32:56]produce_requested_data done [11:32:56]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2642,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:32:56]process_action_free close_receipt [11:32:56]json_value_free [11:32:56]json_value_free done [11:32:56]process_json_proto returns [11:32:56]Send response to host [11:32:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2642,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:32:56]free response buf [11:32:56]execute_script done [11:32:56]execute_script returns [11:32:56]free content buf [11:32:56]Sock 7.Close socket [11:32:56]Sock 7.Thread stoped [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:57]accept exits with 9 [11:33:57]New connection [11:33:57]New thread 3066707300 created [11:33:57]Thread 3066850660 joined [11:33:57]Waiting for new connection... [11:33:57] Sock 9.Parse request [11:33:57]Sock 9.Check first char [11:33:57]Sock 9.First char is OK [11:33:57]request: POST /json_proto HTTP/1.0 [11:33:57]Method: POST [11:33:57]URL: /json_proto [11:33:57]Method is POST - this is cgi request [11:33:57]url: /json_proto [11:33:57]query_string will be loaded in cgi processing [11:33:57]execute_cgi json_proto POST (null) [11:33:57]execute_cgi path=json_proto method=POST [11:33:57]POST find Content-Length [11:33:57]Host: 172.17.52.132:8080 [11:33:57]Content-Length: 662 [11:33:57]Content-Type: application/json [11:33:57] [11:33:57]POST finish read [11:33:57]Found Content-Length = 662 [11:33:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100022", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:33:57]execute_script... [11:33: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)100022", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:33:57]POST & json_proto [11:33:57]process_json_proto [11:33:57]json parsed OK: [11:33:57]protocol is kg_v1.0 [11:33:57]action value=close_receipt [11:33:57]process_action close_receipt [11:33:57]cmd_close_receipt [11:33:57]MH_GetDate [11:33:57]Write to MH i2c: F0 00 00 EA 62 3B [11:33:57]Write i2c OK [11:33:57]MH_I2C_Read... [11:33:57]Read from MH i2c: F0 [11:33:57]MH_I2C_Read... [11:33:57]Read from MH i2c: F0 09 00 [11:33:57]MH_I2C_Read... [11:33:57]Read from MH i2c: F0 09 00 EA 62 00 B4 EA 14 67 5A BE F6 66 D1 [11:33:57]GetLastDocTimeStamp 1729423986 [11:33:57]current date 1729424052 [11:33:57]FM_GetShiftState [11:33:57]SAM_PROTO_GetShiftState [11:33:57]wFMCommunicate request_size=4 [11:33:57]MH_SAM_APDU [11:33:57]CAPDU: 80 13 01 00 [11:33:57]Write to MH i2c: E2 08 00 EB 62 80 13 01 00 00 00 00 00 CA [11:33:57]Write i2c OK [11:33:57]MH_I2C_Read... [11:33:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:33:57]Read from MH i2c: E2 [11:33:57]MH_I2C_Read... [11:33:57]Read from MH i2c: E2 0E 00 [11:33:57]MH_I2C_Read... [11:33:57]Read from MH i2c: E2 0E 00 EB 62 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 B4 [11:33:57]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:33:57]wFMCommunicate OK [11:33:57]SAM_PROTO_GetShiftState done [11:33:57]FM_GetShiftState done [11:33:57]opened in 1729382427 [11:33:57]opened+sec_in_day 1729468827 [11:33:57]quantity*price = 9500 [11:33:57]sum+1 = 9501 [11:33:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 24 20.10.2024 11:34 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2643 ФПД: 101774701324766 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113412&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2643&fm=101774701324766&tin=02508201610067®Number=0000000000207295&sum=9500 0 [11:33:58]StoreToDocumentArchive [11:33:58]shift 24 fd 2643 [11:33:58]save to /storage/0024/doc_00002643 [11:33:58]save last doc name /storage/0024/doc_00002643 to /storage/kkm_last_doc_name [11:33:58]save OK [11:33:58]Clear old archive folders... [11:33:58]ProcessDocumentItem done err = 0, tmpTLVsize=289 [11:33:58]tlvbuf is 015092E0 [11:33:58]SAM_PROTO_ClearQueue [11:33:58]wFMCommunicate request_size=4 [11:33:58]MH_SAM_APDU [11:33:58]CAPDU: 80 09 00 00 [11:33:58]Write to MH i2c: E2 08 00 F8 62 80 09 00 00 00 00 00 00 CC [11:33:58]Write i2c OK [11:33:58]MH_I2C_Read... [11:33:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:33:58]Read from MH i2c: E2 [11:33:58]MH_I2C_Read... [11:33:58]Read from MH i2c: E2 03 00 [11:33:58]MH_I2C_Read... [11:33:58]Read from MH i2c: E2 03 00 F8 62 00 90 00 CE [11:33:58]RAPDU: 90 00 [11:33:58]wFMCommunicate OK [11:33:58]SAM_PROTO_ClearQueue done [11:33:58]KKMCreateOFDPacket [11:33:58]OFDProtocolAddRootSTLVToBuf [11:33:58]FM_MakeSignedData [11:33:58]FM_MakeSignedData [11:33:58]SAM_PROTO_SignData [11:33:58]wFMCommunicate request_size=4 [11:33:58]MH_SAM_APDU [11:33:58]CAPDU: 80 0D 01 02 [11:33:58]Write to MH i2c: E2 08 00 F9 62 80 0D 01 02 00 00 00 00 D4 [11:33:58]Write i2c OK [11:33:58]MH_I2C_Read... [11:33:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:33:59]Read from MH i2c: E2 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 F9 62 00 90 00 CF [11:33:59]RAPDU: 90 00 [11:33:59]wFMCommunicate OK [11:33:59]wFMCommunicate request_size=255 [11:33:59]MH_SAM_APDU [11:33:59]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 B4 EA 14 67 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 32 [11:33:59]Write to MH i2c: E2 02 01 FA 62 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 B4 EA 14 67 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 32 00 00 8F [11:33:59]Write i2c OK [11:33:59]MH_I2C_Read... [11:33:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:33:59]Read from MH i2c: E2 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 FA 62 00 90 00 D0 [11:33:59]RAPDU: 90 00 [11:33:59]wFMCommunicate OK [11:33:59]wFMCommunicate request_size=48 [11:33:59]MH_SAM_APDU [11:33:59]CAPDU: 80 0D 02 02 2B 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 53 0A 00 00 35 04 06 00 5C 90 44 EB 69 DE [11:33:59]Write to MH i2c: E2 33 00 FB 62 80 0D 02 02 2B 00 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 53 0A 00 00 35 04 06 00 5C 90 44 EB 69 DE 00 00 84 [11:33:59]Write i2c OK [11:33:59]MH_I2C_Read... [11:33:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:33:59]Read from MH i2c: E2 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 FB 62 00 90 00 D1 [11:33:59]RAPDU: 90 00 [11:33:59]wFMCommunicate OK [11:33:59]wFMCommunicate request_size=4 [11:33:59]MH_SAM_APDU [11:33:59]CAPDU: 80 0D 03 02 [11:33:59]Write to MH i2c: E2 08 00 FC 62 80 0D 03 02 00 00 00 00 D9 [11:33:59]Write i2c OK [11:33:59]MH_I2C_Read... [11:33:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:33:59]Read from MH i2c: E2 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 0B 00 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 0B 00 FC 62 00 45 12 DF 26 25 DF 41 DB 90 00 56 [11:33:59]RAPDU: 45 12 DF 26 25 DF 41 DB 90 00 [11:33:59]wFMCommunicate OK [11:33:59]SAM_PROTO_SignData done [11:33:59]FM_MakeSignedData done [11:33:59]CreateOFDProtocolMessage [11:33:59]wFMCommunicate request_size=4 [11:33:59]MH_SAM_APDU [11:33:59]CAPDU: 80 11 00 00 [11:33:59]Write to MH i2c: E2 08 00 FD 62 80 11 00 00 00 00 00 00 D9 [11:33:59]Write i2c OK [11:33:59]MH_I2C_Read... [11:33:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:33:59]Read from MH i2c: E2 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 17 00 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 17 00 FD 62 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 21 [11:33:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:33:59]wFMCommunicate OK [11:33:59]CreateOFDProtocolMessage done [11:33:59]OFDSenderStorePacket 2643 [11:33:59]StoreOFDPacket docnum=2643 [11:33:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 01 00 00 D2 62 2D 01 8B 0E 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 B4 EA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 53 0A 00 00 35 04 06 00 5C 90 44 EB 69 DE 45 12 DF 26 25 DF 41 DB [11:33:59]CheckFolder [11:33:59]dirname=/storage/ofd_packets [11:33:59]CheckFolder done [11:33:59]ProducePacketName [11:33:59]name=ofd_packets/00002643 [11:33:59]NVStorageSaveData ofd_packets/00002643 [11:33:59]File name is /storage/ofd_packets/00002643 [11:33:59]Write 339 bytes [11:33:59]NVStorageSaveData done [11:33:59]OFDSenderStorePacket done [11:33:59]KKMCreateOFDPacket done [11:33:59]NVStorageSaveData kkm_last_timestamp [11:33:59]File name is /storage/kkm_last_timestamp [11:33:59]Write 4 bytes [11:33:59]NVStorageSaveData done [11:33:59]ExternCall_PrintAddStr [11:33:59]wPrintStart [11:33:59]Write to MH i2c: 01 00 00 FE 62 60 [11:33:59]Write i2c OK [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: 01 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: 01 07 00 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: 01 07 00 FE 62 00 00 00 00 00 FF 0F 75 [11:33:59]RasterBufferAndPrint [11:33:59]line Счет N : (3)100022 [11:33:59]line ИНН: 02508201610067 [11:33:59]line Контрольно-Кассовый Чек [11:33:59]line ПРОДАЖА [11:33:59]line Товар: 5449000176431 [11:33:59]line Сок Piko Pulpy апельсин ПЭТ 0,5л [11:33:59]line 1.000 * 95.00 [11:33:59]line = 95.00 [11:33:59]line НДС 12% НСП 1% [11:33:59]line > о реализуемом товаре [11:33:59]line ИТОГО: 95.00 [11:33:59]line НСП 1% : 0.84 [11:33:59]line НДС 12% : 10.09 [11:33:59]line Наличными: 95.00 [11:33:59]line Безнал.: 0.00 [11:33:59]line Место: АЗС № 162 "Партнер Нефть" [11:33:59]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:33:59]line СНО: Общий режим [11:33:59]line Чек 24 20.10.2024 11:34 [11:33:59]line Смена: 24 ФФД: 1.0 [11:33:59]line ЗНМ: 0300000191 [11:33:59]line РНМ: 0000000000207295 [11:33:59]line Версия ККМ: v1.0 [11:33:59]line ФМ: 0000000002342820 [11:33:59]line ФД: 2643 [11:33:59]line ФПД: 101774701324766 [11:33:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113412&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2643&fm=101774701324766&tin=02508201610067®Number=0000000000207295&sum=9500 [11:33:59]line 0 [11:33:59]OFD Sender: Processing packet 2643 [packets to send 1, broken 0] [11:33:59]ProducePacketName [11:33:59]name=ofd_packets/00002643 [11:33:59]OFD Sender: To server: pG, [11:33:59]CommunicateWithHost lk.salyk.kg:30040 [11:33:59]ConnectInit lk.salyk.kg [11:33:59]written 0, free lines is 4095 [11:33:59]Connected sock=10 [11:33:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 01 00 00 D2 62 2D 01 8B 0E 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 B4 EA 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 53 0A 00 00 35 04 06 00 5C 90 44 EB 69 DE 45 12 DF 26 25 DF 41 DB [11:34:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 23 2D 47 00 5B 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 53 0A 00 00 F4 03 04 00 12 96 14 67 B6 04 01 00 00 11 9E 1C C1 18 7A 80 77 [11:34:00]CommunicateWithHost err = 0 [11:34:00]CheckOFDResponse [11:34:00]1017 (14) - 77093643461234 [11:34:00]1041 (16) - 0000000002342820 [11:34:00]1040 (4) - 2643 [11:34:00]1012 (4) - 20.10.2024 05:33 [11:34:00]1206 (1) - 0 [11:34:00]OFD Sender: Remove packet 2643 [11:34:00]ProducePacketName [11:34:00]name=ofd_packets/00002643 [11:34:00]NVStorageDeleteData [11:34:00]Write to MH i2c: 01 00 00 27 63 8A [11:34:00]Write i2c OK [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: 01 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: 01 07 00 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: 01 07 00 27 63 00 00 00 00 00 C0 0C 5D [11:34:00]RasterBufferAndPrint [11:34:00]line [11:34:00]line [11:34:00]line [11:34:00]line [11:34:00]line [11:34:00]written 0, free lines is 3269 [11:34:00]MH_Cut [11:34:00]Write to MH i2c: D1 01 00 2E 63 01 63 [11:34:00]Write i2c OK [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: D1 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: D1 01 00 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: D1 01 00 2E 63 00 62 [11:34:00]Write to MH i2c: 01 00 00 2F 63 92 [11:34:00]Write i2c OK [11:34:00]MH_I2C_Read... [11:34:00]OFD Sender: No OFD packet to send [11:34:01]*** Cut start [11:34:01]*** Partial cut [11:34:01]*** CUTSNS_PIN = 1 [11:34:01]*** CUTSNS_PIN = 0 [11:34:01]*** Brake cut motor [11:34:01]Read from MH i2c: 01 [11:34:01]MH_I2C_Read... [11:34:01]*** Stop cut motor [11:34:01]*** Cut end [11:34:01]Read from MH i2c: 01 07 00 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: 01 07 00 2F 63 00 00 00 00 00 FF 0F A7 [11:34:01]process_action close_receipt done [11:34:01]requested_data is exist [11:34:01]produce_requested_data [11:34:01]requested_item fm.sn is exist - process it [11:34:01]wFMCommunicate request_size=4 [11:34:01]MH_SAM_APDU [11:34:01]CAPDU: 80 11 00 00 [11:34:01]Write to MH i2c: E2 08 00 30 63 80 11 00 00 00 00 00 00 0D [11:34:01]Write i2c OK [11:34:01]MH_I2C_Read... [11:34:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:01]Read from MH i2c: E2 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: E2 17 00 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: E2 17 00 30 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 55 [11:34:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:34:01]wFMCommunicate OK [11:34:01]requested_item fd.num is exist - process it [11:34:01]SAM_PROTO_GetFieldsCounters [11:34:01]wFMCommunicate request_size=4 [11:34:01]MH_SAM_APDU [11:34:01]CAPDU: 80 13 00 00 [11:34:01]Write to MH i2c: E2 08 00 31 63 80 13 00 00 00 00 00 00 10 [11:34:01]Write i2c OK [11:34:01]MH_I2C_Read... [11:34:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:34:01]Read from MH i2c: E2 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: E2 62 00 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: E2 62 00 31 63 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 53 0A 00 00 0E 04 04 00 18 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 E3 [11:34:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 53 0A 00 00 0E 04 04 00 18 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 [11:34:01]wFMCommunicate OK [11:34:01]SAM_PROTO_GetFieldsCounters done [11:34:01]requested_item shift.num is exist - process it [11:34:01]requested_item shift.opened is exist - process it [11:34:01]req_shift_opened [11:34:01]FM_GetShiftState [11:34:01]SAM_PROTO_GetShiftState [11:34:01]wFMCommunicate request_size=4 [11:34:01]MH_SAM_APDU [11:34:01]CAPDU: 80 13 01 00 [11:34:01]Write to MH i2c: E2 08 00 32 63 80 13 01 00 00 00 00 00 12 [11:34:01]Write i2c OK [11:34:01]MH_I2C_Read... [11:34:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:34:02]Read from MH i2c: E2 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: E2 0E 00 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: E2 0E 00 32 63 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 FC [11:34:02]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:34:02]wFMCommunicate OK [11:34:02]SAM_PROTO_GetShiftState done [11:34:02]FM_GetShiftState done [11:34:02]req_shift_opened done [11:34:02]requested_item shift.open_date is exist - process it [11:34:02]req_shift_open_date [11:34:02]req_shift_open_date done [11:34:02]produce_requested_data done [11:34:02]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2643,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:34:02]process_action_free close_receipt [11:34:02]json_value_free [11:34:02]json_value_free done [11:34:02]process_json_proto returns [11:34:02]Send response to host [11:34:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2643,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:34:02]free response buf [11:34:02]execute_script done [11:34:02]execute_script returns [11:34:02]free content buf [11:34:02]Sock 9.Close socket [11:34:02]Sock 9.Thread stoped [11:34:05]OFD Sender: No OFD packet to send [11:34:10]OFD Sender: No OFD packet to send [11:34:15]OFD Sender: No OFD packet to send [11:34:20]OFD Sender: No OFD packet to send [11:34:25]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:00]OFD Sender: No OFD packet to send [11:37:05]OFD Sender: No OFD packet to send [11:37:10]OFD Sender: No OFD packet to send [11:37:15]OFD Sender: No OFD packet to send [11:37:20]OFD Sender: No OFD packet to send [11:37:25]OFD Sender: No OFD packet to send [11:37:30]OFD Sender: No OFD packet to send [11:37:35]OFD Sender: No OFD packet to send [11:37:40]OFD Sender: No OFD packet to send [11:37:45]OFD Sender: No OFD packet to send [11:37:50]OFD Sender: No OFD packet to send [11:37:55]OFD Sender: No OFD packet to send [11:38:00]OFD Sender: No OFD packet to send [11:38:05]OFD Sender: No OFD packet to send [11:38:10]OFD Sender: No OFD packet to send [11:38:13]accept exits with 7 [11:38:13]New connection [11:38:13]New thread 3066850660 created [11:38:13]Thread 3066707300 joined [11:38:13]Waiting for new connection... [11:38:13] Sock 7.Parse request [11:38:13]Sock 7.Check first char [11:38:13]Sock 7.First char is OK [11:38:13]request: POST /json_proto HTTP/1.0 [11:38:13]Method: POST [11:38:13]URL: /json_proto [11:38:13]Method is POST - this is cgi request [11:38:13]url: /json_proto [11:38:13]query_string will be loaded in cgi processing [11:38:13]execute_cgi json_proto POST (null) [11:38:13]execute_cgi path=json_proto method=POST [11:38:13]POST find Content-Length [11:38:13]Host: 172.17.52.132:8080 [11:38:13]Content-Length: 794 [11:38:13]Content-Type: application/json [11:38:13] [11:38:13]POST finish read [11:38:13]Found Content-Length = 794 [11:38:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100023", "tax_sys" : 0, "items" : [ { "code": "4870002329937", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:38:13]execute_script... [11:38: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)100023", "tax_sys" : 0, "items" : [ { "code": "4870002329937", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:38:13]POST & json_proto [11:38:13]process_json_proto [11:38:13]json parsed OK: [11:38:13]protocol is kg_v1.0 [11:38:13]action value=close_receipt [11:38:13]process_action close_receipt [11:38:13]cmd_close_receipt [11:38:13]MH_GetDate [11:38:13]Write to MH i2c: F0 00 00 33 63 85 [11:38:13]Write i2c OK [11:38:13]MH_I2C_Read... [11:38:13]Read from MH i2c: F0 [11:38:13]MH_I2C_Read... [11:38:13]Read from MH i2c: F0 09 00 [11:38:13]MH_I2C_Read... [11:38:13]Read from MH i2c: F0 09 00 33 63 00 B4 EB 14 67 5A BE F6 66 1C [11:38:13]GetLastDocTimeStamp 1729424052 [11:38:13]current date 1729424308 [11:38:13]FM_GetShiftState [11:38:13]SAM_PROTO_GetShiftState [11:38:13]wFMCommunicate request_size=4 [11:38:13]MH_SAM_APDU [11:38:13]CAPDU: 80 13 01 00 [11:38:13]Write to MH i2c: E2 08 00 34 63 80 13 01 00 00 00 00 00 14 [11:38:13]Write i2c OK [11:38:13]MH_I2C_Read... [11:38:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:38:13]Read from MH i2c: E2 [11:38:13]MH_I2C_Read... [11:38:13]Read from MH i2c: E2 0E 00 [11:38:13]MH_I2C_Read... [11:38:13]Read from MH i2c: E2 0E 00 34 63 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 FE [11:38:13]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:38:13]wFMCommunicate OK [11:38:13]SAM_PROTO_GetShiftState done [11:38:13]FM_GetShiftState done [11:38:13]opened in 1729382427 [11:38:13]opened+sec_in_day 1729468827 [11:38:13]quantity*price = 13000 [11:38:13]sum+1 = 13001 [11:38:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 25 20.10.2024 11:38 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2644 ФПД: 250756155620067 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113828&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2644&fm=250756155620067&tin=02508201610067®Number=0000000000207295&sum=13000 0 [11:38:14]StoreToDocumentArchive [11:38:14]shift 24 fd 2644 [11:38:14]save to /storage/0024/doc_00002644 [11:38:14]save last doc name /storage/0024/doc_00002644 to /storage/kkm_last_doc_name [11:38:14]save OK [11:38:14]Clear old archive folders... [11:38:14]ProcessDocumentItem done err = 0, tmpTLVsize=295 [11:38:14]tlvbuf is 01517240 [11:38:14]SAM_PROTO_ClearQueue [11:38:14]wFMCommunicate request_size=4 [11:38:14]MH_SAM_APDU [11:38:14]CAPDU: 80 09 00 00 [11:38:14]Write to MH i2c: E2 08 00 41 63 80 09 00 00 00 00 00 00 16 [11:38:14]Write i2c OK [11:38:14]MH_I2C_Read... [11:38:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:38:14]Read from MH i2c: E2 [11:38:14]MH_I2C_Read... [11:38:14]Read from MH i2c: E2 03 00 [11:38:14]MH_I2C_Read... [11:38:14]Read from MH i2c: E2 03 00 41 63 00 90 00 18 [11:38:14]RAPDU: 90 00 [11:38:14]wFMCommunicate OK [11:38:14]SAM_PROTO_ClearQueue done [11:38:14]KKMCreateOFDPacket [11:38:14]OFDProtocolAddRootSTLVToBuf [11:38:14]FM_MakeSignedData [11:38:14]FM_MakeSignedData [11:38:14]SAM_PROTO_SignData [11:38:14]wFMCommunicate request_size=4 [11:38:14]MH_SAM_APDU [11:38:14]CAPDU: 80 0D 01 02 [11:38:14]Write to MH i2c: E2 08 00 42 63 80 0D 01 02 00 00 00 00 1E [11:38:14]Write i2c OK [11:38:14]MH_I2C_Read... [11:38:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:38:15]Read from MH i2c: E2 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 03 00 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 03 00 42 63 00 90 00 19 [11:38:15]RAPDU: 90 00 [11:38:15]wFMCommunicate OK [11:38:15]wFMCommunicate request_size=255 [11:38:15]MH_SAM_APDU [11:38:15]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 B4 EB 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [11:38:15]Write to MH i2c: E2 02 01 43 63 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 B4 EB 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 21 [11:38:15]Write i2c OK [11:38:15]MH_I2C_Read... [11:38:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:38:15]Read from MH i2c: E2 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 03 00 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 03 00 43 63 00 90 00 1A [11:38:15]RAPDU: 90 00 [11:38:15]wFMCommunicate OK [11:38:15]wFMCommunicate request_size=54 [11:38:15]MH_SAM_APDU [11:38:15]CAPDU: 80 0D 02 02 31 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 54 0A 00 00 35 04 06 00 E4 0F B7 94 BA E3 [11:38:15]Write to MH i2c: E2 39 00 44 63 80 0D 02 02 31 00 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 54 0A 00 00 35 04 06 00 E4 0F B7 94 BA E3 00 00 76 [11:38:15]Write i2c OK [11:38:15]MH_I2C_Read... [11:38:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:38:15]Read from MH i2c: E2 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 03 00 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 03 00 44 63 00 90 00 1B [11:38:15]RAPDU: 90 00 [11:38:15]wFMCommunicate OK [11:38:15]wFMCommunicate request_size=4 [11:38:15]MH_SAM_APDU [11:38:15]CAPDU: 80 0D 03 02 [11:38:15]Write to MH i2c: E2 08 00 45 63 80 0D 03 02 00 00 00 00 23 [11:38:15]Write i2c OK [11:38:15]MH_I2C_Read... [11:38:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:38:15]Read from MH i2c: E2 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 0B 00 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 0B 00 45 63 00 B5 06 AB 3B 1E 6C 72 0A 90 00 CB [11:38:15]RAPDU: B5 06 AB 3B 1E 6C 72 0A 90 00 [11:38:15]wFMCommunicate OK [11:38:15]SAM_PROTO_SignData done [11:38:15]FM_MakeSignedData done [11:38:15]CreateOFDProtocolMessage [11:38:15]wFMCommunicate request_size=4 [11:38:15]MH_SAM_APDU [11:38:15]CAPDU: 80 11 00 00 [11:38:15]Write to MH i2c: E2 08 00 46 63 80 11 00 00 00 00 00 00 23 [11:38:15]Write i2c OK [11:38:15]MH_I2C_Read... [11:38:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:38:15]Read from MH i2c: E2 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 17 00 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: E2 17 00 46 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6B [11:38:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:38:15]wFMCommunicate OK [11:38:15]CreateOFDProtocolMessage done [11:38:15]OFDSenderStorePacket 2644 [11:38:15]StoreOFDPacket docnum=2644 [11:38:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3B 01 00 00 47 66 33 01 C4 38 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 B4 EB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 54 0A 00 00 35 04 06 00 E4 0F B7 94 BA E3 B5 06 AB 3B 1E 6C 72 0A [11:38:15]CheckFolder [11:38:15]dirname=/storage/ofd_packets [11:38:15]CheckFolder done [11:38:15]ProducePacketName [11:38:15]name=ofd_packets/00002644 [11:38:15]NVStorageSaveData ofd_packets/00002644 [11:38:15]File name is /storage/ofd_packets/00002644 [11:38:15]Write 345 bytes [11:38:15]NVStorageSaveData done [11:38:15]OFDSenderStorePacket done [11:38:15]KKMCreateOFDPacket done [11:38:15]NVStorageSaveData kkm_last_timestamp [11:38:15]File name is /storage/kkm_last_timestamp [11:38:15]Write 4 bytes [11:38:15]NVStorageSaveData done [11:38:15]ExternCall_PrintAddStr [11:38:15]wPrintStart [11:38:15]Write to MH i2c: 01 00 00 47 63 AA [11:38:15]Write i2c OK [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: 01 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: 01 07 00 [11:38:15]MH_I2C_Read... [11:38:15]Read from MH i2c: 01 07 00 47 63 00 00 00 00 00 FF 0F BF [11:38:15]RasterBufferAndPrint [11:38:15]line Счет N : (3)100023 [11:38:15]line ИНН: 02508201610067 [11:38:15]line Контрольно-Кассовый Чек [11:38:15]line ПРОДАЖА [11:38:15]line Товар: 4870002329937 [11:38:15]line Напиток Lipton IceTea 1л персик Regular [11:38:15]line 1.000 * 130.00 [11:38:15]line = 130.00 [11:38:15]line НДС 12% НСП 1% [11:38:15]line > о реализуемом товаре [11:38:15]line ИТОГО: 130.00 [11:38:15]line НСП 1% : 1.15 [11:38:15]line НДС 12% : 13.80 [11:38:15]line Наличными: 0.00 [11:38:15]line Безнал.: 130.00 [11:38:15]line Место: АЗС № 162 "Партнер Нефть" [11:38:15]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:38:15]line СНО: Общий режим [11:38:15]line Чек 25 20.10.2024 11:38 [11:38:15]line Смена: 24 ФФД: 1.0 [11:38:15]line ЗНМ: 0300000191 [11:38:15]line РНМ: 0000000000207295 [11:38:15]line Версия ККМ: v1.0 [11:38:15]line Платежная система: Mbank [11:38:15]line ФМ: 0000000002342820 [11:38:15]line ФД: 2644 [11:38:15]line ФПД: 250756155620067 [11:38:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113828&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2644&fm=250756155620067&tin=02508201610067®Number=0000000000207295&sum=13000 [11:38:15]line 0 [11:38:15]OFD Sender: Processing packet 2644 [packets to send 1, broken 0] [11:38:15]ProducePacketName [11:38:15]name=ofd_packets/00002644 [11:38:15]OFD Sender: To server: pG, [11:38:15]CommunicateWithHost lk.salyk.kg:30040 [11:38:15]ConnectInit lk.salyk.kg [11:38:15]written 0, free lines is 4095 [11:38:15]Connected sock=10 [11:38:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3B 01 00 00 47 66 33 01 C4 38 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 B4 EB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 54 0A 00 00 35 04 06 00 E4 0F B7 94 BA E3 B5 06 AB 3B 1E 6C 72 0A [11:38:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 08 30 47 00 07 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 33 34 32 38 32 30 10 04 04 00 54 0A 00 00 F4 03 04 00 12 97 14 67 B6 04 01 00 00 5C A8 33 10 CE 75 6F 60 [11:38:16]CommunicateWithHost err = 0 [11:38:16]CheckOFDResponse [11:38:16]1017 (14) - 77093643461234 [11:38:16]1041 (16) - 0000000002342820 [11:38:16]1040 (4) - 2644 [11:38:16]1012 (4) - 20.10.2024 05:37 [11:38:16]1206 (1) - 0 [11:38:16]OFD Sender: Remove packet 2644 [11:38:16]ProducePacketName [11:38:16]name=ofd_packets/00002644 [11:38:16]NVStorageDeleteData [11:38:16]Write to MH i2c: 01 00 00 71 63 D4 [11:38:16]Write i2c OK [11:38:16]MH_I2C_Read... [11:38:16]Read from MH i2c: 01 [11:38:16]MH_I2C_Read... [11:38:16]Read from MH i2c: 01 07 00 [11:38:16]MH_I2C_Read... [11:38:16]Read from MH i2c: 01 07 00 71 63 00 00 00 00 00 97 0C 7E [11:38:16]RasterBufferAndPrint [11:38:16]line [11:38:16]line [11:38:16]line [11:38:16]line [11:38:16]line [11:38:16]written 0, free lines is 3229 [11:38:16]MH_Cut [11:38:16]Write to MH i2c: D1 01 00 78 63 01 AD [11:38:16]Write i2c OK [11:38:16]MH_I2C_Read... [11:38:16]Read from MH i2c: D1 [11:38:16]MH_I2C_Read... [11:38:16]Read from MH i2c: D1 01 00 [11:38:16]MH_I2C_Read... [11:38:16]Read from MH i2c: D1 01 00 78 63 00 AC [11:38:16]Write to MH i2c: 01 00 00 79 63 DC [11:38:16]Write i2c OK [11:38:16]MH_I2C_Read... [11:38:16]OFD Sender: No OFD packet to send [11:38:17]*** Cut start [11:38:17]*** Partial cut [11:38:17]*** CUTSNS_PIN = 1 [11:38:17]*** CUTSNS_PIN = 0 [11:38:17]*** Brake cut motor [11:38:17]Read from MH i2c: 01 [11:38:17]MH_I2C_Read... [11:38:17]*** Stop cut motor [11:38:17]*** Cut end [11:38:17]Read from MH i2c: 01 07 00 [11:38:17]MH_I2C_Read... [11:38:17]Read from MH i2c: 01 07 00 79 63 00 00 00 00 00 FF 0F F1 [11:38:17]process_action close_receipt done [11:38:17]requested_data is exist [11:38:17]produce_requested_data [11:38:17]requested_item fm.sn is exist - process it [11:38:17]wFMCommunicate request_size=4 [11:38:17]MH_SAM_APDU [11:38:17]CAPDU: 80 11 00 00 [11:38:17]Write to MH i2c: E2 08 00 7A 63 80 11 00 00 00 00 00 00 57 [11:38:17]Write i2c OK [11:38:17]MH_I2C_Read... [11:38:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:38:17]Read from MH i2c: E2 [11:38:17]MH_I2C_Read... [11:38:17]Read from MH i2c: E2 17 00 [11:38:17]MH_I2C_Read... [11:38:17]Read from MH i2c: E2 17 00 7A 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9F [11:38:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:38:17]wFMCommunicate OK [11:38:17]requested_item fd.num is exist - process it [11:38:17]SAM_PROTO_GetFieldsCounters [11:38:17]wFMCommunicate request_size=4 [11:38:17]MH_SAM_APDU [11:38:17]CAPDU: 80 13 00 00 [11:38:17]Write to MH i2c: E2 08 00 7B 63 80 13 00 00 00 00 00 00 5A [11:38:17]Write i2c OK [11:38:17]MH_I2C_Read... [11:38:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:38:18]Read from MH i2c: E2 [11:38:18]MH_I2C_Read... [11:38:18]Read from MH i2c: E2 62 00 [11:38:18]MH_I2C_Read... [11:38:18]Read from MH i2c: E2 62 00 7B 63 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 54 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 31 [11:38:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 54 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:38:18]wFMCommunicate OK [11:38:18]SAM_PROTO_GetFieldsCounters done [11:38:18]requested_item shift.num is exist - process it [11:38:18]requested_item shift.opened is exist - process it [11:38:18]req_shift_opened [11:38:18]FM_GetShiftState [11:38:18]SAM_PROTO_GetShiftState [11:38:18]wFMCommunicate request_size=4 [11:38:18]MH_SAM_APDU [11:38:18]CAPDU: 80 13 01 00 [11:38:18]Write to MH i2c: E2 08 00 7C 63 80 13 01 00 00 00 00 00 5C [11:38:18]Write i2c OK [11:38:18]MH_I2C_Read... [11:38:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:38:18]Read from MH i2c: E2 [11:38:18]MH_I2C_Read... [11:38:18]Read from MH i2c: E2 0E 00 [11:38:18]MH_I2C_Read... [11:38:18]Read from MH i2c: E2 0E 00 7C 63 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 46 [11:38:18]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:38:18]wFMCommunicate OK [11:38:18]SAM_PROTO_GetShiftState done [11:38:18]FM_GetShiftState done [11:38:18]req_shift_opened done [11:38:18]requested_item shift.open_date is exist - process it [11:38:18]req_shift_open_date [11:38:18]req_shift_open_date done [11:38:18]produce_requested_data done [11:38:18]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2644,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:38:18]process_action_free close_receipt [11:38:18]json_value_free [11:38:18]json_value_free done [11:38:18]process_json_proto returns [11:38:18]Send response to host [11:38:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2644,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:38:18]free response buf [11:38:18]execute_script done [11:38:18]execute_script returns [11:38:18]free content buf [11:38:18]Sock 7.Close socket [11:38:18]Sock 7.Thread stoped [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:06]accept exits with 9 [11:39:06]New connection [11:39:06]New thread 3066707300 created [11:39:06]Thread 3066850660 joined [11:39:06]Waiting for new connection... [11:39:06] Sock 9.Parse request [11:39:06]Sock 9.Check first char [11:39:06]Sock 9.First char is OK [11:39:06]request: POST /json_proto HTTP/1.0 [11:39:06]Method: POST [11:39:06]URL: /json_proto [11:39:06]Method is POST - this is cgi request [11:39:06]url: /json_proto [11:39:06]query_string will be loaded in cgi processing [11:39:06]execute_cgi json_proto POST (null) [11:39:06]execute_cgi path=json_proto method=POST [11:39:06]POST find Content-Length [11:39:06]Host: 172.17.52.132:8080 [11:39:06]Content-Length: 886 [11:39:06]Content-Type: application/json [11:39:06] [11:39:06]POST finish read [11:39:06]Found Content-Length = 886 [11:39:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100024", "tax_sys" : 0, "items" : [ { "code": "4870227272957", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u0422\u0430\u0440\u0445\u0443\u043D 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:39:06]execute_script... [11:39: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)100024", "tax_sys" : 0, "items" : [ { "code": "4870227272957", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u0422\u0430\u0440\u0445\u0443\u043D 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:39:06]POST & json_proto [11:39:06]process_json_proto [11:39:06]json parsed OK: [11:39:06]protocol is kg_v1.0 [11:39:06]action value=close_receipt [11:39:06]process_action close_receipt [11:39:06]cmd_close_receipt [11:39:06]MH_GetDate [11:39:06]Write to MH i2c: F0 00 00 7D 63 CF [11:39:06]Write i2c OK [11:39:06]MH_I2C_Read... [11:39:06]Read from MH i2c: F0 [11:39:06]MH_I2C_Read... [11:39:06]Read from MH i2c: F0 09 00 [11:39:06]MH_I2C_Read... [11:39:06]Read from MH i2c: F0 09 00 7D 63 00 E9 EB 14 67 5A BE F6 66 9B [11:39:06]GetLastDocTimeStamp 1729424308 [11:39:06]current date 1729424361 [11:39:06]FM_GetShiftState [11:39:06]SAM_PROTO_GetShiftState [11:39:06]wFMCommunicate request_size=4 [11:39:06]MH_SAM_APDU [11:39:06]CAPDU: 80 13 01 00 [11:39:06]Write to MH i2c: E2 08 00 7E 63 80 13 01 00 00 00 00 00 5E [11:39:06]Write i2c OK [11:39:06]MH_I2C_Read... [11:39:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:39:06]Read from MH i2c: E2 [11:39:06]MH_I2C_Read... [11:39:06]Read from MH i2c: E2 0E 00 [11:39:06]MH_I2C_Read... [11:39:06]Read from MH i2c: E2 0E 00 7E 63 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 48 [11:39:06]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:39:06]wFMCommunicate OK [11:39:06]SAM_PROTO_GetShiftState done [11:39:06]FM_GetShiftState done [11:39:06]opened in 1729382427 [11:39:06]opened+sec_in_day 1729468827 [11:39:06]quantity*price = 8500 [11:39:06]sum+1 = 8501 [11:39:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 235.00 НСП 1% : 2.08 НДС 12% : 24.96 Наличными: 235.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 26 20.10.2024 11:39 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2645 ФПД: 52186134774964 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113921&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2645&fm=52186134774964&tin=02508201610067®Number=0000000000207295&sum=23500 0 [11:39:08]StoreToDocumentArchive [11:39:08]shift 24 fd 2645 [11:39:08]save to /storage/0024/doc_00002645 [11:39:08]save last doc name /storage/0024/doc_00002645 to /storage/kkm_last_doc_name [11:39:08]save OK [11:39:08]Clear old archive folders... [11:39:08]ProcessDocumentItem done err = 0, tmpTLVsize=382 [11:39:08]tlvbuf is 01563E30 [11:39:08]SAM_PROTO_ClearQueue [11:39:08]wFMCommunicate request_size=4 [11:39:08]MH_SAM_APDU [11:39:08]CAPDU: 80 09 00 00 [11:39:08]Write to MH i2c: E2 08 00 8B 63 80 09 00 00 00 00 00 00 60 [11:39:08]Write i2c OK [11:39:08]MH_I2C_Read... [11:39:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:39:08]Read from MH i2c: E2 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 03 00 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 03 00 8B 63 00 90 00 62 [11:39:08]RAPDU: 90 00 [11:39:08]wFMCommunicate OK [11:39:08]SAM_PROTO_ClearQueue done [11:39:08]KKMCreateOFDPacket [11:39:08]OFDProtocolAddRootSTLVToBuf [11:39:08]FM_MakeSignedData [11:39:08]FM_MakeSignedData [11:39:08]SAM_PROTO_SignData [11:39:08]wFMCommunicate request_size=4 [11:39:08]MH_SAM_APDU [11:39:08]CAPDU: 80 0D 01 02 [11:39:08]Write to MH i2c: E2 08 00 8C 63 80 0D 01 02 00 00 00 00 68 [11:39:08]Write i2c OK [11:39:08]MH_I2C_Read... [11:39:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:39:08]Read from MH i2c: E2 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 03 00 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 03 00 8C 63 00 90 00 63 [11:39:08]RAPDU: 90 00 [11:39:08]wFMCommunicate OK [11:39:08]wFMCommunicate request_size=255 [11:39:08]MH_SAM_APDU [11:39:08]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 32 39 35 37 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 [11:39:08]Write to MH i2c: E2 02 01 8D 63 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 32 39 35 37 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 12 [11:39:08]Write i2c OK [11:39:08]MH_I2C_Read... [11:39:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:39:08]Read from MH i2c: E2 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 03 00 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 03 00 8D 63 00 90 00 64 [11:39:08]RAPDU: 90 00 [11:39:08]wFMCommunicate OK [11:39:08]wFMCommunicate request_size=141 [11:39:08]MH_SAM_APDU [11:39:08]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 E9 EB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 55 0A 00 00 35 04 06 00 2F 76 88 06 84 B4 [11:39:08]Write to MH i2c: E2 90 00 8E 63 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 E9 EB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 55 0A 00 00 35 04 06 00 2F 76 88 06 84 B4 00 00 D8 [11:39:08]Write i2c OK [11:39:08]MH_I2C_Read... [11:39:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:39:08]Read from MH i2c: E2 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 03 00 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 03 00 8E 63 00 90 00 65 [11:39:08]RAPDU: 90 00 [11:39:08]wFMCommunicate OK [11:39:08]wFMCommunicate request_size=4 [11:39:08]MH_SAM_APDU [11:39:08]CAPDU: 80 0D 03 02 [11:39:08]Write to MH i2c: E2 08 00 8F 63 80 0D 03 02 00 00 00 00 6D [11:39:08]Write i2c OK [11:39:08]MH_I2C_Read... [11:39:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:39:08]Read from MH i2c: E2 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 0B 00 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 0B 00 8F 63 00 A4 23 E1 3F 3E B9 8F 13 90 00 EE [11:39:08]RAPDU: A4 23 E1 3F 3E B9 8F 13 90 00 [11:39:08]wFMCommunicate OK [11:39:08]SAM_PROTO_SignData done [11:39:08]FM_MakeSignedData done [11:39:08]CreateOFDProtocolMessage [11:39:08]wFMCommunicate request_size=4 [11:39:08]MH_SAM_APDU [11:39:08]CAPDU: 80 11 00 00 [11:39:08]Write to MH i2c: E2 08 00 90 63 80 11 00 00 00 00 00 00 6D [11:39:08]Write i2c OK [11:39:08]MH_I2C_Read... [11:39:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:39:08]Read from MH i2c: E2 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 17 00 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: E2 17 00 90 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B5 [11:39:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:39:08]wFMCommunicate OK [11:39:08]CreateOFDProtocolMessage done [11:39:08]OFDSenderStorePacket 2645 [11:39:08]StoreOFDPacket docnum=2645 [11:39:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 92 01 00 00 E4 78 8A 01 26 06 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 32 39 35 37 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 E9 EB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 55 0A 00 00 35 04 06 00 2F 76 88 06 84 B4 A4 23 E1 3F 3E B9 8F 13 [11:39:08]CheckFolder [11:39:08]dirname=/storage/ofd_packets [11:39:08]CheckFolder done [11:39:08]ProducePacketName [11:39:08]name=ofd_packets/00002645 [11:39:08]NVStorageSaveData ofd_packets/00002645 [11:39:08]File name is /storage/ofd_packets/00002645 [11:39:08]Write 432 bytes [11:39:08]NVStorageSaveData done [11:39:08]OFDSenderStorePacket done [11:39:08]KKMCreateOFDPacket done [11:39:08]NVStorageSaveData kkm_last_timestamp [11:39:08]File name is /storage/kkm_last_timestamp [11:39:08]Write 4 bytes [11:39:08]NVStorageSaveData done [11:39:08]ExternCall_PrintAddStr [11:39:08]wPrintStart [11:39:08]Write to MH i2c: 01 00 00 91 63 F4 [11:39:08]Write i2c OK [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: 01 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: 01 07 00 [11:39:08]MH_I2C_Read... [11:39:08]Read from MH i2c: 01 07 00 91 63 00 00 00 00 00 FF 0F 09 [11:39:08]RasterBufferAndPrint [11:39:08]line Счет N : (3)100024 [11:39:08]line ИНН: 02508201610067 [11:39:08]line Контрольно-Кассовый Чек [11:39:08]line ПРОДАЖА [11:39:08]line Товар: 4870227272957 [11:39:08]line Лимонад Sunbel Тархун 1л [11:39:09]line 1.000 * 85.00 [11:39:09]line = 85.00 [11:39:09]line НДС 12% НСП 1% [11:39:09]line > о реализуемом товаре [11:39:09]line Товар: 4640030091607 [11:39:09]line Сигареты ESSE Exchange [11:39:09]line 1.000 * 150.00 [11:39:09]line = 150.00 [11:39:09]line НДС 12% НСП 1% [11:39:09]line > о реализуемом товаре [11:39:09]line ИТОГО: 235.00 [11:39:09]line НСП 1% : 2.08 [11:39:09]line НДС 12% : 24.96 [11:39:09]line Наличными: 235.00 [11:39:09]line Безнал.: 0.00 [11:39:09]line Место: АЗС № 162 "Партнер Нефть" [11:39:09]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:39:09]line СНО: Общий режим [11:39:09]line Чек 26 20.10.2024 11:39 [11:39:09]line Смена: 24 ФФД: 1.0 [11:39:09]line ЗНМ: 0300000191 [11:39:09]line РНМ: 0000000000207295 [11:39:09]line Версия ККМ: v1.0 [11:39:09]line ФМ: 0000000002342820 [11:39:09]line ФД: 2645 [11:39:09]line ФПД: 52186134774964 [11:39:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T113921&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2645&fm=52186134774964&tin=02508201610067®Number=0000000000207295&sum=23500 [11:39:09]line 0 [11:39:09]OFD Sender: Processing packet 2645 [packets to send 1, broken 0] [11:39:09]ProducePacketName [11:39:09]name=ofd_packets/00002645 [11:39:09]OFD Sender: To server: pG, [11:39:09]CommunicateWithHost lk.salyk.kg:30040 [11:39:09]ConnectInit lk.salyk.kg [11:39:09]written 0, free lines is 4095 [11:39:09]Connected sock=10 [11:39:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 92 01 00 00 E4 78 8A 01 26 06 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 32 39 35 37 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 E9 EB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 55 0A 00 00 35 04 06 00 2F 76 88 06 84 B4 A4 23 E1 3F 3E B9 8F 13 [11:39:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 B4 BF 47 00 68 50 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 33 34 32 38 32 30 10 04 04 00 55 0A 00 00 F4 03 04 00 47 97 14 67 B6 04 01 00 00 4F B9 DF BF 27 F9 17 F6 [11:39:09]CommunicateWithHost err = 0 [11:39:09]CheckOFDResponse [11:39:09]1017 (14) - 77093643461234 [11:39:09]1041 (16) - 0000000002342820 [11:39:09]1040 (4) - 2645 [11:39:09]1012 (4) - 20.10.2024 05:38 [11:39:09]1206 (1) - 0 [11:39:09]OFD Sender: Remove packet 2645 [11:39:09]ProducePacketName [11:39:09]name=ofd_packets/00002645 [11:39:09]NVStorageDeleteData [11:39:09]Write to MH i2c: 01 00 00 BF 63 22 [11:39:09]Write i2c OK [11:39:09]MH_I2C_Read... [11:39:09]Read from MH i2c: 01 [11:39:09]MH_I2C_Read... [11:39:09]Read from MH i2c: 01 07 00 [11:39:09]MH_I2C_Read... [11:39:09]Read from MH i2c: 01 07 00 BF 63 00 00 00 00 00 72 0C A7 [11:39:09]RasterBufferAndPrint [11:39:09]line [11:39:09]line [11:39:09]line [11:39:09]line [11:39:09]line [11:39:09]written 0, free lines is 3193 [11:39:09]MH_Cut [11:39:09]Write to MH i2c: D1 01 00 C6 63 01 FB [11:39:09]Write i2c OK [11:39:09]MH_I2C_Read... [11:39:09]Read from MH i2c: D1 [11:39:09]MH_I2C_Read... [11:39:09]Read from MH i2c: D1 01 00 [11:39:09]MH_I2C_Read... [11:39:09]Read from MH i2c: D1 01 00 C6 63 00 FA [11:39:09]Write to MH i2c: 01 00 00 C7 63 2A [11:39:09]Write i2c OK [11:39:09]MH_I2C_Read... [11:39:09]OFD Sender: No OFD packet to send [11:39:10]*** Cut start [11:39:10]*** Partial cut [11:39:10]*** CUTSNS_PIN = 1 [11:39:10]*** CUTSNS_PIN = 0 [11:39:10]*** Brake cut motor [11:39:11]Read from MH i2c: 01 [11:39:11]MH_I2C_Read... [11:39:11]*** Stop cut motor [11:39:11]*** Cut end [11:39:11]Read from MH i2c: 01 07 00 [11:39:11]MH_I2C_Read... [11:39:11]Read from MH i2c: 01 07 00 C7 63 00 00 00 00 00 FF 0F 3F [11:39:11]process_action close_receipt done [11:39:11]requested_data is exist [11:39:11]produce_requested_data [11:39:11]requested_item fm.sn is exist - process it [11:39:11]wFMCommunicate request_size=4 [11:39:11]MH_SAM_APDU [11:39:11]CAPDU: 80 11 00 00 [11:39:11]Write to MH i2c: E2 08 00 C8 63 80 11 00 00 00 00 00 00 A5 [11:39:11]Write i2c OK [11:39:11]MH_I2C_Read... [11:39:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:39:11]Read from MH i2c: E2 [11:39:11]MH_I2C_Read... [11:39:11]Read from MH i2c: E2 17 00 [11:39:11]MH_I2C_Read... [11:39:11]Read from MH i2c: E2 17 00 C8 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 ED [11:39:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:39:11]wFMCommunicate OK [11:39:11]requested_item fd.num is exist - process it [11:39:11]SAM_PROTO_GetFieldsCounters [11:39:11]wFMCommunicate request_size=4 [11:39:11]MH_SAM_APDU [11:39:11]CAPDU: 80 13 00 00 [11:39:11]Write to MH i2c: E2 08 00 C9 63 80 13 00 00 00 00 00 00 A8 [11:39:11]Write i2c OK [11:39:11]MH_I2C_Read... [11:39:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:39:11]Read from MH i2c: E2 [11:39:11]MH_I2C_Read... [11:39:11]Read from MH i2c: E2 62 00 [11:39:11]MH_I2C_Read... [11:39:11]Read from MH i2c: E2 62 00 C9 63 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 55 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [11:39:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 55 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:39:11]wFMCommunicate OK [11:39:11]SAM_PROTO_GetFieldsCounters done [11:39:11]requested_item shift.num is exist - process it [11:39:11]requested_item shift.opened is exist - process it [11:39:11]req_shift_opened [11:39:11]FM_GetShiftState [11:39:11]SAM_PROTO_GetShiftState [11:39:11]wFMCommunicate request_size=4 [11:39:11]MH_SAM_APDU [11:39:11]CAPDU: 80 13 01 00 [11:39:11]Write to MH i2c: E2 08 00 CA 63 80 13 01 00 00 00 00 00 AA [11:39:11]Write i2c OK [11:39:11]MH_I2C_Read... [11:39:11]Read from MH i2c: E2 [11:39:11]MH_I2C_Read... [11:39:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:39:11]Read from MH i2c: E2 0E 00 [11:39:11]MH_I2C_Read... [11:39:11]Read from MH i2c: E2 0E 00 CA 63 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 94 [11:39:11]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:39:11]wFMCommunicate OK [11:39:11]SAM_PROTO_GetShiftState done [11:39:11]FM_GetShiftState done [11:39:11]req_shift_opened done [11:39:11]requested_item shift.open_date is exist - process it [11:39:11]req_shift_open_date [11:39:11]req_shift_open_date done [11:39:11]produce_requested_data done [11:39:11]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2645,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:39:11]process_action_free close_receipt [11:39:11]json_value_free [11:39:11]json_value_free done [11:39:11]process_json_proto returns [11:39:11]Send response to host [11:39:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2645,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:39:11]free response buf [11:39:11]execute_script done [11:39:11]execute_script returns [11:39:11]free content buf [11:39:11]Sock 9.Close socket [11:39:11]Sock 9.Thread stoped [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]accept exits with 7 [11:40:04]New connection [11:40:04]New thread 3066850660 created [11:40:04]Thread 3066707300 joined [11:40:04]Waiting for new connection... [11:40:04] Sock 7.Parse request [11:40:04]Sock 7.Check first char [11:40:04]Sock 7.First char is OK [11:40:04]request: POST /json_proto HTTP/1.0 [11:40:04]Method: POST [11:40:04]URL: /json_proto [11:40:04]Method is POST - this is cgi request [11:40:04]url: /json_proto [11:40:04]query_string will be loaded in cgi processing [11:40:04]execute_cgi json_proto POST (null) [11:40:04]execute_cgi path=json_proto method=POST [11:40:04]POST find Content-Length [11:40:04]Host: 172.17.52.132:8080 [11:40:04]Content-Length: 670 [11:40:04]Content-Type: application/json [11:40:04] [11:40:04]POST finish read [11:40:04]Found Content-Length = 670 [11:40:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)476725", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 5.850, "sum" : 400.14, "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" ] } } [11:40:04]execute_script... [11:40:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)476725", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 5.850, "sum" : 400.14, "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" ] } } [11:40:04]POST & json_proto [11:40:04]process_json_proto [11:40:04]json parsed OK: [11:40:04]protocol is kg_v1.0 [11:40:04]action value=close_receipt [11:40:04]process_action close_receipt [11:40:04]cmd_close_receipt [11:40:04]MH_GetDate [11:40:04]Write to MH i2c: F0 00 00 CB 63 1D [11:40:04]Write i2c OK [11:40:04]MH_I2C_Read... [11:40:04]Read from MH i2c: F0 [11:40:04]MH_I2C_Read... [11:40:04]Read from MH i2c: F0 09 00 [11:40:04]MH_I2C_Read... [11:40:04]Read from MH i2c: F0 09 00 CB 63 00 23 EC 14 67 5A BE F6 66 24 [11:40:04]GetLastDocTimeStamp 1729424361 [11:40:04]current date 1729424419 [11:40:04]FM_GetShiftState [11:40:04]SAM_PROTO_GetShiftState [11:40:04]wFMCommunicate request_size=4 [11:40:04]MH_SAM_APDU [11:40:04]CAPDU: 80 13 01 00 [11:40:04]Write to MH i2c: E2 08 00 CC 63 80 13 01 00 00 00 00 00 AC [11:40:04]Write i2c OK [11:40:04]MH_I2C_Read... [11:40:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:40:04]Read from MH i2c: E2 [11:40:04]MH_I2C_Read... [11:40:04]Read from MH i2c: E2 0E 00 [11:40:04]MH_I2C_Read... [11:40:04]Read from MH i2c: E2 0E 00 CC 63 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 96 [11:40:04]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:40:04]wFMCommunicate OK [11:40:04]SAM_PROTO_GetShiftState done [11:40:04]FM_GetShiftState done [11:40:04]opened in 1729382427 [11:40:04]opened+sec_in_day 1729468827 [11:40:04]quantity*price = 40014 [11:40:04]sum+1 = 40015 [11:40:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.14 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.49 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 27 20.10.2024 11:40 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2646 ФПД: 73695759295214 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T114019&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2646&fm=73695759295214&tin=02508201610067®Number=0000000000207295&sum=40000 [11:40:05]StoreToDocumentArchive [11:40:05]shift 24 fd 2646 [11:40:05]save to /storage/0024/doc_00002646 [11:40:05]save last doc name /storage/0024/doc_00002646 to /storage/kkm_last_doc_name [11:40:05]save OK [11:40:05]Clear old archive folders... [11:40:05]ProcessDocumentItem done err = 0, tmpTLVsize=252 [11:40:05]tlvbuf is 0135D0C0 [11:40:05]SAM_PROTO_ClearQueue [11:40:05]wFMCommunicate request_size=4 [11:40:05]MH_SAM_APDU [11:40:05]CAPDU: 80 09 00 00 [11:40:05]Write to MH i2c: E2 08 00 D9 63 80 09 00 00 00 00 00 00 AE [11:40:05]Write i2c OK [11:40:05]MH_I2C_Read... [11:40:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:40:06]Read from MH i2c: E2 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 03 00 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 03 00 D9 63 00 90 00 B0 [11:40:06]RAPDU: 90 00 [11:40:06]wFMCommunicate OK [11:40:06]SAM_PROTO_ClearQueue done [11:40:06]KKMCreateOFDPacket [11:40:06]OFDProtocolAddRootSTLVToBuf [11:40:06]FM_MakeSignedData [11:40:06]FM_MakeSignedData [11:40:06]SAM_PROTO_SignData [11:40:06]wFMCommunicate request_size=4 [11:40:06]MH_SAM_APDU [11:40:06]CAPDU: 80 0D 01 02 [11:40:06]Write to MH i2c: E2 08 00 DA 63 80 0D 01 02 00 00 00 00 B6 [11:40:06]Write i2c OK [11:40:06]MH_I2C_Read... [11:40:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:40:06]Read from MH i2c: E2 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 03 00 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 03 00 DA 63 00 90 00 B1 [11:40:06]RAPDU: 90 00 [11:40:06]wFMCommunicate OK [11:40:06]wFMCommunicate request_size=255 [11:40:06]MH_SAM_APDU [11:40:06]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 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 16 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4E 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 99 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 1B 00 00 00 F4 03 04 00 23 EC 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 56 0A 00 00 35 04 06 00 [11:40:06]Write to MH i2c: E2 02 01 DB 63 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 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 16 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4E 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 99 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 1B 00 00 00 F4 03 04 00 23 EC 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 56 0A 00 00 35 04 06 00 00 00 EC [11:40:06]Write i2c OK [11:40:06]MH_I2C_Read... [11:40:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:40:06]Read from MH i2c: E2 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 03 00 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 03 00 DB 63 00 90 00 B2 [11:40:06]RAPDU: 90 00 [11:40:06]wFMCommunicate OK [11:40:06]wFMCommunicate request_size=11 [11:40:06]MH_SAM_APDU [11:40:06]CAPDU: 80 0D 02 02 06 43 06 A1 8D E2 EE [11:40:06]Write to MH i2c: E2 0E 00 DC 63 80 0D 02 02 06 00 43 06 A1 8D E2 EE 00 00 0C [11:40:06]Write i2c OK [11:40:06]MH_I2C_Read... [11:40:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:40:06]Read from MH i2c: E2 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 03 00 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 03 00 DC 63 00 90 00 B3 [11:40:06]RAPDU: 90 00 [11:40:06]wFMCommunicate OK [11:40:06]wFMCommunicate request_size=4 [11:40:06]MH_SAM_APDU [11:40:06]CAPDU: 80 0D 03 02 [11:40:06]Write to MH i2c: E2 08 00 DD 63 80 0D 03 02 00 00 00 00 BB [11:40:06]Write i2c OK [11:40:06]MH_I2C_Read... [11:40:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:40:06]Read from MH i2c: E2 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 0B 00 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 0B 00 DD 63 00 69 2E E0 07 43 6B 3F 11 90 00 38 [11:40:06]RAPDU: 69 2E E0 07 43 6B 3F 11 90 00 [11:40:06]wFMCommunicate OK [11:40:06]SAM_PROTO_SignData done [11:40:06]FM_MakeSignedData done [11:40:06]CreateOFDProtocolMessage [11:40:06]wFMCommunicate request_size=4 [11:40:06]MH_SAM_APDU [11:40:06]CAPDU: 80 11 00 00 [11:40:06]Write to MH i2c: E2 08 00 DE 63 80 11 00 00 00 00 00 00 BB [11:40:06]Write i2c OK [11:40:06]MH_I2C_Read... [11:40:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:40:06]Read from MH i2c: E2 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 17 00 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: E2 17 00 DE 63 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 03 [11:40:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:40:06]wFMCommunicate OK [11:40:06]CreateOFDProtocolMessage done [11:40:06]OFDSenderStorePacket 2646 [11:40:06]StoreOFDPacket docnum=2646 [11:40:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 01 00 00 3C 60 08 01 BB 8C 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 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 16 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4E 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 99 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 1B 00 00 00 F4 03 04 00 23 EC 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 56 0A 00 00 35 04 06 00 43 06 A1 8D E2 EE 69 2E E0 07 43 6B 3F 11 [11:40:06]CheckFolder [11:40:06]dirname=/storage/ofd_packets [11:40:06]CheckFolder done [11:40:06]ProducePacketName [11:40:06]name=ofd_packets/00002646 [11:40:06]NVStorageSaveData ofd_packets/00002646 [11:40:06]File name is /storage/ofd_packets/00002646 [11:40:06]Write 302 bytes [11:40:06]NVStorageSaveData done [11:40:06]OFDSenderStorePacket done [11:40:06]KKMCreateOFDPacket done [11:40:06]NVStorageSaveData kkm_last_timestamp [11:40:06]File name is /storage/kkm_last_timestamp [11:40:06]Write 4 bytes [11:40:06]NVStorageSaveData done [11:40:06]ExternCall_PrintAddStr [11:40:06]wPrintStart [11:40:06]Write to MH i2c: 01 00 00 DF 63 42 [11:40:06]Write i2c OK [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: 01 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: 01 07 00 [11:40:06]MH_I2C_Read... [11:40:06]Read from MH i2c: 01 07 00 DF 63 00 00 00 00 00 FF 0F 57 [11:40:06]RasterBufferAndPrint [11:40:06]line Счет N : (1)476725 [11:40:06]line ИНН: 02508201610067 [11:40:06]line Контрольно-Кассовый Чек [11:40:06]line ПРОДАЖА [11:40:06]line ТРК (МРК, ГНК) : 13 [11:40:06]line Товар: 2710124130 [11:40:06]line SUPER-92-К-5 [11:40:06]line 5.850 * 68.40 [11:40:06]line = 400.14 [11:40:06]line НДС 12% НСП 1% [11:40:06]line > о реализуемом товаре [11:40:06]line ОКРУГЛЕНИЕ: -0.14 [11:40:06]line ИТОГО: 400.00 [11:40:06]line Внесено: 400.00 [11:40:06]line СДАЧА: 0.00 [11:40:06]line НСП 1% : 3.54 [11:40:06]line НДС 12% : 42.49 [11:40:06]line Наличными: 400.00 [11:40:06]line Безнал.: 0.00 [11:40:06]line Место: АЗС № 162 "Партнер Нефть" [11:40:06]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:40:06]line СНО: Общий режим [11:40:06]line Чек 27 20.10.2024 11:40 [11:40:06]line Смена: 24 ФФД: 1.0 [11:40:06]line ЗНМ: 0300000191 [11:40:06]line РНМ: 0000000000207295 [11:40:06]line Версия ККМ: v1.0 [11:40:06]line ФМ: 0000000002342820 [11:40:06]line ФД: 2646 [11:40:06]line ФПД: 73695759295214 [11:40:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T114019&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2646&fm=73695759295214&tin=02508201610067®Number=0000000000207295&sum=40000 [11:40:06]OFD Sender: Processing packet 2646 [packets to send 1, broken 0] [11:40:06]ProducePacketName [11:40:06]name=ofd_packets/00002646 [11:40:06]OFD Sender: To server: pG, [11:40:06]CommunicateWithHost lk.salyk.kg:30040 [11:40:06]ConnectInit lk.salyk.kg [11:40:06]written 0, free lines is 4095 [11:40:07]Connected sock=10 [11:40:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 01 00 00 3C 60 08 01 BB 8C 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 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 16 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4E 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 99 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 1B 00 00 00 F4 03 04 00 23 EC 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 56 0A 00 00 35 04 06 00 43 06 A1 8D E2 EE 69 2E E0 07 43 6B 3F 11 [11:40:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 7F 30 47 00 66 D5 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 33 34 32 38 32 30 10 04 04 00 56 0A 00 00 F4 03 04 00 81 97 14 67 B6 04 01 00 00 43 5A AC 81 4F CA BE 05 [11:40:07]CommunicateWithHost err = 0 [11:40:07]CheckOFDResponse [11:40:07]1017 (14) - 77093643461234 [11:40:07]1041 (16) - 0000000002342820 [11:40:07]1040 (4) - 2646 [11:40:07]1012 (4) - 20.10.2024 05:39 [11:40:07]1206 (1) - 0 [11:40:07]OFD Sender: Remove packet 2646 [11:40:07]ProducePacketName [11:40:07]name=ofd_packets/00002646 [11:40:07]NVStorageDeleteData [11:40:07]Write to MH i2c: 01 00 00 0A 64 6E [11:40:07]Write i2c OK [11:40:07]MH_I2C_Read... [11:40:07]Read from MH i2c: 01 [11:40:07]MH_I2C_Read... [11:40:07]Read from MH i2c: 01 07 00 [11:40:07]MH_I2C_Read... [11:40:07]Read from MH i2c: 01 07 00 0A 64 00 00 00 00 00 A7 0C 28 [11:40:07]RasterBufferAndPrint [11:40:07]line [11:40:07]line [11:40:07]line [11:40:07]line [11:40:07]line [11:40:07]written 0, free lines is 3245 [11:40:07]MH_Cut [11:40:07]Write to MH i2c: D1 01 00 11 64 01 47 [11:40:07]Write i2c OK [11:40:07]MH_I2C_Read... [11:40:07]Read from MH i2c: D1 [11:40:07]MH_I2C_Read... [11:40:07]Read from MH i2c: D1 01 00 [11:40:07]MH_I2C_Read... [11:40:07]Read from MH i2c: D1 01 00 11 64 00 46 [11:40:07]Write to MH i2c: 01 00 00 12 64 76 [11:40:07]Write i2c OK [11:40:07]MH_I2C_Read... [11:40:07]OFD Sender: No OFD packet to send [11:40:08]*** Cut start [11:40:08]*** Partial cut [11:40:08]*** CUTSNS_PIN = 1 [11:40:08]*** CUTSNS_PIN = 0 [11:40:08]*** Brake cut motor [11:40:08]Read from MH i2c: 01 [11:40:08]MH_I2C_Read... [11:40:08]*** Stop cut motor [11:40:08]*** Cut end [11:40:08]Read from MH i2c: 01 07 00 [11:40:08]MH_I2C_Read... [11:40:08]Read from MH i2c: 01 07 00 12 64 00 00 00 00 00 FF 0F 8B [11:40:08]process_action close_receipt done [11:40:08]requested_data is exist [11:40:08]produce_requested_data [11:40:08]requested_item fm.sn is exist - process it [11:40:08]wFMCommunicate request_size=4 [11:40:08]MH_SAM_APDU [11:40:08]CAPDU: 80 11 00 00 [11:40:08]Write to MH i2c: E2 08 00 13 64 80 11 00 00 00 00 00 00 F1 [11:40:08]Write i2c OK [11:40:08]MH_I2C_Read... [11:40:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:40:08]Read from MH i2c: E2 [11:40:08]MH_I2C_Read... [11:40:08]Read from MH i2c: E2 17 00 [11:40:08]MH_I2C_Read... [11:40:08]Read from MH i2c: E2 17 00 13 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 39 [11:40:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:40:08]wFMCommunicate OK [11:40:08]requested_item fd.num is exist - process it [11:40:08]SAM_PROTO_GetFieldsCounters [11:40:08]wFMCommunicate request_size=4 [11:40:08]MH_SAM_APDU [11:40:08]CAPDU: 80 13 00 00 [11:40:08]Write to MH i2c: E2 08 00 14 64 80 13 00 00 00 00 00 00 F4 [11:40:08]Write i2c OK [11:40:08]MH_I2C_Read... [11:40:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:40:09]Read from MH i2c: E2 [11:40:09]MH_I2C_Read... [11:40:09]Read from MH i2c: E2 62 00 [11:40:09]MH_I2C_Read... [11:40:09]Read from MH i2c: E2 62 00 14 64 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 56 0A 00 00 0E 04 04 00 18 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 D3 [11:40:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 56 0A 00 00 0E 04 04 00 18 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 [11:40:09]wFMCommunicate OK [11:40:09]SAM_PROTO_GetFieldsCounters done [11:40:09]requested_item shift.num is exist - process it [11:40:09]requested_item shift.opened is exist - process it [11:40:09]req_shift_opened [11:40:09]FM_GetShiftState [11:40:09]SAM_PROTO_GetShiftState [11:40:09]wFMCommunicate request_size=4 [11:40:09]MH_SAM_APDU [11:40:09]CAPDU: 80 13 01 00 [11:40:09]Write to MH i2c: E2 08 00 15 64 80 13 01 00 00 00 00 00 F6 [11:40:09]Write i2c OK [11:40:09]MH_I2C_Read... [11:40:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:40:09]Read from MH i2c: E2 [11:40:09]MH_I2C_Read... [11:40:09]Read from MH i2c: E2 0E 00 [11:40:09]MH_I2C_Read... [11:40:09]Read from MH i2c: E2 0E 00 15 64 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E0 [11:40:09]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:40:09]wFMCommunicate OK [11:40:09]SAM_PROTO_GetShiftState done [11:40:09]FM_GetShiftState done [11:40:09]req_shift_opened done [11:40:09]requested_item shift.open_date is exist - process it [11:40:09]req_shift_open_date [11:40:09]req_shift_open_date done [11:40:09]produce_requested_data done [11:40:09]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2646,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:40:09]process_action_free close_receipt [11:40:09]json_value_free [11:40:09]json_value_free done [11:40:09]process_json_proto returns [11:40:09]Send response to host [11:40:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2646,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:40:09]free response buf [11:40:09]execute_script done [11:40:09]execute_script returns [11:40:09]free content buf [11:40:09]Sock 7.Close socket [11:40:09]Sock 7.Thread stoped [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:28]accept exits with 9 [11:40:28]New connection [11:40:28]New thread 3066707300 created [11:40:28]Thread 3066850660 joined [11:40:28]Waiting for new connection... [11:40:28] Sock 9.Parse request [11:40:28]Sock 9.Check first char [11:40:28]Sock 9.First char is OK [11:40:28]request: POST /json_proto HTTP/1.0 [11:40:28]Method: POST [11:40:28]URL: /json_proto [11:40:28]Method is POST - this is cgi request [11:40:28]url: /json_proto [11:40:28]query_string will be loaded in cgi processing [11:40:28]execute_cgi json_proto POST (null) [11:40:28]execute_cgi path=json_proto method=POST [11:40:28]POST find Content-Length [11:40:28]Host: 172.17.52.132:8080 [11:40:28]Content-Length: 706 [11:40:28]Content-Type: application/json [11:40:28] [11:40:28]POST finish read [11:40:28]Found Content-Length = 706 [11:40:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100025", "tax_sys" : 0, "items" : [ { "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" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:40:28]execute_script... [11:40: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)100025", "tax_sys" : 0, "items" : [ { "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" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:40:28]POST & json_proto [11:40:28]process_json_proto [11:40:28]json parsed OK: [11:40:28]protocol is kg_v1.0 [11:40:28]action value=close_receipt [11:40:28]process_action close_receipt [11:40:28]cmd_close_receipt [11:40:28]MH_GetDate [11:40:28]Write to MH i2c: F0 00 00 16 64 69 [11:40:28]Write i2c OK [11:40:28]MH_I2C_Read... [11:40:28]Read from MH i2c: F0 [11:40:28]MH_I2C_Read... [11:40:28]Read from MH i2c: F0 09 00 [11:40:28]MH_I2C_Read... [11:40:28]Read from MH i2c: F0 09 00 16 64 00 3B EC 14 67 5A BE F6 66 88 [11:40:28]GetLastDocTimeStamp 1729424419 [11:40:28]current date 1729424443 [11:40:28]FM_GetShiftState [11:40:28]SAM_PROTO_GetShiftState [11:40:28]wFMCommunicate request_size=4 [11:40:28]MH_SAM_APDU [11:40:28]CAPDU: 80 13 01 00 [11:40:28]Write to MH i2c: E2 08 00 17 64 80 13 01 00 00 00 00 00 F8 [11:40:28]Write i2c OK [11:40:28]MH_I2C_Read... [11:40:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:40:28]Read from MH i2c: E2 [11:40:28]MH_I2C_Read... [11:40:28]Read from MH i2c: E2 0E 00 [11:40:28]MH_I2C_Read... [11:40:28]Read from MH i2c: E2 0E 00 17 64 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E2 [11:40:28]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:40:28]wFMCommunicate OK [11:40:28]SAM_PROTO_GetShiftState done [11:40:28]FM_GetShiftState done [11:40:28]opened in 1729382427 [11:40:28]opened+sec_in_day 1729468827 [11:40:28]quantity*price = 12000 [11:40:28]sum+1 = 12001 [11:40:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 28 20.10.2024 11:40 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2647 ФПД: 247141771767127 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T114043&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2647&fm=247141771767127&tin=02508201610067®Number=0000000000207295&sum=12000 0 [11:40:29]StoreToDocumentArchive [11:40:29]shift 24 fd 2647 [11:40:29]save to /storage/0024/doc_00002647 [11:40:29]save last doc name /storage/0024/doc_00002647 to /storage/kkm_last_doc_name [11:40:29]save OK [11:40:29]Clear old archive folders... [11:40:29]ProcessDocumentItem done err = 0, tmpTLVsize=298 [11:40:29]tlvbuf is 014ADCB0 [11:40:29]SAM_PROTO_ClearQueue [11:40:29]wFMCommunicate request_size=4 [11:40:29]MH_SAM_APDU [11:40:29]CAPDU: 80 09 00 00 [11:40:29]Write to MH i2c: E2 08 00 24 64 80 09 00 00 00 00 00 00 FA [11:40:29]Write i2c OK [11:40:29]MH_I2C_Read... [11:40:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:40:29]Read from MH i2c: E2 [11:40:29]MH_I2C_Read... [11:40:29]Read from MH i2c: E2 03 00 [11:40:29]MH_I2C_Read... [11:40:29]Read from MH i2c: E2 03 00 24 64 00 90 00 FC [11:40:29]RAPDU: 90 00 [11:40:29]wFMCommunicate OK [11:40:29]SAM_PROTO_ClearQueue done [11:40:29]KKMCreateOFDPacket [11:40:29]OFDProtocolAddRootSTLVToBuf [11:40:29]FM_MakeSignedData [11:40:29]FM_MakeSignedData [11:40:29]SAM_PROTO_SignData [11:40:29]wFMCommunicate request_size=4 [11:40:29]MH_SAM_APDU [11:40:29]CAPDU: 80 0D 01 02 [11:40:29]Write to MH i2c: E2 08 00 25 64 80 0D 01 02 00 00 00 00 02 [11:40:29]Write i2c OK [11:40:29]MH_I2C_Read... [11:40:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:40:29]Read from MH i2c: E2 [11:40:29]MH_I2C_Read... [11:40:29]Read from MH i2c: E2 03 00 [11:40:29]MH_I2C_Read... [11:40:29]Read from MH i2c: E2 03 00 25 64 00 90 00 FD [11:40:29]RAPDU: 90 00 [11:40:29]wFMCommunicate OK [11:40:29]wFMCommunicate request_size=255 [11:40:29]MH_SAM_APDU [11:40:29]CAPDU: 80 0D 02 02 FA 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 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 3B EC 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [11:40:29]Write to MH i2c: E2 02 01 26 64 80 0D 02 02 FA 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 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 3B EC 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 D6 [11:40:29]Write i2c OK [11:40:29]MH_I2C_Read... [11:40:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:40:30]Read from MH i2c: E2 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: E2 03 00 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: E2 03 00 26 64 00 90 00 FE [11:40:30]RAPDU: 90 00 [11:40:30]wFMCommunicate OK [11:40:30]wFMCommunicate request_size=57 [11:40:30]MH_SAM_APDU [11:40:30]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 57 0A 00 00 35 04 06 00 E0 C6 2D 83 ED 57 [11:40:30]Write to MH i2c: E2 3C 00 27 64 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 57 0A 00 00 35 04 06 00 E0 C6 2D 83 ED 57 00 00 B2 [11:40:30]Write i2c OK [11:40:30]MH_I2C_Read... [11:40:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:40:30]Read from MH i2c: E2 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: E2 03 00 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: E2 03 00 27 64 00 90 00 FF [11:40:30]RAPDU: 90 00 [11:40:30]wFMCommunicate OK [11:40:30]wFMCommunicate request_size=4 [11:40:30]MH_SAM_APDU [11:40:30]CAPDU: 80 0D 03 02 [11:40:30]Write to MH i2c: E2 08 00 28 64 80 0D 03 02 00 00 00 00 07 [11:40:30]Write i2c OK [11:40:30]MH_I2C_Read... [11:40:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:40:30]Read from MH i2c: E2 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: E2 0B 00 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: E2 0B 00 28 64 00 2D 36 22 4A FD 75 E2 4F 90 00 7A [11:40:30]RAPDU: 2D 36 22 4A FD 75 E2 4F 90 00 [11:40:30]wFMCommunicate OK [11:40:30]SAM_PROTO_SignData done [11:40:30]FM_MakeSignedData done [11:40:30]CreateOFDProtocolMessage [11:40:30]wFMCommunicate request_size=4 [11:40:30]MH_SAM_APDU [11:40:30]CAPDU: 80 11 00 00 [11:40:30]Write to MH i2c: E2 08 00 29 64 80 11 00 00 00 00 00 00 07 [11:40:30]Write i2c OK [11:40:30]MH_I2C_Read... [11:40:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:40:30]Read from MH i2c: E2 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: E2 17 00 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: E2 17 00 29 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4F [11:40:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:40:30]wFMCommunicate OK [11:40:30]CreateOFDProtocolMessage done [11:40:30]OFDSenderStorePacket 2647 [11:40:30]StoreOFDPacket docnum=2647 [11:40:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3E 01 00 00 69 93 36 01 68 9A 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 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 3B EC 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 57 0A 00 00 35 04 06 00 E0 C6 2D 83 ED 57 2D 36 22 4A FD 75 E2 4F [11:40:30]CheckFolder [11:40:30]dirname=/storage/ofd_packets [11:40:30]CheckFolder done [11:40:30]ProducePacketName [11:40:30]name=ofd_packets/00002647 [11:40:30]NVStorageSaveData ofd_packets/00002647 [11:40:30]File name is /storage/ofd_packets/00002647 [11:40:30]Write 348 bytes [11:40:30]NVStorageSaveData done [11:40:30]OFDSenderStorePacket done [11:40:30]KKMCreateOFDPacket done [11:40:30]NVStorageSaveData kkm_last_timestamp [11:40:30]File name is /storage/kkm_last_timestamp [11:40:30]Write 4 bytes [11:40:30]NVStorageSaveData done [11:40:30]ExternCall_PrintAddStr [11:40:30]wPrintStart [11:40:30]Write to MH i2c: 01 00 00 2A 64 8E [11:40:30]Write i2c OK [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: 01 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: 01 07 00 [11:40:30]MH_I2C_Read... [11:40:30]Read from MH i2c: 01 07 00 2A 64 00 00 00 00 00 FF 0F A3 [11:40:30]RasterBufferAndPrint [11:40:30]line Счет N : (3)100025 [11:40:30]line ИНН: 02508201610067 [11:40:30]line Контрольно-Кассовый Чек [11:40:30]line ПРОДАЖА [11:40:30]line Товар: 5449000189356 [11:40:30]line Холодный чай Fuse манго ананас 1л [11:40:30]line 1.000 * 120.00 [11:40:30]line = 120.00 [11:40:30]line НДС 12% НСП 1% [11:40:30]line > о реализуемом товаре [11:40:30]line ИТОГО: 120.00 [11:40:30]line НСП 1% : 1.06 [11:40:30]line НДС 12% : 12.74 [11:40:30]line Наличными: 120.00 [11:40:30]line Безнал.: 0.00 [11:40:30]line Место: АЗС № 162 "Партнер Нефть" [11:40:30]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:40:30]line СНО: Общий режим [11:40:30]line Чек 28 20.10.2024 11:40 [11:40:30]line Смена: 24 ФФД: 1.0 [11:40:30]line ЗНМ: 0300000191 [11:40:30]line РНМ: 0000000000207295 [11:40:30]line Версия ККМ: v1.0 [11:40:30]line ФМ: 0000000002342820 [11:40:30]line ФД: 2647 [11:40:30]line ФПД: 247141771767127 [11:40:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T114043&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2647&fm=247141771767127&tin=02508201610067®Number=0000000000207295&sum=12000 [11:40:30]line 0 [11:40:30]OFD Sender: Processing packet 2647 [packets to send 1, broken 0] [11:40:30]ProducePacketName [11:40:30]name=ofd_packets/00002647 [11:40:30]OFD Sender: To server: pG, [11:40:30]CommunicateWithHost lk.salyk.kg:30040 [11:40:30]ConnectInit lk.salyk.kg [11:40:30]written 0, free lines is 4095 [11:40:30]Connected sock=10 [11:40:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3E 01 00 00 69 93 36 01 68 9A 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 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 3B EC 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 57 0A 00 00 35 04 06 00 E0 C6 2D 83 ED 57 2D 36 22 4A FD 75 E2 4F [11:40:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 2D 4A 47 00 6E 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 57 0A 00 00 F4 03 04 00 99 97 14 67 B6 04 01 00 00 C7 A4 30 28 76 1B 9C BE [11:40:30]CommunicateWithHost err = 0 [11:40:30]CheckOFDResponse [11:40:30]1017 (14) - 77093643461234 [11:40:30]1041 (16) - 0000000002342820 [11:40:30]1040 (4) - 2647 [11:40:30]1012 (4) - 20.10.2024 05:39 [11:40:30]1206 (1) - 0 [11:40:30]OFD Sender: Remove packet 2647 [11:40:30]ProducePacketName [11:40:30]name=ofd_packets/00002647 [11:40:30]NVStorageDeleteData [11:40:31]Write to MH i2c: 01 00 00 53 64 B7 [11:40:31]Write i2c OK [11:40:31]MH_I2C_Read... [11:40:31]Read from MH i2c: 01 [11:40:31]MH_I2C_Read... [11:40:31]Read from MH i2c: 01 07 00 [11:40:31]MH_I2C_Read... [11:40:31]Read from MH i2c: 01 07 00 53 64 00 00 00 00 00 AE 0C 78 [11:40:31]RasterBufferAndPrint [11:40:31]line [11:40:31]line [11:40:31]line [11:40:31]line [11:40:31]line [11:40:31]written 0, free lines is 3250 [11:40:31]MH_Cut [11:40:31]Write to MH i2c: D1 01 00 5A 64 01 90 [11:40:31]Write i2c OK [11:40:31]MH_I2C_Read... [11:40:31]Read from MH i2c: D1 [11:40:31]MH_I2C_Read... [11:40:31]Read from MH i2c: D1 01 00 [11:40:31]MH_I2C_Read... [11:40:31]Read from MH i2c: D1 01 00 5A 64 00 8F [11:40:31]Write to MH i2c: 01 00 00 5B 64 BF [11:40:31]Write i2c OK [11:40:31]MH_I2C_Read... [11:40:31]OFD Sender: No OFD packet to send [11:40:31]*** Cut start [11:40:31]*** Partial cut [11:40:31]*** CUTSNS_PIN = 1 [11:40:32]*** CUTSNS_PIN = 0 [11:40:32]*** Brake cut motor [11:40:32]Read from MH i2c: 01 [11:40:32]MH_I2C_Read... [11:40:32]*** Stop cut motor [11:40:32]*** Cut end [11:40:32]Read from MH i2c: 01 07 00 [11:40:32]MH_I2C_Read... [11:40:32]Read from MH i2c: 01 07 00 5B 64 00 00 00 00 00 FF 0F D4 [11:40:32]process_action close_receipt done [11:40:32]requested_data is exist [11:40:32]produce_requested_data [11:40:32]requested_item fm.sn is exist - process it [11:40:32]wFMCommunicate request_size=4 [11:40:32]MH_SAM_APDU [11:40:32]CAPDU: 80 11 00 00 [11:40:32]Write to MH i2c: E2 08 00 5C 64 80 11 00 00 00 00 00 00 3A [11:40:32]Write i2c OK [11:40:32]MH_I2C_Read... [11:40:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:40:32]Read from MH i2c: E2 [11:40:32]MH_I2C_Read... [11:40:32]Read from MH i2c: E2 17 00 [11:40:32]MH_I2C_Read... [11:40:32]Read from MH i2c: E2 17 00 5C 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 82 [11:40:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:40:32]wFMCommunicate OK [11:40:32]requested_item fd.num is exist - process it [11:40:32]SAM_PROTO_GetFieldsCounters [11:40:32]wFMCommunicate request_size=4 [11:40:32]MH_SAM_APDU [11:40:32]CAPDU: 80 13 00 00 [11:40:32]Write to MH i2c: E2 08 00 5D 64 80 13 00 00 00 00 00 00 3D [11:40:32]Write i2c OK [11:40:32]MH_I2C_Read... [11:40:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:40:32]Read from MH i2c: E2 [11:40:32]MH_I2C_Read... [11:40:32]Read from MH i2c: E2 62 00 [11:40:32]MH_I2C_Read... [11:40:32]Read from MH i2c: E2 62 00 5D 64 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 57 0A 00 00 0E 04 04 00 18 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 20 [11:40:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 57 0A 00 00 0E 04 04 00 18 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 [11:40:32]wFMCommunicate OK [11:40:32]SAM_PROTO_GetFieldsCounters done [11:40:32]requested_item shift.num is exist - process it [11:40:32]requested_item shift.opened is exist - process it [11:40:32]req_shift_opened [11:40:32]FM_GetShiftState [11:40:32]SAM_PROTO_GetShiftState [11:40:32]wFMCommunicate request_size=4 [11:40:32]MH_SAM_APDU [11:40:32]CAPDU: 80 13 01 00 [11:40:32]Write to MH i2c: E2 08 00 5E 64 80 13 01 00 00 00 00 00 3F [11:40:32]Write i2c OK [11:40:32]MH_I2C_Read... [11:40:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:40:32]Read from MH i2c: E2 [11:40:32]MH_I2C_Read... [11:40:32]Read from MH i2c: E2 0E 00 [11:40:32]MH_I2C_Read... [11:40:32]Read from MH i2c: E2 0E 00 5E 64 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 29 [11:40:32]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:40:32]wFMCommunicate OK [11:40:32]SAM_PROTO_GetShiftState done [11:40:32]FM_GetShiftState done [11:40:32]req_shift_opened done [11:40:32]requested_item shift.open_date is exist - process it [11:40:32]req_shift_open_date [11:40:32]req_shift_open_date done [11:40:32]produce_requested_data done [11:40:32]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2647,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:40:32]process_action_free close_receipt [11:40:32]json_value_free [11:40:32]json_value_free done [11:40:32]process_json_proto returns [11:40:32]Send response to host [11:40:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2647,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:40:32]free response buf [11:40:32]execute_script done [11:40:32]execute_script returns [11:40:32]free content buf [11:40:32]Sock 9.Close socket [11:40:32]Sock 9.Thread stoped [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41:01]OFD Sender: No OFD packet to send [11:41:06]OFD Sender: No OFD packet to send [11:41:11]OFD Sender: No OFD packet to send [11:41:16]OFD Sender: No OFD packet to send [11:41:21]OFD Sender: No OFD packet to send [11:41:26]OFD Sender: No OFD packet to send [11:41:31]OFD Sender: No OFD packet to send [11:41:36]OFD Sender: No OFD packet to send [11:41:41]OFD Sender: No OFD packet to send [11:41:46]OFD Sender: No OFD packet to send [11:41:51]OFD Sender: No OFD packet to send [11:41:56]OFD Sender: No OFD packet to send [11:42:01]OFD Sender: No OFD packet to send [11:42:06]OFD Sender: No OFD packet to send [11:42:11]OFD Sender: No OFD packet to send [11:42:16]OFD Sender: No OFD packet to send [11:42:21]OFD Sender: No OFD packet to send [11:42:26]OFD Sender: No OFD packet to send [11:42:31]OFD Sender: No OFD packet to send [11:42:36]OFD Sender: No OFD packet to send [11:42:41]OFD Sender: No OFD packet to send [11:42:46]OFD Sender: No OFD packet to send [11:42:51]OFD Sender: No OFD packet to send [11:42:56]OFD Sender: No OFD packet to send [11:43:01]OFD Sender: No OFD packet to send [11:43:06]OFD Sender: No OFD packet to send [11:43:11]OFD Sender: No OFD packet to send [11:43:16]OFD Sender: No OFD packet to send [11:43:21]OFD Sender: No OFD packet to send [11:43:26]OFD Sender: No OFD packet to send [11:43:31]OFD Sender: No OFD packet to send [11:43:36]OFD Sender: No OFD packet to send [11:43:41]OFD Sender: No OFD packet to send [11:43:46]OFD Sender: No OFD packet to send [11:43:51]OFD Sender: No OFD packet to send [11:43:56]OFD Sender: No OFD packet to send [11:44:01]OFD Sender: No OFD packet to send [11:44:06]OFD Sender: No OFD packet to send [11:44:11]OFD Sender: No OFD packet to send [11:44:16]OFD Sender: No OFD packet to send [11:44:21]OFD Sender: No OFD packet to send [11:44:26]OFD Sender: No OFD packet to send [11:44:31]OFD Sender: No OFD packet to send [11:44:36]OFD Sender: No OFD packet to send [11:44:41]OFD Sender: No OFD packet to send [11:44:46]OFD Sender: No OFD packet to send [11:44:51]OFD Sender: No OFD packet to send [11:44:56]OFD Sender: No OFD packet to send [11:45:01]OFD Sender: No OFD packet to send [11:45:06]OFD Sender: No OFD packet to send [11:45:11]OFD Sender: No OFD packet to send [11:45:16]OFD Sender: No OFD packet to send [11:45:21]OFD Sender: No OFD packet to send [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:40]accept exits with 7 [11:50:40]New connection [11:50:40]New thread 3066850660 created [11:50:40]Thread 3066707300 joined [11:50:40]Waiting for new connection... [11:50:40] Sock 7.Parse request [11:50:40]Sock 7.Check first char [11:50:40]Sock 7.First char is OK [11:50:40]request: POST /json_proto HTTP/1.0 [11:50:40]Method: POST [11:50:40]URL: /json_proto [11:50:40]Method is POST - this is cgi request [11:50:40]url: /json_proto [11:50:40]query_string will be loaded in cgi processing [11:50:40]execute_cgi json_proto POST (null) [11:50:40]execute_cgi path=json_proto method=POST [11:50:40]POST find Content-Length [11:50:40]Host: 172.17.52.132:8080 [11:50:40]Content-Length: 620 [11:50:40]Content-Type: application/json [11:50:40] [11:50:40]POST finish read [11:50:40]Found Content-Length = 620 [11:50:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100026", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:50:40]execute_script... [11:50:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100026", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:50:40]POST & json_proto [11:50:40]process_json_proto [11:50:40]json parsed OK: [11:50:40]protocol is kg_v1.0 [11:50:40]action value=close_receipt [11:50:40]process_action close_receipt [11:50:40]cmd_close_receipt [11:50:40]MH_GetDate [11:50:40]Write to MH i2c: F0 00 00 5F 64 B2 [11:50:40]Write i2c OK [11:50:40]MH_I2C_Read... [11:50:40]Read from MH i2c: F0 [11:50:40]MH_I2C_Read... [11:50:40]Read from MH i2c: F0 09 00 [11:50:40]MH_I2C_Read... [11:50:40]Read from MH i2c: F0 09 00 5F 64 00 9F EE 14 67 5A BE F6 66 37 [11:50:40]GetLastDocTimeStamp 1729424443 [11:50:40]current date 1729425055 [11:50:40]FM_GetShiftState [11:50:40]SAM_PROTO_GetShiftState [11:50:40]wFMCommunicate request_size=4 [11:50:40]MH_SAM_APDU [11:50:40]CAPDU: 80 13 01 00 [11:50:40]Write to MH i2c: E2 08 00 60 64 80 13 01 00 00 00 00 00 41 [11:50:40]Write i2c OK [11:50:40]MH_I2C_Read... [11:50:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:40]Read from MH i2c: E2 [11:50:40]MH_I2C_Read... [11:50:40]Read from MH i2c: E2 0E 00 [11:50:40]MH_I2C_Read... [11:50:40]Read from MH i2c: E2 0E 00 60 64 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 2B [11:50:40]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:50:40]wFMCommunicate OK [11:50:40]SAM_PROTO_GetShiftState done [11:50:40]FM_GetShiftState done [11:50:40]opened in 1729382427 [11:50:40]opened+sec_in_day 1729468827 [11:50:40]quantity*price = 13900 [11:50:40]sum+1 = 13901 [11:50:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 29 20.10.2024 11:50 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2648 ФПД: 24314787374239 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115055&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2648&fm=24314787374239&tin=02508201610067®Number=0000000000207295&sum=13900 0 [11:50:41]StoreToDocumentArchive [11:50:41]shift 24 fd 2648 [11:50:41]save to /storage/0024/doc_00002648 [11:50:41]save last doc name /storage/0024/doc_00002648 to /storage/kkm_last_doc_name [11:50:41]save OK [11:50:41]Clear old archive folders... [11:50:41]ProcessDocumentItem done err = 0, tmpTLVsize=272 [11:50:41]tlvbuf is 01509330 [11:50:41]SAM_PROTO_ClearQueue [11:50:41]wFMCommunicate request_size=4 [11:50:41]MH_SAM_APDU [11:50:41]CAPDU: 80 09 00 00 [11:50:41]Write to MH i2c: E2 08 00 6D 64 80 09 00 00 00 00 00 00 43 [11:50:41]Write i2c OK [11:50:41]MH_I2C_Read... [11:50:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:50:41]Read from MH i2c: E2 [11:50:41]MH_I2C_Read... [11:50:41]Read from MH i2c: E2 03 00 [11:50:41]MH_I2C_Read... [11:50:41]Read from MH i2c: E2 03 00 6D 64 00 90 00 45 [11:50:41]RAPDU: 90 00 [11:50:41]wFMCommunicate OK [11:50:41]SAM_PROTO_ClearQueue done [11:50:41]KKMCreateOFDPacket [11:50:41]OFDProtocolAddRootSTLVToBuf [11:50:41]FM_MakeSignedData [11:50:41]FM_MakeSignedData [11:50:41]SAM_PROTO_SignData [11:50:41]wFMCommunicate request_size=4 [11:50:41]MH_SAM_APDU [11:50:41]CAPDU: 80 0D 01 02 [11:50:41]Write to MH i2c: E2 08 00 6E 64 80 0D 01 02 00 00 00 00 4B [11:50:41]Write i2c OK [11:50:41]MH_I2C_Read... [11:50:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:50:41]Read from MH i2c: E2 [11:50:41]MH_I2C_Read... [11:50:41]Read from MH i2c: E2 03 00 [11:50:41]MH_I2C_Read... [11:50:41]Read from MH i2c: E2 03 00 6E 64 00 90 00 46 [11:50:41]RAPDU: 90 00 [11:50:41]wFMCommunicate OK [11:50:41]wFMCommunicate request_size=255 [11:50:41]MH_SAM_APDU [11:50:41]CAPDU: 80 0D 02 02 FA 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 9F EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 [11:50:41]Write to MH i2c: E2 02 01 6F 64 80 0D 02 02 FA 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 9F EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 B9 [11:50:41]Write i2c OK [11:50:41]MH_I2C_Read... [11:50:41]OFD Sender: No OFD packet to send [11:50:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:50:42]Read from MH i2c: E2 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: E2 03 00 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: E2 03 00 6F 64 00 90 00 47 [11:50:42]RAPDU: 90 00 [11:50:42]wFMCommunicate OK [11:50:42]wFMCommunicate request_size=31 [11:50:42]MH_SAM_APDU [11:50:42]CAPDU: 80 0D 02 02 1A 30 32 33 34 32 38 32 30 10 04 04 00 58 0A 00 00 35 04 06 00 16 1D 3A 43 A4 9F [11:50:42]Write to MH i2c: E2 22 00 70 64 80 0D 02 02 1A 00 30 32 33 34 32 38 32 30 10 04 04 00 58 0A 00 00 35 04 06 00 16 1D 3A 43 A4 9F 00 00 C3 [11:50:42]Write i2c OK [11:50:42]MH_I2C_Read... [11:50:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:50:42]Read from MH i2c: E2 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: E2 03 00 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: E2 03 00 70 64 00 90 00 48 [11:50:42]RAPDU: 90 00 [11:50:42]wFMCommunicate OK [11:50:42]wFMCommunicate request_size=4 [11:50:42]MH_SAM_APDU [11:50:42]CAPDU: 80 0D 03 02 [11:50:42]Write to MH i2c: E2 08 00 71 64 80 0D 03 02 00 00 00 00 50 [11:50:42]Write i2c OK [11:50:42]MH_I2C_Read... [11:50:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:50:42]Read from MH i2c: E2 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: E2 0B 00 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: E2 0B 00 71 64 00 18 7E 1A 07 7B E3 C3 E6 90 00 0F [11:50:42]RAPDU: 18 7E 1A 07 7B E3 C3 E6 90 00 [11:50:42]wFMCommunicate OK [11:50:42]SAM_PROTO_SignData done [11:50:42]FM_MakeSignedData done [11:50:42]CreateOFDProtocolMessage [11:50:42]wFMCommunicate request_size=4 [11:50:42]MH_SAM_APDU [11:50:42]CAPDU: 80 11 00 00 [11:50:42]Write to MH i2c: E2 08 00 72 64 80 11 00 00 00 00 00 00 50 [11:50:42]Write i2c OK [11:50:42]MH_I2C_Read... [11:50:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:42]Read from MH i2c: E2 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: E2 17 00 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: E2 17 00 72 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 98 [11:50:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:50:42]wFMCommunicate OK [11:50:42]CreateOFDProtocolMessage done [11:50:42]OFDSenderStorePacket 2648 [11:50:42]StoreOFDPacket docnum=2648 [11:50:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 CE 09 1C 01 38 CD 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 9F EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 58 0A 00 00 35 04 06 00 16 1D 3A 43 A4 9F 18 7E 1A 07 7B E3 C3 E6 [11:50:42]CheckFolder [11:50:42]dirname=/storage/ofd_packets [11:50:42]CheckFolder done [11:50:42]ProducePacketName [11:50:42]name=ofd_packets/00002648 [11:50:42]NVStorageSaveData ofd_packets/00002648 [11:50:42]File name is /storage/ofd_packets/00002648 [11:50:42]Write 322 bytes [11:50:42]NVStorageSaveData done [11:50:42]OFDSenderStorePacket done [11:50:42]KKMCreateOFDPacket done [11:50:42]NVStorageSaveData kkm_last_timestamp [11:50:42]File name is /storage/kkm_last_timestamp [11:50:42]Write 4 bytes [11:50:42]NVStorageSaveData done [11:50:42]ExternCall_PrintAddStr [11:50:42]wPrintStart [11:50:42]Write to MH i2c: 01 00 00 73 64 D7 [11:50:42]Write i2c OK [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: 01 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: 01 07 00 [11:50:42]MH_I2C_Read... [11:50:42]Read from MH i2c: 01 07 00 73 64 00 00 00 00 00 FF 0F EC [11:50:42]RasterBufferAndPrint [11:50:42]line Счет N : (3)100026 [11:50:42]line ИНН: 02508201610067 [11:50:42]line Контрольно-Кассовый Чек [11:50:42]line ПРОДАЖА [11:50:42]line Товар: 48745000 [11:50:42]line Сигареты Winston Purple Mix [11:50:42]line 1.000 * 139.00 [11:50:42]line = 139.00 [11:50:42]line НДС 12% НСП 1% [11:50:42]line > о реализуемом товаре [11:50:42]line ИТОГО: 139.00 [11:50:42]line НСП 1% : 1.23 [11:50:42]line НДС 12% : 14.76 [11:50:42]line Наличными: 139.00 [11:50:42]line Безнал.: 0.00 [11:50:42]line Место: АЗС № 162 "Партнер Нефть" [11:50:42]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:50:42]line СНО: Общий режим [11:50:42]line Чек 29 20.10.2024 11:50 [11:50:42]line Смена: 24 ФФД: 1.0 [11:50:42]line ЗНМ: 0300000191 [11:50:42]line РНМ: 0000000000207295 [11:50:42]line Версия ККМ: v1.0 [11:50:42]line ФМ: 0000000002342820 [11:50:42]line ФД: 2648 [11:50:42]line ФПД: 24314787374239 [11:50:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115055&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2648&fm=24314787374239&tin=02508201610067®Number=0000000000207295&sum=13900 [11:50:42]line 0 [11:50:42]OFD Sender: Processing packet 2648 [packets to send 1, broken 0] [11:50:42]ProducePacketName [11:50:42]name=ofd_packets/00002648 [11:50:42]OFD Sender: To server: pG, [11:50:42]CommunicateWithHost lk.salyk.kg:30040 [11:50:42]ConnectInit lk.salyk.kg [11:50:42]written 0, free lines is 4095 [11:50:42]Connected sock=11 [11:50:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 CE 09 1C 01 38 CD 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 9F EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 58 0A 00 00 35 04 06 00 16 1D 3A 43 A4 9F 18 7E 1A 07 7B E3 C3 E6 [11:50:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 A1 69 47 00 6A B2 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 33 34 32 38 32 30 10 04 04 00 58 0A 00 00 F4 03 04 00 FD 99 14 67 B6 04 01 00 00 CF 4B FD F6 F9 DC D5 20 [11:50:42]CommunicateWithHost err = 0 [11:50:42]CheckOFDResponse [11:50:42]1017 (14) - 77093643461234 [11:50:42]1041 (16) - 0000000002342820 [11:50:42]1040 (4) - 2648 [11:50:42]1012 (4) - 20.10.2024 05:49 [11:50:42]1206 (1) - 0 [11:50:42]OFD Sender: Remove packet 2648 [11:50:42]ProducePacketName [11:50:42]name=ofd_packets/00002648 [11:50:42]NVStorageDeleteData [11:50:43]Write to MH i2c: 01 00 00 9B 64 FF [11:50:43]Write i2c OK [11:50:43]MH_I2C_Read... [11:50:43]Read from MH i2c: 01 [11:50:43]MH_I2C_Read... [11:50:43]Read from MH i2c: 01 07 00 [11:50:43]MH_I2C_Read... [11:50:43]Read from MH i2c: 01 07 00 9B 64 00 00 00 00 00 C8 0C DA [11:50:43]RasterBufferAndPrint [11:50:43]line [11:50:43]line [11:50:43]line [11:50:43]line [11:50:43]line [11:50:43]written 0, free lines is 3278 [11:50:43]MH_Cut [11:50:43]Write to MH i2c: D1 01 00 A2 64 01 D8 [11:50:43]Write i2c OK [11:50:43]MH_I2C_Read... [11:50:43]Read from MH i2c: D1 [11:50:43]MH_I2C_Read... [11:50:43]Read from MH i2c: D1 01 00 [11:50:43]MH_I2C_Read... [11:50:43]Read from MH i2c: D1 01 00 A2 64 00 D7 [11:50:43]Write to MH i2c: 01 00 00 A3 64 07 [11:50:43]Write i2c OK [11:50:43]MH_I2C_Read... [11:50:43]OFD Sender: No OFD packet to send [11:50:43]*** Cut start [11:50:43]*** Partial cut [11:50:43]*** CUTSNS_PIN = 1 [11:50:43]*** CUTSNS_PIN = 0 [11:50:44]*** Brake cut motor [11:50:44]Read from MH i2c: 01 [11:50:44]MH_I2C_Read... [11:50:44]*** Stop cut motor [11:50:44]*** Cut end [11:50:44]Read from MH i2c: 01 07 00 [11:50:44]MH_I2C_Read... [11:50:44]Read from MH i2c: 01 07 00 A3 64 00 00 00 00 00 FF 0F 1C [11:50:44]process_action close_receipt done [11:50:44]requested_data is exist [11:50:44]produce_requested_data [11:50:44]requested_item fm.sn is exist - process it [11:50:44]wFMCommunicate request_size=4 [11:50:44]MH_SAM_APDU [11:50:44]CAPDU: 80 11 00 00 [11:50:44]Write to MH i2c: E2 08 00 A4 64 80 11 00 00 00 00 00 00 82 [11:50:44]Write i2c OK [11:50:44]MH_I2C_Read... [11:50:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:44]Read from MH i2c: E2 [11:50:44]MH_I2C_Read... [11:50:44]Read from MH i2c: E2 17 00 [11:50:44]MH_I2C_Read... [11:50:44]Read from MH i2c: E2 17 00 A4 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CA [11:50:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:50:44]wFMCommunicate OK [11:50:44]requested_item fd.num is exist - process it [11:50:44]SAM_PROTO_GetFieldsCounters [11:50:44]wFMCommunicate request_size=4 [11:50:44]MH_SAM_APDU [11:50:44]CAPDU: 80 13 00 00 [11:50:44]Write to MH i2c: E2 08 00 A5 64 80 13 00 00 00 00 00 00 85 [11:50:44]Write i2c OK [11:50:44]MH_I2C_Read... [11:50:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:50:44]Read from MH i2c: E2 [11:50:44]MH_I2C_Read... [11:50:44]Read from MH i2c: E2 62 00 [11:50:44]MH_I2C_Read... [11:50:44]Read from MH i2c: E2 62 00 A5 64 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 58 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 6C [11:50:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 58 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:50:44]wFMCommunicate OK [11:50:44]SAM_PROTO_GetFieldsCounters done [11:50:44]requested_item shift.num is exist - process it [11:50:44]requested_item shift.opened is exist - process it [11:50:44]req_shift_opened [11:50:44]FM_GetShiftState [11:50:44]SAM_PROTO_GetShiftState [11:50:44]wFMCommunicate request_size=4 [11:50:44]MH_SAM_APDU [11:50:44]CAPDU: 80 13 01 00 [11:50:44]Write to MH i2c: E2 08 00 A6 64 80 13 01 00 00 00 00 00 87 [11:50:44]Write i2c OK [11:50:44]MH_I2C_Read... [11:50:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:44]Read from MH i2c: E2 [11:50:44]MH_I2C_Read... [11:50:44]Read from MH i2c: E2 0E 00 [11:50:44]MH_I2C_Read... [11:50:44]Read from MH i2c: E2 0E 00 A6 64 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 71 [11:50:44]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:50:44]wFMCommunicate OK [11:50:44]SAM_PROTO_GetShiftState done [11:50:44]FM_GetShiftState done [11:50:44]req_shift_opened done [11:50:44]requested_item shift.open_date is exist - process it [11:50:44]req_shift_open_date [11:50:44]req_shift_open_date done [11:50:44]produce_requested_data done [11:50:44]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2648,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:50:44]process_action_free close_receipt [11:50:44]json_value_free [11:50:44]json_value_free done [11:50:44]process_json_proto returns [11:50:44]Send response to host [11:50:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2648,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:50:44]free response buf [11:50:44]execute_script done [11:50:44]execute_script returns [11:50:44]free content buf [11:50:44]Sock 7.Close socket [11:50:44]Sock 7.Thread stoped [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:14]accept exits with 9 [11:51:14]New connection [11:51:14]New thread 3066707300 created [11:51:14]Thread 3066850660 joined [11:51:14]Waiting for new connection... [11:51:14] Sock 9.Parse request [11:51:14]Sock 9.Check first char [11:51:14]Sock 9.First char is OK [11:51:14]request: POST /json_proto HTTP/1.0 [11:51:14]Method: POST [11:51:14]URL: /json_proto [11:51:14]Method is POST - this is cgi request [11:51:14]url: /json_proto [11:51:14]query_string will be loaded in cgi processing [11:51:14]execute_cgi json_proto POST (null) [11:51:14]execute_cgi path=json_proto method=POST [11:51:14]POST find Content-Length [11:51:14]Host: 172.17.52.132:8080 [11:51:14]Content-Length: 708 [11:51:14]Content-Type: application/json [11:51:14] [11:51:14]POST finish read [11:51:14]Found Content-Length = 708 [11:51:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100027", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:51:14]execute_script... [11:51: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)100027", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:51:14]POST & json_proto [11:51:14]process_json_proto [11:51:14]json parsed OK: [11:51:14]protocol is kg_v1.0 [11:51:14]action value=close_receipt [11:51:14]process_action close_receipt [11:51:14]cmd_close_receipt [11:51:14]MH_GetDate [11:51:14]Write to MH i2c: F0 00 00 A7 64 FA [11:51:14]Write i2c OK [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: F0 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: F0 09 00 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: F0 09 00 A7 64 00 C1 EE 14 67 5A BE F6 66 A1 [11:51:14]GetLastDocTimeStamp 1729425055 [11:51:14]current date 1729425089 [11:51:14]FM_GetShiftState [11:51:14]SAM_PROTO_GetShiftState [11:51:14]wFMCommunicate request_size=4 [11:51:14]MH_SAM_APDU [11:51:14]CAPDU: 80 13 01 00 [11:51:14]Write to MH i2c: E2 08 00 A8 64 80 13 01 00 00 00 00 00 89 [11:51:14]Write i2c OK [11:51:14]MH_I2C_Read... [11:51:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:14]Read from MH i2c: E2 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: E2 0E 00 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: E2 0E 00 A8 64 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 73 [11:51:14]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:51:14]wFMCommunicate OK [11:51:14]SAM_PROTO_GetShiftState done [11:51:14]FM_GetShiftState done [11:51:14]opened in 1729382427 [11:51:14]opened+sec_in_day 1729468827 [11:51:14]quantity*price = 9000 [11:51:14]sum+1 = 9001 [11:51:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 30 20.10.2024 11:51 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2649 ФПД: 22133009477142 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115129&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2649&fm=22133009477142&tin=02508201610067®Number=0000000000207295&sum=9000 0 [11:51:15]StoreToDocumentArchive [11:51:15]shift 24 fd 2649 [11:51:15]save to /storage/0024/doc_00002649 [11:51:15]save last doc name /storage/0024/doc_00002649 to /storage/kkm_last_doc_name [11:51:15]save OK [11:51:15]Clear old archive folders... [11:51:15]ProcessDocumentItem done err = 0, tmpTLVsize=299 [11:51:15]tlvbuf is 014ADE80 [11:51:15]SAM_PROTO_ClearQueue [11:51:15]wFMCommunicate request_size=4 [11:51:15]MH_SAM_APDU [11:51:15]CAPDU: 80 09 00 00 [11:51:15]Write to MH i2c: E2 08 00 B5 64 80 09 00 00 00 00 00 00 8B [11:51:15]Write i2c OK [11:51:15]MH_I2C_Read... [11:51:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:51:15]Read from MH i2c: E2 [11:51:15]MH_I2C_Read... [11:51:15]Read from MH i2c: E2 03 00 [11:51:15]MH_I2C_Read... [11:51:15]Read from MH i2c: E2 03 00 B5 64 00 90 00 8D [11:51:15]RAPDU: 90 00 [11:51:15]wFMCommunicate OK [11:51:15]SAM_PROTO_ClearQueue done [11:51:15]KKMCreateOFDPacket [11:51:15]OFDProtocolAddRootSTLVToBuf [11:51:15]FM_MakeSignedData [11:51:15]FM_MakeSignedData [11:51:15]SAM_PROTO_SignData [11:51:15]wFMCommunicate request_size=4 [11:51:15]MH_SAM_APDU [11:51:15]CAPDU: 80 0D 01 02 [11:51:15]Write to MH i2c: E2 08 00 B6 64 80 0D 01 02 00 00 00 00 93 [11:51:15]Write i2c OK [11:51:15]MH_I2C_Read... [11:51:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:51:15]Read from MH i2c: E2 [11:51:15]MH_I2C_Read... [11:51:15]Read from MH i2c: E2 03 00 [11:51:15]MH_I2C_Read... [11:51:15]Read from MH i2c: E2 03 00 B6 64 00 90 00 8E [11:51:15]RAPDU: 90 00 [11:51:15]wFMCommunicate OK [11:51:15]wFMCommunicate request_size=255 [11:51:15]MH_SAM_APDU [11:51:15]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 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 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 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 C1 EE 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [11:51:15]Write to MH i2c: E2 02 01 B7 64 80 0D 02 02 FA 00 03 00 2B 01 1E 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 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 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 C1 EE 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 F7 [11:51:15]Write i2c OK [11:51:15]MH_I2C_Read... [11:51:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:16]Read from MH i2c: E2 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: E2 03 00 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: E2 03 00 B7 64 00 90 00 8F [11:51:16]RAPDU: 90 00 [11:51:16]wFMCommunicate OK [11:51:16]wFMCommunicate request_size=58 [11:51:16]MH_SAM_APDU [11:51:16]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 59 0A 00 00 35 04 06 00 14 21 3E 2A EE 16 [11:51:16]Write to MH i2c: E2 3D 00 B8 64 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 59 0A 00 00 35 04 06 00 14 21 3E 2A EE 16 00 00 7E [11:51:16]Write i2c OK [11:51:16]MH_I2C_Read... [11:51:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:16]Read from MH i2c: E2 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: E2 03 00 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: E2 03 00 B8 64 00 90 00 90 [11:51:16]RAPDU: 90 00 [11:51:16]wFMCommunicate OK [11:51:16]wFMCommunicate request_size=4 [11:51:16]MH_SAM_APDU [11:51:16]CAPDU: 80 0D 03 02 [11:51:16]Write to MH i2c: E2 08 00 B9 64 80 0D 03 02 00 00 00 00 98 [11:51:16]Write i2c OK [11:51:16]MH_I2C_Read... [11:51:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:51:16]Read from MH i2c: E2 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: E2 0B 00 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: E2 0B 00 B9 64 00 4E 00 A6 6A ED 86 78 F0 90 00 D2 [11:51:16]RAPDU: 4E 00 A6 6A ED 86 78 F0 90 00 [11:51:16]wFMCommunicate OK [11:51:16]SAM_PROTO_SignData done [11:51:16]FM_MakeSignedData done [11:51:16]CreateOFDProtocolMessage [11:51:16]wFMCommunicate request_size=4 [11:51:16]MH_SAM_APDU [11:51:16]CAPDU: 80 11 00 00 [11:51:16]Write to MH i2c: E2 08 00 BA 64 80 11 00 00 00 00 00 00 98 [11:51:16]Write i2c OK [11:51:16]MH_I2C_Read... [11:51:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:16]Read from MH i2c: E2 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: E2 17 00 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: E2 17 00 BA 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E0 [11:51:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:51:16]wFMCommunicate OK [11:51:16]CreateOFDProtocolMessage done [11:51:16]OFDSenderStorePacket 2649 [11:51:16]StoreOFDPacket docnum=2649 [11:51:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3F 01 00 00 D2 25 37 01 CD E6 5A 03 01 00 03 00 2B 01 1E 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 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 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 C1 EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 59 0A 00 00 35 04 06 00 14 21 3E 2A EE 16 4E 00 A6 6A ED 86 78 F0 [11:51:16]CheckFolder [11:51:16]dirname=/storage/ofd_packets [11:51:16]CheckFolder done [11:51:16]ProducePacketName [11:51:16]name=ofd_packets/00002649 [11:51:16]NVStorageSaveData ofd_packets/00002649 [11:51:16]File name is /storage/ofd_packets/00002649 [11:51:16]Write 349 bytes [11:51:16]NVStorageSaveData done [11:51:16]OFDSenderStorePacket done [11:51:16]KKMCreateOFDPacket done [11:51:16]NVStorageSaveData kkm_last_timestamp [11:51:16]File name is /storage/kkm_last_timestamp [11:51:16]Write 4 bytes [11:51:16]NVStorageSaveData done [11:51:16]ExternCall_PrintAddStr [11:51:16]wPrintStart [11:51:16]Write to MH i2c: 01 00 00 BB 64 1F [11:51:16]Write i2c OK [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: 01 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: 01 07 00 [11:51:16]MH_I2C_Read... [11:51:16]Read from MH i2c: 01 07 00 BB 64 00 00 00 00 00 FF 0F 34 [11:51:16]RasterBufferAndPrint [11:51:16]line Счет N : (3)100027 [11:51:16]line ИНН: 02508201610067 [11:51:16]line Контрольно-Кассовый Чек [11:51:16]line ПРОДАЖА [11:51:16]line Товар: 4660085515163 [11:51:16]line Шок Батончик Сникерс супер 95/80г [11:51:16]line 1.000 * 90.00 [11:51:16]line = 90.00 [11:51:16]line НДС 12% НСП 1% [11:51:16]line > о реализуемом товаре [11:51:16]line ИТОГО: 90.00 [11:51:16]line НСП 1% : 0.80 [11:51:16]line НДС 12% : 9.56 [11:51:16]line Наличными: 90.00 [11:51:16]line Безнал.: 0.00 [11:51:16]line Место: АЗС № 162 "Партнер Нефть" [11:51:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:51:16]line СНО: Общий режим [11:51:16]line Чек 30 20.10.2024 11:51 [11:51:16]line Смена: 24 ФФД: 1.0 [11:51:16]line ЗНМ: 0300000191 [11:51:16]line РНМ: 0000000000207295 [11:51:16]line Версия ККМ: v1.0 [11:51:16]line ФМ: 0000000002342820 [11:51:16]line ФД: 2649 [11:51:16]line ФПД: 22133009477142 [11:51:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115129&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2649&fm=22133009477142&tin=02508201610067®Number=0000000000207295&sum=9000 [11:51:16]line 0 [11:51:16]OFD Sender: Processing packet 2649 [packets to send 1, broken 0] [11:51:16]ProducePacketName [11:51:16]name=ofd_packets/00002649 [11:51:16]OFD Sender: To server: pG, [11:51:16]CommunicateWithHost lk.salyk.kg:30040 [11:51:16]ConnectInit lk.salyk.kg [11:51:16]written 0, free lines is 4095 [11:51:16]Connected sock=10 [11:51:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3F 01 00 00 D2 25 37 01 CD E6 5A 03 01 00 03 00 2B 01 1E 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 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 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 C1 EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 59 0A 00 00 35 04 06 00 14 21 3E 2A EE 16 4E 00 A6 6A ED 86 78 F0 [11:51:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 3A CD 47 00 6F 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 33 34 32 38 32 30 10 04 04 00 59 0A 00 00 F4 03 04 00 1F 9A 14 67 B6 04 01 00 00 F9 C2 E6 22 82 EF B2 53 [11:51:16]CommunicateWithHost err = 0 [11:51:16]CheckOFDResponse [11:51:16]1017 (14) - 77093643461234 [11:51:16]1041 (16) - 0000000002342820 [11:51:16]1040 (4) - 2649 [11:51:16]1012 (4) - 20.10.2024 05:50 [11:51:16]1206 (1) - 0 [11:51:16]OFD Sender: Remove packet 2649 [11:51:16]ProducePacketName [11:51:16]name=ofd_packets/00002649 [11:51:16]NVStorageDeleteData [11:51:17]Write to MH i2c: 01 00 00 E4 64 48 [11:51:17]Write i2c OK [11:51:17]MH_I2C_Read... [11:51:17]Read from MH i2c: 01 [11:51:17]MH_I2C_Read... [11:51:17]Read from MH i2c: 01 07 00 [11:51:17]MH_I2C_Read... [11:51:17]Read from MH i2c: 01 07 00 E4 64 00 00 00 00 00 AF 0C 0A [11:51:17]RasterBufferAndPrint [11:51:17]line [11:51:17]line [11:51:17]line [11:51:17]line [11:51:17]line [11:51:17]written 0, free lines is 3253 [11:51:17]MH_Cut [11:51:17]Write to MH i2c: D1 01 00 EB 64 01 21 [11:51:17]Write i2c OK [11:51:17]MH_I2C_Read... [11:51:17]Read from MH i2c: D1 [11:51:17]MH_I2C_Read... [11:51:17]Read from MH i2c: D1 01 00 [11:51:17]MH_I2C_Read... [11:51:17]Read from MH i2c: D1 01 00 EB 64 00 20 [11:51:17]Write to MH i2c: 01 00 00 EC 64 50 [11:51:17]Write i2c OK [11:51:17]MH_I2C_Read... [11:51:17]OFD Sender: No OFD packet to send [11:51:18]*** Cut start [11:51:18]*** Partial cut [11:51:18]*** CUTSNS_PIN = 1 [11:51:18]*** CUTSNS_PIN = 0 [11:51:18]*** Brake cut motor [11:51:18]Read from MH i2c: 01 [11:51:18]MH_I2C_Read... [11:51:18]*** Stop cut motor [11:51:18]*** Cut end [11:51:18]Read from MH i2c: 01 07 00 [11:51:18]MH_I2C_Read... [11:51:18]Read from MH i2c: 01 07 00 EC 64 00 00 00 00 00 FF 0F 65 [11:51:18]process_action close_receipt done [11:51:18]requested_data is exist [11:51:18]produce_requested_data [11:51:18]requested_item fm.sn is exist - process it [11:51:18]wFMCommunicate request_size=4 [11:51:18]MH_SAM_APDU [11:51:18]CAPDU: 80 11 00 00 [11:51:18]Write to MH i2c: E2 08 00 ED 64 80 11 00 00 00 00 00 00 CB [11:51:18]Write i2c OK [11:51:18]MH_I2C_Read... [11:51:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:18]Read from MH i2c: E2 [11:51:18]MH_I2C_Read... [11:51:18]Read from MH i2c: E2 17 00 [11:51:18]MH_I2C_Read... [11:51:18]Read from MH i2c: E2 17 00 ED 64 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 13 [11:51:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:51:18]wFMCommunicate OK [11:51:18]requested_item fd.num is exist - process it [11:51:18]SAM_PROTO_GetFieldsCounters [11:51:18]wFMCommunicate request_size=4 [11:51:18]MH_SAM_APDU [11:51:18]CAPDU: 80 13 00 00 [11:51:18]Write to MH i2c: E2 08 00 EE 64 80 13 00 00 00 00 00 00 CE [11:51:18]Write i2c OK [11:51:18]MH_I2C_Read... [11:51:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:51:18]Read from MH i2c: E2 [11:51:18]MH_I2C_Read... [11:51:18]Read from MH i2c: E2 62 00 [11:51:18]MH_I2C_Read... [11:51:18]Read from MH i2c: E2 62 00 EE 64 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 59 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 B9 [11:51:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 59 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:51:18]wFMCommunicate OK [11:51:18]SAM_PROTO_GetFieldsCounters done [11:51:18]requested_item shift.num is exist - process it [11:51:18]requested_item shift.opened is exist - process it [11:51:18]req_shift_opened [11:51:18]FM_GetShiftState [11:51:18]SAM_PROTO_GetShiftState [11:51:18]wFMCommunicate request_size=4 [11:51:18]MH_SAM_APDU [11:51:18]CAPDU: 80 13 01 00 [11:51:18]Write to MH i2c: E2 08 00 EF 64 80 13 01 00 00 00 00 00 D0 [11:51:18]Write i2c OK [11:51:18]MH_I2C_Read... [11:51:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:18]Read from MH i2c: E2 [11:51:18]MH_I2C_Read... [11:51:18]Read from MH i2c: E2 0E 00 [11:51:18]MH_I2C_Read... [11:51:18]Read from MH i2c: E2 0E 00 EF 64 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 BA [11:51:18]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:51:18]wFMCommunicate OK [11:51:18]SAM_PROTO_GetShiftState done [11:51:18]FM_GetShiftState done [11:51:18]req_shift_opened done [11:51:18]requested_item shift.open_date is exist - process it [11:51:18]req_shift_open_date [11:51:18]req_shift_open_date done [11:51:18]produce_requested_data done [11:51:18]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2649,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:51:18]process_action_free close_receipt [11:51:18]json_value_free [11:51:18]json_value_free done [11:51:18]process_json_proto returns [11:51:18]Send response to host [11:51:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2649,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:51:18]free response buf [11:51:18]execute_script done [11:51:18]execute_script returns [11:51:18]free content buf [11:51:18]Sock 9.Close socket [11:51:18]Sock 9.Thread stoped [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:10]accept exits with 7 [11:52:10]New connection [11:52:10]New thread 3066850660 created [11:52:10]Thread 3066707300 joined [11:52:10]Waiting for new connection... [11:52:10] Sock 7.Parse request [11:52:10]Sock 7.Check first char [11:52:10]Sock 7.First char is OK [11:52:10]request: POST /json_proto HTTP/1.0 [11:52:10]Method: POST [11:52:10]URL: /json_proto [11:52:10]Method is POST - this is cgi request [11:52:10]url: /json_proto [11:52:10]query_string will be loaded in cgi processing [11:52:10]execute_cgi json_proto POST (null) [11:52:10]execute_cgi path=json_proto method=POST [11:52:10]POST find Content-Length [11:52:10]Host: 172.17.52.132:8080 [11:52:10]Content-Length: 925 [11:52:10]Content-Type: application/json [11:52:10] [11:52:10]POST finish read [11:52:10]Found Content-Length = 925 [11:52:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100028", "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": "4700000160099", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:52:10]execute_script... [11:52: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)100028", "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": "4700000160099", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:52:10]POST & json_proto [11:52:10]process_json_proto [11:52:10]json parsed OK: [11:52:10]protocol is kg_v1.0 [11:52:10]action value=close_receipt [11:52:10]process_action close_receipt [11:52:10]cmd_close_receipt [11:52:10]MH_GetDate [11:52:10]Write to MH i2c: F0 00 00 F0 64 43 [11:52:10]Write i2c OK [11:52:10]MH_I2C_Read... [11:52:10]Read from MH i2c: F0 [11:52:10]MH_I2C_Read... [11:52:10]Read from MH i2c: F0 09 00 [11:52:10]MH_I2C_Read... [11:52:10]Read from MH i2c: F0 09 00 F0 64 00 F9 EE 14 67 5A BE F6 66 22 [11:52:10]GetLastDocTimeStamp 1729425089 [11:52:10]current date 1729425145 [11:52:10]FM_GetShiftState [11:52:10]SAM_PROTO_GetShiftState [11:52:10]wFMCommunicate request_size=4 [11:52:10]MH_SAM_APDU [11:52:10]CAPDU: 80 13 01 00 [11:52:10]Write to MH i2c: E2 08 00 F1 64 80 13 01 00 00 00 00 00 D2 [11:52:10]Write i2c OK [11:52:10]MH_I2C_Read... [11:52:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:52:10]Read from MH i2c: E2 [11:52:10]MH_I2C_Read... [11:52:10]Read from MH i2c: E2 0E 00 [11:52:10]MH_I2C_Read... [11:52:10]Read from MH i2c: E2 0E 00 F1 64 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 BC [11:52:10]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:52:10]wFMCommunicate OK [11:52:10]SAM_PROTO_GetShiftState done [11:52:10]FM_GetShiftState done [11:52:10]opened in 1729382427 [11:52:10]opened+sec_in_day 1729468827 [11:52:10]quantity*price = 8000 [11:52:10]sum+1 = 8001 [11:52:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160099 Снек Курут индивидуальный 1.000 * 15.00 = 15.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 31 20.10.2024 11:52 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2650 ФПД: 48890404931435 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115225&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2650&fm=48890404931435&tin=02508201610067®Number=0000000000207295&sum=9500 0 [11:52:11]StoreToDocumentArchive [11:52:11]shift 24 fd 2650 [11:52:11]save to /storage/0024/doc_00002650 [11:52:11]save last doc name /storage/0024/doc_00002650 to /storage/kkm_last_doc_name [11:52:11]save OK [11:52:11]Clear old archive folders... [11:52:11]ProcessDocumentItem done err = 0, tmpTLVsize=388 [11:52:11]tlvbuf is 014ADC00 [11:52:11]SAM_PROTO_ClearQueue [11:52:11]wFMCommunicate request_size=4 [11:52:11]MH_SAM_APDU [11:52:11]CAPDU: 80 09 00 00 [11:52:11]Write to MH i2c: E2 08 00 FE 64 80 09 00 00 00 00 00 00 D4 [11:52:11]Write i2c OK [11:52:11]MH_I2C_Read... [11:52:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:52:11]Read from MH i2c: E2 [11:52:11]MH_I2C_Read... [11:52:11]Read from MH i2c: E2 03 00 [11:52:11]MH_I2C_Read... [11:52:11]Read from MH i2c: E2 03 00 FE 64 00 90 00 D6 [11:52:11]RAPDU: 90 00 [11:52:11]wFMCommunicate OK [11:52:11]SAM_PROTO_ClearQueue done [11:52:11]KKMCreateOFDPacket [11:52:11]OFDProtocolAddRootSTLVToBuf [11:52:11]FM_MakeSignedData [11:52:11]FM_MakeSignedData [11:52:11]SAM_PROTO_SignData [11:52:11]wFMCommunicate request_size=4 [11:52:11]MH_SAM_APDU [11:52:11]CAPDU: 80 0D 01 02 [11:52:11]Write to MH i2c: E2 08 00 FF 64 80 0D 01 02 00 00 00 00 DC [11:52:11]Write i2c OK [11:52:11]MH_I2C_Read... [11:52:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:52:12]Read from MH i2c: E2 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 03 00 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 03 00 FF 64 00 90 00 D7 [11:52:12]RAPDU: 90 00 [11:52:12]wFMCommunicate OK [11:52:12]wFMCommunicate request_size=255 [11:52:12]MH_SAM_APDU [11:52:12]CAPDU: 80 0D 02 02 FA 03 00 84 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 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 [11:52:12]Write to MH i2c: E2 02 01 00 65 80 0D 02 02 FA 00 03 00 84 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 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 00 00 FA [11:52:12]Write i2c OK [11:52:12]MH_I2C_Read... [11:52:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:52:12]Read from MH i2c: E2 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 03 00 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 03 00 00 65 00 90 00 D9 [11:52:12]RAPDU: 90 00 [11:52:12]wFMCommunicate OK [11:52:12]wFMCommunicate request_size=147 [11:52:12]MH_SAM_APDU [11:52:12]CAPDU: 80 0D 02 02 8E 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 1F 00 00 00 F4 03 04 00 F9 EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5A 0A 00 00 35 04 06 00 2C 77 2F 38 07 6B [11:52:12]Write to MH i2c: E2 96 00 01 65 80 0D 02 02 8E 00 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 1F 00 00 00 F4 03 04 00 F9 EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5A 0A 00 00 35 04 06 00 2C 77 2F 38 07 6B 00 00 20 [11:52:12]Write i2c OK [11:52:12]MH_I2C_Read... [11:52:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:52:12]Read from MH i2c: E2 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 03 00 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 03 00 01 65 00 90 00 DA [11:52:12]RAPDU: 90 00 [11:52:12]wFMCommunicate OK [11:52:12]wFMCommunicate request_size=4 [11:52:12]MH_SAM_APDU [11:52:12]CAPDU: 80 0D 03 02 [11:52:12]Write to MH i2c: E2 08 00 02 65 80 0D 03 02 00 00 00 00 E2 [11:52:12]Write i2c OK [11:52:12]MH_I2C_Read... [11:52:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:52:12]Read from MH i2c: E2 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 0B 00 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 0B 00 02 65 00 DD A9 84 26 1C D0 8B 3B 90 00 C5 [11:52:12]RAPDU: DD A9 84 26 1C D0 8B 3B 90 00 [11:52:12]wFMCommunicate OK [11:52:12]SAM_PROTO_SignData done [11:52:12]FM_MakeSignedData done [11:52:12]CreateOFDProtocolMessage [11:52:12]wFMCommunicate request_size=4 [11:52:12]MH_SAM_APDU [11:52:12]CAPDU: 80 11 00 00 [11:52:12]Write to MH i2c: E2 08 00 03 65 80 11 00 00 00 00 00 00 E2 [11:52:12]Write i2c OK [11:52:12]MH_I2C_Read... [11:52:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:52:12]Read from MH i2c: E2 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 17 00 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: E2 17 00 03 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2A [11:52:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:52:12]wFMCommunicate OK [11:52:12]CreateOFDProtocolMessage done [11:52:12]OFDSenderStorePacket 2650 [11:52:12]StoreOFDPacket docnum=2650 [11:52:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 98 01 00 00 74 4E 90 01 8D AD 5A 03 01 00 03 00 84 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 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 1F 00 00 00 F4 03 04 00 F9 EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5A 0A 00 00 35 04 06 00 2C 77 2F 38 07 6B DD A9 84 26 1C D0 8B 3B [11:52:12]CheckFolder [11:52:12]dirname=/storage/ofd_packets [11:52:12]CheckFolder done [11:52:12]ProducePacketName [11:52:12]name=ofd_packets/00002650 [11:52:12]NVStorageSaveData ofd_packets/00002650 [11:52:12]File name is /storage/ofd_packets/00002650 [11:52:12]Write 438 bytes [11:52:12]NVStorageSaveData done [11:52:12]OFDSenderStorePacket done [11:52:12]KKMCreateOFDPacket done [11:52:12]NVStorageSaveData kkm_last_timestamp [11:52:12]File name is /storage/kkm_last_timestamp [11:52:12]Write 4 bytes [11:52:12]NVStorageSaveData done [11:52:12]ExternCall_PrintAddStr [11:52:12]wPrintStart [11:52:12]Write to MH i2c: 01 00 00 04 65 69 [11:52:12]Write i2c OK [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: 01 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: 01 07 00 [11:52:12]MH_I2C_Read... [11:52:12]Read from MH i2c: 01 07 00 04 65 00 00 00 00 00 FF 0F 7E [11:52:12]RasterBufferAndPrint [11:52:12]line Счет N : (3)100028 [11:52:12]line ИНН: 02508201610067 [11:52:12]line Контрольно-Кассовый Чек [11:52:12]line ПРОДАЖА [11:52:12]line Товар: 4870001570057 [11:52:12]line Напиток Pepsi 0,5л [11:52:12]line 1.000 * 80.00 [11:52:12]line = 80.00 [11:52:12]line НДС 12% НСП 1% [11:52:12]line > о реализуемом товаре [11:52:12]line Товар: 4700000160099 [11:52:12]line Снек Курут индивидуальный [11:52:12]line 1.000 * 15.00 [11:52:12]line = 15.00 [11:52:12]line НДС 12% НСП 1% [11:52:12]line > о реализуемом товаре [11:52:12]line ИТОГО: 95.00 [11:52:12]line НСП 1% : 0.84 [11:52:12]line НДС 12% : 10.09 [11:52:12]line Наличными: 95.00 [11:52:12]line Безнал.: 0.00 [11:52:12]line Место: АЗС № 162 "Партнер Нефть" [11:52:12]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:52:12]line СНО: Общий режим [11:52:12]line Чек 31 20.10.2024 11:52 [11:52:12]line Смена: 24 ФФД: 1.0 [11:52:12]line ЗНМ: 0300000191 [11:52:12]line РНМ: 0000000000207295 [11:52:12]line Версия ККМ: v1.0 [11:52:12]line ФМ: 0000000002342820 [11:52:12]line ФД: 2650 [11:52:12]line ФПД: 48890404931435 [11:52:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115225&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2650&fm=48890404931435&tin=02508201610067®Number=0000000000207295&sum=9500 [11:52:12]line 0 [11:52:12]OFD Sender: Processing packet 2650 [packets to send 1, broken 0] [11:52:12]ProducePacketName [11:52:12]name=ofd_packets/00002650 [11:52:12]OFD Sender: To server: pG, [11:52:12]CommunicateWithHost lk.salyk.kg:30040 [11:52:12]ConnectInit lk.salyk.kg [11:52:12]written 0, free lines is 4095 [11:52:12]Connected sock=10 [11:52:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 98 01 00 00 74 4E 90 01 8D AD 5A 03 01 00 03 00 84 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 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 1F 00 00 00 F4 03 04 00 F9 EE 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5A 0A 00 00 35 04 06 00 2C 77 2F 38 07 6B DD A9 84 26 1C D0 8B 3B [11:52:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 7E F8 47 00 C2 51 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 33 34 32 38 32 30 10 04 04 00 5A 0A 00 00 F4 03 04 00 57 9A 14 67 B6 04 01 00 00 90 60 7D 43 6A 26 16 DD [11:52:13]CommunicateWithHost err = 0 [11:52:13]CheckOFDResponse [11:52:13]1017 (14) - 77093643461234 [11:52:13]1041 (16) - 0000000002342820 [11:52:13]1040 (4) - 2650 [11:52:13]1012 (4) - 20.10.2024 05:51 [11:52:13]1206 (1) - 0 [11:52:13]OFD Sender: Remove packet 2650 [11:52:13]ProducePacketName [11:52:13]name=ofd_packets/00002650 [11:52:13]NVStorageDeleteData [11:52:13]Write to MH i2c: 01 00 00 32 65 97 [11:52:13]Write i2c OK [11:52:13]MH_I2C_Read... [11:52:13]Read from MH i2c: 01 [11:52:13]MH_I2C_Read... [11:52:13]Read from MH i2c: 01 07 00 [11:52:13]MH_I2C_Read... [11:52:13]Read from MH i2c: 01 07 00 32 65 00 00 00 00 00 54 0C FE [11:52:13]RasterBufferAndPrint [11:52:13]line [11:52:13]line [11:52:13]line [11:52:13]line [11:52:13]line [11:52:13]written 0, free lines is 3161 [11:52:13]MH_Cut [11:52:13]Write to MH i2c: D1 01 00 39 65 01 70 [11:52:13]Write i2c OK [11:52:13]MH_I2C_Read... [11:52:13]Read from MH i2c: D1 [11:52:13]MH_I2C_Read... [11:52:13]Read from MH i2c: D1 01 00 [11:52:13]MH_I2C_Read... [11:52:13]Read from MH i2c: D1 01 00 39 65 00 6F [11:52:13]Write to MH i2c: 01 00 00 3A 65 9F [11:52:13]Write i2c OK [11:52:13]MH_I2C_Read... [11:52:13]OFD Sender: No OFD packet to send [11:52:14]*** Cut start [11:52:14]*** Partial cut [11:52:14]*** CUTSNS_PIN = 1 [11:52:14]*** CUTSNS_PIN = 0 [11:52:14]*** Brake cut motor [11:52:14]Read from MH i2c: 01 [11:52:15]MH_I2C_Read... [11:52:15]*** Stop cut motor [11:52:15]*** Cut end [11:52:15]Read from MH i2c: 01 07 00 [11:52:15]MH_I2C_Read... [11:52:15]Read from MH i2c: 01 07 00 3A 65 00 00 00 00 00 FF 0F B4 [11:52:15]process_action close_receipt done [11:52:15]requested_data is exist [11:52:15]produce_requested_data [11:52:15]requested_item fm.sn is exist - process it [11:52:15]wFMCommunicate request_size=4 [11:52:15]MH_SAM_APDU [11:52:15]CAPDU: 80 11 00 00 [11:52:15]Write to MH i2c: E2 08 00 3B 65 80 11 00 00 00 00 00 00 1A [11:52:15]Write i2c OK [11:52:15]MH_I2C_Read... [11:52:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:52:15]Read from MH i2c: E2 [11:52:15]MH_I2C_Read... [11:52:15]Read from MH i2c: E2 17 00 [11:52:15]MH_I2C_Read... [11:52:15]Read from MH i2c: E2 17 00 3B 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 62 [11:52:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:52:15]wFMCommunicate OK [11:52:15]requested_item fd.num is exist - process it [11:52:15]SAM_PROTO_GetFieldsCounters [11:52:15]wFMCommunicate request_size=4 [11:52:15]MH_SAM_APDU [11:52:15]CAPDU: 80 13 00 00 [11:52:15]Write to MH i2c: E2 08 00 3C 65 80 13 00 00 00 00 00 00 1D [11:52:15]Write i2c OK [11:52:15]MH_I2C_Read... [11:52:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:52:15]Read from MH i2c: E2 [11:52:15]MH_I2C_Read... [11:52:15]Read from MH i2c: E2 62 00 [11:52:15]MH_I2C_Read... [11:52:15]Read from MH i2c: E2 62 00 3C 65 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [11:52:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:52:15]wFMCommunicate OK [11:52:15]SAM_PROTO_GetFieldsCounters done [11:52:15]requested_item shift.num is exist - process it [11:52:15]requested_item shift.opened is exist - process it [11:52:15]req_shift_opened [11:52:15]FM_GetShiftState [11:52:15]SAM_PROTO_GetShiftState [11:52:15]wFMCommunicate request_size=4 [11:52:15]MH_SAM_APDU [11:52:15]CAPDU: 80 13 01 00 [11:52:15]Write to MH i2c: E2 08 00 3D 65 80 13 01 00 00 00 00 00 1F [11:52:15]Write i2c OK [11:52:15]MH_I2C_Read... [11:52:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:52:15]Read from MH i2c: E2 [11:52:15]MH_I2C_Read... [11:52:15]Read from MH i2c: E2 0E 00 [11:52:15]MH_I2C_Read... [11:52:15]Read from MH i2c: E2 0E 00 3D 65 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 09 [11:52:15]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:52:15]wFMCommunicate OK [11:52:15]SAM_PROTO_GetShiftState done [11:52:15]FM_GetShiftState done [11:52:15]req_shift_opened done [11:52:15]requested_item shift.open_date is exist - process it [11:52:15]req_shift_open_date [11:52:15]req_shift_open_date done [11:52:15]produce_requested_data done [11:52:15]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2650,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:52:15]process_action_free close_receipt [11:52:15]json_value_free [11:52:15]json_value_free done [11:52:15]process_json_proto returns [11:52:15]Send response to host [11:52:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2650,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:52:15]free response buf [11:52:15]execute_script done [11:52:15]execute_script returns [11:52:15]free content buf [11:52:15]Sock 7.Close socket [11:52:15]Sock 7.Thread stoped [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:05]accept exits with 9 [11:56:05]New connection [11:56:05]New thread 3066707300 created [11:56:05]Thread 3066850660 joined [11:56:05]Waiting for new connection... [11:56:05] Sock 9.Parse request [11:56:05]Sock 9.Check first char [11:56:05]Sock 9.First char is OK [11:56:05]request: POST /json_proto HTTP/1.0 [11:56:05]Method: POST [11:56:05]URL: /json_proto [11:56:05]Method is POST - this is cgi request [11:56:05]url: /json_proto [11:56:05]query_string will be loaded in cgi processing [11:56:05]execute_cgi json_proto POST (null) [11:56:05]execute_cgi path=json_proto method=POST [11:56:05]POST find Content-Length [11:56:05]Host: 172.17.52.132:8080 [11:56:05]Content-Length: 650 [11:56:05]Content-Type: application/json [11:56:05] [11:56:05]POST finish read [11:56:05]Found Content-Length = 650 [11:56:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100029", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:56:05]execute_script... [11:56: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)100029", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:56:05]POST & json_proto [11:56:05]process_json_proto [11:56:05]json parsed OK: [11:56:05]protocol is kg_v1.0 [11:56:05]action value=close_receipt [11:56:05]process_action close_receipt [11:56:05]cmd_close_receipt [11:56:05]MH_GetDate [11:56:05]Write to MH i2c: F0 00 00 3E 65 92 [11:56:05]Write i2c OK [11:56:05]MH_I2C_Read... [11:56:05]Read from MH i2c: F0 [11:56:05]MH_I2C_Read... [11:56:05]Read from MH i2c: F0 09 00 [11:56:05]MH_I2C_Read... [11:56:05]Read from MH i2c: F0 09 00 3E 65 00 E4 EF 14 67 5A BE F6 66 5D [11:56:05]GetLastDocTimeStamp 1729425145 [11:56:05]current date 1729425380 [11:56:05]FM_GetShiftState [11:56:05]SAM_PROTO_GetShiftState [11:56:05]wFMCommunicate request_size=4 [11:56:05]MH_SAM_APDU [11:56:05]CAPDU: 80 13 01 00 [11:56:05]Write to MH i2c: E2 08 00 3F 65 80 13 01 00 00 00 00 00 21 [11:56:05]Write i2c OK [11:56:05]MH_I2C_Read... [11:56:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:56:05]Read from MH i2c: E2 [11:56:05]MH_I2C_Read... [11:56:05]Read from MH i2c: E2 0E 00 [11:56:05]MH_I2C_Read... [11:56:05]Read from MH i2c: E2 0E 00 3F 65 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 0B [11:56:05]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:56:05]wFMCommunicate OK [11:56:05]SAM_PROTO_GetShiftState done [11:56:05]FM_GetShiftState done [11:56:05]opened in 1729382427 [11:56:05]opened+sec_in_day 1729468827 [11:56:05]quantity*price = 7500 [11:56:05]sum+1 = 7501 [11:56:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 32 20.10.2024 11:56 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2651 ФПД: 121370655942273 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115620&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2651&fm=121370655942273&tin=02508201610067®Number=0000000000207295&sum=7500 0 [11:56:06]StoreToDocumentArchive [11:56:06]shift 24 fd 2651 [11:56:06]save to /storage/0024/doc_00002651 [11:56:06]save last doc name /storage/0024/doc_00002651 to /storage/kkm_last_doc_name [11:56:06]save OK [11:56:06]Clear old archive folders... [11:56:06]ProcessDocumentItem done err = 0, tmpTLVsize=285 [11:56:06]tlvbuf is 01517490 [11:56:06]SAM_PROTO_ClearQueue [11:56:06]wFMCommunicate request_size=4 [11:56:06]MH_SAM_APDU [11:56:06]CAPDU: 80 09 00 00 [11:56:06]Write to MH i2c: E2 08 00 4C 65 80 09 00 00 00 00 00 00 23 [11:56:06]Write i2c OK [11:56:06]MH_I2C_Read... [11:56:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:56:06]Read from MH i2c: E2 [11:56:06]MH_I2C_Read... [11:56:06]Read from MH i2c: E2 03 00 [11:56:06]MH_I2C_Read... [11:56:06]Read from MH i2c: E2 03 00 4C 65 00 90 00 25 [11:56:06]RAPDU: 90 00 [11:56:06]wFMCommunicate OK [11:56:06]SAM_PROTO_ClearQueue done [11:56:06]KKMCreateOFDPacket [11:56:06]OFDProtocolAddRootSTLVToBuf [11:56:06]FM_MakeSignedData [11:56:06]FM_MakeSignedData [11:56:06]SAM_PROTO_SignData [11:56:06]wFMCommunicate request_size=4 [11:56:06]MH_SAM_APDU [11:56:06]CAPDU: 80 0D 01 02 [11:56:06]Write to MH i2c: E2 08 00 4D 65 80 0D 01 02 00 00 00 00 2B [11:56:06]Write i2c OK [11:56:06]MH_I2C_Read... [11:56:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:56:06]Read from MH i2c: E2 [11:56:06]MH_I2C_Read... [11:56:06]Read from MH i2c: E2 03 00 [11:56:06]MH_I2C_Read... [11:56:06]Read from MH i2c: E2 03 00 4D 65 00 90 00 26 [11:56:06]RAPDU: 90 00 [11:56:06]wFMCommunicate OK [11:56:06]wFMCommunicate request_size=255 [11:56:06]MH_SAM_APDU [11:56:06]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 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 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 E4 EF 14 67 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 32 30 37 32 39 [11:56:06]Write to MH i2c: E2 02 01 4E 65 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 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 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 E4 EF 14 67 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 32 30 37 32 39 00 00 B6 [11:56:06]Write i2c OK [11:56:06]MH_I2C_Read... [11:56:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:56:07]Read from MH i2c: E2 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: E2 03 00 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: E2 03 00 4E 65 00 90 00 27 [11:56:07]RAPDU: 90 00 [11:56:07]wFMCommunicate OK [11:56:07]wFMCommunicate request_size=44 [11:56:07]MH_SAM_APDU [11:56:07]CAPDU: 80 0D 02 02 27 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5B 0A 00 00 35 04 06 00 6E 62 CE D5 66 81 [11:56:07]Write to MH i2c: E2 2F 00 4F 65 80 0D 02 02 27 00 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5B 0A 00 00 35 04 06 00 6E 62 CE D5 66 81 00 00 01 [11:56:07]Write i2c OK [11:56:07]MH_I2C_Read... [11:56:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:56:07]Read from MH i2c: E2 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: E2 03 00 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: E2 03 00 4F 65 00 90 00 28 [11:56:07]RAPDU: 90 00 [11:56:07]wFMCommunicate OK [11:56:07]wFMCommunicate request_size=4 [11:56:07]MH_SAM_APDU [11:56:07]CAPDU: 80 0D 03 02 [11:56:07]Write to MH i2c: E2 08 00 50 65 80 0D 03 02 00 00 00 00 30 [11:56:07]Write i2c OK [11:56:07]MH_I2C_Read... [11:56:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:56:07]Read from MH i2c: E2 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: E2 0B 00 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: E2 0B 00 50 65 00 89 6C 3E 91 2B A2 94 C3 90 00 19 [11:56:07]RAPDU: 89 6C 3E 91 2B A2 94 C3 90 00 [11:56:07]wFMCommunicate OK [11:56:07]SAM_PROTO_SignData done [11:56:07]FM_MakeSignedData done [11:56:07]CreateOFDProtocolMessage [11:56:07]wFMCommunicate request_size=4 [11:56:07]MH_SAM_APDU [11:56:07]CAPDU: 80 11 00 00 [11:56:07]Write to MH i2c: E2 08 00 51 65 80 11 00 00 00 00 00 00 30 [11:56:07]Write i2c OK [11:56:07]MH_I2C_Read... [11:56:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:56:07]Read from MH i2c: E2 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: E2 17 00 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: E2 17 00 51 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 78 [11:56:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:56:07]wFMCommunicate OK [11:56:07]CreateOFDProtocolMessage done [11:56:07]OFDSenderStorePacket 2651 [11:56:07]StoreOFDPacket docnum=2651 [11:56:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 31 01 00 00 66 35 29 01 A7 0E 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 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 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 E4 EF 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5B 0A 00 00 35 04 06 00 6E 62 CE D5 66 81 89 6C 3E 91 2B A2 94 C3 [11:56:07]CheckFolder [11:56:07]dirname=/storage/ofd_packets [11:56:07]CheckFolder done [11:56:07]ProducePacketName [11:56:07]name=ofd_packets/00002651 [11:56:07]NVStorageSaveData ofd_packets/00002651 [11:56:07]File name is /storage/ofd_packets/00002651 [11:56:07]Write 335 bytes [11:56:07]NVStorageSaveData done [11:56:07]OFDSenderStorePacket done [11:56:07]KKMCreateOFDPacket done [11:56:07]NVStorageSaveData kkm_last_timestamp [11:56:07]File name is /storage/kkm_last_timestamp [11:56:07]Write 4 bytes [11:56:07]NVStorageSaveData done [11:56:07]ExternCall_PrintAddStr [11:56:07]wPrintStart [11:56:07]Write to MH i2c: 01 00 00 52 65 B7 [11:56:07]Write i2c OK [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: 01 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: 01 07 00 [11:56:07]MH_I2C_Read... [11:56:07]Read from MH i2c: 01 07 00 52 65 00 00 00 00 00 FF 0F CC [11:56:07]RasterBufferAndPrint [11:56:07]line Счет N : (3)100029 [11:56:07]line ИНН: 02508201610067 [11:56:07]line Контрольно-Кассовый Чек [11:56:07]line ПРОДАЖА [11:56:07]line Товар: 4870112002775 [11:56:07]line Шок батончик ALBENI BITES 80гр [11:56:07]line 1.000 * 75.00 [11:56:07]line = 75.00 [11:56:07]line НДС 12% НСП 1% [11:56:07]line > о реализуемом товаре [11:56:07]line ИТОГО: 75.00 [11:56:07]line НСП 1% : 0.66 [11:56:07]line НДС 12% : 7.96 [11:56:07]line Наличными: 75.00 [11:56:07]line Безнал.: 0.00 [11:56:07]line Место: АЗС № 162 "Партнер Нефть" [11:56:07]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:56:07]line СНО: Общий режим [11:56:07]line Чек 32 20.10.2024 11:56 [11:56:07]line Смена: 24 ФФД: 1.0 [11:56:07]line ЗНМ: 0300000191 [11:56:07]line РНМ: 0000000000207295 [11:56:07]line Версия ККМ: v1.0 [11:56:07]line ФМ: 0000000002342820 [11:56:07]line ФД: 2651 [11:56:07]line ФПД: 121370655942273 [11:56:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115620&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2651&fm=121370655942273&tin=02508201610067®Number=0000000000207295&sum=7500 [11:56:07]line 0 [11:56:07]OFD Sender: Processing packet 2651 [packets to send 1, broken 0] [11:56:07]ProducePacketName [11:56:07]name=ofd_packets/00002651 [11:56:07]OFD Sender: To server: pG, [11:56:07]CommunicateWithHost lk.salyk.kg:30040 [11:56:07]ConnectInit lk.salyk.kg [11:56:07]written 0, free lines is 4095 [11:56:07]Connected sock=10 [11:56:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 31 01 00 00 66 35 29 01 A7 0E 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 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 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 E4 EF 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5B 0A 00 00 35 04 06 00 6E 62 CE D5 66 81 89 6C 3E 91 2B A2 94 C3 [11:56:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 14 1C 47 00 11 79 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 33 34 32 38 32 30 10 04 04 00 5B 0A 00 00 F4 03 04 00 42 9B 14 67 B6 04 01 00 00 A1 6D 16 D0 8B AD 9F A0 [11:56:08]CommunicateWithHost err = 0 [11:56:08]CheckOFDResponse [11:56:08]1017 (14) - 77093643461234 [11:56:08]1041 (16) - 0000000002342820 [11:56:08]1040 (4) - 2651 [11:56:08]1012 (4) - 20.10.2024 05:55 [11:56:08]1206 (1) - 0 [11:56:08]OFD Sender: Remove packet 2651 [11:56:08]ProducePacketName [11:56:08]name=ofd_packets/00002651 [11:56:08]NVStorageDeleteData [11:56:08]Write to MH i2c: 01 00 00 7B 65 E0 [11:56:08]Write i2c OK [11:56:08]MH_I2C_Read... [11:56:08]Read from MH i2c: 01 [11:56:08]MH_I2C_Read... [11:56:08]Read from MH i2c: 01 07 00 [11:56:08]MH_I2C_Read... [11:56:08]Read from MH i2c: 01 07 00 7B 65 00 00 00 00 00 AF 0C A2 [11:56:08]RasterBufferAndPrint [11:56:08]line [11:56:08]line [11:56:08]line [11:56:08]line [11:56:08]line [11:56:08]written 0, free lines is 3252 [11:56:08]MH_Cut [11:56:08]Write to MH i2c: D1 01 00 82 65 01 B9 [11:56:08]Write i2c OK [11:56:08]MH_I2C_Read... [11:56:08]Read from MH i2c: D1 [11:56:08]MH_I2C_Read... [11:56:08]Read from MH i2c: D1 01 00 [11:56:08]MH_I2C_Read... [11:56:08]Read from MH i2c: D1 01 00 82 65 00 B8 [11:56:08]Write to MH i2c: 01 00 00 83 65 E8 [11:56:08]Write i2c OK [11:56:08]MH_I2C_Read... [11:56:08]OFD Sender: No OFD packet to send [11:56:09]*** Cut start [11:56:09]*** Partial cut [11:56:09]*** CUTSNS_PIN = 1 [11:56:09]*** CUTSNS_PIN = 0 [11:56:09]*** Brake cut motor [11:56:09]Read from MH i2c: 01 [11:56:09]MH_I2C_Read... [11:56:09]*** Stop cut motor [11:56:09]*** Cut end [11:56:09]Read from MH i2c: 01 07 00 [11:56:09]MH_I2C_Read... [11:56:09]Read from MH i2c: 01 07 00 83 65 00 00 00 00 00 FF 0F FD [11:56:09]process_action close_receipt done [11:56:09]requested_data is exist [11:56:09]produce_requested_data [11:56:09]requested_item fm.sn is exist - process it [11:56:09]wFMCommunicate request_size=4 [11:56:09]MH_SAM_APDU [11:56:09]CAPDU: 80 11 00 00 [11:56:09]Write to MH i2c: E2 08 00 84 65 80 11 00 00 00 00 00 00 63 [11:56:09]Write i2c OK [11:56:09]MH_I2C_Read... [11:56:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:56:09]Read from MH i2c: E2 [11:56:09]MH_I2C_Read... [11:56:09]Read from MH i2c: E2 17 00 [11:56:09]MH_I2C_Read... [11:56:09]Read from MH i2c: E2 17 00 84 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AB [11:56:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:56:09]wFMCommunicate OK [11:56:09]requested_item fd.num is exist - process it [11:56:09]SAM_PROTO_GetFieldsCounters [11:56:09]wFMCommunicate request_size=4 [11:56:09]MH_SAM_APDU [11:56:09]CAPDU: 80 13 00 00 [11:56:09]Write to MH i2c: E2 08 00 85 65 80 13 00 00 00 00 00 00 66 [11:56:09]Write i2c OK [11:56:09]MH_I2C_Read... [11:56:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:56:09]Read from MH i2c: E2 [11:56:09]MH_I2C_Read... [11:56:09]Read from MH i2c: E2 62 00 [11:56:09]MH_I2C_Read... [11:56:09]Read from MH i2c: E2 62 00 85 65 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [11:56:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:56:09]wFMCommunicate OK [11:56:09]SAM_PROTO_GetFieldsCounters done [11:56:09]requested_item shift.num is exist - process it [11:56:09]requested_item shift.opened is exist - process it [11:56:09]req_shift_opened [11:56:09]FM_GetShiftState [11:56:09]SAM_PROTO_GetShiftState [11:56:09]wFMCommunicate request_size=4 [11:56:09]MH_SAM_APDU [11:56:09]CAPDU: 80 13 01 00 [11:56:09]Write to MH i2c: E2 08 00 86 65 80 13 01 00 00 00 00 00 68 [11:56:09]Write i2c OK [11:56:09]MH_I2C_Read... [11:56:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:56:09]Read from MH i2c: E2 [11:56:09]MH_I2C_Read... [11:56:09]Read from MH i2c: E2 0E 00 [11:56:09]MH_I2C_Read... [11:56:09]Read from MH i2c: E2 0E 00 86 65 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 52 [11:56:09]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [11:56:09]wFMCommunicate OK [11:56:09]SAM_PROTO_GetShiftState done [11:56:09]FM_GetShiftState done [11:56:09]req_shift_opened done [11:56:09]requested_item shift.open_date is exist - process it [11:56:09]req_shift_open_date [11:56:09]req_shift_open_date done [11:56:09]produce_requested_data done [11:56:09]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2651,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [11:56:09]process_action_free close_receipt [11:56:09]json_value_free [11:56:09]json_value_free done [11:56:09]process_json_proto returns [11:56:09]Send response to host [11:56:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2651,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [11:56:09]free response buf [11:56:09]execute_script done [11:56:09]execute_script returns [11:56:09]free content buf [11:56:09]Sock 9.Close socket [11:56:09]Sock 9.Thread stoped [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:33]OFD Sender: No OFD packet to send [11:59:38]OFD Sender: No OFD packet to send [11:59:43]OFD Sender: No OFD packet to send [11:59:48]OFD Sender: No OFD packet to send [11:59:53]OFD Sender: No OFD packet to send [11:59:58]OFD Sender: No OFD packet to send [12:00:03]OFD Sender: No OFD packet to send [12:00:08]OFD Sender: No OFD packet to send [12:00:13]OFD Sender: No OFD packet to send [12:00:18]OFD Sender: No OFD packet to send [12:00:23]OFD Sender: No OFD packet to send [12:00:28]OFD Sender: No OFD packet to send [12:00:33]OFD Sender: No OFD packet to send [12:00:38]OFD Sender: No OFD packet to send [12:00:43]OFD Sender: No OFD packet to send [12:00:48]OFD Sender: No OFD packet to send [12:00:53]OFD Sender: No OFD packet to send [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:13]OFD Sender: No OFD packet to send [12:04:18]OFD Sender: No OFD packet to send [12:04:23]OFD Sender: No OFD packet to send [12:04:28]OFD Sender: No OFD packet to send [12:04:33]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:18]OFD Sender: No OFD packet to send [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]OFD Sender: No OFD packet to send [12:06:13]OFD Sender: No OFD packet to send [12:06:18]OFD Sender: No OFD packet to send [12:06:23]OFD Sender: No OFD packet to send [12:06:28]OFD Sender: No OFD packet to send [12:06:33]OFD Sender: No OFD packet to send [12:06:38]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:29]OFD Sender: No OFD packet to send [12:07:34]OFD Sender: No OFD packet to send [12:07:39]OFD Sender: No OFD packet to send [12:07:44]OFD Sender: No OFD packet to send [12:07:49]OFD Sender: No OFD packet to send [12:07:54]OFD Sender: No OFD packet to send [12:07:59]OFD Sender: No OFD packet to send [12:08:04]OFD Sender: No OFD packet to send [12:08:09]OFD Sender: No OFD packet to send [12:08:14]OFD Sender: No OFD packet to send [12:08:19]OFD Sender: No OFD packet to send [12:08:24]OFD Sender: No OFD packet to send [12:08:29]OFD Sender: No OFD packet to send [12:08:34]OFD Sender: No OFD packet to send [12:08:39]OFD Sender: No OFD packet to send [12:08:44]OFD Sender: No OFD packet to send [12:08:49]OFD Sender: No OFD packet to send [12:08:54]OFD Sender: No OFD packet to send [12:08:59]OFD Sender: No OFD packet to send [12:09:04]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]OFD Sender: No OFD packet to send [12:09:49]OFD Sender: No OFD packet to send [12:09:54]OFD Sender: No OFD packet to send [12:09:59]OFD Sender: No OFD packet to send [12:10:04]OFD Sender: No OFD packet to send [12:10:09]OFD Sender: No OFD packet to send [12:10:14]OFD Sender: No OFD packet to send [12:10:19]OFD Sender: No OFD packet to send [12:10:24]OFD Sender: No OFD packet to send [12:10:29]OFD Sender: No OFD packet to send [12:10:34]OFD Sender: No OFD packet to send [12:10:39]OFD Sender: No OFD packet to send [12:10:44]OFD Sender: No OFD packet to send [12:10:49]OFD Sender: No OFD packet to send [12:10:54]OFD Sender: No OFD packet to send [12:10:59]OFD Sender: No OFD packet to send [12:11:04]OFD Sender: No OFD packet to send [12:11:09]OFD Sender: No OFD packet to send [12:11:14]OFD Sender: No OFD packet to send [12:11:19]OFD Sender: No OFD packet to send [12:11:24]OFD Sender: No OFD packet to send [12:11:29]OFD Sender: No OFD packet to send [12:11:34]OFD Sender: No OFD packet to send [12:11:39]OFD Sender: No OFD packet to send [12:11:44]OFD Sender: No OFD packet to send [12:11:49]OFD Sender: No OFD packet to send [12:11:54]OFD Sender: No OFD packet to send [12:11:59]OFD Sender: No OFD packet to send [12:12:04]OFD Sender: No OFD packet to send [12:12:09]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:34]accept exits with 7 [12:12:34]New connection [12:12:34]New thread 3066850660 created [12:12:34]Thread 3066707300 joined [12:12:34]Waiting for new connection... [12:12:34] Sock 7.Parse request [12:12:34]Sock 7.Check first char [12:12:34]Sock 7.First char is OK [12:12:34]request: POST /json_proto HTTP/1.0 [12:12:34]Method: POST [12:12:34]URL: /json_proto [12:12:34]Method is POST - this is cgi request [12:12:34]url: /json_proto [12:12:34]query_string will be loaded in cgi processing [12:12:34]execute_cgi json_proto POST (null) [12:12:34]execute_cgi path=json_proto method=POST [12:12:34]POST find Content-Length [12:12:34]Host: 172.17.52.132:8080 [12:12:34]Content-Length: 575 [12:12:34]Content-Type: application/json [12:12:34] [12:12:34]POST finish read [12:12:34]Found Content-Length = 575 [12:12:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100030", "tax_sys" : 0, "items" : [ { "code": "48744713", "name": "LD Compact Purple Beat", "price" : 137.00, "quantity" : 1.000, "sum" : 137.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" ] } } [12:12:34]execute_script... [12:12:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100030", "tax_sys" : 0, "items" : [ { "code": "48744713", "name": "LD Compact Purple Beat", "price" : 137.00, "quantity" : 1.000, "sum" : 137.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" ] } } [12:12:34]POST & json_proto [12:12:34]process_json_proto [12:12:34]json parsed OK: [12:12:34]protocol is kg_v1.0 [12:12:34]action value=close_receipt [12:12:34]process_action close_receipt [12:12:34]cmd_close_receipt [12:12:34]MH_GetDate [12:12:34]Write to MH i2c: F0 00 00 87 65 DB [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: F0 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: F0 09 00 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: F0 09 00 87 65 00 C1 F3 14 67 5A BE F6 66 87 [12:12:34]GetLastDocTimeStamp 1729425380 [12:12:34]current date 1729426369 [12:12:34]FM_GetShiftState [12:12:34]SAM_PROTO_GetShiftState [12:12:34]wFMCommunicate request_size=4 [12:12:34]MH_SAM_APDU [12:12:34]CAPDU: 80 13 01 00 [12:12:34]Write to MH i2c: E2 08 00 88 65 80 13 01 00 00 00 00 00 6A [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:34]Read from MH i2c: E2 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: E2 0E 00 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: E2 0E 00 88 65 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 54 [12:12:34]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:12:34]wFMCommunicate OK [12:12:34]SAM_PROTO_GetShiftState done [12:12:34]FM_GetShiftState done [12:12:34]opened in 1729382427 [12:12:34]opened+sec_in_day 1729468827 [12:12:34]quantity*price = 13700 [12:12:34]sum+1 = 13701 [12:12:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 137.00 НСП 1% : 1.21 НДС 12% : 14.55 Наличными: 137.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 33 20.10.2024 12:12 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2652 ФПД: 189845604083694 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T121249&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2652&fm=189845604083694&tin=02508201610067®Number=0000000000207295&sum=13700 0 [12:12:35]StoreToDocumentArchive [12:12:35]shift 24 fd 2652 [12:12:35]save to /storage/0024/doc_00002652 [12:12:35]save last doc name /storage/0024/doc_00002652 to /storage/kkm_last_doc_name [12:12:35]save OK [12:12:35]Clear old archive folders... [12:12:35]ProcessDocumentItem done err = 0, tmpTLVsize=259 [12:12:35]tlvbuf is 01457260 [12:12:35]SAM_PROTO_ClearQueue [12:12:35]wFMCommunicate request_size=4 [12:12:35]MH_SAM_APDU [12:12:35]CAPDU: 80 09 00 00 [12:12:35]Write to MH i2c: E2 08 00 95 65 80 09 00 00 00 00 00 00 6C [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:12:35]Read from MH i2c: E2 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 03 00 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 03 00 95 65 00 90 00 6E [12:12:35]RAPDU: 90 00 [12:12:35]wFMCommunicate OK [12:12:35]SAM_PROTO_ClearQueue done [12:12:35]KKMCreateOFDPacket [12:12:35]OFDProtocolAddRootSTLVToBuf [12:12:35]FM_MakeSignedData [12:12:35]FM_MakeSignedData [12:12:35]SAM_PROTO_SignData [12:12:35]wFMCommunicate request_size=4 [12:12:35]MH_SAM_APDU [12:12:35]CAPDU: 80 0D 01 02 [12:12:35]Write to MH i2c: E2 08 00 96 65 80 0D 01 02 00 00 00 00 74 [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:12:35]Read from MH i2c: E2 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 03 00 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 03 00 96 65 00 90 00 6F [12:12:35]RAPDU: 90 00 [12:12:35]wFMCommunicate OK [12:12:35]wFMCommunicate request_size=255 [12:12:35]MH_SAM_APDU [12:12:35]CAPDU: 80 0D 02 02 FA 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 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 21 00 00 00 F4 03 04 00 C1 F3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5C [12:12:35]Write to MH i2c: E2 02 01 97 65 80 0D 02 02 FA 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 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 21 00 00 00 F4 03 04 00 C1 F3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5C 00 00 F0 [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:36]Read from MH i2c: E2 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 03 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 03 00 97 65 00 90 00 70 [12:12:36]RAPDU: 90 00 [12:12:36]wFMCommunicate OK [12:12:36]wFMCommunicate request_size=18 [12:12:36]MH_SAM_APDU [12:12:36]CAPDU: 80 0D 02 02 0D 0A 00 00 35 04 06 00 AC A9 DF CB 27 EE [12:12:36]Write to MH i2c: E2 15 00 98 65 80 0D 02 02 0D 00 0A 00 00 35 04 06 00 AC A9 DF CB 27 EE 00 00 EE [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:36]Read from MH i2c: E2 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 03 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 03 00 98 65 00 90 00 71 [12:12:36]RAPDU: 90 00 [12:12:36]wFMCommunicate OK [12:12:36]wFMCommunicate request_size=4 [12:12:36]MH_SAM_APDU [12:12:36]CAPDU: 80 0D 03 02 [12:12:36]Write to MH i2c: E2 08 00 99 65 80 0D 03 02 00 00 00 00 79 [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:12:36]Read from MH i2c: E2 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 0B 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 0B 00 99 65 00 86 98 5B EE 7D 39 22 C7 90 00 80 [12:12:36]RAPDU: 86 98 5B EE 7D 39 22 C7 90 00 [12:12:36]wFMCommunicate OK [12:12:36]SAM_PROTO_SignData done [12:12:36]FM_MakeSignedData done [12:12:36]CreateOFDProtocolMessage [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 9A 65 80 11 00 00 00 00 00 00 79 [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 9A 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C1 [12:12:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:12:36]wFMCommunicate OK [12:12:36]CreateOFDProtocolMessage done [12:12:36]OFDSenderStorePacket 2652 [12:12:36]StoreOFDPacket docnum=2652 [12:12:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 17 01 00 00 55 7F 0F 01 87 45 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 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 21 00 00 00 F4 03 04 00 C1 F3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5C 0A 00 00 35 04 06 00 AC A9 DF CB 27 EE 86 98 5B EE 7D 39 22 C7 [12:12:36]CheckFolder [12:12:36]dirname=/storage/ofd_packets [12:12:36]CheckFolder done [12:12:36]ProducePacketName [12:12:36]name=ofd_packets/00002652 [12:12:36]NVStorageSaveData ofd_packets/00002652 [12:12:36]File name is /storage/ofd_packets/00002652 [12:12:36]Write 309 bytes [12:12:36]NVStorageSaveData done [12:12:36]OFDSenderStorePacket done [12:12:36]KKMCreateOFDPacket done [12:12:36]NVStorageSaveData kkm_last_timestamp [12:12:36]File name is /storage/kkm_last_timestamp [12:12:36]Write 4 bytes [12:12:36]NVStorageSaveData done [12:12:36]ExternCall_PrintAddStr [12:12:36]wPrintStart [12:12:36]Write to MH i2c: 01 00 00 9B 65 00 [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: 01 [12:12:36]MH_I2C_Read... [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 9B 65 00 00 00 00 00 FF 0F 15 [12:12:36]RasterBufferAndPrint [12:12:36]line Счет N : (3)100030 [12:12:36]line ИНН: 02508201610067 [12:12:36]line Контрольно-Кассовый Чек [12:12:36]line ПРОДАЖА [12:12:36]line Товар: 48744713 [12:12:36]line LD Compact Purple Beat [12:12:36]line 1.000 * 137.00 [12:12:36]line = 137.00 [12:12:36]line НДС 12% НСП 1% [12:12:36]line > о реализуемом товаре [12:12:36]line ИТОГО: 137.00 [12:12:36]line НСП 1% : 1.21 [12:12:36]line НДС 12% : 14.55 [12:12:36]line Наличными: 137.00 [12:12:36]line Безнал.: 0.00 [12:12:36]line Место: АЗС № 162 "Партнер Нефть" [12:12:36]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [12:12:36]line СНО: Общий режим [12:12:36]line Чек 33 20.10.2024 12:12 [12:12:36]line Смена: 24 ФФД: 1.0 [12:12:36]line ЗНМ: 0300000191 [12:12:36]line РНМ: 0000000000207295 [12:12:36]line Версия ККМ: v1.0 [12:12:36]line ФМ: 0000000002342820 [12:12:36]line ФД: 2652 [12:12:36]line ФПД: 189845604083694 [12:12:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T121249&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2652&fm=189845604083694&tin=02508201610067®Number=0000000000207295&sum=13700 [12:12:36]line 0 [12:12:36]OFD Sender: Processing packet 2652 [packets to send 1, broken 0] [12:12:36]ProducePacketName [12:12:36]name=ofd_packets/00002652 [12:12:36]OFD Sender: To server: pG, [12:12:36]CommunicateWithHost lk.salyk.kg:30040 [12:12:36]ConnectInit lk.salyk.kg [12:12:36]written 0, free lines is 4095 [12:12:36]Connected sock=10 [12:12:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 17 01 00 00 55 7F 0F 01 87 45 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 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 21 00 00 00 F4 03 04 00 C1 F3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5C 0A 00 00 35 04 06 00 AC A9 DF CB 27 EE 86 98 5B EE 7D 39 22 C7 [12:12:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 04 39 47 00 91 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5C 0A 00 00 F4 03 04 00 1F 9F 14 67 B6 04 01 00 00 A2 7C 11 35 81 AE 17 FA [12:12:36]CommunicateWithHost err = 0 [12:12:36]CheckOFDResponse [12:12:36]1017 (14) - 77093643461234 [12:12:36]1041 (16) - 0000000002342820 [12:12:36]1040 (4) - 2652 [12:12:36]1012 (4) - 20.10.2024 06:11 [12:12:36]1206 (1) - 0 [12:12:36]OFD Sender: Remove packet 2652 [12:12:36]ProducePacketName [12:12:36]name=ofd_packets/00002652 [12:12:36]NVStorageDeleteData [12:12:36]Write to MH i2c: 01 00 00 C3 65 28 [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: 01 [12:12:36]MH_I2C_Read... [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 C3 65 00 00 00 00 00 C7 0C 02 [12:12:36]RasterBufferAndPrint [12:12:36]line [12:12:36]line [12:12:36]line [12:12:36]line [12:12:36]line [12:12:37]written 0, free lines is 3275 [12:12:37]MH_Cut [12:12:37]Write to MH i2c: D1 01 00 CA 65 01 01 [12:12:37]Write i2c OK [12:12:37]MH_I2C_Read... [12:12:37]Read from MH i2c: D1 [12:12:37]MH_I2C_Read... [12:12:37]Read from MH i2c: D1 01 00 [12:12:37]MH_I2C_Read... [12:12:37]Read from MH i2c: D1 01 00 CA 65 00 00 [12:12:37]Write to MH i2c: 01 00 00 CB 65 30 [12:12:37]Write i2c OK [12:12:37]MH_I2C_Read... [12:12:37]OFD Sender: No OFD packet to send [12:12:37]*** Cut start [12:12:37]*** Partial cut [12:12:37]*** CUTSNS_PIN = 1 [12:12:37]*** CUTSNS_PIN = 0 [12:12:38]*** Brake cut motor [12:12:38]Read from MH i2c: 01 [12:12:38]MH_I2C_Read... [12:12:38]*** Stop cut motor [12:12:38]*** Cut end [12:12:38]Read from MH i2c: 01 07 00 [12:12:38]MH_I2C_Read... [12:12:38]Read from MH i2c: 01 07 00 CB 65 00 00 00 00 00 FF 0F 45 [12:12:38]process_action close_receipt done [12:12:38]requested_data is exist [12:12:38]produce_requested_data [12:12:38]requested_item fm.sn is exist - process it [12:12:38]wFMCommunicate request_size=4 [12:12:38]MH_SAM_APDU [12:12:38]CAPDU: 80 11 00 00 [12:12:38]Write to MH i2c: E2 08 00 CC 65 80 11 00 00 00 00 00 00 AB [12:12:38]Write i2c OK [12:12:38]MH_I2C_Read... [12:12:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:38]Read from MH i2c: E2 [12:12:38]MH_I2C_Read... [12:12:38]Read from MH i2c: E2 17 00 [12:12:38]MH_I2C_Read... [12:12:38]Read from MH i2c: E2 17 00 CC 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F3 [12:12:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:12:38]wFMCommunicate OK [12:12:38]requested_item fd.num is exist - process it [12:12:38]SAM_PROTO_GetFieldsCounters [12:12:38]wFMCommunicate request_size=4 [12:12:38]MH_SAM_APDU [12:12:38]CAPDU: 80 13 00 00 [12:12:38]Write to MH i2c: E2 08 00 CD 65 80 13 00 00 00 00 00 00 AE [12:12:38]Write i2c OK [12:12:38]MH_I2C_Read... [12:12:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:12:38]Read from MH i2c: E2 [12:12:38]MH_I2C_Read... [12:12:38]Read from MH i2c: E2 62 00 [12:12:38]MH_I2C_Read... [12:12:38]Read from MH i2c: E2 62 00 CD 65 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 A5 [12:12:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:12:38]wFMCommunicate OK [12:12:38]SAM_PROTO_GetFieldsCounters done [12:12:38]requested_item shift.num is exist - process it [12:12:38]requested_item shift.opened is exist - process it [12:12:38]req_shift_opened [12:12:38]FM_GetShiftState [12:12:38]SAM_PROTO_GetShiftState [12:12:38]wFMCommunicate request_size=4 [12:12:38]MH_SAM_APDU [12:12:38]CAPDU: 80 13 01 00 [12:12:38]Write to MH i2c: E2 08 00 CE 65 80 13 01 00 00 00 00 00 B0 [12:12:38]Write i2c OK [12:12:38]MH_I2C_Read... [12:12:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:38]Read from MH i2c: E2 [12:12:38]MH_I2C_Read... [12:12:38]Read from MH i2c: E2 0E 00 [12:12:38]MH_I2C_Read... [12:12:38]Read from MH i2c: E2 0E 00 CE 65 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9A [12:12:38]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:12:38]wFMCommunicate OK [12:12:38]SAM_PROTO_GetShiftState done [12:12:38]FM_GetShiftState done [12:12:38]req_shift_opened done [12:12:38]requested_item shift.open_date is exist - process it [12:12:38]req_shift_open_date [12:12:38]req_shift_open_date done [12:12:38]produce_requested_data done [12:12:38]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2652,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [12:12:38]process_action_free close_receipt [12:12:38]json_value_free [12:12:38]json_value_free done [12:12:38]process_json_proto returns [12:12:38]Send response to host [12:12:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2652,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [12:12:38]free response buf [12:12:38]execute_script done [12:12:38]execute_script returns [12:12:38]free content buf [12:12:38]Sock 7.Close socket [12:12:38]Sock 7.Thread stoped [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:12]accept exits with 9 [12:13:12]New connection [12:13:12]New thread 3066707300 created [12:13:12]Thread 3066850660 joined [12:13:12]Waiting for new connection... [12:13:12] Sock 9.Parse request [12:13:12]Sock 9.Check first char [12:13:12]Sock 9.First char is OK [12:13:12]request: POST /json_proto HTTP/1.0 [12:13:12]Method: POST [12:13:12]URL: /json_proto [12:13:12]Method is POST - this is cgi request [12:13:12]url: /json_proto [12:13:12]query_string will be loaded in cgi processing [12:13:12]execute_cgi json_proto POST (null) [12:13:12]execute_cgi path=json_proto method=POST [12:13:12]POST find Content-Length [12:13:12]Host: 172.17.52.132:8080 [12:13:12]Content-Length: 748 [12:13:12]Content-Type: application/json [12:13:12] [12:13:12]POST finish read [12:13:12]Found Content-Length = 748 [12:13:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100031", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.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: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:12]execute_script... [12:13: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)100031", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.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: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:12]POST & json_proto [12:13:12]process_json_proto [12:13:12]json parsed OK: [12:13:12]protocol is kg_v1.0 [12:13:12]action value=close_receipt [12:13:12]process_action close_receipt [12:13:12]cmd_close_receipt [12:13:12]MH_GetDate [12:13:12]Write to MH i2c: F0 00 00 CF 65 23 [12:13:12]Write i2c OK [12:13:12]MH_I2C_Read... [12:13:12]Read from MH i2c: F0 [12:13:12]MH_I2C_Read... [12:13:12]Read from MH i2c: F0 09 00 [12:13:12]MH_I2C_Read... [12:13:12]Read from MH i2c: F0 09 00 CF 65 00 E7 F3 14 67 5A BE F6 66 F5 [12:13:12]GetLastDocTimeStamp 1729426369 [12:13:12]current date 1729426407 [12:13:12]FM_GetShiftState [12:13:12]SAM_PROTO_GetShiftState [12:13:12]wFMCommunicate request_size=4 [12:13:12]MH_SAM_APDU [12:13:12]CAPDU: 80 13 01 00 [12:13:12]Write to MH i2c: E2 08 00 D0 65 80 13 01 00 00 00 00 00 B2 [12:13:12]Write i2c OK [12:13:12]MH_I2C_Read... [12:13:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:12]Read from MH i2c: E2 [12:13:12]MH_I2C_Read... [12:13:12]Read from MH i2c: E2 0E 00 [12:13:12]MH_I2C_Read... [12:13:12]Read from MH i2c: E2 0E 00 D0 65 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9C [12:13:12]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:13:12]wFMCommunicate OK [12:13:12]SAM_PROTO_GetShiftState done [12:13:12]FM_GetShiftState done [12:13:12]opened in 1729382427 [12:13:12]opened+sec_in_day 1729468827 [12:13:12]quantity*price = 14400 [12:13:12]sum+1 = 14401 [12:13:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 34 20.10.2024 12:13 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2653 ФПД: 187325391404412 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T121327&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2653&fm=187325391404412&tin=02508201610067®Number=0000000000207295&sum=14400 0 [12:13:13]StoreToDocumentArchive [12:13:13]shift 24 fd 2653 [12:13:13]save to /storage/0024/doc_00002653 [12:13:13]save last doc name /storage/0024/doc_00002653 to /storage/kkm_last_doc_name [12:13:13]save OK [12:13:13]Clear old archive folders... [12:13:13]ProcessDocumentItem done err = 0, tmpTLVsize=273 [12:13:13]tlvbuf is 01540B80 [12:13:13]SAM_PROTO_ClearQueue [12:13:13]wFMCommunicate request_size=4 [12:13:13]MH_SAM_APDU [12:13:13]CAPDU: 80 09 00 00 [12:13:13]Write to MH i2c: E2 08 00 DD 65 80 09 00 00 00 00 00 00 B4 [12:13:13]Write i2c OK [12:13:13]MH_I2C_Read... [12:13:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:13:13]Read from MH i2c: E2 [12:13:13]MH_I2C_Read... [12:13:13]Read from MH i2c: E2 03 00 [12:13:13]MH_I2C_Read... [12:13:13]Read from MH i2c: E2 03 00 DD 65 00 90 00 B6 [12:13:13]RAPDU: 90 00 [12:13:13]wFMCommunicate OK [12:13:13]SAM_PROTO_ClearQueue done [12:13:13]KKMCreateOFDPacket [12:13:13]OFDProtocolAddRootSTLVToBuf [12:13:13]FM_MakeSignedData [12:13:13]FM_MakeSignedData [12:13:13]SAM_PROTO_SignData [12:13:13]wFMCommunicate request_size=4 [12:13:13]MH_SAM_APDU [12:13:13]CAPDU: 80 0D 01 02 [12:13:13]Write to MH i2c: E2 08 00 DE 65 80 0D 01 02 00 00 00 00 BC [12:13:13]Write i2c OK [12:13:13]MH_I2C_Read... [12:13:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:13:13]Read from MH i2c: E2 [12:13:13]MH_I2C_Read... [12:13:13]Read from MH i2c: E2 03 00 [12:13:13]MH_I2C_Read... [12:13:13]Read from MH i2c: E2 03 00 DE 65 00 90 00 B7 [12:13:13]RAPDU: 90 00 [12:13:13]wFMCommunicate OK [12:13:13]wFMCommunicate request_size=255 [12:13:13]MH_SAM_APDU [12:13:13]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 E7 F3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [12:13:13]Write to MH i2c: E2 02 01 DF 65 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 E7 F3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 B5 [12:13:13]Write i2c OK [12:13:13]MH_I2C_Read... [12:13:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:14]Read from MH i2c: E2 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: E2 03 00 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: E2 03 00 DF 65 00 90 00 B8 [12:13:14]RAPDU: 90 00 [12:13:14]wFMCommunicate OK [12:13:14]wFMCommunicate request_size=32 [12:13:14]MH_SAM_APDU [12:13:14]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 5D 0A 00 00 35 04 06 00 AA 5F 17 69 7D 7C [12:13:14]Write to MH i2c: E2 23 00 E0 65 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 5D 0A 00 00 35 04 06 00 AA 5F 17 69 7D 7C 00 00 FA [12:13:14]Write i2c OK [12:13:14]MH_I2C_Read... [12:13:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:14]Read from MH i2c: E2 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: E2 03 00 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: E2 03 00 E0 65 00 90 00 B9 [12:13:14]RAPDU: 90 00 [12:13:14]wFMCommunicate OK [12:13:14]wFMCommunicate request_size=4 [12:13:14]MH_SAM_APDU [12:13:14]CAPDU: 80 0D 03 02 [12:13:14]Write to MH i2c: E2 08 00 E1 65 80 0D 03 02 00 00 00 00 C1 [12:13:14]Write i2c OK [12:13:14]MH_I2C_Read... [12:13:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:13:14]Read from MH i2c: E2 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: E2 0B 00 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: E2 0B 00 E1 65 00 F5 6D 56 8C 84 4F 7F F8 90 00 50 [12:13:14]RAPDU: F5 6D 56 8C 84 4F 7F F8 90 00 [12:13:14]wFMCommunicate OK [12:13:14]SAM_PROTO_SignData done [12:13:14]FM_MakeSignedData done [12:13:14]CreateOFDProtocolMessage [12:13:14]wFMCommunicate request_size=4 [12:13:14]MH_SAM_APDU [12:13:14]CAPDU: 80 11 00 00 [12:13:14]Write to MH i2c: E2 08 00 E2 65 80 11 00 00 00 00 00 00 C1 [12:13:14]Write i2c OK [12:13:14]MH_I2C_Read... [12:13:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:14]Read from MH i2c: E2 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: E2 17 00 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: E2 17 00 E2 65 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 09 [12:13:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:13:14]wFMCommunicate OK [12:13:14]CreateOFDProtocolMessage done [12:13:14]OFDSenderStorePacket 2653 [12:13:14]StoreOFDPacket docnum=2653 [12:13:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 7E EB 1D 01 67 FF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 E7 F3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5D 0A 00 00 35 04 06 00 AA 5F 17 69 7D 7C F5 6D 56 8C 84 4F 7F F8 [12:13:14]CheckFolder [12:13:14]dirname=/storage/ofd_packets [12:13:14]CheckFolder done [12:13:14]ProducePacketName [12:13:14]name=ofd_packets/00002653 [12:13:14]NVStorageSaveData ofd_packets/00002653 [12:13:14]File name is /storage/ofd_packets/00002653 [12:13:14]Write 323 bytes [12:13:14]NVStorageSaveData done [12:13:14]OFDSenderStorePacket done [12:13:14]KKMCreateOFDPacket done [12:13:14]NVStorageSaveData kkm_last_timestamp [12:13:14]File name is /storage/kkm_last_timestamp [12:13:14]Write 4 bytes [12:13:14]NVStorageSaveData done [12:13:14]ExternCall_PrintAddStr [12:13:14]wPrintStart [12:13:14]Write to MH i2c: 01 00 00 E3 65 48 [12:13:14]Write i2c OK [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: 01 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: 01 07 00 [12:13:14]MH_I2C_Read... [12:13:14]Read from MH i2c: 01 07 00 E3 65 00 00 00 00 00 FF 0F 5D [12:13:14]RasterBufferAndPrint [12:13:14]line Счет N : (3)100031 [12:13:14]line ИНН: 02508201610067 [12:13:14]line Контрольно-Кассовый Чек [12:13:14]line ПРОДАЖА [12:13:14]line Товар: 48743570 [12:13:14]line Сигареты Winston XStyle Blue [12:13:14]line 1.000 * 144.00 [12:13:14]line = 144.00 [12:13:14]line НДС 12% НСП 1% [12:13:14]line > о реализуемом товаре [12:13:14]line ИТОГО: 144.00 [12:13:14]line НСП 1% : 1.27 [12:13:14]line НДС 12% : 15.29 [12:13:14]line Наличными: 0.00 [12:13:14]line Безнал.: 144.00 [12:13:14]line Место: АЗС № 162 "Партнер Нефть" [12:13:14]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [12:13:14]line СНО: Общий режим [12:13:14]line Чек 34 20.10.2024 12:13 [12:13:14]line Смена: 24 ФФД: 1.0 [12:13:14]line ЗНМ: 0300000191 [12:13:14]line РНМ: 0000000000207295 [12:13:14]line Версия ККМ: v1.0 [12:13:14]line Платежная система: Mbank [12:13:14]line ФМ: 0000000002342820 [12:13:14]line ФД: 2653 [12:13:14]line ФПД: 187325391404412 [12:13:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T121327&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2653&fm=187325391404412&tin=02508201610067®Number=0000000000207295&sum=14400 [12:13:14]line 0 [12:13:14]OFD Sender: Processing packet 2653 [packets to send 1, broken 0] [12:13:14]ProducePacketName [12:13:14]name=ofd_packets/00002653 [12:13:14]OFD Sender: To server: pG, [12:13:14]CommunicateWithHost lk.salyk.kg:30040 [12:13:14]ConnectInit lk.salyk.kg [12:13:14]written 0, free lines is 4095 [12:13:14]Connected sock=10 [12:13:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 7E EB 1D 01 67 FF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 E7 F3 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5D 0A 00 00 35 04 06 00 AA 5F 17 69 7D 7C F5 6D 56 8C 84 4F 7F F8 [12:13:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 0B 60 47 00 51 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 33 34 32 38 32 30 10 04 04 00 5D 0A 00 00 F4 03 04 00 45 9F 14 67 B6 04 01 00 00 EF 26 35 45 E6 74 AA 6F [12:13:14]CommunicateWithHost err = 0 [12:13:14]CheckOFDResponse [12:13:14]1017 (14) - 77093643461234 [12:13:14]1041 (16) - 0000000002342820 [12:13:14]1040 (4) - 2653 [12:13:14]1012 (4) - 20.10.2024 06:12 [12:13:14]1206 (1) - 0 [12:13:14]OFD Sender: Remove packet 2653 [12:13:14]ProducePacketName [12:13:14]name=ofd_packets/00002653 [12:13:14]NVStorageDeleteData [12:13:15]Write to MH i2c: 01 00 00 0C 66 72 [12:13:15]Write i2c OK [12:13:15]MH_I2C_Read... [12:13:15]Read from MH i2c: 01 [12:13:15]MH_I2C_Read... [12:13:15]Read from MH i2c: 01 07 00 [12:13:15]MH_I2C_Read... [12:13:15]Read from MH i2c: 01 07 00 0C 66 00 00 00 00 00 A0 0C 25 [12:13:15]RasterBufferAndPrint [12:13:15]line [12:13:15]line [12:13:15]line [12:13:15]line [12:13:15]line [12:13:15]written 0, free lines is 3237 [12:13:15]MH_Cut [12:13:15]Write to MH i2c: D1 01 00 13 66 01 4B [12:13:15]Write i2c OK [12:13:15]MH_I2C_Read... [12:13:15]Read from MH i2c: D1 [12:13:15]MH_I2C_Read... [12:13:15]Read from MH i2c: D1 01 00 [12:13:15]MH_I2C_Read... [12:13:15]Read from MH i2c: D1 01 00 13 66 00 4A [12:13:15]Write to MH i2c: 01 00 00 14 66 7A [12:13:15]Write i2c OK [12:13:15]MH_I2C_Read... [12:13:15]OFD Sender: No OFD packet to send [12:13:15]*** Cut start [12:13:15]*** Partial cut [12:13:15]*** CUTSNS_PIN = 1 [12:13:16]*** CUTSNS_PIN = 0 [12:13:16]*** Brake cut motor [12:13:16]Read from MH i2c: 01 [12:13:16]MH_I2C_Read... [12:13:16]*** Stop cut motor [12:13:16]*** Cut end [12:13:16]Read from MH i2c: 01 07 00 [12:13:16]MH_I2C_Read... [12:13:16]Read from MH i2c: 01 07 00 14 66 00 00 00 00 00 FF 0F 8F [12:13:16]process_action close_receipt done [12:13:16]requested_data is exist [12:13:16]produce_requested_data [12:13:16]requested_item fm.sn is exist - process it [12:13:16]wFMCommunicate request_size=4 [12:13:16]MH_SAM_APDU [12:13:16]CAPDU: 80 11 00 00 [12:13:16]Write to MH i2c: E2 08 00 15 66 80 11 00 00 00 00 00 00 F5 [12:13:16]Write i2c OK [12:13:16]MH_I2C_Read... [12:13:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:16]Read from MH i2c: E2 [12:13:16]MH_I2C_Read... [12:13:16]Read from MH i2c: E2 17 00 [12:13:16]MH_I2C_Read... [12:13:16]Read from MH i2c: E2 17 00 15 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 3D [12:13:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:13:16]wFMCommunicate OK [12:13:16]requested_item fd.num is exist - process it [12:13:16]SAM_PROTO_GetFieldsCounters [12:13:16]wFMCommunicate request_size=4 [12:13:16]MH_SAM_APDU [12:13:16]CAPDU: 80 13 00 00 [12:13:16]Write to MH i2c: E2 08 00 16 66 80 13 00 00 00 00 00 00 F8 [12:13:16]Write i2c OK [12:13:16]MH_I2C_Read... [12:13:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:13:16]Read from MH i2c: E2 [12:13:16]MH_I2C_Read... [12:13:16]Read from MH i2c: E2 62 00 [12:13:16]MH_I2C_Read... [12:13:16]Read from MH i2c: E2 62 00 16 66 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5D 0A 00 00 0E 04 04 00 18 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 F3 [12:13:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5D 0A 00 00 0E 04 04 00 18 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 [12:13:16]wFMCommunicate OK [12:13:16]SAM_PROTO_GetFieldsCounters done [12:13:16]requested_item shift.num is exist - process it [12:13:16]requested_item shift.opened is exist - process it [12:13:16]req_shift_opened [12:13:16]FM_GetShiftState [12:13:16]SAM_PROTO_GetShiftState [12:13:16]wFMCommunicate request_size=4 [12:13:16]MH_SAM_APDU [12:13:16]CAPDU: 80 13 01 00 [12:13:16]Write to MH i2c: E2 08 00 17 66 80 13 01 00 00 00 00 00 FA [12:13:16]Write i2c OK [12:13:16]MH_I2C_Read... [12:13:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:16]Read from MH i2c: E2 [12:13:16]MH_I2C_Read... [12:13:16]Read from MH i2c: E2 0E 00 [12:13:16]MH_I2C_Read... [12:13:16]Read from MH i2c: E2 0E 00 17 66 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E4 [12:13:16]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:13:16]wFMCommunicate OK [12:13:16]SAM_PROTO_GetShiftState done [12:13:16]FM_GetShiftState done [12:13:16]req_shift_opened done [12:13:16]requested_item shift.open_date is exist - process it [12:13:16]req_shift_open_date [12:13:16]req_shift_open_date done [12:13:16]produce_requested_data done [12:13:16]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2653,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [12:13:16]process_action_free close_receipt [12:13:16]json_value_free [12:13:16]json_value_free done [12:13:16]process_json_proto returns [12:13:16]Send response to host [12:13:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2653,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [12:13:16]free response buf [12:13:16]execute_script done [12:13:16]execute_script returns [12:13:16]free content buf [12:13:16]Sock 9.Close socket [12:13:16]Sock 9.Thread stoped [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23:00]OFD Sender: No OFD packet to send [12:23:05]OFD Sender: No OFD packet to send [12:23:10]OFD Sender: No OFD packet to send [12:23:15]OFD Sender: No OFD packet to send [12:23:20]OFD Sender: No OFD packet to send [12:23:25]OFD Sender: No OFD packet to send [12:23:30]OFD Sender: No OFD packet to send [12:23:35]OFD Sender: No OFD packet to send [12:23:40]OFD Sender: No OFD packet to send [12:23:45]OFD Sender: No OFD packet to send [12:23:50]OFD Sender: No OFD packet to send [12:23:55]OFD Sender: No OFD packet to send [12:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:10]OFD Sender: No OFD packet to send [12:24:15]OFD Sender: No OFD packet to send [12:24:20]OFD Sender: No OFD packet to send [12:24:25]OFD Sender: No OFD packet to send [12:24:30]OFD Sender: No OFD packet to send [12:24:35]OFD Sender: No OFD packet to send [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25: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:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:43]accept exits with 7 [12:29:43]New connection [12:29:43]New thread 3066850660 created [12:29:43]Thread 3066707300 joined [12:29:43]Waiting for new connection... [12:29:43] Sock 7.Parse request [12:29:43]Sock 7.Check first char [12:29:43]Sock 7.First char is OK [12:29:43]request: POST /json_proto HTTP/1.0 [12:29:43]Method: POST [12:29:43]URL: /json_proto [12:29:43]Method is POST - this is cgi request [12:29:43]url: /json_proto [12:29:43]query_string will be loaded in cgi processing [12:29:43]execute_cgi json_proto POST (null) [12:29:43]execute_cgi path=json_proto method=POST [12:29:43]POST find Content-Length [12:29:43]Host: 172.17.52.132:8080 [12:29:43]Content-Length: 860 [12:29:43]Content-Type: application/json [12:29:43] [12:29:43]POST finish read [12:29:43]Found Content-Length = 860 [12:29:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100032", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 304.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:29:43]execute_script... [12:29: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)100032", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 304.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:29:43]POST & json_proto [12:29:43]process_json_proto [12:29:43]json parsed OK: [12:29:43]protocol is kg_v1.0 [12:29:43]action value=close_receipt [12:29:43]process_action close_receipt [12:29:43]cmd_close_receipt [12:29:43]MH_GetDate [12:29:43]Write to MH i2c: F0 00 00 18 66 6D [12:29:43]Write i2c OK [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: F0 [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: F0 09 00 [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: F0 09 00 18 66 00 C6 F7 14 67 5A BE F6 66 22 [12:29:43]GetLastDocTimeStamp 1729426407 [12:29:43]current date 1729427398 [12:29:43]FM_GetShiftState [12:29:43]SAM_PROTO_GetShiftState [12:29:43]wFMCommunicate request_size=4 [12:29:43]MH_SAM_APDU [12:29:43]CAPDU: 80 13 01 00 [12:29:43]Write to MH i2c: E2 08 00 19 66 80 13 01 00 00 00 00 00 FC [12:29:43]Write i2c OK [12:29:43]MH_I2C_Read... [12:29:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:43]Read from MH i2c: E2 [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: E2 0E 00 [12:29:43]MH_I2C_Read... [12:29:43]Read from MH i2c: E2 0E 00 19 66 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E6 [12:29:43]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:29:43]wFMCommunicate OK [12:29:43]SAM_PROTO_GetShiftState done [12:29:43]FM_GetShiftState done [12:29:43]opened in 1729382427 [12:29:43]opened+sec_in_day 1729468827 [12:29:43]quantity*price = 15400 [12:29:43]sum+1 = 15401 [12:29:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091621 Сигареты ESSE Exchange W 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 304.00 НСП 1% : 2.69 НДС 12% : 32.28 Наличными: 304.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 35 20.10.2024 12:29 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2654 ФПД: 265319475209587 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T122958&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2654&fm=265319475209587&tin=02508201610067®Number=0000000000207295&sum=30400 0 [12:29:44]StoreToDocumentArchive [12:29:44]shift 24 fd 2654 [12:29:44]save to /storage/0024/doc_00002654 [12:29:44]save last doc name /storage/0024/doc_00002654 to /storage/kkm_last_doc_name [12:29:44]save OK [12:29:44]Clear old archive folders... [12:29:44]ProcessDocumentItem done err = 0, tmpTLVsize=378 [12:29:44]tlvbuf is 014AB350 [12:29:44]SAM_PROTO_ClearQueue [12:29:44]wFMCommunicate request_size=4 [12:29:44]MH_SAM_APDU [12:29:44]CAPDU: 80 09 00 00 [12:29:44]Write to MH i2c: E2 08 00 26 66 80 09 00 00 00 00 00 00 FE [12:29:44]Write i2c OK [12:29:44]MH_I2C_Read... [12:29:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:29:44]Read from MH i2c: E2 [12:29:44]MH_I2C_Read... [12:29:44]Read from MH i2c: E2 03 00 [12:29:44]MH_I2C_Read... [12:29:44]Read from MH i2c: E2 03 00 26 66 00 90 00 00 [12:29:44]RAPDU: 90 00 [12:29:44]wFMCommunicate OK [12:29:44]SAM_PROTO_ClearQueue done [12:29:44]KKMCreateOFDPacket [12:29:44]OFDProtocolAddRootSTLVToBuf [12:29:44]FM_MakeSignedData [12:29:44]FM_MakeSignedData [12:29:44]SAM_PROTO_SignData [12:29:44]wFMCommunicate request_size=4 [12:29:44]MH_SAM_APDU [12:29:44]CAPDU: 80 0D 01 02 [12:29:44]Write to MH i2c: E2 08 00 27 66 80 0D 01 02 00 00 00 00 06 [12:29:44]Write i2c OK [12:29:44]MH_I2C_Read... [12:29:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:29:44]Read from MH i2c: E2 [12:29:44]MH_I2C_Read... [12:29:44]Read from MH i2c: E2 03 00 [12:29:44]MH_I2C_Read... [12:29:44]Read from MH i2c: E2 03 00 27 66 00 90 00 01 [12:29:44]RAPDU: 90 00 [12:29:44]wFMCommunicate OK [12:29:44]wFMCommunicate request_size=255 [12:29:44]MH_SAM_APDU [12:29:44]CAPDU: 80 0D 02 02 FA 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 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 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 [12:29:44]Write to MH i2c: E2 02 01 28 66 80 0D 02 02 FA 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 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 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 00 00 CD [12:29:44]Write i2c OK [12:29:44]MH_I2C_Read... [12:29:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:29:45]Read from MH i2c: E2 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: E2 03 00 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: E2 03 00 28 66 00 90 00 02 [12:29:45]RAPDU: 90 00 [12:29:45]wFMCommunicate OK [12:29:45]wFMCommunicate request_size=137 [12:29:45]MH_SAM_APDU [12:29:45]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C6 F7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5E 0A 00 00 35 04 06 00 F1 4E 81 12 65 73 [12:29:45]Write to MH i2c: E2 8C 00 29 66 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C6 F7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5E 0A 00 00 35 04 06 00 F1 4E 81 12 65 73 00 00 96 [12:29:45]Write i2c OK [12:29:45]MH_I2C_Read... [12:29:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:29:45]Read from MH i2c: E2 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: E2 03 00 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: E2 03 00 29 66 00 90 00 03 [12:29:45]RAPDU: 90 00 [12:29:45]wFMCommunicate OK [12:29:45]wFMCommunicate request_size=4 [12:29:45]MH_SAM_APDU [12:29:45]CAPDU: 80 0D 03 02 [12:29:45]Write to MH i2c: E2 08 00 2A 66 80 0D 03 02 00 00 00 00 0B [12:29:45]Write i2c OK [12:29:45]MH_I2C_Read... [12:29:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:29:45]Read from MH i2c: E2 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: E2 0B 00 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: E2 0B 00 2A 66 00 FA 89 A0 31 FD B6 0B 3F 90 00 5D [12:29:45]RAPDU: FA 89 A0 31 FD B6 0B 3F 90 00 [12:29:45]wFMCommunicate OK [12:29:45]SAM_PROTO_SignData done [12:29:45]FM_MakeSignedData done [12:29:45]CreateOFDProtocolMessage [12:29:45]wFMCommunicate request_size=4 [12:29:45]MH_SAM_APDU [12:29:45]CAPDU: 80 11 00 00 [12:29:45]Write to MH i2c: E2 08 00 2B 66 80 11 00 00 00 00 00 00 0B [12:29:45]Write i2c OK [12:29:45]MH_I2C_Read... [12:29:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:29:45]Read from MH i2c: E2 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: E2 17 00 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: E2 17 00 2B 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 53 [12:29:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:29:45]wFMCommunicate OK [12:29:45]CreateOFDProtocolMessage done [12:29:45]OFDSenderStorePacket 2654 [12:29:45]StoreOFDPacket docnum=2654 [12:29:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8E 01 00 00 A8 DD 86 01 3D 9C 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 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 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C6 F7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5E 0A 00 00 35 04 06 00 F1 4E 81 12 65 73 FA 89 A0 31 FD B6 0B 3F [12:29:45]CheckFolder [12:29:45]dirname=/storage/ofd_packets [12:29:45]CheckFolder done [12:29:45]ProducePacketName [12:29:45]name=ofd_packets/00002654 [12:29:45]NVStorageSaveData ofd_packets/00002654 [12:29:45]File name is /storage/ofd_packets/00002654 [12:29:45]Write 428 bytes [12:29:45]NVStorageSaveData done [12:29:45]OFDSenderStorePacket done [12:29:45]KKMCreateOFDPacket done [12:29:45]NVStorageSaveData kkm_last_timestamp [12:29:45]File name is /storage/kkm_last_timestamp [12:29:45]Write 4 bytes [12:29:45]NVStorageSaveData done [12:29:45]ExternCall_PrintAddStr [12:29:45]wPrintStart [12:29:45]Write to MH i2c: 01 00 00 2C 66 92 [12:29:45]Write i2c OK [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: 01 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: 01 07 00 [12:29:45]MH_I2C_Read... [12:29:45]Read from MH i2c: 01 07 00 2C 66 00 00 00 00 00 FF 0F A7 [12:29:45]RasterBufferAndPrint [12:29:45]line Счет N : (3)100032 [12:29:45]line ИНН: 02508201610067 [12:29:45]line Контрольно-Кассовый Чек [12:29:45]line ПРОДАЖА [12:29:45]line Товар: 46230614 [12:29:45]line Сигареты Richmond Red Edition [12:29:45]line 1.000 * 154.00 [12:29:45]line = 154.00 [12:29:45]line НДС 12% НСП 1% [12:29:45]line > о реализуемом товаре [12:29:45]line Товар: 4640030091621 [12:29:45]line Сигареты ESSE Exchange W [12:29:45]line 1.000 * 150.00 [12:29:45]line = 150.00 [12:29:45]line НДС 12% НСП 1% [12:29:45]line > о реализуемом товаре [12:29:45]line ИТОГО: 304.00 [12:29:45]line НСП 1% : 2.69 [12:29:45]line НДС 12% : 32.28 [12:29:45]line Наличными: 304.00 [12:29:45]line Безнал.: 0.00 [12:29:45]line Место: АЗС № 162 "Партнер Нефть" [12:29:45]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [12:29:45]line СНО: Общий режим [12:29:45]line Чек 35 20.10.2024 12:29 [12:29:45]line Смена: 24 ФФД: 1.0 [12:29:45]line ЗНМ: 0300000191 [12:29:45]line РНМ: 0000000000207295 [12:29:45]line Версия ККМ: v1.0 [12:29:45]line ФМ: 0000000002342820 [12:29:45]line ФД: 2654 [12:29:45]line ФПД: 265319475209587 [12:29:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T122958&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2654&fm=265319475209587&tin=02508201610067®Number=0000000000207295&sum=30400 [12:29:45]line 0 [12:29:45]OFD Sender: Processing packet 2654 [packets to send 1, broken 0] [12:29:45]ProducePacketName [12:29:45]name=ofd_packets/00002654 [12:29:45]OFD Sender: To server: pG, [12:29:45]CommunicateWithHost lk.salyk.kg:30040 [12:29:45]ConnectInit lk.salyk.kg [12:29:45]written 0, free lines is 4095 [12:29:45]Connected sock=10 [12:29:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8E 01 00 00 A8 DD 86 01 3D 9C 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 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 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C6 F7 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5E 0A 00 00 35 04 06 00 F1 4E 81 12 65 73 FA 89 A0 31 FD B6 0B 3F [12:29:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 53 15 47 00 29 8E 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 33 34 32 38 32 30 10 04 04 00 5E 0A 00 00 F4 03 04 00 24 A3 14 67 B6 04 01 00 00 97 F7 75 33 E4 C2 A7 CD [12:29:46]CommunicateWithHost err = 0 [12:29:46]CheckOFDResponse [12:29:46]1017 (14) - 77093643461234 [12:29:46]1041 (16) - 0000000002342820 [12:29:46]1040 (4) - 2654 [12:29:46]1012 (4) - 20.10.2024 06:28 [12:29:46]1206 (1) - 0 [12:29:46]OFD Sender: Remove packet 2654 [12:29:46]ProducePacketName [12:29:46]name=ofd_packets/00002654 [12:29:46]NVStorageDeleteData [12:29:46]Write to MH i2c: 01 00 00 5B 66 C1 [12:29:46]Write i2c OK [12:29:46]MH_I2C_Read... [12:29:46]Read from MH i2c: 01 [12:29:46]MH_I2C_Read... [12:29:46]Read from MH i2c: 01 07 00 [12:29:46]MH_I2C_Read... [12:29:46]Read from MH i2c: 01 07 00 5B 66 00 00 00 00 00 36 0C 0A [12:29:46]RasterBufferAndPrint [12:29:46]line [12:29:46]line [12:29:46]line [12:29:46]line [12:29:46]line [12:29:46]written 0, free lines is 3131 [12:29:46]MH_Cut [12:29:46]Write to MH i2c: D1 01 00 62 66 01 9A [12:29:46]Write i2c OK [12:29:46]MH_I2C_Read... [12:29:46]Read from MH i2c: D1 [12:29:46]MH_I2C_Read... [12:29:46]Read from MH i2c: D1 01 00 [12:29:46]MH_I2C_Read... [12:29:46]Read from MH i2c: D1 01 00 62 66 00 99 [12:29:46]Write to MH i2c: 01 00 00 63 66 C9 [12:29:46]Write i2c OK [12:29:46]MH_I2C_Read... [12:29:46]OFD Sender: No OFD packet to send [12:29:47]*** Cut start [12:29:47]*** Partial cut [12:29:47]*** CUTSNS_PIN = 1 [12:29:47]*** CUTSNS_PIN = 0 [12:29:47]*** Brake cut motor [12:29:47]Read from MH i2c: 01 [12:29:47]MH_I2C_Read... [12:29:47]*** Stop cut motor [12:29:47]*** Cut end [12:29:47]Read from MH i2c: 01 07 00 [12:29:47]MH_I2C_Read... [12:29:47]Read from MH i2c: 01 07 00 63 66 00 00 00 00 00 FF 0F DE [12:29:47]process_action close_receipt done [12:29:47]requested_data is exist [12:29:47]produce_requested_data [12:29:47]requested_item fm.sn is exist - process it [12:29:47]wFMCommunicate request_size=4 [12:29:47]MH_SAM_APDU [12:29:47]CAPDU: 80 11 00 00 [12:29:47]Write to MH i2c: E2 08 00 64 66 80 11 00 00 00 00 00 00 44 [12:29:47]Write i2c OK [12:29:47]MH_I2C_Read... [12:29:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:29:47]Read from MH i2c: E2 [12:29:47]MH_I2C_Read... [12:29:47]Read from MH i2c: E2 17 00 [12:29:47]MH_I2C_Read... [12:29:47]Read from MH i2c: E2 17 00 64 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 8C [12:29:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:29:47]wFMCommunicate OK [12:29:47]requested_item fd.num is exist - process it [12:29:47]SAM_PROTO_GetFieldsCounters [12:29:47]wFMCommunicate request_size=4 [12:29:47]MH_SAM_APDU [12:29:47]CAPDU: 80 13 00 00 [12:29:47]Write to MH i2c: E2 08 00 65 66 80 13 00 00 00 00 00 00 47 [12:29:47]Write i2c OK [12:29:47]MH_I2C_Read... [12:29:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:29:48]Read from MH i2c: E2 [12:29:48]MH_I2C_Read... [12:29:48]Read from MH i2c: E2 62 00 [12:29:48]MH_I2C_Read... [12:29:48]Read from MH i2c: E2 62 00 65 66 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5E 0A 00 00 0E 04 04 00 18 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 46 [12:29:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5E 0A 00 00 0E 04 04 00 18 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 [12:29:48]wFMCommunicate OK [12:29:48]SAM_PROTO_GetFieldsCounters done [12:29:48]requested_item shift.num is exist - process it [12:29:48]requested_item shift.opened is exist - process it [12:29:48]req_shift_opened [12:29:48]FM_GetShiftState [12:29:48]SAM_PROTO_GetShiftState [12:29:48]wFMCommunicate request_size=4 [12:29:48]MH_SAM_APDU [12:29:48]CAPDU: 80 13 01 00 [12:29:48]Write to MH i2c: E2 08 00 66 66 80 13 01 00 00 00 00 00 49 [12:29:48]Write i2c OK [12:29:48]MH_I2C_Read... [12:29:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:48]Read from MH i2c: E2 [12:29:48]MH_I2C_Read... [12:29:48]Read from MH i2c: E2 0E 00 [12:29:48]MH_I2C_Read... [12:29:48]Read from MH i2c: E2 0E 00 66 66 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 33 [12:29:48]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:29:48]wFMCommunicate OK [12:29:48]SAM_PROTO_GetShiftState done [12:29:48]FM_GetShiftState done [12:29:48]req_shift_opened done [12:29:48]requested_item shift.open_date is exist - process it [12:29:48]req_shift_open_date [12:29:48]req_shift_open_date done [12:29:48]produce_requested_data done [12:29:48]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2654,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [12:29:48]process_action_free close_receipt [12:29:48]json_value_free [12:29:48]json_value_free done [12:29:48]process_json_proto returns [12:29:48]Send response to host [12:29:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2654,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [12:29:48]free response buf [12:29:48]execute_script done [12:29:48]execute_script returns [12:29:48]free content buf [12:29:48]Sock 7.Close socket [12:29:48]Sock 7.Thread stoped [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:14]accept exits with 9 [12:38:14]New connection [12:38:14]New thread 3066707300 created [12:38:14]Thread 3066850660 joined [12:38:14]Waiting for new connection... [12:38:14] Sock 9.Parse request [12:38:14]Sock 9.Check first char [12:38:14]Sock 9.First char is OK [12:38:14]request: POST /json_proto HTTP/1.0 [12:38:14]Method: POST [12:38:14]URL: /json_proto [12:38:14]Method is POST - this is cgi request [12:38:14]url: /json_proto [12:38:14]query_string will be loaded in cgi processing [12:38:14]execute_cgi json_proto POST (null) [12:38:14]execute_cgi path=json_proto method=POST [12:38:14]POST find Content-Length [12:38:14]Host: 172.17.52.132:8080 [12:38:14]Content-Length: 628 [12:38:14]Content-Type: application/json [12:38:14] [12:38:14]POST finish read [12:38:14]Found Content-Length = 628 [12:38:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100033", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:38:14]execute_script... [12:38: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)100033", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:38:14]POST & json_proto [12:38:14]process_json_proto [12:38:14]json parsed OK: [12:38:14]protocol is kg_v1.0 [12:38:14]action value=close_receipt [12:38:14]process_action close_receipt [12:38:14]cmd_close_receipt [12:38:14]MH_GetDate [12:38:14]Write to MH i2c: F0 00 00 67 66 BC [12:38:14]Write i2c OK [12:38:14]MH_I2C_Read... [12:38:14]Read from MH i2c: F0 [12:38:14]MH_I2C_Read... [12:38:14]Read from MH i2c: F0 09 00 [12:38:14]MH_I2C_Read... [12:38:14]Read from MH i2c: F0 09 00 67 66 00 C5 F9 14 67 5A BE F6 66 72 [12:38:14]GetLastDocTimeStamp 1729427398 [12:38:14]current date 1729427909 [12:38:14]FM_GetShiftState [12:38:14]SAM_PROTO_GetShiftState [12:38:14]wFMCommunicate request_size=4 [12:38:14]MH_SAM_APDU [12:38:14]CAPDU: 80 13 01 00 [12:38:14]Write to MH i2c: E2 08 00 68 66 80 13 01 00 00 00 00 00 4B [12:38:14]Write i2c OK [12:38:14]MH_I2C_Read... [12:38:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:14]Read from MH i2c: E2 [12:38:14]MH_I2C_Read... [12:38:14]Read from MH i2c: E2 0E 00 [12:38:14]MH_I2C_Read... [12:38:14]Read from MH i2c: E2 0E 00 68 66 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 35 [12:38:14]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:38:14]wFMCommunicate OK [12:38:14]SAM_PROTO_GetShiftState done [12:38:14]FM_GetShiftState done [12:38:14]opened in 1729382427 [12:38:14]opened+sec_in_day 1729468827 [12:38:14]quantity*price = 27800 [12:38:14]sum+1 = 27801 [12:38:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 36 20.10.2024 12:38 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2655 ФПД: 89054156710183 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123829&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2655&fm=89054156710183&tin=02508201610067®Number=0000000000207295&sum=27800 0 [12:38:15]StoreToDocumentArchive [12:38:15]shift 24 fd 2655 [12:38:15]save to /storage/0024/doc_00002655 [12:38:15]save last doc name /storage/0024/doc_00002655 to /storage/kkm_last_doc_name [12:38:15]save OK [12:38:15]Clear old archive folders... [12:38:15]ProcessDocumentItem done err = 0, tmpTLVsize=280 [12:38:15]tlvbuf is 01540810 [12:38:15]SAM_PROTO_ClearQueue [12:38:15]wFMCommunicate request_size=4 [12:38:15]MH_SAM_APDU [12:38:15]CAPDU: 80 09 00 00 [12:38:15]Write to MH i2c: E2 08 00 75 66 80 09 00 00 00 00 00 00 4D [12:38:15]Write i2c OK [12:38:15]MH_I2C_Read... [12:38:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:38:15]Read from MH i2c: E2 [12:38:15]MH_I2C_Read... [12:38:15]Read from MH i2c: E2 03 00 [12:38:15]MH_I2C_Read... [12:38:15]Read from MH i2c: E2 03 00 75 66 00 90 00 4F [12:38:15]RAPDU: 90 00 [12:38:15]wFMCommunicate OK [12:38:15]SAM_PROTO_ClearQueue done [12:38:15]KKMCreateOFDPacket [12:38:15]OFDProtocolAddRootSTLVToBuf [12:38:15]FM_MakeSignedData [12:38:15]FM_MakeSignedData [12:38:15]SAM_PROTO_SignData [12:38:15]wFMCommunicate request_size=4 [12:38:15]MH_SAM_APDU [12:38:15]CAPDU: 80 0D 01 02 [12:38:15]Write to MH i2c: E2 08 00 76 66 80 0D 01 02 00 00 00 00 55 [12:38:15]Write i2c OK [12:38:15]MH_I2C_Read... [12:38:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:38:15]Read from MH i2c: E2 [12:38:15]MH_I2C_Read... [12:38:15]Read from MH i2c: E2 03 00 [12:38:15]MH_I2C_Read... [12:38:15]Read from MH i2c: E2 03 00 76 66 00 90 00 50 [12:38:15]RAPDU: 90 00 [12:38:15]wFMCommunicate OK [12:38:15]wFMCommunicate request_size=255 [12:38:15]MH_SAM_APDU [12:38:15]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 C5 F9 14 67 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 32 30 37 32 39 35 11 04 10 00 [12:38:15]Write to MH i2c: E2 02 01 77 66 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 C5 F9 14 67 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 32 30 37 32 39 35 11 04 10 00 00 00 52 [12:38:15]Write i2c OK [12:38:15]MH_I2C_Read... [12:38:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:15]Read from MH i2c: E2 [12:38:15]MH_I2C_Read... [12:38:15]Read from MH i2c: E2 03 00 [12:38:15]MH_I2C_Read... [12:38:15]Read from MH i2c: E2 03 00 77 66 00 90 00 51 [12:38:15]RAPDU: 90 00 [12:38:15]wFMCommunicate OK [12:38:15]wFMCommunicate request_size=39 [12:38:15]MH_SAM_APDU [12:38:15]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5F 0A 00 00 35 04 06 00 50 FE 89 60 61 27 [12:38:15]Write to MH i2c: E2 2A 00 78 66 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5F 0A 00 00 35 04 06 00 50 FE 89 60 61 27 00 00 30 [12:38:15]Write i2c OK [12:38:15]MH_I2C_Read... [12:38:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:15]Read from MH i2c: E2 [12:38:15]MH_I2C_Read... [12:38:15]Read from MH i2c: E2 03 00 [12:38:15]MH_I2C_Read... [12:38:15]Read from MH i2c: E2 03 00 78 66 00 90 00 52 [12:38:15]RAPDU: 90 00 [12:38:15]wFMCommunicate OK [12:38:15]wFMCommunicate request_size=4 [12:38:15]MH_SAM_APDU [12:38:15]CAPDU: 80 0D 03 02 [12:38:15]Write to MH i2c: E2 08 00 79 66 80 0D 03 02 00 00 00 00 5A [12:38:15]Write i2c OK [12:38:15]MH_I2C_Read... [12:38:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:38:16]Read from MH i2c: E2 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: E2 0B 00 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: E2 0B 00 79 66 00 54 06 53 58 B0 8E 7A A6 90 00 BE [12:38:16]RAPDU: 54 06 53 58 B0 8E 7A A6 90 00 [12:38:16]wFMCommunicate OK [12:38:16]SAM_PROTO_SignData done [12:38:16]FM_MakeSignedData done [12:38:16]CreateOFDProtocolMessage [12:38:16]wFMCommunicate request_size=4 [12:38:16]MH_SAM_APDU [12:38:16]CAPDU: 80 11 00 00 [12:38:16]Write to MH i2c: E2 08 00 7A 66 80 11 00 00 00 00 00 00 5A [12:38:16]Write i2c OK [12:38:16]MH_I2C_Read... [12:38:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:16]Read from MH i2c: E2 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: E2 17 00 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: E2 17 00 7A 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A2 [12:38:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:38:16]wFMCommunicate OK [12:38:16]CreateOFDProtocolMessage done [12:38:16]OFDSenderStorePacket 2655 [12:38:16]StoreOFDPacket docnum=2655 [12:38:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2C 01 00 00 B0 75 24 01 45 3D 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 C5 F9 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5F 0A 00 00 35 04 06 00 50 FE 89 60 61 27 54 06 53 58 B0 8E 7A A6 [12:38:16]CheckFolder [12:38:16]dirname=/storage/ofd_packets [12:38:16]CheckFolder done [12:38:16]ProducePacketName [12:38:16]name=ofd_packets/00002655 [12:38:16]NVStorageSaveData ofd_packets/00002655 [12:38:16]File name is /storage/ofd_packets/00002655 [12:38:16]Write 330 bytes [12:38:16]NVStorageSaveData done [12:38:16]OFDSenderStorePacket done [12:38:16]KKMCreateOFDPacket done [12:38:16]NVStorageSaveData kkm_last_timestamp [12:38:16]File name is /storage/kkm_last_timestamp [12:38:16]Write 4 bytes [12:38:16]NVStorageSaveData done [12:38:16]ExternCall_PrintAddStr [12:38:16]wPrintStart [12:38:16]Write to MH i2c: 01 00 00 7B 66 E1 [12:38:16]OFD Sender: Processing packet 2655 [packets to send 1, broken 0] [12:38:16]ProducePacketName [12:38:16]name=ofd_packets/00002655 [12:38:16]OFD Sender: To server: pG, [12:38:16]CommunicateWithHost lk.salyk.kg:30040 [12:38:16]ConnectInit lk.salyk.kg [12:38:16]Write i2c OK [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: 01 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: 01 07 00 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: 01 07 00 7B 66 00 00 00 00 00 FF 0F F6 [12:38:16]RasterBufferAndPrint [12:38:16]line Счет N : (3)100033 [12:38:16]line ИНН: 02508201610067 [12:38:16]line Контрольно-Кассовый Чек [12:38:16]line ПРОДАЖА [12:38:16]line Товар: 48741231 [12:38:16]line Сигареты Winston Super Slims Silver [12:38:16]line 2.000 * 139.00 [12:38:16]line = 278.00 [12:38:16]line НДС 12% НСП 1% [12:38:16]line > о реализуемом товаре [12:38:16]line ИТОГО: 278.00 [12:38:16]line НСП 1% : 2.46 [12:38:16]line НДС 12% : 29.52 [12:38:16]line Наличными: 278.00 [12:38:16]line Безнал.: 0.00 [12:38:16]line Место: АЗС № 162 "Партнер Нефть" [12:38:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [12:38:16]line СНО: Общий режим [12:38:16]line Чек 36 20.10.2024 12:38 [12:38:16]line Смена: 24 ФФД: 1.0 [12:38:16]line ЗНМ: 0300000191 [12:38:16]line РНМ: 0000000000207295 [12:38:16]line Версия ККМ: v1.0 [12:38:16]line ФМ: 0000000002342820 [12:38:16]line ФД: 2655 [12:38:16]line ФПД: 89054156710183 [12:38:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123829&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2655&fm=89054156710183&tin=02508201610067®Number=0000000000207295&sum=27800 [12:38:16]line 0 [12:38:16]written 0, free lines is 4095 [12:38:16]Connected sock=10 [12:38:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2C 01 00 00 B0 75 24 01 45 3D 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 C5 F9 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 5F 0A 00 00 35 04 06 00 50 FE 89 60 61 27 54 06 53 58 B0 8E 7A A6 [12:38:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 55 64 47 00 AB D5 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 33 34 32 38 32 30 10 04 04 00 5F 0A 00 00 F4 03 04 00 22 A5 14 67 B6 04 01 00 00 A3 DE 4A 73 D0 7C FF 3F [12:38:16]CommunicateWithHost err = 0 [12:38:16]CheckOFDResponse [12:38:16]1017 (14) - 77093643461234 [12:38:16]1041 (16) - 0000000002342820 [12:38:16]1040 (4) - 2655 [12:38:16]1012 (4) - 20.10.2024 06:37 [12:38:16]1206 (1) - 0 [12:38:16]OFD Sender: Remove packet 2655 [12:38:16]ProducePacketName [12:38:16]name=ofd_packets/00002655 [12:38:16]NVStorageDeleteData [12:38:16]Write to MH i2c: 01 00 00 A4 66 0A [12:38:16]Write i2c OK [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: 01 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: 01 07 00 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: 01 07 00 A4 66 00 00 00 00 00 A8 0C C5 [12:38:16]RasterBufferAndPrint [12:38:16]line [12:38:16]line [12:38:16]line [12:38:16]line [12:38:16]line [12:38:16]written 0, free lines is 3246 [12:38:16]MH_Cut [12:38:16]Write to MH i2c: D1 01 00 AB 66 01 E3 [12:38:16]Write i2c OK [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: D1 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: D1 01 00 [12:38:16]MH_I2C_Read... [12:38:16]Read from MH i2c: D1 01 00 AB 66 00 E2 [12:38:16]Write to MH i2c: 01 00 00 AC 66 12 [12:38:16]Write i2c OK [12:38:16]MH_I2C_Read... [12:38:17]OFD Sender: No OFD packet to send [12:38:17]*** Cut start [12:38:17]*** Partial cut [12:38:17]*** CUTSNS_PIN = 1 [12:38:17]*** CUTSNS_PIN = 0 [12:38:18]*** Brake cut motor [12:38:18]Read from MH i2c: 01 [12:38:18]MH_I2C_Read... [12:38:18]*** Stop cut motor [12:38:18]*** Cut end [12:38:18]Read from MH i2c: 01 07 00 [12:38:18]MH_I2C_Read... [12:38:18]Read from MH i2c: 01 07 00 AC 66 00 00 00 00 00 FF 0F 27 [12:38:18]process_action close_receipt done [12:38:18]requested_data is exist [12:38:18]produce_requested_data [12:38:18]requested_item fm.sn is exist - process it [12:38:18]wFMCommunicate request_size=4 [12:38:18]MH_SAM_APDU [12:38:18]CAPDU: 80 11 00 00 [12:38:18]Write to MH i2c: E2 08 00 AD 66 80 11 00 00 00 00 00 00 8D [12:38:18]Write i2c OK [12:38:18]MH_I2C_Read... [12:38:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:18]Read from MH i2c: E2 [12:38:18]MH_I2C_Read... [12:38:18]Read from MH i2c: E2 17 00 [12:38:18]MH_I2C_Read... [12:38:18]Read from MH i2c: E2 17 00 AD 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D5 [12:38:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:38:18]wFMCommunicate OK [12:38:18]requested_item fd.num is exist - process it [12:38:18]SAM_PROTO_GetFieldsCounters [12:38:18]wFMCommunicate request_size=4 [12:38:18]MH_SAM_APDU [12:38:18]CAPDU: 80 13 00 00 [12:38:18]Write to MH i2c: E2 08 00 AE 66 80 13 00 00 00 00 00 00 90 [12:38:18]Write i2c OK [12:38:18]MH_I2C_Read... [12:38:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:38:18]Read from MH i2c: E2 [12:38:18]MH_I2C_Read... [12:38:18]Read from MH i2c: E2 62 00 [12:38:18]MH_I2C_Read... [12:38:18]Read from MH i2c: E2 62 00 AE 66 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5F 0A 00 00 0E 04 04 00 18 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 93 [12:38:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 5F 0A 00 00 0E 04 04 00 18 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 [12:38:18]wFMCommunicate OK [12:38:18]SAM_PROTO_GetFieldsCounters done [12:38:18]requested_item shift.num is exist - process it [12:38:18]requested_item shift.opened is exist - process it [12:38:18]req_shift_opened [12:38:18]FM_GetShiftState [12:38:18]SAM_PROTO_GetShiftState [12:38:18]wFMCommunicate request_size=4 [12:38:18]MH_SAM_APDU [12:38:18]CAPDU: 80 13 01 00 [12:38:18]Write to MH i2c: E2 08 00 AF 66 80 13 01 00 00 00 00 00 92 [12:38:18]Write i2c OK [12:38:18]MH_I2C_Read... [12:38:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:18]Read from MH i2c: E2 [12:38:18]MH_I2C_Read... [12:38:18]Read from MH i2c: E2 0E 00 [12:38:18]MH_I2C_Read... [12:38:18]Read from MH i2c: E2 0E 00 AF 66 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 7C [12:38:18]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:38:18]wFMCommunicate OK [12:38:18]SAM_PROTO_GetShiftState done [12:38:18]FM_GetShiftState done [12:38:18]req_shift_opened done [12:38:18]requested_item shift.open_date is exist - process it [12:38:18]req_shift_open_date [12:38:18]req_shift_open_date done [12:38:18]produce_requested_data done [12:38:18]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2655,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [12:38:18]process_action_free close_receipt [12:38:18]json_value_free [12:38:18]json_value_free done [12:38:18]process_json_proto returns [12:38:18]Send response to host [12:38:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2655,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [12:38:18]free response buf [12:38:18]execute_script done [12:38:18]execute_script returns [12:38:18]free content buf [12:38:18]Sock 9.Close socket [12:38:18]Sock 9.Thread stoped [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:52]OFD Sender: No OFD packet to send [12:39:57]OFD Sender: No OFD packet to send [12:40:02]OFD Sender: No OFD packet to send [12:40:07]OFD Sender: No OFD packet to send [12:40:12]OFD Sender: No OFD packet to send [12:40:17]OFD Sender: No OFD packet to send [12:40:22]OFD Sender: No OFD packet to send [12:40:27]OFD Sender: No OFD packet to send [12:40:32]OFD Sender: No OFD packet to send [12:40:37]OFD Sender: No OFD packet to send [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:02]OFD Sender: No OFD packet to send [12:41:07]OFD Sender: No OFD packet to send [12:41:12]OFD Sender: No OFD packet to send [12:41:17]OFD Sender: No OFD packet to send [12:41:22]OFD Sender: No OFD packet to send [12:41:27]OFD Sender: No OFD packet to send [12:41:32]OFD Sender: No OFD packet to send [12:41:37]OFD Sender: No OFD packet to send [12:41:42]OFD Sender: No OFD packet to send [12:41:47]OFD Sender: No OFD packet to send [12:41:52]OFD Sender: No OFD packet to send [12:41:57]OFD Sender: No OFD packet to send [12:42:02]OFD Sender: No OFD packet to send [12:42:07]OFD Sender: No OFD packet to send [12:42:12]OFD Sender: No OFD packet to send [12:42:17]OFD Sender: No OFD packet to send [12:42:22]OFD Sender: No OFD packet to send [12:42:27]OFD Sender: No OFD packet to send [12:42:32]OFD Sender: No OFD packet to send [12:42:37]OFD Sender: No OFD packet to send [12:42:42]OFD Sender: No OFD packet to send [12:42:47]OFD Sender: No OFD packet to send [12:42:52]OFD Sender: No OFD packet to send [12:42:57]OFD Sender: No OFD packet to send [12:43:02]OFD Sender: No OFD packet to send [12:43:07]OFD Sender: No OFD packet to send [12:43:12]OFD Sender: No OFD packet to send [12:43:17]OFD Sender: No OFD packet to send [12:43:22]OFD Sender: No OFD packet to send [12:43:27]OFD Sender: No OFD packet to send [12:43:32]OFD Sender: No OFD packet to send [12:43:37]OFD Sender: No OFD packet to send [12:43:42]OFD Sender: No OFD packet to send [12:43:47]OFD Sender: No OFD packet to send [12:43:52]OFD Sender: No OFD packet to send [12:43:57]OFD Sender: No OFD packet to send [12:44:02]OFD Sender: No OFD packet to send [12:44:07]OFD Sender: No OFD packet to send [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:30]accept exits with 7 [12:44:30]New connection [12:44:30]New thread 3066850660 created [12:44:30]Thread 3066707300 joined [12:44:30]Waiting for new connection... [12:44:30] Sock 7.Parse request [12:44:30]Sock 7.Check first char [12:44:30]Sock 7.First char is OK [12:44:30]request: POST /json_proto HTTP/1.0 [12:44:30]Method: POST [12:44:30]URL: /json_proto [12:44:30]Method is POST - this is cgi request [12:44:30]url: /json_proto [12:44:30]query_string will be loaded in cgi processing [12:44:30]execute_cgi json_proto POST (null) [12:44:30]execute_cgi path=json_proto method=POST [12:44:30]POST find Content-Length [12:44:30]Host: 172.17.52.132:8080 [12:44:30]Content-Length: 803 [12:44:30]Content-Type: application/json [12:44:30] [12:44:30]POST finish read [12:44:30]Found Content-Length = 803 [12:44:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)476759", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 249.350, "sum" : 19000.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 19000.47 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:30]execute_script... [12:44:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)476759", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 249.350, "sum" : 19000.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 19000.47 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:30]POST & json_proto [12:44:30]process_json_proto [12:44:30]json parsed OK: [12:44:30]protocol is kg_v1.0 [12:44:30]action value=close_receipt [12:44:30]process_action close_receipt [12:44:30]cmd_close_receipt [12:44:30]MH_GetDate [12:44:30]Write to MH i2c: F0 00 00 B0 66 05 [12:44:30]Write i2c OK [12:44:30]MH_I2C_Read... [12:44:30]Read from MH i2c: F0 [12:44:30]MH_I2C_Read... [12:44:30]Read from MH i2c: F0 09 00 [12:44:30]MH_I2C_Read... [12:44:30]Read from MH i2c: F0 09 00 B0 66 00 3C FB 14 67 5A BE F6 66 34 [12:44:30]GetLastDocTimeStamp 1729427909 [12:44:30]current date 1729428284 [12:44:30]FM_GetShiftState [12:44:30]SAM_PROTO_GetShiftState [12:44:30]wFMCommunicate request_size=4 [12:44:30]MH_SAM_APDU [12:44:30]CAPDU: 80 13 01 00 [12:44:30]Write to MH i2c: E2 08 00 B1 66 80 13 01 00 00 00 00 00 94 [12:44:30]Write i2c OK [12:44:30]MH_I2C_Read... [12:44:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:30]Read from MH i2c: E2 [12:44:30]MH_I2C_Read... [12:44:30]Read from MH i2c: E2 0E 00 [12:44:30]MH_I2C_Read... [12:44:30]Read from MH i2c: E2 0E 00 B1 66 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 7E [12:44:30]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:44:30]wFMCommunicate OK [12:44:30]SAM_PROTO_GetShiftState done [12:44:30]FM_GetShiftState done [12:44:30]opened in 1729382427 [12:44:30]opened+sec_in_day 1729468827 [12:44:30]quantity*price = 1900047 [12:44:30]sum+1 = 1900048 [12:44:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 19000.47 НСП 1% : 168.15 НДС 12% : 2017.75 Наличными: 0.00 Безнал.: 19000.47 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 37 20.10.2024 12:44 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000002342820 ФД: 2656 ФПД: 258959144344067 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T124445&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2656&fm=258959144344067&tin=02508201610067®Number=0000000000207295&sum=1900047 [12:44:31]StoreToDocumentArchive [12:44:31]shift 24 fd 2656 [12:44:31]save to /storage/0024/doc_00002656 [12:44:31]save last doc name /storage/0024/doc_00002656 to /storage/kkm_last_doc_name [12:44:31]save OK [12:44:31]Clear old archive folders... [12:44:31]ProcessDocumentItem done err = 0, tmpTLVsize=248 [12:44:31]tlvbuf is 014ABA20 [12:44:31]SAM_PROTO_ClearQueue [12:44:31]wFMCommunicate request_size=4 [12:44:31]MH_SAM_APDU [12:44:31]CAPDU: 80 09 00 00 [12:44:31]Write to MH i2c: E2 08 00 BE 66 80 09 00 00 00 00 00 00 96 [12:44:31]Write i2c OK [12:44:31]MH_I2C_Read... [12:44:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:44:31]Read from MH i2c: E2 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 03 00 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 03 00 BE 66 00 90 00 98 [12:44:31]RAPDU: 90 00 [12:44:31]wFMCommunicate OK [12:44:31]SAM_PROTO_ClearQueue done [12:44:31]KKMCreateOFDPacket [12:44:31]OFDProtocolAddRootSTLVToBuf [12:44:31]FM_MakeSignedData [12:44:31]FM_MakeSignedData [12:44:31]SAM_PROTO_SignData [12:44:31]wFMCommunicate request_size=4 [12:44:31]MH_SAM_APDU [12:44:31]CAPDU: 80 0D 01 02 [12:44:31]Write to MH i2c: E2 08 00 BF 66 80 0D 01 02 00 00 00 00 9E [12:44:31]Write i2c OK [12:44:31]MH_I2C_Read... [12:44:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:44:31]Read from MH i2c: E2 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 03 00 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 03 00 BF 66 00 90 00 99 [12:44:31]RAPDU: 90 00 [12:44:31]wFMCommunicate OK [12:44:31]wFMCommunicate request_size=255 [12:44:31]MH_SAM_APDU [12:44:31]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 06 CE 03 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0F FE 1C 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0F FE 1C 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 41 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 14 03 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0F FE 1C 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 3D FB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 60 0A 00 00 35 04 06 00 EB 85 9F CF [12:44:31]Write to MH i2c: E2 02 01 C0 66 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 06 CE 03 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0F FE 1C 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0F FE 1C 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 41 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 14 03 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0F FE 1C 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 3D FB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 60 0A 00 00 35 04 06 00 EB 85 9F CF 00 00 91 [12:44:31]Write i2c OK [12:44:31]MH_I2C_Read... [12:44:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:31]Read from MH i2c: E2 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 03 00 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 03 00 C0 66 00 90 00 9A [12:44:31]RAPDU: 90 00 [12:44:31]wFMCommunicate OK [12:44:31]wFMCommunicate request_size=7 [12:44:31]MH_SAM_APDU [12:44:31]CAPDU: 80 0D 02 02 02 5A 03 [12:44:31]Write to MH i2c: E2 0A 00 C1 66 80 0D 02 02 02 00 5A 03 00 00 02 [12:44:31]Write i2c OK [12:44:31]MH_I2C_Read... [12:44:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:31]Read from MH i2c: E2 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 03 00 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 03 00 C1 66 00 90 00 9B [12:44:31]RAPDU: 90 00 [12:44:31]wFMCommunicate OK [12:44:31]wFMCommunicate request_size=4 [12:44:31]MH_SAM_APDU [12:44:31]CAPDU: 80 0D 03 02 [12:44:31]Write to MH i2c: E2 08 00 C2 66 80 0D 03 02 00 00 00 00 A3 [12:44:31]Write i2c OK [12:44:31]MH_I2C_Read... [12:44:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:44:31]Read from MH i2c: E2 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 0B 00 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 0B 00 C2 66 00 08 43 DF C9 8D 6A 17 E2 90 00 87 [12:44:31]RAPDU: 08 43 DF C9 8D 6A 17 E2 90 00 [12:44:31]wFMCommunicate OK [12:44:31]SAM_PROTO_SignData done [12:44:31]FM_MakeSignedData done [12:44:31]CreateOFDProtocolMessage [12:44:31]wFMCommunicate request_size=4 [12:44:31]MH_SAM_APDU [12:44:31]CAPDU: 80 11 00 00 [12:44:31]Write to MH i2c: E2 08 00 C3 66 80 11 00 00 00 00 00 00 A3 [12:44:31]Write i2c OK [12:44:31]MH_I2C_Read... [12:44:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:31]Read from MH i2c: E2 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 17 00 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: E2 17 00 C3 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 EB [12:44:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:44:31]wFMCommunicate OK [12:44:31]CreateOFDProtocolMessage done [12:44:31]OFDSenderStorePacket 2656 [12:44:31]StoreOFDPacket docnum=2656 [12:44:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0C 01 00 00 FF A4 04 01 48 A2 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 06 CE 03 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0F FE 1C 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0F FE 1C 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 41 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 14 03 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0F FE 1C 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 3D FB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 60 0A 00 00 35 04 06 00 EB 85 9F CF 5A 03 08 43 DF C9 8D 6A 17 E2 [12:44:31]CheckFolder [12:44:31]dirname=/storage/ofd_packets [12:44:31]CheckFolder done [12:44:31]ProducePacketName [12:44:31]name=ofd_packets/00002656 [12:44:31]NVStorageSaveData ofd_packets/00002656 [12:44:31]File name is /storage/ofd_packets/00002656 [12:44:31]Write 298 bytes [12:44:31]NVStorageSaveData done [12:44:31]OFDSenderStorePacket done [12:44:31]KKMCreateOFDPacket done [12:44:31]NVStorageSaveData kkm_last_timestamp [12:44:31]File name is /storage/kkm_last_timestamp [12:44:31]Write 4 bytes [12:44:31]NVStorageSaveData done [12:44:31]ExternCall_PrintAddStr [12:44:31]wPrintStart [12:44:31]Write to MH i2c: 01 00 00 C4 66 2A [12:44:31]Write i2c OK [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: 01 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: 01 07 00 [12:44:31]MH_I2C_Read... [12:44:31]Read from MH i2c: 01 07 00 C4 66 00 00 00 00 00 FF 0F 3F [12:44:31]RasterBufferAndPrint [12:44:31]line Счет N : (1)476759 [12:44:31]line ИНН: 02508201610067 [12:44:31]line Контрольно-Кассовый Чек [12:44:31]line ПРОДАЖА [12:44:31]line ТРК (МРК, ГНК) : 14 [12:44:31]line Товар: 2710194210 [12:44:31]line ДТ-К-5 [12:44:31]line 249.350 * 76.20 [12:44:31]line = 19000.47 [12:44:31]line НДС 12% НСП 1% [12:44:31]line > о реализуемом товаре [12:44:31]line ИТОГО: 19000.47 [12:44:31]line НСП 1% : 168.15 [12:44:31]line НДС 12% : 2017.75 [12:44:31]line Наличными: 0.00 [12:44:31]line Безнал.: 19000.47 [12:44:31]line Место: АЗС № 162 "Партнер Нефть" [12:44:31]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [12:44:31]line СНО: Общий режим [12:44:31]line Чек 37 20.10.2024 12:44 [12:44:31]line Смена: 24 ФФД: 1.0 [12:44:31]line ЗНМ: 0300000191 [12:44:31]line РНМ: 0000000000207295 [12:44:31]line Версия ККМ: v1.0 [12:44:31]line Платежная система: O! деньги [12:44:31]line ФМ: 0000000002342820 [12:44:31]line ФД: 2656 [12:44:31]line ФПД: 258959144344067 [12:44:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T124445&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2656&fm=258959144344067&tin=02508201610067®Number=0000000000207295&sum=1900047 [12:44:32]OFD Sender: Processing packet 2656 [packets to send 1, broken 0] [12:44:32]ProducePacketName [12:44:32]name=ofd_packets/00002656 [12:44:32]OFD Sender: To server: pG, [12:44:32]CommunicateWithHost lk.salyk.kg:30040 [12:44:32]ConnectInit lk.salyk.kg [12:44:32]written 0, free lines is 4095 [12:44:32]Connected sock=10 [12:44:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0C 01 00 00 FF A4 04 01 48 A2 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 06 CE 03 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0F FE 1C 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0F FE 1C 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 41 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 14 03 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0F FE 1C 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 3D FB 14 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 60 0A 00 00 35 04 06 00 EB 85 9F CF 5A 03 08 43 DF C9 8D 6A 17 E2 [12:44:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 2F 4B 47 00 9F 6F 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 33 34 32 38 32 30 10 04 04 00 60 0A 00 00 F4 03 04 00 9A A6 14 67 B6 04 01 00 00 7B 21 40 01 2D 67 30 CB [12:44:32]CommunicateWithHost err = 0 [12:44:32]CheckOFDResponse [12:44:32]1017 (14) - 77093643461234 [12:44:32]1041 (16) - 0000000002342820 [12:44:32]1040 (4) - 2656 [12:44:32]1012 (4) - 20.10.2024 06:43 [12:44:32]1206 (1) - 0 [12:44:32]OFD Sender: Remove packet 2656 [12:44:32]ProducePacketName [12:44:32]name=ofd_packets/00002656 [12:44:32]NVStorageDeleteData [12:44:32]Write to MH i2c: 01 00 00 EE 66 54 [12:44:32]Write i2c OK [12:44:32]MH_I2C_Read... [12:44:32]Read from MH i2c: 01 [12:44:32]MH_I2C_Read... [12:44:32]Read from MH i2c: 01 07 00 [12:44:32]MH_I2C_Read... [12:44:32]Read from MH i2c: 01 07 00 EE 66 00 00 00 00 00 AD 0C 14 [12:44:32]RasterBufferAndPrint [12:44:32]line [12:44:32]line [12:44:32]line [12:44:32]line [12:44:32]line [12:44:32]written 0, free lines is 3249 [12:44:32]MH_Cut [12:44:32]Write to MH i2c: D1 01 00 F5 66 01 2D [12:44:32]Write i2c OK [12:44:32]MH_I2C_Read... [12:44:32]Read from MH i2c: D1 [12:44:32]MH_I2C_Read... [12:44:32]Read from MH i2c: D1 01 00 [12:44:32]MH_I2C_Read... [12:44:32]Read from MH i2c: D1 01 00 F5 66 00 2C [12:44:32]Write to MH i2c: 01 00 00 F6 66 5C [12:44:32]Write i2c OK [12:44:32]MH_I2C_Read... [12:44:32]OFD Sender: No OFD packet to send [12:44:33]*** Cut start [12:44:33]*** Partial cut [12:44:33]*** CUTSNS_PIN = 1 [12:44:33]*** CUTSNS_PIN = 0 [12:44:33]*** Brake cut motor [12:44:34]Read from MH i2c: 01 [12:44:34]MH_I2C_Read... [12:44:34]*** Stop cut motor [12:44:34]*** Cut end [12:44:34]Read from MH i2c: 01 07 00 [12:44:34]MH_I2C_Read... [12:44:34]Read from MH i2c: 01 07 00 F6 66 00 00 00 00 00 FF 0F 71 [12:44:34]process_action close_receipt done [12:44:34]requested_data is exist [12:44:34]produce_requested_data [12:44:34]requested_item fm.sn is exist - process it [12:44:34]wFMCommunicate request_size=4 [12:44:34]MH_SAM_APDU [12:44:34]CAPDU: 80 11 00 00 [12:44:34]Write to MH i2c: E2 08 00 F7 66 80 11 00 00 00 00 00 00 D7 [12:44:34]Write i2c OK [12:44:34]MH_I2C_Read... [12:44:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:34]Read from MH i2c: E2 [12:44:34]MH_I2C_Read... [12:44:34]Read from MH i2c: E2 17 00 [12:44:34]MH_I2C_Read... [12:44:34]Read from MH i2c: E2 17 00 F7 66 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1F [12:44:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:44:34]wFMCommunicate OK [12:44:34]requested_item fd.num is exist - process it [12:44:34]SAM_PROTO_GetFieldsCounters [12:44:34]wFMCommunicate request_size=4 [12:44:34]MH_SAM_APDU [12:44:34]CAPDU: 80 13 00 00 [12:44:34]Write to MH i2c: E2 08 00 F8 66 80 13 00 00 00 00 00 00 DA [12:44:34]Write i2c OK [12:44:34]MH_I2C_Read... [12:44:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:44:34]Read from MH i2c: E2 [12:44:34]MH_I2C_Read... [12:44:34]Read from MH i2c: E2 62 00 [12:44:34]MH_I2C_Read... [12:44:34]Read from MH i2c: E2 62 00 F8 66 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 60 0A 00 00 0E 04 04 00 18 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 E1 [12:44:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 60 0A 00 00 0E 04 04 00 18 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 [12:44:34]wFMCommunicate OK [12:44:34]SAM_PROTO_GetFieldsCounters done [12:44:34]requested_item shift.num is exist - process it [12:44:34]requested_item shift.opened is exist - process it [12:44:34]req_shift_opened [12:44:34]FM_GetShiftState [12:44:34]SAM_PROTO_GetShiftState [12:44:34]wFMCommunicate request_size=4 [12:44:34]MH_SAM_APDU [12:44:34]CAPDU: 80 13 01 00 [12:44:34]Write to MH i2c: E2 08 00 F9 66 80 13 01 00 00 00 00 00 DC [12:44:34]Write i2c OK [12:44:34]MH_I2C_Read... [12:44:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:34]Read from MH i2c: E2 [12:44:34]MH_I2C_Read... [12:44:34]Read from MH i2c: E2 0E 00 [12:44:34]MH_I2C_Read... [12:44:34]Read from MH i2c: E2 0E 00 F9 66 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C6 [12:44:34]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [12:44:34]wFMCommunicate OK [12:44:34]SAM_PROTO_GetShiftState done [12:44:34]FM_GetShiftState done [12:44:34]req_shift_opened done [12:44:34]requested_item shift.open_date is exist - process it [12:44:34]req_shift_open_date [12:44:34]req_shift_open_date done [12:44:34]produce_requested_data done [12:44:34]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2656,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [12:44:34]process_action_free close_receipt [12:44:34]json_value_free [12:44:34]json_value_free done [12:44:34]process_json_proto returns [12:44:34]Send response to host [12:44:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2656,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [12:44:34]free response buf [12:44:34]execute_script done [12:44:34]execute_script returns [12:44:34]free content buf [12:44:34]Sock 7.Close socket [12:44:34]Sock 7.Thread stoped [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:52]OFD Sender: No OFD packet to send [12:44:57]OFD Sender: No OFD packet to send [12:45:02]OFD Sender: No OFD packet to send [12:45:07]OFD Sender: No OFD packet to send [12:45:12]OFD Sender: No OFD packet to send [12:45:17]OFD Sender: No OFD packet to send [12:45:22]OFD Sender: No OFD packet to send [12:45:27]OFD Sender: No OFD packet to send [12:45:32]OFD Sender: No OFD packet to send [12:45:37]OFD Sender: No OFD packet to send [12:45:42]OFD Sender: No OFD packet to send [12:45:47]OFD Sender: No OFD packet to send [12:45:52]OFD Sender: No OFD packet to send [12:45:57]OFD Sender: No OFD packet to send [12:46:02]OFD Sender: No OFD packet to send [12:46:07]OFD Sender: No OFD packet to send [12:46:12]OFD Sender: No OFD packet to send [12:46:17]OFD Sender: No OFD packet to send [12:46:22]OFD Sender: No OFD packet to send [12:46:27]OFD Sender: No OFD packet to send [12:46:32]OFD Sender: No OFD packet to send [12:46:37]OFD Sender: No OFD packet to send [12:46:42]OFD Sender: No OFD packet to send [12:46:47]OFD Sender: No OFD packet to send [12:46:52]OFD Sender: No OFD packet to send [12:46:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:32]OFD Sender: No OFD packet to send [12:47:37]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:23]OFD Sender: No OFD packet to send [13:06:28]OFD Sender: No OFD packet to send [13:06:33]OFD Sender: No OFD packet to send [13:06:38]OFD Sender: No OFD packet to send [13:06:43]OFD Sender: No OFD packet to send [13:06:48]OFD Sender: No OFD packet to send [13:06:53]OFD Sender: No OFD packet to send [13:06:58]OFD Sender: No OFD packet to send [13:07:03]OFD Sender: No OFD packet to send [13:07:08]OFD Sender: No OFD packet to send [13:07:13]OFD Sender: No OFD packet to send [13:07:18]OFD Sender: No OFD packet to send [13:07:23]OFD Sender: No OFD packet to send [13:07:28]OFD Sender: No OFD packet to send [13:07:33]OFD Sender: No OFD packet to send [13:07:38]OFD Sender: No OFD packet to send [13:07:43]OFD Sender: No OFD packet to send [13:07:48]OFD Sender: No OFD packet to send [13:07:53]OFD Sender: No OFD packet to send [13:07:58]OFD Sender: No OFD packet to send [13:08:03]OFD Sender: No OFD packet to send [13:08:08]OFD Sender: No OFD packet to send [13:08:13]OFD Sender: No OFD packet to send [13:08:18]OFD Sender: No OFD packet to send [13:08:23]OFD Sender: No OFD packet to send [13:08:28]OFD Sender: No OFD packet to send [13:08:33]OFD Sender: No OFD packet to send [13:08:38]OFD Sender: No OFD packet to send [13:08:43]OFD Sender: No OFD packet to send [13:08:48]OFD Sender: No OFD packet to send [13:08:53]OFD Sender: No OFD packet to send [13:08:58]OFD Sender: No OFD packet to send [13:09:03]OFD Sender: No OFD packet to send [13:09:08]OFD Sender: No OFD packet to send [13:09:13]OFD Sender: No OFD packet to send [13:09:18]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:44]OFD Sender: No OFD packet to send [13:09:49]OFD Sender: No OFD packet to send [13:09:54]OFD Sender: No OFD packet to send [13:09:59]OFD Sender: No OFD packet to send [13:10:04]OFD Sender: No OFD packet to send [13:10:09]OFD Sender: No OFD packet to send [13:10:14]OFD Sender: No OFD packet to send [13:10:19]OFD Sender: No OFD packet to send [13:10:24]OFD Sender: No OFD packet to send [13:10:29]OFD Sender: No OFD packet to send [13:10:34]OFD Sender: No OFD packet to send [13:10:39]OFD Sender: No OFD packet to send [13:10:44]OFD Sender: No OFD packet to send [13:10:49]OFD Sender: No OFD packet to send [13:10:54]OFD Sender: No OFD packet to send [13:10:59]OFD Sender: No OFD packet to send [13:11:04]OFD Sender: No OFD packet to send [13:11:09]OFD Sender: No OFD packet to send [13:11:14]OFD Sender: No OFD packet to send [13:11:19]OFD Sender: No OFD packet to send [13:11:24]OFD Sender: No OFD packet to send [13:11:29]OFD Sender: No OFD packet to send [13:11:34]OFD Sender: No OFD packet to send [13:11:39]OFD Sender: No OFD packet to send [13:11:44]OFD Sender: No OFD packet to send [13:11:49]OFD Sender: No OFD packet to send [13:11:54]OFD Sender: No OFD packet to send [13:11:59]OFD Sender: No OFD packet to send [13:12:04]OFD Sender: No OFD packet to send [13:12:09]OFD Sender: No OFD packet to send [13:12:14]OFD Sender: No OFD packet to send [13:12:19]OFD Sender: No OFD packet to send [13:12:24]OFD Sender: No OFD packet to send [13:12:29]OFD Sender: No OFD packet to send [13:12:34]OFD Sender: No OFD packet to send [13:12:39]OFD Sender: No OFD packet to send [13:12:44]OFD Sender: No OFD packet to send [13:12:49]OFD Sender: No OFD packet to send [13:12:54]OFD Sender: No OFD packet to send [13:12:59]OFD Sender: No OFD packet to send [13:13:04]OFD Sender: No OFD packet to send [13:13:09]OFD Sender: No OFD packet to send [13:13:14]OFD Sender: No OFD packet to send [13:13:19]OFD Sender: No OFD packet to send [13:13:24]OFD Sender: No OFD packet to send [13:13:29]OFD Sender: No OFD packet to send [13:13:34]OFD Sender: No OFD packet to send [13:13:39]OFD Sender: No OFD packet to send [13:13:44]OFD Sender: No OFD packet to send [13:13:49]OFD Sender: No OFD packet to send [13:13:54]OFD Sender: No OFD packet to send [13:13:59]OFD Sender: No OFD packet to send [13:14:04]OFD Sender: No OFD packet to send [13:14:09]OFD Sender: No OFD packet to send [13:14:14]OFD Sender: No OFD packet to send [13:14:19]OFD Sender: No OFD packet to send [13:14:24]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:24]OFD Sender: No OFD packet to send [13:15:29]OFD Sender: No OFD packet to send [13:15:34]OFD Sender: No OFD packet to send [13:15:39]OFD Sender: No OFD packet to send [13:15:44]OFD Sender: No OFD packet to send [13:15:49]OFD Sender: No OFD packet to send [13:15:54]OFD Sender: No OFD packet to send [13:15:59]OFD Sender: No OFD packet to send [13:16:04]OFD Sender: No OFD packet to send [13:16:09]OFD Sender: No OFD packet to send [13:16:14]OFD Sender: No OFD packet to send [13:16:19]OFD Sender: No OFD packet to send [13:16:24]OFD Sender: No OFD packet to send [13:16:29]OFD Sender: No OFD packet to send [13:16:34]OFD Sender: No OFD packet to send [13:16:39]OFD Sender: No OFD packet to send [13:16:44]OFD Sender: No OFD packet to send [13:16:49]OFD Sender: No OFD packet to send [13:16:54]OFD Sender: No OFD packet to send [13:16:59]OFD Sender: No OFD packet to send [13:17:04]OFD Sender: No OFD packet to send [13:17:09]OFD Sender: No OFD packet to send [13:17:14]OFD Sender: No OFD packet to send [13:17:19]OFD Sender: No OFD packet to send [13:17:24]OFD Sender: No OFD packet to send [13:17:29]OFD Sender: No OFD packet to send [13:17:34]OFD Sender: No OFD packet to send [13:17:39]OFD Sender: No OFD packet to send [13:17:44]OFD Sender: No OFD packet to send [13:17:49]OFD Sender: No OFD packet to send [13:17:54]OFD Sender: No OFD packet to send [13:17:59]OFD Sender: No OFD packet to send [13:18:04]OFD Sender: No OFD packet to send [13:18:09]OFD Sender: No OFD packet to send [13:18:14]OFD Sender: No OFD packet to send [13:18:19]OFD Sender: No OFD packet to send [13:18:24]OFD Sender: No OFD packet to send [13:18:29]OFD Sender: No OFD packet to send [13:18:34]OFD Sender: No OFD packet to send [13:18:39]OFD Sender: No OFD packet to send [13:18:44]OFD Sender: No OFD packet to send [13:18:49]OFD Sender: No OFD packet to send [13:18:54]OFD Sender: No OFD packet to send [13:18:59]OFD Sender: No OFD packet to send [13:19:04]OFD Sender: No OFD packet to send [13:19:09]OFD Sender: No OFD packet to send [13:19:14]OFD Sender: No OFD packet to send [13:19:19]OFD Sender: No OFD packet to send [13:19:24]OFD Sender: No OFD packet to send [13:19:29]OFD Sender: No OFD packet to send [13:19:34]OFD Sender: No OFD packet to send [13:19:39]OFD Sender: No OFD packet to send [13:19:44]OFD Sender: No OFD packet to send [13:19:49]OFD Sender: No OFD packet to send [13:19:54]OFD Sender: No OFD packet to send [13:19:59]OFD Sender: No OFD packet to send [13:20:04]OFD Sender: No OFD packet to send [13:20:09]OFD Sender: No OFD packet to send [13:20:14]OFD Sender: No OFD packet to send [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:54]OFD Sender: No OFD packet to send [13:20:59]OFD Sender: No OFD packet to send [13:21:04]OFD Sender: No OFD packet to send [13:21:09]OFD Sender: No OFD packet to send [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:29]OFD Sender: No OFD packet to send [13:21:34]OFD Sender: No OFD packet to send [13:21:39]OFD Sender: No OFD packet to send [13:21:44]OFD Sender: No OFD packet to send [13:21:49]OFD Sender: No OFD packet to send [13:21:54]OFD Sender: No OFD packet to send [13:21:59]OFD Sender: No OFD packet to send [13:22:04]OFD Sender: No OFD packet to send [13:22:09]OFD Sender: No OFD packet to send [13:22:14]OFD Sender: No OFD packet to send [13:22:19]OFD Sender: No OFD packet to send [13:22:24]OFD Sender: No OFD packet to send [13:22:29]OFD Sender: No OFD packet to send [13:22:34]OFD Sender: No OFD packet to send [13:22:39]OFD Sender: No OFD packet to send [13:22:44]OFD Sender: No OFD packet to send [13:22:49]OFD Sender: No OFD packet to send [13:22:53]accept exits with 9 [13:22:53]New connection [13:22:53]New thread 3066707300 created [13:22:53]Thread 3066850660 joined [13:22:53]Waiting for new connection... [13:22:53] Sock 9.Parse request [13:22:53]Sock 9.Check first char [13:22:53]Sock 9.First char is OK [13:22:53]request: POST /json_proto HTTP/1.0 [13:22:53]Method: POST [13:22:53]URL: /json_proto [13:22:53]Method is POST - this is cgi request [13:22:53]url: /json_proto [13:22:53]query_string will be loaded in cgi processing [13:22:53]execute_cgi json_proto POST (null) [13:22:53]execute_cgi path=json_proto method=POST [13:22:53]POST find Content-Length [13:22:53]Host: 172.17.52.132:8080 [13:22:53]Content-Length: 948 [13:22:53]Content-Type: application/json [13:22:53] [13:22:53]POST finish read [13:22:53]Found Content-Length = 948 [13:22:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100034", "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": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:53]execute_script... [13:22:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100034", "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": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:53]POST & json_proto [13:22:53]process_json_proto [13:22:53]json parsed OK: [13:22:53]protocol is kg_v1.0 [13:22:53]action value=close_receipt [13:22:53]process_action close_receipt [13:22:53]cmd_close_receipt [13:22:53]MH_GetDate [13:22:53]Write to MH i2c: F0 00 00 FA 66 4F [13:22:53]Write i2c OK [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: F0 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: F0 09 00 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: F0 09 00 FA 66 00 3C 04 15 67 5A BE F6 66 88 [13:22:53]GetLastDocTimeStamp 1729428285 [13:22:53]current date 1729430588 [13:22:53]FM_GetShiftState [13:22:53]SAM_PROTO_GetShiftState [13:22:53]wFMCommunicate request_size=4 [13:22:53]MH_SAM_APDU [13:22:53]CAPDU: 80 13 01 00 [13:22:53]Write to MH i2c: E2 08 00 FB 66 80 13 01 00 00 00 00 00 DE [13:22:53]Write i2c OK [13:22:53]MH_I2C_Read... [13:22:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:53]Read from MH i2c: E2 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 0E 00 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 0E 00 FB 66 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C8 [13:22:53]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [13:22:53]wFMCommunicate OK [13:22:53]SAM_PROTO_GetShiftState done [13:22:53]FM_GetShiftState done [13:22:53]opened in 1729382427 [13:22:53]opened+sec_in_day 1729468827 [13:22:53]quantity*price = 8400 [13:22:53]sum+1 = 8401 [13:22:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 234.00 НСП 1% : 2.07 НДС 12% : 24.85 Наличными: 234.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 38 20.10.2024 13:23 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2657 ФПД: 91028284998983 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T132308&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2657&fm=91028284998983&tin=02508201610067®Number=0000000000207295&sum=23400 0 [13:22:54]StoreToDocumentArchive [13:22:54]shift 24 fd 2657 [13:22:54]save to /storage/0024/doc_00002657 [13:22:54]save last doc name /storage/0024/doc_00002657 to /storage/kkm_last_doc_name [13:22:54]save OK [13:22:54]Clear old archive folders... [13:22:54]ProcessDocumentItem done err = 0, tmpTLVsize=404 [13:22:54]tlvbuf is 01509200 [13:22:54]SAM_PROTO_ClearQueue [13:22:54]wFMCommunicate request_size=4 [13:22:54]MH_SAM_APDU [13:22:54]CAPDU: 80 09 00 00 [13:22:54]Write to MH i2c: E2 08 00 08 67 80 09 00 00 00 00 00 00 E1 [13:22:54]Write i2c OK [13:22:54]MH_I2C_Read... [13:22:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:22:54]Read from MH i2c: E2 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: E2 03 00 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: E2 03 00 08 67 00 90 00 E3 [13:22:54]RAPDU: 90 00 [13:22:54]wFMCommunicate OK [13:22:54]SAM_PROTO_ClearQueue done [13:22:54]KKMCreateOFDPacket [13:22:54]OFDProtocolAddRootSTLVToBuf [13:22:54]FM_MakeSignedData [13:22:54]FM_MakeSignedData [13:22:54]SAM_PROTO_SignData [13:22:54]wFMCommunicate request_size=4 [13:22:54]MH_SAM_APDU [13:22:54]CAPDU: 80 0D 01 02 [13:22:54]Write to MH i2c: E2 08 00 09 67 80 0D 01 02 00 00 00 00 E9 [13:22:54]Write i2c OK [13:22:54]MH_I2C_Read... [13:22:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:22:54]Read from MH i2c: E2 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: E2 03 00 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: E2 03 00 09 67 00 90 00 E4 [13:22:54]RAPDU: 90 00 [13:22:54]wFMCommunicate OK [13:22:54]wFMCommunicate request_size=255 [13:22:54]MH_SAM_APDU [13:22:54]CAPDU: 80 0D 02 02 FA 03 00 94 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 68 5B 00 [13:22:54]Write to MH i2c: E2 02 01 0A 67 80 0D 02 02 FA 00 03 00 94 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 68 5B 00 00 00 35 [13:22:54]Write i2c OK [13:22:54]MH_I2C_Read... [13:22:54]OFD Sender: No OFD packet to send [13:22:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:54]Read from MH i2c: E2 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: E2 03 00 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: E2 03 00 0A 67 00 90 00 E5 [13:22:54]RAPDU: 90 00 [13:22:54]wFMCommunicate OK [13:22:54]wFMCommunicate request_size=163 [13:22:54]MH_SAM_APDU [13:22:54]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 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 3C 04 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 61 0A 00 00 35 04 06 00 52 CA 2C 97 85 47 [13:22:54]Write to MH i2c: E2 A6 00 0B 67 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 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 3C 04 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 61 0A 00 00 35 04 06 00 52 CA 2C 97 85 47 00 00 BA [13:22:54]Write i2c OK [13:22:54]MH_I2C_Read... [13:22:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:55]Read from MH i2c: E2 [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: E2 03 00 [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: E2 03 00 0B 67 00 90 00 E6 [13:22:55]RAPDU: 90 00 [13:22:55]wFMCommunicate OK [13:22:55]wFMCommunicate request_size=4 [13:22:55]MH_SAM_APDU [13:22:55]CAPDU: 80 0D 03 02 [13:22:55]Write to MH i2c: E2 08 00 0C 67 80 0D 03 02 00 00 00 00 EE [13:22:55]Write i2c OK [13:22:55]MH_I2C_Read... [13:22:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:22:55]Read from MH i2c: E2 [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: E2 0B 00 [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: E2 0B 00 0C 67 00 39 D4 F8 3A B0 CF 02 C8 90 00 77 [13:22:55]RAPDU: 39 D4 F8 3A B0 CF 02 C8 90 00 [13:22:55]wFMCommunicate OK [13:22:55]SAM_PROTO_SignData done [13:22:55]FM_MakeSignedData done [13:22:55]CreateOFDProtocolMessage [13:22:55]wFMCommunicate request_size=4 [13:22:55]MH_SAM_APDU [13:22:55]CAPDU: 80 11 00 00 [13:22:55]Write to MH i2c: E2 08 00 0D 67 80 11 00 00 00 00 00 00 EE [13:22:55]Write i2c OK [13:22:55]MH_I2C_Read... [13:22:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:55]Read from MH i2c: E2 [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: E2 17 00 [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: E2 17 00 0D 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 36 [13:22:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:22:55]wFMCommunicate OK [13:22:55]CreateOFDProtocolMessage done [13:22:55]OFDSenderStorePacket 2657 [13:22:55]StoreOFDPacket docnum=2657 [13:22:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A8 01 00 00 B9 C2 A0 01 B9 63 5A 03 01 00 03 00 94 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 3C 04 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 61 0A 00 00 35 04 06 00 52 CA 2C 97 85 47 39 D4 F8 3A B0 CF 02 C8 [13:22:55]CheckFolder [13:22:55]dirname=/storage/ofd_packets [13:22:55]CheckFolder done [13:22:55]ProducePacketName [13:22:55]name=ofd_packets/00002657 [13:22:55]NVStorageSaveData ofd_packets/00002657 [13:22:55]File name is /storage/ofd_packets/00002657 [13:22:55]Write 454 bytes [13:22:55]NVStorageSaveData done [13:22:55]OFDSenderStorePacket done [13:22:55]KKMCreateOFDPacket done [13:22:55]NVStorageSaveData kkm_last_timestamp [13:22:55]File name is /storage/kkm_last_timestamp [13:22:55]Write 4 bytes [13:22:55]NVStorageSaveData done [13:22:55]ExternCall_PrintAddStr [13:22:55]wPrintStart [13:22:55]Write to MH i2c: 01 00 00 0E 67 75 [13:22:55]Write i2c OK [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: 01 [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: 01 07 00 [13:22:55]MH_I2C_Read... [13:22:55]Read from MH i2c: 01 07 00 0E 67 00 00 00 00 00 FF 0F 8A [13:22:55]RasterBufferAndPrint [13:22:55]line Счет N : (3)100034 [13:22:55]line ИНН: 02508201610067 [13:22:55]line Контрольно-Кассовый Чек [13:22:55]line ПРОДАЖА [13:22:55]line Товар: 4870001571030 [13:22:55]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [13:22:55]line 1.000 * 84.00 [13:22:55]line = 84.00 [13:22:55]line НДС 12% НСП 1% [13:22:55]line > о реализуемом товаре [13:22:55]line Товар: 4640030091607 [13:22:55]line Сигареты ESSE Exchange [13:22:55]line 1.000 * 150.00 [13:22:55]line = 150.00 [13:22:55]line НДС 12% НСП 1% [13:22:55]line > о реализуемом товаре [13:22:55]line ИТОГО: 234.00 [13:22:55]line НСП 1% : 2.07 [13:22:55]line НДС 12% : 24.85 [13:22:55]line Наличными: 234.00 [13:22:55]line Безнал.: 0.00 [13:22:55]line Место: АЗС № 162 "Партнер Нефть" [13:22:55]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [13:22:55]line СНО: Общий режим [13:22:55]line Чек 38 20.10.2024 13:23 [13:22:55]line Смена: 24 ФФД: 1.0 [13:22:55]line ЗНМ: 0300000191 [13:22:55]line РНМ: 0000000000207295 [13:22:55]line Версия ККМ: v1.0 [13:22:55]line ФМ: 0000000002342820 [13:22:55]line ФД: 2657 [13:22:55]line ФПД: 91028284998983 [13:22:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T132308&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2657&fm=91028284998983&tin=02508201610067®Number=0000000000207295&sum=23400 [13:22:55]line 0 [13:22:55]OFD Sender: Processing packet 2657 [packets to send 1, broken 0] [13:22:55]ProducePacketName [13:22:55]name=ofd_packets/00002657 [13:22:55]OFD Sender: To server: pG, [13:22:55]CommunicateWithHost lk.salyk.kg:30040 [13:22:55]ConnectInit lk.salyk.kg [13:22:55]written 0, free lines is 4095 [13:22:55]Connected sock=10 [13:22:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A8 01 00 00 B9 C2 A0 01 B9 63 5A 03 01 00 03 00 94 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 3C 04 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 61 0A 00 00 35 04 06 00 52 CA 2C 97 85 47 39 D4 F8 3A B0 CF 02 C8 [13:22:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 48 6E 47 00 5D 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 33 34 32 38 32 30 10 04 04 00 61 0A 00 00 F4 03 04 00 9A AF 14 67 B6 04 01 00 00 62 CC 17 C8 0E E0 A0 CA [13:22:55]CommunicateWithHost err = 0 [13:22:55]CheckOFDResponse [13:22:55]1017 (14) - 77093643461234 [13:22:55]1041 (16) - 0000000002342820 [13:22:55]1040 (4) - 2657 [13:22:55]1012 (4) - 20.10.2024 07:22 [13:22:55]1206 (1) - 0 [13:22:55]OFD Sender: Remove packet 2657 [13:22:55]ProducePacketName [13:22:55]name=ofd_packets/00002657 [13:22:55]NVStorageDeleteData [13:22:56]Write to MH i2c: 01 00 00 3D 67 A4 [13:22:56]Write i2c OK [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: 01 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: 01 07 00 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: 01 07 00 3D 67 00 00 00 00 00 56 0C 0D [13:22:56]RasterBufferAndPrint [13:22:56]line [13:22:56]line [13:22:56]line [13:22:56]line [13:22:56]line [13:22:56]written 0, free lines is 3164 [13:22:56]MH_Cut [13:22:56]Write to MH i2c: D1 01 00 44 67 01 7D [13:22:56]Write i2c OK [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: D1 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: D1 01 00 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: D1 01 00 44 67 00 7C [13:22:56]Write to MH i2c: 01 00 00 45 67 AC [13:22:56]Write i2c OK [13:22:56]MH_I2C_Read... [13:22:56]OFD Sender: No OFD packet to send [13:22:56]*** Cut start [13:22:56]*** Partial cut [13:22:56]*** CUTSNS_PIN = 1 [13:22:57]*** CUTSNS_PIN = 0 [13:22:57]*** Brake cut motor [13:22:57]Read from MH i2c: 01 [13:22:57]MH_I2C_Read... [13:22:57]*** Stop cut motor [13:22:57]*** Cut end [13:22:57]Read from MH i2c: 01 07 00 [13:22:57]MH_I2C_Read... [13:22:57]Read from MH i2c: 01 07 00 45 67 00 00 00 00 00 FF 0F C1 [13:22:57]process_action close_receipt done [13:22:57]requested_data is exist [13:22:57]produce_requested_data [13:22:57]requested_item fm.sn is exist - process it [13:22:57]wFMCommunicate request_size=4 [13:22:57]MH_SAM_APDU [13:22:57]CAPDU: 80 11 00 00 [13:22:57]Write to MH i2c: E2 08 00 46 67 80 11 00 00 00 00 00 00 27 [13:22:57]Write i2c OK [13:22:57]MH_I2C_Read... [13:22:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:57]Read from MH i2c: E2 [13:22:57]MH_I2C_Read... [13:22:57]Read from MH i2c: E2 17 00 [13:22:57]MH_I2C_Read... [13:22:57]Read from MH i2c: E2 17 00 46 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6F [13:22:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:22:57]wFMCommunicate OK [13:22:57]requested_item fd.num is exist - process it [13:22:57]SAM_PROTO_GetFieldsCounters [13:22:57]wFMCommunicate request_size=4 [13:22:57]MH_SAM_APDU [13:22:57]CAPDU: 80 13 00 00 [13:22:57]Write to MH i2c: E2 08 00 47 67 80 13 00 00 00 00 00 00 2A [13:22:57]Write i2c OK [13:22:57]MH_I2C_Read... [13:22:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:22:57]Read from MH i2c: E2 [13:22:57]MH_I2C_Read... [13:22:57]Read from MH i2c: E2 62 00 [13:22:57]MH_I2C_Read... [13:22:57]Read from MH i2c: E2 62 00 47 67 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 61 0A 00 00 0E 04 04 00 18 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 35 [13:22:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 61 0A 00 00 0E 04 04 00 18 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 [13:22:57]wFMCommunicate OK [13:22:57]SAM_PROTO_GetFieldsCounters done [13:22:57]requested_item shift.num is exist - process it [13:22:57]requested_item shift.opened is exist - process it [13:22:57]req_shift_opened [13:22:57]FM_GetShiftState [13:22:57]SAM_PROTO_GetShiftState [13:22:57]wFMCommunicate request_size=4 [13:22:57]MH_SAM_APDU [13:22:57]CAPDU: 80 13 01 00 [13:22:57]Write to MH i2c: E2 08 00 48 67 80 13 01 00 00 00 00 00 2C [13:22:57]Write i2c OK [13:22:57]MH_I2C_Read... [13:22:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:57]Read from MH i2c: E2 [13:22:57]MH_I2C_Read... [13:22:57]Read from MH i2c: E2 0E 00 [13:22:57]MH_I2C_Read... [13:22:57]Read from MH i2c: E2 0E 00 48 67 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 16 [13:22:57]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [13:22:57]wFMCommunicate OK [13:22:57]SAM_PROTO_GetShiftState done [13:22:57]FM_GetShiftState done [13:22:57]req_shift_opened done [13:22:57]requested_item shift.open_date is exist - process it [13:22:57]req_shift_open_date [13:22:57]req_shift_open_date done [13:22:57]produce_requested_data done [13:22:57]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2657,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [13:22:57]process_action_free close_receipt [13:22:57]json_value_free [13:22:57]json_value_free done [13:22:57]process_json_proto returns [13:22:57]Send response to host [13:22:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2657,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [13:22:57]free response buf [13:22:57]execute_script done [13:22:57]execute_script returns [13:22:57]free content buf [13:22:57]Sock 9.Close socket [13:22:57]Sock 9.Thread stoped [13:23:01]OFD Sender: No OFD packet to send [13:23:06]OFD Sender: No OFD packet to send [13:23:11]OFD Sender: No OFD packet to send [13:23:16]OFD Sender: No OFD packet to send [13:23:21]OFD Sender: No OFD packet to send [13:23:26]OFD Sender: No OFD packet to send [13:23:31]OFD Sender: No OFD packet to send [13:23:36]OFD Sender: No OFD packet to send [13:23:41]OFD Sender: No OFD packet to send [13:23:46]OFD Sender: No OFD packet to send [13:23:51]OFD Sender: No OFD packet to send [13:23:56]OFD Sender: No OFD packet to send [13:24:01]OFD Sender: No OFD packet to send [13:24:06]OFD Sender: No OFD packet to send [13:24:11]OFD Sender: No OFD packet to send [13:24:16]OFD Sender: No OFD packet to send [13:24:21]OFD Sender: No OFD packet to send [13:24:26]OFD Sender: No OFD packet to send [13:24:31]OFD Sender: No OFD packet to send [13:24:36]OFD Sender: No OFD packet to send [13:24:41]OFD Sender: No OFD packet to send [13:24:46]OFD Sender: No OFD packet to send [13:24:51]OFD Sender: No OFD packet to send [13:24:56]OFD Sender: No OFD packet to send [13:25:01]OFD Sender: No OFD packet to send [13:25:06]OFD Sender: No OFD packet to send [13:25:11]OFD Sender: No OFD packet to send [13:25:16]OFD Sender: No OFD packet to send [13:25:21]OFD Sender: No OFD packet to send [13:25:26]OFD Sender: No OFD packet to send [13:25:31]OFD Sender: No OFD packet to send [13:25:36]OFD Sender: No OFD packet to send [13:25:41]OFD Sender: No OFD packet to send [13:25:46]OFD Sender: No OFD packet to send [13:25:51]OFD Sender: No OFD packet to send [13:25:56]OFD Sender: No OFD packet to send [13:26:01]OFD Sender: No OFD packet to send [13:26:06]OFD Sender: No OFD packet to send [13:26:11]OFD Sender: No OFD packet to send [13:26:16]OFD Sender: No OFD packet to send [13:26:21]OFD Sender: No OFD packet to send [13:26:26]OFD Sender: No OFD packet to send [13:26:31]OFD Sender: No OFD packet to send [13:26:36]OFD Sender: No OFD packet to send [13:26:41]OFD Sender: No OFD packet to send [13:26:46]OFD Sender: No OFD packet to send [13:26:51]OFD Sender: No OFD packet to send [13:26:56]OFD Sender: No OFD packet to send [13:27:01]OFD Sender: No OFD packet to send [13:27:06]OFD Sender: No OFD packet to send [13:27:11]OFD Sender: No OFD packet to send [13:27:16]OFD Sender: No OFD packet to send [13:27:21]OFD Sender: No OFD packet to send [13:27:26]OFD Sender: No OFD packet to send [13:27:31]OFD Sender: No OFD packet to send [13:27:36]OFD Sender: No OFD packet to send [13:27:41]OFD Sender: No OFD packet to send [13:27:46]OFD Sender: No OFD packet to send [13:27:51]OFD Sender: No OFD packet to send [13:27:56]OFD Sender: No OFD packet to send [13:28:01]OFD Sender: No OFD packet to send [13:28:06]OFD Sender: No OFD packet to send [13:28:11]OFD Sender: No OFD packet to send [13:28:16]OFD Sender: No OFD packet to send [13:28:21]OFD Sender: No OFD packet to send [13:28:26]OFD Sender: No OFD packet to send [13:28:31]OFD Sender: No OFD packet to send [13:28:36]OFD Sender: No OFD packet to send [13:28:41]OFD Sender: No OFD packet to send [13:28:46]OFD Sender: No OFD packet to send [13:28:51]OFD Sender: No OFD packet to send [13:28:56]OFD Sender: No OFD packet to send [13:29:01]OFD Sender: No OFD packet to send [13:29:06]OFD Sender: No OFD packet to send [13:29:11]OFD Sender: No OFD packet to send [13:29:16]OFD Sender: No OFD packet to send [13:29:21]OFD Sender: No OFD packet to send [13:29:26]OFD Sender: No OFD packet to send [13:29:31]OFD Sender: No OFD packet to send [13:29:36]OFD Sender: No OFD packet to send [13:29:41]OFD Sender: No OFD packet to send [13:29:46]OFD Sender: No OFD packet to send [13:29:51]OFD Sender: No OFD packet to send [13:29:56]OFD Sender: No OFD packet to send [13:30:01]OFD Sender: No OFD packet to send [13:30:06]OFD Sender: No OFD packet to send [13:30:11]OFD Sender: No OFD packet to send [13:30:16]OFD Sender: No OFD packet to send [13:30:21]OFD Sender: No OFD packet to send [13:30:26]OFD Sender: No OFD packet to send [13:30:31]OFD Sender: No OFD packet to send [13:30:36]OFD Sender: No OFD packet to send [13:30:41]OFD Sender: No OFD packet to send [13:30:46]OFD Sender: No OFD packet to send [13:30:51]OFD Sender: No OFD packet to send [13:30:56]OFD Sender: No OFD packet to send [13:31:01]OFD Sender: No OFD packet to send [13:31:06]OFD Sender: No OFD packet to send [13:31:11]OFD Sender: No OFD packet to send [13:31:16]OFD Sender: No OFD packet to send [13:31:21]OFD Sender: No OFD packet to send [13:31:26]OFD Sender: No OFD packet to send [13:31:31]OFD Sender: No OFD packet to send [13:31:36]OFD Sender: No OFD packet to send [13:31:41]OFD Sender: No OFD packet to send [13:31:46]OFD Sender: No OFD packet to send [13:31:51]OFD Sender: No OFD packet to send [13:31:56]OFD Sender: No OFD packet to send [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:52]OFD Sender: No OFD packet to send [13:37:57]OFD Sender: No OFD packet to send [13:38:02]OFD Sender: No OFD packet to send [13:38:07]OFD Sender: No OFD packet to send [13:38:12]OFD Sender: No OFD packet to send [13:38:17]OFD Sender: No OFD packet to send [13:38:22]OFD Sender: No OFD packet to send [13:38:27]OFD Sender: No OFD packet to send [13:38:32]OFD Sender: No OFD packet to send [13:38:37]OFD Sender: No OFD packet to send [13:38:42]OFD Sender: No OFD packet to send [13:38:47]OFD Sender: No OFD packet to send [13:38:52]OFD Sender: No OFD packet to send [13:38:57]OFD Sender: No OFD packet to send [13:39:02]OFD Sender: No OFD packet to send [13:39:07]OFD Sender: No OFD packet to send [13:39:12]OFD Sender: No OFD packet to send [13:39:17]OFD Sender: No OFD packet to send [13:39:22]OFD Sender: No OFD packet to send [13:39:27]OFD Sender: No OFD packet to send [13:39:32]OFD Sender: No OFD packet to send [13:39:37]OFD Sender: No OFD packet to send [13:39:42]OFD Sender: No OFD packet to send [13:39:47]OFD Sender: No OFD packet to send [13:39:52]OFD Sender: No OFD packet to send [13:39:57]OFD Sender: No OFD packet to send [13:40:02]OFD Sender: No OFD packet to send [13:40:07]OFD Sender: No OFD packet to send [13:40:12]OFD Sender: No OFD packet to send [13:40:17]OFD Sender: No OFD packet to send [13:40:22]OFD Sender: No OFD packet to send [13:40:27]OFD Sender: No OFD packet to send [13:40:32]OFD Sender: No OFD packet to send [13:40:37]OFD Sender: No OFD packet to send [13:40:42]OFD Sender: No OFD packet to send [13:40:47]OFD Sender: No OFD packet to send [13:40:52]OFD Sender: No OFD packet to send [13:40:57]OFD Sender: No OFD packet to send [13:41:02]OFD Sender: No OFD packet to send [13:41:07]OFD Sender: No OFD packet to send [13:41:12]OFD Sender: No OFD packet to send [13:41:17]OFD Sender: No OFD packet to send [13:41:22]OFD Sender: No OFD packet to send [13:41:27]OFD Sender: No OFD packet to send [13:41:32]OFD Sender: No OFD packet to send [13:41:37]OFD Sender: No OFD packet to send [13:41:42]OFD Sender: No OFD packet to send [13:41:47]OFD Sender: No OFD packet to send [13:41:52]OFD Sender: No OFD packet to send [13:41:57]OFD Sender: No OFD packet to send [13:42:02]OFD Sender: No OFD packet to send [13:42:07]OFD Sender: No OFD packet to send [13:42:12]OFD Sender: No OFD packet to send [13:42:17]OFD Sender: No OFD packet to send [13:42:22]OFD Sender: No OFD packet to send [13:42:27]OFD Sender: No OFD packet to send [13:42:32]OFD Sender: No OFD packet to send [13:42:37]OFD Sender: No OFD packet to send [13:42:42]OFD Sender: No OFD packet to send [13:42:47]OFD Sender: No OFD packet to send [13:42:52]OFD Sender: No OFD packet to send [13:42:57]OFD Sender: No OFD packet to send [13:43:02]OFD Sender: No OFD packet to send [13:43:07]OFD Sender: No OFD packet to send [13:43:12]OFD Sender: No OFD packet to send [13:43:17]OFD Sender: No OFD packet to send [13:43:22]OFD Sender: No OFD packet to send [13:43:27]OFD Sender: No OFD packet to send [13:43:32]OFD Sender: No OFD packet to send [13:43:37]OFD Sender: No OFD packet to send [13:43:42]OFD Sender: No OFD packet to send [13:43:47]OFD Sender: No OFD packet to send [13:43:52]OFD Sender: No OFD packet to send [13:43:57]OFD Sender: No OFD packet to send [13:44:02]OFD Sender: No OFD packet to send [13:44:07]OFD Sender: No OFD packet to send [13:44:12]OFD Sender: No OFD packet to send [13:44:17]OFD Sender: No OFD packet to send [13:44:22]OFD Sender: No OFD packet to send [13:44:27]OFD Sender: No OFD packet to send [13:44:32]OFD Sender: No OFD packet to send [13:44:37]OFD Sender: No OFD packet to send [13:44:42]OFD Sender: No OFD packet to send [13:44:47]OFD Sender: No OFD packet to send [13:44:52]OFD Sender: No OFD packet to send [13:44:57]OFD Sender: No OFD packet to send [13:45:02]OFD Sender: No OFD packet to send [13:45:07]OFD Sender: No OFD packet to send [13:45:12]OFD Sender: No OFD packet to send [13:45:17]OFD Sender: No OFD packet to send [13:45:22]OFD Sender: No OFD packet to send [13:45:27]OFD Sender: No OFD packet to send [13:45:32]OFD Sender: No OFD packet to send [13:45:37]OFD Sender: No OFD packet to send [13:45:42]OFD Sender: No OFD packet to send [13:45:47]OFD Sender: No OFD packet to send [13:45:52]OFD Sender: No OFD packet to send [13:45:57]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:48:07]OFD Sender: No OFD packet to send [13:48:12]OFD Sender: No OFD packet to send [13:48:17]OFD Sender: No OFD packet to send [13:48:22]OFD Sender: No OFD packet to send [13:48:27]OFD Sender: No OFD packet to send [13:48:32]OFD Sender: No OFD packet to send [13:48:37]OFD Sender: No OFD packet to send [13:48:42]OFD Sender: No OFD packet to send [13:48:47]OFD Sender: No OFD packet to send [13:48:52]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:12]OFD Sender: No OFD packet to send [13:49:16]accept exits with 7 [13:49:16]New connection [13:49:16]New thread 3066850660 created [13:49:16]Thread 3066707300 joined [13:49:16]Waiting for new connection... [13:49:16] Sock 7.Parse request [13:49:16]Sock 7.Check first char [13:49:16]Sock 7.First char is OK [13:49:16]request: POST /json_proto HTTP/1.0 [13:49:16]Method: POST [13:49:16]URL: /json_proto [13:49:16]Method is POST - this is cgi request [13:49:16]url: /json_proto [13:49:16]query_string will be loaded in cgi processing [13:49:16]execute_cgi json_proto POST (null) [13:49:16]execute_cgi path=json_proto method=POST [13:49:16]POST find Content-Length [13:49:16]Host: 172.17.52.132:8080 [13:49:16]Content-Length: 1346 [13:49:16]Content-Type: application/json [13:49:16] [13:49:16]POST finish read [13:49:16]Found Content-Length = 1346 [13:49:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100035", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743273", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Marlboro Touch", "price" : 144.00, "quantity" : 1.000, "sum" : 144.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" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 545.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:16]execute_script... [13:49:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100035", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743273", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Marlboro Touch", "price" : 144.00, "quantity" : 1.000, "sum" : 144.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" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 545.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:16]POST & json_proto [13:49:16]process_json_proto [13:49:16]json parsed OK: [13:49:16]protocol is kg_v1.0 [13:49:16]action value=close_receipt [13:49:16]process_action close_receipt [13:49:16]cmd_close_receipt [13:49:16]MH_GetDate [13:49:16]Write to MH i2c: F0 00 00 49 67 9F [13:49:16]Write i2c OK [13:49:16]MH_I2C_Read... [13:49:16]Read from MH i2c: F0 [13:49:16]MH_I2C_Read... [13:49:16]Read from MH i2c: F0 09 00 [13:49:16]MH_I2C_Read... [13:49:16]Read from MH i2c: F0 09 00 49 67 00 6B 0A 15 67 5A BE F6 66 0D [13:49:16]GetLastDocTimeStamp 1729430588 [13:49:16]current date 1729432171 [13:49:16]FM_GetShiftState [13:49:16]SAM_PROTO_GetShiftState [13:49:16]wFMCommunicate request_size=4 [13:49:16]MH_SAM_APDU [13:49:16]CAPDU: 80 13 01 00 [13:49:16]Write to MH i2c: E2 08 00 4A 67 80 13 01 00 00 00 00 00 2E [13:49:16]Write i2c OK [13:49:16]MH_I2C_Read... [13:49:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:16]Read from MH i2c: E2 [13:49:16]MH_I2C_Read... [13:49:16]Read from MH i2c: E2 0E 00 [13:49:16]MH_I2C_Read... [13:49:16]Read from MH i2c: E2 0E 00 4A 67 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 18 [13:49:16]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [13:49:16]wFMCommunicate OK [13:49:16]SAM_PROTO_GetShiftState done [13:49:16]FM_GetShiftState done [13:49:16]opened in 1729382427 [13:49:16]opened+sec_in_day 1729468827 [13:49:16]quantity*price = 4400 [13:49:16]sum+1 = 4401 [13:49:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 69.00 = 69.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743273 Сигареты Marlboro Touch 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 2.000 * 144.00 = 288.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 545.00 НСП 1% : 4.82 НДС 12% : 57.87 Наличными: 545.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 39 20.10.2024 13:49 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2658 ФПД: 80981895022255 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134932&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2658&fm=80981895022255&tin=02508201610067®Number=0000000000207295&sum=54500 0 [13:49:18]StoreToDocumentArchive [13:49:18]shift 24 fd 2658 [13:49:18]save to /storage/0024/doc_00002658 [13:49:18]save last doc name /storage/0024/doc_00002658 to /storage/kkm_last_doc_name [13:49:18]save OK [13:49:18]Clear old archive folders... [13:49:18]ProcessDocumentItem done err = 0, tmpTLVsize=600 [13:49:18]tlvbuf is 015305B0 [13:49:18]SAM_PROTO_ClearQueue [13:49:18]wFMCommunicate request_size=4 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 09 00 00 [13:49:18]Write to MH i2c: E2 08 00 57 67 80 09 00 00 00 00 00 00 30 [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:49:18]Read from MH i2c: E2 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 57 67 00 90 00 32 [13:49:18]RAPDU: 90 00 [13:49:18]wFMCommunicate OK [13:49:18]SAM_PROTO_ClearQueue done [13:49:18]KKMCreateOFDPacket [13:49:18]OFDProtocolAddRootSTLVToBuf [13:49:18]FM_MakeSignedData [13:49:18]FM_MakeSignedData [13:49:18]SAM_PROTO_SignData [13:49:18]wFMCommunicate request_size=4 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 0D 01 02 [13:49:18]Write to MH i2c: E2 08 00 58 67 80 0D 01 02 00 00 00 00 38 [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:49:18]Read from MH i2c: E2 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 58 67 00 90 00 33 [13:49:18]RAPDU: 90 00 [13:49:18]wFMCommunicate OK [13:49:18]wFMCommunicate request_size=255 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 0D 02 02 FA 03 00 58 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 [13:49:18]Write to MH i2c: E2 02 01 59 67 80 0D 02 02 FA 00 03 00 58 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 00 00 B7 [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:18]Read from MH i2c: E2 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 59 67 00 90 00 34 [13:49:18]RAPDU: 90 00 [13:49:18]wFMCommunicate OK [13:49:18]wFMCommunicate request_size=255 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 0D 02 02 FA 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 16 00 00 00 00 07 04 06 00 E4 D4 00 00 00 [13:49:18]Write to MH i2c: E2 02 01 5A 67 80 0D 02 02 FA 00 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 16 00 00 00 00 07 04 06 00 E4 D4 00 00 00 00 00 57 [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:18]Read from MH i2c: E2 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 5A 67 00 90 00 35 [13:49:18]RAPDU: 90 00 [13:49:18]wFMCommunicate OK [13:49:18]wFMCommunicate request_size=109 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 0D 02 02 68 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 6C 0A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 62 0A 00 00 35 04 06 00 49 A7 11 16 06 AF [13:49:18]Write to MH i2c: E2 70 00 5B 67 80 0D 02 02 68 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 6C 0A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 62 0A 00 00 35 04 06 00 49 A7 11 16 06 AF 00 00 93 [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:18]Read from MH i2c: E2 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 5B 67 00 90 00 36 [13:49:18]RAPDU: 90 00 [13:49:18]wFMCommunicate OK [13:49:18]wFMCommunicate request_size=4 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 0D 03 02 [13:49:18]Write to MH i2c: E2 08 00 5C 67 80 0D 03 02 00 00 00 00 3E [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:49:18]Read from MH i2c: E2 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 0B 00 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 0B 00 5C 67 00 9A 72 1C 90 11 A2 7B F9 90 00 1E [13:49:18]RAPDU: 9A 72 1C 90 11 A2 7B F9 90 00 [13:49:18]wFMCommunicate OK [13:49:18]SAM_PROTO_SignData done [13:49:18]FM_MakeSignedData done [13:49:18]CreateOFDProtocolMessage [13:49:18]wFMCommunicate request_size=4 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 11 00 00 [13:49:18]Write to MH i2c: E2 08 00 5D 67 80 11 00 00 00 00 00 00 3E [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:19]Read from MH i2c: E2 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 17 00 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 17 00 5D 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 86 [13:49:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:49:19]wFMCommunicate OK [13:49:19]CreateOFDProtocolMessage done [13:49:19]OFDSenderStorePacket 2658 [13:49:19]StoreOFDPacket docnum=2658 [13:49:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 6C 02 00 00 E9 60 64 02 73 56 5A 03 01 00 03 00 58 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 16 00 00 00 00 07 04 06 00 E4 D4 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 6C 0A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 62 0A 00 00 35 04 06 00 49 A7 11 16 06 AF 9A 72 1C 90 11 A2 7B F9 [13:49:19]CheckFolder [13:49:19]dirname=/storage/ofd_packets [13:49:19]CheckFolder done [13:49:19]ProducePacketName [13:49:19]name=ofd_packets/00002658 [13:49:19]NVStorageSaveData ofd_packets/00002658 [13:49:19]File name is /storage/ofd_packets/00002658 [13:49:19]Write 650 bytes [13:49:19]NVStorageSaveData done [13:49:19]OFDSenderStorePacket done [13:49:19]KKMCreateOFDPacket done [13:49:19]NVStorageSaveData kkm_last_timestamp [13:49:19]File name is /storage/kkm_last_timestamp [13:49:19]Write 4 bytes [13:49:19]NVStorageSaveData done [13:49:19]ExternCall_PrintAddStr [13:49:19]wPrintStart [13:49:19]Write to MH i2c: 01 00 00 5E 67 C5 [13:49:19]Write i2c OK [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: 01 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: 01 07 00 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: 01 07 00 5E 67 00 00 00 00 00 FF 0F DA [13:49:19]RasterBufferAndPrint [13:49:19]line Счет N : (3)100035 [13:49:19]line ИНН: 02508201610067 [13:49:19]line Контрольно-Кассовый Чек [13:49:19]line ПРОДАЖА [13:49:19]line Товар: 4870112003925 [13:49:19]line Конд ULKER-Albeni 40gr (6*24) [13:49:19]line 1.000 * 44.00 [13:49:19]line = 44.00 [13:49:19]line НДС 12% НСП 1% [13:49:19]line > о реализуемом товаре [13:49:19]line Товар: 4600682557456 [13:49:19]line Напиток FLash up energy эн ж/б 0,5/0,45л [13:49:19]line 1.000 * 69.00 [13:49:19]line = 69.00 [13:49:19]line НДС 12% НСП 1% [13:49:19]line > о реализуемом товаре [13:49:19]line Товар: 48743273 [13:49:19]line Сигареты Marlboro Touch [13:49:19]line 1.000 * 144.00 [13:49:19]line = 144.00 [13:49:19]line НДС 12% НСП 1% [13:49:19]line > о реализуемом товаре [13:49:19]line Товар: 48743570 [13:49:19]line Сигареты Winston XStyle Blue [13:49:19]line 2.000 * 144.00 [13:49:19]line = 288.00 [13:49:19]line НДС 12% НСП 1% [13:49:19]line > о реализуемом товаре [13:49:19]line ИТОГО: 545.00 [13:49:19]line НСП 1% : 4.82 [13:49:19]line НДС 12% : 57.87 [13:49:19]line Наличными: 545.00 [13:49:19]line Безнал.: 0.00 [13:49:19]line Место: АЗС № 162 "Партнер Нефть" [13:49:19]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [13:49:19]line СНО: Общий режим [13:49:19]line Чек 39 20.10.2024 13:49 [13:49:19]line Смена: 24 ФФД: 1.0 [13:49:19]line ЗНМ: 0300000191 [13:49:19]line РНМ: 0000000000207295 [13:49:19]line Версия ККМ: v1.0 [13:49:19]line ФМ: 0000000002342820 [13:49:19]line ФД: 2658 [13:49:19]line ФПД: 80981895022255 [13:49:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134932&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2658&fm=80981895022255&tin=02508201610067®Number=0000000000207295&sum=54500 [13:49:19]OFD Sender: Processing packet 2658 [packets to send 1, broken 0] [13:49:19]line 0 [13:49:19]ProducePacketName [13:49:19]name=ofd_packets/00002658 [13:49:19]OFD Sender: To server: pG, [13:49:19]CommunicateWithHost lk.salyk.kg:30040 [13:49:19]ConnectInit lk.salyk.kg [13:49:19]written 0, free lines is 4095 [13:49:19]Connected sock=10 [13:49:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 6C 02 00 00 E9 60 64 02 73 56 5A 03 01 00 03 00 58 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 16 00 00 00 00 07 04 06 00 E4 D4 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 6C 0A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 62 0A 00 00 35 04 06 00 49 A7 11 16 06 AF 9A 72 1C 90 11 A2 7B F9 [13:49:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 18 FB 47 00 A6 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 33 34 32 38 32 30 10 04 04 00 62 0A 00 00 F4 03 04 00 CA B5 14 67 B6 04 01 00 00 EE D6 08 5B FA F8 97 20 [13:49:19]CommunicateWithHost err = 0 [13:49:19]CheckOFDResponse [13:49:19]1017 (14) - 77093643461234 [13:49:19]1041 (16) - 0000000002342820 [13:49:19]1040 (4) - 2658 [13:49:19]1012 (4) - 20.10.2024 07:48 [13:49:19]1206 (1) - 0 [13:49:19]OFD Sender: Remove packet 2658 [13:49:19]ProducePacketName [13:49:19]name=ofd_packets/00002658 [13:49:19]NVStorageDeleteData [13:49:20]Write to MH i2c: 01 00 00 99 67 00 [13:49:20]Write i2c OK [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: 01 [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: 01 07 00 [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: 01 07 00 99 67 00 00 00 00 00 88 0B 9A [13:49:20]RasterBufferAndPrint [13:49:20]line [13:49:20]line [13:49:20]line [13:49:20]line [13:49:20]line [13:49:20]written 0, free lines is 2958 [13:49:20]MH_Cut [13:49:20]Write to MH i2c: D1 01 00 A0 67 01 D9 [13:49:20]Write i2c OK [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: D1 [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: D1 01 00 [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: D1 01 00 A0 67 00 D8 [13:49:20]Write to MH i2c: 01 00 00 A1 67 08 [13:49:20]Write i2c OK [13:49:20]MH_I2C_Read... [13:49:20]OFD Sender: No OFD packet to send [13:49:21]*** Cut start [13:49:21]*** Partial cut [13:49:21]*** CUTSNS_PIN = 1 [13:49:21]*** CUTSNS_PIN = 0 [13:49:21]*** Brake cut motor [13:49:21]Read from MH i2c: 01 [13:49:21]MH_I2C_Read... [13:49:21]*** Stop cut motor [13:49:21]*** Cut end [13:49:21]Read from MH i2c: 01 07 00 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: 01 07 00 A1 67 00 00 00 00 00 FF 0F 1D [13:49:21]process_action close_receipt done [13:49:21]requested_data is exist [13:49:21]produce_requested_data [13:49:21]requested_item fm.sn is exist - process it [13:49:21]wFMCommunicate request_size=4 [13:49:21]MH_SAM_APDU [13:49:21]CAPDU: 80 11 00 00 [13:49:21]Write to MH i2c: E2 08 00 A2 67 80 11 00 00 00 00 00 00 83 [13:49:21]Write i2c OK [13:49:21]MH_I2C_Read... [13:49:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:21]Read from MH i2c: E2 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: E2 17 00 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: E2 17 00 A2 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CB [13:49:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:49:21]wFMCommunicate OK [13:49:21]requested_item fd.num is exist - process it [13:49:21]SAM_PROTO_GetFieldsCounters [13:49:21]wFMCommunicate request_size=4 [13:49:21]MH_SAM_APDU [13:49:21]CAPDU: 80 13 00 00 [13:49:21]Write to MH i2c: E2 08 00 A3 67 80 13 00 00 00 00 00 00 86 [13:49:21]Write i2c OK [13:49:21]MH_I2C_Read... [13:49:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:49:22]Read from MH i2c: E2 [13:49:22]MH_I2C_Read... [13:49:22]Read from MH i2c: E2 62 00 [13:49:22]MH_I2C_Read... [13:49:22]Read from MH i2c: E2 62 00 A3 67 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 62 0A 00 00 0E 04 04 00 18 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 95 [13:49:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 62 0A 00 00 0E 04 04 00 18 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 [13:49:22]wFMCommunicate OK [13:49:22]SAM_PROTO_GetFieldsCounters done [13:49:22]requested_item shift.num is exist - process it [13:49:22]requested_item shift.opened is exist - process it [13:49:22]req_shift_opened [13:49:22]FM_GetShiftState [13:49:22]SAM_PROTO_GetShiftState [13:49:22]wFMCommunicate request_size=4 [13:49:22]MH_SAM_APDU [13:49:22]CAPDU: 80 13 01 00 [13:49:22]Write to MH i2c: E2 08 00 A4 67 80 13 01 00 00 00 00 00 88 [13:49:22]Write i2c OK [13:49:22]MH_I2C_Read... [13:49:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:22]Read from MH i2c: E2 [13:49:22]MH_I2C_Read... [13:49:22]Read from MH i2c: E2 0E 00 [13:49:22]MH_I2C_Read... [13:49:22]Read from MH i2c: E2 0E 00 A4 67 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 72 [13:49:22]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [13:49:22]wFMCommunicate OK [13:49:22]SAM_PROTO_GetShiftState done [13:49:22]FM_GetShiftState done [13:49:22]req_shift_opened done [13:49:22]requested_item shift.open_date is exist - process it [13:49:22]req_shift_open_date [13:49:22]req_shift_open_date done [13:49:22]produce_requested_data done [13:49:22]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2658,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [13:49:22]process_action_free close_receipt [13:49:22]json_value_free [13:49:22]json_value_free done [13:49:22]process_json_proto returns [13:49:22]Send response to host [13:49:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2658,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [13:49:22]free response buf [13:49:22]execute_script done [13:49:22]execute_script returns [13:49:22]free content buf [13:49:22]Sock 7.Close socket [13:49:22]Sock 7.Thread stoped [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:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:50]OFD Sender: No OFD packet to send [13:53:55]OFD Sender: No OFD packet to send [13:54:00]OFD Sender: No OFD packet to send [13:54:05]OFD Sender: No OFD packet to send [13:54:10]OFD Sender: No OFD packet to send [13:54:15]OFD Sender: No OFD packet to send [13:54:20]OFD Sender: No OFD packet to send [13:54:25]OFD Sender: No OFD packet to send [13:54:30]OFD Sender: No OFD packet to send [13:54:35]OFD Sender: No OFD packet to send [13:54:40]OFD Sender: No OFD packet to send [13:54:45]OFD Sender: No OFD packet to send [13:54:50]OFD Sender: No OFD packet to send [13:54:55]OFD Sender: No OFD packet to send [13:55:00]OFD Sender: No OFD packet to send [13:55:05]OFD Sender: No OFD packet to send [13:55:10]OFD Sender: No OFD packet to send [13:55:15]OFD Sender: No OFD packet to send [13:55:20]OFD Sender: No OFD packet to send [13:55:25]OFD Sender: No OFD packet to send [13:55:30]OFD Sender: No OFD packet to send [13:55:35]OFD Sender: No OFD packet to send [13:55:40]OFD Sender: No OFD packet to send [13:55:45]OFD Sender: No OFD packet to send [13:55:50]OFD Sender: No OFD packet to send [13:55:55]OFD Sender: No OFD packet to send [13:56:00]OFD Sender: No OFD packet to send [13:56:05]OFD Sender: No OFD packet to send [13:56:10]OFD Sender: No OFD packet to send [13:56:15]OFD Sender: No OFD packet to send [13:56:20]OFD Sender: No OFD packet to send [13:56:25]OFD Sender: No OFD packet to send [13:56:30]OFD Sender: No OFD packet to send [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]accept exits with 9 [13:57:20]New connection [13:57:20]New thread 3066707300 created [13:57:20]Thread 3066850660 joined [13:57:20]Waiting for new connection... [13:57:20] Sock 9.Parse request [13:57:20]Sock 9.Check first char [13:57:20]Sock 9.First char is OK [13:57:20]request: POST /json_proto HTTP/1.0 [13:57:20]Method: POST [13:57:20]URL: /json_proto [13:57:20]Method is POST - this is cgi request [13:57:20]url: /json_proto [13:57:20]query_string will be loaded in cgi processing [13:57:20]execute_cgi json_proto POST (null) [13:57:20]execute_cgi path=json_proto method=POST [13:57:20]POST find Content-Length [13:57:20]Host: 172.17.52.132:8080 [13:57:20]Content-Length: 798 [13:57:20]Content-Type: application/json [13:57:20] [13:57:20]POST finish read [13:57:20]Found Content-Length = 798 [13:57:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100036", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:57:20]execute_script... [13:57:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100036", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:57:20]POST & json_proto [13:57:20]process_json_proto [13:57:20]json parsed OK: [13:57:20]protocol is kg_v1.0 [13:57:20]action value=close_receipt [13:57:20]process_action close_receipt [13:57:20]cmd_close_receipt [13:57:20]MH_GetDate [13:57:20]Write to MH i2c: F0 00 00 A5 67 FB [13:57:20]Write i2c OK [13:57:20]MH_I2C_Read... [13:57:20]Read from MH i2c: F0 [13:57:20]MH_I2C_Read... [13:57:20]Read from MH i2c: F0 09 00 [13:57:20]MH_I2C_Read... [13:57:20]Read from MH i2c: F0 09 00 A5 67 00 4F 0C 15 67 5A BE F6 66 4F [13:57:20]GetLastDocTimeStamp 1729432172 [13:57:20]current date 1729432655 [13:57:20]FM_GetShiftState [13:57:20]SAM_PROTO_GetShiftState [13:57:20]wFMCommunicate request_size=4 [13:57:20]MH_SAM_APDU [13:57:20]CAPDU: 80 13 01 00 [13:57:20]Write to MH i2c: E2 08 00 A6 67 80 13 01 00 00 00 00 00 8A [13:57:20]Write i2c OK [13:57:20]MH_I2C_Read... [13:57:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:57:20]Read from MH i2c: E2 [13:57:20]MH_I2C_Read... [13:57:20]Read from MH i2c: E2 0E 00 [13:57:20]MH_I2C_Read... [13:57:20]Read from MH i2c: E2 0E 00 A6 67 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 74 [13:57:20]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [13:57:20]wFMCommunicate OK [13:57:20]SAM_PROTO_GetShiftState done [13:57:20]FM_GetShiftState done [13:57:20]opened in 1729382427 [13:57:20]opened+sec_in_day 1729468827 [13:57:20]quantity*price = 14400 [13:57:20]sum+1 = 14401 [13:57:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 40 20.10.2024 13:57 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2659 ФПД: 130220318734606 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T135735&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2659&fm=130220318734606&tin=02508201610067®Number=0000000000207295&sum=14400 0 [13:57:21]StoreToDocumentArchive [13:57:21]shift 24 fd 2659 [13:57:21]save to /storage/0024/doc_00002659 [13:57:21]save last doc name /storage/0024/doc_00002659 to /storage/kkm_last_doc_name [13:57:21]save OK [13:57:21]Clear old archive folders... [13:57:21]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:57:21]tlvbuf is 01509560 [13:57:21]SAM_PROTO_ClearQueue [13:57:21]wFMCommunicate request_size=4 [13:57:21]MH_SAM_APDU [13:57:21]CAPDU: 80 09 00 00 [13:57:21]Write to MH i2c: E2 08 00 B3 67 80 09 00 00 00 00 00 00 8C [13:57:21]Write i2c OK [13:57:21]MH_I2C_Read... [13:57:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:57:21]Read from MH i2c: E2 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 03 00 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 03 00 B3 67 00 90 00 8E [13:57:21]RAPDU: 90 00 [13:57:21]wFMCommunicate OK [13:57:21]SAM_PROTO_ClearQueue done [13:57:21]KKMCreateOFDPacket [13:57:21]OFDProtocolAddRootSTLVToBuf [13:57:21]FM_MakeSignedData [13:57:21]FM_MakeSignedData [13:57:21]SAM_PROTO_SignData [13:57:21]wFMCommunicate request_size=4 [13:57:21]MH_SAM_APDU [13:57:21]CAPDU: 80 0D 01 02 [13:57:21]Write to MH i2c: E2 08 00 B4 67 80 0D 01 02 00 00 00 00 94 [13:57:21]Write i2c OK [13:57:21]MH_I2C_Read... [13:57:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:57:21]Read from MH i2c: E2 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 03 00 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 03 00 B4 67 00 90 00 8F [13:57:21]RAPDU: 90 00 [13:57:21]wFMCommunicate OK [13:57:21]wFMCommunicate request_size=255 [13:57:21]MH_SAM_APDU [13:57:21]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 4F 0C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [13:57:21]Write to MH i2c: E2 02 01 B5 67 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 4F 0C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 15 [13:57:21]Write i2c OK [13:57:21]MH_I2C_Read... [13:57:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:57:21]Read from MH i2c: E2 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 03 00 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 03 00 B5 67 00 90 00 90 [13:57:21]RAPDU: 90 00 [13:57:21]wFMCommunicate OK [13:57:21]wFMCommunicate request_size=32 [13:57:21]MH_SAM_APDU [13:57:21]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 63 0A 00 00 35 04 06 00 76 6F 47 D7 39 0E [13:57:21]Write to MH i2c: E2 23 00 B6 67 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 63 0A 00 00 35 04 06 00 76 6F 47 D7 39 0E 00 00 A0 [13:57:21]Write i2c OK [13:57:21]MH_I2C_Read... [13:57:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:57:21]Read from MH i2c: E2 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 03 00 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 03 00 B6 67 00 90 00 91 [13:57:21]RAPDU: 90 00 [13:57:21]wFMCommunicate OK [13:57:21]wFMCommunicate request_size=4 [13:57:21]MH_SAM_APDU [13:57:21]CAPDU: 80 0D 03 02 [13:57:21]Write to MH i2c: E2 08 00 B7 67 80 0D 03 02 00 00 00 00 99 [13:57:21]Write i2c OK [13:57:21]MH_I2C_Read... [13:57:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:57:21]Read from MH i2c: E2 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 0B 00 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 0B 00 B7 67 00 C7 D4 A0 9A 0F 46 93 13 90 00 6A [13:57:21]RAPDU: C7 D4 A0 9A 0F 46 93 13 90 00 [13:57:21]wFMCommunicate OK [13:57:21]SAM_PROTO_SignData done [13:57:21]FM_MakeSignedData done [13:57:21]CreateOFDProtocolMessage [13:57:21]wFMCommunicate request_size=4 [13:57:21]MH_SAM_APDU [13:57:21]CAPDU: 80 11 00 00 [13:57:21]Write to MH i2c: E2 08 00 B8 67 80 11 00 00 00 00 00 00 99 [13:57:21]Write i2c OK [13:57:21]MH_I2C_Read... [13:57:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:57:21]Read from MH i2c: E2 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 17 00 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: E2 17 00 B8 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E1 [13:57:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:57:21]wFMCommunicate OK [13:57:21]CreateOFDProtocolMessage done [13:57:21]OFDSenderStorePacket 2659 [13:57:21]StoreOFDPacket docnum=2659 [13:57:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 1B 14 1D 01 79 11 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 4F 0C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 63 0A 00 00 35 04 06 00 76 6F 47 D7 39 0E C7 D4 A0 9A 0F 46 93 13 [13:57:21]CheckFolder [13:57:21]dirname=/storage/ofd_packets [13:57:21]CheckFolder done [13:57:21]ProducePacketName [13:57:21]name=ofd_packets/00002659 [13:57:21]NVStorageSaveData ofd_packets/00002659 [13:57:21]File name is /storage/ofd_packets/00002659 [13:57:21]Write 323 bytes [13:57:21]NVStorageSaveData done [13:57:21]OFDSenderStorePacket done [13:57:21]KKMCreateOFDPacket done [13:57:21]NVStorageSaveData kkm_last_timestamp [13:57:21]File name is /storage/kkm_last_timestamp [13:57:21]Write 4 bytes [13:57:21]NVStorageSaveData done [13:57:21]ExternCall_PrintAddStr [13:57:21]wPrintStart [13:57:21]Write to MH i2c: 01 00 00 B9 67 20 [13:57:21]Write i2c OK [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: 01 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: 01 07 00 [13:57:21]MH_I2C_Read... [13:57:21]Read from MH i2c: 01 07 00 B9 67 00 00 00 00 00 FF 0F 35 [13:57:21]RasterBufferAndPrint [13:57:21]line Счет N : (3)100036 [13:57:21]line ИНН: 02508201610067 [13:57:21]line Контрольно-Кассовый Чек [13:57:21]line ПРОДАЖА [13:57:21]line Товар: 48743570 [13:57:21]line Сигареты Winston XStyle Blue [13:57:21]line 1.000 * 144.00 [13:57:21]line = 144.00 [13:57:21]line НДС 12% НСП 1% [13:57:21]line > о реализуемом товаре [13:57:21]line ИТОГО: 144.00 [13:57:21]line НСП 1% : 1.27 [13:57:21]line НДС 12% : 15.29 [13:57:21]line Наличными: 0.00 [13:57:21]line Безнал.: 144.00 [13:57:21]line Место: АЗС № 162 "Партнер Нефть" [13:57:21]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [13:57:21]line СНО: Общий режим [13:57:21]line Чек 40 20.10.2024 13:57 [13:57:21]line Смена: 24 ФФД: 1.0 [13:57:21]line ЗНМ: 0300000191 [13:57:21]line РНМ: 0000000000207295 [13:57:21]line Версия ККМ: v1.0 [13:57:21]line Платежная система: Бакай Банк [13:57:21]line ФМ: 0000000002342820 [13:57:21]line ФД: 2659 [13:57:21]line ФПД: 130220318734606 [13:57:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T135735&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2659&fm=130220318734606&tin=02508201610067®Number=0000000000207295&sum=14400 [13:57:22]line 0 [13:57:22]OFD Sender: Processing packet 2659 [packets to send 1, broken 0] [13:57:22]ProducePacketName [13:57:22]name=ofd_packets/00002659 [13:57:22]OFD Sender: To server: pG, [13:57:22]CommunicateWithHost lk.salyk.kg:30040 [13:57:22]ConnectInit lk.salyk.kg [13:57:22]written 0, free lines is 4095 [13:57:22]Connected sock=10 [13:57:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 1B 14 1D 01 79 11 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 4F 0C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 63 0A 00 00 35 04 06 00 76 6F 47 D7 39 0E C7 D4 A0 9A 0F 46 93 13 [13:57:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 27 8F 47 00 7E 39 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 63 0A 00 00 F4 03 04 00 AC B7 14 67 B6 04 01 00 00 71 D2 78 36 62 B0 A8 7A [13:57:22]CommunicateWithHost err = 0 [13:57:22]CheckOFDResponse [13:57:22]1017 (14) - 77093643461234 [13:57:22]1041 (16) - 0000000002342820 [13:57:22]1040 (4) - 2659 [13:57:22]1012 (4) - 20.10.2024 07:56 [13:57:22]1206 (1) - 0 [13:57:22]OFD Sender: Remove packet 2659 [13:57:22]ProducePacketName [13:57:22]name=ofd_packets/00002659 [13:57:22]NVStorageDeleteData [13:57:22]Write to MH i2c: 01 00 00 E3 67 4A [13:57:22]Write i2c OK [13:57:22]MH_I2C_Read... [13:57:22]Read from MH i2c: 01 [13:57:22]MH_I2C_Read... [13:57:22]Read from MH i2c: 01 07 00 [13:57:22]MH_I2C_Read... [13:57:22]Read from MH i2c: 01 07 00 E3 67 00 00 00 00 00 A0 0C FD [13:57:22]RasterBufferAndPrint [13:57:22]line [13:57:22]line [13:57:22]line [13:57:22]line [13:57:22]line [13:57:22]written 0, free lines is 3239 [13:57:22]MH_Cut [13:57:22]Write to MH i2c: D1 01 00 EA 67 01 23 [13:57:22]Write i2c OK [13:57:22]MH_I2C_Read... [13:57:22]Read from MH i2c: D1 [13:57:22]MH_I2C_Read... [13:57:22]Read from MH i2c: D1 01 00 [13:57:22]MH_I2C_Read... [13:57:22]Read from MH i2c: D1 01 00 EA 67 00 22 [13:57:22]Write to MH i2c: 01 00 00 EB 67 52 [13:57:22]Write i2c OK [13:57:22]MH_I2C_Read... [13:57:22]OFD Sender: No OFD packet to send [13:57:23]*** Cut start [13:57:23]*** Partial cut [13:57:23]*** CUTSNS_PIN = 1 [13:57:23]*** CUTSNS_PIN = 0 [13:57:23]*** Brake cut motor [13:57:24]Read from MH i2c: 01 [13:57:24]MH_I2C_Read... [13:57:24]*** Stop cut motor [13:57:24]*** Cut end [13:57:24]Read from MH i2c: 01 07 00 [13:57:24]MH_I2C_Read... [13:57:24]Read from MH i2c: 01 07 00 EB 67 00 00 00 00 00 FF 0F 67 [13:57:24]process_action close_receipt done [13:57:24]requested_data is exist [13:57:24]produce_requested_data [13:57:24]requested_item fm.sn is exist - process it [13:57:24]wFMCommunicate request_size=4 [13:57:24]MH_SAM_APDU [13:57:24]CAPDU: 80 11 00 00 [13:57:24]Write to MH i2c: E2 08 00 EC 67 80 11 00 00 00 00 00 00 CD [13:57:24]Write i2c OK [13:57:24]MH_I2C_Read... [13:57:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:57:24]Read from MH i2c: E2 [13:57:24]MH_I2C_Read... [13:57:24]Read from MH i2c: E2 17 00 [13:57:24]MH_I2C_Read... [13:57:24]Read from MH i2c: E2 17 00 EC 67 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 15 [13:57:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:57:24]wFMCommunicate OK [13:57:24]requested_item fd.num is exist - process it [13:57:24]SAM_PROTO_GetFieldsCounters [13:57:24]wFMCommunicate request_size=4 [13:57:24]MH_SAM_APDU [13:57:24]CAPDU: 80 13 00 00 [13:57:24]Write to MH i2c: E2 08 00 ED 67 80 13 00 00 00 00 00 00 D0 [13:57:24]Write i2c OK [13:57:24]MH_I2C_Read... [13:57:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:57:24]Read from MH i2c: E2 [13:57:24]MH_I2C_Read... [13:57:24]Read from MH i2c: E2 62 00 [13:57:24]MH_I2C_Read... [13:57:24]Read from MH i2c: E2 62 00 ED 67 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 63 0A 00 00 0E 04 04 00 18 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 E3 [13:57:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 63 0A 00 00 0E 04 04 00 18 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 [13:57:24]wFMCommunicate OK [13:57:24]SAM_PROTO_GetFieldsCounters done [13:57:24]requested_item shift.num is exist - process it [13:57:24]requested_item shift.opened is exist - process it [13:57:24]req_shift_opened [13:57:24]FM_GetShiftState [13:57:24]SAM_PROTO_GetShiftState [13:57:24]wFMCommunicate request_size=4 [13:57:24]MH_SAM_APDU [13:57:24]CAPDU: 80 13 01 00 [13:57:24]Write to MH i2c: E2 08 00 EE 67 80 13 01 00 00 00 00 00 D2 [13:57:24]Write i2c OK [13:57:24]MH_I2C_Read... [13:57:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:57:24]Read from MH i2c: E2 [13:57:24]MH_I2C_Read... [13:57:24]Read from MH i2c: E2 0E 00 [13:57:24]MH_I2C_Read... [13:57:24]Read from MH i2c: E2 0E 00 EE 67 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 BC [13:57:24]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [13:57:24]wFMCommunicate OK [13:57:24]SAM_PROTO_GetShiftState done [13:57:24]FM_GetShiftState done [13:57:24]req_shift_opened done [13:57:24]requested_item shift.open_date is exist - process it [13:57:24]req_shift_open_date [13:57:24]req_shift_open_date done [13:57:24]produce_requested_data done [13:57:24]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2659,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [13:57:24]process_action_free close_receipt [13:57:24]json_value_free [13:57:24]json_value_free done [13:57:24]process_json_proto returns [13:57:24]Send response to host [13:57:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2659,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [13:57:24]free response buf [13:57:24]execute_script done [13:57:24]execute_script returns [13:57:24]free content buf [13:57:24]Sock 9.Close socket [13:57:24]Sock 9.Thread stoped [13:57:27]OFD Sender: No OFD packet to send [13:57:32]OFD Sender: No OFD packet to send [13:57:37]OFD Sender: No OFD packet to send [13:57:42]OFD Sender: No OFD packet to send [13:57:47]OFD Sender: No OFD packet to send [13:57:52]OFD Sender: No OFD packet to send [13:57:57]OFD Sender: No OFD packet to send [13:58:02]OFD Sender: No OFD packet to send [13:58:07]OFD Sender: No OFD packet to send [13:58:12]OFD Sender: No OFD packet to send [13:58:17]OFD Sender: No OFD packet to send [13:58:22]OFD Sender: No OFD packet to send [13:58:27]OFD Sender: No OFD packet to send [13:58:32]OFD Sender: No OFD packet to send [13:58:37]OFD Sender: No OFD packet to send [13:58:42]OFD Sender: No OFD packet to send [13:58:47]OFD Sender: No OFD packet to send [13:58:52]OFD Sender: No OFD packet to send [13:58:57]OFD Sender: No OFD packet to send [13:59:02]OFD Sender: No OFD packet to send [13:59:07]OFD Sender: No OFD packet to send [13:59:12]OFD Sender: No OFD packet to send [13:59:17]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:03]OFD Sender: No OFD packet to send [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:03]OFD Sender: No OFD packet to send [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:27:59]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:44]OFD Sender: No OFD packet to send [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:09]OFD Sender: No OFD packet to send [14:32:14]OFD Sender: No OFD packet to send [14:32:19]OFD Sender: No OFD packet to send [14:32:24]OFD Sender: No OFD packet to send [14:32:29]OFD Sender: No OFD packet to send [14:32:34]OFD Sender: No OFD packet to send [14:32:39]OFD Sender: No OFD packet to send [14:32:44]OFD Sender: No OFD packet to send [14:32:49]OFD Sender: No OFD packet to send [14:32:54]OFD Sender: No OFD packet to send [14:32:59]OFD Sender: No OFD packet to send [14:33:04]OFD Sender: No OFD packet to send [14:33:09]OFD Sender: No OFD packet to send [14:33:14]OFD Sender: No OFD packet to send [14:33:19]OFD Sender: No OFD packet to send [14:33:24]OFD Sender: No OFD packet to send [14:33:29]OFD Sender: No OFD packet to send [14:33:34]OFD Sender: No OFD packet to send [14:33:39]OFD Sender: No OFD packet to send [14:33:44]OFD Sender: No OFD packet to send [14:33:49]OFD Sender: No OFD packet to send [14:33:54]OFD Sender: No OFD packet to send [14:33:59]OFD Sender: No OFD packet to send [14:34:04]OFD Sender: No OFD packet to send [14:34:09]OFD Sender: No OFD packet to send [14:34:14]OFD Sender: No OFD packet to send [14:34:19]OFD Sender: No OFD packet to send [14:34:24]OFD Sender: No OFD packet to send [14:34:29]OFD Sender: No OFD packet to send [14:34:34]OFD Sender: No OFD packet to send [14:34:39]OFD Sender: No OFD packet to send [14:34:44]OFD Sender: No OFD packet to send [14:34:49]OFD Sender: No OFD packet to send [14:34:54]OFD Sender: No OFD packet to send [14:34:59]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:09]OFD Sender: No OFD packet to send [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:04]OFD Sender: No OFD packet to send [14:42:09]OFD Sender: No OFD packet to send [14:42:14]OFD Sender: No OFD packet to send [14:42:19]OFD Sender: No OFD packet to send [14:42:24]OFD Sender: No OFD packet to send [14:42:29]OFD Sender: No OFD packet to send [14:42:34]OFD Sender: No OFD packet to send [14:42:39]OFD Sender: No OFD packet to send [14:42:44]OFD Sender: No OFD packet to send [14:42:49]OFD Sender: No OFD packet to send [14:42:54]OFD Sender: No OFD packet to send [14:42:59]OFD Sender: No OFD packet to send [14:43:04]OFD Sender: No OFD packet to send [14:43:09]OFD Sender: No OFD packet to send [14:43:14]OFD Sender: No OFD packet to send [14:43:19]OFD Sender: No OFD packet to send [14:43:24]OFD Sender: No OFD packet to send [14:43:29]OFD Sender: No OFD packet to send [14:43:34]OFD Sender: No OFD packet to send [14:43:39]OFD Sender: No OFD packet to send [14:43:44]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]OFD Sender: No OFD packet to send [14:45:40]OFD Sender: No OFD packet to send [14:45:45]OFD Sender: No OFD packet to send [14:45:50]OFD Sender: No OFD packet to send [14:45:55]OFD Sender: No OFD packet to send [14:46:00]OFD Sender: No OFD packet to send [14:46:05]OFD Sender: No OFD packet to send [14:46:10]OFD Sender: No OFD packet to send [14:46:15]OFD Sender: No OFD packet to send [14:46:20]OFD Sender: No OFD packet to send [14:46:25]OFD Sender: No OFD packet to send [14:46:30]OFD Sender: No OFD packet to send [14:46:35]OFD Sender: No OFD packet to send [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:47:00]OFD Sender: No OFD packet to send [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:33]accept exits with 7 [14:47:33]New connection [14:47:33]New thread 3066850660 created [14:47:33]Thread 3066707300 joined [14:47:33]Waiting for new connection... [14:47:33] Sock 7.Parse request [14:47:33]Sock 7.Check first char [14:47:33]Sock 7.First char is OK [14:47:33]request: POST /json_proto HTTP/1.0 [14:47:33]Method: POST [14:47:33]URL: /json_proto [14:47:33]Method is POST - this is cgi request [14:47:33]url: /json_proto [14:47:33]query_string will be loaded in cgi processing [14:47:33]execute_cgi json_proto POST (null) [14:47:33]execute_cgi path=json_proto method=POST [14:47:33]POST find Content-Length [14:47:33]Host: 172.17.52.132:8080 [14:47:33]Content-Length: 1082 [14:47:33]Content-Type: application/json [14:47:33] [14:47:33]POST finish read [14:47:33]Found Content-Length = 1082 [14:47:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100037", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 2.000, "sum" : 198.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" ] } } [14:47:33]execute_script... [14:47:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100037", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 2.000, "sum" : 198.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" ] } } [14:47:33]POST & json_proto [14:47:33]process_json_proto [14:47:33]json parsed OK: [14:47:33]protocol is kg_v1.0 [14:47:33]action value=close_receipt [14:47:33]process_action close_receipt [14:47:33]cmd_close_receipt [14:47:33]MH_GetDate [14:47:33]Write to MH i2c: F0 00 00 EF 67 45 [14:47:33]Write i2c OK [14:47:33]MH_I2C_Read... [14:47:33]Read from MH i2c: F0 [14:47:33]MH_I2C_Read... [14:47:33]Read from MH i2c: F0 09 00 [14:47:33]MH_I2C_Read... [14:47:33]Read from MH i2c: F0 09 00 EF 67 00 14 18 15 67 5A BE F6 66 6A [14:47:33]GetLastDocTimeStamp 1729432655 [14:47:33]current date 1729435668 [14:47:33]FM_GetShiftState [14:47:33]SAM_PROTO_GetShiftState [14:47:33]wFMCommunicate request_size=4 [14:47:33]MH_SAM_APDU [14:47:33]CAPDU: 80 13 01 00 [14:47:33]Write to MH i2c: E2 08 00 F0 67 80 13 01 00 00 00 00 00 D4 [14:47:33]Write i2c OK [14:47:33]MH_I2C_Read... [14:47:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:47:33]Read from MH i2c: E2 [14:47:33]MH_I2C_Read... [14:47:33]Read from MH i2c: E2 0E 00 [14:47:33]MH_I2C_Read... [14:47:33]Read from MH i2c: E2 0E 00 F0 67 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 BE [14:47:33]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [14:47:33]wFMCommunicate OK [14:47:33]SAM_PROTO_GetShiftState done [14:47:33]FM_GetShiftState done [14:47:33]opened in 1729382427 [14:47:33]opened+sec_in_day 1729468827 [14:47:33]quantity*price = 11900 [14:47:33]sum+1 = 11901 [14:47:33]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570057 Напиток Pepsi 0,5л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4650243871781 Gorilla эн нап Orange 0,45 ж/б 2.000 * 99.00 = 198.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 397.00 НСП 1% : 3.51 НДС 12% : 42.17 Наличными: 397.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 41 20.10.2024 14:47 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2660 ФПД: 81557069257609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T144748&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2660&fm=81557069257609&tin=02508201610067®Number=0000000000207295&sum=39700 0 [14:47:34]StoreToDocumentArchive [14:47:34]shift 24 fd 2660 [14:47:34]save to /storage/0024/doc_00002660 [14:47:34]save last doc name /storage/0024/doc_00002660 to /storage/kkm_last_doc_name [14:47:34]save OK [14:47:34]Clear old archive folders... [14:47:34]ProcessDocumentItem done err = 0, tmpTLVsize=473 [14:47:34]tlvbuf is 013CE780 [14:47:34]SAM_PROTO_ClearQueue [14:47:34]wFMCommunicate request_size=4 [14:47:34]MH_SAM_APDU [14:47:34]CAPDU: 80 09 00 00 [14:47:34]Write to MH i2c: E2 08 00 FD 67 80 09 00 00 00 00 00 00 D6 [14:47:34]Write i2c OK [14:47:34]MH_I2C_Read... [14:47:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:47:34]Read from MH i2c: E2 [14:47:34]MH_I2C_Read... [14:47:34]Read from MH i2c: E2 03 00 [14:47:34]MH_I2C_Read... [14:47:34]Read from MH i2c: E2 03 00 FD 67 00 90 00 D8 [14:47:34]RAPDU: 90 00 [14:47:34]wFMCommunicate OK [14:47:34]SAM_PROTO_ClearQueue done [14:47:34]KKMCreateOFDPacket [14:47:34]OFDProtocolAddRootSTLVToBuf [14:47:34]FM_MakeSignedData [14:47:34]FM_MakeSignedData [14:47:34]SAM_PROTO_SignData [14:47:34]wFMCommunicate request_size=4 [14:47:34]MH_SAM_APDU [14:47:34]CAPDU: 80 0D 01 02 [14:47:34]Write to MH i2c: E2 08 00 FE 67 80 0D 01 02 00 00 00 00 DE [14:47:34]Write i2c OK [14:47:34]MH_I2C_Read... [14:47:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:47:34]Read from MH i2c: E2 [14:47:34]MH_I2C_Read... [14:47:34]Read from MH i2c: E2 03 00 [14:47:34]MH_I2C_Read... [14:47:34]Read from MH i2c: E2 03 00 FE 67 00 90 00 D9 [14:47:34]RAPDU: 90 00 [14:47:34]wFMCommunicate OK [14:47:34]wFMCommunicate request_size=255 [14:47:34]MH_SAM_APDU [14:47:34]CAPDU: 80 0D 02 02 FA 03 00 D9 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 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 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 [14:47:34]Write to MH i2c: E2 02 01 FF 67 80 0D 02 02 FA 00 03 00 D9 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 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 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 00 00 60 [14:47:34]Write i2c OK [14:47:34]MH_I2C_Read... [14:47:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:47:35]Read from MH i2c: E2 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: E2 03 00 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: E2 03 00 FF 67 00 90 00 DA [14:47:35]RAPDU: 90 00 [14:47:35]wFMCommunicate OK [14:47:35]wFMCommunicate request_size=232 [14:47:35]MH_SAM_APDU [14:47:35]CAPDU: 80 0D 02 02 E3 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 58 4D 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 79 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 29 00 00 00 F4 03 04 00 14 18 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 64 0A 00 00 35 04 06 00 4A 2C FC 24 5B 89 [14:47:35]Write to MH i2c: E2 EB 00 00 68 80 0D 02 02 E3 00 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 58 4D 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 79 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 29 00 00 00 F4 03 04 00 14 18 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 64 0A 00 00 35 04 06 00 4A 2C FC 24 5B 89 00 00 3A [14:47:35]Write i2c OK [14:47:35]MH_I2C_Read... [14:47:35]OFD Sender: No OFD packet to send [14:47:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:47:35]Read from MH i2c: E2 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: E2 03 00 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: E2 03 00 00 68 00 90 00 DC [14:47:35]RAPDU: 90 00 [14:47:35]wFMCommunicate OK [14:47:35]wFMCommunicate request_size=4 [14:47:35]MH_SAM_APDU [14:47:35]CAPDU: 80 0D 03 02 [14:47:35]Write to MH i2c: E2 08 00 01 68 80 0D 03 02 00 00 00 00 E4 [14:47:35]Write i2c OK [14:47:35]MH_I2C_Read... [14:47:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:47:35]Read from MH i2c: E2 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: E2 0B 00 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: E2 0B 00 01 68 00 51 07 48 F4 55 72 18 AD 90 00 05 [14:47:35]RAPDU: 51 07 48 F4 55 72 18 AD 90 00 [14:47:35]wFMCommunicate OK [14:47:35]SAM_PROTO_SignData done [14:47:35]FM_MakeSignedData done [14:47:35]CreateOFDProtocolMessage [14:47:35]wFMCommunicate request_size=4 [14:47:35]MH_SAM_APDU [14:47:35]CAPDU: 80 11 00 00 [14:47:35]Write to MH i2c: E2 08 00 02 68 80 11 00 00 00 00 00 00 E4 [14:47:35]Write i2c OK [14:47:35]MH_I2C_Read... [14:47:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:47:35]Read from MH i2c: E2 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: E2 17 00 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: E2 17 00 02 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2C [14:47:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:47:35]wFMCommunicate OK [14:47:35]CreateOFDProtocolMessage done [14:47:35]OFDSenderStorePacket 2660 [14:47:35]StoreOFDPacket docnum=2660 [14:47:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 ED 01 00 00 93 B3 E5 01 63 01 5A 03 01 00 03 00 D9 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 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 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 58 4D 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 79 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 29 00 00 00 F4 03 04 00 14 18 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 64 0A 00 00 35 04 06 00 4A 2C FC 24 5B 89 51 07 48 F4 55 72 18 AD [14:47:35]CheckFolder [14:47:35]dirname=/storage/ofd_packets [14:47:35]CheckFolder done [14:47:35]ProducePacketName [14:47:35]name=ofd_packets/00002660 [14:47:35]NVStorageSaveData ofd_packets/00002660 [14:47:35]File name is /storage/ofd_packets/00002660 [14:47:35]Write 523 bytes [14:47:35]NVStorageSaveData done [14:47:35]OFDSenderStorePacket done [14:47:35]KKMCreateOFDPacket done [14:47:35]NVStorageSaveData kkm_last_timestamp [14:47:35]File name is /storage/kkm_last_timestamp [14:47:35]OFD Sender: Processing packet 2660 [packets to send 1, broken 0] [14:47:35]ProducePacketName [14:47:35]name=ofd_packets/00002660 [14:47:35]OFD Sender: To server: pG, [14:47:35]CommunicateWithHost lk.salyk.kg:30040 [14:47:35]ConnectInit lk.salyk.kg [14:47:35]Write 4 bytes [14:47:35]NVStorageSaveData done [14:47:35]ExternCall_PrintAddStr [14:47:35]wPrintStart [14:47:35]Write to MH i2c: 01 00 00 03 68 6B [14:47:35]Write i2c OK [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: 01 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: 01 07 00 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: 01 07 00 03 68 00 00 00 00 00 FF 0F 80 [14:47:35]RasterBufferAndPrint [14:47:35]line Счет N : (3)100037 [14:47:35]line ИНН: 02508201610067 [14:47:35]line Контрольно-Кассовый Чек [14:47:35]line ПРОДАЖА [14:47:35]line Товар: 4870001570071 [14:47:35]line Напиток Pepsi 1л [14:47:35]line 1.000 * 119.00 [14:47:35]line = 119.00 [14:47:35]line НДС 12% НСП 1% [14:47:35]line > о реализуемом товаре [14:47:35]line Товар: 4870001570057 [14:47:35]line Напиток Pepsi 0,5л [14:47:35]line 1.000 * 80.00 [14:47:35]line = 80.00 [14:47:35]line НДС 12% НСП 1% [14:47:35]line > о реализуемом товаре [14:47:35]line Товар: 4650243871781 [14:47:35]line Gorilla эн нап Orange 0,45 ж/б [14:47:35]line 2.000 * 99.00 [14:47:35]line = 198.00 [14:47:35]line НДС 12% НСП 1% [14:47:35]line > о реализуемом товаре [14:47:35]line ИТОГО: 397.00 [14:47:35]line НСП 1% : 3.51 [14:47:35]line НДС 12% : 42.17 [14:47:35]line Наличными: 397.00 [14:47:35]line Безнал.: 0.00 [14:47:35]line Место: АЗС № 162 "Партнер Нефть" [14:47:35]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [14:47:35]line СНО: Общий режим [14:47:35]line Чек 41 20.10.2024 14:47 [14:47:35]line Смена: 24 ФФД: 1.0 [14:47:35]line ЗНМ: 0300000191 [14:47:35]line РНМ: 0000000000207295 [14:47:35]line Версия ККМ: v1.0 [14:47:35]line ФМ: 0000000002342820 [14:47:35]line ФД: 2660 [14:47:35]line ФПД: 81557069257609 [14:47:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T144748&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2660&fm=81557069257609&tin=02508201610067®Number=0000000000207295&sum=39700 [14:47:35]line 0 [14:47:35]written 0, free lines is 4095 [14:47:35]Connected sock=11 [14:47:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 ED 01 00 00 93 B3 E5 01 63 01 5A 03 01 00 03 00 D9 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 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 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 58 4D 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 79 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 29 00 00 00 F4 03 04 00 14 18 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 64 0A 00 00 35 04 06 00 4A 2C FC 24 5B 89 51 07 48 F4 55 72 18 AD [14:47:35]Write to MH i2c: 01 00 00 37 68 9F [14:47:35]Write i2c OK [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: 01 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: 01 07 00 [14:47:35]MH_I2C_Read... [14:47:35]Read from MH i2c: 01 07 00 37 68 00 00 00 00 00 0E 0C C0 [14:47:35]RasterBufferAndPrint [14:47:35]line [14:47:35]line [14:47:35]line [14:47:35]line [14:47:35]line [14:47:35]written 0, free lines is 3092 [14:47:35]MH_Cut [14:47:35]Write to MH i2c: D1 01 00 3E 68 01 78 [14:47:36]Write i2c OK [14:47:36]MH_I2C_Read... [14:47:36]Read from MH i2c: D1 [14:47:36]MH_I2C_Read... [14:47:36]Read from MH i2c: D1 01 00 [14:47:36]MH_I2C_Read... [14:47:36]Read from MH i2c: D1 01 00 3E 68 00 77 [14:47:36]Write to MH i2c: 01 00 00 3F 68 A7 [14:47:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D4 91 47 00 44 AB 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 33 34 32 38 32 30 10 04 04 00 64 0A 00 00 F4 03 04 00 72 C3 14 67 B6 04 01 00 00 49 E5 68 10 87 05 25 45 [14:47:36]CommunicateWithHost err = 0 [14:47:36]CheckOFDResponse [14:47:36]1017 (14) - 77093643461234 [14:47:36]1041 (16) - 0000000002342820 [14:47:36]1040 (4) - 2660 [14:47:36]1012 (4) - 20.10.2024 08:46 [14:47:36]1206 (1) - 0 [14:47:36]OFD Sender: Remove packet 2660 [14:47:36]ProducePacketName [14:47:36]name=ofd_packets/00002660 [14:47:36]NVStorageDeleteData [14:47:36]Write i2c OK [14:47:36]MH_I2C_Read... [14:47:36]OFD Sender: No OFD packet to send [14:47:37]*** Cut start [14:47:37]*** Partial cut [14:47:37]*** CUTSNS_PIN = 1 [14:47:37]*** CUTSNS_PIN = 0 [14:47:37]*** Brake cut motor [14:47:37]Read from MH i2c: 01 [14:47:37]MH_I2C_Read... [14:47:37]*** Stop cut motor [14:47:37]*** Cut end [14:47:37]Read from MH i2c: 01 07 00 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: 01 07 00 3F 68 00 00 00 00 00 FF 0F BC [14:47:37]process_action close_receipt done [14:47:37]requested_data is exist [14:47:37]produce_requested_data [14:47:37]requested_item fm.sn is exist - process it [14:47:37]wFMCommunicate request_size=4 [14:47:37]MH_SAM_APDU [14:47:37]CAPDU: 80 11 00 00 [14:47:37]Write to MH i2c: E2 08 00 40 68 80 11 00 00 00 00 00 00 22 [14:47:37]Write i2c OK [14:47:37]MH_I2C_Read... [14:47:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:47:37]Read from MH i2c: E2 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: E2 17 00 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: E2 17 00 40 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6A [14:47:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:47:37]wFMCommunicate OK [14:47:37]requested_item fd.num is exist - process it [14:47:37]SAM_PROTO_GetFieldsCounters [14:47:37]wFMCommunicate request_size=4 [14:47:37]MH_SAM_APDU [14:47:37]CAPDU: 80 13 00 00 [14:47:37]Write to MH i2c: E2 08 00 41 68 80 13 00 00 00 00 00 00 25 [14:47:37]Write i2c OK [14:47:37]MH_I2C_Read... [14:47:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:47:37]Read from MH i2c: E2 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: E2 62 00 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: E2 62 00 41 68 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 64 0A 00 00 0E 04 04 00 18 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 3C [14:47:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 64 0A 00 00 0E 04 04 00 18 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 [14:47:37]wFMCommunicate OK [14:47:37]SAM_PROTO_GetFieldsCounters done [14:47:37]requested_item shift.num is exist - process it [14:47:37]requested_item shift.opened is exist - process it [14:47:37]req_shift_opened [14:47:37]FM_GetShiftState [14:47:37]SAM_PROTO_GetShiftState [14:47:37]wFMCommunicate request_size=4 [14:47:37]MH_SAM_APDU [14:47:37]CAPDU: 80 13 01 00 [14:47:37]Write to MH i2c: E2 08 00 42 68 80 13 01 00 00 00 00 00 27 [14:47:37]Write i2c OK [14:47:37]MH_I2C_Read... [14:47:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:47:37]Read from MH i2c: E2 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: E2 0E 00 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: E2 0E 00 42 68 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 11 [14:47:37]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [14:47:37]wFMCommunicate OK [14:47:37]SAM_PROTO_GetShiftState done [14:47:37]FM_GetShiftState done [14:47:37]req_shift_opened done [14:47:37]requested_item shift.open_date is exist - process it [14:47:37]req_shift_open_date [14:47:37]req_shift_open_date done [14:47:37]produce_requested_data done [14:47:37]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2660,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [14:47:37]process_action_free close_receipt [14:47:37]json_value_free [14:47:37]json_value_free done [14:47:37]process_json_proto returns [14:47:37]Send response to host [14:47:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2660,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [14:47:37]free response buf [14:47:37]execute_script done [14:47:37]execute_script returns [14:47:37]free content buf [14:47:37]Sock 7.Close socket [14:47:37]Sock 7.Thread stoped [14:47:41]OFD Sender: No OFD packet to send [14:47:46]OFD Sender: No OFD packet to send [14:47:51]OFD Sender: No OFD packet to send [14:47:56]OFD Sender: No OFD packet to send [14:48:01]OFD Sender: No OFD packet to send [14:48:06]OFD Sender: No OFD packet to send [14:48:11]OFD Sender: No OFD packet to send [14:48:16]OFD Sender: No OFD packet to send [14:48:21]OFD Sender: No OFD packet to send [14:48:26]OFD Sender: No OFD packet to send [14:48:31]OFD Sender: No OFD packet to send [14:48:36]OFD Sender: No OFD packet to send [14:48:41]OFD Sender: No OFD packet to send [14:48:46]OFD Sender: No OFD packet to send [14:48:51]OFD Sender: No OFD packet to send [14:48:56]OFD Sender: No OFD packet to send [14:49:01]OFD Sender: No OFD packet to send [14:49:06]OFD Sender: No OFD packet to send [14:49:11]OFD Sender: No OFD packet to send [14:49:16]OFD Sender: No OFD packet to send [14:49:21]OFD Sender: No OFD packet to send [14:49:26]OFD Sender: No OFD packet to send [14:49:31]OFD Sender: No OFD packet to send [14:49:36]OFD Sender: No OFD packet to send [14:49:41]OFD Sender: No OFD packet to send [14:49:46]OFD Sender: No OFD packet to send [14:49:51]OFD Sender: No OFD packet to send [14:49:56]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:21]OFD Sender: No OFD packet to send [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:51]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [14:53:46]OFD Sender: No OFD packet to send [14:53:51]OFD Sender: No OFD packet to send [14:53:56]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:34]accept exits with 10 [14:56:34]New connection [14:56:34]New thread 3066707300 created [14:56:34]Thread 3066850660 joined [14:56:34]Waiting for new connection... [14:56:34] Sock 10.Parse request [14:56:34]Sock 10.Check first char [14:56:34]Sock 10.First char is OK [14:56:34]request: POST /json_proto HTTP/1.0 [14:56:34]Method: POST [14:56:34]URL: /json_proto [14:56:34]Method is POST - this is cgi request [14:56:34]url: /json_proto [14:56:34]query_string will be loaded in cgi processing [14:56:34]execute_cgi json_proto POST (null) [14:56:34]execute_cgi path=json_proto method=POST [14:56:34]POST find Content-Length [14:56:34]Host: 172.17.52.132:8080 [14:56:34]Content-Length: 614 [14:56:34]Content-Type: application/json [14:56:34] [14:56:34]POST finish read [14:56:34]Found Content-Length = 614 [14:56:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100038", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:34]execute_script... [14:56:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100038", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:34]POST & json_proto [14:56:34]process_json_proto [14:56:34]json parsed OK: [14:56:34]protocol is kg_v1.0 [14:56:34]action value=close_receipt [14:56:34]process_action close_receipt [14:56:34]cmd_close_receipt [14:56:34]MH_GetDate [14:56:34]Write to MH i2c: F0 00 00 43 68 9A [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: F0 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: F0 09 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: F0 09 00 43 68 00 32 1A 15 67 5A BE F6 66 DF [14:56:34]GetLastDocTimeStamp 1729435668 [14:56:34]current date 1729436210 [14:56:34]FM_GetShiftState [14:56:34]SAM_PROTO_GetShiftState [14:56:34]wFMCommunicate request_size=4 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 13 01 00 [14:56:34]Write to MH i2c: E2 08 00 44 68 80 13 01 00 00 00 00 00 29 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 0E 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 0E 00 44 68 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 13 [14:56:34]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [14:56:34]wFMCommunicate OK [14:56:34]SAM_PROTO_GetShiftState done [14:56:34]FM_GetShiftState done [14:56:34]opened in 1729382427 [14:56:34]opened+sec_in_day 1729468827 [14:56:34]quantity*price = 11900 [14:56:34]sum+1 = 11901 [14:56:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 42 20.10.2024 14:56 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2661 ФПД: 109482307132559 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T145650&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2661&fm=109482307132559&tin=02508201610067®Number=0000000000207295&sum=11900 0 [14:56:35]StoreToDocumentArchive [14:56:35]shift 24 fd 2661 [14:56:35]save to /storage/0024/doc_00002661 [14:56:35]save last doc name /storage/0024/doc_00002661 to /storage/kkm_last_doc_name [14:56:35]save OK [14:56:35]Clear old archive folders... [14:56:35]ProcessDocumentItem done err = 0, tmpTLVsize=266 [14:56:35]tlvbuf is 013CE3C0 [14:56:35]SAM_PROTO_ClearQueue [14:56:35]wFMCommunicate request_size=4 [14:56:35]MH_SAM_APDU [14:56:35]CAPDU: 80 09 00 00 [14:56:35]Write to MH i2c: E2 08 00 51 68 80 09 00 00 00 00 00 00 2B [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:35]Read from MH i2c: E2 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: E2 03 00 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: E2 03 00 51 68 00 90 00 2D [14:56:35]RAPDU: 90 00 [14:56:35]wFMCommunicate OK [14:56:35]SAM_PROTO_ClearQueue done [14:56:35]KKMCreateOFDPacket [14:56:35]OFDProtocolAddRootSTLVToBuf [14:56:35]FM_MakeSignedData [14:56:35]FM_MakeSignedData [14:56:35]SAM_PROTO_SignData [14:56:35]wFMCommunicate request_size=4 [14:56:35]MH_SAM_APDU [14:56:35]CAPDU: 80 0D 01 02 [14:56:35]Write to MH i2c: E2 08 00 52 68 80 0D 01 02 00 00 00 00 33 [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:35]Read from MH i2c: E2 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: E2 03 00 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: E2 03 00 52 68 00 90 00 2E [14:56:35]RAPDU: 90 00 [14:56:35]wFMCommunicate OK [14:56:35]wFMCommunicate request_size=255 [14:56:35]MH_SAM_APDU [14:56:35]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 32 1A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 [14:56:35]Write to MH i2c: E2 02 01 53 68 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 32 1A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 00 00 37 [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 53 68 00 90 00 2F [14:56:36]RAPDU: 90 00 [14:56:36]wFMCommunicate OK [14:56:36]wFMCommunicate request_size=25 [14:56:36]MH_SAM_APDU [14:56:36]CAPDU: 80 0D 02 02 14 32 30 10 04 04 00 65 0A 00 00 35 04 06 00 63 92 D6 06 9C 8F [14:56:36]Write to MH i2c: E2 1C 00 54 68 80 0D 02 02 14 00 32 30 10 04 04 00 65 0A 00 00 35 04 06 00 63 92 D6 06 9C 8F 00 00 82 [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 54 68 00 90 00 30 [14:56:36]RAPDU: 90 00 [14:56:36]wFMCommunicate OK [14:56:36]wFMCommunicate request_size=4 [14:56:36]MH_SAM_APDU [14:56:36]CAPDU: 80 0D 03 02 [14:56:36]Write to MH i2c: E2 08 00 55 68 80 0D 03 02 00 00 00 00 38 [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 0B 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 0B 00 55 68 00 C5 AC 48 66 38 42 41 5A 90 00 6D [14:56:36]RAPDU: C5 AC 48 66 38 42 41 5A 90 00 [14:56:36]wFMCommunicate OK [14:56:36]SAM_PROTO_SignData done [14:56:36]FM_MakeSignedData done [14:56:36]CreateOFDProtocolMessage [14:56:36]wFMCommunicate request_size=4 [14:56:36]MH_SAM_APDU [14:56:36]CAPDU: 80 11 00 00 [14:56:36]Write to MH i2c: E2 08 00 56 68 80 11 00 00 00 00 00 00 38 [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 17 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 17 00 56 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 80 [14:56:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:56:36]wFMCommunicate OK [14:56:36]CreateOFDProtocolMessage done [14:56:36]OFDSenderStorePacket 2661 [14:56:36]StoreOFDPacket docnum=2661 [14:56:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1E 01 00 00 95 7F 16 01 92 5A 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 32 1A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 65 0A 00 00 35 04 06 00 63 92 D6 06 9C 8F C5 AC 48 66 38 42 41 5A [14:56:36]CheckFolder [14:56:36]dirname=/storage/ofd_packets [14:56:36]CheckFolder done [14:56:36]ProducePacketName [14:56:36]name=ofd_packets/00002661 [14:56:36]NVStorageSaveData ofd_packets/00002661 [14:56:36]File name is /storage/ofd_packets/00002661 [14:56:36]Write 316 bytes [14:56:36]NVStorageSaveData done [14:56:36]OFDSenderStorePacket done [14:56:36]KKMCreateOFDPacket done [14:56:36]NVStorageSaveData kkm_last_timestamp [14:56:36]File name is /storage/kkm_last_timestamp [14:56:36]Write 4 bytes [14:56:36]NVStorageSaveData done [14:56:36]ExternCall_PrintAddStr [14:56:36]wPrintStart [14:56:36]Write to MH i2c: 01 00 00 57 68 BF [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: 01 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: 01 07 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: 01 07 00 57 68 00 00 00 00 00 FF 0F D4 [14:56:36]RasterBufferAndPrint [14:56:36]line Счет N : (3)100038 [14:56:36]line ИНН: 02508201610067 [14:56:36]line Контрольно-Кассовый Чек [14:56:36]line ПРОДАЖА [14:56:36]line Товар: 4870001570071 [14:56:36]line Напиток Pepsi 1л [14:56:36]line 1.000 * 119.00 [14:56:36]line = 119.00 [14:56:36]line НДС 12% НСП 1% [14:56:36]line > о реализуемом товаре [14:56:36]line ИТОГО: 119.00 [14:56:36]line НСП 1% : 1.05 [14:56:36]line НДС 12% : 12.64 [14:56:36]line Наличными: 119.00 [14:56:36]line Безнал.: 0.00 [14:56:36]line Место: АЗС № 162 "Партнер Нефть" [14:56:36]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [14:56:36]line СНО: Общий режим [14:56:36]line Чек 42 20.10.2024 14:56 [14:56:36]line Смена: 24 ФФД: 1.0 [14:56:36]line ЗНМ: 0300000191 [14:56:36]line РНМ: 0000000000207295 [14:56:36]line Версия ККМ: v1.0 [14:56:36]line ФМ: 0000000002342820 [14:56:36]line ФД: 2661 [14:56:36]line ФПД: 109482307132559 [14:56:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T145650&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2661&fm=109482307132559&tin=02508201610067®Number=0000000000207295&sum=11900 [14:56:36]line 0 [14:56:36]OFD Sender: Processing packet 2661 [packets to send 1, broken 0] [14:56:36]ProducePacketName [14:56:36]name=ofd_packets/00002661 [14:56:36]OFD Sender: To server: pG, [14:56:36]CommunicateWithHost lk.salyk.kg:30040 [14:56:36]ConnectInit lk.salyk.kg [14:56:36]written 0, free lines is 4095 [14:56:36]Connected sock=9 [14:56:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1E 01 00 00 95 7F 16 01 92 5A 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 32 1A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 65 0A 00 00 35 04 06 00 63 92 D6 06 9C 8F C5 AC 48 66 38 42 41 5A [14:56:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 C5 4C 47 00 69 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 65 0A 00 00 F4 03 04 00 8F C5 14 67 B6 04 01 00 00 07 56 E7 DF 08 32 C2 05 [14:56:37]CommunicateWithHost err = 0 [14:56:37]CheckOFDResponse [14:56:37]1017 (14) - 77093643461234 [14:56:37]1041 (16) - 0000000002342820 [14:56:37]1040 (4) - 2661 [14:56:37]1012 (4) - 20.10.2024 08:55 [14:56:37]1206 (1) - 0 [14:56:37]OFD Sender: Remove packet 2661 [14:56:37]ProducePacketName [14:56:37]name=ofd_packets/00002661 [14:56:37]NVStorageDeleteData [14:56:37]Write to MH i2c: 01 00 00 7F 68 E7 [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: 01 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: 01 07 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: 01 07 00 7F 68 00 00 00 00 00 CC 0C C6 [14:56:37]RasterBufferAndPrint [14:56:37]line [14:56:37]line [14:56:37]line [14:56:37]line [14:56:37]line [14:56:37]written 0, free lines is 3282 [14:56:37]MH_Cut [14:56:37]Write to MH i2c: D1 01 00 86 68 01 C0 [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: D1 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: D1 01 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: D1 01 00 86 68 00 BF [14:56:37]Write to MH i2c: 01 00 00 87 68 EF [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]OFD Sender: No OFD packet to send [14:56:38]*** Cut start [14:56:38]*** Partial cut [14:56:38]*** CUTSNS_PIN = 1 [14:56:38]*** CUTSNS_PIN = 0 [14:56:38]*** Brake cut motor [14:56:38]Read from MH i2c: 01 [14:56:38]MH_I2C_Read... [14:56:38]*** Stop cut motor [14:56:38]*** Cut end [14:56:38]Read from MH i2c: 01 07 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 87 68 00 00 00 00 00 FF 0F 04 [14:56:38]process_action close_receipt done [14:56:38]requested_data is exist [14:56:38]produce_requested_data [14:56:38]requested_item fm.sn is exist - process it [14:56:38]wFMCommunicate request_size=4 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 11 00 00 [14:56:38]Write to MH i2c: E2 08 00 88 68 80 11 00 00 00 00 00 00 6A [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:38]Read from MH i2c: E2 17 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 17 00 88 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B2 [14:56:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:56:38]wFMCommunicate OK [14:56:38]requested_item fd.num is exist - process it [14:56:38]SAM_PROTO_GetFieldsCounters [14:56:38]wFMCommunicate request_size=4 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 13 00 00 [14:56:38]Write to MH i2c: E2 08 00 89 68 80 13 00 00 00 00 00 00 6D [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 62 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 62 00 89 68 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 65 0A 00 00 0E 04 04 00 18 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 88 [14:56:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 65 0A 00 00 0E 04 04 00 18 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 [14:56:38]wFMCommunicate OK [14:56:38]SAM_PROTO_GetFieldsCounters done [14:56:38]requested_item shift.num is exist - process it [14:56:38]requested_item shift.opened is exist - process it [14:56:38]req_shift_opened [14:56:38]FM_GetShiftState [14:56:38]SAM_PROTO_GetShiftState [14:56:38]wFMCommunicate request_size=4 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 13 01 00 [14:56:38]Write to MH i2c: E2 08 00 8A 68 80 13 01 00 00 00 00 00 6F [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 0E 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 0E 00 8A 68 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 59 [14:56:38]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [14:56:38]wFMCommunicate OK [14:56:38]SAM_PROTO_GetShiftState done [14:56:38]FM_GetShiftState done [14:56:38]req_shift_opened done [14:56:38]requested_item shift.open_date is exist - process it [14:56:38]req_shift_open_date [14:56:38]req_shift_open_date done [14:56:38]produce_requested_data done [14:56:38]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2661,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [14:56:38]process_action_free close_receipt [14:56:38]json_value_free [14:56:38]json_value_free done [14:56:38]process_json_proto returns [14:56:38]Send response to host [14:56:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2661,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [14:56:38]free response buf [14:56:38]execute_script done [14:56:38]execute_script returns [14:56:38]free content buf [14:56:38]Sock 10.Close socket [14:56:38]Sock 10.Thread stoped [14:56:42]OFD Sender: No OFD packet to send [14:56:47]OFD Sender: No OFD packet to send [14:56:52]OFD Sender: No OFD packet to send [14:56:57]OFD Sender: No OFD packet to send [14:57:02]OFD Sender: No OFD packet to send [14:57:07]OFD Sender: No OFD packet to send [14:57:12]OFD Sender: No OFD packet to send [14:57:17]OFD Sender: No OFD packet to send [14:57:22]OFD Sender: No OFD packet to send [14:57:27]OFD Sender: No OFD packet to send [14:57:32]OFD Sender: No OFD packet to send [14:57:37]OFD Sender: No OFD packet to send [14:57:42]OFD Sender: No OFD packet to send [14:57:47]OFD Sender: No OFD packet to send [14:57:52]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06:38]OFD Sender: No OFD packet to send [15:06:43]OFD Sender: No OFD packet to send [15:06:48]OFD Sender: No OFD packet to send [15:06:53]OFD Sender: No OFD packet to send [15:06:58]OFD Sender: No OFD packet to send [15:07:03]OFD Sender: No OFD packet to send [15:07:08]OFD Sender: No OFD packet to send [15:07:13]OFD Sender: No OFD packet to send [15:07:18]OFD Sender: No OFD packet to send [15:07:23]OFD Sender: No OFD packet to send [15:07:28]OFD Sender: No OFD packet to send [15:07:33]OFD Sender: No OFD packet to send [15:07:38]OFD Sender: No OFD packet to send [15:07:43]OFD Sender: No OFD packet to send [15:07:48]OFD Sender: No OFD packet to send [15:07:53]OFD Sender: No OFD packet to send [15:07:58]OFD Sender: No OFD packet to send [15:08:03]OFD Sender: No OFD packet to send [15:08:08]OFD Sender: No OFD packet to send [15:08:13]OFD Sender: No OFD packet to send [15:08:18]OFD Sender: No OFD packet to send [15:08:23]OFD Sender: No OFD packet to send [15:08:28]OFD Sender: No OFD packet to send [15:08:33]OFD Sender: No OFD packet to send [15:08:38]OFD Sender: No OFD packet to send [15:08:43]OFD Sender: No OFD packet to send [15:08:48]OFD Sender: No OFD packet to send [15:08:53]OFD Sender: No OFD packet to send [15:08:58]OFD Sender: No OFD packet to send [15:09:03]OFD Sender: No OFD packet to send [15:09:08]OFD Sender: No OFD packet to send [15:09:13]OFD Sender: No OFD packet to send [15:09:18]OFD Sender: No OFD packet to send [15:09:23]OFD Sender: No OFD packet to send [15:09:28]OFD Sender: No OFD packet to send [15:09:33]OFD Sender: No OFD packet to send [15:09:38]OFD Sender: No OFD packet to send [15:09:43]OFD Sender: No OFD packet to send [15:09:48]OFD Sender: No OFD packet to send [15:09:53]OFD Sender: No OFD packet to send [15:09:58]OFD Sender: No OFD packet to send [15:10:03]OFD Sender: No OFD packet to send [15:10:08]OFD Sender: No OFD packet to send [15:10:13]OFD Sender: No OFD packet to send [15:10:18]OFD Sender: No OFD packet to send [15:10:23]OFD Sender: No OFD packet to send [15:10:28]OFD Sender: No OFD packet to send [15:10:33]OFD Sender: No OFD packet to send [15:10:38]OFD Sender: No OFD packet to send [15:10:43]OFD Sender: No OFD packet to send [15:10:48]OFD Sender: No OFD packet to send [15:10:53]OFD Sender: No OFD packet to send [15:10:58]OFD Sender: No OFD packet to send [15:11:03]OFD Sender: No OFD packet to send [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:53]OFD Sender: No OFD packet to send [15:11:58]OFD Sender: No OFD packet to send [15:12:03]OFD Sender: No OFD packet to send [15:12:08]OFD Sender: No OFD packet to send [15:12:13]OFD Sender: No OFD packet to send [15:12:18]OFD Sender: No OFD packet to send [15:12:23]OFD Sender: No OFD packet to send [15:12:28]OFD Sender: No OFD packet to send [15:12:33]OFD Sender: No OFD packet to send [15:12:38]OFD Sender: No OFD packet to send [15:12:43]OFD Sender: No OFD packet to send [15:12:48]OFD Sender: No OFD packet to send [15:12:53]OFD Sender: No OFD packet to send [15:12:58]OFD Sender: No OFD packet to send [15:13:03]OFD Sender: No OFD packet to send [15:13:08]OFD Sender: No OFD packet to send [15:13:13]OFD Sender: No OFD packet to send [15:13:18]OFD Sender: No OFD packet to send [15:13:23]OFD Sender: No OFD packet to send [15:13:28]OFD Sender: No OFD packet to send [15:13:33]OFD Sender: No OFD packet to send [15:13:38]OFD Sender: No OFD packet to send [15:13:43]OFD Sender: No OFD packet to send [15:13:48]OFD Sender: No OFD packet to send [15:13:53]OFD Sender: No OFD packet to send [15:13:58]OFD Sender: No OFD packet to send [15:14:03]OFD Sender: No OFD packet to send [15:14:08]OFD Sender: No OFD packet to send [15:14:13]OFD Sender: No OFD packet to send [15:14:18]OFD Sender: No OFD packet to send [15:14:23]OFD Sender: No OFD packet to send [15:14:28]OFD Sender: No OFD packet to send [15:14:33]OFD Sender: No OFD packet to send [15:14:38]OFD Sender: No OFD packet to send [15:14:43]OFD Sender: No OFD packet to send [15:14:48]OFD Sender: No OFD packet to send [15:14:53]OFD Sender: No OFD packet to send [15:14:58]OFD Sender: No OFD packet to send [15:15:03]OFD Sender: No OFD packet to send [15:15:08]OFD Sender: No OFD packet to send [15:15:13]OFD Sender: No OFD packet to send [15:15:18]OFD Sender: No OFD packet to send [15:15:23]OFD Sender: No OFD packet to send [15:15:28]OFD Sender: No OFD packet to send [15:15:33]OFD Sender: No OFD packet to send [15:15:38]OFD Sender: No OFD packet to send [15:15:43]OFD Sender: No OFD packet to send [15:15:48]OFD Sender: No OFD packet to send [15:15:53]OFD Sender: No OFD packet to send [15:15:53]accept exits with 7 [15:15:53]New connection [15:15:53]New thread 3066850660 created [15:15:53]Thread 3066707300 joined [15:15:53]Waiting for new connection... [15:15:53] Sock 7.Parse request [15:15:53]Sock 7.Check first char [15:15:53]Sock 7.First char is OK [15:15:53]request: POST /json_proto HTTP/1.0 [15:15:53]Method: POST [15:15:53]URL: /json_proto [15:15:53]Method is POST - this is cgi request [15:15:53]url: /json_proto [15:15:53]query_string will be loaded in cgi processing [15:15:53]execute_cgi json_proto POST (null) [15:15:53]execute_cgi path=json_proto method=POST [15:15:53]POST find Content-Length [15:15:53]Host: 172.17.52.132:8080 [15:15:53]Content-Length: 629 [15:15:53]Content-Type: application/json [15:15:53] [15:15:53]POST finish read [15:15:53]Found Content-Length = 629 [15:15:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100039", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:15:53]execute_script... [15:15:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100039", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:15:53]POST & json_proto [15:15:53]process_json_proto [15:15:53]json parsed OK: [15:15:53]protocol is kg_v1.0 [15:15:53]action value=close_receipt [15:15:53]process_action close_receipt [15:15:53]cmd_close_receipt [15:15:53]MH_GetDate [15:15:53]Write to MH i2c: F0 00 00 8B 68 E2 [15:15:53]Write i2c OK [15:15:53]MH_I2C_Read... [15:15:53]Read from MH i2c: F0 [15:15:53]MH_I2C_Read... [15:15:53]Read from MH i2c: F0 09 00 [15:15:53]MH_I2C_Read... [15:15:53]Read from MH i2c: F0 09 00 8B 68 00 B9 1E 15 67 5A BE F6 66 B2 [15:15:53]GetLastDocTimeStamp 1729436210 [15:15:53]current date 1729437369 [15:15:53]FM_GetShiftState [15:15:53]SAM_PROTO_GetShiftState [15:15:53]wFMCommunicate request_size=4 [15:15:53]MH_SAM_APDU [15:15:53]CAPDU: 80 13 01 00 [15:15:53]Write to MH i2c: E2 08 00 8C 68 80 13 01 00 00 00 00 00 71 [15:15:53]Write i2c OK [15:15:53]MH_I2C_Read... [15:15:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:53]Read from MH i2c: E2 [15:15:53]MH_I2C_Read... [15:15:53]Read from MH i2c: E2 0E 00 [15:15:53]MH_I2C_Read... [15:15:53]Read from MH i2c: E2 0E 00 8C 68 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 5B [15:15:53]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:15:53]wFMCommunicate OK [15:15:53]SAM_PROTO_GetShiftState done [15:15:53]FM_GetShiftState done [15:15:53]opened in 1729382427 [15:15:53]opened+sec_in_day 1729468827 [15:15:53]quantity*price = 26000 [15:15:53]sum+1 = 26001 [15:15:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 43 20.10.2024 15:16 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2662 ФПД: 74634490120102 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151609&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2662&fm=74634490120102&tin=02508201610067®Number=0000000000207295&sum=26000 0 [15:15:54]StoreToDocumentArchive [15:15:54]shift 24 fd 2662 [15:15:54]save to /storage/0024/doc_00002662 [15:15:54]save last doc name /storage/0024/doc_00002662 to /storage/kkm_last_doc_name [15:15:54]save OK [15:15:54]Clear old archive folders... [15:15:54]ProcessDocumentItem done err = 0, tmpTLVsize=269 [15:15:54]tlvbuf is 01438410 [15:15:54]SAM_PROTO_ClearQueue [15:15:54]wFMCommunicate request_size=4 [15:15:54]MH_SAM_APDU [15:15:54]CAPDU: 80 09 00 00 [15:15:54]Write to MH i2c: E2 08 00 99 68 80 09 00 00 00 00 00 00 73 [15:15:54]Write i2c OK [15:15:54]MH_I2C_Read... [15:15:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:15:54]Read from MH i2c: E2 [15:15:54]MH_I2C_Read... [15:15:54]Read from MH i2c: E2 03 00 [15:15:54]MH_I2C_Read... [15:15:54]Read from MH i2c: E2 03 00 99 68 00 90 00 75 [15:15:54]RAPDU: 90 00 [15:15:54]wFMCommunicate OK [15:15:54]SAM_PROTO_ClearQueue done [15:15:54]KKMCreateOFDPacket [15:15:54]OFDProtocolAddRootSTLVToBuf [15:15:54]FM_MakeSignedData [15:15:54]FM_MakeSignedData [15:15:54]SAM_PROTO_SignData [15:15:54]wFMCommunicate request_size=4 [15:15:54]MH_SAM_APDU [15:15:54]CAPDU: 80 0D 01 02 [15:15:54]Write to MH i2c: E2 08 00 9A 68 80 0D 01 02 00 00 00 00 7B [15:15:54]Write i2c OK [15:15:54]MH_I2C_Read... [15:15:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:15:54]Read from MH i2c: E2 [15:15:54]MH_I2C_Read... [15:15:54]Read from MH i2c: E2 03 00 [15:15:54]MH_I2C_Read... [15:15:54]Read from MH i2c: E2 03 00 9A 68 00 90 00 76 [15:15:54]RAPDU: 90 00 [15:15:54]wFMCommunicate OK [15:15:54]wFMCommunicate request_size=255 [15:15:54]MH_SAM_APDU [15:15:54]CAPDU: 80 0D 02 02 FA 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 36 37 31 36 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 31 D0 BB 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 2B 00 00 00 F4 03 04 00 B9 1E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 [15:15:54]Write to MH i2c: E2 02 01 9B 68 80 0D 02 02 FA 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 36 37 31 36 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 31 D0 BB 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 2B 00 00 00 F4 03 04 00 B9 1E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 00 00 F0 [15:15:54]Write i2c OK [15:15:54]MH_I2C_Read... [15:15:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:55]Read from MH i2c: E2 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: E2 03 00 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: E2 03 00 9B 68 00 90 00 77 [15:15:55]RAPDU: 90 00 [15:15:55]wFMCommunicate OK [15:15:55]wFMCommunicate request_size=28 [15:15:55]MH_SAM_APDU [15:15:55]CAPDU: 80 0D 02 02 17 34 32 38 32 30 10 04 04 00 66 0A 00 00 35 04 06 00 43 E1 32 45 87 A6 [15:15:55]Write to MH i2c: E2 1F 00 9C 68 80 0D 02 02 17 00 34 32 38 32 30 10 04 04 00 66 0A 00 00 35 04 06 00 43 E1 32 45 87 A6 00 00 3B [15:15:55]Write i2c OK [15:15:55]MH_I2C_Read... [15:15:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:55]Read from MH i2c: E2 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: E2 03 00 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: E2 03 00 9C 68 00 90 00 78 [15:15:55]RAPDU: 90 00 [15:15:55]wFMCommunicate OK [15:15:55]wFMCommunicate request_size=4 [15:15:55]MH_SAM_APDU [15:15:55]CAPDU: 80 0D 03 02 [15:15:55]Write to MH i2c: E2 08 00 9D 68 80 0D 03 02 00 00 00 00 80 [15:15:55]Write i2c OK [15:15:55]MH_I2C_Read... [15:15:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:15:55]Read from MH i2c: E2 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: E2 0B 00 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: E2 0B 00 9D 68 00 65 86 A4 F2 CB C2 D0 E5 90 00 44 [15:15:55]RAPDU: 65 86 A4 F2 CB C2 D0 E5 90 00 [15:15:55]wFMCommunicate OK [15:15:55]SAM_PROTO_SignData done [15:15:55]FM_MakeSignedData done [15:15:55]CreateOFDProtocolMessage [15:15:55]wFMCommunicate request_size=4 [15:15:55]MH_SAM_APDU [15:15:55]CAPDU: 80 11 00 00 [15:15:55]Write to MH i2c: E2 08 00 9E 68 80 11 00 00 00 00 00 00 80 [15:15:55]Write i2c OK [15:15:55]MH_I2C_Read... [15:15:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:55]Read from MH i2c: E2 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: E2 17 00 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: E2 17 00 9E 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C8 [15:15:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:15:55]wFMCommunicate OK [15:15:55]CreateOFDProtocolMessage done [15:15:55]OFDSenderStorePacket 2662 [15:15:55]StoreOFDPacket docnum=2662 [15:15:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 21 01 00 00 39 C7 19 01 DA C6 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 36 37 31 36 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 31 D0 BB 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 2B 00 00 00 F4 03 04 00 B9 1E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 66 0A 00 00 35 04 06 00 43 E1 32 45 87 A6 65 86 A4 F2 CB C2 D0 E5 [15:15:55]CheckFolder [15:15:55]dirname=/storage/ofd_packets [15:15:55]CheckFolder done [15:15:55]ProducePacketName [15:15:55]name=ofd_packets/00002662 [15:15:55]NVStorageSaveData ofd_packets/00002662 [15:15:55]File name is /storage/ofd_packets/00002662 [15:15:55]Write 319 bytes [15:15:55]NVStorageSaveData done [15:15:55]OFDSenderStorePacket done [15:15:55]KKMCreateOFDPacket done [15:15:55]NVStorageSaveData kkm_last_timestamp [15:15:55]File name is /storage/kkm_last_timestamp [15:15:55]Write 4 bytes [15:15:55]NVStorageSaveData done [15:15:55]ExternCall_PrintAddStr [15:15:55]wPrintStart [15:15:55]Write to MH i2c: 01 00 00 9F 68 07 [15:15:55]Write i2c OK [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: 01 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: 01 07 00 [15:15:55]MH_I2C_Read... [15:15:55]Read from MH i2c: 01 07 00 9F 68 00 00 00 00 00 FF 0F 1C [15:15:55]RasterBufferAndPrint [15:15:55]line Счет N : (3)100039 [15:15:55]line ИНН: 02508201610067 [15:15:55]line Контрольно-Кассовый Чек [15:15:55]line ПРОДАЖА [15:15:55]line Товар: 4620006996716 [15:15:55]line Водка Талка 0,1л [15:15:55]line 2.000 * 130.00 [15:15:55]line = 260.00 [15:15:55]line НДС 12% НСП 1% [15:15:55]line > о реализуемом товаре [15:15:55]line ИТОГО: 260.00 [15:15:55]line НСП 1% : 2.30 [15:15:55]line НДС 12% : 27.61 [15:15:55]line Наличными: 260.00 [15:15:55]line Безнал.: 0.00 [15:15:55]line Место: АЗС № 162 "Партнер Нефть" [15:15:55]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:15:55]line СНО: Общий режим [15:15:55]line Чек 43 20.10.2024 15:16 [15:15:55]line Смена: 24 ФФД: 1.0 [15:15:55]line ЗНМ: 0300000191 [15:15:55]line РНМ: 0000000000207295 [15:15:55]line Версия ККМ: v1.0 [15:15:55]line ФМ: 0000000002342820 [15:15:55]line ФД: 2662 [15:15:55]line ФПД: 74634490120102 [15:15:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151609&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2662&fm=74634490120102&tin=02508201610067®Number=0000000000207295&sum=26000 [15:15:55]OFD Sender: Processing packet 2662 [packets to send 1, broken 0] [15:15:55]ProducePacketName [15:15:55]name=ofd_packets/00002662 [15:15:55]OFD Sender: To server: pG, [15:15:55]CommunicateWithHost lk.salyk.kg:30040 [15:15:55]ConnectInit lk.salyk.kg [15:15:55]line 0 [15:15:55]written 0, free lines is 4095 [15:15:55]Connected sock=10 [15:15:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 21 01 00 00 39 C7 19 01 DA C6 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 36 37 31 36 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 31 D0 BB 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 2B 00 00 00 F4 03 04 00 B9 1E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 66 0A 00 00 35 04 06 00 43 E1 32 45 87 A6 65 86 A4 F2 CB C2 D0 E5 [15:15:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 19 50 47 00 0D 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 66 0A 00 00 F4 03 04 00 16 CA 14 67 B6 04 01 00 00 1C 35 0A 87 41 5C 06 4E [15:15:56]CommunicateWithHost err = 0 [15:15:56]CheckOFDResponse [15:15:56]1017 (14) - 77093643461234 [15:15:56]1041 (16) - 0000000002342820 [15:15:56]1040 (4) - 2662 [15:15:56]1012 (4) - 20.10.2024 09:15 [15:15:56]1206 (1) - 0 [15:15:56]OFD Sender: Remove packet 2662 [15:15:56]ProducePacketName [15:15:56]name=ofd_packets/00002662 [15:15:56]NVStorageDeleteData [15:15:56]Write to MH i2c: 01 00 00 C7 68 2F [15:15:56]Write i2c OK [15:15:56]MH_I2C_Read... [15:15:56]Read from MH i2c: 01 [15:15:56]MH_I2C_Read... [15:15:56]Read from MH i2c: 01 07 00 [15:15:56]MH_I2C_Read... [15:15:56]Read from MH i2c: 01 07 00 C7 68 00 00 00 00 00 CD 0C 0F [15:15:56]RasterBufferAndPrint [15:15:56]line [15:15:56]line [15:15:56]line [15:15:56]line [15:15:56]line [15:15:56]written 0, free lines is 3282 [15:15:56]MH_Cut [15:15:56]Write to MH i2c: D1 01 00 CE 68 01 08 [15:15:56]Write i2c OK [15:15:56]MH_I2C_Read... [15:15:56]Read from MH i2c: D1 [15:15:56]MH_I2C_Read... [15:15:56]Read from MH i2c: D1 01 00 [15:15:56]MH_I2C_Read... [15:15:56]Read from MH i2c: D1 01 00 CE 68 00 07 [15:15:56]Write to MH i2c: 01 00 00 CF 68 37 [15:15:56]Write i2c OK [15:15:56]MH_I2C_Read... [15:15:56]OFD Sender: No OFD packet to send [15:15:57]*** Cut start [15:15:57]*** Partial cut [15:15:57]*** CUTSNS_PIN = 1 [15:15:57]*** CUTSNS_PIN = 0 [15:15:57]*** Brake cut motor [15:15:57]Read from MH i2c: 01 [15:15:57]MH_I2C_Read... [15:15:57]*** Stop cut motor [15:15:57]*** Cut end [15:15:57]Read from MH i2c: 01 07 00 [15:15:57]MH_I2C_Read... [15:15:57]Read from MH i2c: 01 07 00 CF 68 00 00 00 00 00 FF 0F 4C [15:15:57]process_action close_receipt done [15:15:57]requested_data is exist [15:15:57]produce_requested_data [15:15:57]requested_item fm.sn is exist - process it [15:15:57]wFMCommunicate request_size=4 [15:15:57]MH_SAM_APDU [15:15:57]CAPDU: 80 11 00 00 [15:15:57]Write to MH i2c: E2 08 00 D0 68 80 11 00 00 00 00 00 00 B2 [15:15:57]Write i2c OK [15:15:57]MH_I2C_Read... [15:15:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:57]Read from MH i2c: E2 [15:15:57]MH_I2C_Read... [15:15:57]Read from MH i2c: E2 17 00 [15:15:57]MH_I2C_Read... [15:15:57]Read from MH i2c: E2 17 00 D0 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FA [15:15:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:15:57]wFMCommunicate OK [15:15:57]requested_item fd.num is exist - process it [15:15:57]SAM_PROTO_GetFieldsCounters [15:15:57]wFMCommunicate request_size=4 [15:15:57]MH_SAM_APDU [15:15:57]CAPDU: 80 13 00 00 [15:15:57]Write to MH i2c: E2 08 00 D1 68 80 13 00 00 00 00 00 00 B5 [15:15:57]Write i2c OK [15:15:57]MH_I2C_Read... [15:15:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:15:57]Read from MH i2c: E2 [15:15:57]MH_I2C_Read... [15:15:57]Read from MH i2c: E2 62 00 [15:15:57]MH_I2C_Read... [15:15:57]Read from MH i2c: E2 62 00 D1 68 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 66 0A 00 00 0E 04 04 00 18 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 D4 [15:15:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 66 0A 00 00 0E 04 04 00 18 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 [15:15:57]wFMCommunicate OK [15:15:57]SAM_PROTO_GetFieldsCounters done [15:15:57]requested_item shift.num is exist - process it [15:15:57]requested_item shift.opened is exist - process it [15:15:57]req_shift_opened [15:15:57]FM_GetShiftState [15:15:57]SAM_PROTO_GetShiftState [15:15:57]wFMCommunicate request_size=4 [15:15:57]MH_SAM_APDU [15:15:57]CAPDU: 80 13 01 00 [15:15:57]Write to MH i2c: E2 08 00 D2 68 80 13 01 00 00 00 00 00 B7 [15:15:57]Write i2c OK [15:15:57]MH_I2C_Read... [15:15:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:57]Read from MH i2c: E2 [15:15:57]MH_I2C_Read... [15:15:57]Read from MH i2c: E2 0E 00 [15:15:57]MH_I2C_Read... [15:15:57]Read from MH i2c: E2 0E 00 D2 68 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A1 [15:15:57]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:15:57]wFMCommunicate OK [15:15:57]SAM_PROTO_GetShiftState done [15:15:57]FM_GetShiftState done [15:15:57]req_shift_opened done [15:15:57]requested_item shift.open_date is exist - process it [15:15:57]req_shift_open_date [15:15:57]req_shift_open_date done [15:15:57]produce_requested_data done [15:15:57]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2662,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [15:15:57]process_action_free close_receipt [15:15:57]json_value_free [15:15:57]json_value_free done [15:15:57]process_json_proto returns [15:15:57]Send response to host [15:15:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2662,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [15:15:57]free response buf [15:15:57]execute_script done [15:15:57]execute_script returns [15:15:57]free content buf [15:15:57]Sock 7.Close socket [15:15:57]Sock 7.Thread stoped [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:46]OFD Sender: No OFD packet to send [15:16:51]OFD Sender: No OFD packet to send [15:16:54]accept exits with 9 [15:16:54]New connection [15:16:54]New thread 3066707300 created [15:16:54]Thread 3066850660 joined [15:16:54]Waiting for new connection... [15:16:54] Sock 9.Parse request [15:16:54]Sock 9.Check first char [15:16:54]Sock 9.First char is OK [15:16:54]request: POST /json_proto HTTP/1.0 [15:16:54]Method: POST [15:16:54]URL: /json_proto [15:16:54]Method is POST - this is cgi request [15:16:54]url: /json_proto [15:16:54]query_string will be loaded in cgi processing [15:16:54]execute_cgi json_proto POST (null) [15:16:54]execute_cgi path=json_proto method=POST [15:16:54]POST find Content-Length [15:16:54]Host: 172.17.52.132:8080 [15:16:54]Content-Length: 837 [15:16:54]Content-Type: application/json [15:16:54] [15:16:54]POST finish read [15:16:54]Found Content-Length = 837 [15:16:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100041", "tax_sys" : 0, "items" : [ { "code": "4870145004906", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A Flash Up Bubble Gum 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:16:54]execute_script... [15:16:54]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)100041", "tax_sys" : 0, "items" : [ { "code": "4870145004906", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A Flash Up Bubble Gum 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:16:54]POST & json_proto [15:16:54]process_json_proto [15:16:54]json parsed OK: [15:16:54]protocol is kg_v1.0 [15:16:54]action value=close_receipt [15:16:54]process_action close_receipt [15:16:54]cmd_close_receipt [15:16:54]MH_GetDate [15:16:54]Write to MH i2c: F0 00 00 D3 68 2A [15:16:54]Write i2c OK [15:16:54]MH_I2C_Read... [15:16:54]Read from MH i2c: F0 [15:16:54]MH_I2C_Read... [15:16:54]Read from MH i2c: F0 09 00 [15:16:54]MH_I2C_Read... [15:16:54]Read from MH i2c: F0 09 00 D3 68 00 F6 1E 15 67 5A BE F6 66 37 [15:16:54]GetLastDocTimeStamp 1729437369 [15:16:54]current date 1729437430 [15:16:54]FM_GetShiftState [15:16:54]SAM_PROTO_GetShiftState [15:16:54]wFMCommunicate request_size=4 [15:16:54]MH_SAM_APDU [15:16:54]CAPDU: 80 13 01 00 [15:16:54]Write to MH i2c: E2 08 00 D4 68 80 13 01 00 00 00 00 00 B9 [15:16:54]Write i2c OK [15:16:54]MH_I2C_Read... [15:16:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:16:54]Read from MH i2c: E2 [15:16:54]MH_I2C_Read... [15:16:54]Read from MH i2c: E2 0E 00 [15:16:54]MH_I2C_Read... [15:16:54]Read from MH i2c: E2 0E 00 D4 68 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A3 [15:16:54]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:16:54]wFMCommunicate OK [15:16:54]SAM_PROTO_GetShiftState done [15:16:54]FM_GetShiftState done [15:16:54]opened in 1729382427 [15:16:54]opened+sec_in_day 1729468827 [15:16:54]quantity*price = 9500 [15:16:54]sum+1 = 9501 [15:16:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 44 20.10.2024 15:17 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2663 ФПД: 138688342790995 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151710&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2663&fm=138688342790995&tin=02508201610067®Number=0000000000207295&sum=9500 0 [15:16:55]StoreToDocumentArchive [15:16:55]shift 24 fd 2663 [15:16:55]save to /storage/0024/doc_00002663 [15:16:55]save last doc name /storage/0024/doc_00002663 to /storage/kkm_last_doc_name [15:16:55]save OK [15:16:55]Clear old archive folders... [15:16:55]ProcessDocumentItem done err = 0, tmpTLVsize=295 [15:16:55]tlvbuf is 0135D200 [15:16:55]SAM_PROTO_ClearQueue [15:16:55]wFMCommunicate request_size=4 [15:16:55]MH_SAM_APDU [15:16:55]CAPDU: 80 09 00 00 [15:16:55]Write to MH i2c: E2 08 00 E1 68 80 09 00 00 00 00 00 00 BB [15:16:55]Write i2c OK [15:16:55]MH_I2C_Read... [15:16:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:16:55]Read from MH i2c: E2 [15:16:55]MH_I2C_Read... [15:16:55]Read from MH i2c: E2 03 00 [15:16:55]MH_I2C_Read... [15:16:55]Read from MH i2c: E2 03 00 E1 68 00 90 00 BD [15:16:55]RAPDU: 90 00 [15:16:55]wFMCommunicate OK [15:16:55]SAM_PROTO_ClearQueue done [15:16:55]KKMCreateOFDPacket [15:16:55]OFDProtocolAddRootSTLVToBuf [15:16:55]FM_MakeSignedData [15:16:55]FM_MakeSignedData [15:16:55]SAM_PROTO_SignData [15:16:55]wFMCommunicate request_size=4 [15:16:55]MH_SAM_APDU [15:16:55]CAPDU: 80 0D 01 02 [15:16:55]Write to MH i2c: E2 08 00 E2 68 80 0D 01 02 00 00 00 00 C3 [15:16:55]Write i2c OK [15:16:55]MH_I2C_Read... [15:16:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:16:55]Read from MH i2c: E2 [15:16:55]MH_I2C_Read... [15:16:55]Read from MH i2c: E2 03 00 [15:16:55]MH_I2C_Read... [15:16:55]Read from MH i2c: E2 03 00 E2 68 00 90 00 BE [15:16:55]RAPDU: 90 00 [15:16:55]wFMCommunicate OK [15:16:55]wFMCommunicate request_size=255 [15:16:55]MH_SAM_APDU [15:16:55]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 30 36 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA 20 46 6C 61 73 68 20 55 70 20 42 75 62 62 6C 65 20 47 75 6D 20 30 2C 34 35 20 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 F6 1E 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [15:16:55]Write to MH i2c: E2 02 01 E3 68 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 30 36 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA 20 46 6C 61 73 68 20 55 70 20 42 75 62 62 6C 65 20 47 75 6D 20 30 2C 34 35 20 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 F6 1E 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 28 [15:16:55]Write i2c OK [15:16:55]MH_I2C_Read... [15:16:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:16:56]Read from MH i2c: E2 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: E2 03 00 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: E2 03 00 E3 68 00 90 00 BF [15:16:56]RAPDU: 90 00 [15:16:56]wFMCommunicate OK [15:16:56]wFMCommunicate request_size=54 [15:16:56]MH_SAM_APDU [15:16:56]CAPDU: 80 0D 02 02 31 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 67 0A 00 00 35 04 06 00 7E 22 E5 68 13 53 [15:16:56]Write to MH i2c: E2 39 00 E4 68 80 0D 02 02 31 00 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 67 0A 00 00 35 04 06 00 7E 22 E5 68 13 53 00 00 A6 [15:16:56]Write i2c OK [15:16:56]MH_I2C_Read... [15:16:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:16:56]Read from MH i2c: E2 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: E2 03 00 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: E2 03 00 E4 68 00 90 00 C0 [15:16:56]RAPDU: 90 00 [15:16:56]wFMCommunicate OK [15:16:56]wFMCommunicate request_size=4 [15:16:56]MH_SAM_APDU [15:16:56]CAPDU: 80 0D 03 02 [15:16:56]Write to MH i2c: E2 08 00 E5 68 80 0D 03 02 00 00 00 00 C8 [15:16:56]Write i2c OK [15:16:56]MH_I2C_Read... [15:16:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:16:56]Read from MH i2c: E2 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: E2 0B 00 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: E2 0B 00 E5 68 00 8A 43 8B 7D 68 CC 44 A3 90 00 B9 [15:16:56]RAPDU: 8A 43 8B 7D 68 CC 44 A3 90 00 [15:16:56]wFMCommunicate OK [15:16:56]SAM_PROTO_SignData done [15:16:56]FM_MakeSignedData done [15:16:56]CreateOFDProtocolMessage [15:16:56]wFMCommunicate request_size=4 [15:16:56]MH_SAM_APDU [15:16:56]CAPDU: 80 11 00 00 [15:16:56]Write to MH i2c: E2 08 00 E6 68 80 11 00 00 00 00 00 00 C8 [15:16:56]Write i2c OK [15:16:56]MH_I2C_Read... [15:16:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:16:56]Read from MH i2c: E2 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: E2 17 00 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: E2 17 00 E6 68 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 10 [15:16:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:16:56]wFMCommunicate OK [15:16:56]CreateOFDProtocolMessage done [15:16:56]OFDSenderStorePacket 2663 [15:16:56]StoreOFDPacket docnum=2663 [15:16:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3B 01 00 00 9E 3E 33 01 A0 1D 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 30 36 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA 20 46 6C 61 73 68 20 55 70 20 42 75 62 62 6C 65 20 47 75 6D 20 30 2C 34 35 20 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 F6 1E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 67 0A 00 00 35 04 06 00 7E 22 E5 68 13 53 8A 43 8B 7D 68 CC 44 A3 [15:16:56]CheckFolder [15:16:56]dirname=/storage/ofd_packets [15:16:56]CheckFolder done [15:16:56]ProducePacketName [15:16:56]name=ofd_packets/00002663 [15:16:56]NVStorageSaveData ofd_packets/00002663 [15:16:56]File name is /storage/ofd_packets/00002663 [15:16:56]Write 345 bytes [15:16:56]NVStorageSaveData done [15:16:56]OFDSenderStorePacket done [15:16:56]KKMCreateOFDPacket done [15:16:56]NVStorageSaveData kkm_last_timestamp [15:16:56]File name is /storage/kkm_last_timestamp [15:16:56]Write 4 bytes [15:16:56]NVStorageSaveData done [15:16:56]ExternCall_PrintAddStr [15:16:56]wPrintStart [15:16:56]Write to MH i2c: 01 00 00 E7 68 4F [15:16:56]Write i2c OK [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: 01 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: 01 07 00 [15:16:56]MH_I2C_Read... [15:16:56]Read from MH i2c: 01 07 00 E7 68 00 00 00 00 00 FF 0F 64 [15:16:56]RasterBufferAndPrint [15:16:56]line Счет N : (3)100041 [15:16:56]line ИНН: 02508201610067 [15:16:56]line Контрольно-Кассовый Чек [15:16:56]line ПРОДАЖА [15:16:56]line Товар: 4870145004906 [15:16:56]line Напиток безалк Flash Up Bubble Gum 0,45 [15:16:56]line 1.000 * 95.00 [15:16:56]line = 95.00 [15:16:56]line НДС 12% НСП 1% [15:16:56]line > о реализуемом товаре [15:16:56]line ИТОГО: 95.00 [15:16:56]line НСП 1% : 0.84 [15:16:56]line НДС 12% : 10.09 [15:16:56]line Наличными: 0.00 [15:16:56]line Безнал.: 95.00 [15:16:56]line Место: АЗС № 162 "Партнер Нефть" [15:16:56]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:16:56]line СНО: Общий режим [15:16:56]line Чек 44 20.10.2024 15:17 [15:16:56]line Смена: 24 ФФД: 1.0 [15:16:56]line ЗНМ: 0300000191 [15:16:56]line РНМ: 0000000000207295 [15:16:56]line Версия ККМ: v1.0 [15:16:56]line Платежная система: Бакай Банк [15:16:56]line ФМ: 0000000002342820 [15:16:56]line ФД: 2663 [15:16:56]line ФПД: 138688342790995 [15:16:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151710&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2663&fm=138688342790995&tin=02508201610067®Number=0000000000207295&sum=9500 [15:16:56]line 0 [15:16:56]OFD Sender: Processing packet 2663 [packets to send 1, broken 0] [15:16:56]ProducePacketName [15:16:56]name=ofd_packets/00002663 [15:16:56]OFD Sender: To server: pG, [15:16:56]CommunicateWithHost lk.salyk.kg:30040 [15:16:56]ConnectInit lk.salyk.kg [15:16:56]written 0, free lines is 4095 [15:16:56]Connected sock=10 [15:16:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3B 01 00 00 9E 3E 33 01 A0 1D 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 30 36 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA 20 46 6C 61 73 68 20 55 70 20 42 75 62 62 6C 65 20 47 75 6D 20 30 2C 34 35 20 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 F6 1E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 67 0A 00 00 35 04 06 00 7E 22 E5 68 13 53 8A 43 8B 7D 68 CC 44 A3 [15:16:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 62 09 47 00 4E 26 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 33 34 32 38 32 30 10 04 04 00 67 0A 00 00 F4 03 04 00 53 CA 14 67 B6 04 01 00 00 E3 C8 D3 56 22 A1 9E 62 [15:16:56]CommunicateWithHost err = 0 [15:16:56]CheckOFDResponse [15:16:56]1017 (14) - 77093643461234 [15:16:56]1041 (16) - 0000000002342820 [15:16:56]1040 (4) - 2663 [15:16:56]1012 (4) - 20.10.2024 09:16 [15:16:56]1206 (1) - 0 [15:16:56]OFD Sender: Remove packet 2663 [15:16:56]ProducePacketName [15:16:56]name=ofd_packets/00002663 [15:16:56]NVStorageDeleteData [15:16:57]Write to MH i2c: 01 00 00 12 69 7B [15:16:57]Write i2c OK [15:16:57]MH_I2C_Read... [15:16:57]Read from MH i2c: 01 [15:16:57]MH_I2C_Read... [15:16:57]Read from MH i2c: 01 07 00 [15:16:57]MH_I2C_Read... [15:16:57]Read from MH i2c: 01 07 00 12 69 00 00 00 00 00 8D 0C 1B [15:16:57]RasterBufferAndPrint [15:16:57]line [15:16:57]line [15:16:57]line [15:16:57]line [15:16:57]line [15:16:57]written 0, free lines is 3219 [15:16:57]MH_Cut [15:16:57]Write to MH i2c: D1 01 00 19 69 01 54 [15:16:57]Write i2c OK [15:16:57]MH_I2C_Read... [15:16:57]Read from MH i2c: D1 [15:16:57]MH_I2C_Read... [15:16:57]Read from MH i2c: D1 01 00 [15:16:57]MH_I2C_Read... [15:16:57]Read from MH i2c: D1 01 00 19 69 00 53 [15:16:57]Write to MH i2c: 01 00 00 1A 69 83 [15:16:57]Write i2c OK [15:16:57]MH_I2C_Read... [15:16:57]OFD Sender: No OFD packet to send [15:16:57]*** Cut start [15:16:57]*** Partial cut [15:16:57]*** CUTSNS_PIN = 1 [15:16:58]*** CUTSNS_PIN = 0 [15:16:58]*** Brake cut motor [15:16:58]Read from MH i2c: 01 [15:16:58]MH_I2C_Read... [15:16:58]*** Stop cut motor [15:16:58]*** Cut end [15:16:58]Read from MH i2c: 01 07 00 [15:16:58]MH_I2C_Read... [15:16:58]Read from MH i2c: 01 07 00 1A 69 00 00 00 00 00 FF 0F 98 [15:16:58]process_action close_receipt done [15:16:58]requested_data is exist [15:16:58]produce_requested_data [15:16:58]requested_item fm.sn is exist - process it [15:16:58]wFMCommunicate request_size=4 [15:16:58]MH_SAM_APDU [15:16:58]CAPDU: 80 11 00 00 [15:16:58]Write to MH i2c: E2 08 00 1B 69 80 11 00 00 00 00 00 00 FE [15:16:58]Write i2c OK [15:16:58]MH_I2C_Read... [15:16:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:16:58]Read from MH i2c: E2 [15:16:58]MH_I2C_Read... [15:16:58]Read from MH i2c: E2 17 00 [15:16:58]MH_I2C_Read... [15:16:58]Read from MH i2c: E2 17 00 1B 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 46 [15:16:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:16:58]wFMCommunicate OK [15:16:58]requested_item fd.num is exist - process it [15:16:58]SAM_PROTO_GetFieldsCounters [15:16:58]wFMCommunicate request_size=4 [15:16:58]MH_SAM_APDU [15:16:58]CAPDU: 80 13 00 00 [15:16:58]Write to MH i2c: E2 08 00 1C 69 80 13 00 00 00 00 00 00 01 [15:16:58]Write i2c OK [15:16:58]MH_I2C_Read... [15:16:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:16:58]Read from MH i2c: E2 [15:16:58]MH_I2C_Read... [15:16:58]Read from MH i2c: E2 62 00 [15:16:58]MH_I2C_Read... [15:16:58]Read from MH i2c: E2 62 00 1C 69 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 67 0A 00 00 0E 04 04 00 18 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 24 [15:16:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 67 0A 00 00 0E 04 04 00 18 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 [15:16:58]wFMCommunicate OK [15:16:58]SAM_PROTO_GetFieldsCounters done [15:16:58]requested_item shift.num is exist - process it [15:16:58]requested_item shift.opened is exist - process it [15:16:58]req_shift_opened [15:16:58]FM_GetShiftState [15:16:58]SAM_PROTO_GetShiftState [15:16:58]wFMCommunicate request_size=4 [15:16:58]MH_SAM_APDU [15:16:58]CAPDU: 80 13 01 00 [15:16:58]Write to MH i2c: E2 08 00 1D 69 80 13 01 00 00 00 00 00 03 [15:16:58]Write i2c OK [15:16:58]MH_I2C_Read... [15:16:58]Read from MH i2c: E2 [15:16:58]MH_I2C_Read... [15:16:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:16:58]Read from MH i2c: E2 0E 00 [15:16:58]MH_I2C_Read... [15:16:58]Read from MH i2c: E2 0E 00 1D 69 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 ED [15:16:58]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:16:58]wFMCommunicate OK [15:16:58]SAM_PROTO_GetShiftState done [15:16:58]FM_GetShiftState done [15:16:58]req_shift_opened done [15:16:58]requested_item shift.open_date is exist - process it [15:16:58]req_shift_open_date [15:16:58]req_shift_open_date done [15:16:58]produce_requested_data done [15:16:58]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2663,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [15:16:58]process_action_free close_receipt [15:16:58]json_value_free [15:16:58]json_value_free done [15:16:58]process_json_proto returns [15:16:58]Send response to host [15:16:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2663,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [15:16:58]free response buf [15:16:58]execute_script done [15:16:58]execute_script returns [15:16:58]free content buf [15:16:58]Sock 9.Close socket [15:16:58]Sock 9.Thread stoped [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]accept exits with 7 [15:18:37]New connection [15:18:37]New thread 3066850660 created [15:18:37]Thread 3066707300 joined [15:18:37]Waiting for new connection... [15:18:37] Sock 7.Parse request [15:18:37]Sock 7.Check first char [15:18:37]Sock 7.First char is OK [15:18:37]request: POST /json_proto HTTP/1.0 [15:18:37]Method: POST [15:18:37]URL: /json_proto [15:18:37]Method is POST - this is cgi request [15:18:37]url: /json_proto [15:18:37]query_string will be loaded in cgi processing [15:18:37]execute_cgi json_proto POST (null) [15:18:37]execute_cgi path=json_proto method=POST [15:18:37]POST find Content-Length [15:18:37]Host: 172.17.52.132:8080 [15:18:37]Content-Length: 621 [15:18:37]Content-Type: application/json [15:18:37] [15:18:37]POST finish read [15:18:37]Found Content-Length = 621 [15:18:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100042", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:18:37]execute_script... [15:18: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)100042", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:18:37]POST & json_proto [15:18:37]process_json_proto [15:18:37]json parsed OK: [15:18:37]protocol is kg_v1.0 [15:18:37]action value=close_receipt [15:18:37]process_action close_receipt [15:18:37]cmd_close_receipt [15:18:37]MH_GetDate [15:18:37]Write to MH i2c: F0 00 00 1E 69 76 [15:18:37]Write i2c OK [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: F0 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: F0 09 00 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: F0 09 00 1E 69 00 5C 1F 15 67 5A BE F6 66 EA [15:18:37]GetLastDocTimeStamp 1729437430 [15:18:37]current date 1729437532 [15:18:37]FM_GetShiftState [15:18:37]SAM_PROTO_GetShiftState [15:18:37]wFMCommunicate request_size=4 [15:18:37]MH_SAM_APDU [15:18:37]CAPDU: 80 13 01 00 [15:18:37]Write to MH i2c: E2 08 00 1F 69 80 13 01 00 00 00 00 00 05 [15:18:37]Write i2c OK [15:18:37]MH_I2C_Read... [15:18:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:37]Read from MH i2c: E2 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: E2 0E 00 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: E2 0E 00 1F 69 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 EF [15:18:37]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:18:37]wFMCommunicate OK [15:18:37]SAM_PROTO_GetShiftState done [15:18:37]FM_GetShiftState done [15:18:37]opened in 1729382427 [15:18:37]opened+sec_in_day 1729468827 [15:18:37]quantity*price = 14400 [15:18:37]sum+1 = 14401 [15:18:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 45 20.10.2024 15:18 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2664 ФПД: 118777090453544 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151852&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2664&fm=118777090453544&tin=02508201610067®Number=0000000000207295&sum=14400 0 [15:18:38]StoreToDocumentArchive [15:18:38]shift 24 fd 2664 [15:18:38]save to /storage/0024/doc_00002664 [15:18:38]save last doc name /storage/0024/doc_00002664 to /storage/kkm_last_doc_name [15:18:38]save OK [15:18:38]Clear old archive folders... [15:18:38]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:18:38]tlvbuf is 0135CBB0 [15:18:38]SAM_PROTO_ClearQueue [15:18:38]wFMCommunicate request_size=4 [15:18:38]MH_SAM_APDU [15:18:38]CAPDU: 80 09 00 00 [15:18:38]Write to MH i2c: E2 08 00 2C 69 80 09 00 00 00 00 00 00 07 [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 03 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 03 00 2C 69 00 90 00 09 [15:18:38]RAPDU: 90 00 [15:18:38]wFMCommunicate OK [15:18:38]SAM_PROTO_ClearQueue done [15:18:38]KKMCreateOFDPacket [15:18:38]OFDProtocolAddRootSTLVToBuf [15:18:38]FM_MakeSignedData [15:18:38]FM_MakeSignedData [15:18:38]SAM_PROTO_SignData [15:18:38]wFMCommunicate request_size=4 [15:18:38]MH_SAM_APDU [15:18:38]CAPDU: 80 0D 01 02 [15:18:38]Write to MH i2c: E2 08 00 2D 69 80 0D 01 02 00 00 00 00 0F [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 03 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 03 00 2D 69 00 90 00 0A [15:18:38]RAPDU: 90 00 [15:18:38]wFMCommunicate OK [15:18:38]wFMCommunicate request_size=255 [15:18:38]MH_SAM_APDU [15:18:38]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5C 1F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [15:18:38]Write to MH i2c: E2 02 01 2E 69 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5C 1F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 B5 [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 03 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 03 00 2E 69 00 90 00 0B [15:18:38]RAPDU: 90 00 [15:18:38]wFMCommunicate OK [15:18:38]wFMCommunicate request_size=32 [15:18:38]MH_SAM_APDU [15:18:38]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 68 0A 00 00 35 04 06 00 6C 06 F2 48 B0 28 [15:18:38]Write to MH i2c: E2 23 00 2F 69 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 68 0A 00 00 35 04 06 00 6C 06 F2 48 B0 28 00 00 5A [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 03 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 03 00 2F 69 00 90 00 0C [15:18:38]RAPDU: 90 00 [15:18:38]wFMCommunicate OK [15:18:38]wFMCommunicate request_size=4 [15:18:38]MH_SAM_APDU [15:18:38]CAPDU: 80 0D 03 02 [15:18:38]Write to MH i2c: E2 08 00 30 69 80 0D 03 02 00 00 00 00 14 [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 0B 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 0B 00 30 69 00 86 A3 A6 37 78 8A 95 2E 90 00 E0 [15:18:38]RAPDU: 86 A3 A6 37 78 8A 95 2E 90 00 [15:18:38]wFMCommunicate OK [15:18:38]SAM_PROTO_SignData done [15:18:38]FM_MakeSignedData done [15:18:38]CreateOFDProtocolMessage [15:18:38]wFMCommunicate request_size=4 [15:18:38]MH_SAM_APDU [15:18:38]CAPDU: 80 11 00 00 [15:18:38]Write to MH i2c: E2 08 00 31 69 80 11 00 00 00 00 00 00 14 [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 17 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 17 00 31 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 5C [15:18:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:18:38]wFMCommunicate OK [15:18:38]CreateOFDProtocolMessage done [15:18:38]OFDSenderStorePacket 2664 [15:18:38]StoreOFDPacket docnum=2664 [15:18:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 B5 5E 1D 01 30 12 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5C 1F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 68 0A 00 00 35 04 06 00 6C 06 F2 48 B0 28 86 A3 A6 37 78 8A 95 2E [15:18:38]CheckFolder [15:18:38]dirname=/storage/ofd_packets [15:18:38]CheckFolder done [15:18:38]ProducePacketName [15:18:38]name=ofd_packets/00002664 [15:18:38]NVStorageSaveData ofd_packets/00002664 [15:18:38]File name is /storage/ofd_packets/00002664 [15:18:38]Write 323 bytes [15:18:38]NVStorageSaveData done [15:18:38]OFDSenderStorePacket done [15:18:38]KKMCreateOFDPacket done [15:18:38]NVStorageSaveData kkm_last_timestamp [15:18:38]File name is /storage/kkm_last_timestamp [15:18:38]Write 4 bytes [15:18:38]NVStorageSaveData done [15:18:38]ExternCall_PrintAddStr [15:18:38]wPrintStart [15:18:38]Write to MH i2c: 01 00 00 32 69 9B [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: 01 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: 01 07 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: 01 07 00 32 69 00 00 00 00 00 FF 0F B0 [15:18:38]RasterBufferAndPrint [15:18:38]line Счет N : (3)100042 [15:18:38]line ИНН: 02508201610067 [15:18:38]line Контрольно-Кассовый Чек [15:18:38]line ПРОДАЖА [15:18:38]line Товар: 48743570 [15:18:38]line Сигареты Winston XStyle Blue [15:18:38]line 1.000 * 144.00 [15:18:38]line = 144.00 [15:18:38]line НДС 12% НСП 1% [15:18:38]line > о реализуемом товаре [15:18:38]line ИТОГО: 144.00 [15:18:38]line НСП 1% : 1.27 [15:18:38]line НДС 12% : 15.29 [15:18:38]line Наличными: 144.00 [15:18:38]line Безнал.: 0.00 [15:18:38]line Место: АЗС № 162 "Партнер Нефть" [15:18:38]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:18:38]line СНО: Общий режим [15:18:38]line Чек 45 20.10.2024 15:18 [15:18:38]line Смена: 24 ФФД: 1.0 [15:18:38]line ЗНМ: 0300000191 [15:18:38]line РНМ: 0000000000207295 [15:18:38]line Версия ККМ: v1.0 [15:18:38]line ФМ: 0000000002342820 [15:18:38]line ФД: 2664 [15:18:38]line ФПД: 118777090453544 [15:18:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151852&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2664&fm=118777090453544&tin=02508201610067®Number=0000000000207295&sum=14400 [15:18:39]line 0 [15:18:39]OFD Sender: Processing packet 2664 [packets to send 1, broken 0] [15:18:39]ProducePacketName [15:18:39]name=ofd_packets/00002664 [15:18:39]OFD Sender: To server: pG, [15:18:39]CommunicateWithHost lk.salyk.kg:30040 [15:18:39]ConnectInit lk.salyk.kg [15:18:39]written 0, free lines is 4095 [15:18:39]Connected sock=10 [15:18:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 B5 5E 1D 01 30 12 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5C 1F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 68 0A 00 00 35 04 06 00 6C 06 F2 48 B0 28 86 A3 A6 37 78 8A 95 2E [15:18:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 8A 24 47 00 E7 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 33 34 32 38 32 30 10 04 04 00 68 0A 00 00 F4 03 04 00 B9 CA 14 67 B6 04 01 00 00 CD F7 C4 0A 6A 23 AA 0D [15:18:39]CommunicateWithHost err = 0 [15:18:39]CheckOFDResponse [15:18:39]1017 (14) - 77093643461234 [15:18:39]1041 (16) - 0000000002342820 [15:18:39]1040 (4) - 2664 [15:18:39]1012 (4) - 20.10.2024 09:17 [15:18:39]1206 (1) - 0 [15:18:39]OFD Sender: Remove packet 2664 [15:18:39]ProducePacketName [15:18:39]name=ofd_packets/00002664 [15:18:39]NVStorageDeleteData [15:18:39]Write to MH i2c: 01 00 00 5A 69 C3 [15:18:39]Write i2c OK [15:18:39]MH_I2C_Read... [15:18:39]Read from MH i2c: 01 [15:18:39]MH_I2C_Read... [15:18:39]Read from MH i2c: 01 07 00 [15:18:39]MH_I2C_Read... [15:18:39]Read from MH i2c: 01 07 00 5A 69 00 00 00 00 00 C6 0C 9C [15:18:39]RasterBufferAndPrint [15:18:39]line [15:18:39]line [15:18:39]line [15:18:39]line [15:18:39]line [15:18:39]written 0, free lines is 3276 [15:18:39]MH_Cut [15:18:39]Write to MH i2c: D1 01 00 61 69 01 9C [15:18:39]Write i2c OK [15:18:39]MH_I2C_Read... [15:18:39]Read from MH i2c: D1 [15:18:39]MH_I2C_Read... [15:18:39]Read from MH i2c: D1 01 00 [15:18:39]MH_I2C_Read... [15:18:39]Read from MH i2c: D1 01 00 61 69 00 9B [15:18:39]Write to MH i2c: 01 00 00 62 69 CB [15:18:39]Write i2c OK [15:18:39]MH_I2C_Read... [15:18:39]OFD Sender: No OFD packet to send [15:18:40]*** Cut start [15:18:40]*** Partial cut [15:18:40]*** CUTSNS_PIN = 1 [15:18:40]*** CUTSNS_PIN = 0 [15:18:40]*** Brake cut motor [15:18:41]Read from MH i2c: 01 [15:18:41]MH_I2C_Read... [15:18:41]*** Stop cut motor [15:18:41]*** Cut end [15:18:41]Read from MH i2c: 01 07 00 [15:18:41]MH_I2C_Read... [15:18:41]Read from MH i2c: 01 07 00 62 69 00 00 00 00 00 FF 0F E0 [15:18:41]process_action close_receipt done [15:18:41]requested_data is exist [15:18:41]produce_requested_data [15:18:41]requested_item fm.sn is exist - process it [15:18:41]wFMCommunicate request_size=4 [15:18:41]MH_SAM_APDU [15:18:41]CAPDU: 80 11 00 00 [15:18:41]Write to MH i2c: E2 08 00 63 69 80 11 00 00 00 00 00 00 46 [15:18:41]Write i2c OK [15:18:41]MH_I2C_Read... [15:18:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:41]Read from MH i2c: E2 [15:18:41]MH_I2C_Read... [15:18:41]Read from MH i2c: E2 17 00 [15:18:41]MH_I2C_Read... [15:18:41]Read from MH i2c: E2 17 00 63 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 8E [15:18:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:18:41]wFMCommunicate OK [15:18:41]requested_item fd.num is exist - process it [15:18:41]SAM_PROTO_GetFieldsCounters [15:18:41]wFMCommunicate request_size=4 [15:18:41]MH_SAM_APDU [15:18:41]CAPDU: 80 13 00 00 [15:18:41]Write to MH i2c: E2 08 00 64 69 80 13 00 00 00 00 00 00 49 [15:18:41]Write i2c OK [15:18:41]MH_I2C_Read... [15:18:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:18:41]Read from MH i2c: E2 [15:18:41]MH_I2C_Read... [15:18:41]Read from MH i2c: E2 62 00 [15:18:41]MH_I2C_Read... [15:18:41]Read from MH i2c: E2 62 00 64 69 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 68 0A 00 00 0E 04 04 00 18 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 70 [15:18:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 68 0A 00 00 0E 04 04 00 18 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 [15:18:41]wFMCommunicate OK [15:18:41]SAM_PROTO_GetFieldsCounters done [15:18:41]requested_item shift.num is exist - process it [15:18:41]requested_item shift.opened is exist - process it [15:18:41]req_shift_opened [15:18:41]FM_GetShiftState [15:18:41]SAM_PROTO_GetShiftState [15:18:41]wFMCommunicate request_size=4 [15:18:41]MH_SAM_APDU [15:18:41]CAPDU: 80 13 01 00 [15:18:41]Write to MH i2c: E2 08 00 65 69 80 13 01 00 00 00 00 00 4B [15:18:41]Write i2c OK [15:18:41]MH_I2C_Read... [15:18:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:41]Read from MH i2c: E2 [15:18:41]MH_I2C_Read... [15:18:41]Read from MH i2c: E2 0E 00 [15:18:41]MH_I2C_Read... [15:18:41]Read from MH i2c: E2 0E 00 65 69 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 35 [15:18:41]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:18:41]wFMCommunicate OK [15:18:41]SAM_PROTO_GetShiftState done [15:18:41]FM_GetShiftState done [15:18:41]req_shift_opened done [15:18:41]requested_item shift.open_date is exist - process it [15:18:41]req_shift_open_date [15:18:41]req_shift_open_date done [15:18:41]produce_requested_data done [15:18:41]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2664,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [15:18:41]process_action_free close_receipt [15:18:41]json_value_free [15:18:41]json_value_free done [15:18:41]process_json_proto returns [15:18:41]Send response to host [15:18:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2664,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [15:18:41]free response buf [15:18:41]execute_script done [15:18:41]execute_script returns [15:18:41]free content buf [15:18:41]Sock 7.Close socket [15:18:41]Sock 7.Thread stoped [15:18:44]OFD Sender: No OFD packet to send [15:18:49]OFD Sender: No OFD packet to send [15:18:54]OFD Sender: No OFD packet to send [15:18:59]OFD Sender: No OFD packet to send [15:19:04]OFD Sender: No OFD packet to send [15:19:09]OFD Sender: No OFD packet to send [15:19:14]OFD Sender: No OFD packet to send [15:19:19]OFD Sender: No OFD packet to send [15:19:24]OFD Sender: No OFD packet to send [15:19:29]OFD Sender: No OFD packet to send [15:19:34]OFD Sender: No OFD packet to send [15:19:39]OFD Sender: No OFD packet to send [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:59]OFD Sender: No OFD packet to send [15:20:04]OFD Sender: No OFD packet to send [15:20:09]OFD Sender: No OFD packet to send [15:20:14]OFD Sender: No OFD packet to send [15:20:19]OFD Sender: No OFD packet to send [15:20:24]OFD Sender: No OFD packet to send [15:20:29]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]OFD Sender: No OFD packet to send [15:22:05]OFD Sender: No OFD packet to send [15:22:10]OFD Sender: No OFD packet to send [15:22:15]OFD Sender: No OFD packet to send [15:22:20]OFD Sender: No OFD packet to send [15:22:25]OFD Sender: No OFD packet to send [15:22:30]OFD Sender: No OFD packet to send [15:22:35]OFD Sender: No OFD packet to send [15:22:40]OFD Sender: No OFD packet to send [15:22:45]OFD Sender: No OFD packet to send [15:22:50]OFD Sender: No OFD packet to send [15:22:55]OFD Sender: No OFD packet to send [15:23:00]OFD Sender: No OFD packet to send [15:23:05]OFD Sender: No OFD packet to send [15:23:10]OFD Sender: No OFD packet to send [15:23:15]OFD Sender: No OFD packet to send [15:23:20]OFD Sender: No OFD packet to send [15:23:25]OFD Sender: No OFD packet to send [15:23:30]OFD Sender: No OFD packet to send [15:23:35]OFD Sender: No OFD packet to send [15:23:40]OFD Sender: No OFD packet to send [15:23:45]OFD Sender: No OFD packet to send [15:23:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:40]OFD Sender: No OFD packet to send [15:24:45]OFD Sender: No OFD packet to send [15:24:50]OFD Sender: No OFD packet to send [15:24:55]OFD Sender: No OFD packet to send [15:25:00]OFD Sender: No OFD packet to send [15:25:05]OFD Sender: No OFD packet to send [15:25:10]OFD Sender: No OFD packet to send [15:25:15]OFD Sender: No OFD packet to send [15:25:20]OFD Sender: No OFD packet to send [15:25:25]OFD Sender: No OFD packet to send [15:25:30]OFD Sender: No OFD packet to send [15:25:35]OFD Sender: No OFD packet to send [15:25:40]OFD Sender: No OFD packet to send [15:25:45]OFD Sender: No OFD packet to send [15:25:50]OFD Sender: No OFD packet to send [15:25:55]OFD Sender: No OFD packet to send [15:26:00]OFD Sender: No OFD packet to send [15:26:05]OFD Sender: No OFD packet to send [15:26:10]OFD Sender: No OFD packet to send [15:26:15]OFD Sender: No OFD packet to send [15:26:20]OFD Sender: No OFD packet to send [15:26:25]OFD Sender: No OFD packet to send [15:26:30]OFD Sender: No OFD packet to send [15:26:35]OFD Sender: No OFD packet to send [15:26:40]OFD Sender: No OFD packet to send [15:26:45]OFD Sender: No OFD packet to send [15:26:50]OFD Sender: No OFD packet to send [15:26:55]OFD Sender: No OFD packet to send [15:27:00]OFD Sender: No OFD packet to send [15:27:05]OFD Sender: No OFD packet to send [15:27:10]OFD Sender: No OFD packet to send [15:27:15]OFD Sender: No OFD packet to send [15:27:20]OFD Sender: No OFD packet to send [15:27:25]OFD Sender: No OFD packet to send [15:27:30]OFD Sender: No OFD packet to send [15:27:35]OFD Sender: No OFD packet to send [15:27:40]OFD Sender: No OFD packet to send [15:27:45]OFD Sender: No OFD packet to send [15:27:50]OFD Sender: No OFD packet to send [15:27:55]OFD Sender: No OFD packet to send [15:28:00]OFD Sender: No OFD packet to send [15:28:05]OFD Sender: No OFD packet to send [15:28:10]OFD Sender: No OFD packet to send [15:28:15]OFD Sender: No OFD packet to send [15:28:20]OFD Sender: No OFD packet to send [15:28:25]OFD Sender: No OFD packet to send [15:28:30]OFD Sender: No OFD packet to send [15:28:35]OFD Sender: No OFD packet to send [15:28:40]OFD Sender: No OFD packet to send [15:28:45]OFD Sender: No OFD packet to send [15:28:50]OFD Sender: No OFD packet to send [15:28:55]OFD Sender: No OFD packet to send [15:29:00]OFD Sender: No OFD packet to send [15:29:05]OFD Sender: No OFD packet to send [15:29:10]OFD Sender: No OFD packet to send [15:29:15]OFD Sender: No OFD packet to send [15:29:20]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:15]OFD Sender: No OFD packet to send [15:31:20]OFD Sender: No OFD packet to send [15:31:25]OFD Sender: No OFD packet to send [15:31:30]OFD Sender: No OFD packet to send [15:31:35]OFD Sender: No OFD packet to send [15:31:40]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:25]OFD Sender: No OFD packet to send [15:32:30]OFD Sender: No OFD packet to send [15:32:35]OFD Sender: No OFD packet to send [15:32:40]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:50]OFD Sender: No OFD packet to send [15:32:55]OFD Sender: No OFD packet to send [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:40]OFD Sender: No OFD packet to send [15:33:45]OFD Sender: No OFD packet to send [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:27]accept exits with 9 [15:37:27]New connection [15:37:27]New thread 3066707300 created [15:37:27]Thread 3066850660 joined [15:37:27]Waiting for new connection... [15:37:27] Sock 9.Parse request [15:37:27]Sock 9.Check first char [15:37:27]Sock 9.First char is OK [15:37:27]request: POST /json_proto HTTP/1.0 [15:37:27]Method: POST [15:37:27]URL: /json_proto [15:37:27]Method is POST - this is cgi request [15:37:27]url: /json_proto [15:37:27]query_string will be loaded in cgi processing [15:37:27]execute_cgi json_proto POST (null) [15:37:27]execute_cgi path=json_proto method=POST [15:37:27]POST find Content-Length [15:37:27]Host: 172.17.52.132:8080 [15:37:27]Content-Length: 668 [15:37:27]Content-Type: application/json [15:37:27] [15:37:27]POST finish read [15:37:27]Found Content-Length = 668 [15:37:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100043", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:37:27]execute_script... [15:37:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100043", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:37:27]POST & json_proto [15:37:27]process_json_proto [15:37:27]json parsed OK: [15:37:27]protocol is kg_v1.0 [15:37:27]action value=close_receipt [15:37:27]process_action close_receipt [15:37:27]cmd_close_receipt [15:37:27]MH_GetDate [15:37:27]Write to MH i2c: F0 00 00 66 69 BE [15:37:27]Write i2c OK [15:37:27]MH_I2C_Read... [15:37:27]Read from MH i2c: F0 [15:37:27]MH_I2C_Read... [15:37:27]Read from MH i2c: F0 09 00 [15:37:27]MH_I2C_Read... [15:37:27]Read from MH i2c: F0 09 00 66 69 00 C7 23 15 67 5A BE F6 66 A1 [15:37:27]GetLastDocTimeStamp 1729437532 [15:37:27]current date 1729438663 [15:37:27]FM_GetShiftState [15:37:27]SAM_PROTO_GetShiftState [15:37:27]wFMCommunicate request_size=4 [15:37:27]MH_SAM_APDU [15:37:27]CAPDU: 80 13 01 00 [15:37:27]Write to MH i2c: E2 08 00 67 69 80 13 01 00 00 00 00 00 4D [15:37:27]Write i2c OK [15:37:27]MH_I2C_Read... [15:37:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:37:27]Read from MH i2c: E2 [15:37:27]MH_I2C_Read... [15:37:27]Read from MH i2c: E2 0E 00 [15:37:27]MH_I2C_Read... [15:37:27]Read from MH i2c: E2 0E 00 67 69 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 37 [15:37:27]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:37:27]wFMCommunicate OK [15:37:27]SAM_PROTO_GetShiftState done [15:37:27]FM_GetShiftState done [15:37:27]opened in 1729382427 [15:37:27]opened+sec_in_day 1729468827 [15:37:27]quantity*price = 11900 [15:37:27]sum+1 = 11901 [15:37:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 46 20.10.2024 15:37 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2665 ФПД: 55147607669228 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T153743&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2665&fm=55147607669228&tin=02508201610067®Number=0000000000207295&sum=11900 0 [15:37:28]StoreToDocumentArchive [15:37:28]shift 24 fd 2665 [15:37:28]save to /storage/0024/doc_00002665 [15:37:28]save last doc name /storage/0024/doc_00002665 to /storage/kkm_last_doc_name [15:37:28]save OK [15:37:28]Clear old archive folders... [15:37:28]ProcessDocumentItem done err = 0, tmpTLVsize=296 [15:37:28]tlvbuf is 01563E60 [15:37:28]SAM_PROTO_ClearQueue [15:37:28]wFMCommunicate request_size=4 [15:37:28]MH_SAM_APDU [15:37:28]CAPDU: 80 09 00 00 [15:37:28]Write to MH i2c: E2 08 00 74 69 80 09 00 00 00 00 00 00 4F [15:37:28]Write i2c OK [15:37:28]MH_I2C_Read... [15:37:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:37:28]Read from MH i2c: E2 [15:37:28]MH_I2C_Read... [15:37:28]Read from MH i2c: E2 03 00 [15:37:28]MH_I2C_Read... [15:37:28]Read from MH i2c: E2 03 00 74 69 00 90 00 51 [15:37:28]RAPDU: 90 00 [15:37:28]wFMCommunicate OK [15:37:28]SAM_PROTO_ClearQueue done [15:37:28]KKMCreateOFDPacket [15:37:28]OFDProtocolAddRootSTLVToBuf [15:37:28]FM_MakeSignedData [15:37:28]FM_MakeSignedData [15:37:28]SAM_PROTO_SignData [15:37:28]wFMCommunicate request_size=4 [15:37:28]MH_SAM_APDU [15:37:28]CAPDU: 80 0D 01 02 [15:37:28]Write to MH i2c: E2 08 00 75 69 80 0D 01 02 00 00 00 00 57 [15:37:28]Write i2c OK [15:37:28]MH_I2C_Read... [15:37:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:37:28]Read from MH i2c: E2 [15:37:28]MH_I2C_Read... [15:37:28]Read from MH i2c: E2 03 00 [15:37:28]MH_I2C_Read... [15:37:28]Read from MH i2c: E2 03 00 75 69 00 90 00 52 [15:37:28]RAPDU: 90 00 [15:37:28]wFMCommunicate OK [15:37:28]wFMCommunicate request_size=255 [15:37:28]MH_SAM_APDU [15:37:28]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 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 C7 23 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [15:37:28]Write to MH i2c: E2 02 01 76 69 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 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 C7 23 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 1A [15:37:28]Write i2c OK [15:37:28]MH_I2C_Read... [15:37:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:37:29]Read from MH i2c: E2 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 03 00 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 03 00 76 69 00 90 00 53 [15:37:29]RAPDU: 90 00 [15:37:29]wFMCommunicate OK [15:37:29]wFMCommunicate request_size=55 [15:37:29]MH_SAM_APDU [15:37:29]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 69 0A 00 00 35 04 06 00 32 28 0D 90 B9 EC [15:37:29]Write to MH i2c: E2 3A 00 77 69 80 0D 02 02 32 00 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 69 0A 00 00 35 04 06 00 32 28 0D 90 B9 EC 00 00 B7 [15:37:29]Write i2c OK [15:37:29]MH_I2C_Read... [15:37:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:37:29]Read from MH i2c: E2 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 03 00 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 03 00 77 69 00 90 00 54 [15:37:29]RAPDU: 90 00 [15:37:29]wFMCommunicate OK [15:37:29]wFMCommunicate request_size=4 [15:37:29]MH_SAM_APDU [15:37:29]CAPDU: 80 0D 03 02 [15:37:29]Write to MH i2c: E2 08 00 78 69 80 0D 03 02 00 00 00 00 5C [15:37:29]Write i2c OK [15:37:29]MH_I2C_Read... [15:37:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:37:29]Read from MH i2c: E2 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 0B 00 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 0B 00 78 69 00 07 F7 39 E9 FD 0C F2 CF 90 00 47 [15:37:29]RAPDU: 07 F7 39 E9 FD 0C F2 CF 90 00 [15:37:29]wFMCommunicate OK [15:37:29]SAM_PROTO_SignData done [15:37:29]FM_MakeSignedData done [15:37:29]CreateOFDProtocolMessage [15:37:29]wFMCommunicate request_size=4 [15:37:29]MH_SAM_APDU [15:37:29]CAPDU: 80 11 00 00 [15:37:29]Write to MH i2c: E2 08 00 79 69 80 11 00 00 00 00 00 00 5C [15:37:29]Write i2c OK [15:37:29]MH_I2C_Read... [15:37:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:37:29]Read from MH i2c: E2 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 17 00 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 17 00 79 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A4 [15:37:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:37:29]wFMCommunicate OK [15:37:29]CreateOFDProtocolMessage done [15:37:29]OFDSenderStorePacket 2665 [15:37:29]StoreOFDPacket docnum=2665 [15:37:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3C 01 00 00 C8 F3 34 01 54 EE 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 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 C7 23 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 69 0A 00 00 35 04 06 00 32 28 0D 90 B9 EC 07 F7 39 E9 FD 0C F2 CF [15:37:29]CheckFolder [15:37:29]dirname=/storage/ofd_packets [15:37:29]CheckFolder done [15:37:29]ProducePacketName [15:37:29]name=ofd_packets/00002665 [15:37:29]NVStorageSaveData ofd_packets/00002665 [15:37:29]File name is /storage/ofd_packets/00002665 [15:37:29]Write 346 bytes [15:37:29]NVStorageSaveData done [15:37:29]OFDSenderStorePacket done [15:37:29]KKMCreateOFDPacket done [15:37:29]NVStorageSaveData kkm_last_timestamp [15:37:29]File name is /storage/kkm_last_timestamp [15:37:29]Write 4 bytes [15:37:29]NVStorageSaveData done [15:37:29]ExternCall_PrintAddStr [15:37:29]wPrintStart [15:37:29]Write to MH i2c: 01 00 00 7A 69 E3 [15:37:29]OFD Sender: Processing packet 2665 [packets to send 1, broken 0] [15:37:29]ProducePacketName [15:37:29]name=ofd_packets/00002665 [15:37:29]OFD Sender: To server: pG, [15:37:29]CommunicateWithHost lk.salyk.kg:30040 [15:37:29]ConnectInit lk.salyk.kg [15:37:29]Write i2c OK [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: 01 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: 01 07 00 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: 01 07 00 7A 69 00 00 00 00 00 FF 0F F8 [15:37:29]RasterBufferAndPrint [15:37:29]line Счет N : (3)100043 [15:37:29]line ИНН: 02508201610067 [15:37:29]line Контрольно-Кассовый Чек [15:37:29]line ПРОДАЖА [15:37:29]line Товар: 4870002329951 [15:37:29]line Напиток Lipton IceTea 1л зел чай Regular [15:37:29]line 1.000 * 119.00 [15:37:29]line = 119.00 [15:37:29]line НДС 12% НСП 1% [15:37:29]line > о реализуемом товаре [15:37:29]line ИТОГО: 119.00 [15:37:29]line НСП 1% : 1.05 [15:37:29]line НДС 12% : 12.64 [15:37:29]line Наличными: 119.00 [15:37:29]line Безнал.: 0.00 [15:37:29]line Место: АЗС № 162 "Партнер Нефть" [15:37:29]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:37:29]line СНО: Общий режим [15:37:29]line Чек 46 20.10.2024 15:37 [15:37:29]line Смена: 24 ФФД: 1.0 [15:37:29]line ЗНМ: 0300000191 [15:37:29]line РНМ: 0000000000207295 [15:37:29]line Версия ККМ: v1.0 [15:37:29]line ФМ: 0000000002342820 [15:37:29]line ФД: 2665 [15:37:29]line ФПД: 55147607669228 [15:37:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T153743&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2665&fm=55147607669228&tin=02508201610067®Number=0000000000207295&sum=11900 [15:37:29]line 0 [15:37:29]Connected sock=10 [15:37:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3C 01 00 00 C8 F3 34 01 54 EE 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 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 C7 23 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 69 0A 00 00 35 04 06 00 32 28 0D 90 B9 EC 07 F7 39 E9 FD 0C F2 CF [15:37:29]written 0, free lines is 4095 [15:37:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D6 1D 47 00 B8 E3 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 33 34 32 38 32 30 10 04 04 00 69 0A 00 00 F4 03 04 00 24 CF 14 67 B6 04 01 00 00 C3 C1 82 9D F2 0B 49 E1 [15:37:29]CommunicateWithHost err = 0 [15:37:29]CheckOFDResponse [15:37:29]1017 (14) - 77093643461234 [15:37:29]1041 (16) - 0000000002342820 [15:37:29]1040 (4) - 2665 [15:37:29]1012 (4) - 20.10.2024 09:36 [15:37:29]1206 (1) - 0 [15:37:29]OFD Sender: Remove packet 2665 [15:37:29]ProducePacketName [15:37:29]name=ofd_packets/00002665 [15:37:29]NVStorageDeleteData [15:37:30]Write to MH i2c: 01 00 00 A3 69 0C [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: 01 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: 01 07 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: 01 07 00 A3 69 00 00 00 00 00 B4 0C D3 [15:37:30]RasterBufferAndPrint [15:37:30]line [15:37:30]line [15:37:30]line [15:37:30]line [15:37:30]line [15:37:30]written 0, free lines is 3258 [15:37:30]MH_Cut [15:37:30]Write to MH i2c: D1 01 00 AA 69 01 E5 [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: D1 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: D1 01 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: D1 01 00 AA 69 00 E4 [15:37:30]Write to MH i2c: 01 00 00 AB 69 14 [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]OFD Sender: No OFD packet to send [15:37:30]*** Cut start [15:37:30]*** Partial cut [15:37:30]*** CUTSNS_PIN = 1 [15:37:31]*** CUTSNS_PIN = 0 [15:37:31]*** Brake cut motor [15:37:31]Read from MH i2c: 01 [15:37:31]MH_I2C_Read... [15:37:31]*** Stop cut motor [15:37:31]*** Cut end [15:37:31]Read from MH i2c: 01 07 00 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: 01 07 00 AB 69 00 00 00 00 00 FF 0F 29 [15:37:31]process_action close_receipt done [15:37:31]requested_data is exist [15:37:31]produce_requested_data [15:37:31]requested_item fm.sn is exist - process it [15:37:31]wFMCommunicate request_size=4 [15:37:31]MH_SAM_APDU [15:37:31]CAPDU: 80 11 00 00 [15:37:31]Write to MH i2c: E2 08 00 AC 69 80 11 00 00 00 00 00 00 8F [15:37:31]Write i2c OK [15:37:31]MH_I2C_Read... [15:37:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:37:31]Read from MH i2c: E2 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 17 00 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 17 00 AC 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D7 [15:37:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:37:31]wFMCommunicate OK [15:37:31]requested_item fd.num is exist - process it [15:37:31]SAM_PROTO_GetFieldsCounters [15:37:31]wFMCommunicate request_size=4 [15:37:31]MH_SAM_APDU [15:37:31]CAPDU: 80 13 00 00 [15:37:31]Write to MH i2c: E2 08 00 AD 69 80 13 00 00 00 00 00 00 92 [15:37:31]Write i2c OK [15:37:31]MH_I2C_Read... [15:37:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:37:31]Read from MH i2c: E2 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 62 00 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 62 00 AD 69 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 69 0A 00 00 0E 04 04 00 18 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 BD [15:37:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 69 0A 00 00 0E 04 04 00 18 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 [15:37:31]wFMCommunicate OK [15:37:31]SAM_PROTO_GetFieldsCounters done [15:37:31]requested_item shift.num is exist - process it [15:37:31]requested_item shift.opened is exist - process it [15:37:31]req_shift_opened [15:37:31]FM_GetShiftState [15:37:31]SAM_PROTO_GetShiftState [15:37:31]wFMCommunicate request_size=4 [15:37:31]MH_SAM_APDU [15:37:31]CAPDU: 80 13 01 00 [15:37:31]Write to MH i2c: E2 08 00 AE 69 80 13 01 00 00 00 00 00 94 [15:37:31]Write i2c OK [15:37:31]MH_I2C_Read... [15:37:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:37:31]Read from MH i2c: E2 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 0E 00 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 0E 00 AE 69 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 7E [15:37:31]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:37:31]wFMCommunicate OK [15:37:31]SAM_PROTO_GetShiftState done [15:37:31]FM_GetShiftState done [15:37:31]req_shift_opened done [15:37:31]requested_item shift.open_date is exist - process it [15:37:31]req_shift_open_date [15:37:31]req_shift_open_date done [15:37:31]produce_requested_data done [15:37:31]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2665,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [15:37:31]process_action_free close_receipt [15:37:31]json_value_free [15:37:31]json_value_free done [15:37:31]process_json_proto returns [15:37:31]Send response to host [15:37:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2665,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [15:37:31]free response buf [15:37:31]execute_script done [15:37:31]execute_script returns [15:37:31]free content buf [15:37:31]Sock 9.Close socket [15:37:31]Sock 9.Thread stoped [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:55]OFD Sender: No OFD packet to send [15:38:00]OFD Sender: No OFD packet to send [15:38:05]OFD Sender: No OFD packet to send [15:38:10]OFD Sender: No OFD packet to send [15:38:15]OFD Sender: No OFD packet to send [15:38:20]OFD Sender: No OFD packet to send [15:38:25]OFD Sender: No OFD packet to send [15:38:30]OFD Sender: No OFD packet to send [15:38:35]OFD Sender: No OFD packet to send [15:38:40]OFD Sender: No OFD packet to send [15:38:45]OFD Sender: No OFD packet to send [15:38:50]OFD Sender: No OFD packet to send [15:38:55]OFD Sender: No OFD packet to send [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:35]OFD Sender: No OFD packet to send [15:39:40]OFD Sender: No OFD packet to send [15:39:45]OFD Sender: No OFD packet to send [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:55]OFD Sender: No OFD packet to send [15:42:00]OFD Sender: No OFD packet to send [15:42:05]OFD Sender: No OFD packet to send [15:42:10]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:44:00]OFD Sender: No OFD packet to send [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:45:56]accept exits with 7 [15:45:56]New connection [15:45:56]New thread 3066850660 created [15:45:56]Thread 3066707300 joined [15:45:56]Waiting for new connection... [15:45:56] Sock 7.Parse request [15:45:56]Sock 7.Check first char [15:45:56]Sock 7.First char is OK [15:45:56]request: POST /json_proto HTTP/1.0 [15:45:56]Method: POST [15:45:56]URL: /json_proto [15:45:56]Method is POST - this is cgi request [15:45:56]url: /json_proto [15:45:56]query_string will be loaded in cgi processing [15:45:56]execute_cgi json_proto POST (null) [15:45:56]execute_cgi path=json_proto method=POST [15:45:56]POST find Content-Length [15:45:56]Host: 172.17.52.132:8080 [15:45:56]Content-Length: 650 [15:45:56]Content-Type: application/json [15:45:56] [15:45:56]POST finish read [15:45:56]Found Content-Length = 650 [15:45:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100044", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:56]execute_script... [15:45: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)100044", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:56]POST & json_proto [15:45:56]process_json_proto [15:45:56]json parsed OK: [15:45:56]protocol is kg_v1.0 [15:45:56]action value=close_receipt [15:45:56]process_action close_receipt [15:45:56]cmd_close_receipt [15:45:56]MH_GetDate [15:45:56]Write to MH i2c: F0 00 00 AF 69 07 [15:45:56]Write i2c OK [15:45:56]MH_I2C_Read... [15:45:56]Read from MH i2c: F0 [15:45:56]MH_I2C_Read... [15:45:56]Read from MH i2c: F0 09 00 [15:45:56]MH_I2C_Read... [15:45:56]Read from MH i2c: F0 09 00 AF 69 00 C4 25 15 67 5A BE F6 66 E9 [15:45:56]GetLastDocTimeStamp 1729438663 [15:45:56]current date 1729439172 [15:45:56]FM_GetShiftState [15:45:56]SAM_PROTO_GetShiftState [15:45:56]wFMCommunicate request_size=4 [15:45:56]MH_SAM_APDU [15:45:56]CAPDU: 80 13 01 00 [15:45:56]Write to MH i2c: E2 08 00 B0 69 80 13 01 00 00 00 00 00 96 [15:45:56]Write i2c OK [15:45:56]MH_I2C_Read... [15:45:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:56]Read from MH i2c: E2 [15:45:56]MH_I2C_Read... [15:45:56]Read from MH i2c: E2 0E 00 [15:45:56]MH_I2C_Read... [15:45:56]Read from MH i2c: E2 0E 00 B0 69 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 80 [15:45:56]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:45:56]wFMCommunicate OK [15:45:56]SAM_PROTO_GetShiftState done [15:45:56]FM_GetShiftState done [15:45:56]opened in 1729382427 [15:45:56]opened+sec_in_day 1729468827 [15:45:56]quantity*price = 7500 [15:45:56]sum+1 = 7501 [15:45:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 47 20.10.2024 15:46 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2666 ФПД: 251954270664191 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T154612&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2666&fm=251954270664191&tin=02508201610067®Number=0000000000207295&sum=7500 0 [15:45:57]StoreToDocumentArchive [15:45:57]shift 24 fd 2666 [15:45:57]save to /storage/0024/doc_00002666 [15:45:57]save last doc name /storage/0024/doc_00002666 to /storage/kkm_last_doc_name [15:45:57]save OK [15:45:57]Clear old archive folders... [15:45:57]ProcessDocumentItem done err = 0, tmpTLVsize=285 [15:45:57]tlvbuf is 01517300 [15:45:57]SAM_PROTO_ClearQueue [15:45:57]wFMCommunicate request_size=4 [15:45:57]MH_SAM_APDU [15:45:57]CAPDU: 80 09 00 00 [15:45:57]Write to MH i2c: E2 08 00 BD 69 80 09 00 00 00 00 00 00 98 [15:45:57]Write i2c OK [15:45:57]MH_I2C_Read... [15:45:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:45:57]Read from MH i2c: E2 [15:45:57]MH_I2C_Read... [15:45:57]Read from MH i2c: E2 03 00 [15:45:57]MH_I2C_Read... [15:45:57]Read from MH i2c: E2 03 00 BD 69 00 90 00 9A [15:45:57]RAPDU: 90 00 [15:45:57]wFMCommunicate OK [15:45:57]SAM_PROTO_ClearQueue done [15:45:57]KKMCreateOFDPacket [15:45:57]OFDProtocolAddRootSTLVToBuf [15:45:57]FM_MakeSignedData [15:45:57]FM_MakeSignedData [15:45:57]SAM_PROTO_SignData [15:45:57]wFMCommunicate request_size=4 [15:45:57]MH_SAM_APDU [15:45:57]CAPDU: 80 0D 01 02 [15:45:57]Write to MH i2c: E2 08 00 BE 69 80 0D 01 02 00 00 00 00 A0 [15:45:57]Write i2c OK [15:45:57]MH_I2C_Read... [15:45:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:45:57]Read from MH i2c: E2 [15:45:57]MH_I2C_Read... [15:45:57]Read from MH i2c: E2 03 00 [15:45:57]MH_I2C_Read... [15:45:57]Read from MH i2c: E2 03 00 BE 69 00 90 00 9B [15:45:57]RAPDU: 90 00 [15:45:57]wFMCommunicate OK [15:45:57]wFMCommunicate request_size=255 [15:45:57]MH_SAM_APDU [15:45:57]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 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C4 25 15 67 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 32 30 37 32 39 [15:45:57]Write to MH i2c: E2 02 01 BF 69 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 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C4 25 15 67 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 32 30 37 32 39 00 00 51 [15:45:57]Write i2c OK [15:45:57]MH_I2C_Read... [15:45:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:58]Read from MH i2c: E2 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: E2 03 00 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: E2 03 00 BF 69 00 90 00 9C [15:45:58]RAPDU: 90 00 [15:45:58]wFMCommunicate OK [15:45:58]wFMCommunicate request_size=44 [15:45:58]MH_SAM_APDU [15:45:58]CAPDU: 80 0D 02 02 27 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6A 0A 00 00 35 04 06 00 E5 26 AC CD 75 FF [15:45:58]Write to MH i2c: E2 2F 00 C0 69 80 0D 02 02 27 00 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6A 0A 00 00 35 04 06 00 E5 26 AC CD 75 FF 00 00 23 [15:45:58]Write i2c OK [15:45:58]MH_I2C_Read... [15:45:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:58]Read from MH i2c: E2 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: E2 03 00 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: E2 03 00 C0 69 00 90 00 9D [15:45:58]RAPDU: 90 00 [15:45:58]wFMCommunicate OK [15:45:58]wFMCommunicate request_size=4 [15:45:58]MH_SAM_APDU [15:45:58]CAPDU: 80 0D 03 02 [15:45:58]Write to MH i2c: E2 08 00 C1 69 80 0D 03 02 00 00 00 00 A5 [15:45:58]Write i2c OK [15:45:58]MH_I2C_Read... [15:45:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:45:58]Read from MH i2c: E2 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: E2 0B 00 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: E2 0B 00 C1 69 00 11 34 55 03 E2 80 85 F6 90 00 20 [15:45:58]RAPDU: 11 34 55 03 E2 80 85 F6 90 00 [15:45:58]wFMCommunicate OK [15:45:58]SAM_PROTO_SignData done [15:45:58]FM_MakeSignedData done [15:45:58]CreateOFDProtocolMessage [15:45:58]wFMCommunicate request_size=4 [15:45:58]MH_SAM_APDU [15:45:58]CAPDU: 80 11 00 00 [15:45:58]Write to MH i2c: E2 08 00 C2 69 80 11 00 00 00 00 00 00 A5 [15:45:58]Write i2c OK [15:45:58]MH_I2C_Read... [15:45:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:58]Read from MH i2c: E2 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: E2 17 00 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: E2 17 00 C2 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 ED [15:45:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:45:58]wFMCommunicate OK [15:45:58]CreateOFDProtocolMessage done [15:45:58]OFDSenderStorePacket 2666 [15:45:58]StoreOFDPacket docnum=2666 [15:45:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 31 01 00 00 1A 54 29 01 1C 0C 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 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C4 25 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6A 0A 00 00 35 04 06 00 E5 26 AC CD 75 FF 11 34 55 03 E2 80 85 F6 [15:45:58]CheckFolder [15:45:58]dirname=/storage/ofd_packets [15:45:58]CheckFolder done [15:45:58]ProducePacketName [15:45:58]name=ofd_packets/00002666 [15:45:58]NVStorageSaveData ofd_packets/00002666 [15:45:58]File name is /storage/ofd_packets/00002666 [15:45:58]Write 335 bytes [15:45:58]NVStorageSaveData done [15:45:58]OFDSenderStorePacket done [15:45:58]KKMCreateOFDPacket done [15:45:58]NVStorageSaveData kkm_last_timestamp [15:45:58]File name is /storage/kkm_last_timestamp [15:45:58]Write 4 bytes [15:45:58]NVStorageSaveData done [15:45:58]ExternCall_PrintAddStr [15:45:58]wPrintStart [15:45:58]Write to MH i2c: 01 00 00 C3 69 2C [15:45:58]Write i2c OK [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: 01 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: 01 07 00 [15:45:58]MH_I2C_Read... [15:45:58]Read from MH i2c: 01 07 00 C3 69 00 00 00 00 00 FF 0F 41 [15:45:58]RasterBufferAndPrint [15:45:58]line Счет N : (3)100044 [15:45:58]line ИНН: 02508201610067 [15:45:58]line Контрольно-Кассовый Чек [15:45:58]line ПРОДАЖА [15:45:58]line Товар: 4870112002775 [15:45:58]line Шок батончик ALBENI BITES 80гр [15:45:58]line 1.000 * 75.00 [15:45:58]line = 75.00 [15:45:58]line НДС 12% НСП 1% [15:45:58]line > о реализуемом товаре [15:45:58]line ИТОГО: 75.00 [15:45:58]line НСП 1% : 0.66 [15:45:58]line НДС 12% : 7.96 [15:45:58]line Наличными: 75.00 [15:45:58]line Безнал.: 0.00 [15:45:58]line Место: АЗС № 162 "Партнер Нефть" [15:45:58]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:45:58]line СНО: Общий режим [15:45:58]line Чек 47 20.10.2024 15:46 [15:45:58]line Смена: 24 ФФД: 1.0 [15:45:58]line ЗНМ: 0300000191 [15:45:58]line РНМ: 0000000000207295 [15:45:58]line Версия ККМ: v1.0 [15:45:58]line ФМ: 0000000002342820 [15:45:58]line ФД: 2666 [15:45:58]line ФПД: 251954270664191 [15:45:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T154612&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2666&fm=251954270664191&tin=02508201610067®Number=0000000000207295&sum=7500 [15:45:58]line 0 [15:45:58]OFD Sender: Processing packet 2666 [packets to send 1, broken 0] [15:45:58]ProducePacketName [15:45:58]name=ofd_packets/00002666 [15:45:58]OFD Sender: To server: pG, [15:45:58]CommunicateWithHost lk.salyk.kg:30040 [15:45:58]ConnectInit lk.salyk.kg [15:45:58]written 0, free lines is 4095 [15:45:58]Connected sock=10 [15:45:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 31 01 00 00 1A 54 29 01 1C 0C 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 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C4 25 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6A 0A 00 00 35 04 06 00 E5 26 AC CD 75 FF 11 34 55 03 E2 80 85 F6 [15:45:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 1F 59 47 00 27 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 33 34 32 38 32 30 10 04 04 00 6A 0A 00 00 F4 03 04 00 21 D1 14 67 B6 04 01 00 00 08 32 69 AD 4E 0C 0D D4 [15:45:58]CommunicateWithHost err = 0 [15:45:58]CheckOFDResponse [15:45:58]1017 (14) - 77093643461234 [15:45:58]1041 (16) - 0000000002342820 [15:45:58]1040 (4) - 2666 [15:45:58]1012 (4) - 20.10.2024 09:45 [15:45:58]1206 (1) - 0 [15:45:58]OFD Sender: Remove packet 2666 [15:45:58]ProducePacketName [15:45:58]name=ofd_packets/00002666 [15:45:58]NVStorageDeleteData [15:45:59]Write to MH i2c: 01 00 00 EC 69 55 [15:45:59]Write i2c OK [15:45:59]MH_I2C_Read... [15:45:59]Read from MH i2c: 01 [15:45:59]MH_I2C_Read... [15:45:59]Read from MH i2c: 01 07 00 [15:45:59]MH_I2C_Read... [15:45:59]Read from MH i2c: 01 07 00 EC 69 00 00 00 00 00 AD 0C 15 [15:45:59]RasterBufferAndPrint [15:45:59]line [15:45:59]line [15:45:59]line [15:45:59]line [15:45:59]line [15:45:59]written 0, free lines is 3248 [15:45:59]MH_Cut [15:45:59]Write to MH i2c: D1 01 00 F3 69 01 2E [15:45:59]Write i2c OK [15:45:59]MH_I2C_Read... [15:45:59]Read from MH i2c: D1 [15:45:59]MH_I2C_Read... [15:45:59]Read from MH i2c: D1 01 00 [15:45:59]MH_I2C_Read... [15:45:59]Read from MH i2c: D1 01 00 F3 69 00 2D [15:45:59]Write to MH i2c: 01 00 00 F4 69 5D [15:45:59]Write i2c OK [15:45:59]MH_I2C_Read... [15:45:59]OFD Sender: No OFD packet to send [15:45:59]*** Cut start [15:45:59]*** Partial cut [15:45:59]*** CUTSNS_PIN = 1 [15:46:00]*** CUTSNS_PIN = 0 [15:46:00]*** Brake cut motor [15:46:00]Read from MH i2c: 01 [15:46:00]MH_I2C_Read... [15:46:00]*** Stop cut motor [15:46:00]*** Cut end [15:46:00]Read from MH i2c: 01 07 00 [15:46:00]MH_I2C_Read... [15:46:00]Read from MH i2c: 01 07 00 F4 69 00 00 00 00 00 FF 0F 72 [15:46:00]process_action close_receipt done [15:46:00]requested_data is exist [15:46:00]produce_requested_data [15:46:00]requested_item fm.sn is exist - process it [15:46:00]wFMCommunicate request_size=4 [15:46:00]MH_SAM_APDU [15:46:00]CAPDU: 80 11 00 00 [15:46:00]Write to MH i2c: E2 08 00 F5 69 80 11 00 00 00 00 00 00 D8 [15:46:00]Write i2c OK [15:46:00]MH_I2C_Read... [15:46:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:46:00]Read from MH i2c: E2 [15:46:00]MH_I2C_Read... [15:46:00]Read from MH i2c: E2 17 00 [15:46:00]MH_I2C_Read... [15:46:00]Read from MH i2c: E2 17 00 F5 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 20 [15:46:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:46:00]wFMCommunicate OK [15:46:00]requested_item fd.num is exist - process it [15:46:00]SAM_PROTO_GetFieldsCounters [15:46:00]wFMCommunicate request_size=4 [15:46:00]MH_SAM_APDU [15:46:00]CAPDU: 80 13 00 00 [15:46:00]Write to MH i2c: E2 08 00 F6 69 80 13 00 00 00 00 00 00 DB [15:46:00]Write i2c OK [15:46:00]MH_I2C_Read... [15:46:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:46:00]Read from MH i2c: E2 [15:46:00]MH_I2C_Read... [15:46:00]Read from MH i2c: E2 62 00 [15:46:00]MH_I2C_Read... [15:46:00]Read from MH i2c: E2 62 00 F6 69 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6A 0A 00 00 0E 04 04 00 18 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 0A [15:46:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6A 0A 00 00 0E 04 04 00 18 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 [15:46:00]wFMCommunicate OK [15:46:00]SAM_PROTO_GetFieldsCounters done [15:46:00]requested_item shift.num is exist - process it [15:46:00]requested_item shift.opened is exist - process it [15:46:00]req_shift_opened [15:46:00]FM_GetShiftState [15:46:00]SAM_PROTO_GetShiftState [15:46:00]wFMCommunicate request_size=4 [15:46:00]MH_SAM_APDU [15:46:00]CAPDU: 80 13 01 00 [15:46:00]Write to MH i2c: E2 08 00 F7 69 80 13 01 00 00 00 00 00 DD [15:46:00]Write i2c OK [15:46:00]MH_I2C_Read... [15:46:00]Read from MH i2c: E2 [15:46:00]MH_I2C_Read... [15:46:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:46:00]Read from MH i2c: E2 0E 00 [15:46:00]MH_I2C_Read... [15:46:00]Read from MH i2c: E2 0E 00 F7 69 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C7 [15:46:00]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:46:00]wFMCommunicate OK [15:46:00]SAM_PROTO_GetShiftState done [15:46:00]FM_GetShiftState done [15:46:00]req_shift_opened done [15:46:00]requested_item shift.open_date is exist - process it [15:46:00]req_shift_open_date [15:46:00]req_shift_open_date done [15:46:00]produce_requested_data done [15:46:00]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2666,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [15:46:00]process_action_free close_receipt [15:46:00]json_value_free [15:46:00]json_value_free done [15:46:00]process_json_proto returns [15:46:00]Send response to host [15:46:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2666,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [15:46:00]free response buf [15:46:00]execute_script done [15:46:00]execute_script returns [15:46:00]free content buf [15:46:00]Sock 7.Close socket [15:46:00]Sock 7.Thread stoped [15:46:04]OFD Sender: No OFD packet to send [15:46:09]OFD Sender: No OFD packet to send [15:46:14]OFD Sender: No OFD packet to send [15:46:19]OFD Sender: No OFD packet to send [15:46:24]OFD Sender: No OFD packet to send [15:46:29]OFD Sender: No OFD packet to send [15:46:34]OFD Sender: No OFD packet to send [15:46:39]OFD Sender: No OFD packet to send [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:34]OFD Sender: No OFD packet to send [15:47:39]OFD Sender: No OFD packet to send [15:47:44]OFD Sender: No OFD packet to send [15:47:49]OFD Sender: No OFD packet to send [15:47:54]OFD Sender: No OFD packet to send [15:47:59]OFD Sender: No OFD packet to send [15:48:04]OFD Sender: No OFD packet to send [15:48:09]OFD Sender: No OFD packet to send [15:48:14]OFD Sender: No OFD packet to send [15:48:19]OFD Sender: No OFD packet to send [15:48:24]OFD Sender: No OFD packet to send [15:48:29]OFD Sender: No OFD packet to send [15:48:34]OFD Sender: No OFD packet to send [15:48:39]OFD Sender: No OFD packet to send [15:48:44]OFD Sender: No OFD packet to send [15:48:49]OFD Sender: No OFD packet to send [15:48:54]OFD Sender: No OFD packet to send [15:48:59]OFD Sender: No OFD packet to send [15:49:04]OFD Sender: No OFD packet to send [15:49:09]OFD Sender: No OFD packet to send [15:49:14]OFD Sender: No OFD packet to send [15:49:19]OFD Sender: No OFD packet to send [15:49:24]OFD Sender: No OFD packet to send [15:49:29]OFD Sender: No OFD packet to send [15:49:34]OFD Sender: No OFD packet to send [15:49:39]OFD Sender: No OFD packet to send [15:49:44]OFD Sender: No OFD packet to send [15:49:49]OFD Sender: No OFD packet to send [15:49:54]OFD Sender: No OFD packet to send [15:49:59]OFD Sender: No OFD packet to send [15:50:04]OFD Sender: No OFD packet to send [15:50:09]OFD Sender: No OFD packet to send [15:50:14]OFD Sender: No OFD packet to send [15:50:19]OFD Sender: No OFD packet to send [15:50:24]OFD Sender: No OFD packet to send [15:50:29]OFD Sender: No OFD packet to send [15:50:34]OFD Sender: No OFD packet to send [15:50:39]OFD Sender: No OFD packet to send [15:50:44]OFD Sender: No OFD packet to send [15:50:49]OFD Sender: No OFD packet to send [15:50:54]OFD Sender: No OFD packet to send [15:50:59]OFD Sender: No OFD packet to send [15:51:04]OFD Sender: No OFD packet to send [15:51:09]OFD Sender: No OFD packet to send [15:51:14]OFD Sender: No OFD packet to send [15:51:19]OFD Sender: No OFD packet to send [15:51:24]OFD Sender: No OFD packet to send [15:51:29]OFD Sender: No OFD packet to send [15:51:34]OFD Sender: No OFD packet to send [15:51:39]OFD Sender: No OFD packet to send [15:51:44]OFD Sender: No OFD packet to send [15:51:49]OFD Sender: No OFD packet to send [15:51:54]OFD Sender: No OFD packet to send [15:51:59]OFD Sender: No OFD packet to send [15:52:04]OFD Sender: No OFD packet to send [15:52:09]OFD Sender: No OFD packet to send [15:52:14]OFD Sender: No OFD packet to send [15:52:19]OFD Sender: No OFD packet to send [15:52:24]OFD Sender: No OFD packet to send [15:52:29]OFD Sender: No OFD packet to send [15:52:34]OFD Sender: No OFD packet to send [15:52:39]OFD Sender: No OFD packet to send [15:52:44]OFD Sender: No OFD packet to send [15:52:49]OFD Sender: No OFD packet to send [15:52:54]OFD Sender: No OFD packet to send [15:52:59]OFD Sender: No OFD packet to send [15:53:04]OFD Sender: No OFD packet to send [15:53:09]OFD Sender: No OFD packet to send [15:53:14]OFD Sender: No OFD packet to send [15:53:19]OFD Sender: No OFD packet to send [15:53:24]OFD Sender: No OFD packet to send [15:53:29]OFD Sender: No OFD packet to send [15:53:34]OFD Sender: No OFD packet to send [15:53:39]OFD Sender: No OFD packet to send [15:53:44]OFD Sender: No OFD packet to send [15:53:49]OFD Sender: No OFD packet to send [15:53:54]OFD Sender: No OFD packet to send [15:53:59]OFD Sender: No OFD packet to send [15:54:04]OFD Sender: No OFD packet to send [15:54:09]OFD Sender: No OFD packet to send [15:54:14]OFD Sender: No OFD packet to send [15:54:19]OFD Sender: No OFD packet to send [15:54:24]OFD Sender: No OFD packet to send [15:54:29]OFD Sender: No OFD packet to send [15:54:34]OFD Sender: No OFD packet to send [15:54:39]OFD Sender: No OFD packet to send [15:54:44]OFD Sender: No OFD packet to send [15:54:49]OFD Sender: No OFD packet to send [15:54:54]OFD Sender: No OFD packet to send [15:54:59]OFD Sender: No OFD packet to send [15:55:04]OFD Sender: No OFD packet to send [15:55:09]OFD Sender: No OFD packet to send [15:55:14]OFD Sender: No OFD packet to send [15:55:19]OFD Sender: No OFD packet to send [15:55:24]OFD Sender: No OFD packet to send [15:55:29]OFD Sender: No OFD packet to send [15:55:34]OFD Sender: No OFD packet to send [15:55:39]OFD Sender: No OFD packet to send [15:55:44]OFD Sender: No OFD packet to send [15:55:49]OFD Sender: No OFD packet to send [15:55:54]OFD Sender: No OFD packet to send [15:55:59]OFD Sender: No OFD packet to send [15:56:04]OFD Sender: No OFD packet to send [15:56:09]OFD Sender: No OFD packet to send [15:56:14]OFD Sender: No OFD packet to send [15:56:16]accept exits with 9 [15:56:16]New connection [15:56:16]New thread 3066707300 created [15:56:16]Thread 3066850660 joined [15:56:16]Waiting for new connection... [15:56:16] Sock 9.Parse request [15:56:16]Sock 9.Check first char [15:56:16]Sock 9.First char is OK [15:56:16]request: POST /json_proto HTTP/1.0 [15:56:16]Method: POST [15:56:16]URL: /json_proto [15:56:16]Method is POST - this is cgi request [15:56:16]url: /json_proto [15:56:16]query_string will be loaded in cgi processing [15:56:16]execute_cgi json_proto POST (null) [15:56:16]execute_cgi path=json_proto method=POST [15:56:16]POST find Content-Length [15:56:16]Host: 172.17.52.132:8080 [15:56:16]Content-Length: 621 [15:56:16]Content-Type: application/json [15:56:16] [15:56:16]POST finish read [15:56:16]Found Content-Length = 621 [15:56:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100045", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:16]execute_script... [15:56:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100045", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:16]POST & json_proto [15:56:16]process_json_proto [15:56:16]json parsed OK: [15:56:16]protocol is kg_v1.0 [15:56:16]action value=close_receipt [15:56:16]process_action close_receipt [15:56:16]cmd_close_receipt [15:56:16]MH_GetDate [15:56:16]Write to MH i2c: F0 00 00 F8 69 50 [15:56:16]Write i2c OK [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: F0 [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: F0 09 00 [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: F0 09 00 F8 69 00 30 28 15 67 5A BE F6 66 A1 [15:56:16]GetLastDocTimeStamp 1729439172 [15:56:16]current date 1729439792 [15:56:16]FM_GetShiftState [15:56:16]SAM_PROTO_GetShiftState [15:56:16]wFMCommunicate request_size=4 [15:56:16]MH_SAM_APDU [15:56:16]CAPDU: 80 13 01 00 [15:56:16]Write to MH i2c: E2 08 00 F9 69 80 13 01 00 00 00 00 00 DF [15:56:16]Write i2c OK [15:56:16]MH_I2C_Read... [15:56:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:16]Read from MH i2c: E2 [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: E2 0E 00 [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: E2 0E 00 F9 69 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C9 [15:56:16]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:56:16]wFMCommunicate OK [15:56:16]SAM_PROTO_GetShiftState done [15:56:16]FM_GetShiftState done [15:56:16]opened in 1729382427 [15:56:16]opened+sec_in_day 1729468827 [15:56:16]quantity*price = 14400 [15:56:16]sum+1 = 14401 [15:56:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 48 20.10.2024 15:56 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2667 ФПД: 70814367532971 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T155632&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2667&fm=70814367532971&tin=02508201610067®Number=0000000000207295&sum=14400 0 [15:56:17]StoreToDocumentArchive [15:56:17]shift 24 fd 2667 [15:56:17]save to /storage/0024/doc_00002667 [15:56:17]save last doc name /storage/0024/doc_00002667 to /storage/kkm_last_doc_name [15:56:17]save OK [15:56:17]Clear old archive folders... [15:56:17]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:56:17]tlvbuf is 014AD9E0 [15:56:17]SAM_PROTO_ClearQueue [15:56:17]wFMCommunicate request_size=4 [15:56:17]MH_SAM_APDU [15:56:17]CAPDU: 80 09 00 00 [15:56:17]Write to MH i2c: E2 08 00 06 6A 80 09 00 00 00 00 00 00 E2 [15:56:17]Write i2c OK [15:56:17]MH_I2C_Read... [15:56:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:56:17]Read from MH i2c: E2 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 03 00 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 03 00 06 6A 00 90 00 E4 [15:56:17]RAPDU: 90 00 [15:56:17]wFMCommunicate OK [15:56:17]SAM_PROTO_ClearQueue done [15:56:17]KKMCreateOFDPacket [15:56:17]OFDProtocolAddRootSTLVToBuf [15:56:17]FM_MakeSignedData [15:56:17]FM_MakeSignedData [15:56:17]SAM_PROTO_SignData [15:56:17]wFMCommunicate request_size=4 [15:56:17]MH_SAM_APDU [15:56:17]CAPDU: 80 0D 01 02 [15:56:17]Write to MH i2c: E2 08 00 07 6A 80 0D 01 02 00 00 00 00 EA [15:56:17]Write i2c OK [15:56:17]MH_I2C_Read... [15:56:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:56:17]Read from MH i2c: E2 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 03 00 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 03 00 07 6A 00 90 00 E5 [15:56:17]RAPDU: 90 00 [15:56:17]wFMCommunicate OK [15:56:17]wFMCommunicate request_size=255 [15:56:17]MH_SAM_APDU [15:56:17]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 30 28 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [15:56:17]Write to MH i2c: E2 02 01 08 6A 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 30 28 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 70 [15:56:17]Write i2c OK [15:56:17]MH_I2C_Read... [15:56:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:18]Read from MH i2c: E2 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: E2 03 00 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: E2 03 00 08 6A 00 90 00 E6 [15:56:18]RAPDU: 90 00 [15:56:18]wFMCommunicate OK [15:56:18]wFMCommunicate request_size=32 [15:56:18]MH_SAM_APDU [15:56:18]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 6B 0A 00 00 35 04 06 00 40 67 C1 38 C7 AB [15:56:18]Write to MH i2c: E2 23 00 09 6A 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 6B 0A 00 00 35 04 06 00 40 67 C1 38 C7 AB 00 00 C6 [15:56:18]Write i2c OK [15:56:18]MH_I2C_Read... [15:56:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:18]Read from MH i2c: E2 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: E2 03 00 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: E2 03 00 09 6A 00 90 00 E7 [15:56:18]RAPDU: 90 00 [15:56:18]wFMCommunicate OK [15:56:18]wFMCommunicate request_size=4 [15:56:18]MH_SAM_APDU [15:56:18]CAPDU: 80 0D 03 02 [15:56:18]Write to MH i2c: E2 08 00 0A 6A 80 0D 03 02 00 00 00 00 EF [15:56:18]Write i2c OK [15:56:18]MH_I2C_Read... [15:56:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:56:18]Read from MH i2c: E2 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: E2 0B 00 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: E2 0B 00 0A 6A 00 49 D2 6A 53 CB A9 45 41 90 00 C2 [15:56:18]RAPDU: 49 D2 6A 53 CB A9 45 41 90 00 [15:56:18]wFMCommunicate OK [15:56:18]SAM_PROTO_SignData done [15:56:18]FM_MakeSignedData done [15:56:18]CreateOFDProtocolMessage [15:56:18]wFMCommunicate request_size=4 [15:56:18]MH_SAM_APDU [15:56:18]CAPDU: 80 11 00 00 [15:56:18]Write to MH i2c: E2 08 00 0B 6A 80 11 00 00 00 00 00 00 EF [15:56:18]Write i2c OK [15:56:18]MH_I2C_Read... [15:56:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:18]Read from MH i2c: E2 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: E2 17 00 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: E2 17 00 0B 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 37 [15:56:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:56:18]wFMCommunicate OK [15:56:18]CreateOFDProtocolMessage done [15:56:18]OFDSenderStorePacket 2667 [15:56:18]StoreOFDPacket docnum=2667 [15:56:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 5A F0 1D 01 94 5A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 30 28 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6B 0A 00 00 35 04 06 00 40 67 C1 38 C7 AB 49 D2 6A 53 CB A9 45 41 [15:56:18]CheckFolder [15:56:18]dirname=/storage/ofd_packets [15:56:18]CheckFolder done [15:56:18]ProducePacketName [15:56:18]name=ofd_packets/00002667 [15:56:18]NVStorageSaveData ofd_packets/00002667 [15:56:18]File name is /storage/ofd_packets/00002667 [15:56:18]Write 323 bytes [15:56:18]NVStorageSaveData done [15:56:18]OFDSenderStorePacket done [15:56:18]KKMCreateOFDPacket done [15:56:18]NVStorageSaveData kkm_last_timestamp [15:56:18]File name is /storage/kkm_last_timestamp [15:56:18]Write 4 bytes [15:56:18]NVStorageSaveData done [15:56:18]ExternCall_PrintAddStr [15:56:18]wPrintStart [15:56:18]Write to MH i2c: 01 00 00 0C 6A 76 [15:56:18]Write i2c OK [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: 01 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: 01 07 00 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: 01 07 00 0C 6A 00 00 00 00 00 FF 0F 8B [15:56:18]RasterBufferAndPrint [15:56:18]line Счет N : (3)100045 [15:56:18]line ИНН: 02508201610067 [15:56:18]line Контрольно-Кассовый Чек [15:56:18]line ПРОДАЖА [15:56:18]line Товар: 48743570 [15:56:18]line Сигареты Winston XStyle Blue [15:56:18]line 1.000 * 144.00 [15:56:18]line = 144.00 [15:56:18]line НДС 12% НСП 1% [15:56:18]line > о реализуемом товаре [15:56:18]line ИТОГО: 144.00 [15:56:18]line НСП 1% : 1.27 [15:56:18]line НДС 12% : 15.29 [15:56:18]line Наличными: 144.00 [15:56:18]line Безнал.: 0.00 [15:56:18]line Место: АЗС № 162 "Партнер Нефть" [15:56:18]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:56:18]line СНО: Общий режим [15:56:18]line Чек 48 20.10.2024 15:56 [15:56:18]line Смена: 24 ФФД: 1.0 [15:56:18]line ЗНМ: 0300000191 [15:56:18]line РНМ: 0000000000207295 [15:56:18]line Версия ККМ: v1.0 [15:56:18]line ФМ: 0000000002342820 [15:56:18]line ФД: 2667 [15:56:18]line ФПД: 70814367532971 [15:56:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T155632&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2667&fm=70814367532971&tin=02508201610067®Number=0000000000207295&sum=14400 [15:56:18]line 0 [15:56:18]OFD Sender: Processing packet 2667 [packets to send 1, broken 0] [15:56:18]ProducePacketName [15:56:18]name=ofd_packets/00002667 [15:56:18]OFD Sender: To server: pG, [15:56:18]CommunicateWithHost lk.salyk.kg:30040 [15:56:18]ConnectInit lk.salyk.kg [15:56:18]written 0, free lines is 4095 [15:56:18]Connected sock=10 [15:56:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 5A F0 1D 01 94 5A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 30 28 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6B 0A 00 00 35 04 06 00 40 67 C1 38 C7 AB 49 D2 6A 53 CB A9 45 41 [15:56:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 82 2A 47 00 03 9D 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 33 34 32 38 32 30 10 04 04 00 6B 0A 00 00 F4 03 04 00 8D D3 14 67 B6 04 01 00 00 70 60 4D 66 17 1F 1D 9B [15:56:18]CommunicateWithHost err = 0 [15:56:18]CheckOFDResponse [15:56:18]1017 (14) - 77093643461234 [15:56:18]1041 (16) - 0000000002342820 [15:56:18]1040 (4) - 2667 [15:56:18]1012 (4) - 20.10.2024 09:55 [15:56:18]1206 (1) - 0 [15:56:18]OFD Sender: Remove packet 2667 [15:56:18]ProducePacketName [15:56:18]name=ofd_packets/00002667 [15:56:18]NVStorageDeleteData [15:56:18]Write to MH i2c: 01 00 00 34 6A 9E [15:56:18]Write i2c OK [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: 01 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: 01 07 00 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: 01 07 00 34 6A 00 00 00 00 00 B8 0C 69 [15:56:18]RasterBufferAndPrint [15:56:18]line [15:56:18]line [15:56:18]line [15:56:18]line [15:56:18]line [15:56:18]written 0, free lines is 3262 [15:56:18]MH_Cut [15:56:18]Write to MH i2c: D1 01 00 3B 6A 01 77 [15:56:18]Write i2c OK [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: D1 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: D1 01 00 [15:56:18]MH_I2C_Read... [15:56:18]Read from MH i2c: D1 01 00 3B 6A 00 76 [15:56:18]Write to MH i2c: 01 00 00 3C 6A A6 [15:56:18]Write i2c OK [15:56:18]MH_I2C_Read... [15:56:19]OFD Sender: No OFD packet to send [15:56:19]*** Cut start [15:56:19]*** Partial cut [15:56:19]*** CUTSNS_PIN = 1 [15:56:19]*** CUTSNS_PIN = 0 [15:56:19]*** Brake cut motor [15:56:20]Read from MH i2c: 01 [15:56:20]MH_I2C_Read... [15:56:20]*** Stop cut motor [15:56:20]*** Cut end [15:56:20]Read from MH i2c: 01 07 00 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: 01 07 00 3C 6A 00 00 00 00 00 FF 0F BB [15:56:20]process_action close_receipt done [15:56:20]requested_data is exist [15:56:20]produce_requested_data [15:56:20]requested_item fm.sn is exist - process it [15:56:20]wFMCommunicate request_size=4 [15:56:20]MH_SAM_APDU [15:56:20]CAPDU: 80 11 00 00 [15:56:20]Write to MH i2c: E2 08 00 3D 6A 80 11 00 00 00 00 00 00 21 [15:56:20]Write i2c OK [15:56:20]MH_I2C_Read... [15:56:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:20]Read from MH i2c: E2 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 17 00 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 17 00 3D 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 69 [15:56:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:56:20]wFMCommunicate OK [15:56:20]requested_item fd.num is exist - process it [15:56:20]SAM_PROTO_GetFieldsCounters [15:56:20]wFMCommunicate request_size=4 [15:56:20]MH_SAM_APDU [15:56:20]CAPDU: 80 13 00 00 [15:56:20]Write to MH i2c: E2 08 00 3E 6A 80 13 00 00 00 00 00 00 24 [15:56:20]Write i2c OK [15:56:20]MH_I2C_Read... [15:56:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:56:20]Read from MH i2c: E2 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 62 00 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 62 00 3E 6A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [15:56:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:56:20]wFMCommunicate OK [15:56:20]SAM_PROTO_GetFieldsCounters done [15:56:20]requested_item shift.num is exist - process it [15:56:20]requested_item shift.opened is exist - process it [15:56:20]req_shift_opened [15:56:20]FM_GetShiftState [15:56:20]SAM_PROTO_GetShiftState [15:56:20]wFMCommunicate request_size=4 [15:56:20]MH_SAM_APDU [15:56:20]CAPDU: 80 13 01 00 [15:56:20]Write to MH i2c: E2 08 00 3F 6A 80 13 01 00 00 00 00 00 26 [15:56:20]Write i2c OK [15:56:20]MH_I2C_Read... [15:56:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:20]Read from MH i2c: E2 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 0E 00 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 0E 00 3F 6A 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 10 [15:56:20]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:56:20]wFMCommunicate OK [15:56:20]SAM_PROTO_GetShiftState done [15:56:20]FM_GetShiftState done [15:56:20]req_shift_opened done [15:56:20]requested_item shift.open_date is exist - process it [15:56:20]req_shift_open_date [15:56:20]req_shift_open_date done [15:56:20]produce_requested_data done [15:56:20]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2667,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [15:56:20]process_action_free close_receipt [15:56:20]json_value_free [15:56:20]json_value_free done [15:56:20]process_json_proto returns [15:56:20]Send response to host [15:56:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2667,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [15:56:20]free response buf [15:56:20]execute_script done [15:56:20]execute_script returns [15:56:20]free content buf [15:56:20]Sock 9.Close socket [15:56:20]Sock 9.Thread stoped [15:56:24]OFD Sender: No OFD packet to send [15:56:29]OFD Sender: No OFD packet to send [15:56:34]OFD Sender: No OFD packet to send [15:56:39]OFD Sender: No OFD packet to send [15:56:44]OFD Sender: No OFD packet to send [15:56:49]OFD Sender: No OFD packet to send [15:56:54]OFD Sender: No OFD packet to send [15:56:59]OFD Sender: No OFD packet to send [15:57:04]OFD Sender: No OFD packet to send [15:57:09]OFD Sender: No OFD packet to send [15:57:14]OFD Sender: No OFD packet to send [15:57:19]OFD Sender: No OFD packet to send [15:57:24]OFD Sender: No OFD packet to send [15:57:29]OFD Sender: No OFD packet to send [15:57:34]OFD Sender: No OFD packet to send [15:57:39]OFD Sender: No OFD packet to send [15:57:44]OFD Sender: No OFD packet to send [15:57:49]OFD Sender: No OFD packet to send [15:57:54]OFD Sender: No OFD packet to send [15:57:59]OFD Sender: No OFD packet to send [15:58:04]OFD Sender: No OFD packet to send [15:58:09]OFD Sender: No OFD packet to send [15:58:14]OFD Sender: No OFD packet to send [15:58:19]OFD Sender: No OFD packet to send [15:58:19]accept exits with 7 [15:58:19]New connection [15:58:19]New thread 3066850660 created [15:58:19]Thread 3066707300 joined [15:58:19]Waiting for new connection... [15:58:19] Sock 7.Parse request [15:58:19]Sock 7.Check first char [15:58:19]Sock 7.First char is OK [15:58:19]request: POST /json_proto HTTP/1.0 [15:58:19]Method: POST [15:58:19]URL: /json_proto [15:58:19]Method is POST - this is cgi request [15:58:19]url: /json_proto [15:58:19]query_string will be loaded in cgi processing [15:58:19]execute_cgi json_proto POST (null) [15:58:19]execute_cgi path=json_proto method=POST [15:58:19]POST find Content-Length [15:58:19]Host: 172.17.52.132:8080 [15:58:19]Content-Length: 652 [15:58:19]Content-Type: application/json [15:58:19] [15:58:19]POST finish read [15:58:19]Found Content-Length = 652 [15:58:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100046", "tax_sys" : 0, "items" : [ { "code": "46146625", "name": "\u0420/\u0436 Orbit XXL \u0441\u043B\u0430\u0434\u043A\u0430\u044F \u043C\u044F\u0442\u0430 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:19]execute_script... [15:58:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100046", "tax_sys" : 0, "items" : [ { "code": "46146625", "name": "\u0420/\u0436 Orbit XXL \u0441\u043B\u0430\u0434\u043A\u0430\u044F \u043C\u044F\u0442\u0430 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:19]POST & json_proto [15:58:19]process_json_proto [15:58:19]json parsed OK: [15:58:19]protocol is kg_v1.0 [15:58:19]action value=close_receipt [15:58:19]process_action close_receipt [15:58:19]cmd_close_receipt [15:58:19]MH_GetDate [15:58:19]Write to MH i2c: F0 00 00 40 6A 99 [15:58:19]Write i2c OK [15:58:19]MH_I2C_Read... [15:58:19]Read from MH i2c: F0 [15:58:19]MH_I2C_Read... [15:58:19]Read from MH i2c: F0 09 00 [15:58:19]MH_I2C_Read... [15:58:19]Read from MH i2c: F0 09 00 40 6A 00 AB 28 15 67 5A BE F6 66 65 [15:58:19]GetLastDocTimeStamp 1729439792 [15:58:19]current date 1729439915 [15:58:19]FM_GetShiftState [15:58:19]SAM_PROTO_GetShiftState [15:58:19]wFMCommunicate request_size=4 [15:58:19]MH_SAM_APDU [15:58:19]CAPDU: 80 13 01 00 [15:58:19]Write to MH i2c: E2 08 00 41 6A 80 13 01 00 00 00 00 00 28 [15:58:19]Write i2c OK [15:58:19]MH_I2C_Read... [15:58:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:19]Read from MH i2c: E2 [15:58:19]MH_I2C_Read... [15:58:19]Read from MH i2c: E2 0E 00 [15:58:19]MH_I2C_Read... [15:58:19]Read from MH i2c: E2 0E 00 41 6A 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 12 [15:58:19]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:58:19]wFMCommunicate OK [15:58:19]SAM_PROTO_GetShiftState done [15:58:19]FM_GetShiftState done [15:58:19]opened in 1729382427 [15:58:19]opened+sec_in_day 1729468827 [15:58:19]quantity*price = 5100 [15:58:19]sum+1 = 5101 [15:58:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 51.00 НСП 1% : 0.45 НДС 12% : 5.42 Наличными: 51.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 49 20.10.2024 15:58 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2668 ФПД: 237048536502922 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T155835&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2668&fm=237048536502922&tin=02508201610067®Number=0000000000207295&sum=5100 0 [15:58:20]StoreToDocumentArchive [15:58:20]shift 24 fd 2668 [15:58:20]save to /storage/0024/doc_00002668 [15:58:20]save last doc name /storage/0024/doc_00002668 to /storage/kkm_last_doc_name [15:58:20]save OK [15:58:20]Clear old archive folders... [15:58:20]ProcessDocumentItem done err = 0, tmpTLVsize=283 [15:58:20]tlvbuf is 014C1CD0 [15:58:20]SAM_PROTO_ClearQueue [15:58:20]wFMCommunicate request_size=4 [15:58:20]MH_SAM_APDU [15:58:20]CAPDU: 80 09 00 00 [15:58:20]Write to MH i2c: E2 08 00 4E 6A 80 09 00 00 00 00 00 00 2A [15:58:20]Write i2c OK [15:58:20]MH_I2C_Read... [15:58:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:58:20]Read from MH i2c: E2 [15:58:20]MH_I2C_Read... [15:58:20]Read from MH i2c: E2 03 00 [15:58:20]MH_I2C_Read... [15:58:20]Read from MH i2c: E2 03 00 4E 6A 00 90 00 2C [15:58:20]RAPDU: 90 00 [15:58:20]wFMCommunicate OK [15:58:20]SAM_PROTO_ClearQueue done [15:58:20]KKMCreateOFDPacket [15:58:20]OFDProtocolAddRootSTLVToBuf [15:58:20]FM_MakeSignedData [15:58:20]FM_MakeSignedData [15:58:20]SAM_PROTO_SignData [15:58:20]wFMCommunicate request_size=4 [15:58:20]MH_SAM_APDU [15:58:20]CAPDU: 80 0D 01 02 [15:58:20]Write to MH i2c: E2 08 00 4F 6A 80 0D 01 02 00 00 00 00 32 [15:58:20]Write i2c OK [15:58:20]MH_I2C_Read... [15:58:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:58:20]Read from MH i2c: E2 [15:58:20]MH_I2C_Read... [15:58:20]Read from MH i2c: E2 03 00 [15:58:20]MH_I2C_Read... [15:58:20]Read from MH i2c: E2 03 00 4F 6A 00 90 00 2D [15:58:20]RAPDU: 90 00 [15:58:20]wFMCommunicate OK [15:58:20]wFMCommunicate request_size=255 [15:58:20]MH_SAM_APDU [15:58:20]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 34 36 36 32 35 06 04 2E 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 AB 28 15 67 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 32 30 37 32 39 35 11 [15:58:20]Write to MH i2c: E2 02 01 50 6A 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 34 36 36 32 35 06 04 2E 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 AB 28 15 67 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 32 30 37 32 39 35 11 00 00 22 [15:58:20]Write i2c OK [15:58:20]MH_I2C_Read... [15:58:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:21]Read from MH i2c: E2 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: E2 03 00 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: E2 03 00 50 6A 00 90 00 2E [15:58:21]RAPDU: 90 00 [15:58:21]wFMCommunicate OK [15:58:21]wFMCommunicate request_size=42 [15:58:21]MH_SAM_APDU [15:58:21]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6C 0A 00 00 35 04 06 00 D7 98 29 D0 12 8A [15:58:21]Write to MH i2c: E2 2D 00 51 6A 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6C 0A 00 00 35 04 06 00 D7 98 29 D0 12 8A 00 00 79 [15:58:21]Write i2c OK [15:58:21]MH_I2C_Read... [15:58:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:21]Read from MH i2c: E2 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: E2 03 00 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: E2 03 00 51 6A 00 90 00 2F [15:58:21]RAPDU: 90 00 [15:58:21]wFMCommunicate OK [15:58:21]wFMCommunicate request_size=4 [15:58:21]MH_SAM_APDU [15:58:21]CAPDU: 80 0D 03 02 [15:58:21]Write to MH i2c: E2 08 00 52 6A 80 0D 03 02 00 00 00 00 37 [15:58:21]Write i2c OK [15:58:21]MH_I2C_Read... [15:58:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:58:21]Read from MH i2c: E2 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: E2 0B 00 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: E2 0B 00 52 6A 00 31 5A 6F 4D C3 7B 3C 38 90 00 31 [15:58:21]RAPDU: 31 5A 6F 4D C3 7B 3C 38 90 00 [15:58:21]wFMCommunicate OK [15:58:21]SAM_PROTO_SignData done [15:58:21]FM_MakeSignedData done [15:58:21]CreateOFDProtocolMessage [15:58:21]wFMCommunicate request_size=4 [15:58:21]MH_SAM_APDU [15:58:21]CAPDU: 80 11 00 00 [15:58:21]Write to MH i2c: E2 08 00 53 6A 80 11 00 00 00 00 00 00 37 [15:58:21]Write i2c OK [15:58:21]MH_I2C_Read... [15:58:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:21]Read from MH i2c: E2 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: E2 17 00 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: E2 17 00 53 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 7F [15:58:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:58:21]wFMCommunicate OK [15:58:21]CreateOFDProtocolMessage done [15:58:21]OFDSenderStorePacket 2668 [15:58:21]StoreOFDPacket docnum=2668 [15:58:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2F 01 00 00 E5 C1 27 01 E2 63 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 34 36 36 32 35 06 04 2E 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 AB 28 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6C 0A 00 00 35 04 06 00 D7 98 29 D0 12 8A 31 5A 6F 4D C3 7B 3C 38 [15:58:21]CheckFolder [15:58:21]dirname=/storage/ofd_packets [15:58:21]CheckFolder done [15:58:21]ProducePacketName [15:58:21]name=ofd_packets/00002668 [15:58:21]NVStorageSaveData ofd_packets/00002668 [15:58:21]File name is /storage/ofd_packets/00002668 [15:58:21]Write 333 bytes [15:58:21]NVStorageSaveData done [15:58:21]OFDSenderStorePacket done [15:58:21]KKMCreateOFDPacket done [15:58:21]NVStorageSaveData kkm_last_timestamp [15:58:21]File name is /storage/kkm_last_timestamp [15:58:21]Write 4 bytes [15:58:21]NVStorageSaveData done [15:58:21]ExternCall_PrintAddStr [15:58:21]wPrintStart [15:58:21]Write to MH i2c: 01 00 00 54 6A BE [15:58:21]Write i2c OK [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: 01 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: 01 07 00 [15:58:21]MH_I2C_Read... [15:58:21]Read from MH i2c: 01 07 00 54 6A 00 00 00 00 00 FF 0F D3 [15:58:21]RasterBufferAndPrint [15:58:21]line Счет N : (3)100046 [15:58:21]line ИНН: 02508201610067 [15:58:21]line Контрольно-Кассовый Чек [15:58:21]line ПРОДАЖА [15:58:21]line Товар: 46146625 [15:58:21]line Р/ж Orbit XXL сладкая мята 20,4г [15:58:21]line 1.000 * 51.00 [15:58:21]line = 51.00 [15:58:21]line НДС 12% НСП 1% [15:58:21]line > о реализуемом товаре [15:58:21]line ИТОГО: 51.00 [15:58:21]line НСП 1% : 0.45 [15:58:21]line НДС 12% : 5.42 [15:58:21]line Наличными: 51.00 [15:58:21]line Безнал.: 0.00 [15:58:21]line Место: АЗС № 162 "Партнер Нефть" [15:58:21]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:58:21]line СНО: Общий режим [15:58:21]line Чек 49 20.10.2024 15:58 [15:58:21]line Смена: 24 ФФД: 1.0 [15:58:21]line ЗНМ: 0300000191 [15:58:21]line РНМ: 0000000000207295 [15:58:21]line Версия ККМ: v1.0 [15:58:21]line ФМ: 0000000002342820 [15:58:21]line ФД: 2668 [15:58:21]line ФПД: 237048536502922 [15:58:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T155835&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2668&fm=237048536502922&tin=02508201610067®Number=0000000000207295&sum=5100 [15:58:21]line 0 [15:58:21]OFD Sender: Processing packet 2668 [packets to send 1, broken 0] [15:58:21]ProducePacketName [15:58:21]name=ofd_packets/00002668 [15:58:21]OFD Sender: To server: pG, [15:58:21]CommunicateWithHost lk.salyk.kg:30040 [15:58:21]ConnectInit lk.salyk.kg [15:58:21]written 0, free lines is 4095 [15:58:21]Connected sock=10 [15:58:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2F 01 00 00 E5 C1 27 01 E2 63 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 34 36 36 32 35 06 04 2E 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 AB 28 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6C 0A 00 00 35 04 06 00 D7 98 29 D0 12 8A 31 5A 6F 4D C3 7B 3C 38 [15:58:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 82 D0 47 00 49 0A 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 33 34 32 38 32 30 10 04 04 00 6C 0A 00 00 F4 03 04 00 08 D4 14 67 B6 04 01 00 00 F5 98 EA 1A BD 6C DE 8C [15:58:21]CommunicateWithHost err = 0 [15:58:21]CheckOFDResponse [15:58:21]1017 (14) - 77093643461234 [15:58:21]1041 (16) - 0000000002342820 [15:58:21]1040 (4) - 2668 [15:58:21]1012 (4) - 20.10.2024 09:57 [15:58:21]1206 (1) - 0 [15:58:21]OFD Sender: Remove packet 2668 [15:58:21]ProducePacketName [15:58:21]name=ofd_packets/00002668 [15:58:21]NVStorageDeleteData [15:58:22]Write to MH i2c: 01 00 00 7D 6A E7 [15:58:22]Write i2c OK [15:58:22]MH_I2C_Read... [15:58:22]Read from MH i2c: 01 [15:58:22]MH_I2C_Read... [15:58:22]Read from MH i2c: 01 07 00 [15:58:22]MH_I2C_Read... [15:58:22]Read from MH i2c: 01 07 00 7D 6A 00 00 00 00 00 C7 0C C1 [15:58:22]RasterBufferAndPrint [15:58:22]line [15:58:22]line [15:58:22]line [15:58:22]line [15:58:22]line [15:58:22]written 0, free lines is 3277 [15:58:22]MH_Cut [15:58:22]Write to MH i2c: D1 01 00 84 6A 01 C0 [15:58:22]Write i2c OK [15:58:22]MH_I2C_Read... [15:58:22]Read from MH i2c: D1 [15:58:22]MH_I2C_Read... [15:58:22]Read from MH i2c: D1 01 00 [15:58:22]MH_I2C_Read... [15:58:22]Read from MH i2c: D1 01 00 84 6A 00 BF [15:58:22]Write to MH i2c: 01 00 00 85 6A EF [15:58:22]Write i2c OK [15:58:22]MH_I2C_Read... [15:58:22]OFD Sender: No OFD packet to send [15:58:22]*** Cut start [15:58:22]*** Partial cut [15:58:22]*** CUTSNS_PIN = 1 [15:58:22]*** CUTSNS_PIN = 0 [15:58:23]*** Brake cut motor [15:58:23]Read from MH i2c: 01 [15:58:23]*** Stop cut motor [15:58:23]*** Cut end [15:58:23]MH_I2C_Read... [15:58:23]Read from MH i2c: 01 07 00 [15:58:23]MH_I2C_Read... [15:58:23]Read from MH i2c: 01 07 00 85 6A 00 00 00 00 00 FF 0F 04 [15:58:23]process_action close_receipt done [15:58:23]requested_data is exist [15:58:23]produce_requested_data [15:58:23]requested_item fm.sn is exist - process it [15:58:23]wFMCommunicate request_size=4 [15:58:23]MH_SAM_APDU [15:58:23]CAPDU: 80 11 00 00 [15:58:23]Write to MH i2c: E2 08 00 86 6A 80 11 00 00 00 00 00 00 6A [15:58:23]Write i2c OK [15:58:23]MH_I2C_Read... [15:58:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:23]Read from MH i2c: E2 [15:58:23]MH_I2C_Read... [15:58:23]Read from MH i2c: E2 17 00 [15:58:23]MH_I2C_Read... [15:58:23]Read from MH i2c: E2 17 00 86 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B2 [15:58:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:58:23]wFMCommunicate OK [15:58:23]requested_item fd.num is exist - process it [15:58:23]SAM_PROTO_GetFieldsCounters [15:58:23]wFMCommunicate request_size=4 [15:58:23]MH_SAM_APDU [15:58:23]CAPDU: 80 13 00 00 [15:58:23]Write to MH i2c: E2 08 00 87 6A 80 13 00 00 00 00 00 00 6D [15:58:23]Write i2c OK [15:58:23]MH_I2C_Read... [15:58:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:58:23]Read from MH i2c: E2 [15:58:23]MH_I2C_Read... [15:58:23]Read from MH i2c: E2 62 00 [15:58:23]MH_I2C_Read... [15:58:23]Read from MH i2c: E2 62 00 87 6A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 A4 [15:58:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:58:23]wFMCommunicate OK [15:58:23]SAM_PROTO_GetFieldsCounters done [15:58:23]requested_item shift.num is exist - process it [15:58:23]requested_item shift.opened is exist - process it [15:58:23]req_shift_opened [15:58:23]FM_GetShiftState [15:58:23]SAM_PROTO_GetShiftState [15:58:23]wFMCommunicate request_size=4 [15:58:23]MH_SAM_APDU [15:58:23]CAPDU: 80 13 01 00 [15:58:23]Write to MH i2c: E2 08 00 88 6A 80 13 01 00 00 00 00 00 6F [15:58:23]Write i2c OK [15:58:23]MH_I2C_Read... [15:58:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:23]Read from MH i2c: E2 [15:58:23]MH_I2C_Read... [15:58:23]Read from MH i2c: E2 0E 00 [15:58:23]MH_I2C_Read... [15:58:23]Read from MH i2c: E2 0E 00 88 6A 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 59 [15:58:23]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [15:58:23]wFMCommunicate OK [15:58:23]SAM_PROTO_GetShiftState done [15:58:23]FM_GetShiftState done [15:58:23]req_shift_opened done [15:58:23]requested_item shift.open_date is exist - process it [15:58:23]req_shift_open_date [15:58:23]req_shift_open_date done [15:58:23]produce_requested_data done [15:58:23]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2668,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [15:58:23]process_action_free close_receipt [15:58:23]json_value_free [15:58:23]json_value_free done [15:58:23]process_json_proto returns [15:58:23]Send response to host [15:58:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2668,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [15:58:23]free response buf [15:58:23]execute_script done [15:58:23]execute_script returns [15:58:23]free content buf [15:58:23]Sock 7.Close socket [15:58:23]Sock 7.Thread stoped [15:58:27]OFD Sender: No OFD packet to send [15:58:32]OFD Sender: No OFD packet to send [15:58:37]OFD Sender: No OFD packet to send [15:58:42]OFD Sender: No OFD packet to send [15:58:47]OFD Sender: No OFD packet to send [15:58:52]OFD Sender: No OFD packet to send [15:58:57]OFD Sender: No OFD packet to send [15:59:02]OFD Sender: No OFD packet to send [15:59:07]OFD Sender: No OFD packet to send [15:59:12]OFD Sender: No OFD packet to send [15:59:17]OFD Sender: No OFD packet to send [15:59:22]OFD Sender: No OFD packet to send [15:59:27]OFD Sender: No OFD packet to send [15:59:32]OFD Sender: No OFD packet to send [15:59:37]OFD Sender: No OFD packet to send [15:59:42]OFD Sender: No OFD packet to send [15:59:47]OFD Sender: No OFD packet to send [15:59:52]OFD Sender: No OFD packet to send [15:59:57]OFD Sender: No OFD packet to send [16:00:02]OFD Sender: No OFD packet to send [16:00:07]OFD Sender: No OFD packet to send [16:00:12]OFD Sender: No OFD packet to send [16:00:17]OFD Sender: No OFD packet to send [16:00:22]OFD Sender: No OFD packet to send [16:00:27]OFD Sender: No OFD packet to send [16:00:32]OFD Sender: No OFD packet to send [16:00:37]OFD Sender: No OFD packet to send [16:00:42]OFD Sender: No OFD packet to send [16:00:47]OFD Sender: No OFD packet to send [16:00:52]OFD Sender: No OFD packet to send [16:00:57]OFD Sender: No OFD packet to send [16:01:02]OFD Sender: No OFD packet to send [16:01:07]OFD Sender: No OFD packet to send [16:01:12]OFD Sender: No OFD packet to send [16:01:17]OFD Sender: No OFD packet to send [16:01:22]OFD Sender: No OFD packet to send [16:01:27]OFD Sender: No OFD packet to send [16:01:32]OFD Sender: No OFD packet to send [16:01:37]OFD Sender: No OFD packet to send [16:01:42]OFD Sender: No OFD packet to send [16:01:47]OFD Sender: No OFD packet to send [16:01:52]OFD Sender: No OFD packet to send [16:01:57]OFD Sender: No OFD packet to send [16:02:02]OFD Sender: No OFD packet to send [16:02:07]OFD Sender: No OFD packet to send [16:02:12]OFD Sender: No OFD packet to send [16:02:17]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [16:04:12]OFD Sender: No OFD packet to send [16:04:17]OFD Sender: No OFD packet to send [16:04:22]OFD Sender: No OFD packet to send [16:04:27]OFD Sender: No OFD packet to send [16:04:32]OFD Sender: No OFD packet to send [16:04:37]OFD Sender: No OFD packet to send [16:04:42]OFD Sender: No OFD packet to send [16:04:47]OFD Sender: No OFD packet to send [16:04:52]OFD Sender: No OFD packet to send [16:04:57]OFD Sender: No OFD packet to send [16:05:02]OFD Sender: No OFD packet to send [16:05:07]OFD Sender: No OFD packet to send [16:05:12]OFD Sender: No OFD packet to send [16:05:17]OFD Sender: No OFD packet to send [16:05:22]OFD Sender: No OFD packet to send [16:05:27]OFD Sender: No OFD packet to send [16:05:32]OFD Sender: No OFD packet to send [16:05:37]OFD Sender: No OFD packet to send [16:05:42]OFD Sender: No OFD packet to send [16:05:47]OFD Sender: No OFD packet to send [16:05:52]OFD Sender: No OFD packet to send [16:05:57]OFD Sender: No OFD packet to send [16:06:02]OFD Sender: No OFD packet to send [16:06:07]OFD Sender: No OFD packet to send [16:06:12]OFD Sender: No OFD packet to send [16:06:17]OFD Sender: No OFD packet to send [16:06:22]OFD Sender: No OFD packet to send [16:06:27]OFD Sender: No OFD packet to send [16:06:32]OFD Sender: No OFD packet to send [16:06:37]OFD Sender: No OFD packet to send [16:06:42]OFD Sender: No OFD packet to send [16:06:47]OFD Sender: No OFD packet to send [16:06:52]OFD Sender: No OFD packet to send [16:06:57]OFD Sender: No OFD packet to send [16:07:02]OFD Sender: No OFD packet to send [16:07:07]OFD Sender: No OFD packet to send [16:07:12]OFD Sender: No OFD packet to send [16:07:17]OFD Sender: No OFD packet to send [16:07:22]OFD Sender: No OFD packet to send [16:07:27]OFD Sender: No OFD packet to send [16:07:32]OFD Sender: No OFD packet to send [16:07:37]OFD Sender: No OFD packet to send [16:07:42]OFD Sender: No OFD packet to send [16:07:47]OFD Sender: No OFD packet to send [16:07:52]OFD Sender: No OFD packet to send [16:07:57]OFD Sender: No OFD packet to send [16:08:02]OFD Sender: No OFD packet to send [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08:57]OFD Sender: No OFD packet to send [16:09:02]OFD Sender: No OFD packet to send [16:09:07]OFD Sender: No OFD packet to send [16:09:12]OFD Sender: No OFD packet to send [16:09:17]OFD Sender: No OFD packet to send [16:09:22]OFD Sender: No OFD packet to send [16:09:27]OFD Sender: No OFD packet to send [16:09:32]OFD Sender: No OFD packet to send [16:09:37]OFD Sender: No OFD packet to send [16:09:42]OFD Sender: No OFD packet to send [16:09:47]OFD Sender: No OFD packet to send [16:09:52]OFD Sender: No OFD packet to send [16:09:57]OFD Sender: No OFD packet to send [16:10:02]OFD Sender: No OFD packet to send [16:10:07]OFD Sender: No OFD packet to send [16:10:12]OFD Sender: No OFD packet to send [16:10:17]OFD Sender: No OFD packet to send [16:10:22]OFD Sender: No OFD packet to send [16:10:27]OFD Sender: No OFD packet to send [16:10:32]OFD Sender: No OFD packet to send [16:10:37]OFD Sender: No OFD packet to send [16:10:42]OFD Sender: No OFD packet to send [16:10:47]OFD Sender: No OFD packet to send [16:10:52]OFD Sender: No OFD packet to send [16:10:57]OFD Sender: No OFD packet to send [16:11:02]OFD Sender: No OFD packet to send [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:53]OFD Sender: No OFD packet to send [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:14]accept exits with 9 [16:18:14]New connection [16:18:14]New thread 3066707300 created [16:18:14]Thread 3066850660 joined [16:18:14]Waiting for new connection... [16:18:14] Sock 9.Parse request [16:18:14]Sock 9.Check first char [16:18:14]Sock 9.First char is OK [16:18:14]request: POST /json_proto HTTP/1.0 [16:18:14]Method: POST [16:18:14]URL: /json_proto [16:18:14]Method is POST - this is cgi request [16:18:14]url: /json_proto [16:18:14]query_string will be loaded in cgi processing [16:18:14]execute_cgi json_proto POST (null) [16:18:14]execute_cgi path=json_proto method=POST [16:18:14]POST find Content-Length [16:18:14]Host: 172.17.52.132:8080 [16:18:14]Content-Length: 858 [16:18:14]Content-Type: application/json [16:18:14] [16:18:14]POST finish read [16:18:14]Found Content-Length = 858 [16:18:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100047", "tax_sys" : 0, "items" : [ { "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.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" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:18:14]execute_script... [16:18: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)100047", "tax_sys" : 0, "items" : [ { "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.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" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:18:14]POST & json_proto [16:18:14]process_json_proto [16:18:14]json parsed OK: [16:18:14]protocol is kg_v1.0 [16:18:14]action value=close_receipt [16:18:14]process_action close_receipt [16:18:14]cmd_close_receipt [16:18:14]MH_GetDate [16:18:14]Write to MH i2c: F0 00 00 89 6A E2 [16:18:14]Write i2c OK [16:18:14]MH_I2C_Read... [16:18:14]Read from MH i2c: F0 [16:18:14]MH_I2C_Read... [16:18:14]Read from MH i2c: F0 09 00 [16:18:14]MH_I2C_Read... [16:18:14]Read from MH i2c: F0 09 00 89 6A 00 56 2D 15 67 5A BE F6 66 5E [16:18:14]GetLastDocTimeStamp 1729439915 [16:18:14]current date 1729441110 [16:18:14]FM_GetShiftState [16:18:14]SAM_PROTO_GetShiftState [16:18:14]wFMCommunicate request_size=4 [16:18:14]MH_SAM_APDU [16:18:14]CAPDU: 80 13 01 00 [16:18:14]Write to MH i2c: E2 08 00 8A 6A 80 13 01 00 00 00 00 00 71 [16:18:14]Write i2c OK [16:18:14]MH_I2C_Read... [16:18:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:18:14]Read from MH i2c: E2 [16:18:14]MH_I2C_Read... [16:18:14]Read from MH i2c: E2 0E 00 [16:18:14]MH_I2C_Read... [16:18:14]Read from MH i2c: E2 0E 00 8A 6A 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 5B [16:18:14]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [16:18:14]wFMCommunicate OK [16:18:14]SAM_PROTO_GetShiftState done [16:18:14]FM_GetShiftState done [16:18:14]opened in 1729382427 [16:18:14]opened+sec_in_day 1729468827 [16:18:14]quantity*price = 9900 [16:18:14]sum+1 = 9901 [16:18:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 243.00 НСП 1% : 2.15 НДС 12% : 25.80 Наличными: 243.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 50 20.10.2024 16:18 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2669 ФПД: 192219961625920 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T161830&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2669&fm=192219961625920&tin=02508201610067®Number=0000000000207295&sum=24300 0 [16:18:15]StoreToDocumentArchive [16:18:15]shift 24 fd 2669 [16:18:15]save to /storage/0024/doc_00002669 [16:18:15]save last doc name /storage/0024/doc_00002669 to /storage/kkm_last_doc_name [16:18:15]save OK [16:18:15]Clear old archive folders... [16:18:15]ProcessDocumentItem done err = 0, tmpTLVsize=382 [16:18:15]tlvbuf is 0133BDF0 [16:18:15]SAM_PROTO_ClearQueue [16:18:15]wFMCommunicate request_size=4 [16:18:15]MH_SAM_APDU [16:18:15]CAPDU: 80 09 00 00 [16:18:15]Write to MH i2c: E2 08 00 97 6A 80 09 00 00 00 00 00 00 73 [16:18:15]Write i2c OK [16:18:15]MH_I2C_Read... [16:18:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:18:15]Read from MH i2c: E2 [16:18:15]MH_I2C_Read... [16:18:15]Read from MH i2c: E2 03 00 [16:18:15]MH_I2C_Read... [16:18:15]Read from MH i2c: E2 03 00 97 6A 00 90 00 75 [16:18:15]RAPDU: 90 00 [16:18:15]wFMCommunicate OK [16:18:15]SAM_PROTO_ClearQueue done [16:18:15]KKMCreateOFDPacket [16:18:15]OFDProtocolAddRootSTLVToBuf [16:18:15]FM_MakeSignedData [16:18:15]FM_MakeSignedData [16:18:15]SAM_PROTO_SignData [16:18:15]wFMCommunicate request_size=4 [16:18:15]MH_SAM_APDU [16:18:15]CAPDU: 80 0D 01 02 [16:18:15]Write to MH i2c: E2 08 00 98 6A 80 0D 01 02 00 00 00 00 7B [16:18:15]Write i2c OK [16:18:15]MH_I2C_Read... [16:18:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:18:15]Read from MH i2c: E2 [16:18:15]MH_I2C_Read... [16:18:15]Read from MH i2c: E2 03 00 [16:18:15]MH_I2C_Read... [16:18:15]Read from MH i2c: E2 03 00 98 6A 00 90 00 76 [16:18:15]RAPDU: 90 00 [16:18:15]wFMCommunicate OK [16:18:15]wFMCommunicate request_size=255 [16:18:15]MH_SAM_APDU [16:18:15]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 AC 26 00 00 00 00 13 04 06 00 AC 26 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 [16:18:15]Write to MH i2c: E2 02 01 99 6A 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 AC 26 00 00 00 00 13 04 06 00 AC 26 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 F8 [16:18:15]Write i2c OK [16:18:15]MH_I2C_Read... [16:18:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:18:16]Read from MH i2c: E2 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: E2 03 00 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: E2 03 00 99 6A 00 90 00 77 [16:18:16]RAPDU: 90 00 [16:18:16]wFMCommunicate OK [16:18:16]wFMCommunicate request_size=141 [16:18:16]MH_SAM_APDU [16:18:16]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 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 56 2D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6D 0A 00 00 35 04 06 00 AE D2 B2 88 0D 40 [16:18:16]Write to MH i2c: E2 90 00 9A 6A 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 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 56 2D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6D 0A 00 00 35 04 06 00 AE D2 B2 88 0D 40 00 00 DF [16:18:16]Write i2c OK [16:18:16]MH_I2C_Read... [16:18:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:18:16]Read from MH i2c: E2 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: E2 03 00 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: E2 03 00 9A 6A 00 90 00 78 [16:18:16]RAPDU: 90 00 [16:18:16]wFMCommunicate OK [16:18:16]wFMCommunicate request_size=4 [16:18:16]MH_SAM_APDU [16:18:16]CAPDU: 80 0D 03 02 [16:18:16]Write to MH i2c: E2 08 00 9B 6A 80 0D 03 02 00 00 00 00 80 [16:18:16]Write i2c OK [16:18:16]MH_I2C_Read... [16:18:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:18:16]Read from MH i2c: E2 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: E2 0B 00 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: E2 0B 00 9B 6A 00 ED 27 A3 28 C2 CF DB E6 90 00 B2 [16:18:16]RAPDU: ED 27 A3 28 C2 CF DB E6 90 00 [16:18:16]wFMCommunicate OK [16:18:16]SAM_PROTO_SignData done [16:18:16]FM_MakeSignedData done [16:18:16]CreateOFDProtocolMessage [16:18:16]wFMCommunicate request_size=4 [16:18:16]MH_SAM_APDU [16:18:16]CAPDU: 80 11 00 00 [16:18:16]Write to MH i2c: E2 08 00 9C 6A 80 11 00 00 00 00 00 00 80 [16:18:16]Write i2c OK [16:18:16]MH_I2C_Read... [16:18:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:18:16]Read from MH i2c: E2 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: E2 17 00 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: E2 17 00 9C 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C8 [16:18:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:18:16]wFMCommunicate OK [16:18:16]CreateOFDProtocolMessage done [16:18:16]OFDSenderStorePacket 2669 [16:18:16]StoreOFDPacket docnum=2669 [16:18:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 92 01 00 00 65 65 8A 01 5B 58 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 AC 26 00 00 00 00 13 04 06 00 AC 26 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 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 56 2D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6D 0A 00 00 35 04 06 00 AE D2 B2 88 0D 40 ED 27 A3 28 C2 CF DB E6 [16:18:16]CheckFolder [16:18:16]dirname=/storage/ofd_packets [16:18:16]CheckFolder done [16:18:16]ProducePacketName [16:18:16]name=ofd_packets/00002669 [16:18:16]NVStorageSaveData ofd_packets/00002669 [16:18:16]File name is /storage/ofd_packets/00002669 [16:18:16]Write 432 bytes [16:18:16]NVStorageSaveData done [16:18:16]OFDSenderStorePacket done [16:18:16]KKMCreateOFDPacket done [16:18:16]NVStorageSaveData kkm_last_timestamp [16:18:16]File name is /storage/kkm_last_timestamp [16:18:16]Write 4 bytes [16:18:16]NVStorageSaveData done [16:18:16]ExternCall_PrintAddStr [16:18:16]wPrintStart [16:18:16]Write to MH i2c: 01 00 00 9D 6A 07 [16:18:16]Write i2c OK [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: 01 [16:18:16]MH_I2C_Read... [16:18:16]Read from MH i2c: 01 07 00 [16:18:16]MH_I2C_Read... [16:18:16]OFD Sender: Processing packet 2669 [packets to send 1, broken 0] [16:18:16]ProducePacketName [16:18:16]name=ofd_packets/00002669 [16:18:16]Read from MH i2c: OFD Sender: To server: pG, [16:18:16]01 CommunicateWithHost lk.salyk.kg:30040 [16:18:16]07 ConnectInit lk.salyk.kg [16:18:16]00 9D 6A 00 00 00 00 00 FF 0F 1C [16:18:16]RasterBufferAndPrint [16:18:16]line Счет N : (3)100047 [16:18:16]line ИНН: 02508201610067 [16:18:16]line Контрольно-Кассовый Чек [16:18:16]line ПРОДАЖА [16:18:16]line Товар: 4650243871781 [16:18:16]line Gorilla эн нап Orange 0,45 ж/б [16:18:16]line 1.000 * 99.00 [16:18:16]line = 99.00 [16:18:16]line НДС 12% НСП 1% [16:18:16]line > о реализуемом товаре [16:18:16]line Товар: 48743570 [16:18:16]line Сигареты Winston XStyle Blue [16:18:16]line 1.000 * 144.00 [16:18:16]line = 144.00 [16:18:16]line НДС 12% НСП 1% [16:18:16]line > о реализуемом товаре [16:18:16]line ИТОГО: 243.00 [16:18:16]line НСП 1% : 2.15 [16:18:16]line НДС 12% : 25.80 [16:18:16]line Наличными: 243.00 [16:18:16]line Безнал.: 0.00 [16:18:16]line Место: АЗС № 162 "Партнер Нефть" [16:18:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [16:18:16]line СНО: Общий режим [16:18:16]line Чек 50 20.10.2024 16:18 [16:18:16]line Смена: 24 ФФД: 1.0 [16:18:16]line ЗНМ: 0300000191 [16:18:16]line РНМ: 0000000000207295 [16:18:16]line Версия ККМ: v1.0 [16:18:16]line ФМ: 0000000002342820 [16:18:16]line ФД: 2669 [16:18:16]line ФПД: 192219961625920 [16:18:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T161830&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2669&fm=192219961625920&tin=02508201610067®Number=0000000000207295&sum=24300 [16:18:16]line 0 [16:18:16]written 0, free lines is 4095 [16:18:16]Connected sock=10 [16:18:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 92 01 00 00 65 65 8A 01 5B 58 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 AC 26 00 00 00 00 13 04 06 00 AC 26 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 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 56 2D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6D 0A 00 00 35 04 06 00 AE D2 B2 88 0D 40 ED 27 A3 28 C2 CF DB E6 [16:18:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 8F 42 47 00 18 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6D 0A 00 00 F4 03 04 00 B3 D8 14 67 B6 04 01 00 00 4F AC 3F 8A 1E 73 7E 5D [16:18:16]CommunicateWithHost err = 0 [16:18:16]CheckOFDResponse [16:18:16]1017 (14) - 77093643461234 [16:18:16]1041 (16) - 0000000002342820 [16:18:16]1040 (4) - 2669 [16:18:16]1012 (4) - 20.10.2024 10:17 [16:18:16]1206 (1) - 0 [16:18:16]OFD Sender: Remove packet 2669 [16:18:16]ProducePacketName [16:18:16]name=ofd_packets/00002669 [16:18:16]NVStorageDeleteData [16:18:17]Write to MH i2c: 01 00 00 CB 6A 35 [16:18:17]Write i2c OK [16:18:17]MH_I2C_Read... [16:18:17]Read from MH i2c: 01 [16:18:17]MH_I2C_Read... [16:18:17]Read from MH i2c: 01 07 00 [16:18:17]MH_I2C_Read... [16:18:17]Read from MH i2c: 01 07 00 CB 6A 00 00 00 00 00 70 0C B8 [16:18:17]RasterBufferAndPrint [16:18:17]line [16:18:17]line [16:18:17]line [16:18:17]line [16:18:17]line [16:18:17]written 0, free lines is 3192 [16:18:17]MH_Cut [16:18:17]Write to MH i2c: D1 01 00 D2 6A 01 0E [16:18:17]Write i2c OK [16:18:17]MH_I2C_Read... [16:18:17]Read from MH i2c: D1 [16:18:17]MH_I2C_Read... [16:18:17]Read from MH i2c: D1 01 00 [16:18:17]MH_I2C_Read... [16:18:17]Read from MH i2c: D1 01 00 D2 6A 00 0D [16:18:17]Write to MH i2c: 01 00 00 D3 6A 3D [16:18:17]Write i2c OK [16:18:17]MH_I2C_Read... [16:18:17]OFD Sender: No OFD packet to send [16:18:18]*** Cut start [16:18:18]*** Partial cut [16:18:18]*** CUTSNS_PIN = 1 [16:18:18]*** CUTSNS_PIN = 0 [16:18:18]*** Brake cut motor [16:18:18]Read from MH i2c: 01 [16:18:18]MH_I2C_Read... [16:18:18]*** Stop cut motor [16:18:18]*** Cut end [16:18:18]Read from MH i2c: 01 07 00 [16:18:18]MH_I2C_Read... [16:18:18]Read from MH i2c: 01 07 00 D3 6A 00 00 00 00 00 FF 0F 52 [16:18:18]process_action close_receipt done [16:18:18]requested_data is exist [16:18:18]produce_requested_data [16:18:18]requested_item fm.sn is exist - process it [16:18:18]wFMCommunicate request_size=4 [16:18:18]MH_SAM_APDU [16:18:18]CAPDU: 80 11 00 00 [16:18:18]Write to MH i2c: E2 08 00 D4 6A 80 11 00 00 00 00 00 00 B8 [16:18:18]Write i2c OK [16:18:18]MH_I2C_Read... [16:18:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:18:18]Read from MH i2c: E2 [16:18:18]MH_I2C_Read... [16:18:18]Read from MH i2c: E2 17 00 [16:18:18]MH_I2C_Read... [16:18:18]Read from MH i2c: E2 17 00 D4 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 00 [16:18:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:18:18]wFMCommunicate OK [16:18:18]requested_item fd.num is exist - process it [16:18:18]SAM_PROTO_GetFieldsCounters [16:18:18]wFMCommunicate request_size=4 [16:18:18]MH_SAM_APDU [16:18:18]CAPDU: 80 13 00 00 [16:18:18]Write to MH i2c: E2 08 00 D5 6A 80 13 00 00 00 00 00 00 BB [16:18:18]Write i2c OK [16:18:18]MH_I2C_Read... [16:18:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:18:18]Read from MH i2c: E2 [16:18:18]MH_I2C_Read... [16:18:18]Read from MH i2c: E2 62 00 [16:18:18]MH_I2C_Read... [16:18:18]Read from MH i2c: E2 62 00 D5 6A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6D 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 F6 [16:18:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6D 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:18:18]wFMCommunicate OK [16:18:18]SAM_PROTO_GetFieldsCounters done [16:18:18]requested_item shift.num is exist - process it [16:18:18]requested_item shift.opened is exist - process it [16:18:18]req_shift_opened [16:18:18]FM_GetShiftState [16:18:18]SAM_PROTO_GetShiftState [16:18:18]wFMCommunicate request_size=4 [16:18:18]MH_SAM_APDU [16:18:18]CAPDU: 80 13 01 00 [16:18:18]Write to MH i2c: E2 08 00 D6 6A 80 13 01 00 00 00 00 00 BD [16:18:18]Write i2c OK [16:18:18]MH_I2C_Read... [16:18:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:18:18]Read from MH i2c: E2 [16:18:18]MH_I2C_Read... [16:18:18]Read from MH i2c: E2 0E 00 [16:18:18]MH_I2C_Read... [16:18:18]Read from MH i2c: E2 0E 00 D6 6A 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A7 [16:18:18]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [16:18:18]wFMCommunicate OK [16:18:18]SAM_PROTO_GetShiftState done [16:18:18]FM_GetShiftState done [16:18:18]req_shift_opened done [16:18:18]requested_item shift.open_date is exist - process it [16:18:18]req_shift_open_date [16:18:18]req_shift_open_date done [16:18:18]produce_requested_data done [16:18:18]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2669,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [16:18:18]process_action_free close_receipt [16:18:18]json_value_free [16:18:18]json_value_free done [16:18:18]process_json_proto returns [16:18:18]Send response to host [16:18:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2669,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [16:18:18]free response buf [16:18:18]execute_script done [16:18:18]execute_script returns [16:18:18]free content buf [16:18:18]Sock 9.Close socket [16:18:18]Sock 9.Thread stoped [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]OFD Sender: No OFD packet to send [16:21:27]OFD Sender: No OFD packet to send [16:21:32]OFD Sender: No OFD packet to send [16:21:37]OFD Sender: No OFD packet to send [16:21:42]OFD Sender: No OFD packet to send [16:21:47]OFD Sender: No OFD packet to send [16:21:52]OFD Sender: No OFD packet to send [16:21:57]OFD Sender: No OFD packet to send [16:22:02]accept exits with 7 [16:22:02]New connection [16:22:02]New thread 3066850660 created [16:22:02]Thread 3066707300 joined [16:22:02]Waiting for new connection... [16:22:02] Sock 7.Parse request [16:22:02]Sock 7.Check first char [16:22:02]Sock 7.First char is OK [16:22:02]request: POST /json_proto HTTP/1.0 [16:22:02]Method: POST [16:22:02]URL: /json_proto [16:22:02]Method is POST - this is cgi request [16:22:02]url: /json_proto [16:22:02]query_string will be loaded in cgi processing [16:22:02]execute_cgi json_proto POST (null) [16:22:02]execute_cgi path=json_proto method=POST [16:22:02]POST find Content-Length [16:22:02]Host: 172.17.52.132:8080 [16:22:02]Content-Length: 628 [16:22:02]Content-Type: application/json [16:22:02] [16:22:02]POST finish read [16:22:02]Found Content-Length = 628 [16:22:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100048", "tax_sys" : 0, "items" : [ { "code": "48743396", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:22:02]execute_script... [16:22:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100048", "tax_sys" : 0, "items" : [ { "code": "48743396", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:22:02]POST & json_proto [16:22:02]process_json_proto [16:22:02]json parsed OK: [16:22:02]protocol is kg_v1.0 [16:22:02]action value=close_receipt [16:22:02]process_action close_receipt [16:22:02]cmd_close_receipt [16:22:02]MH_GetDate [16:22:02]Write to MH i2c: F0 00 00 D7 6A 30 [16:22:02]Write i2c OK [16:22:02]MH_I2C_Read... [16:22:02]Read from MH i2c: F0 [16:22:02]MH_I2C_Read... [16:22:02]Read from MH i2c: F0 09 00 [16:22:02]MH_I2C_Read... [16:22:02]Read from MH i2c: F0 09 00 D7 6A 00 3A 2E 15 67 5A BE F6 66 91 [16:22:02]GetLastDocTimeStamp 1729441110 [16:22:02]current date 1729441338 [16:22:02]FM_GetShiftState [16:22:02]SAM_PROTO_GetShiftState [16:22:02]wFMCommunicate request_size=4 [16:22:02]MH_SAM_APDU [16:22:02]CAPDU: 80 13 01 00 [16:22:02]Write to MH i2c: E2 08 00 D8 6A 80 13 01 00 00 00 00 00 BF [16:22:02]Write i2c OK [16:22:02]MH_I2C_Read... [16:22:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:22:02]Read from MH i2c: E2 [16:22:02]MH_I2C_Read... [16:22:02]Read from MH i2c: E2 0E 00 [16:22:02]MH_I2C_Read... [16:22:02]Read from MH i2c: E2 0E 00 D8 6A 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A9 [16:22:02]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [16:22:02]wFMCommunicate OK [16:22:02]SAM_PROTO_GetShiftState done [16:22:02]FM_GetShiftState done [16:22:02]opened in 1729382427 [16:22:02]opened+sec_in_day 1729468827 [16:22:02]quantity*price = 13400 [16:22:02]sum+1 = 13401 [16:22:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 51 20.10.2024 16:22 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2670 ФПД: 261989288422415 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T162218&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2670&fm=261989288422415&tin=02508201610067®Number=0000000000207295&sum=13400 0 [16:22:03]StoreToDocumentArchive [16:22:03]shift 24 fd 2670 [16:22:03]save to /storage/0024/doc_00002670 [16:22:03]save last doc name /storage/0024/doc_00002670 to /storage/kkm_last_doc_name [16:22:03]save OK [16:22:03]Clear old archive folders... [16:22:03]ProcessDocumentItem done err = 0, tmpTLVsize=280 [16:22:03]tlvbuf is 01426530 [16:22:03]SAM_PROTO_ClearQueue [16:22:03]wFMCommunicate request_size=4 [16:22:03]MH_SAM_APDU [16:22:03]CAPDU: 80 09 00 00 [16:22:03]Write to MH i2c: E2 08 00 E5 6A 80 09 00 00 00 00 00 00 C1 [16:22:03]Write i2c OK [16:22:03]MH_I2C_Read... [16:22:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:22:03]Read from MH i2c: E2 [16:22:03]MH_I2C_Read... [16:22:03]Read from MH i2c: E2 03 00 [16:22:03]MH_I2C_Read... [16:22:03]Read from MH i2c: E2 03 00 E5 6A 00 90 00 C3 [16:22:03]RAPDU: 90 00 [16:22:03]wFMCommunicate OK [16:22:03]SAM_PROTO_ClearQueue done [16:22:03]KKMCreateOFDPacket [16:22:03]OFDProtocolAddRootSTLVToBuf [16:22:03]FM_MakeSignedData [16:22:03]FM_MakeSignedData [16:22:03]SAM_PROTO_SignData [16:22:03]wFMCommunicate request_size=4 [16:22:03]MH_SAM_APDU [16:22:03]CAPDU: 80 0D 01 02 [16:22:03]Write to MH i2c: E2 08 00 E6 6A 80 0D 01 02 00 00 00 00 C9 [16:22:03]Write i2c OK [16:22:03]MH_I2C_Read... [16:22:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:22:03]Read from MH i2c: E2 [16:22:03]MH_I2C_Read... [16:22:03]Read from MH i2c: E2 03 00 [16:22:03]MH_I2C_Read... [16:22:03]Read from MH i2c: E2 03 00 E6 6A 00 90 00 C4 [16:22:03]RAPDU: 90 00 [16:22:03]wFMCommunicate OK [16:22:03]wFMCommunicate request_size=255 [16:22:03]MH_SAM_APDU [16:22:03]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 33 33 39 36 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 73 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 33 00 00 00 F4 03 04 00 3A 2E 15 67 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 32 30 37 32 39 35 11 04 10 00 [16:22:03]Write to MH i2c: E2 02 01 E7 6A 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 33 33 39 36 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 73 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 33 00 00 00 F4 03 04 00 3A 2E 15 67 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 32 30 37 32 39 35 11 04 10 00 00 00 BE [16:22:03]Write i2c OK [16:22:03]MH_I2C_Read... [16:22:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:22:03]Read from MH i2c: E2 [16:22:03]MH_I2C_Read... [16:22:03]Read from MH i2c: E2 03 00 [16:22:03]MH_I2C_Read... [16:22:03]Read from MH i2c: E2 03 00 E7 6A 00 90 00 C5 [16:22:03]RAPDU: 90 00 [16:22:03]wFMCommunicate OK [16:22:03]wFMCommunicate request_size=39 [16:22:03]MH_SAM_APDU [16:22:03]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6E 0A 00 00 35 04 06 00 EE 47 22 78 AC 0F [16:22:03]Write to MH i2c: E2 2A 00 E8 6A 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6E 0A 00 00 35 04 06 00 EE 47 22 78 AC 0F 00 00 7E [16:22:03]Write i2c OK [16:22:03]MH_I2C_Read... [16:22:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:22:04]Read from MH i2c: E2 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: E2 03 00 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: E2 03 00 E8 6A 00 90 00 C6 [16:22:04]RAPDU: 90 00 [16:22:04]wFMCommunicate OK [16:22:04]wFMCommunicate request_size=4 [16:22:04]MH_SAM_APDU [16:22:04]CAPDU: 80 0D 03 02 [16:22:04]Write to MH i2c: E2 08 00 E9 6A 80 0D 03 02 00 00 00 00 CE [16:22:04]Write i2c OK [16:22:04]MH_I2C_Read... [16:22:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:22:04]Read from MH i2c: E2 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: E2 0B 00 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: E2 0B 00 E9 6A 00 6C B4 9A 38 C5 47 A8 3D 90 00 B2 [16:22:04]RAPDU: 6C B4 9A 38 C5 47 A8 3D 90 00 [16:22:04]wFMCommunicate OK [16:22:04]SAM_PROTO_SignData done [16:22:04]FM_MakeSignedData done [16:22:04]CreateOFDProtocolMessage [16:22:04]wFMCommunicate request_size=4 [16:22:04]MH_SAM_APDU [16:22:04]CAPDU: 80 11 00 00 [16:22:04]Write to MH i2c: E2 08 00 EA 6A 80 11 00 00 00 00 00 00 CE [16:22:04]Write i2c OK [16:22:04]MH_I2C_Read... [16:22:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:22:04]Read from MH i2c: E2 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: E2 17 00 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: E2 17 00 EA 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 16 [16:22:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:22:04]wFMCommunicate OK [16:22:04]CreateOFDProtocolMessage done [16:22:04]OFDSenderStorePacket 2670 [16:22:04]StoreOFDPacket docnum=2670 [16:22:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2C 01 00 00 EA 40 24 01 78 BC 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 33 33 39 36 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 73 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 33 00 00 00 F4 03 04 00 3A 2E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6E 0A 00 00 35 04 06 00 EE 47 22 78 AC 0F 6C B4 9A 38 C5 47 A8 3D [16:22:04]CheckFolder [16:22:04]dirname=/storage/ofd_packets [16:22:04]CheckFolder done [16:22:04]ProducePacketName [16:22:04]name=ofd_packets/00002670 [16:22:04]NVStorageSaveData ofd_packets/00002670 [16:22:04]File name is /storage/ofd_packets/00002670 [16:22:04]Write 330 bytes [16:22:04]NVStorageSaveData done [16:22:04]OFDSenderStorePacket done [16:22:04]KKMCreateOFDPacket done [16:22:04]NVStorageSaveData kkm_last_timestamp [16:22:04]File name is /storage/kkm_last_timestamp [16:22:04]Write 4 bytes [16:22:04]NVStorageSaveData done [16:22:04]ExternCall_PrintAddStr [16:22:04]wPrintStart [16:22:04]Write to MH i2c: 01 00 00 EB 6A 55 [16:22:04]OFD Sender: Processing packet 2670 [packets to send 1, broken 0] [16:22:04]ProducePacketName [16:22:04]name=ofd_packets/00002670 [16:22:04]OFD Sender: To server: pG, [16:22:04]CommunicateWithHost lk.salyk.kg:30040 [16:22:04]ConnectInit lk.salyk.kg [16:22:04]Write i2c OK [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: 01 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: 01 07 00 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: 01 07 00 EB 6A 00 00 00 00 00 FF 0F 6A [16:22:04]RasterBufferAndPrint [16:22:04]line Счет N : (3)100048 [16:22:04]line ИНН: 02508201610067 [16:22:04]line Контрольно-Кассовый Чек [16:22:04]line ПРОДАЖА [16:22:04]line Товар: 48743396 [16:22:04]line Сигареты BOND STREET compact silver [16:22:04]line 1.000 * 134.00 [16:22:04]line = 134.00 [16:22:04]line НДС 12% НСП 1% [16:22:04]line > о реализуемом товаре [16:22:04]line ИТОГО: 134.00 [16:22:04]line НСП 1% : 1.19 [16:22:04]line НДС 12% : 14.23 [16:22:04]line Наличными: 134.00 [16:22:04]line Безнал.: 0.00 [16:22:04]line Место: АЗС № 162 "Партнер Нефть" [16:22:04]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [16:22:04]line СНО: Общий режим [16:22:04]line Чек 51 20.10.2024 16:22 [16:22:04]line Смена: 24 ФФД: 1.0 [16:22:04]line ЗНМ: 0300000191 [16:22:04]line РНМ: 0000000000207295 [16:22:04]line Версия ККМ: v1.0 [16:22:04]line ФМ: 0000000002342820 [16:22:04]line ФД: 2670 [16:22:04]line ФПД: 261989288422415 [16:22:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T162218&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2670&fm=261989288422415&tin=02508201610067®Number=0000000000207295&sum=13400 [16:22:04]line 0 [16:22:04]Connected sock=10 [16:22:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2C 01 00 00 EA 40 24 01 78 BC 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 33 33 39 36 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 73 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 33 00 00 00 F4 03 04 00 3A 2E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6E 0A 00 00 35 04 06 00 EE 47 22 78 AC 0F 6C B4 9A 38 C5 47 A8 3D [16:22:04]written 0, free lines is 4095 [16:22:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D7 EA 47 00 D9 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6E 0A 00 00 F4 03 04 00 97 D9 14 67 B6 04 01 00 00 22 5C 3C 36 F6 08 B3 CE [16:22:04]CommunicateWithHost err = 0 [16:22:04]CheckOFDResponse [16:22:04]1017 (14) - 77093643461234 [16:22:04]1041 (16) - 0000000002342820 [16:22:04]1040 (4) - 2670 [16:22:04]1012 (4) - 20.10.2024 10:21 [16:22:04]1206 (1) - 0 [16:22:04]OFD Sender: Remove packet 2670 [16:22:04]ProducePacketName [16:22:04]name=ofd_packets/00002670 [16:22:04]NVStorageDeleteData [16:22:04]Write to MH i2c: 01 00 00 14 6B 7F [16:22:04]Write i2c OK [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: 01 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: 01 07 00 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: 01 07 00 14 6B 00 00 00 00 00 BB 0C 4D [16:22:04]RasterBufferAndPrint [16:22:04]line [16:22:04]line [16:22:04]line [16:22:04]line [16:22:04]line [16:22:04]written 0, free lines is 3264 [16:22:04]MH_Cut [16:22:04]Write to MH i2c: D1 01 00 1B 6B 01 58 [16:22:04]Write i2c OK [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: D1 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: D1 01 00 [16:22:04]MH_I2C_Read... [16:22:04]Read from MH i2c: D1 01 00 1B 6B 00 57 [16:22:04]Write to MH i2c: 01 00 00 1C 6B 87 [16:22:04]Write i2c OK [16:22:04]MH_I2C_Read... [16:22:05]OFD Sender: No OFD packet to send [16:22:05]*** Cut start [16:22:05]*** Partial cut [16:22:05]*** CUTSNS_PIN = 1 [16:22:05]*** CUTSNS_PIN = 0 [16:22:06]*** Brake cut motor [16:22:06]Read from MH i2c: 01 [16:22:06]MH_I2C_Read... [16:22:06]*** Stop cut motor [16:22:06]*** Cut end [16:22:06]Read from MH i2c: 01 07 00 [16:22:06]MH_I2C_Read... [16:22:06]Read from MH i2c: 01 07 00 1C 6B 00 00 00 00 00 FF 0F 9C [16:22:06]process_action close_receipt done [16:22:06]requested_data is exist [16:22:06]produce_requested_data [16:22:06]requested_item fm.sn is exist - process it [16:22:06]wFMCommunicate request_size=4 [16:22:06]MH_SAM_APDU [16:22:06]CAPDU: 80 11 00 00 [16:22:06]Write to MH i2c: E2 08 00 1D 6B 80 11 00 00 00 00 00 00 02 [16:22:06]Write i2c OK [16:22:06]MH_I2C_Read... [16:22:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:22:06]Read from MH i2c: E2 [16:22:06]MH_I2C_Read... [16:22:06]Read from MH i2c: E2 17 00 [16:22:06]MH_I2C_Read... [16:22:06]Read from MH i2c: E2 17 00 1D 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4A [16:22:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:22:06]wFMCommunicate OK [16:22:06]requested_item fd.num is exist - process it [16:22:06]SAM_PROTO_GetFieldsCounters [16:22:06]wFMCommunicate request_size=4 [16:22:06]MH_SAM_APDU [16:22:06]CAPDU: 80 13 00 00 [16:22:06]Write to MH i2c: E2 08 00 1E 6B 80 13 00 00 00 00 00 00 05 [16:22:06]Write i2c OK [16:22:06]MH_I2C_Read... [16:22:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:22:06]Read from MH i2c: E2 [16:22:06]MH_I2C_Read... [16:22:06]Read from MH i2c: E2 62 00 [16:22:06]MH_I2C_Read... [16:22:06]Read from MH i2c: E2 62 00 1E 6B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6E 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 44 [16:22:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6E 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:22:06]wFMCommunicate OK [16:22:06]SAM_PROTO_GetFieldsCounters done [16:22:06]requested_item shift.num is exist - process it [16:22:06]requested_item shift.opened is exist - process it [16:22:06]req_shift_opened [16:22:06]FM_GetShiftState [16:22:06]SAM_PROTO_GetShiftState [16:22:06]wFMCommunicate request_size=4 [16:22:06]MH_SAM_APDU [16:22:06]CAPDU: 80 13 01 00 [16:22:06]Write to MH i2c: E2 08 00 1F 6B 80 13 01 00 00 00 00 00 07 [16:22:06]Write i2c OK [16:22:06]MH_I2C_Read... [16:22:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:22:06]Read from MH i2c: E2 [16:22:06]MH_I2C_Read... [16:22:06]Read from MH i2c: E2 0E 00 [16:22:06]MH_I2C_Read... [16:22:06]Read from MH i2c: E2 0E 00 1F 6B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F1 [16:22:06]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [16:22:06]wFMCommunicate OK [16:22:06]SAM_PROTO_GetShiftState done [16:22:06]FM_GetShiftState done [16:22:06]req_shift_opened done [16:22:06]requested_item shift.open_date is exist - process it [16:22:06]req_shift_open_date [16:22:06]req_shift_open_date done [16:22:06]produce_requested_data done [16:22:06]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2670,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [16:22:06]process_action_free close_receipt [16:22:06]json_value_free [16:22:06]json_value_free done [16:22:06]process_json_proto returns [16:22:06]Send response to host [16:22:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2670,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [16:22:06]free response buf [16:22:06]execute_script done [16:22:06]execute_script returns [16:22:06]free content buf [16:22:06]Sock 7.Close socket [16:22:06]Sock 7.Thread stoped [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:46]OFD Sender: No OFD packet to send [16:39:51]OFD Sender: No OFD packet to send [16:39:56]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:21]OFD Sender: No OFD packet to send [16:41:26]OFD Sender: No OFD packet to send [16:41:31]OFD Sender: No OFD packet to send [16:41:36]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:56]OFD Sender: No OFD packet to send [16:42:01]OFD Sender: No OFD packet to send [16:42:05]accept exits with 9 [16:42:05]New connection [16:42:05]New thread 3066707300 created [16:42:05]Thread 3066850660 joined [16:42:05]Waiting for new connection... [16:42:05] Sock 9.Parse request [16:42:05]Sock 9.Check first char [16:42:05]Sock 9.First char is OK [16:42:05]request: POST /json_proto HTTP/1.0 [16:42:05]Method: POST [16:42:05]URL: /json_proto [16:42:05]Method is POST - this is cgi request [16:42:05]url: /json_proto [16:42:05]query_string will be loaded in cgi processing [16:42:05]execute_cgi json_proto POST (null) [16:42:05]execute_cgi path=json_proto method=POST [16:42:05]POST find Content-Length [16:42:05]Host: 172.17.52.132:8080 [16:42:05]Content-Length: 798 [16:42:05]Content-Type: application/json [16:42:05] [16:42:05]POST finish read [16:42:05]Found Content-Length = 798 [16:42:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)476881", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 0.00, "quantity" : 930.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A3987669", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:05]execute_script... [16:42: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)476881", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 0.00, "quantity" : 930.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A3987669", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:05]POST & json_proto [16:42:05]process_json_proto [16:42:05]json parsed OK: [16:42:05]protocol is kg_v1.0 [16:42:05]action value=close_receipt [16:42:05]process_action close_receipt [16:42:05]cmd_close_receipt [16:42:05]MH_GetDate [16:42:05]Write to MH i2c: F0 00 00 20 6B 7A [16:42:05]Write i2c OK [16:42:05]MH_I2C_Read... [16:42:05]Read from MH i2c: F0 [16:42:05]MH_I2C_Read... [16:42:05]Read from MH i2c: F0 09 00 [16:42:05]MH_I2C_Read... [16:42:05]Read from MH i2c: F0 09 00 20 6B 00 ED 32 15 67 5A BE F6 66 92 [16:42:05]GetLastDocTimeStamp 1729441338 [16:42:05]current date 1729442541 [16:42:05]FM_GetShiftState [16:42:05]SAM_PROTO_GetShiftState [16:42:05]wFMCommunicate request_size=4 [16:42:05]MH_SAM_APDU [16:42:05]CAPDU: 80 13 01 00 [16:42:05]Write to MH i2c: E2 08 00 21 6B 80 13 01 00 00 00 00 00 09 [16:42:05]Write i2c OK [16:42:05]MH_I2C_Read... [16:42:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:05]Read from MH i2c: E2 [16:42:05]MH_I2C_Read... [16:42:05]Read from MH i2c: E2 0E 00 [16:42:05]MH_I2C_Read... [16:42:05]Read from MH i2c: E2 0E 00 21 6B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F3 [16:42:05]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [16:42:05]wFMCommunicate OK [16:42:05]SAM_PROTO_GetShiftState done [16:42:05]FM_GetShiftState done [16:42:05]opened in 1729382427 [16:42:05]opened+sec_in_day 1729468827 [16:42:05]quantity*price = 0 [16:42:05]sum+1 = 1 [16:42:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 52 20.10.2024 16:42 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Талоны: Топливные Талоны 3987669 ФМ: 0000000002342820 ФД: 2671 ФПД: 72657325133308 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T164221&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2671&fm=72657325133308&tin=02508201610067®Number=0000000000207295&sum=0 [16:42:06]StoreToDocumentArchive [16:42:06]shift 24 fd 2671 [16:42:06]save to /storage/0024/doc_00002671 [16:42:06]save last doc name /storage/0024/doc_00002671 to /storage/kkm_last_doc_name [16:42:06]save OK [16:42:06]Clear old archive folders... [16:42:06]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:42:06]tlvbuf is 014ABBB0 [16:42:06]SAM_PROTO_ClearQueue [16:42:06]wFMCommunicate request_size=4 [16:42:06]MH_SAM_APDU [16:42:06]CAPDU: 80 09 00 00 [16:42:06]Write to MH i2c: E2 08 00 2E 6B 80 09 00 00 00 00 00 00 0B [16:42:06]Write i2c OK [16:42:06]MH_I2C_Read... [16:42:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:06]Read from MH i2c: E2 [16:42:06]MH_I2C_Read... [16:42:06]Read from MH i2c: E2 03 00 [16:42:06]MH_I2C_Read... [16:42:06]Read from MH i2c: E2 03 00 2E 6B 00 90 00 0D [16:42:06]RAPDU: 90 00 [16:42:06]wFMCommunicate OK [16:42:06]SAM_PROTO_ClearQueue done [16:42:06]KKMCreateOFDPacket [16:42:06]OFDProtocolAddRootSTLVToBuf [16:42:06]FM_MakeSignedData [16:42:06]FM_MakeSignedData [16:42:06]SAM_PROTO_SignData [16:42:06]wFMCommunicate request_size=4 [16:42:06]MH_SAM_APDU [16:42:06]CAPDU: 80 0D 01 02 [16:42:06]Write to MH i2c: E2 08 00 2F 6B 80 0D 01 02 00 00 00 00 13 [16:42:06]Write i2c OK [16:42:06]MH_I2C_Read... [16:42:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:06]Read from MH i2c: E2 [16:42:06]MH_I2C_Read... [16:42:06]Read from MH i2c: E2 03 00 [16:42:06]MH_I2C_Read... [16:42:06]Read from MH i2c: E2 03 00 2F 6B 00 90 00 0E [16:42:06]RAPDU: 90 00 [16:42:06]wFMCommunicate OK [16:42:06]wFMCommunicate request_size=255 [16:42:06]MH_SAM_APDU [16:42:06]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 30 0E 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 ED 32 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6F 0A 00 00 35 04 06 00 42 14 DA 0E [16:42:06]Write to MH i2c: E2 02 01 30 6B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 30 0E 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 ED 32 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6F 0A 00 00 35 04 06 00 42 14 DA 0E 00 00 11 [16:42:06]Write i2c OK [16:42:06]MH_I2C_Read... [16:42:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:06]Read from MH i2c: E2 [16:42:06]MH_I2C_Read... [16:42:06]Read from MH i2c: E2 03 00 [16:42:06]MH_I2C_Read... [16:42:06]Read from MH i2c: E2 03 00 30 6B 00 90 00 0F [16:42:06]RAPDU: 90 00 [16:42:06]wFMCommunicate OK [16:42:06]wFMCommunicate request_size=7 [16:42:06]MH_SAM_APDU [16:42:06]CAPDU: 80 0D 02 02 02 0D FC [16:42:06]Write to MH i2c: E2 0A 00 31 6B 80 0D 02 02 02 00 0D FC 00 00 23 [16:42:06]Write i2c OK [16:42:06]MH_I2C_Read... [16:42:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:07]Read from MH i2c: E2 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: E2 03 00 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: E2 03 00 31 6B 00 90 00 10 [16:42:07]RAPDU: 90 00 [16:42:07]wFMCommunicate OK [16:42:07]wFMCommunicate request_size=4 [16:42:07]MH_SAM_APDU [16:42:07]CAPDU: 80 0D 03 02 [16:42:07]Write to MH i2c: E2 08 00 32 6B 80 0D 03 02 00 00 00 00 18 [16:42:07]Write i2c OK [16:42:07]MH_I2C_Read... [16:42:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:07]Read from MH i2c: E2 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: E2 0B 00 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: E2 0B 00 32 6B 00 E8 59 E8 AF B5 00 00 FB 90 00 A1 [16:42:07]RAPDU: E8 59 E8 AF B5 00 00 FB 90 00 [16:42:07]wFMCommunicate OK [16:42:07]SAM_PROTO_SignData done [16:42:07]FM_MakeSignedData done [16:42:07]CreateOFDProtocolMessage [16:42:07]wFMCommunicate request_size=4 [16:42:07]MH_SAM_APDU [16:42:07]CAPDU: 80 11 00 00 [16:42:07]Write to MH i2c: E2 08 00 33 6B 80 11 00 00 00 00 00 00 18 [16:42:07]Write i2c OK [16:42:07]MH_I2C_Read... [16:42:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:07]Read from MH i2c: E2 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: E2 17 00 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: E2 17 00 33 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 60 [16:42:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:42:07]wFMCommunicate OK [16:42:07]CreateOFDProtocolMessage done [16:42:07]OFDSenderStorePacket 2671 [16:42:07]StoreOFDPacket docnum=2671 [16:42:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0C 01 00 00 52 6F 04 01 9D FF 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 30 0E 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 ED 32 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6F 0A 00 00 35 04 06 00 42 14 DA 0E 0D FC E8 59 E8 AF B5 00 00 FB [16:42:07]CheckFolder [16:42:07]dirname=/storage/ofd_packets [16:42:07]CheckFolder done [16:42:07]ProducePacketName [16:42:07]name=ofd_packets/00002671 [16:42:07]NVStorageSaveData ofd_packets/00002671 [16:42:07]File name is /storage/ofd_packets/00002671 [16:42:07]Write 298 bytes [16:42:07]NVStorageSaveData done [16:42:07]OFDSenderStorePacket done [16:42:07]KKMCreateOFDPacket done [16:42:07]NVStorageSaveData kkm_last_timestamp [16:42:07]File name is /storage/kkm_last_timestamp [16:42:07]Write 4 bytes [16:42:07]NVStorageSaveData done [16:42:07]ExternCall_PrintAddStr [16:42:07]wPrintStart [16:42:07]Write to MH i2c: 01 00 00 34 6B 9F [16:42:07]Write i2c OK [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: 01 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: 01 07 00 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: 01 07 00 34 6B 00 00 00 00 00 FF 0F B4 [16:42:07]RasterBufferAndPrint [16:42:07]line Счет N : (1)476881 [16:42:07]line ИНН: 02508201610067 [16:42:07]line Контрольно-Кассовый Чек [16:42:07]line ПРОДАЖА [16:42:07]line ТРК (МРК, ГНК) : 64 [16:42:07]line Товар: 2710194210 [16:42:07]line ДТ-К-5 [16:42:07]line 930.000 * 0.00 [16:42:07]line = 0.00 [16:42:07]line НДС 12% НСП 1% [16:42:07]line > о реализуемом товаре [16:42:07]line ИТОГО: 0.00 [16:42:07]line НСП 1% : 0.00 [16:42:07]line НДС 12% : 0.00 [16:42:07]line Наличными: 0.00 [16:42:07]line Безнал.: 0.00 [16:42:07]line Место: АЗС № 162 "Партнер Нефть" [16:42:07]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [16:42:07]line СНО: Общий режим [16:42:07]line Чек 52 20.10.2024 16:42 [16:42:07]line Смена: 24 ФФД: 1.0 [16:42:07]line ЗНМ: 0300000191 [16:42:07]line РНМ: 0000000000207295 [16:42:07]line Версия ККМ: v1.0 [16:42:07]line Талоны: Топливные Талоны [16:42:07]line 3987669 [16:42:07]line ФМ: 0000000002342820 [16:42:07]line ФД: 2671 [16:42:07]line ФПД: 72657325133308 [16:42:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T164221&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2671&fm=72657325133308&tin=02508201610067®Number=0000000000207295&sum=0 [16:42:07]OFD Sender: Processing packet 2671 [packets to send 1, broken 0] [16:42:07]ProducePacketName [16:42:07]name=ofd_packets/00002671 [16:42:07]OFD Sender: To server: pG, [16:42:07]CommunicateWithHost lk.salyk.kg:30040 [16:42:07]ConnectInit lk.salyk.kg [16:42:07]written 0, free lines is 4095 [16:42:07]Connected sock=10 [16:42:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0C 01 00 00 52 6F 04 01 9D FF 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 30 0E 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 ED 32 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 6F 0A 00 00 35 04 06 00 42 14 DA 0E 0D FC E8 59 E8 AF B5 00 00 FB [16:42:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 6A 2C 47 00 61 9D 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 33 34 32 38 32 30 10 04 04 00 6F 0A 00 00 F4 03 04 00 4A DE 14 67 B6 04 01 00 00 77 4B 2A 29 08 96 5A 44 [16:42:07]CommunicateWithHost err = 0 [16:42:07]CheckOFDResponse [16:42:07]1017 (14) - 77093643461234 [16:42:07]1041 (16) - 0000000002342820 [16:42:07]1040 (4) - 2671 [16:42:07]1012 (4) - 20.10.2024 10:41 [16:42:07]1206 (1) - 0 [16:42:07]OFD Sender: Remove packet 2671 [16:42:07]ProducePacketName [16:42:07]name=ofd_packets/00002671 [16:42:07]NVStorageDeleteData [16:42:07]Write to MH i2c: 01 00 00 5E 6B C9 [16:42:07]Write i2c OK [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: 01 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: 01 07 00 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: 01 07 00 5E 6B 00 00 00 00 00 BA 0C 96 [16:42:07]RasterBufferAndPrint [16:42:07]line [16:42:07]line [16:42:07]line [16:42:07]line [16:42:07]line [16:42:07]written 0, free lines is 3264 [16:42:07]MH_Cut [16:42:07]Write to MH i2c: D1 01 00 65 6B 01 A2 [16:42:07]Write i2c OK [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: D1 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: D1 01 00 [16:42:07]MH_I2C_Read... [16:42:07]Read from MH i2c: D1 01 00 65 6B 00 A1 [16:42:07]Write to MH i2c: 01 00 00 66 6B D1 [16:42:07]Write i2c OK [16:42:07]MH_I2C_Read... [16:42:08]OFD Sender: No OFD packet to send [16:42:08]*** Cut start [16:42:08]*** Partial cut [16:42:08]*** CUTSNS_PIN = 1 [16:42:08]*** CUTSNS_PIN = 0 [16:42:09]*** Brake cut motor [16:42:09]Read from MH i2c: 01 [16:42:09]MH_I2C_Read... [16:42:09]*** Stop cut motor [16:42:09]*** Cut end [16:42:09]Read from MH i2c: 01 07 00 [16:42:09]MH_I2C_Read... [16:42:09]Read from MH i2c: 01 07 00 66 6B 00 00 00 00 00 FF 0F E6 [16:42:09]process_action close_receipt done [16:42:09]requested_data is exist [16:42:09]produce_requested_data [16:42:09]requested_item fm.sn is exist - process it [16:42:09]wFMCommunicate request_size=4 [16:42:09]MH_SAM_APDU [16:42:09]CAPDU: 80 11 00 00 [16:42:09]Write to MH i2c: E2 08 00 67 6B 80 11 00 00 00 00 00 00 4C [16:42:09]Write i2c OK [16:42:09]MH_I2C_Read... [16:42:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:09]Read from MH i2c: E2 [16:42:09]MH_I2C_Read... [16:42:09]Read from MH i2c: E2 17 00 [16:42:09]MH_I2C_Read... [16:42:09]Read from MH i2c: E2 17 00 67 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 94 [16:42:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:42:09]wFMCommunicate OK [16:42:09]requested_item fd.num is exist - process it [16:42:09]SAM_PROTO_GetFieldsCounters [16:42:09]wFMCommunicate request_size=4 [16:42:09]MH_SAM_APDU [16:42:09]CAPDU: 80 13 00 00 [16:42:09]Write to MH i2c: E2 08 00 68 6B 80 13 00 00 00 00 00 00 4F [16:42:09]Write i2c OK [16:42:09]MH_I2C_Read... [16:42:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:42:09]Read from MH i2c: E2 [16:42:09]MH_I2C_Read... [16:42:09]Read from MH i2c: E2 62 00 [16:42:09]MH_I2C_Read... [16:42:09]Read from MH i2c: E2 62 00 68 6B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [16:42:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 6F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:42:09]wFMCommunicate OK [16:42:09]SAM_PROTO_GetFieldsCounters done [16:42:09]requested_item shift.num is exist - process it [16:42:09]requested_item shift.opened is exist - process it [16:42:09]req_shift_opened [16:42:09]FM_GetShiftState [16:42:09]SAM_PROTO_GetShiftState [16:42:09]wFMCommunicate request_size=4 [16:42:09]MH_SAM_APDU [16:42:09]CAPDU: 80 13 01 00 [16:42:09]Write to MH i2c: E2 08 00 69 6B 80 13 01 00 00 00 00 00 51 [16:42:09]Write i2c OK [16:42:09]MH_I2C_Read... [16:42:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:09]Read from MH i2c: E2 [16:42:09]MH_I2C_Read... [16:42:09]Read from MH i2c: E2 0E 00 [16:42:09]MH_I2C_Read... [16:42:09]Read from MH i2c: E2 0E 00 69 6B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 3B [16:42:09]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [16:42:09]wFMCommunicate OK [16:42:09]SAM_PROTO_GetShiftState done [16:42:09]FM_GetShiftState done [16:42:09]req_shift_opened done [16:42:09]requested_item shift.open_date is exist - process it [16:42:09]req_shift_open_date [16:42:09]req_shift_open_date done [16:42:09]produce_requested_data done [16:42:09]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2671,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [16:42:09]process_action_free close_receipt [16:42:09]json_value_free [16:42:09]json_value_free done [16:42:09]process_json_proto returns [16:42:09]Send response to host [16:42:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2671,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [16:42:09]free response buf [16:42:09]execute_script done [16:42:09]execute_script returns [16:42:09]free content buf [16:42:09]Sock 9.Close socket [16:42:09]Sock 9.Thread stoped [16:42:13]OFD Sender: No OFD packet to send [16:42:18]OFD Sender: No OFD packet to send [16:42:23]OFD Sender: No OFD packet to send [16:42:28]OFD Sender: No OFD packet to send [16:42:33]OFD Sender: No OFD packet to send [16:42:38]OFD Sender: No OFD packet to send [16:42:43]OFD Sender: No OFD packet to send [16:42:48]OFD Sender: No OFD packet to send [16:42:53]OFD Sender: No OFD packet to send [16:42:58]OFD Sender: No OFD packet to send [16:43:03]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:44:03]OFD Sender: No OFD packet to send [16:44:08]OFD Sender: No OFD packet to send [16:44:13]OFD Sender: No OFD packet to send [16:44:18]OFD Sender: No OFD packet to send [16:44:23]OFD Sender: No OFD packet to send [16:44:28]OFD Sender: No OFD packet to send [16:44:33]OFD Sender: No OFD packet to send [16:44:38]OFD Sender: No OFD packet to send [16:44:43]OFD Sender: No OFD packet to send [16:44:48]OFD Sender: No OFD packet to send [16:44:53]OFD Sender: No OFD packet to send [16:44:58]OFD Sender: No OFD packet to send [16:45:03]OFD Sender: No OFD packet to send [16:45:08]OFD Sender: No OFD packet to send [16:45:13]OFD Sender: No OFD packet to send [16:45:18]OFD Sender: No OFD packet to send [16:45:23]OFD Sender: No OFD packet to send [16:45:28]OFD Sender: No OFD packet to send [16:45:33]OFD Sender: No OFD packet to send [16:45:38]OFD Sender: No OFD packet to send [16:45:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]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:34]OFD Sender: No OFD packet to send [16:58:39]OFD Sender: No OFD packet to send [16:58:44]OFD Sender: No OFD packet to send [16:58:49]OFD Sender: No OFD packet to send [16:58:54]OFD Sender: No OFD packet to send [16:58:59]OFD Sender: No OFD packet to send [16:59:04]OFD Sender: No OFD packet to send [16:59:09]OFD Sender: No OFD packet to send [16:59:14]OFD Sender: No OFD packet to send [16:59:19]OFD Sender: No OFD packet to send [16:59:24]OFD Sender: No OFD packet to send [16:59:29]OFD Sender: No OFD packet to send [16:59:34]OFD Sender: No OFD packet to send [16:59:39]OFD Sender: No OFD packet to send [16:59:44]OFD Sender: No OFD packet to send [16:59:49]OFD Sender: No OFD packet to send [16:59:54]OFD Sender: No OFD packet to send [16:59:59]OFD Sender: No OFD packet to send [17:00:04]OFD Sender: No OFD packet to send [17:00:09]OFD Sender: No OFD packet to send [17:00:14]OFD Sender: No OFD packet to send [17:00:19]OFD Sender: No OFD packet to send [17:00:24]OFD Sender: No OFD packet to send [17:00:29]OFD Sender: No OFD packet to send [17:00:34]OFD Sender: No OFD packet to send [17:00:39]OFD Sender: No OFD packet to send [17:00:44]OFD Sender: No OFD packet to send [17:00:49]OFD Sender: No OFD packet to send [17:00:54]OFD Sender: No OFD packet to send [17:00:59]OFD Sender: No OFD packet to send [17:01:04]OFD Sender: No OFD packet to send [17:01:09]OFD Sender: No OFD packet to send [17:01:14]OFD Sender: No OFD packet to send [17:01:19]OFD Sender: No OFD packet to send [17:01:24]OFD Sender: No OFD packet to send [17:01:29]OFD Sender: No OFD packet to send [17:01:34]OFD Sender: No OFD packet to send [17:01:39]OFD Sender: No OFD packet to send [17:01:44]OFD Sender: No OFD packet to send [17:01:49]OFD Sender: No OFD packet to send [17:01:54]OFD Sender: No OFD packet to send [17:01:59]OFD Sender: No OFD packet to send [17:02:04]OFD Sender: No OFD packet to send [17:02:09]OFD Sender: No OFD packet to send [17:02:14]OFD Sender: No OFD packet to send [17:02:19]OFD Sender: No OFD packet to send [17:02:24]OFD Sender: No OFD packet to send [17:02:29]OFD Sender: No OFD packet to send [17:02:34]OFD Sender: No OFD packet to send [17:02:39]OFD Sender: No OFD packet to send [17:02:44]OFD Sender: No OFD packet to send [17:02:49]OFD Sender: No OFD packet to send [17:02:54]OFD Sender: No OFD packet to send [17:02:59]OFD Sender: No OFD packet to send [17:03:04]OFD Sender: No OFD packet to send [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:04:14]OFD Sender: No OFD packet to send [17:04:19]OFD Sender: No OFD packet to send [17:04:24]OFD Sender: No OFD packet to send [17:04:29]OFD Sender: No OFD packet to send [17:04:34]OFD Sender: No OFD packet to send [17:04:39]OFD Sender: No OFD packet to send [17:04:44]OFD Sender: No OFD packet to send [17:04:49]OFD Sender: No OFD packet to send [17:04:54]OFD Sender: No OFD packet to send [17:04:59]OFD Sender: No OFD packet to send [17:05:04]OFD Sender: No OFD packet to send [17:05:09]OFD Sender: No OFD packet to send [17:05:14]OFD Sender: No OFD packet to send [17:05:19]OFD Sender: No OFD packet to send [17:05:24]OFD Sender: No OFD packet to send [17:05:29]OFD Sender: No OFD packet to send [17:05:34]OFD Sender: No OFD packet to send [17:05:39]OFD Sender: No OFD packet to send [17:05:44]OFD Sender: No OFD packet to send [17:05:49]OFD Sender: No OFD packet to send [17:05:54]OFD Sender: No OFD packet to send [17:05:59]OFD Sender: No OFD packet to send [17:06:04]OFD Sender: No OFD packet to send [17:06:09]OFD Sender: No OFD packet to send [17:06:14]OFD Sender: No OFD packet to send [17:06:19]OFD Sender: No OFD packet to send [17:06:24]OFD Sender: No OFD packet to send [17:06:29]OFD Sender: No OFD packet to send [17:06:34]OFD Sender: No OFD packet to send [17:06:39]OFD Sender: No OFD packet to send [17:06:44]OFD Sender: No OFD packet to send [17:06:49]OFD Sender: No OFD packet to send [17:06:54]OFD Sender: No OFD packet to send [17:06:59]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]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:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:24]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:30]OFD Sender: No OFD packet to send [17:20:35]OFD Sender: No OFD packet to send [17:20:40]OFD Sender: No OFD packet to send [17:20:45]OFD Sender: No OFD packet to send [17:20:50]OFD Sender: No OFD packet to send [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:10]OFD Sender: No OFD packet to send [17:22:15]OFD Sender: No OFD packet to send [17:22:20]OFD Sender: No OFD packet to send [17:22:25]OFD Sender: No OFD packet to send [17:22:30]OFD Sender: No OFD packet to send [17:22:35]OFD Sender: No OFD packet to send [17:22:40]OFD Sender: No OFD packet to send [17:22:45]OFD Sender: No OFD packet to send [17:22:48]accept exits with 7 [17:22:48]New connection [17:22:48]New thread 3066850660 created [17:22:48]Thread 3066707300 joined [17:22:48]Waiting for new connection... [17:22:48] Sock 7.Parse request [17:22:48]Sock 7.Check first char [17:22:48]Sock 7.First char is OK [17:22:48]request: POST /json_proto HTTP/1.0 [17:22:48]Method: POST [17:22:48]URL: /json_proto [17:22:48]Method is POST - this is cgi request [17:22:48]url: /json_proto [17:22:48]query_string will be loaded in cgi processing [17:22:48]execute_cgi json_proto POST (null) [17:22:48]execute_cgi path=json_proto method=POST [17:22:48]POST find Content-Length [17:22:48]Host: 172.17.52.132:8080 [17:22:48]Content-Length: 1681 [17:22:48]Content-Type: application/json [17:22:48] [17:22:48]POST finish read [17:22:48]Found Content-Length = 1681 [17:22:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100049", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u0447\u0438\u0446\u0435\u0439 55", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 534.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:22:48]execute_script... [17:22:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100049", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u0447\u0438\u0446\u0435\u0439 55", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 534.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:22:48]POST & json_proto [17:22:48]process_json_proto [17:22:49]json parsed OK: [17:22:49]protocol is kg_v1.0 [17:22:49]action value=close_receipt [17:22:49]process_action close_receipt [17:22:49]cmd_close_receipt [17:22:49]MH_GetDate [17:22:49]Write to MH i2c: F0 00 00 6A 6B C4 [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: F0 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: F0 09 00 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: F0 09 00 6A 6B 00 79 3C 15 67 5A BE F6 66 72 [17:22:49]GetLastDocTimeStamp 1729442541 [17:22:49]current date 1729444985 [17:22:49]FM_GetShiftState [17:22:49]SAM_PROTO_GetShiftState [17:22:49]wFMCommunicate request_size=4 [17:22:49]MH_SAM_APDU [17:22:49]CAPDU: 80 13 01 00 [17:22:49]Write to MH i2c: E2 08 00 6B 6B 80 13 01 00 00 00 00 00 53 [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:49]Read from MH i2c: E2 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 0E 00 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 0E 00 6B 6B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 3D [17:22:49]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [17:22:49]wFMCommunicate OK [17:22:49]SAM_PROTO_GetShiftState done [17:22:49]FM_GetShiftState done [17:22:49]opened in 1729382427 [17:22:49]opened+sec_in_day 1729468827 [17:22:49]quantity*price = 15000 [17:22:49]sum+1 = 15001 [17:22:49]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 1.000 * 154.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681062 Grizzly волнистые Колбаски с горчицей 55 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46141538 Р/ж Orbit Bubblemint 13,6г 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 534.00 НСП 1% : 4.73 НДС 12% : 56.71 Наличными: 534.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 53 20.10.2024 17:23 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2672 ФПД: 123410189402015 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172305&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2672&fm=123410189402015&tin=02508201610067®Number=0000000000207295&sum=53400 0 [17:22:50]StoreToDocumentArchive [17:22:50]shift 24 fd 2672 [17:22:50]save to /storage/0024/doc_00002672 [17:22:50]save last doc name /storage/0024/doc_00002672 to /storage/kkm_last_doc_name [17:22:50]save OK [17:22:50]Clear old archive folders... [17:22:50]ProcessDocumentItem done err = 0, tmpTLVsize=735 [17:22:50]tlvbuf is 01509480 [17:22:50]SAM_PROTO_ClearQueue [17:22:50]wFMCommunicate request_size=4 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 09 00 00 [17:22:50]Write to MH i2c: E2 08 00 78 6B 80 09 00 00 00 00 00 00 55 [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 78 6B 00 90 00 57 [17:22:50]RAPDU: 90 00 [17:22:50]wFMCommunicate OK [17:22:50]SAM_PROTO_ClearQueue done [17:22:50]KKMCreateOFDPacket [17:22:50]OFDProtocolAddRootSTLVToBuf [17:22:50]FM_MakeSignedData [17:22:50]FM_MakeSignedData [17:22:50]SAM_PROTO_SignData [17:22:50]wFMCommunicate request_size=4 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 0D 01 02 [17:22:50]Write to MH i2c: E2 08 00 79 6B 80 0D 01 02 00 00 00 00 5D [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 79 6B 00 90 00 58 [17:22:50]RAPDU: 90 00 [17:22:50]wFMCommunicate OK [17:22:50]wFMCommunicate request_size=255 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 0D 02 02 FA 03 00 DF 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 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 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 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 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 [17:22:50]Write to MH i2c: E2 02 01 7A 6B 80 0D 02 02 FA 00 03 00 DF 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 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 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 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 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 00 00 8C [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 7A 6B 00 90 00 59 [17:22:50]RAPDU: 90 00 [17:22:50]wFMCommunicate OK [17:22:50]wFMCommunicate request_size=255 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 0D 02 02 FA D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 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 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 [17:22:50]Write to MH i2c: E2 02 01 7B 6B 80 0D 02 02 FA 00 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 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 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 00 00 FB [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 7B 6B 00 90 00 5A [17:22:50]RAPDU: 90 00 [17:22:50]wFMCommunicate OK [17:22:50]wFMCommunicate request_size=244 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 0D 02 02 EF 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 D0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 16 00 00 00 00 07 04 06 00 98 D0 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 79 3C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 70 0A 00 00 35 04 06 00 70 3D AC 80 3F 9F [17:22:50]Write to MH i2c: E2 F7 00 7C 6B 80 0D 02 02 EF 00 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 D0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 16 00 00 00 00 07 04 06 00 98 D0 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 79 3C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 70 0A 00 00 35 04 06 00 70 3D AC 80 3F 9F 00 00 C2 [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:51]Read from MH i2c: E2 [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: E2 03 00 [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: E2 03 00 7C 6B 00 90 00 5B [17:22:51]RAPDU: 90 00 [17:22:51]wFMCommunicate OK [17:22:51]wFMCommunicate request_size=4 [17:22:51]MH_SAM_APDU [17:22:51]CAPDU: 80 0D 03 02 [17:22:51]Write to MH i2c: E2 08 00 7D 6B 80 0D 03 02 00 00 00 00 63 [17:22:51]Write i2c OK [17:22:51]MH_I2C_Read... [17:22:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:22:51]Read from MH i2c: E2 [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: E2 0B 00 [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: E2 0B 00 7D 6B 00 7B CC 23 68 3E ED B2 F8 90 00 0B [17:22:51]RAPDU: 7B CC 23 68 3E ED B2 F8 90 00 [17:22:51]wFMCommunicate OK [17:22:51]SAM_PROTO_SignData done [17:22:51]FM_MakeSignedData done [17:22:51]CreateOFDProtocolMessage [17:22:51]wFMCommunicate request_size=4 [17:22:51]MH_SAM_APDU [17:22:51]CAPDU: 80 11 00 00 [17:22:51]Write to MH i2c: E2 08 00 7E 6B 80 11 00 00 00 00 00 00 63 [17:22:51]Write i2c OK [17:22:51]MH_I2C_Read... [17:22:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:22:51]Read from MH i2c: E2 [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: E2 17 00 [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: E2 17 00 7E 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AB [17:22:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:22:51]wFMCommunicate OK [17:22:51]CreateOFDProtocolMessage done [17:22:51]OFDSenderStorePacket 2672 [17:22:51]StoreOFDPacket docnum=2672 [17:22:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 F3 02 00 00 B2 2A EB 02 04 24 5A 03 01 00 03 00 DF 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 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 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 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 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 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 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 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 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 D0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 16 00 00 00 00 07 04 06 00 98 D0 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 79 3C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 70 0A 00 00 35 04 06 00 70 3D AC 80 3F 9F 7B CC 23 68 3E ED B2 F8 [17:22:51]CheckFolder [17:22:51]dirname=/storage/ofd_packets [17:22:51]CheckFolder done [17:22:51]ProducePacketName [17:22:51]name=ofd_packets/00002672 [17:22:51]NVStorageSaveData ofd_packets/00002672 [17:22:51]File name is /storage/ofd_packets/00002672 [17:22:51]Write 785 bytes [17:22:51]NVStorageSaveData done [17:22:51]OFDSenderStorePacket done [17:22:51]KKMCreateOFDPacket done [17:22:51]NVStorageSaveData kkm_last_timestamp [17:22:51]File name is /storage/kkm_last_timestamp [17:22:51]Write 4 bytes [17:22:51]NVStorageSaveData done [17:22:51]ExternCall_PrintAddStr [17:22:51]wPrintStart [17:22:51]Write to MH i2c: 01 00 00 7F 6B EA [17:22:51]Write i2c OK [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: 01 [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: 01 07 00 [17:22:51]MH_I2C_Read... [17:22:51]Read from MH i2c: 01 07 00 7F 6B 00 00 00 00 00 FF 0F FF [17:22:51]RasterBufferAndPrint [17:22:51]line Счет N : (3)100049 [17:22:51]line ИНН: 02508201610067 [17:22:51]line Контрольно-Кассовый Чек [17:22:51]line ПРОДАЖА [17:22:51]line Товар: 4640030091669 [17:22:51]line Сигареты ESSE Exchange S [17:22:51]line 1.000 * 150.00 [17:22:51]line = 150.00 [17:22:51]line НДС 12% НСП 1% [17:22:51]line > о реализуемом товаре [17:22:51]line Товар: 46230614 [17:22:51]line Сигареты Richmond Red Edition [17:22:51]line 1.000 * 154.00 [17:22:51]line = 154.00 [17:22:51]line НДС 12% НСП 1% [17:22:51]line > о реализуемом товаре [17:22:51]line Товар: 4870235681062 [17:22:51]line Grizzly волнистые Колбаски с горчицей 55 [17:22:51]line 1.000 * 90.00 [17:22:51]line = 90.00 [17:22:51]line НДС 12% НСП 1% [17:22:51]line > о реализуемом товаре [17:22:51]line Товар: 4700000480050 [17:22:51]line Напиток Nitro Energy эн green ж/б 0,45л [17:22:51]line 1.000 * 95.00 [17:22:51]line = 95.00 [17:22:51]line НДС 12% НСП 1% [17:22:51]line > о реализуемом товаре [17:22:51]line Товар: 46141538 [17:22:51]line Р/ж Orbit Bubblemint 13,6г [17:22:51]line 1.000 * 45.00 [17:22:51]line = 45.00 [17:22:51]line НДС 12% НСП 1% [17:22:51]line > о реализуемом товаре [17:22:51]line ИТОГО: 534.00 [17:22:51]line НСП 1% : 4.73 [17:22:51]line НДС 12% : 56.71 [17:22:51]line Наличными: 534.00 [17:22:51]line Безнал.: 0.00 [17:22:51]line Место: АЗС № 162 "Партнер Нефть" [17:22:51]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [17:22:51]line СНО: Общий режим [17:22:51]line Чек 53 20.10.2024 17:23 [17:22:51]line Смена: 24 ФФД: 1.0 [17:22:51]line ЗНМ: 0300000191 [17:22:51]line РНМ: 0000000000207295 [17:22:51]line Версия ККМ: v1.0 [17:22:51]line ФМ: 0000000002342820 [17:22:51]line ФД: 2672 [17:22:51]line ФПД: 123410189402015 [17:22:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172305&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2672&fm=123410189402015&tin=02508201610067®Number=0000000000207295&sum=53400 [17:22:51]line 0 [17:22:51]written 0, free lines is 4095 [17:22:51]OFD Sender: Processing packet 2672 [packets to send 1, broken 0] [17:22:51]ProducePacketName [17:22:51]name=ofd_packets/00002672 [17:22:51]OFD Sender: To server: pG, [17:22:51]CommunicateWithHost lk.salyk.kg:30040 [17:22:51]ConnectInit lk.salyk.kg [17:22:51]Connected sock=10 [17:22:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 F3 02 00 00 B2 2A EB 02 04 24 5A 03 01 00 03 00 DF 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 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 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 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 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 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 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 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 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 D0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 16 00 00 00 00 07 04 06 00 98 D0 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 79 3C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 70 0A 00 00 35 04 06 00 70 3D AC 80 3F 9F 7B CC 23 68 3E ED B2 F8 [17:22:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 93 76 47 00 7E 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 33 34 32 38 32 30 10 04 04 00 70 0A 00 00 F4 03 04 00 D6 E7 14 67 B6 04 01 00 00 0D FB 9C 46 0E E7 BE EF [17:22:52]CommunicateWithHost err = 0 [17:22:52]CheckOFDResponse [17:22:52]1017 (14) - 77093643461234 [17:22:52]1041 (16) - 0000000002342820 [17:22:52]1040 (4) - 2672 [17:22:52]1012 (4) - 20.10.2024 11:21 [17:22:52]1206 (1) - 0 [17:22:52]OFD Sender: Remove packet 2672 [17:22:52]ProducePacketName [17:22:52]name=ofd_packets/00002672 [17:22:52]NVStorageDeleteData [17:22:52]Write to MH i2c: 01 00 00 C2 6B 2D [17:22:52]Write i2c OK [17:22:52]MH_I2C_Read... [17:22:52]Read from MH i2c: 01 [17:22:52]MH_I2C_Read... [17:22:52]Read from MH i2c: 01 07 00 [17:22:52]MH_I2C_Read... [17:22:52]Read from MH i2c: 01 07 00 C2 6B 00 00 00 00 00 EB 0A 29 [17:22:52]RasterBufferAndPrint [17:22:52]line [17:22:52]line [17:22:52]line [17:22:52]line [17:22:52]line [17:22:52]written 0, free lines is 2805 [17:22:52]MH_Cut [17:22:52]Write to MH i2c: D1 01 00 C9 6B 01 06 [17:22:52]Write i2c OK [17:22:52]MH_I2C_Read... [17:22:52]Read from MH i2c: D1 [17:22:52]MH_I2C_Read... [17:22:52]Read from MH i2c: D1 01 00 [17:22:52]MH_I2C_Read... [17:22:52]Read from MH i2c: D1 01 00 C9 6B 00 05 [17:22:52]Write to MH i2c: 01 00 00 CA 6B 35 [17:22:52]Write i2c OK [17:22:52]MH_I2C_Read... [17:22:52]OFD Sender: No OFD packet to send [17:22:53]*** Cut start [17:22:53]*** Partial cut [17:22:53]*** CUTSNS_PIN = 1 [17:22:53]*** CUTSNS_PIN = 0 [17:22:53]*** Brake cut motor [17:22:54]Read from MH i2c: 01 [17:22:54]MH_I2C_Read... [17:22:54]*** Stop cut motor [17:22:54]*** Cut end [17:22:54]Read from MH i2c: 01 07 00 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: 01 07 00 CA 6B 00 00 00 00 00 FF 0F 4A [17:22:54]process_action close_receipt done [17:22:54]requested_data is exist [17:22:54]produce_requested_data [17:22:54]requested_item fm.sn is exist - process it [17:22:54]wFMCommunicate request_size=4 [17:22:54]MH_SAM_APDU [17:22:54]CAPDU: 80 11 00 00 [17:22:54]Write to MH i2c: E2 08 00 CB 6B 80 11 00 00 00 00 00 00 B0 [17:22:54]Write i2c OK [17:22:54]MH_I2C_Read... [17:22:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:22:54]Read from MH i2c: E2 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: E2 17 00 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: E2 17 00 CB 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F8 [17:22:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:22:54]wFMCommunicate OK [17:22:54]requested_item fd.num is exist - process it [17:22:54]SAM_PROTO_GetFieldsCounters [17:22:54]wFMCommunicate request_size=4 [17:22:54]MH_SAM_APDU [17:22:54]CAPDU: 80 13 00 00 [17:22:54]Write to MH i2c: E2 08 00 CC 6B 80 13 00 00 00 00 00 00 B3 [17:22:54]Write i2c OK [17:22:54]MH_I2C_Read... [17:22:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:22:54]Read from MH i2c: E2 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: E2 62 00 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: E2 62 00 CC 6B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 70 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [17:22:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 70 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:22:54]wFMCommunicate OK [17:22:54]SAM_PROTO_GetFieldsCounters done [17:22:54]requested_item shift.num is exist - process it [17:22:54]requested_item shift.opened is exist - process it [17:22:54]req_shift_opened [17:22:54]FM_GetShiftState [17:22:54]SAM_PROTO_GetShiftState [17:22:54]wFMCommunicate request_size=4 [17:22:54]MH_SAM_APDU [17:22:54]CAPDU: 80 13 01 00 [17:22:54]Write to MH i2c: E2 08 00 CD 6B 80 13 01 00 00 00 00 00 B5 [17:22:54]Write i2c OK [17:22:54]MH_I2C_Read... [17:22:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:54]Read from MH i2c: E2 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: E2 0E 00 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: E2 0E 00 CD 6B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9F [17:22:54]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [17:22:54]wFMCommunicate OK [17:22:54]SAM_PROTO_GetShiftState done [17:22:54]FM_GetShiftState done [17:22:54]req_shift_opened done [17:22:54]requested_item shift.open_date is exist - process it [17:22:54]req_shift_open_date [17:22:54]req_shift_open_date done [17:22:54]produce_requested_data done [17:22:54]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2672,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [17:22:54]process_action_free close_receipt [17:22:54]json_value_free [17:22:54]json_value_free done [17:22:54]process_json_proto returns [17:22:54]Send response to host [17:22:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2672,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [17:22:54]free response buf [17:22:54]execute_script done [17:22:54]execute_script returns [17:22:54]free content buf [17:22:54]Sock 7.Close socket [17:22:54]Sock 7.Thread stoped [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:19]accept exits with 9 [17:27:19]New connection [17:27:19]New thread 3066707300 created [17:27:19] Sock 9.Parse request [17:27:19]Sock 9.Check first char [17:27:19]Thread 3066850660 joined [17:27:19]Waiting for new connection... [17:27:19]Sock 9.First char is OK [17:27:19]request: POST /json_proto HTTP/1.0 [17:27:19]Method: POST [17:27:19]URL: /json_proto [17:27:19]Method is POST - this is cgi request [17:27:19]url: /json_proto [17:27:19]query_string will be loaded in cgi processing [17:27:19]execute_cgi json_proto POST (null) [17:27:19]execute_cgi path=json_proto method=POST [17:27:19]POST find Content-Length [17:27:19]Host: 172.17.52.132:8080 [17:27:19]Content-Length: 740 [17:27:19]Content-Type: application/json [17:27:19] [17:27:19]POST finish read [17:27:19]Found Content-Length = 740 [17:27:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100050", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:19]execute_script... [17:27:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100050", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:19]POST & json_proto [17:27:19]process_json_proto [17:27:19]json parsed OK: [17:27:19]protocol is kg_v1.0 [17:27:19]action value=close_receipt [17:27:19]process_action close_receipt [17:27:19]cmd_close_receipt [17:27:19]MH_GetDate [17:27:19]Write to MH i2c: F0 00 00 CE 6B 28 [17:27:19]Write i2c OK [17:27:19]MH_I2C_Read... [17:27:19]Read from MH i2c: F0 [17:27:19]MH_I2C_Read... [17:27:19]Read from MH i2c: F0 09 00 [17:27:19]MH_I2C_Read... [17:27:19]Read from MH i2c: F0 09 00 CE 6B 00 87 3D 15 67 5A BE F6 66 E5 [17:27:19]GetLastDocTimeStamp 1729444985 [17:27:19]current date 1729445255 [17:27:19]FM_GetShiftState [17:27:19]SAM_PROTO_GetShiftState [17:27:19]wFMCommunicate request_size=4 [17:27:19]MH_SAM_APDU [17:27:19]CAPDU: 80 13 01 00 [17:27:19]Write to MH i2c: E2 08 00 CF 6B 80 13 01 00 00 00 00 00 B7 [17:27:19]Write i2c OK [17:27:19]MH_I2C_Read... [17:27:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:19]Read from MH i2c: E2 [17:27:19]MH_I2C_Read... [17:27:19]Read from MH i2c: E2 0E 00 [17:27:19]MH_I2C_Read... [17:27:19]Read from MH i2c: E2 0E 00 CF 6B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A1 [17:27:19]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [17:27:19]wFMCommunicate OK [17:27:19]SAM_PROTO_GetShiftState done [17:27:19]FM_GetShiftState done [17:27:19]opened in 1729382427 [17:27:19]opened+sec_in_day 1729468827 [17:27:19]quantity*price = 8000 [17:27:19]sum+1 = 8001 [17:27:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 0.00 Безнал.: 80.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 54 20.10.2024 17:27 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2673 ФПД: 175121105774982 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172735&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2673&fm=175121105774982&tin=02508201610067®Number=0000000000207295&sum=8000 0 [17:27:20]StoreToDocumentArchive [17:27:20]shift 24 fd 2673 [17:27:20]save to /storage/0024/doc_00002673 [17:27:20]save last doc name /storage/0024/doc_00002673 to /storage/kkm_last_doc_name [17:27:20]save OK [17:27:20]Clear old archive folders... [17:27:20]ProcessDocumentItem done err = 0, tmpTLVsize=268 [17:27:20]tlvbuf is 01564130 [17:27:20]SAM_PROTO_ClearQueue [17:27:20]wFMCommunicate request_size=4 [17:27:20]MH_SAM_APDU [17:27:20]CAPDU: 80 09 00 00 [17:27:20]Write to MH i2c: E2 08 00 DC 6B 80 09 00 00 00 00 00 00 B9 [17:27:20]Write i2c OK [17:27:20]MH_I2C_Read... [17:27:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:27:20]Read from MH i2c: E2 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 03 00 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 03 00 DC 6B 00 90 00 BB [17:27:20]RAPDU: 90 00 [17:27:20]wFMCommunicate OK [17:27:20]SAM_PROTO_ClearQueue done [17:27:20]KKMCreateOFDPacket [17:27:20]OFDProtocolAddRootSTLVToBuf [17:27:20]FM_MakeSignedData [17:27:20]FM_MakeSignedData [17:27:20]SAM_PROTO_SignData [17:27:20]wFMCommunicate request_size=4 [17:27:20]MH_SAM_APDU [17:27:20]CAPDU: 80 0D 01 02 [17:27:20]Write to MH i2c: E2 08 00 DD 6B 80 0D 01 02 00 00 00 00 C1 [17:27:20]Write i2c OK [17:27:20]MH_I2C_Read... [17:27:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:27:20]Read from MH i2c: E2 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 03 00 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 03 00 DD 6B 00 90 00 BC [17:27:20]RAPDU: 90 00 [17:27:20]wFMCommunicate OK [17:27:20]wFMCommunicate request_size=255 [17:27:20]MH_SAM_APDU [17:27:20]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 87 3D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 [17:27:20]Write to MH i2c: E2 02 01 DE 6B 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 87 3D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 00 00 5C [17:27:20]Write i2c OK [17:27:20]MH_I2C_Read... [17:27:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:20]Read from MH i2c: E2 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 03 00 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 03 00 DE 6B 00 90 00 BD [17:27:20]RAPDU: 90 00 [17:27:20]wFMCommunicate OK [17:27:20]wFMCommunicate request_size=27 [17:27:20]MH_SAM_APDU [17:27:20]CAPDU: 80 0D 02 02 16 32 38 32 30 10 04 04 00 71 0A 00 00 35 04 06 00 9F 45 8F 4D 69 86 [17:27:20]Write to MH i2c: E2 1E 00 DF 6B 80 0D 02 02 16 00 32 38 32 30 10 04 04 00 71 0A 00 00 35 04 06 00 9F 45 8F 4D 69 86 00 00 3D [17:27:20]Write i2c OK [17:27:20]MH_I2C_Read... [17:27:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:20]Read from MH i2c: E2 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 03 00 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 03 00 DF 6B 00 90 00 BE [17:27:20]RAPDU: 90 00 [17:27:20]wFMCommunicate OK [17:27:20]wFMCommunicate request_size=4 [17:27:20]MH_SAM_APDU [17:27:20]CAPDU: 80 0D 03 02 [17:27:20]Write to MH i2c: E2 08 00 E0 6B 80 0D 03 02 00 00 00 00 C6 [17:27:20]Write i2c OK [17:27:20]MH_I2C_Read... [17:27:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:27:20]Read from MH i2c: E2 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 0B 00 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 0B 00 E0 6B 00 9D E7 68 FB CD 30 5E 1A 90 00 23 [17:27:20]RAPDU: 9D E7 68 FB CD 30 5E 1A 90 00 [17:27:20]wFMCommunicate OK [17:27:20]SAM_PROTO_SignData done [17:27:20]FM_MakeSignedData done [17:27:20]CreateOFDProtocolMessage [17:27:20]wFMCommunicate request_size=4 [17:27:20]MH_SAM_APDU [17:27:20]CAPDU: 80 11 00 00 [17:27:20]Write to MH i2c: E2 08 00 E1 6B 80 11 00 00 00 00 00 00 C6 [17:27:20]Write i2c OK [17:27:20]MH_I2C_Read... [17:27:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:20]Read from MH i2c: E2 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 17 00 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: E2 17 00 E1 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0E [17:27:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:27:20]wFMCommunicate OK [17:27:20]CreateOFDProtocolMessage done [17:27:20]OFDSenderStorePacket 2673 [17:27:20]StoreOFDPacket docnum=2673 [17:27:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 20 01 00 00 75 B6 18 01 D0 7A 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 87 3D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 71 0A 00 00 35 04 06 00 9F 45 8F 4D 69 86 9D E7 68 FB CD 30 5E 1A [17:27:20]CheckFolder [17:27:20]dirname=/storage/ofd_packets [17:27:20]CheckFolder done [17:27:20]ProducePacketName [17:27:20]name=ofd_packets/00002673 [17:27:20]NVStorageSaveData ofd_packets/00002673 [17:27:20]File name is /storage/ofd_packets/00002673 [17:27:20]Write 318 bytes [17:27:20]NVStorageSaveData done [17:27:20]OFDSenderStorePacket done [17:27:20]KKMCreateOFDPacket done [17:27:20]NVStorageSaveData kkm_last_timestamp [17:27:20]File name is /storage/kkm_last_timestamp [17:27:20]Write 4 bytes [17:27:20]NVStorageSaveData done [17:27:20]ExternCall_PrintAddStr [17:27:20]wPrintStart [17:27:20]Write to MH i2c: 01 00 00 E2 6B 4D [17:27:20]Write i2c OK [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: 01 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: 01 07 00 [17:27:20]MH_I2C_Read... [17:27:20]Read from MH i2c: 01 07 00 E2 6B 00 00 00 00 00 FF 0F 62 [17:27:20]RasterBufferAndPrint [17:27:20]line Счет N : (3)100050 [17:27:20]line ИНН: 02508201610067 [17:27:20]line Контрольно-Кассовый Чек [17:27:20]line ПРОДАЖА [17:27:20]line Товар: 4870001570057 [17:27:20]line Напиток Pepsi 0,5л [17:27:20]line 1.000 * 80.00 [17:27:20]line = 80.00 [17:27:20]line НДС 12% НСП 1% [17:27:20]line > о реализуемом товаре [17:27:20]line ИТОГО: 80.00 [17:27:20]line НСП 1% : 0.71 [17:27:20]line НДС 12% : 8.50 [17:27:20]line Наличными: 0.00 [17:27:20]line Безнал.: 80.00 [17:27:20]line Место: АЗС № 162 "Партнер Нефть" [17:27:20]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [17:27:20]line СНО: Общий режим [17:27:20]line Чек 54 20.10.2024 17:27 [17:27:20]line Смена: 24 ФФД: 1.0 [17:27:20]line ЗНМ: 0300000191 [17:27:20]line РНМ: 0000000000207295 [17:27:20]line Версия ККМ: v1.0 [17:27:20]line Платежная система: Mbank [17:27:20]line ФМ: 0000000002342820 [17:27:20]line ФД: 2673 [17:27:20]line ФПД: 175121105774982 [17:27:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172735&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2673&fm=175121105774982&tin=02508201610067®Number=0000000000207295&sum=8000 [17:27:21]OFD Sender: Processing packet 2673 [packets to send 1, broken 0] [17:27:21]ProducePacketName [17:27:21]name=ofd_packets/00002673 [17:27:21]OFD Sender: To server: pG, [17:27:21]CommunicateWithHost lk.salyk.kg:30040 [17:27:21]ConnectInit lk.salyk.kg [17:27:21]line 0 [17:27:21]written 0, free lines is 4095 [17:27:21]Connected sock=10 [17:27:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 20 01 00 00 75 B6 18 01 D0 7A 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 87 3D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 71 0A 00 00 35 04 06 00 9F 45 8F 4D 69 86 9D E7 68 FB CD 30 5E 1A [17:27:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 FA C1 47 00 2C 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 71 0A 00 00 F4 03 04 00 E4 E8 14 67 B6 04 01 00 00 C1 59 FF 3B 3B 8F D5 02 [17:27:21]CommunicateWithHost err = 0 [17:27:21]CheckOFDResponse [17:27:21]1017 (14) - 77093643461234 [17:27:21]1041 (16) - 0000000002342820 [17:27:21]1040 (4) - 2673 [17:27:21]1012 (4) - 20.10.2024 11:26 [17:27:21]1206 (1) - 0 [17:27:21]OFD Sender: Remove packet 2673 [17:27:21]ProducePacketName [17:27:21]name=ofd_packets/00002673 [17:27:21]NVStorageDeleteData [17:27:21]Write to MH i2c: 01 00 00 0B 6C 77 [17:27:21]Write i2c OK [17:27:21]MH_I2C_Read... [17:27:21]Read from MH i2c: 01 [17:27:21]MH_I2C_Read... [17:27:21]Read from MH i2c: 01 07 00 [17:27:21]MH_I2C_Read... [17:27:21]Read from MH i2c: 01 07 00 0B 6C 00 00 00 00 00 D0 0C 5A [17:27:21]RasterBufferAndPrint [17:27:21]line [17:27:21]line [17:27:21]line [17:27:21]line [17:27:21]line [17:27:21]written 0, free lines is 3286 [17:27:21]MH_Cut [17:27:21]Write to MH i2c: D1 01 00 12 6C 01 50 [17:27:21]Write i2c OK [17:27:21]MH_I2C_Read... [17:27:21]Read from MH i2c: D1 [17:27:21]MH_I2C_Read... [17:27:21]Read from MH i2c: D1 01 00 [17:27:21]MH_I2C_Read... [17:27:21]Read from MH i2c: D1 01 00 12 6C 00 4F [17:27:21]Write to MH i2c: 01 00 00 13 6C 7F [17:27:21]Write i2c OK [17:27:21]MH_I2C_Read... [17:27:21]OFD Sender: No OFD packet to send [17:27:22]*** Cut start [17:27:22]*** Partial cut [17:27:22]*** CUTSNS_PIN = 1 [17:27:22]*** CUTSNS_PIN = 0 [17:27:22]*** Brake cut motor [17:27:23]Read from MH i2c: 01 [17:27:23]MH_I2C_Read... [17:27:23]*** Stop cut motor [17:27:23]*** Cut end [17:27:23]Read from MH i2c: 01 07 00 [17:27:23]MH_I2C_Read... [17:27:23]Read from MH i2c: 01 07 00 13 6C 00 00 00 00 00 FF 0F 94 [17:27:23]process_action close_receipt done [17:27:23]requested_data is exist [17:27:23]produce_requested_data [17:27:23]requested_item fm.sn is exist - process it [17:27:23]wFMCommunicate request_size=4 [17:27:23]MH_SAM_APDU [17:27:23]CAPDU: 80 11 00 00 [17:27:23]Write to MH i2c: E2 08 00 14 6C 80 11 00 00 00 00 00 00 FA [17:27:23]Write i2c OK [17:27:23]MH_I2C_Read... [17:27:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:23]Read from MH i2c: E2 [17:27:23]MH_I2C_Read... [17:27:23]Read from MH i2c: E2 17 00 [17:27:23]MH_I2C_Read... [17:27:23]Read from MH i2c: E2 17 00 14 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 42 [17:27:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:27:23]wFMCommunicate OK [17:27:23]requested_item fd.num is exist - process it [17:27:23]SAM_PROTO_GetFieldsCounters [17:27:23]wFMCommunicate request_size=4 [17:27:23]MH_SAM_APDU [17:27:23]CAPDU: 80 13 00 00 [17:27:23]Write to MH i2c: E2 08 00 15 6C 80 13 00 00 00 00 00 00 FD [17:27:23]Write i2c OK [17:27:23]MH_I2C_Read... [17:27:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:27:23]Read from MH i2c: E2 [17:27:23]MH_I2C_Read... [17:27:23]Read from MH i2c: E2 62 00 [17:27:23]MH_I2C_Read... [17:27:23]Read from MH i2c: E2 62 00 15 6C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 71 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [17:27:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 71 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:27:23]wFMCommunicate OK [17:27:23]SAM_PROTO_GetFieldsCounters done [17:27:23]requested_item shift.num is exist - process it [17:27:23]requested_item shift.opened is exist - process it [17:27:23]req_shift_opened [17:27:23]FM_GetShiftState [17:27:23]SAM_PROTO_GetShiftState [17:27:23]wFMCommunicate request_size=4 [17:27:23]MH_SAM_APDU [17:27:23]CAPDU: 80 13 01 00 [17:27:23]Write to MH i2c: E2 08 00 16 6C 80 13 01 00 00 00 00 00 FF [17:27:23]Write i2c OK [17:27:23]MH_I2C_Read... [17:27:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:23]Read from MH i2c: E2 [17:27:23]MH_I2C_Read... [17:27:23]Read from MH i2c: E2 0E 00 [17:27:23]MH_I2C_Read... [17:27:23]Read from MH i2c: E2 0E 00 16 6C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E9 [17:27:23]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [17:27:23]wFMCommunicate OK [17:27:23]SAM_PROTO_GetShiftState done [17:27:23]FM_GetShiftState done [17:27:23]req_shift_opened done [17:27:23]requested_item shift.open_date is exist - process it [17:27:23]req_shift_open_date [17:27:23]req_shift_open_date done [17:27:23]produce_requested_data done [17:27:23]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2673,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [17:27:23]process_action_free close_receipt [17:27:23]json_value_free [17:27:23]json_value_free done [17:27:23]process_json_proto returns [17:27:23]Send response to host [17:27:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2673,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [17:27:23]free response buf [17:27:23]execute_script done [17:27:23]execute_script returns [17:27:23]free content buf [17:27:23]Sock 9.Close socket [17:27:23]Sock 9.Thread stoped [17:27:26]OFD Sender: No OFD packet to send [17:27:31]OFD Sender: No OFD packet to send [17:27:36]OFD Sender: No OFD packet to send [17:27:41]OFD Sender: No OFD packet to send [17:27:46]OFD Sender: No OFD packet to send [17:27:51]OFD Sender: No OFD packet to send [17:27:56]OFD Sender: No OFD packet to send [17:28:01]OFD Sender: No OFD packet to send [17:28:06]OFD Sender: No OFD packet to send [17:28:11]OFD Sender: No OFD packet to send [17:28: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:47]OFD Sender: No OFD packet to send [17:28:52]OFD Sender: No OFD packet to send [17:28:57]OFD Sender: No OFD packet to send [17:29:02]OFD Sender: No OFD packet to send [17:29:07]OFD Sender: No OFD packet to send [17:29:12]OFD Sender: No OFD packet to send [17:29:17]OFD Sender: No OFD packet to send [17:29:22]OFD Sender: No OFD packet to send [17:29:27]OFD Sender: No OFD packet to send [17:29:32]OFD Sender: No OFD packet to send [17:29:37]OFD Sender: No OFD packet to send [17:29:42]OFD Sender: No OFD packet to send [17:29:47]OFD Sender: No OFD packet to send [17:29:52]OFD Sender: No OFD packet to send [17:29:57]OFD Sender: No OFD packet to send [17:30:02]OFD Sender: No OFD packet to send [17:30:07]OFD Sender: No OFD packet to send [17:30:12]OFD Sender: No OFD packet to send [17:30:17]OFD Sender: No OFD packet to send [17:30:22]OFD Sender: No OFD packet to send [17:30:27]OFD Sender: No OFD packet to send [17:30:32]OFD Sender: No OFD packet to send [17:30:37]OFD Sender: No OFD packet to send [17:30:42]OFD Sender: No OFD packet to send [17:30:47]OFD Sender: No OFD packet to send [17:30:52]OFD Sender: No OFD packet to send [17:30:57]OFD Sender: No OFD packet to send [17:31:02]OFD Sender: No OFD packet to send [17:31:07]OFD Sender: No OFD packet to send [17:31:12]OFD Sender: No OFD packet to send [17:31:17]OFD Sender: No OFD packet to send [17:31:22]OFD Sender: No OFD packet to send [17:31:27]OFD Sender: No OFD packet to send [17:31:32]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:14]accept exits with 7 [17:33:14]New connection [17:33:14]New thread 3066850660 created [17:33:14]Thread 3066707300 joined [17:33:14]Waiting for new connection... [17:33:14] Sock 7.Parse request [17:33:14]Sock 7.Check first char [17:33:14]Sock 7.First char is OK [17:33:14]request: POST /json_proto HTTP/1.0 [17:33:14]Method: POST [17:33:14]URL: /json_proto [17:33:14]Method is POST - this is cgi request [17:33:14]url: /json_proto [17:33:14]query_string will be loaded in cgi processing [17:33:14]execute_cgi json_proto POST (null) [17:33:14]execute_cgi path=json_proto method=POST [17:33:14]POST find Content-Length [17:33:14]Host: 172.17.52.132:8080 [17:33:14]Content-Length: 898 [17:33:14]Content-Type: application/json [17:33:14] [17:33:14]POST finish read [17:33:14]Found Content-Length = 898 [17:33:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100051", "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": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 184.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:33:14]execute_script... [17:33: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)100051", "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": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 184.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:33:14]POST & json_proto [17:33:14]process_json_proto [17:33:14]json parsed OK: [17:33:14]protocol is kg_v1.0 [17:33:14]action value=close_receipt [17:33:14]process_action close_receipt [17:33:14]cmd_close_receipt [17:33:14]MH_GetDate [17:33:14]Write to MH i2c: F0 00 00 17 6C 72 [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: F0 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: F0 09 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: F0 09 00 17 6C 00 EA 3E 15 67 5A BE F6 66 93 [17:33:14]GetLastDocTimeStamp 1729445255 [17:33:14]current date 1729445610 [17:33:14]FM_GetShiftState [17:33:14]SAM_PROTO_GetShiftState [17:33:14]wFMCommunicate request_size=4 [17:33:14]MH_SAM_APDU [17:33:14]CAPDU: 80 13 01 00 [17:33:14]Write to MH i2c: E2 08 00 18 6C 80 13 01 00 00 00 00 00 01 [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:33:14]Read from MH i2c: E2 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 0E 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 0E 00 18 6C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 EB [17:33:14]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [17:33:14]wFMCommunicate OK [17:33:14]SAM_PROTO_GetShiftState done [17:33:14]FM_GetShiftState done [17:33:14]opened in 1729382427 [17:33:14]opened+sec_in_day 1729468827 [17:33:14]quantity*price = 12500 [17:33:14]sum+1 = 12501 [17:33:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 184.00 НСП 1% : 1.63 НДС 12% : 19.53 Наличными: 184.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 55 20.10.2024 17:33 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2674 ФПД: 218906457814529 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T173330&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2674&fm=218906457814529&tin=02508201610067®Number=0000000000207295&sum=18400 0 [17:33:15]StoreToDocumentArchive [17:33:15]shift 24 fd 2674 [17:33:15]save to /storage/0024/doc_00002674 [17:33:15]save last doc name /storage/0024/doc_00002674 to /storage/kkm_last_doc_name [17:33:15]save OK [17:33:15]Clear old archive folders... [17:33:15]ProcessDocumentItem done err = 0, tmpTLVsize=382 [17:33:15]tlvbuf is 0135CBB0 [17:33:15]SAM_PROTO_ClearQueue [17:33:15]wFMCommunicate request_size=4 [17:33:15]MH_SAM_APDU [17:33:15]CAPDU: 80 09 00 00 [17:33:15]Write to MH i2c: E2 08 00 25 6C 80 09 00 00 00 00 00 00 03 [17:33:15]Write i2c OK [17:33:15]MH_I2C_Read... [17:33:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:33:16]Read from MH i2c: E2 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 03 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 03 00 25 6C 00 90 00 05 [17:33:16]RAPDU: 90 00 [17:33:16]wFMCommunicate OK [17:33:16]SAM_PROTO_ClearQueue done [17:33:16]KKMCreateOFDPacket [17:33:16]OFDProtocolAddRootSTLVToBuf [17:33:16]FM_MakeSignedData [17:33:16]FM_MakeSignedData [17:33:16]SAM_PROTO_SignData [17:33:16]wFMCommunicate request_size=4 [17:33:16]MH_SAM_APDU [17:33:16]CAPDU: 80 0D 01 02 [17:33:16]Write to MH i2c: E2 08 00 26 6C 80 0D 01 02 00 00 00 00 0B [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:33:16]Read from MH i2c: E2 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 03 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 03 00 26 6C 00 90 00 06 [17:33:16]RAPDU: 90 00 [17:33:16]wFMCommunicate OK [17:33:16]wFMCommunicate request_size=255 [17:33:16]MH_SAM_APDU [17:33:16]CAPDU: 80 0D 02 02 FA 03 00 7E 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 [17:33:16]Write to MH i2c: E2 02 01 27 6C 80 0D 02 02 FA 00 03 00 7E 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 D4 [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:16]Read from MH i2c: E2 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 03 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 03 00 27 6C 00 90 00 07 [17:33:16]RAPDU: 90 00 [17:33:16]wFMCommunicate OK [17:33:16]wFMCommunicate request_size=141 [17:33:16]MH_SAM_APDU [17:33:16]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 07 00 00 00 00 07 04 06 00 E0 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 EA 3E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 72 0A 00 00 35 04 06 00 C7 18 21 A8 36 01 [17:33:16]Write to MH i2c: E2 90 00 28 6C 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 07 00 00 00 00 07 04 06 00 E0 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 EA 3E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 72 0A 00 00 35 04 06 00 C7 18 21 A8 36 01 00 00 5D [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:16]Read from MH i2c: E2 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 03 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 03 00 28 6C 00 90 00 08 [17:33:16]RAPDU: 90 00 [17:33:16]wFMCommunicate OK [17:33:16]wFMCommunicate request_size=4 [17:33:16]MH_SAM_APDU [17:33:16]CAPDU: 80 0D 03 02 [17:33:16]Write to MH i2c: E2 08 00 29 6C 80 0D 03 02 00 00 00 00 10 [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:33:16]Read from MH i2c: E2 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 0B 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 0B 00 29 6C 00 B7 EC A9 25 D3 39 34 5E 90 00 20 [17:33:16]RAPDU: B7 EC A9 25 D3 39 34 5E 90 00 [17:33:16]wFMCommunicate OK [17:33:16]SAM_PROTO_SignData done [17:33:16]FM_MakeSignedData done [17:33:16]CreateOFDProtocolMessage [17:33:16]wFMCommunicate request_size=4 [17:33:16]MH_SAM_APDU [17:33:16]CAPDU: 80 11 00 00 [17:33:16]Write to MH i2c: E2 08 00 2A 6C 80 11 00 00 00 00 00 00 10 [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:33:16]Read from MH i2c: E2 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 17 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 17 00 2A 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 58 [17:33:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:33:16]wFMCommunicate OK [17:33:16]CreateOFDProtocolMessage done [17:33:16]OFDSenderStorePacket 2674 [17:33:16]StoreOFDPacket docnum=2674 [17:33:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 92 01 00 00 55 24 8A 01 7B E1 5A 03 01 00 03 00 7E 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 07 00 00 00 00 07 04 06 00 E0 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 EA 3E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 72 0A 00 00 35 04 06 00 C7 18 21 A8 36 01 B7 EC A9 25 D3 39 34 5E [17:33:16]CheckFolder [17:33:16]dirname=/storage/ofd_packets [17:33:16]CheckFolder done [17:33:16]ProducePacketName [17:33:16]name=ofd_packets/00002674 [17:33:16]NVStorageSaveData ofd_packets/00002674 [17:33:16]File name is /storage/ofd_packets/00002674 [17:33:16]Write 432 bytes [17:33:16]NVStorageSaveData done [17:33:16]OFDSenderStorePacket done [17:33:16]KKMCreateOFDPacket done [17:33:16]NVStorageSaveData kkm_last_timestamp [17:33:16]File name is /storage/kkm_last_timestamp [17:33:16]Write 4 bytes [17:33:16]NVStorageSaveData done [17:33:16]ExternCall_PrintAddStr [17:33:16]wPrintStart [17:33:16]Write to MH i2c: 01 00 00 2B 6C 97 [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: 01 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: 01 07 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: 01 07 00 2B 6C 00 00 00 00 00 FF 0F AC [17:33:16]RasterBufferAndPrint [17:33:16]line Счет N : (3)100051 [17:33:16]line ИНН: 02508201610067 [17:33:16]line Контрольно-Кассовый Чек [17:33:16]line ПРОДАЖА [17:33:16]line Товар: 5449000006271 [17:33:16]line Напиток Фанта 1л [17:33:16]line 1.000 * 125.00 [17:33:16]line = 125.00 [17:33:16]line НДС 12% НСП 1% [17:33:16]line > о реализуемом товаре [17:33:16]line Товар: 4607065001445 [17:33:16]line Шок батончик Snickers 50,5г [17:33:16]line 1.000 * 59.00 [17:33:16]line = 59.00 [17:33:16]line НДС 12% НСП 1% [17:33:16]line > о реализуемом товаре [17:33:16]line ИТОГО: 184.00 [17:33:16]line НСП 1% : 1.63 [17:33:16]line НДС 12% : 19.53 [17:33:16]line Наличными: 184.00 [17:33:16]line Безнал.: 0.00 [17:33:16]line Место: АЗС № 162 "Партнер Нефть" [17:33:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [17:33:16]line СНО: Общий режим [17:33:16]line Чек 55 20.10.2024 17:33 [17:33:16]line Смена: 24 ФФД: 1.0 [17:33:16]line ЗНМ: 0300000191 [17:33:16]line РНМ: 0000000000207295 [17:33:16]line Версия ККМ: v1.0 [17:33:16]line ФМ: 0000000002342820 [17:33:16]line ФД: 2674 [17:33:16]line ФПД: 218906457814529 [17:33:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T173330&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2674&fm=218906457814529&tin=02508201610067®Number=0000000000207295&sum=18400 [17:33:16]line 0 [17:33:16]OFD Sender: Processing packet 2674 [packets to send 1, broken 0] [17:33:16]ProducePacketName [17:33:16]name=ofd_packets/00002674 [17:33:16]OFD Sender: To server: pG, [17:33:16]CommunicateWithHost lk.salyk.kg:30040 [17:33:16]ConnectInit lk.salyk.kg [17:33:16]written 0, free lines is 4095 [17:33:17]Connected sock=10 [17:33:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 92 01 00 00 55 24 8A 01 7B E1 5A 03 01 00 03 00 7E 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 07 00 00 00 00 07 04 06 00 E0 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 EA 3E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 72 0A 00 00 35 04 06 00 C7 18 21 A8 36 01 B7 EC A9 25 D3 39 34 5E [17:33:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 4F B4 47 00 57 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 33 34 32 38 32 30 10 04 04 00 72 0A 00 00 F4 03 04 00 48 EA 14 67 B6 04 01 00 00 99 8A 2E 01 D2 2F E1 4C [17:33:17]CommunicateWithHost err = 0 [17:33:17]CheckOFDResponse [17:33:17]1017 (14) - 77093643461234 [17:33:17]1041 (16) - 0000000002342820 [17:33:17]1040 (4) - 2674 [17:33:17]1012 (4) - 20.10.2024 11:32 [17:33:17]1206 (1) - 0 [17:33:17]OFD Sender: Remove packet 2674 [17:33:17]ProducePacketName [17:33:17]name=ofd_packets/00002674 [17:33:17]NVStorageDeleteData [17:33:17]Write to MH i2c: 01 00 00 59 6C C5 [17:33:17]Write i2c OK [17:33:17]MH_I2C_Read... [17:33:17]Read from MH i2c: 01 [17:33:17]MH_I2C_Read... [17:33:17]Read from MH i2c: 01 07 00 [17:33:17]MH_I2C_Read... [17:33:17]Read from MH i2c: 01 07 00 59 6C 00 00 00 00 00 77 0C 4F [17:33:17]RasterBufferAndPrint [17:33:17]line [17:33:17]line [17:33:17]line [17:33:17]line [17:33:17]line [17:33:17]written 0, free lines is 3199 [17:33:17]MH_Cut [17:33:17]Write to MH i2c: D1 01 00 60 6C 01 9E [17:33:17]Write i2c OK [17:33:17]MH_I2C_Read... [17:33:17]Read from MH i2c: D1 [17:33:17]MH_I2C_Read... [17:33:17]Read from MH i2c: D1 01 00 [17:33:17]MH_I2C_Read... [17:33:17]Read from MH i2c: D1 01 00 60 6C 00 9D [17:33:17]Write to MH i2c: 01 00 00 61 6C CD [17:33:17]Write i2c OK [17:33:17]MH_I2C_Read... [17:33:17]OFD Sender: No OFD packet to send [17:33:18]*** Cut start [17:33:18]*** Partial cut [17:33:18]*** CUTSNS_PIN = 1 [17:33:18]*** CUTSNS_PIN = 0 [17:33:18]*** Brake cut motor [17:33:19]Read from MH i2c: 01 [17:33:19]MH_I2C_Read... [17:33:19]*** Stop cut motor [17:33:19]*** Cut end [17:33:19]Read from MH i2c: 01 07 00 [17:33:19]MH_I2C_Read... [17:33:19]Read from MH i2c: 01 07 00 61 6C 00 00 00 00 00 FF 0F E2 [17:33:19]process_action close_receipt done [17:33:19]requested_data is exist [17:33:19]produce_requested_data [17:33:19]requested_item fm.sn is exist - process it [17:33:19]wFMCommunicate request_size=4 [17:33:19]MH_SAM_APDU [17:33:19]CAPDU: 80 11 00 00 [17:33:19]Write to MH i2c: E2 08 00 62 6C 80 11 00 00 00 00 00 00 48 [17:33:19]Write i2c OK [17:33:19]MH_I2C_Read... [17:33:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:33:19]Read from MH i2c: E2 [17:33:19]MH_I2C_Read... [17:33:19]Read from MH i2c: E2 17 00 [17:33:19]MH_I2C_Read... [17:33:19]Read from MH i2c: E2 17 00 62 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 90 [17:33:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:33:19]wFMCommunicate OK [17:33:19]requested_item fd.num is exist - process it [17:33:19]SAM_PROTO_GetFieldsCounters [17:33:19]wFMCommunicate request_size=4 [17:33:19]MH_SAM_APDU [17:33:19]CAPDU: 80 13 00 00 [17:33:19]Write to MH i2c: E2 08 00 63 6C 80 13 00 00 00 00 00 00 4B [17:33:19]Write i2c OK [17:33:19]MH_I2C_Read... [17:33:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:33:19]Read from MH i2c: E2 [17:33:19]MH_I2C_Read... [17:33:19]Read from MH i2c: E2 62 00 [17:33:19]MH_I2C_Read... [17:33:19]Read from MH i2c: E2 62 00 63 6C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 72 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [17:33:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 72 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:33:19]wFMCommunicate OK [17:33:19]SAM_PROTO_GetFieldsCounters done [17:33:19]requested_item shift.num is exist - process it [17:33:19]requested_item shift.opened is exist - process it [17:33:19]req_shift_opened [17:33:19]FM_GetShiftState [17:33:19]SAM_PROTO_GetShiftState [17:33:19]wFMCommunicate request_size=4 [17:33:19]MH_SAM_APDU [17:33:19]CAPDU: 80 13 01 00 [17:33:19]Write to MH i2c: E2 08 00 64 6C 80 13 01 00 00 00 00 00 4D [17:33:19]Write i2c OK [17:33:19]MH_I2C_Read... [17:33:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:33:19]Read from MH i2c: E2 [17:33:19]MH_I2C_Read... [17:33:19]Read from MH i2c: E2 0E 00 [17:33:19]MH_I2C_Read... [17:33:19]Read from MH i2c: E2 0E 00 64 6C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 37 [17:33:19]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [17:33:19]wFMCommunicate OK [17:33:19]SAM_PROTO_GetShiftState done [17:33:19]FM_GetShiftState done [17:33:19]req_shift_opened done [17:33:19]requested_item shift.open_date is exist - process it [17:33:19]req_shift_open_date [17:33:19]req_shift_open_date done [17:33:19]produce_requested_data done [17:33:19]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2674,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [17:33:19]process_action_free close_receipt [17:33:19]json_value_free [17:33:19]json_value_free done [17:33:19]process_json_proto returns [17:33:19]Send response to host [17:33:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2674,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [17:33:19]free response buf [17:33:19]execute_script done [17:33:19]execute_script returns [17:33:19]free content buf [17:33:19]Sock 7.Close socket [17:33:19]Sock 7.Thread stoped [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:17]OFD Sender: No OFD packet to send [17:34:22]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:32]OFD Sender: No OFD packet to send [17:34:37]OFD Sender: No OFD packet to send [17:34:42]OFD Sender: No OFD packet to send [17:34:47]OFD Sender: No OFD packet to send [17:34:52]OFD Sender: No OFD packet to send [17:34:57]OFD Sender: No OFD packet to send [17:35:02]OFD Sender: No OFD packet to send [17:35:07]OFD Sender: No OFD packet to send [17:35:12]OFD Sender: No OFD packet to send [17:35:17]OFD Sender: No OFD packet to send [17:35:22]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]OFD Sender: No OFD packet to send [17:36:52]OFD Sender: No OFD packet to send [17:36:57]OFD Sender: No OFD packet to send [17:37:02]OFD Sender: No OFD packet to send [17:37:07]OFD Sender: No OFD packet to send [17:37:12]OFD Sender: No OFD packet to send [17:37:17]OFD Sender: No OFD packet to send [17:37:22]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:42]ConnectInit Can't connect to host [17:37:43]OFD Sender: No OFD packet to send [17:37:57]ConnectInit Can't connect to host [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]OFD Sender: No OFD packet to send [17:38:23]OFD Sender: No OFD packet to send [17:38:28]OFD Sender: No OFD packet to send [17:38:33]OFD Sender: No OFD packet to send [17:38:38]OFD Sender: No OFD packet to send [17:38:43]OFD Sender: No OFD packet to send [17:38:48]OFD Sender: No OFD packet to send [17:38:53]OFD Sender: No OFD packet to send [17:38:58]OFD Sender: No OFD packet to send [17:39:03]OFD Sender: No OFD packet to send [17:39:08]OFD Sender: No OFD packet to send [17:39:13]OFD Sender: No OFD packet to send [17:39:18]OFD Sender: No OFD packet to send [17:39:23]OFD Sender: No OFD packet to send [17:39:28]OFD Sender: No OFD packet to send [17:39:33]OFD Sender: No OFD packet to send [17:39:38]OFD Sender: No OFD packet to send [17:39:43]OFD Sender: No OFD packet to send [17:39:48]OFD Sender: No OFD packet to send [17:39:53]OFD Sender: No OFD packet to send [17:39:58]OFD Sender: No OFD packet to send [17:40:03]OFD Sender: No OFD packet to send [17:40:08]OFD Sender: No OFD packet to send [17:40:13]OFD Sender: No OFD packet to send [17:40:18]OFD Sender: No OFD packet to send [17:40:23]OFD Sender: No OFD packet to send [17:40:28]OFD Sender: No OFD packet to send [17:40:33]OFD Sender: No OFD packet to send [17:40:38]OFD Sender: No OFD packet to send [17:40:43]OFD Sender: No OFD packet to send [17:40:48]OFD Sender: No OFD packet to send [17:40:53]OFD Sender: No OFD packet to send [17:40:58]OFD Sender: No OFD packet to send [17:41:03]OFD Sender: No OFD packet to send [17:41:08]OFD Sender: No OFD packet to send [17:41:13]OFD Sender: No OFD packet to send [17:41:18]OFD Sender: No OFD packet to send [17:41:23]OFD Sender: No OFD packet to send [17:41:28]OFD Sender: No OFD packet to send [17:41:33]OFD Sender: No OFD packet to send [17:41:38]OFD Sender: No OFD packet to send [17:41:43]OFD Sender: No OFD packet to send [17:41:48]OFD Sender: No OFD packet to send [17:41:53]OFD Sender: No OFD packet to send [17:41:58]OFD Sender: No OFD packet to send [17:42:03]OFD Sender: No OFD packet to send [17:42:08]OFD Sender: No OFD packet to send [17:42:13]OFD Sender: No OFD packet to send [17:42:18]OFD Sender: No OFD packet to send [17:42:23]OFD Sender: No OFD packet to send [17:42:28]OFD Sender: No OFD packet to send [17:42:33]OFD Sender: No OFD packet to send [17:42:38]OFD Sender: No OFD packet to send [17:42:43]OFD Sender: No OFD packet to send [17:42:48]OFD Sender: No OFD packet to send [17:42:53]OFD Sender: No OFD packet to send [17:42:58]OFD Sender: No OFD packet to send [17:43:03]OFD Sender: No OFD packet to send [17:43:08]OFD Sender: No OFD packet to send [17:43:13]OFD Sender: No OFD packet to send [17:43:18]OFD Sender: No OFD packet to send [17:43:23]OFD Sender: No OFD packet to send [17:43:28]OFD Sender: No OFD packet to send [17:43:33]OFD Sender: No OFD packet to send [17:43:38]OFD Sender: No OFD packet to send [17:43:43]OFD Sender: No OFD packet to send [17:43:48]OFD Sender: No OFD packet to send [17:43:53]OFD Sender: No OFD packet to send [17:43:58]OFD Sender: No OFD packet to send [17:44:03]OFD Sender: No OFD packet to send [17:44:08]OFD Sender: No OFD packet to send [17:44:13]OFD Sender: No OFD packet to send [17:44:18]OFD Sender: No OFD packet to send [17:44:23]OFD Sender: No OFD packet to send [17:44:28]OFD Sender: No OFD packet to send [17:44:33]OFD Sender: No OFD packet to send [17:44:38]OFD Sender: No OFD packet to send [17:44:43]OFD Sender: No OFD packet to send [17:44:48]OFD Sender: No OFD packet to send [17:44:53]OFD Sender: No OFD packet to send [17:44:58]OFD Sender: No OFD packet to send [17:45:03]OFD Sender: No OFD packet to send [17:45:08]OFD Sender: No OFD packet to send [17:45:13]OFD Sender: No OFD packet to send [17:45:18]OFD Sender: No OFD packet to send [17:45:23]OFD Sender: No OFD packet to send [17:45:28]OFD Sender: No OFD packet to send [17:45:33]OFD Sender: No OFD packet to send [17:45:38]OFD Sender: No OFD packet to send [17:45:43]OFD Sender: No OFD packet to send [17:45:48]OFD Sender: No OFD packet to send [17:45:53]OFD Sender: No OFD packet to send [17:45:58]OFD Sender: No OFD packet to send [17:46:03]OFD Sender: No OFD packet to send [17:46:08]OFD Sender: No OFD packet to send [17:46:13]OFD Sender: No OFD packet to send [17:46:18]OFD Sender: No OFD packet to send [17:46:23]OFD Sender: No OFD packet to send [17:46:28]OFD Sender: No OFD packet to send [17:46:33]OFD Sender: No OFD packet to send [17:46:38]OFD Sender: No OFD packet to send [17:46:43]OFD Sender: No OFD packet to send [17:46:48]OFD Sender: No OFD packet to send [17:46:53]OFD Sender: No OFD packet to send [17:46:58]OFD Sender: No OFD packet to send [17:47:03]OFD Sender: No OFD packet to send [17:47:08]OFD Sender: No OFD packet to send [17:47:13]OFD Sender: No OFD packet to send [17:47:18]OFD Sender: No OFD packet to send [17:47:23]OFD Sender: No OFD packet to send [17:47:28]OFD Sender: No OFD packet to send [17:47:33]OFD Sender: No OFD packet to send [17:47:38]OFD Sender: No OFD packet to send [17:47:43]OFD Sender: No OFD packet to send [17:47:48]OFD Sender: No OFD packet to send [17:47:53]OFD Sender: No OFD packet to send [17:47:58]OFD Sender: No OFD packet to send [17:48:03]OFD Sender: No OFD packet to send [17:48:08]OFD Sender: No OFD packet to send [17:48:13]OFD Sender: No OFD packet to send [17:48:18]OFD Sender: No OFD packet to send [17:48:23]OFD Sender: No OFD packet to send [17:48:28]OFD Sender: No OFD packet to send [17:48:33]OFD Sender: No OFD packet to send [17:48:38]OFD Sender: No OFD packet to send [17:48:43]OFD Sender: No OFD packet to send [17:48:48]OFD Sender: No OFD packet to send [17:48:53]OFD Sender: No OFD packet to send [17:48:58]OFD Sender: No OFD packet to send [17:49:03]OFD Sender: No OFD packet to send [17:49:08]OFD Sender: No OFD packet to send [17:49:13]OFD Sender: No OFD packet to send [17:49:18]OFD Sender: No OFD packet to send [17:49:23]OFD Sender: No OFD packet to send [17:49:28]OFD Sender: No OFD packet to send [17:49:33]OFD Sender: No OFD packet to send [17:49:38]OFD Sender: No OFD packet to send [17:49:43]OFD Sender: No OFD packet to send [17:49:48]OFD Sender: No OFD packet to send [17:49:53]OFD Sender: No OFD packet to send [17:49:58]OFD Sender: No OFD packet to send [17:50:03]OFD Sender: No OFD packet to send [17:50:08]OFD Sender: No OFD packet to send [17:50:13]OFD Sender: No OFD packet to send [17:50:18]OFD Sender: No OFD packet to send [17:50:23]OFD Sender: No OFD packet to send [17:50:28]OFD Sender: No OFD packet to send [17:50:33]OFD Sender: No OFD packet to send [17:50:38]OFD Sender: No OFD packet to send [17:50:43]OFD Sender: No OFD packet to send [17:50:48]OFD Sender: No OFD packet to send [17:50:53]OFD Sender: No OFD packet to send [17:50:58]OFD Sender: No OFD packet to send [17:51:03]OFD Sender: No OFD packet to send [17:51:08]OFD Sender: No OFD packet to send [17:51:13]OFD Sender: No OFD packet to send [17:51:18]OFD Sender: No OFD packet to send [17:51:23]OFD Sender: No OFD packet to send [17:51:28]OFD Sender: No OFD packet to send [17:51:33]OFD Sender: No OFD packet to send [17:51:38]OFD Sender: No OFD packet to send [17:51:43]OFD Sender: No OFD packet to send [17:51:48]OFD Sender: No OFD packet to send [17:51:53]OFD Sender: No OFD packet to send [17:51:58]OFD Sender: No OFD packet to send [17:52:03]OFD Sender: No OFD packet to send [17:52:08]OFD Sender: No OFD packet to send [17:52:13]OFD Sender: No OFD packet to send [17:52:18]OFD Sender: No OFD packet to send [17:52:23]OFD Sender: No OFD packet to send [17:52:28]OFD Sender: No OFD packet to send [17:52:33]OFD Sender: No OFD packet to send [17:52:38]OFD Sender: No OFD packet to send [17:52:43]OFD Sender: No OFD packet to send [17:52:48]OFD Sender: No OFD packet to send [17:52:53]OFD Sender: No OFD packet to send [17:52:58]OFD Sender: No OFD packet to send [17:53:03]OFD Sender: No OFD packet to send [17:53:08]OFD Sender: No OFD packet to send [17:53:13]OFD Sender: No OFD packet to send [17:53:18]OFD Sender: No OFD packet to send [17:53:23]OFD Sender: No OFD packet to send [17:53:28]OFD Sender: No OFD packet to send [17:53:33]OFD Sender: No OFD packet to send [17:53:38]OFD Sender: No OFD packet to send [17:53:43]OFD Sender: No OFD packet to send [17:53:48]OFD Sender: No OFD packet to send [17:53:53]OFD Sender: No OFD packet to send [17:53:58]OFD Sender: No OFD packet to send [17:54:03]OFD Sender: No OFD packet to send [17:54:08]OFD Sender: No OFD packet to send [17:54:13]OFD Sender: No OFD packet to send [17:54:18]OFD Sender: No OFD packet to send [17:54:23]OFD Sender: No OFD packet to send [17:54:28]OFD Sender: No OFD packet to send [17:54:33]OFD Sender: No OFD packet to send [17:54:38]OFD Sender: No OFD packet to send [17:54:43]OFD Sender: No OFD packet to send [17:54:48]OFD Sender: No OFD packet to send [17:54:53]OFD Sender: No OFD packet to send [17:54:58]OFD Sender: No OFD packet to send [17:55:03]OFD Sender: No OFD packet to send [17:55:08]OFD Sender: No OFD packet to send [17:55:13]OFD Sender: No OFD packet to send [17:55:18]OFD Sender: No OFD packet to send [17:55:23]OFD Sender: No OFD packet to send [17:55:28]OFD Sender: No OFD packet to send [17:55:33]OFD Sender: No OFD packet to send [17:55:38]OFD Sender: No OFD packet to send [17:55:43]OFD Sender: No OFD packet to send [17:55:48]OFD Sender: No OFD packet to send [17:55:53]OFD Sender: No OFD packet to send [17:55:58]OFD Sender: No OFD packet to send [17:56:03]OFD Sender: No OFD packet to send [17:56:08]OFD Sender: No OFD packet to send [17:56:13]OFD Sender: No OFD packet to send [17:56:18]OFD Sender: No OFD packet to send [17:56:23]OFD Sender: No OFD packet to send [17:56:28]OFD Sender: No OFD packet to send [17:56:33]OFD Sender: No OFD packet to send [17:56:38]OFD Sender: No OFD packet to send [17:56:43]OFD Sender: No OFD packet to send [17:56:48]OFD Sender: No OFD packet to send [17:56:53]OFD Sender: No OFD packet to send [17:56:58]OFD Sender: No OFD packet to send [17:57:03]OFD Sender: No OFD packet to send [17:57:08]OFD Sender: No OFD packet to send [17:57:13]OFD Sender: No OFD packet to send [17:57:18]OFD Sender: No OFD packet to send [17:57:23]OFD Sender: No OFD packet to send [17:57:28]OFD Sender: No OFD packet to send [17:57:33]OFD Sender: No OFD packet to send [17:57:38]OFD Sender: No OFD packet to send [17:57:43]OFD Sender: No OFD packet to send [17:57:48]OFD Sender: No OFD packet to send [17:57:53]OFD Sender: No OFD packet to send [17:57:58]OFD Sender: No OFD packet to send [17:58:03]OFD Sender: No OFD packet to send [17:58:08]OFD Sender: No OFD packet to send [17:58:13]OFD Sender: No OFD packet to send [17:58:18]OFD Sender: No OFD packet to send [17:58:23]OFD Sender: No OFD packet to send [17:58:28]OFD Sender: No OFD packet to send [17:58:33]OFD Sender: No OFD packet to send [17:58:38]OFD Sender: No OFD packet to send [17:58:43]OFD Sender: No OFD packet to send [17:58:48]OFD Sender: No OFD packet to send [17:58:53]OFD Sender: No OFD packet to send [17:58:58]OFD Sender: No OFD packet to send [17:59:03]OFD Sender: No OFD packet to send [17:59:08]OFD Sender: No OFD packet to send [17:59:13]OFD Sender: No OFD packet to send [17:59:18]OFD Sender: No OFD packet to send [17:59:23]OFD Sender: No OFD packet to send [17:59:28]OFD Sender: No OFD packet to send [17:59:33]OFD Sender: No OFD packet to send [17:59:38]OFD Sender: No OFD packet to send [17:59:44]OFD Sender: No OFD packet to send [17:59:49]OFD Sender: No OFD packet to send [17:59:54]OFD Sender: No OFD packet to send [17:59:59]OFD Sender: No OFD packet to send [18:00:04]OFD Sender: No OFD packet to send [18:00:09]OFD Sender: No OFD packet to send [18:00:14]OFD Sender: No OFD packet to send [18:00:19]OFD Sender: No OFD packet to send [18:00:24]OFD Sender: No OFD packet to send [18:00:29]OFD Sender: No OFD packet to send [18:00:34]OFD Sender: No OFD packet to send [18:00:39]OFD Sender: No OFD packet to send [18:00:44]OFD Sender: No OFD packet to send [18:00:49]OFD Sender: No OFD packet to send [18:00:54]OFD Sender: No OFD packet to send [18:00:59]OFD Sender: No OFD packet to send [18:01:04]OFD Sender: No OFD packet to send [18:01:09]OFD Sender: No OFD packet to send [18:01:14]OFD Sender: No OFD packet to send [18:01:19]OFD Sender: No OFD packet to send [18:01:24]OFD Sender: No OFD packet to send [18:01:29]OFD Sender: No OFD packet to send [18:01:34]OFD Sender: No OFD packet to send [18:01:39]OFD Sender: No OFD packet to send [18:01:44]OFD Sender: No OFD packet to send [18:01:49]OFD Sender: No OFD packet to send [18:01:54]OFD Sender: No OFD packet to send [18:01:59]OFD Sender: No OFD packet to send [18:02:04]OFD Sender: No OFD packet to send [18:02:09]OFD Sender: No OFD packet to send [18:02:14]OFD Sender: No OFD packet to send [18:02:19]OFD Sender: No OFD packet to send [18:02:24]OFD Sender: No OFD packet to send [18:02:29]OFD Sender: No OFD packet to send [18:02:34]OFD Sender: No OFD packet to send [18:02:39]OFD Sender: No OFD packet to send [18:02:44]OFD Sender: No OFD packet to send [18:02:49]OFD Sender: No OFD packet to send [18:02:54]OFD Sender: No OFD packet to send [18:02:59]OFD Sender: No OFD packet to send [18:03:04]OFD Sender: No OFD packet to send [18:03:09]OFD Sender: No OFD packet to send [18:03:14]OFD Sender: No OFD packet to send [18:03:19]OFD Sender: No OFD packet to send [18:03:24]OFD Sender: No OFD packet to send [18:03:29]OFD Sender: No OFD packet to send [18:03:34]OFD Sender: No OFD packet to send [18:03:39]OFD Sender: No OFD packet to send [18:03:44]OFD Sender: No OFD packet to send [18:03:49]OFD Sender: No OFD packet to send [18:03:54]OFD Sender: No OFD packet to send [18:03:59]OFD Sender: No OFD packet to send [18:04:04]OFD Sender: No OFD packet to send [18:04:09]OFD Sender: No OFD packet to send [18:04:14]OFD Sender: No OFD packet to send [18:04:19]OFD Sender: No OFD packet to send [18:04:24]OFD Sender: No OFD packet to send [18:04:29]OFD Sender: No OFD packet to send [18:04:34]OFD Sender: No OFD packet to send [18:04:39]OFD Sender: No OFD packet to send [18:04:44]OFD Sender: No OFD packet to send [18:04:49]OFD Sender: No OFD packet to send [18:04:54]OFD Sender: No OFD packet to send [18:04:59]OFD Sender: No OFD packet to send [18:05:04]OFD Sender: No OFD packet to send [18:05:09]OFD Sender: No OFD packet to send [18:05:14]OFD Sender: No OFD packet to send [18:05:19]OFD Sender: No OFD packet to send [18:05:24]OFD Sender: No OFD packet to send [18:05:29]OFD Sender: No OFD packet to send [18:05:34]OFD Sender: No OFD packet to send [18:05:39]OFD Sender: No OFD packet to send [18:05:44]OFD Sender: No OFD packet to send [18:05:49]OFD Sender: No OFD packet to send [18:05:54]OFD Sender: No OFD packet to send [18:05:59]OFD Sender: No OFD packet to send [18:06:04]OFD Sender: No OFD packet to send [18:06:09]OFD Sender: No OFD packet to send [18:06:14]OFD Sender: No OFD packet to send [18:06:19]OFD Sender: No OFD packet to send [18:06:24]OFD Sender: No OFD packet to send [18:06:29]OFD Sender: No OFD packet to send [18:06:34]OFD Sender: No OFD packet to send [18:06:39]OFD Sender: No OFD packet to send [18:06:44]OFD Sender: No OFD packet to send [18:06:49]OFD Sender: No OFD packet to send [18:06:54]OFD Sender: No OFD packet to send [18:06:59]OFD Sender: No OFD packet to send [18:07:04]OFD Sender: No OFD packet to send [18:07:06]accept exits with 9 [18:07:06]New connection [18:07:06]New thread 3066707300 created [18:07:06]Thread 3066850660 joined [18:07:06]Waiting for new connection... [18:07:06] Sock 9.Parse request [18:07:06]Sock 9.Check first char [18:07:06]Sock 9.First char is OK [18:07:06]request: POST /json_proto HTTP/1.0 [18:07:06]Method: POST [18:07:06]URL: /json_proto [18:07:06]Method is POST - this is cgi request [18:07:06]url: /json_proto [18:07:06]query_string will be loaded in cgi processing [18:07:06]execute_cgi json_proto POST (null) [18:07:06]execute_cgi path=json_proto method=POST [18:07:06]POST find Content-Length [18:07:06]Host: 172.17.52.132:8080 [18:07:06]Content-Length: 902 [18:07:06]Content-Type: application/json [18:07:06] [18:07:06]POST finish read [18:07:06]Found Content-Length = 902 [18:07:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100052", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 342.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:07:06]execute_script... [18:07: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)100052", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 342.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:07:06]POST & json_proto [18:07:06]process_json_proto [18:07:06]json parsed OK: [18:07:06]protocol is kg_v1.0 [18:07:06]action value=close_receipt [18:07:06]process_action close_receipt [18:07:06]cmd_close_receipt [18:07:06]MH_GetDate [18:07:06]Write to MH i2c: F0 00 00 65 6C C0 [18:07:06]Write i2c OK [18:07:06]MH_I2C_Read... [18:07:06]Read from MH i2c: F0 [18:07:06]MH_I2C_Read... [18:07:06]Read from MH i2c: F0 09 00 [18:07:06]MH_I2C_Read... [18:07:06]Read from MH i2c: F0 09 00 65 6C 00 DA 46 15 67 5A BE F6 66 D9 [18:07:06]GetLastDocTimeStamp 1729445610 [18:07:06]current date 1729447642 [18:07:06]FM_GetShiftState [18:07:06]SAM_PROTO_GetShiftState [18:07:06]wFMCommunicate request_size=4 [18:07:06]MH_SAM_APDU [18:07:06]CAPDU: 80 13 01 00 [18:07:06]Write to MH i2c: E2 08 00 66 6C 80 13 01 00 00 00 00 00 4F [18:07:06]Write i2c OK [18:07:06]MH_I2C_Read... [18:07:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:06]Read from MH i2c: E2 [18:07:06]MH_I2C_Read... [18:07:06]Read from MH i2c: E2 0E 00 [18:07:06]MH_I2C_Read... [18:07:06]Read from MH i2c: E2 0E 00 66 6C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 39 [18:07:06]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:07:06]wFMCommunicate OK [18:07:06]SAM_PROTO_GetShiftState done [18:07:06]FM_GetShiftState done [18:07:06]opened in 1729382427 [18:07:06]opened+sec_in_day 1729468827 [18:07:06]quantity*price = 5400 [18:07:06]sum+1 = 5401 [18:07:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 2.000 * 144.00 = 288.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 342.00 НСП 1% : 3.03 НДС 12% : 36.31 Наличными: 342.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 56 20.10.2024 18:07 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2675 ФПД: 275566478773751 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180722&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2675&fm=275566478773751&tin=02508201610067®Number=0000000000207295&sum=34200 0 [18:07:07]StoreToDocumentArchive [18:07:07]shift 24 fd 2675 [18:07:07]save to /storage/0024/doc_00002675 [18:07:07]save last doc name /storage/0024/doc_00002675 to /storage/kkm_last_doc_name [18:07:07]save OK [18:07:07]Clear old archive folders... [18:07:07]ProcessDocumentItem done err = 0, tmpTLVsize=386 [18:07:07]tlvbuf is 01593200 [18:07:07]SAM_PROTO_ClearQueue [18:07:07]wFMCommunicate request_size=4 [18:07:07]MH_SAM_APDU [18:07:07]CAPDU: 80 09 00 00 [18:07:07]Write to MH i2c: E2 08 00 73 6C 80 09 00 00 00 00 00 00 51 [18:07:07]Write i2c OK [18:07:07]MH_I2C_Read... [18:07:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:07:07]Read from MH i2c: E2 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 03 00 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 03 00 73 6C 00 90 00 53 [18:07:07]RAPDU: 90 00 [18:07:07]wFMCommunicate OK [18:07:07]SAM_PROTO_ClearQueue done [18:07:07]KKMCreateOFDPacket [18:07:07]OFDProtocolAddRootSTLVToBuf [18:07:07]FM_MakeSignedData [18:07:07]FM_MakeSignedData [18:07:07]SAM_PROTO_SignData [18:07:07]wFMCommunicate request_size=4 [18:07:07]MH_SAM_APDU [18:07:07]CAPDU: 80 0D 01 02 [18:07:07]Write to MH i2c: E2 08 00 74 6C 80 0D 01 02 00 00 00 00 59 [18:07:07]Write i2c OK [18:07:07]MH_I2C_Read... [18:07:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:07:07]Read from MH i2c: E2 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 03 00 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 03 00 74 6C 00 90 00 54 [18:07:07]RAPDU: 90 00 [18:07:07]wFMCommunicate OK [18:07:07]wFMCommunicate request_size=255 [18:07:07]MH_SAM_APDU [18:07:07]CAPDU: 80 0D 02 02 FA 03 00 82 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 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 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 [18:07:07]Write to MH i2c: E2 02 01 75 6C 80 0D 02 02 FA 00 03 00 82 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 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 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 00 00 83 [18:07:07]Write i2c OK [18:07:07]MH_I2C_Read... [18:07:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:07]Read from MH i2c: E2 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 03 00 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 03 00 75 6C 00 90 00 55 [18:07:07]RAPDU: 90 00 [18:07:07]wFMCommunicate OK [18:07:07]wFMCommunicate request_size=145 [18:07:07]MH_SAM_APDU [18:07:07]CAPDU: 80 0D 02 02 8C 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 0E 00 00 00 00 07 04 06 00 98 85 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 DA 46 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 73 0A 00 00 35 04 06 00 FA A0 52 14 4D F7 [18:07:07]Write to MH i2c: E2 94 00 76 6C 80 0D 02 02 8C 00 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 0E 00 00 00 00 07 04 06 00 98 85 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 DA 46 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 73 0A 00 00 35 04 06 00 FA A0 52 14 4D F7 00 00 D3 [18:07:07]Write i2c OK [18:07:07]MH_I2C_Read... [18:07:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:07]Read from MH i2c: E2 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 03 00 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 03 00 76 6C 00 90 00 56 [18:07:07]RAPDU: 90 00 [18:07:07]wFMCommunicate OK [18:07:07]wFMCommunicate request_size=4 [18:07:07]MH_SAM_APDU [18:07:07]CAPDU: 80 0D 03 02 [18:07:07]Write to MH i2c: E2 08 00 77 6C 80 0D 03 02 00 00 00 00 5E [18:07:07]Write i2c OK [18:07:07]MH_I2C_Read... [18:07:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:07:07]Read from MH i2c: E2 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 0B 00 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 0B 00 77 6C 00 DC DC CF F1 92 5B B7 95 90 00 10 [18:07:07]RAPDU: DC DC CF F1 92 5B B7 95 90 00 [18:07:07]wFMCommunicate OK [18:07:07]SAM_PROTO_SignData done [18:07:07]FM_MakeSignedData done [18:07:07]CreateOFDProtocolMessage [18:07:07]wFMCommunicate request_size=4 [18:07:07]MH_SAM_APDU [18:07:07]CAPDU: 80 11 00 00 [18:07:07]Write to MH i2c: E2 08 00 78 6C 80 11 00 00 00 00 00 00 5E [18:07:07]Write i2c OK [18:07:07]MH_I2C_Read... [18:07:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:07]Read from MH i2c: E2 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 17 00 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: E2 17 00 78 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A6 [18:07:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:07:07]wFMCommunicate OK [18:07:07]CreateOFDProtocolMessage done [18:07:07]OFDSenderStorePacket 2675 [18:07:07]StoreOFDPacket docnum=2675 [18:07:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 96 01 00 00 08 B8 8E 01 2E 44 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 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 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 0E 00 00 00 00 07 04 06 00 98 85 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 DA 46 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 73 0A 00 00 35 04 06 00 FA A0 52 14 4D F7 DC DC CF F1 92 5B B7 95 [18:07:07]CheckFolder [18:07:07]dirname=/storage/ofd_packets [18:07:07]CheckFolder done [18:07:07]ProducePacketName [18:07:07]name=ofd_packets/00002675 [18:07:07]NVStorageSaveData ofd_packets/00002675 [18:07:07]File name is /storage/ofd_packets/00002675 [18:07:07]Write 436 bytes [18:07:07]NVStorageSaveData done [18:07:07]OFDSenderStorePacket done [18:07:07]KKMCreateOFDPacket done [18:07:07]NVStorageSaveData kkm_last_timestamp [18:07:07]File name is /storage/kkm_last_timestamp [18:07:07]Write 4 bytes [18:07:07]NVStorageSaveData done [18:07:07]ExternCall_PrintAddStr [18:07:07]wPrintStart [18:07:07]Write to MH i2c: 01 00 00 79 6C E5 [18:07:07]Write i2c OK [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: 01 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: 01 07 00 [18:07:07]MH_I2C_Read... [18:07:07]Read from MH i2c: 01 07 00 79 6C 00 00 00 00 00 FF 0F FA [18:07:07]RasterBufferAndPrint [18:07:07]line Счет N : (3)100052 [18:07:07]line ИНН: 02508201610067 [18:07:07]line Контрольно-Кассовый Чек [18:07:07]line ПРОДАЖА [18:07:08]line Товар: 4011100977952 [18:07:08]line Шок Батончик Твикс 55г [18:07:08]line 1.000 * 54.00 [18:07:08]line = 54.00 [18:07:08]line НДС 12% НСП 1% [18:07:08]line > о реализуемом товаре [18:07:08]line Товар: 48743587 [18:07:08]line Сигареты Winston XStyle Silver [18:07:08]line 2.000 * 144.00 [18:07:08]line = 288.00 [18:07:08]line НДС 12% НСП 1% [18:07:08]line > о реализуемом товаре [18:07:08]line ИТОГО: 342.00 [18:07:08]line НСП 1% : 3.03 [18:07:08]line НДС 12% : 36.31 [18:07:08]line Наличными: 342.00 [18:07:08]line Безнал.: 0.00 [18:07:08]line Место: АЗС № 162 "Партнер Нефть" [18:07:08]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:07:08]line СНО: Общий режим [18:07:08]line Чек 56 20.10.2024 18:07 [18:07:08]line Смена: 24 ФФД: 1.0 [18:07:08]line ЗНМ: 0300000191 [18:07:08]line РНМ: 0000000000207295 [18:07:08]line Версия ККМ: v1.0 [18:07:08]line ФМ: 0000000002342820 [18:07:08]line ФД: 2675 [18:07:08]line ФПД: 275566478773751 [18:07:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180722&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2675&fm=275566478773751&tin=02508201610067®Number=0000000000207295&sum=34200 [18:07:08]line 0 [18:07:08]OFD Sender: Processing packet 2675 [packets to send 1, broken 0] [18:07:08]ProducePacketName [18:07:08]name=ofd_packets/00002675 [18:07:08]OFD Sender: To server: pG, [18:07:08]CommunicateWithHost lk.salyk.kg:30040 [18:07:08]ConnectInit lk.salyk.kg [18:07:08]written 0, free lines is 4095 [18:07:08]Connected sock=10 [18:07:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 96 01 00 00 08 B8 8E 01 2E 44 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 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 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 0E 00 00 00 00 07 04 06 00 98 85 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 DA 46 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 73 0A 00 00 35 04 06 00 FA A0 52 14 4D F7 DC DC CF F1 92 5B B7 95 [18:07:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 CF 1F 47 00 D3 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 33 34 32 38 32 30 10 04 04 00 73 0A 00 00 F4 03 04 00 37 F2 14 67 B6 04 01 00 00 96 6A B2 86 85 96 CA 4C [18:07:08]CommunicateWithHost err = 0 [18:07:08]CheckOFDResponse [18:07:08]1017 (14) - 77093643461234 [18:07:08]1041 (16) - 0000000002342820 [18:07:08]1040 (4) - 2675 [18:07:08]1012 (4) - 20.10.2024 12:06 [18:07:08]1206 (1) - 0 [18:07:08]OFD Sender: Remove packet 2675 [18:07:08]ProducePacketName [18:07:08]name=ofd_packets/00002675 [18:07:08]NVStorageDeleteData [18:07:08]Write to MH i2c: 01 00 00 A8 6C 14 [18:07:08]Write i2c OK [18:07:08]MH_I2C_Read... [18:07:08]Read from MH i2c: 01 [18:07:08]MH_I2C_Read... [18:07:08]Read from MH i2c: 01 07 00 [18:07:08]MH_I2C_Read... [18:07:08]Read from MH i2c: 01 07 00 A8 6C 00 00 00 00 00 5B 0C 82 [18:07:08]RasterBufferAndPrint [18:07:08]line [18:07:08]line [18:07:08]line [18:07:08]line [18:07:08]line [18:07:08]written 0, free lines is 3172 [18:07:08]MH_Cut [18:07:08]Write to MH i2c: D1 01 00 AF 6C 01 ED [18:07:08]Write i2c OK [18:07:08]MH_I2C_Read... [18:07:08]Read from MH i2c: D1 [18:07:08]MH_I2C_Read... [18:07:08]Read from MH i2c: D1 01 00 [18:07:08]MH_I2C_Read... [18:07:08]Read from MH i2c: D1 01 00 AF 6C 00 EC [18:07:08]Write to MH i2c: 01 00 00 B0 6C 1C [18:07:08]Write i2c OK [18:07:08]MH_I2C_Read... [18:07:09]OFD Sender: No OFD packet to send [18:07:09]*** Cut start [18:07:09]*** Partial cut [18:07:09]*** CUTSNS_PIN = 1 [18:07:09]*** CUTSNS_PIN = 0 [18:07:10]*** Brake cut motor [18:07:10]Read from MH i2c: 01 [18:07:10]MH_I2C_Read... [18:07:10]*** Stop cut motor [18:07:10]*** Cut end [18:07:10]Read from MH i2c: 01 07 00 [18:07:10]MH_I2C_Read... [18:07:10]Read from MH i2c: 01 07 00 B0 6C 00 00 00 00 00 FF 0F 31 [18:07:10]process_action close_receipt done [18:07:10]requested_data is exist [18:07:10]produce_requested_data [18:07:10]requested_item fm.sn is exist - process it [18:07:10]wFMCommunicate request_size=4 [18:07:10]MH_SAM_APDU [18:07:10]CAPDU: 80 11 00 00 [18:07:10]Write to MH i2c: E2 08 00 B1 6C 80 11 00 00 00 00 00 00 97 [18:07:10]Write i2c OK [18:07:10]MH_I2C_Read... [18:07:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:10]Read from MH i2c: E2 [18:07:10]MH_I2C_Read... [18:07:10]Read from MH i2c: E2 17 00 [18:07:10]MH_I2C_Read... [18:07:10]Read from MH i2c: E2 17 00 B1 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 DF [18:07:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:07:10]wFMCommunicate OK [18:07:10]requested_item fd.num is exist - process it [18:07:10]SAM_PROTO_GetFieldsCounters [18:07:10]wFMCommunicate request_size=4 [18:07:10]MH_SAM_APDU [18:07:10]CAPDU: 80 13 00 00 [18:07:10]Write to MH i2c: E2 08 00 B2 6C 80 13 00 00 00 00 00 00 9A [18:07:10]Write i2c OK [18:07:10]MH_I2C_Read... [18:07:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:07:10]Read from MH i2c: E2 [18:07:10]MH_I2C_Read... [18:07:10]Read from MH i2c: E2 62 00 [18:07:10]MH_I2C_Read... [18:07:10]Read from MH i2c: E2 62 00 B2 6C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 73 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 ED [18:07:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 73 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:07:10]wFMCommunicate OK [18:07:10]SAM_PROTO_GetFieldsCounters done [18:07:10]requested_item shift.num is exist - process it [18:07:10]requested_item shift.opened is exist - process it [18:07:10]req_shift_opened [18:07:10]FM_GetShiftState [18:07:10]SAM_PROTO_GetShiftState [18:07:10]wFMCommunicate request_size=4 [18:07:10]MH_SAM_APDU [18:07:10]CAPDU: 80 13 01 00 [18:07:10]Write to MH i2c: E2 08 00 B3 6C 80 13 01 00 00 00 00 00 9C [18:07:10]Write i2c OK [18:07:10]MH_I2C_Read... [18:07:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:10]Read from MH i2c: E2 [18:07:10]MH_I2C_Read... [18:07:10]Read from MH i2c: E2 0E 00 [18:07:10]MH_I2C_Read... [18:07:10]Read from MH i2c: E2 0E 00 B3 6C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 86 [18:07:10]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:07:10]wFMCommunicate OK [18:07:10]SAM_PROTO_GetShiftState done [18:07:10]FM_GetShiftState done [18:07:10]req_shift_opened done [18:07:10]requested_item shift.open_date is exist - process it [18:07:10]req_shift_open_date [18:07:10]req_shift_open_date done [18:07:10]produce_requested_data done [18:07:10]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2675,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [18:07:10]process_action_free close_receipt [18:07:10]json_value_free [18:07:10]json_value_free done [18:07:10]process_json_proto returns [18:07:10]Send response to host [18:07:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2675,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [18:07:10]free response buf [18:07:10]execute_script done [18:07:10]execute_script returns [18:07:10]free content buf [18:07:10]Sock 9.Close socket [18:07:10]Sock 9.Thread stoped [18:07:14]OFD Sender: No OFD packet to send [18:07:19]OFD Sender: No OFD packet to send [18:07:24]OFD Sender: No OFD packet to send [18:07:29]OFD Sender: No OFD packet to send [18:07:34]OFD Sender: No OFD packet to send [18:07:39]OFD Sender: No OFD packet to send [18:07:44]OFD Sender: No OFD packet to send [18:07:49]OFD Sender: No OFD packet to send [18:07:54]OFD Sender: No OFD packet to send [18:07:59]OFD Sender: No OFD packet to send [18:08:04]OFD Sender: No OFD packet to send [18:08:09]OFD Sender: No OFD packet to send [18:08:14]OFD Sender: No OFD packet to send [18:08:19]OFD Sender: No OFD packet to send [18:08:24]OFD Sender: No OFD packet to send [18:08:29]OFD Sender: No OFD packet to send [18:08:34]OFD Sender: No OFD packet to send [18:08:39]OFD Sender: No OFD packet to send [18:08:44]OFD Sender: No OFD packet to send [18:08:49]OFD Sender: No OFD packet to send [18:08:54]OFD Sender: No OFD packet to send [18:08:59]OFD Sender: No OFD packet to send [18:09:04]OFD Sender: No OFD packet to send [18:09:09]OFD Sender: No OFD packet to send [18:09:14]OFD Sender: No OFD packet to send [18:09:19]OFD Sender: No OFD packet to send [18:09:24]OFD Sender: No OFD packet to send [18:09:29]OFD Sender: No OFD packet to send [18:09:34]OFD Sender: No OFD packet to send [18:09:39]OFD Sender: No OFD packet to send [18:09:44]OFD Sender: No OFD packet to send [18:09:49]OFD Sender: No OFD packet to send [18:09:54]OFD Sender: No OFD packet to send [18:09:59]OFD Sender: No OFD packet to send [18:10:04]OFD Sender: No OFD packet to send [18:10:09]OFD Sender: No OFD packet to send [18:10:14]OFD Sender: No OFD packet to send [18:10:19]OFD Sender: No OFD packet to send [18:10:24]OFD Sender: No OFD packet to send [18:10:29]OFD Sender: No OFD packet to send [18:10:34]OFD Sender: No OFD packet to send [18:10:39]OFD Sender: No OFD packet to send [18:10:44]OFD Sender: No OFD packet to send [18:10:49]OFD Sender: No OFD packet to send [18:10:54]OFD Sender: No OFD packet to send [18:10:59]OFD Sender: No OFD packet to send [18:11:04]OFD Sender: No OFD packet to send [18:11:09]OFD Sender: No OFD packet to send [18:11:14]OFD Sender: No OFD packet to send [18:11:19]OFD Sender: No OFD packet to send [18:11:24]OFD Sender: No OFD packet to send [18:11:29]OFD Sender: No OFD packet to send [18:11:34]OFD Sender: No OFD packet to send [18:11:39]OFD Sender: No OFD packet to send [18:11:44]OFD Sender: No OFD packet to send [18:11:49]OFD Sender: No OFD packet to send [18:11:54]OFD Sender: No OFD packet to send [18:11:59]OFD Sender: No OFD packet to send [18:12:04]OFD Sender: No OFD packet to send [18:12:09]OFD Sender: No OFD packet to send [18:12:14]OFD Sender: No OFD packet to send [18:12:19]OFD Sender: No OFD packet to send [18:12:24]OFD Sender: No OFD packet to send [18:12:29]OFD Sender: No OFD packet to send [18:12:34]OFD Sender: No OFD packet to send [18:12:38]accept exits with 7 [18:12:38]New connection [18:12:38]New thread 3066850660 created [18:12:38]Thread 3066707300 joined [18:12:38]Waiting for new connection... [18:12:38] Sock 7.Parse request [18:12:38]Sock 7.Check first char [18:12:38]Sock 7.First char is OK [18:12:38]request: POST /json_proto HTTP/1.0 [18:12:38]Method: POST [18:12:38]URL: /json_proto [18:12:38]Method is POST - this is cgi request [18:12:38]url: /json_proto [18:12:38]query_string will be loaded in cgi processing [18:12:38]execute_cgi json_proto POST (null) [18:12:38]execute_cgi path=json_proto method=POST [18:12:38]POST find Content-Length [18:12:38]Host: 172.17.52.132:8080 [18:12:38]Content-Length: 641 [18:12:38]Content-Type: application/json [18:12:38] [18:12:38]POST finish read [18:12:38]Found Content-Length = 641 [18:12:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100053", "tax_sys" : 0, "items" : [ { "code": "4700001060152", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,5\u043B", "price" : 660.00, "quantity" : 1.000, "sum" : 660.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 660.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:12:38]execute_script... [18:12: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)100053", "tax_sys" : 0, "items" : [ { "code": "4700001060152", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,5\u043B", "price" : 660.00, "quantity" : 1.000, "sum" : 660.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 660.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:12:38]POST & json_proto [18:12:38]process_json_proto [18:12:38]json parsed OK: [18:12:38]protocol is kg_v1.0 [18:12:38]action value=close_receipt [18:12:38]process_action close_receipt [18:12:38]cmd_close_receipt [18:12:38]MH_GetDate [18:12:38]Write to MH i2c: F0 00 00 B4 6C 0F [18:12:38]Write i2c OK [18:12:38]MH_I2C_Read... [18:12:38]Read from MH i2c: F0 [18:12:38]MH_I2C_Read... [18:12:38]Read from MH i2c: F0 09 00 [18:12:38]MH_I2C_Read... [18:12:38]Read from MH i2c: F0 09 00 B4 6C 00 26 48 15 67 5A BE F6 66 76 [18:12:38]GetLastDocTimeStamp 1729447642 [18:12:38]current date 1729447974 [18:12:38]FM_GetShiftState [18:12:38]SAM_PROTO_GetShiftState [18:12:38]wFMCommunicate request_size=4 [18:12:38]MH_SAM_APDU [18:12:38]CAPDU: 80 13 01 00 [18:12:38]Write to MH i2c: E2 08 00 B5 6C 80 13 01 00 00 00 00 00 9E [18:12:38]Write i2c OK [18:12:38]MH_I2C_Read... [18:12:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:12:38]Read from MH i2c: E2 [18:12:38]MH_I2C_Read... [18:12:38]Read from MH i2c: E2 0E 00 [18:12:38]MH_I2C_Read... [18:12:38]Read from MH i2c: E2 0E 00 B5 6C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 88 [18:12:38]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:12:38]wFMCommunicate OK [18:12:38]SAM_PROTO_GetShiftState done [18:12:38]FM_GetShiftState done [18:12:38]opened in 1729382427 [18:12:38]opened+sec_in_day 1729468827 [18:12:38]quantity*price = 66000 [18:12:38]sum+1 = 66001 [18:12:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 660.00 НСП 1% : 5.84 НДС 12% : 70.09 Наличными: 660.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 57 20.10.2024 18:12 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2676 ФПД: 44669240404373 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T181254&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2676&fm=44669240404373&tin=02508201610067®Number=0000000000207295&sum=66000 0 [18:12:39]StoreToDocumentArchive [18:12:39]shift 24 fd 2676 [18:12:39]save to /storage/0024/doc_00002676 [18:12:39]save last doc name /storage/0024/doc_00002676 to /storage/kkm_last_doc_name [18:12:39]save OK [18:12:39]Clear old archive folders... [18:12:39]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:12:39]tlvbuf is 014EC800 [18:12:39]SAM_PROTO_ClearQueue [18:12:39]wFMCommunicate request_size=4 [18:12:39]MH_SAM_APDU [18:12:39]CAPDU: 80 09 00 00 [18:12:39]Write to MH i2c: E2 08 00 C2 6C 80 09 00 00 00 00 00 00 A0 [18:12:39]Write i2c OK [18:12:39]MH_I2C_Read... [18:12:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:12:39]Read from MH i2c: E2 [18:12:39]MH_I2C_Read... [18:12:39]Read from MH i2c: E2 03 00 [18:12:39]MH_I2C_Read... [18:12:39]Read from MH i2c: E2 03 00 C2 6C 00 90 00 A2 [18:12:39]RAPDU: 90 00 [18:12:39]wFMCommunicate OK [18:12:39]SAM_PROTO_ClearQueue done [18:12:39]KKMCreateOFDPacket [18:12:39]OFDProtocolAddRootSTLVToBuf [18:12:39]FM_MakeSignedData [18:12:39]FM_MakeSignedData [18:12:39]SAM_PROTO_SignData [18:12:39]wFMCommunicate request_size=4 [18:12:39]MH_SAM_APDU [18:12:39]CAPDU: 80 0D 01 02 [18:12:39]Write to MH i2c: E2 08 00 C3 6C 80 0D 01 02 00 00 00 00 A8 [18:12:39]Write i2c OK [18:12:39]MH_I2C_Read... [18:12:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:12:40]Read from MH i2c: E2 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 03 00 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 03 00 C3 6C 00 90 00 A3 [18:12:40]RAPDU: 90 00 [18:12:40]wFMCommunicate OK [18:12:40]wFMCommunicate request_size=255 [18:12:40]MH_SAM_APDU [18:12:40]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 01 01 00 00 00 13 04 06 00 D0 01 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 1B 00 00 00 00 07 04 06 00 D0 01 01 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 26 48 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [18:12:40]Write to MH i2c: E2 02 01 C4 6C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 01 01 00 00 00 13 04 06 00 D0 01 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 1B 00 00 00 00 07 04 06 00 D0 01 01 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 26 48 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 21 [18:12:40]Write i2c OK [18:12:40]MH_I2C_Read... [18:12:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:12:40]Read from MH i2c: E2 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 03 00 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 03 00 C4 6C 00 90 00 A4 [18:12:40]RAPDU: 90 00 [18:12:40]wFMCommunicate OK [18:12:40]wFMCommunicate request_size=32 [18:12:40]MH_SAM_APDU [18:12:40]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 74 0A 00 00 35 04 06 00 28 A0 5E 34 E9 95 [18:12:40]Write to MH i2c: E2 23 00 C5 6C 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 74 0A 00 00 35 04 06 00 28 A0 5E 34 E9 95 00 00 53 [18:12:40]Write i2c OK [18:12:40]MH_I2C_Read... [18:12:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:12:40]Read from MH i2c: E2 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 03 00 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 03 00 C5 6C 00 90 00 A5 [18:12:40]RAPDU: 90 00 [18:12:40]wFMCommunicate OK [18:12:40]wFMCommunicate request_size=4 [18:12:40]MH_SAM_APDU [18:12:40]CAPDU: 80 0D 03 02 [18:12:40]Write to MH i2c: E2 08 00 C6 6C 80 0D 03 02 00 00 00 00 AD [18:12:40]Write i2c OK [18:12:40]MH_I2C_Read... [18:12:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:12:40]Read from MH i2c: E2 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 0B 00 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 0B 00 C6 6C 00 17 22 38 23 A0 0A 25 8D 90 00 9E [18:12:40]RAPDU: 17 22 38 23 A0 0A 25 8D 90 00 [18:12:40]wFMCommunicate OK [18:12:40]SAM_PROTO_SignData done [18:12:40]FM_MakeSignedData done [18:12:40]CreateOFDProtocolMessage [18:12:40]wFMCommunicate request_size=4 [18:12:40]MH_SAM_APDU [18:12:40]CAPDU: 80 11 00 00 [18:12:40]Write to MH i2c: E2 08 00 C7 6C 80 11 00 00 00 00 00 00 AD [18:12:40]Write i2c OK [18:12:40]MH_I2C_Read... [18:12:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:12:40]Read from MH i2c: E2 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 17 00 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: E2 17 00 C7 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F5 [18:12:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:12:40]wFMCommunicate OK [18:12:40]CreateOFDProtocolMessage done [18:12:40]OFDSenderStorePacket 2676 [18:12:40]StoreOFDPacket docnum=2676 [18:12:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 6E 43 1D 01 13 B0 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 01 01 00 00 00 13 04 06 00 D0 01 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 1B 00 00 00 00 07 04 06 00 D0 01 01 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 26 48 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 74 0A 00 00 35 04 06 00 28 A0 5E 34 E9 95 17 22 38 23 A0 0A 25 8D [18:12:40]CheckFolder [18:12:40]dirname=/storage/ofd_packets [18:12:40]CheckFolder done [18:12:40]ProducePacketName [18:12:40]name=ofd_packets/00002676 [18:12:40]NVStorageSaveData ofd_packets/00002676 [18:12:40]File name is /storage/ofd_packets/00002676 [18:12:40]Write 323 bytes [18:12:40]NVStorageSaveData done [18:12:40]OFDSenderStorePacket done [18:12:40]KKMCreateOFDPacket done [18:12:40]NVStorageSaveData kkm_last_timestamp [18:12:40]File name is /storage/kkm_last_timestamp [18:12:40]Write 4 bytes [18:12:40]NVStorageSaveData done [18:12:40]ExternCall_PrintAddStr [18:12:40]wPrintStart [18:12:40]Write to MH i2c: 01 00 00 C8 6C 34 [18:12:40]Write i2c OK [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: 01 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: 01 07 00 [18:12:40]MH_I2C_Read... [18:12:40]Read from MH i2c: 01 07 00 C8 6C 00 00 00 00 00 FF 0F 49 [18:12:40]RasterBufferAndPrint [18:12:40]line Счет N : (3)100053 [18:12:40]line ИНН: 02508201610067 [18:12:40]line Контрольно-Кассовый Чек [18:12:40]line ПРОДАЖА [18:12:40]line Товар: 4700001060152 [18:12:40]line Коньяк Бишкек 0,5л [18:12:40]line 1.000 * 660.00 [18:12:40]line = 660.00 [18:12:40]line НДС 12% НСП 1% [18:12:40]line > о реализуемом товаре [18:12:40]line ИТОГО: 660.00 [18:12:40]line НСП 1% : 5.84 [18:12:40]line НДС 12% : 70.09 [18:12:40]line Наличными: 660.00 [18:12:40]line Безнал.: 0.00 [18:12:40]line Место: АЗС № 162 "Партнер Нефть" [18:12:40]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:12:40]line СНО: Общий режим [18:12:40]line Чек 57 20.10.2024 18:12 [18:12:40]line Смена: 24 ФФД: 1.0 [18:12:40]line ЗНМ: 0300000191 [18:12:40]line РНМ: 0000000000207295 [18:12:40]line Версия ККМ: v1.0 [18:12:40]line ФМ: 0000000002342820 [18:12:40]line ФД: 2676 [18:12:40]line ФПД: 44669240404373 [18:12:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T181254&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2676&fm=44669240404373&tin=02508201610067®Number=0000000000207295&sum=66000 [18:12:40]line 0 [18:12:40]written 0, free lines is 4095 [18:12:40]OFD Sender: Processing packet 2676 [packets to send 1, broken 0] [18:12:40]ProducePacketName [18:12:40]name=ofd_packets/00002676 [18:12:40]OFD Sender: To server: pG, [18:12:40]CommunicateWithHost lk.salyk.kg:30040 [18:12:40]ConnectInit lk.salyk.kg [18:12:40]Connected sock=10 [18:12:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 6E 43 1D 01 13 B0 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 01 01 00 00 00 13 04 06 00 D0 01 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 1B 00 00 00 00 07 04 06 00 D0 01 01 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 26 48 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 74 0A 00 00 35 04 06 00 28 A0 5E 34 E9 95 17 22 38 23 A0 0A 25 8D [18:12:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 DB E0 47 00 98 32 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 33 34 32 38 32 30 10 04 04 00 74 0A 00 00 F4 03 04 00 83 F3 14 67 B6 04 01 00 00 77 08 A3 D6 89 E9 CD 11 [18:12:41]CommunicateWithHost err = 0 [18:12:41]CheckOFDResponse [18:12:41]1017 (14) - 77093643461234 [18:12:41]1041 (16) - 0000000002342820 [18:12:41]1040 (4) - 2676 [18:12:41]1012 (4) - 20.10.2024 12:11 [18:12:41]1206 (1) - 0 [18:12:41]OFD Sender: Remove packet 2676 [18:12:41]ProducePacketName [18:12:41]name=ofd_packets/00002676 [18:12:41]NVStorageDeleteData [18:12:41]Write to MH i2c: 01 00 00 F0 6C 5C [18:12:41]Write i2c OK [18:12:41]MH_I2C_Read... [18:12:41]Read from MH i2c: 01 [18:12:41]MH_I2C_Read... [18:12:41]Read from MH i2c: 01 07 00 [18:12:41]MH_I2C_Read... [18:12:41]Read from MH i2c: 01 07 00 F0 6C 00 00 00 00 00 D3 0C 42 [18:12:41]RasterBufferAndPrint [18:12:41]line [18:12:41]line [18:12:41]line [18:12:41]line [18:12:41]line [18:12:41]written 0, free lines is 3290 [18:12:41]MH_Cut [18:12:41]Write to MH i2c: D1 01 00 F7 6C 01 35 [18:12:41]Write i2c OK [18:12:41]MH_I2C_Read... [18:12:41]Read from MH i2c: D1 [18:12:41]MH_I2C_Read... [18:12:41]Read from MH i2c: D1 01 00 [18:12:41]MH_I2C_Read... [18:12:41]Read from MH i2c: D1 01 00 F7 6C 00 34 [18:12:41]Write to MH i2c: 01 00 00 F8 6C 64 [18:12:41]Write i2c OK [18:12:41]MH_I2C_Read... [18:12:41]OFD Sender: No OFD packet to send [18:12:42]*** Cut start [18:12:42]*** Partial cut [18:12:42]*** CUTSNS_PIN = 1 [18:12:42]*** CUTSNS_PIN = 0 [18:12:42]*** Brake cut motor [18:12:42]Read from MH i2c: 01 [18:12:42]MH_I2C_Read... [18:12:42]*** Stop cut motor [18:12:42]*** Cut end [18:12:42]Read from MH i2c: 01 07 00 [18:12:42]MH_I2C_Read... [18:12:42]Read from MH i2c: 01 07 00 F8 6C 00 00 00 00 00 FF 0F 79 [18:12:42]process_action close_receipt done [18:12:42]requested_data is exist [18:12:42]produce_requested_data [18:12:42]requested_item fm.sn is exist - process it [18:12:42]wFMCommunicate request_size=4 [18:12:42]MH_SAM_APDU [18:12:42]CAPDU: 80 11 00 00 [18:12:42]Write to MH i2c: E2 08 00 F9 6C 80 11 00 00 00 00 00 00 DF [18:12:42]Write i2c OK [18:12:42]MH_I2C_Read... [18:12:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:12:42]Read from MH i2c: E2 [18:12:42]MH_I2C_Read... [18:12:42]Read from MH i2c: E2 17 00 [18:12:42]MH_I2C_Read... [18:12:42]Read from MH i2c: E2 17 00 F9 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 27 [18:12:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:12:42]wFMCommunicate OK [18:12:42]requested_item fd.num is exist - process it [18:12:42]SAM_PROTO_GetFieldsCounters [18:12:42]wFMCommunicate request_size=4 [18:12:42]MH_SAM_APDU [18:12:42]CAPDU: 80 13 00 00 [18:12:42]Write to MH i2c: E2 08 00 FA 6C 80 13 00 00 00 00 00 00 E2 [18:12:42]Write i2c OK [18:12:42]MH_I2C_Read... [18:12:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:12:42]Read from MH i2c: E2 [18:12:42]MH_I2C_Read... [18:12:42]Read from MH i2c: E2 62 00 [18:12:42]MH_I2C_Read... [18:12:42]Read from MH i2c: E2 62 00 FA 6C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 74 0A 00 00 0E 04 04 00 18 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 39 [18:12:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 74 0A 00 00 0E 04 04 00 18 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 [18:12:42]wFMCommunicate OK [18:12:42]SAM_PROTO_GetFieldsCounters done [18:12:42]requested_item shift.num is exist - process it [18:12:42]requested_item shift.opened is exist - process it [18:12:42]req_shift_opened [18:12:42]FM_GetShiftState [18:12:42]SAM_PROTO_GetShiftState [18:12:42]wFMCommunicate request_size=4 [18:12:42]MH_SAM_APDU [18:12:42]CAPDU: 80 13 01 00 [18:12:42]Write to MH i2c: E2 08 00 FB 6C 80 13 01 00 00 00 00 00 E4 [18:12:42]Write i2c OK [18:12:42]MH_I2C_Read... [18:12:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:12:43]Read from MH i2c: E2 [18:12:43]MH_I2C_Read... [18:12:43]Read from MH i2c: E2 0E 00 [18:12:43]MH_I2C_Read... [18:12:43]Read from MH i2c: E2 0E 00 FB 6C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 CE [18:12:43]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:12:43]wFMCommunicate OK [18:12:43]SAM_PROTO_GetShiftState done [18:12:43]FM_GetShiftState done [18:12:43]req_shift_opened done [18:12:43]requested_item shift.open_date is exist - process it [18:12:43]req_shift_open_date [18:12:43]req_shift_open_date done [18:12:43]produce_requested_data done [18:12:43]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2676,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [18:12:43]process_action_free close_receipt [18:12:43]json_value_free [18:12:43]json_value_free done [18:12:43]process_json_proto returns [18:12:43]Send response to host [18:12:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2676,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [18:12:43]free response buf [18:12:43]execute_script done [18:12:43]execute_script returns [18:12:43]free content buf [18:12:43]Sock 7.Close socket [18:12:43]Sock 7.Thread stoped [18:12:46]OFD Sender: No OFD packet to send [18:12:51]OFD Sender: No OFD packet to send [18:12:56]OFD Sender: No OFD packet to send [18:13:01]OFD Sender: No OFD packet to send [18:13:06]OFD Sender: No OFD packet to send [18:13:11]OFD Sender: No OFD packet to send [18:13:16]OFD Sender: No OFD packet to send [18:13:21]OFD Sender: No OFD packet to send [18:13:26]OFD Sender: No OFD packet to send [18:13:31]OFD Sender: No OFD packet to send [18:13:36]OFD Sender: No OFD packet to send [18:13:41]OFD Sender: No OFD packet to send [18:13:46]OFD Sender: No OFD packet to send [18:13:51]OFD Sender: No OFD packet to send [18:13:56]OFD Sender: No OFD packet to send [18:14:01]OFD Sender: No OFD packet to send [18:14:06]OFD Sender: No OFD packet to send [18:14:11]OFD Sender: No OFD packet to send [18:14:16]OFD Sender: No OFD packet to send [18:14:21]OFD Sender: No OFD packet to send [18:14:26]OFD Sender: No OFD packet to send [18:14:31]OFD Sender: No OFD packet to send [18:14:36]OFD Sender: No OFD packet to send [18:14:41]OFD Sender: No OFD packet to send [18:14:46]OFD Sender: No OFD packet to send [18:14:51]OFD Sender: No OFD packet to send [18:14:56]OFD Sender: No OFD packet to send [18:15:01]OFD Sender: No OFD packet to send [18:15:06]OFD Sender: No OFD packet to send [18:15:11]OFD Sender: No OFD packet to send [18:15:16]OFD Sender: No OFD packet to send [18:15:21]OFD Sender: No OFD packet to send [18:15:22]accept exits with 9 [18:15:22]New connection [18:15:22]New thread 3066707300 created [18:15:22]Thread 3066850660 joined [18:15:22]Waiting for new connection... [18:15:22] Sock 9.Parse request [18:15:22]Sock 9.Check first char [18:15:22]Sock 9.First char is OK [18:15:22]request: POST /json_proto HTTP/1.0 [18:15:22]Method: POST [18:15:22]URL: /json_proto [18:15:22]Method is POST - this is cgi request [18:15:22]url: /json_proto [18:15:22]query_string will be loaded in cgi processing [18:15:22]execute_cgi json_proto POST (null) [18:15:22]execute_cgi path=json_proto method=POST [18:15:22]POST find Content-Length [18:15:22]Host: 172.17.52.132:8080 [18:15:22]Content-Length: 702 [18:15:22]Content-Type: application/json [18:15:22] [18:15:22]POST finish read [18:15:22]Found Content-Length = 702 [18:15:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100054", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:15:22]execute_script... [18:15:22]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)100054", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:15:22]POST & json_proto [18:15:22]process_json_proto [18:15:22]json parsed OK: [18:15:22]protocol is kg_v1.0 [18:15:22]action value=close_receipt [18:15:22]process_action close_receipt [18:15:22]cmd_close_receipt [18:15:22]MH_GetDate [18:15:22]Write to MH i2c: F0 00 00 FC 6C 57 [18:15:22]Write i2c OK [18:15:22]MH_I2C_Read... [18:15:22]Read from MH i2c: F0 [18:15:22]MH_I2C_Read... [18:15:22]Read from MH i2c: F0 09 00 [18:15:22]MH_I2C_Read... [18:15:22]Read from MH i2c: F0 09 00 FC 6C 00 CA 48 15 67 5A BE F6 66 62 [18:15:22]GetLastDocTimeStamp 1729447974 [18:15:22]current date 1729448138 [18:15:22]FM_GetShiftState [18:15:22]SAM_PROTO_GetShiftState [18:15:22]wFMCommunicate request_size=4 [18:15:22]MH_SAM_APDU [18:15:22]CAPDU: 80 13 01 00 [18:15:22]Write to MH i2c: E2 08 00 FD 6C 80 13 01 00 00 00 00 00 E6 [18:15:22]Write i2c OK [18:15:22]MH_I2C_Read... [18:15:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:22]Read from MH i2c: E2 [18:15:22]MH_I2C_Read... [18:15:22]Read from MH i2c: E2 0E 00 [18:15:22]MH_I2C_Read... [18:15:22]Read from MH i2c: E2 0E 00 FD 6C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 D0 [18:15:22]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:15:22]wFMCommunicate OK [18:15:22]SAM_PROTO_GetShiftState done [18:15:22]FM_GetShiftState done [18:15:22]opened in 1729382427 [18:15:22]opened+sec_in_day 1729468827 [18:15:22]quantity*price = 18000 [18:15:22]sum+1 = 18001 [18:15:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 58 20.10.2024 18:15 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2677 ФПД: 242454225089889 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T181538&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2677&fm=242454225089889&tin=02508201610067®Number=0000000000207295&sum=18000 0 [18:15:23]StoreToDocumentArchive [18:15:23]shift 24 fd 2677 [18:15:23]save to /storage/0024/doc_00002677 [18:15:23]save last doc name /storage/0024/doc_00002677 to /storage/kkm_last_doc_name [18:15:23]save OK [18:15:23]Clear old archive folders... [18:15:23]ProcessDocumentItem done err = 0, tmpTLVsize=299 [18:15:23]tlvbuf is 014EC270 [18:15:23]SAM_PROTO_ClearQueue [18:15:23]wFMCommunicate request_size=4 [18:15:23]MH_SAM_APDU [18:15:23]CAPDU: 80 09 00 00 [18:15:23]Write to MH i2c: E2 08 00 0A 6D 80 09 00 00 00 00 00 00 E9 [18:15:23]Write i2c OK [18:15:23]MH_I2C_Read... [18:15:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:15:23]Read from MH i2c: E2 [18:15:23]MH_I2C_Read... [18:15:23]Read from MH i2c: E2 03 00 [18:15:23]MH_I2C_Read... [18:15:23]Read from MH i2c: E2 03 00 0A 6D 00 90 00 EB [18:15:23]RAPDU: 90 00 [18:15:23]wFMCommunicate OK [18:15:23]SAM_PROTO_ClearQueue done [18:15:23]KKMCreateOFDPacket [18:15:23]OFDProtocolAddRootSTLVToBuf [18:15:23]FM_MakeSignedData [18:15:23]FM_MakeSignedData [18:15:23]SAM_PROTO_SignData [18:15:23]wFMCommunicate request_size=4 [18:15:23]MH_SAM_APDU [18:15:23]CAPDU: 80 0D 01 02 [18:15:23]Write to MH i2c: E2 08 00 0B 6D 80 0D 01 02 00 00 00 00 F1 [18:15:23]Write i2c OK [18:15:23]MH_I2C_Read... [18:15:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:15:24]Read from MH i2c: E2 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 03 00 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 03 00 0B 6D 00 90 00 EC [18:15:24]RAPDU: 90 00 [18:15:24]wFMCommunicate OK [18:15:24]wFMCommunicate request_size=255 [18:15:24]MH_SAM_APDU [18:15:24]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 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 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 CA 48 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [18:15:24]Write to MH i2c: E2 02 01 0C 6D 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 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 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 CA 48 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 63 [18:15:24]Write i2c OK [18:15:24]MH_I2C_Read... [18:15:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:24]Read from MH i2c: E2 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 03 00 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 03 00 0C 6D 00 90 00 ED [18:15:24]RAPDU: 90 00 [18:15:24]wFMCommunicate OK [18:15:24]wFMCommunicate request_size=58 [18:15:24]MH_SAM_APDU [18:15:24]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 75 0A 00 00 35 04 06 00 DC 82 C5 F5 F5 61 [18:15:24]Write to MH i2c: E2 3D 00 0D 6D 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 75 0A 00 00 35 04 06 00 DC 82 C5 F5 F5 61 00 00 C5 [18:15:24]Write i2c OK [18:15:24]MH_I2C_Read... [18:15:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:24]Read from MH i2c: E2 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 03 00 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 03 00 0D 6D 00 90 00 EE [18:15:24]RAPDU: 90 00 [18:15:24]wFMCommunicate OK [18:15:24]wFMCommunicate request_size=4 [18:15:24]MH_SAM_APDU [18:15:24]CAPDU: 80 0D 03 02 [18:15:24]Write to MH i2c: E2 08 00 0E 6D 80 0D 03 02 00 00 00 00 F6 [18:15:24]Write i2c OK [18:15:24]MH_I2C_Read... [18:15:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:15:24]Read from MH i2c: E2 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 0B 00 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 0B 00 0E 6D 00 21 7C 16 F4 5A 2A 52 5C 90 00 D0 [18:15:24]RAPDU: 21 7C 16 F4 5A 2A 52 5C 90 00 [18:15:24]wFMCommunicate OK [18:15:24]SAM_PROTO_SignData done [18:15:24]FM_MakeSignedData done [18:15:24]CreateOFDProtocolMessage [18:15:24]wFMCommunicate request_size=4 [18:15:24]MH_SAM_APDU [18:15:24]CAPDU: 80 11 00 00 [18:15:24]Write to MH i2c: E2 08 00 0F 6D 80 11 00 00 00 00 00 00 F6 [18:15:24]Write i2c OK [18:15:24]MH_I2C_Read... [18:15:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:24]Read from MH i2c: E2 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 17 00 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: E2 17 00 0F 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 3E [18:15:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:15:24]wFMCommunicate OK [18:15:24]CreateOFDProtocolMessage done [18:15:24]OFDSenderStorePacket 2677 [18:15:24]StoreOFDPacket docnum=2677 [18:15:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3F 01 00 00 5E B7 37 01 7C 08 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 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 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 CA 48 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 75 0A 00 00 35 04 06 00 DC 82 C5 F5 F5 61 21 7C 16 F4 5A 2A 52 5C [18:15:24]CheckFolder [18:15:24]dirname=/storage/ofd_packets [18:15:24]CheckFolder done [18:15:24]ProducePacketName [18:15:24]name=ofd_packets/00002677 [18:15:24]NVStorageSaveData ofd_packets/00002677 [18:15:24]File name is /storage/ofd_packets/00002677 [18:15:24]Write 349 bytes [18:15:24]NVStorageSaveData done [18:15:24]OFDSenderStorePacket done [18:15:24]KKMCreateOFDPacket done [18:15:24]NVStorageSaveData kkm_last_timestamp [18:15:24]File name is /storage/kkm_last_timestamp [18:15:24]Write 4 bytes [18:15:24]NVStorageSaveData done [18:15:24]ExternCall_PrintAddStr [18:15:24]wPrintStart [18:15:24]Write to MH i2c: 01 00 00 10 6D 7D [18:15:24]Write i2c OK [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: 01 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: 01 07 00 [18:15:24]MH_I2C_Read... [18:15:24]Read from MH i2c: 01 07 00 10 6D 00 00 00 00 00 FF 0F 92 [18:15:24]RasterBufferAndPrint [18:15:24]line Счет N : (3)100054 [18:15:24]line ИНН: 02508201610067 [18:15:24]line Контрольно-Кассовый Чек [18:15:24]line ПРОДАЖА [18:15:24]line Товар: 4870002325113 [18:15:24]line Напиток PEPSI газированный ст 0,25л [18:15:24]line 2.000 * 90.00 [18:15:24]line = 180.00 [18:15:24]line НДС 12% НСП 1% [18:15:24]line > о реализуемом товаре [18:15:24]line ИТОГО: 180.00 [18:15:24]line НСП 1% : 1.59 [18:15:24]line НДС 12% : 19.11 [18:15:24]line Наличными: 180.00 [18:15:24]line Безнал.: 0.00 [18:15:24]line Место: АЗС № 162 "Партнер Нефть" [18:15:24]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:15:24]line СНО: Общий режим [18:15:24]line Чек 58 20.10.2024 18:15 [18:15:24]line Смена: 24 ФФД: 1.0 [18:15:24]line ЗНМ: 0300000191 [18:15:24]line РНМ: 0000000000207295 [18:15:24]line Версия ККМ: v1.0 [18:15:24]line ФМ: 0000000002342820 [18:15:24]line ФД: 2677 [18:15:24]line ФПД: 242454225089889 [18:15:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T181538&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2677&fm=242454225089889&tin=02508201610067®Number=0000000000207295&sum=18000 [18:15:24]line 0 [18:15:24]OFD Sender: Processing packet 2677 [packets to send 1, broken 0] [18:15:24]ProducePacketName [18:15:24]name=ofd_packets/00002677 [18:15:24]OFD Sender: To server: pG, [18:15:24]CommunicateWithHost lk.salyk.kg:30040 [18:15:24]ConnectInit lk.salyk.kg [18:15:24]written 0, free lines is 4095 [18:15:24]Connected sock=10 [18:15:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3F 01 00 00 5E B7 37 01 7C 08 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 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 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 CA 48 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 75 0A 00 00 35 04 06 00 DC 82 C5 F5 F5 61 21 7C 16 F4 5A 2A 52 5C [18:15:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 C6 E5 47 00 E4 EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 75 0A 00 00 F4 03 04 00 27 F4 14 67 B6 04 01 00 00 07 AD 82 B9 58 4A B0 DF [18:15:25]CommunicateWithHost err = 0 [18:15:25]CheckOFDResponse [18:15:25]1017 (14) - 77093643461234 [18:15:25]1041 (16) - 0000000002342820 [18:15:25]1040 (4) - 2677 [18:15:25]1012 (4) - 20.10.2024 12:14 [18:15:25]1206 (1) - 0 [18:15:25]OFD Sender: Remove packet 2677 [18:15:25]ProducePacketName [18:15:25]name=ofd_packets/00002677 [18:15:25]NVStorageDeleteData [18:15:25]Write to MH i2c: 01 00 00 39 6D A6 [18:15:25]Write i2c OK [18:15:25]MH_I2C_Read... [18:15:25]Read from MH i2c: 01 [18:15:25]MH_I2C_Read... [18:15:25]Read from MH i2c: 01 07 00 [18:15:25]MH_I2C_Read... [18:15:25]Read from MH i2c: 01 07 00 39 6D 00 00 00 00 00 B9 0C 72 [18:15:25]RasterBufferAndPrint [18:15:25]line [18:15:25]line [18:15:25]line [18:15:25]line [18:15:25]line [18:15:25]written 0, free lines is 3263 [18:15:25]MH_Cut [18:15:25]Write to MH i2c: D1 01 00 40 6D 01 7F [18:15:25]Write i2c OK [18:15:25]MH_I2C_Read... [18:15:25]Read from MH i2c: D1 [18:15:25]MH_I2C_Read... [18:15:25]Read from MH i2c: D1 01 00 [18:15:25]MH_I2C_Read... [18:15:25]Read from MH i2c: D1 01 00 40 6D 00 7E [18:15:25]Write to MH i2c: 01 00 00 41 6D AE [18:15:25]Write i2c OK [18:15:25]MH_I2C_Read... [18:15:25]OFD Sender: No OFD packet to send [18:15:26]*** Cut start [18:15:26]*** Partial cut [18:15:26]*** CUTSNS_PIN = 1 [18:15:26]*** CUTSNS_PIN = 0 [18:15:26]*** Brake cut motor [18:15:26]Read from MH i2c: 01 [18:15:26]MH_I2C_Read... [18:15:26]*** Stop cut motor [18:15:26]*** Cut end [18:15:26]Read from MH i2c: 01 07 00 [18:15:26]MH_I2C_Read... [18:15:26]Read from MH i2c: 01 07 00 41 6D 00 00 00 00 00 FF 0F C3 [18:15:26]process_action close_receipt done [18:15:26]requested_data is exist [18:15:26]produce_requested_data [18:15:26]requested_item fm.sn is exist - process it [18:15:26]wFMCommunicate request_size=4 [18:15:26]MH_SAM_APDU [18:15:26]CAPDU: 80 11 00 00 [18:15:26]Write to MH i2c: E2 08 00 42 6D 80 11 00 00 00 00 00 00 29 [18:15:26]Write i2c OK [18:15:26]MH_I2C_Read... [18:15:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:26]Read from MH i2c: E2 [18:15:26]MH_I2C_Read... [18:15:26]Read from MH i2c: E2 17 00 [18:15:26]MH_I2C_Read... [18:15:26]Read from MH i2c: E2 17 00 42 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 71 [18:15:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:15:26]wFMCommunicate OK [18:15:26]requested_item fd.num is exist - process it [18:15:26]SAM_PROTO_GetFieldsCounters [18:15:26]wFMCommunicate request_size=4 [18:15:26]MH_SAM_APDU [18:15:26]CAPDU: 80 13 00 00 [18:15:26]Write to MH i2c: E2 08 00 43 6D 80 13 00 00 00 00 00 00 2C [18:15:26]Write i2c OK [18:15:26]MH_I2C_Read... [18:15:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:15:26]Read from MH i2c: E2 [18:15:26]MH_I2C_Read... [18:15:26]Read from MH i2c: E2 62 00 [18:15:26]MH_I2C_Read... [18:15:26]Read from MH i2c: E2 62 00 43 6D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 75 0A 00 00 0E 04 04 00 18 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 87 [18:15:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 75 0A 00 00 0E 04 04 00 18 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 [18:15:26]wFMCommunicate OK [18:15:26]SAM_PROTO_GetFieldsCounters done [18:15:26]requested_item shift.num is exist - process it [18:15:26]requested_item shift.opened is exist - process it [18:15:26]req_shift_opened [18:15:26]FM_GetShiftState [18:15:26]SAM_PROTO_GetShiftState [18:15:26]wFMCommunicate request_size=4 [18:15:26]MH_SAM_APDU [18:15:26]CAPDU: 80 13 01 00 [18:15:26]Write to MH i2c: E2 08 00 44 6D 80 13 01 00 00 00 00 00 2E [18:15:27]Write i2c OK [18:15:27]MH_I2C_Read... [18:15:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:27]Read from MH i2c: E2 [18:15:27]MH_I2C_Read... [18:15:27]Read from MH i2c: E2 0E 00 [18:15:27]MH_I2C_Read... [18:15:27]Read from MH i2c: E2 0E 00 44 6D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 18 [18:15:27]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:15:27]wFMCommunicate OK [18:15:27]SAM_PROTO_GetShiftState done [18:15:27]FM_GetShiftState done [18:15:27]req_shift_opened done [18:15:27]requested_item shift.open_date is exist - process it [18:15:27]req_shift_open_date [18:15:27]req_shift_open_date done [18:15:27]produce_requested_data done [18:15:27]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2677,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [18:15:27]process_action_free close_receipt [18:15:27]json_value_free [18:15:27]json_value_free done [18:15:27]process_json_proto returns [18:15:27]Send response to host [18:15:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2677,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [18:15:27]free response buf [18:15:27]execute_script done [18:15:27]execute_script returns [18:15:27]free content buf [18:15:27]Sock 9.Close socket [18:15:27]Sock 9.Thread stoped [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:11]accept exits with 7 [18:17:11]New connection [18:17:11]New thread 3066850660 created [18:17:11]Thread 3066707300 joined [18:17:11]Waiting for new connection... [18:17:11] Sock 7.Parse request [18:17:11]Sock 7.Check first char [18:17:11]Sock 7.First char is OK [18:17:11]request: POST /json_proto HTTP/1.0 [18:17:11]Method: POST [18:17:11]URL: /json_proto [18:17:11]Method is POST - this is cgi request [18:17:11]url: /json_proto [18:17:11]query_string will be loaded in cgi processing [18:17:11]execute_cgi json_proto POST (null) [18:17:11]execute_cgi path=json_proto method=POST [18:17:11]POST find Content-Length [18:17:11]Host: 172.17.52.132:8080 [18:17:11]Content-Length: 620 [18:17:11]Content-Type: application/json [18:17:11] [18:17:11]POST finish read [18:17:11]Found Content-Length = 620 [18:17:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100055", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:17:11]execute_script... [18:17:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100055", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:17:11]POST & json_proto [18:17:11]process_json_proto [18:17:11]json parsed OK: [18:17:11]protocol is kg_v1.0 [18:17:11]action value=close_receipt [18:17:11]process_action close_receipt [18:17:11]cmd_close_receipt [18:17:11]MH_GetDate [18:17:11]Write to MH i2c: F0 00 00 45 6D A1 [18:17:11]Write i2c OK [18:17:11]MH_I2C_Read... [18:17:11]Read from MH i2c: F0 [18:17:11]MH_I2C_Read... [18:17:11]Read from MH i2c: F0 09 00 [18:17:11]MH_I2C_Read... [18:17:11]Read from MH i2c: F0 09 00 45 6D 00 37 49 15 67 5A BE F6 66 1A [18:17:11]GetLastDocTimeStamp 1729448138 [18:17:11]current date 1729448247 [18:17:11]FM_GetShiftState [18:17:11]SAM_PROTO_GetShiftState [18:17:11]wFMCommunicate request_size=4 [18:17:11]MH_SAM_APDU [18:17:11]CAPDU: 80 13 01 00 [18:17:11]Write to MH i2c: E2 08 00 46 6D 80 13 01 00 00 00 00 00 30 [18:17:11]Write i2c OK [18:17:11]MH_I2C_Read... [18:17:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:17:11]Read from MH i2c: E2 [18:17:11]MH_I2C_Read... [18:17:11]Read from MH i2c: E2 0E 00 [18:17:11]MH_I2C_Read... [18:17:11]Read from MH i2c: E2 0E 00 46 6D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 1A [18:17:11]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:17:11]wFMCommunicate OK [18:17:11]SAM_PROTO_GetShiftState done [18:17:11]FM_GetShiftState done [18:17:11]opened in 1729382427 [18:17:11]opened+sec_in_day 1729468827 [18:17:11]quantity*price = 15000 [18:17:11]sum+1 = 15001 [18:17:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 59 20.10.2024 18:17 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2678 ФПД: 140748253513190 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T181727&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2678&fm=140748253513190&tin=02508201610067®Number=0000000000207295&sum=15000 0 [18:17:12]StoreToDocumentArchive [18:17:12]shift 24 fd 2678 [18:17:12]save to /storage/0024/doc_00002678 [18:17:12]save last doc name /storage/0024/doc_00002678 to /storage/kkm_last_doc_name [18:17:12]save OK [18:17:12]Clear old archive folders... [18:17:12]ProcessDocumentItem done err = 0, tmpTLVsize=272 [18:17:12]tlvbuf is 014C4380 [18:17:12]SAM_PROTO_ClearQueue [18:17:12]wFMCommunicate request_size=4 [18:17:12]MH_SAM_APDU [18:17:12]CAPDU: 80 09 00 00 [18:17:12]Write to MH i2c: E2 08 00 53 6D 80 09 00 00 00 00 00 00 32 [18:17:12]Write i2c OK [18:17:12]MH_I2C_Read... [18:17:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:17:12]Read from MH i2c: E2 [18:17:12]MH_I2C_Read... [18:17:12]Read from MH i2c: E2 03 00 [18:17:12]MH_I2C_Read... [18:17:12]Read from MH i2c: E2 03 00 53 6D 00 90 00 34 [18:17:12]RAPDU: 90 00 [18:17:12]wFMCommunicate OK [18:17:12]SAM_PROTO_ClearQueue done [18:17:12]KKMCreateOFDPacket [18:17:12]OFDProtocolAddRootSTLVToBuf [18:17:12]FM_MakeSignedData [18:17:12]FM_MakeSignedData [18:17:12]SAM_PROTO_SignData [18:17:12]wFMCommunicate request_size=4 [18:17:12]MH_SAM_APDU [18:17:12]CAPDU: 80 0D 01 02 [18:17:12]Write to MH i2c: E2 08 00 54 6D 80 0D 01 02 00 00 00 00 3A [18:17:12]Write i2c OK [18:17:12]MH_I2C_Read... [18:17:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:17:12]Read from MH i2c: E2 [18:17:12]MH_I2C_Read... [18:17:12]Read from MH i2c: E2 03 00 [18:17:12]MH_I2C_Read... [18:17:12]Read from MH i2c: E2 03 00 54 6D 00 90 00 35 [18:17:12]RAPDU: 90 00 [18:17:12]wFMCommunicate OK [18:17:12]wFMCommunicate request_size=255 [18:17:12]MH_SAM_APDU [18:17:12]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 37 49 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 [18:17:12]Write to MH i2c: E2 02 01 55 6D 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 37 49 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 11 [18:17:13]Write i2c OK [18:17:13]MH_I2C_Read... [18:17:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:17:13]Read from MH i2c: E2 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: E2 03 00 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: E2 03 00 55 6D 00 90 00 36 [18:17:13]RAPDU: 90 00 [18:17:13]wFMCommunicate OK [18:17:13]wFMCommunicate request_size=31 [18:17:13]MH_SAM_APDU [18:17:13]CAPDU: 80 0D 02 02 1A 30 32 33 34 32 38 32 30 10 04 04 00 76 0A 00 00 35 04 06 00 80 02 81 A7 45 E6 [18:17:13]Write to MH i2c: E2 22 00 56 6D 80 0D 02 02 1A 00 30 32 33 34 32 38 32 30 10 04 04 00 76 0A 00 00 35 04 06 00 80 02 81 A7 45 E6 00 00 B2 [18:17:13]Write i2c OK [18:17:13]MH_I2C_Read... [18:17:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:17:13]Read from MH i2c: E2 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: E2 03 00 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: E2 03 00 56 6D 00 90 00 37 [18:17:13]RAPDU: 90 00 [18:17:13]wFMCommunicate OK [18:17:13]wFMCommunicate request_size=4 [18:17:13]MH_SAM_APDU [18:17:13]CAPDU: 80 0D 03 02 [18:17:13]Write to MH i2c: E2 08 00 57 6D 80 0D 03 02 00 00 00 00 3F [18:17:13]Write i2c OK [18:17:13]MH_I2C_Read... [18:17:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:17:13]Read from MH i2c: E2 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: E2 0B 00 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: E2 0B 00 57 6D 00 53 BA FC 10 3D EB E2 3C 90 00 9F [18:17:13]RAPDU: 53 BA FC 10 3D EB E2 3C 90 00 [18:17:13]wFMCommunicate OK [18:17:13]SAM_PROTO_SignData done [18:17:13]FM_MakeSignedData done [18:17:13]CreateOFDProtocolMessage [18:17:13]wFMCommunicate request_size=4 [18:17:13]MH_SAM_APDU [18:17:13]CAPDU: 80 11 00 00 [18:17:13]Write to MH i2c: E2 08 00 58 6D 80 11 00 00 00 00 00 00 3F [18:17:13]Write i2c OK [18:17:13]MH_I2C_Read... [18:17:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:17:13]Read from MH i2c: E2 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: E2 17 00 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: E2 17 00 58 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 87 [18:17:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:17:13]wFMCommunicate OK [18:17:13]CreateOFDProtocolMessage done [18:17:13]OFDSenderStorePacket 2678 [18:17:13]StoreOFDPacket docnum=2678 [18:17:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 8A 60 1C 01 51 97 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 37 49 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 76 0A 00 00 35 04 06 00 80 02 81 A7 45 E6 53 BA FC 10 3D EB E2 3C [18:17:13]CheckFolder [18:17:13]dirname=/storage/ofd_packets [18:17:13]CheckFolder done [18:17:13]ProducePacketName [18:17:13]name=ofd_packets/00002678 [18:17:13]NVStorageSaveData ofd_packets/00002678 [18:17:13]File name is /storage/ofd_packets/00002678 [18:17:13]Write 322 bytes [18:17:13]NVStorageSaveData done [18:17:13]OFDSenderStorePacket done [18:17:13]KKMCreateOFDPacket done [18:17:13]NVStorageSaveData kkm_last_timestamp [18:17:13]File name is /storage/kkm_last_timestamp [18:17:13]Write 4 bytes [18:17:13]NVStorageSaveData done [18:17:13]ExternCall_PrintAddStr [18:17:13]wPrintStart [18:17:13]Write to MH i2c: 01 00 00 59 6D C6 [18:17:13]Write i2c OK [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: 01 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: 01 07 00 [18:17:13]MH_I2C_Read... [18:17:13]Read from MH i2c: 01 07 00 59 6D 00 00 00 00 00 FF 0F DB [18:17:13]RasterBufferAndPrint [18:17:13]line Счет N : (3)100055 [18:17:13]line ИНН: 02508201610067 [18:17:13]line Контрольно-Кассовый Чек [18:17:13]line ПРОДАЖА [18:17:13]line Товар: 4640030091607 [18:17:13]line Сигареты ESSE Exchange [18:17:13]line 1.000 * 150.00 [18:17:13]line = 150.00 [18:17:13]line НДС 12% НСП 1% [18:17:13]line > о реализуемом товаре [18:17:13]line ИТОГО: 150.00 [18:17:13]line НСП 1% : 1.33 [18:17:13]line НДС 12% : 15.93 [18:17:13]line Наличными: 150.00 [18:17:13]line Безнал.: 0.00 [18:17:13]line Место: АЗС № 162 "Партнер Нефть" [18:17:13]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:17:13]line СНО: Общий режим [18:17:13]line Чек 59 20.10.2024 18:17 [18:17:13]line Смена: 24 ФФД: 1.0 [18:17:13]line ЗНМ: 0300000191 [18:17:13]line РНМ: 0000000000207295 [18:17:13]line Версия ККМ: v1.0 [18:17:13]line ФМ: 0000000002342820 [18:17:13]line ФД: 2678 [18:17:13]line ФПД: 140748253513190 [18:17:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T181727&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2678&fm=140748253513190&tin=02508201610067®Number=0000000000207295&sum=15000 [18:17:13]line 0 [18:17:13]OFD Sender: Processing packet 2678 [packets to send 1, broken 0] [18:17:13]ProducePacketName [18:17:13]name=ofd_packets/00002678 [18:17:13]OFD Sender: To server: pG, [18:17:13]CommunicateWithHost lk.salyk.kg:30040 [18:17:13]ConnectInit lk.salyk.kg [18:17:13]written 0, free lines is 4095 [18:17:13]Connected sock=10 [18:17:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 8A 60 1C 01 51 97 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 37 49 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 76 0A 00 00 35 04 06 00 80 02 81 A7 45 E6 53 BA FC 10 3D EB E2 3C [18:17:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 0F 67 47 00 46 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 76 0A 00 00 F4 03 04 00 94 F4 14 67 B6 04 01 00 00 42 88 F9 60 5C 2C B2 CA [18:17:14]CommunicateWithHost err = 0 [18:17:14]CheckOFDResponse [18:17:14]1017 (14) - 77093643461234 [18:17:14]1041 (16) - 0000000002342820 [18:17:14]1040 (4) - 2678 [18:17:14]1012 (4) - 20.10.2024 12:16 [18:17:14]1206 (1) - 0 [18:17:14]OFD Sender: Remove packet 2678 [18:17:14]ProducePacketName [18:17:14]name=ofd_packets/00002678 [18:17:14]NVStorageDeleteData [18:17:14]Write to MH i2c: 01 00 00 81 6D EE [18:17:14]Write i2c OK [18:17:14]MH_I2C_Read... [18:17:14]Read from MH i2c: 01 [18:17:14]MH_I2C_Read... [18:17:14]Read from MH i2c: 01 07 00 [18:17:14]MH_I2C_Read... [18:17:14]Read from MH i2c: 01 07 00 81 6D 00 00 00 00 00 DC 0C DD [18:17:14]RasterBufferAndPrint [18:17:14]line [18:17:14]line [18:17:14]line [18:17:14]line [18:17:14]line [18:17:14]written 0, free lines is 3298 [18:17:14]MH_Cut [18:17:14]Write to MH i2c: D1 01 00 88 6D 01 C7 [18:17:14]Write i2c OK [18:17:14]MH_I2C_Read... [18:17:14]Read from MH i2c: D1 [18:17:14]MH_I2C_Read... [18:17:14]Read from MH i2c: D1 01 00 [18:17:14]MH_I2C_Read... [18:17:14]Read from MH i2c: D1 01 00 88 6D 00 C6 [18:17:14]Write to MH i2c: 01 00 00 89 6D F6 [18:17:14]Write i2c OK [18:17:14]MH_I2C_Read... [18:17:14]OFD Sender: No OFD packet to send [18:17:15]*** Cut start [18:17:15]*** Partial cut [18:17:15]*** CUTSNS_PIN = 1 [18:17:15]*** CUTSNS_PIN = 0 [18:17:15]*** Brake cut motor [18:17:15]Read from MH i2c: 01 [18:17:15]MH_I2C_Read... [18:17:15]*** Stop cut motor [18:17:15]*** Cut end [18:17:15]Read from MH i2c: 01 07 00 [18:17:15]MH_I2C_Read... [18:17:15]Read from MH i2c: 01 07 00 89 6D 00 00 00 00 00 FF 0F 0B [18:17:15]process_action close_receipt done [18:17:15]requested_data is exist [18:17:15]produce_requested_data [18:17:15]requested_item fm.sn is exist - process it [18:17:15]wFMCommunicate request_size=4 [18:17:15]MH_SAM_APDU [18:17:15]CAPDU: 80 11 00 00 [18:17:15]Write to MH i2c: E2 08 00 8A 6D 80 11 00 00 00 00 00 00 71 [18:17:15]Write i2c OK [18:17:15]MH_I2C_Read... [18:17:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:17:15]Read from MH i2c: E2 [18:17:15]MH_I2C_Read... [18:17:15]Read from MH i2c: E2 17 00 [18:17:15]MH_I2C_Read... [18:17:15]Read from MH i2c: E2 17 00 8A 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B9 [18:17:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:17:15]wFMCommunicate OK [18:17:15]requested_item fd.num is exist - process it [18:17:15]SAM_PROTO_GetFieldsCounters [18:17:15]wFMCommunicate request_size=4 [18:17:15]MH_SAM_APDU [18:17:15]CAPDU: 80 13 00 00 [18:17:15]Write to MH i2c: E2 08 00 8B 6D 80 13 00 00 00 00 00 00 74 [18:17:15]Write i2c OK [18:17:15]MH_I2C_Read... [18:17:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:17:15]Read from MH i2c: E2 [18:17:15]MH_I2C_Read... [18:17:15]Read from MH i2c: E2 62 00 [18:17:15]MH_I2C_Read... [18:17:15]Read from MH i2c: E2 62 00 8B 6D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 76 0A 00 00 0E 04 04 00 18 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 D3 [18:17:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 76 0A 00 00 0E 04 04 00 18 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 [18:17:15]wFMCommunicate OK [18:17:15]SAM_PROTO_GetFieldsCounters done [18:17:15]requested_item shift.num is exist - process it [18:17:15]requested_item shift.opened is exist - process it [18:17:15]req_shift_opened [18:17:15]FM_GetShiftState [18:17:15]SAM_PROTO_GetShiftState [18:17:15]wFMCommunicate request_size=4 [18:17:15]MH_SAM_APDU [18:17:15]CAPDU: 80 13 01 00 [18:17:15]Write to MH i2c: E2 08 00 8C 6D 80 13 01 00 00 00 00 00 76 [18:17:15]Write i2c OK [18:17:15]MH_I2C_Read... [18:17:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:17:15]Read from MH i2c: E2 [18:17:15]MH_I2C_Read... [18:17:15]Read from MH i2c: E2 0E 00 [18:17:15]MH_I2C_Read... [18:17:15]Read from MH i2c: E2 0E 00 8C 6D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 60 [18:17:15]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:17:15]wFMCommunicate OK [18:17:15]SAM_PROTO_GetShiftState done [18:17:15]FM_GetShiftState done [18:17:15]req_shift_opened done [18:17:15]requested_item shift.open_date is exist - process it [18:17:15]req_shift_open_date [18:17:15]req_shift_open_date done [18:17:15]produce_requested_data done [18:17:15]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2678,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [18:17:15]process_action_free close_receipt [18:17:15]json_value_free [18:17:15]json_value_free done [18:17:15]process_json_proto returns [18:17:15]Send response to host [18:17:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2678,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [18:17:15]free response buf [18:17:15]execute_script done [18:17:15]execute_script returns [18:17:15]free content buf [18:17:15]Sock 7.Close socket [18:17:15]Sock 7.Thread stoped [18:17:19]OFD Sender: No OFD packet to send [18:17:24]OFD Sender: No OFD packet to send [18:17:29]OFD Sender: No OFD packet to send [18:17:34]OFD Sender: No OFD packet to send [18:17:39]OFD Sender: No OFD packet to send [18:17:44]OFD Sender: No OFD packet to send [18:17:49]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:04]OFD Sender: No OFD packet to send [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]OFD Sender: No OFD packet to send [18:18:39]OFD Sender: No OFD packet to send [18:18:44]OFD Sender: No OFD packet to send [18:18:49]OFD Sender: No OFD packet to send [18:18:54]OFD Sender: No OFD packet to send [18:18:59]OFD Sender: No OFD packet to send [18:19:04]OFD Sender: No OFD packet to send [18:19:09]OFD Sender: No OFD packet to send [18:19:14]OFD Sender: No OFD packet to send [18:19:19]OFD Sender: No OFD packet to send [18:19:24]OFD Sender: No OFD packet to send [18:19:29]OFD Sender: No OFD packet to send [18:19:34]OFD Sender: No OFD packet to send [18:19:39]OFD Sender: No OFD packet to send [18:19:44]OFD Sender: No OFD packet to send [18:19:49]OFD Sender: No OFD packet to send [18:19:54]OFD Sender: No OFD packet to send [18:19:59]OFD Sender: No OFD packet to send [18:20:04]OFD Sender: No OFD packet to send [18:20:09]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:44]OFD Sender: No OFD packet to send [18:21:49]OFD Sender: No OFD packet to send [18:21:54]OFD Sender: No OFD packet to send [18:21:59]OFD Sender: No OFD packet to send [18:22:04]OFD Sender: No OFD packet to send [18:22:09]OFD Sender: No OFD packet to send [18:22:14]OFD Sender: No OFD packet to send [18:22:19]OFD Sender: No OFD packet to send [18:22:24]OFD Sender: No OFD packet to send [18:22:29]OFD Sender: No OFD packet to send [18:22:34]OFD Sender: No OFD packet to send [18:22:39]OFD Sender: No OFD packet to send [18:22:44]OFD Sender: No OFD packet to send [18:22:49]OFD Sender: No OFD packet to send [18:22:54]OFD Sender: No OFD packet to send [18:22:59]OFD Sender: No OFD packet to send [18:23:04]OFD Sender: No OFD packet to send [18:23:09]OFD Sender: No OFD packet to send [18:23:14]OFD Sender: No OFD packet to send [18:23:19]OFD Sender: No OFD packet to send [18:23:24]OFD Sender: No OFD packet to send [18:23:29]OFD Sender: No OFD packet to send [18:23:34]OFD Sender: No OFD packet to send [18:23:39]OFD Sender: No OFD packet to send [18:23:44]OFD Sender: No OFD packet to send [18:23:49]OFD Sender: No OFD packet to send [18:23:54]OFD Sender: No OFD packet to send [18:23:59]OFD Sender: No OFD packet to send [18:24:04]OFD Sender: No OFD packet to send [18:24:09]OFD Sender: No OFD packet to send [18:24:14]OFD Sender: No OFD packet to send [18:24:19]OFD Sender: No OFD packet to send [18:24:24]OFD Sender: No OFD packet to send [18:24:29]OFD Sender: No OFD packet to send [18:24:34]OFD Sender: No OFD packet to send [18:24:39]OFD Sender: No OFD packet to send [18:24:44]OFD Sender: No OFD packet to send [18:24:49]OFD Sender: No OFD packet to send [18:24:54]OFD Sender: No OFD packet to send [18:24:59]OFD Sender: No OFD packet to send [18:25:04]OFD Sender: No OFD packet to send [18:25:09]OFD Sender: No OFD packet to send [18:25:14]OFD Sender: No OFD packet to send [18:25:19]OFD Sender: No OFD packet to send [18:25:24]OFD Sender: No OFD packet to send [18:25:29]OFD Sender: No OFD packet to send [18:25:34]OFD Sender: No OFD packet to send [18:25:39]OFD Sender: No OFD packet to send [18:25:44]OFD Sender: No OFD packet to send [18:25:49]OFD Sender: No OFD packet to send [18:25:54]OFD Sender: No OFD packet to send [18:25:59]OFD Sender: No OFD packet to send [18:26:04]OFD Sender: No OFD packet to send [18:26:09]OFD Sender: No OFD packet to send [18:26:14]OFD Sender: No OFD packet to send [18:26:19]OFD Sender: No OFD packet to send [18:26:24]OFD Sender: No OFD packet to send [18:26:29]OFD Sender: No OFD packet to send [18:26:34]OFD Sender: No OFD packet to send [18:26:39]OFD Sender: No OFD packet to send [18:26:45]OFD Sender: No OFD packet to send [18:26:50]OFD Sender: No OFD packet to send [18:26:55]OFD Sender: No OFD packet to send [18:27:00]OFD Sender: No OFD packet to send [18:27:05]OFD Sender: No OFD packet to send [18:27:10]OFD Sender: No OFD packet to send [18:27:15]OFD Sender: No OFD packet to send [18:27:20]OFD Sender: No OFD packet to send [18:27:25]OFD Sender: No OFD packet to send [18:27:30]OFD Sender: No OFD packet to send [18:27:35]OFD Sender: No OFD packet to send [18:27:40]OFD Sender: No OFD packet to send [18:27:45]OFD Sender: No OFD packet to send [18:27:50]OFD Sender: No OFD packet to send [18:27:55]OFD Sender: No OFD packet to send [18:28:00]OFD Sender: No OFD packet to send [18:28:05]OFD Sender: No OFD packet to send [18:28:10]OFD Sender: No OFD packet to send [18:28:15]OFD Sender: No OFD packet to send [18:28:20]OFD Sender: No OFD packet to send [18:28:25]OFD Sender: No OFD packet to send [18:28:30]OFD Sender: No OFD packet to send [18:28:35]OFD Sender: No OFD packet to send [18:28:40]OFD Sender: No OFD packet to send [18:28:45]OFD Sender: No OFD packet to send [18:28:50]OFD Sender: No OFD packet to send [18:28:55]OFD Sender: No OFD packet to send [18:29:00]OFD Sender: No OFD packet to send [18:29:05]OFD Sender: No OFD packet to send [18:29:10]OFD Sender: No OFD packet to send [18:29:15]OFD Sender: No OFD packet to send [18:29:20]OFD Sender: No OFD packet to send [18:29:25]OFD Sender: No OFD packet to send [18:29:30]OFD Sender: No OFD packet to send [18:29:35]OFD Sender: No OFD packet to send [18:29:40]OFD Sender: No OFD packet to send [18:29:45]OFD Sender: No OFD packet to send [18:29:50]OFD Sender: No OFD packet to send [18:29:55]OFD Sender: No OFD packet to send [18:30:00]OFD Sender: No OFD packet to send [18:30:05]OFD Sender: No OFD packet to send [18:30:10]OFD Sender: No OFD packet to send [18:30:15]OFD Sender: No OFD packet to send [18:30:20]OFD Sender: No OFD packet to send [18:30:25]OFD Sender: No OFD packet to send [18:30:30]OFD Sender: No OFD packet to send [18:30:35]OFD Sender: No OFD packet to send [18:30:40]OFD Sender: No OFD packet to send [18:30:45]OFD Sender: No OFD packet to send [18:30:50]OFD Sender: No OFD packet to send [18:30:55]OFD Sender: No OFD packet to send [18:31:00]OFD Sender: No OFD packet to send [18:31:05]OFD Sender: No OFD packet to send [18:31:10]OFD Sender: No OFD packet to send [18:31:15]OFD Sender: No OFD packet to send [18:31:20]OFD Sender: No OFD packet to send [18:31:25]OFD Sender: No OFD packet to send [18:31:30]OFD Sender: No OFD packet to send [18:31:35]OFD Sender: No OFD packet to send [18:31:40]OFD Sender: No OFD packet to send [18:31:45]OFD Sender: No OFD packet to send [18:31:50]OFD Sender: No OFD packet to send [18:31:55]OFD Sender: No OFD packet to send [18:32:00]OFD Sender: No OFD packet to send [18:32:05]OFD Sender: No OFD packet to send [18:32:10]OFD Sender: No OFD packet to send [18:32:15]OFD Sender: No OFD packet to send [18:32:20]OFD Sender: No OFD packet to send [18:32:25]OFD Sender: No OFD packet to send [18:32:30]OFD Sender: No OFD packet to send [18:32:35]OFD Sender: No OFD packet to send [18:32:40]OFD Sender: No OFD packet to send [18:32:45]OFD Sender: No OFD packet to send [18:32:50]OFD Sender: No OFD packet to send [18:32:55]OFD Sender: No OFD packet to send [18:33:00]OFD Sender: No OFD packet to send [18:33:05]OFD Sender: No OFD packet to send [18:33:10]OFD Sender: No OFD packet to send [18:33:15]OFD Sender: No OFD packet to send [18:33:20]OFD Sender: No OFD packet to send [18:33:25]OFD Sender: No OFD packet to send [18:33:30]OFD Sender: No OFD packet to send [18:33:35]OFD Sender: No OFD packet to send [18:33:40]OFD Sender: No OFD packet to send [18:33:45]OFD Sender: No OFD packet to send [18:33:50]OFD Sender: No OFD packet to send [18:33:55]OFD Sender: No OFD packet to send [18:34:00]OFD Sender: No OFD packet to send [18:34:05]OFD Sender: No OFD packet to send [18:34:10]OFD Sender: No OFD packet to send [18:34:15]OFD Sender: No OFD packet to send [18:34:20]OFD Sender: No OFD packet to send [18:34:25]OFD Sender: No OFD packet to send [18:34:30]OFD Sender: No OFD packet to send [18:34:35]OFD Sender: No OFD packet to send [18:34:40]OFD Sender: No OFD packet to send [18:34:45]OFD Sender: No OFD packet to send [18:34:50]OFD Sender: No OFD packet to send [18:34:55]OFD Sender: No OFD packet to send [18:35:00]OFD Sender: No OFD packet to send [18:35:05]OFD Sender: No OFD packet to send [18:35:10]OFD Sender: No OFD packet to send [18:35:15]OFD Sender: No OFD packet to send [18:35:20]OFD Sender: No OFD packet to send [18:35:25]OFD Sender: No OFD packet to send [18:35:30]OFD Sender: No OFD packet to send [18:35:35]OFD Sender: No OFD packet to send [18:35:40]OFD Sender: No OFD packet to send [18:35:45]OFD Sender: No OFD packet to send [18:35:50]OFD Sender: No OFD packet to send [18:35:55]OFD Sender: No OFD packet to send [18:36:00]OFD Sender: No OFD packet to send [18:36:05]OFD Sender: No OFD packet to send [18:36:10]OFD Sender: No OFD packet to send [18:36:15]OFD Sender: No OFD packet to send [18:36:20]OFD Sender: No OFD packet to send [18:36:25]OFD Sender: No OFD packet to send [18:36:30]OFD Sender: No OFD packet to send [18:36:35]OFD Sender: No OFD packet to send [18:36:40]OFD Sender: No OFD packet to send [18:36:45]OFD Sender: No OFD packet to send [18:36:50]OFD Sender: No OFD packet to send [18:36:55]OFD Sender: No OFD packet to send [18:37:00]OFD Sender: No OFD packet to send [18:37:05]OFD Sender: No OFD packet to send [18:37:10]OFD Sender: No OFD packet to send [18:37:15]OFD Sender: No OFD packet to send [18:37:20]OFD Sender: No OFD packet to send [18:37:25]OFD Sender: No OFD packet to send [18:37:28]accept exits with 9 [18:37:28]New connection [18:37:28]New thread 3066707300 created [18:37:28]Thread 3066850660 joined [18:37:28]Waiting for new connection... [18:37:28] Sock 9.Parse request [18:37:28]Sock 9.Check first char [18:37:28]Sock 9.First char is OK [18:37:28]request: POST /json_proto HTTP/1.0 [18:37:28]Method: POST [18:37:28]URL: /json_proto [18:37:28]Method is POST - this is cgi request [18:37:28]url: /json_proto [18:37:28]query_string will be loaded in cgi processing [18:37:28]execute_cgi json_proto POST (null) [18:37:28]execute_cgi path=json_proto method=POST [18:37:28]POST find Content-Length [18:37:28]Host: 172.17.52.132:8080 [18:37:28]Content-Length: 1197 [18:37:28]Content-Type: application/json [18:37:28] [18:37:28]POST finish read [18:37:28]Found Content-Length = 1197 [18:37:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100056", "tax_sys" : 0, "items" : [ { "code": "4607084351385", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 12\u0448\u0442", "price" : 340.00, "quantity" : 1.000, "sum" : 340.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 588.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:37:28]execute_script... [18:37: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)100056", "tax_sys" : 0, "items" : [ { "code": "4607084351385", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 12\u0448\u0442", "price" : 340.00, "quantity" : 1.000, "sum" : 340.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 588.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:37:28]POST & json_proto [18:37:28]process_json_proto [18:37:28]json parsed OK: [18:37:28]protocol is kg_v1.0 [18:37:28]action value=close_receipt [18:37:28]process_action close_receipt [18:37:28]cmd_close_receipt [18:37:28]MH_GetDate [18:37:28]Write to MH i2c: F0 00 00 8D 6D E9 [18:37:28]Write i2c OK [18:37:28]MH_I2C_Read... [18:37:28]Read from MH i2c: F0 [18:37:28]MH_I2C_Read... [18:37:28]Read from MH i2c: F0 09 00 [18:37:28]MH_I2C_Read... [18:37:28]Read from MH i2c: F0 09 00 8D 6D 00 F8 4D 15 67 5A BE F6 66 27 [18:37:28]GetLastDocTimeStamp 1729448247 [18:37:28]current date 1729449464 [18:37:28]FM_GetShiftState [18:37:28]SAM_PROTO_GetShiftState [18:37:28]wFMCommunicate request_size=4 [18:37:28]MH_SAM_APDU [18:37:28]CAPDU: 80 13 01 00 [18:37:28]Write to MH i2c: E2 08 00 8E 6D 80 13 01 00 00 00 00 00 78 [18:37:28]Write i2c OK [18:37:28]MH_I2C_Read... [18:37:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:37:28]Read from MH i2c: E2 [18:37:28]MH_I2C_Read... [18:37:28]Read from MH i2c: E2 0E 00 [18:37:28]MH_I2C_Read... [18:37:28]Read from MH i2c: E2 0E 00 8E 6D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 62 [18:37:28]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:37:28]wFMCommunicate OK [18:37:28]SAM_PROTO_GetShiftState done [18:37:28]FM_GetShiftState done [18:37:28]opened in 1729382427 [18:37:28]opened+sec_in_day 1729468827 [18:37:28]quantity*price = 34000 [18:37:28]sum+1 = 34001 [18:37:28]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202522015 Напиток Maxi Чай Грушевый 1,2л 1.000 * 104.00 = 104.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 588.00 НСП 1% : 5.20 НДС 12% : 62.44 Наличными: 588.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 60 20.10.2024 18:37 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2679 ФПД: 57246382370573 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T183744&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2679&fm=57246382370573&tin=02508201610067®Number=0000000000207295&sum=58800 0 [18:37:29]StoreToDocumentArchive [18:37:29]shift 24 fd 2679 [18:37:29]save to /storage/0024/doc_00002679 [18:37:29]save last doc name /storage/0024/doc_00002679 to /storage/kkm_last_doc_name [18:37:29]save OK [18:37:29]Clear old archive folders... [18:37:29]ProcessDocumentItem done err = 0, tmpTLVsize=505 [18:37:29]tlvbuf is 013DE570 [18:37:29]SAM_PROTO_ClearQueue [18:37:29]wFMCommunicate request_size=4 [18:37:29]MH_SAM_APDU [18:37:29]CAPDU: 80 09 00 00 [18:37:29]Write to MH i2c: E2 08 00 9B 6D 80 09 00 00 00 00 00 00 7A [18:37:29]Write i2c OK [18:37:29]MH_I2C_Read... [18:37:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:37:29]Read from MH i2c: E2 [18:37:29]MH_I2C_Read... [18:37:29]Read from MH i2c: E2 03 00 [18:37:29]MH_I2C_Read... [18:37:29]Read from MH i2c: E2 03 00 9B 6D 00 90 00 7C [18:37:29]RAPDU: 90 00 [18:37:29]wFMCommunicate OK [18:37:29]SAM_PROTO_ClearQueue done [18:37:29]KKMCreateOFDPacket [18:37:29]OFDProtocolAddRootSTLVToBuf [18:37:29]FM_MakeSignedData [18:37:29]FM_MakeSignedData [18:37:29]SAM_PROTO_SignData [18:37:29]wFMCommunicate request_size=4 [18:37:29]MH_SAM_APDU [18:37:29]CAPDU: 80 0D 01 02 [18:37:29]Write to MH i2c: E2 08 00 9C 6D 80 0D 01 02 00 00 00 00 82 [18:37:29]Write i2c OK [18:37:29]MH_I2C_Read... [18:37:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:37:29]Read from MH i2c: E2 [18:37:29]MH_I2C_Read... [18:37:29]Read from MH i2c: E2 03 00 [18:37:29]MH_I2C_Read... [18:37:29]Read from MH i2c: E2 03 00 9C 6D 00 90 00 7D [18:37:29]RAPDU: 90 00 [18:37:29]wFMCommunicate OK [18:37:29]wFMCommunicate request_size=255 [18:37:29]MH_SAM_APDU [18:37:29]CAPDU: 80 0D 02 02 FA 03 00 F9 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 38 35 06 04 25 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 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 84 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 [18:37:29]Write to MH i2c: E2 02 01 9D 6D 80 0D 02 02 FA 00 03 00 F9 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 38 35 06 04 25 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 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 84 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 00 00 5E [18:37:29]Write i2c OK [18:37:29]MH_I2C_Read... [18:37:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:37:30]Read from MH i2c: E2 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 03 00 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 03 00 9D 6D 00 90 00 7E [18:37:30]RAPDU: 90 00 [18:37:30]wFMCommunicate OK [18:37:30]wFMCommunicate request_size=255 [18:37:30]MH_SAM_APDU [18:37:30]CAPDU: 80 0D 02 02 FA 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 E5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 18 00 00 00 00 07 04 06 00 B0 E5 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 F8 4D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 77 0A 00 00 35 [18:37:30]Write to MH i2c: E2 02 01 9E 6D 80 0D 02 02 FA 00 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 E5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 18 00 00 00 00 07 04 06 00 B0 E5 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 F8 4D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 77 0A 00 00 35 00 00 D3 [18:37:30]Write i2c OK [18:37:30]MH_I2C_Read... [18:37:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:37:30]Read from MH i2c: E2 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 03 00 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 03 00 9E 6D 00 90 00 7F [18:37:30]RAPDU: 90 00 [18:37:30]wFMCommunicate OK [18:37:30]wFMCommunicate request_size=14 [18:37:30]MH_SAM_APDU [18:37:30]CAPDU: 80 0D 02 02 09 04 06 00 34 10 B6 49 2F 0D [18:37:30]Write to MH i2c: E2 11 00 9F 6D 80 0D 02 02 09 00 04 06 00 34 10 B6 49 2F 0D 00 00 21 [18:37:30]Write i2c OK [18:37:30]MH_I2C_Read... [18:37:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:37:30]Read from MH i2c: E2 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 03 00 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 03 00 9F 6D 00 90 00 80 [18:37:30]RAPDU: 90 00 [18:37:30]wFMCommunicate OK [18:37:30]wFMCommunicate request_size=4 [18:37:30]MH_SAM_APDU [18:37:30]CAPDU: 80 0D 03 02 [18:37:30]Write to MH i2c: E2 08 00 A0 6D 80 0D 03 02 00 00 00 00 88 [18:37:30]Write i2c OK [18:37:30]MH_I2C_Read... [18:37:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:37:30]Read from MH i2c: E2 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 0B 00 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 0B 00 A0 6D 00 9B 34 FA 57 29 C9 79 90 90 00 A4 [18:37:30]RAPDU: 9B 34 FA 57 29 C9 79 90 90 00 [18:37:30]wFMCommunicate OK [18:37:30]SAM_PROTO_SignData done [18:37:30]FM_MakeSignedData done [18:37:30]CreateOFDProtocolMessage [18:37:30]wFMCommunicate request_size=4 [18:37:30]MH_SAM_APDU [18:37:30]CAPDU: 80 11 00 00 [18:37:30]Write to MH i2c: E2 08 00 A1 6D 80 11 00 00 00 00 00 00 88 [18:37:30]Write i2c OK [18:37:30]MH_I2C_Read... [18:37:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:37:30]Read from MH i2c: E2 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 17 00 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: E2 17 00 A1 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D0 [18:37:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:37:30]wFMCommunicate OK [18:37:30]CreateOFDProtocolMessage done [18:37:30]OFDSenderStorePacket 2679 [18:37:30]StoreOFDPacket docnum=2679 [18:37:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 02 00 00 17 87 05 02 6F BC 5A 03 01 00 03 00 F9 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 38 35 06 04 25 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 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 84 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 E5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 18 00 00 00 00 07 04 06 00 B0 E5 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 F8 4D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 77 0A 00 00 35 04 06 00 34 10 B6 49 2F 0D 9B 34 FA 57 29 C9 79 90 [18:37:30]CheckFolder [18:37:30]dirname=/storage/ofd_packets [18:37:30]CheckFolder done [18:37:30]ProducePacketName [18:37:30]name=ofd_packets/00002679 [18:37:30]NVStorageSaveData ofd_packets/00002679 [18:37:30]File name is /storage/ofd_packets/00002679 [18:37:30]Write 555 bytes [18:37:30]NVStorageSaveData done [18:37:30]OFDSenderStorePacket done [18:37:30]KKMCreateOFDPacket done [18:37:30]NVStorageSaveData kkm_last_timestamp [18:37:30]File name is /storage/kkm_last_timestamp [18:37:30]Write 4 bytes [18:37:30]NVStorageSaveData done [18:37:30]ExternCall_PrintAddStr [18:37:30]wPrintStart [18:37:30]Write to MH i2c: 01 00 00 A2 6D 0F [18:37:30]OFD Sender: No OFD packet to send [18:37:30]Write i2c OK [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: 01 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: 01 07 00 [18:37:30]MH_I2C_Read... [18:37:30]Read from MH i2c: 01 07 00 A2 6D 00 00 00 00 00 FF 0F 24 [18:37:30]RasterBufferAndPrint [18:37:30]line Счет N : (3)100056 [18:37:30]line ИНН: 02508201610067 [18:37:30]line Контрольно-Кассовый Чек [18:37:30]line ПРОДАЖА [18:37:30]line Товар: 4607084351385 [18:37:30]line Бисквит Чоко пай 12шт [18:37:30]line 1.000 * 340.00 [18:37:30]line = 340.00 [18:37:30]line НДС 12% НСП 1% [18:37:30]line > о реализуемом товаре [18:37:30]line Товар: 4870202522015 [18:37:30]line Напиток Maxi Чай Грушевый 1,2л [18:37:30]line 1.000 * 104.00 [18:37:30]line = 104.00 [18:37:30]line НДС 12% НСП 1% [18:37:30]line > о реализуемом товаре [18:37:30]line Товар: 48743587 [18:37:30]line Сигареты Winston XStyle Silver [18:37:30]line 1.000 * 144.00 [18:37:30]line = 144.00 [18:37:30]line НДС 12% НСП 1% [18:37:30]line > о реализуемом товаре [18:37:30]line ИТОГО: 588.00 [18:37:30]line НСП 1% : 5.20 [18:37:30]line НДС 12% : 62.44 [18:37:30]line Наличными: 588.00 [18:37:30]line Безнал.: 0.00 [18:37:30]line Место: АЗС № 162 "Партнер Нефть" [18:37:30]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:37:30]line СНО: Общий режим [18:37:30]line Чек 60 20.10.2024 18:37 [18:37:30]line Смена: 24 ФФД: 1.0 [18:37:30]line ЗНМ: 0300000191 [18:37:30]line РНМ: 0000000000207295 [18:37:30]line Версия ККМ: v1.0 [18:37:30]line ФМ: 0000000002342820 [18:37:30]line ФД: 2679 [18:37:30]line ФПД: 57246382370573 [18:37:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T183744&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2679&fm=57246382370573&tin=02508201610067®Number=0000000000207295&sum=58800 [18:37:30]line 0 [18:37:30]written 0, free lines is 4095 [18:37:30]OFD Sender: Processing packet 2679 [packets to send 1, broken 0] [18:37:30]ProducePacketName [18:37:30]name=ofd_packets/00002679 [18:37:30]OFD Sender: To server: pG, [18:37:30]CommunicateWithHost lk.salyk.kg:30040 [18:37:30]ConnectInit lk.salyk.kg [18:37:30]Connected sock=10 [18:37:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 02 00 00 17 87 05 02 6F BC 5A 03 01 00 03 00 F9 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 38 35 06 04 25 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 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 84 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 E5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 18 00 00 00 00 07 04 06 00 B0 E5 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 F8 4D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 77 0A 00 00 35 04 06 00 34 10 B6 49 2F 0D 9B 34 FA 57 29 C9 79 90 [18:37:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 9D 93 47 00 A9 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 77 0A 00 00 F4 03 04 00 55 F9 14 67 B6 04 01 00 00 ED 49 9F 58 1C 3B 9F 77 [18:37:31]CommunicateWithHost err = 0 [18:37:31]CheckOFDResponse [18:37:31]1017 (14) - 77093643461234 [18:37:31]1041 (16) - 0000000002342820 [18:37:31]1040 (4) - 2679 [18:37:31]1012 (4) - 20.10.2024 12:36 [18:37:31]1206 (1) - 0 [18:37:31]OFD Sender: Remove packet 2679 [18:37:31]ProducePacketName [18:37:31]name=ofd_packets/00002679 [18:37:31]NVStorageDeleteData [18:37:31]Write to MH i2c: 01 00 00 D8 6D 45 [18:37:31]Write i2c OK [18:37:31]MH_I2C_Read... [18:37:31]Read from MH i2c: 01 [18:37:31]MH_I2C_Read... [18:37:31]Read from MH i2c: 01 07 00 [18:37:31]MH_I2C_Read... [18:37:31]Read from MH i2c: 01 07 00 D8 6D 00 00 00 00 00 EF 0B 46 [18:37:31]RasterBufferAndPrint [18:37:31]line [18:37:31]line [18:37:31]line [18:37:31]line [18:37:31]line [18:37:31]written 0, free lines is 3063 [18:37:31]MH_Cut [18:37:31]Write to MH i2c: D1 01 00 DF 6D 01 1E [18:37:31]Write i2c OK [18:37:31]MH_I2C_Read... [18:37:31]Read from MH i2c: D1 [18:37:31]MH_I2C_Read... [18:37:31]Read from MH i2c: D1 01 00 [18:37:31]MH_I2C_Read... [18:37:31]Read from MH i2c: D1 01 00 DF 6D 00 1D [18:37:31]Write to MH i2c: 01 00 00 E0 6D 4D [18:37:31]Write i2c OK [18:37:31]MH_I2C_Read... [18:37:31]OFD Sender: No OFD packet to send [18:37:32]*** Cut start [18:37:32]*** Partial cut [18:37:32]*** CUTSNS_PIN = 1 [18:37:32]*** CUTSNS_PIN = 0 [18:37:32]*** Brake cut motor [18:37:32]Read from MH i2c: 01 [18:37:32]MH_I2C_Read... [18:37:32]*** Stop cut motor [18:37:32]*** Cut end [18:37:32]Read from MH i2c: 01 07 00 [18:37:32]MH_I2C_Read... [18:37:32]Read from MH i2c: 01 07 00 E0 6D 00 00 00 00 00 FF 0F 62 [18:37:32]process_action close_receipt done [18:37:32]requested_data is exist [18:37:32]produce_requested_data [18:37:32]requested_item fm.sn is exist - process it [18:37:32]wFMCommunicate request_size=4 [18:37:32]MH_SAM_APDU [18:37:32]CAPDU: 80 11 00 00 [18:37:32]Write to MH i2c: E2 08 00 E1 6D 80 11 00 00 00 00 00 00 C8 [18:37:32]Write i2c OK [18:37:32]MH_I2C_Read... [18:37:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:37:32]Read from MH i2c: E2 [18:37:32]MH_I2C_Read... [18:37:32]Read from MH i2c: E2 17 00 [18:37:32]MH_I2C_Read... [18:37:32]Read from MH i2c: E2 17 00 E1 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 10 [18:37:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:37:32]wFMCommunicate OK [18:37:32]requested_item fd.num is exist - process it [18:37:32]SAM_PROTO_GetFieldsCounters [18:37:32]wFMCommunicate request_size=4 [18:37:32]MH_SAM_APDU [18:37:32]CAPDU: 80 13 00 00 [18:37:32]Write to MH i2c: E2 08 00 E2 6D 80 13 00 00 00 00 00 00 CB [18:37:32]Write i2c OK [18:37:32]MH_I2C_Read... [18:37:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:37:33]Read from MH i2c: E2 [18:37:33]MH_I2C_Read... [18:37:33]Read from MH i2c: E2 62 00 [18:37:33]MH_I2C_Read... [18:37:33]Read from MH i2c: E2 62 00 E2 6D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 77 0A 00 00 0E 04 04 00 18 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 2E [18:37:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 77 0A 00 00 0E 04 04 00 18 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 [18:37:33]wFMCommunicate OK [18:37:33]SAM_PROTO_GetFieldsCounters done [18:37:33]requested_item shift.num is exist - process it [18:37:33]requested_item shift.opened is exist - process it [18:37:33]req_shift_opened [18:37:33]FM_GetShiftState [18:37:33]SAM_PROTO_GetShiftState [18:37:33]wFMCommunicate request_size=4 [18:37:33]MH_SAM_APDU [18:37:33]CAPDU: 80 13 01 00 [18:37:33]Write to MH i2c: E2 08 00 E3 6D 80 13 01 00 00 00 00 00 CD [18:37:33]Write i2c OK [18:37:33]MH_I2C_Read... [18:37:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:37:33]Read from MH i2c: E2 [18:37:33]MH_I2C_Read... [18:37:33]Read from MH i2c: E2 0E 00 [18:37:33]MH_I2C_Read... [18:37:33]Read from MH i2c: E2 0E 00 E3 6D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 B7 [18:37:33]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:37:33]wFMCommunicate OK [18:37:33]SAM_PROTO_GetShiftState done [18:37:33]FM_GetShiftState done [18:37:33]req_shift_opened done [18:37:33]requested_item shift.open_date is exist - process it [18:37:33]req_shift_open_date [18:37:33]req_shift_open_date done [18:37:33]produce_requested_data done [18:37:33]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2679,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [18:37:33]process_action_free close_receipt [18:37:33]json_value_free [18:37:33]json_value_free done [18:37:33]process_json_proto returns [18:37:33]Send response to host [18:37:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2679,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [18:37:33]free response buf [18:37:33]execute_script done [18:37:33]execute_script returns [18:37:33]free content buf [18:37:33]Sock 9.Close socket [18:37:33]Sock 9.Thread stoped [18:37:36]OFD Sender: No OFD packet to send [18:37:41]OFD Sender: No OFD packet to send [18:37:46]OFD Sender: No OFD packet to send [18:37:51]OFD Sender: No OFD packet to send [18:37:56]OFD Sender: No OFD packet to send [18:38:01]OFD Sender: No OFD packet to send [18:38:06]OFD Sender: No OFD packet to send [18:38:11]OFD Sender: No OFD packet to send [18:38:16]OFD Sender: No OFD packet to send [18:38:21]OFD Sender: No OFD packet to send [18:38:26]OFD Sender: No OFD packet to send [18:38:31]OFD Sender: No OFD packet to send [18:38:36]OFD Sender: No OFD packet to send [18:38:41]OFD Sender: No OFD packet to send [18:38:46]OFD Sender: No OFD packet to send [18:38:51]OFD Sender: No OFD packet to send [18:38:56]OFD Sender: No OFD packet to send [18:39:01]OFD Sender: No OFD packet to send [18:39:06]OFD Sender: No OFD packet to send [18:39:11]OFD Sender: No OFD packet to send [18:39:16]OFD Sender: No OFD packet to send [18:39:21]OFD Sender: No OFD packet to send [18:39:26]OFD Sender: No OFD packet to send [18:39:31]OFD Sender: No OFD packet to send [18:39:36]OFD Sender: No OFD packet to send [18:39:41]OFD Sender: No OFD packet to send [18:39:46]OFD Sender: No OFD packet to send [18:39:51]OFD Sender: No OFD packet to send [18:39:56]OFD Sender: No OFD packet to send [18:40:01]OFD Sender: No OFD packet to send [18:40:06]OFD Sender: No OFD packet to send [18:40:11]OFD Sender: No OFD packet to send [18:40:16]OFD Sender: No OFD packet to send [18:40:21]OFD Sender: No OFD packet to send [18:40:26]OFD Sender: No OFD packet to send [18:40:31]OFD Sender: No OFD packet to send [18:40:36]OFD Sender: No OFD packet to send [18:40:41]OFD Sender: No OFD packet to send [18:40:46]OFD Sender: No OFD packet to send [18:40:51]OFD Sender: No OFD packet to send [18:40:56]OFD Sender: No OFD packet to send [18:41:01]OFD Sender: No OFD packet to send [18:41:06]OFD Sender: No OFD packet to send [18:41:11]OFD Sender: No OFD packet to send [18:41:16]OFD Sender: No OFD packet to send [18:41:21]OFD Sender: No OFD packet to send [18:41:26]OFD Sender: No OFD packet to send [18:41:31]OFD Sender: No OFD packet to send [18:41:36]OFD Sender: No OFD packet to send [18:41:41]OFD Sender: No OFD packet to send [18:41:46]OFD Sender: No OFD packet to send [18:41:51]OFD Sender: No OFD packet to send [18:41:56]OFD Sender: No OFD packet to send [18:42:01]OFD Sender: No OFD packet to send [18:42:06]OFD Sender: No OFD packet to send [18:42:11]OFD Sender: No OFD packet to send [18:42:16]OFD Sender: No OFD packet to send [18:42:21]OFD Sender: No OFD packet to send [18:42:26]OFD Sender: No OFD packet to send [18:42:31]OFD Sender: No OFD packet to send [18:42:36]OFD Sender: No OFD packet to send [18:42:41]OFD Sender: No OFD packet to send [18:42:46]OFD Sender: No OFD packet to send [18:42:51]OFD Sender: No OFD packet to send [18:42:56]OFD Sender: No OFD packet to send [18:43:01]OFD Sender: No OFD packet to send [18:43:06]OFD Sender: No OFD packet to send [18:43:11]OFD Sender: No OFD packet to send [18:43:16]OFD Sender: No OFD packet to send [18:43:21]OFD Sender: No OFD packet to send [18:43:26]OFD Sender: No OFD packet to send [18:43:31]OFD Sender: No OFD packet to send [18:43:36]OFD Sender: No OFD packet to send [18:43:41]OFD Sender: No OFD packet to send [18:43:46]OFD Sender: No OFD packet to send [18:43:51]OFD Sender: No OFD packet to send [18:43:56]accept exits with 7 [18:43:56]New connection [18:43:56]New thread 3066850660 created [18:43:56]Thread 3066707300 joined [18:43:56]Waiting for new connection... [18:43:56] Sock 7.Parse request [18:43:56]Sock 7.Check first char [18:43:56]Sock 7.First char is OK [18:43:56]request: POST /json_proto HTTP/1.0 [18:43:56]Method: POST [18:43:56]URL: /json_proto [18:43:56]Method is POST - this is cgi request [18:43:56]url: /json_proto [18:43:56]query_string will be loaded in cgi processing [18:43:56]execute_cgi json_proto POST (null) [18:43:56]execute_cgi path=json_proto method=POST [18:43:56]POST find Content-Length [18:43:56]Host: 172.17.52.132:8080 [18:43:56]Content-Length: 847 [18:43:56]Content-Type: application/json [18:43:56] [18:43:56]POST finish read [18:43:56]Found Content-Length = 847 [18:43:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100057", "tax_sys" : 0, "items" : [ { "code": "4660013331421", "name": "\u042D\u0441\u043A\u0438\u043C\u043E \u041B\u0435\u043D\u0438\u043D\u0433\u0440\u0430\u0434\u0441\u043A\u043E\u0435", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:56]execute_script... [18:43: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)100057", "tax_sys" : 0, "items" : [ { "code": "4660013331421", "name": "\u042D\u0441\u043A\u0438\u043C\u043E \u041B\u0435\u043D\u0438\u043D\u0433\u0440\u0430\u0434\u0441\u043A\u043E\u0435", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:56]POST & json_proto [18:43:56]process_json_proto [18:43:56]json parsed OK: [18:43:56]protocol is kg_v1.0 [18:43:56]action value=close_receipt [18:43:56]process_action close_receipt [18:43:56]cmd_close_receipt [18:43:56]MH_GetDate [18:43:56]Write to MH i2c: F0 00 00 E4 6D 40 [18:43:56]Write i2c OK [18:43:56]MH_I2C_Read... [18:43:56]Read from MH i2c: F0 [18:43:56]MH_I2C_Read... [18:43:56]Read from MH i2c: F0 09 00 [18:43:56]MH_I2C_Read... [18:43:56]Read from MH i2c: F0 09 00 E4 6D 00 7C 4F 15 67 5A BE F6 66 04 [18:43:56]GetLastDocTimeStamp 1729449464 [18:43:56]current date 1729449852 [18:43:56]FM_GetShiftState [18:43:56]SAM_PROTO_GetShiftState [18:43:56]wFMCommunicate request_size=4 [18:43:56]MH_SAM_APDU [18:43:56]CAPDU: 80 13 01 00 [18:43:56]Write to MH i2c: E2 08 00 E5 6D 80 13 01 00 00 00 00 00 CF [18:43:56]Write i2c OK [18:43:56]MH_I2C_Read... [18:43:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:56]Read from MH i2c: E2 [18:43:56]MH_I2C_Read... [18:43:56]Read from MH i2c: E2 0E 00 [18:43:56]MH_I2C_Read... [18:43:56]Read from MH i2c: E2 0E 00 E5 6D 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 B9 [18:43:56]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:43:56]wFMCommunicate OK [18:43:56]SAM_PROTO_GetShiftState done [18:43:56]FM_GetShiftState done [18:43:56]opened in 1729382427 [18:43:56]opened+sec_in_day 1729468827 [18:43:56]quantity*price = 9500 [18:43:56]sum+1 = 9501 [18:43:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 61 20.10.2024 18:44 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2680 ФПД: 89020246485173 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T184413&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2680&fm=89020246485173&tin=02508201610067®Number=0000000000207295&sum=9500 0 [18:43:57]StoreToDocumentArchive [18:43:57]shift 24 fd 2680 [18:43:57]save to /storage/0024/doc_00002680 [18:43:57]save last doc name /storage/0024/doc_00002680 to /storage/kkm_last_doc_name [18:43:57]save OK [18:43:57]Clear old archive folders... [18:43:57]ProcessDocumentItem done err = 0, tmpTLVsize=281 [18:43:57]tlvbuf is 013FA8C0 [18:43:57]SAM_PROTO_ClearQueue [18:43:57]wFMCommunicate request_size=4 [18:43:57]MH_SAM_APDU [18:43:57]CAPDU: 80 09 00 00 [18:43:57]Write to MH i2c: E2 08 00 F2 6D 80 09 00 00 00 00 00 00 D1 [18:43:57]Write i2c OK [18:43:57]MH_I2C_Read... [18:43:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:43:57]Read from MH i2c: E2 [18:43:57]MH_I2C_Read... [18:43:57]Read from MH i2c: E2 03 00 [18:43:57]MH_I2C_Read... [18:43:57]Read from MH i2c: E2 03 00 F2 6D 00 90 00 D3 [18:43:57]RAPDU: 90 00 [18:43:57]wFMCommunicate OK [18:43:57]SAM_PROTO_ClearQueue done [18:43:57]KKMCreateOFDPacket [18:43:57]OFDProtocolAddRootSTLVToBuf [18:43:57]FM_MakeSignedData [18:43:57]FM_MakeSignedData [18:43:57]SAM_PROTO_SignData [18:43:57]wFMCommunicate request_size=4 [18:43:57]MH_SAM_APDU [18:43:57]CAPDU: 80 0D 01 02 [18:43:57]Write to MH i2c: E2 08 00 F3 6D 80 0D 01 02 00 00 00 00 D9 [18:43:57]Write i2c OK [18:43:57]MH_I2C_Read... [18:43:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:43:58]Read from MH i2c: E2 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 03 00 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 03 00 F3 6D 00 90 00 D4 [18:43:58]RAPDU: 90 00 [18:43:58]wFMCommunicate OK [18:43:58]wFMCommunicate request_size=255 [18:43:58]MH_SAM_APDU [18:43:58]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 32 31 06 04 27 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B3 D1 80 D0 B0 D0 B4 D1 81 D0 BA D0 BE D0 B5 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7D 4F 15 67 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 32 30 37 32 39 35 11 04 10 [18:43:58]Write to MH i2c: E2 02 01 F4 6D 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 32 31 06 04 27 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B3 D1 80 D0 B0 D0 B4 D1 81 D0 BA D0 BE D0 B5 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7D 4F 15 67 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 32 30 37 32 39 35 11 04 10 00 00 33 [18:43:58]Write i2c OK [18:43:58]MH_I2C_Read... [18:43:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:58]Read from MH i2c: E2 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 03 00 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 03 00 F4 6D 00 90 00 D5 [18:43:58]RAPDU: 90 00 [18:43:58]wFMCommunicate OK [18:43:58]wFMCommunicate request_size=40 [18:43:58]MH_SAM_APDU [18:43:58]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 78 0A 00 00 35 04 06 00 50 F6 A4 2B 68 B5 [18:43:58]Write to MH i2c: E2 2B 00 F5 6D 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 78 0A 00 00 35 04 06 00 50 F6 A4 2B 68 B5 00 00 42 [18:43:58]Write i2c OK [18:43:58]MH_I2C_Read... [18:43:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:58]Read from MH i2c: E2 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 03 00 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 03 00 F5 6D 00 90 00 D6 [18:43:58]RAPDU: 90 00 [18:43:58]wFMCommunicate OK [18:43:58]wFMCommunicate request_size=4 [18:43:58]MH_SAM_APDU [18:43:58]CAPDU: 80 0D 03 02 [18:43:58]Write to MH i2c: E2 08 00 F6 6D 80 0D 03 02 00 00 00 00 DE [18:43:58]Write i2c OK [18:43:58]MH_I2C_Read... [18:43:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:43:58]Read from MH i2c: E2 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 0B 00 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 0B 00 F6 6D 00 94 E3 F5 97 1F 13 B2 E9 90 00 AF [18:43:58]RAPDU: 94 E3 F5 97 1F 13 B2 E9 90 00 [18:43:58]wFMCommunicate OK [18:43:58]SAM_PROTO_SignData done [18:43:58]FM_MakeSignedData done [18:43:58]CreateOFDProtocolMessage [18:43:58]wFMCommunicate request_size=4 [18:43:58]MH_SAM_APDU [18:43:58]CAPDU: 80 11 00 00 [18:43:58]Write to MH i2c: E2 08 00 F7 6D 80 11 00 00 00 00 00 00 DE [18:43:58]Write i2c OK [18:43:58]MH_I2C_Read... [18:43:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:58]Read from MH i2c: E2 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 17 00 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: E2 17 00 F7 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 26 [18:43:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:43:58]wFMCommunicate OK [18:43:58]CreateOFDProtocolMessage done [18:43:58]OFDSenderStorePacket 2680 [18:43:58]StoreOFDPacket docnum=2680 [18:43:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2D 01 00 00 A2 4D 25 01 43 13 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 32 31 06 04 27 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B3 D1 80 D0 B0 D0 B4 D1 81 D0 BA D0 BE D0 B5 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7D 4F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 78 0A 00 00 35 04 06 00 50 F6 A4 2B 68 B5 94 E3 F5 97 1F 13 B2 E9 [18:43:58]CheckFolder [18:43:58]dirname=/storage/ofd_packets [18:43:58]CheckFolder done [18:43:58]ProducePacketName [18:43:58]name=ofd_packets/00002680 [18:43:58]NVStorageSaveData ofd_packets/00002680 [18:43:58]File name is /storage/ofd_packets/00002680 [18:43:58]Write 331 bytes [18:43:58]NVStorageSaveData done [18:43:58]OFDSenderStorePacket done [18:43:58]KKMCreateOFDPacket done [18:43:58]NVStorageSaveData kkm_last_timestamp [18:43:58]File name is /storage/kkm_last_timestamp [18:43:58]Write 4 bytes [18:43:58]NVStorageSaveData done [18:43:58]ExternCall_PrintAddStr [18:43:58]wPrintStart [18:43:58]Write to MH i2c: 01 00 00 F8 6D 65 [18:43:58]Write i2c OK [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: 01 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: 01 07 00 [18:43:58]MH_I2C_Read... [18:43:58]Read from MH i2c: 01 07 00 F8 6D 00 00 00 00 00 FF 0F 7A [18:43:58]RasterBufferAndPrint [18:43:58]line Счет N : (3)100057 [18:43:58]line ИНН: 02508201610067 [18:43:58]line Контрольно-Кассовый Чек [18:43:58]line ПРОДАЖА [18:43:58]line Товар: 4660013331421 [18:43:58]line Эскимо Ленинградское [18:43:58]line 1.000 * 95.00 [18:43:58]line = 95.00 [18:43:58]line НДС 12% НСП 1% [18:43:58]line > о реализуемом товаре [18:43:58]line ИТОГО: 95.00 [18:43:58]line НСП 1% : 0.84 [18:43:58]line НДС 12% : 10.09 [18:43:58]line Наличными: 0.00 [18:43:58]line Безнал.: 95.00 [18:43:58]line Место: АЗС № 162 "Партнер Нефть" [18:43:58]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:43:58]line СНО: Общий режим [18:43:58]line Чек 61 20.10.2024 18:44 [18:43:58]line Смена: 24 ФФД: 1.0 [18:43:58]line ЗНМ: 0300000191 [18:43:58]line РНМ: 0000000000207295 [18:43:58]line Версия ККМ: v1.0 [18:43:58]line Платежная система: Бакай Банк [18:43:58]line ФМ: 0000000002342820 [18:43:58]line ФД: 2680 [18:43:58]line ФПД: 89020246485173 [18:43:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T184413&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2680&fm=89020246485173&tin=02508201610067®Number=0000000000207295&sum=9500 [18:43:58]line 0 [18:43:58]OFD Sender: Processing packet 2680 [packets to send 1, broken 0] [18:43:58]ProducePacketName [18:43:58]name=ofd_packets/00002680 [18:43:58]OFD Sender: To server: pG, [18:43:58]CommunicateWithHost lk.salyk.kg:30040 [18:43:58]ConnectInit lk.salyk.kg [18:43:58]written 0, free lines is 4095 [18:43:58]Connected sock=10 [18:43:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2D 01 00 00 A2 4D 25 01 43 13 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 32 31 06 04 27 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B3 D1 80 D0 B0 D0 B4 D1 81 D0 BA D0 BE D0 B5 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7D 4F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 78 0A 00 00 35 04 06 00 50 F6 A4 2B 68 B5 94 E3 F5 97 1F 13 B2 E9 [18:43:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 26 D1 47 00 70 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 78 0A 00 00 F4 03 04 00 D9 FA 14 67 B6 04 01 00 00 C3 A6 D2 81 36 53 5E A5 [18:43:59]CommunicateWithHost err = 0 [18:43:59]CheckOFDResponse [18:43:59]1017 (14) - 77093643461234 [18:43:59]1041 (16) - 0000000002342820 [18:43:59]1040 (4) - 2680 [18:43:59]1012 (4) - 20.10.2024 12:43 [18:43:59]1206 (1) - 0 [18:43:59]OFD Sender: Remove packet 2680 [18:43:59]ProducePacketName [18:43:59]name=ofd_packets/00002680 [18:43:59]NVStorageDeleteData [18:43:59]Write to MH i2c: 01 00 00 22 6E 90 [18:43:59]Write i2c OK [18:43:59]MH_I2C_Read... [18:43:59]Read from MH i2c: 01 [18:43:59]MH_I2C_Read... [18:43:59]Read from MH i2c: 01 07 00 [18:43:59]MH_I2C_Read... [18:43:59]Read from MH i2c: 01 07 00 22 6E 00 00 00 00 00 A3 0C 46 [18:43:59]RasterBufferAndPrint [18:43:59]line [18:43:59]line [18:43:59]line [18:43:59]line [18:43:59]line [18:43:59]written 0, free lines is 3242 [18:43:59]MH_Cut [18:43:59]Write to MH i2c: D1 01 00 29 6E 01 69 [18:43:59]Write i2c OK [18:43:59]MH_I2C_Read... [18:43:59]Read from MH i2c: D1 [18:43:59]MH_I2C_Read... [18:43:59]Read from MH i2c: D1 01 00 [18:43:59]MH_I2C_Read... [18:43:59]Read from MH i2c: D1 01 00 29 6E 00 68 [18:43:59]Write to MH i2c: 01 00 00 2A 6E 98 [18:43:59]Write i2c OK [18:43:59]MH_I2C_Read... [18:43:59]OFD Sender: No OFD packet to send [18:44:00]*** Cut start [18:44:00]*** Partial cut [18:44:00]*** CUTSNS_PIN = 1 [18:44:00]*** CUTSNS_PIN = 0 [18:44:00]*** Brake cut motor [18:44:00]Read from MH i2c: 01 [18:44:00]MH_I2C_Read... [18:44:00]*** Stop cut motor [18:44:00]*** Cut end [18:44:00]Read from MH i2c: 01 07 00 [18:44:00]MH_I2C_Read... [18:44:00]Read from MH i2c: 01 07 00 2A 6E 00 00 00 00 00 FF 0F AD [18:44:00]process_action close_receipt done [18:44:00]requested_data is exist [18:44:00]produce_requested_data [18:44:00]requested_item fm.sn is exist - process it [18:44:00]wFMCommunicate request_size=4 [18:44:00]MH_SAM_APDU [18:44:00]CAPDU: 80 11 00 00 [18:44:00]Write to MH i2c: E2 08 00 2B 6E 80 11 00 00 00 00 00 00 13 [18:44:00]Write i2c OK [18:44:00]MH_I2C_Read... [18:44:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:44:00]Read from MH i2c: E2 [18:44:00]MH_I2C_Read... [18:44:00]Read from MH i2c: E2 17 00 [18:44:00]MH_I2C_Read... [18:44:00]Read from MH i2c: E2 17 00 2B 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 5B [18:44:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:44:00]wFMCommunicate OK [18:44:00]requested_item fd.num is exist - process it [18:44:00]SAM_PROTO_GetFieldsCounters [18:44:00]wFMCommunicate request_size=4 [18:44:00]MH_SAM_APDU [18:44:00]CAPDU: 80 13 00 00 [18:44:00]Write to MH i2c: E2 08 00 2C 6E 80 13 00 00 00 00 00 00 16 [18:44:00]Write i2c OK [18:44:00]MH_I2C_Read... [18:44:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:44:01]Read from MH i2c: E2 [18:44:01]MH_I2C_Read... [18:44:01]Read from MH i2c: E2 62 00 [18:44:01]MH_I2C_Read... [18:44:01]Read from MH i2c: E2 62 00 2C 6E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 78 0A 00 00 0E 04 04 00 18 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 7D [18:44:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 78 0A 00 00 0E 04 04 00 18 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 [18:44:01]wFMCommunicate OK [18:44:01]SAM_PROTO_GetFieldsCounters done [18:44:01]requested_item shift.num is exist - process it [18:44:01]requested_item shift.opened is exist - process it [18:44:01]req_shift_opened [18:44:01]FM_GetShiftState [18:44:01]SAM_PROTO_GetShiftState [18:44:01]wFMCommunicate request_size=4 [18:44:01]MH_SAM_APDU [18:44:01]CAPDU: 80 13 01 00 [18:44:01]Write to MH i2c: E2 08 00 2D 6E 80 13 01 00 00 00 00 00 18 [18:44:01]Write i2c OK [18:44:01]MH_I2C_Read... [18:44:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:44:01]Read from MH i2c: E2 [18:44:01]MH_I2C_Read... [18:44:01]Read from MH i2c: E2 0E 00 [18:44:01]MH_I2C_Read... [18:44:01]Read from MH i2c: E2 0E 00 2D 6E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 02 [18:44:01]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:44:01]wFMCommunicate OK [18:44:01]SAM_PROTO_GetShiftState done [18:44:01]FM_GetShiftState done [18:44:01]req_shift_opened done [18:44:01]requested_item shift.open_date is exist - process it [18:44:01]req_shift_open_date [18:44:01]req_shift_open_date done [18:44:01]produce_requested_data done [18:44:01]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2680,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [18:44:01]process_action_free close_receipt [18:44:01]json_value_free [18:44:01]json_value_free done [18:44:01]process_json_proto returns [18:44:01]Send response to host [18:44:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2680,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [18:44:01]free response buf [18:44:01]execute_script done [18:44:01]execute_script returns [18:44:01]free content buf [18:44:01]Sock 7.Close socket [18:44:01]Sock 7.Thread stoped [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:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:54]accept exits with 9 [18:51:54]New connection [18:51:54]New thread 3066707300 created [18:51:54]Thread 3066850660 joined [18:51:54]Waiting for new connection... [18:51:54] Sock 9.Parse request [18:51:54]Sock 9.Check first char [18:51:54]Sock 9.First char is OK [18:51:54]request: POST /json_proto HTTP/1.0 [18:51:54]Method: POST [18:51:54]URL: /json_proto [18:51:54]Method is POST - this is cgi request [18:51:54]url: /json_proto [18:51:54]query_string will be loaded in cgi processing [18:51:54]execute_cgi json_proto POST (null) [18:51:54]execute_cgi path=json_proto method=POST [18:51:54]POST find Content-Length [18:51:54]Host: 172.17.52.132:8080 [18:51:54]Content-Length: 585 [18:51:54]Content-Type: application/json [18:51:54] [18:51:54]POST finish read [18:51:54]Found Content-Length = 585 [18:51:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100058", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:51:54]execute_script... [18:51:54]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)100058", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:51:54]POST & json_proto [18:51:54]process_json_proto [18:51:54]json parsed OK: [18:51:54]protocol is kg_v1.0 [18:51:54]action value=close_receipt [18:51:54]process_action close_receipt [18:51:54]cmd_close_receipt [18:51:54]MH_GetDate [18:51:54]Write to MH i2c: F0 00 00 2E 6E 8B [18:51:54]Write i2c OK [18:51:54]MH_I2C_Read... [18:51:54]Read from MH i2c: F0 [18:51:54]MH_I2C_Read... [18:51:54]Read from MH i2c: F0 09 00 [18:51:54]MH_I2C_Read... [18:51:54]Read from MH i2c: F0 09 00 2E 6E 00 5A 51 15 67 5A BE F6 66 2F [18:51:54]GetLastDocTimeStamp 1729449853 [18:51:54]current date 1729450330 [18:51:54]FM_GetShiftState [18:51:54]SAM_PROTO_GetShiftState [18:51:54]wFMCommunicate request_size=4 [18:51:54]MH_SAM_APDU [18:51:54]CAPDU: 80 13 01 00 [18:51:54]Write to MH i2c: E2 08 00 2F 6E 80 13 01 00 00 00 00 00 1A [18:51:54]Write i2c OK [18:51:54]MH_I2C_Read... [18:51:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:51:54]Read from MH i2c: E2 [18:51:54]MH_I2C_Read... [18:51:54]Read from MH i2c: E2 0E 00 [18:51:54]MH_I2C_Read... [18:51:54]Read from MH i2c: E2 0E 00 2F 6E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 04 [18:51:54]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:51:54]wFMCommunicate OK [18:51:54]SAM_PROTO_GetShiftState done [18:51:54]FM_GetShiftState done [18:51:54]opened in 1729382427 [18:51:54]opened+sec_in_day 1729468827 [18:51:54]quantity*price = 4500 [18:51:54]sum+1 = 4501 [18:51:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 62 20.10.2024 18:52 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2681 ФПД: 156222142272721 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T185211&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2681&fm=156222142272721&tin=02508201610067®Number=0000000000207295&sum=4500 0 [18:51:55]StoreToDocumentArchive [18:51:55]shift 24 fd 2681 [18:51:55]save to /storage/0024/doc_00002681 [18:51:55]save last doc name /storage/0024/doc_00002681 to /storage/kkm_last_doc_name [18:51:55]save OK [18:51:55]Clear old archive folders... [18:51:55]ProcessDocumentItem done err = 0, tmpTLVsize=260 [18:51:55]tlvbuf is 0135CF70 [18:51:55]SAM_PROTO_ClearQueue [18:51:55]wFMCommunicate request_size=4 [18:51:55]MH_SAM_APDU [18:51:55]CAPDU: 80 09 00 00 [18:51:55]Write to MH i2c: E2 08 00 3C 6E 80 09 00 00 00 00 00 00 1C [18:51:55]Write i2c OK [18:51:55]MH_I2C_Read... [18:51:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:51:55]Read from MH i2c: E2 [18:51:55]MH_I2C_Read... [18:51:55]Read from MH i2c: E2 03 00 [18:51:55]MH_I2C_Read... [18:51:55]Read from MH i2c: E2 03 00 3C 6E 00 90 00 1E [18:51:55]RAPDU: 90 00 [18:51:55]wFMCommunicate OK [18:51:55]SAM_PROTO_ClearQueue done [18:51:55]KKMCreateOFDPacket [18:51:55]OFDProtocolAddRootSTLVToBuf [18:51:55]FM_MakeSignedData [18:51:55]FM_MakeSignedData [18:51:55]SAM_PROTO_SignData [18:51:55]wFMCommunicate request_size=4 [18:51:55]MH_SAM_APDU [18:51:55]CAPDU: 80 0D 01 02 [18:51:55]Write to MH i2c: E2 08 00 3D 6E 80 0D 01 02 00 00 00 00 24 [18:51:55]Write i2c OK [18:51:55]MH_I2C_Read... [18:51:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:51:55]Read from MH i2c: E2 [18:51:55]MH_I2C_Read... [18:51:55]Read from MH i2c: E2 03 00 [18:51:55]MH_I2C_Read... [18:51:55]Read from MH i2c: E2 03 00 3D 6E 00 90 00 1F [18:51:55]RAPDU: 90 00 [18:51:55]wFMCommunicate OK [18:51:55]wFMCommunicate request_size=255 [18:51:55]MH_SAM_APDU [18:51:55]CAPDU: 80 0D 02 02 FA 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 3E 00 00 00 F4 03 04 00 5B 51 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 [18:51:55]Write to MH i2c: E2 02 01 3E 6E 80 0D 02 02 FA 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 3E 00 00 00 F4 03 04 00 5B 51 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 00 00 A3 [18:51:55]Write i2c OK [18:51:55]MH_I2C_Read... [18:51:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:51:56]Read from MH i2c: E2 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: E2 03 00 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: E2 03 00 3E 6E 00 90 00 20 [18:51:56]RAPDU: 90 00 [18:51:56]wFMCommunicate OK [18:51:56]wFMCommunicate request_size=19 [18:51:56]MH_SAM_APDU [18:51:56]CAPDU: 80 0D 02 02 0E 79 0A 00 00 35 04 06 00 8E 15 4D 4B D4 D1 [18:51:56]Write to MH i2c: E2 16 00 3F 6E 80 0D 02 02 0E 00 79 0A 00 00 35 04 06 00 8E 15 4D 4B D4 D1 00 00 E5 [18:51:56]Write i2c OK [18:51:56]MH_I2C_Read... [18:51:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:51:56]Read from MH i2c: E2 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: E2 03 00 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: E2 03 00 3F 6E 00 90 00 21 [18:51:56]RAPDU: 90 00 [18:51:56]wFMCommunicate OK [18:51:56]wFMCommunicate request_size=4 [18:51:56]MH_SAM_APDU [18:51:56]CAPDU: 80 0D 03 02 [18:51:56]Write to MH i2c: E2 08 00 40 6E 80 0D 03 02 00 00 00 00 29 [18:51:56]Write i2c OK [18:51:56]MH_I2C_Read... [18:51:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:51:56]Read from MH i2c: E2 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: E2 0B 00 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: E2 0B 00 40 6E 00 41 98 D7 95 78 56 06 99 90 00 DC [18:51:56]RAPDU: 41 98 D7 95 78 56 06 99 90 00 [18:51:56]wFMCommunicate OK [18:51:56]SAM_PROTO_SignData done [18:51:56]FM_MakeSignedData done [18:51:56]CreateOFDProtocolMessage [18:51:56]wFMCommunicate request_size=4 [18:51:56]MH_SAM_APDU [18:51:56]CAPDU: 80 11 00 00 [18:51:56]Write to MH i2c: E2 08 00 41 6E 80 11 00 00 00 00 00 00 29 [18:51:56]Write i2c OK [18:51:56]MH_I2C_Read... [18:51:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:51:56]Read from MH i2c: E2 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: E2 17 00 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: E2 17 00 41 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 71 [18:51:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:51:56]wFMCommunicate OK [18:51:56]CreateOFDProtocolMessage done [18:51:56]OFDSenderStorePacket 2681 [18:51:56]StoreOFDPacket docnum=2681 [18:51:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 18 01 00 00 1E 57 10 01 A0 8D 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 3E 00 00 00 F4 03 04 00 5B 51 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 79 0A 00 00 35 04 06 00 8E 15 4D 4B D4 D1 41 98 D7 95 78 56 06 99 [18:51:56]CheckFolder [18:51:56]dirname=/storage/ofd_packets [18:51:56]CheckFolder done [18:51:56]ProducePacketName [18:51:56]name=ofd_packets/00002681 [18:51:56]NVStorageSaveData ofd_packets/00002681 [18:51:56]File name is /storage/ofd_packets/00002681 [18:51:56]Write 310 bytes [18:51:56]NVStorageSaveData done [18:51:56]OFDSenderStorePacket done [18:51:56]KKMCreateOFDPacket done [18:51:56]NVStorageSaveData kkm_last_timestamp [18:51:56]File name is /storage/kkm_last_timestamp [18:51:56]Write 4 bytes [18:51:56]NVStorageSaveData done [18:51:56]ExternCall_PrintAddStr [18:51:56]wPrintStart [18:51:56]Write to MH i2c: 01 00 00 42 6E B0 [18:51:56]Write i2c OK [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: 01 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: 01 07 00 [18:51:56]MH_I2C_Read... [18:51:56]Read from MH i2c: 01 07 00 42 6E 00 00 00 00 00 FF 0F C5 [18:51:56]RasterBufferAndPrint [18:51:56]line Счет N : (3)100058 [18:51:56]line ИНН: 02508201610067 [18:51:56]line Контрольно-Кассовый Чек [18:51:56]line ПРОДАЖА [18:51:56]line Товар: 50173808 [18:51:56]line Жев Orbit Sweet Mint [18:51:56]line 1.000 * 45.00 [18:51:56]line = 45.00 [18:51:56]line НДС 12% НСП 1% [18:51:56]line > о реализуемом товаре [18:51:56]line ИТОГО: 45.00 [18:51:56]line НСП 1% : 0.40 [18:51:56]line НДС 12% : 4.78 [18:51:56]line Наличными: 45.00 [18:51:56]line Безнал.: 0.00 [18:51:56]line Место: АЗС № 162 "Партнер Нефть" [18:51:56]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:51:56]line СНО: Общий режим [18:51:56]line Чек 62 20.10.2024 18:52 [18:51:56]line Смена: 24 ФФД: 1.0 [18:51:56]line ЗНМ: 0300000191 [18:51:56]line РНМ: 0000000000207295 [18:51:56]line Версия ККМ: v1.0 [18:51:56]line ФМ: 0000000002342820 [18:51:56]line ФД: 2681 [18:51:56]line ФПД: 156222142272721 [18:51:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T185211&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2681&fm=156222142272721&tin=02508201610067®Number=0000000000207295&sum=4500 [18:51:56]OFD Sender: Processing packet 2681 [packets to send 1, broken 0] [18:51:56]ProducePacketName [18:51:56]name=ofd_packets/00002681 [18:51:56]OFD Sender: To server: pG, [18:51:56]CommunicateWithHost lk.salyk.kg:30040 [18:51:56]ConnectInit lk.salyk.kg [18:51:56]line 0 [18:51:56]written 0, free lines is 4095 [18:51:56]Connected sock=10 [18:51:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 18 01 00 00 1E 57 10 01 A0 8D 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 3E 00 00 00 F4 03 04 00 5B 51 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 79 0A 00 00 35 04 06 00 8E 15 4D 4B D4 D1 41 98 D7 95 78 56 06 99 [18:51:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 0D 69 47 00 7B 4E 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 33 34 32 38 32 30 10 04 04 00 79 0A 00 00 F4 03 04 00 B7 FC 14 67 B6 04 01 00 00 89 A3 97 7B 6B 76 FC EA [18:51:57]CommunicateWithHost err = 0 [18:51:57]CheckOFDResponse [18:51:57]1017 (14) - 77093643461234 [18:51:57]1041 (16) - 0000000002342820 [18:51:57]1040 (4) - 2681 [18:51:57]1012 (4) - 20.10.2024 12:51 [18:51:57]1206 (1) - 0 [18:51:57]OFD Sender: Remove packet 2681 [18:51:57]ProducePacketName [18:51:57]name=ofd_packets/00002681 [18:51:57]NVStorageDeleteData [18:51:57]Write to MH i2c: 01 00 00 6A 6E D8 [18:51:57]Write i2c OK [18:51:57]MH_I2C_Read... [18:51:57]Read from MH i2c: 01 [18:51:57]MH_I2C_Read... [18:51:57]Read from MH i2c: 01 07 00 [18:51:57]MH_I2C_Read... [18:51:57]Read from MH i2c: 01 07 00 6A 6E 00 00 00 00 00 D2 0C BD [18:51:57]RasterBufferAndPrint [18:51:57]line [18:51:57]line [18:51:57]line [18:51:57]line [18:51:57]line [18:51:57]written 0, free lines is 3288 [18:51:57]MH_Cut [18:51:57]Write to MH i2c: D1 01 00 71 6E 01 B1 [18:51:57]Write i2c OK [18:51:57]MH_I2C_Read... [18:51:57]Read from MH i2c: D1 [18:51:57]MH_I2C_Read... [18:51:57]Read from MH i2c: D1 01 00 [18:51:57]MH_I2C_Read... [18:51:57]Read from MH i2c: D1 01 00 71 6E 00 B0 [18:51:57]Write to MH i2c: 01 00 00 72 6E E0 [18:51:57]Write i2c OK [18:51:57]MH_I2C_Read... [18:51:57]OFD Sender: No OFD packet to send [18:51:58]*** Cut start [18:51:58]*** Partial cut [18:51:58]*** CUTSNS_PIN = 1 [18:51:58]*** CUTSNS_PIN = 0 [18:51:58]*** Brake cut motor [18:51:58]Read from MH i2c: 01 [18:51:58]MH_I2C_Read... [18:51:58]*** Stop cut motor [18:51:58]*** Cut end [18:51:58]Read from MH i2c: 01 07 00 [18:51:58]MH_I2C_Read... [18:51:58]Read from MH i2c: 01 07 00 72 6E 00 00 00 00 00 FF 0F F5 [18:51:58]process_action close_receipt done [18:51:58]requested_data is exist [18:51:58]produce_requested_data [18:51:58]requested_item fm.sn is exist - process it [18:51:58]wFMCommunicate request_size=4 [18:51:58]MH_SAM_APDU [18:51:58]CAPDU: 80 11 00 00 [18:51:58]Write to MH i2c: E2 08 00 73 6E 80 11 00 00 00 00 00 00 5B [18:51:58]Write i2c OK [18:51:58]MH_I2C_Read... [18:51:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:51:58]Read from MH i2c: E2 [18:51:58]MH_I2C_Read... [18:51:58]Read from MH i2c: E2 17 00 [18:51:58]MH_I2C_Read... [18:51:58]Read from MH i2c: E2 17 00 73 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A3 [18:51:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:51:58]wFMCommunicate OK [18:51:58]requested_item fd.num is exist - process it [18:51:58]SAM_PROTO_GetFieldsCounters [18:51:58]wFMCommunicate request_size=4 [18:51:58]MH_SAM_APDU [18:51:58]CAPDU: 80 13 00 00 [18:51:58]Write to MH i2c: E2 08 00 74 6E 80 13 00 00 00 00 00 00 5E [18:51:58]Write i2c OK [18:51:58]MH_I2C_Read... [18:51:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:51:58]Read from MH i2c: E2 [18:51:58]MH_I2C_Read... [18:51:58]Read from MH i2c: E2 62 00 [18:51:58]MH_I2C_Read... [18:51:58]Read from MH i2c: E2 62 00 74 6E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 79 0A 00 00 0E 04 04 00 18 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 C9 [18:51:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 79 0A 00 00 0E 04 04 00 18 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 [18:51:58]wFMCommunicate OK [18:51:58]SAM_PROTO_GetFieldsCounters done [18:51:58]requested_item shift.num is exist - process it [18:51:58]requested_item shift.opened is exist - process it [18:51:58]req_shift_opened [18:51:58]FM_GetShiftState [18:51:58]SAM_PROTO_GetShiftState [18:51:58]wFMCommunicate request_size=4 [18:51:58]MH_SAM_APDU [18:51:58]CAPDU: 80 13 01 00 [18:51:58]Write to MH i2c: E2 08 00 75 6E 80 13 01 00 00 00 00 00 60 [18:51:58]Write i2c OK [18:51:58]MH_I2C_Read... [18:51:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:51:58]Read from MH i2c: E2 [18:51:58]MH_I2C_Read... [18:51:58]Read from MH i2c: E2 0E 00 [18:51:58]MH_I2C_Read... [18:51:58]Read from MH i2c: E2 0E 00 75 6E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 4A [18:51:58]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:51:58]wFMCommunicate OK [18:51:58]SAM_PROTO_GetShiftState done [18:51:58]FM_GetShiftState done [18:51:58]req_shift_opened done [18:51:58]requested_item shift.open_date is exist - process it [18:51:58]req_shift_open_date [18:51:58]req_shift_open_date done [18:51:58]produce_requested_data done [18:51:58]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2681,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [18:51:58]process_action_free close_receipt [18:51:58]json_value_free [18:51:58]json_value_free done [18:51:58]process_json_proto returns [18:51:58]Send response to host [18:51:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2681,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [18:51:58]free response buf [18:51:58]execute_script done [18:51:58]execute_script returns [18:51:58]free content buf [18:51:58]Sock 9.Close socket [18:51:58]Sock 9.Thread stoped [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:52]OFD Sender: No OFD packet to send [18:58:57]OFD Sender: No OFD packet to send [18:59:02]OFD Sender: No OFD packet to send [18:59:07]OFD Sender: No OFD packet to send [18:59:12]OFD Sender: No OFD packet to send [18:59:17]OFD Sender: No OFD packet to send [18:59:22]OFD Sender: No OFD packet to send [18:59:27]OFD Sender: No OFD packet to send [18:59:32]OFD Sender: No OFD packet to send [18:59:37]OFD Sender: No OFD packet to send [18:59:42]OFD Sender: No OFD packet to send [18:59:47]OFD Sender: No OFD packet to send [18:59:52]OFD Sender: No OFD packet to send [18:59:54]accept exits with 7 [18:59:54]New connection [18:59:54]New thread 3066850660 created [18:59:54]Thread 3066707300 joined [18:59:54]Waiting for new connection... [18:59:54] Sock 7.Parse request [18:59:54]Sock 7.Check first char [18:59:54]Sock 7.First char is OK [18:59:54]request: POST /json_proto HTTP/1.0 [18:59:54]Method: POST [18:59:54]URL: /json_proto [18:59:54]Method is POST - this is cgi request [18:59:54]url: /json_proto [18:59:54]query_string will be loaded in cgi processing [18:59:54]execute_cgi json_proto POST (null) [18:59:54]execute_cgi path=json_proto method=POST [18:59:54]POST find Content-Length [18:59:54]Host: 172.17.52.132:8080 [18:59:54]Content-Length: 1666 [18:59:54]Content-Type: application/json [18:59:54] [18:59:54]POST finish read [18:59:54]Found Content-Length = 1666 [18:59:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100059", "tax_sys" : 0, "items" : [ { "code": "4603290004848", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u0441\u043B.\u0432\u043A", "price" : 86.00, "quantity" : 1.000, "sum" : 86.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077633058", "name": "\u0412\u0430\u0444 \u0442\u0440\u0443\u0431 Konafetto \u043E\u0440\u0435\u0445 140 \u0433\u0440", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 576.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:59:54]execute_script... [18:59:54]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)100059", "tax_sys" : 0, "items" : [ { "code": "4603290004848", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u0441\u043B.\u0432\u043A", "price" : 86.00, "quantity" : 1.000, "sum" : 86.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077633058", "name": "\u0412\u0430\u0444 \u0442\u0440\u0443\u0431 Konafetto \u043E\u0440\u0435\u0445 140 \u0433\u0440", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 576.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:59:54]POST & json_proto [18:59:54]process_json_proto [18:59:54]json parsed OK: [18:59:54]protocol is kg_v1.0 [18:59:55]action value=close_receipt [18:59:55]process_action close_receipt [18:59:55]cmd_close_receipt [18:59:55]MH_GetDate [18:59:55]Write to MH i2c: F0 00 00 76 6E D3 [18:59:55]Write i2c OK [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: F0 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: F0 09 00 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: F0 09 00 76 6E 00 3B 53 15 67 5A BE F6 66 5A [18:59:55]GetLastDocTimeStamp 1729450331 [18:59:55]current date 1729450811 [18:59:55]FM_GetShiftState [18:59:55]SAM_PROTO_GetShiftState [18:59:55]wFMCommunicate request_size=4 [18:59:55]MH_SAM_APDU [18:59:55]CAPDU: 80 13 01 00 [18:59:55]Write to MH i2c: E2 08 00 77 6E 80 13 01 00 00 00 00 00 62 [18:59:55]Write i2c OK [18:59:55]MH_I2C_Read... [18:59:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:59:55]Read from MH i2c: E2 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: E2 0E 00 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: E2 0E 00 77 6E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 4C [18:59:55]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [18:59:55]wFMCommunicate OK [18:59:55]SAM_PROTO_GetShiftState done [18:59:55]FM_GetShiftState done [18:59:55]opened in 1729382427 [18:59:55]opened+sec_in_day 1729468827 [18:59:55]quantity*price = 8600 [18:59:55]sum+1 = 8601 [18:59:55]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 2.000 * 95.00 = 190.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000176448 Сок Piko Pulpy апельсин ПЭТ 1л 1.000 * 170.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4823077633058 Ваф труб Konafetto орех 140 гр 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 576.00 НСП 1% : 5.09 НДС 12% : 61.16 Наличными: 0.00 Безнал.: 576.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 63 20.10.2024 19:00 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2682 ФПД: 122105678804524 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190011&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2682&fm=122105678804524&tin=02508201610067®Number=0000000000207295&sum=57600 0 [18:59:56]StoreToDocumentArchive [18:59:56]shift 24 fd 2682 [18:59:56]save to /storage/0024/doc_00002682 [18:59:56]save last doc name /storage/0024/doc_00002682 to /storage/kkm_last_doc_name [18:59:56]save OK [18:59:56]Clear old archive folders... [18:59:56]ProcessDocumentItem done err = 0, tmpTLVsize=642 [18:59:56]tlvbuf is 0133DB30 [18:59:56]SAM_PROTO_ClearQueue [18:59:56]wFMCommunicate request_size=4 [18:59:56]MH_SAM_APDU [18:59:56]CAPDU: 80 09 00 00 [18:59:56]Write to MH i2c: E2 08 00 84 6E 80 09 00 00 00 00 00 00 64 [18:59:56]Write i2c OK [18:59:56]MH_I2C_Read... [18:59:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:59:56]Read from MH i2c: E2 [18:59:56]MH_I2C_Read... [18:59:56]Read from MH i2c: E2 03 00 [18:59:56]MH_I2C_Read... [18:59:56]Read from MH i2c: E2 03 00 84 6E 00 90 00 66 [18:59:56]RAPDU: 90 00 [18:59:56]wFMCommunicate OK [18:59:56]SAM_PROTO_ClearQueue done [18:59:56]KKMCreateOFDPacket [18:59:56]OFDProtocolAddRootSTLVToBuf [18:59:56]FM_MakeSignedData [18:59:56]FM_MakeSignedData [18:59:56]SAM_PROTO_SignData [18:59:56]wFMCommunicate request_size=4 [18:59:56]MH_SAM_APDU [18:59:56]CAPDU: 80 0D 01 02 [18:59:56]Write to MH i2c: E2 08 00 85 6E 80 0D 01 02 00 00 00 00 6C [18:59:56]Write i2c OK [18:59:56]MH_I2C_Read... [18:59:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:59:56]Read from MH i2c: E2 [18:59:56]MH_I2C_Read... [18:59:56]Read from MH i2c: E2 03 00 [18:59:56]MH_I2C_Read... [18:59:56]Read from MH i2c: E2 03 00 85 6E 00 90 00 67 [18:59:56]RAPDU: 90 00 [18:59:56]wFMCommunicate OK [18:59:56]wFMCommunicate request_size=255 [18:59:56]MH_SAM_APDU [18:59:56]CAPDU: 80 0D 02 02 FA 03 00 82 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 [18:59:56]Write to MH i2c: E2 02 01 86 6E 80 0D 02 02 FA 00 03 00 82 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 00 00 FC [18:59:56]Write i2c OK [18:59:56]MH_I2C_Read... [18:59:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:56]Read from MH i2c: E2 [18:59:56]MH_I2C_Read... [18:59:56]Read from MH i2c: E2 03 00 [18:59:56]MH_I2C_Read... [18:59:56]Read from MH i2c: E2 03 00 86 6E 00 90 00 68 [18:59:56]RAPDU: 90 00 [18:59:56]wFMCommunicate OK [18:59:56]wFMCommunicate request_size=255 [18:59:56]MH_SAM_APDU [18:59:56]CAPDU: 80 0D 02 02 FA 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 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 30 35 38 06 04 2B 00 D0 92 D0 B0 D1 84 20 D1 82 D1 80 D1 83 D0 B1 20 4B 6F 6E 61 66 65 74 74 6F 20 D0 BE D1 80 D0 B5 D1 85 20 31 34 30 20 D0 B3 D1 80 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 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [18:59:56]Write to MH i2c: E2 02 01 87 6E 80 0D 02 02 FA 00 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 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 30 35 38 06 04 2B 00 D0 92 D0 B0 D1 84 20 D1 82 D1 80 D1 83 D0 B1 20 4B 6F 6E 61 66 65 74 74 6F 20 D0 BE D1 80 D0 B5 D1 85 20 31 34 30 20 D0 B3 D1 80 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 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 9B [18:59:56]Write i2c OK [18:59:56]MH_I2C_Read... [18:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:57]Read from MH i2c: E2 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 03 00 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 03 00 87 6E 00 90 00 69 [18:59:57]RAPDU: 90 00 [18:59:57]wFMCommunicate OK [18:59:57]wFMCommunicate request_size=151 [18:59:57]MH_SAM_APDU [18:59:57]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 FD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 E1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 3B 53 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7A 0A 00 00 35 04 06 00 6F 0D F1 9C 36 2C [18:59:57]Write to MH i2c: E2 9A 00 88 6E 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 FD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 E1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 3B 53 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7A 0A 00 00 35 04 06 00 6F 0D F1 9C 36 2C 00 00 E5 [18:59:57]Write i2c OK [18:59:57]MH_I2C_Read... [18:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:57]Read from MH i2c: E2 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 03 00 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 03 00 88 6E 00 90 00 6A [18:59:57]RAPDU: 90 00 [18:59:57]wFMCommunicate OK [18:59:57]wFMCommunicate request_size=4 [18:59:57]MH_SAM_APDU [18:59:57]CAPDU: 80 0D 03 02 [18:59:57]Write to MH i2c: E2 08 00 89 6E 80 0D 03 02 00 00 00 00 72 [18:59:57]Write i2c OK [18:59:57]MH_I2C_Read... [18:59:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:59:57]Read from MH i2c: E2 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 0B 00 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 0B 00 89 6E 00 F9 20 A8 95 40 9A 6F A4 90 00 B6 [18:59:57]RAPDU: F9 20 A8 95 40 9A 6F A4 90 00 [18:59:57]wFMCommunicate OK [18:59:57]SAM_PROTO_SignData done [18:59:57]FM_MakeSignedData done [18:59:57]CreateOFDProtocolMessage [18:59:57]wFMCommunicate request_size=4 [18:59:57]MH_SAM_APDU [18:59:57]CAPDU: 80 11 00 00 [18:59:57]Write to MH i2c: E2 08 00 8A 6E 80 11 00 00 00 00 00 00 72 [18:59:57]Write i2c OK [18:59:57]MH_I2C_Read... [18:59:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:59:57]Read from MH i2c: E2 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 17 00 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 17 00 8A 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 BA [18:59:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:59:57]wFMCommunicate OK [18:59:57]CreateOFDProtocolMessage done [18:59:57]OFDSenderStorePacket 2682 [18:59:57]StoreOFDPacket docnum=2682 [18:59:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 96 02 00 00 60 A4 8E 02 10 56 5A 03 01 00 03 00 82 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 30 35 38 06 04 2B 00 D0 92 D0 B0 D1 84 20 D1 82 D1 80 D1 83 D0 B1 20 4B 6F 6E 61 66 65 74 74 6F 20 D0 BE D1 80 D0 B5 D1 85 20 31 34 30 20 D0 B3 D1 80 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 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 E1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 3B 53 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7A 0A 00 00 35 04 06 00 6F 0D F1 9C 36 2C F9 20 A8 95 40 9A 6F A4 [18:59:57]CheckFolder [18:59:57]dirname=/storage/ofd_packets [18:59:57]CheckFolder done [18:59:57]ProducePacketName [18:59:57]name=ofd_packets/00002682 [18:59:57]NVStorageSaveData ofd_packets/00002682 [18:59:57]File name is /storage/ofd_packets/00002682 [18:59:57]Write 692 bytes [18:59:57]NVStorageSaveData done [18:59:57]OFDSenderStorePacket done [18:59:57]KKMCreateOFDPacket done [18:59:57]NVStorageSaveData kkm_last_timestamp [18:59:57]File name is /storage/kkm_last_timestamp [18:59:57]Write 4 bytes [18:59:57]NVStorageSaveData done [18:59:57]ExternCall_PrintAddStr [18:59:57]wPrintStart [18:59:57]Write to MH i2c: 01 00 00 8B 6E F9 [18:59:57]Write i2c OK [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: 01 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: 01 07 00 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: 01 07 00 8B 6E 00 00 00 00 00 FF 0F 0E [18:59:57]RasterBufferAndPrint [18:59:57]line Счет N : (3)100059 [18:59:57]line ИНН: 02508201610067 [18:59:57]line Контрольно-Кассовый Чек [18:59:57]line ПРОДАЖА [18:59:57]line Товар: 4603290004848 [18:59:57]line Печ.зат.TONDI Сэнд.шок-сл.вк [18:59:57]line 1.000 * 86.00 [18:59:57]line = 86.00 [18:59:57]line НДС 12% НСП 1% [18:59:57]line > о реализуемом товаре [18:59:57]line Товар: 4700000480050 [18:59:57]line Напиток Nitro Energy эн green ж/б 0,45л [18:59:57]line 2.000 * 95.00 [18:59:57]line = 190.00 [18:59:57]line НДС 12% НСП 1% [18:59:57]line > о реализуемом товаре [18:59:57]line Товар: 5449000176448 [18:59:57]line Сок Piko Pulpy апельсин ПЭТ 1л [18:59:57]line 1.000 * 170.00 [18:59:57]line = 170.00 [18:59:57]line НДС 12% НСП 1% [18:59:57]line > о реализуемом товаре [18:59:57]line Товар: 4823077633058 [18:59:57]line Ваф труб Konafetto орех 140 гр [18:59:57]line 1.000 * 130.00 [18:59:57]line = 130.00 [18:59:57]line НДС 12% НСП 1% [18:59:57]line > о реализуемом товаре [18:59:57]line ИТОГО: 576.00 [18:59:57]line НСП 1% : 5.09 [18:59:57]line НДС 12% : 61.16 [18:59:57]line Наличными: 0.00 [18:59:57]line Безнал.: 576.00 [18:59:57]line Место: АЗС № 162 "Партнер Нефть" [18:59:57]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:59:57]line СНО: Общий режим [18:59:57]line Чек 63 20.10.2024 19:00 [18:59:57]line Смена: 24 ФФД: 1.0 [18:59:57]line ЗНМ: 0300000191 [18:59:57]line РНМ: 0000000000207295 [18:59:57]line Версия ККМ: v1.0 [18:59:57]line Платежная система: Бакай Банк [18:59:57]OFD Sender: Processing packet 2682 [packets to send 1, broken 0] [18:59:57]ProducePacketName [18:59:57]name=ofd_packets/00002682 [18:59:57]OFD Sender: To server: pG, [18:59:57]CommunicateWithHost lk.salyk.kg:30040 [18:59:57]ConnectInit lk.salyk.kg [18:59:57]line ФМ: 0000000002342820 [18:59:57]line ФД: 2682 [18:59:57]line ФПД: 122105678804524 [18:59:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190011&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2682&fm=122105678804524&tin=02508201610067®Number=0000000000207295&sum=57600 [18:59:57]line 0 [18:59:57]written 0, free lines is 4095 [18:59:57]Connected sock=10 [18:59:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 96 02 00 00 60 A4 8E 02 10 56 5A 03 01 00 03 00 82 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 30 35 38 06 04 2B 00 D0 92 D0 B0 D1 84 20 D1 82 D1 80 D1 83 D0 B1 20 4B 6F 6E 61 66 65 74 74 6F 20 D0 BE D1 80 D0 B5 D1 85 20 31 34 30 20 D0 B3 D1 80 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 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 E1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 3B 53 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7A 0A 00 00 35 04 06 00 6F 0D F1 9C 36 2C F9 20 A8 95 40 9A 6F A4 [18:59:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 B7 98 47 00 3F C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7A 0A 00 00 F4 03 04 00 98 FE 14 67 B6 04 01 00 00 4D E5 28 8D 07 48 DA 26 [18:59:58]CommunicateWithHost err = 0 [18:59:58]CheckOFDResponse [18:59:58]1017 (14) - 77093643461234 [18:59:58]1041 (16) - 0000000002342820 [18:59:58]1040 (4) - 2682 [18:59:58]1012 (4) - 20.10.2024 12:59 [18:59:58]1206 (1) - 0 [18:59:58]OFD Sender: Remove packet 2682 [18:59:58]ProducePacketName [18:59:58]name=ofd_packets/00002682 [18:59:58]NVStorageDeleteData [18:59:58]Write to MH i2c: 01 00 00 CA 6E 38 [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: 01 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: 01 07 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: 01 07 00 CA 6E 00 00 00 00 00 24 0B 6E [18:59:58]RasterBufferAndPrint [18:59:58]line [18:59:58]line [18:59:58]line [18:59:58]line [18:59:58]line [18:59:58]written 0, free lines is 2861 [18:59:58]MH_Cut [18:59:58]Write to MH i2c: D1 01 00 D1 6E 01 11 [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: D1 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: D1 01 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: D1 01 00 D1 6E 00 10 [18:59:58]Write to MH i2c: 01 00 00 D2 6E 40 [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]OFD Sender: No OFD packet to send [18:59:59]*** Cut start [18:59:59]*** Partial cut [18:59:59]*** CUTSNS_PIN = 1 [18:59:59]*** CUTSNS_PIN = 0 [18:59:59]*** Brake cut motor [19:00:00]Read from MH i2c: 01 [19:00:00]MH_I2C_Read... [19:00:00]*** Stop cut motor [19:00:00]*** Cut end [19:00:00]Read from MH i2c: 01 07 00 [19:00:00]MH_I2C_Read... [19:00:00]Read from MH i2c: 01 07 00 D2 6E 00 00 00 00 00 FF 0F 55 [19:00:00]process_action close_receipt done [19:00:00]requested_data is exist [19:00:00]produce_requested_data [19:00:00]requested_item fm.sn is exist - process it [19:00:00]wFMCommunicate request_size=4 [19:00:00]MH_SAM_APDU [19:00:00]CAPDU: 80 11 00 00 [19:00:00]Write to MH i2c: E2 08 00 D3 6E 80 11 00 00 00 00 00 00 BB [19:00:00]Write i2c OK [19:00:00]MH_I2C_Read... [19:00:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:00]Read from MH i2c: E2 [19:00:00]MH_I2C_Read... [19:00:00]Read from MH i2c: E2 17 00 [19:00:00]MH_I2C_Read... [19:00:00]Read from MH i2c: E2 17 00 D3 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 03 [19:00:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:00:00]wFMCommunicate OK [19:00:00]requested_item fd.num is exist - process it [19:00:00]SAM_PROTO_GetFieldsCounters [19:00:00]wFMCommunicate request_size=4 [19:00:00]MH_SAM_APDU [19:00:00]CAPDU: 80 13 00 00 [19:00:00]Write to MH i2c: E2 08 00 D4 6E 80 13 00 00 00 00 00 00 BE [19:00:00]Write i2c OK [19:00:00]MH_I2C_Read... [19:00:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:00]Read from MH i2c: E2 [19:00:00]MH_I2C_Read... [19:00:00]Read from MH i2c: E2 62 00 [19:00:00]MH_I2C_Read... [19:00:00]Read from MH i2c: E2 62 00 D4 6E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7A 0A 00 00 0E 04 04 00 18 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 2D [19:00:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7A 0A 00 00 0E 04 04 00 18 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 [19:00:00]wFMCommunicate OK [19:00:00]SAM_PROTO_GetFieldsCounters done [19:00:00]requested_item shift.num is exist - process it [19:00:00]requested_item shift.opened is exist - process it [19:00:00]req_shift_opened [19:00:00]FM_GetShiftState [19:00:00]SAM_PROTO_GetShiftState [19:00:00]wFMCommunicate request_size=4 [19:00:00]MH_SAM_APDU [19:00:00]CAPDU: 80 13 01 00 [19:00:00]Write to MH i2c: E2 08 00 D5 6E 80 13 01 00 00 00 00 00 C0 [19:00:00]Write i2c OK [19:00:00]MH_I2C_Read... [19:00:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:00]Read from MH i2c: E2 [19:00:00]MH_I2C_Read... [19:00:00]Read from MH i2c: E2 0E 00 [19:00:00]MH_I2C_Read... [19:00:00]Read from MH i2c: E2 0E 00 D5 6E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 AA [19:00:00]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:00:00]wFMCommunicate OK [19:00:00]SAM_PROTO_GetShiftState done [19:00:00]FM_GetShiftState done [19:00:00]req_shift_opened done [19:00:00]requested_item shift.open_date is exist - process it [19:00:00]req_shift_open_date [19:00:00]req_shift_open_date done [19:00:00]produce_requested_data done [19:00:00]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2682,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [19:00:00]process_action_free close_receipt [19:00:00]json_value_free [19:00:00]json_value_free done [19:00:00]process_json_proto returns [19:00:00]Send response to host [19:00:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2682,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [19:00:00]free response buf [19:00:00]execute_script done [19:00:00]execute_script returns [19:00:00]free content buf [19:00:00]Sock 7.Close socket [19:00:00]Sock 7.Thread stoped [19:00:03]OFD Sender: No OFD packet to send [19:00:08]OFD Sender: No OFD packet to send [19:00:13]OFD Sender: No OFD packet to send [19:00:18]OFD Sender: No OFD packet to send [19:00:23]OFD Sender: No OFD packet to send [19:00:28]OFD Sender: No OFD packet to send [19:00:33]OFD Sender: No OFD packet to send [19:00:37]accept exits with 9 [19:00:37]New connection [19:00:37]New thread 3066707300 created [19:00:37]Thread 3066850660 joined [19:00:37]Waiting for new connection... [19:00:37] Sock 9.Parse request [19:00:37]Sock 9.Check first char [19:00:37]Sock 9.First char is OK [19:00:37]request: POST /json_proto HTTP/1.0 [19:00:37]Method: POST [19:00:37]URL: /json_proto [19:00:37]Method is POST - this is cgi request [19:00:37]url: /json_proto [19:00:37]query_string will be loaded in cgi processing [19:00:37]execute_cgi json_proto POST (null) [19:00:37]execute_cgi path=json_proto method=POST [19:00:37]POST find Content-Length [19:00:37]Host: 172.17.52.132:8080 [19:00:37]Content-Length: 626 [19:00:37]Content-Type: application/json [19:00:37] [19:00:37]POST finish read [19:00:37]Found Content-Length = 626 [19:00:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100060", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:37]execute_script... [19:00: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)100060", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:37]POST & json_proto [19:00:37]process_json_proto [19:00:37]json parsed OK: [19:00:37]protocol is kg_v1.0 [19:00:37]action value=close_receipt [19:00:37]process_action close_receipt [19:00:37]cmd_close_receipt [19:00:37]MH_GetDate [19:00:37]Write to MH i2c: F0 00 00 D6 6E 33 [19:00:37]Write i2c OK [19:00:37]MH_I2C_Read... [19:00:37]Read from MH i2c: F0 [19:00:37]MH_I2C_Read... [19:00:37]Read from MH i2c: F0 09 00 [19:00:37]MH_I2C_Read... [19:00:37]Read from MH i2c: F0 09 00 D6 6E 00 66 53 15 67 5A BE F6 66 E5 [19:00:37]GetLastDocTimeStamp 1729450811 [19:00:37]current date 1729450854 [19:00:37]FM_GetShiftState [19:00:37]SAM_PROTO_GetShiftState [19:00:37]wFMCommunicate request_size=4 [19:00:37]MH_SAM_APDU [19:00:37]CAPDU: 80 13 01 00 [19:00:37]Write to MH i2c: E2 08 00 D7 6E 80 13 01 00 00 00 00 00 C2 [19:00:37]Write i2c OK [19:00:37]MH_I2C_Read... [19:00:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:37]Read from MH i2c: E2 [19:00:37]MH_I2C_Read... [19:00:37]Read from MH i2c: E2 0E 00 [19:00:37]MH_I2C_Read... [19:00:37]Read from MH i2c: E2 0E 00 D7 6E 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 AC [19:00:37]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:00:37]wFMCommunicate OK [19:00:37]SAM_PROTO_GetShiftState done [19:00:37]FM_GetShiftState done [19:00:37]opened in 1729382427 [19:00:37]opened+sec_in_day 1729468827 [19:00:37]quantity*price = 13900 [19:00:37]sum+1 = 13901 [19:00:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 64 20.10.2024 19:00 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2683 ФПД: 219376830084129 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190054&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2683&fm=219376830084129&tin=02508201610067®Number=0000000000207295&sum=13900 0 [19:00:38]StoreToDocumentArchive [19:00:38]shift 24 fd 2683 [19:00:38]save to /storage/0024/doc_00002683 [19:00:38]save last doc name /storage/0024/doc_00002683 to /storage/kkm_last_doc_name [19:00:38]save OK [19:00:38]Clear old archive folders... [19:00:38]ProcessDocumentItem done err = 0, tmpTLVsize=278 [19:00:38]tlvbuf is 01563D90 [19:00:38]SAM_PROTO_ClearQueue [19:00:38]wFMCommunicate request_size=4 [19:00:38]MH_SAM_APDU [19:00:38]CAPDU: 80 09 00 00 [19:00:38]Write to MH i2c: E2 08 00 E4 6E 80 09 00 00 00 00 00 00 C4 [19:00:38]Write i2c OK [19:00:38]MH_I2C_Read... [19:00:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:00:38]Read from MH i2c: E2 [19:00:38]MH_I2C_Read... [19:00:38]Read from MH i2c: E2 03 00 [19:00:38]MH_I2C_Read... [19:00:38]Read from MH i2c: E2 03 00 E4 6E 00 90 00 C6 [19:00:38]RAPDU: 90 00 [19:00:38]wFMCommunicate OK [19:00:38]SAM_PROTO_ClearQueue done [19:00:38]KKMCreateOFDPacket [19:00:38]OFDProtocolAddRootSTLVToBuf [19:00:38]FM_MakeSignedData [19:00:38]FM_MakeSignedData [19:00:38]SAM_PROTO_SignData [19:00:38]wFMCommunicate request_size=4 [19:00:38]MH_SAM_APDU [19:00:38]CAPDU: 80 0D 01 02 [19:00:38]Write to MH i2c: E2 08 00 E5 6E 80 0D 01 02 00 00 00 00 CC [19:00:38]Write i2c OK [19:00:38]MH_I2C_Read... [19:00:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:00:38]Read from MH i2c: E2 [19:00:38]MH_I2C_Read... [19:00:38]Read from MH i2c: E2 03 00 [19:00:38]MH_I2C_Read... [19:00:38]Read from MH i2c: E2 03 00 E5 6E 00 90 00 C7 [19:00:38]RAPDU: 90 00 [19:00:38]wFMCommunicate OK [19:00:38]wFMCommunicate request_size=255 [19:00:38]MH_SAM_APDU [19:00:38]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 66 53 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 [19:00:38]Write to MH i2c: E2 02 01 E6 6E 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 66 53 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 00 00 99 [19:00:38]Write i2c OK [19:00:38]MH_I2C_Read... [19:00:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:39]Read from MH i2c: E2 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: E2 03 00 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: E2 03 00 E6 6E 00 90 00 C8 [19:00:39]RAPDU: 90 00 [19:00:39]wFMCommunicate OK [19:00:39]wFMCommunicate request_size=37 [19:00:39]MH_SAM_APDU [19:00:39]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7B 0A 00 00 35 04 06 00 C7 85 A6 07 74 21 [19:00:39]Write to MH i2c: E2 28 00 E7 6E 80 0D 02 02 20 00 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7B 0A 00 00 35 04 06 00 C7 85 A6 07 74 21 00 00 2E [19:00:39]Write i2c OK [19:00:39]MH_I2C_Read... [19:00:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:39]Read from MH i2c: E2 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: E2 03 00 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: E2 03 00 E7 6E 00 90 00 C9 [19:00:39]RAPDU: 90 00 [19:00:39]wFMCommunicate OK [19:00:39]wFMCommunicate request_size=4 [19:00:39]MH_SAM_APDU [19:00:39]CAPDU: 80 0D 03 02 [19:00:39]Write to MH i2c: E2 08 00 E8 6E 80 0D 03 02 00 00 00 00 D1 [19:00:39]Write i2c OK [19:00:39]MH_I2C_Read... [19:00:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:00:39]Read from MH i2c: E2 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: E2 0B 00 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: E2 0B 00 E8 6E 00 87 78 39 B4 49 0C 6C F5 90 00 74 [19:00:39]RAPDU: 87 78 39 B4 49 0C 6C F5 90 00 [19:00:39]wFMCommunicate OK [19:00:39]SAM_PROTO_SignData done [19:00:39]FM_MakeSignedData done [19:00:39]CreateOFDProtocolMessage [19:00:39]wFMCommunicate request_size=4 [19:00:39]MH_SAM_APDU [19:00:39]CAPDU: 80 11 00 00 [19:00:39]Write to MH i2c: E2 08 00 E9 6E 80 11 00 00 00 00 00 00 D1 [19:00:39]Write i2c OK [19:00:39]MH_I2C_Read... [19:00:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:39]Read from MH i2c: E2 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: E2 17 00 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: E2 17 00 E9 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 19 [19:00:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:00:39]wFMCommunicate OK [19:00:39]CreateOFDProtocolMessage done [19:00:39]OFDSenderStorePacket 2683 [19:00:39]StoreOFDPacket docnum=2683 [19:00:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2A 01 00 00 29 A2 22 01 D5 8E 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 66 53 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7B 0A 00 00 35 04 06 00 C7 85 A6 07 74 21 87 78 39 B4 49 0C 6C F5 [19:00:39]CheckFolder [19:00:39]dirname=/storage/ofd_packets [19:00:39]CheckFolder done [19:00:39]ProducePacketName [19:00:39]name=ofd_packets/00002683 [19:00:39]NVStorageSaveData ofd_packets/00002683 [19:00:39]File name is /storage/ofd_packets/00002683 [19:00:39]Write 328 bytes [19:00:39]NVStorageSaveData done [19:00:39]OFDSenderStorePacket done [19:00:39]KKMCreateOFDPacket done [19:00:39]NVStorageSaveData kkm_last_timestamp [19:00:39]File name is /storage/kkm_last_timestamp [19:00:39]Write 4 bytes [19:00:39]NVStorageSaveData done [19:00:39]ExternCall_PrintAddStr [19:00:39]wPrintStart [19:00:39]Write to MH i2c: 01 00 00 EA 6E 58 [19:00:39]Write i2c OK [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: 01 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: 01 07 00 [19:00:39]MH_I2C_Read... [19:00:39]Read from MH i2c: 01 07 00 EA 6E 00 00 00 00 00 FF 0F 6D [19:00:39]RasterBufferAndPrint [19:00:39]line Счет N : (3)100060 [19:00:39]line ИНН: 02508201610067 [19:00:39]line Контрольно-Кассовый Чек [19:00:39]line ПРОДАЖА [19:00:39]line Товар: 48741224 [19:00:39]line Сигареты Winston Super Slims Blue [19:00:39]line 1.000 * 139.00 [19:00:39]line = 139.00 [19:00:39]line НДС 12% НСП 1% [19:00:39]line > о реализуемом товаре [19:00:39]line ИТОГО: 139.00 [19:00:39]line НСП 1% : 1.23 [19:00:39]line НДС 12% : 14.76 [19:00:39]line Наличными: 139.00 [19:00:39]line Безнал.: 0.00 [19:00:39]line Место: АЗС № 162 "Партнер Нефть" [19:00:39]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:00:39]line СНО: Общий режим [19:00:39]line Чек 64 20.10.2024 19:00 [19:00:39]line Смена: 24 ФФД: 1.0 [19:00:39]line ЗНМ: 0300000191 [19:00:39]line РНМ: 0000000000207295 [19:00:39]line Версия ККМ: v1.0 [19:00:39]line ФМ: 0000000002342820 [19:00:39]line ФД: 2683 [19:00:39]line ФПД: 219376830084129 [19:00:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190054&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2683&fm=219376830084129&tin=02508201610067®Number=0000000000207295&sum=13900 [19:00:39]line 0 [19:00:39]OFD Sender: Processing packet 2683 [packets to send 1, broken 0] [19:00:39]ProducePacketName [19:00:39]name=ofd_packets/00002683 [19:00:39]OFD Sender: To server: pG, [19:00:39]CommunicateWithHost lk.salyk.kg:30040 [19:00:39]ConnectInit lk.salyk.kg [19:00:39]written 0, free lines is 4095 [19:00:39]Connected sock=10 [19:00:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2A 01 00 00 29 A2 22 01 D5 8E 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 66 53 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7B 0A 00 00 35 04 06 00 C7 85 A6 07 74 21 87 78 39 B4 49 0C 6C F5 [19:00:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 B8 AE 47 00 8E 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7B 0A 00 00 F4 03 04 00 C2 FE 14 67 B6 04 01 00 00 67 EF 53 3C 1B 5C 64 A5 [19:00:40]CommunicateWithHost err = 0 [19:00:40]CheckOFDResponse [19:00:40]1017 (14) - 77093643461234 [19:00:40]1041 (16) - 0000000002342820 [19:00:40]1040 (4) - 2683 [19:00:40]1012 (4) - 20.10.2024 12:59 [19:00:40]1206 (1) - 0 [19:00:40]OFD Sender: Remove packet 2683 [19:00:40]ProducePacketName [19:00:40]name=ofd_packets/00002683 [19:00:40]NVStorageDeleteData [19:00:40]Write to MH i2c: 01 00 00 13 6F 82 [19:00:40]Write i2c OK [19:00:40]MH_I2C_Read... [19:00:40]Read from MH i2c: 01 [19:00:40]MH_I2C_Read... [19:00:40]Read from MH i2c: 01 07 00 [19:00:40]MH_I2C_Read... [19:00:40]Read from MH i2c: 01 07 00 13 6F 00 00 00 00 00 A9 0C 3E [19:00:40]RasterBufferAndPrint [19:00:40]line [19:00:40]line [19:00:40]line [19:00:40]line [19:00:40]line [19:00:40]written 0, free lines is 3246 [19:00:40]MH_Cut [19:00:40]Write to MH i2c: D1 01 00 1A 6F 01 5B [19:00:40]Write i2c OK [19:00:40]MH_I2C_Read... [19:00:40]Read from MH i2c: D1 [19:00:40]MH_I2C_Read... [19:00:40]Read from MH i2c: D1 01 00 [19:00:40]MH_I2C_Read... [19:00:40]Read from MH i2c: D1 01 00 1A 6F 00 5A [19:00:40]Write to MH i2c: 01 00 00 1B 6F 8A [19:00:40]Write i2c OK [19:00:40]MH_I2C_Read... [19:00:40]OFD Sender: No OFD packet to send [19:00:41]*** Cut start [19:00:41]*** Partial cut [19:00:41]*** CUTSNS_PIN = 1 [19:00:41]*** CUTSNS_PIN = 0 [19:00:41]*** Brake cut motor [19:00:41]Read from MH i2c: 01 [19:00:41]MH_I2C_Read... [19:00:41]*** Stop cut motor [19:00:41]*** Cut end [19:00:41]Read from MH i2c: 01 07 00 [19:00:41]MH_I2C_Read... [19:00:41]Read from MH i2c: 01 07 00 1B 6F 00 00 00 00 00 FF 0F 9F [19:00:41]process_action close_receipt done [19:00:41]requested_data is exist [19:00:41]produce_requested_data [19:00:41]requested_item fm.sn is exist - process it [19:00:41]wFMCommunicate request_size=4 [19:00:41]MH_SAM_APDU [19:00:41]CAPDU: 80 11 00 00 [19:00:41]Write to MH i2c: E2 08 00 1C 6F 80 11 00 00 00 00 00 00 05 [19:00:41]Write i2c OK [19:00:41]MH_I2C_Read... [19:00:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:41]Read from MH i2c: E2 [19:00:41]MH_I2C_Read... [19:00:41]Read from MH i2c: E2 17 00 [19:00:41]MH_I2C_Read... [19:00:41]Read from MH i2c: E2 17 00 1C 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4D [19:00:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:00:41]wFMCommunicate OK [19:00:41]requested_item fd.num is exist - process it [19:00:41]SAM_PROTO_GetFieldsCounters [19:00:41]wFMCommunicate request_size=4 [19:00:41]MH_SAM_APDU [19:00:41]CAPDU: 80 13 00 00 [19:00:41]Write to MH i2c: E2 08 00 1D 6F 80 13 00 00 00 00 00 00 08 [19:00:41]Write i2c OK [19:00:41]MH_I2C_Read... [19:00:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:41]Read from MH i2c: E2 [19:00:41]MH_I2C_Read... [19:00:41]Read from MH i2c: E2 62 00 [19:00:41]MH_I2C_Read... [19:00:41]Read from MH i2c: E2 62 00 1D 6F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 7B [19:00:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:00:41]wFMCommunicate OK [19:00:41]SAM_PROTO_GetFieldsCounters done [19:00:41]requested_item shift.num is exist - process it [19:00:41]requested_item shift.opened is exist - process it [19:00:41]req_shift_opened [19:00:41]FM_GetShiftState [19:00:41]SAM_PROTO_GetShiftState [19:00:41]wFMCommunicate request_size=4 [19:00:41]MH_SAM_APDU [19:00:41]CAPDU: 80 13 01 00 [19:00:41]Write to MH i2c: E2 08 00 1E 6F 80 13 01 00 00 00 00 00 0A [19:00:41]Write i2c OK [19:00:41]MH_I2C_Read... [19:00:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:41]Read from MH i2c: E2 [19:00:41]MH_I2C_Read... [19:00:41]Read from MH i2c: E2 0E 00 [19:00:41]MH_I2C_Read... [19:00:41]Read from MH i2c: E2 0E 00 1E 6F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F4 [19:00:41]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:00:41]wFMCommunicate OK [19:00:41]SAM_PROTO_GetShiftState done [19:00:41]FM_GetShiftState done [19:00:41]req_shift_opened done [19:00:41]requested_item shift.open_date is exist - process it [19:00:41]req_shift_open_date [19:00:41]req_shift_open_date done [19:00:41]produce_requested_data done [19:00:41]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2683,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [19:00:41]process_action_free close_receipt [19:00:41]json_value_free [19:00:41]json_value_free done [19:00:41]process_json_proto returns [19:00:41]Send response to host [19:00:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2683,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [19:00:42]free response buf [19:00:42]execute_script done [19:00:42]execute_script returns [19:00:42]free content buf [19:00:42]Sock 9.Close socket [19:00:42]Sock 9.Thread stoped [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 [19:01:35]OFD Sender: No OFD packet to send [19:01:40]OFD Sender: No OFD packet to send [19:01:45]OFD Sender: No OFD packet to send [19:01:50]OFD Sender: No OFD packet to send [19:01:55]OFD Sender: No OFD packet to send [19:02:00]OFD Sender: No OFD packet to send [19:02:05]OFD Sender: No OFD packet to send [19:02:10]OFD Sender: No OFD packet to send [19:02:15]OFD Sender: No OFD packet to send [19:02:20]OFD Sender: No OFD packet to send [19:02:25]OFD Sender: No OFD packet to send [19:02:30]OFD Sender: No OFD packet to send [19:02:35]OFD Sender: No OFD packet to send [19:02:40]OFD Sender: No OFD packet to send [19:02:45]OFD Sender: No OFD packet to send [19:02:50]OFD Sender: No OFD packet to send [19:02:55]OFD Sender: No OFD packet to send [19:03:00]OFD Sender: No OFD packet to send [19:03:05]OFD Sender: No OFD packet to send [19:03:10]OFD Sender: No OFD packet to send [19:03:15]OFD Sender: No OFD packet to send [19:03:20]OFD Sender: No OFD packet to send [19:03:25]OFD Sender: No OFD packet to send [19:03:30]OFD Sender: No OFD packet to send [19:03:35]OFD Sender: No OFD packet to send [19:03:40]OFD Sender: No OFD packet to send [19:03:45]OFD Sender: No OFD packet to send [19:03:50]OFD Sender: No OFD packet to send [19:03:55]OFD Sender: No OFD packet to send [19:04:00]OFD Sender: No OFD packet to send [19:04:05]accept exits with 7 [19:04:05]New connection [19:04:05]New thread 3066850660 created [19:04:05]Thread 3066707300 joined [19:04:05]Waiting for new connection... [19:04:05] Sock 7.Parse request [19:04:05]Sock 7.Check first char [19:04:05]Sock 7.First char is OK [19:04:05]request: POST /json_proto HTTP/1.0 [19:04:05]Method: POST [19:04:05]URL: /json_proto [19:04:05]Method is POST - this is cgi request [19:04:05]url: /json_proto [19:04:05]query_string will be loaded in cgi processing [19:04:05]execute_cgi json_proto POST (null) [19:04:05]execute_cgi path=json_proto method=POST [19:04:05]POST find Content-Length [19:04:05]Host: 172.17.52.132:8080 [19:04:05]Content-Length: 1460 [19:04:05]Content-Type: application/json [19:04:05] [19:04:05]POST finish read [19:04:05]Found Content-Length = 1460 [19:04:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100061", "tax_sys" : 0, "items" : [ { "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 340.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:05]execute_script... [19:04: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)100061", "tax_sys" : 0, "items" : [ { "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 340.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:05]POST & json_proto [19:04:05]process_json_proto [19:04:05]json parsed OK: [19:04:05]protocol is kg_v1.0 [19:04:05]action value=close_receipt [19:04:05]process_action close_receipt [19:04:05]cmd_close_receipt [19:04:05]MH_GetDate [19:04:05]Write to MH i2c: F0 00 00 1F 6F 7D [19:04:05]Write i2c OK [19:04:05]MH_I2C_Read... [19:04:05]Read from MH i2c: F0 [19:04:05]MH_I2C_Read... [19:04:05]Read from MH i2c: F0 09 00 [19:04:05]MH_I2C_Read... [19:04:05]Read from MH i2c: F0 09 00 1F 6F 00 35 54 15 67 5A BE F6 66 FF [19:04:05]GetLastDocTimeStamp 1729450854 [19:04:05]current date 1729451061 [19:04:05]FM_GetShiftState [19:04:05]SAM_PROTO_GetShiftState [19:04:05]wFMCommunicate request_size=4 [19:04:05]MH_SAM_APDU [19:04:05]CAPDU: 80 13 01 00 [19:04:05]Write to MH i2c: E2 08 00 20 6F 80 13 01 00 00 00 00 00 0C [19:04:05]Write i2c OK [19:04:05]MH_I2C_Read... [19:04:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:05]Read from MH i2c: E2 [19:04:05]MH_I2C_Read... [19:04:05]Read from MH i2c: E2 0E 00 [19:04:05]MH_I2C_Read... [19:04:05]Read from MH i2c: E2 0E 00 20 6F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F6 [19:04:05]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:04:05]wFMCommunicate OK [19:04:05]SAM_PROTO_GetShiftState done [19:04:05]FM_GetShiftState done [19:04:05]opened in 1729382427 [19:04:05]opened+sec_in_day 1729468827 [19:04:05]quantity*price = 15000 [19:04:05]sum+1 = 15001 [19:04:05]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112003956 Шок батончик ALBENI SUPER Альбени Супер 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 340.00 НСП 1% : 3.01 НДС 12% : 36.11 Наличными: 0.00 Безнал.: 340.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 65 20.10.2024 19:04 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2684 ФПД: 224964953718218 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190421&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2684&fm=224964953718218&tin=02508201610067®Number=0000000000207295&sum=34000 0 [19:04:06]StoreToDocumentArchive [19:04:06]shift 24 fd 2684 [19:04:06]save to /storage/0024/doc_00002684 [19:04:06]save last doc name /storage/0024/doc_00002684 to /storage/kkm_last_doc_name [19:04:06]save OK [19:04:06]Clear old archive folders... [19:04:06]ProcessDocumentItem done err = 0, tmpTLVsize=535 [19:04:06]tlvbuf is 014592A0 [19:04:06]SAM_PROTO_ClearQueue [19:04:06]wFMCommunicate request_size=4 [19:04:06]MH_SAM_APDU [19:04:06]CAPDU: 80 09 00 00 [19:04:06]Write to MH i2c: E2 08 00 2D 6F 80 09 00 00 00 00 00 00 0E [19:04:06]Write i2c OK [19:04:06]MH_I2C_Read... [19:04:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:04:06]Read from MH i2c: E2 [19:04:06]MH_I2C_Read... [19:04:06]Read from MH i2c: E2 03 00 [19:04:06]MH_I2C_Read... [19:04:06]Read from MH i2c: E2 03 00 2D 6F 00 90 00 10 [19:04:06]RAPDU: 90 00 [19:04:06]wFMCommunicate OK [19:04:06]SAM_PROTO_ClearQueue done [19:04:06]KKMCreateOFDPacket [19:04:06]OFDProtocolAddRootSTLVToBuf [19:04:06]FM_MakeSignedData [19:04:06]FM_MakeSignedData [19:04:06]SAM_PROTO_SignData [19:04:06]wFMCommunicate request_size=4 [19:04:06]MH_SAM_APDU [19:04:06]CAPDU: 80 0D 01 02 [19:04:06]Write to MH i2c: E2 08 00 2E 6F 80 0D 01 02 00 00 00 00 16 [19:04:06]Write i2c OK [19:04:06]MH_I2C_Read... [19:04:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:04:06]Read from MH i2c: E2 [19:04:06]MH_I2C_Read... [19:04:06]Read from MH i2c: E2 03 00 [19:04:06]MH_I2C_Read... [19:04:06]Read from MH i2c: E2 03 00 2E 6F 00 90 00 11 [19:04:06]RAPDU: 90 00 [19:04:06]wFMCommunicate OK [19:04:06]wFMCommunicate request_size=255 [19:04:06]MH_SAM_APDU [19:04:06]CAPDU: 80 0D 02 02 FA 03 00 17 02 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 [19:04:06]Write to MH i2c: E2 02 01 2F 6F 80 0D 02 02 FA 00 03 00 17 02 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 00 00 C3 [19:04:06]Write i2c OK [19:04:06]MH_I2C_Read... [19:04:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:06]Read from MH i2c: E2 [19:04:06]MH_I2C_Read... [19:04:06]Read from MH i2c: E2 03 00 [19:04:06]MH_I2C_Read... [19:04:06]Read from MH i2c: E2 03 00 2F 6F 00 90 00 12 [19:04:06]RAPDU: 90 00 [19:04:06]wFMCommunicate OK [19:04:06]wFMCommunicate request_size=255 [19:04:06]MH_SAM_APDU [19:04:06]CAPDU: 80 0D 02 02 FA 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 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 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 84 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 35 54 15 67 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 32 30 37 32 39 [19:04:06]Write to MH i2c: E2 02 01 30 6F 80 0D 02 02 FA 00 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 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 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 84 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 35 54 15 67 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 32 30 37 32 39 00 00 57 [19:04:06]Write i2c OK [19:04:06]MH_I2C_Read... [19:04:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:07]Read from MH i2c: E2 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: E2 03 00 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: E2 03 00 30 6F 00 90 00 13 [19:04:07]RAPDU: 90 00 [19:04:07]wFMCommunicate OK [19:04:07]wFMCommunicate request_size=44 [19:04:07]MH_SAM_APDU [19:04:07]CAPDU: 80 0D 02 02 27 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7C 0A 00 00 35 04 06 00 CC 9A BC 27 3D CA [19:04:07]Write to MH i2c: E2 2F 00 31 6F 80 0D 02 02 27 00 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7C 0A 00 00 35 04 06 00 CC 9A BC 27 3D CA 00 00 04 [19:04:07]Write i2c OK [19:04:07]MH_I2C_Read... [19:04:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:07]Read from MH i2c: E2 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: E2 03 00 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: E2 03 00 31 6F 00 90 00 14 [19:04:07]RAPDU: 90 00 [19:04:07]wFMCommunicate OK [19:04:07]wFMCommunicate request_size=4 [19:04:07]MH_SAM_APDU [19:04:07]CAPDU: 80 0D 03 02 [19:04:07]Write to MH i2c: E2 08 00 32 6F 80 0D 03 02 00 00 00 00 1C [19:04:07]Write i2c OK [19:04:07]MH_I2C_Read... [19:04:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:04:07]Read from MH i2c: E2 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: E2 0B 00 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: E2 0B 00 32 6F 00 61 26 80 77 11 14 60 49 90 00 69 [19:04:07]RAPDU: 61 26 80 77 11 14 60 49 90 00 [19:04:07]wFMCommunicate OK [19:04:07]SAM_PROTO_SignData done [19:04:07]FM_MakeSignedData done [19:04:07]CreateOFDProtocolMessage [19:04:07]wFMCommunicate request_size=4 [19:04:07]MH_SAM_APDU [19:04:07]CAPDU: 80 11 00 00 [19:04:07]Write to MH i2c: E2 08 00 33 6F 80 11 00 00 00 00 00 00 1C [19:04:07]Write i2c OK [19:04:07]MH_I2C_Read... [19:04:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:07]Read from MH i2c: E2 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: E2 17 00 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: E2 17 00 33 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 64 [19:04:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:04:07]wFMCommunicate OK [19:04:07]CreateOFDProtocolMessage done [19:04:07]OFDSenderStorePacket 2684 [19:04:07]StoreOFDPacket docnum=2684 [19:04:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2B 02 00 00 8B 40 23 02 49 2C 5A 03 01 00 03 00 17 02 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 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 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 84 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 35 54 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7C 0A 00 00 35 04 06 00 CC 9A BC 27 3D CA 61 26 80 77 11 14 60 49 [19:04:07]CheckFolder [19:04:07]dirname=/storage/ofd_packets [19:04:07]CheckFolder done [19:04:07]ProducePacketName [19:04:07]name=ofd_packets/00002684 [19:04:07]NVStorageSaveData ofd_packets/00002684 [19:04:07]File name is /storage/ofd_packets/00002684 [19:04:07]Write 585 bytes [19:04:07]NVStorageSaveData done [19:04:07]OFDSenderStorePacket done [19:04:07]KKMCreateOFDPacket done [19:04:07]NVStorageSaveData kkm_last_timestamp [19:04:07]File name is /storage/kkm_last_timestamp [19:04:07]Write 4 bytes [19:04:07]NVStorageSaveData done [19:04:07]ExternCall_PrintAddStr [19:04:07]wPrintStart [19:04:07]Write to MH i2c: 01 00 00 34 6F A3 [19:04:07]Write i2c OK [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: 01 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: 01 07 00 [19:04:07]MH_I2C_Read... [19:04:07]Read from MH i2c: 01 07 00 34 6F 00 00 00 00 00 FF 0F B8 [19:04:07]RasterBufferAndPrint [19:04:07]line Счет N : (3)100061 [19:04:07]line ИНН: 02508201610067 [19:04:07]line Контрольно-Кассовый Чек [19:04:07]line ПРОДАЖА [19:04:07]line Товар: 5449000189349 [19:04:07]line Холодный чай Fuse манго ананас 0,5л [19:04:07]line 2.000 * 75.00 [19:04:07]line = 150.00 [19:04:07]line НДС 12% НСП 1% [19:04:07]line > о реализуемом товаре [19:04:07]line Товар: 4700000160211 [19:04:07]line Вода Легенда 0,5л [19:04:07]line 1.000 * 40.00 [19:04:07]line = 40.00 [19:04:07]line НДС 12% НСП 1% [19:04:07]line > о реализуемом товаре [19:04:07]line Товар: 4870112003956 [19:04:07]line Шок батончик ALBENI SUPER Альбени Супер [19:04:07]line 2.000 * 75.00 [19:04:07]line = 150.00 [19:04:07]line НДС 12% НСП 1% [19:04:07]line > о реализуемом товаре [19:04:07]line ИТОГО: 340.00 [19:04:07]line НСП 1% : 3.01 [19:04:07]line НДС 12% : 36.11 [19:04:07]line Наличными: 0.00 [19:04:07]line Безнал.: 340.00 [19:04:07]line Место: АЗС № 162 "Партнер Нефть" [19:04:07]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:04:07]line СНО: Общий режим [19:04:07]line Чек 65 20.10.2024 19:04 [19:04:07]line Смена: 24 ФФД: 1.0 [19:04:07]line ЗНМ: 0300000191 [19:04:07]line РНМ: 0000000000207295 [19:04:07]line Версия ККМ: v1.0 [19:04:07]line Платежная система: Бакай Банк [19:04:07]line ФМ: 0000000002342820 [19:04:07]line ФД: 2684 [19:04:07]line ФПД: 224964953718218 [19:04:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190421&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2684&fm=224964953718218&tin=02508201610067®Number=0000000000207295&sum=34000 [19:04:07]line 0 [19:04:07]OFD Sender: Processing packet 2684 [packets to send 1, broken 0] [19:04:07]ProducePacketName [19:04:07]name=ofd_packets/00002684 [19:04:07]OFD Sender: To server: pG, [19:04:07]CommunicateWithHost lk.salyk.kg:30040 [19:04:07]ConnectInit lk.salyk.kg [19:04:07]written 0, free lines is 4095 [19:04:07]Connected sock=10 [19:04:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2B 02 00 00 8B 40 23 02 49 2C 5A 03 01 00 03 00 17 02 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 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 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 84 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 35 54 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7C 0A 00 00 35 04 06 00 CC 9A BC 27 3D CA 61 26 80 77 11 14 60 49 [19:04:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 F8 BB 47 00 C7 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7C 0A 00 00 F4 03 04 00 92 FF 14 67 B6 04 01 00 00 E0 16 E4 B7 8E 5E D5 ED [19:04:07]CommunicateWithHost err = 0 [19:04:07]CheckOFDResponse [19:04:07]1017 (14) - 77093643461234 [19:04:07]1041 (16) - 0000000002342820 [19:04:07]1040 (4) - 2684 [19:04:07]1012 (4) - 20.10.2024 13:03 [19:04:07]1206 (1) - 0 [19:04:07]OFD Sender: Remove packet 2684 [19:04:07]ProducePacketName [19:04:07]name=ofd_packets/00002684 [19:04:07]NVStorageDeleteData [19:04:08]Write to MH i2c: 01 00 00 6C 6F DB [19:04:08]Write i2c OK [19:04:08]MH_I2C_Read... [19:04:08]Read from MH i2c: 01 [19:04:08]MH_I2C_Read... [19:04:08]Read from MH i2c: 01 07 00 [19:04:08]MH_I2C_Read... [19:04:08]Read from MH i2c: 01 07 00 6C 6F 00 00 00 00 00 A7 0B 94 [19:04:08]RasterBufferAndPrint [19:04:08]line [19:04:08]line [19:04:08]line [19:04:08]line [19:04:08]line [19:04:08]written 0, free lines is 2989 [19:04:08]MH_Cut [19:04:08]Write to MH i2c: D1 01 00 73 6F 01 B4 [19:04:08]Write i2c OK [19:04:08]MH_I2C_Read... [19:04:08]Read from MH i2c: D1 [19:04:08]MH_I2C_Read... [19:04:08]Read from MH i2c: D1 01 00 [19:04:08]MH_I2C_Read... [19:04:08]Read from MH i2c: D1 01 00 73 6F 00 B3 [19:04:08]Write to MH i2c: 01 00 00 74 6F E3 [19:04:08]Write i2c OK [19:04:08]MH_I2C_Read... [19:04:08]OFD Sender: No OFD packet to send [19:04:09]*** Cut start [19:04:09]*** Partial cut [19:04:09]*** CUTSNS_PIN = 1 [19:04:09]*** CUTSNS_PIN = 0 [19:04:09]*** Brake cut motor [19:04:09]Read from MH i2c: 01 [19:04:09]MH_I2C_Read... [19:04:09]*** Stop cut motor [19:04:09]*** Cut end [19:04:09]Read from MH i2c: 01 07 00 [19:04:09]MH_I2C_Read... [19:04:09]Read from MH i2c: 01 07 00 74 6F 00 00 00 00 00 FF 0F F8 [19:04:09]process_action close_receipt done [19:04:09]requested_data is exist [19:04:09]produce_requested_data [19:04:09]requested_item fm.sn is exist - process it [19:04:09]wFMCommunicate request_size=4 [19:04:09]MH_SAM_APDU [19:04:09]CAPDU: 80 11 00 00 [19:04:09]Write to MH i2c: E2 08 00 75 6F 80 11 00 00 00 00 00 00 5E [19:04:10]Write i2c OK [19:04:10]MH_I2C_Read... [19:04:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:10]Read from MH i2c: E2 [19:04:10]MH_I2C_Read... [19:04:10]Read from MH i2c: E2 17 00 [19:04:10]MH_I2C_Read... [19:04:10]Read from MH i2c: E2 17 00 75 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A6 [19:04:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:04:10]wFMCommunicate OK [19:04:10]requested_item fd.num is exist - process it [19:04:10]SAM_PROTO_GetFieldsCounters [19:04:10]wFMCommunicate request_size=4 [19:04:10]MH_SAM_APDU [19:04:10]CAPDU: 80 13 00 00 [19:04:10]Write to MH i2c: E2 08 00 76 6F 80 13 00 00 00 00 00 00 61 [19:04:10]Write i2c OK [19:04:10]MH_I2C_Read... [19:04:10]Read from MH i2c: E2 [19:04:10]MH_I2C_Read... [19:04:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:04:10]Read from MH i2c: E2 62 00 [19:04:10]MH_I2C_Read... [19:04:10]Read from MH i2c: E2 62 00 76 6F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 D8 [19:04:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:04:10]wFMCommunicate OK [19:04:10]SAM_PROTO_GetFieldsCounters done [19:04:10]requested_item shift.num is exist - process it [19:04:10]requested_item shift.opened is exist - process it [19:04:10]req_shift_opened [19:04:10]FM_GetShiftState [19:04:10]SAM_PROTO_GetShiftState [19:04:10]wFMCommunicate request_size=4 [19:04:10]MH_SAM_APDU [19:04:10]CAPDU: 80 13 01 00 [19:04:10]Write to MH i2c: E2 08 00 77 6F 80 13 01 00 00 00 00 00 63 [19:04:10]Write i2c OK [19:04:10]MH_I2C_Read... [19:04:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:10]Read from MH i2c: E2 [19:04:10]MH_I2C_Read... [19:04:10]Read from MH i2c: E2 0E 00 [19:04:10]MH_I2C_Read... [19:04:10]Read from MH i2c: E2 0E 00 77 6F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 4D [19:04:10]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:04:10]wFMCommunicate OK [19:04:10]SAM_PROTO_GetShiftState done [19:04:10]FM_GetShiftState done [19:04:10]req_shift_opened done [19:04:10]requested_item shift.open_date is exist - process it [19:04:10]req_shift_open_date [19:04:10]req_shift_open_date done [19:04:10]produce_requested_data done [19:04:10]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2684,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [19:04:10]process_action_free close_receipt [19:04:10]json_value_free [19:04:10]json_value_free done [19:04:10]process_json_proto returns [19:04:10]Send response to host [19:04:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2684,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [19:04:10]free response buf [19:04:10]execute_script done [19:04:10]execute_script returns [19:04:10]free content buf [19:04:10]Sock 7.Close socket [19:04:10]Sock 7.Thread stoped [19:04:13]OFD Sender: No OFD packet to send [19:04:18]OFD Sender: No OFD packet to send [19:04:23]OFD Sender: No OFD packet to send [19:04:28]OFD Sender: No OFD packet to send [19:04:33]OFD Sender: No OFD packet to send [19:04:38]OFD Sender: No OFD packet to send [19:04:43]OFD Sender: No OFD packet to send [19:04:48]OFD Sender: No OFD packet to send [19:04:53]OFD Sender: No OFD packet to send [19:04:58]OFD Sender: No OFD packet to send [19:05:03]OFD Sender: No OFD packet to send [19:05:08]OFD Sender: No OFD packet to send [19:05:13]OFD Sender: No OFD packet to send [19:05:18]OFD Sender: No OFD packet to send [19:05:23]OFD Sender: No OFD packet to send [19:05:28]OFD Sender: No OFD packet to send [19:05:33]OFD Sender: No OFD packet to send [19:05:38]OFD Sender: No OFD packet to send [19:05:43]OFD Sender: No OFD packet to send [19:05:48]OFD Sender: No OFD packet to send [19:05:53]OFD Sender: No OFD packet to send [19:05:58]OFD Sender: No OFD packet to send [19:06:03]OFD Sender: No OFD packet to send [19:06:08]OFD Sender: No OFD packet to send [19:06:13]OFD Sender: No OFD packet to send [19:06:18]OFD Sender: No OFD packet to send [19:06:23]OFD Sender: No OFD packet to send [19:06:28]OFD Sender: No OFD packet to send [19:06:33]OFD Sender: No OFD packet to send [19:06:38]OFD Sender: No OFD packet to send [19:06:43]OFD Sender: No OFD packet to send [19:06:48]OFD Sender: No OFD packet to send [19:06:53]OFD Sender: No OFD packet to send [19:06:54]accept exits with 9 [19:06:54]New connection [19:06:54]New thread 3066707300 created [19:06:54]Thread 3066850660 joined [19:06:54]Waiting for new connection... [19:06:54] Sock 9.Parse request [19:06:54]Sock 9.Check first char [19:06:54]Sock 9.First char is OK [19:06:54]request: POST /json_proto HTTP/1.0 [19:06:54]Method: POST [19:06:54]URL: /json_proto [19:06:54]Method is POST - this is cgi request [19:06:54]url: /json_proto [19:06:54]query_string will be loaded in cgi processing [19:06:54]execute_cgi json_proto POST (null) [19:06:54]execute_cgi path=json_proto method=POST [19:06:54]POST find Content-Length [19:06:54]Host: 172.17.52.132:8080 [19:06:54]Content-Length: 844 [19:06:54]Content-Type: application/json [19:06:54] [19:06:54]POST finish read [19:06:54]Found Content-Length = 844 [19:06:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100062", "tax_sys" : 0, "items" : [ { "code": "4870002329937", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A Regular", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:06:54]execute_script... [19:06:54]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)100062", "tax_sys" : 0, "items" : [ { "code": "4870002329937", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A Regular", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:06:54]POST & json_proto [19:06:54]process_json_proto [19:06:54]json parsed OK: [19:06:54]protocol is kg_v1.0 [19:06:54]action value=close_receipt [19:06:54]process_action close_receipt [19:06:54]cmd_close_receipt [19:06:54]MH_GetDate [19:06:54]Write to MH i2c: F0 00 00 78 6F D6 [19:06:54]Write i2c OK [19:06:54]MH_I2C_Read... [19:06:54]Read from MH i2c: F0 [19:06:54]MH_I2C_Read... [19:06:54]Read from MH i2c: F0 09 00 [19:06:54]MH_I2C_Read... [19:06:54]Read from MH i2c: F0 09 00 78 6F 00 DE 54 15 67 5A BE F6 66 01 [19:06:54]GetLastDocTimeStamp 1729451061 [19:06:54]current date 1729451230 [19:06:54]FM_GetShiftState [19:06:54]SAM_PROTO_GetShiftState [19:06:54]wFMCommunicate request_size=4 [19:06:54]MH_SAM_APDU [19:06:54]CAPDU: 80 13 01 00 [19:06:54]Write to MH i2c: E2 08 00 79 6F 80 13 01 00 00 00 00 00 65 [19:06:54]Write i2c OK [19:06:54]MH_I2C_Read... [19:06:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:06:54]Read from MH i2c: E2 [19:06:54]MH_I2C_Read... [19:06:54]Read from MH i2c: E2 0E 00 [19:06:54]MH_I2C_Read... [19:06:54]Read from MH i2c: E2 0E 00 79 6F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 4F [19:06:54]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:06:54]wFMCommunicate OK [19:06:54]SAM_PROTO_GetShiftState done [19:06:54]FM_GetShiftState done [19:06:54]opened in 1729382427 [19:06:54]opened+sec_in_day 1729468827 [19:06:54]quantity*price = 26000 [19:06:54]sum+1 = 26001 [19:06:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 0.00 Безнал.: 260.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 66 20.10.2024 19:07 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2685 ФПД: 188425015180813 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190710&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2685&fm=188425015180813&tin=02508201610067®Number=0000000000207295&sum=26000 0 [19:06:55]StoreToDocumentArchive [19:06:55]shift 24 fd 2685 [19:06:55]save to /storage/0024/doc_00002685 [19:06:55]save last doc name /storage/0024/doc_00002685 to /storage/kkm_last_doc_name [19:06:55]save OK [19:06:55]Clear old archive folders... [19:06:55]ProcessDocumentItem done err = 0, tmpTLVsize=295 [19:06:55]tlvbuf is 0139F080 [19:06:55]SAM_PROTO_ClearQueue [19:06:55]wFMCommunicate request_size=4 [19:06:55]MH_SAM_APDU [19:06:55]CAPDU: 80 09 00 00 [19:06:55]Write to MH i2c: E2 08 00 86 6F 80 09 00 00 00 00 00 00 67 [19:06:55]Write i2c OK [19:06:55]MH_I2C_Read... [19:06:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:06:55]Read from MH i2c: E2 [19:06:55]MH_I2C_Read... [19:06:55]Read from MH i2c: E2 03 00 [19:06:55]MH_I2C_Read... [19:06:55]Read from MH i2c: E2 03 00 86 6F 00 90 00 69 [19:06:55]RAPDU: 90 00 [19:06:55]wFMCommunicate OK [19:06:55]SAM_PROTO_ClearQueue done [19:06:55]KKMCreateOFDPacket [19:06:55]OFDProtocolAddRootSTLVToBuf [19:06:55]FM_MakeSignedData [19:06:55]FM_MakeSignedData [19:06:55]SAM_PROTO_SignData [19:06:55]wFMCommunicate request_size=4 [19:06:55]MH_SAM_APDU [19:06:55]CAPDU: 80 0D 01 02 [19:06:55]Write to MH i2c: E2 08 00 87 6F 80 0D 01 02 00 00 00 00 6F [19:06:55]Write i2c OK [19:06:55]MH_I2C_Read... [19:06:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:06:55]Read from MH i2c: E2 [19:06:55]MH_I2C_Read... [19:06:55]Read from MH i2c: E2 03 00 [19:06:55]MH_I2C_Read... [19:06:55]Read from MH i2c: E2 03 00 87 6F 00 90 00 6A [19:06:55]RAPDU: 90 00 [19:06:55]wFMCommunicate OK [19:06:55]wFMCommunicate request_size=255 [19:06:55]MH_SAM_APDU [19:06:55]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 72 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 DE 54 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [19:06:55]Write to MH i2c: E2 02 01 88 6F 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 72 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 DE 54 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 E9 [19:06:55]Write i2c OK [19:06:55]MH_I2C_Read... [19:06:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:06:56]Read from MH i2c: E2 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: E2 03 00 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: E2 03 00 88 6F 00 90 00 6B [19:06:56]RAPDU: 90 00 [19:06:56]wFMCommunicate OK [19:06:56]wFMCommunicate request_size=54 [19:06:56]MH_SAM_APDU [19:06:56]CAPDU: 80 0D 02 02 31 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7D 0A 00 00 35 04 06 00 AB 5F 1E 18 BE 0D [19:06:56]Write to MH i2c: E2 39 00 89 6F 80 0D 02 02 31 00 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7D 0A 00 00 35 04 06 00 AB 5F 1E 18 BE 0D 00 00 20 [19:06:56]Write i2c OK [19:06:56]MH_I2C_Read... [19:06:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:06:56]Read from MH i2c: E2 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: E2 03 00 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: E2 03 00 89 6F 00 90 00 6C [19:06:56]RAPDU: 90 00 [19:06:56]wFMCommunicate OK [19:06:56]wFMCommunicate request_size=4 [19:06:56]MH_SAM_APDU [19:06:56]CAPDU: 80 0D 03 02 [19:06:56]Write to MH i2c: E2 08 00 8A 6F 80 0D 03 02 00 00 00 00 74 [19:06:56]Write i2c OK [19:06:56]MH_I2C_Read... [19:06:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:06:56]Read from MH i2c: E2 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: E2 0B 00 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: E2 0B 00 8A 6F 00 C3 07 DA 22 7D DE 11 3F 90 00 E6 [19:06:56]RAPDU: C3 07 DA 22 7D DE 11 3F 90 00 [19:06:56]wFMCommunicate OK [19:06:56]SAM_PROTO_SignData done [19:06:56]FM_MakeSignedData done [19:06:56]CreateOFDProtocolMessage [19:06:56]wFMCommunicate request_size=4 [19:06:56]MH_SAM_APDU [19:06:56]CAPDU: 80 11 00 00 [19:06:56]Write to MH i2c: E2 08 00 8B 6F 80 11 00 00 00 00 00 00 74 [19:06:56]Write i2c OK [19:06:56]MH_I2C_Read... [19:06:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:06:56]Read from MH i2c: E2 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: E2 17 00 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: E2 17 00 8B 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 BC [19:06:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:06:56]wFMCommunicate OK [19:06:56]CreateOFDProtocolMessage done [19:06:56]OFDSenderStorePacket 2685 [19:06:56]StoreOFDPacket docnum=2685 [19:06:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3B 01 00 00 ED 28 33 01 E4 20 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 72 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 DE 54 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7D 0A 00 00 35 04 06 00 AB 5F 1E 18 BE 0D C3 07 DA 22 7D DE 11 3F [19:06:56]CheckFolder [19:06:56]dirname=/storage/ofd_packets [19:06:56]CheckFolder done [19:06:56]ProducePacketName [19:06:56]name=ofd_packets/00002685 [19:06:56]NVStorageSaveData ofd_packets/00002685 [19:06:56]File name is /storage/ofd_packets/00002685 [19:06:56]Write 345 bytes [19:06:56]NVStorageSaveData done [19:06:56]OFDSenderStorePacket done [19:06:56]KKMCreateOFDPacket done [19:06:56]NVStorageSaveData kkm_last_timestamp [19:06:56]File name is /storage/kkm_last_timestamp [19:06:56]Write 4 bytes [19:06:56]NVStorageSaveData done [19:06:56]ExternCall_PrintAddStr [19:06:56]wPrintStart [19:06:56]Write to MH i2c: 01 00 00 8C 6F FB [19:06:56]Write i2c OK [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: 01 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: 01 07 00 [19:06:56]MH_I2C_Read... [19:06:56]Read from MH i2c: 01 07 00 8C 6F 00 00 00 00 00 FF 0F 10 [19:06:56]RasterBufferAndPrint [19:06:56]line Счет N : (3)100062 [19:06:56]line ИНН: 02508201610067 [19:06:56]line Контрольно-Кассовый Чек [19:06:56]line ПРОДАЖА [19:06:56]line Товар: 4870002329937 [19:06:56]line Напиток Lipton IceTea 1л персик Regular [19:06:56]line 2.000 * 130.00 [19:06:56]line = 260.00 [19:06:56]line НДС 12% НСП 1% [19:06:56]line > о реализуемом товаре [19:06:56]line ИТОГО: 260.00 [19:06:56]line НСП 1% : 2.30 [19:06:56]line НДС 12% : 27.61 [19:06:56]line Наличными: 0.00 [19:06:56]line Безнал.: 260.00 [19:06:56]line Место: АЗС № 162 "Партнер Нефть" [19:06:56]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:06:56]line СНО: Общий режим [19:06:56]line Чек 66 20.10.2024 19:07 [19:06:56]line Смена: 24 ФФД: 1.0 [19:06:56]line ЗНМ: 0300000191 [19:06:56]line РНМ: 0000000000207295 [19:06:56]line Версия ККМ: v1.0 [19:06:56]line Платежная система: Бакай Банк [19:06:56]line ФМ: 0000000002342820 [19:06:56]line ФД: 2685 [19:06:56]line ФПД: 188425015180813 [19:06:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190710&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2685&fm=188425015180813&tin=02508201610067®Number=0000000000207295&sum=26000 [19:06:56]line 0 [19:06:56]OFD Sender: Processing packet 2685 [packets to send 1, broken 0] [19:06:56]ProducePacketName [19:06:56]name=ofd_packets/00002685 [19:06:56]OFD Sender: To server: pG, [19:06:56]CommunicateWithHost lk.salyk.kg:30040 [19:06:56]ConnectInit lk.salyk.kg [19:06:56]written 0, free lines is 4095 [19:06:56]Connected sock=10 [19:06:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3B 01 00 00 ED 28 33 01 E4 20 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 72 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 DE 54 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7D 0A 00 00 35 04 06 00 AB 5F 1E 18 BE 0D C3 07 DA 22 7D DE 11 3F [19:06:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 49 AA 47 00 A4 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7D 0A 00 00 F4 03 04 00 3B 00 15 67 B6 04 01 00 00 AF F6 7E 80 28 FB 95 C3 [19:06:56]CommunicateWithHost err = 0 [19:06:56]CheckOFDResponse [19:06:56]1017 (14) - 77093643461234 [19:06:56]1041 (16) - 0000000002342820 [19:06:56]1040 (4) - 2685 [19:06:56]1012 (4) - 20.10.2024 13:06 [19:06:56]1206 (1) - 0 [19:06:56]OFD Sender: Remove packet 2685 [19:06:56]ProducePacketName [19:06:56]name=ofd_packets/00002685 [19:06:56]NVStorageDeleteData [19:06:57]Write to MH i2c: 01 00 00 B7 6F 26 [19:06:57]Write i2c OK [19:06:57]MH_I2C_Read... [19:06:57]Read from MH i2c: 01 [19:06:57]MH_I2C_Read... [19:06:57]Read from MH i2c: 01 07 00 [19:06:57]MH_I2C_Read... [19:06:57]Read from MH i2c: 01 07 00 B7 6F 00 00 00 00 00 84 0C BD [19:06:57]RasterBufferAndPrint [19:06:57]line [19:06:57]line [19:06:57]line [19:06:57]line [19:06:57]line [19:06:57]written 0, free lines is 3210 [19:06:57]MH_Cut [19:06:57]Write to MH i2c: D1 01 00 BE 6F 01 FF [19:06:57]Write i2c OK [19:06:57]MH_I2C_Read... [19:06:57]Read from MH i2c: D1 [19:06:57]MH_I2C_Read... [19:06:57]Read from MH i2c: D1 01 00 [19:06:57]MH_I2C_Read... [19:06:57]Read from MH i2c: D1 01 00 BE 6F 00 FE [19:06:57]Write to MH i2c: 01 00 00 BF 6F 2E [19:06:57]Write i2c OK [19:06:57]MH_I2C_Read... [19:06:57]OFD Sender: No OFD packet to send [19:06:57]*** Cut start [19:06:57]*** Partial cut [19:06:57]*** CUTSNS_PIN = 1 [19:06:58]*** CUTSNS_PIN = 0 [19:06:58]*** Brake cut motor [19:06:58]Read from MH i2c: 01 [19:06:58]MH_I2C_Read... [19:06:58]*** Stop cut motor [19:06:58]*** Cut end [19:06:58]Read from MH i2c: 01 07 00 [19:06:58]MH_I2C_Read... [19:06:58]Read from MH i2c: 01 07 00 BF 6F 00 00 00 00 00 FF 0F 43 [19:06:58]process_action close_receipt done [19:06:58]requested_data is exist [19:06:58]produce_requested_data [19:06:58]requested_item fm.sn is exist - process it [19:06:58]wFMCommunicate request_size=4 [19:06:58]MH_SAM_APDU [19:06:58]CAPDU: 80 11 00 00 [19:06:58]Write to MH i2c: E2 08 00 C0 6F 80 11 00 00 00 00 00 00 A9 [19:06:58]Write i2c OK [19:06:58]MH_I2C_Read... [19:06:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:06:58]Read from MH i2c: E2 [19:06:58]MH_I2C_Read... [19:06:58]Read from MH i2c: E2 17 00 [19:06:58]MH_I2C_Read... [19:06:58]Read from MH i2c: E2 17 00 C0 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F1 [19:06:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:06:58]wFMCommunicate OK [19:06:58]requested_item fd.num is exist - process it [19:06:58]SAM_PROTO_GetFieldsCounters [19:06:58]wFMCommunicate request_size=4 [19:06:58]MH_SAM_APDU [19:06:58]CAPDU: 80 13 00 00 [19:06:58]Write to MH i2c: E2 08 00 C1 6F 80 13 00 00 00 00 00 00 AC [19:06:58]Write i2c OK [19:06:58]MH_I2C_Read... [19:06:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:06:58]Read from MH i2c: E2 [19:06:58]MH_I2C_Read... [19:06:58]Read from MH i2c: E2 62 00 [19:06:58]MH_I2C_Read... [19:06:58]Read from MH i2c: E2 62 00 C1 6F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7D 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 27 [19:06:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7D 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:06:58]wFMCommunicate OK [19:06:58]SAM_PROTO_GetFieldsCounters done [19:06:58]requested_item shift.num is exist - process it [19:06:58]requested_item shift.opened is exist - process it [19:06:58]req_shift_opened [19:06:58]FM_GetShiftState [19:06:58]SAM_PROTO_GetShiftState [19:06:58]wFMCommunicate request_size=4 [19:06:58]MH_SAM_APDU [19:06:58]CAPDU: 80 13 01 00 [19:06:58]Write to MH i2c: E2 08 00 C2 6F 80 13 01 00 00 00 00 00 AE [19:06:58]Write i2c OK [19:06:58]MH_I2C_Read... [19:06:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:06:58]Read from MH i2c: E2 [19:06:58]MH_I2C_Read... [19:06:58]Read from MH i2c: E2 0E 00 [19:06:58]MH_I2C_Read... [19:06:58]Read from MH i2c: E2 0E 00 C2 6F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 98 [19:06:58]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:06:58]wFMCommunicate OK [19:06:58]SAM_PROTO_GetShiftState done [19:06:58]FM_GetShiftState done [19:06:58]req_shift_opened done [19:06:58]requested_item shift.open_date is exist - process it [19:06:58]req_shift_open_date [19:06:58]req_shift_open_date done [19:06:58]produce_requested_data done [19:06:58]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2685,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [19:06:58]process_action_free close_receipt [19:06:58]json_value_free [19:06:58]json_value_free done [19:06:58]process_json_proto returns [19:06:58]Send response to host [19:06:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2685,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [19:06:58]free response buf [19:06:58]execute_script done [19:06:58]execute_script returns [19:06:58]free content buf [19:06:58]Sock 9.Close socket [19:06:58]Sock 9.Thread stoped [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:36]accept exits with 7 [19:16:36]New connection [19:16:36]New thread 3066850660 created [19:16:36]Thread 3066707300 joined [19:16:36]Waiting for new connection... [19:16:36] Sock 7.Parse request [19:16:36]Sock 7.Check first char [19:16:36]Sock 7.First char is OK [19:16:36]request: POST /json_proto HTTP/1.0 [19:16:36]Method: POST [19:16:36]URL: /json_proto [19:16:36]Method is POST - this is cgi request [19:16:36]url: /json_proto [19:16:36]query_string will be loaded in cgi processing [19:16:36]execute_cgi json_proto POST (null) [19:16:36]execute_cgi path=json_proto method=POST [19:16:36]POST find Content-Length [19:16:36]Host: 172.17.52.132:8080 [19:16:36]Content-Length: 828 [19:16:36]Content-Type: application/json [19:16:36] [19:16:36]POST finish read [19:16:36]Found Content-Length = 828 [19:16:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100063", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:16:36]execute_script... [19:16:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100063", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:16:36]POST & json_proto [19:16:36]process_json_proto [19:16:36]json parsed OK: [19:16:36]protocol is kg_v1.0 [19:16:36]action value=close_receipt [19:16:36]process_action close_receipt [19:16:36]cmd_close_receipt [19:16:36]MH_GetDate [19:16:36]Write to MH i2c: F0 00 00 C3 6F 21 [19:16:36]Write i2c OK [19:16:36]MH_I2C_Read... [19:16:36]Read from MH i2c: F0 [19:16:36]MH_I2C_Read... [19:16:36]Read from MH i2c: F0 09 00 [19:16:36]MH_I2C_Read... [19:16:36]Read from MH i2c: F0 09 00 C3 6F 00 25 57 15 67 5A BE F6 66 96 [19:16:36]GetLastDocTimeStamp 1729451230 [19:16:36]current date 1729451813 [19:16:36]FM_GetShiftState [19:16:36]SAM_PROTO_GetShiftState [19:16:36]wFMCommunicate request_size=4 [19:16:36]MH_SAM_APDU [19:16:36]CAPDU: 80 13 01 00 [19:16:36]Write to MH i2c: E2 08 00 C4 6F 80 13 01 00 00 00 00 00 B0 [19:16:36]Write i2c OK [19:16:36]MH_I2C_Read... [19:16:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:16:36]Read from MH i2c: E2 [19:16:36]MH_I2C_Read... [19:16:36]Read from MH i2c: E2 0E 00 [19:16:36]MH_I2C_Read... [19:16:36]Read from MH i2c: E2 0E 00 C4 6F 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9A [19:16:36]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:16:36]wFMCommunicate OK [19:16:36]SAM_PROTO_GetShiftState done [19:16:36]FM_GetShiftState done [19:16:36]opened in 1729382427 [19:16:36]opened+sec_in_day 1729468827 [19:16:36]quantity*price = 15000 [19:16:36]sum+1 = 15001 [19:16:36]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46141538 Р/ж Orbit Bubblemint 13,6г 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.73 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 67 20.10.2024 19:16 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2686 ФПД: 277826978511646 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T191653&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2686&fm=277826978511646&tin=02508201610067®Number=0000000000207295&sum=19500 0 [19:16:37]StoreToDocumentArchive [19:16:37]shift 24 fd 2686 [19:16:37]save to /storage/0024/doc_00002686 [19:16:37]save last doc name /storage/0024/doc_00002686 to /storage/kkm_last_doc_name [19:16:37]save OK [19:16:37]Clear old archive folders... [19:16:37]ProcessDocumentItem done err = 0, tmpTLVsize=368 [19:16:37]tlvbuf is 01517310 [19:16:37]SAM_PROTO_ClearQueue [19:16:37]wFMCommunicate request_size=4 [19:16:37]MH_SAM_APDU [19:16:37]CAPDU: 80 09 00 00 [19:16:37]Write to MH i2c: E2 08 00 D1 6F 80 09 00 00 00 00 00 00 B2 [19:16:37]Write i2c OK [19:16:37]MH_I2C_Read... [19:16:37]OFD Sender: No OFD packet to send [19:16:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:16:37]Read from MH i2c: E2 [19:16:37]MH_I2C_Read... [19:16:37]Read from MH i2c: E2 03 00 [19:16:37]MH_I2C_Read... [19:16:37]Read from MH i2c: E2 03 00 D1 6F 00 90 00 B4 [19:16:37]RAPDU: 90 00 [19:16:37]wFMCommunicate OK [19:16:37]SAM_PROTO_ClearQueue done [19:16:37]KKMCreateOFDPacket [19:16:37]OFDProtocolAddRootSTLVToBuf [19:16:37]FM_MakeSignedData [19:16:37]FM_MakeSignedData [19:16:37]SAM_PROTO_SignData [19:16:37]wFMCommunicate request_size=4 [19:16:37]MH_SAM_APDU [19:16:37]CAPDU: 80 0D 01 02 [19:16:37]Write to MH i2c: E2 08 00 D2 6F 80 0D 01 02 00 00 00 00 BA [19:16:37]Write i2c OK [19:16:37]MH_I2C_Read... [19:16:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:16:37]Read from MH i2c: E2 [19:16:37]MH_I2C_Read... [19:16:37]Read from MH i2c: E2 03 00 [19:16:37]MH_I2C_Read... [19:16:37]Read from MH i2c: E2 03 00 D2 6F 00 90 00 B5 [19:16:37]RAPDU: 90 00 [19:16:37]wFMCommunicate OK [19:16:37]wFMCommunicate request_size=255 [19:16:37]MH_SAM_APDU [19:16:37]CAPDU: 80 0D 02 02 FA 03 00 70 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 [19:16:37]Write to MH i2c: E2 02 01 D3 6F 80 0D 02 02 FA 00 03 00 70 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 00 00 19 [19:16:37]Write i2c OK [19:16:37]MH_I2C_Read... [19:16:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:16:38]Read from MH i2c: E2 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: E2 03 00 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: E2 03 00 D3 6F 00 90 00 B6 [19:16:38]RAPDU: 90 00 [19:16:38]wFMCommunicate OK [19:16:38]wFMCommunicate request_size=127 [19:16:38]MH_SAM_APDU [19:16:38]CAPDU: 80 0D 02 02 7A 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 25 57 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7E 0A 00 00 35 04 06 00 FC AE A2 5C FB 1E [19:16:38]Write to MH i2c: E2 82 00 D4 6F 80 0D 02 02 7A 00 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 25 57 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7E 0A 00 00 35 04 06 00 FC AE A2 5C FB 1E 00 00 1C [19:16:38]Write i2c OK [19:16:38]MH_I2C_Read... [19:16:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:16:38]Read from MH i2c: E2 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: E2 03 00 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: E2 03 00 D4 6F 00 90 00 B7 [19:16:38]RAPDU: 90 00 [19:16:38]wFMCommunicate OK [19:16:38]wFMCommunicate request_size=4 [19:16:38]MH_SAM_APDU [19:16:38]CAPDU: 80 0D 03 02 [19:16:38]Write to MH i2c: E2 08 00 D5 6F 80 0D 03 02 00 00 00 00 BF [19:16:38]Write i2c OK [19:16:38]MH_I2C_Read... [19:16:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:16:38]Read from MH i2c: E2 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: E2 0B 00 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: E2 0B 00 D5 6F 00 FF 9E 03 04 70 23 27 D2 90 00 F0 [19:16:38]RAPDU: FF 9E 03 04 70 23 27 D2 90 00 [19:16:38]wFMCommunicate OK [19:16:38]SAM_PROTO_SignData done [19:16:38]FM_MakeSignedData done [19:16:38]CreateOFDProtocolMessage [19:16:38]wFMCommunicate request_size=4 [19:16:38]MH_SAM_APDU [19:16:38]CAPDU: 80 11 00 00 [19:16:38]Write to MH i2c: E2 08 00 D6 6F 80 11 00 00 00 00 00 00 BF [19:16:38]Write i2c OK [19:16:38]MH_I2C_Read... [19:16:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:16:38]Read from MH i2c: E2 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: E2 17 00 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: E2 17 00 D6 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 07 [19:16:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:16:38]wFMCommunicate OK [19:16:38]CreateOFDProtocolMessage done [19:16:38]OFDSenderStorePacket 2686 [19:16:38]StoreOFDPacket docnum=2686 [19:16:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 84 01 00 00 5E B4 7C 01 9B 3B 5A 03 01 00 03 00 70 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 25 57 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7E 0A 00 00 35 04 06 00 FC AE A2 5C FB 1E FF 9E 03 04 70 23 27 D2 [19:16:38]CheckFolder [19:16:38]dirname=/storage/ofd_packets [19:16:38]CheckFolder done [19:16:38]ProducePacketName [19:16:38]name=ofd_packets/00002686 [19:16:38]NVStorageSaveData ofd_packets/00002686 [19:16:38]File name is /storage/ofd_packets/00002686 [19:16:38]Write 418 bytes [19:16:38]NVStorageSaveData done [19:16:38]OFDSenderStorePacket done [19:16:38]KKMCreateOFDPacket done [19:16:38]NVStorageSaveData kkm_last_timestamp [19:16:38]File name is /storage/kkm_last_timestamp [19:16:38]Write 4 bytes [19:16:38]NVStorageSaveData done [19:16:38]ExternCall_PrintAddStr [19:16:38]wPrintStart [19:16:38]Write to MH i2c: 01 00 00 D7 6F 46 [19:16:38]Write i2c OK [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: 01 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: 01 07 00 [19:16:38]MH_I2C_Read... [19:16:38]Read from MH i2c: 01 07 00 D7 6F 00 00 00 00 00 FF 0F 5B [19:16:38]RasterBufferAndPrint [19:16:38]line Счет N : (3)100063 [19:16:38]line ИНН: 02508201610067 [19:16:38]line Контрольно-Кассовый Чек [19:16:38]line ПРОДАЖА [19:16:38]line Товар: 4640030091607 [19:16:38]line Сигареты ESSE Exchange [19:16:38]line 1.000 * 150.00 [19:16:38]line = 150.00 [19:16:38]line НДС 12% НСП 1% [19:16:38]line > о реализуемом товаре [19:16:38]line Товар: 46141538 [19:16:38]line Р/ж Orbit Bubblemint 13,6г [19:16:38]line 1.000 * 45.00 [19:16:38]line = 45.00 [19:16:38]line НДС 12% НСП 1% [19:16:38]line > о реализуемом товаре [19:16:38]line ИТОГО: 195.00 [19:16:38]line НСП 1% : 1.73 [19:16:38]line НДС 12% : 20.71 [19:16:38]line Наличными: 195.00 [19:16:38]line Безнал.: 0.00 [19:16:38]line Место: АЗС № 162 "Партнер Нефть" [19:16:38]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:16:38]line СНО: Общий режим [19:16:38]line Чек 67 20.10.2024 19:16 [19:16:38]line Смена: 24 ФФД: 1.0 [19:16:38]line ЗНМ: 0300000191 [19:16:38]line РНМ: 0000000000207295 [19:16:38]line Версия ККМ: v1.0 [19:16:38]line ФМ: 0000000002342820 [19:16:38]line ФД: 2686 [19:16:38]line ФПД: 277826978511646 [19:16:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T191653&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2686&fm=277826978511646&tin=02508201610067®Number=0000000000207295&sum=19500 [19:16:38]line 0 [19:16:38]OFD Sender: Processing packet 2686 [packets to send 1, broken 0] [19:16:38]ProducePacketName [19:16:38]name=ofd_packets/00002686 [19:16:38]OFD Sender: To server: pG, [19:16:38]CommunicateWithHost lk.salyk.kg:30040 [19:16:38]ConnectInit lk.salyk.kg [19:16:38]written 0, free lines is 4095 [19:16:38]Connected sock=10 [19:16:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 84 01 00 00 5E B4 7C 01 9B 3B 5A 03 01 00 03 00 70 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 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 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 25 57 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7E 0A 00 00 35 04 06 00 FC AE A2 5C FB 1E FF 9E 03 04 70 23 27 D2 [19:16:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 FD 77 47 00 80 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 33 34 32 38 32 30 10 04 04 00 7E 0A 00 00 F4 03 04 00 82 02 15 67 B6 04 01 00 00 E2 CF 0A 1A A9 F5 98 39 [19:16:39]CommunicateWithHost err = 0 [19:16:39]CheckOFDResponse [19:16:39]1017 (14) - 77093643461234 [19:16:39]1041 (16) - 0000000002342820 [19:16:39]1040 (4) - 2686 [19:16:39]1012 (4) - 20.10.2024 13:15 [19:16:39]1206 (1) - 0 [19:16:39]OFD Sender: Remove packet 2686 [19:16:39]ProducePacketName [19:16:39]name=ofd_packets/00002686 [19:16:39]NVStorageDeleteData [19:16:39]Write to MH i2c: 01 00 00 05 70 75 [19:16:39]Write i2c OK [19:16:39]MH_I2C_Read... [19:16:39]Read from MH i2c: 01 [19:16:39]MH_I2C_Read... [19:16:39]Read from MH i2c: 01 07 00 [19:16:39]MH_I2C_Read... [19:16:39]Read from MH i2c: 01 07 00 05 70 00 00 00 00 00 64 0C EC [19:16:39]RasterBufferAndPrint [19:16:39]line [19:16:39]line [19:16:39]line [19:16:39]line [19:16:39]line [19:16:39]written 0, free lines is 3180 [19:16:39]MH_Cut [19:16:39]Write to MH i2c: D1 01 00 0C 70 01 4E [19:16:39]Write i2c OK [19:16:39]MH_I2C_Read... [19:16:39]Read from MH i2c: D1 [19:16:39]MH_I2C_Read... [19:16:39]Read from MH i2c: D1 01 00 [19:16:39]MH_I2C_Read... [19:16:39]Read from MH i2c: D1 01 00 0C 70 00 4D [19:16:39]Write to MH i2c: 01 00 00 0D 70 7D [19:16:39]Write i2c OK [19:16:39]MH_I2C_Read... [19:16:39]OFD Sender: No OFD packet to send [19:16:40]*** Cut start [19:16:40]*** Partial cut [19:16:40]*** CUTSNS_PIN = 1 [19:16:40]*** CUTSNS_PIN = 0 [19:16:40]*** Brake cut motor [19:16:40]Read from MH i2c: 01 [19:16:40]MH_I2C_Read... [19:16:40]*** Stop cut motor [19:16:40]*** Cut end [19:16:40]Read from MH i2c: 01 07 00 [19:16:40]MH_I2C_Read... [19:16:40]Read from MH i2c: 01 07 00 0D 70 00 00 00 00 00 FF 0F 92 [19:16:40]process_action close_receipt done [19:16:40]requested_data is exist [19:16:40]produce_requested_data [19:16:40]requested_item fm.sn is exist - process it [19:16:40]wFMCommunicate request_size=4 [19:16:40]MH_SAM_APDU [19:16:40]CAPDU: 80 11 00 00 [19:16:40]Write to MH i2c: E2 08 00 0E 70 80 11 00 00 00 00 00 00 F8 [19:16:40]Write i2c OK [19:16:40]MH_I2C_Read... [19:16:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:16:40]Read from MH i2c: E2 [19:16:40]MH_I2C_Read... [19:16:40]Read from MH i2c: E2 17 00 [19:16:40]MH_I2C_Read... [19:16:40]Read from MH i2c: E2 17 00 0E 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 40 [19:16:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:16:41]wFMCommunicate OK [19:16:41]requested_item fd.num is exist - process it [19:16:41]SAM_PROTO_GetFieldsCounters [19:16:41]wFMCommunicate request_size=4 [19:16:41]MH_SAM_APDU [19:16:41]CAPDU: 80 13 00 00 [19:16:41]Write to MH i2c: E2 08 00 0F 70 80 13 00 00 00 00 00 00 FB [19:16:41]Write i2c OK [19:16:41]MH_I2C_Read... [19:16:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:16:41]Read from MH i2c: E2 [19:16:41]MH_I2C_Read... [19:16:41]Read from MH i2c: E2 62 00 [19:16:41]MH_I2C_Read... [19:16:41]Read from MH i2c: E2 62 00 0F 70 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7E 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 7A [19:16:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7E 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:16:41]wFMCommunicate OK [19:16:41]SAM_PROTO_GetFieldsCounters done [19:16:41]requested_item shift.num is exist - process it [19:16:41]requested_item shift.opened is exist - process it [19:16:41]req_shift_opened [19:16:41]FM_GetShiftState [19:16:41]SAM_PROTO_GetShiftState [19:16:41]wFMCommunicate request_size=4 [19:16:41]MH_SAM_APDU [19:16:41]CAPDU: 80 13 01 00 [19:16:41]Write to MH i2c: E2 08 00 10 70 80 13 01 00 00 00 00 00 FD [19:16:41]Write i2c OK [19:16:41]MH_I2C_Read... [19:16:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:16:41]Read from MH i2c: E2 [19:16:41]MH_I2C_Read... [19:16:41]Read from MH i2c: E2 0E 00 [19:16:41]MH_I2C_Read... [19:16:41]Read from MH i2c: E2 0E 00 10 70 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E7 [19:16:41]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:16:41]wFMCommunicate OK [19:16:41]SAM_PROTO_GetShiftState done [19:16:41]FM_GetShiftState done [19:16:41]req_shift_opened done [19:16:41]requested_item shift.open_date is exist - process it [19:16:41]req_shift_open_date [19:16:41]req_shift_open_date done [19:16:41]produce_requested_data done [19:16:41]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2686,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [19:16:41]process_action_free close_receipt [19:16:41]json_value_free [19:16:41]json_value_free done [19:16:41]process_json_proto returns [19:16:41]Send response to host [19:16:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2686,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [19:16:41]free response buf [19:16:41]execute_script done [19:16:41]execute_script returns [19:16:41]free content buf [19:16:41]Sock 7.Close socket [19:16:41]Sock 7.Thread stoped [19:16:44]OFD Sender: No OFD packet to send [19:16:49]OFD Sender: No OFD packet to send [19:16:54]OFD Sender: No OFD packet to send [19:16:59]OFD Sender: No OFD packet to send [19:17:04]OFD Sender: No OFD packet to send [19:17:09]OFD Sender: No OFD packet to send [19:17:14]OFD Sender: No OFD packet to send [19:17:19]OFD Sender: No OFD packet to send [19:17:24]OFD Sender: No OFD packet to send [19:17:29]OFD Sender: No OFD packet to send [19:17:34]OFD Sender: No OFD packet to send [19:17:39]OFD Sender: No OFD packet to send [19:17:44]OFD Sender: No OFD packet to send [19:17:49]OFD Sender: No OFD packet to send [19:17:54]OFD Sender: No OFD packet to send [19:17:59]OFD Sender: No OFD packet to send [19:18:04]OFD Sender: No OFD packet to send [19:18:09]OFD Sender: No OFD packet to send [19:18:14]OFD Sender: No OFD packet to send [19:18:19]OFD Sender: No OFD packet to send [19:18:24]OFD Sender: No OFD packet to send [19:18:29]OFD Sender: No OFD packet to send [19:18:34]OFD Sender: No OFD packet to send [19:18:39]OFD Sender: No OFD packet to send [19:18:44]OFD Sender: No OFD packet to send [19:18:49]OFD Sender: No OFD packet to send [19:18:54]OFD Sender: No OFD packet to send [19:18:59]OFD Sender: No OFD packet to send [19:19:04]OFD Sender: No OFD packet to send [19:19:09]OFD Sender: No OFD packet to send [19:19:14]OFD Sender: No OFD packet to send [19:19:19]OFD Sender: No OFD packet to send [19:19:24]OFD Sender: No OFD packet to send [19:19:29]OFD Sender: No OFD packet to send [19:19:34]OFD Sender: No OFD packet to send [19:19:39]OFD Sender: No OFD packet to send [19:19:44]OFD Sender: No OFD packet to send [19:19:49]OFD Sender: No OFD packet to send [19:19:54]OFD Sender: No OFD packet to send [19:19:59]OFD Sender: No OFD packet to send [19:20:04]OFD Sender: No OFD packet to send [19:20:09]OFD Sender: No OFD packet to send [19:20:14]OFD Sender: No OFD packet to send [19:20:19]OFD Sender: No OFD packet to send [19:20:24]OFD Sender: No OFD packet to send [19:20:29]OFD Sender: No OFD packet to send [19:20:34]OFD Sender: No OFD packet to send [19:20:39]OFD Sender: No OFD packet to send [19:20:44]OFD Sender: No OFD packet to send [19:20:49]OFD Sender: No OFD packet to send [19:20:54]OFD Sender: No OFD packet to send [19:20:59]OFD Sender: No OFD packet to send [19:21:04]OFD Sender: No OFD packet to send [19:21:09]OFD Sender: No OFD packet to send [19:21:14]OFD Sender: No OFD packet to send [19:21:19]OFD Sender: No OFD packet to send [19:21:24]OFD Sender: No OFD packet to send [19:21:29]OFD Sender: No OFD packet to send [19:21:34]OFD Sender: No OFD packet to send [19:21:39]OFD Sender: No OFD packet to send [19:21:44]OFD Sender: No OFD packet to send [19:21:49]OFD Sender: No OFD packet to send [19:21:54]OFD Sender: No OFD packet to send [19:21:59]OFD Sender: No OFD packet to send [19:22:04]OFD Sender: No OFD packet to send [19:22:09]OFD Sender: No OFD packet to send [19:22:14]OFD Sender: No OFD packet to send [19:22:19]OFD Sender: No OFD packet to send [19:22:24]OFD Sender: No OFD packet to send [19:22:29]OFD Sender: No OFD packet to send [19:22:34]OFD Sender: No OFD packet to send [19:22:39]OFD Sender: No OFD packet to send [19:22:44]OFD Sender: No OFD packet to send [19:22:49]OFD Sender: No OFD packet to send [19:22:54]OFD Sender: No OFD packet to send [19:22:59]OFD Sender: No OFD packet to send [19:23:04]OFD Sender: No OFD packet to send [19:23:09]OFD Sender: No OFD packet to send [19:23:14]OFD Sender: No OFD packet to send [19:23:19]OFD Sender: No OFD packet to send [19:23:24]OFD Sender: No OFD packet to send [19:23:29]OFD Sender: No OFD packet to send [19:23:34]OFD Sender: No OFD packet to send [19:23:39]OFD Sender: No OFD packet to send [19:23:44]OFD Sender: No OFD packet to send [19:23:49]OFD Sender: No OFD packet to send [19:23:54]OFD Sender: No OFD packet to send [19:23:59]OFD Sender: No OFD packet to send [19:24:04]OFD Sender: No OFD packet to send [19:24:09]OFD Sender: No OFD packet to send [19:24:14]OFD Sender: No OFD packet to send [19:24:19]OFD Sender: No OFD packet to send [19:24:24]OFD Sender: No OFD packet to send [19:24:29]OFD Sender: No OFD packet to send [19:24:34]OFD Sender: No OFD packet to send [19:24:39]OFD Sender: No OFD packet to send [19:24:44]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:09]accept exits with 9 [19:39:09]New connection [19:39:09]New thread 3066707300 created [19:39:09]Thread 3066850660 joined [19:39:09]Waiting for new connection... [19:39:09] Sock 9.Parse request [19:39:09]Sock 9.Check first char [19:39:09]Sock 9.First char is OK [19:39:09]request: POST /json_proto HTTP/1.0 [19:39:09]Method: POST [19:39:09]URL: /json_proto [19:39:09]Method is POST - this is cgi request [19:39:09]url: /json_proto [19:39:09]query_string will be loaded in cgi processing [19:39:09]execute_cgi json_proto POST (null) [19:39:09]execute_cgi path=json_proto method=POST [19:39:09]POST find Content-Length [19:39:09]Host: 172.17.52.132:8080 [19:39:09]Content-Length: 647 [19:39:09]Content-Type: application/json [19:39:09] [19:39:09]POST finish read [19:39:09]Found Content-Length = 647 [19:39:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100064", "tax_sys" : 0, "items" : [ { "code": "4700001061098", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,5\u043B", "price" : 555.00, "quantity" : 1.000, "sum" : 555.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 555.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:39:09]execute_script... [19:39:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100064", "tax_sys" : 0, "items" : [ { "code": "4700001061098", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,5\u043B", "price" : 555.00, "quantity" : 1.000, "sum" : 555.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 555.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:39:09]POST & json_proto [19:39:09]process_json_proto [19:39:09]json parsed OK: [19:39:09]protocol is kg_v1.0 [19:39:09]action value=close_receipt [19:39:09]process_action close_receipt [19:39:09]cmd_close_receipt [19:39:09]MH_GetDate [19:39:09]Write to MH i2c: F0 00 00 11 70 70 [19:39:09]Write i2c OK [19:39:09]MH_I2C_Read... [19:39:09]Read from MH i2c: F0 [19:39:09]MH_I2C_Read... [19:39:09]Read from MH i2c: F0 09 00 [19:39:09]MH_I2C_Read... [19:39:09]Read from MH i2c: F0 09 00 11 70 00 6D 5C 15 67 5A BE F6 66 32 [19:39:09]GetLastDocTimeStamp 1729451813 [19:39:09]current date 1729453165 [19:39:09]FM_GetShiftState [19:39:09]SAM_PROTO_GetShiftState [19:39:09]wFMCommunicate request_size=4 [19:39:09]MH_SAM_APDU [19:39:09]CAPDU: 80 13 01 00 [19:39:09]Write to MH i2c: E2 08 00 12 70 80 13 01 00 00 00 00 00 FF [19:39:09]Write i2c OK [19:39:09]MH_I2C_Read... [19:39:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:39:09]Read from MH i2c: E2 [19:39:09]MH_I2C_Read... [19:39:09]Read from MH i2c: E2 0E 00 [19:39:09]MH_I2C_Read... [19:39:09]Read from MH i2c: E2 0E 00 12 70 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E9 [19:39:09]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:39:09]wFMCommunicate OK [19:39:09]SAM_PROTO_GetShiftState done [19:39:09]FM_GetShiftState done [19:39:09]opened in 1729382427 [19:39:09]opened+sec_in_day 1729468827 [19:39:09]quantity*price = 55500 [19:39:09]sum+1 = 55501 [19:39:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 555.00 НСП 1% : 4.91 НДС 12% : 58.94 Наличными: 555.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 68 20.10.2024 19:39 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2687 ФПД: 279751051780656 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T193925&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2687&fm=279751051780656&tin=02508201610067®Number=0000000000207295&sum=55500 0 [19:39:10]StoreToDocumentArchive [19:39:10]shift 24 fd 2687 [19:39:10]save to /storage/0024/doc_00002687 [19:39:10]save last doc name /storage/0024/doc_00002687 to /storage/kkm_last_doc_name [19:39:10]save OK [19:39:10]Clear old archive folders... [19:39:10]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:39:10]tlvbuf is 015173D0 [19:39:10]SAM_PROTO_ClearQueue [19:39:10]wFMCommunicate request_size=4 [19:39:10]MH_SAM_APDU [19:39:10]CAPDU: 80 09 00 00 [19:39:10]Write to MH i2c: E2 08 00 1F 70 80 09 00 00 00 00 00 00 01 [19:39:10]Write i2c OK [19:39:10]MH_I2C_Read... [19:39:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:39:10]Read from MH i2c: E2 [19:39:10]MH_I2C_Read... [19:39:10]Read from MH i2c: E2 03 00 [19:39:10]MH_I2C_Read... [19:39:10]Read from MH i2c: E2 03 00 1F 70 00 90 00 03 [19:39:10]RAPDU: 90 00 [19:39:10]wFMCommunicate OK [19:39:10]SAM_PROTO_ClearQueue done [19:39:10]KKMCreateOFDPacket [19:39:10]OFDProtocolAddRootSTLVToBuf [19:39:10]FM_MakeSignedData [19:39:10]FM_MakeSignedData [19:39:10]SAM_PROTO_SignData [19:39:10]wFMCommunicate request_size=4 [19:39:10]MH_SAM_APDU [19:39:10]CAPDU: 80 0D 01 02 [19:39:10]Write to MH i2c: E2 08 00 20 70 80 0D 01 02 00 00 00 00 09 [19:39:10]OFD Sender: No OFD packet to send [19:39:10]Write i2c OK [19:39:10]MH_I2C_Read... [19:39:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:39:10]Read from MH i2c: E2 [19:39:10]MH_I2C_Read... [19:39:10]Read from MH i2c: E2 03 00 [19:39:10]MH_I2C_Read... [19:39:10]Read from MH i2c: E2 03 00 20 70 00 90 00 04 [19:39:10]RAPDU: 90 00 [19:39:10]wFMCommunicate OK [19:39:10]wFMCommunicate request_size=255 [19:39:10]MH_SAM_APDU [19:39:10]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 30 39 38 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC D8 00 00 00 00 13 04 06 00 CC D8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 06 17 00 00 00 00 07 04 06 00 CC D8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 6D 5C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 [19:39:10]Write to MH i2c: E2 02 01 21 70 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 30 39 38 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC D8 00 00 00 00 13 04 06 00 CC D8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 06 17 00 00 00 00 07 04 06 00 CC D8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 6D 5C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 00 00 B0 [19:39:10]Write i2c OK [19:39:10]MH_I2C_Read... [19:39:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:39:10]Read from MH i2c: E2 [19:39:10]MH_I2C_Read... [19:39:10]Read from MH i2c: E2 03 00 [19:39:10]MH_I2C_Read... [19:39:10]Read from MH i2c: E2 03 00 21 70 00 90 00 05 [19:39:10]RAPDU: 90 00 [19:39:10]wFMCommunicate OK [19:39:10]wFMCommunicate request_size=34 [19:39:10]MH_SAM_APDU [19:39:10]CAPDU: 80 0D 02 02 1D 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7F 0A 00 00 35 04 06 00 FE 6E 9E 11 22 30 [19:39:11]Write to MH i2c: E2 25 00 22 70 80 0D 02 02 1D 00 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7F 0A 00 00 35 04 06 00 FE 6E 9E 11 22 30 00 00 B8 [19:39:11]Write i2c OK [19:39:11]MH_I2C_Read... [19:39:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:39:11]Read from MH i2c: E2 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: E2 03 00 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: E2 03 00 22 70 00 90 00 06 [19:39:11]RAPDU: 90 00 [19:39:11]wFMCommunicate OK [19:39:11]wFMCommunicate request_size=4 [19:39:11]MH_SAM_APDU [19:39:11]CAPDU: 80 0D 03 02 [19:39:11]Write to MH i2c: E2 08 00 23 70 80 0D 03 02 00 00 00 00 0E [19:39:11]Write i2c OK [19:39:11]MH_I2C_Read... [19:39:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:39:11]Read from MH i2c: E2 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: E2 0B 00 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: E2 0B 00 23 70 00 DB 56 FD CA 37 B1 13 A2 90 00 A4 [19:39:11]RAPDU: DB 56 FD CA 37 B1 13 A2 90 00 [19:39:11]wFMCommunicate OK [19:39:11]SAM_PROTO_SignData done [19:39:11]FM_MakeSignedData done [19:39:11]CreateOFDProtocolMessage [19:39:11]wFMCommunicate request_size=4 [19:39:11]MH_SAM_APDU [19:39:11]CAPDU: 80 11 00 00 [19:39:11]Write to MH i2c: E2 08 00 24 70 80 11 00 00 00 00 00 00 0E [19:39:11]Write i2c OK [19:39:11]MH_I2C_Read... [19:39:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:39:11]Read from MH i2c: E2 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: E2 17 00 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: E2 17 00 24 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 56 [19:39:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:39:11]wFMCommunicate OK [19:39:11]CreateOFDProtocolMessage done [19:39:11]OFDSenderStorePacket 2687 [19:39:11]StoreOFDPacket docnum=2687 [19:39:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 DD B0 1F 01 57 B7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 30 39 38 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC D8 00 00 00 00 13 04 06 00 CC D8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 06 17 00 00 00 00 07 04 06 00 CC D8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 6D 5C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7F 0A 00 00 35 04 06 00 FE 6E 9E 11 22 30 DB 56 FD CA 37 B1 13 A2 [19:39:11]CheckFolder [19:39:11]dirname=/storage/ofd_packets [19:39:11]CheckFolder done [19:39:11]ProducePacketName [19:39:11]name=ofd_packets/00002687 [19:39:11]NVStorageSaveData ofd_packets/00002687 [19:39:11]File name is /storage/ofd_packets/00002687 [19:39:11]Write 325 bytes [19:39:11]NVStorageSaveData done [19:39:11]OFDSenderStorePacket done [19:39:11]KKMCreateOFDPacket done [19:39:11]NVStorageSaveData kkm_last_timestamp [19:39:11]File name is /storage/kkm_last_timestamp [19:39:11]Write 4 bytes [19:39:11]NVStorageSaveData done [19:39:11]ExternCall_PrintAddStr [19:39:11]wPrintStart [19:39:11]Write to MH i2c: 01 00 00 25 70 95 [19:39:11]Write i2c OK [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: 01 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: 01 07 00 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: 01 07 00 25 70 00 00 00 00 00 FF 0F AA [19:39:11]RasterBufferAndPrint [19:39:11]line Счет N : (3)100064 [19:39:11]line ИНН: 02508201610067 [19:39:11]line Контрольно-Кассовый Чек [19:39:11]line ПРОДАЖА [19:39:11]line Товар: 4700001061098 [19:39:11]line Коньяк Семетей 0,5л [19:39:11]line 1.000 * 555.00 [19:39:11]line = 555.00 [19:39:11]line НДС 12% НСП 1% [19:39:11]line > о реализуемом товаре [19:39:11]line ИТОГО: 555.00 [19:39:11]line НСП 1% : 4.91 [19:39:11]line НДС 12% : 58.94 [19:39:11]line Наличными: 555.00 [19:39:11]line Безнал.: 0.00 [19:39:11]line Место: АЗС № 162 "Партнер Нефть" [19:39:11]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:39:11]line СНО: Общий режим [19:39:11]line Чек 68 20.10.2024 19:39 [19:39:11]line Смена: 24 ФФД: 1.0 [19:39:11]line ЗНМ: 0300000191 [19:39:11]line РНМ: 0000000000207295 [19:39:11]line Версия ККМ: v1.0 [19:39:11]line ФМ: 0000000002342820 [19:39:11]line ФД: 2687 [19:39:11]line ФПД: 279751051780656 [19:39:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T193925&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2687&fm=279751051780656&tin=02508201610067®Number=0000000000207295&sum=55500 [19:39:11]line 0 [19:39:11]OFD Sender: Processing packet 2687 [packets to send 1, broken 0] [19:39:11]ProducePacketName [19:39:11]name=ofd_packets/00002687 [19:39:11]OFD Sender: To server: pG, [19:39:11]CommunicateWithHost lk.salyk.kg:30040 [19:39:11]ConnectInit lk.salyk.kg [19:39:11]written 0, free lines is 4095 [19:39:11]Connected sock=10 [19:39:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 DD B0 1F 01 57 B7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 30 39 38 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC D8 00 00 00 00 13 04 06 00 CC D8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 06 17 00 00 00 00 07 04 06 00 CC D8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 6D 5C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 7F 0A 00 00 35 04 06 00 FE 6E 9E 11 22 30 DB 56 FD CA 37 B1 13 A2 [19:39:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 06 C2 47 00 6C 14 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 33 34 32 38 32 30 10 04 04 00 7F 0A 00 00 F4 03 04 00 CA 07 15 67 B6 04 01 00 00 1A 1B 6E D5 60 D9 9C 9E [19:39:11]CommunicateWithHost err = 0 [19:39:11]CheckOFDResponse [19:39:11]1017 (14) - 77093643461234 [19:39:11]1041 (16) - 0000000002342820 [19:39:11]1040 (4) - 2687 [19:39:11]1012 (4) - 20.10.2024 13:38 [19:39:11]1206 (1) - 0 [19:39:11]OFD Sender: Remove packet 2687 [19:39:11]ProducePacketName [19:39:11]name=ofd_packets/00002687 [19:39:11]NVStorageDeleteData [19:39:11]Write to MH i2c: 01 00 00 4D 70 BD [19:39:11]Write i2c OK [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: 01 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: 01 07 00 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: 01 07 00 4D 70 00 00 00 00 00 CB 0C 9B [19:39:11]RasterBufferAndPrint [19:39:11]line [19:39:11]line [19:39:11]line [19:39:11]line [19:39:11]line [19:39:11]written 0, free lines is 3280 [19:39:11]MH_Cut [19:39:11]Write to MH i2c: D1 01 00 54 70 01 96 [19:39:11]Write i2c OK [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: D1 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: D1 01 00 [19:39:11]MH_I2C_Read... [19:39:11]Read from MH i2c: D1 01 00 54 70 00 95 [19:39:11]Write to MH i2c: 01 00 00 55 70 C5 [19:39:11]Write i2c OK [19:39:11]MH_I2C_Read... [19:39:12]OFD Sender: No OFD packet to send [19:39:12]*** Cut start [19:39:12]*** Partial cut [19:39:12]*** CUTSNS_PIN = 1 [19:39:12]*** CUTSNS_PIN = 0 [19:39:13]*** Brake cut motor [19:39:13]Read from MH i2c: 01 [19:39:13]MH_I2C_Read... [19:39:13]*** Stop cut motor [19:39:13]*** Cut end [19:39:13]Read from MH i2c: 01 07 00 [19:39:13]MH_I2C_Read... [19:39:13]Read from MH i2c: 01 07 00 55 70 00 00 00 00 00 FF 0F DA [19:39:13]process_action close_receipt done [19:39:13]requested_data is exist [19:39:13]produce_requested_data [19:39:13]requested_item fm.sn is exist - process it [19:39:13]wFMCommunicate request_size=4 [19:39:13]MH_SAM_APDU [19:39:13]CAPDU: 80 11 00 00 [19:39:13]Write to MH i2c: E2 08 00 56 70 80 11 00 00 00 00 00 00 40 [19:39:13]Write i2c OK [19:39:13]MH_I2C_Read... [19:39:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:39:13]Read from MH i2c: E2 [19:39:13]MH_I2C_Read... [19:39:13]Read from MH i2c: E2 17 00 [19:39:13]MH_I2C_Read... [19:39:13]Read from MH i2c: E2 17 00 56 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 88 [19:39:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:39:13]wFMCommunicate OK [19:39:13]requested_item fd.num is exist - process it [19:39:13]SAM_PROTO_GetFieldsCounters [19:39:13]wFMCommunicate request_size=4 [19:39:13]MH_SAM_APDU [19:39:13]CAPDU: 80 13 00 00 [19:39:13]Write to MH i2c: E2 08 00 57 70 80 13 00 00 00 00 00 00 43 [19:39:13]Write i2c OK [19:39:13]MH_I2C_Read... [19:39:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:39:13]Read from MH i2c: E2 [19:39:13]MH_I2C_Read... [19:39:13]Read from MH i2c: E2 62 00 [19:39:13]MH_I2C_Read... [19:39:13]Read from MH i2c: E2 62 00 57 70 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 C6 [19:39:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 7F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:39:13]wFMCommunicate OK [19:39:13]SAM_PROTO_GetFieldsCounters done [19:39:13]requested_item shift.num is exist - process it [19:39:13]requested_item shift.opened is exist - process it [19:39:13]req_shift_opened [19:39:13]FM_GetShiftState [19:39:13]SAM_PROTO_GetShiftState [19:39:13]wFMCommunicate request_size=4 [19:39:13]MH_SAM_APDU [19:39:13]CAPDU: 80 13 01 00 [19:39:13]Write to MH i2c: E2 08 00 58 70 80 13 01 00 00 00 00 00 45 [19:39:13]Write i2c OK [19:39:13]MH_I2C_Read... [19:39:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:39:13]Read from MH i2c: E2 [19:39:13]MH_I2C_Read... [19:39:13]Read from MH i2c: E2 0E 00 [19:39:13]MH_I2C_Read... [19:39:13]Read from MH i2c: E2 0E 00 58 70 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 2F [19:39:13]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:39:13]wFMCommunicate OK [19:39:13]SAM_PROTO_GetShiftState done [19:39:13]FM_GetShiftState done [19:39:13]req_shift_opened done [19:39:13]requested_item shift.open_date is exist - process it [19:39:13]req_shift_open_date [19:39:13]req_shift_open_date done [19:39:13]produce_requested_data done [19:39:13]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2687,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [19:39:13]process_action_free close_receipt [19:39:13]json_value_free [19:39:13]json_value_free done [19:39:13]process_json_proto returns [19:39:13]Send response to host [19:39:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2687,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [19:39:13]free response buf [19:39:13]execute_script done [19:39:13]execute_script returns [19:39:13]free content buf [19:39:13]Sock 9.Close socket [19:39:13]Sock 9.Thread stoped [19:39:17]OFD Sender: No OFD packet to send [19:39:22]OFD Sender: No OFD packet to send [19:39:27]OFD Sender: No OFD packet to send [19:39:32]OFD Sender: No OFD packet to send [19:39:37]OFD Sender: No OFD packet to send [19:39:42]OFD Sender: No OFD packet to send [19:39:47]OFD Sender: No OFD packet to send [19:39:52]OFD Sender: No OFD packet to send [19:39:57]OFD Sender: No OFD packet to send [19:40:02]OFD Sender: No OFD packet to send [19:40:07]OFD Sender: No OFD packet to send [19:40:12]OFD Sender: No OFD packet to send [19:40:17]OFD Sender: No OFD packet to send [19:40:22]OFD Sender: No OFD packet to send [19:40:27]OFD Sender: No OFD packet to send [19:40:32]OFD Sender: No OFD packet to send [19:40:37]OFD Sender: No OFD packet to send [19:40:42]OFD Sender: No OFD packet to send [19:40:47]OFD Sender: No OFD packet to send [19:40:52]OFD Sender: No OFD packet to send [19:40:57]OFD Sender: No OFD packet to send [19:41:02]OFD Sender: No OFD packet to send [19:41:07]OFD Sender: No OFD packet to send [19:41:12]OFD Sender: No OFD packet to send [19:41:17]OFD Sender: No OFD packet to send [19:41:22]OFD Sender: No OFD packet to send [19:41:27]OFD Sender: No OFD packet to send [19:41:32]OFD Sender: No OFD packet to send [19:41:37]OFD Sender: No OFD packet to send [19:41:42]OFD Sender: No OFD packet to send [19:41:47]OFD Sender: No OFD packet to send [19:41:52]OFD Sender: No OFD packet to send [19:41:57]OFD Sender: No OFD packet to send [19:42:02]OFD Sender: No OFD packet to send [19:42:07]OFD Sender: No OFD packet to send [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:32]OFD Sender: No OFD packet to send [19:42:37]OFD Sender: No OFD packet to send [19:42:42]OFD Sender: No OFD packet to send [19:42:47]OFD Sender: No OFD packet to send [19:42:52]OFD Sender: No OFD packet to send [19:42:57]OFD Sender: No OFD packet to send [19:43:02]OFD Sender: No OFD packet to send [19:43:07]OFD Sender: No OFD packet to send [19:43:12]OFD Sender: No OFD packet to send [19:43:17]OFD Sender: No OFD packet to send [19:43:22]OFD Sender: No OFD packet to send [19:43:27]OFD Sender: No OFD packet to send [19:43:32]OFD Sender: No OFD packet to send [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19:44:07]OFD Sender: No OFD packet to send [19:44:12]OFD Sender: No OFD packet to send [19:44:17]OFD Sender: No OFD packet to send [19:44:22]OFD Sender: No OFD packet to send [19:44:27]OFD Sender: No OFD packet to send [19:44:32]OFD Sender: No OFD packet to send [19:44:37]OFD Sender: No OFD packet to send [19:44:42]OFD Sender: No OFD packet to send [19:44:47]OFD Sender: No OFD packet to send [19:44:52]OFD Sender: No OFD packet to send [19:44:57]OFD Sender: No OFD packet to send [19:45:02]OFD Sender: No OFD packet to send [19:45:07]OFD Sender: No OFD packet to send [19:45:12]OFD Sender: No OFD packet to send [19:45:17]OFD Sender: No OFD packet to send [19:45:22]OFD Sender: No OFD packet to send [19:45:27]OFD Sender: No OFD packet to send [19:45:32]OFD Sender: No OFD packet to send [19:45:37]OFD Sender: No OFD packet to send [19:45:42]OFD Sender: No OFD packet to send [19:45:47]OFD Sender: No OFD packet to send [19:45:52]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]accept exits with 7 [19:51:02]New connection [19:51:02]New thread 3066850660 created [19:51:02]Thread 3066707300 joined [19:51:02]Waiting for new connection... [19:51:02] Sock 7.Parse request [19:51:02]Sock 7.Check first char [19:51:02]Sock 7.First char is OK [19:51:02]request: POST /json_proto HTTP/1.0 [19:51:02]Method: POST [19:51:02]URL: /json_proto [19:51:02]Method is POST - this is cgi request [19:51:02]url: /json_proto [19:51:02]query_string will be loaded in cgi processing [19:51:02]execute_cgi json_proto POST (null) [19:51:02]execute_cgi path=json_proto method=POST [19:51:02]POST find Content-Length [19:51:02]Host: 172.17.52.132:8080 [19:51:02]Content-Length: 1203 [19:51:02]Content-Type: application/json [19:51:02] [19:51:02]POST finish read [19:51:02]Found Content-Length = 1203 [19:51:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100065", "tax_sys" : 0, "items" : [ { "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 2.000, "sum" : 450.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" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 689.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:02]execute_script... [19:51:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100065", "tax_sys" : 0, "items" : [ { "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 2.000, "sum" : 450.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" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 689.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:02]POST & json_proto [19:51:02]process_json_proto [19:51:02]json parsed OK: [19:51:02]protocol is kg_v1.0 [19:51:02]action value=close_receipt [19:51:02]process_action close_receipt [19:51:02]cmd_close_receipt [19:51:02]MH_GetDate [19:51:02]Write to MH i2c: F0 00 00 59 70 B8 [19:51:02]Write i2c OK [19:51:02]MH_I2C_Read... [19:51:02]Read from MH i2c: F0 [19:51:02]MH_I2C_Read... [19:51:02]Read from MH i2c: F0 09 00 [19:51:02]MH_I2C_Read... [19:51:02]Read from MH i2c: F0 09 00 59 70 00 37 5F 15 67 5A BE F6 66 47 [19:51:02]GetLastDocTimeStamp 1729453165 [19:51:02]current date 1729453879 [19:51:02]FM_GetShiftState [19:51:02]SAM_PROTO_GetShiftState [19:51:02]wFMCommunicate request_size=4 [19:51:02]MH_SAM_APDU [19:51:02]CAPDU: 80 13 01 00 [19:51:02]Write to MH i2c: E2 08 00 5A 70 80 13 01 00 00 00 00 00 47 [19:51:02]Write i2c OK [19:51:02]MH_I2C_Read... [19:51:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:02]Read from MH i2c: E2 [19:51:02]MH_I2C_Read... [19:51:02]Read from MH i2c: E2 0E 00 [19:51:02]MH_I2C_Read... [19:51:02]Read from MH i2c: E2 0E 00 5A 70 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 31 [19:51:02]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:51:02]wFMCommunicate OK [19:51:02]SAM_PROTO_GetShiftState done [19:51:02]FM_GetShiftState done [19:51:02]opened in 1729382427 [19:51:02]opened+sec_in_day 1729468827 [19:51:02]quantity*price = 45000 [19:51:02]sum+1 = 45001 [19:51:02]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607015232547 Вафли Яшкино с халвой 200г 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 689.00 НСП 1% : 6.09 НДС 12% : 73.17 Наличными: 689.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 69 20.10.2024 19:51 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2688 ФПД: 40685582413316 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T195119&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2688&fm=40685582413316&tin=02508201610067®Number=0000000000207295&sum=68900 0 [19:51:03]StoreToDocumentArchive [19:51:03]shift 24 fd 2688 [19:51:03]save to /storage/0024/doc_00002688 [19:51:03]save last doc name /storage/0024/doc_00002688 to /storage/kkm_last_doc_name [19:51:03]save OK [19:51:03]Clear old archive folders... [19:51:03]ProcessDocumentItem done err = 0, tmpTLVsize=517 [19:51:03]tlvbuf is 014381F0 [19:51:03]SAM_PROTO_ClearQueue [19:51:03]wFMCommunicate request_size=4 [19:51:03]MH_SAM_APDU [19:51:03]CAPDU: 80 09 00 00 [19:51:03]Write to MH i2c: E2 08 00 67 70 80 09 00 00 00 00 00 00 49 [19:51:03]Write i2c OK [19:51:03]MH_I2C_Read... [19:51:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:51:04]Read from MH i2c: E2 [19:51:04]MH_I2C_Read... [19:51:04]Read from MH i2c: E2 03 00 [19:51:04]MH_I2C_Read... [19:51:04]Read from MH i2c: E2 03 00 67 70 00 90 00 4B [19:51:04]RAPDU: 90 00 [19:51:04]wFMCommunicate OK [19:51:04]SAM_PROTO_ClearQueue done [19:51:04]KKMCreateOFDPacket [19:51:04]OFDProtocolAddRootSTLVToBuf [19:51:04]FM_MakeSignedData [19:51:04]FM_MakeSignedData [19:51:04]SAM_PROTO_SignData [19:51:04]wFMCommunicate request_size=4 [19:51:04]MH_SAM_APDU [19:51:04]CAPDU: 80 0D 01 02 [19:51:04]Write to MH i2c: E2 08 00 68 70 80 0D 01 02 00 00 00 00 51 [19:51:04]Write i2c OK [19:51:04]MH_I2C_Read... [19:51:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:51:04]Read from MH i2c: E2 [19:51:04]MH_I2C_Read... [19:51:04]Read from MH i2c: E2 03 00 [19:51:04]MH_I2C_Read... [19:51:04]Read from MH i2c: E2 03 00 68 70 00 90 00 4C [19:51:04]RAPDU: 90 00 [19:51:04]wFMCommunicate OK [19:51:04]wFMCommunicate request_size=255 [19:51:04]MH_SAM_APDU [19:51:04]CAPDU: 80 0D 02 02 FA 03 00 05 02 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 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 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 [19:51:04]Write to MH i2c: E2 02 01 69 70 80 0D 02 02 FA 00 03 00 05 02 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 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 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 00 00 5D [19:51:04]Write i2c OK [19:51:04]MH_I2C_Read... [19:51:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:04]Read from MH i2c: E2 [19:51:04]MH_I2C_Read... [19:51:04]Read from MH i2c: E2 03 00 [19:51:04]MH_I2C_Read... [19:51:04]Read from MH i2c: E2 03 00 69 70 00 90 00 4D [19:51:04]RAPDU: 90 00 [19:51:04]wFMCommunicate OK [19:51:04]wFMCommunicate request_size=255 [19:51:04]MH_SAM_APDU [19:51:04]CAPDU: 80 0D 02 02 FA 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 24 0D 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 1C 00 00 00 00 07 04 06 00 24 0D 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 37 5F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 [19:51:04]Write to MH i2c: E2 02 01 6A 70 80 0D 02 02 FA 00 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 24 0D 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 1C 00 00 00 00 07 04 06 00 24 0D 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 37 5F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 00 00 6D [19:51:04]Write i2c OK [19:51:04]MH_I2C_Read... [19:51:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:04]Read from MH i2c: E2 [19:51:04]MH_I2C_Read... [19:51:04]Read from MH i2c: E2 03 00 [19:51:04]MH_I2C_Read... [19:51:04]Read from MH i2c: E2 03 00 6A 70 00 90 00 4E [19:51:04]RAPDU: 90 00 [19:51:04]wFMCommunicate OK [19:51:04]wFMCommunicate request_size=26 [19:51:04]MH_SAM_APDU [19:51:04]CAPDU: 80 0D 02 02 15 38 32 30 10 04 04 00 80 0A 00 00 35 04 06 00 25 00 D9 AF EE 04 [19:51:04]Write to MH i2c: E2 1D 00 6B 70 80 0D 02 02 15 00 38 32 30 10 04 04 00 80 0A 00 00 35 04 06 00 25 00 D9 AF EE 04 00 00 99 [19:51:04]Write i2c OK [19:51:04]MH_I2C_Read... [19:51:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:05]Read from MH i2c: E2 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: E2 03 00 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: E2 03 00 6B 70 00 90 00 4F [19:51:05]RAPDU: 90 00 [19:51:05]wFMCommunicate OK [19:51:05]wFMCommunicate request_size=4 [19:51:05]MH_SAM_APDU [19:51:05]CAPDU: 80 0D 03 02 [19:51:05]Write to MH i2c: E2 08 00 6C 70 80 0D 03 02 00 00 00 00 57 [19:51:05]Write i2c OK [19:51:05]MH_I2C_Read... [19:51:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:51:05]Read from MH i2c: E2 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: E2 0B 00 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: E2 0B 00 6C 70 00 5B D2 87 8A FB 73 CD A3 90 00 74 [19:51:05]RAPDU: 5B D2 87 8A FB 73 CD A3 90 00 [19:51:05]wFMCommunicate OK [19:51:05]SAM_PROTO_SignData done [19:51:05]FM_MakeSignedData done [19:51:05]CreateOFDProtocolMessage [19:51:05]wFMCommunicate request_size=4 [19:51:05]MH_SAM_APDU [19:51:05]CAPDU: 80 11 00 00 [19:51:05]Write to MH i2c: E2 08 00 6D 70 80 11 00 00 00 00 00 00 57 [19:51:05]Write i2c OK [19:51:05]MH_I2C_Read... [19:51:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:05]Read from MH i2c: E2 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: E2 17 00 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: E2 17 00 6D 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9F [19:51:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:51:05]wFMCommunicate OK [19:51:05]CreateOFDProtocolMessage done [19:51:05]OFDSenderStorePacket 2688 [19:51:05]StoreOFDPacket docnum=2688 [19:51:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 19 02 00 00 D7 C6 11 02 F6 55 5A 03 01 00 03 00 05 02 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 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 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 24 0D 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 1C 00 00 00 00 07 04 06 00 24 0D 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 37 5F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 80 0A 00 00 35 04 06 00 25 00 D9 AF EE 04 5B D2 87 8A FB 73 CD A3 [19:51:05]CheckFolder [19:51:05]dirname=/storage/ofd_packets [19:51:05]CheckFolder done [19:51:05]ProducePacketName [19:51:05]name=ofd_packets/00002688 [19:51:05]NVStorageSaveData ofd_packets/00002688 [19:51:05]File name is /storage/ofd_packets/00002688 [19:51:05]Write 567 bytes [19:51:05]NVStorageSaveData done [19:51:05]OFDSenderStorePacket done [19:51:05]KKMCreateOFDPacket done [19:51:05]NVStorageSaveData kkm_last_timestamp [19:51:05]File name is /storage/kkm_last_timestamp [19:51:05]Write 4 bytes [19:51:05]NVStorageSaveData done [19:51:05]ExternCall_PrintAddStr [19:51:05]wPrintStart [19:51:05]Write to MH i2c: 01 00 00 6E 70 DE [19:51:05]Write i2c OK [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: 01 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: 01 07 00 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: 01 07 00 6E 70 00 00 00 00 00 FF 0F F3 [19:51:05]RasterBufferAndPrint [19:51:05]line Счет N : (3)100065 [19:51:05]line ИНН: 02508201610067 [19:51:05]line Контрольно-Кассовый Чек [19:51:05]line ПРОДАЖА [19:51:05]line Товар: 4670003190051 [19:51:05]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л [19:51:05]line 2.000 * 225.00 [19:51:05]line = 450.00 [19:51:05]line НДС 12% НСП 1% [19:51:05]line > о реализуемом товаре [19:51:05]line Товар: 48743570 [19:51:05]line Сигареты Winston XStyle Blue [19:51:05]line 1.000 * 144.00 [19:51:05]line = 144.00 [19:51:05]line НДС 12% НСП 1% [19:51:05]line > о реализуемом товаре [19:51:05]line Товар: 4607015232547 [19:51:05]line Вафли Яшкино с халвой 200г [19:51:05]line 1.000 * 95.00 [19:51:05]line = 95.00 [19:51:05]line НДС 12% НСП 1% [19:51:05]line > о реализуемом товаре [19:51:05]line ИТОГО: 689.00 [19:51:05]line НСП 1% : 6.09 [19:51:05]line НДС 12% : 73.17 [19:51:05]line Наличными: 689.00 [19:51:05]line Безнал.: 0.00 [19:51:05]line Место: АЗС № 162 "Партнер Нефть" [19:51:05]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:51:05]line СНО: Общий режим [19:51:05]line Чек 69 20.10.2024 19:51 [19:51:05]line Смена: 24 ФФД: 1.0 [19:51:05]line ЗНМ: 0300000191 [19:51:05]line РНМ: 0000000000207295 [19:51:05]line Версия ККМ: v1.0 [19:51:05]line ФМ: 0000000002342820 [19:51:05]line ФД: 2688 [19:51:05]line ФПД: 40685582413316 [19:51:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T195119&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2688&fm=40685582413316&tin=02508201610067®Number=0000000000207295&sum=68900 [19:51:05]line 0 [19:51:05]OFD Sender: Processing packet 2688 [packets to send 1, broken 0] [19:51:05]ProducePacketName [19:51:05]name=ofd_packets/00002688 [19:51:05]OFD Sender: To server: pG, [19:51:05]CommunicateWithHost lk.salyk.kg:30040 [19:51:05]ConnectInit lk.salyk.kg [19:51:05]written 0, free lines is 4095 [19:51:05]Write to MH i2c: 01 00 00 A3 70 13 [19:51:05]Write i2c OK [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: 01 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: 01 07 00 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: 01 07 00 A3 70 00 00 00 00 00 E3 0B 08 [19:51:05]RasterBufferAndPrint [19:51:05]line [19:51:05]line [19:51:05]line [19:51:05]line [19:51:05]line [19:51:05]written 0, free lines is 3048 [19:51:05]MH_Cut [19:51:05]Write to MH i2c: D1 01 00 AA 70 01 EC [19:51:05]Write i2c OK [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: D1 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: D1 01 00 [19:51:05]MH_I2C_Read... [19:51:05]Read from MH i2c: D1 01 00 AA 70 00 EB [19:51:05]Write to MH i2c: 01 00 00 AB 70 1B [19:51:05]Write i2c OK [19:51:05]MH_I2C_Read... [19:51:06]*** Cut start [19:51:06]*** Partial cut [19:51:06]*** CUTSNS_PIN = 1 [19:51:06]*** CUTSNS_PIN = 0 [19:51:07]*** Brake cut motor [19:51:07]Read from MH i2c: 01 [19:51:07]MH_I2C_Read... [19:51:07]*** Stop cut motor [19:51:07]*** Cut end [19:51:07]Read from MH i2c: 01 07 00 [19:51:07]MH_I2C_Read... [19:51:07]Read from MH i2c: 01 07 00 AB 70 00 00 00 00 00 FF 0F 30 [19:51:07]process_action close_receipt done [19:51:07]requested_data is exist [19:51:07]produce_requested_data [19:51:07]requested_item fm.sn is exist - process it [19:51:07]wFMCommunicate request_size=4 [19:51:07]MH_SAM_APDU [19:51:07]CAPDU: 80 11 00 00 [19:51:07]Write to MH i2c: E2 08 00 AC 70 80 11 00 00 00 00 00 00 96 [19:51:07]Write i2c OK [19:51:07]MH_I2C_Read... [19:51:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:07]Read from MH i2c: E2 [19:51:07]MH_I2C_Read... [19:51:07]Read from MH i2c: E2 17 00 [19:51:07]MH_I2C_Read... [19:51:07]Read from MH i2c: E2 17 00 AC 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 DE [19:51:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:51:07]wFMCommunicate OK [19:51:07]requested_item fd.num is exist - process it [19:51:07]SAM_PROTO_GetFieldsCounters [19:51:07]wFMCommunicate request_size=4 [19:51:07]MH_SAM_APDU [19:51:07]CAPDU: 80 13 00 00 [19:51:07]Write to MH i2c: E2 08 00 AD 70 80 13 00 00 00 00 00 00 99 [19:51:07]Write i2c OK [19:51:07]MH_I2C_Read... [19:51:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:51:07]Read from MH i2c: E2 [19:51:07]MH_I2C_Read... [19:51:07]Read from MH i2c: E2 62 00 [19:51:07]MH_I2C_Read... [19:51:07]Read from MH i2c: E2 62 00 AD 70 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 80 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [19:51:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 80 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:51:07]wFMCommunicate OK [19:51:07]SAM_PROTO_GetFieldsCounters done [19:51:07]requested_item shift.num is exist - process it [19:51:07]requested_item shift.opened is exist - process it [19:51:07]req_shift_opened [19:51:07]FM_GetShiftState [19:51:07]SAM_PROTO_GetShiftState [19:51:07]wFMCommunicate request_size=4 [19:51:07]MH_SAM_APDU [19:51:07]CAPDU: 80 13 01 00 [19:51:07]Write to MH i2c: E2 08 00 AE 70 80 13 01 00 00 00 00 00 9B [19:51:07]Write i2c OK [19:51:07]MH_I2C_Read... [19:51:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:07]Read from MH i2c: E2 [19:51:07]MH_I2C_Read... [19:51:07]Read from MH i2c: E2 0E 00 [19:51:07]MH_I2C_Read... [19:51:07]Read from MH i2c: E2 0E 00 AE 70 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 85 [19:51:07]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [19:51:07]wFMCommunicate OK [19:51:07]SAM_PROTO_GetShiftState done [19:51:07]FM_GetShiftState done [19:51:07]req_shift_opened done [19:51:07]requested_item shift.open_date is exist - process it [19:51:07]req_shift_open_date [19:51:07]req_shift_open_date done [19:51:07]produce_requested_data done [19:51:07]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2688,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [19:51:07]process_action_free close_receipt [19:51:07]json_value_free [19:51:07]json_value_free done [19:51:07]process_json_proto returns [19:51:07]Send response to host [19:51:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2688,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [19:51:07]free response buf [19:51:07]execute_script done [19:51:07]execute_script returns [19:51:07]free content buf [19:51:07]Sock 7.Close socket [19:51:07]Sock 7.Thread stoped [19:53:18]ConnectInit Can't connect to host [19:53:18]CommunicateWithHost connect error [19:53:18]CommunicateWithHost err = -1 [19:53:18]OFD Sender: Server communicate error [19:53:23]OFD Sender: Processing packet 2688 [packets to send 1, broken 0] [19:53:23]ProducePacketName [19:53:23]name=ofd_packets/00002688 [19:53:23]OFD Sender: To server: pG, [19:53:23]CommunicateWithHost lk.salyk.kg:30040 [19:53:23]ConnectInit lk.salyk.kg [19:53:23]Connected sock=7 [19:53:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 19 02 00 00 D7 C6 11 02 F6 55 5A 03 01 00 03 00 05 02 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 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 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 24 0D 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 1C 00 00 00 00 07 04 06 00 24 0D 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 37 5F 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 80 0A 00 00 35 04 06 00 25 00 D9 AF EE 04 5B D2 87 8A FB 73 CD A3 [19:53:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 BC 95 47 00 A8 5B 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 33 34 32 38 32 30 10 04 04 00 80 0A 00 00 F4 03 04 00 1E 0B 15 67 B6 04 01 00 00 B5 56 13 DD 08 29 52 50 [19:53:23]CommunicateWithHost err = 0 [19:53:23]CheckOFDResponse [19:53:23]1017 (14) - 77093643461234 [19:53:23]1041 (16) - 0000000002342820 [19:53:23]1040 (4) - 2688 [19:53:23]1012 (4) - 20.10.2024 13:52 [19:53:23]1206 (1) - 0 [19:53:23]OFD Sender: Remove packet 2688 [19:53:23]ProducePacketName [19:53:23]name=ofd_packets/00002688 [19:53:23]NVStorageDeleteData [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:29]OFD Sender: No OFD packet to send [19:55:34]OFD Sender: No OFD packet to send [19:55:39]OFD Sender: No OFD packet to send [19:55:44]OFD Sender: No OFD packet to send [19:55:49]OFD Sender: No OFD packet to send [19:55:54]OFD Sender: No OFD packet to send [19:55:59]OFD Sender: No OFD packet to send [19:56:04]OFD Sender: No OFD packet to send [19:56:09]OFD Sender: No OFD packet to send [19:56:14]OFD Sender: No OFD packet to send [19:56:19]OFD Sender: No OFD packet to send [19:56:24]OFD Sender: No OFD packet to send [19:56:29]OFD Sender: No OFD packet to send [19:56:34]OFD Sender: No OFD packet to send [19:56:39]OFD Sender: No OFD packet to send [19:56:44]OFD Sender: No OFD packet to send [19:56:49]OFD Sender: No OFD packet to send [19:56:54]OFD Sender: No OFD packet to send [19:56:59]OFD Sender: No OFD packet to send [19:57:04]OFD Sender: No OFD packet to send [19:57:09]OFD Sender: No OFD packet to send [19:57:14]OFD Sender: No OFD packet to send [19:57:19]OFD Sender: No OFD packet to send [19:57:24]OFD Sender: No OFD packet to send [19:57:29]OFD Sender: No OFD packet to send [19:57:34]OFD Sender: No OFD packet to send [19:57:39]OFD Sender: No OFD packet to send [19:57:44]OFD Sender: No OFD packet to send [19:57:49]OFD Sender: No OFD packet to send [19:57:54]OFD Sender: No OFD packet to send [19:57:59]OFD Sender: No OFD packet to send [19:58:04]OFD Sender: No OFD packet to send [19:58:09]OFD Sender: No OFD packet to send [19:58:14]OFD Sender: No OFD packet to send [19:58:19]OFD Sender: No OFD packet to send [19:58:24]OFD Sender: No OFD packet to send [19:58:29]OFD Sender: No OFD packet to send [19:58:34]OFD Sender: No OFD packet to send [19:58:39]OFD Sender: No OFD packet to send [19:58:44]OFD Sender: No OFD packet to send [19:58:49]OFD Sender: No OFD packet to send [19:58:54]OFD Sender: No OFD packet to send [19:58:59]OFD Sender: No OFD packet to send [19:59:04]OFD Sender: No OFD packet to send [19:59:09]OFD Sender: No OFD packet to send [19:59:14]OFD Sender: No OFD packet to send [19:59:19]OFD Sender: No OFD packet to send [19:59:24]OFD Sender: No OFD packet to send [19:59:29]OFD Sender: No OFD packet to send [19:59:34]OFD Sender: No OFD packet to send [19:59:39]OFD Sender: No OFD packet to send [19:59:44]OFD Sender: No OFD packet to send [19:59:49]OFD Sender: No OFD packet to send [19:59:54]OFD Sender: No OFD packet to send [19:59:59]OFD Sender: No OFD packet to send [20:00:04]OFD Sender: No OFD packet to send [20:00:06]accept exits with 9 [20:00:06]New connection [20:00:06]New thread 3066707300 created [20:00:06]Thread 3066850660 joined [20:00:06]Waiting for new connection... [20:00:06] Sock 9.Parse request [20:00:06]Sock 9.Check first char [20:00:06]Sock 9.First char is OK [20:00:06]request: POST /json_proto HTTP/1.0 [20:00:06]Method: POST [20:00:06]URL: /json_proto [20:00:06]Method is POST - this is cgi request [20:00:06]url: /json_proto [20:00:06]query_string will be loaded in cgi processing [20:00:06]execute_cgi json_proto POST (null) [20:00:06]execute_cgi path=json_proto method=POST [20:00:06]POST find Content-Length [20:00:06]Host: 172.17.52.132:8080 [20:00:06]Content-Length: 215 [20:00:06]Content-Type: application/json [20:00:06] [20:00:06]POST finish read [20:00:06]Found Content-Length = 215 [20:00:06]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" ] } } [20:00:06]execute_script... [20:00:06]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" ] } } [20:00:06]POST & json_proto [20:00:06]process_json_proto [20:00:06]json parsed OK: [20:00:06]protocol is kg_v1.0 [20:00:06]action value=get_value [20:00:06]process_action get_value [20:00:06]cmd_get_value [20:00:06]process_action get_value done [20:00:06]requested_data is exist [20:00:06]produce_requested_data [20:00:06]requested_item kkm.sn is exist - process it [20:00:06]requested_item kkm.ver is exist - process it [20:00:06]requested_item fm.sn is exist - process it [20:00:06]wFMCommunicate request_size=4 [20:00:06]MH_SAM_APDU [20:00:06]CAPDU: 80 11 00 00 [20:00:06]Write to MH i2c: E2 08 00 AF 70 80 11 00 00 00 00 00 00 99 [20:00:06]Write i2c OK [20:00:06]MH_I2C_Read... [20:00:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:00:06]Read from MH i2c: E2 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 17 00 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 17 00 AF 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E1 [20:00:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:00:06]wFMCommunicate OK [20:00:06]requested_item fd.num is exist - process it [20:00:06]SAM_PROTO_GetFieldsCounters [20:00:06]wFMCommunicate request_size=4 [20:00:06]MH_SAM_APDU [20:00:06]CAPDU: 80 13 00 00 [20:00:06]Write to MH i2c: E2 08 00 B0 70 80 13 00 00 00 00 00 00 9C [20:00:06]Write i2c OK [20:00:06]MH_I2C_Read... [20:00:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:00:06]Read from MH i2c: E2 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 62 00 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 62 00 B0 70 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 80 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 23 [20:00:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 80 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:00:06]wFMCommunicate OK [20:00:06]SAM_PROTO_GetFieldsCounters done [20:00:06]requested_item shift.num is exist - process it [20:00:06]requested_item shift.opened is exist - process it [20:00:06]req_shift_opened [20:00:06]FM_GetShiftState [20:00:06]SAM_PROTO_GetShiftState [20:00:06]wFMCommunicate request_size=4 [20:00:06]MH_SAM_APDU [20:00:06]CAPDU: 80 13 01 00 [20:00:06]Write to MH i2c: E2 08 00 B1 70 80 13 01 00 00 00 00 00 9E [20:00:06]Write i2c OK [20:00:06]MH_I2C_Read... [20:00:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:06]Read from MH i2c: E2 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 0E 00 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 0E 00 B1 70 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 88 [20:00:06]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:00:06]wFMCommunicate OK [20:00:06]SAM_PROTO_GetShiftState done [20:00:06]FM_GetShiftState done [20:00:06]req_shift_opened done [20:00:06]requested_item shift.open_date is exist - process it [20:00:06]req_shift_open_date [20:00:06]req_shift_open_date done [20:00:06]produce_requested_data done [20:00:06]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2688,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [20:00:06]process_action_free get_value [20:00:06]json_value_free [20:00:06]json_value_free done [20:00:06]process_json_proto returns [20:00:06]Send response to host [20:00:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2688,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [20:00:06]free response buf [20:00:06]execute_script done [20:00:06]execute_script returns [20:00:06]free content buf [20:00:06]Sock 9.Close socket [20:00:06]Sock 9.Thread stoped [20:00:06]accept exits with 7 [20:00:06]New connection [20:00:06]New thread 3066850660 created [20:00:06]Thread 3066707300 joined [20:00:06]Waiting for new connection... [20:00:06] Sock 7.Parse request [20:00:06]Sock 7.Check first char [20:00:06]Sock 7.First char is OK [20:00:06]request: POST /json_proto HTTP/1.0 [20:00:06]Method: POST [20:00:06]URL: /json_proto [20:00:06]Method is POST - this is cgi request [20:00:06]url: /json_proto [20:00:06]query_string will be loaded in cgi processing [20:00:06]execute_cgi json_proto POST (null) [20:00:06]execute_cgi path=json_proto method=POST [20:00:06]POST find Content-Length [20:00:06]Host: 172.17.52.132:8080 [20:00:06]Content-Length: 331 [20:00:06]Content-Type: application/json [20:00:06] [20:00:06]POST finish read [20:00:06]Found Content-Length = 331 [20:00:06]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" ] } } [20:00:06]execute_script... [20:00:06]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" ] } } [20:00:06]POST & json_proto [20:00:06]process_json_proto [20:00:06]json parsed OK: [20:00:06]protocol is kg_v1.0 [20:00:06]action value=get_value [20:00:06]process_action get_value [20:00:06]cmd_get_value [20:00:06]process_action get_value done [20:00:06]requested_data is exist [20:00:06]produce_requested_data [20:00:06]requested_item fm.sale.total is exist - process it [20:00:06]SAM_PROTO_GetFMData [20:00:06]wFMCommunicate request_size=4 [20:00:06]MH_SAM_APDU [20:00:06]CAPDU: 80 13 03 00 [20:00:06]Write to MH i2c: E2 08 00 B2 70 80 13 03 00 00 00 00 00 A1 [20:00:06]Write i2c OK [20:00:06]MH_I2C_Read... [20:00:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:00:07]Read from MH i2c: E2 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 FD 00 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 FD 00 B2 70 00 BE 04 85 04 BA 04 6E 04 04 00 50 0A 00 00 69 04 9F 00 6F 04 04 00 48 0A 00 00 B1 04 04 00 65 09 46 05 70 04 04 00 8C C3 DE 03 72 04 04 00 D9 45 67 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 5F 8F 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 AB F1 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 65 [20:00:07]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 50 0A 00 00 69 04 9F 00 6F 04 04 00 48 0A 00 00 B1 04 04 00 65 09 46 05 70 04 04 00 8C C3 DE 03 72 04 04 00 D9 45 67 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 5F 8F 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 AB F1 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [20:00:07]wFMCommunicate OK [20:00:07]wFMCommunicate request_size=4 [20:00:07]MH_SAM_APDU [20:00:07]CAPDU: 80 17 00 00 [20:00:07]Write to MH i2c: E2 08 00 B3 70 80 17 00 00 00 00 00 00 A3 [20:00:07]Write i2c OK [20:00:07]MH_I2C_Read... [20:00:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:07]Read from MH i2c: E2 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 FD 00 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 FD 00 B3 70 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B8 [20:00:07]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:00:07]wFMCommunicate OK [20:00:07]wFMCommunicate request_size=4 [20:00:07]MH_SAM_APDU [20:00:07]CAPDU: 80 17 00 00 [20:00:07]Write to MH i2c: E2 08 00 B4 70 80 17 00 00 00 00 00 00 A4 [20:00:07]Write i2c OK [20:00:07]MH_I2C_Read... [20:00:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:07]Read from MH i2c: E2 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 FD 00 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 FD 00 B4 70 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [20:00:07]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:00:07]wFMCommunicate OK [20:00:07]wFMCommunicate request_size=4 [20:00:07]MH_SAM_APDU [20:00:07]CAPDU: 80 17 00 00 [20:00:07]Write to MH i2c: E2 08 00 B5 70 80 17 00 00 00 00 00 00 A5 [20:00:07]Write i2c OK [20:00:07]MH_I2C_Read... [20:00:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:08]Read from MH i2c: E2 [20:00:08]MH_I2C_Read... [20:00:08]Read from MH i2c: E2 FD 00 [20:00:08]MH_I2C_Read... [20:00:08]Read from MH i2c: E2 FD 00 B5 70 00 04 F7 03 00 00 EF 03 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 90 00 20 [20:00:08]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [20:00:08]wFMCommunicate OK [20:00:08]wFMCommunicate request_size=4 [20:00:08]MH_SAM_APDU [20:00:08]CAPDU: 80 17 00 00 [20:00:08]Write to MH i2c: E2 08 00 B6 70 80 17 00 00 00 00 00 00 A6 [20:00:08]Write i2c OK [20:00:08]MH_I2C_Read... [20:00:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [20:00:08]Read from MH i2c: E2 [20:00:08]MH_I2C_Read... [20:00:08]Read from MH i2c: E2 DB 00 [20:00:08]MH_I2C_Read... [20:00:08]Read from MH i2c: E2 DB 00 B6 70 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 88 [20:00:08]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:00:08]wFMCommunicate OK [20:00:08]SAM_PROTO_GetFMData done [20:00:08]requested_item fm.sale_refund.total is exist - process it [20:00:08]requested_item fm.buy.total is exist - process it [20:00:08]requested_item shift.sale.total is exist - process it [20:00:08]SAM_PROTO_GetShiftData [20:00:08]wFMCommunicate request_size=4 [20:00:08]MH_SAM_APDU [20:00:08]CAPDU: 80 13 02 00 [20:00:08]Write to MH i2c: E2 08 00 B7 70 80 13 02 00 00 00 00 00 A5 [20:00:08]Write i2c OK [20:00:08]MH_I2C_Read... [20:00:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:00:08]Read from MH i2c: E2 [20:00:08]MH_I2C_Read... [20:00:08]Read from MH i2c: E2 FD 00 [20:00:08]MH_I2C_Read... [20:00:08]Read from MH i2c: E2 FD 00 B7 70 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 23 03 36 70 04 03 00 F4 96 15 72 04 03 00 2F 6C 20 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 58 BC 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 55 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8E [20:00:08]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 23 03 36 70 04 03 00 F4 96 15 72 04 03 00 2F 6C 20 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 58 BC 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 55 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:00:08]wFMCommunicate OK [20:00:08]wFMCommunicate request_size=4 [20:00:08]MH_SAM_APDU [20:00:08]CAPDU: 80 17 00 00 [20:00:08]Write to MH i2c: E2 08 00 B8 70 80 17 00 00 00 00 00 00 A8 [20:00:08]Write i2c OK [20:00:08]MH_I2C_Read... [20:00:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:09]Read from MH i2c: E2 [20:00:09]MH_I2C_Read... [20:00:09]Read from MH i2c: E2 FD 00 [20:00:09]MH_I2C_Read... [20:00:09]Read from MH i2c: E2 FD 00 B8 70 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 CA [20:00:09]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 [20:00:09]wFMCommunicate OK [20:00:09]wFMCommunicate request_size=4 [20:00:09]MH_SAM_APDU [20:00:09]CAPDU: 80 17 00 00 [20:00:09]Write to MH i2c: E2 08 00 B9 70 80 17 00 00 00 00 00 00 A9 [20:00:09]Write i2c OK [20:00:09]MH_I2C_Read... [20:00:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:09]Read from MH i2c: E2 [20:00:09]MH_I2C_Read... [20:00:09]Read from MH i2c: E2 FD 00 [20:00:09]MH_I2C_Read... [20:00:09]Read from MH i2c: E2 FD 00 B9 70 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 60 [20:00:09]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 [20:00:09]wFMCommunicate OK [20:00:09]wFMCommunicate request_size=4 [20:00:09]MH_SAM_APDU [20:00:09]CAPDU: 80 17 00 00 [20:00:09]Write to MH i2c: E2 08 00 BA 70 80 17 00 00 00 00 00 00 AA [20:00:09]Write i2c OK [20:00:09]MH_I2C_Read... [20:00:09]OFD Sender: No OFD packet to send [20:00:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:09]Read from MH i2c: E2 [20:00:09]MH_I2C_Read... [20:00:09]Read from MH i2c: E2 FD 00 [20:00:09]MH_I2C_Read... [20:00:09]Read from MH i2c: E2 FD 00 BA 70 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 1C [20:00:09]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 [20:00:09]wFMCommunicate OK [20:00:09]wFMCommunicate request_size=4 [20:00:09]MH_SAM_APDU [20:00:09]CAPDU: 80 17 00 00 [20:00:09]Write to MH i2c: E2 08 00 BB 70 80 17 00 00 00 00 00 00 AB [20:00:09]Write i2c OK [20:00:09]MH_I2C_Read... [20:00:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:00:10]Read from MH i2c: E2 [20:00:10]MH_I2C_Read... [20:00:10]Read from MH i2c: E2 CB 00 [20:00:10]MH_I2C_Read... [20:00:10]Read from MH i2c: E2 CB 00 BB 70 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 94 [20:00:10]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 [20:00:10]wFMCommunicate OK [20:00:10]SAM_PROTO_GetShiftData done [20:00:10]requested_item shift.sale.total_cash is exist - process it [20:00:10]requested_item shift.sale_refund.total is exist - process it [20:00:10]requested_item shift.sale_refund.total_cash is exist - process it [20:00:10]requested_item shift.buy.total is exist - process it [20:00:10]requested_item shift.buy.total_cash is exist - process it [20:00:10]produce_requested_data done [20:00:10]produce_requested_data return {"fm.sale.total":884760.05,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":35397.47,"shift.sale.total_cash":14149.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} [20:00:10]process_action_free get_value [20:00:10]json_value_free [20:00:10]json_value_free done [20:00:10]process_json_proto returns [20:00:10]Send response to host [20:00:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":884760.05,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":35397.47,"shift.sale.total_cash":14149.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}}} [20:00:10]free response buf [20:00:10]execute_script done [20:00:10]execute_script returns [20:00:10]free content buf [20:00:10]Sock 7.Close socket [20:00:10]Sock 7.Thread stoped [20:00:10]accept exits with 9 [20:00:10]New connection [20:00:10]New thread 3066707300 created [20:00:10]Thread 3066850660 joined [20:00:10]Waiting for new connection... [20:00:10] Sock 9.Parse request [20:00:10]Sock 9.Check first char [20:00:10]Sock 9.First char is OK [20:00:10]request: POST /json_proto HTTP/1.0 [20:00:10]Method: POST [20:00:10]URL: /json_proto [20:00:10]Method is POST - this is cgi request [20:00:10]url: /json_proto [20:00:10]query_string will be loaded in cgi processing [20:00:10]execute_cgi json_proto POST (null) [20:00:10]execute_cgi path=json_proto method=POST [20:00:10]POST find Content-Length [20:00:10]Host: 172.17.52.132:8080 [20:00:10]Content-Length: 331 [20:00:10]Content-Type: application/json [20:00:10] [20:00:10]POST finish read [20:00:10]Found Content-Length = 331 [20:00:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [20:00:10]execute_script... [20:00:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [20:00:10]POST & json_proto [20:00:10]process_json_proto [20:00:10]json parsed OK: [20:00:10]protocol is kg_v1.0 [20:00:10]action value=get_value [20:00:10]process_action get_value [20:00:10]cmd_get_value [20:00:10]process_action get_value done [20:00:10]requested_data is exist [20:00:10]produce_requested_data [20:00:10]requested_item fm.sale.total is exist - process it [20:00:10]SAM_PROTO_GetFMData [20:00:10]wFMCommunicate request_size=4 [20:00:10]MH_SAM_APDU [20:00:10]CAPDU: 80 13 03 00 [20:00:10]Write to MH i2c: E2 08 00 BC 70 80 13 03 00 00 00 00 00 AB [20:00:10]Write i2c OK [20:00:10]MH_I2C_Read... [20:00:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:00:10]Read from MH i2c: E2 [20:00:10]MH_I2C_Read... [20:00:10]Read from MH i2c: E2 FD 00 [20:00:10]MH_I2C_Read... [20:00:10]Read from MH i2c: E2 FD 00 BC 70 00 BE 04 85 04 BA 04 6E 04 04 00 50 0A 00 00 69 04 9F 00 6F 04 04 00 48 0A 00 00 B1 04 04 00 65 09 46 05 70 04 04 00 8C C3 DE 03 72 04 04 00 D9 45 67 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 5F 8F 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 AB F1 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 6F [20:00:10]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 50 0A 00 00 69 04 9F 00 6F 04 04 00 48 0A 00 00 B1 04 04 00 65 09 46 05 70 04 04 00 8C C3 DE 03 72 04 04 00 D9 45 67 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 5F 8F 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 AB F1 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [20:00:10]wFMCommunicate OK [20:00:10]wFMCommunicate request_size=4 [20:00:10]MH_SAM_APDU [20:00:10]CAPDU: 80 17 00 00 [20:00:10]Write to MH i2c: E2 08 00 BD 70 80 17 00 00 00 00 00 00 AD [20:00:10]Write i2c OK [20:00:10]MH_I2C_Read... [20:00:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:11]Read from MH i2c: E2 [20:00:11]MH_I2C_Read... [20:00:11]Read from MH i2c: E2 FD 00 [20:00:11]MH_I2C_Read... [20:00:11]Read from MH i2c: E2 FD 00 BD 70 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C2 [20:00:11]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:00:11]wFMCommunicate OK [20:00:11]wFMCommunicate request_size=4 [20:00:11]MH_SAM_APDU [20:00:11]CAPDU: 80 17 00 00 [20:00:11]Write to MH i2c: E2 08 00 BE 70 80 17 00 00 00 00 00 00 AE [20:00:11]Write i2c OK [20:00:11]MH_I2C_Read... [20:00:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:11]Read from MH i2c: E2 [20:00:11]MH_I2C_Read... [20:00:11]Read from MH i2c: E2 FD 00 [20:00:11]MH_I2C_Read... [20:00:11]Read from MH i2c: E2 FD 00 BE 70 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E0 [20:00:11]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:00:11]wFMCommunicate OK [20:00:11]wFMCommunicate request_size=4 [20:00:11]MH_SAM_APDU [20:00:11]CAPDU: 80 17 00 00 [20:00:11]Write to MH i2c: E2 08 00 BF 70 80 17 00 00 00 00 00 00 AF [20:00:11]Write i2c OK [20:00:11]MH_I2C_Read... [20:00:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:11]Read from MH i2c: E2 [20:00:11]MH_I2C_Read... [20:00:11]Read from MH i2c: E2 FD 00 [20:00:11]MH_I2C_Read... [20:00:11]Read from MH i2c: E2 FD 00 BF 70 00 04 F7 03 00 00 EF 03 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 90 00 2A [20:00:11]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [20:00:11]wFMCommunicate OK [20:00:11]wFMCommunicate request_size=4 [20:00:11]MH_SAM_APDU [20:00:11]CAPDU: 80 17 00 00 [20:00:11]Write to MH i2c: E2 08 00 C0 70 80 17 00 00 00 00 00 00 B0 [20:00:11]Write i2c OK [20:00:11]MH_I2C_Read... [20:00:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [20:00:12]Read from MH i2c: E2 [20:00:12]MH_I2C_Read... [20:00:12]Read from MH i2c: E2 DB 00 [20:00:12]MH_I2C_Read... [20:00:12]Read from MH i2c: E2 DB 00 C0 70 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 92 [20:00:12]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:00:12]wFMCommunicate OK [20:00:12]SAM_PROTO_GetFMData done [20:00:12]requested_item fm.sale_refund.total is exist - process it [20:00:12]requested_item fm.buy.total is exist - process it [20:00:12]requested_item shift.sale.total is exist - process it [20:00:12]SAM_PROTO_GetShiftData [20:00:12]wFMCommunicate request_size=4 [20:00:12]MH_SAM_APDU [20:00:12]CAPDU: 80 13 02 00 [20:00:12]Write to MH i2c: E2 08 00 C1 70 80 13 02 00 00 00 00 00 AF [20:00:12]Write i2c OK [20:00:12]MH_I2C_Read... [20:00:12]Read from MH i2c: E2 [20:00:12]MH_I2C_Read... [20:00:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:00:12]Read from MH i2c: E2 FD 00 [20:00:12]MH_I2C_Read... [20:00:12]Read from MH i2c: E2 FD 00 C1 70 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 23 03 36 70 04 03 00 F4 96 15 72 04 03 00 2F 6C 20 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 58 BC 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 55 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 [20:00:12]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 23 03 36 70 04 03 00 F4 96 15 72 04 03 00 2F 6C 20 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 58 BC 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 55 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:00:12]wFMCommunicate OK [20:00:12]wFMCommunicate request_size=4 [20:00:12]MH_SAM_APDU [20:00:12]CAPDU: 80 17 00 00 [20:00:12]Write to MH i2c: E2 08 00 C2 70 80 17 00 00 00 00 00 00 B2 [20:00:12]Write i2c OK [20:00:12]MH_I2C_Read... [20:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:13]Read from MH i2c: E2 [20:00:13]MH_I2C_Read... [20:00:13]Read from MH i2c: E2 FD 00 [20:00:13]MH_I2C_Read... [20:00:13]Read from MH i2c: E2 FD 00 C2 70 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 D4 [20:00:13]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 [20:00:13]wFMCommunicate OK [20:00:13]wFMCommunicate request_size=4 [20:00:13]MH_SAM_APDU [20:00:13]CAPDU: 80 17 00 00 [20:00:13]Write to MH i2c: E2 08 00 C3 70 80 17 00 00 00 00 00 00 B3 [20:00:13]Write i2c OK [20:00:13]MH_I2C_Read... [20:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:13]Read from MH i2c: E2 [20:00:13]MH_I2C_Read... [20:00:13]Read from MH i2c: E2 FD 00 [20:00:13]MH_I2C_Read... [20:00:13]Read from MH i2c: E2 FD 00 C3 70 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6A [20:00:13]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 [20:00:13]wFMCommunicate OK [20:00:13]wFMCommunicate request_size=4 [20:00:13]MH_SAM_APDU [20:00:13]CAPDU: 80 17 00 00 [20:00:13]Write to MH i2c: E2 08 00 C4 70 80 17 00 00 00 00 00 00 B4 [20:00:13]Write i2c OK [20:00:13]MH_I2C_Read... [20:00:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:14]Read from MH i2c: E2 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 FD 00 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 FD 00 C4 70 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 26 [20:00:14]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 [20:00:14]wFMCommunicate OK [20:00:14]wFMCommunicate request_size=4 [20:00:14]MH_SAM_APDU [20:00:14]CAPDU: 80 17 00 00 [20:00:14]Write to MH i2c: E2 08 00 C5 70 80 17 00 00 00 00 00 00 B5 [20:00:14]Write i2c OK [20:00:14]MH_I2C_Read... [20:00:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:00:14]Read from MH i2c: E2 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 CB 00 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 CB 00 C5 70 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 9E [20:00:14]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 [20:00:14]wFMCommunicate OK [20:00:14]SAM_PROTO_GetShiftData done [20:00:14]requested_item shift.sale.total_cash is exist - process it [20:00:14]requested_item shift.sale_refund.total is exist - process it [20:00:14]requested_item shift.sale_refund.total_cash is exist - process it [20:00:14]requested_item shift.buy.total is exist - process it [20:00:14]requested_item shift.buy.total_cash is exist - process it [20:00:14]produce_requested_data done [20:00:14]produce_requested_data return {"fm.sale.total":884760.05,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":35397.47,"shift.sale.total_cash":14149.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} [20:00:14]process_action_free get_value [20:00:14]json_value_free [20:00:14]json_value_free done [20:00:14]process_json_proto returns [20:00:14]Send response to host [20:00:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":884760.05,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":35397.47,"shift.sale.total_cash":14149.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}}} [20:00:14]free response buf [20:00:14]execute_script done [20:00:14]execute_script returns [20:00:14]free content buf [20:00:14]Sock 9.Close socket [20:00:14]Sock 9.Thread stoped [20:00:14]accept exits with 7 [20:00:14]New connection [20:00:14]New thread 3066850660 created [20:00:14]Thread 3066707300 joined [20:00:14]Waiting for new connection... [20:00:14] Sock 7.Parse request [20:00:14]Sock 7.Check first char [20:00:14]Sock 7.First char is OK [20:00:14]request: POST /json_proto HTTP/1.0 [20:00:14]Method: POST [20:00:14]URL: /json_proto [20:00:14]Method is POST - this is cgi request [20:00:14]url: /json_proto [20:00:14]query_string will be loaded in cgi processing [20:00:14]execute_cgi json_proto POST (null) [20:00:14]execute_cgi path=json_proto method=POST [20:00:14]POST find Content-Length [20:00:14]Host: 172.17.52.132:8080 [20:00:14]Content-Length: 257 [20:00:14]Content-Type: application/json [20:00:14] [20:00:14]POST finish read [20:00:14]Found Content-Length = 257 [20:00:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:00:14]execute_script... [20:00:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:00:14]POST & json_proto [20:00:14]process_json_proto [20:00:14]json parsed OK: [20:00:14]protocol is kg_v1.0 [20:00:14]action value=x_report [20:00:14]process_action x_report [20:00:14]cmd_x_report [20:00:14]MH_GetDate [20:00:14]Write to MH i2c: F0 00 00 C6 70 25 [20:00:14]Write i2c OK [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: F0 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: F0 09 00 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: F0 09 00 C6 70 00 5F 61 15 67 5A BE F6 66 DE [20:00:14]GetLastDocTimeStamp 1729453879 [20:00:14]current date 1729454431 [20:00:14]FM_GetShiftState [20:00:14]SAM_PROTO_GetShiftState [20:00:14]wFMCommunicate request_size=4 [20:00:14]MH_SAM_APDU [20:00:14]CAPDU: 80 13 01 00 [20:00:14]Write to MH i2c: E2 08 00 C7 70 80 13 01 00 00 00 00 00 B4 [20:00:14]Write i2c OK [20:00:14]MH_I2C_Read... [20:00:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:14]Read from MH i2c: E2 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 0E 00 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 0E 00 C7 70 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9E [20:00:14]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:00:14]wFMCommunicate OK [20:00:14]SAM_PROTO_GetShiftState done [20:00:14]FM_GetShiftState done [20:00:14]KKMCreateXReportDocument [20:00:14]Load OK [20:00:14]Malloc new data [20:00:14]MH_GetDate [20:00:14]Write to MH i2c: F0 00 00 C8 70 27 [20:00:14]Write i2c OK [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: F0 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: F0 09 00 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: F0 09 00 C8 70 00 5F 61 15 67 5A BE F6 66 E0 [20:00:14]Malloc new data [20:00:14]Malloc new data [20:00:14]wFMCommunicate request_size=4 [20:00:14]MH_SAM_APDU [20:00:14]CAPDU: 80 11 00 00 [20:00:14]Write to MH i2c: E2 08 00 C9 70 80 11 00 00 00 00 00 00 B3 [20:00:14]OFD Sender: No OFD packet to send [20:00:14]Write i2c OK [20:00:14]MH_I2C_Read... [20:00:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:00:14]Read from MH i2c: E2 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 17 00 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 17 00 C9 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FB [20:00:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:00:14]wFMCommunicate OK [20:00:14]SAM_PROTO_GetFieldsCounters [20:00:14]wFMCommunicate request_size=4 [20:00:14]MH_SAM_APDU [20:00:14]CAPDU: 80 13 00 00 [20:00:14]Write to MH i2c: E2 08 00 CA 70 80 13 00 00 00 00 00 00 B6 [20:00:14]Write i2c OK [20:00:14]MH_I2C_Read... [20:00:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:00:14]Read from MH i2c: E2 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 62 00 [20:00:14]MH_I2C_Read... [20:00:14]Read from MH i2c: E2 62 00 CA 70 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 80 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [20:00:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 80 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:00:14]wFMCommunicate OK [20:00:14]SAM_PROTO_GetFieldsCounters done [20:00:14]Malloc new data [20:00:14]Malloc new data [20:00:14]Malloc new data [20:00:14]KKMCreateXReportDocument OK [20:00:14]KKMSetXReportData OK [20:00:14]KKMPrepareXReportFMData [20:00:14]SAM_PROTO_GetShiftData [20:00:14]wFMCommunicate request_size=4 [20:00:14]MH_SAM_APDU [20:00:14]CAPDU: 80 13 02 00 [20:00:14]Write to MH i2c: E2 08 00 CB 70 80 13 02 00 00 00 00 00 B9 [20:00:14]Write i2c OK [20:00:14]MH_I2C_Read... [20:00:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:00:15]Read from MH i2c: E2 [20:00:15]MH_I2C_Read... [20:00:15]Read from MH i2c: E2 FD 00 [20:00:15]MH_I2C_Read... [20:00:15]Read from MH i2c: E2 FD 00 CB 70 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 23 03 36 70 04 03 00 F4 96 15 72 04 03 00 2F 6C 20 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 58 BC 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 55 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A2 [20:00:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 23 03 36 70 04 03 00 F4 96 15 72 04 03 00 2F 6C 20 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 58 BC 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 55 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:00:15]wFMCommunicate OK [20:00:15]wFMCommunicate request_size=4 [20:00:15]MH_SAM_APDU [20:00:15]CAPDU: 80 17 00 00 [20:00:15]Write to MH i2c: E2 08 00 CC 70 80 17 00 00 00 00 00 00 BC [20:00:15]Write i2c OK [20:00:15]MH_I2C_Read... [20:00:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:15]Read from MH i2c: E2 [20:00:15]MH_I2C_Read... [20:00:15]Read from MH i2c: E2 FD 00 [20:00:15]MH_I2C_Read... [20:00:15]Read from MH i2c: E2 FD 00 CC 70 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 DE [20:00:15]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 [20:00:16]wFMCommunicate OK [20:00:16]wFMCommunicate request_size=4 [20:00:16]MH_SAM_APDU [20:00:16]CAPDU: 80 17 00 00 [20:00:16]Write to MH i2c: E2 08 00 CD 70 80 17 00 00 00 00 00 00 BD [20:00:16]Write i2c OK [20:00:16]MH_I2C_Read... [20:00:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:16]Read from MH i2c: E2 [20:00:16]MH_I2C_Read... [20:00:16]Read from MH i2c: E2 FD 00 [20:00:16]MH_I2C_Read... [20:00:16]Read from MH i2c: E2 FD 00 CD 70 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 74 [20:00:16]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 [20:00:16]wFMCommunicate OK [20:00:16]wFMCommunicate request_size=4 [20:00:16]MH_SAM_APDU [20:00:16]CAPDU: 80 17 00 00 [20:00:16]Write to MH i2c: E2 08 00 CE 70 80 17 00 00 00 00 00 00 BE [20:00:16]Write i2c OK [20:00:16]MH_I2C_Read... [20:00:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:16]Read from MH i2c: E2 [20:00:16]MH_I2C_Read... [20:00:16]Read from MH i2c: E2 FD 00 [20:00:16]MH_I2C_Read... [20:00:16]Read from MH i2c: E2 FD 00 CE 70 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 30 [20:00:16]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 [20:00:17]wFMCommunicate OK [20:00:17]wFMCommunicate request_size=4 [20:00:17]MH_SAM_APDU [20:00:17]CAPDU: 80 17 00 00 [20:00:17]Write to MH i2c: E2 08 00 CF 70 80 17 00 00 00 00 00 00 BF [20:00:17]Write i2c OK [20:00:17]MH_I2C_Read... [20:00:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:00:17]Read from MH i2c: E2 [20:00:17]MH_I2C_Read... [20:00:17]Read from MH i2c: E2 CB 00 [20:00:17]MH_I2C_Read... [20:00:17]Read from MH i2c: E2 CB 00 CF 70 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 A8 [20:00:17]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 [20:00:17]wFMCommunicate OK [20:00:17]SAM_PROTO_GetShiftData done [20:00:17]1194 (1194) - счетчики итогов смены [20:00:17] 1134 (4) - 69 - количество чеков со всеми признаками расчетов [20:00:17] 1129 (155) - счетчики операций «приход» [20:00:17] 1135 (4) - 69 - количество чеков по признаку расчетов [20:00:17] 1201 (3) - 35397.47 - общая итоговая сумма в чеках [20:00:17] 1136 (3) - 14149.00 - итоговая сумма в чеках наличными [20:00:17] 1138 (3) - 21248.47 - итоговая сумма в чеках безналичными [20:00:17] 1024 (122) - суммы налогов [20:00:17] 1006 (9) - суммы НДС [20:00:17] 1010 (1) - 0% - код ставки НДС [20:00:17] 1011 (0) - 0.00 - сумма НДС по ставке [20:00:17] 1006 (12) - суммы НДС [20:00:17] 1010 (1) - 12% - код ставки НДС [20:00:17] 1011 (3) - 3758.96 - сумма НДС по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 0% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (11) - суммы НСП [20:00:17] 1014 (1) - 1% - код ставки НСП [20:00:17] 1015 (2) - 313.17 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 2% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 3% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 5% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 0,50% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 1,50% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1130 (141) - счетчики операций «возврат прихода» [20:00:17] 1135 (4) - 0 - количество чеков по признаку расчетов [20:00:17] 1201 (0) - 0.00 - общая итоговая сумма в чеках [20:00:17] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [20:00:17] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:00:17] 1024 (117) - суммы налогов [20:00:17] 1006 (9) - суммы НДС [20:00:17] 1010 (1) - 0% - код ставки НДС [20:00:17] 1011 (0) - 0.00 - сумма НДС по ставке [20:00:17] 1006 (9) - суммы НДС [20:00:17] 1010 (1) - 12% - код ставки НДС [20:00:17] 1011 (0) - 0.00 - сумма НДС по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 0% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 1% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 2% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 3% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 5% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 0,50% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 1,50% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1131 (141) - счетчики операций «расход» [20:00:17] 1135 (4) - 0 - количество чеков по признаку расчетов [20:00:17] 1201 (0) - 0.00 - общая итоговая сумма в чеках [20:00:17] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [20:00:17] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:00:17] 1024 (117) - суммы налогов [20:00:17] 1006 (9) - суммы НДС [20:00:17] 1010 (1) - 0% - код ставки НДС [20:00:17] 1011 (0) - 0.00 - сумма НДС по ставке [20:00:17] 1006 (9) - суммы НДС [20:00:17] 1010 (1) - 12% - код ставки НДС [20:00:17] 1011 (0) - 0.00 - сумма НДС по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 0% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 1% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 2% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 3% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 5% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 0,50% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 1,50% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1132 (141) - счетчики операций «возврат расхода» [20:00:17] 1135 (4) - 0 - количество чеков по признаку расчетов [20:00:17] 1201 (0) - 0.00 - общая итоговая сумма в чеках [20:00:17] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [20:00:17] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:00:17] 1024 (117) - суммы налогов [20:00:17] 1006 (9) - суммы НДС [20:00:17] 1010 (1) - 0% - код ставки НДС [20:00:17] 1011 (0) - 0.00 - сумма НДС по ставке [20:00:17] 1006 (9) - суммы НДС [20:00:17] 1010 (1) - 12% - код ставки НДС [20:00:17] 1011 (0) - 0.00 - сумма НДС по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 0% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 1% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 2% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 3% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 5% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 0,50% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1007 (9) - суммы НСП [20:00:17] 1014 (1) - 1,50% - код ставки НСП [20:00:17] 1015 (0) - 0.00 - сумма НСП по ставке [20:00:17] 1133 (588) - - счетчики коррекции - не используются [20:00:17]SetTLVBufToDocument [20:00:17]Processing tag 1194 (04AA) [20:00:17]Load OK [20:00:17]SetTLVBufToDocument [20:00:17]Processing tag 1134 (046E) [20:00:17]Malloc new data [20:00:17]Processing tag 1129 (0469) [20:00:17]Load OK [20:00:17]SetTLVBufToDocument [20:00:17]Processing tag 1135 (046F) [20:00:17]Malloc new data [20:00:17]Processing tag 1201 (04B1) [20:00:17]Malloc new data [20:00:17]Processing tag 1136 (0470) [20:00:17]Malloc new data [20:00:17]Processing tag 1138 (0472) [20:00:17]Malloc new data [20:00:17]Processing tag 1024 (0400) [20:00:17]Load OK [20:00:17]SetTLVBufToDocument [20:00:17]Processing tag 1006 (03EE) [20:00:17]Load OK [20:00:17]SetTLVBufToDocument [20:00:17]Processing tag 1010 (03F2) [20:00:17]Malloc new data [20:00:17]Processing tag 1011 (03F3) [20:00:17]Malloc new data [20:00:17]SetTLVBufToDocument err=0 [20:00:17]Processing tag 1006 (03EE) [20:00:17]Load OK [20:00:17]SetTLVBufToDocument [20:00:17]Processing tag 1010 (03F2) [20:00:17]Malloc new data [20:00:17]Processing tag 1011 (03F3) [20:00:17]Malloc new data [20:00:17]SetTLVBufToDocument err=0 [20:00:17]Processing tag 1007 (03EF) [20:00:17]Load OK [20:00:17]SetTLVBufToDocument [20:00:17]Processing tag 1014 (03F6) [20:00:17]Malloc new data [20:00:17]Processing tag 1015 (03F7) [20:00:17]Malloc new data [20:00:17]SetTLVBufToDocument err=0 [20:00:17]Processing tag 1007 (03EF) [20:00:17]Load OK [20:00:17]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1130 (046A) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1135 (046F) [20:00:18]Malloc new data [20:00:18]Processing tag 1201 (04B1) [20:00:18]Malloc new data [20:00:18]Processing tag 1136 (0470) [20:00:18]Malloc new data [20:00:18]Processing tag 1138 (0472) [20:00:18]Malloc new data [20:00:18]Processing tag 1024 (0400) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1006 (03EE) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1010 (03F2) [20:00:18]Malloc new data [20:00:18]Processing tag 1011 (03F3) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1006 (03EE) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1010 (03F2) [20:00:18]Malloc new data [20:00:18]Processing tag 1011 (03F3) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1131 (046B) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1135 (046F) [20:00:18]Malloc new data [20:00:18]Processing tag 1201 (04B1) [20:00:18]Malloc new data [20:00:18]Processing tag 1136 (0470) [20:00:18]Malloc new data [20:00:18]Processing tag 1138 (0472) [20:00:18]Malloc new data [20:00:18]Processing tag 1024 (0400) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1006 (03EE) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1010 (03F2) [20:00:18]Malloc new data [20:00:18]Processing tag 1011 (03F3) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1006 (03EE) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1010 (03F2) [20:00:18]Malloc new data [20:00:18]Processing tag 1011 (03F3) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1132 (046C) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1135 (046F) [20:00:18]Malloc new data [20:00:18]Processing tag 1201 (04B1) [20:00:18]Malloc new data [20:00:18]Processing tag 1136 (0470) [20:00:18]Malloc new data [20:00:18]Processing tag 1138 (0472) [20:00:18]Malloc new data [20:00:18]Processing tag 1024 (0400) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1006 (03EE) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1010 (03F2) [20:00:18]Malloc new data [20:00:18]Processing tag 1011 (03F3) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1006 (03EE) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1010 (03F2) [20:00:18]Malloc new data [20:00:18]Processing tag 1011 (03F3) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1007 (03EF) [20:00:18]Load OK [20:00:18]SetTLVBufToDocument [20:00:18]Processing tag 1014 (03F6) [20:00:18]Malloc new data [20:00:18]Processing tag 1015 (03F7) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Processing tag 1133 (046D) [20:00:18]Malloc new data [20:00:18]SetTLVBufToDocument err=0 [20:00:18]SetTLVBufToDocument err=0 [20:00:18]Malloc new data [20:00:18]SAM_PROTO_GetFMData [20:00:18]wFMCommunicate request_size=4 [20:00:18]MH_SAM_APDU [20:00:18]CAPDU: 80 13 03 00 [20:00:18]Write to MH i2c: E2 08 00 D0 70 80 13 03 00 00 00 00 00 BF [20:00:18]Write i2c OK [20:00:18]MH_I2C_Read... [20:00:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:00:19]Read from MH i2c: E2 [20:00:19]MH_I2C_Read... [20:00:19]Read from MH i2c: E2 FD 00 [20:00:19]MH_I2C_Read... [20:00:19]Read from MH i2c: E2 FD 00 D0 70 00 BE 04 85 04 BA 04 6E 04 04 00 50 0A 00 00 69 04 9F 00 6F 04 04 00 48 0A 00 00 B1 04 04 00 65 09 46 05 70 04 04 00 8C C3 DE 03 72 04 04 00 D9 45 67 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 5F 8F 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 AB F1 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 83 [20:00:19]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 50 0A 00 00 69 04 9F 00 6F 04 04 00 48 0A 00 00 B1 04 04 00 65 09 46 05 70 04 04 00 8C C3 DE 03 72 04 04 00 D9 45 67 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 5F 8F 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 AB F1 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [20:00:19]wFMCommunicate OK [20:00:19]wFMCommunicate request_size=4 [20:00:19]MH_SAM_APDU [20:00:19]CAPDU: 80 17 00 00 [20:00:19]Write to MH i2c: E2 08 00 D1 70 80 17 00 00 00 00 00 00 C1 [20:00:19]Write i2c OK [20:00:19]MH_I2C_Read... [20:00:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:19]Read from MH i2c: E2 [20:00:19]MH_I2C_Read... [20:00:19]Read from MH i2c: E2 FD 00 [20:00:19]MH_I2C_Read... [20:00:19]Read from MH i2c: E2 FD 00 D1 70 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [20:00:19]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 OFD Sender: No OFD packet to send [20:00:19]03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:00:19]wFMCommunicate OK [20:00:19]wFMCommunicate request_size=4 [20:00:19]MH_SAM_APDU [20:00:19]CAPDU: 80 17 00 00 [20:00:19]Write to MH i2c: E2 08 00 D2 70 80 17 00 00 00 00 00 00 C2 [20:00:19]Write i2c OK [20:00:19]MH_I2C_Read... [20:00:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:20]Read from MH i2c: E2 [20:00:20]MH_I2C_Read... [20:00:20]Read from MH i2c: E2 FD 00 [20:00:20]MH_I2C_Read... [20:00:20]Read from MH i2c: E2 FD 00 D2 70 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F4 [20:00:20]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:00:20]wFMCommunicate OK [20:00:20]wFMCommunicate request_size=4 [20:00:20]MH_SAM_APDU [20:00:20]CAPDU: 80 17 00 00 [20:00:20]Write to MH i2c: E2 08 00 D3 70 80 17 00 00 00 00 00 00 C3 [20:00:20]Write i2c OK [20:00:20]MH_I2C_Read... [20:00:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:00:20]Read from MH i2c: E2 [20:00:20]MH_I2C_Read... [20:00:20]Read from MH i2c: E2 FD 00 [20:00:20]MH_I2C_Read... [20:00:20]Read from MH i2c: E2 FD 00 D3 70 00 04 F7 03 00 00 EF 03 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 90 00 3E [20:00:20]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [20:00:20]wFMCommunicate OK [20:00:20]wFMCommunicate request_size=4 [20:00:20]MH_SAM_APDU [20:00:20]CAPDU: 80 17 00 00 [20:00:20]Write to MH i2c: E2 08 00 D4 70 80 17 00 00 00 00 00 00 C4 [20:00:21]Write i2c OK [20:00:21]MH_I2C_Read... [20:00:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [20:00:21]Read from MH i2c: E2 [20:00:21]MH_I2C_Read... [20:00:21]Read from MH i2c: E2 DB 00 [20:00:21]MH_I2C_Read... [20:00:21]Read from MH i2c: E2 DB 00 D4 70 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A6 [20:00:21]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:00:21]wFMCommunicate OK [20:00:21]SAM_PROTO_GetFMData done [20:00:21]FM_GetFMData:85 04 BA 04 6E 04 04 00 50 0A 00 00 69 04 9F 00 6F 04 04 00 48 0A 00 00 B1 04 04 00 65 09 46 05 70 04 04 00 8C C3 DE 03 72 04 04 00 D9 45 67 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 5F 8F 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 AB F1 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 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 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 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:00:22]oper:6F 04 04 00 48 0A 00 00 B1 04 04 00 65 09 46 05 70 04 04 00 8C C3 DE 03 72 04 04 00 D9 45 67 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 5F 8F 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 AB F1 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 [20:00:22]total:65 09 46 05 [20:00:22]Malloc new data [20:00:22]oper:6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 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 58 35 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 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [20:00:22]total:58 F6 01 [20:00:22]Malloc new data [20:00:22]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 [20:00:22]total: [20:00:22]Malloc new data [20:00:22]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 [20:00:22]total: [20:00:22]Malloc new data [20:00:22]KKMPrepareXReportFMData err=0 [20:00:22]Х отчет ИНН: 02508201610067 Кассир: Орумбаев Р. 20.10.2024 20:00 Смена: 10 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Всего чеков: 69 ИТОГИ ПРИХОД Чеков: 69 Общий итог: 35397.47 Итого наличными: 14149.00 Итого безнал.: 21248.47 НДС 0% : 0.00 НДС 12% : 3758.96 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 313.17 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 14149.00 НС Приход: 884760.05 НС Возвр.Прихода: 1286.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000002342820 [20:00:22]StoreToDocumentArchive [20:00:22]MH_GetDate [20:00:22]Write to MH i2c: F0 00 00 D5 70 34 [20:00:22]Write i2c OK [20:00:22]MH_I2C_Read... [20:00:22]Read from MH i2c: F0 [20:00:22]MH_I2C_Read... [20:00:22]Read from MH i2c: F0 09 00 [20:00:22]MH_I2C_Read... [20:00:22]Read from MH i2c: F0 09 00 D5 70 00 67 61 15 67 5A BE F6 66 F5 [20:00:22]shift 10 fd 1729454439 [20:00:22]Create dir for shift 0010 [20:00:22]save to /storage/0010/doc_1729454439 [20:00:22]save last doc name /storage/0010/doc_1729454439 to /storage/kkm_last_doc_name [20:00:22]save OK [20:00:22]Clear old archive folders... [20:00:22]NVStorageSaveData kkm_last_timestamp [20:00:22]File name is /storage/kkm_last_timestamp [20:00:22]Write 4 bytes [20:00:22]NVStorageSaveData done [20:00:22]ExternCall_PrintAddStr [20:00:22]wPrintStart [20:00:22]Write to MH i2c: 01 00 00 D6 70 46 [20:00:22]Write i2c OK [20:00:22]MH_I2C_Read... [20:00:22]Read from MH i2c: 01 [20:00:22]MH_I2C_Read... [20:00:22]Read from MH i2c: 01 07 00 [20:00:22]MH_I2C_Read... [20:00:22]Read from MH i2c: 01 07 00 D6 70 00 00 00 00 00 FF 0F 5B [20:00:22]RasterBufferAndPrint [20:00:22]line Х отчет [20:00:22]line ИНН: 02508201610067 [20:00:22]line Кассир: Орумбаев Р. [20:00:22]line 20.10.2024 20:00 [20:00:22]line Смена: 10 [20:00:22]line РНМ: 0000000000207295 [20:00:22]line ЗНМ: 0300000191 [20:00:22]line СНО: Общий режим [20:00:22]line Всего чеков: 69 [20:00:22]line ИТОГИ ПРИХОД [20:00:22]line Чеков: 69 [20:00:22]line Общий итог: 35397.47 [20:00:22]line Итого наличными: 14149.00 [20:00:22]line Итого безнал.: 21248.47 [20:00:22]line НДС 0% : 0.00 [20:00:22]line НДС 12% : 3758.96 [20:00:22]line НСП 0% : 0.00 [20:00:22]line НСП 1,50% : 0.00 [20:00:22]line НСП 0,50% : 0.00 [20:00:22]line НСП 5% : 0.00 [20:00:22]line НСП 3% : 0.00 [20:00:22]line НСП 2% : 0.00 [20:00:22]line НСП 1% : 313.17 [20:00:22]line ИТОГИ ВОЗВРАТ ПРИХОДА [20:00:22]line Чеков: 0 [20:00:22]line Общий итог: 0.00 [20:00:22]line Итого наличными: 0.00 [20:00:22]line Итого безнал.: 0.00 [20:00:22]line НДС 0% : 0.00 [20:00:22]line НДС 12% : 0.00 [20:00:22]line НСП 0% : 0.00 [20:00:22]line НСП 1,50% : 0.00 [20:00:22]line НСП 0,50% : 0.00 [20:00:22]line НСП 5% : 0.00 [20:00:22]line НСП 3% : 0.00 [20:00:22]line НСП 2% : 0.00 [20:00:22]line НСП 1% : 0.00 [20:00:22]line ИТОГИ РАСХОД [20:00:22]line Чеков: 0 [20:00:22]line Общий итог: 0.00 [20:00:22]line Итого наличными: 0.00 [20:00:22]line Итого безнал.: 0.00 [20:00:22]line НДС 0% : 0.00 [20:00:22]line НДС 12% : 0.00 [20:00:22]line НСП 0% : 0.00 [20:00:22]line НСП 1,50% : 0.00 [20:00:22]line НСП 0,50% : 0.00 [20:00:22]line НСП 5% : 0.00 [20:00:22]line НСП 3% : 0.00 [20:00:22]line НСП 2% : 0.00 [20:00:22]line НСП 1% : 0.00 [20:00:22]line ИТОГИ ВОЗВРАТ РАСХОДА [20:00:22]line Чеков: 0 [20:00:22]line Общий итог: 0.00 [20:00:22]line Итого наличными: 0.00 [20:00:22]line Итого безнал.: 0.00 [20:00:22]line НДС 0% : 0.00 [20:00:22]line НДС 12% : 0.00 [20:00:22]line НСП 0% : 0.00 [20:00:22]line НСП 1,50% : 0.00 [20:00:22]line НСП 0,50% : 0.00 [20:00:22]line НСП 5% : 0.00 [20:00:22]line НСП 3% : 0.00 [20:00:22]line НСП 2% : 0.00 [20:00:22]line НСП 1% : 0.00 [20:00:22]line Сумма внесений: 0.00 [20:00:22]line Сумма выплат: 0.00 [20:00:22]line Нал. в кассе: 14149.00 [20:00:22]line НС Приход: 884760.05 [20:00:22]line НС Возвр.Прихода: 1286.00 [20:00:22]line НС Расход: 0.00 [20:00:22]line НС Возвр.Расхода: 0.00 [20:00:22]line ФМ: 0000000002342820 [20:00:22]written 0, free lines is 4095 [20:00:23]Write to MH i2c: 01 00 00 21 71 92 [20:00:23]Write i2c OK [20:00:23]MH_I2C_Read... [20:00:23]Read from MH i2c: 01 [20:00:23]MH_I2C_Read... [20:00:23]Read from MH i2c: 01 07 00 [20:00:23]MH_I2C_Read... [20:00:23]Read from MH i2c: 01 07 00 21 71 00 00 00 00 00 34 0A D7 [20:00:23]RasterBufferAndPrint [20:00:23]line [20:00:23]line [20:00:23]line [20:00:23]line [20:00:23]line [20:00:23]written 0, free lines is 2640 [20:00:23]MH_Cut [20:00:23]Write to MH i2c: D1 01 00 28 71 01 6B [20:00:23]Write i2c OK [20:00:23]MH_I2C_Read... [20:00:23]Read from MH i2c: D1 [20:00:23]MH_I2C_Read... [20:00:23]Read from MH i2c: D1 01 00 [20:00:23]MH_I2C_Read... [20:00:23]Read from MH i2c: D1 01 00 28 71 00 6A [20:00:23]Write to MH i2c: 01 00 00 29 71 9A [20:00:23]Write i2c OK [20:00:23]MH_I2C_Read... [20:00:24]*** Cut start [20:00:24]*** Partial cut [20:00:24]*** CUTSNS_PIN = 1 [20:00:24]*** CUTSNS_PIN = 0 [20:00:24]OFD Sender: No OFD packet to send [20:00:25]*** Brake cut motor [20:00:25]Read from MH i2c: 01 [20:00:25]MH_I2C_Read... [20:00:25]*** Stop cut motor [20:00:25]*** Cut end [20:00:25]Read from MH i2c: 01 07 00 [20:00:25]MH_I2C_Read... [20:00:25]Read from MH i2c: 01 07 00 29 71 00 00 00 00 00 FF 0F AF [20:00:25]process_action x_report done [20:00:25]requested_data is exist [20:00:25]produce_requested_data [20:00:25]requested_item fd.num is exist - process it [20:00:25]SAM_PROTO_GetFieldsCounters [20:00:25]wFMCommunicate request_size=4 [20:00:25]MH_SAM_APDU [20:00:25]CAPDU: 80 13 00 00 [20:00:25]Write to MH i2c: E2 08 00 2A 71 80 13 00 00 00 00 00 00 17 [20:00:25]Write i2c OK [20:00:25]MH_I2C_Read... [20:00:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:00:25]Read from MH i2c: E2 [20:00:25]MH_I2C_Read... [20:00:25]Read from MH i2c: E2 62 00 [20:00:25]MH_I2C_Read... [20:00:25]Read from MH i2c: E2 62 00 2A 71 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 80 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [20:00:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 80 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:00:25]wFMCommunicate OK [20:00:25]SAM_PROTO_GetFieldsCounters done [20:00:25]requested_item shift.num is exist - process it [20:00:25]requested_item shift.opened is exist - process it [20:00:25]req_shift_opened [20:00:25]FM_GetShiftState [20:00:25]SAM_PROTO_GetShiftState [20:00:25]wFMCommunicate request_size=4 [20:00:25]MH_SAM_APDU [20:00:25]CAPDU: 80 13 01 00 [20:00:25]Write to MH i2c: E2 08 00 2B 71 80 13 01 00 00 00 00 00 19 [20:00:25]Write i2c OK [20:00:25]MH_I2C_Read... [20:00:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:25]Read from MH i2c: E2 [20:00:25]MH_I2C_Read... [20:00:25]Read from MH i2c: E2 0E 00 [20:00:25]MH_I2C_Read... [20:00:25]Read from MH i2c: E2 0E 00 2B 71 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 03 [20:00:25]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:00:25]wFMCommunicate OK [20:00:25]SAM_PROTO_GetShiftState done [20:00:25]FM_GetShiftState done [20:00:25]req_shift_opened done [20:00:25]requested_item shift.open_date is exist - process it [20:00:25]req_shift_open_date [20:00:25]req_shift_open_date done [20:00:25]produce_requested_data done [20:00:25]produce_requested_data return {"fd.num":2688,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [20:00:25]process_action_free x_report [20:00:25]json_value_free [20:00:25]json_value_free done [20:00:25]process_json_proto returns [20:00:25]Send response to host [20:00:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2688,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [20:00:25]free response buf [20:00:25]execute_script done [20:00:25]execute_script returns [20:00:25]free content buf [20:00:25]Sock 7.Close socket [20:00:25]Sock 7.Thread stoped [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:15]OFD Sender: No OFD packet to send [20:02:20]OFD Sender: No OFD packet to send [20:02:25]OFD Sender: No OFD packet to send [20:02:30]OFD Sender: No OFD packet to send [20:02:35]OFD Sender: No OFD packet to send [20:02:40]OFD Sender: No OFD packet to send [20:02:45]OFD Sender: No OFD packet to send [20:02:50]OFD Sender: No OFD packet to send [20:02:55]OFD Sender: No OFD packet to send [20:03:00]OFD Sender: No OFD packet to send [20:03:00]accept exits with 9 [20:03:00]New connection [20:03:00]New thread 3066707300 created [20:03:00]Thread 3066850660 joined [20:03:00]Waiting for new connection... [20:03:00] Sock 9.Parse request [20:03:00]Sock 9.Check first char [20:03:00]Sock 9.First char is OK [20:03:00]request: POST /json_proto HTTP/1.0 [20:03:00]Method: POST [20:03:00]URL: /json_proto [20:03:00]Method is POST - this is cgi request [20:03:00]url: /json_proto [20:03:00]query_string will be loaded in cgi processing [20:03:00]execute_cgi json_proto POST (null) [20:03:00]execute_cgi path=json_proto method=POST [20:03:00]POST find Content-Length [20:03:00]Host: 172.17.52.132:8080 [20:03:00]Content-Length: 819 [20:03:00]Content-Type: application/json [20:03:00] [20:03:00]POST finish read [20:03:00]Found Content-Length = 819 [20:03:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100066", "tax_sys" : 0, "items" : [ { "code": "5907718925296", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 Aroma Black", "price" : 280.00, "quantity" : 1.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:03:00]execute_script... [20:03: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)100066", "tax_sys" : 0, "items" : [ { "code": "5907718925296", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 Aroma Black", "price" : 280.00, "quantity" : 1.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:03:00]POST & json_proto [20:03:00]process_json_proto [20:03:00]json parsed OK: [20:03:00]protocol is kg_v1.0 [20:03:00]action value=close_receipt [20:03:00]process_action close_receipt [20:03:00]cmd_close_receipt [20:03:00]MH_GetDate [20:03:00]Write to MH i2c: F0 00 00 2C 71 8C [20:03:00]Write i2c OK [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: F0 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: F0 09 00 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: F0 09 00 2C 71 00 04 62 15 67 5A BE F6 66 EB [20:03:00]GetLastDocTimeStamp 1729454431 [20:03:00]current date 1729454596 [20:03:00]FM_GetShiftState [20:03:00]SAM_PROTO_GetShiftState [20:03:00]wFMCommunicate request_size=4 [20:03:00]MH_SAM_APDU [20:03:00]CAPDU: 80 13 01 00 [20:03:00]Write to MH i2c: E2 08 00 2D 71 80 13 01 00 00 00 00 00 1B [20:03:00]Write i2c OK [20:03:00]MH_I2C_Read... [20:03:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:00]Read from MH i2c: E2 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: E2 0E 00 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: E2 0E 00 2D 71 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 05 [20:03:00]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:03:00]wFMCommunicate OK [20:03:00]SAM_PROTO_GetShiftState done [20:03:00]FM_GetShiftState done [20:03:00]opened in 1729382427 [20:03:00]opened+sec_in_day 1729468827 [20:03:00]quantity*price = 28000 [20:03:00]sum+1 = 28001 [20:03:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.73 Наличными: 0.00 Безнал.: 280.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 70 20.10.2024 20:03 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2689 ФПД: 102275899998164 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200316&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2689&fm=102275899998164&tin=02508201610067®Number=0000000000207295&sum=28000 0 [20:03:01]StoreToDocumentArchive [20:03:01]shift 24 fd 2689 [20:03:01]save to /storage/0024/doc_00002689 [20:03:01]save last doc name /storage/0024/doc_00002689 to /storage/kkm_last_doc_name [20:03:01]save OK [20:03:01]Clear old archive folders... [20:03:01]Remove dir /storage/0010 [20:03:01]opendir ok [20:03:01]file . [20:03:01]file .. [20:03:01]file doc_1729454439 [20:03:01]remove file /storage/0010/doc_1729454439 [20:03:01]remove dir /storage/0010 [20:03:01]ProcessDocumentItem done err = 0, tmpTLVsize=278 [20:03:01]tlvbuf is 014EC290 [20:03:01]SAM_PROTO_ClearQueue [20:03:01]wFMCommunicate request_size=4 [20:03:01]MH_SAM_APDU [20:03:01]CAPDU: 80 09 00 00 [20:03:01]Write to MH i2c: E2 08 00 3A 71 80 09 00 00 00 00 00 00 1D [20:03:01]Write i2c OK [20:03:01]MH_I2C_Read... [20:03:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:03:01]Read from MH i2c: E2 [20:03:01]MH_I2C_Read... [20:03:01]Read from MH i2c: E2 03 00 [20:03:01]MH_I2C_Read... [20:03:01]Read from MH i2c: E2 03 00 3A 71 00 90 00 1F [20:03:01]RAPDU: 90 00 [20:03:01]wFMCommunicate OK [20:03:01]SAM_PROTO_ClearQueue done [20:03:01]KKMCreateOFDPacket [20:03:01]OFDProtocolAddRootSTLVToBuf [20:03:01]FM_MakeSignedData [20:03:01]FM_MakeSignedData [20:03:01]SAM_PROTO_SignData [20:03:01]wFMCommunicate request_size=4 [20:03:01]MH_SAM_APDU [20:03:01]CAPDU: 80 0D 01 02 [20:03:01]Write to MH i2c: E2 08 00 3B 71 80 0D 01 02 00 00 00 00 25 [20:03:01]Write i2c OK [20:03:01]MH_I2C_Read... [20:03:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:03:01]Read from MH i2c: E2 [20:03:01]MH_I2C_Read... [20:03:01]Read from MH i2c: E2 03 00 [20:03:01]MH_I2C_Read... [20:03:01]Read from MH i2c: E2 03 00 3B 71 00 90 00 20 [20:03:01]RAPDU: 90 00 [20:03:01]wFMCommunicate OK [20:03:01]wFMCommunicate request_size=255 [20:03:01]MH_SAM_APDU [20:03:01]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 39 30 37 37 31 38 39 32 35 32 39 36 06 04 24 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 41 72 6F 6D 61 20 42 6C 61 63 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 6D 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 04 62 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 [20:03:01]Write to MH i2c: E2 02 01 3C 71 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 39 30 37 37 31 38 39 32 35 32 39 36 06 04 24 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 41 72 6F 6D 61 20 42 6C 61 63 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 6D 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 04 62 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 00 00 1D [20:03:01]Write i2c OK [20:03:01]MH_I2C_Read... [20:03:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:03:01]Read from MH i2c: E2 [20:03:01]MH_I2C_Read... [20:03:01]Read from MH i2c: E2 03 00 [20:03:01]MH_I2C_Read... [20:03:01]Read from MH i2c: E2 03 00 3C 71 00 90 00 21 [20:03:01]RAPDU: 90 00 [20:03:01]wFMCommunicate OK [20:03:01]wFMCommunicate request_size=37 [20:03:01]MH_SAM_APDU [20:03:01]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 81 0A 00 00 35 04 06 00 5D 04 F6 B0 3F D4 [20:03:01]Write to MH i2c: E2 28 00 3D 71 80 0D 02 02 20 00 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 81 0A 00 00 35 04 06 00 5D 04 F6 B0 3F D4 00 00 19 [20:03:01]Write i2c OK [20:03:01]MH_I2C_Read... [20:03:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:03:01]Read from MH i2c: E2 [20:03:01]MH_I2C_Read... [20:03:01]Read from MH i2c: E2 03 00 [20:03:01]MH_I2C_Read... [20:03:01]Read from MH i2c: E2 03 00 3D 71 00 90 00 22 [20:03:01]RAPDU: 90 00 [20:03:01]wFMCommunicate OK [20:03:01]wFMCommunicate request_size=4 [20:03:01]MH_SAM_APDU [20:03:01]CAPDU: 80 0D 03 02 [20:03:01]Write to MH i2c: E2 08 00 3E 71 80 0D 03 02 00 00 00 00 2A [20:03:01]Write i2c OK [20:03:01]MH_I2C_Read... [20:03:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:03:02]Read from MH i2c: E2 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: E2 0B 00 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: E2 0B 00 3E 71 00 77 4A BA D6 17 7F 0A C6 90 00 E2 [20:03:02]RAPDU: 77 4A BA D6 17 7F 0A C6 90 00 [20:03:02]wFMCommunicate OK [20:03:02]SAM_PROTO_SignData done [20:03:02]FM_MakeSignedData done [20:03:02]CreateOFDProtocolMessage [20:03:02]wFMCommunicate request_size=4 [20:03:02]MH_SAM_APDU [20:03:02]CAPDU: 80 11 00 00 [20:03:02]Write to MH i2c: E2 08 00 3F 71 80 11 00 00 00 00 00 00 2A [20:03:02]Write i2c OK [20:03:02]MH_I2C_Read... [20:03:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:02]Read from MH i2c: E2 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: E2 17 00 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: E2 17 00 3F 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 72 [20:03:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:03:02]wFMCommunicate OK [20:03:02]CreateOFDProtocolMessage done [20:03:02]OFDSenderStorePacket 2689 [20:03:02]StoreOFDPacket docnum=2689 [20:03:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2A 01 00 00 83 FB 22 01 B4 8A 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 39 30 37 37 31 38 39 32 35 32 39 36 06 04 24 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 41 72 6F 6D 61 20 42 6C 61 63 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 6D 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 04 62 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 81 0A 00 00 35 04 06 00 5D 04 F6 B0 3F D4 77 4A BA D6 17 7F 0A C6 [20:03:02]CheckFolder [20:03:02]dirname=/storage/ofd_packets [20:03:02]CheckFolder done [20:03:02]ProducePacketName [20:03:02]name=ofd_packets/00002689 [20:03:02]NVStorageSaveData ofd_packets/00002689 [20:03:02]File name is /storage/ofd_packets/00002689 [20:03:02]Write 328 bytes [20:03:02]NVStorageSaveData done [20:03:02]OFDSenderStorePacket done [20:03:02]KKMCreateOFDPacket done [20:03:02]NVStorageSaveData kkm_last_timestamp [20:03:02]File name is /storage/kkm_last_timestamp [20:03:02]Write 4 bytes [20:03:02]NVStorageSaveData done [20:03:02]ExternCall_PrintAddStr [20:03:02]wPrintStart [20:03:02]Write to MH i2c: 01 00 00 40 71 B1 [20:03:02]Write i2c OK [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: 01 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: 01 07 00 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: 01 07 00 40 71 00 00 00 00 00 FF 0F C6 [20:03:02]RasterBufferAndPrint [20:03:02]line Счет N : (3)100066 [20:03:02]line ИНН: 02508201610067 [20:03:02]line Контрольно-Кассовый Чек [20:03:02]line ПРОДАЖА [20:03:02]line Товар: 5907718925296 [20:03:02]line Ароматизатор Aroma Black [20:03:02]line 1.000 * 280.00 [20:03:02]line = 280.00 [20:03:02]line НДС 12% НСП 1% [20:03:02]line > о реализуемом товаре [20:03:02]line ИТОГО: 280.00 [20:03:02]line НСП 1% : 2.48 [20:03:02]line НДС 12% : 29.73 [20:03:02]line Наличными: 0.00 [20:03:02]line Безнал.: 280.00 [20:03:02]line Место: АЗС № 162 "Партнер Нефть" [20:03:02]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:03:02]line СНО: Общий режим [20:03:02]line Чек 70 20.10.2024 20:03 [20:03:02]line Смена: 24 ФФД: 1.0 [20:03:02]line ЗНМ: 0300000191 [20:03:02]line РНМ: 0000000000207295 [20:03:02]line Версия ККМ: v1.0 [20:03:02]line Платежная система: Бакай Банк [20:03:02]line ФМ: 0000000002342820 [20:03:02]line ФД: 2689 [20:03:02]line ФПД: 102275899998164 [20:03:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200316&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2689&fm=102275899998164&tin=02508201610067®Number=0000000000207295&sum=28000 [20:03:02]line 0 [20:03:02]OFD Sender: Processing packet 2689 [packets to send 1, broken 0] [20:03:02]ProducePacketName [20:03:02]name=ofd_packets/00002689 [20:03:02]OFD Sender: To server: pG, [20:03:02]CommunicateWithHost lk.salyk.kg:30040 [20:03:02]ConnectInit lk.salyk.kg [20:03:02]written 0, free lines is 4095 [20:03:02]Connected sock=11 [20:03:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2A 01 00 00 83 FB 22 01 B4 8A 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 39 30 37 37 31 38 39 32 35 32 39 36 06 04 24 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 41 72 6F 6D 61 20 42 6C 61 63 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 6D 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 04 62 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 81 0A 00 00 35 04 06 00 5D 04 F6 B0 3F D4 77 4A BA D6 17 7F 0A C6 [20:03:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 90 02 47 00 2F 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 33 34 32 38 32 30 10 04 04 00 81 0A 00 00 F4 03 04 00 61 0D 15 67 B6 04 01 00 00 1E 75 5C CD 7A A7 EC 92 [20:03:02]CommunicateWithHost err = 0 [20:03:02]CheckOFDResponse [20:03:02]1017 (14) - 77093643461234 [20:03:02]1041 (16) - 0000000002342820 [20:03:02]1040 (4) - 2689 [20:03:02]1012 (4) - 20.10.2024 14:02 [20:03:02]1206 (1) - 0 [20:03:02]OFD Sender: Remove packet 2689 [20:03:02]ProducePacketName [20:03:02]name=ofd_packets/00002689 [20:03:02]NVStorageDeleteData [20:03:02]Write to MH i2c: 01 00 00 6A 71 DB [20:03:02]Write i2c OK [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: 01 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: 01 07 00 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: 01 07 00 6A 71 00 00 00 00 00 A1 0C 8F [20:03:02]RasterBufferAndPrint [20:03:02]line [20:03:02]line [20:03:02]line [20:03:02]line [20:03:02]line [20:03:02]written 0, free lines is 3239 [20:03:02]MH_Cut [20:03:02]Write to MH i2c: D1 01 00 71 71 01 B4 [20:03:02]Write i2c OK [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: D1 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: D1 01 00 [20:03:02]MH_I2C_Read... [20:03:02]Read from MH i2c: D1 01 00 71 71 00 B3 [20:03:02]Write to MH i2c: 01 00 00 72 71 E3 [20:03:02]Write i2c OK [20:03:02]MH_I2C_Read... [20:03:03]OFD Sender: No OFD packet to send [20:03:03]*** Cut start [20:03:03]*** Partial cut [20:03:03]*** CUTSNS_PIN = 1 [20:03:03]*** CUTSNS_PIN = 0 [20:03:04]*** Brake cut motor [20:03:04]Read from MH i2c: 01 [20:03:04]MH_I2C_Read... [20:03:04]*** Stop cut motor [20:03:04]*** Cut end [20:03:04]Read from MH i2c: 01 07 00 [20:03:04]MH_I2C_Read... [20:03:04]Read from MH i2c: 01 07 00 72 71 00 00 00 00 00 FF 0F F8 [20:03:04]process_action close_receipt done [20:03:04]requested_data is exist [20:03:04]produce_requested_data [20:03:04]requested_item fm.sn is exist - process it [20:03:04]wFMCommunicate request_size=4 [20:03:04]MH_SAM_APDU [20:03:04]CAPDU: 80 11 00 00 [20:03:04]Write to MH i2c: E2 08 00 73 71 80 11 00 00 00 00 00 00 5E [20:03:04]Write i2c OK [20:03:04]MH_I2C_Read... [20:03:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:04]Read from MH i2c: E2 [20:03:04]MH_I2C_Read... [20:03:04]Read from MH i2c: E2 17 00 [20:03:04]MH_I2C_Read... [20:03:04]Read from MH i2c: E2 17 00 73 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A6 [20:03:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:03:04]wFMCommunicate OK [20:03:04]requested_item fd.num is exist - process it [20:03:04]SAM_PROTO_GetFieldsCounters [20:03:04]wFMCommunicate request_size=4 [20:03:04]MH_SAM_APDU [20:03:04]CAPDU: 80 13 00 00 [20:03:04]Write to MH i2c: E2 08 00 74 71 80 13 00 00 00 00 00 00 61 [20:03:04]Write i2c OK [20:03:04]MH_I2C_Read... [20:03:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:03:04]Read from MH i2c: E2 [20:03:04]MH_I2C_Read... [20:03:04]Read from MH i2c: E2 62 00 [20:03:04]MH_I2C_Read... [20:03:04]Read from MH i2c: E2 62 00 74 71 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 81 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [20:03:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 81 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:03:04]wFMCommunicate OK [20:03:04]SAM_PROTO_GetFieldsCounters done [20:03:04]requested_item shift.num is exist - process it [20:03:04]requested_item shift.opened is exist - process it [20:03:04]req_shift_opened [20:03:04]FM_GetShiftState [20:03:04]SAM_PROTO_GetShiftState [20:03:04]wFMCommunicate request_size=4 [20:03:04]MH_SAM_APDU [20:03:04]CAPDU: 80 13 01 00 [20:03:04]Write to MH i2c: E2 08 00 75 71 80 13 01 00 00 00 00 00 63 [20:03:04]Write i2c OK [20:03:04]MH_I2C_Read... [20:03:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:04]Read from MH i2c: E2 [20:03:04]MH_I2C_Read... [20:03:04]Read from MH i2c: E2 0E 00 [20:03:04]MH_I2C_Read... [20:03:04]Read from MH i2c: E2 0E 00 75 71 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 4D [20:03:04]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:03:04]wFMCommunicate OK [20:03:04]SAM_PROTO_GetShiftState done [20:03:04]FM_GetShiftState done [20:03:04]req_shift_opened done [20:03:04]requested_item shift.open_date is exist - process it [20:03:04]req_shift_open_date [20:03:04]req_shift_open_date done [20:03:04]produce_requested_data done [20:03:04]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2689,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [20:03:04]process_action_free close_receipt [20:03:04]json_value_free [20:03:04]json_value_free done [20:03:04]process_json_proto returns [20:03:04]Send response to host [20:03:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2689,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [20:03:04]free response buf [20:03:04]execute_script done [20:03:04]execute_script returns [20:03:04]free content buf [20:03:04]Sock 9.Close socket [20:03:04]Sock 9.Thread stoped [20:03:08]OFD Sender: No OFD packet to send [20:03:13]OFD Sender: No OFD packet to send [20:03:18]OFD Sender: No OFD packet to send [20:03:23]OFD Sender: No OFD packet to send [20:03:28]OFD Sender: No OFD packet to send [20:03:33]OFD Sender: No OFD packet to send [20:03:38]OFD Sender: No OFD packet to send [20:03:43]OFD Sender: No OFD packet to send [20:03:48]OFD Sender: No OFD packet to send [20:03:53]OFD Sender: No OFD packet to send [20:03:58]OFD Sender: No OFD packet to send [20:04:03]OFD Sender: No OFD packet to send [20:04:08]OFD Sender: No OFD packet to send [20:04:13]OFD Sender: No OFD packet to send [20:04:18]OFD Sender: No OFD packet to send [20:04:23]OFD Sender: No OFD packet to send [20:04:28]OFD Sender: No OFD packet to send [20:04:33]OFD Sender: No OFD packet to send [20:04:38]OFD Sender: No OFD packet to send [20:04:43]OFD Sender: No OFD packet to send [20:04:48]OFD Sender: No OFD packet to send [20:04:53]OFD Sender: No OFD packet to send [20:04:58]OFD Sender: No OFD packet to send [20:05:03]OFD Sender: No OFD packet to send [20:05:08]OFD Sender: No OFD packet to send [20:05:13]OFD Sender: No OFD packet to send [20:05:18]OFD Sender: No OFD packet to send [20:05:23]OFD Sender: No OFD packet to send [20:05:28]OFD Sender: No OFD packet to send [20:05:33]OFD Sender: No OFD packet to send [20:05:38]OFD Sender: No OFD packet to send [20:05:43]OFD Sender: No OFD packet to send [20:05:48]OFD Sender: No OFD packet to send [20:05:53]OFD Sender: No OFD packet to send [20:05:58]OFD Sender: No OFD packet to send [20:06:03]OFD Sender: No OFD packet to send [20:06:08]OFD Sender: No OFD packet to send [20:06:13]OFD Sender: No OFD packet to send [20:06:18]OFD Sender: No OFD packet to send [20:06:23]OFD Sender: No OFD packet to send [20:06:28]OFD Sender: No OFD packet to send [20:06:33]OFD Sender: No OFD packet to send [20:06:38]OFD Sender: No OFD packet to send [20:06:43]OFD Sender: No OFD packet to send [20:06:48]OFD Sender: No OFD packet to send [20:06:53]OFD Sender: No OFD packet to send [20:06:58]OFD Sender: No OFD packet to send [20:07:03]OFD Sender: No OFD packet to send [20:07:08]OFD Sender: No OFD packet to send [20:07:13]OFD Sender: No OFD packet to send [20:07:18]OFD Sender: No OFD packet to send [20:07:23]OFD Sender: No OFD packet to send [20:07:28]OFD Sender: No OFD packet to send [20:07:33]OFD Sender: No OFD packet to send [20:07:38]OFD Sender: No OFD packet to send [20:07:43]OFD Sender: No OFD packet to send [20:07:48]OFD Sender: No OFD packet to send [20:07:53]OFD Sender: No OFD packet to send [20:07:58]OFD Sender: No OFD packet to send [20:08:03]OFD Sender: No OFD packet to send [20:08:08]OFD Sender: No OFD packet to send [20:08:13]OFD Sender: No OFD packet to send [20:08:18]OFD Sender: No OFD packet to send [20:08:23]OFD Sender: No OFD packet to send [20:08:28]OFD Sender: No OFD packet to send [20:08:33]OFD Sender: No OFD packet to send [20:08:38]OFD Sender: No OFD packet to send [20:08:43]OFD Sender: No OFD packet to send [20:08:48]OFD Sender: No OFD packet to send [20:08:53]OFD Sender: No OFD packet to send [20:08:58]OFD Sender: No OFD packet to send [20:09:03]OFD Sender: No OFD packet to send [20:09:08]OFD Sender: No OFD packet to send [20:09:13]OFD Sender: No OFD packet to send [20:09:18]OFD Sender: No OFD packet to send [20:09:23]OFD Sender: No OFD packet to send [20:09:28]OFD Sender: No OFD packet to send [20:09:33]OFD Sender: No OFD packet to send [20:09:38]OFD Sender: No OFD packet to send [20:09:43]OFD Sender: No OFD packet to send [20:09:48]OFD Sender: No OFD packet to send [20:09:53]OFD Sender: No OFD packet to send [20:09:58]OFD Sender: No OFD packet to send [20:10:03]OFD Sender: No OFD packet to send [20:10:08]OFD Sender: No OFD packet to send [20:10:13]OFD Sender: No OFD packet to send [20:10:18]OFD Sender: No OFD packet to send [20:10:23]OFD Sender: No OFD packet to send [20:10:28]OFD Sender: No OFD packet to send [20:10:33]OFD Sender: No OFD packet to send [20:10:38]OFD Sender: No OFD packet to send [20:10:43]OFD Sender: No OFD packet to send [20:10:48]OFD Sender: No OFD packet to send [20:10:53]OFD Sender: No OFD packet to send [20:10:58]OFD Sender: No OFD packet to send [20:11:03]OFD Sender: No OFD packet to send [20:11:08]OFD Sender: No OFD packet to send [20:11:13]OFD Sender: No OFD packet to send [20:11:18]OFD Sender: No OFD packet to send [20:11:23]OFD Sender: No OFD packet to send [20:11:28]OFD Sender: No OFD packet to send [20:11:33]OFD Sender: No OFD packet to send [20:11:38]OFD Sender: No OFD packet to send [20:11:43]OFD Sender: No OFD packet to send [20:11:48]OFD Sender: No OFD packet to send [20:11:53]OFD Sender: No OFD packet to send [20:11:58]OFD Sender: No OFD packet to send [20:12:03]OFD Sender: No OFD packet to send [20:12:08]OFD Sender: No OFD packet to send [20:12:13]OFD Sender: No OFD packet to send [20:12:18]OFD Sender: No OFD packet to send [20:12:23]OFD Sender: No OFD packet to send [20:12:28]OFD Sender: No OFD packet to send [20:12:33]OFD Sender: No OFD packet to send [20:12:38]OFD Sender: No OFD packet to send [20:12:43]OFD Sender: No OFD packet to send [20:12:48]OFD Sender: No OFD packet to send [20:12:53]OFD Sender: No OFD packet to send [20:12:58]OFD Sender: No OFD packet to send [20:13:03]OFD Sender: No OFD packet to send [20:13:08]OFD Sender: No OFD packet to send [20:13:13]OFD Sender: No OFD packet to send [20:13:18]OFD Sender: No OFD packet to send [20:13:23]OFD Sender: No OFD packet to send [20:13:28]OFD Sender: No OFD packet to send [20:13:33]OFD Sender: No OFD packet to send [20:13:38]OFD Sender: No OFD packet to send [20:13:43]OFD Sender: No OFD packet to send [20:13:48]OFD Sender: No OFD packet to send [20:13:53]OFD Sender: No OFD packet to send [20:13:58]OFD Sender: No OFD packet to send [20:14:03]OFD Sender: No OFD packet to send [20:14:08]OFD Sender: No OFD packet to send [20:14:13]OFD Sender: No OFD packet to send [20:14:18]OFD Sender: No OFD packet to send [20:14:19]int [20:14:19]Write to MH i2c: 01 00 00 76 71 E7 [20:14:19]*** FLAG_PRN_KEY set [20:14:19]Write i2c OK [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 07 00 [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 07 00 76 71 00 08 00 00 00 FF 0F 04 [20:14:19]state=0 [20:14:19]Key pressed [20:14:19]Feed [20:14:19]Write to MH i2c: D8 00 00 77 71 BF [20:14:19]Write i2c OK [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: D8 [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: D8 01 00 [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: D8 01 00 77 71 00 C0 [20:14:19]int [20:14:19]Write to MH i2c: 01 00 00 78 71 E9 [20:14:19]Write i2c OK [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 07 00 [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 07 00 78 71 00 48 00 00 00 3C 00 74 [20:14:19]state=2 [20:14:19]Key pressed [20:14:19]int [20:14:19]Write to MH i2c: 01 00 00 79 71 EA [20:14:19]*** FLAG_PRN_KEY reset [20:14:19]Write i2c OK [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 07 00 [20:14:19]MH_I2C_Read... [20:14:19]Read from MH i2c: 01 07 00 79 71 00 00 00 00 00 FD 0F FD [20:14:19]state=2 [20:14:19]Stop feed [20:14:23]OFD Sender: No OFD packet to send [20:14:28]OFD Sender: No OFD packet to send [20:14:33]OFD Sender: No OFD packet to send [20:14:38]OFD Sender: No OFD packet to send [20:14:43]OFD Sender: No OFD packet to send [20:14:48]OFD Sender: No OFD packet to send [20:14:53]OFD Sender: No OFD packet to send [20:14:58]OFD Sender: No OFD packet to send [20:15:03]OFD Sender: No OFD packet to send [20:15:08]OFD Sender: No OFD packet to send [20:15:13]OFD Sender: No OFD packet to send [20:15:18]OFD Sender: No OFD packet to send [20:15:19]accept exits with 7 [20:15:19]New connection [20:15:19]New thread 3066850660 created [20:15:19]Thread 3066707300 joined [20:15:19]Waiting for new connection... [20:15:19] Sock 7.Parse request [20:15:19]Sock 7.Check first char [20:15:19]Sock 7.First char is OK [20:15:19]request: POST /json_proto HTTP/1.0 [20:15:19]Method: POST [20:15:19]URL: /json_proto [20:15:19]Method is POST - this is cgi request [20:15:19]url: /json_proto [20:15:19]query_string will be loaded in cgi processing [20:15:19]execute_cgi json_proto POST (null) [20:15:19]execute_cgi path=json_proto method=POST [20:15:19]POST find Content-Length [20:15:19]Host: 172.17.52.132:8080 [20:15:19]Content-Length: 696 [20:15:19]Content-Type: application/json [20:15:19] [20:15:19]POST finish read [20:15:19]Found Content-Length = 696 [20:15:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100067", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:19]execute_script... [20:15:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100067", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:19]POST & json_proto [20:15:19]process_json_proto [20:15:19]json parsed OK: [20:15:19]protocol is kg_v1.0 [20:15:19]action value=close_receipt [20:15:19]process_action close_receipt [20:15:19]cmd_close_receipt [20:15:19]MH_GetDate [20:15:19]Write to MH i2c: F0 00 00 7A 71 DA [20:15:19]Write i2c OK [20:15:19]MH_I2C_Read... [20:15:19]Read from MH i2c: F0 [20:15:19]MH_I2C_Read... [20:15:19]Read from MH i2c: F0 09 00 [20:15:19]MH_I2C_Read... [20:15:19]Read from MH i2c: F0 09 00 7A 71 00 E7 64 15 67 5A BE F6 66 1E [20:15:19]GetLastDocTimeStamp 1729454596 [20:15:19]current date 1729455335 [20:15:19]FM_GetShiftState [20:15:19]SAM_PROTO_GetShiftState [20:15:19]wFMCommunicate request_size=4 [20:15:19]MH_SAM_APDU [20:15:19]CAPDU: 80 13 01 00 [20:15:19]Write to MH i2c: E2 08 00 7B 71 80 13 01 00 00 00 00 00 69 [20:15:19]Write i2c OK [20:15:19]MH_I2C_Read... [20:15:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:19]Read from MH i2c: E2 [20:15:19]MH_I2C_Read... [20:15:19]Read from MH i2c: E2 0E 00 [20:15:19]MH_I2C_Read... [20:15:19]Read from MH i2c: E2 0E 00 7B 71 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 53 [20:15:19]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:15:19]wFMCommunicate OK [20:15:19]SAM_PROTO_GetShiftState done [20:15:19]FM_GetShiftState done [20:15:19]opened in 1729382427 [20:15:19]opened+sec_in_day 1729468827 [20:15:19]quantity*price = 10400 [20:15:19]sum+1 = 10401 [20:15:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 104.00 НСП 1% : 0.92 НДС 12% : 11.04 Наличными: 104.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 71 20.10.2024 20:15 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2690 ФПД: 105001271944221 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T201535&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2690&fm=105001271944221&tin=02508201610067®Number=0000000000207295&sum=10400 0 [20:15:20]StoreToDocumentArchive [20:15:20]shift 24 fd 2690 [20:15:20]save to /storage/0024/doc_00002690 [20:15:20]save last doc name /storage/0024/doc_00002690 to /storage/kkm_last_doc_name [20:15:20]save OK [20:15:20]Clear old archive folders... [20:15:20]ProcessDocumentItem done err = 0, tmpTLVsize=296 [20:15:20]tlvbuf is 014C1DD0 [20:15:20]SAM_PROTO_ClearQueue [20:15:20]wFMCommunicate request_size=4 [20:15:20]MH_SAM_APDU [20:15:20]CAPDU: 80 09 00 00 [20:15:20]Write to MH i2c: E2 08 00 88 71 80 09 00 00 00 00 00 00 6B [20:15:20]Write i2c OK [20:15:20]MH_I2C_Read... [20:15:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:15:20]Read from MH i2c: E2 [20:15:20]MH_I2C_Read... [20:15:20]Read from MH i2c: E2 03 00 [20:15:20]MH_I2C_Read... [20:15:20]Read from MH i2c: E2 03 00 88 71 00 90 00 6D [20:15:20]RAPDU: 90 00 [20:15:20]wFMCommunicate OK [20:15:20]SAM_PROTO_ClearQueue done [20:15:20]KKMCreateOFDPacket [20:15:20]OFDProtocolAddRootSTLVToBuf [20:15:20]FM_MakeSignedData [20:15:20]FM_MakeSignedData [20:15:20]SAM_PROTO_SignData [20:15:20]wFMCommunicate request_size=4 [20:15:20]MH_SAM_APDU [20:15:20]CAPDU: 80 0D 01 02 [20:15:20]Write to MH i2c: E2 08 00 89 71 80 0D 01 02 00 00 00 00 73 [20:15:20]Write i2c OK [20:15:20]MH_I2C_Read... [20:15:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:15:20]Read from MH i2c: E2 [20:15:20]MH_I2C_Read... [20:15:20]Read from MH i2c: E2 03 00 [20:15:20]MH_I2C_Read... [20:15:20]Read from MH i2c: E2 03 00 89 71 00 90 00 6E [20:15:20]RAPDU: 90 00 [20:15:20]wFMCommunicate OK [20:15:20]wFMCommunicate request_size=255 [20:15:20]MH_SAM_APDU [20:15:20]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 E7 64 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [20:15:20]Write to MH i2c: E2 02 01 8A 71 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 E7 64 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 6A [20:15:20]Write i2c OK [20:15:20]MH_I2C_Read... [20:15:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:20]Read from MH i2c: E2 [20:15:20]MH_I2C_Read... [20:15:20]Read from MH i2c: E2 03 00 [20:15:20]MH_I2C_Read... [20:15:20]Read from MH i2c: E2 03 00 8A 71 00 90 00 6F [20:15:20]RAPDU: 90 00 [20:15:20]wFMCommunicate OK [20:15:20]wFMCommunicate request_size=55 [20:15:20]MH_SAM_APDU [20:15:20]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 82 0A 00 00 35 04 06 00 5F 7F 83 83 E4 1D [20:15:20]Write to MH i2c: E2 3A 00 8B 71 80 0D 02 02 32 00 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 82 0A 00 00 35 04 06 00 5F 7F 83 83 E4 1D 00 00 35 [20:15:20]Write i2c OK [20:15:20]MH_I2C_Read... [20:15:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:21]Read from MH i2c: E2 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: E2 03 00 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: E2 03 00 8B 71 00 90 00 70 [20:15:21]RAPDU: 90 00 [20:15:21]wFMCommunicate OK [20:15:21]wFMCommunicate request_size=4 [20:15:21]MH_SAM_APDU [20:15:21]CAPDU: 80 0D 03 02 [20:15:21]Write to MH i2c: E2 08 00 8C 71 80 0D 03 02 00 00 00 00 78 [20:15:21]Write i2c OK [20:15:21]MH_I2C_Read... [20:15:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:15:21]Read from MH i2c: E2 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: E2 0B 00 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: E2 0B 00 8C 71 00 82 75 89 70 77 4A A2 AC 90 00 78 [20:15:21]RAPDU: 82 75 89 70 77 4A A2 AC 90 00 [20:15:21]wFMCommunicate OK [20:15:21]SAM_PROTO_SignData done [20:15:21]FM_MakeSignedData done [20:15:21]CreateOFDProtocolMessage [20:15:21]wFMCommunicate request_size=4 [20:15:21]MH_SAM_APDU [20:15:21]CAPDU: 80 11 00 00 [20:15:21]Write to MH i2c: E2 08 00 8D 71 80 11 00 00 00 00 00 00 78 [20:15:21]Write i2c OK [20:15:21]MH_I2C_Read... [20:15:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:21]Read from MH i2c: E2 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: E2 17 00 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: E2 17 00 8D 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C0 [20:15:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:15:21]wFMCommunicate OK [20:15:21]CreateOFDProtocolMessage done [20:15:21]OFDSenderStorePacket 2690 [20:15:21]StoreOFDPacket docnum=2690 [20:15:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3C 01 00 00 0D BD 34 01 6D 12 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 E7 64 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 82 0A 00 00 35 04 06 00 5F 7F 83 83 E4 1D 82 75 89 70 77 4A A2 AC [20:15:21]CheckFolder [20:15:21]dirname=/storage/ofd_packets [20:15:21]CheckFolder done [20:15:21]ProducePacketName [20:15:21]name=ofd_packets/00002690 [20:15:21]NVStorageSaveData ofd_packets/00002690 [20:15:21]File name is /storage/ofd_packets/00002690 [20:15:21]Write 346 bytes [20:15:21]NVStorageSaveData done [20:15:21]OFDSenderStorePacket done [20:15:21]KKMCreateOFDPacket done [20:15:21]NVStorageSaveData kkm_last_timestamp [20:15:21]File name is /storage/kkm_last_timestamp [20:15:21]Write 4 bytes [20:15:21]NVStorageSaveData done [20:15:21]ExternCall_PrintAddStr [20:15:21]wPrintStart [20:15:21]Write to MH i2c: 01 00 00 8E 71 FF [20:15:21]Write i2c OK [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: 01 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: 01 07 00 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: 01 07 00 8E 71 00 00 00 00 00 FF 0F 14 [20:15:21]RasterBufferAndPrint [20:15:21]line Счет N : (3)100067 [20:15:21]line ИНН: 02508201610067 [20:15:21]line Контрольно-Кассовый Чек [20:15:21]line ПРОДАЖА [20:15:21]line Товар: 4870202521261 [20:15:21]line Напиток MAXI чай 1,2 лесные ягоды [20:15:21]line 1.000 * 104.00 [20:15:21]line = 104.00 [20:15:21]line НДС 12% НСП 1% [20:15:21]line > о реализуемом товаре [20:15:21]line ИТОГО: 104.00 [20:15:21]line НСП 1% : 0.92 [20:15:21]line НДС 12% : 11.04 [20:15:21]line Наличными: 104.00 [20:15:21]line Безнал.: 0.00 [20:15:21]line Место: АЗС № 162 "Партнер Нефть" [20:15:21]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:15:21]line СНО: Общий режим [20:15:21]line Чек 71 20.10.2024 20:15 [20:15:21]line Смена: 24 ФФД: 1.0 [20:15:21]line ЗНМ: 0300000191 [20:15:21]line РНМ: 0000000000207295 [20:15:21]line Версия ККМ: v1.0 [20:15:21]line ФМ: 0000000002342820 [20:15:21]line ФД: 2690 [20:15:21]line ФПД: 105001271944221 [20:15:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T201535&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2690&fm=105001271944221&tin=02508201610067®Number=0000000000207295&sum=10400 [20:15:21]line 0 [20:15:21]OFD Sender: Processing packet 2690 [packets to send 1, broken 0] [20:15:21]ProducePacketName [20:15:21]name=ofd_packets/00002690 [20:15:21]OFD Sender: To server: pG, [20:15:21]CommunicateWithHost lk.salyk.kg:30040 [20:15:21]ConnectInit lk.salyk.kg [20:15:21]written 0, free lines is 4095 [20:15:21]Connected sock=11 [20:15:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3C 01 00 00 0D BD 34 01 6D 12 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 E7 64 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 82 0A 00 00 35 04 06 00 5F 7F 83 83 E4 1D 82 75 89 70 77 4A A2 AC [20:15:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 06 C2 47 00 4F 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 82 0A 00 00 F4 03 04 00 44 10 15 67 B6 04 01 00 00 35 25 BD F9 65 F6 46 FB [20:15:21]CommunicateWithHost err = 0 [20:15:21]CheckOFDResponse [20:15:21]1017 (14) - 77093643461234 [20:15:21]1041 (16) - 0000000002342820 [20:15:21]1040 (4) - 2690 [20:15:21]1012 (4) - 20.10.2024 14:14 [20:15:21]1206 (1) - 0 [20:15:21]OFD Sender: Remove packet 2690 [20:15:21]ProducePacketName [20:15:21]name=ofd_packets/00002690 [20:15:21]NVStorageDeleteData [20:15:21]Write to MH i2c: 01 00 00 B7 71 28 [20:15:21]Write i2c OK [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: 01 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: 01 07 00 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: 01 07 00 B7 71 00 00 00 00 00 B6 0C F1 [20:15:21]RasterBufferAndPrint [20:15:21]line [20:15:21]line [20:15:21]line [20:15:21]line [20:15:21]line [20:15:21]written 0, free lines is 3257 [20:15:21]MH_Cut [20:15:21]Write to MH i2c: D1 01 00 BE 71 01 01 [20:15:21]Write i2c OK [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: D1 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: D1 01 00 [20:15:21]MH_I2C_Read... [20:15:21]Read from MH i2c: D1 01 00 BE 71 00 00 [20:15:21]Write to MH i2c: 01 00 00 BF 71 30 [20:15:21]Write i2c OK [20:15:21]MH_I2C_Read... [20:15:22]OFD Sender: No OFD packet to send [20:15:22]*** Cut start [20:15:22]*** Partial cut [20:15:22]*** CUTSNS_PIN = 1 [20:15:22]*** CUTSNS_PIN = 0 [20:15:23]*** Brake cut motor [20:15:23]Read from MH i2c: 01 [20:15:23]MH_I2C_Read... [20:15:23]*** Stop cut motor [20:15:23]*** Cut end [20:15:23]Read from MH i2c: 01 07 00 [20:15:23]MH_I2C_Read... [20:15:23]Read from MH i2c: 01 07 00 BF 71 00 00 00 00 00 FF 0F 45 [20:15:23]process_action close_receipt done [20:15:23]requested_data is exist [20:15:23]produce_requested_data [20:15:23]requested_item fm.sn is exist - process it [20:15:23]wFMCommunicate request_size=4 [20:15:23]MH_SAM_APDU [20:15:23]CAPDU: 80 11 00 00 [20:15:23]Write to MH i2c: E2 08 00 C0 71 80 11 00 00 00 00 00 00 AB [20:15:23]Write i2c OK [20:15:23]MH_I2C_Read... [20:15:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:23]Read from MH i2c: E2 [20:15:23]MH_I2C_Read... [20:15:23]Read from MH i2c: E2 17 00 [20:15:23]MH_I2C_Read... [20:15:23]Read from MH i2c: E2 17 00 C0 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F3 [20:15:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:15:23]wFMCommunicate OK [20:15:23]requested_item fd.num is exist - process it [20:15:23]SAM_PROTO_GetFieldsCounters [20:15:23]wFMCommunicate request_size=4 [20:15:23]MH_SAM_APDU [20:15:23]CAPDU: 80 13 00 00 [20:15:23]Write to MH i2c: E2 08 00 C1 71 80 13 00 00 00 00 00 00 AE [20:15:23]Write i2c OK [20:15:23]MH_I2C_Read... [20:15:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:15:23]Read from MH i2c: E2 [20:15:23]MH_I2C_Read... [20:15:23]Read from MH i2c: E2 62 00 [20:15:23]MH_I2C_Read... [20:15:23]Read from MH i2c: E2 62 00 C1 71 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 82 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [20:15:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 82 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:15:23]wFMCommunicate OK [20:15:23]SAM_PROTO_GetFieldsCounters done [20:15:23]requested_item shift.num is exist - process it [20:15:23]requested_item shift.opened is exist - process it [20:15:23]req_shift_opened [20:15:23]FM_GetShiftState [20:15:23]SAM_PROTO_GetShiftState [20:15:23]wFMCommunicate request_size=4 [20:15:23]MH_SAM_APDU [20:15:23]CAPDU: 80 13 01 00 [20:15:23]Write to MH i2c: E2 08 00 C2 71 80 13 01 00 00 00 00 00 B0 [20:15:23]Write i2c OK [20:15:23]MH_I2C_Read... [20:15:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:23]Read from MH i2c: E2 [20:15:23]MH_I2C_Read... [20:15:23]Read from MH i2c: E2 0E 00 [20:15:23]MH_I2C_Read... [20:15:23]Read from MH i2c: E2 0E 00 C2 71 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9A [20:15:23]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:15:23]wFMCommunicate OK [20:15:23]SAM_PROTO_GetShiftState done [20:15:23]FM_GetShiftState done [20:15:23]req_shift_opened done [20:15:23]requested_item shift.open_date is exist - process it [20:15:23]req_shift_open_date [20:15:23]req_shift_open_date done [20:15:23]produce_requested_data done [20:15:23]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2690,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [20:15:23]process_action_free close_receipt [20:15:23]json_value_free [20:15:23]json_value_free done [20:15:23]process_json_proto returns [20:15:23]Send response to host [20:15:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2690,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [20:15:23]free response buf [20:15:23]execute_script done [20:15:23]execute_script returns [20:15:23]free content buf [20:15:23]Sock 7.Close socket [20:15:23]Sock 7.Thread stoped [20:15:27]OFD Sender: No OFD packet to send [20:15:32]OFD Sender: No OFD packet to send [20:15:37]OFD Sender: No OFD packet to send [20:15:42]OFD Sender: No OFD packet to send [20:15:47]OFD Sender: No OFD packet to send [20:15:52]OFD Sender: No OFD packet to send [20:15:57]OFD Sender: No OFD packet to send [20:16:02]OFD Sender: No OFD packet to send [20:16:07]OFD Sender: No OFD packet to send [20:16:12]OFD Sender: No OFD packet to send [20:16:17]OFD Sender: No OFD packet to send [20:16:22]OFD Sender: No OFD packet to send [20:16:25]accept exits with 9 [20:16:25]New connection [20:16:25]New thread 3066707300 created [20:16:25]Thread 3066850660 joined [20:16:25]Waiting for new connection... [20:16:25] Sock 9.Parse request [20:16:25]Sock 9.Check first char [20:16:25]Sock 9.First char is OK [20:16:25]request: POST /json_proto HTTP/1.0 [20:16:25]Method: POST [20:16:25]URL: /json_proto [20:16:25]Method is POST - this is cgi request [20:16:25]url: /json_proto [20:16:25]query_string will be loaded in cgi processing [20:16:25]execute_cgi json_proto POST (null) [20:16:25]execute_cgi path=json_proto method=POST [20:16:25]POST find Content-Length [20:16:25]Host: 172.17.52.132:8080 [20:16:25]Content-Length: 622 [20:16:25]Content-Type: application/json [20:16:25] [20:16:25]POST finish read [20:16:25]Found Content-Length = 622 [20:16:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100069", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:25]execute_script... [20: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)100069", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:25]POST & json_proto [20:16:25]process_json_proto [20:16:25]json parsed OK: [20:16:25]protocol is kg_v1.0 [20:16:25]action value=close_receipt [20:16:25]process_action close_receipt [20:16:25]cmd_close_receipt [20:16:25]MH_GetDate [20:16:25]Write to MH i2c: F0 00 00 C3 71 23 [20:16:25]Write i2c OK [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: F0 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: F0 09 00 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: F0 09 00 C3 71 00 29 65 15 67 5A BE F6 66 AA [20:16:25]GetLastDocTimeStamp 1729455335 [20:16:25]current date 1729455401 [20:16:25]FM_GetShiftState [20:16:25]SAM_PROTO_GetShiftState [20:16:25]wFMCommunicate request_size=4 [20:16:25]MH_SAM_APDU [20:16:25]CAPDU: 80 13 01 00 [20:16:25]Write to MH i2c: E2 08 00 C4 71 80 13 01 00 00 00 00 00 B2 [20:16:25]Write i2c OK [20:16:25]MH_I2C_Read... [20:16:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:25]Read from MH i2c: E2 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: E2 0E 00 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: E2 0E 00 C4 71 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9C [20:16:25]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:16:25]wFMCommunicate OK [20:16:25]SAM_PROTO_GetShiftState done [20:16:25]FM_GetShiftState done [20:16:25]opened in 1729382427 [20:16:25]opened+sec_in_day 1729468827 [20:16:25]quantity*price = 15400 [20:16:25]sum+1 = 15401 [20:16:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 72 20.10.2024 20:16 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2691 ФПД: 37251332943015 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T201641&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2691&fm=37251332943015&tin=02508201610067®Number=0000000000207295&sum=15400 0 [20:16:26]StoreToDocumentArchive [20:16:26]shift 24 fd 2691 [20:16:26]save to /storage/0024/doc_00002691 [20:16:26]save last doc name /storage/0024/doc_00002691 to /storage/kkm_last_doc_name [20:16:26]save OK [20:16:26]Clear old archive folders... [20:16:26]ProcessDocumentItem done err = 0, tmpTLVsize=274 [20:16:26]tlvbuf is 014ADE60 [20:16:26]SAM_PROTO_ClearQueue [20:16:26]wFMCommunicate request_size=4 [20:16:26]MH_SAM_APDU [20:16:26]CAPDU: 80 09 00 00 [20:16:26]Write to MH i2c: E2 08 00 D1 71 80 09 00 00 00 00 00 00 B4 [20:16:26]Write i2c OK [20:16:26]MH_I2C_Read... [20:16:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:16:26]Read from MH i2c: E2 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 03 00 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 03 00 D1 71 00 90 00 B6 [20:16:26]RAPDU: 90 00 [20:16:26]wFMCommunicate OK [20:16:26]SAM_PROTO_ClearQueue done [20:16:26]KKMCreateOFDPacket [20:16:26]OFDProtocolAddRootSTLVToBuf [20:16:26]FM_MakeSignedData [20:16:26]FM_MakeSignedData [20:16:26]SAM_PROTO_SignData [20:16:26]wFMCommunicate request_size=4 [20:16:26]MH_SAM_APDU [20:16:26]CAPDU: 80 0D 01 02 [20:16:26]Write to MH i2c: E2 08 00 D2 71 80 0D 01 02 00 00 00 00 BC [20:16:26]Write i2c OK [20:16:26]MH_I2C_Read... [20:16:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:16:26]Read from MH i2c: E2 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 03 00 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 03 00 D2 71 00 90 00 B7 [20:16:26]RAPDU: 90 00 [20:16:26]wFMCommunicate OK [20:16:26]wFMCommunicate request_size=255 [20:16:26]MH_SAM_APDU [20:16:26]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 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 48 00 00 00 F4 03 04 00 29 65 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 [20:16:26]Write to MH i2c: E2 02 01 D3 71 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 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 48 00 00 00 F4 03 04 00 29 65 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 00 00 B3 [20:16:26]Write i2c OK [20:16:26]MH_I2C_Read... [20:16:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:26]Read from MH i2c: E2 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 03 00 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 03 00 D3 71 00 90 00 B8 [20:16:26]RAPDU: 90 00 [20:16:26]wFMCommunicate OK [20:16:26]wFMCommunicate request_size=33 [20:16:26]MH_SAM_APDU [20:16:26]CAPDU: 80 0D 02 02 1C 30 30 30 32 33 34 32 38 32 30 10 04 04 00 83 0A 00 00 35 04 06 00 21 E1 40 77 AC A7 [20:16:26]Write to MH i2c: E2 24 00 D4 71 80 0D 02 02 1C 00 30 30 30 32 33 34 32 38 32 30 10 04 04 00 83 0A 00 00 35 04 06 00 21 E1 40 77 AC A7 00 00 DC [20:16:26]Write i2c OK [20:16:26]MH_I2C_Read... [20:16:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:26]Read from MH i2c: E2 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 03 00 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 03 00 D4 71 00 90 00 B9 [20:16:26]RAPDU: 90 00 [20:16:26]wFMCommunicate OK [20:16:26]wFMCommunicate request_size=4 [20:16:26]MH_SAM_APDU [20:16:26]CAPDU: 80 0D 03 02 [20:16:26]Write to MH i2c: E2 08 00 D5 71 80 0D 03 02 00 00 00 00 C1 [20:16:26]Write i2c OK [20:16:26]MH_I2C_Read... [20:16:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:16:26]Read from MH i2c: E2 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 0B 00 [20:16:26]MH_I2C_Read... [20:16:26]Read from MH i2c: E2 0B 00 D5 71 00 7F A2 8F 65 30 D9 CF 9A 90 00 49 [20:16:26]RAPDU: 7F A2 8F 65 30 D9 CF 9A 90 00 [20:16:26]wFMCommunicate OK [20:16:26]SAM_PROTO_SignData done [20:16:26]FM_MakeSignedData done [20:16:26]CreateOFDProtocolMessage [20:16:26]wFMCommunicate request_size=4 [20:16:26]MH_SAM_APDU [20:16:26]CAPDU: 80 11 00 00 [20:16:26]Write to MH i2c: E2 08 00 D6 71 80 11 00 00 00 00 00 00 C1 [20:16:26]Write i2c OK [20:16:26]MH_I2C_Read... [20:16:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:27]Read from MH i2c: E2 [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: E2 17 00 [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: E2 17 00 D6 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 09 [20:16:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:16:27]wFMCommunicate OK [20:16:27]CreateOFDProtocolMessage done [20:16:27]OFDSenderStorePacket 2691 [20:16:27]StoreOFDPacket docnum=2691 [20:16:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 26 01 00 00 2C 43 1E 01 16 CB 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 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 48 00 00 00 F4 03 04 00 29 65 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 83 0A 00 00 35 04 06 00 21 E1 40 77 AC A7 7F A2 8F 65 30 D9 CF 9A [20:16:27]CheckFolder [20:16:27]dirname=/storage/ofd_packets [20:16:27]CheckFolder done [20:16:27]ProducePacketName [20:16:27]name=ofd_packets/00002691 [20:16:27]NVStorageSaveData ofd_packets/00002691 [20:16:27]File name is /storage/ofd_packets/00002691 [20:16:27]Write 324 bytes [20:16:27]NVStorageSaveData done [20:16:27]OFDSenderStorePacket done [20:16:27]KKMCreateOFDPacket done [20:16:27]NVStorageSaveData kkm_last_timestamp [20:16:27]File name is /storage/kkm_last_timestamp [20:16:27]Write 4 bytes [20:16:27]NVStorageSaveData done [20:16:27]ExternCall_PrintAddStr [20:16:27]wPrintStart [20:16:27]Write to MH i2c: 01 00 00 D7 71 48 [20:16:27]Write i2c OK [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: 01 [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: 01 07 00 [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: 01 07 00 D7 71 00 00 00 00 00 FF 0F 5D [20:16:27]RasterBufferAndPrint [20:16:27]line Счет N : (3)100069 [20:16:27]line ИНН: 02508201610067 [20:16:27]line Контрольно-Кассовый Чек [20:16:27]line ПРОДАЖА [20:16:27]line Товар: 46230614 [20:16:27]line Сигареты Richmond Red Edition [20:16:27]line 1.000 * 154.00 [20:16:27]line = 154.00 [20:16:27]line НДС 12% НСП 1% [20:16:27]line > о реализуемом товаре [20:16:27]line ИТОГО: 154.00 [20:16:27]line НСП 1% : 1.36 [20:16:27]line НДС 12% : 16.35 [20:16:27]line Наличными: 154.00 [20:16:27]line Безнал.: 0.00 [20:16:27]line Место: АЗС № 162 "Партнер Нефть" [20:16:27]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:16:27]line СНО: Общий режим [20:16:27]line Чек 72 20.10.2024 20:16 [20:16:27]line Смена: 24 ФФД: 1.0 [20:16:27]line ЗНМ: 0300000191 [20:16:27]line РНМ: 0000000000207295 [20:16:27]line Версия ККМ: v1.0 [20:16:27]line ФМ: 0000000002342820 [20:16:27]line ФД: 2691 [20:16:27]line ФПД: 37251332943015 [20:16:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T201641&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2691&fm=37251332943015&tin=02508201610067®Number=0000000000207295&sum=15400 [20:16:27]line 0 [20:16:27]OFD Sender: Processing packet 2691 [packets to send 1, broken 0] [20:16:27]ProducePacketName [20:16:27]name=ofd_packets/00002691 [20:16:27]OFD Sender: To server: pG, [20:16:27]CommunicateWithHost lk.salyk.kg:30040 [20:16:27]ConnectInit lk.salyk.kg [20:16:27]written 0, free lines is 4095 [20:16:27]Connected sock=10 [20:16:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 26 01 00 00 2C 43 1E 01 16 CB 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 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 48 00 00 00 F4 03 04 00 29 65 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 83 0A 00 00 35 04 06 00 21 E1 40 77 AC A7 7F A2 8F 65 30 D9 CF 9A [20:16:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 40 74 47 00 F1 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 33 34 32 38 32 30 10 04 04 00 83 0A 00 00 F4 03 04 00 86 10 15 67 B6 04 01 00 00 04 8A A7 D1 46 C9 21 92 [20:16:27]CommunicateWithHost err = 0 [20:16:27]CheckOFDResponse [20:16:27]1017 (14) - 77093643461234 [20:16:27]1041 (16) - 0000000002342820 [20:16:27]1040 (4) - 2691 [20:16:27]1012 (4) - 20.10.2024 14:15 [20:16:27]1206 (1) - 0 [20:16:27]OFD Sender: Remove packet 2691 [20:16:27]ProducePacketName [20:16:27]name=ofd_packets/00002691 [20:16:27]NVStorageDeleteData [20:16:27]Write to MH i2c: 01 00 00 00 72 72 [20:16:27]Write i2c OK [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: 01 [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: 01 07 00 [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: 01 07 00 00 72 00 00 00 00 00 A8 0C 2D [20:16:27]RasterBufferAndPrint [20:16:27]line [20:16:27]line [20:16:27]line [20:16:27]line [20:16:27]line [20:16:27]written 0, free lines is 3245 [20:16:27]MH_Cut [20:16:27]Write to MH i2c: D1 01 00 07 72 01 4B [20:16:27]Write i2c OK [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: D1 [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: D1 01 00 [20:16:27]MH_I2C_Read... [20:16:27]Read from MH i2c: D1 01 00 07 72 00 4A [20:16:27]Write to MH i2c: 01 00 00 08 72 7A [20:16:27]Write i2c OK [20:16:27]MH_I2C_Read... [20:16:28]OFD Sender: No OFD packet to send [20:16:28]*** Cut start [20:16:28]*** Partial cut [20:16:28]*** CUTSNS_PIN = 1 [20:16:28]*** CUTSNS_PIN = 0 [20:16:29]*** Brake cut motor [20:16:29]Read from MH i2c: 01 [20:16:29]MH_I2C_Read... [20:16:29]*** Stop cut motor [20:16:29]*** Cut end [20:16:29]Read from MH i2c: 01 07 00 [20:16:29]MH_I2C_Read... [20:16:29]Read from MH i2c: 01 07 00 08 72 00 00 00 00 00 FF 0F 8F [20:16:29]process_action close_receipt done [20:16:29]requested_data is exist [20:16:29]produce_requested_data [20:16:29]requested_item fm.sn is exist - process it [20:16:29]wFMCommunicate request_size=4 [20:16:29]MH_SAM_APDU [20:16:29]CAPDU: 80 11 00 00 [20:16:29]Write to MH i2c: E2 08 00 09 72 80 11 00 00 00 00 00 00 F5 [20:16:29]Write i2c OK [20:16:29]MH_I2C_Read... [20:16:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:29]Read from MH i2c: E2 [20:16:29]MH_I2C_Read... [20:16:29]Read from MH i2c: E2 17 00 [20:16:29]MH_I2C_Read... [20:16:29]Read from MH i2c: E2 17 00 09 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 3D [20:16:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:16:29]wFMCommunicate OK [20:16:29]requested_item fd.num is exist - process it [20:16:29]SAM_PROTO_GetFieldsCounters [20:16:29]wFMCommunicate request_size=4 [20:16:29]MH_SAM_APDU [20:16:29]CAPDU: 80 13 00 00 [20:16:29]Write to MH i2c: E2 08 00 0A 72 80 13 00 00 00 00 00 00 F8 [20:16:29]Write i2c OK [20:16:29]MH_I2C_Read... [20:16:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:16:29]Read from MH i2c: E2 [20:16:29]MH_I2C_Read... [20:16:29]Read from MH i2c: E2 62 00 [20:16:29]MH_I2C_Read... [20:16:29]Read from MH i2c: E2 62 00 0A 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 83 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 8B [20:16:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 83 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:16:29]wFMCommunicate OK [20:16:29]SAM_PROTO_GetFieldsCounters done [20:16:29]requested_item shift.num is exist - process it [20:16:29]requested_item shift.opened is exist - process it [20:16:29]req_shift_opened [20:16:29]FM_GetShiftState [20:16:29]SAM_PROTO_GetShiftState [20:16:29]wFMCommunicate request_size=4 [20:16:29]MH_SAM_APDU [20:16:29]CAPDU: 80 13 01 00 [20:16:29]Write to MH i2c: E2 08 00 0B 72 80 13 01 00 00 00 00 00 FA [20:16:29]Write i2c OK [20:16:29]MH_I2C_Read... [20:16:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:29]Read from MH i2c: E2 [20:16:29]MH_I2C_Read... [20:16:29]Read from MH i2c: E2 0E 00 [20:16:29]MH_I2C_Read... [20:16:29]Read from MH i2c: E2 0E 00 0B 72 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E4 [20:16:29]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:16:29]wFMCommunicate OK [20:16:29]SAM_PROTO_GetShiftState done [20:16:29]FM_GetShiftState done [20:16:29]req_shift_opened done [20:16:29]requested_item shift.open_date is exist - process it [20:16:29]req_shift_open_date [20:16:29]req_shift_open_date done [20:16:29]produce_requested_data done [20:16:29]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2691,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [20:16:29]process_action_free close_receipt [20:16:29]json_value_free [20:16:29]json_value_free done [20:16:29]process_json_proto returns [20:16:29]Send response to host [20:16:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2691,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [20:16:29]free response buf [20:16:29]execute_script done [20:16:29]execute_script returns [20:16:29]free content buf [20:16:29]Sock 9.Close socket [20:16:29]Sock 9.Thread stoped [20:16:33]OFD Sender: No OFD packet to send [20:16:38]OFD Sender: No OFD packet to send [20:16:43]OFD Sender: No OFD packet to send [20:16:48]OFD Sender: No OFD packet to send [20:16:53]OFD Sender: No OFD packet to send [20:16:58]OFD Sender: No OFD packet to send [20:17:03]OFD Sender: No OFD packet to send [20:17:08]OFD Sender: No OFD packet to send [20:17:13]OFD Sender: No OFD packet to send [20:17:18]OFD Sender: No OFD packet to send [20:17:23]OFD Sender: No OFD packet to send [20:17:28]OFD Sender: No OFD packet to send [20:17:33]OFD Sender: No OFD packet to send [20:17:38]OFD Sender: No OFD packet to send [20:17:43]OFD Sender: No OFD packet to send [20:17:48]OFD Sender: No OFD packet to send [20:17:53]OFD Sender: No OFD packet to send [20:17:58]OFD Sender: No OFD packet to send [20:18:03]OFD Sender: No OFD packet to send [20:18:08]OFD Sender: No OFD packet to send [20:18:13]OFD Sender: No OFD packet to send [20:18:18]OFD Sender: No OFD packet to send [20:18:23]OFD Sender: No OFD packet to send [20:18:28]OFD Sender: No OFD packet to send [20:18:33]OFD Sender: No OFD packet to send [20:18:38]OFD Sender: No OFD packet to send [20:18:43]OFD Sender: No OFD packet to send [20:18:48]OFD Sender: No OFD packet to send [20:18:53]OFD Sender: No OFD packet to send [20:18:58]OFD Sender: No OFD packet to send [20:19:03]OFD Sender: No OFD packet to send [20:19:08]OFD Sender: No OFD packet to send [20:19:13]OFD Sender: No OFD packet to send [20:19:18]OFD Sender: No OFD packet to send [20:19:23]OFD Sender: No OFD packet to send [20:19:28]OFD Sender: No OFD packet to send [20:19:33]OFD Sender: No OFD packet to send [20:19:38]OFD Sender: No OFD packet to send [20:19:43]OFD Sender: No OFD packet to send [20:19:48]OFD Sender: No OFD packet to send [20:19:53]OFD Sender: No OFD packet to send [20:19:58]OFD Sender: No OFD packet to send [20:20:03]OFD Sender: No OFD packet to send [20:20:08]OFD Sender: No OFD packet to send [20:20:13]OFD Sender: No OFD packet to send [20:20:18]OFD Sender: No OFD packet to send [20:20:23]OFD Sender: No OFD packet to send [20:20:28]OFD Sender: No OFD packet to send [20:20:33]OFD Sender: No OFD packet to send [20:20:38]OFD Sender: No OFD packet to send [20:20:43]OFD Sender: No OFD packet to send [20:20:48]OFD Sender: No OFD packet to send [20:20:53]OFD Sender: No OFD packet to send [20:20:58]OFD Sender: No OFD packet to send [20:21:03]OFD Sender: No OFD packet to send [20:21:08]OFD Sender: No OFD packet to send [20:21:13]OFD Sender: No OFD packet to send [20:21:18]OFD Sender: No OFD packet to send [20:21:23]OFD Sender: No OFD packet to send [20:21:28]OFD Sender: No OFD packet to send [20:21:33]OFD Sender: No OFD packet to send [20:21:38]OFD Sender: No OFD packet to send [20:21:43]OFD Sender: No OFD packet to send [20:21:48]OFD Sender: No OFD packet to send [20:21:53]OFD Sender: No OFD packet to send [20:21:58]OFD Sender: No OFD packet to send [20:22:03]OFD Sender: No OFD packet to send [20:22:08]OFD Sender: No OFD packet to send [20:22:13]OFD Sender: No OFD packet to send [20:22:18]OFD Sender: No OFD packet to send [20:22:23]OFD Sender: No OFD packet to send [20:22:28]OFD Sender: No OFD packet to send [20:22:33]OFD Sender: No OFD packet to send [20:22:38]OFD Sender: No OFD packet to send [20:22:43]OFD Sender: No OFD packet to send [20:22:48]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:27]accept exits with 7 [20:27:27]New connection [20:27:27]New thread 3066850660 created [20:27:27]Thread 3066707300 joined [20:27:27]Waiting for new connection... [20:27:27] Sock 7.Parse request [20:27:27]Sock 7.Check first char [20:27:27]Sock 7.First char is OK [20:27:27]request: POST /json_proto HTTP/1.0 [20:27:27]Method: POST [20:27:27]URL: /json_proto [20:27:27]Method is POST - this is cgi request [20:27:27]url: /json_proto [20:27:27]query_string will be loaded in cgi processing [20:27:27]execute_cgi json_proto POST (null) [20:27:27]execute_cgi path=json_proto method=POST [20:27:27]POST find Content-Length [20:27:27]Host: 172.17.52.132:8080 [20:27:27]Content-Length: 604 [20:27:27]Content-Type: application/json [20:27:27] [20:27:27]POST finish read [20:27:27]Found Content-Length = 604 [20:27:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100070", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:27:27]execute_script... [20:27:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100070", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:27:27]POST & json_proto [20:27:27]process_json_proto [20:27:27]json parsed OK: [20:27:27]protocol is kg_v1.0 [20:27:27]action value=close_receipt [20:27:27]process_action close_receipt [20:27:27]cmd_close_receipt [20:27:27]MH_GetDate [20:27:27]Write to MH i2c: F0 00 00 0C 72 6D [20:27:27]Write i2c OK [20:27:27]MH_I2C_Read... [20:27:27]Read from MH i2c: F0 [20:27:27]MH_I2C_Read... [20:27:27]Read from MH i2c: F0 09 00 [20:27:27]MH_I2C_Read... [20:27:27]Read from MH i2c: F0 09 00 0C 72 00 BF 67 15 67 5A BE F6 66 8C [20:27:27]GetLastDocTimeStamp 1729455401 [20:27:27]current date 1729456063 [20:27:27]FM_GetShiftState [20:27:27]SAM_PROTO_GetShiftState [20:27:27]wFMCommunicate request_size=4 [20:27:27]MH_SAM_APDU [20:27:27]CAPDU: 80 13 01 00 [20:27:27]Write to MH i2c: E2 08 00 0D 72 80 13 01 00 00 00 00 00 FC [20:27:27]Write i2c OK [20:27:27]MH_I2C_Read... [20:27:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:27]Read from MH i2c: E2 [20:27:27]MH_I2C_Read... [20:27:27]Read from MH i2c: E2 0E 00 [20:27:27]MH_I2C_Read... [20:27:27]Read from MH i2c: E2 0E 00 0D 72 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 E6 [20:27:27]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:27:27]wFMCommunicate OK [20:27:27]SAM_PROTO_GetShiftState done [20:27:27]FM_GetShiftState done [20:27:27]opened in 1729382427 [20:27:27]opened+sec_in_day 1729468827 [20:27:27]quantity*price = 4400 [20:27:27]sum+1 = 4401 [20:27:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 44.00 НСП 1% : 0.39 НДС 12% : 4.67 Наличными: 44.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 73 20.10.2024 20:27 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2692 ФПД: 151647957706286 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T202743&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2692&fm=151647957706286&tin=02508201610067®Number=0000000000207295&sum=4400 0 [20:27:28]StoreToDocumentArchive [20:27:28]shift 24 fd 2692 [20:27:28]save to /storage/0024/doc_00002692 [20:27:28]save last doc name /storage/0024/doc_00002692 to /storage/kkm_last_doc_name [20:27:28]save OK [20:27:28]Clear old archive folders... [20:27:28]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:27:28]tlvbuf is 014ABA00 [20:27:28]SAM_PROTO_ClearQueue [20:27:28]wFMCommunicate request_size=4 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 09 00 00 [20:27:28]Write to MH i2c: E2 08 00 1A 72 80 09 00 00 00 00 00 00 FE [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 03 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 03 00 1A 72 00 90 00 00 [20:27:28]RAPDU: 90 00 [20:27:28]wFMCommunicate OK [20:27:28]SAM_PROTO_ClearQueue done [20:27:28]KKMCreateOFDPacket [20:27:28]OFDProtocolAddRootSTLVToBuf [20:27:28]FM_MakeSignedData [20:27:28]FM_MakeSignedData [20:27:28]SAM_PROTO_SignData [20:27:28]wFMCommunicate request_size=4 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 0D 01 02 [20:27:28]Write to MH i2c: E2 08 00 1B 72 80 0D 01 02 00 00 00 00 06 [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 03 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 03 00 1B 72 00 90 00 01 [20:27:28]RAPDU: 90 00 [20:27:28]wFMCommunicate OK [20:27:28]wFMCommunicate request_size=255 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 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 49 00 00 00 F4 03 04 00 BF 67 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 [20:27:28]Write to MH i2c: E2 02 01 1C 72 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 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 49 00 00 00 F4 03 04 00 BF 67 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 00 00 A3 [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]OFD Sender: No OFD packet to send [20:27:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 03 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 03 00 1C 72 00 90 00 02 [20:27:28]RAPDU: 90 00 [20:27:28]wFMCommunicate OK [20:27:28]wFMCommunicate request_size=34 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 0D 02 02 1D 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 84 0A 00 00 35 04 06 00 89 EC 4A A6 66 2E [20:27:28]Write to MH i2c: E2 25 00 1D 72 80 0D 02 02 1D 00 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 84 0A 00 00 35 04 06 00 89 EC 4A A6 66 2E 00 00 46 [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 03 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 03 00 1D 72 00 90 00 03 [20:27:28]RAPDU: 90 00 [20:27:28]wFMCommunicate OK [20:27:28]wFMCommunicate request_size=4 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 0D 03 02 [20:27:28]Write to MH i2c: E2 08 00 1E 72 80 0D 03 02 00 00 00 00 0B [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 0B 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 0B 00 1E 72 00 39 65 B8 4D C5 C7 17 67 90 00 B9 [20:27:28]RAPDU: 39 65 B8 4D C5 C7 17 67 90 00 [20:27:28]wFMCommunicate OK [20:27:28]SAM_PROTO_SignData done [20:27:28]FM_MakeSignedData done [20:27:28]CreateOFDProtocolMessage [20:27:28]wFMCommunicate request_size=4 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 11 00 00 [20:27:28]Write to MH i2c: E2 08 00 1F 72 80 11 00 00 00 00 00 00 0B [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 17 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 17 00 1F 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 53 [20:27:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:27:28]wFMCommunicate OK [20:27:28]CreateOFDProtocolMessage done [20:27:28]OFDSenderStorePacket 2692 [20:27:28]StoreOFDPacket docnum=2692 [20:27:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 75 D1 1F 01 47 D8 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 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 49 00 00 00 F4 03 04 00 BF 67 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 84 0A 00 00 35 04 06 00 89 EC 4A A6 66 2E 39 65 B8 4D C5 C7 17 67 [20:27:28]CheckFolder [20:27:28]dirname=/storage/ofd_packets [20:27:28]CheckFolder done [20:27:28]ProducePacketName [20:27:28]name=ofd_packets/00002692 [20:27:28]NVStorageSaveData ofd_packets/00002692 [20:27:28]File name is /storage/ofd_packets/00002692 [20:27:28]Write 325 bytes [20:27:28]NVStorageSaveData done [20:27:28]OFDSenderStorePacket done [20:27:28]KKMCreateOFDPacket done [20:27:28]NVStorageSaveData kkm_last_timestamp [20:27:28]File name is /storage/kkm_last_timestamp [20:27:28]Write 4 bytes [20:27:28]NVStorageSaveData done [20:27:28]ExternCall_PrintAddStr [20:27:28]wPrintStart [20:27:28]Write to MH i2c: 01 00 00 20 72 92 [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: 01 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: 01 07 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: 01 07 00 20 72 00 00 00 00 00 FF 0F A7 [20:27:28]RasterBufferAndPrint [20:27:28]line Счет N : (3)100070 [20:27:28]line ИНН: 02508201610067 [20:27:28]line Контрольно-Кассовый Чек [20:27:28]line ПРОДАЖА [20:27:28]line Товар: 4870112003925 [20:27:28]line Конд ULKER-Albeni 40gr (6*24) [20:27:28]line 1.000 * 44.00 [20:27:28]line = 44.00 [20:27:28]line НДС 12% НСП 1% [20:27:28]line > о реализуемом товаре [20:27:28]line ИТОГО: 44.00 [20:27:28]line НСП 1% : 0.39 [20:27:28]line НДС 12% : 4.67 [20:27:28]line Наличными: 44.00 [20:27:28]line Безнал.: 0.00 [20:27:28]line Место: АЗС № 162 "Партнер Нефть" [20:27:28]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:27:28]line СНО: Общий режим [20:27:28]line Чек 73 20.10.2024 20:27 [20:27:28]line Смена: 24 ФФД: 1.0 [20:27:28]line ЗНМ: 0300000191 [20:27:28]line РНМ: 0000000000207295 [20:27:28]line Версия ККМ: v1.0 [20:27:28]line ФМ: 0000000002342820 [20:27:28]line ФД: 2692 [20:27:28]line ФПД: 151647957706286 [20:27:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T202743&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2692&fm=151647957706286&tin=02508201610067®Number=0000000000207295&sum=4400 [20:27:29]line 0 [20:27:29]OFD Sender: Processing packet 2692 [packets to send 1, broken 0] [20:27:29]ProducePacketName [20:27:29]name=ofd_packets/00002692 [20:27:29]OFD Sender: To server: pG, [20:27:29]CommunicateWithHost lk.salyk.kg:30040 [20:27:29]ConnectInit lk.salyk.kg [20:27:29]written 0, free lines is 4095 [20:27:29]Connected sock=10 [20:27:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 75 D1 1F 01 47 D8 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 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 49 00 00 00 F4 03 04 00 BF 67 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 84 0A 00 00 35 04 06 00 89 EC 4A A6 66 2E 39 65 B8 4D C5 C7 17 67 [20:27:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 8B 8C 47 00 DD 9F 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 33 34 32 38 32 30 10 04 04 00 84 0A 00 00 F4 03 04 00 1C 13 15 67 B6 04 01 00 00 25 57 8C 06 30 5A DD 00 [20:27:29]CommunicateWithHost err = 0 [20:27:29]CheckOFDResponse [20:27:29]1017 (14) - 77093643461234 [20:27:29]1041 (16) - 0000000002342820 [20:27:29]1040 (4) - 2692 [20:27:29]1012 (4) - 20.10.2024 14:26 [20:27:29]1206 (1) - 0 [20:27:29]OFD Sender: Remove packet 2692 [20:27:29]ProducePacketName [20:27:29]name=ofd_packets/00002692 [20:27:29]NVStorageDeleteData [20:27:29]Write to MH i2c: 01 00 00 48 72 BA [20:27:29]Write i2c OK [20:27:29]MH_I2C_Read... [20:27:29]Read from MH i2c: 01 [20:27:29]MH_I2C_Read... [20:27:29]Read from MH i2c: 01 07 00 [20:27:29]MH_I2C_Read... [20:27:29]Read from MH i2c: 01 07 00 48 72 00 00 00 00 00 C8 0C 95 [20:27:29]RasterBufferAndPrint [20:27:29]line [20:27:29]line [20:27:29]line [20:27:29]line [20:27:29]line [20:27:29]written 0, free lines is 3277 [20:27:29]MH_Cut [20:27:29]Write to MH i2c: D1 01 00 4F 72 01 93 [20:27:29]Write i2c OK [20:27:29]MH_I2C_Read... [20:27:29]Read from MH i2c: D1 [20:27:29]MH_I2C_Read... [20:27:29]Read from MH i2c: D1 01 00 [20:27:29]MH_I2C_Read... [20:27:29]Read from MH i2c: D1 01 00 4F 72 00 92 [20:27:29]Write to MH i2c: 01 00 00 50 72 C2 [20:27:29]Write i2c OK [20:27:29]MH_I2C_Read... [20:27:30]OFD Sender: No OFD packet to send [20:27:30]*** Cut start [20:27:30]*** Partial cut [20:27:30]*** CUTSNS_PIN = 1 [20:27:30]*** CUTSNS_PIN = 0 [20:27:30]*** Brake cut motor [20:27:31]Read from MH i2c: 01 [20:27:31]MH_I2C_Read... [20:27:31]*** Stop cut motor [20:27:31]*** Cut end [20:27:31]Read from MH i2c: 01 07 00 [20:27:31]MH_I2C_Read... [20:27:31]Read from MH i2c: 01 07 00 50 72 00 00 00 00 00 FF 0F D7 [20:27:31]process_action close_receipt done [20:27:31]requested_data is exist [20:27:31]produce_requested_data [20:27:31]requested_item fm.sn is exist - process it [20:27:31]wFMCommunicate request_size=4 [20:27:31]MH_SAM_APDU [20:27:31]CAPDU: 80 11 00 00 [20:27:31]Write to MH i2c: E2 08 00 51 72 80 11 00 00 00 00 00 00 3D [20:27:31]Write i2c OK [20:27:31]MH_I2C_Read... [20:27:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:31]Read from MH i2c: E2 [20:27:31]MH_I2C_Read... [20:27:31]Read from MH i2c: E2 17 00 [20:27:31]MH_I2C_Read... [20:27:31]Read from MH i2c: E2 17 00 51 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 85 [20:27:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:27:31]wFMCommunicate OK [20:27:31]requested_item fd.num is exist - process it [20:27:31]SAM_PROTO_GetFieldsCounters [20:27:31]wFMCommunicate request_size=4 [20:27:31]MH_SAM_APDU [20:27:31]CAPDU: 80 13 00 00 [20:27:31]Write to MH i2c: E2 08 00 52 72 80 13 00 00 00 00 00 00 40 [20:27:31]Write i2c OK [20:27:31]MH_I2C_Read... [20:27:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:27:31]Read from MH i2c: E2 [20:27:31]MH_I2C_Read... [20:27:31]Read from MH i2c: E2 62 00 [20:27:31]MH_I2C_Read... [20:27:31]Read from MH i2c: E2 62 00 52 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 84 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 D7 [20:27:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 84 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:27:31]wFMCommunicate OK [20:27:31]SAM_PROTO_GetFieldsCounters done [20:27:31]requested_item shift.num is exist - process it [20:27:31]requested_item shift.opened is exist - process it [20:27:31]req_shift_opened [20:27:31]FM_GetShiftState [20:27:31]SAM_PROTO_GetShiftState [20:27:31]wFMCommunicate request_size=4 [20:27:31]MH_SAM_APDU [20:27:31]CAPDU: 80 13 01 00 [20:27:31]Write to MH i2c: E2 08 00 53 72 80 13 01 00 00 00 00 00 42 [20:27:31]Write i2c OK [20:27:31]MH_I2C_Read... [20:27:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:31]Read from MH i2c: E2 [20:27:31]MH_I2C_Read... [20:27:31]Read from MH i2c: E2 0E 00 [20:27:31]MH_I2C_Read... [20:27:31]Read from MH i2c: E2 0E 00 53 72 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 2C [20:27:31]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:27:31]wFMCommunicate OK [20:27:31]SAM_PROTO_GetShiftState done [20:27:31]FM_GetShiftState done [20:27:31]req_shift_opened done [20:27:31]requested_item shift.open_date is exist - process it [20:27:31]req_shift_open_date [20:27:31]req_shift_open_date done [20:27:31]produce_requested_data done [20:27:31]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2692,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [20:27:31]process_action_free close_receipt [20:27:31]json_value_free [20:27:31]json_value_free done [20:27:31]process_json_proto returns [20:27:31]Send response to host [20:27:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2692,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [20:27:31]free response buf [20:27:31]execute_script done [20:27:31]execute_script returns [20:27:31]free content buf [20:27:31]Sock 7.Close socket [20:27:31]Sock 7.Thread stoped [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:53]accept exits with 9 [20:39:53]New connection [20:39:53]New thread 3066707300 created [20:39:53]Thread 3066850660 joined [20:39:53]Waiting for new connection... [20:39:53] Sock 9.Parse request [20:39:53]Sock 9.Check first char [20:39:53]Sock 9.First char is OK [20:39:53]request: POST /json_proto HTTP/1.0 [20:39:53]Method: POST [20:39:53]URL: /json_proto [20:39:53]Method is POST - this is cgi request [20:39:53]url: /json_proto [20:39:53]query_string will be loaded in cgi processing [20:39:53]execute_cgi json_proto POST (null) [20:39:53]execute_cgi path=json_proto method=POST [20:39:53]POST find Content-Length [20:39:53]Host: 172.17.52.132:8080 [20:39:53]Content-Length: 623 [20:39:53]Content-Type: application/json [20:39:53] [20:39:53]POST finish read [20:39:53]Found Content-Length = 623 [20:39:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100071", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:39:53]execute_script... [20:39:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100071", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:39:53]POST & json_proto [20:39:53]process_json_proto [20:39:53]json parsed OK: [20:39:53]protocol is kg_v1.0 [20:39:53]action value=close_receipt [20:39:53]process_action close_receipt [20:39:53]cmd_close_receipt [20:39:53]MH_GetDate [20:39:53]Write to MH i2c: F0 00 00 54 72 B5 [20:39:53]Write i2c OK [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: F0 [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: F0 09 00 [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: F0 09 00 54 72 00 A9 6A 15 67 5A BE F6 66 C1 [20:39:53]GetLastDocTimeStamp 1729456063 [20:39:53]current date 1729456809 [20:39:53]FM_GetShiftState [20:39:53]SAM_PROTO_GetShiftState [20:39:53]wFMCommunicate request_size=4 [20:39:53]MH_SAM_APDU [20:39:53]CAPDU: 80 13 01 00 [20:39:53]Write to MH i2c: E2 08 00 55 72 80 13 01 00 00 00 00 00 44 [20:39:53]Write i2c OK [20:39:53]MH_I2C_Read... [20:39:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:39:53]Read from MH i2c: E2 [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: E2 0E 00 [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: E2 0E 00 55 72 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 2E [20:39:53]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:39:53]wFMCommunicate OK [20:39:53]SAM_PROTO_GetShiftState done [20:39:53]FM_GetShiftState done [20:39:53]opened in 1729382427 [20:39:53]opened+sec_in_day 1729468827 [20:39:53]quantity*price = 14400 [20:39:53]sum+1 = 14401 [20:39:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 74 20.10.2024 20:40 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2693 ФПД: 15840795689270 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T204009&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2693&fm=15840795689270&tin=02508201610067®Number=0000000000207295&sum=14400 0 [20:39:54]StoreToDocumentArchive [20:39:54]shift 24 fd 2693 [20:39:54]save to /storage/0024/doc_00002693 [20:39:54]save last doc name /storage/0024/doc_00002693 to /storage/kkm_last_doc_name [20:39:54]save OK [20:39:54]Clear old archive folders... [20:39:54]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:39:54]tlvbuf is 0133BE90 [20:39:54]SAM_PROTO_ClearQueue [20:39:54]wFMCommunicate request_size=4 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 09 00 00 [20:39:54]Write to MH i2c: E2 08 00 62 72 80 09 00 00 00 00 00 00 46 [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 03 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 03 00 62 72 00 90 00 48 [20:39:54]RAPDU: 90 00 [20:39:54]wFMCommunicate OK [20:39:54]SAM_PROTO_ClearQueue done [20:39:54]KKMCreateOFDPacket [20:39:54]OFDProtocolAddRootSTLVToBuf [20:39:54]FM_MakeSignedData [20:39:54]FM_MakeSignedData [20:39:54]SAM_PROTO_SignData [20:39:54]wFMCommunicate request_size=4 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 0D 01 02 [20:39:54]Write to MH i2c: E2 08 00 63 72 80 0D 01 02 00 00 00 00 4E [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 03 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 03 00 63 72 00 90 00 49 [20:39:54]RAPDU: 90 00 [20:39:54]wFMCommunicate OK [20:39:54]wFMCommunicate request_size=255 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 A9 6A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 [20:39:54]Write to MH i2c: E2 02 01 64 72 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 A9 6A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 00 00 44 [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 03 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 03 00 64 72 00 90 00 4A [20:39:54]RAPDU: 90 00 [20:39:54]wFMCommunicate OK [20:39:54]wFMCommunicate request_size=34 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 0D 02 02 1D 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 85 0A 00 00 35 04 06 00 0E 68 39 00 01 36 [20:39:54]Write to MH i2c: E2 25 00 65 72 80 0D 02 02 1D 00 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 85 0A 00 00 35 04 06 00 0E 68 39 00 01 36 00 00 7C [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 03 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 03 00 65 72 00 90 00 4B [20:39:54]RAPDU: 90 00 [20:39:54]wFMCommunicate OK [20:39:54]wFMCommunicate request_size=4 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 0D 03 02 [20:39:54]Write to MH i2c: E2 08 00 66 72 80 0D 03 02 00 00 00 00 53 [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 0B 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 0B 00 66 72 00 61 DF CD 28 9B 3A 1B BC 90 00 35 [20:39:54]RAPDU: 61 DF CD 28 9B 3A 1B BC 90 00 [20:39:54]wFMCommunicate OK [20:39:54]SAM_PROTO_SignData done [20:39:54]FM_MakeSignedData done [20:39:54]CreateOFDProtocolMessage [20:39:54]wFMCommunicate request_size=4 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 11 00 00 [20:39:54]Write to MH i2c: E2 08 00 67 72 80 11 00 00 00 00 00 00 53 [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 17 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 17 00 67 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9B [20:39:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:39:54]wFMCommunicate OK [20:39:54]CreateOFDProtocolMessage done [20:39:54]OFDSenderStorePacket 2693 [20:39:54]StoreOFDPacket docnum=2693 [20:39:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 61 A6 1F 01 0F 49 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 A9 6A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 85 0A 00 00 35 04 06 00 0E 68 39 00 01 36 61 DF CD 28 9B 3A 1B BC [20:39:54]CheckFolder [20:39:54]dirname=/storage/ofd_packets [20:39:54]CheckFolder done [20:39:54]ProducePacketName [20:39:54]name=ofd_packets/00002693 [20:39:54]NVStorageSaveData ofd_packets/00002693 [20:39:54]File name is /storage/ofd_packets/00002693 [20:39:54]Write 325 bytes [20:39:54]NVStorageSaveData done [20:39:54]OFDSenderStorePacket done [20:39:54]KKMCreateOFDPacket done [20:39:54]NVStorageSaveData kkm_last_timestamp [20:39:54]File name is /storage/kkm_last_timestamp [20:39:54]Write 4 bytes [20:39:54]NVStorageSaveData done [20:39:54]ExternCall_PrintAddStr [20:39:54]wPrintStart [20:39:54]Write to MH i2c: 01 00 00 68 72 DA [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: 01 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: 01 07 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: 01 07 00 68 72 00 00 00 00 00 FF 0F EF [20:39:54]RasterBufferAndPrint [20:39:54]line Счет N : (3)100071 [20:39:54]line ИНН: 02508201610067 [20:39:54]line Контрольно-Кассовый Чек [20:39:54]line ПРОДАЖА [20:39:54]line Товар: 48743587 [20:39:54]line Сигареты Winston XStyle Silver [20:39:54]line 1.000 * 144.00 [20:39:54]line = 144.00 [20:39:54]line НДС 12% НСП 1% [20:39:54]line > о реализуемом товаре [20:39:54]line ИТОГО: 144.00 [20:39:54]line НСП 1% : 1.27 [20:39:54]line НДС 12% : 15.29 [20:39:54]line Наличными: 144.00 [20:39:54]line Безнал.: 0.00 [20:39:54]line Место: АЗС № 162 "Партнер Нефть" [20:39:54]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:39:54]line СНО: Общий режим [20:39:54]line Чек 74 20.10.2024 20:40 [20:39:54]line Смена: 24 ФФД: 1.0 [20:39:54]line ЗНМ: 0300000191 [20:39:54]line РНМ: 0000000000207295 [20:39:54]line Версия ККМ: v1.0 [20:39:54]line ФМ: 0000000002342820 [20:39:54]line ФД: 2693 [20:39:55]line ФПД: 15840795689270 [20:39:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T204009&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2693&fm=15840795689270&tin=02508201610067®Number=0000000000207295&sum=14400 [20:39:55]line 0 [20:39:55]OFD Sender: Processing packet 2693 [packets to send 1, broken 0] [20:39:55]ProducePacketName [20:39:55]name=ofd_packets/00002693 [20:39:55]OFD Sender: To server: pG, [20:39:55]CommunicateWithHost lk.salyk.kg:30040 [20:39:55]ConnectInit lk.salyk.kg [20:39:55]written 0, free lines is 4095 [20:39:55]Connected sock=10 [20:39:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 61 A6 1F 01 0F 49 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 A9 6A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 85 0A 00 00 35 04 06 00 0E 68 39 00 01 36 61 DF CD 28 9B 3A 1B BC [20:39:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 BA 93 47 00 4E 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 33 34 32 38 32 30 10 04 04 00 85 0A 00 00 F4 03 04 00 06 16 15 67 B6 04 01 00 00 56 8C 69 FE 26 D2 69 31 [20:39:55]CommunicateWithHost err = 0 [20:39:55]CheckOFDResponse [20:39:55]1017 (14) - 77093643461234 [20:39:55]1041 (16) - 0000000002342820 [20:39:55]1040 (4) - 2693 [20:39:55]1012 (4) - 20.10.2024 14:39 [20:39:55]1206 (1) - 0 [20:39:55]OFD Sender: Remove packet 2693 [20:39:55]ProducePacketName [20:39:55]name=ofd_packets/00002693 [20:39:55]NVStorageDeleteData [20:39:55]Write to MH i2c: 01 00 00 91 72 03 [20:39:55]Write i2c OK [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: 01 [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: 01 07 00 [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: 01 07 00 91 72 00 00 00 00 00 B2 0C C8 [20:39:55]RasterBufferAndPrint [20:39:55]line [20:39:55]line [20:39:55]line [20:39:55]line [20:39:55]line [20:39:55]written 0, free lines is 3254 [20:39:55]MH_Cut [20:39:55]Write to MH i2c: D1 01 00 98 72 01 DC [20:39:55]Write i2c OK [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: D1 [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: D1 01 00 [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: D1 01 00 98 72 00 DB [20:39:55]Write to MH i2c: 01 00 00 99 72 0B [20:39:55]Write i2c OK [20:39:55]MH_I2C_Read... [20:39:55]OFD Sender: No OFD packet to send [20:39:56]*** Cut start [20:39:56]*** Partial cut [20:39:56]*** CUTSNS_PIN = 1 [20:39:56]*** CUTSNS_PIN = 0 [20:39:56]*** Brake cut motor [20:39:57]Read from MH i2c: 01 [20:39:57]MH_I2C_Read... [20:39:57]*** Stop cut motor [20:39:57]*** Cut end [20:39:57]Read from MH i2c: 01 07 00 [20:39:57]MH_I2C_Read... [20:39:57]Read from MH i2c: 01 07 00 99 72 00 00 00 00 00 FF 0F 20 [20:39:57]process_action close_receipt done [20:39:57]requested_data is exist [20:39:57]produce_requested_data [20:39:57]requested_item fm.sn is exist - process it [20:39:57]wFMCommunicate request_size=4 [20:39:57]MH_SAM_APDU [20:39:57]CAPDU: 80 11 00 00 [20:39:57]Write to MH i2c: E2 08 00 9A 72 80 11 00 00 00 00 00 00 86 [20:39:57]Write i2c OK [20:39:57]MH_I2C_Read... [20:39:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:39:57]Read from MH i2c: E2 [20:39:57]MH_I2C_Read... [20:39:57]Read from MH i2c: E2 17 00 [20:39:57]MH_I2C_Read... [20:39:57]Read from MH i2c: E2 17 00 9A 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CE [20:39:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:39:57]wFMCommunicate OK [20:39:57]requested_item fd.num is exist - process it [20:39:57]SAM_PROTO_GetFieldsCounters [20:39:57]wFMCommunicate request_size=4 [20:39:57]MH_SAM_APDU [20:39:57]CAPDU: 80 13 00 00 [20:39:57]Write to MH i2c: E2 08 00 9B 72 80 13 00 00 00 00 00 00 89 [20:39:57]Write i2c OK [20:39:57]MH_I2C_Read... [20:39:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:39:57]Read from MH i2c: E2 [20:39:57]MH_I2C_Read... [20:39:57]Read from MH i2c: E2 62 00 [20:39:57]MH_I2C_Read... [20:39:57]Read from MH i2c: E2 62 00 9B 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 85 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [20:39:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 85 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:39:57]wFMCommunicate OK [20:39:57]SAM_PROTO_GetFieldsCounters done [20:39:57]requested_item shift.num is exist - process it [20:39:57]requested_item shift.opened is exist - process it [20:39:57]req_shift_opened [20:39:57]FM_GetShiftState [20:39:57]SAM_PROTO_GetShiftState [20:39:57]wFMCommunicate request_size=4 [20:39:57]MH_SAM_APDU [20:39:57]CAPDU: 80 13 01 00 [20:39:57]Write to MH i2c: E2 08 00 9C 72 80 13 01 00 00 00 00 00 8B [20:39:57]Write i2c OK [20:39:57]MH_I2C_Read... [20:39:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:39:57]Read from MH i2c: E2 [20:39:57]MH_I2C_Read... [20:39:57]Read from MH i2c: E2 0E 00 [20:39:57]MH_I2C_Read... [20:39:57]Read from MH i2c: E2 0E 00 9C 72 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 75 [20:39:57]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [20:39:57]wFMCommunicate OK [20:39:57]SAM_PROTO_GetShiftState done [20:39:57]FM_GetShiftState done [20:39:57]req_shift_opened done [20:39:57]requested_item shift.open_date is exist - process it [20:39:57]req_shift_open_date [20:39:57]req_shift_open_date done [20:39:57]produce_requested_data done [20:39:57]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2693,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [20:39:57]process_action_free close_receipt [20:39:57]json_value_free [20:39:57]json_value_free done [20:39:57]process_json_proto returns [20:39:57]Send response to host [20:39:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2693,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [20:39:57]free response buf [20:39:57]execute_script done [20:39:57]execute_script returns [20:39:57]free content buf [20:39:57]Sock 9.Close socket [20:39:57]Sock 9.Thread stoped [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:46]OFD Sender: No OFD packet to send [20:42:51]OFD Sender: No OFD packet to send [20:42:56]OFD Sender: No OFD packet to send [20:43:01]OFD Sender: No OFD packet to send [20:43:06]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:36]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:46]OFD Sender: No OFD packet to send [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:21]OFD Sender: No OFD packet to send [20:46:26]OFD Sender: No OFD packet to send [20:46:31]OFD Sender: No OFD packet to send [20:46:36]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:41]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:06]OFD Sender: No OFD packet to send [20:51:11]OFD Sender: No OFD packet to send [20:51:16]OFD Sender: No OFD packet to send [20:51:21]OFD Sender: No OFD packet to send [20:51:26]OFD Sender: No OFD packet to send [20:51:31]OFD Sender: No OFD packet to send [20:51:36]OFD Sender: No OFD packet to send [20:51:41]OFD Sender: No OFD packet to send [20:51:46]OFD Sender: No OFD packet to send [20:51:51]OFD Sender: No OFD packet to send [20:51:56]OFD Sender: No OFD packet to send [20:52:01]OFD Sender: No OFD packet to send [20:52:06]OFD Sender: No OFD packet to send [20:52:11]OFD Sender: No OFD packet to send [20:52:16]OFD Sender: No OFD packet to send [20:52:21]OFD Sender: No OFD packet to send [20:52:26]OFD Sender: No OFD packet to send [20:52:31]OFD Sender: No OFD packet to send [20:52:36]OFD Sender: No OFD packet to send [20:52:41]OFD Sender: No OFD packet to send [20:52:46]OFD Sender: No OFD packet to send [20:52:51]OFD Sender: No OFD packet to send [20:52:56]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:36]OFD Sender: No OFD packet to send [20:54:41]OFD Sender: No OFD packet to send [20:54:46]OFD Sender: No OFD packet to send [20:54:51]OFD Sender: No OFD packet to send [20:54:56]OFD Sender: No OFD packet to send [20:55:01]OFD Sender: No OFD packet to send [20:55:06]OFD Sender: No OFD packet to send [20:55:11]OFD Sender: No OFD packet to send [20:55:16]OFD Sender: No OFD packet to send [20:55:21]OFD Sender: No OFD packet to send [20:55:26]OFD Sender: No OFD packet to send [20:55:31]OFD Sender: No OFD packet to send [20:55:36]OFD Sender: No OFD packet to send [20:55:41]OFD Sender: No OFD packet to send [20:55:46]OFD Sender: No OFD packet to send [20:55:51]OFD Sender: No OFD packet to send [20:55:56]OFD Sender: No OFD packet to send [20:56:01]OFD Sender: No OFD packet to send [20:56:06]OFD Sender: No OFD packet to send [20:56:11]OFD Sender: No OFD packet to send [20:56:16]OFD Sender: No OFD packet to send [20:56:21]OFD Sender: No OFD packet to send [20:56:26]OFD Sender: No OFD packet to send [20:56:31]OFD Sender: No OFD packet to send [20:56:36]OFD Sender: No OFD packet to send [20:56:41]OFD Sender: No OFD packet to send [20:56:46]OFD Sender: No OFD packet to send [20:56:51]OFD Sender: No OFD packet to send [20:56:56]OFD Sender: No OFD packet to send [20:57:01]OFD Sender: No OFD packet to send [20:57:06]OFD Sender: No OFD packet to send [20:57:11]OFD Sender: No OFD packet to send [20:57:16]OFD Sender: No OFD packet to send [20:57:21]OFD Sender: No OFD packet to send [20:57:26]OFD Sender: No OFD packet to send [20:57:31]OFD Sender: No OFD packet to send [20:57:36]OFD Sender: No OFD packet to send [20:57:41]OFD Sender: No OFD packet to send [20:57:46]OFD Sender: No OFD packet to send [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:23]accept exits with 7 [21:07:23]New connection [21:07:23]New thread 3066850660 created [21:07:23]Thread 3066707300 joined [21:07:23]Waiting for new connection... [21:07:23] Sock 7.Parse request [21:07:23]Sock 7.Check first char [21:07:23]Sock 7.First char is OK [21:07:23]request: POST /json_proto HTTP/1.0 [21:07:23]Method: POST [21:07:23]URL: /json_proto [21:07:23]Method is POST - this is cgi request [21:07:23]url: /json_proto [21:07:23]query_string will be loaded in cgi processing [21:07:23]execute_cgi json_proto POST (null) [21:07:23]execute_cgi path=json_proto method=POST [21:07:23]POST find Content-Length [21:07:23]Host: 172.17.52.132:8080 [21:07:23]Content-Length: 951 [21:07:23]Content-Type: application/json [21:07:23] [21:07:23]POST finish read [21:07:23]Found Content-Length = 951 [21:07:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100072", "tax_sys" : 0, "items" : [ { "code": "4620021192902", "name": "48 \u041A\u043E\u043F\u0435\u0435\u043A \u0441\u0442\u0430\u043A\u0430\u043D \u0428\u043E\u043A\u043E\u043B\u0430\u0434", "price" : 105.00, "quantity" : 5.000, "sum" : 525.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" : 529.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:07:23]execute_script... [21:07:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100072", "tax_sys" : 0, "items" : [ { "code": "4620021192902", "name": "48 \u041A\u043E\u043F\u0435\u0435\u043A \u0441\u0442\u0430\u043A\u0430\u043D \u0428\u043E\u043A\u043E\u043B\u0430\u0434", "price" : 105.00, "quantity" : 5.000, "sum" : 525.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" : 529.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:07:23]POST & json_proto [21:07:23]process_json_proto [21:07:23]json parsed OK: [21:07:23]protocol is kg_v1.0 [21:07:23]action value=close_receipt [21:07:23]process_action close_receipt [21:07:23]cmd_close_receipt [21:07:23]MH_GetDate [21:07:23]Write to MH i2c: F0 00 00 9D 72 FE [21:07:23]Write i2c OK [21:07:23]MH_I2C_Read... [21:07:23]Read from MH i2c: F0 [21:07:23]MH_I2C_Read... [21:07:23]Read from MH i2c: F0 09 00 [21:07:23]MH_I2C_Read... [21:07:23]Read from MH i2c: F0 09 00 9D 72 00 1C 71 15 67 5A BE F6 66 84 [21:07:23]GetLastDocTimeStamp 1729456809 [21:07:23]current date 1729458460 [21:07:23]FM_GetShiftState [21:07:23]SAM_PROTO_GetShiftState [21:07:23]wFMCommunicate request_size=4 [21:07:23]MH_SAM_APDU [21:07:23]CAPDU: 80 13 01 00 [21:07:23]Write to MH i2c: E2 08 00 9E 72 80 13 01 00 00 00 00 00 8D [21:07:23]Write i2c OK [21:07:23]MH_I2C_Read... [21:07:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:07:23]Read from MH i2c: E2 [21:07:23]MH_I2C_Read... [21:07:23]Read from MH i2c: E2 0E 00 [21:07:23]MH_I2C_Read... [21:07:23]Read from MH i2c: E2 0E 00 9E 72 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 77 [21:07:23]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:07:23]wFMCommunicate OK [21:07:23]SAM_PROTO_GetShiftState done [21:07:23]FM_GetShiftState done [21:07:23]opened in 1729382427 [21:07:23]opened+sec_in_day 1729468827 [21:07:23]quantity*price = 52500 [21:07:23]sum+1 = 52501 [21:07:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 529.00 НСП 1% : 4.68 НДС 12% : 56.17 Наличными: 529.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 75 20.10.2024 21:07 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2694 ФПД: 105230322900328 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T210740&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2694&fm=105230322900328&tin=02508201610067®Number=0000000000207295&sum=52900 0 [21:07:24]StoreToDocumentArchive [21:07:24]shift 24 fd 2694 [21:07:24]save to /storage/0024/doc_00002694 [21:07:24]save last doc name /storage/0024/doc_00002694 to /storage/kkm_last_doc_name [21:07:24]save OK [21:07:24]Clear old archive folders... [21:07:24]ProcessDocumentItem done err = 0, tmpTLVsize=393 [21:07:24]tlvbuf is 013D5200 [21:07:24]SAM_PROTO_ClearQueue [21:07:24]wFMCommunicate request_size=4 [21:07:24]MH_SAM_APDU [21:07:24]CAPDU: 80 09 00 00 [21:07:24]Write to MH i2c: E2 08 00 AB 72 80 09 00 00 00 00 00 00 8F [21:07:24]Write i2c OK [21:07:24]MH_I2C_Read... [21:07:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:07:24]Read from MH i2c: E2 [21:07:24]MH_I2C_Read... [21:07:24]Read from MH i2c: E2 03 00 [21:07:24]MH_I2C_Read... [21:07:24]Read from MH i2c: E2 03 00 AB 72 00 90 00 91 [21:07:24]RAPDU: 90 00 [21:07:24]wFMCommunicate OK [21:07:24]SAM_PROTO_ClearQueue done [21:07:24]KKMCreateOFDPacket [21:07:24]OFDProtocolAddRootSTLVToBuf [21:07:24]FM_MakeSignedData [21:07:24]FM_MakeSignedData [21:07:24]SAM_PROTO_SignData [21:07:24]wFMCommunicate request_size=4 [21:07:24]MH_SAM_APDU [21:07:24]CAPDU: 80 0D 01 02 [21:07:24]Write to MH i2c: E2 08 00 AC 72 80 0D 01 02 00 00 00 00 97 [21:07:24]Write i2c OK [21:07:24]MH_I2C_Read... [21:07:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:07:24]Read from MH i2c: E2 [21:07:24]MH_I2C_Read... [21:07:24]Read from MH i2c: E2 03 00 [21:07:24]MH_I2C_Read... [21:07:24]Read from MH i2c: E2 03 00 AC 72 00 90 00 92 [21:07:24]RAPDU: 90 00 [21:07:24]wFMCommunicate OK [21:07:24]wFMCommunicate request_size=255 [21:07:24]MH_SAM_APDU [21:07:24]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 32 30 30 32 31 31 39 32 39 30 32 06 04 2B 00 34 38 20 D0 9A D0 BE D0 BF D0 B5 D0 B5 D0 BA 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 14 CD 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 A4 CE 00 00 00 00 EB 03 26 00 EF 03 0F 00 [21:07:24]Write to MH i2c: E2 02 01 AD 72 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 32 30 30 32 31 31 39 32 39 30 32 06 04 2B 00 34 38 20 D0 9A D0 BE D0 BF D0 B5 D0 B5 D0 BA 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 14 CD 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 A4 CE 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 6D [21:07:24]Write i2c OK [21:07:24]MH_I2C_Read... [21:07:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:07:24]Read from MH i2c: E2 [21:07:24]MH_I2C_Read... [21:07:24]Read from MH i2c: E2 03 00 [21:07:24]MH_I2C_Read... [21:07:24]Read from MH i2c: E2 03 00 AD 72 00 90 00 93 [21:07:24]RAPDU: 90 00 [21:07:24]wFMCommunicate OK [21:07:24]wFMCommunicate request_size=152 [21:07:24]MH_SAM_APDU [21:07:24]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 D4 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 15 00 00 00 00 07 04 06 00 A4 CE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 1C 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 86 0A 00 00 35 04 06 00 5F B4 D8 04 1D 68 [21:07:24]Write to MH i2c: E2 9B 00 AE 72 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 D4 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 15 00 00 00 00 07 04 06 00 A4 CE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 1C 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 86 0A 00 00 35 04 06 00 5F B4 D8 04 1D 68 00 00 9A [21:07:24]Write i2c OK [21:07:24]MH_I2C_Read... [21:07:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:07:24]Read from MH i2c: E2 [21:07:24]MH_I2C_Read... [21:07:24]Read from MH i2c: E2 03 00 [21:07:24]MH_I2C_Read... [21:07:24]Read from MH i2c: E2 03 00 AE 72 00 90 00 94 [21:07:24]RAPDU: 90 00 [21:07:24]wFMCommunicate OK [21:07:24]wFMCommunicate request_size=4 [21:07:24]MH_SAM_APDU [21:07:24]CAPDU: 80 0D 03 02 [21:07:24]Write to MH i2c: E2 08 00 AF 72 80 0D 03 02 00 00 00 00 9C [21:07:24]Write i2c OK [21:07:24]MH_I2C_Read... [21:07:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:07:25]Read from MH i2c: E2 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: E2 0B 00 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: E2 0B 00 AF 72 00 22 16 93 58 AC 93 C7 99 90 00 5F [21:07:25]RAPDU: 22 16 93 58 AC 93 C7 99 90 00 [21:07:25]wFMCommunicate OK [21:07:25]SAM_PROTO_SignData done [21:07:25]FM_MakeSignedData done [21:07:25]CreateOFDProtocolMessage [21:07:25]wFMCommunicate request_size=4 [21:07:25]MH_SAM_APDU [21:07:25]CAPDU: 80 11 00 00 [21:07:25]Write to MH i2c: E2 08 00 B0 72 80 11 00 00 00 00 00 00 9C [21:07:25]Write i2c OK [21:07:25]MH_I2C_Read... [21:07:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:07:25]Read from MH i2c: E2 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: E2 17 00 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: E2 17 00 B0 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E4 [21:07:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:07:25]wFMCommunicate OK [21:07:25]CreateOFDProtocolMessage done [21:07:25]OFDSenderStorePacket 2694 [21:07:25]StoreOFDPacket docnum=2694 [21:07:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 9D 01 00 00 01 0E 95 01 53 AC 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 32 30 30 32 31 31 39 32 39 30 32 06 04 2B 00 34 38 20 D0 9A D0 BE D0 BF D0 B5 D0 B5 D0 BA 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 14 CD 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 A4 CE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 15 00 00 00 00 07 04 06 00 A4 CE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 1C 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 86 0A 00 00 35 04 06 00 5F B4 D8 04 1D 68 22 16 93 58 AC 93 C7 99 [21:07:25]CheckFolder [21:07:25]dirname=/storage/ofd_packets [21:07:25]CheckFolder done [21:07:25]ProducePacketName [21:07:25]name=ofd_packets/00002694 [21:07:25]NVStorageSaveData ofd_packets/00002694 [21:07:25]File name is /storage/ofd_packets/00002694 [21:07:25]Write 443 bytes [21:07:25]NVStorageSaveData done [21:07:25]OFDSenderStorePacket done [21:07:25]KKMCreateOFDPacket done [21:07:25]NVStorageSaveData kkm_last_timestamp [21:07:25]File name is /storage/kkm_last_timestamp [21:07:25]Write 4 bytes [21:07:25]NVStorageSaveData done [21:07:25]ExternCall_PrintAddStr [21:07:25]wPrintStart [21:07:25]Write to MH i2c: 01 00 00 B1 72 23 [21:07:25]Write i2c OK [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: 01 [21:07:25]MH_I2C_Read... [21:07:25]OFD Sender: Processing packet 2694 [packets to send 1, broken 0] [21:07:25]ProducePacketName [21:07:25]name=ofd_packets/00002694 [21:07:25]OFD Sender: To server: pG, [21:07:25]CommunicateWithHost lk.salyk.kg:30040 [21:07:25]ConnectInit lk.salyk.kg [21:07:25]Read from MH i2c: 01 07 00 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: 01 07 00 B1 72 00 00 00 00 00 FF 0F 38 [21:07:25]RasterBufferAndPrint [21:07:25]line Счет N : (3)100072 [21:07:25]line ИНН: 02508201610067 [21:07:25]line Контрольно-Кассовый Чек [21:07:25]line ПРОДАЖА [21:07:25]line Товар: 4620021192902 [21:07:25]line 48 Копеек стакан Шоколад [21:07:25]line 5.000 * 105.00 [21:07:25]line = 525.00 [21:07:25]line НДС 12% НСП 1% [21:07:25]line > о реализуемом товаре [21:07:25]line Товар: 2000031750019 [21:07:25]line Пакет Партнер Нефть [21:07:25]line 1.000 * 4.00 [21:07:25]line = 4.00 [21:07:25]line НДС 12% НСП 1% [21:07:25]line > о реализуемом товаре [21:07:25]line ИТОГО: 529.00 [21:07:25]line НСП 1% : 4.68 [21:07:25]line НДС 12% : 56.17 [21:07:25]line Наличными: 529.00 [21:07:25]line Безнал.: 0.00 [21:07:25]line Место: АЗС № 162 "Партнер Нефть" [21:07:25]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:07:25]line СНО: Общий режим [21:07:25]line Чек 75 20.10.2024 21:07 [21:07:25]line Смена: 24 ФФД: 1.0 [21:07:25]line ЗНМ: 0300000191 [21:07:25]line РНМ: 0000000000207295 [21:07:25]line Версия ККМ: v1.0 [21:07:25]line ФМ: 0000000002342820 [21:07:25]line ФД: 2694 [21:07:25]line ФПД: 105230322900328 [21:07:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T210740&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2694&fm=105230322900328&tin=02508201610067®Number=0000000000207295&sum=52900 [21:07:25]line 0 [21:07:25]written 0, free lines is 4095 [21:07:25]Connected sock=10 [21:07:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 9D 01 00 00 01 0E 95 01 53 AC 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 32 30 30 32 31 31 39 32 39 30 32 06 04 2B 00 34 38 20 D0 9A D0 BE D0 BF D0 B5 D0 B5 D0 BA 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 14 CD 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 A4 CE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 15 00 00 00 00 07 04 06 00 A4 CE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 1C 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 86 0A 00 00 35 04 06 00 5F B4 D8 04 1D 68 22 16 93 58 AC 93 C7 99 [21:07:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 F9 1C 47 00 31 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 33 34 32 38 32 30 10 04 04 00 86 0A 00 00 F4 03 04 00 78 1C 15 67 B6 04 01 00 00 44 E9 0E 73 49 81 41 34 [21:07:25]CommunicateWithHost err = 0 [21:07:25]CheckOFDResponse [21:07:25]1017 (14) - 77093643461234 [21:07:25]1041 (16) - 0000000002342820 [21:07:25]1040 (4) - 2694 [21:07:25]1012 (4) - 20.10.2024 15:06 [21:07:25]1206 (1) - 0 [21:07:25]OFD Sender: Remove packet 2694 [21:07:25]ProducePacketName [21:07:25]name=ofd_packets/00002694 [21:07:25]NVStorageDeleteData [21:07:25]Write to MH i2c: 01 00 00 DF 72 51 [21:07:25]Write i2c OK [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: 01 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: 01 07 00 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: 01 07 00 DF 72 00 00 00 00 00 55 0C B9 [21:07:25]RasterBufferAndPrint [21:07:25]line [21:07:25]line [21:07:25]line [21:07:25]line [21:07:25]line [21:07:25]written 0, free lines is 3164 [21:07:25]MH_Cut [21:07:25]Write to MH i2c: D1 01 00 E6 72 01 2A [21:07:25]Write i2c OK [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: D1 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: D1 01 00 [21:07:25]MH_I2C_Read... [21:07:25]Read from MH i2c: D1 01 00 E6 72 00 29 [21:07:25]Write to MH i2c: 01 00 00 E7 72 59 [21:07:25]Write i2c OK [21:07:25]MH_I2C_Read... [21:07:26]OFD Sender: No OFD packet to send [21:07:26]*** Cut start [21:07:26]*** Partial cut [21:07:26]*** CUTSNS_PIN = 1 [21:07:26]*** CUTSNS_PIN = 0 [21:07:27]*** Brake cut motor [21:07:27]Read from MH i2c: 01 [21:07:27]MH_I2C_Read... [21:07:27]*** Stop cut motor [21:07:27]*** Cut end [21:07:27]Read from MH i2c: 01 07 00 [21:07:27]MH_I2C_Read... [21:07:27]Read from MH i2c: 01 07 00 E7 72 00 00 00 00 00 FF 0F 6E [21:07:27]process_action close_receipt done [21:07:27]requested_data is exist [21:07:27]produce_requested_data [21:07:27]requested_item fm.sn is exist - process it [21:07:27]wFMCommunicate request_size=4 [21:07:27]MH_SAM_APDU [21:07:27]CAPDU: 80 11 00 00 [21:07:27]Write to MH i2c: E2 08 00 E8 72 80 11 00 00 00 00 00 00 D4 [21:07:27]Write i2c OK [21:07:27]MH_I2C_Read... [21:07:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:07:27]Read from MH i2c: E2 [21:07:27]MH_I2C_Read... [21:07:27]Read from MH i2c: E2 17 00 [21:07:27]MH_I2C_Read... [21:07:27]Read from MH i2c: E2 17 00 E8 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1C [21:07:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:07:27]wFMCommunicate OK [21:07:27]requested_item fd.num is exist - process it [21:07:27]SAM_PROTO_GetFieldsCounters [21:07:27]wFMCommunicate request_size=4 [21:07:27]MH_SAM_APDU [21:07:27]CAPDU: 80 13 00 00 [21:07:27]Write to MH i2c: E2 08 00 E9 72 80 13 00 00 00 00 00 00 D7 [21:07:27]Write i2c OK [21:07:27]MH_I2C_Read... [21:07:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:07:27]Read from MH i2c: E2 [21:07:27]MH_I2C_Read... [21:07:27]Read from MH i2c: E2 62 00 [21:07:27]MH_I2C_Read... [21:07:27]Read from MH i2c: E2 62 00 E9 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 86 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 76 [21:07:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 86 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:07:27]wFMCommunicate OK [21:07:27]SAM_PROTO_GetFieldsCounters done [21:07:27]requested_item shift.num is exist - process it [21:07:27]requested_item shift.opened is exist - process it [21:07:27]req_shift_opened [21:07:27]FM_GetShiftState [21:07:27]SAM_PROTO_GetShiftState [21:07:27]wFMCommunicate request_size=4 [21:07:27]MH_SAM_APDU [21:07:27]CAPDU: 80 13 01 00 [21:07:27]Write to MH i2c: E2 08 00 EA 72 80 13 01 00 00 00 00 00 D9 [21:07:27]Write i2c OK [21:07:27]MH_I2C_Read... [21:07:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:07:27]Read from MH i2c: E2 [21:07:27]MH_I2C_Read... [21:07:27]Read from MH i2c: E2 0E 00 [21:07:27]MH_I2C_Read... [21:07:27]Read from MH i2c: E2 0E 00 EA 72 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C3 [21:07:27]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:07:27]wFMCommunicate OK [21:07:27]SAM_PROTO_GetShiftState done [21:07:27]FM_GetShiftState done [21:07:27]req_shift_opened done [21:07:27]requested_item shift.open_date is exist - process it [21:07:27]req_shift_open_date [21:07:27]req_shift_open_date done [21:07:27]produce_requested_data done [21:07:27]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2694,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:07:27]process_action_free close_receipt [21:07:27]json_value_free [21:07:27]json_value_free done [21:07:27]process_json_proto returns [21:07:27]Send response to host [21:07:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2694,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:07:27]free response buf [21:07:27]execute_script done [21:07:27]execute_script returns [21:07:27]free content buf [21:07:27]Sock 7.Close socket [21:07:27]Sock 7.Thread stoped [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:02]accept exits with 9 [21:08:02]New connection [21:08:02]New thread 3066707300 created [21:08:02]Thread 3066850660 joined [21:08:02]Waiting for new connection... [21:08:02] Sock 9.Parse request [21:08:02]Sock 9.Check first char [21:08:02]Sock 9.First char is OK [21:08:02]request: POST /json_proto HTTP/1.0 [21:08:02]Method: POST [21:08:02]URL: /json_proto [21:08:02]Method is POST - this is cgi request [21:08:02]url: /json_proto [21:08:02]query_string will be loaded in cgi processing [21:08:02]execute_cgi json_proto POST (null) [21:08:02]execute_cgi path=json_proto method=POST [21:08:02]POST find Content-Length [21:08:02]Host: 172.17.52.132:8080 [21:08:02]Content-Length: 766 [21:08:02]Content-Type: application/json [21:08:02] [21:08:02]POST finish read [21:08:02]Found Content-Length = 766 [21:08:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 2649, "base_FM": "0000000002342820", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100027", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "2649" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:02]execute_script... [21:08:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 2649, "base_FM": "0000000002342820", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100027", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "2649" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:02]POST & json_proto [21:08:02]process_json_proto [21:08:02]json parsed OK: [21:08:02]protocol is kg_v1.0 [21:08:02]action value=close_receipt [21:08:02]process_action close_receipt [21:08:02]cmd_close_receipt [21:08:02]MH_GetDate [21:08:02]Write to MH i2c: F0 00 00 EB 72 4C [21:08:02]Write i2c OK [21:08:02]MH_I2C_Read... [21:08:02]Read from MH i2c: F0 [21:08:02]MH_I2C_Read... [21:08:02]Read from MH i2c: F0 09 00 [21:08:02]MH_I2C_Read... [21:08:02]Read from MH i2c: F0 09 00 EB 72 00 42 71 15 67 5A BE F6 66 F8 [21:08:02]GetLastDocTimeStamp 1729458460 [21:08:02]current date 1729458498 [21:08:02]FM_GetShiftState [21:08:02]SAM_PROTO_GetShiftState [21:08:02]wFMCommunicate request_size=4 [21:08:02]MH_SAM_APDU [21:08:02]CAPDU: 80 13 01 00 [21:08:02]Write to MH i2c: E2 08 00 EC 72 80 13 01 00 00 00 00 00 DB [21:08:02]Write i2c OK [21:08:02]MH_I2C_Read... [21:08:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:02]Read from MH i2c: E2 [21:08:02]MH_I2C_Read... [21:08:02]Read from MH i2c: E2 0E 00 [21:08:02]MH_I2C_Read... [21:08:02]Read from MH i2c: E2 0E 00 EC 72 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C5 [21:08:02]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:08:02]wFMCommunicate OK [21:08:02]SAM_PROTO_GetShiftState done [21:08:02]FM_GetShiftState done [21:08:02]opened in 1729382427 [21:08:02]opened+sec_in_day 1729468827 [21:08:02]quantity*price = 9000 [21:08:02]sum+1 = 9001 [21:08:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 76 20.10.2024 21:08 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФД осн.: 2649 ФМ осн.: 0000000002342820 ФМ: 0000000002342820 ФД: 2695 ФПД: 231181375983500 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T210818&type=2&operation_type=1&fn_number=0000000002342820&fd_number=2695&fm=231181375983500&tin=02508201610067®Number=0000000000207295&sum=9000 2649 [21:08:03]StoreToDocumentArchive [21:08:03]shift 24 fd 2695 [21:08:03]save to /storage/0024/doc_00002695 [21:08:03]save last doc name /storage/0024/doc_00002695 to /storage/kkm_last_doc_name [21:08:03]save OK [21:08:03]Clear old archive folders... [21:08:03]ProcessDocumentItem done err = 0, tmpTLVsize=327 [21:08:03]tlvbuf is 01509360 [21:08:03]SAM_PROTO_ClearQueue [21:08:03]wFMCommunicate request_size=4 [21:08:03]MH_SAM_APDU [21:08:03]CAPDU: 80 09 00 00 [21:08:03]Write to MH i2c: E2 08 00 FB 72 80 09 00 00 00 00 00 00 DF [21:08:03]Write i2c OK [21:08:03]MH_I2C_Read... [21:08:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:08:03]Read from MH i2c: E2 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 03 00 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 03 00 FB 72 00 90 00 E1 [21:08:03]RAPDU: 90 00 [21:08:03]wFMCommunicate OK [21:08:03]SAM_PROTO_ClearQueue done [21:08:03]KKMCreateOFDPacket [21:08:03]OFDProtocolAddRootSTLVToBuf [21:08:03]FM_MakeSignedData [21:08:03]FM_MakeSignedData [21:08:03]SAM_PROTO_SignData [21:08:03]wFMCommunicate request_size=4 [21:08:03]MH_SAM_APDU [21:08:03]CAPDU: 80 0D 01 02 [21:08:03]Write to MH i2c: E2 08 00 FC 72 80 0D 01 02 00 00 00 00 E7 [21:08:03]Write i2c OK [21:08:03]MH_I2C_Read... [21:08:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:08:03]Read from MH i2c: E2 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 03 00 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 03 00 FC 72 00 90 00 E2 [21:08:03]RAPDU: 90 00 [21:08:03]wFMCommunicate OK [21:08:03]wFMCommunicate request_size=255 [21:08:03]MH_SAM_APDU [21:08:03]CAPDU: 80 0D 02 02 FA 03 00 47 01 1E 04 01 00 02 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 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 42 71 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [21:08:03]Write to MH i2c: E2 02 01 FD 72 80 0D 02 02 FA 00 03 00 47 01 1E 04 01 00 02 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 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 42 71 15 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 9B [21:08:03]Write i2c OK [21:08:03]MH_I2C_Read... [21:08:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:03]Read from MH i2c: E2 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 03 00 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 03 00 FD 72 00 90 00 E3 [21:08:03]RAPDU: 90 00 [21:08:03]wFMCommunicate OK [21:08:03]wFMCommunicate request_size=86 [21:08:03]MH_SAM_APDU [21:08:03]CAPDU: 80 0D 02 02 51 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 27 04 04 00 59 0A 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 87 0A 00 00 35 04 06 00 D2 42 1B CB 4F 8C [21:08:03]Write to MH i2c: E2 59 00 FE 72 80 0D 02 02 51 00 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 27 04 04 00 59 0A 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 87 0A 00 00 35 04 06 00 D2 42 1B CB 4F 8C 00 00 4F [21:08:03]Write i2c OK [21:08:03]MH_I2C_Read... [21:08:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:03]Read from MH i2c: E2 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 03 00 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 03 00 FE 72 00 90 00 E4 [21:08:03]RAPDU: 90 00 [21:08:03]wFMCommunicate OK [21:08:03]wFMCommunicate request_size=4 [21:08:03]MH_SAM_APDU [21:08:03]CAPDU: 80 0D 03 02 [21:08:03]Write to MH i2c: E2 08 00 FF 72 80 0D 03 02 00 00 00 00 EC [21:08:03]Write i2c OK [21:08:03]MH_I2C_Read... [21:08:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:08:03]Read from MH i2c: E2 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 0B 00 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 0B 00 FF 72 00 A0 C8 11 E0 54 E3 75 B6 90 00 A8 [21:08:03]RAPDU: A0 C8 11 E0 54 E3 75 B6 90 00 [21:08:03]wFMCommunicate OK [21:08:03]SAM_PROTO_SignData done [21:08:03]FM_MakeSignedData done [21:08:03]CreateOFDProtocolMessage [21:08:03]wFMCommunicate request_size=4 [21:08:03]MH_SAM_APDU [21:08:03]CAPDU: 80 11 00 00 [21:08:03]Write to MH i2c: E2 08 00 00 73 80 11 00 00 00 00 00 00 ED [21:08:03]Write i2c OK [21:08:03]MH_I2C_Read... [21:08:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:03]Read from MH i2c: E2 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 17 00 [21:08:03]MH_I2C_Read... [21:08:03]Read from MH i2c: E2 17 00 00 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 35 [21:08:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:08:03]wFMCommunicate OK [21:08:03]CreateOFDProtocolMessage done [21:08:03]OFDSenderStorePacket 2695 [21:08:03]StoreOFDPacket docnum=2695 [21:08:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 5B 01 00 00 58 A7 53 01 96 B2 5A 03 01 00 03 00 47 01 1E 04 01 00 02 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 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 42 71 15 67 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 32 30 37 32 39 35 27 04 04 00 59 0A 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 87 0A 00 00 35 04 06 00 D2 42 1B CB 4F 8C A0 C8 11 E0 54 E3 75 B6 [21:08:03]CheckFolder [21:08:03]dirname=/storage/ofd_packets [21:08:03]CheckFolder done [21:08:03]ProducePacketName [21:08:03]name=ofd_packets/00002695 [21:08:03]NVStorageSaveData ofd_packets/00002695 [21:08:04]File name is /storage/ofd_packets/00002695 [21:08:04]Write 377 bytes [21:08:04]NVStorageSaveData done [21:08:04]OFDSenderStorePacket done [21:08:04]KKMCreateOFDPacket done [21:08:04]NVStorageSaveData kkm_last_timestamp [21:08:04]File name is /storage/kkm_last_timestamp [21:08:04]Write 4 bytes [21:08:04]NVStorageSaveData done [21:08:04]ExternCall_PrintAddStr [21:08:04]wPrintStart [21:08:04]Write to MH i2c: 01 00 00 01 73 74 [21:08:04]Write i2c OK [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: 01 [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: 01 07 00 [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: 01 07 00 01 73 00 00 00 00 00 FF 0F 89 [21:08:04]RasterBufferAndPrint [21:08:04]line Счет N : (3)100027 [21:08:04]line ИНН: 02508201610067 [21:08:04]line Контрольно-Кассовый Чек [21:08:04]line ВОЗВРАТ ПРОДАЖИ [21:08:04]line Товар: 4660085515163 [21:08:04]line Шок Батончик Сникерс супер 95/80г [21:08:04]line 1.000 * 90.00 [21:08:04]line = 90.00 [21:08:04]line НДС 12% НСП 1% [21:08:04]line > о реализуемом товаре [21:08:04]line ИТОГО: 90.00 [21:08:04]line НСП 1% : 0.80 [21:08:04]line НДС 12% : 9.56 [21:08:04]line Наличными: 90.00 [21:08:04]line Безнал.: 0.00 [21:08:04]line Место: АЗС № 162 "Партнер Нефть" [21:08:04]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:08:04]line СНО: Общий режим [21:08:04]line Чек 76 20.10.2024 21:08 [21:08:04]line Смена: 24 ФФД: 1.0 [21:08:04]line ЗНМ: 0300000191 [21:08:04]line РНМ: 0000000000207295 [21:08:04]line Версия ККМ: v1.0 [21:08:04]line ФД осн.: 2649 [21:08:04]line ФМ осн.: 0000000002342820 [21:08:04]line ФМ: 0000000002342820 [21:08:04]line ФД: 2695 [21:08:04]line ФПД: 231181375983500 [21:08:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T210818&type=2&operation_type=1&fn_number=0000000002342820&fd_number=2695&fm=231181375983500&tin=02508201610067®Number=0000000000207295&sum=9000 [21:08:04]line 2649 [21:08:04]OFD Sender: Processing packet 2695 [packets to send 1, broken 0] [21:08:04]ProducePacketName [21:08:04]name=ofd_packets/00002695 [21:08:04]OFD Sender: To server: pG, [21:08:04]CommunicateWithHost lk.salyk.kg:30040 [21:08:04]ConnectInit lk.salyk.kg [21:08:04]written 0, free lines is 4095 [21:08:04]Connected sock=10 [21:08:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 5B 01 00 00 58 A7 53 01 96 B2 5A 03 01 00 03 00 47 01 1E 04 01 00 02 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 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 42 71 15 67 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 32 30 37 32 39 35 27 04 04 00 59 0A 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 87 0A 00 00 35 04 06 00 D2 42 1B CB 4F 8C A0 C8 11 E0 54 E3 75 B6 [21:08:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 9E DB 47 00 8F EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 87 0A 00 00 F4 03 04 00 9F 1C 15 67 B6 04 01 00 00 79 DF 3E 9D 7B 4E AE 4A [21:08:04]CommunicateWithHost err = 0 [21:08:04]CheckOFDResponse [21:08:04]1017 (14) - 77093643461234 [21:08:04]1041 (16) - 0000000002342820 [21:08:04]1040 (4) - 2695 [21:08:04]1012 (4) - 20.10.2024 15:07 [21:08:04]1206 (1) - 0 [21:08:04]OFD Sender: Remove packet 2695 [21:08:04]ProducePacketName [21:08:04]name=ofd_packets/00002695 [21:08:04]NVStorageDeleteData [21:08:04]Write to MH i2c: 01 00 00 2C 73 9F [21:08:04]Write i2c OK [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: 01 [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: 01 07 00 [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: 01 07 00 2C 73 00 00 00 00 00 84 0C 36 [21:08:04]RasterBufferAndPrint [21:08:04]line [21:08:04]line [21:08:04]line [21:08:04]line [21:08:04]line [21:08:04]written 0, free lines is 3209 [21:08:04]MH_Cut [21:08:04]Write to MH i2c: D1 01 00 33 73 01 78 [21:08:04]Write i2c OK [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: D1 [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: D1 01 00 [21:08:04]MH_I2C_Read... [21:08:04]Read from MH i2c: D1 01 00 33 73 00 77 [21:08:04]Write to MH i2c: 01 00 00 34 73 A7 [21:08:04]Write i2c OK [21:08:04]MH_I2C_Read... [21:08:05]OFD Sender: No OFD packet to send [21:08:05]*** Cut start [21:08:05]*** Partial cut [21:08:05]*** CUTSNS_PIN = 1 [21:08:05]*** CUTSNS_PIN = 0 [21:08:06]*** Brake cut motor [21:08:06]Read from MH i2c: 01 [21:08:06]MH_I2C_Read... [21:08:06]*** Stop cut motor [21:08:06]*** Cut end [21:08:06]Read from MH i2c: 01 07 00 [21:08:06]MH_I2C_Read... [21:08:06]Read from MH i2c: 01 07 00 34 73 00 00 00 00 00 FF 0F BC [21:08:06]process_action close_receipt done [21:08:06]requested_data is exist [21:08:06]produce_requested_data [21:08:06]requested_item fm.sn is exist - process it [21:08:06]wFMCommunicate request_size=4 [21:08:06]MH_SAM_APDU [21:08:06]CAPDU: 80 11 00 00 [21:08:06]Write to MH i2c: E2 08 00 35 73 80 11 00 00 00 00 00 00 22 [21:08:06]Write i2c OK [21:08:06]MH_I2C_Read... [21:08:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:06]Read from MH i2c: E2 [21:08:06]MH_I2C_Read... [21:08:06]Read from MH i2c: E2 17 00 [21:08:06]MH_I2C_Read... [21:08:06]Read from MH i2c: E2 17 00 35 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6A [21:08:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:08:06]wFMCommunicate OK [21:08:06]requested_item fd.num is exist - process it [21:08:06]SAM_PROTO_GetFieldsCounters [21:08:06]wFMCommunicate request_size=4 [21:08:06]MH_SAM_APDU [21:08:06]CAPDU: 80 13 00 00 [21:08:06]Write to MH i2c: E2 08 00 36 73 80 13 00 00 00 00 00 00 25 [21:08:06]Write i2c OK [21:08:06]MH_I2C_Read... [21:08:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:08:06]Read from MH i2c: E2 [21:08:06]MH_I2C_Read... [21:08:06]Read from MH i2c: E2 62 00 [21:08:06]MH_I2C_Read... [21:08:06]Read from MH i2c: E2 62 00 36 73 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 87 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 C8 [21:08:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 87 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:08:06]wFMCommunicate OK [21:08:06]SAM_PROTO_GetFieldsCounters done [21:08:06]requested_item shift.num is exist - process it [21:08:06]requested_item shift.opened is exist - process it [21:08:06]req_shift_opened [21:08:06]FM_GetShiftState [21:08:06]SAM_PROTO_GetShiftState [21:08:06]wFMCommunicate request_size=4 [21:08:06]MH_SAM_APDU [21:08:06]CAPDU: 80 13 01 00 [21:08:06]Write to MH i2c: E2 08 00 37 73 80 13 01 00 00 00 00 00 27 [21:08:06]Write i2c OK [21:08:06]MH_I2C_Read... [21:08:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:06]Read from MH i2c: E2 [21:08:06]MH_I2C_Read... [21:08:06]Read from MH i2c: E2 0E 00 [21:08:06]MH_I2C_Read... [21:08:06]Read from MH i2c: E2 0E 00 37 73 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 11 [21:08:06]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:08:06]wFMCommunicate OK [21:08:06]SAM_PROTO_GetShiftState done [21:08:06]FM_GetShiftState done [21:08:06]req_shift_opened done [21:08:06]requested_item shift.open_date is exist - process it [21:08:06]req_shift_open_date [21:08:06]req_shift_open_date done [21:08:06]produce_requested_data done [21:08:06]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2695,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:08:06]process_action_free close_receipt [21:08:06]json_value_free [21:08:06]json_value_free done [21:08:06]process_json_proto returns [21:08:06]Send response to host [21:08:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2695,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:08:06]free response buf [21:08:06]execute_script done [21:08:06]execute_script returns [21:08:06]free content buf [21:08:06]Sock 9.Close socket [21:08:06]Sock 9.Thread stoped [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:31]accept exits with 7 [21:08:31]New connection [21:08:31]New thread 3066850660 created [21:08:31]Thread 3066707300 joined [21:08:31]Waiting for new connection... [21:08:31] Sock 7.Parse request [21:08:31]Sock 7.Check first char [21:08:31]Sock 7.First char is OK [21:08:31]request: POST /json_proto HTTP/1.0 [21:08:31]Method: POST [21:08:31]URL: /json_proto [21:08:31]Method is POST - this is cgi request [21:08:31]url: /json_proto [21:08:31]query_string will be loaded in cgi processing [21:08:31]execute_cgi json_proto POST (null) [21:08:31]execute_cgi path=json_proto method=POST [21:08:31]POST find Content-Length [21:08:31]Host: 172.17.52.132:8080 [21:08:31]Content-Length: 620 [21:08:31]Content-Type: application/json [21:08:31] [21:08:31]POST finish read [21:08:31]Found Content-Length = 620 [21:08:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100073", "tax_sys" : 0, "items" : [ { "code": "48742795", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B L\u0026M Loft Blue", "price" : 127.00, "quantity" : 1.000, "sum" : 127.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 127.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:31]execute_script... [21:08:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100073", "tax_sys" : 0, "items" : [ { "code": "48742795", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B L\u0026M Loft Blue", "price" : 127.00, "quantity" : 1.000, "sum" : 127.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 127.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:31]POST & json_proto [21:08:31]process_json_proto [21:08:31]json parsed OK: [21:08:31]protocol is kg_v1.0 [21:08:31]action value=close_receipt [21:08:31]process_action close_receipt [21:08:31]cmd_close_receipt [21:08:31]MH_GetDate [21:08:31]Write to MH i2c: F0 00 00 38 73 9A [21:08:31]Write i2c OK [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: F0 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: F0 09 00 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: F0 09 00 38 73 00 60 71 15 67 5A BE F6 66 64 [21:08:31]GetLastDocTimeStamp 1729458498 [21:08:31]current date 1729458528 [21:08:31]FM_GetShiftState [21:08:31]SAM_PROTO_GetShiftState [21:08:31]wFMCommunicate request_size=4 [21:08:31]MH_SAM_APDU [21:08:31]CAPDU: 80 13 01 00 [21:08:31]Write to MH i2c: E2 08 00 39 73 80 13 01 00 00 00 00 00 29 [21:08:31]Write i2c OK [21:08:31]MH_I2C_Read... [21:08:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:32]Read from MH i2c: E2 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 0E 00 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 0E 00 39 73 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 13 [21:08:32]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:08:32]wFMCommunicate OK [21:08:32]SAM_PROTO_GetShiftState done [21:08:32]FM_GetShiftState done [21:08:32]opened in 1729382427 [21:08:32]opened+sec_in_day 1729468827 [21:08:32]quantity*price = 12700 [21:08:32]sum+1 = 12701 [21:08:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 127.00 НСП 1% : 1.12 НДС 12% : 13.49 Наличными: 127.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 77 20.10.2024 21:08 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2696 ФПД: 165657286086001 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T210848&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2696&fm=165657286086001&tin=02508201610067®Number=0000000000207295&sum=12700 0 [21:08:33]StoreToDocumentArchive [21:08:33]shift 24 fd 2696 [21:08:33]save to /storage/0024/doc_00002696 [21:08:33]save last doc name /storage/0024/doc_00002696 to /storage/kkm_last_doc_name [21:08:33]save OK [21:08:33]Clear old archive folders... [21:08:33]ProcessDocumentItem done err = 0, tmpTLVsize=267 [21:08:33]tlvbuf is 01509470 [21:08:33]SAM_PROTO_ClearQueue [21:08:33]wFMCommunicate request_size=4 [21:08:33]MH_SAM_APDU [21:08:33]CAPDU: 80 09 00 00 [21:08:33]Write to MH i2c: E2 08 00 46 73 80 09 00 00 00 00 00 00 2B [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:08:33]Read from MH i2c: E2 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 03 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 03 00 46 73 00 90 00 2D [21:08:33]RAPDU: 90 00 [21:08:33]wFMCommunicate OK [21:08:33]SAM_PROTO_ClearQueue done [21:08:33]KKMCreateOFDPacket [21:08:33]OFDProtocolAddRootSTLVToBuf [21:08:33]FM_MakeSignedData [21:08:33]FM_MakeSignedData [21:08:33]SAM_PROTO_SignData [21:08:33]wFMCommunicate request_size=4 [21:08:33]MH_SAM_APDU [21:08:33]CAPDU: 80 0D 01 02 [21:08:33]Write to MH i2c: E2 08 00 47 73 80 0D 01 02 00 00 00 00 33 [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:08:33]Read from MH i2c: E2 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 03 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 03 00 47 73 00 90 00 2E [21:08:33]RAPDU: 90 00 [21:08:33]wFMCommunicate OK [21:08:33]wFMCommunicate request_size=255 [21:08:33]MH_SAM_APDU [21:08:33]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 38 37 34 32 37 39 35 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 6F 66 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 31 00 00 00 00 13 04 06 00 9C 31 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 31 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 05 00 00 00 00 07 04 06 00 9C 31 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 60 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 [21:08:33]Write to MH i2c: E2 02 01 48 73 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 38 37 34 32 37 39 35 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 6F 66 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 31 00 00 00 00 13 04 06 00 9C 31 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 31 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 05 00 00 00 00 07 04 06 00 9C 31 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 60 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 00 00 FA [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:33]Read from MH i2c: E2 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 03 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 03 00 48 73 00 90 00 2F [21:08:33]RAPDU: 90 00 [21:08:33]wFMCommunicate OK [21:08:33]wFMCommunicate request_size=26 [21:08:33]MH_SAM_APDU [21:08:33]CAPDU: 80 0D 02 02 15 38 32 30 10 04 04 00 88 0A 00 00 35 04 06 00 96 AA 17 B1 0D 71 [21:08:33]Write to MH i2c: E2 1D 00 49 73 80 0D 02 02 15 00 38 32 30 10 04 04 00 88 0A 00 00 35 04 06 00 96 AA 17 B1 0D 71 00 00 69 [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:33]Read from MH i2c: E2 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 03 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 03 00 49 73 00 90 00 30 [21:08:33]RAPDU: 90 00 [21:08:33]wFMCommunicate OK [21:08:33]wFMCommunicate request_size=4 [21:08:33]MH_SAM_APDU [21:08:33]CAPDU: 80 0D 03 02 [21:08:33]Write to MH i2c: E2 08 00 4A 73 80 0D 03 02 00 00 00 00 38 [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:08:33]Read from MH i2c: E2 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 0B 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 0B 00 4A 73 00 61 5E 63 80 93 8B 48 56 90 00 97 [21:08:33]RAPDU: 61 5E 63 80 93 8B 48 56 90 00 [21:08:33]wFMCommunicate OK [21:08:33]SAM_PROTO_SignData done [21:08:33]FM_MakeSignedData done [21:08:33]CreateOFDProtocolMessage [21:08:33]wFMCommunicate request_size=4 [21:08:33]MH_SAM_APDU [21:08:33]CAPDU: 80 11 00 00 [21:08:33]Write to MH i2c: E2 08 00 4B 73 80 11 00 00 00 00 00 00 38 [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:33]Read from MH i2c: E2 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 17 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: E2 17 00 4B 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 80 [21:08:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:08:33]wFMCommunicate OK [21:08:33]CreateOFDProtocolMessage done [21:08:33]OFDSenderStorePacket 2696 [21:08:33]StoreOFDPacket docnum=2696 [21:08:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1F 01 00 00 CA 6F 17 01 BE AC 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 38 37 34 32 37 39 35 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 6F 66 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 31 00 00 00 00 13 04 06 00 9C 31 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 31 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 05 00 00 00 00 07 04 06 00 9C 31 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 60 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 88 0A 00 00 35 04 06 00 96 AA 17 B1 0D 71 61 5E 63 80 93 8B 48 56 [21:08:33]CheckFolder [21:08:33]dirname=/storage/ofd_packets [21:08:33]CheckFolder done [21:08:33]ProducePacketName [21:08:33]name=ofd_packets/00002696 [21:08:33]NVStorageSaveData ofd_packets/00002696 [21:08:33]File name is /storage/ofd_packets/00002696 [21:08:33]Write 317 bytes [21:08:33]NVStorageSaveData done [21:08:33]OFDSenderStorePacket done [21:08:33]KKMCreateOFDPacket done [21:08:33]NVStorageSaveData kkm_last_timestamp [21:08:33]File name is /storage/kkm_last_timestamp [21:08:33]Write 4 bytes [21:08:33]NVStorageSaveData done [21:08:33]ExternCall_PrintAddStr [21:08:33]wPrintStart [21:08:33]Write to MH i2c: 01 00 00 4C 73 BF [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: 01 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: 01 07 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: 01 07 00 4C 73 00 00 00 00 00 FF 0F D4 [21:08:33]RasterBufferAndPrint [21:08:33]line Счет N : (3)100073 [21:08:33]line ИНН: 02508201610067 [21:08:33]line Контрольно-Кассовый Чек [21:08:33]line ПРОДАЖА [21:08:33]line Товар: 48742795 [21:08:33]line Сигареты L&M Loft Blue [21:08:33]line 1.000 * 127.00 [21:08:33]line = 127.00 [21:08:33]line НДС 12% НСП 1% [21:08:33]line > о реализуемом товаре [21:08:33]line ИТОГО: 127.00 [21:08:33]line НСП 1% : 1.12 [21:08:33]line НДС 12% : 13.49 [21:08:33]line Наличными: 127.00 [21:08:33]line Безнал.: 0.00 [21:08:33]line Место: АЗС № 162 "Партнер Нефть" [21:08:33]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:08:33]line СНО: Общий режим [21:08:33]line Чек 77 20.10.2024 21:08 [21:08:33]line Смена: 24 ФФД: 1.0 [21:08:33]line ЗНМ: 0300000191 [21:08:33]line РНМ: 0000000000207295 [21:08:33]line Версия ККМ: v1.0 [21:08:33]line ФМ: 0000000002342820 [21:08:33]line ФД: 2696 [21:08:33]line ФПД: 165657286086001 [21:08:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T210848&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2696&fm=165657286086001&tin=02508201610067®Number=0000000000207295&sum=12700 [21:08:34]line 0 [21:08:34]OFD Sender: Processing packet 2696 [packets to send 1, broken 0] [21:08:34]ProducePacketName [21:08:34]name=ofd_packets/00002696 [21:08:34]OFD Sender: To server: pG, [21:08:34]CommunicateWithHost lk.salyk.kg:30040 [21:08:34]ConnectInit lk.salyk.kg [21:08:34]written 0, free lines is 4095 [21:08:34]Connected sock=10 [21:08:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1F 01 00 00 CA 6F 17 01 BE AC 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 38 37 34 32 37 39 35 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 6F 66 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 31 00 00 00 00 13 04 06 00 9C 31 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 31 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 05 00 00 00 00 07 04 06 00 9C 31 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 60 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 88 0A 00 00 35 04 06 00 96 AA 17 B1 0D 71 61 5E 63 80 93 8B 48 56 [21:08:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 07 BB 47 00 F4 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 33 34 32 38 32 30 10 04 04 00 88 0A 00 00 F4 03 04 00 BD 1C 15 67 B6 04 01 00 00 1E 1F FA 7F 35 D7 B1 FB [21:08:34]CommunicateWithHost err = 0 [21:08:34]CheckOFDResponse [21:08:34]1017 (14) - 77093643461234 [21:08:34]1041 (16) - 0000000002342820 [21:08:34]1040 (4) - 2696 [21:08:34]1012 (4) - 20.10.2024 15:07 [21:08:34]1206 (1) - 0 [21:08:34]OFD Sender: Remove packet 2696 [21:08:34]ProducePacketName [21:08:34]name=ofd_packets/00002696 [21:08:34]NVStorageDeleteData [21:08:34]Write to MH i2c: 01 00 00 74 73 E7 [21:08:34]Write i2c OK [21:08:34]MH_I2C_Read... [21:08:34]Read from MH i2c: 01 [21:08:34]MH_I2C_Read... [21:08:34]Read from MH i2c: 01 07 00 [21:08:34]MH_I2C_Read... [21:08:34]Read from MH i2c: 01 07 00 74 73 00 00 00 00 00 C4 0C BE [21:08:34]RasterBufferAndPrint [21:08:34]line [21:08:34]line [21:08:34]line [21:08:34]line [21:08:34]line [21:08:34]written 0, free lines is 3273 [21:08:34]MH_Cut [21:08:34]Write to MH i2c: D1 01 00 7B 73 01 C0 [21:08:34]Write i2c OK [21:08:34]MH_I2C_Read... [21:08:34]Read from MH i2c: D1 [21:08:34]MH_I2C_Read... [21:08:34]Read from MH i2c: D1 01 00 [21:08:34]MH_I2C_Read... [21:08:34]Read from MH i2c: D1 01 00 7B 73 00 BF [21:08:34]Write to MH i2c: 01 00 00 7C 73 EF [21:08:34]Write i2c OK [21:08:34]MH_I2C_Read... [21:08:34]OFD Sender: No OFD packet to send [21:08:35]*** Cut start [21:08:35]*** Partial cut [21:08:35]*** CUTSNS_PIN = 1 [21:08:35]*** CUTSNS_PIN = 0 [21:08:35]*** Brake cut motor [21:08:35]Read from MH i2c: 01 [21:08:35]MH_I2C_Read... [21:08:35]*** Stop cut motor [21:08:35]*** Cut end [21:08:35]Read from MH i2c: 01 07 00 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: 01 07 00 7C 73 00 00 00 00 00 FF 0F 04 [21:08:35]process_action close_receipt done [21:08:35]requested_data is exist [21:08:35]produce_requested_data [21:08:35]requested_item fm.sn is exist - process it [21:08:35]wFMCommunicate request_size=4 [21:08:35]MH_SAM_APDU [21:08:35]CAPDU: 80 11 00 00 [21:08:35]Write to MH i2c: E2 08 00 7D 73 80 11 00 00 00 00 00 00 6A [21:08:35]Write i2c OK [21:08:35]MH_I2C_Read... [21:08:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:36]Read from MH i2c: E2 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 17 00 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 17 00 7D 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B2 [21:08:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:08:36]wFMCommunicate OK [21:08:36]requested_item fd.num is exist - process it [21:08:36]SAM_PROTO_GetFieldsCounters [21:08:36]wFMCommunicate request_size=4 [21:08:36]MH_SAM_APDU [21:08:36]CAPDU: 80 13 00 00 [21:08:36]Write to MH i2c: E2 08 00 7E 73 80 13 00 00 00 00 00 00 6D [21:08:36]Write i2c OK [21:08:36]MH_I2C_Read... [21:08:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:08:36]Read from MH i2c: E2 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 62 00 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 62 00 7E 73 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 88 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 14 [21:08:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 88 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:08:36]wFMCommunicate OK [21:08:36]SAM_PROTO_GetFieldsCounters done [21:08:36]requested_item shift.num is exist - process it [21:08:36]requested_item shift.opened is exist - process it [21:08:36]req_shift_opened [21:08:36]FM_GetShiftState [21:08:36]SAM_PROTO_GetShiftState [21:08:36]wFMCommunicate request_size=4 [21:08:36]MH_SAM_APDU [21:08:36]CAPDU: 80 13 01 00 [21:08:36]Write to MH i2c: E2 08 00 7F 73 80 13 01 00 00 00 00 00 6F [21:08:36]Write i2c OK [21:08:36]MH_I2C_Read... [21:08:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:36]Read from MH i2c: E2 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 0E 00 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 0E 00 7F 73 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 59 [21:08:36]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:08:36]wFMCommunicate OK [21:08:36]SAM_PROTO_GetShiftState done [21:08:36]FM_GetShiftState done [21:08:36]req_shift_opened done [21:08:36]requested_item shift.open_date is exist - process it [21:08:36]req_shift_open_date [21:08:36]req_shift_open_date done [21:08:36]produce_requested_data done [21:08:36]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2696,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:08:36]process_action_free close_receipt [21:08:36]json_value_free [21:08:36]json_value_free done [21:08:36]process_json_proto returns [21:08:36]Send response to host [21:08:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2696,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:08:36]free response buf [21:08:36]execute_script done [21:08:36]execute_script returns [21:08:36]free content buf [21:08:36]Sock 7.Close socket [21:08:36]Sock 7.Thread stoped [21:08:39]OFD Sender: No OFD packet to send [21:08:44]OFD Sender: No OFD packet to send [21:08:49]OFD Sender: No OFD packet to send [21:08:54]OFD Sender: No OFD packet to send [21:08:59]OFD Sender: No OFD packet to send [21:09:04]OFD Sender: No OFD packet to send [21:09:09]OFD Sender: No OFD packet to send [21:09:14]OFD Sender: No OFD packet to send [21:09:19]OFD Sender: No OFD packet to send [21:09:24]OFD Sender: No OFD packet to send [21:09:29]OFD Sender: No OFD packet to send [21:09:34]OFD Sender: No OFD packet to send [21:09:37]accept exits with 9 [21:09:37]New connection [21:09:37]New thread 3066707300 created [21:09:37]Thread 3066850660 joined [21:09:37]Waiting for new connection... [21:09:37] Sock 9.Parse request [21:09:37]Sock 9.Check first char [21:09:37]Sock 9.First char is OK [21:09:37]request: POST /json_proto HTTP/1.0 [21:09:37]Method: POST [21:09:37]URL: /json_proto [21:09:37]Method is POST - this is cgi request [21:09:37]url: /json_proto [21:09:37]query_string will be loaded in cgi processing [21:09:37]execute_cgi json_proto POST (null) [21:09:37]execute_cgi path=json_proto method=POST [21:09:37]POST find Content-Length [21:09:37]Host: 172.17.52.132:8080 [21:09:37]Content-Length: 805 [21:09:37]Content-Type: application/json [21:09:37] [21:09:37]POST finish read [21:09:37]Found Content-Length = 805 [21:09:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100074", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:09:37]execute_script... [21:09: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)100074", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:09:37]POST & json_proto [21:09:37]process_json_proto [21:09:37]json parsed OK: [21:09:37]protocol is kg_v1.0 [21:09:37]action value=close_receipt [21:09:37]process_action close_receipt [21:09:37]cmd_close_receipt [21:09:37]MH_GetDate [21:09:37]Write to MH i2c: F0 00 00 80 73 E2 [21:09:37]Write i2c OK [21:09:37]MH_I2C_Read... [21:09:37]Read from MH i2c: F0 [21:09:37]MH_I2C_Read... [21:09:37]Read from MH i2c: F0 09 00 [21:09:37]MH_I2C_Read... [21:09:37]Read from MH i2c: F0 09 00 80 73 00 A1 71 15 67 5A BE F6 66 ED [21:09:37]GetLastDocTimeStamp 1729458528 [21:09:37]current date 1729458593 [21:09:37]FM_GetShiftState [21:09:37]SAM_PROTO_GetShiftState [21:09:37]wFMCommunicate request_size=4 [21:09:37]MH_SAM_APDU [21:09:37]CAPDU: 80 13 01 00 [21:09:37]Write to MH i2c: E2 08 00 81 73 80 13 01 00 00 00 00 00 71 [21:09:37]Write i2c OK [21:09:37]MH_I2C_Read... [21:09:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:09:37]Read from MH i2c: E2 [21:09:37]MH_I2C_Read... [21:09:37]Read from MH i2c: E2 0E 00 [21:09:37]MH_I2C_Read... [21:09:37]Read from MH i2c: E2 0E 00 81 73 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 5B [21:09:37]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:09:37]wFMCommunicate OK [21:09:37]SAM_PROTO_GetShiftState done [21:09:37]FM_GetShiftState done [21:09:37]opened in 1729382427 [21:09:37]opened+sec_in_day 1729468827 [21:09:37]quantity*price = 26000 [21:09:37]sum+1 = 26001 [21:09:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 0.00 Безнал.: 260.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 78 20.10.2024 21:09 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2697 ФПД: 66500757411819 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T210953&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2697&fm=66500757411819&tin=02508201610067®Number=0000000000207295&sum=26000 0 [21:09:38]StoreToDocumentArchive [21:09:38]shift 24 fd 2697 [21:09:38]save to /storage/0024/doc_00002697 [21:09:38]save last doc name /storage/0024/doc_00002697 to /storage/kkm_last_doc_name [21:09:38]save OK [21:09:38]Clear old archive folders... [21:09:38]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:09:38]tlvbuf is 01437E60 [21:09:38]SAM_PROTO_ClearQueue [21:09:38]wFMCommunicate request_size=4 [21:09:38]MH_SAM_APDU [21:09:38]CAPDU: 80 09 00 00 [21:09:38]Write to MH i2c: E2 08 00 8E 73 80 09 00 00 00 00 00 00 73 [21:09:38]Write i2c OK [21:09:38]MH_I2C_Read... [21:09:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:09:38]Read from MH i2c: E2 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 03 00 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 03 00 8E 73 00 90 00 75 [21:09:38]RAPDU: 90 00 [21:09:38]wFMCommunicate OK [21:09:38]SAM_PROTO_ClearQueue done [21:09:38]KKMCreateOFDPacket [21:09:38]OFDProtocolAddRootSTLVToBuf [21:09:38]FM_MakeSignedData [21:09:38]FM_MakeSignedData [21:09:38]SAM_PROTO_SignData [21:09:38]wFMCommunicate request_size=4 [21:09:38]MH_SAM_APDU [21:09:38]CAPDU: 80 0D 01 02 [21:09:38]Write to MH i2c: E2 08 00 8F 73 80 0D 01 02 00 00 00 00 7B [21:09:38]Write i2c OK [21:09:38]MH_I2C_Read... [21:09:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:09:38]Read from MH i2c: E2 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 03 00 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 03 00 8F 73 00 90 00 76 [21:09:38]RAPDU: 90 00 [21:09:38]wFMCommunicate OK [21:09:38]wFMCommunicate request_size=255 [21:09:38]MH_SAM_APDU [21:09:38]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 A1 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 [21:09:38]Write to MH i2c: E2 02 01 90 73 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 A1 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 00 00 44 [21:09:38]Write i2c OK [21:09:38]MH_I2C_Read... [21:09:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:38]Read from MH i2c: E2 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 03 00 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 03 00 90 73 00 90 00 77 [21:09:38]RAPDU: 90 00 [21:09:38]wFMCommunicate OK [21:09:38]wFMCommunicate request_size=35 [21:09:38]MH_SAM_APDU [21:09:38]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 89 0A 00 00 35 04 06 00 3C 7B 6A 05 D7 EB [21:09:38]Write to MH i2c: E2 26 00 91 73 80 0D 02 02 1E 00 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 89 0A 00 00 35 04 06 00 3C 7B 6A 05 D7 EB 00 00 E1 [21:09:38]Write i2c OK [21:09:38]MH_I2C_Read... [21:09:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:38]Read from MH i2c: E2 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 03 00 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 03 00 91 73 00 90 00 78 [21:09:38]RAPDU: 90 00 [21:09:38]wFMCommunicate OK [21:09:38]wFMCommunicate request_size=4 [21:09:38]MH_SAM_APDU [21:09:38]CAPDU: 80 0D 03 02 [21:09:38]Write to MH i2c: E2 08 00 92 73 80 0D 03 02 00 00 00 00 80 [21:09:38]Write i2c OK [21:09:38]MH_I2C_Read... [21:09:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:09:38]Read from MH i2c: E2 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 0B 00 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 0B 00 92 73 00 F5 3E 4C F9 23 AC 3C 01 90 00 05 [21:09:38]RAPDU: F5 3E 4C F9 23 AC 3C 01 90 00 [21:09:38]wFMCommunicate OK [21:09:38]SAM_PROTO_SignData done [21:09:38]FM_MakeSignedData done [21:09:38]CreateOFDProtocolMessage [21:09:38]wFMCommunicate request_size=4 [21:09:38]MH_SAM_APDU [21:09:38]CAPDU: 80 11 00 00 [21:09:38]Write to MH i2c: E2 08 00 93 73 80 11 00 00 00 00 00 00 80 [21:09:38]Write i2c OK [21:09:38]MH_I2C_Read... [21:09:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:09:38]Read from MH i2c: E2 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 17 00 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: E2 17 00 93 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C8 [21:09:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:09:38]wFMCommunicate OK [21:09:38]CreateOFDProtocolMessage done [21:09:38]OFDSenderStorePacket 2697 [21:09:38]StoreOFDPacket docnum=2697 [21:09:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 C0 29 20 01 31 8C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 A1 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 89 0A 00 00 35 04 06 00 3C 7B 6A 05 D7 EB F5 3E 4C F9 23 AC 3C 01 [21:09:38]CheckFolder [21:09:38]dirname=/storage/ofd_packets [21:09:38]CheckFolder done [21:09:38]ProducePacketName [21:09:38]name=ofd_packets/00002697 [21:09:38]NVStorageSaveData ofd_packets/00002697 [21:09:38]File name is /storage/ofd_packets/00002697 [21:09:38]Write 326 bytes [21:09:38]NVStorageSaveData done [21:09:38]OFDSenderStorePacket done [21:09:38]KKMCreateOFDPacket done [21:09:38]NVStorageSaveData kkm_last_timestamp [21:09:38]File name is /storage/kkm_last_timestamp [21:09:38]Write 4 bytes [21:09:38]NVStorageSaveData done [21:09:38]ExternCall_PrintAddStr [21:09:38]wPrintStart [21:09:38]Write to MH i2c: 01 00 00 94 73 07 [21:09:38]Write i2c OK [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: 01 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: 01 07 00 [21:09:38]MH_I2C_Read... [21:09:38]Read from MH i2c: 01 07 00 94 73 00 00 00 00 00 FF 0F 1C [21:09:38]RasterBufferAndPrint [21:09:38]line Счет N : (3)100074 [21:09:38]line ИНН: 02508201610067 [21:09:38]line Контрольно-Кассовый Чек [21:09:38]line ПРОДАЖА [21:09:38]line Товар: 2000036230011 [21:09:38]line Кофе Латте XL(GABB TRADE) [21:09:38]line 2.000 * 130.00 [21:09:38]line = 260.00 [21:09:38]line НДС 12% НСП 1% [21:09:38]line > о реализуемом товаре [21:09:38]line ИТОГО: 260.00 [21:09:38]line НСП 1% : 2.30 [21:09:38]line НДС 12% : 27.61 [21:09:38]line Наличными: 0.00 [21:09:38]line Безнал.: 260.00 [21:09:38]line Место: АЗС № 162 "Партнер Нефть" [21:09:38]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:09:38]line СНО: Общий режим [21:09:38]line Чек 78 20.10.2024 21:09 [21:09:38]line Смена: 24 ФФД: 1.0 [21:09:38]line ЗНМ: 0300000191 [21:09:38]line РНМ: 0000000000207295 [21:09:38]line Версия ККМ: v1.0 [21:09:38]line Платежная система: Бакай Банк [21:09:38]line ФМ: 0000000002342820 [21:09:38]line ФД: 2697 [21:09:38]line ФПД: 66500757411819 [21:09:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T210953&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2697&fm=66500757411819&tin=02508201610067®Number=0000000000207295&sum=26000 [21:09:39]line 0 [21:09:39]OFD Sender: Processing packet 2697 [packets to send 1, broken 0] [21:09:39]ProducePacketName [21:09:39]name=ofd_packets/00002697 [21:09:39]OFD Sender: To server: pG, [21:09:39]CommunicateWithHost lk.salyk.kg:30040 [21:09:39]ConnectInit lk.salyk.kg [21:09:39]written 0, free lines is 4095 [21:09:39]Connected sock=10 [21:09:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 C0 29 20 01 31 8C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 A1 71 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 89 0A 00 00 35 04 06 00 3C 7B 6A 05 D7 EB F5 3E 4C F9 23 AC 3C 01 [21:09:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 A1 8B 47 00 73 82 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 33 34 32 38 32 30 10 04 04 00 89 0A 00 00 F4 03 04 00 FE 1C 15 67 B6 04 01 00 00 D2 5D 9E B0 CF 32 A5 62 [21:09:39]CommunicateWithHost err = 0 [21:09:39]CheckOFDResponse [21:09:39]1017 (14) - 77093643461234 [21:09:39]1041 (16) - 0000000002342820 [21:09:39]1040 (4) - 2697 [21:09:39]1012 (4) - 20.10.2024 15:08 [21:09:39]1206 (1) - 0 [21:09:39]OFD Sender: Remove packet 2697 [21:09:39]ProducePacketName [21:09:39]name=ofd_packets/00002697 [21:09:39]NVStorageDeleteData [21:09:39]Write to MH i2c: 01 00 00 BE 73 31 [21:09:39]Write i2c OK [21:09:39]MH_I2C_Read... [21:09:39]Read from MH i2c: 01 [21:09:39]MH_I2C_Read... [21:09:39]Read from MH i2c: 01 07 00 [21:09:39]MH_I2C_Read... [21:09:39]Read from MH i2c: 01 07 00 BE 73 00 00 00 00 00 A9 0C ED [21:09:39]RasterBufferAndPrint [21:09:39]line [21:09:39]line [21:09:39]line [21:09:39]line [21:09:39]line [21:09:39]written 0, free lines is 3246 [21:09:39]MH_Cut [21:09:39]Write to MH i2c: D1 01 00 C5 73 01 0A [21:09:39]Write i2c OK [21:09:39]MH_I2C_Read... [21:09:39]Read from MH i2c: D1 [21:09:39]MH_I2C_Read... [21:09:39]Read from MH i2c: D1 01 00 [21:09:39]MH_I2C_Read... [21:09:39]Read from MH i2c: D1 01 00 C5 73 00 09 [21:09:39]Write to MH i2c: 01 00 00 C6 73 39 [21:09:39]Write i2c OK [21:09:39]MH_I2C_Read... [21:09:39]OFD Sender: No OFD packet to send [21:09:40]*** Cut start [21:09:40]*** Partial cut [21:09:40]*** CUTSNS_PIN = 1 [21:09:40]*** CUTSNS_PIN = 0 [21:09:40]*** Brake cut motor [21:09:41]Read from MH i2c: 01 [21:09:41]MH_I2C_Read... [21:09:41]*** Stop cut motor [21:09:41]*** Cut end [21:09:41]Read from MH i2c: 01 07 00 [21:09:41]MH_I2C_Read... [21:09:41]Read from MH i2c: 01 07 00 C6 73 00 00 00 00 00 FF 0F 4E [21:09:41]process_action close_receipt done [21:09:41]requested_data is exist [21:09:41]produce_requested_data [21:09:41]requested_item fm.sn is exist - process it [21:09:41]wFMCommunicate request_size=4 [21:09:41]MH_SAM_APDU [21:09:41]CAPDU: 80 11 00 00 [21:09:41]Write to MH i2c: E2 08 00 C7 73 80 11 00 00 00 00 00 00 B4 [21:09:41]Write i2c OK [21:09:41]MH_I2C_Read... [21:09:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:09:41]Read from MH i2c: E2 [21:09:41]MH_I2C_Read... [21:09:41]Read from MH i2c: E2 17 00 [21:09:41]MH_I2C_Read... [21:09:41]Read from MH i2c: E2 17 00 C7 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FC [21:09:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:09:41]wFMCommunicate OK [21:09:41]requested_item fd.num is exist - process it [21:09:41]SAM_PROTO_GetFieldsCounters [21:09:41]wFMCommunicate request_size=4 [21:09:41]MH_SAM_APDU [21:09:41]CAPDU: 80 13 00 00 [21:09:41]Write to MH i2c: E2 08 00 C8 73 80 13 00 00 00 00 00 00 B7 [21:09:41]Write i2c OK [21:09:41]MH_I2C_Read... [21:09:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:09:41]Read from MH i2c: E2 [21:09:41]MH_I2C_Read... [21:09:41]Read from MH i2c: E2 62 00 [21:09:41]MH_I2C_Read... [21:09:41]Read from MH i2c: E2 62 00 C8 73 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 89 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 62 [21:09:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 89 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:09:41]wFMCommunicate OK [21:09:41]SAM_PROTO_GetFieldsCounters done [21:09:41]requested_item shift.num is exist - process it [21:09:41]requested_item shift.opened is exist - process it [21:09:41]req_shift_opened [21:09:41]FM_GetShiftState [21:09:41]SAM_PROTO_GetShiftState [21:09:41]wFMCommunicate request_size=4 [21:09:41]MH_SAM_APDU [21:09:41]CAPDU: 80 13 01 00 [21:09:41]Write to MH i2c: E2 08 00 C9 73 80 13 01 00 00 00 00 00 B9 [21:09:41]Write i2c OK [21:09:41]MH_I2C_Read... [21:09:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:09:41]Read from MH i2c: E2 [21:09:41]MH_I2C_Read... [21:09:41]Read from MH i2c: E2 0E 00 [21:09:41]MH_I2C_Read... [21:09:41]Read from MH i2c: E2 0E 00 C9 73 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A3 [21:09:41]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:09:41]wFMCommunicate OK [21:09:41]SAM_PROTO_GetShiftState done [21:09:41]FM_GetShiftState done [21:09:41]req_shift_opened done [21:09:41]requested_item shift.open_date is exist - process it [21:09:41]req_shift_open_date [21:09:41]req_shift_open_date done [21:09:41]produce_requested_data done [21:09:41]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2697,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:09:41]process_action_free close_receipt [21:09:41]json_value_free [21:09:41]json_value_free done [21:09:41]process_json_proto returns [21:09:41]Send response to host [21:09:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2697,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:09:41]free response buf [21:09:41]execute_script done [21:09:41]execute_script returns [21:09:41]free content buf [21:09:41]Sock 9.Close socket [21:09:41]Sock 9.Thread stoped [21:09:44]OFD Sender: No OFD packet to send [21:09:49]OFD Sender: No OFD packet to send [21:09:54]OFD Sender: No OFD packet to send [21:09:59]OFD Sender: No OFD packet to send [21:10:04]OFD Sender: No OFD packet to send [21:10:09]OFD Sender: No OFD packet to send [21:10:14]OFD Sender: No OFD packet to send [21:10:19]OFD Sender: No OFD packet to send [21:10:24]OFD Sender: No OFD packet to send [21:10:29]OFD Sender: No OFD packet to send [21:10:34]OFD Sender: No OFD packet to send [21:10:39]OFD Sender: No OFD packet to send [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:10:59]OFD Sender: No OFD packet to send [21:11:04]OFD Sender: No OFD packet to send [21:11:09]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:19]accept exits with 7 [21:16:19]New connection [21:16:19]New thread 3066850660 created [21:16:19]Thread 3066707300 joined [21:16:19]Waiting for new connection... [21:16:19] Sock 7.Parse request [21:16:19]Sock 7.Check first char [21:16:19]Sock 7.First char is OK [21:16:19]request: POST /json_proto HTTP/1.0 [21:16:19]Method: POST [21:16:19]URL: /json_proto [21:16:19]Method is POST - this is cgi request [21:16:19]url: /json_proto [21:16:19]query_string will be loaded in cgi processing [21:16:19]execute_cgi json_proto POST (null) [21:16:19]execute_cgi path=json_proto method=POST [21:16:19]POST find Content-Length [21:16:19]Host: 172.17.52.132:8080 [21:16:19]Content-Length: 626 [21:16:19]Content-Type: application/json [21:16:19] [21:16:19]POST finish read [21:16:19]Found Content-Length = 626 [21:16:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100075", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 7.000, "sum" : 805.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 805.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:16:19]execute_script... [21:16:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100075", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 7.000, "sum" : 805.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 805.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:16:19]POST & json_proto [21:16:19]process_json_proto [21:16:19]json parsed OK: [21:16:19]protocol is kg_v1.0 [21:16:19]action value=close_receipt [21:16:19]process_action close_receipt [21:16:19]cmd_close_receipt [21:16:19]MH_GetDate [21:16:19]Write to MH i2c: F0 00 00 CA 73 2C [21:16:19]Write i2c OK [21:16:19]MH_I2C_Read... [21:16:19]Read from MH i2c: F0 [21:16:19]MH_I2C_Read... [21:16:19]Read from MH i2c: F0 09 00 [21:16:19]MH_I2C_Read... [21:16:19]Read from MH i2c: F0 09 00 CA 73 00 33 73 15 67 5A BE F6 66 CB [21:16:19]GetLastDocTimeStamp 1729458593 [21:16:19]current date 1729458995 [21:16:19]FM_GetShiftState [21:16:19]SAM_PROTO_GetShiftState [21:16:19]wFMCommunicate request_size=4 [21:16:19]MH_SAM_APDU [21:16:19]CAPDU: 80 13 01 00 [21:16:19]Write to MH i2c: E2 08 00 CB 73 80 13 01 00 00 00 00 00 BB [21:16:19]Write i2c OK [21:16:19]MH_I2C_Read... [21:16:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:16:19]Read from MH i2c: E2 [21:16:19]MH_I2C_Read... [21:16:19]Read from MH i2c: E2 0E 00 [21:16:19]MH_I2C_Read... [21:16:19]Read from MH i2c: E2 0E 00 CB 73 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A5 [21:16:19]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:16:19]wFMCommunicate OK [21:16:19]SAM_PROTO_GetShiftState done [21:16:19]FM_GetShiftState done [21:16:19]opened in 1729382427 [21:16:19]opened+sec_in_day 1729468827 [21:16:19]quantity*price = 80500 [21:16:19]sum+1 = 80501 [21:16:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 805.00 НСП 1% : 7.12 НДС 12% : 85.49 Наличными: 805.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 79 20.10.2024 21:16 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2698 ФПД: 272124331977863 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T211635&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2698&fm=272124331977863&tin=02508201610067®Number=0000000000207295&sum=80500 0 [21:16:20]StoreToDocumentArchive [21:16:20]shift 24 fd 2698 [21:16:20]save to /storage/0024/doc_00002698 [21:16:20]save last doc name /storage/0024/doc_00002698 to /storage/kkm_last_doc_name [21:16:20]save OK [21:16:20]Clear old archive folders... [21:16:20]ProcessDocumentItem done err = 0, tmpTLVsize=274 [21:16:20]tlvbuf is 013D56B0 [21:16:20]SAM_PROTO_ClearQueue [21:16:20]wFMCommunicate request_size=4 [21:16:20]MH_SAM_APDU [21:16:20]CAPDU: 80 09 00 00 [21:16:20]Write to MH i2c: E2 08 00 D8 73 80 09 00 00 00 00 00 00 BD [21:16:20]Write i2c OK [21:16:20]MH_I2C_Read... [21:16:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:16:20]Read from MH i2c: E2 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 03 00 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 03 00 D8 73 00 90 00 BF [21:16:20]RAPDU: 90 00 [21:16:20]wFMCommunicate OK [21:16:20]SAM_PROTO_ClearQueue done [21:16:20]KKMCreateOFDPacket [21:16:20]OFDProtocolAddRootSTLVToBuf [21:16:20]FM_MakeSignedData [21:16:20]FM_MakeSignedData [21:16:20]SAM_PROTO_SignData [21:16:20]wFMCommunicate request_size=4 [21:16:20]MH_SAM_APDU [21:16:20]CAPDU: 80 0D 01 02 [21:16:20]Write to MH i2c: E2 08 00 D9 73 80 0D 01 02 00 00 00 00 C5 [21:16:20]Write i2c OK [21:16:20]MH_I2C_Read... [21:16:20]OFD Sender: No OFD packet to send [21:16:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:16:20]Read from MH i2c: E2 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 03 00 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 03 00 D9 73 00 90 00 C0 [21:16:20]RAPDU: 90 00 [21:16:20]wFMCommunicate OK [21:16:20]wFMCommunicate request_size=255 [21:16:20]MH_SAM_APDU [21:16:20]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 58 1B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 74 3A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 3A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 21 00 00 00 00 07 04 06 00 74 3A 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 33 73 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 [21:16:20]Write to MH i2c: E2 02 01 DA 73 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 58 1B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 74 3A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 3A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 21 00 00 00 00 07 04 06 00 74 3A 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 33 73 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 00 00 58 [21:16:20]Write i2c OK [21:16:20]MH_I2C_Read... [21:16:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:16:20]Read from MH i2c: E2 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 03 00 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 03 00 DA 73 00 90 00 C1 [21:16:20]RAPDU: 90 00 [21:16:20]wFMCommunicate OK [21:16:20]wFMCommunicate request_size=33 [21:16:20]MH_SAM_APDU [21:16:20]CAPDU: 80 0D 02 02 1C 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8A 0A 00 00 35 04 06 00 F7 7E E2 24 6C 87 [21:16:20]Write to MH i2c: E2 24 00 DB 73 80 0D 02 02 1C 00 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8A 0A 00 00 35 04 06 00 F7 7E E2 24 6C 87 00 00 4E [21:16:20]Write i2c OK [21:16:20]MH_I2C_Read... [21:16:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:16:20]Read from MH i2c: E2 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 03 00 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 03 00 DB 73 00 90 00 C2 [21:16:20]RAPDU: 90 00 [21:16:20]wFMCommunicate OK [21:16:20]wFMCommunicate request_size=4 [21:16:20]MH_SAM_APDU [21:16:20]CAPDU: 80 0D 03 02 [21:16:20]Write to MH i2c: E2 08 00 DC 73 80 0D 03 02 00 00 00 00 CA [21:16:20]Write i2c OK [21:16:20]MH_I2C_Read... [21:16:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:16:20]Read from MH i2c: E2 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 0B 00 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 0B 00 DC 73 00 B0 87 FD B5 62 44 0E 46 90 00 AE [21:16:20]RAPDU: B0 87 FD B5 62 44 0E 46 90 00 [21:16:20]wFMCommunicate OK [21:16:20]SAM_PROTO_SignData done [21:16:20]FM_MakeSignedData done [21:16:20]CreateOFDProtocolMessage [21:16:20]wFMCommunicate request_size=4 [21:16:20]MH_SAM_APDU [21:16:20]CAPDU: 80 11 00 00 [21:16:20]Write to MH i2c: E2 08 00 DD 73 80 11 00 00 00 00 00 00 CA [21:16:20]Write i2c OK [21:16:20]MH_I2C_Read... [21:16:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:16:20]Read from MH i2c: E2 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 17 00 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: E2 17 00 DD 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 12 [21:16:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:16:20]wFMCommunicate OK [21:16:20]CreateOFDProtocolMessage done [21:16:20]OFDSenderStorePacket 2698 [21:16:20]StoreOFDPacket docnum=2698 [21:16:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 26 01 00 00 95 5A 1E 01 A3 03 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 58 1B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 74 3A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 3A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 21 00 00 00 00 07 04 06 00 74 3A 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 33 73 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8A 0A 00 00 35 04 06 00 F7 7E E2 24 6C 87 B0 87 FD B5 62 44 0E 46 [21:16:20]CheckFolder [21:16:20]dirname=/storage/ofd_packets [21:16:20]CheckFolder done [21:16:20]ProducePacketName [21:16:20]name=ofd_packets/00002698 [21:16:20]NVStorageSaveData ofd_packets/00002698 [21:16:20]File name is /storage/ofd_packets/00002698 [21:16:20]Write 324 bytes [21:16:20]NVStorageSaveData done [21:16:20]OFDSenderStorePacket done [21:16:20]KKMCreateOFDPacket done [21:16:20]NVStorageSaveData kkm_last_timestamp [21:16:20]File name is /storage/kkm_last_timestamp [21:16:20]Write 4 bytes [21:16:20]NVStorageSaveData done [21:16:20]ExternCall_PrintAddStr [21:16:20]wPrintStart [21:16:20]Write to MH i2c: 01 00 00 DE 73 51 [21:16:20]Write i2c OK [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: 01 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: 01 07 00 [21:16:20]MH_I2C_Read... [21:16:20]Read from MH i2c: 01 07 00 DE 73 00 00 00 00 00 FF 0F 66 [21:16:20]RasterBufferAndPrint [21:16:20]line Счет N : (3)100075 [21:16:20]line ИНН: 02508201610067 [21:16:20]line Контрольно-Кассовый Чек [21:16:20]line ПРОДАЖА [21:16:20]line Товар: 2000036240010 [21:16:20]line Кофе Латте (GABB TRADE) [21:16:20]line 7.000 * 115.00 [21:16:20]line = 805.00 [21:16:20]line НДС 12% НСП 1% [21:16:20]line > о реализуемом товаре [21:16:20]line ИТОГО: 805.00 [21:16:20]line НСП 1% : 7.12 [21:16:20]line НДС 12% : 85.49 [21:16:20]line Наличными: 805.00 [21:16:20]line Безнал.: 0.00 [21:16:20]line Место: АЗС № 162 "Партнер Нефть" [21:16:20]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:16:20]line СНО: Общий режим [21:16:20]line Чек 79 20.10.2024 21:16 [21:16:21]line Смена: 24 ФФД: 1.0 [21:16:21]line ЗНМ: 0300000191 [21:16:21]line РНМ: 0000000000207295 [21:16:21]line Версия ККМ: v1.0 [21:16:21]line ФМ: 0000000002342820 [21:16:21]line ФД: 2698 [21:16:21]line ФПД: 272124331977863 [21:16:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T211635&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2698&fm=272124331977863&tin=02508201610067®Number=0000000000207295&sum=80500 [21:16:21]line 0 [21:16:21]OFD Sender: Processing packet 2698 [packets to send 1, broken 0] [21:16:21]ProducePacketName [21:16:21]name=ofd_packets/00002698 [21:16:21]OFD Sender: To server: pG, [21:16:21]CommunicateWithHost lk.salyk.kg:30040 [21:16:21]ConnectInit lk.salyk.kg [21:16:21]written 0, free lines is 4095 [21:16:21]Connected sock=10 [21:16:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 26 01 00 00 95 5A 1E 01 A3 03 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 58 1B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 74 3A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 3A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 21 00 00 00 00 07 04 06 00 74 3A 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 33 73 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8A 0A 00 00 35 04 06 00 F7 7E E2 24 6C 87 B0 87 FD B5 62 44 0E 46 [21:16:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 35 52 47 00 F7 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8A 0A 00 00 F4 03 04 00 90 1E 15 67 B6 04 01 00 00 82 2D E5 B2 D1 DD 30 51 [21:16:21]CommunicateWithHost err = 0 [21:16:21]CheckOFDResponse [21:16:21]1017 (14) - 77093643461234 [21:16:21]1041 (16) - 0000000002342820 [21:16:21]1040 (4) - 2698 [21:16:21]1012 (4) - 20.10.2024 15:15 [21:16:21]1206 (1) - 0 [21:16:21]OFD Sender: Remove packet 2698 [21:16:21]ProducePacketName [21:16:21]name=ofd_packets/00002698 [21:16:21]NVStorageDeleteData [21:16:21]Write to MH i2c: 01 00 00 06 74 7A [21:16:21]Write i2c OK [21:16:21]MH_I2C_Read... [21:16:21]Read from MH i2c: 01 [21:16:21]MH_I2C_Read... [21:16:21]Read from MH i2c: 01 07 00 [21:16:21]MH_I2C_Read... [21:16:21]Read from MH i2c: 01 07 00 06 74 00 00 00 00 00 CB 0C 58 [21:16:21]RasterBufferAndPrint [21:16:21]line [21:16:21]line [21:16:21]line [21:16:21]line [21:16:21]line [21:16:21]written 0, free lines is 3279 [21:16:21]MH_Cut [21:16:21]Write to MH i2c: D1 01 00 0D 74 01 53 [21:16:21]Write i2c OK [21:16:21]MH_I2C_Read... [21:16:21]Read from MH i2c: D1 [21:16:21]MH_I2C_Read... [21:16:21]Read from MH i2c: D1 01 00 [21:16:21]MH_I2C_Read... [21:16:21]Read from MH i2c: D1 01 00 0D 74 00 52 [21:16:21]Write to MH i2c: 01 00 00 0E 74 82 [21:16:21]Write i2c OK [21:16:21]MH_I2C_Read... [21:16:21]OFD Sender: No OFD packet to send [21:16:22]*** Cut start [21:16:22]*** Partial cut [21:16:22]*** CUTSNS_PIN = 1 [21:16:22]*** CUTSNS_PIN = 0 [21:16:22]*** Brake cut motor [21:16:22]Read from MH i2c: 01 [21:16:22]MH_I2C_Read... [21:16:22]*** Stop cut motor [21:16:22]*** Cut end [21:16:22]Read from MH i2c: 01 07 00 [21:16:22]MH_I2C_Read... [21:16:22]Read from MH i2c: 01 07 00 0E 74 00 00 00 00 00 FF 0F 97 [21:16:22]process_action close_receipt done [21:16:22]requested_data is exist [21:16:22]produce_requested_data [21:16:22]requested_item fm.sn is exist - process it [21:16:22]wFMCommunicate request_size=4 [21:16:22]MH_SAM_APDU [21:16:22]CAPDU: 80 11 00 00 [21:16:22]Write to MH i2c: E2 08 00 0F 74 80 11 00 00 00 00 00 00 FD [21:16:22]Write i2c OK [21:16:22]MH_I2C_Read... [21:16:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:16:23]Read from MH i2c: E2 [21:16:23]MH_I2C_Read... [21:16:23]Read from MH i2c: E2 17 00 [21:16:23]MH_I2C_Read... [21:16:23]Read from MH i2c: E2 17 00 0F 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 45 [21:16:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:16:23]wFMCommunicate OK [21:16:23]requested_item fd.num is exist - process it [21:16:23]SAM_PROTO_GetFieldsCounters [21:16:23]wFMCommunicate request_size=4 [21:16:23]MH_SAM_APDU [21:16:23]CAPDU: 80 13 00 00 [21:16:23]Write to MH i2c: E2 08 00 10 74 80 13 00 00 00 00 00 00 00 [21:16:23]Write i2c OK [21:16:23]MH_I2C_Read... [21:16:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:16:23]Read from MH i2c: E2 [21:16:23]MH_I2C_Read... [21:16:23]Read from MH i2c: E2 62 00 [21:16:23]MH_I2C_Read... [21:16:23]Read from MH i2c: E2 62 00 10 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 AF [21:16:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:16:23]wFMCommunicate OK [21:16:23]SAM_PROTO_GetFieldsCounters done [21:16:23]requested_item shift.num is exist - process it [21:16:23]requested_item shift.opened is exist - process it [21:16:23]req_shift_opened [21:16:23]FM_GetShiftState [21:16:23]SAM_PROTO_GetShiftState [21:16:23]wFMCommunicate request_size=4 [21:16:23]MH_SAM_APDU [21:16:23]CAPDU: 80 13 01 00 [21:16:23]Write to MH i2c: E2 08 00 11 74 80 13 01 00 00 00 00 00 02 [21:16:23]Write i2c OK [21:16:23]MH_I2C_Read... [21:16:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:16:23]Read from MH i2c: E2 [21:16:23]MH_I2C_Read... [21:16:23]Read from MH i2c: E2 0E 00 [21:16:23]MH_I2C_Read... [21:16:23]Read from MH i2c: E2 0E 00 11 74 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 EC [21:16:23]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:16:23]wFMCommunicate OK [21:16:23]SAM_PROTO_GetShiftState done [21:16:23]FM_GetShiftState done [21:16:23]req_shift_opened done [21:16:23]requested_item shift.open_date is exist - process it [21:16:23]req_shift_open_date [21:16:23]req_shift_open_date done [21:16:23]produce_requested_data done [21:16:23]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2698,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:16:23]process_action_free close_receipt [21:16:23]json_value_free [21:16:23]json_value_free done [21:16:23]process_json_proto returns [21:16:23]Send response to host [21:16:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2698,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:16:23]free response buf [21:16:23]execute_script done [21:16:23]execute_script returns [21:16:23]free content buf [21:16:23]Sock 7.Close socket [21:16:23]Sock 7.Thread stoped [21:16:26]OFD Sender: No OFD packet to send [21:16:31]OFD Sender: No OFD packet to send [21:16:36]OFD Sender: No OFD packet to send [21:16:41]OFD Sender: No OFD packet to send [21:16:46]OFD Sender: No OFD packet to send [21:16:51]OFD Sender: No OFD packet to send [21:16:56]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:21]OFD Sender: No OFD packet to send [21:17:26]OFD Sender: No OFD packet to send [21:17:31]OFD Sender: No OFD packet to send [21:17:36]OFD Sender: No OFD packet to send [21:17:41]OFD Sender: No OFD packet to send [21:17:46]OFD Sender: No OFD packet to send [21:17:51]OFD Sender: No OFD packet to send [21:17:56]OFD Sender: No OFD packet to send [21:18:01]OFD Sender: No OFD packet to send [21:18:06]OFD Sender: No OFD packet to send [21:18:11]OFD Sender: No OFD packet to send [21:18:16]OFD Sender: No OFD packet to send [21:18:21]OFD Sender: No OFD packet to send [21:18:26]OFD Sender: No OFD packet to send [21:18:31]OFD Sender: No OFD packet to send [21:18:36]OFD Sender: No OFD packet to send [21:18:41]OFD Sender: No OFD packet to send [21:18:46]OFD Sender: No OFD packet to send [21:18:51]OFD Sender: No OFD packet to send [21:18:56]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:47]OFD Sender: No OFD packet to send [21:19:52]OFD Sender: No OFD packet to send [21:19:57]OFD Sender: No OFD packet to send [21:20:02]OFD Sender: No OFD packet to send [21:20:07]OFD Sender: No OFD packet to send [21:20:12]OFD Sender: No OFD packet to send [21:20:17]OFD Sender: No OFD packet to send [21:20:22]OFD Sender: No OFD packet to send [21:20:27]OFD Sender: No OFD packet to send [21:20:32]OFD Sender: No OFD packet to send [21:20:37]OFD Sender: No OFD packet to send [21:20:42]OFD Sender: No OFD packet to send [21:20:47]OFD Sender: No OFD packet to send [21:20:52]OFD Sender: No OFD packet to send [21:20:57]OFD Sender: No OFD packet to send [21:21:02]OFD Sender: No OFD packet to send [21:21:07]OFD Sender: No OFD packet to send [21:21:12]OFD Sender: No OFD packet to send [21:21:17]OFD Sender: No OFD packet to send [21:21:22]OFD Sender: No OFD packet to send [21:21:27]OFD Sender: No OFD packet to send [21:21:32]OFD Sender: No OFD packet to send [21:21:37]OFD Sender: No OFD packet to send [21:21:42]OFD Sender: No OFD packet to send [21:21:47]OFD Sender: No OFD packet to send [21:21:52]OFD Sender: No OFD packet to send [21:21:57]OFD Sender: No OFD packet to send [21:22:02]OFD Sender: No OFD packet to send [21:22:07]OFD Sender: No OFD packet to send [21:22:12]OFD Sender: No OFD packet to send [21:22:17]OFD Sender: No OFD packet to send [21:22:22]OFD Sender: No OFD packet to send [21:22:27]OFD Sender: No OFD packet to send [21:22:32]OFD Sender: No OFD packet to send [21:22:37]OFD Sender: No OFD packet to send [21:22:42]OFD Sender: No OFD packet to send [21:22:47]OFD Sender: No OFD packet to send [21:22:52]OFD Sender: No OFD packet to send [21:22:57]OFD Sender: No OFD packet to send [21:23:02]OFD Sender: No OFD packet to send [21:23:07]OFD Sender: No OFD packet to send [21:23:12]OFD Sender: No OFD packet to send [21:23:17]OFD Sender: No OFD packet to send [21:23:22]OFD Sender: No OFD packet to send [21:23:27]OFD Sender: No OFD packet to send [21:23:32]OFD Sender: No OFD packet to send [21:23:37]OFD Sender: No OFD packet to send [21:23:42]OFD Sender: No OFD packet to send [21:23:47]OFD Sender: No OFD packet to send [21:23:52]OFD Sender: No OFD packet to send [21:23:57]OFD Sender: No OFD packet to send [21:24:02]OFD Sender: No OFD packet to send [21:24:07]OFD Sender: No OFD packet to send [21:24:12]OFD Sender: No OFD packet to send [21:24:17]OFD Sender: No OFD packet to send [21:24:22]OFD Sender: No OFD packet to send [21:24:27]OFD Sender: No OFD packet to send [21:24:32]OFD Sender: No OFD packet to send [21:24:33]accept exits with 9 [21:24:33]New connection [21:24:33]New thread 3066707300 created [21:24:33]Thread 3066850660 joined [21:24:33]Waiting for new connection... [21:24:33] Sock 9.Parse request [21:24:33]Sock 9.Check first char [21:24:33]Sock 9.First char is OK [21:24:33]request: POST /json_proto HTTP/1.0 [21:24:33]Method: POST [21:24:33]URL: /json_proto [21:24:33]Method is POST - this is cgi request [21:24:33]url: /json_proto [21:24:33]query_string will be loaded in cgi processing [21:24:33]execute_cgi json_proto POST (null) [21:24:33]execute_cgi path=json_proto method=POST [21:24:33]POST find Content-Length [21:24:33]Host: 172.17.52.132:8080 [21:24:33]Content-Length: 215 [21:24:33]Content-Type: application/json [21:24:33] [21:24:33]POST finish read [21:24:33]Found Content-Length = 215 [21:24:33]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" ] } } [21:24:33]execute_script... [21:24:33]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" ] } } [21:24:33]POST & json_proto [21:24:33]process_json_proto [21:24:33]json parsed OK: [21:24:33]protocol is kg_v1.0 [21:24:33]action value=get_value [21:24:33]process_action get_value [21:24:33]cmd_get_value [21:24:33]process_action get_value done [21:24:33]requested_data is exist [21:24:33]produce_requested_data [21:24:33]requested_item kkm.sn is exist - process it [21:24:33]requested_item kkm.ver is exist - process it [21:24:33]requested_item fm.sn is exist - process it [21:24:33]wFMCommunicate request_size=4 [21:24:33]MH_SAM_APDU [21:24:33]CAPDU: 80 11 00 00 [21:24:33]Write to MH i2c: E2 08 00 12 74 80 11 00 00 00 00 00 00 00 [21:24:33]Write i2c OK [21:24:33]MH_I2C_Read... [21:24:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:33]Read from MH i2c: E2 [21:24:33]MH_I2C_Read... [21:24:33]Read from MH i2c: E2 17 00 [21:24:33]MH_I2C_Read... [21:24:33]Read from MH i2c: E2 17 00 12 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 48 [21:24:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:24:33]wFMCommunicate OK [21:24:33]requested_item fd.num is exist - process it [21:24:33]SAM_PROTO_GetFieldsCounters [21:24:33]wFMCommunicate request_size=4 [21:24:33]MH_SAM_APDU [21:24:33]CAPDU: 80 13 00 00 [21:24:33]Write to MH i2c: E2 08 00 13 74 80 13 00 00 00 00 00 00 03 [21:24:33]Write i2c OK [21:24:33]MH_I2C_Read... [21:24:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:33]Read from MH i2c: E2 [21:24:33]MH_I2C_Read... [21:24:33]Read from MH i2c: E2 62 00 [21:24:33]MH_I2C_Read... [21:24:33]Read from MH i2c: E2 62 00 13 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 B2 [21:24:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:24:33]wFMCommunicate OK [21:24:33]SAM_PROTO_GetFieldsCounters done [21:24:33]requested_item shift.num is exist - process it [21:24:33]requested_item shift.opened is exist - process it [21:24:33]req_shift_opened [21:24:33]FM_GetShiftState [21:24:33]SAM_PROTO_GetShiftState [21:24:33]wFMCommunicate request_size=4 [21:24:33]MH_SAM_APDU [21:24:33]CAPDU: 80 13 01 00 [21:24:33]Write to MH i2c: E2 08 00 14 74 80 13 01 00 00 00 00 00 05 [21:24:33]Write i2c OK [21:24:33]MH_I2C_Read... [21:24:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:33]Read from MH i2c: E2 [21:24:33]MH_I2C_Read... [21:24:33]Read from MH i2c: E2 0E 00 [21:24:33]MH_I2C_Read... [21:24:33]Read from MH i2c: E2 0E 00 14 74 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 EF [21:24:33]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:24:33]wFMCommunicate OK [21:24:33]SAM_PROTO_GetShiftState done [21:24:33]FM_GetShiftState done [21:24:33]req_shift_opened done [21:24:33]requested_item shift.open_date is exist - process it [21:24:33]req_shift_open_date [21:24:33]req_shift_open_date done [21:24:33]produce_requested_data done [21:24:33]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2698,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:24:33]process_action_free get_value [21:24:33]json_value_free [21:24:33]json_value_free done [21:24:33]process_json_proto returns [21:24:33]Send response to host [21:24:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2698,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:24:33]free response buf [21:24:33]execute_script done [21:24:33]execute_script returns [21:24:33]free content buf [21:24:33]Sock 9.Close socket [21:24:33]Sock 9.Thread stoped [21:24:33]accept exits with 7 [21:24:33]New connection [21:24:33]New thread 3066850660 created [21:24:33]Thread 3066707300 joined [21:24:33]Waiting for new connection... [21:24:33] Sock 7.Parse request [21:24:33]Sock 7.Check first char [21:24:33]Sock 7.First char is OK [21:24:33]request: POST /json_proto HTTP/1.0 [21:24:33]Method: POST [21:24:33]URL: /json_proto [21:24:33]Method is POST - this is cgi request [21:24:33]url: /json_proto [21:24:33]query_string will be loaded in cgi processing [21:24:33]execute_cgi json_proto POST (null) [21:24:33]execute_cgi path=json_proto method=POST [21:24:33]POST find Content-Length [21:24:33]Host: 172.17.52.132:8080 [21:24:33]Content-Length: 331 [21:24:33]Content-Type: application/json [21:24:33] [21:24:33]POST finish read [21:24:33]Found Content-Length = 331 [21:24: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" ] } } [21:24:33]execute_script... [21:24: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" ] } } [21:24:33]POST & json_proto [21:24:33]process_json_proto [21:24:33]json parsed OK: [21:24:33]protocol is kg_v1.0 [21:24:33]action value=get_value [21:24:33]process_action get_value [21:24:33]cmd_get_value [21:24:33]process_action get_value done [21:24:33]requested_data is exist [21:24:33]produce_requested_data [21:24:33]requested_item fm.sale.total is exist - process it [21:24:33]SAM_PROTO_GetFMData [21:24:33]wFMCommunicate request_size=4 [21:24:33]MH_SAM_APDU [21:24:33]CAPDU: 80 13 03 00 [21:24:33]Write to MH i2c: E2 08 00 15 74 80 13 03 00 00 00 00 00 08 [21:24:33]Write i2c OK [21:24:33]MH_I2C_Read... [21:24:34]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:24:34]Read from MH i2c: E2 [21:24:34]MH_I2C_Read... [21:24:34]Read from MH i2c: E2 FD 00 [21:24:34]MH_I2C_Read... [21:24:34]Read from MH i2c: E2 FD 00 15 74 00 BE 04 85 04 BA 04 6E 04 04 00 5A 0A 00 00 69 04 9F 00 6F 04 04 00 51 0A 00 00 B1 04 04 00 41 C5 49 05 70 04 04 00 78 AC E1 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 C5 8F 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 1F FA 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 D1 [21:24:34]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 5A 0A 00 00 69 04 9F 00 6F 04 04 00 51 0A 00 00 B1 04 04 00 41 C5 49 05 70 04 04 00 78 AC E1 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 C5 8F 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 1F FA 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [21:24:34]wFMCommunicate OK [21:24:34]wFMCommunicate request_size=4 [21:24:34]MH_SAM_APDU [21:24:34]CAPDU: 80 17 00 00 [21:24:34]Write to MH i2c: E2 08 00 16 74 80 17 00 00 00 00 00 00 0A [21:24:34]Write i2c OK [21:24:34]MH_I2C_Read... [21:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:34]Read from MH i2c: E2 [21:24:34]MH_I2C_Read... [21:24:34]Read from MH i2c: E2 FD 00 [21:24:34]MH_I2C_Read... [21:24:34]Read from MH i2c: E2 FD 00 16 74 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6F [21:24:34]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:34]wFMCommunicate OK [21:24:34]wFMCommunicate request_size=4 [21:24:34]MH_SAM_APDU [21:24:34]CAPDU: 80 17 00 00 [21:24:34]Write to MH i2c: E2 08 00 17 74 80 17 00 00 00 00 00 00 0B [21:24:34]Write i2c OK [21:24:34]MH_I2C_Read... [21:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:34]Read from MH i2c: E2 [21:24:34]MH_I2C_Read... [21:24:34]Read from MH i2c: E2 FD 00 [21:24:34]MH_I2C_Read... [21:24:34]Read from MH i2c: E2 FD 00 17 74 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3D [21:24:34]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:34]wFMCommunicate OK [21:24:34]wFMCommunicate request_size=4 [21:24:34]MH_SAM_APDU [21:24:34]CAPDU: 80 17 00 00 [21:24:34]Write to MH i2c: E2 08 00 18 74 80 17 00 00 00 00 00 00 0C [21:24:34]Write i2c OK [21:24:34]MH_I2C_Read... [21:24:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:35]Read from MH i2c: E2 [21:24:35]MH_I2C_Read... [21:24:35]Read from MH i2c: E2 FD 00 [21:24:35]MH_I2C_Read... [21:24:35]Read from MH i2c: E2 FD 00 18 74 00 04 F7 03 00 00 EF 03 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 90 00 87 [21:24:35]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [21:24:35]wFMCommunicate OK [21:24:35]wFMCommunicate request_size=4 [21:24:35]MH_SAM_APDU [21:24:35]CAPDU: 80 17 00 00 [21:24:35]Write to MH i2c: E2 08 00 19 74 80 17 00 00 00 00 00 00 0D [21:24:35]Write i2c OK [21:24:35]MH_I2C_Read... [21:24:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [21:24:35]Read from MH i2c: E2 [21:24:35]MH_I2C_Read... [21:24:35]Read from MH i2c: E2 DB 00 [21:24:35]MH_I2C_Read... [21:24:35]Read from MH i2c: E2 DB 00 19 74 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EF [21:24:35]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:24:35]wFMCommunicate OK [21:24:35]SAM_PROTO_GetFMData done [21:24:35]requested_item fm.sale_refund.total is exist - process it [21:24:35]requested_item fm.buy.total is exist - process it [21:24:35]requested_item shift.sale.total is exist - process it [21:24:35]SAM_PROTO_GetShiftData [21:24:35]wFMCommunicate request_size=4 [21:24:35]MH_SAM_APDU [21:24:35]CAPDU: 80 13 02 00 [21:24:35]Write to MH i2c: E2 08 00 1A 74 80 13 02 00 00 00 00 00 0C [21:24:35]Write i2c OK [21:24:35]MH_I2C_Read... [21:24:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:24:35]Read from MH i2c: E2 [21:24:35]MH_I2C_Read... [21:24:35]Read from MH i2c: E2 FD 00 [21:24:35]MH_I2C_Read... [21:24:35]Read from MH i2c: E2 FD 00 1A 74 00 B5 04 AA 04 B1 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 FF BE 39 70 04 03 00 E0 7F 18 72 04 03 00 1F 3F 21 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 D8 21 06 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 C9 82 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 25 [21:24:35]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 FF BE 39 70 04 03 00 E0 7F 18 72 04 03 00 1F 3F 21 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 D8 21 06 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 C9 82 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [21:24:35]wFMCommunicate OK [21:24:35]wFMCommunicate request_size=4 [21:24:35]MH_SAM_APDU [21:24:35]CAPDU: 80 17 00 00 [21:24:35]Write to MH i2c: E2 08 00 1B 74 80 17 00 00 00 00 00 00 0F [21:24:35]Write i2c OK [21:24:35]MH_I2C_Read... [21:24:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:36]Read from MH i2c: E2 [21:24:36]MH_I2C_Read... [21:24:36]Read from MH i2c: E2 FD 00 [21:24:36]MH_I2C_Read... [21:24:36]Read from MH i2c: E2 FD 00 1B 74 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 75 [21:24:36]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:36]wFMCommunicate OK [21:24:36]wFMCommunicate request_size=4 [21:24:36]MH_SAM_APDU [21:24:36]CAPDU: 80 17 00 00 [21:24:36]Write to MH i2c: E2 08 00 1C 74 80 17 00 00 00 00 00 00 10 [21:24:36]Write i2c OK [21:24:36]MH_I2C_Read... [21:24:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:36]Read from MH i2c: E2 [21:24:36]MH_I2C_Read... [21:24:36]Read from MH i2c: E2 FD 00 [21:24:36]MH_I2C_Read... [21:24:36]Read from MH i2c: E2 FD 00 1C 74 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CD [21:24:36]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:36]wFMCommunicate OK [21:24:36]wFMCommunicate request_size=4 [21:24:36]MH_SAM_APDU [21:24:36]CAPDU: 80 17 00 00 [21:24:36]Write to MH i2c: E2 08 00 1D 74 80 17 00 00 00 00 00 00 11 [21:24:36]Write i2c OK [21:24:36]MH_I2C_Read... [21:24:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:36]Read from MH i2c: E2 [21:24:36]MH_I2C_Read... [21:24:36]Read from MH i2c: E2 FD 00 [21:24:36]MH_I2C_Read... [21:24:36]Read from MH i2c: E2 FD 00 1D 74 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 90 00 89 [21:24:36]RAPDU: 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 90 00 [21:24:36]wFMCommunicate OK [21:24:36]wFMCommunicate request_size=4 [21:24:36]MH_SAM_APDU [21:24:36]CAPDU: 80 17 00 00 [21:24:36]Write to MH i2c: E2 08 00 1E 74 80 17 00 00 00 00 00 00 12 [21:24:36]Write i2c OK [21:24:36]MH_I2C_Read... [21:24:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [21:24:37]Read from MH i2c: E2 [21:24:37]MH_I2C_Read... [21:24:37]Read from MH i2c: E2 D2 00 [21:24:37]MH_I2C_Read... [21:24:37]Read from MH i2c: E2 D2 00 1E 74 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 F5 [21:24:37]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:24:37]wFMCommunicate OK [21:24:37]SAM_PROTO_GetShiftData done [21:24:37]requested_item shift.sale.total_cash is exist - process it [21:24:37]requested_item shift.sale_refund.total is exist - process it [21:24:37]requested_item shift.sale_refund.total_cash is exist - process it [21:24:37]requested_item shift.buy.total is exist - process it [21:24:37]requested_item shift.buy.total_cash is exist - process it [21:24:37]produce_requested_data done [21:24:37]produce_requested_data return {"fm.sale.total":887207.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":37844.47,"shift.sale.total_cash":16056.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [21:24:37]process_action_free get_value [21:24:37]json_value_free [21:24:37]json_value_free done [21:24:37]process_json_proto returns [21:24:37]Send response to host [21:24:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":887207.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":37844.47,"shift.sale.total_cash":16056.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [21:24:37]free response buf [21:24:37]execute_script done [21:24:37]execute_script returns [21:24:37]free content buf [21:24:37]Sock 7.Close socket [21:24:37]Sock 7.Thread stoped [21:24:37]accept exits with 9 [21:24:37]New connection [21:24:37]New thread 3066707300 created [21:24:37]Thread 3066850660 joined [21:24:37]Waiting for new connection... [21:24:37] Sock 9.Parse request [21:24:37]Sock 9.Check first char [21:24:37]Sock 9.First char is OK [21:24:37]request: POST /json_proto HTTP/1.0 [21:24:37]Method: POST [21:24:37]URL: /json_proto [21:24:37]Method is POST - this is cgi request [21:24:37]url: /json_proto [21:24:37]query_string will be loaded in cgi processing [21:24:37]execute_cgi json_proto POST (null) [21:24:37]execute_cgi path=json_proto method=POST [21:24:37]POST find Content-Length [21:24:37]Host: 172.17.52.132:8080 [21:24:37]Content-Length: 331 [21:24:37]Content-Type: application/json [21:24:37] [21:24:37]POST finish read [21:24:37]Found Content-Length = 331 [21:24:37]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" ] } } [21:24:37]execute_script... [21:24:37]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" ] } } [21:24:37]POST & json_proto [21:24:37]process_json_proto [21:24:37]json parsed OK: [21:24:37]protocol is kg_v1.0 [21:24:37]action value=get_value [21:24:37]process_action get_value [21:24:37]cmd_get_value [21:24:37]process_action get_value done [21:24:37]requested_data is exist [21:24:37]produce_requested_data [21:24:37]requested_item fm.sale.total is exist - process it [21:24:37]SAM_PROTO_GetFMData [21:24:37]wFMCommunicate request_size=4 [21:24:37]MH_SAM_APDU [21:24:37]CAPDU: 80 13 03 00 [21:24:37]Write to MH i2c: E2 08 00 1F 74 80 13 03 00 00 00 00 00 12 [21:24:37]Write i2c OK [21:24:37]MH_I2C_Read... [21:24:37]OFD Sender: No OFD packet to send [21:24:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:24:37]Read from MH i2c: E2 [21:24:37]MH_I2C_Read... [21:24:37]Read from MH i2c: E2 FD 00 [21:24:37]MH_I2C_Read... [21:24:37]Read from MH i2c: E2 FD 00 1F 74 00 BE 04 85 04 BA 04 6E 04 04 00 5A 0A 00 00 69 04 9F 00 6F 04 04 00 51 0A 00 00 B1 04 04 00 41 C5 49 05 70 04 04 00 78 AC E1 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 C5 8F 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 1F FA 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 DB [21:24:37]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 5A 0A 00 00 69 04 9F 00 6F 04 04 00 51 0A 00 00 B1 04 04 00 41 C5 49 05 70 04 04 00 78 AC E1 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 C5 8F 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 1F FA 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [21:24:37]wFMCommunicate OK [21:24:37]wFMCommunicate request_size=4 [21:24:37]MH_SAM_APDU [21:24:37]CAPDU: 80 17 00 00 [21:24:37]Write to MH i2c: E2 08 00 20 74 80 17 00 00 00 00 00 00 14 [21:24:37]Write i2c OK [21:24:37]MH_I2C_Read... [21:24:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:38]Read from MH i2c: E2 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: E2 FD 00 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: E2 FD 00 20 74 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 79 [21:24:38]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:38]wFMCommunicate OK [21:24:38]wFMCommunicate request_size=4 [21:24:38]MH_SAM_APDU [21:24:38]CAPDU: 80 17 00 00 [21:24:38]Write to MH i2c: E2 08 00 21 74 80 17 00 00 00 00 00 00 15 [21:24:38]Write i2c OK [21:24:38]MH_I2C_Read... [21:24:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:38]Read from MH i2c: E2 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: E2 FD 00 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: E2 FD 00 21 74 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 47 [21:24:38]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:38]wFMCommunicate OK [21:24:38]wFMCommunicate request_size=4 [21:24:38]MH_SAM_APDU [21:24:38]CAPDU: 80 17 00 00 [21:24:38]Write to MH i2c: E2 08 00 22 74 80 17 00 00 00 00 00 00 16 [21:24:38]Write i2c OK [21:24:38]MH_I2C_Read... [21:24:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:38]Read from MH i2c: E2 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: E2 FD 00 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: E2 FD 00 22 74 00 04 F7 03 00 00 EF 03 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 90 00 91 [21:24:38]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [21:24:38]wFMCommunicate OK [21:24:38]wFMCommunicate request_size=4 [21:24:38]MH_SAM_APDU [21:24:38]CAPDU: 80 17 00 00 [21:24:38]Write to MH i2c: E2 08 00 23 74 80 17 00 00 00 00 00 00 17 [21:24:38]Write i2c OK [21:24:38]MH_I2C_Read... [21:24:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [21:24:39]Read from MH i2c: E2 [21:24:39]MH_I2C_Read... [21:24:39]Read from MH i2c: E2 DB 00 [21:24:39]MH_I2C_Read... [21:24:39]Read from MH i2c: E2 DB 00 23 74 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F9 [21:24:39]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:24:39]wFMCommunicate OK [21:24:39]SAM_PROTO_GetFMData done [21:24:39]requested_item fm.sale_refund.total is exist - process it [21:24:39]requested_item fm.buy.total is exist - process it [21:24:39]requested_item shift.sale.total is exist - process it [21:24:39]SAM_PROTO_GetShiftData [21:24:39]wFMCommunicate request_size=4 [21:24:39]MH_SAM_APDU [21:24:39]CAPDU: 80 13 02 00 [21:24:39]Write to MH i2c: E2 08 00 24 74 80 13 02 00 00 00 00 00 16 [21:24:39]Write i2c OK [21:24:39]MH_I2C_Read... [21:24:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:24:39]Read from MH i2c: E2 [21:24:39]MH_I2C_Read... [21:24:39]Read from MH i2c: E2 FD 00 [21:24:39]MH_I2C_Read... [21:24:39]Read from MH i2c: E2 FD 00 24 74 00 B5 04 AA 04 B1 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 FF BE 39 70 04 03 00 E0 7F 18 72 04 03 00 1F 3F 21 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 D8 21 06 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 C9 82 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 2F [21:24:39]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 FF BE 39 70 04 03 00 E0 7F 18 72 04 03 00 1F 3F 21 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 D8 21 06 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 C9 82 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [21:24:39]wFMCommunicate OK [21:24:39]wFMCommunicate request_size=4 [21:24:39]MH_SAM_APDU [21:24:39]CAPDU: 80 17 00 00 [21:24:39]Write to MH i2c: E2 08 00 25 74 80 17 00 00 00 00 00 00 19 [21:24:39]Write i2c OK [21:24:39]MH_I2C_Read... [21:24:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:40]Read from MH i2c: E2 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 FD 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 FD 00 25 74 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7F [21:24:40]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:40]wFMCommunicate OK [21:24:40]wFMCommunicate request_size=4 [21:24:40]MH_SAM_APDU [21:24:40]CAPDU: 80 17 00 00 [21:24:40]Write to MH i2c: E2 08 00 26 74 80 17 00 00 00 00 00 00 1A [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:40]Read from MH i2c: E2 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 FD 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 FD 00 26 74 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D7 [21:24:40]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:40]wFMCommunicate OK [21:24:40]wFMCommunicate request_size=4 [21:24:40]MH_SAM_APDU [21:24:40]CAPDU: 80 17 00 00 [21:24:40]Write to MH i2c: E2 08 00 27 74 80 17 00 00 00 00 00 00 1B [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:41]Read from MH i2c: E2 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: E2 FD 00 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: E2 FD 00 27 74 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 90 00 93 [21:24:41]RAPDU: 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 90 00 [21:24:41]wFMCommunicate OK [21:24:41]wFMCommunicate request_size=4 [21:24:41]MH_SAM_APDU [21:24:41]CAPDU: 80 17 00 00 [21:24:41]Write to MH i2c: E2 08 00 28 74 80 17 00 00 00 00 00 00 1C [21:24:41]Write i2c OK [21:24:41]MH_I2C_Read... [21:24:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [21:24:41]Read from MH i2c: E2 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: E2 D2 00 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: E2 D2 00 28 74 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 FF [21:24:41]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:24:41]wFMCommunicate OK [21:24:41]SAM_PROTO_GetShiftData done [21:24:41]requested_item shift.sale.total_cash is exist - process it [21:24:41]requested_item shift.sale_refund.total is exist - process it [21:24:41]requested_item shift.sale_refund.total_cash is exist - process it [21:24:41]requested_item shift.buy.total is exist - process it [21:24:41]requested_item shift.buy.total_cash is exist - process it [21:24:41]produce_requested_data done [21:24:41]produce_requested_data return {"fm.sale.total":887207.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":37844.47,"shift.sale.total_cash":16056.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [21:24:41]process_action_free get_value [21:24:41]json_value_free [21:24:41]json_value_free done [21:24:41]process_json_proto returns [21:24:41]Send response to host [21:24:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":887207.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":37844.47,"shift.sale.total_cash":16056.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [21:24:41]free response buf [21:24:41]execute_script done [21:24:41]execute_script returns [21:24:41]free content buf [21:24:41]Sock 9.Close socket [21:24:41]Sock 9.Thread stoped [21:24:41]accept exits with 7 [21:24:41]New connection [21:24:41]New thread 3066850660 created [21:24:41]Thread 3066707300 joined [21:24:41]Waiting for new connection... [21:24:41] Sock 7.Parse request [21:24:41]Sock 7.Check first char [21:24:41]Sock 7.First char is OK [21:24:41]request: POST /json_proto HTTP/1.0 [21:24:41]Method: POST [21:24:41]URL: /json_proto [21:24:41]Method is POST - this is cgi request [21:24:41]url: /json_proto [21:24:41]query_string will be loaded in cgi processing [21:24:41]execute_cgi json_proto POST (null) [21:24:41]execute_cgi path=json_proto method=POST [21:24:41]POST find Content-Length [21:24:41]Host: 172.17.52.132:8080 [21:24:41]Content-Length: 257 [21:24:41]Content-Type: application/json [21:24:41] [21:24:41]POST finish read [21:24:41]Found Content-Length = 257 [21:24:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:41]execute_script... [21:24:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:41]POST & json_proto [21:24:41]process_json_proto [21:24:41]json parsed OK: [21:24:41]protocol is kg_v1.0 [21:24:41]action value=x_report [21:24:41]process_action x_report [21:24:41]cmd_x_report [21:24:41]MH_GetDate [21:24:41]Write to MH i2c: F0 00 00 29 74 8C [21:24:41]Write i2c OK [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: F0 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: F0 09 00 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: F0 09 00 29 74 00 2A 75 15 67 5A BE F6 66 24 [21:24:41]GetLastDocTimeStamp 1729458995 [21:24:41]current date 1729459498 [21:24:41]FM_GetShiftState [21:24:41]SAM_PROTO_GetShiftState [21:24:41]wFMCommunicate request_size=4 [21:24:41]MH_SAM_APDU [21:24:41]CAPDU: 80 13 01 00 [21:24:41]Write to MH i2c: E2 08 00 2A 74 80 13 01 00 00 00 00 00 1B [21:24:41]Write i2c OK [21:24:41]MH_I2C_Read... [21:24:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:41]Read from MH i2c: E2 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: E2 0E 00 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: E2 0E 00 2A 74 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 05 [21:24:41]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:24:41]wFMCommunicate OK [21:24:41]SAM_PROTO_GetShiftState done [21:24:41]FM_GetShiftState done [21:24:41]KKMCreateXReportDocument [21:24:41]Load OK [21:24:41]Malloc new data [21:24:41]MH_GetDate [21:24:41]Write to MH i2c: F0 00 00 2B 74 8E [21:24:41]Write i2c OK [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: F0 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: F0 09 00 [21:24:41]MH_I2C_Read... [21:24:41]Read from MH i2c: F0 09 00 2B 74 00 2A 75 15 67 5A BE F6 66 26 [21:24:41]Malloc new data [21:24:41]Malloc new data [21:24:41]wFMCommunicate request_size=4 [21:24:41]MH_SAM_APDU [21:24:41]CAPDU: 80 11 00 00 [21:24:41]Write to MH i2c: E2 08 00 2C 74 80 11 00 00 00 00 00 00 1A [21:24:41]Write i2c OK [21:24:41]MH_I2C_Read... [21:24:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:42]Read from MH i2c: E2 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 17 00 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 17 00 2C 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 62 [21:24:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:24:42]wFMCommunicate OK [21:24:42]SAM_PROTO_GetFieldsCounters [21:24:42]wFMCommunicate request_size=4 [21:24:42]MH_SAM_APDU [21:24:42]CAPDU: 80 13 00 00 [21:24:42]Write to MH i2c: E2 08 00 2D 74 80 13 00 00 00 00 00 00 1D [21:24:42]Write i2c OK [21:24:42]MH_I2C_Read... [21:24:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:42]Read from MH i2c: E2 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 62 00 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 62 00 2D 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [21:24:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:24:42]wFMCommunicate OK [21:24:42]SAM_PROTO_GetFieldsCounters done [21:24:42]Malloc new data [21:24:42]Malloc new data [21:24:42]Malloc new data [21:24:42]KKMCreateXReportDocument OK [21:24:42]KKMSetXReportData OK [21:24:42]KKMPrepareXReportFMData [21:24:42]SAM_PROTO_GetShiftData [21:24:42]wFMCommunicate request_size=4 [21:24:42]MH_SAM_APDU [21:24:42]CAPDU: 80 13 02 00 [21:24:42]Write to MH i2c: E2 08 00 2E 74 80 13 02 00 00 00 00 00 20 [21:24:42]Write i2c OK [21:24:42]MH_I2C_Read... [21:24:42]OFD Sender: No OFD packet to send [21:24:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:24:42]Read from MH i2c: E2 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 FD 00 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 FD 00 2E 74 00 B5 04 AA 04 B1 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 FF BE 39 70 04 03 00 E0 7F 18 72 04 03 00 1F 3F 21 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 D8 21 06 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 C9 82 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 39 [21:24:42]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 FF BE 39 70 04 03 00 E0 7F 18 72 04 03 00 1F 3F 21 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 D8 21 06 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 C9 82 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [21:24:42]wFMCommunicate OK [21:24:42]wFMCommunicate request_size=4 [21:24:42]MH_SAM_APDU [21:24:42]CAPDU: 80 17 00 00 [21:24:42]Write to MH i2c: E2 08 00 2F 74 80 17 00 00 00 00 00 00 23 [21:24:42]Write i2c OK [21:24:42]MH_I2C_Read... [21:24:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:43]Read from MH i2c: E2 [21:24:43]MH_I2C_Read... [21:24:43]Read from MH i2c: E2 FD 00 [21:24:43]MH_I2C_Read... [21:24:43]Read from MH i2c: E2 FD 00 2F 74 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 89 [21:24:43]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:43]wFMCommunicate OK [21:24:43]wFMCommunicate request_size=4 [21:24:43]MH_SAM_APDU [21:24:43]CAPDU: 80 17 00 00 [21:24:43]Write to MH i2c: E2 08 00 30 74 80 17 00 00 00 00 00 00 24 [21:24:43]Write i2c OK [21:24:43]MH_I2C_Read... [21:24:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:43]Read from MH i2c: E2 [21:24:43]MH_I2C_Read... [21:24:43]Read from MH i2c: E2 FD 00 [21:24:43]MH_I2C_Read... [21:24:43]Read from MH i2c: E2 FD 00 30 74 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E1 [21:24:43]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:43]wFMCommunicate OK [21:24:43]wFMCommunicate request_size=4 [21:24:43]MH_SAM_APDU [21:24:43]CAPDU: 80 17 00 00 [21:24:43]Write to MH i2c: E2 08 00 31 74 80 17 00 00 00 00 00 00 25 [21:24:43]Write i2c OK [21:24:43]MH_I2C_Read... [21:24:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:44]Read from MH i2c: E2 [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: E2 FD 00 [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: E2 FD 00 31 74 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 90 00 9D [21:24:44]RAPDU: 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 90 00 [21:24:44]wFMCommunicate OK [21:24:44]wFMCommunicate request_size=4 [21:24:44]MH_SAM_APDU [21:24:44]CAPDU: 80 17 00 00 [21:24:44]Write to MH i2c: E2 08 00 32 74 80 17 00 00 00 00 00 00 26 [21:24:44]Write i2c OK [21:24:44]MH_I2C_Read... [21:24:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [21:24:44]Read from MH i2c: E2 [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: E2 D2 00 [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: E2 D2 00 32 74 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:24:44]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:24:44]wFMCommunicate OK [21:24:44]SAM_PROTO_GetShiftData done [21:24:44]1194 (1201) - счетчики итогов смены [21:24:44] 1134 (4) - 79 - количество чеков со всеми признаками расчетов [21:24:44] 1129 (155) - счетчики операций «приход» [21:24:44] 1135 (4) - 78 - количество чеков по признаку расчетов [21:24:44] 1201 (3) - 37844.47 - общая итоговая сумма в чеках [21:24:44] 1136 (3) - 16056.00 - итоговая сумма в чеках наличными [21:24:44] 1138 (3) - 21788.47 - итоговая сумма в чеках безналичными [21:24:44] 1024 (122) - суммы налогов [21:24:44] 1006 (9) - суммы НДС [21:24:44] 1010 (1) - 0% - код ставки НДС [21:24:44] 1011 (0) - 0.00 - сумма НДС по ставке [21:24:44] 1006 (12) - суммы НДС [21:24:44] 1010 (1) - 12% - код ставки НДС [21:24:44] 1011 (3) - 4018.80 - сумма НДС по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 0% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (11) - суммы НСП [21:24:44] 1014 (1) - 1% - код ставки НСП [21:24:44] 1015 (2) - 334.81 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 2% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 3% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 5% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 0,50% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 1,50% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1130 (148) - счетчики операций «возврат прихода» [21:24:44] 1135 (4) - 1 - количество чеков по признаку расчетов [21:24:44] 1201 (2) - 90.00 - общая итоговая сумма в чеках [21:24:44] 1136 (2) - 90.00 - итоговая сумма в чеках наличными [21:24:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [21:24:44] 1024 (120) - суммы налогов [21:24:44] 1006 (9) - суммы НДС [21:24:44] 1010 (1) - 0% - код ставки НДС [21:24:44] 1011 (0) - 0.00 - сумма НДС по ставке [21:24:44] 1006 (11) - суммы НДС [21:24:44] 1010 (1) - 12% - код ставки НДС [21:24:44] 1011 (2) - 9.56 - сумма НДС по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 0% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (10) - суммы НСП [21:24:44] 1014 (1) - 1% - код ставки НСП [21:24:44] 1015 (1) - 0.80 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 2% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 3% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 5% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 0,50% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 1,50% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1131 (141) - счетчики операций «расход» [21:24:44] 1135 (4) - 0 - количество чеков по признаку расчетов [21:24:44] 1201 (0) - 0.00 - общая итоговая сумма в чеках [21:24:44] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [21:24:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [21:24:44] 1024 (117) - суммы налогов [21:24:44] 1006 (9) - суммы НДС [21:24:44] 1010 (1) - 0% - код ставки НДС [21:24:44] 1011 (0) - 0.00 - сумма НДС по ставке [21:24:44] 1006 (9) - суммы НДС [21:24:44] 1010 (1) - 12% - код ставки НДС [21:24:44] 1011 (0) - 0.00 - сумма НДС по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 0% - код ставки НСП [21:24:44] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:44] 1007 (9) - суммы НСП [21:24:44] 1014 (1) - 1% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 2% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 3% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 5% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 0,50% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 1,50% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1132 (141) - счетчики операций «возврат расхода» [21:24:45] 1135 (4) - 0 - количество чеков по признаку расчетов [21:24:45] 1201 (0) - 0.00 - общая итоговая сумма в чеках [21:24:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [21:24:45] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [21:24:45] 1024 (117) - суммы налогов [21:24:45] 1006 (9) - суммы НДС [21:24:45] 1010 (1) - 0% - код ставки НДС [21:24:45] 1011 (0) - 0.00 - сумма НДС по ставке [21:24:45] 1006 (9) - суммы НДС [21:24:45] 1010 (1) - 12% - код ставки НДС [21:24:45] 1011 (0) - 0.00 - сумма НДС по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 0% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 1% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 2% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 3% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 5% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 0,50% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1007 (9) - суммы НСП [21:24:45] 1014 (1) - 1,50% - код ставки НСП [21:24:45] 1015 (0) - 0.00 - сумма НСП по ставке [21:24:45] 1133 (588) - - счетчики коррекции - не используются [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1194 (04AA) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1134 (046E) [21:24:45]Malloc new data [21:24:45]Processing tag 1129 (0469) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1135 (046F) [21:24:45]Malloc new data [21:24:45]Processing tag 1201 (04B1) [21:24:45]Malloc new data [21:24:45]Processing tag 1136 (0470) [21:24:45]Malloc new data [21:24:45]Processing tag 1138 (0472) [21:24:45]Malloc new data [21:24:45]Processing tag 1024 (0400) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1006 (03EE) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1010 (03F2) [21:24:45]Malloc new data [21:24:45]Processing tag 1011 (03F3) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1006 (03EE) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1010 (03F2) [21:24:45]Malloc new data [21:24:45]Processing tag 1011 (03F3) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]SetTLVBufToDocument err=0 [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1130 (046A) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1135 (046F) [21:24:45]Malloc new data [21:24:45]Processing tag 1201 (04B1) [21:24:45]Malloc new data [21:24:45]Processing tag 1136 (0470) [21:24:45]Malloc new data [21:24:45]Processing tag 1138 (0472) [21:24:45]Malloc new data [21:24:45]Processing tag 1024 (0400) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1006 (03EE) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1010 (03F2) [21:24:45]Malloc new data [21:24:45]Processing tag 1011 (03F3) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1006 (03EE) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1010 (03F2) [21:24:45]Malloc new data [21:24:45]Processing tag 1011 (03F3) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]SetTLVBufToDocument err=0 [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1131 (046B) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1135 (046F) [21:24:45]Malloc new data [21:24:45]Processing tag 1201 (04B1) [21:24:45]Malloc new data [21:24:45]Processing tag 1136 (0470) [21:24:45]Malloc new data [21:24:45]Processing tag 1138 (0472) [21:24:45]Malloc new data [21:24:45]Processing tag 1024 (0400) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1006 (03EE) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1010 (03F2) [21:24:45]Malloc new data [21:24:45]Processing tag 1011 (03F3) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1006 (03EE) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1010 (03F2) [21:24:45]Malloc new data [21:24:45]Processing tag 1011 (03F3) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]SetTLVBufToDocument err=0 [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1132 (046C) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1135 (046F) [21:24:45]Malloc new data [21:24:45]Processing tag 1201 (04B1) [21:24:45]Malloc new data [21:24:45]Processing tag 1136 (0470) [21:24:45]Malloc new data [21:24:45]Processing tag 1138 (0472) [21:24:45]Malloc new data [21:24:45]Processing tag 1024 (0400) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1006 (03EE) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1010 (03F2) [21:24:45]Malloc new data [21:24:45]Processing tag 1011 (03F3) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1006 (03EE) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1010 (03F2) [21:24:45]Malloc new data [21:24:45]Processing tag 1011 (03F3) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:45]Processing tag 1014 (03F6) [21:24:45]Malloc new data [21:24:45]Processing tag 1015 (03F7) [21:24:45]Malloc new data [21:24:45]SetTLVBufToDocument err=0 [21:24:45]Processing tag 1007 (03EF) [21:24:45]Load OK [21:24:45]SetTLVBufToDocument [21:24:46]Processing tag 1014 (03F6) [21:24:46]Malloc new data [21:24:46]Processing tag 1015 (03F7) [21:24:46]Malloc new data [21:24:46]SetTLVBufToDocument err=0 [21:24:46]SetTLVBufToDocument err=0 [21:24:46]SetTLVBufToDocument err=0 [21:24:46]Processing tag 1133 (046D) [21:24:46]Malloc new data [21:24:46]SetTLVBufToDocument err=0 [21:24:46]SetTLVBufToDocument err=0 [21:24:46]Malloc new data [21:24:46]SAM_PROTO_GetFMData [21:24:46]wFMCommunicate request_size=4 [21:24:46]MH_SAM_APDU [21:24:46]CAPDU: 80 13 03 00 [21:24:46]Write to MH i2c: E2 08 00 33 74 80 13 03 00 00 00 00 00 26 [21:24:46]Write i2c OK [21:24:46]MH_I2C_Read... [21:24:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:24:46]Read from MH i2c: E2 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 FD 00 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 FD 00 33 74 00 BE 04 85 04 BA 04 6E 04 04 00 5A 0A 00 00 69 04 9F 00 6F 04 04 00 51 0A 00 00 B1 04 04 00 41 C5 49 05 70 04 04 00 78 AC E1 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 C5 8F 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 1F FA 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 EF [21:24:46]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 5A 0A 00 00 69 04 9F 00 6F 04 04 00 51 0A 00 00 B1 04 04 00 41 C5 49 05 70 04 04 00 78 AC E1 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 C5 8F 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 1F FA 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [21:24:46]wFMCommunicate OK [21:24:46]wFMCommunicate request_size=4 [21:24:46]MH_SAM_APDU [21:24:46]CAPDU: 80 17 00 00 [21:24:46]Write to MH i2c: E2 08 00 34 74 80 17 00 00 00 00 00 00 28 [21:24:46]Write i2c OK [21:24:46]MH_I2C_Read... [21:24:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:46]Read from MH i2c: E2 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 FD 00 [21:24:46]MH_I2C_Read... [21:24:47]Read from MH i2c: E2 FD 00 34 74 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [21:24:47]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:47]wFMCommunicate OK [21:24:47]wFMCommunicate request_size=4 [21:24:47]MH_SAM_APDU [21:24:47]CAPDU: 80 17 00 00 [21:24:47]Write to MH i2c: E2 08 00 35 74 80 17 00 00 00 00 00 00 29 [21:24:47]Write i2c OK [21:24:47]MH_I2C_Read... [21:24:47]OFD Sender: No OFD packet to send [21:24:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:47]Read from MH i2c: E2 [21:24:47]MH_I2C_Read... [21:24:47]Read from MH i2c: E2 FD 00 [21:24:47]MH_I2C_Read... [21:24:47]Read from MH i2c: E2 FD 00 35 74 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5B [21:24:47]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:24:47]wFMCommunicate OK [21:24:47]wFMCommunicate request_size=4 [21:24:47]MH_SAM_APDU [21:24:47]CAPDU: 80 17 00 00 [21:24:47]Write to MH i2c: E2 08 00 36 74 80 17 00 00 00 00 00 00 2A [21:24:47]Write i2c OK [21:24:47]MH_I2C_Read... [21:24:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:24:48]Read from MH i2c: E2 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 FD 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 FD 00 36 74 00 04 F7 03 00 00 EF 03 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 90 00 A5 [21:24:48]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [21:24:48]wFMCommunicate OK [21:24:48]wFMCommunicate request_size=4 [21:24:48]MH_SAM_APDU [21:24:48]CAPDU: 80 17 00 00 [21:24:48]Write to MH i2c: E2 08 00 37 74 80 17 00 00 00 00 00 00 2B [21:24:48]Write i2c OK [21:24:48]MH_I2C_Read... [21:24:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [21:24:48]Read from MH i2c: E2 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 DB 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 DB 00 37 74 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0D [21:24:48]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:24:48]wFMCommunicate OK [21:24:48]SAM_PROTO_GetFMData done [21:24:48]FM_GetFMData:85 04 BA 04 6E 04 04 00 5A 0A 00 00 69 04 9F 00 6F 04 04 00 51 0A 00 00 B1 04 04 00 41 C5 49 05 70 04 04 00 78 AC E1 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 C5 8F 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 1F FA 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 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 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:24:49]oper:6F 04 04 00 51 0A 00 00 B1 04 04 00 41 C5 49 05 70 04 04 00 78 AC E1 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 C5 8F 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 1F FA 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 [21:24:49]total:41 C5 49 05 [21:24:49]Malloc new data [21:24:49]oper:6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 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 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [21:24:49]total:80 19 02 [21:24:49]Malloc new data [21:24:49]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 [21:24:49]total: [21:24:49]Malloc new data [21:24:49]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 [21:24:50]total: [21:24:50]Malloc new data [21:24:50]KKMPrepareXReportFMData err=0 [21:24:50]Х отчет ИНН: 02508201610067 Кассир: Орумбаев Р. 20.10.2024 21:24 Смена: 10 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Всего чеков: 79 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 37844.47 Итого наличными: 16056.00 Итого безнал.: 21788.47 НДС 0% : 0.00 НДС 12% : 4018.80 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 334.81 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 90.00 Итого наличными: 90.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 9.56 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.80 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 15966.00 НС Приход: 887207.05 НС Возвр.Прихода: 1376.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000002342820 [21:24:50]StoreToDocumentArchive [21:24:50]MH_GetDate [21:24:50]Write to MH i2c: F0 00 00 38 74 9B [21:24:50]Write i2c OK [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: F0 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: F0 09 00 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: F0 09 00 38 74 00 32 75 15 67 5A BE F6 66 3B [21:24:50]shift 10 fd 1729459506 [21:24:50]Create dir for shift 0010 [21:24:50]save to /storage/0010/doc_1729459506 [21:24:50]save last doc name /storage/0010/doc_1729459506 to /storage/kkm_last_doc_name [21:24:50]save OK [21:24:50]Clear old archive folders... [21:24:50]NVStorageSaveData kkm_last_timestamp [21:24:50]File name is /storage/kkm_last_timestamp [21:24:50]Write 4 bytes [21:24:50]NVStorageSaveData done [21:24:50]ExternCall_PrintAddStr [21:24:50]wPrintStart [21:24:50]Write to MH i2c: 01 00 00 39 74 AD [21:24:50]Write i2c OK [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: 01 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: 01 07 00 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: 01 07 00 39 74 00 00 00 00 00 FF 0F C2 [21:24:50]RasterBufferAndPrint [21:24:50]line Х отчет [21:24:50]line ИНН: 02508201610067 [21:24:50]line Кассир: Орумбаев Р. [21:24:50]line 20.10.2024 21:24 [21:24:50]line Смена: 10 [21:24:50]line РНМ: 0000000000207295 [21:24:50]line ЗНМ: 0300000191 [21:24:50]line СНО: Общий режим [21:24:50]line Всего чеков: 79 [21:24:50]line ИТОГИ ПРИХОД [21:24:50]line Чеков: 78 [21:24:50]line Общий итог: 37844.47 [21:24:50]line Итого наличными: 16056.00 [21:24:50]line Итого безнал.: 21788.47 [21:24:50]line НДС 0% : 0.00 [21:24:50]line НДС 12% : 4018.80 [21:24:50]line НСП 0% : 0.00 [21:24:50]line НСП 1,50% : 0.00 [21:24:50]line НСП 0,50% : 0.00 [21:24:50]line НСП 5% : 0.00 [21:24:50]line НСП 3% : 0.00 [21:24:50]line НСП 2% : 0.00 [21:24:50]line НСП 1% : 334.81 [21:24:50]line ИТОГИ ВОЗВРАТ ПРИХОДА [21:24:50]line Чеков: 1 [21:24:50]line Общий итог: 90.00 [21:24:50]line Итого наличными: 90.00 [21:24:50]line Итого безнал.: 0.00 [21:24:50]line НДС 0% : 0.00 [21:24:50]line НДС 12% : 9.56 [21:24:50]line НСП 0% : 0.00 [21:24:50]line НСП 1,50% : 0.00 [21:24:50]line НСП 0,50% : 0.00 [21:24:50]line НСП 5% : 0.00 [21:24:50]line НСП 3% : 0.00 [21:24:50]line НСП 2% : 0.00 [21:24:50]line НСП 1% : 0.80 [21:24:50]line ИТОГИ РАСХОД [21:24:50]line Чеков: 0 [21:24:50]line Общий итог: 0.00 [21:24:50]line Итого наличными: 0.00 [21:24:50]line Итого безнал.: 0.00 [21:24:50]line НДС 0% : 0.00 [21:24:50]line НДС 12% : 0.00 [21:24:50]line НСП 0% : 0.00 [21:24:50]line НСП 1,50% : 0.00 [21:24:50]line НСП 0,50% : 0.00 [21:24:50]line НСП 5% : 0.00 [21:24:50]line НСП 3% : 0.00 [21:24:50]line НСП 2% : 0.00 [21:24:50]line НСП 1% : 0.00 [21:24:50]line ИТОГИ ВОЗВРАТ РАСХОДА [21:24:50]line Чеков: 0 [21:24:50]line Общий итог: 0.00 [21:24:50]line Итого наличными: 0.00 [21:24:50]line Итого безнал.: 0.00 [21:24:50]line НДС 0% : 0.00 [21:24:50]line НДС 12% : 0.00 [21:24:50]line НСП 0% : 0.00 [21:24:50]line НСП 1,50% : 0.00 [21:24:50]line НСП 0,50% : 0.00 [21:24:50]line НСП 5% : 0.00 [21:24:50]line НСП 3% : 0.00 [21:24:50]line НСП 2% : 0.00 [21:24:50]line НСП 1% : 0.00 [21:24:50]line Сумма внесений: 0.00 [21:24:50]line Сумма выплат: 0.00 [21:24:50]line Нал. в кассе: 15966.00 [21:24:50]line НС Приход: 887207.05 [21:24:50]line НС Возвр.Прихода: 1376.00 [21:24:50]line НС Расход: 0.00 [21:24:50]line НС Возвр.Расхода: 0.00 [21:24:50]line ФМ: 0000000002342820 [21:24:50]written 0, free lines is 4095 [21:24:50]Write to MH i2c: 01 00 00 84 74 F8 [21:24:50]Write i2c OK [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: 01 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: 01 07 00 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: 01 07 00 84 74 00 00 00 00 00 3C 0A 45 [21:24:50]RasterBufferAndPrint [21:24:50]line [21:24:50]line [21:24:50]line [21:24:50]line [21:24:50]line [21:24:50]written 0, free lines is 2651 [21:24:50]MH_Cut [21:24:50]Write to MH i2c: D1 01 00 8B 74 01 D1 [21:24:50]Write i2c OK [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: D1 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: D1 01 00 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: D1 01 00 8B 74 00 D0 [21:24:50]Write to MH i2c: 01 00 00 8C 74 00 [21:24:50]Write i2c OK [21:24:50]MH_I2C_Read... [21:24:52]*** Cut start [21:24:52]*** Partial cut [21:24:52]*** CUTSNS_PIN = 1 [21:24:52]*** CUTSNS_PIN = 0 [21:24:52]OFD Sender: No OFD packet to send [21:24:52]*** Brake cut motor [21:24:52]Read from MH i2c: 01 [21:24:52]MH_I2C_Read... [21:24:52]*** Stop cut motor [21:24:52]*** Cut end [21:24:52]Read from MH i2c: 01 07 00 [21:24:52]MH_I2C_Read... [21:24:52]Read from MH i2c: 01 07 00 8C 74 00 00 00 00 00 FF 0F 15 [21:24:52]process_action x_report done [21:24:52]requested_data is exist [21:24:52]produce_requested_data [21:24:52]requested_item fd.num is exist - process it [21:24:52]SAM_PROTO_GetFieldsCounters [21:24:52]wFMCommunicate request_size=4 [21:24:52]MH_SAM_APDU [21:24:52]CAPDU: 80 13 00 00 [21:24:52]Write to MH i2c: E2 08 00 8D 74 80 13 00 00 00 00 00 00 7D [21:24:52]Write i2c OK [21:24:52]MH_I2C_Read... [21:24:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:53]Read from MH i2c: E2 [21:24:53]MH_I2C_Read... [21:24:53]Read from MH i2c: E2 62 00 [21:24:53]MH_I2C_Read... [21:24:53]Read from MH i2c: E2 62 00 8D 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 2C [21:24:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8A 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:24:53]wFMCommunicate OK [21:24:53]SAM_PROTO_GetFieldsCounters done [21:24:53]requested_item shift.num is exist - process it [21:24:53]requested_item shift.opened is exist - process it [21:24:53]req_shift_opened [21:24:53]FM_GetShiftState [21:24:53]SAM_PROTO_GetShiftState [21:24:53]wFMCommunicate request_size=4 [21:24:53]MH_SAM_APDU [21:24:53]CAPDU: 80 13 01 00 [21:24:53]Write to MH i2c: E2 08 00 8E 74 80 13 01 00 00 00 00 00 7F [21:24:53]Write i2c OK [21:24:53]MH_I2C_Read... [21:24:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:53]Read from MH i2c: E2 [21:24:53]MH_I2C_Read... [21:24:53]Read from MH i2c: E2 0E 00 [21:24:53]MH_I2C_Read... [21:24:53]Read from MH i2c: E2 0E 00 8E 74 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 69 [21:24:53]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:24:53]wFMCommunicate OK [21:24:53]SAM_PROTO_GetShiftState done [21:24:53]FM_GetShiftState done [21:24:53]req_shift_opened done [21:24:53]requested_item shift.open_date is exist - process it [21:24:53]req_shift_open_date [21:24:53]req_shift_open_date done [21:24:53]produce_requested_data done [21:24:53]produce_requested_data return {"fd.num":2698,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:24:53]process_action_free x_report [21:24:53]json_value_free [21:24:53]json_value_free done [21:24:53]process_json_proto returns [21:24:53]Send response to host [21:24:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2698,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:24:53]free response buf [21:24:53]execute_script done [21:24:53]execute_script returns [21:24:53]free content buf [21:24:53]Sock 7.Close socket [21:24:53]Sock 7.Thread stoped [21:24:57]OFD Sender: No OFD packet to send [21:25:02]OFD Sender: No OFD packet to send [21:25:07]OFD Sender: No OFD packet to send [21:25:12]OFD Sender: No OFD packet to send [21:25:17]OFD Sender: No OFD packet to send [21:25:22]OFD Sender: No OFD packet to send [21:25:27]OFD Sender: No OFD packet to send [21:25:32]OFD Sender: No OFD packet to send [21:25:37]OFD Sender: No OFD packet to send [21:25:42]OFD Sender: No OFD packet to send [21:25:47]OFD Sender: No OFD packet to send [21:25:52]OFD Sender: No OFD packet to send [21:25:57]OFD Sender: No OFD packet to send [21:26:02]OFD Sender: No OFD packet to send [21:26:07]OFD Sender: No OFD packet to send [21:26:12]OFD Sender: No OFD packet to send [21:26:17]OFD Sender: No OFD packet to send [21:26:22]OFD Sender: No OFD packet to send [21:26:27]OFD Sender: No OFD packet to send [21:26:32]OFD Sender: No OFD packet to send [21:26:37]OFD Sender: No OFD packet to send [21:26:42]OFD Sender: No OFD packet to send [21:26:47]OFD Sender: No OFD packet to send [21:26:52]OFD Sender: No OFD packet to send [21:26:57]OFD Sender: No OFD packet to send [21:27:02]OFD Sender: No OFD packet to send [21:27:07]OFD Sender: No OFD packet to send [21:27:12]OFD Sender: No OFD packet to send [21:27:17]OFD Sender: No OFD packet to send [21:27:22]OFD Sender: No OFD packet to send [21:27:27]OFD Sender: No OFD packet to send [21:27:32]OFD Sender: No OFD packet to send [21:27:37]OFD Sender: No OFD packet to send [21:27:42]OFD Sender: No OFD packet to send [21:27:47]OFD Sender: No OFD packet to send [21:27:52]OFD Sender: No OFD packet to send [21:27:57]OFD Sender: No OFD packet to send [21:28:02]OFD Sender: No OFD packet to send [21:28:07]OFD Sender: No OFD packet to send [21:28:12]OFD Sender: No OFD packet to send [21:28:17]OFD Sender: No OFD packet to send [21:28:22]OFD Sender: No OFD packet to send [21:28:27]OFD Sender: No OFD packet to send [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]OFD Sender: No OFD packet to send [21:30:47]OFD Sender: No OFD packet to send [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:22]OFD Sender: No OFD packet to send [21:32:27]OFD Sender: No OFD packet to send [21:32:32]OFD Sender: No OFD packet to send [21:32:37]OFD Sender: No OFD packet to send [21:32:42]OFD Sender: No OFD packet to send [21:32:47]OFD Sender: No OFD packet to send [21:32:52]OFD Sender: No OFD packet to send [21:32:57]OFD Sender: No OFD packet to send [21:33:02]OFD Sender: No OFD packet to send [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:35:57]OFD Sender: No OFD packet to send [21:36:02]OFD Sender: No OFD packet to send [21:36:07]OFD Sender: No OFD packet to send [21:36:12]OFD Sender: No OFD packet to send [21:36:17]OFD Sender: No OFD packet to send [21:36:22]OFD Sender: No OFD packet to send [21:36:27]OFD Sender: No OFD packet to send [21:36:32]OFD Sender: No OFD packet to send [21:36:37]OFD Sender: No OFD packet to send [21:36:42]OFD Sender: No OFD packet to send [21:36:47]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]OFD Sender: No OFD packet to send [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:13]OFD Sender: No OFD packet to send [21:40:18]OFD Sender: No OFD packet to send [21:40:23]OFD Sender: No OFD packet to send [21:40:28]OFD Sender: No OFD packet to send [21:40:33]OFD Sender: No OFD packet to send [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:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:47]accept exits with 9 [21:45:47]New connection [21:45:47]New thread 3066707300 created [21:45:47]Thread 3066850660 joined [21:45:47]Waiting for new connection... [21:45:47] Sock 9.Parse request [21:45:47]Sock 9.Check first char [21:45:47]Sock 9.First char is OK [21:45:47]request: POST /json_proto HTTP/1.0 [21:45:47]Method: POST [21:45:47]URL: /json_proto [21:45:47]Method is POST - this is cgi request [21:45:47]url: /json_proto [21:45:47]query_string will be loaded in cgi processing [21:45:47]execute_cgi json_proto POST (null) [21:45:47]execute_cgi path=json_proto method=POST [21:45:47]POST find Content-Length [21:45:47]Host: 172.17.52.132:8080 [21:45:47]Content-Length: 1214 [21:45:47]Content-Type: application/json [21:45:47] [21:45:47]POST finish read [21:45:47]Found Content-Length = 1214 [21:45:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100076", "tax_sys" : 0, "items" : [ { "code": "4700001061098", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,5\u043B", "price" : 555.00, "quantity" : 1.000, "sum" : 555.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 819.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:45:47]execute_script... [21:45:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100076", "tax_sys" : 0, "items" : [ { "code": "4700001061098", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,5\u043B", "price" : 555.00, "quantity" : 1.000, "sum" : 555.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 819.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:45:47]POST & json_proto [21:45:47]process_json_proto [21:45:47]json parsed OK: [21:45:47]protocol is kg_v1.0 [21:45:47]action value=close_receipt [21:45:47]process_action close_receipt [21:45:47]cmd_close_receipt [21:45:47]MH_GetDate [21:45:47]Write to MH i2c: F0 00 00 8F 74 F2 [21:45:47]Write i2c OK [21:45:47]MH_I2C_Read... [21:45:47]Read from MH i2c: F0 [21:45:47]MH_I2C_Read... [21:45:47]Read from MH i2c: F0 09 00 [21:45:47]MH_I2C_Read... [21:45:47]Read from MH i2c: F0 09 00 8F 74 00 1C 7A 15 67 5A BE F6 66 81 [21:45:47]GetLastDocTimeStamp 1729459498 [21:45:47]current date 1729460764 [21:45:47]FM_GetShiftState [21:45:47]SAM_PROTO_GetShiftState [21:45:47]wFMCommunicate request_size=4 [21:45:47]MH_SAM_APDU [21:45:47]CAPDU: 80 13 01 00 [21:45:47]Write to MH i2c: E2 08 00 90 74 80 13 01 00 00 00 00 00 81 [21:45:47]Write i2c OK [21:45:47]MH_I2C_Read... [21:45:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:45:47]Read from MH i2c: E2 [21:45:47]MH_I2C_Read... [21:45:47]Read from MH i2c: E2 0E 00 [21:45:47]MH_I2C_Read... [21:45:47]Read from MH i2c: E2 0E 00 90 74 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 6B [21:45:47]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:45:47]wFMCommunicate OK [21:45:47]SAM_PROTO_GetShiftState done [21:45:47]FM_GetShiftState done [21:45:47]opened in 1729382427 [21:45:47]opened+sec_in_day 1729468827 [21:45:47]quantity*price = 55500 [21:45:47]sum+1 = 55501 [21:45:47]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745291 Сигареты Parliament SOHO NYC COMPACT BLU 1.000 * 139.00 = 139.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202522701 Напиток Maxi Чай черный Малина 1,2 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 819.00 НСП 1% : 7.25 НДС 12% : 86.97 Наличными: 819.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 80 20.10.2024 21:46 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2699 ФПД: 213076951983665 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214604&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2699&fm=213076951983665&tin=02508201610067®Number=0000000000207295&sum=81900 0 [21:45:48]StoreToDocumentArchive [21:45:48]shift 24 fd 2699 [21:45:48]save to /storage/0024/doc_00002699 [21:45:48]save last doc name /storage/0024/doc_00002699 to /storage/kkm_last_doc_name [21:45:48]save OK [21:45:48]Clear old archive folders... [21:45:48]Remove dir /storage/0010 [21:45:48]opendir ok [21:45:48]file . [21:45:48]file .. [21:45:48]file doc_1729459506 [21:45:48]remove file /storage/0010/doc_1729459506 [21:45:48]remove dir /storage/0010 [21:45:48]ProcessDocumentItem done err = 0, tmpTLVsize=518 [21:45:48]tlvbuf is 014C1C40 [21:45:48]SAM_PROTO_ClearQueue [21:45:48]wFMCommunicate request_size=4 [21:45:48]MH_SAM_APDU [21:45:48]CAPDU: 80 09 00 00 [21:45:48]Write to MH i2c: E2 08 00 9D 74 80 09 00 00 00 00 00 00 83 [21:45:48]Write i2c OK [21:45:48]MH_I2C_Read... [21:45:48]OFD Sender: No OFD packet to send [21:45:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:45:48]Read from MH i2c: E2 [21:45:48]MH_I2C_Read... [21:45:48]Read from MH i2c: E2 03 00 [21:45:48]MH_I2C_Read... [21:45:48]Read from MH i2c: E2 03 00 9D 74 00 90 00 85 [21:45:48]RAPDU: 90 00 [21:45:48]wFMCommunicate OK [21:45:48]SAM_PROTO_ClearQueue done [21:45:48]KKMCreateOFDPacket [21:45:48]OFDProtocolAddRootSTLVToBuf [21:45:48]FM_MakeSignedData [21:45:48]FM_MakeSignedData [21:45:48]SAM_PROTO_SignData [21:45:48]wFMCommunicate request_size=4 [21:45:48]MH_SAM_APDU [21:45:48]CAPDU: 80 0D 01 02 [21:45:48]Write to MH i2c: E2 08 00 9E 74 80 0D 01 02 00 00 00 00 8B [21:45:48]Write i2c OK [21:45:48]MH_I2C_Read... [21:45:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:45:48]Read from MH i2c: E2 [21:45:48]MH_I2C_Read... [21:45:48]Read from MH i2c: E2 03 00 [21:45:48]MH_I2C_Read... [21:45:48]Read from MH i2c: E2 03 00 9E 74 00 90 00 86 [21:45:48]RAPDU: 90 00 [21:45:48]wFMCommunicate OK [21:45:48]wFMCommunicate request_size=255 [21:45:48]MH_SAM_APDU [21:45:48]CAPDU: 80 0D 02 02 FA 03 00 06 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 30 39 38 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC D8 00 00 00 00 13 04 06 00 CC D8 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 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 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 38 37 30 32 30 32 35 32 32 37 30 31 [21:45:48]Write to MH i2c: E2 02 01 9F 74 80 0D 02 02 FA 00 03 00 06 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 30 39 38 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC D8 00 00 00 00 13 04 06 00 CC D8 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 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 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 38 37 30 32 30 32 35 32 32 37 30 31 00 00 A6 [21:45:48]Write i2c OK [21:45:48]MH_I2C_Read... [21:45:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:45:49]Read from MH i2c: E2 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 03 00 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 03 00 9F 74 00 90 00 87 [21:45:49]RAPDU: 90 00 [21:45:49]wFMCommunicate OK [21:45:49]wFMCommunicate request_size=255 [21:45:49]MH_SAM_APDU [21:45:49]CAPDU: 80 0D 02 02 FA 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 EC 3F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 21 00 00 00 00 07 04 06 00 EC 3F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 1C 7A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 [21:45:49]Write to MH i2c: E2 02 01 A0 74 80 0D 02 02 FA 00 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 EC 3F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 21 00 00 00 00 07 04 06 00 EC 3F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 1C 7A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 00 00 07 [21:45:49]Write i2c OK [21:45:49]MH_I2C_Read... [21:45:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:45:49]Read from MH i2c: E2 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 03 00 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 03 00 A0 74 00 90 00 88 [21:45:49]RAPDU: 90 00 [21:45:49]wFMCommunicate OK [21:45:49]wFMCommunicate request_size=27 [21:45:49]MH_SAM_APDU [21:45:49]CAPDU: 80 0D 02 02 16 32 38 32 30 10 04 04 00 8B 0A 00 00 35 04 06 00 C1 CA D8 08 66 31 [21:45:49]Write to MH i2c: E2 1E 00 A1 74 80 0D 02 02 16 00 32 38 32 30 10 04 04 00 8B 0A 00 00 35 04 06 00 C1 CA D8 08 66 31 00 00 75 [21:45:49]Write i2c OK [21:45:49]MH_I2C_Read... [21:45:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:45:49]Read from MH i2c: E2 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 03 00 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 03 00 A1 74 00 90 00 89 [21:45:49]RAPDU: 90 00 [21:45:49]wFMCommunicate OK [21:45:49]wFMCommunicate request_size=4 [21:45:49]MH_SAM_APDU [21:45:49]CAPDU: 80 0D 03 02 [21:45:49]Write to MH i2c: E2 08 00 A2 74 80 0D 03 02 00 00 00 00 91 [21:45:49]Write i2c OK [21:45:49]MH_I2C_Read... [21:45:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:45:49]Read from MH i2c: E2 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 0B 00 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 0B 00 A2 74 00 4F A3 73 15 95 31 FA 31 90 00 FD [21:45:49]RAPDU: 4F A3 73 15 95 31 FA 31 90 00 [21:45:49]wFMCommunicate OK [21:45:49]SAM_PROTO_SignData done [21:45:49]FM_MakeSignedData done [21:45:49]CreateOFDProtocolMessage [21:45:49]wFMCommunicate request_size=4 [21:45:49]MH_SAM_APDU [21:45:49]CAPDU: 80 11 00 00 [21:45:49]Write to MH i2c: E2 08 00 A3 74 80 11 00 00 00 00 00 00 91 [21:45:49]Write i2c OK [21:45:49]MH_I2C_Read... [21:45:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:45:49]Read from MH i2c: E2 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 17 00 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: E2 17 00 A3 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D9 [21:45:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:45:49]wFMCommunicate OK [21:45:49]CreateOFDProtocolMessage done [21:45:49]OFDSenderStorePacket 2699 [21:45:49]StoreOFDPacket docnum=2699 [21:45:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1A 02 00 00 8D E8 12 02 B5 64 5A 03 01 00 03 00 06 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 30 39 38 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC D8 00 00 00 00 13 04 06 00 CC D8 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 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 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 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 EC 3F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 21 00 00 00 00 07 04 06 00 EC 3F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 1C 7A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8B 0A 00 00 35 04 06 00 C1 CA D8 08 66 31 4F A3 73 15 95 31 FA 31 [21:45:49]CheckFolder [21:45:49]dirname=/storage/ofd_packets [21:45:49]CheckFolder done [21:45:49]ProducePacketName [21:45:49]name=ofd_packets/00002699 [21:45:49]NVStorageSaveData ofd_packets/00002699 [21:45:49]File name is /storage/ofd_packets/00002699 [21:45:49]Write 568 bytes [21:45:49]NVStorageSaveData done [21:45:49]OFDSenderStorePacket done [21:45:49]KKMCreateOFDPacket done [21:45:49]NVStorageSaveData kkm_last_timestamp [21:45:49]File name is /storage/kkm_last_timestamp [21:45:49]Write 4 bytes [21:45:49]NVStorageSaveData done [21:45:49]ExternCall_PrintAddStr [21:45:49]wPrintStart [21:45:49]Write to MH i2c: 01 00 00 A4 74 18 [21:45:49]Write i2c OK [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: 01 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: 01 07 00 [21:45:49]MH_I2C_Read... [21:45:49]Read from MH i2c: 01 07 00 A4 74 00 00 00 00 00 FF 0F 2D [21:45:49]RasterBufferAndPrint [21:45:49]line Счет N : (3)100076 [21:45:49]line ИНН: 02508201610067 [21:45:49]line Контрольно-Кассовый Чек [21:45:49]line ПРОДАЖА [21:45:49]line Товар: 4700001061098 [21:45:49]line Коньяк Семетей 0,5л [21:45:49]line 1.000 * 555.00 [21:45:49]line = 555.00 [21:45:49]line НДС 12% НСП 1% [21:45:49]line > о реализуемом товаре [21:45:49]line Товар: 48745291 [21:45:49]line Сигареты Parliament SOHO NYC COMPACT BLU [21:45:49]line 1.000 * 139.00 [21:45:49]line = 139.00 [21:45:49]line НДС 12% НСП 1% [21:45:49]line > о реализуемом товаре [21:45:49]line Товар: 4870202522701 [21:45:49]line Напиток Maxi Чай черный Малина 1,2 [21:45:49]line 1.000 * 125.00 [21:45:49]line = 125.00 [21:45:49]line НДС 12% НСП 1% [21:45:49]line > о реализуемом товаре [21:45:49]line ИТОГО: 819.00 [21:45:49]line НСП 1% : 7.25 [21:45:49]line НДС 12% : 86.97 [21:45:49]line Наличными: 819.00 [21:45:49]line Безнал.: 0.00 [21:45:49]line Место: АЗС № 162 "Партнер Нефть" [21:45:49]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:45:49]line СНО: Общий режим [21:45:49]line Чек 80 20.10.2024 21:46 [21:45:49]line Смена: 24 ФФД: 1.0 [21:45:49]line ЗНМ: 0300000191 [21:45:49]line РНМ: 0000000000207295 [21:45:49]line Версия ККМ: v1.0 [21:45:49]line ФМ: 0000000002342820 [21:45:49]line ФД: 2699 [21:45:49]line ФПД: 213076951983665 [21:45:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214604&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2699&fm=213076951983665&tin=02508201610067®Number=0000000000207295&sum=81900 [21:45:49]line 0 [21:45:49]written 0, free lines is 4095 [21:45:49]OFD Sender: Processing packet 2699 [packets to send 1, broken 0] [21:45:49]ProducePacketName [21:45:49]name=ofd_packets/00002699 [21:45:49]OFD Sender: To server: pG, [21:45:49]CommunicateWithHost lk.salyk.kg:30040 [21:45:49]ConnectInit lk.salyk.kg [21:45:49]Connected sock=10 [21:45:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1A 02 00 00 8D E8 12 02 B5 64 5A 03 01 00 03 00 06 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 30 39 38 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC D8 00 00 00 00 13 04 06 00 CC D8 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 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 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 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 EC 3F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 21 00 00 00 00 07 04 06 00 EC 3F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 1C 7A 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8B 0A 00 00 35 04 06 00 C1 CA D8 08 66 31 4F A3 73 15 95 31 FA 31 [21:45:50]Write to MH i2c: 01 00 00 DA 74 4E [21:45:50]Write i2c OK [21:45:50]MH_I2C_Read... [21:45:50]Read from MH i2c: 01 [21:45:50]MH_I2C_Read... [21:45:50]Read from MH i2c: 01 07 00 [21:45:50]MH_I2C_Read... [21:45:50]Read from MH i2c: 01 07 00 DA 74 00 00 00 00 00 DE 0B 3E [21:45:50]RasterBufferAndPrint [21:45:50]line [21:45:50]line [21:45:50]line [21:45:50]line [21:45:50]line [21:45:50]written 0, free lines is 3044 [21:45:50]MH_Cut [21:45:50]Write to MH i2c: D1 01 00 E1 74 01 27 [21:45:50]Write i2c OK [21:45:50]MH_I2C_Read... [21:45:50]Read from MH i2c: D1 [21:45:50]MH_I2C_Read... [21:45:50]Read from MH i2c: D1 01 00 [21:45:50]MH_I2C_Read... [21:45:50]Read from MH i2c: D1 01 00 E1 74 00 26 [21:45:50]Write to MH i2c: 01 00 00 E2 74 56 [21:45:50]Write i2c OK [21:45:50]MH_I2C_Read... [21:45:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 E2 13 47 00 F6 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 33 34 32 38 32 30 10 04 04 00 8B 0A 00 00 F4 03 04 00 79 25 15 67 B6 04 01 00 00 82 3C 13 0A CE BF C7 6D [21:45:50]CommunicateWithHost err = 0 [21:45:50]CheckOFDResponse [21:45:50]1017 (14) - 77093643461234 [21:45:50]1041 (16) - 0000000002342820 [21:45:50]1040 (4) - 2699 [21:45:50]1012 (4) - 20.10.2024 15:44 [21:45:50]1206 (1) - 0 [21:45:50]OFD Sender: Remove packet 2699 [21:45:50]ProducePacketName [21:45:50]name=ofd_packets/00002699 [21:45:50]NVStorageDeleteData [21:45:50]OFD Sender: No OFD packet to send [21:45:51]*** Cut start [21:45:51]*** Partial cut [21:45:51]*** CUTSNS_PIN = 1 [21:45:51]*** CUTSNS_PIN = 0 [21:45:51]*** Brake cut motor [21:45:51]Read from MH i2c: 01 [21:45:51]MH_I2C_Read... [21:45:51]*** Stop cut motor [21:45:51]*** Cut end [21:45:51]Read from MH i2c: 01 07 00 [21:45:51]MH_I2C_Read... [21:45:51]Read from MH i2c: 01 07 00 E2 74 00 00 00 00 00 FF 0F 6B [21:45:51]process_action close_receipt done [21:45:51]requested_data is exist [21:45:51]produce_requested_data [21:45:51]requested_item fm.sn is exist - process it [21:45:51]wFMCommunicate request_size=4 [21:45:51]MH_SAM_APDU [21:45:51]CAPDU: 80 11 00 00 [21:45:51]Write to MH i2c: E2 08 00 E3 74 80 11 00 00 00 00 00 00 D1 [21:45:51]Write i2c OK [21:45:51]MH_I2C_Read... [21:45:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:45:51]Read from MH i2c: E2 [21:45:51]MH_I2C_Read... [21:45:51]Read from MH i2c: E2 17 00 [21:45:51]MH_I2C_Read... [21:45:51]Read from MH i2c: E2 17 00 E3 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 19 [21:45:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:45:51]wFMCommunicate OK [21:45:51]requested_item fd.num is exist - process it [21:45:51]SAM_PROTO_GetFieldsCounters [21:45:51]wFMCommunicate request_size=4 [21:45:51]MH_SAM_APDU [21:45:51]CAPDU: 80 13 00 00 [21:45:51]Write to MH i2c: E2 08 00 E4 74 80 13 00 00 00 00 00 00 D4 [21:45:51]Write i2c OK [21:45:51]MH_I2C_Read... [21:45:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:45:52]Read from MH i2c: E2 [21:45:52]MH_I2C_Read... [21:45:52]Read from MH i2c: E2 62 00 [21:45:52]MH_I2C_Read... [21:45:52]Read from MH i2c: E2 62 00 E4 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [21:45:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:45:52]wFMCommunicate OK [21:45:52]SAM_PROTO_GetFieldsCounters done [21:45:52]requested_item shift.num is exist - process it [21:45:52]requested_item shift.opened is exist - process it [21:45:52]req_shift_opened [21:45:52]FM_GetShiftState [21:45:52]SAM_PROTO_GetShiftState [21:45:52]wFMCommunicate request_size=4 [21:45:52]MH_SAM_APDU [21:45:52]CAPDU: 80 13 01 00 [21:45:52]Write to MH i2c: E2 08 00 E5 74 80 13 01 00 00 00 00 00 D6 [21:45:52]Write i2c OK [21:45:52]MH_I2C_Read... [21:45:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:45:52]Read from MH i2c: E2 [21:45:52]MH_I2C_Read... [21:45:52]Read from MH i2c: E2 0E 00 [21:45:52]MH_I2C_Read... [21:45:52]Read from MH i2c: E2 0E 00 E5 74 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C0 [21:45:52]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:45:52]wFMCommunicate OK [21:45:52]SAM_PROTO_GetShiftState done [21:45:52]FM_GetShiftState done [21:45:52]req_shift_opened done [21:45:52]requested_item shift.open_date is exist - process it [21:45:52]req_shift_open_date [21:45:52]req_shift_open_date done [21:45:52]produce_requested_data done [21:45:52]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2699,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:45:52]process_action_free close_receipt [21:45:52]json_value_free [21:45:52]json_value_free done [21:45:52]process_json_proto returns [21:45:52]Send response to host [21:45:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2699,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:45:52]free response buf [21:45:52]execute_script done [21:45:52]execute_script returns [21:45:52]free content buf [21:45:52]Sock 9.Close socket [21:45:52]Sock 9.Thread stoped [21:45:55]OFD Sender: No OFD packet to send [21:46:00]OFD Sender: No OFD packet to send [21:46:05]OFD Sender: No OFD packet to send [21:46:10]OFD Sender: No OFD packet to send [21:46:11]accept exits with 7 [21:46:11]New connection [21:46:11]New thread 3066850660 created [21:46:11]Thread 3066707300 joined [21:46:11]Waiting for new connection... [21:46:11] Sock 7.Parse request [21:46:11]Sock 7.Check first char [21:46:11]Sock 7.First char is OK [21:46:11]request: POST /json_proto HTTP/1.0 [21:46:11]Method: POST [21:46:11]URL: /json_proto [21:46:11]Method is POST - this is cgi request [21:46:11]url: /json_proto [21:46:11]query_string will be loaded in cgi processing [21:46:11]execute_cgi json_proto POST (null) [21:46:11]execute_cgi path=json_proto method=POST [21:46:11]POST find Content-Length [21:46:11]Host: 172.17.52.132:8080 [21:46:11]Content-Length: 215 [21:46:11]Content-Type: application/json [21:46:11] [21:46:11]POST finish read [21:46:11]Found Content-Length = 215 [21:46:11]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" ] } } [21:46:11]execute_script... [21:46:11]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" ] } } [21:46:11]POST & json_proto [21:46:11]process_json_proto [21:46:11]json parsed OK: [21:46:11]protocol is kg_v1.0 [21:46:11]action value=get_value [21:46:11]process_action get_value [21:46:11]cmd_get_value [21:46:11]process_action get_value done [21:46:11]requested_data is exist [21:46:11]produce_requested_data [21:46:11]requested_item kkm.sn is exist - process it [21:46:11]requested_item kkm.ver is exist - process it [21:46:11]requested_item fm.sn is exist - process it [21:46:11]wFMCommunicate request_size=4 [21:46:11]MH_SAM_APDU [21:46:11]CAPDU: 80 11 00 00 [21:46:11]Write to MH i2c: E2 08 00 E6 74 80 11 00 00 00 00 00 00 D4 [21:46:11]Write i2c OK [21:46:11]MH_I2C_Read... [21:46:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:46:12]Read from MH i2c: E2 [21:46:12]MH_I2C_Read... [21:46:12]Read from MH i2c: E2 17 00 [21:46:12]MH_I2C_Read... [21:46:12]Read from MH i2c: E2 17 00 E6 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1C [21:46:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:46:12]wFMCommunicate OK [21:46:12]requested_item fd.num is exist - process it [21:46:12]SAM_PROTO_GetFieldsCounters [21:46:12]wFMCommunicate request_size=4 [21:46:12]MH_SAM_APDU [21:46:12]CAPDU: 80 13 00 00 [21:46:12]Write to MH i2c: E2 08 00 E7 74 80 13 00 00 00 00 00 00 D7 [21:46:12]Write i2c OK [21:46:12]MH_I2C_Read... [21:46:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:46:12]Read from MH i2c: E2 [21:46:12]MH_I2C_Read... [21:46:12]Read from MH i2c: E2 62 00 [21:46:12]MH_I2C_Read... [21:46:12]Read from MH i2c: E2 62 00 E7 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 8A [21:46:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:46:12]wFMCommunicate OK [21:46:12]SAM_PROTO_GetFieldsCounters done [21:46:12]requested_item shift.num is exist - process it [21:46:12]requested_item shift.opened is exist - process it [21:46:12]req_shift_opened [21:46:12]FM_GetShiftState [21:46:12]SAM_PROTO_GetShiftState [21:46:12]wFMCommunicate request_size=4 [21:46:12]MH_SAM_APDU [21:46:12]CAPDU: 80 13 01 00 [21:46:12]Write to MH i2c: E2 08 00 E8 74 80 13 01 00 00 00 00 00 D9 [21:46:12]Write i2c OK [21:46:12]MH_I2C_Read... [21:46:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:46:12]Read from MH i2c: E2 [21:46:12]MH_I2C_Read... [21:46:12]Read from MH i2c: E2 0E 00 [21:46:12]MH_I2C_Read... [21:46:12]Read from MH i2c: E2 0E 00 E8 74 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C3 [21:46:12]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:46:12]wFMCommunicate OK [21:46:12]SAM_PROTO_GetShiftState done [21:46:12]FM_GetShiftState done [21:46:12]req_shift_opened done [21:46:12]requested_item shift.open_date is exist - process it [21:46:12]req_shift_open_date [21:46:12]req_shift_open_date done [21:46:12]produce_requested_data done [21:46:12]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2699,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:46:12]process_action_free get_value [21:46:12]json_value_free [21:46:12]json_value_free done [21:46:12]process_json_proto returns [21:46:12]Send response to host [21:46:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2699,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:46:12]free response buf [21:46:12]execute_script done [21:46:12]execute_script returns [21:46:12]free content buf [21:46:12]Sock 7.Close socket [21:46:12]Sock 7.Thread stoped [21:46:12]accept exits with 9 [21:46:12]New connection [21:46:12]New thread 3066707300 created [21:46:12]Thread 3066850660 joined [21:46:12]Waiting for new connection... [21:46:12] Sock 9.Parse request [21:46:12]Sock 9.Check first char [21:46:12]Sock 9.First char is OK [21:46:12]request: POST /json_proto HTTP/1.0 [21:46:12]Method: POST [21:46:12]URL: /json_proto [21:46:12]Method is POST - this is cgi request [21:46:12]url: /json_proto [21:46:12]query_string will be loaded in cgi processing [21:46:12]execute_cgi json_proto POST (null) [21:46:12]execute_cgi path=json_proto method=POST [21:46:12]POST find Content-Length [21:46:12]Host: 172.17.52.132:8080 [21:46:12]Content-Length: 331 [21:46:12]Content-Type: application/json [21:46:12] [21:46:12]POST finish read [21:46:12]Found Content-Length = 331 [21:46:12]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" ] } } [21:46:12]execute_script... [21:46:12]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" ] } } [21:46:12]POST & json_proto [21:46:12]process_json_proto [21:46:12]json parsed OK: [21:46:12]protocol is kg_v1.0 [21:46:12]action value=get_value [21:46:12]process_action get_value [21:46:12]cmd_get_value [21:46:12]process_action get_value done [21:46:12]requested_data is exist [21:46:12]produce_requested_data [21:46:12]requested_item fm.sale.total is exist - process it [21:46:12]SAM_PROTO_GetFMData [21:46:12]wFMCommunicate request_size=4 [21:46:12]MH_SAM_APDU [21:46:12]CAPDU: 80 13 03 00 [21:46:12]Write to MH i2c: E2 08 00 E9 74 80 13 03 00 00 00 00 00 DC [21:46:12]Write i2c OK [21:46:12]MH_I2C_Read... [21:46:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:46:12]Read from MH i2c: E2 [21:46:12]MH_I2C_Read... [21:46:12]Read from MH i2c: E2 FD 00 [21:46:12]MH_I2C_Read... [21:46:12]Read from MH i2c: E2 FD 00 E9 74 00 BE 04 85 04 BA 04 6E 04 04 00 5B 0A 00 00 69 04 9F 00 6F 04 04 00 52 0A 00 00 B1 04 04 00 2D 05 4B 05 70 04 04 00 64 EC E2 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 E7 8F 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 F4 FC 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 F4 [21:46:12]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 5B 0A 00 00 69 04 9F 00 6F 04 04 00 52 0A 00 00 B1 04 04 00 2D 05 4B 05 70 04 04 00 64 EC E2 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 E7 8F 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 F4 FC 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [21:46:12]wFMCommunicate OK [21:46:12]wFMCommunicate request_size=4 [21:46:12]MH_SAM_APDU [21:46:12]CAPDU: 80 17 00 00 [21:46:12]Write to MH i2c: E2 08 00 EA 74 80 17 00 00 00 00 00 00 DE [21:46:12]Write i2c OK [21:46:12]MH_I2C_Read... [21:46:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:13]Read from MH i2c: E2 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 FD 00 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 FD 00 EA 74 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 43 [21:46:13]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:13]wFMCommunicate OK [21:46:13]wFMCommunicate request_size=4 [21:46:13]MH_SAM_APDU [21:46:13]CAPDU: 80 17 00 00 [21:46:13]Write to MH i2c: E2 08 00 EB 74 80 17 00 00 00 00 00 00 DF [21:46:13]Write i2c OK [21:46:13]MH_I2C_Read... [21:46:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:13]Read from MH i2c: E2 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 FD 00 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 FD 00 EB 74 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 11 [21:46:13]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:13]wFMCommunicate OK [21:46:13]wFMCommunicate request_size=4 [21:46:13]MH_SAM_APDU [21:46:13]CAPDU: 80 17 00 00 [21:46:13]Write to MH i2c: E2 08 00 EC 74 80 17 00 00 00 00 00 00 E0 [21:46:13]Write i2c OK [21:46:13]MH_I2C_Read... [21:46:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:13]Read from MH i2c: E2 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 FD 00 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 FD 00 EC 74 00 04 F7 03 00 00 EF 03 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 90 00 5B [21:46:13]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [21:46:13]wFMCommunicate OK [21:46:13]wFMCommunicate request_size=4 [21:46:13]MH_SAM_APDU [21:46:13]CAPDU: 80 17 00 00 [21:46:13]Write to MH i2c: E2 08 00 ED 74 80 17 00 00 00 00 00 00 E1 [21:46:13]Write i2c OK [21:46:13]MH_I2C_Read... [21:46:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [21:46:13]Read from MH i2c: E2 [21:46:13]MH_I2C_Read... [21:46:13]Read from MH i2c: E2 DB 00 [21:46:13]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 DB 00 ED 74 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C3 [21:46:14]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:46:14]wFMCommunicate OK [21:46:14]SAM_PROTO_GetFMData done [21:46:14]requested_item fm.sale_refund.total is exist - process it [21:46:14]requested_item fm.buy.total is exist - process it [21:46:14]requested_item shift.sale.total is exist - process it [21:46:14]SAM_PROTO_GetShiftData [21:46:14]wFMCommunicate request_size=4 [21:46:14]MH_SAM_APDU [21:46:14]CAPDU: 80 13 02 00 [21:46:14]Write to MH i2c: E2 08 00 EE 74 80 13 02 00 00 00 00 00 E0 [21:46:14]Write i2c OK [21:46:14]MH_I2C_Read... [21:46:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:46:14]Read from MH i2c: E2 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 EE 74 00 B5 04 AA 04 B1 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 EB FE 3A 70 04 03 00 CC BF 19 72 04 03 00 1F 3F 21 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 D1 43 06 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 9E 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 48 [21:46:14]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 EB FE 3A 70 04 03 00 CC BF 19 72 04 03 00 1F 3F 21 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 D1 43 06 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 9E 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [21:46:14]wFMCommunicate OK [21:46:14]wFMCommunicate request_size=4 [21:46:14]MH_SAM_APDU [21:46:14]CAPDU: 80 17 00 00 [21:46:14]Write to MH i2c: E2 08 00 EF 74 80 17 00 00 00 00 00 00 E3 [21:46:14]Write i2c OK [21:46:14]MH_I2C_Read... [21:46:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:14]Read from MH i2c: E2 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 [21:46:14]MH_I2C_Read... [21:46:14]Read from MH i2c: E2 FD 00 EF 74 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 49 [21:46:14]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:14]wFMCommunicate OK [21:46:14]wFMCommunicate request_size=4 [21:46:14]MH_SAM_APDU [21:46:14]CAPDU: 80 17 00 00 [21:46:14]Write to MH i2c: E2 08 00 F0 74 80 17 00 00 00 00 00 00 E4 [21:46:14]Write i2c OK [21:46:14]MH_I2C_Read... [21:46:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:15]Read from MH i2c: E2 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 FD 00 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 FD 00 F0 74 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A1 [21:46:15]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:15]wFMCommunicate OK [21:46:15]wFMCommunicate request_size=4 [21:46:15]MH_SAM_APDU [21:46:15]CAPDU: 80 17 00 00 [21:46:15]Write to MH i2c: E2 08 00 F1 74 80 17 00 00 00 00 00 00 E5 [21:46:15]Write i2c OK [21:46:15]MH_I2C_Read... [21:46:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:15]Read from MH i2c: E2 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 FD 00 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 FD 00 F1 74 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 90 00 5D [21:46:15]RAPDU: 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 90 00 [21:46:15]wFMCommunicate OK [21:46:15]wFMCommunicate request_size=4 [21:46:15]MH_SAM_APDU [21:46:15]CAPDU: 80 17 00 00 [21:46:15]Write to MH i2c: E2 08 00 F2 74 80 17 00 00 00 00 00 00 E6 [21:46:15]Write i2c OK [21:46:15]MH_I2C_Read... [21:46:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [21:46:15]Read from MH i2c: E2 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 D2 00 [21:46:15]MH_I2C_Read... [21:46:15]Read from MH i2c: E2 D2 00 F2 74 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C9 [21:46:15]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:46:15]wFMCommunicate OK [21:46:15]SAM_PROTO_GetShiftData done [21:46:15]requested_item shift.sale.total_cash is exist - process it [21:46:15]requested_item shift.sale_refund.total is exist - process it [21:46:15]requested_item shift.sale_refund.total_cash is exist - process it [21:46:15]requested_item shift.buy.total is exist - process it [21:46:15]requested_item shift.buy.total_cash is exist - process it [21:46:15]produce_requested_data done [21:46:15]produce_requested_data return {"fm.sale.total":888026.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":38663.47,"shift.sale.total_cash":16875.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [21:46:15]process_action_free get_value [21:46:15]json_value_free [21:46:15]json_value_free done [21:46:15]process_json_proto returns [21:46:15]Send response to host [21:46:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":888026.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":38663.47,"shift.sale.total_cash":16875.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [21:46:15]free response buf [21:46:15]execute_script done [21:46:15]execute_script returns [21:46:15]free content buf [21:46:15]Sock 9.Close socket [21:46:15]Sock 9.Thread stoped [21:46:15]accept exits with 7 [21:46:15]New connection [21:46:15]New thread 3066850660 created [21:46:15]Thread 3066707300 joined [21:46:15]Waiting for new connection... [21:46:15] Sock 7.Parse request [21:46:15]Sock 7.Check first char [21:46:15]Sock 7.First char is OK [21:46:15]request: POST /json_proto HTTP/1.0 [21:46:15]Method: POST [21:46:15]URL: /json_proto [21:46:15]Method is POST - this is cgi request [21:46:15]url: /json_proto [21:46:15]query_string will be loaded in cgi processing [21:46:15]execute_cgi json_proto POST (null) [21:46:15]execute_cgi path=json_proto method=POST [21:46:15]POST find Content-Length [21:46:15]Host: 172.17.52.132:8080 [21:46:15]Content-Length: 331 [21:46:15]Content-Type: application/json [21:46:15] [21:46:15]POST finish read [21:46:15]Found Content-Length = 331 [21:46:15]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" ] } } [21:46:15]execute_script... [21:46:15]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" ] } } [21:46:15]POST & json_proto [21:46:15]process_json_proto [21:46:15]json parsed OK: [21:46:15]protocol is kg_v1.0 [21:46:15]action value=get_value [21:46:15]process_action get_value [21:46:15]cmd_get_value [21:46:15]process_action get_value done [21:46:15]requested_data is exist [21:46:15]produce_requested_data [21:46:15]requested_item fm.sale.total is exist - process it [21:46:15]SAM_PROTO_GetFMData [21:46:15]wFMCommunicate request_size=4 [21:46:15]MH_SAM_APDU [21:46:15]CAPDU: 80 13 03 00 [21:46:15]Write to MH i2c: E2 08 00 F3 74 80 13 03 00 00 00 00 00 E6 [21:46:15]Write i2c OK [21:46:15]MH_I2C_Read... [21:46:15]OFD Sender: No OFD packet to send [21:46:16]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:46:16]Read from MH i2c: E2 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 F3 74 00 BE 04 85 04 BA 04 6E 04 04 00 5B 0A 00 00 69 04 9F 00 6F 04 04 00 52 0A 00 00 B1 04 04 00 2D 05 4B 05 70 04 04 00 64 EC E2 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 E7 8F 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 F4 FC 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 FE [21:46:16]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 5B 0A 00 00 69 04 9F 00 6F 04 04 00 52 0A 00 00 B1 04 04 00 2D 05 4B 05 70 04 04 00 64 EC E2 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 E7 8F 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 F4 FC 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [21:46:16]wFMCommunicate OK [21:46:16]wFMCommunicate request_size=4 [21:46:16]MH_SAM_APDU [21:46:16]CAPDU: 80 17 00 00 [21:46:16]Write to MH i2c: E2 08 00 F4 74 80 17 00 00 00 00 00 00 E8 [21:46:16]Write i2c OK [21:46:16]MH_I2C_Read... [21:46:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:16]Read from MH i2c: E2 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 F4 74 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4D [21:46:16]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:16]wFMCommunicate OK [21:46:16]wFMCommunicate request_size=4 [21:46:16]MH_SAM_APDU [21:46:16]CAPDU: 80 17 00 00 [21:46:16]Write to MH i2c: E2 08 00 F5 74 80 17 00 00 00 00 00 00 E9 [21:46:16]Write i2c OK [21:46:16]MH_I2C_Read... [21:46:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:16]Read from MH i2c: E2 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 [21:46:16]MH_I2C_Read... [21:46:16]Read from MH i2c: E2 FD 00 F5 74 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [21:46:17]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:17]wFMCommunicate OK [21:46:17]wFMCommunicate request_size=4 [21:46:17]MH_SAM_APDU [21:46:17]CAPDU: 80 17 00 00 [21:46:17]Write to MH i2c: E2 08 00 F6 74 80 17 00 00 00 00 00 00 EA [21:46:17]Write i2c OK [21:46:17]MH_I2C_Read... [21:46:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:17]Read from MH i2c: E2 [21:46:17]MH_I2C_Read... [21:46:17]Read from MH i2c: E2 FD 00 [21:46:17]MH_I2C_Read... [21:46:17]Read from MH i2c: E2 FD 00 F6 74 00 04 F7 03 00 00 EF 03 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 90 00 65 [21:46:17]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [21:46:17]wFMCommunicate OK [21:46:17]wFMCommunicate request_size=4 [21:46:17]MH_SAM_APDU [21:46:17]CAPDU: 80 17 00 00 [21:46:17]Write to MH i2c: E2 08 00 F7 74 80 17 00 00 00 00 00 00 EB [21:46:17]Write i2c OK [21:46:17]MH_I2C_Read... [21:46:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [21:46:17]Read from MH i2c: E2 [21:46:17]MH_I2C_Read... [21:46:17]Read from MH i2c: E2 DB 00 [21:46:17]MH_I2C_Read... [21:46:17]Read from MH i2c: E2 DB 00 F7 74 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CD [21:46:17]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:46:17]wFMCommunicate OK [21:46:17]SAM_PROTO_GetFMData done [21:46:17]requested_item fm.sale_refund.total is exist - process it [21:46:17]requested_item fm.buy.total is exist - process it [21:46:17]requested_item shift.sale.total is exist - process it [21:46:17]SAM_PROTO_GetShiftData [21:46:17]wFMCommunicate request_size=4 [21:46:17]MH_SAM_APDU [21:46:17]CAPDU: 80 13 02 00 [21:46:17]Write to MH i2c: E2 08 00 F8 74 80 13 02 00 00 00 00 00 EA [21:46:17]Write i2c OK [21:46:17]MH_I2C_Read... [21:46:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:46:18]Read from MH i2c: E2 [21:46:18]MH_I2C_Read... [21:46:18]Read from MH i2c: E2 FD 00 [21:46:18]MH_I2C_Read... [21:46:18]Read from MH i2c: E2 FD 00 F8 74 00 B5 04 AA 04 B1 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 EB FE 3A 70 04 03 00 CC BF 19 72 04 03 00 1F 3F 21 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 D1 43 06 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 9E 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 52 [21:46:18]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 EB FE 3A 70 04 03 00 CC BF 19 72 04 03 00 1F 3F 21 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 D1 43 06 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 9E 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [21:46:18]wFMCommunicate OK [21:46:18]wFMCommunicate request_size=4 [21:46:18]MH_SAM_APDU [21:46:18]CAPDU: 80 17 00 00 [21:46:18]Write to MH i2c: E2 08 00 F9 74 80 17 00 00 00 00 00 00 ED [21:46:18]Write i2c OK [21:46:18]MH_I2C_Read... [21:46:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:18]Read from MH i2c: E2 [21:46:18]MH_I2C_Read... [21:46:18]Read from MH i2c: E2 FD 00 [21:46:18]MH_I2C_Read... [21:46:18]Read from MH i2c: E2 FD 00 F9 74 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 53 [21:46:18]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:18]wFMCommunicate OK [21:46:18]wFMCommunicate request_size=4 [21:46:18]MH_SAM_APDU [21:46:18]CAPDU: 80 17 00 00 [21:46:18]Write to MH i2c: E2 08 00 FA 74 80 17 00 00 00 00 00 00 EE [21:46:18]Write i2c OK [21:46:18]MH_I2C_Read... [21:46:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:19]Read from MH i2c: E2 [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: E2 FD 00 [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: E2 FD 00 FA 74 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AB [21:46:19]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:19]wFMCommunicate OK [21:46:19]wFMCommunicate request_size=4 [21:46:19]MH_SAM_APDU [21:46:19]CAPDU: 80 17 00 00 [21:46:19]Write to MH i2c: E2 08 00 FB 74 80 17 00 00 00 00 00 00 EF [21:46:19]Write i2c OK [21:46:19]MH_I2C_Read... [21:46:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:19]Read from MH i2c: E2 [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: E2 FD 00 [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: E2 FD 00 FB 74 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 90 00 67 [21:46:19]RAPDU: 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 90 00 [21:46:19]wFMCommunicate OK [21:46:19]wFMCommunicate request_size=4 [21:46:19]MH_SAM_APDU [21:46:19]CAPDU: 80 17 00 00 [21:46:19]Write to MH i2c: E2 08 00 FC 74 80 17 00 00 00 00 00 00 F0 [21:46:19]Write i2c OK [21:46:19]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 D2 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 D2 00 FC 74 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 D3 [21:46:20]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:46:20]wFMCommunicate OK [21:46:20]SAM_PROTO_GetShiftData done [21:46:20]requested_item shift.sale.total_cash is exist - process it [21:46:20]requested_item shift.sale_refund.total is exist - process it [21:46:20]requested_item shift.sale_refund.total_cash is exist - process it [21:46:20]requested_item shift.buy.total is exist - process it [21:46:20]requested_item shift.buy.total_cash is exist - process it [21:46:20]produce_requested_data done [21:46:20]produce_requested_data return {"fm.sale.total":888026.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":38663.47,"shift.sale.total_cash":16875.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [21:46:20]process_action_free get_value [21:46:20]json_value_free [21:46:20]json_value_free done [21:46:20]process_json_proto returns [21:46:20]Send response to host [21:46:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":888026.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":38663.47,"shift.sale.total_cash":16875.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [21:46:20]free response buf [21:46:20]execute_script done [21:46:20]execute_script returns [21:46:20]free content buf [21:46:20]Sock 7.Close socket [21:46:20]Sock 7.Thread stoped [21:46:20]accept exits with 9 [21:46:20]New connection [21:46:20]New thread 3066707300 created [21:46:20]Thread 3066850660 joined [21:46:20]Waiting for new connection... [21:46:20] Sock 9.Parse request [21:46:20]Sock 9.Check first char [21:46:20]Sock 9.First char is OK [21:46:20]request: POST /json_proto HTTP/1.0 [21:46:20]Method: POST [21:46:20]URL: /json_proto [21:46:20]Method is POST - this is cgi request [21:46:20]url: /json_proto [21:46:20]query_string will be loaded in cgi processing [21:46:20]execute_cgi json_proto POST (null) [21:46:20]execute_cgi path=json_proto method=POST [21:46:20]POST find Content-Length [21:46:20]Host: 172.17.52.132:8080 [21:46:20]Content-Length: 257 [21:46:20]Content-Type: application/json [21:46:20] [21:46:20]POST finish read [21:46:20]Found Content-Length = 257 [21:46:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:46:20]execute_script... [21:46:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:46:20]POST & json_proto [21:46:20]process_json_proto [21:46:20]json parsed OK: [21:46:20]protocol is kg_v1.0 [21:46:20]action value=x_report [21:46:20]process_action x_report [21:46:20]cmd_x_report [21:46:20]MH_GetDate [21:46:20]Write to MH i2c: F0 00 00 FD 74 60 [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: F0 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: F0 09 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: F0 09 00 FD 74 00 3D 7A 15 67 5A BE F6 66 10 [21:46:20]GetLastDocTimeStamp 1729460764 [21:46:20]current date 1729460797 [21:46:20]FM_GetShiftState [21:46:20]SAM_PROTO_GetShiftState [21:46:20]wFMCommunicate request_size=4 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 13 01 00 [21:46:20]Write to MH i2c: E2 08 00 FE 74 80 13 01 00 00 00 00 00 EF [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 0E 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 0E 00 FE 74 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 D9 [21:46:20]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:46:20]wFMCommunicate OK [21:46:20]SAM_PROTO_GetShiftState done [21:46:20]FM_GetShiftState done [21:46:20]KKMCreateXReportDocument [21:46:20]Load OK [21:46:20]Malloc new data [21:46:20]MH_GetDate [21:46:20]Write to MH i2c: F0 00 00 FF 74 62 [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: F0 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: F0 09 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: F0 09 00 FF 74 00 3D 7A 15 67 5A BE F6 66 12 [21:46:20]Malloc new data [21:46:20]Malloc new data [21:46:20]wFMCommunicate request_size=4 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 11 00 00 [21:46:20]Write to MH i2c: E2 08 00 00 75 80 11 00 00 00 00 00 00 EF [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 17 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 17 00 00 75 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 37 [21:46:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:46:20]wFMCommunicate OK [21:46:20]SAM_PROTO_GetFieldsCounters [21:46:20]wFMCommunicate request_size=4 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 13 00 00 [21:46:20]Write to MH i2c: E2 08 00 01 75 80 13 00 00 00 00 00 00 F2 [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 62 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 62 00 01 75 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 A5 [21:46:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:46:20]wFMCommunicate OK [21:46:20]SAM_PROTO_GetFieldsCounters done [21:46:20]Malloc new data [21:46:20]Malloc new data [21:46:20]Malloc new data [21:46:20]KKMCreateXReportDocument OK [21:46:20]KKMSetXReportData OK [21:46:20]KKMPrepareXReportFMData [21:46:20]SAM_PROTO_GetShiftData [21:46:20]wFMCommunicate request_size=4 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 13 02 00 [21:46:20]Write to MH i2c: E2 08 00 02 75 80 13 02 00 00 00 00 00 F5 [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]OFD Sender: No OFD packet to send [21:46:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:46:21]Read from MH i2c: E2 [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: E2 FD 00 [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: E2 FD 00 02 75 00 B5 04 AA 04 B1 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 EB FE 3A 70 04 03 00 CC BF 19 72 04 03 00 1F 3F 21 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 D1 43 06 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 9E 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 5D [21:46:21]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 EB FE 3A 70 04 03 00 CC BF 19 72 04 03 00 1F 3F 21 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 D1 43 06 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 9E 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [21:46:21]wFMCommunicate OK [21:46:21]wFMCommunicate request_size=4 [21:46:21]MH_SAM_APDU [21:46:21]CAPDU: 80 17 00 00 [21:46:21]Write to MH i2c: E2 08 00 03 75 80 17 00 00 00 00 00 00 F8 [21:46:21]Write i2c OK [21:46:21]MH_I2C_Read... [21:46:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:21]Read from MH i2c: E2 [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: E2 FD 00 [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: E2 FD 00 03 75 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5E [21:46:21]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:21]wFMCommunicate OK [21:46:21]wFMCommunicate request_size=4 [21:46:21]MH_SAM_APDU [21:46:21]CAPDU: 80 17 00 00 [21:46:21]Write to MH i2c: E2 08 00 04 75 80 17 00 00 00 00 00 00 F9 [21:46:21]Write i2c OK [21:46:21]MH_I2C_Read... [21:46:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:22]Read from MH i2c: E2 [21:46:22]MH_I2C_Read... [21:46:22]Read from MH i2c: E2 FD 00 [21:46:22]MH_I2C_Read... [21:46:22]Read from MH i2c: E2 FD 00 04 75 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B6 [21:46:22]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:22]wFMCommunicate OK [21:46:22]wFMCommunicate request_size=4 [21:46:22]MH_SAM_APDU [21:46:22]CAPDU: 80 17 00 00 [21:46:22]Write to MH i2c: E2 08 00 05 75 80 17 00 00 00 00 00 00 FA [21:46:22]Write i2c OK [21:46:22]MH_I2C_Read... [21:46:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:22]Read from MH i2c: E2 [21:46:22]MH_I2C_Read... [21:46:22]Read from MH i2c: E2 FD 00 [21:46:22]MH_I2C_Read... [21:46:22]Read from MH i2c: E2 FD 00 05 75 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 90 00 72 [21:46:22]RAPDU: 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 90 00 [21:46:22]wFMCommunicate OK [21:46:22]wFMCommunicate request_size=4 [21:46:22]MH_SAM_APDU [21:46:22]CAPDU: 80 17 00 00 [21:46:22]Write to MH i2c: E2 08 00 06 75 80 17 00 00 00 00 00 00 FB [21:46:22]Write i2c OK [21:46:22]MH_I2C_Read... [21:46:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [21:46:23]Read from MH i2c: E2 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: E2 D2 00 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: E2 D2 00 06 75 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 DE [21:46:23]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:46:23]wFMCommunicate OK [21:46:23]SAM_PROTO_GetShiftData done [21:46:23]1194 (1201) - счетчики итогов смены [21:46:23] 1134 (4) - 80 - количество чеков со всеми признаками расчетов [21:46:23] 1129 (155) - счетчики операций «приход» [21:46:23] 1135 (4) - 79 - количество чеков по признаку расчетов [21:46:23] 1201 (3) - 38663.47 - общая итоговая сумма в чеках [21:46:23] 1136 (3) - 16875.00 - итоговая сумма в чеках наличными [21:46:23] 1138 (3) - 21788.47 - итоговая сумма в чеках безналичными [21:46:23] 1024 (122) - суммы налогов [21:46:23] 1006 (9) - суммы НДС [21:46:23] 1010 (1) - 0% - код ставки НДС [21:46:23] 1011 (0) - 0.00 - сумма НДС по ставке [21:46:23] 1006 (12) - суммы НДС [21:46:23] 1010 (1) - 12% - код ставки НДС [21:46:23] 1011 (3) - 4105.77 - сумма НДС по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 0% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (11) - суммы НСП [21:46:23] 1014 (1) - 1% - код ставки НСП [21:46:23] 1015 (2) - 342.06 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 2% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 3% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 5% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 0,50% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 1,50% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1130 (148) - счетчики операций «возврат прихода» [21:46:23] 1135 (4) - 1 - количество чеков по признаку расчетов [21:46:23] 1201 (2) - 90.00 - общая итоговая сумма в чеках [21:46:23] 1136 (2) - 90.00 - итоговая сумма в чеках наличными [21:46:23] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [21:46:23] 1024 (120) - суммы налогов [21:46:23] 1006 (9) - суммы НДС [21:46:23] 1010 (1) - 0% - код ставки НДС [21:46:23] 1011 (0) - 0.00 - сумма НДС по ставке [21:46:23] 1006 (11) - суммы НДС [21:46:23] 1010 (1) - 12% - код ставки НДС [21:46:23] 1011 (2) - 9.56 - сумма НДС по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 0% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (10) - суммы НСП [21:46:23] 1014 (1) - 1% - код ставки НСП [21:46:23] 1015 (1) - 0.80 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 2% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 3% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 5% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 0,50% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 1,50% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1131 (141) - счетчики операций «расход» [21:46:23] 1135 (4) - 0 - количество чеков по признаку расчетов [21:46:23] 1201 (0) - 0.00 - общая итоговая сумма в чеках [21:46:23] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [21:46:23] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [21:46:23] 1024 (117) - суммы налогов [21:46:23] 1006 (9) - суммы НДС [21:46:23] 1010 (1) - 0% - код ставки НДС [21:46:23] 1011 (0) - 0.00 - сумма НДС по ставке [21:46:23] 1006 (9) - суммы НДС [21:46:23] 1010 (1) - 12% - код ставки НДС [21:46:23] 1011 (0) - 0.00 - сумма НДС по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 0% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 1% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 2% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 3% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 5% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 0,50% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 1,50% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1132 (141) - счетчики операций «возврат расхода» [21:46:23] 1135 (4) - 0 - количество чеков по признаку расчетов [21:46:23] 1201 (0) - 0.00 - общая итоговая сумма в чеках [21:46:23] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [21:46:23] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [21:46:23] 1024 (117) - суммы налогов [21:46:23] 1006 (9) - суммы НДС [21:46:23] 1010 (1) - 0% - код ставки НДС [21:46:23] 1011 (0) - 0.00 - сумма НДС по ставке [21:46:23] 1006 (9) - суммы НДС [21:46:23] 1010 (1) - 12% - код ставки НДС [21:46:23] 1011 (0) - 0.00 - сумма НДС по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 0% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 1% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 2% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 3% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 5% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 0,50% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1007 (9) - суммы НСП [21:46:23] 1014 (1) - 1,50% - код ставки НСП [21:46:23] 1015 (0) - 0.00 - сумма НСП по ставке [21:46:23] 1133 (588) - - счетчики коррекции - не используются [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1194 (04AA) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1134 (046E) [21:46:23]Malloc new data [21:46:23]Processing tag 1129 (0469) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1135 (046F) [21:46:23]Malloc new data [21:46:23]Processing tag 1201 (04B1) [21:46:23]Malloc new data [21:46:23]Processing tag 1136 (0470) [21:46:23]Malloc new data [21:46:23]Processing tag 1138 (0472) [21:46:23]Malloc new data [21:46:23]Processing tag 1024 (0400) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1006 (03EE) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1010 (03F2) [21:46:23]Malloc new data [21:46:23]Processing tag 1011 (03F3) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1006 (03EE) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1010 (03F2) [21:46:23]Malloc new data [21:46:23]Processing tag 1011 (03F3) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]SetTLVBufToDocument err=0 [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1130 (046A) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1135 (046F) [21:46:23]Malloc new data [21:46:23]Processing tag 1201 (04B1) [21:46:23]Malloc new data [21:46:23]Processing tag 1136 (0470) [21:46:23]Malloc new data [21:46:23]Processing tag 1138 (0472) [21:46:23]Malloc new data [21:46:23]Processing tag 1024 (0400) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1006 (03EE) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1010 (03F2) [21:46:23]Malloc new data [21:46:23]Processing tag 1011 (03F3) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1006 (03EE) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1010 (03F2) [21:46:23]Malloc new data [21:46:23]Processing tag 1011 (03F3) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:23]Processing tag 1014 (03F6) [21:46:23]Malloc new data [21:46:23]Processing tag 1015 (03F7) [21:46:23]Malloc new data [21:46:23]SetTLVBufToDocument err=0 [21:46:23]Processing tag 1007 (03EF) [21:46:23]Load OK [21:46:23]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]SetTLVBufToDocument err=0 [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1131 (046B) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1135 (046F) [21:46:24]Malloc new data [21:46:24]Processing tag 1201 (04B1) [21:46:24]Malloc new data [21:46:24]Processing tag 1136 (0470) [21:46:24]Malloc new data [21:46:24]Processing tag 1138 (0472) [21:46:24]Malloc new data [21:46:24]Processing tag 1024 (0400) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1006 (03EE) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1010 (03F2) [21:46:24]Malloc new data [21:46:24]Processing tag 1011 (03F3) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1006 (03EE) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1010 (03F2) [21:46:24]Malloc new data [21:46:24]Processing tag 1011 (03F3) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]SetTLVBufToDocument err=0 [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1132 (046C) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1135 (046F) [21:46:24]Malloc new data [21:46:24]Processing tag 1201 (04B1) [21:46:24]Malloc new data [21:46:24]Processing tag 1136 (0470) [21:46:24]Malloc new data [21:46:24]Processing tag 1138 (0472) [21:46:24]Malloc new data [21:46:24]Processing tag 1024 (0400) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1006 (03EE) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1010 (03F2) [21:46:24]Malloc new data [21:46:24]Processing tag 1011 (03F3) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1006 (03EE) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1010 (03F2) [21:46:24]Malloc new data [21:46:24]Processing tag 1011 (03F3) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1007 (03EF) [21:46:24]Load OK [21:46:24]SetTLVBufToDocument [21:46:24]Processing tag 1014 (03F6) [21:46:24]Malloc new data [21:46:24]Processing tag 1015 (03F7) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]SetTLVBufToDocument err=0 [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Processing tag 1133 (046D) [21:46:24]Malloc new data [21:46:24]SetTLVBufToDocument err=0 [21:46:24]SetTLVBufToDocument err=0 [21:46:24]Malloc new data [21:46:24]SAM_PROTO_GetFMData [21:46:24]wFMCommunicate request_size=4 [21:46:24]MH_SAM_APDU [21:46:24]CAPDU: 80 13 03 00 [21:46:24]Write to MH i2c: E2 08 00 07 75 80 13 03 00 00 00 00 00 FB [21:46:24]Write i2c OK [21:46:24]MH_I2C_Read... [21:46:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:46:24]Read from MH i2c: E2 [21:46:24]MH_I2C_Read... [21:46:24]Read from MH i2c: E2 FD 00 [21:46:24]MH_I2C_Read... [21:46:24]Read from MH i2c: E2 FD 00 07 75 00 BE 04 85 04 BA 04 6E 04 04 00 5B 0A 00 00 69 04 9F 00 6F 04 04 00 52 0A 00 00 B1 04 04 00 2D 05 4B 05 70 04 04 00 64 EC E2 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 E7 8F 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 F4 FC 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 13 [21:46:25]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 5B 0A 00 00 69 04 9F 00 6F 04 04 00 52 0A 00 00 B1 04 04 00 2D 05 4B 05 70 04 04 00 64 EC E2 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 E7 8F 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 F4 FC 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [21:46:25]wFMCommunicate OK [21:46:25]wFMCommunicate request_size=4 [21:46:25]MH_SAM_APDU [21:46:25]CAPDU: 80 17 00 00 [21:46:25]Write to MH i2c: E2 08 00 08 75 80 17 00 00 00 00 00 00 FD [21:46:25]Write i2c OK [21:46:25]MH_I2C_Read... [21:46:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:25]Read from MH i2c: E2 [21:46:25]MH_I2C_Read... [21:46:25]Read from MH i2c: E2 FD 00 [21:46:25]MH_I2C_Read... [21:46:25]Read from MH i2c: E2 FD 00 08 75 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [21:46:25]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:25]wFMCommunicate OK [21:46:25]wFMCommunicate request_size=4 [21:46:25]MH_SAM_APDU [21:46:25]CAPDU: 80 17 00 00 [21:46:25]Write to MH i2c: E2 08 00 09 75 80 17 00 00 00 00 00 00 FE [21:46:25]Write i2c OK [21:46:25]MH_I2C_Read... [21:46:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:25]OFD Sender: No OFD packet to send [21:46:25]Read from MH i2c: E2 [21:46:26]MH_I2C_Read... [21:46:26]Read from MH i2c: E2 FD 00 [21:46:26]MH_I2C_Read... [21:46:26]Read from MH i2c: E2 FD 00 09 75 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 30 [21:46:26]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:46:26]wFMCommunicate OK [21:46:26]wFMCommunicate request_size=4 [21:46:26]MH_SAM_APDU [21:46:26]CAPDU: 80 17 00 00 [21:46:26]Write to MH i2c: E2 08 00 0A 75 80 17 00 00 00 00 00 00 FF [21:46:26]Write i2c OK [21:46:26]MH_I2C_Read... [21:46:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:46:26]Read from MH i2c: E2 [21:46:26]MH_I2C_Read... [21:46:26]Read from MH i2c: E2 FD 00 [21:46:26]MH_I2C_Read... [21:46:26]Read from MH i2c: E2 FD 00 0A 75 00 04 F7 03 00 00 EF 03 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 90 00 7A [21:46:26]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [21:46:26]wFMCommunicate OK [21:46:26]wFMCommunicate request_size=4 [21:46:26]MH_SAM_APDU [21:46:26]CAPDU: 80 17 00 00 [21:46:26]Write to MH i2c: E2 08 00 0B 75 80 17 00 00 00 00 00 00 00 [21:46:26]Write i2c OK [21:46:26]MH_I2C_Read... [21:46:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [21:46:27]Read from MH i2c: E2 [21:46:27]MH_I2C_Read... [21:46:27]Read from MH i2c: E2 DB 00 [21:46:27]MH_I2C_Read... [21:46:27]Read from MH i2c: E2 DB 00 0B 75 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E2 [21:46:27]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:46:27]wFMCommunicate OK [21:46:27]SAM_PROTO_GetFMData done [21:46:27]FM_GetFMData:85 04 BA 04 6E 04 04 00 5B 0A 00 00 69 04 9F 00 6F 04 04 00 52 0A 00 00 B1 04 04 00 2D 05 4B 05 70 04 04 00 64 EC E2 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 E7 8F 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 F4 FC 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 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 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:46:27]oper:6F 04 04 00 52 0A 00 00 B1 04 04 00 2D 05 4B 05 70 04 04 00 64 EC E2 03 72 04 04 00 C9 18 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 E7 8F 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 F4 FC 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 [21:46:28]total:2D 05 4B 05 [21:46:28]Malloc new data [21:46:28]oper:6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 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 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [21:46:28]total:80 19 02 [21:46:28]Malloc new data [21:46:28]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 [21:46:28]total: [21:46:28]Malloc new data [21:46:28]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 [21:46:28]total: [21:46:28]Malloc new data [21:46:28]KKMPrepareXReportFMData err=0 [21:46:28]Х отчет ИНН: 02508201610067 Кассир: Орумбаев Р. 20.10.2024 21:46 Смена: 10 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Всего чеков: 80 ИТОГИ ПРИХОД Чеков: 79 Общий итог: 38663.47 Итого наличными: 16875.00 Итого безнал.: 21788.47 НДС 0% : 0.00 НДС 12% : 4105.77 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 342.06 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 90.00 Итого наличными: 90.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 9.56 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.80 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 16785.00 НС Приход: 888026.05 НС Возвр.Прихода: 1376.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000002342820 [21:46:28]StoreToDocumentArchive [21:46:28]MH_GetDate [21:46:28]Write to MH i2c: F0 00 00 0C 75 70 [21:46:28]Write i2c OK [21:46:28]MH_I2C_Read... [21:46:28]Read from MH i2c: F0 [21:46:28]MH_I2C_Read... [21:46:28]Read from MH i2c: F0 09 00 [21:46:28]MH_I2C_Read... [21:46:28]Read from MH i2c: F0 09 00 0C 75 00 45 7A 15 67 5A BE F6 66 28 [21:46:28]shift 10 fd 1729460805 [21:46:28]Create dir for shift 0010 [21:46:28]save to /storage/0010/doc_1729460805 [21:46:28]save last doc name /storage/0010/doc_1729460805 to /storage/kkm_last_doc_name [21:46:28]save OK [21:46:28]Clear old archive folders... [21:46:28]NVStorageSaveData kkm_last_timestamp [21:46:28]File name is /storage/kkm_last_timestamp [21:46:28]Write 4 bytes [21:46:28]NVStorageSaveData done [21:46:28]ExternCall_PrintAddStr [21:46:28]wPrintStart [21:46:28]Write to MH i2c: 01 00 00 0D 75 82 [21:46:28]Write i2c OK [21:46:28]MH_I2C_Read... [21:46:28]Read from MH i2c: 01 [21:46:28]MH_I2C_Read... [21:46:28]Read from MH i2c: 01 07 00 [21:46:28]MH_I2C_Read... [21:46:28]Read from MH i2c: 01 07 00 0D 75 00 00 00 00 00 FF 0F 97 [21:46:28]RasterBufferAndPrint [21:46:28]line Х отчет [21:46:28]line ИНН: 02508201610067 [21:46:28]line Кассир: Орумбаев Р. [21:46:28]line 20.10.2024 21:46 [21:46:28]line Смена: 10 [21:46:28]line РНМ: 0000000000207295 [21:46:28]line ЗНМ: 0300000191 [21:46:28]line СНО: Общий режим [21:46:28]line Всего чеков: 80 [21:46:28]line ИТОГИ ПРИХОД [21:46:28]line Чеков: 79 [21:46:28]line Общий итог: 38663.47 [21:46:28]line Итого наличными: 16875.00 [21:46:28]line Итого безнал.: 21788.47 [21:46:28]line НДС 0% : 0.00 [21:46:28]line НДС 12% : 4105.77 [21:46:28]line НСП 0% : 0.00 [21:46:28]line НСП 1,50% : 0.00 [21:46:28]line НСП 0,50% : 0.00 [21:46:28]line НСП 5% : 0.00 [21:46:28]line НСП 3% : 0.00 [21:46:28]line НСП 2% : 0.00 [21:46:28]line НСП 1% : 342.06 [21:46:28]line ИТОГИ ВОЗВРАТ ПРИХОДА [21:46:28]line Чеков: 1 [21:46:28]line Общий итог: 90.00 [21:46:28]line Итого наличными: 90.00 [21:46:28]line Итого безнал.: 0.00 [21:46:28]line НДС 0% : 0.00 [21:46:28]line НДС 12% : 9.56 [21:46:28]line НСП 0% : 0.00 [21:46:28]line НСП 1,50% : 0.00 [21:46:28]line НСП 0,50% : 0.00 [21:46:28]line НСП 5% : 0.00 [21:46:28]line НСП 3% : 0.00 [21:46:28]line НСП 2% : 0.00 [21:46:28]line НСП 1% : 0.80 [21:46:28]line ИТОГИ РАСХОД [21:46:28]line Чеков: 0 [21:46:28]line Общий итог: 0.00 [21:46:28]line Итого наличными: 0.00 [21:46:28]line Итого безнал.: 0.00 [21:46:28]line НДС 0% : 0.00 [21:46:28]line НДС 12% : 0.00 [21:46:28]line НСП 0% : 0.00 [21:46:28]line НСП 1,50% : 0.00 [21:46:28]line НСП 0,50% : 0.00 [21:46:28]line НСП 5% : 0.00 [21:46:28]line НСП 3% : 0.00 [21:46:28]line НСП 2% : 0.00 [21:46:28]line НСП 1% : 0.00 [21:46:28]line ИТОГИ ВОЗВРАТ РАСХОДА [21:46:28]line Чеков: 0 [21:46:28]line Общий итог: 0.00 [21:46:28]line Итого наличными: 0.00 [21:46:28]line Итого безнал.: 0.00 [21:46:28]line НДС 0% : 0.00 [21:46:28]line НДС 12% : 0.00 [21:46:28]line НСП 0% : 0.00 [21:46:28]line НСП 1,50% : 0.00 [21:46:28]line НСП 0,50% : 0.00 [21:46:28]line НСП 5% : 0.00 [21:46:28]line НСП 3% : 0.00 [21:46:28]line НСП 2% : 0.00 [21:46:28]line НСП 1% : 0.00 [21:46:28]line Сумма внесений: 0.00 [21:46:28]line Сумма выплат: 0.00 [21:46:28]line Нал. в кассе: 16785.00 [21:46:28]line НС Приход: 888026.05 [21:46:28]line НС Возвр.Прихода: 1376.00 [21:46:28]line НС Расход: 0.00 [21:46:28]line НС Возвр.Расхода: 0.00 [21:46:28]line ФМ: 0000000002342820 [21:46:28]written 0, free lines is 4095 [21:46:29]Write to MH i2c: 01 00 00 58 75 CD [21:46:29]Write i2c OK [21:46:29]MH_I2C_Read... [21:46:29]Read from MH i2c: 01 [21:46:29]MH_I2C_Read... [21:46:29]Read from MH i2c: 01 07 00 [21:46:29]MH_I2C_Read... [21:46:29]Read from MH i2c: 01 07 00 58 75 00 00 00 00 00 40 0A 1E [21:46:29]RasterBufferAndPrint [21:46:29]line [21:46:29]line [21:46:29]line [21:46:29]line [21:46:29]line [21:46:29]written 0, free lines is 2656 [21:46:29]MH_Cut [21:46:29]Write to MH i2c: D1 01 00 5F 75 01 A6 [21:46:29]Write i2c OK [21:46:29]MH_I2C_Read... [21:46:29]Read from MH i2c: D1 [21:46:29]MH_I2C_Read... [21:46:29]Read from MH i2c: D1 01 00 [21:46:29]MH_I2C_Read... [21:46:29]Read from MH i2c: D1 01 00 5F 75 00 A5 [21:46:29]Write to MH i2c: 01 00 00 60 75 D5 [21:46:29]Write i2c OK [21:46:29]MH_I2C_Read... [21:46:30]*** Cut start [21:46:30]*** Partial cut [21:46:30]*** CUTSNS_PIN = 1 [21:46:30]*** CUTSNS_PIN = 0 [21:46:30]*** Brake cut motor [21:46:31]OFD Sender: No OFD packet to send [21:46:31]Read from MH i2c: 01 [21:46:31]MH_I2C_Read... [21:46:31]*** Stop cut motor [21:46:31]*** Cut end [21:46:31]Read from MH i2c: 01 07 00 [21:46:31]MH_I2C_Read... [21:46:31]Read from MH i2c: 01 07 00 60 75 00 00 00 00 00 FF 0F EA [21:46:31]process_action x_report done [21:46:31]requested_data is exist [21:46:31]produce_requested_data [21:46:31]requested_item fd.num is exist - process it [21:46:31]SAM_PROTO_GetFieldsCounters [21:46:31]wFMCommunicate request_size=4 [21:46:31]MH_SAM_APDU [21:46:31]CAPDU: 80 13 00 00 [21:46:31]Write to MH i2c: E2 08 00 61 75 80 13 00 00 00 00 00 00 52 [21:46:31]Write i2c OK [21:46:31]MH_I2C_Read... [21:46:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:46:31]Read from MH i2c: E2 [21:46:31]MH_I2C_Read... [21:46:31]Read from MH i2c: E2 62 00 [21:46:31]MH_I2C_Read... [21:46:31]Read from MH i2c: E2 62 00 61 75 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [21:46:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:46:31]wFMCommunicate OK [21:46:31]SAM_PROTO_GetFieldsCounters done [21:46:31]requested_item shift.num is exist - process it [21:46:31]requested_item shift.opened is exist - process it [21:46:31]req_shift_opened [21:46:31]FM_GetShiftState [21:46:31]SAM_PROTO_GetShiftState [21:46:31]wFMCommunicate request_size=4 [21:46:31]MH_SAM_APDU [21:46:31]CAPDU: 80 13 01 00 [21:46:31]Write to MH i2c: E2 08 00 62 75 80 13 01 00 00 00 00 00 54 [21:46:31]Write i2c OK [21:46:31]MH_I2C_Read... [21:46:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:46:31]Read from MH i2c: E2 [21:46:31]MH_I2C_Read... [21:46:31]Read from MH i2c: E2 0E 00 [21:46:31]MH_I2C_Read... [21:46:31]Read from MH i2c: E2 0E 00 62 75 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 3E [21:46:31]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:46:31]wFMCommunicate OK [21:46:31]SAM_PROTO_GetShiftState done [21:46:31]FM_GetShiftState done [21:46:31]req_shift_opened done [21:46:31]requested_item shift.open_date is exist - process it [21:46:31]req_shift_open_date [21:46:31]req_shift_open_date done [21:46:31]produce_requested_data done [21:46:31]produce_requested_data return {"fd.num":2699,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:46:31]process_action_free x_report [21:46:31]json_value_free [21:46:31]json_value_free done [21:46:31]process_json_proto returns [21:46:31]Send response to host [21:46:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2699,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:46:31]free response buf [21:46:31]execute_script done [21:46:31]execute_script returns [21:46:31]free content buf [21:46:31]Sock 9.Close socket [21:46:31]Sock 9.Thread stoped [21:46:36]OFD Sender: No OFD packet to send [21:46:41]OFD Sender: No OFD packet to send [21:46:46]OFD Sender: No OFD packet to send [21:46:51]OFD Sender: No OFD packet to send [21:46:56]OFD Sender: No OFD packet to send [21:47:01]OFD Sender: No OFD packet to send [21:47:06]OFD Sender: No OFD packet to send [21:47:11]OFD Sender: No OFD packet to send [21:47:16]OFD Sender: No OFD packet to send [21:47:21]OFD Sender: No OFD packet to send [21:47:26]OFD Sender: No OFD packet to send [21:47:31]OFD Sender: No OFD packet to send [21:47:36]OFD Sender: No OFD packet to send [21:47:41]OFD Sender: No OFD packet to send [21:47:46]OFD Sender: No OFD packet to send [21:47:51]OFD Sender: No OFD packet to send [21:47:56]OFD Sender: No OFD packet to send [21:48:01]OFD Sender: No OFD packet to send [21:48:06]OFD Sender: No OFD packet to send [21:48:11]OFD Sender: No OFD packet to send [21:48:16]OFD Sender: No OFD packet to send [21:48:21]OFD Sender: No OFD packet to send [21:48:26]OFD Sender: No OFD packet to send [21:48:31]OFD Sender: No OFD packet to send [21:48:36]OFD Sender: No OFD packet to send [21:48:41]OFD Sender: No OFD packet to send [21:48:46]OFD Sender: No OFD packet to send [21:48:51]OFD Sender: No OFD packet to send [21:48:56]OFD Sender: No OFD packet to send [21:49:01]OFD Sender: No OFD packet to send [21:49:06]OFD Sender: No OFD packet to send [21:49:11]OFD Sender: No OFD packet to send [21:49:16]OFD Sender: No OFD packet to send [21:49:21]OFD Sender: No OFD packet to send [21:49:26]OFD Sender: No OFD packet to send [21:49:31]OFD Sender: No OFD packet to send [21:49:36]OFD Sender: No OFD packet to send [21:49:41]OFD Sender: No OFD packet to send [21:49:46]OFD Sender: No OFD packet to send [21:49:51]OFD Sender: No OFD packet to send [21:49:56]OFD Sender: No OFD packet to send [21:50:01]OFD Sender: No OFD packet to send [21:50:06]OFD Sender: No OFD packet to send [21:50:11]OFD Sender: No OFD packet to send [21:50:16]OFD Sender: No OFD packet to send [21:50:21]OFD Sender: No OFD packet to send [21:50:26]OFD Sender: No OFD packet to send [21:50:31]OFD Sender: No OFD packet to send [21:50:36]OFD Sender: No OFD packet to send [21:50:41]OFD Sender: No OFD packet to send [21:50:46]OFD Sender: No OFD packet to send [21:50:51]OFD Sender: No OFD packet to send [21:50:56]OFD Sender: No OFD packet to send [21:51:01]OFD Sender: No OFD packet to send [21:51:06]OFD Sender: No OFD packet to send [21:51:11]OFD Sender: No OFD packet to send [21:51:16]OFD Sender: No OFD packet to send [21:51:21]OFD Sender: No OFD packet to send [21:51:26]OFD Sender: No OFD packet to send [21:51:31]OFD Sender: No OFD packet to send [21:51:36]OFD Sender: No OFD packet to send [21:51:41]OFD Sender: No OFD packet to send [21:51:46]OFD Sender: No OFD packet to send [21:51:51]OFD Sender: No OFD packet to send [21:51:56]OFD Sender: No OFD packet to send [21:52:01]OFD Sender: No OFD packet to send [21:52:06]OFD Sender: No OFD packet to send [21:52:11]OFD Sender: No OFD packet to send [21:52:16]OFD Sender: No OFD packet to send [21:52:21]OFD Sender: No OFD packet to send [21:52:26]OFD Sender: No OFD packet to send [21:52:31]OFD Sender: No OFD packet to send [21:52:36]OFD Sender: No OFD packet to send [21:52:41]OFD Sender: No OFD packet to send [21:52:46]OFD Sender: No OFD packet to send [21:52:51]OFD Sender: No OFD packet to send [21:52:56]OFD Sender: No OFD packet to send [21:53:01]OFD Sender: No OFD packet to send [21:53:06]OFD Sender: No OFD packet to send [21:53:11]OFD Sender: No OFD packet to send [21:53:16]OFD Sender: No OFD packet to send [21:53:21]OFD Sender: No OFD packet to send [21:53:26]OFD Sender: No OFD packet to send [21:53:31]OFD Sender: No OFD packet to send [21:53:36]OFD Sender: No OFD packet to send [21:53:41]OFD Sender: No OFD packet to send [21:53:46]OFD Sender: No OFD packet to send [21:53:51]OFD Sender: No OFD packet to send [21:53:56]OFD Sender: No OFD packet to send [21:54:01]OFD Sender: No OFD packet to send [21:54:06]OFD Sender: No OFD packet to send [21:54:11]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:51]OFD Sender: No OFD packet to send [21:55:56]OFD Sender: No OFD packet to send [21:56:01]OFD Sender: No OFD packet to send [21:56:06]OFD Sender: No OFD packet to send [21:56:11]OFD Sender: No OFD packet to send [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:36]accept exits with 7 [21:57:36]New connection [21:57:36]New thread 3066850660 created [21:57:36]Thread 3066707300 joined [21:57:36]Waiting for new connection... [21:57:36] Sock 7.Parse request [21:57:36]Sock 7.Check first char [21:57:36]Sock 7.First char is OK [21:57:36]request: POST /json_proto HTTP/1.0 [21:57:36]Method: POST [21:57:36]URL: /json_proto [21:57:36]Method is POST - this is cgi request [21:57:36]url: /json_proto [21:57:36]query_string will be loaded in cgi processing [21:57:36]execute_cgi json_proto POST (null) [21:57:36]execute_cgi path=json_proto method=POST [21:57:36]POST find Content-Length [21:57:36]Host: 172.17.52.132:8080 [21:57:36]Content-Length: 1618 [21:57:36]Content-Type: application/json [21:57:36] [21:57:36]POST finish read [21:57:36]Found Content-Length = 1618 [21:57:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100077", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48746649", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims Winter F", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 765.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:57:36]execute_script... [21:57:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100077", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48746649", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims Winter F", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 765.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:57:36]POST & json_proto [21:57:36]process_json_proto [21:57:36]json parsed OK: [21:57:36]protocol is kg_v1.0 [21:57:36]action value=close_receipt [21:57:36]process_action close_receipt [21:57:36]cmd_close_receipt [21:57:36]MH_GetDate [21:57:36]Write to MH i2c: F0 00 00 63 75 C7 [21:57:36]Write i2c OK [21:57:36]MH_I2C_Read... [21:57:36]Read from MH i2c: F0 [21:57:36]MH_I2C_Read... [21:57:36]Read from MH i2c: F0 09 00 [21:57:36]MH_I2C_Read... [21:57:36]Read from MH i2c: F0 09 00 63 75 00 E1 7C 15 67 5A BE F6 66 1D [21:57:36]GetLastDocTimeStamp 1729460797 [21:57:36]current date 1729461473 [21:57:36]FM_GetShiftState [21:57:36]SAM_PROTO_GetShiftState [21:57:36]wFMCommunicate request_size=4 [21:57:36]MH_SAM_APDU [21:57:36]CAPDU: 80 13 01 00 [21:57:36]Write to MH i2c: E2 08 00 64 75 80 13 01 00 00 00 00 00 56 [21:57:36]Write i2c OK [21:57:36]MH_I2C_Read... [21:57:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:36]Read from MH i2c: E2 [21:57:36]MH_I2C_Read... [21:57:36]Read from MH i2c: E2 0E 00 [21:57:36]MH_I2C_Read... [21:57:36]Read from MH i2c: E2 0E 00 64 75 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 40 [21:57:36]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:57:36]wFMCommunicate OK [21:57:36]SAM_PROTO_GetShiftState done [21:57:36]FM_GetShiftState done [21:57:36]opened in 1729382427 [21:57:36]opened+sec_in_day 1729468827 [21:57:36]quantity*price = 16000 [21:57:36]sum+1 = 16001 [21:57:36]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48746649 Сигареты Parliament Super Slims Winter F 1.000 * 147.00 = 147.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48744119 Сигареты Winston Xstyle Dual 1.000 * 149.00 = 149.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4860019001414 Вода Боржоми 0,75л ПЭТ 1.000 * 165.00 = 165.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 765.00 НСП 1% : 6.77 НДС 12% : 81.23 Наличными: 765.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 81 20.10.2024 21:57 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2700 ФПД: 277321748128305 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T215753&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2700&fm=277321748128305&tin=02508201610067®Number=0000000000207295&sum=76500 0 [21:57:38]StoreToDocumentArchive [21:57:38]shift 24 fd 2700 [21:57:38]save to /storage/0024/doc_00002700 [21:57:38]save last doc name /storage/0024/doc_00002700 to /storage/kkm_last_doc_name [21:57:38]save OK [21:57:38]Clear old archive folders... [21:57:38]Remove dir /storage/0010 [21:57:38]opendir ok [21:57:38]file . [21:57:38]file .. [21:57:38]file doc_1729460805 [21:57:38]remove file /storage/0010/doc_1729460805 [21:57:38]remove dir /storage/0010 [21:57:38]ProcessDocumentItem done err = 0, tmpTLVsize=706 [21:57:38]tlvbuf is 014F6B90 [21:57:38]SAM_PROTO_ClearQueue [21:57:38]wFMCommunicate request_size=4 [21:57:38]MH_SAM_APDU [21:57:38]CAPDU: 80 09 00 00 [21:57:38]Write to MH i2c: E2 08 00 71 75 80 09 00 00 00 00 00 00 58 [21:57:38]Write i2c OK [21:57:38]MH_I2C_Read... [21:57:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:57:38]Read from MH i2c: E2 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 71 75 00 90 00 5A [21:57:38]RAPDU: 90 00 [21:57:38]wFMCommunicate OK [21:57:38]SAM_PROTO_ClearQueue done [21:57:38]KKMCreateOFDPacket [21:57:38]OFDProtocolAddRootSTLVToBuf [21:57:38]FM_MakeSignedData [21:57:38]FM_MakeSignedData [21:57:38]SAM_PROTO_SignData [21:57:38]wFMCommunicate request_size=4 [21:57:38]MH_SAM_APDU [21:57:38]CAPDU: 80 0D 01 02 [21:57:38]Write to MH i2c: E2 08 00 72 75 80 0D 01 02 00 00 00 00 60 [21:57:38]Write i2c OK [21:57:38]MH_I2C_Read... [21:57:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:57:38]Read from MH i2c: E2 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 72 75 00 90 00 5B [21:57:38]RAPDU: 90 00 [21:57:38]wFMCommunicate OK [21:57:38]wFMCommunicate request_size=255 [21:57:38]MH_SAM_APDU [21:57:38]CAPDU: 80 0D 02 02 FA 03 00 C2 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 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 34 31 31 39 06 04 24 00 D0 A1 [21:57:38]Write to MH i2c: E2 02 01 73 75 80 0D 02 02 FA 00 03 00 C2 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 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 34 31 31 39 06 04 24 00 D0 A1 00 00 97 [21:57:38]Write i2c OK [21:57:38]MH_I2C_Read... [21:57:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:38]Read from MH i2c: E2 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 73 75 00 90 00 5C [21:57:38]RAPDU: 90 00 [21:57:38]wFMCommunicate OK [21:57:38]wFMCommunicate request_size=255 [21:57:38]MH_SAM_APDU [21:57:38]CAPDU: 80 0D 02 02 FA D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 [21:57:38]Write to MH i2c: E2 02 01 74 75 80 0D 02 02 FA 00 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 00 00 31 [21:57:38]Write i2c OK [21:57:38]MH_I2C_Read... [21:57:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:38]Read from MH i2c: E2 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 74 75 00 90 00 5D [21:57:38]RAPDU: 90 00 [21:57:38]wFMCommunicate OK [21:57:38]wFMCommunicate request_size=215 [21:57:38]MH_SAM_APDU [21:57:38]CAPDU: 80 0D 02 02 D2 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 2A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 1F 00 00 00 00 07 04 06 00 D4 2A 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 E1 7C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8C 0A 00 00 35 04 06 00 FC 39 00 49 22 31 [21:57:38]Write to MH i2c: E2 DA 00 75 75 80 0D 02 02 D2 00 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 2A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 1F 00 00 00 00 07 04 06 00 D4 2A 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 E1 7C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8C 0A 00 00 35 04 06 00 FC 39 00 49 22 31 00 00 5F [21:57:38]Write i2c OK [21:57:38]MH_I2C_Read... [21:57:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:38]Read from MH i2c: E2 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 [21:57:38]MH_I2C_Read... [21:57:38]Read from MH i2c: E2 03 00 75 75 00 90 00 5E [21:57:38]RAPDU: 90 00 [21:57:38]wFMCommunicate OK [21:57:38]wFMCommunicate request_size=4 [21:57:38]MH_SAM_APDU [21:57:38]CAPDU: 80 0D 03 02 [21:57:38]Write to MH i2c: E2 08 00 76 75 80 0D 03 02 00 00 00 00 66 [21:57:38]Write i2c OK [21:57:38]MH_I2C_Read... [21:57:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:57:39]Read from MH i2c: E2 [21:57:39]MH_I2C_Read... [21:57:39]Read from MH i2c: E2 0B 00 [21:57:39]MH_I2C_Read... [21:57:39]Read from MH i2c: E2 0B 00 76 75 00 1B A4 53 4F 4A E1 1B 2D 90 00 3B [21:57:39]RAPDU: 1B A4 53 4F 4A E1 1B 2D 90 00 [21:57:39]wFMCommunicate OK [21:57:39]SAM_PROTO_SignData done [21:57:39]FM_MakeSignedData done [21:57:39]CreateOFDProtocolMessage [21:57:39]wFMCommunicate request_size=4 [21:57:39]MH_SAM_APDU [21:57:39]CAPDU: 80 11 00 00 [21:57:39]Write to MH i2c: E2 08 00 77 75 80 11 00 00 00 00 00 00 66 [21:57:39]Write i2c OK [21:57:39]MH_I2C_Read... [21:57:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:39]Read from MH i2c: E2 [21:57:39]MH_I2C_Read... [21:57:39]Read from MH i2c: E2 17 00 [21:57:39]MH_I2C_Read... [21:57:39]Read from MH i2c: E2 17 00 77 75 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AE [21:57:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:57:39]wFMCommunicate OK [21:57:39]CreateOFDProtocolMessage done [21:57:39]OFDSenderStorePacket 2700 [21:57:39]StoreOFDPacket docnum=2700 [21:57:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 D6 02 00 00 E8 F6 CE 02 BA 99 5A 03 01 00 03 00 C2 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 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 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 2A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 1F 00 00 00 00 07 04 06 00 D4 2A 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 E1 7C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8C 0A 00 00 35 04 06 00 FC 39 00 49 22 31 1B A4 53 4F 4A E1 1B 2D [21:57:39]CheckFolder [21:57:39]dirname=/storage/ofd_packets [21:57:39]CheckFolder done [21:57:39]ProducePacketName [21:57:39]name=ofd_packets/00002700 [21:57:39]NVStorageSaveData ofd_packets/00002700 [21:57:39]File name is /storage/ofd_packets/00002700 [21:57:39]Write 756 bytes [21:57:39]NVStorageSaveData done [21:57:39]OFDSenderStorePacket done [21:57:39]KKMCreateOFDPacket done [21:57:39]NVStorageSaveData kkm_last_timestamp [21:57:39]File name is /storage/kkm_last_timestamp [21:57:39]Write 4 bytes [21:57:39]NVStorageSaveData done [21:57:39]ExternCall_PrintAddStr [21:57:39]wPrintStart [21:57:39]Write to MH i2c: 01 00 00 78 75 ED [21:57:39]Write i2c OK [21:57:39]MH_I2C_Read... [21:57:39]Read from MH i2c: 01 [21:57:39]MH_I2C_Read... [21:57:39]Read from MH i2c: 01 07 00 [21:57:39]MH_I2C_Read... [21:57:39]Read from MH i2c: 01 07 00 78 75 00 00 00 00 00 FF 0F 02 [21:57:39]RasterBufferAndPrint [21:57:39]line Счет N : (3)100077 [21:57:39]line ИНН: 02508201610067 [21:57:39]line Контрольно-Кассовый Чек [21:57:39]line ПРОДАЖА [21:57:39]line Товар: 48741958 [21:57:39]line Сигареты Parliament Aqua Blue [21:57:39]line 1.000 * 160.00 [21:57:39]line = 160.00 [21:57:39]line НДС 12% НСП 1% [21:57:39]line > о реализуемом товаре [21:57:39]line Товар: 48746649 [21:57:39]line Сигареты Parliament Super Slims Winter F [21:57:39]line 1.000 * 147.00 [21:57:39]line = 147.00 [21:57:39]line НДС 12% НСП 1% [21:57:39]line > о реализуемом товаре [21:57:39]line Товар: 48744119 [21:57:39]line Сигареты Winston Xstyle Dual [21:57:39]line 1.000 * 149.00 [21:57:39]line = 149.00 [21:57:39]line НДС 12% НСП 1% [21:57:39]line > о реализуемом товаре [21:57:39]line Товар: 4860019001414 [21:57:39]line Вода Боржоми 0,75л ПЭТ [21:57:39]line 1.000 * 165.00 [21:57:39]line = 165.00 [21:57:39]line НДС 12% НСП 1% [21:57:39]line > о реализуемом товаре [21:57:39]line Товар: 48743587 [21:57:39]line Сигареты Winston XStyle Silver [21:57:39]line 1.000 * 144.00 [21:57:39]line = 144.00 [21:57:39]line НДС 12% НСП 1% [21:57:39]line > о реализуемом товаре [21:57:39]line ИТОГО: 765.00 [21:57:39]line НСП 1% : 6.77 [21:57:39]line НДС 12% : 81.23 [21:57:39]line Наличными: 765.00 [21:57:39]line Безнал.: 0.00 [21:57:39]line Место: АЗС № 162 "Партнер Нефть" [21:57:39]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:57:39]line СНО: Общий режим [21:57:39]line Чек 81 20.10.2024 21:57 [21:57:39]line Смена: 24 ФФД: 1.0 [21:57:39]line ЗНМ: 0300000191 [21:57:39]line РНМ: 0000000000207295 [21:57:39]line Версия ККМ: v1.0 [21:57:39]line ФМ: 0000000002342820 [21:57:39]line ФД: 2700 [21:57:39]line ФПД: 277321748128305 [21:57:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T215753&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2700&fm=277321748128305&tin=02508201610067®Number=0000000000207295&sum=76500 [21:57:39]line 0 [21:57:39]written 0, free lines is 4095 [21:57:39]OFD Sender: Processing packet 2700 [packets to send 1, broken 0] [21:57:39]ProducePacketName [21:57:39]name=ofd_packets/00002700 [21:57:39]OFD Sender: To server: pG, [21:57:39]CommunicateWithHost lk.salyk.kg:30040 [21:57:39]ConnectInit lk.salyk.kg [21:57:39]Connected sock=9 [21:57:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 D6 02 00 00 E8 F6 CE 02 BA 99 5A 03 01 00 03 00 C2 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 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 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 2A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 1F 00 00 00 00 07 04 06 00 D4 2A 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 E1 7C 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8C 0A 00 00 35 04 06 00 FC 39 00 49 22 31 1B A4 53 4F 4A E1 1B 2D [21:57:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 EE 1A 47 00 05 F3 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 33 34 32 38 32 30 10 04 04 00 8C 0A 00 00 F4 03 04 00 3E 28 15 67 B6 04 01 00 00 AE BD 11 95 B2 E3 C1 F9 [21:57:39]CommunicateWithHost err = 0 [21:57:39]CheckOFDResponse [21:57:39]1017 (14) - 77093643461234 [21:57:39]1041 (16) - 0000000002342820 [21:57:39]1040 (4) - 2700 [21:57:39]1012 (4) - 20.10.2024 15:56 [21:57:39]1206 (1) - 0 [21:57:39]OFD Sender: Remove packet 2700 [21:57:39]ProducePacketName [21:57:39]name=ofd_packets/00002700 [21:57:39]NVStorageDeleteData [21:57:40]Write to MH i2c: 01 00 00 BB 75 30 [21:57:40]Write i2c OK [21:57:40]MH_I2C_Read... [21:57:40]Read from MH i2c: 01 [21:57:40]MH_I2C_Read... [21:57:40]Read from MH i2c: 01 07 00 [21:57:40]MH_I2C_Read... [21:57:40]Read from MH i2c: 01 07 00 BB 75 00 00 00 00 00 BB 0A FC [21:57:40]RasterBufferAndPrint [21:57:40]line [21:57:40]line [21:57:40]line [21:57:40]line [21:57:40]line [21:57:40]written 0, free lines is 2753 [21:57:40]MH_Cut [21:57:40]Write to MH i2c: D1 01 00 C2 75 01 09 [21:57:40]Write i2c OK [21:57:40]MH_I2C_Read... [21:57:40]Read from MH i2c: D1 [21:57:40]MH_I2C_Read... [21:57:40]Read from MH i2c: D1 01 00 [21:57:40]MH_I2C_Read... [21:57:40]Read from MH i2c: D1 01 00 C2 75 00 08 [21:57:40]Write to MH i2c: 01 00 00 C3 75 38 [21:57:40]Write i2c OK [21:57:40]MH_I2C_Read... [21:57:40]OFD Sender: No OFD packet to send [21:57:41]*** Cut start [21:57:41]*** Partial cut [21:57:41]*** CUTSNS_PIN = 1 [21:57:41]*** CUTSNS_PIN = 0 [21:57:41]*** Brake cut motor [21:57:42]Read from MH i2c: 01 [21:57:42]MH_I2C_Read... [21:57:42]*** Stop cut motor [21:57:42]*** Cut end [21:57:42]Read from MH i2c: 01 07 00 [21:57:42]MH_I2C_Read... [21:57:42]Read from MH i2c: 01 07 00 C3 75 00 00 00 00 00 FF 0F 4D [21:57:42]process_action close_receipt done [21:57:42]requested_data is exist [21:57:42]produce_requested_data [21:57:42]requested_item fm.sn is exist - process it [21:57:42]wFMCommunicate request_size=4 [21:57:42]MH_SAM_APDU [21:57:42]CAPDU: 80 11 00 00 [21:57:42]Write to MH i2c: E2 08 00 C4 75 80 11 00 00 00 00 00 00 B3 [21:57:42]Write i2c OK [21:57:42]MH_I2C_Read... [21:57:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:42]Read from MH i2c: E2 [21:57:42]MH_I2C_Read... [21:57:42]Read from MH i2c: E2 17 00 [21:57:42]MH_I2C_Read... [21:57:42]Read from MH i2c: E2 17 00 C4 75 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FB [21:57:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:57:42]wFMCommunicate OK [21:57:42]requested_item fd.num is exist - process it [21:57:42]SAM_PROTO_GetFieldsCounters [21:57:42]wFMCommunicate request_size=4 [21:57:42]MH_SAM_APDU [21:57:42]CAPDU: 80 13 00 00 [21:57:42]Write to MH i2c: E2 08 00 C5 75 80 13 00 00 00 00 00 00 B6 [21:57:42]Write i2c OK [21:57:42]MH_I2C_Read... [21:57:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:57:42]Read from MH i2c: E2 [21:57:42]MH_I2C_Read... [21:57:42]Read from MH i2c: E2 62 00 [21:57:42]MH_I2C_Read... [21:57:42]Read from MH i2c: E2 62 00 C5 75 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [21:57:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:57:42]wFMCommunicate OK [21:57:42]SAM_PROTO_GetFieldsCounters done [21:57:42]requested_item shift.num is exist - process it [21:57:42]requested_item shift.opened is exist - process it [21:57:42]req_shift_opened [21:57:42]FM_GetShiftState [21:57:42]SAM_PROTO_GetShiftState [21:57:42]wFMCommunicate request_size=4 [21:57:42]MH_SAM_APDU [21:57:42]CAPDU: 80 13 01 00 [21:57:42]Write to MH i2c: E2 08 00 C6 75 80 13 01 00 00 00 00 00 B8 [21:57:42]Write i2c OK [21:57:42]MH_I2C_Read... [21:57:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:42]Read from MH i2c: E2 [21:57:42]MH_I2C_Read... [21:57:42]Read from MH i2c: E2 0E 00 [21:57:42]MH_I2C_Read... [21:57:42]Read from MH i2c: E2 0E 00 C6 75 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A2 [21:57:42]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [21:57:42]wFMCommunicate OK [21:57:42]SAM_PROTO_GetShiftState done [21:57:42]FM_GetShiftState done [21:57:42]req_shift_opened done [21:57:42]requested_item shift.open_date is exist - process it [21:57:42]req_shift_open_date [21:57:42]req_shift_open_date done [21:57:42]produce_requested_data done [21:57:42]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2700,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [21:57:42]process_action_free close_receipt [21:57:42]json_value_free [21:57:42]json_value_free done [21:57:42]process_json_proto returns [21:57:42]Send response to host [21:57:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2700,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [21:57:42]free response buf [21:57:42]execute_script done [21:57:42]execute_script returns [21:57:42]free content buf [21:57:42]Sock 7.Close socket [21:57:42]Sock 7.Thread stoped [21:57:45]OFD Sender: No OFD packet to send [21:57:50]OFD Sender: No OFD packet to send [21:57:55]OFD Sender: No OFD packet to send [21:58:00]OFD Sender: No OFD packet to send [21:58:05]OFD Sender: No OFD packet to send [21:58:10]OFD Sender: No OFD packet to send [21:58:15]OFD Sender: No OFD packet to send [21:58:20]OFD Sender: No OFD packet to send [21:58:25]OFD Sender: No OFD packet to send [21:58:30]OFD Sender: No OFD packet to send [21:58:35]OFD Sender: No OFD packet to send [21:58:40]OFD Sender: No OFD packet to send [21:58:45]OFD Sender: No OFD packet to send [21:58:50]OFD Sender: No OFD packet to send [21:58:55]OFD Sender: No OFD packet to send [21:59:00]OFD Sender: No OFD packet to send [21:59:05]OFD Sender: No OFD packet to send [21:59:10]OFD Sender: No OFD packet to send [21:59:15]OFD Sender: No OFD packet to send [21:59:20]OFD Sender: No OFD packet to send [21:59:25]OFD Sender: No OFD packet to send [21:59:30]OFD Sender: No OFD packet to send [21:59:35]OFD Sender: No OFD packet to send [21:59:40]OFD Sender: No OFD packet to send [21:59:45]OFD Sender: No OFD packet to send [21:59:50]OFD Sender: No OFD packet to send [21:59:55]OFD Sender: No OFD packet to send [22:00:00]OFD Sender: No OFD packet to send [22:00:05]OFD Sender: No OFD packet to send [22:00:10]OFD Sender: No OFD packet to send [22:00:15]OFD Sender: No OFD packet to send [22:00:20]OFD Sender: No OFD packet to send [22:00:25]OFD Sender: No OFD packet to send [22:00:30]OFD Sender: No OFD packet to send [22:00:35]OFD Sender: No OFD packet to send [22:00:40]OFD Sender: No OFD packet to send [22:00:45]OFD Sender: No OFD packet to send [22:00:50]OFD Sender: No OFD packet to send [22:00:55]OFD Sender: No OFD packet to send [22:01:00]OFD Sender: No OFD packet to send [22:01:05]OFD Sender: No OFD packet to send [22:01:10]OFD Sender: No OFD packet to send [22:01:15]OFD Sender: No OFD packet to send [22:01:20]OFD Sender: No OFD packet to send [22:01:25]OFD Sender: No OFD packet to send [22:01:28]accept exits with 10 [22:01:28]New connection [22:01:28]New thread 3066707300 created [22:01:28]Thread 3066850660 joined [22:01:28]Waiting for new connection... [22:01:28] Sock 10.Parse request [22:01:28]Sock 10.Check first char [22:01:28]Sock 10.First char is OK [22:01:28]request: POST /json_proto HTTP/1.0 [22:01:28]Method: POST [22:01:28]URL: /json_proto [22:01:28]Method is POST - this is cgi request [22:01:28]url: /json_proto [22:01:28]query_string will be loaded in cgi processing [22:01:28]execute_cgi json_proto POST (null) [22:01:28]execute_cgi path=json_proto method=POST [22:01:28]POST find Content-Length [22:01:28]Host: 172.17.52.132:8080 [22:01:28]Content-Length: 630 [22:01:28]Content-Type: application/json [22:01:28] [22:01:28]POST finish read [22:01:28]Found Content-Length = 630 [22:01:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100078", "tax_sys" : 0, "items" : [ { "code": "6957531032007", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco RAP CHAR X1 \u0410pple 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:01:28]execute_script... [22:01: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)100078", "tax_sys" : 0, "items" : [ { "code": "6957531032007", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco RAP CHAR X1 \u0410pple 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:01:28]POST & json_proto [22:01:28]process_json_proto [22:01:28]json parsed OK: [22:01:28]protocol is kg_v1.0 [22:01:28]action value=close_receipt [22:01:28]process_action close_receipt [22:01:28]cmd_close_receipt [22:01:28]MH_GetDate [22:01:28]Write to MH i2c: F0 00 00 C7 75 2B [22:01:28]Write i2c OK [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: F0 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: F0 09 00 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: F0 09 00 C7 75 00 C9 7D 15 67 5A BE F6 66 6A [22:01:28]GetLastDocTimeStamp 1729461473 [22:01:28]current date 1729461705 [22:01:28]FM_GetShiftState [22:01:28]SAM_PROTO_GetShiftState [22:01:28]wFMCommunicate request_size=4 [22:01:28]MH_SAM_APDU [22:01:28]CAPDU: 80 13 01 00 [22:01:28]Write to MH i2c: E2 08 00 C8 75 80 13 01 00 00 00 00 00 BA [22:01:28]Write i2c OK [22:01:28]MH_I2C_Read... [22:01:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:01:28]Read from MH i2c: E2 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 0E 00 [22:01:28]MH_I2C_Read... [22:01:28]Read from MH i2c: E2 0E 00 C8 75 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 A4 [22:01:28]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [22:01:28]wFMCommunicate OK [22:01:28]SAM_PROTO_GetShiftState done [22:01:28]FM_GetShiftState done [22:01:28]opened in 1729382427 [22:01:28]opened+sec_in_day 1729468827 [22:01:28]quantity*price = 27100 [22:01:28]sum+1 = 27101 [22:01:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 271.00 НСП 1% : 2.40 НДС 12% : 28.78 Наличными: 271.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 82 20.10.2024 22:01 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2701 ФПД: 119326312885755 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T220145&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2701&fm=119326312885755&tin=02508201610067®Number=0000000000207295&sum=27100 0 [22:01:30]StoreToDocumentArchive [22:01:30]shift 24 fd 2701 [22:01:30]save to /storage/0024/doc_00002701 [22:01:30]save last doc name /storage/0024/doc_00002701 to /storage/kkm_last_doc_name [22:01:30]save OK [22:01:30]Clear old archive folders... [22:01:30]ProcessDocumentItem done err = 0, tmpTLVsize=282 [22:01:30]tlvbuf is 01592F70 [22:01:30]SAM_PROTO_ClearQueue [22:01:30]wFMCommunicate request_size=4 [22:01:30]MH_SAM_APDU [22:01:30]CAPDU: 80 09 00 00 [22:01:30]Write to MH i2c: E2 08 00 D5 75 80 09 00 00 00 00 00 00 BC [22:01:30]Write i2c OK [22:01:30]MH_I2C_Read... [22:01:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:01:30]Read from MH i2c: E2 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 03 00 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 03 00 D5 75 00 90 00 BE [22:01:30]RAPDU: 90 00 [22:01:30]wFMCommunicate OK [22:01:30]SAM_PROTO_ClearQueue done [22:01:30]KKMCreateOFDPacket [22:01:30]OFDProtocolAddRootSTLVToBuf [22:01:30]FM_MakeSignedData [22:01:30]FM_MakeSignedData [22:01:30]SAM_PROTO_SignData [22:01:30]wFMCommunicate request_size=4 [22:01:30]MH_SAM_APDU [22:01:30]CAPDU: 80 0D 01 02 [22:01:30]Write to MH i2c: E2 08 00 D6 75 80 0D 01 02 00 00 00 00 C4 [22:01:30]Write i2c OK [22:01:30]MH_I2C_Read... [22:01:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:01:30]Read from MH i2c: E2 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 03 00 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 03 00 D6 75 00 90 00 BF [22:01:30]RAPDU: 90 00 [22:01:30]wFMCommunicate OK [22:01:30]wFMCommunicate request_size=255 [22:01:30]MH_SAM_APDU [22:01:30]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 C9 7D 15 67 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 32 30 37 32 39 35 11 04 [22:01:30]Write to MH i2c: E2 02 01 D7 75 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 C9 7D 15 67 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 32 30 37 32 39 35 11 04 00 00 D4 [22:01:30]Write i2c OK [22:01:30]MH_I2C_Read... [22:01:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:01:30]Read from MH i2c: E2 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 03 00 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 03 00 D7 75 00 90 00 C0 [22:01:30]RAPDU: 90 00 [22:01:30]wFMCommunicate OK [22:01:30]wFMCommunicate request_size=41 [22:01:30]MH_SAM_APDU [22:01:30]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8D 0A 00 00 35 04 06 00 6C 86 D2 7D ED FB [22:01:30]Write to MH i2c: E2 2C 00 D8 75 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8D 0A 00 00 35 04 06 00 6C 86 D2 7D ED FB 00 00 4B [22:01:30]Write i2c OK [22:01:30]MH_I2C_Read... [22:01:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:01:30]Read from MH i2c: E2 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 03 00 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 03 00 D8 75 00 90 00 C1 [22:01:30]RAPDU: 90 00 [22:01:30]wFMCommunicate OK [22:01:30]wFMCommunicate request_size=4 [22:01:30]MH_SAM_APDU [22:01:30]CAPDU: 80 0D 03 02 [22:01:30]Write to MH i2c: E2 08 00 D9 75 80 0D 03 02 00 00 00 00 C9 [22:01:30]Write i2c OK [22:01:30]MH_I2C_Read... [22:01:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:01:30]Read from MH i2c: E2 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 0B 00 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 0B 00 D9 75 00 84 BE 64 8D 5C D1 1C DF 90 00 25 [22:01:30]RAPDU: 84 BE 64 8D 5C D1 1C DF 90 00 [22:01:30]wFMCommunicate OK [22:01:30]SAM_PROTO_SignData done [22:01:30]FM_MakeSignedData done [22:01:30]CreateOFDProtocolMessage [22:01:30]wFMCommunicate request_size=4 [22:01:30]MH_SAM_APDU [22:01:30]CAPDU: 80 11 00 00 [22:01:30]Write to MH i2c: E2 08 00 DA 75 80 11 00 00 00 00 00 00 C9 [22:01:30]Write i2c OK [22:01:30]MH_I2C_Read... [22:01:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:01:30]Read from MH i2c: E2 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 17 00 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: E2 17 00 DA 75 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 11 [22:01:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:01:30]wFMCommunicate OK [22:01:30]CreateOFDProtocolMessage done [22:01:30]OFDSenderStorePacket 2701 [22:01:30]StoreOFDPacket docnum=2701 [22:01:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2E 01 00 00 B0 4B 26 01 78 AB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 C9 7D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8D 0A 00 00 35 04 06 00 6C 86 D2 7D ED FB 84 BE 64 8D 5C D1 1C DF [22:01:30]CheckFolder [22:01:30]dirname=/storage/ofd_packets [22:01:30]CheckFolder done [22:01:30]ProducePacketName [22:01:30]name=ofd_packets/00002701 [22:01:30]NVStorageSaveData ofd_packets/00002701 [22:01:30]File name is /storage/ofd_packets/00002701 [22:01:30]Write 332 bytes [22:01:30]NVStorageSaveData done [22:01:30]OFDSenderStorePacket done [22:01:30]KKMCreateOFDPacket done [22:01:30]NVStorageSaveData kkm_last_timestamp [22:01:30]File name is /storage/kkm_last_timestamp [22:01:30]Write 4 bytes [22:01:30]NVStorageSaveData done [22:01:30]ExternCall_PrintAddStr [22:01:30]wPrintStart [22:01:30]Write to MH i2c: 01 00 00 DB 75 50 [22:01:30]Write i2c OK [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: 01 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: 01 07 00 [22:01:30]MH_I2C_Read... [22:01:30]Read from MH i2c: 01 07 00 DB 75 00 00 00 00 00 FF 0F 65 [22:01:30]RasterBufferAndPrint [22:01:30]line Счет N : (3)100078 [22:01:30]line ИНН: 02508201610067 [22:01:30]line Контрольно-Кассовый Чек [22:01:30]line ПРОДАЖА [22:01:30]line Товар: 6957531032007 [22:01:30]line Кабель hoco RAP CHAR X1 Аpple 1м [22:01:30]line 1.000 * 271.00 [22:01:30]line = 271.00 [22:01:30]line НДС 12% НСП 1% [22:01:30]line > о реализуемом товаре [22:01:30]line ИТОГО: 271.00 [22:01:30]line НСП 1% : 2.40 [22:01:30]line НДС 12% : 28.78 [22:01:30]line Наличными: 271.00 [22:01:30]line Безнал.: 0.00 [22:01:30]line Место: АЗС № 162 "Партнер Нефть" [22:01:30]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:01:30]line СНО: Общий режим [22:01:30]line Чек 82 20.10.2024 22:01 [22:01:30]line Смена: 24 ФФД: 1.0 [22:01:30]line ЗНМ: 0300000191 [22:01:30]line РНМ: 0000000000207295 [22:01:30]line Версия ККМ: v1.0 [22:01:30]line ФМ: 0000000002342820 [22:01:30]line ФД: 2701 [22:01:30]line ФПД: 119326312885755 [22:01:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T220145&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2701&fm=119326312885755&tin=02508201610067®Number=0000000000207295&sum=27100 [22:01:30]line 0 [22:01:30]OFD Sender: Processing packet 2701 [packets to send 1, broken 0] [22:01:30]ProducePacketName [22:01:30]name=ofd_packets/00002701 [22:01:30]OFD Sender: To server: pG, [22:01:30]CommunicateWithHost lk.salyk.kg:30040 [22:01:30]ConnectInit lk.salyk.kg [22:01:30]written 0, free lines is 4095 [22:01:30]Connected sock=7 [22:01:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2E 01 00 00 B0 4B 26 01 78 AB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 C9 7D 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8D 0A 00 00 35 04 06 00 6C 86 D2 7D ED FB 84 BE 64 8D 5C D1 1C DF [22:01:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 82 46 47 00 C0 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 33 34 32 38 32 30 10 04 04 00 8D 0A 00 00 F4 03 04 00 26 29 15 67 B6 04 01 00 00 69 DB 58 2E E5 AA 25 0B [22:01:31]CommunicateWithHost err = 0 [22:01:31]CheckOFDResponse [22:01:31]1017 (14) - 77093643461234 [22:01:31]1041 (16) - 0000000002342820 [22:01:31]1040 (4) - 2701 [22:01:31]1012 (4) - 20.10.2024 16:00 [22:01:31]1206 (1) - 0 [22:01:31]OFD Sender: Remove packet 2701 [22:01:31]ProducePacketName [22:01:31]name=ofd_packets/00002701 [22:01:31]NVStorageDeleteData [22:01:31]Write to MH i2c: 01 00 00 04 76 7A [22:01:31]Write i2c OK [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: 01 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: 01 07 00 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: 01 07 00 04 76 00 00 00 00 00 C0 0C 4D [22:01:31]RasterBufferAndPrint [22:01:31]line [22:01:31]line [22:01:31]line [22:01:31]line [22:01:31]line [22:01:31]written 0, free lines is 3270 [22:01:31]MH_Cut [22:01:31]Write to MH i2c: D1 01 00 0B 76 01 53 [22:01:31]Write i2c OK [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: D1 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: D1 01 00 [22:01:31]MH_I2C_Read... [22:01:31]Read from MH i2c: D1 01 00 0B 76 00 52 [22:01:31]Write to MH i2c: 01 00 00 0C 76 82 [22:01:31]Write i2c OK [22:01:31]MH_I2C_Read... [22:01:31]OFD Sender: No OFD packet to send [22:01:32]*** Cut start [22:01:32]*** Partial cut [22:01:32]*** CUTSNS_PIN = 1 [22:01:32]*** CUTSNS_PIN = 0 [22:01:32]*** Brake cut motor [22:01:32]Read from MH i2c: 01 [22:01:32]MH_I2C_Read... [22:01:32]*** Stop cut motor [22:01:32]*** Cut end [22:01:32]Read from MH i2c: 01 07 00 [22:01:32]MH_I2C_Read... [22:01:32]Read from MH i2c: 01 07 00 0C 76 00 00 00 00 00 FF 0F 97 [22:01:32]process_action close_receipt done [22:01:32]requested_data is exist [22:01:32]produce_requested_data [22:01:32]requested_item fm.sn is exist - process it [22:01:32]wFMCommunicate request_size=4 [22:01:32]MH_SAM_APDU [22:01:32]CAPDU: 80 11 00 00 [22:01:32]Write to MH i2c: E2 08 00 0D 76 80 11 00 00 00 00 00 00 FD [22:01:32]Write i2c OK [22:01:32]MH_I2C_Read... [22:01:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:01:32]Read from MH i2c: E2 [22:01:32]MH_I2C_Read... [22:01:32]Read from MH i2c: E2 17 00 [22:01:32]MH_I2C_Read... [22:01:32]Read from MH i2c: E2 17 00 0D 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 45 [22:01:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:01:32]wFMCommunicate OK [22:01:32]requested_item fd.num is exist - process it [22:01:32]SAM_PROTO_GetFieldsCounters [22:01:32]wFMCommunicate request_size=4 [22:01:32]MH_SAM_APDU [22:01:32]CAPDU: 80 13 00 00 [22:01:32]Write to MH i2c: E2 08 00 0E 76 80 13 00 00 00 00 00 00 00 [22:01:32]Write i2c OK [22:01:32]MH_I2C_Read... [22:01:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:01:33]Read from MH i2c: E2 [22:01:33]MH_I2C_Read... [22:01:33]Read from MH i2c: E2 62 00 [22:01:33]MH_I2C_Read... [22:01:33]Read from MH i2c: E2 62 00 0E 76 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8D 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 BB [22:01:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8D 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:01:33]wFMCommunicate OK [22:01:33]SAM_PROTO_GetFieldsCounters done [22:01:33]requested_item shift.num is exist - process it [22:01:33]requested_item shift.opened is exist - process it [22:01:33]req_shift_opened [22:01:33]FM_GetShiftState [22:01:33]SAM_PROTO_GetShiftState [22:01:33]wFMCommunicate request_size=4 [22:01:33]MH_SAM_APDU [22:01:33]CAPDU: 80 13 01 00 [22:01:33]Write to MH i2c: E2 08 00 0F 76 80 13 01 00 00 00 00 00 02 [22:01:33]Write i2c OK [22:01:33]MH_I2C_Read... [22:01:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:01:33]Read from MH i2c: E2 [22:01:33]MH_I2C_Read... [22:01:33]Read from MH i2c: E2 0E 00 [22:01:33]MH_I2C_Read... [22:01:33]Read from MH i2c: E2 0E 00 0F 76 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 EC [22:01:33]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [22:01:33]wFMCommunicate OK [22:01:33]SAM_PROTO_GetShiftState done [22:01:33]FM_GetShiftState done [22:01:33]req_shift_opened done [22:01:33]requested_item shift.open_date is exist - process it [22:01:33]req_shift_open_date [22:01:33]req_shift_open_date done [22:01:33]produce_requested_data done [22:01:33]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2701,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [22:01:33]process_action_free close_receipt [22:01:33]json_value_free [22:01:33]json_value_free done [22:01:33]process_json_proto returns [22:01:33]Send response to host [22:01:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2701,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [22:01:33]free response buf [22:01:33]execute_script done [22:01:33]execute_script returns [22:01:33]free content buf [22:01:33]Sock 10.Close socket [22:01:33]Sock 10.Thread stoped [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:47]accept exits with 9 [22:05:47]New connection [22:05:47]New thread 3066850660 created [22:05:47]Thread 3066707300 joined [22:05:47]Waiting for new connection... [22:05:47] Sock 9.Parse request [22:05:47]Sock 9.Check first char [22:05:47]Sock 9.First char is OK [22:05:47]request: POST /json_proto HTTP/1.0 [22:05:47]Method: POST [22:05:47]URL: /json_proto [22:05:47]Method is POST - this is cgi request [22:05:47]url: /json_proto [22:05:47]query_string will be loaded in cgi processing [22:05:47]execute_cgi json_proto POST (null) [22:05:47]execute_cgi path=json_proto method=POST [22:05:47]POST find Content-Length [22:05:47]Host: 172.17.52.132:8080 [22:05:47]Content-Length: 805 [22:05:47]Content-Type: application/json [22:05:47] [22:05:47]POST finish read [22:05:47]Found Content-Length = 805 [22:05:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100079", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:05:47]execute_script... [22:05:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100079", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:05:47]POST & json_proto [22:05:47]process_json_proto [22:05:47]json parsed OK: [22:05:47]protocol is kg_v1.0 [22:05:47]action value=close_receipt [22:05:47]process_action close_receipt [22:05:47]cmd_close_receipt [22:05:47]MH_GetDate [22:05:47]Write to MH i2c: F0 00 00 10 76 75 [22:05:47]Write i2c OK [22:05:47]MH_I2C_Read... [22:05:47]Read from MH i2c: F0 [22:05:47]MH_I2C_Read... [22:05:47]Read from MH i2c: F0 09 00 [22:05:47]MH_I2C_Read... [22:05:47]Read from MH i2c: F0 09 00 10 76 00 CC 7E 15 67 5A BE F6 66 B8 [22:05:47]GetLastDocTimeStamp 1729461705 [22:05:47]current date 1729461964 [22:05:47]FM_GetShiftState [22:05:47]SAM_PROTO_GetShiftState [22:05:47]wFMCommunicate request_size=4 [22:05:47]MH_SAM_APDU [22:05:47]CAPDU: 80 13 01 00 [22:05:47]Write to MH i2c: E2 08 00 11 76 80 13 01 00 00 00 00 00 04 [22:05:47]Write i2c OK [22:05:47]MH_I2C_Read... [22:05:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:47]Read from MH i2c: E2 [22:05:47]MH_I2C_Read... [22:05:47]Read from MH i2c: E2 0E 00 [22:05:47]MH_I2C_Read... [22:05:47]Read from MH i2c: E2 0E 00 11 76 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 EE [22:05:47]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [22:05:47]wFMCommunicate OK [22:05:47]SAM_PROTO_GetShiftState done [22:05:47]FM_GetShiftState done [22:05:47]opened in 1729382427 [22:05:47]opened+sec_in_day 1729468827 [22:05:47]quantity*price = 26000 [22:05:47]sum+1 = 26001 [22:05:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 0.00 Безнал.: 260.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 83 20.10.2024 22:06 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2702 ФПД: 28256964442225 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T220604&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2702&fm=28256964442225&tin=02508201610067®Number=0000000000207295&sum=26000 0 [22:05:48]StoreToDocumentArchive [22:05:48]shift 24 fd 2702 [22:05:48]save to /storage/0024/doc_00002702 [22:05:48]save last doc name /storage/0024/doc_00002702 to /storage/kkm_last_doc_name [22:05:48]save OK [22:05:48]Clear old archive folders... [22:05:48]ProcessDocumentItem done err = 0, tmpTLVsize=276 [22:05:48]tlvbuf is 014AD820 [22:05:48]SAM_PROTO_ClearQueue [22:05:48]wFMCommunicate request_size=4 [22:05:48]MH_SAM_APDU [22:05:48]CAPDU: 80 09 00 00 [22:05:48]Write to MH i2c: E2 08 00 1E 76 80 09 00 00 00 00 00 00 06 [22:05:48]Write i2c OK [22:05:48]MH_I2C_Read... [22:05:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:05:48]Read from MH i2c: E2 [22:05:48]MH_I2C_Read... [22:05:48]Read from MH i2c: E2 03 00 [22:05:48]MH_I2C_Read... [22:05:48]Read from MH i2c: E2 03 00 1E 76 00 90 00 08 [22:05:48]RAPDU: 90 00 [22:05:48]wFMCommunicate OK [22:05:48]SAM_PROTO_ClearQueue done [22:05:48]KKMCreateOFDPacket [22:05:48]OFDProtocolAddRootSTLVToBuf [22:05:48]FM_MakeSignedData [22:05:48]FM_MakeSignedData [22:05:48]SAM_PROTO_SignData [22:05:48]wFMCommunicate request_size=4 [22:05:48]MH_SAM_APDU [22:05:48]CAPDU: 80 0D 01 02 [22:05:48]Write to MH i2c: E2 08 00 1F 76 80 0D 01 02 00 00 00 00 0E [22:05:48]Write i2c OK [22:05:48]MH_I2C_Read... [22:05:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:05:49]Read from MH i2c: E2 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 03 00 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 03 00 1F 76 00 90 00 09 [22:05:49]RAPDU: 90 00 [22:05:49]wFMCommunicate OK [22:05:49]wFMCommunicate request_size=255 [22:05:49]MH_SAM_APDU [22:05:49]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 CC 7E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 [22:05:49]Write to MH i2c: E2 02 01 20 76 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 CC 7E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 00 00 14 [22:05:49]Write i2c OK [22:05:49]MH_I2C_Read... [22:05:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:05:49]Read from MH i2c: E2 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 03 00 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 03 00 20 76 00 90 00 0A [22:05:49]RAPDU: 90 00 [22:05:49]wFMCommunicate OK [22:05:49]wFMCommunicate request_size=35 [22:05:49]MH_SAM_APDU [22:05:49]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8E 0A 00 00 35 04 06 00 19 B3 16 53 F8 71 [22:05:49]Write to MH i2c: E2 26 00 21 76 80 0D 02 02 1E 00 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8E 0A 00 00 35 04 06 00 19 B3 16 53 F8 71 00 00 2F [22:05:49]Write i2c OK [22:05:49]MH_I2C_Read... [22:05:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:05:49]Read from MH i2c: E2 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 03 00 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 03 00 21 76 00 90 00 0B [22:05:49]RAPDU: 90 00 [22:05:49]wFMCommunicate OK [22:05:49]wFMCommunicate request_size=4 [22:05:49]MH_SAM_APDU [22:05:49]CAPDU: 80 0D 03 02 [22:05:49]Write to MH i2c: E2 08 00 22 76 80 0D 03 02 00 00 00 00 13 [22:05:49]Write i2c OK [22:05:49]MH_I2C_Read... [22:05:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:05:49]Read from MH i2c: E2 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 0B 00 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 0B 00 22 76 00 1B 70 92 97 DD D8 8C 3F 90 00 48 [22:05:49]RAPDU: 1B 70 92 97 DD D8 8C 3F 90 00 [22:05:49]wFMCommunicate OK [22:05:49]SAM_PROTO_SignData done [22:05:49]FM_MakeSignedData done [22:05:49]CreateOFDProtocolMessage [22:05:49]wFMCommunicate request_size=4 [22:05:49]MH_SAM_APDU [22:05:49]CAPDU: 80 11 00 00 [22:05:49]Write to MH i2c: E2 08 00 23 76 80 11 00 00 00 00 00 00 13 [22:05:49]Write i2c OK [22:05:49]MH_I2C_Read... [22:05:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:49]Read from MH i2c: E2 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 17 00 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: E2 17 00 23 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 5B [22:05:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:05:49]wFMCommunicate OK [22:05:49]CreateOFDProtocolMessage done [22:05:49]OFDSenderStorePacket 2702 [22:05:49]StoreOFDPacket docnum=2702 [22:05:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 9A 57 20 01 C1 13 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 CC 7E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8E 0A 00 00 35 04 06 00 19 B3 16 53 F8 71 1B 70 92 97 DD D8 8C 3F [22:05:49]CheckFolder [22:05:49]dirname=/storage/ofd_packets [22:05:49]CheckFolder done [22:05:49]ProducePacketName [22:05:49]name=ofd_packets/00002702 [22:05:49]NVStorageSaveData ofd_packets/00002702 [22:05:49]File name is /storage/ofd_packets/00002702 [22:05:49]Write 326 bytes [22:05:49]NVStorageSaveData done [22:05:49]OFDSenderStorePacket done [22:05:49]KKMCreateOFDPacket done [22:05:49]NVStorageSaveData kkm_last_timestamp [22:05:49]File name is /storage/kkm_last_timestamp [22:05:49]Write 4 bytes [22:05:49]NVStorageSaveData done [22:05:49]ExternCall_PrintAddStr [22:05:49]wPrintStart [22:05:49]Write to MH i2c: 01 00 00 24 76 9A [22:05:49]Write i2c OK [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: 01 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: 01 07 00 [22:05:49]MH_I2C_Read... [22:05:49]Read from MH i2c: 01 07 00 24 76 00 00 00 00 00 FF 0F AF [22:05:49]RasterBufferAndPrint [22:05:49]line Счет N : (3)100079 [22:05:49]line ИНН: 02508201610067 [22:05:49]line Контрольно-Кассовый Чек [22:05:49]line ПРОДАЖА [22:05:49]line Товар: 2000036230011 [22:05:49]line Кофе Латте XL(GABB TRADE) [22:05:49]line 2.000 * 130.00 [22:05:49]line = 260.00 [22:05:49]line НДС 12% НСП 1% [22:05:49]line > о реализуемом товаре [22:05:49]line ИТОГО: 260.00 [22:05:49]line НСП 1% : 2.30 [22:05:49]line НДС 12% : 27.61 [22:05:49]line Наличными: 0.00 [22:05:49]line Безнал.: 260.00 [22:05:49]line Место: АЗС № 162 "Партнер Нефть" [22:05:49]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:05:49]line СНО: Общий режим [22:05:49]line Чек 83 20.10.2024 22:06 [22:05:49]line Смена: 24 ФФД: 1.0 [22:05:49]line ЗНМ: 0300000191 [22:05:49]line РНМ: 0000000000207295 [22:05:49]line Версия ККМ: v1.0 [22:05:49]line Платежная система: Бакай Банк [22:05:49]line ФМ: 0000000002342820 [22:05:49]line ФД: 2702 [22:05:49]line ФПД: 28256964442225 [22:05:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T220604&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2702&fm=28256964442225&tin=02508201610067®Number=0000000000207295&sum=26000 [22:05:49]line 0 [22:05:49]OFD Sender: Processing packet 2702 [packets to send 1, broken 0] [22:05:49]ProducePacketName [22:05:49]name=ofd_packets/00002702 [22:05:49]OFD Sender: To server: pG, [22:05:49]CommunicateWithHost lk.salyk.kg:30040 [22:05:49]ConnectInit lk.salyk.kg [22:05:49]written 0, free lines is 4095 [22:05:49]Connected sock=10 [22:05:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 9A 57 20 01 C1 13 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 CC 7E 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8E 0A 00 00 35 04 06 00 19 B3 16 53 F8 71 1B 70 92 97 DD D8 8C 3F [22:05:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 8C DB 47 00 F9 60 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 33 34 32 38 32 30 10 04 04 00 8E 0A 00 00 F4 03 04 00 29 2A 15 67 B6 04 01 00 00 89 D5 83 40 0B CA 48 65 [22:05:50]CommunicateWithHost err = 0 [22:05:50]CheckOFDResponse [22:05:50]1017 (14) - 77093643461234 [22:05:50]1041 (16) - 0000000002342820 [22:05:50]1040 (4) - 2702 [22:05:50]1012 (4) - 20.10.2024 16:04 [22:05:50]1206 (1) - 0 [22:05:50]OFD Sender: Remove packet 2702 [22:05:50]ProducePacketName [22:05:50]name=ofd_packets/00002702 [22:05:50]NVStorageDeleteData [22:05:50]Write to MH i2c: 01 00 00 4E 76 C4 [22:05:50]Write i2c OK [22:05:50]MH_I2C_Read... [22:05:50]Read from MH i2c: 01 [22:05:50]MH_I2C_Read... [22:05:50]Read from MH i2c: 01 07 00 [22:05:50]MH_I2C_Read... [22:05:50]Read from MH i2c: 01 07 00 4E 76 00 00 00 00 00 B4 0C 8B [22:05:50]RasterBufferAndPrint [22:05:50]line [22:05:50]line [22:05:50]line [22:05:50]line [22:05:50]line [22:05:50]written 0, free lines is 3259 [22:05:50]MH_Cut [22:05:50]Write to MH i2c: D1 01 00 55 76 01 9D [22:05:50]Write i2c OK [22:05:50]MH_I2C_Read... [22:05:50]Read from MH i2c: D1 [22:05:50]MH_I2C_Read... [22:05:50]Read from MH i2c: D1 01 00 [22:05:50]MH_I2C_Read... [22:05:50]Read from MH i2c: D1 01 00 55 76 00 9C [22:05:50]Write to MH i2c: 01 00 00 56 76 CC [22:05:50]Write i2c OK [22:05:50]MH_I2C_Read... [22:05:50]OFD Sender: No OFD packet to send [22:05:51]*** Cut start [22:05:51]*** Partial cut [22:05:51]*** CUTSNS_PIN = 1 [22:05:51]*** CUTSNS_PIN = 0 [22:05:51]*** Brake cut motor [22:05:51]Read from MH i2c: 01 [22:05:51]MH_I2C_Read... [22:05:51]*** Stop cut motor [22:05:51]*** Cut end [22:05:51]Read from MH i2c: 01 07 00 [22:05:51]MH_I2C_Read... [22:05:51]Read from MH i2c: 01 07 00 56 76 00 00 00 00 00 FF 0F E1 [22:05:51]process_action close_receipt done [22:05:51]requested_data is exist [22:05:51]produce_requested_data [22:05:51]requested_item fm.sn is exist - process it [22:05:51]wFMCommunicate request_size=4 [22:05:51]MH_SAM_APDU [22:05:51]CAPDU: 80 11 00 00 [22:05:51]Write to MH i2c: E2 08 00 57 76 80 11 00 00 00 00 00 00 47 [22:05:51]Write i2c OK [22:05:51]MH_I2C_Read... [22:05:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:51]Read from MH i2c: E2 [22:05:51]MH_I2C_Read... [22:05:51]Read from MH i2c: E2 17 00 [22:05:51]MH_I2C_Read... [22:05:51]Read from MH i2c: E2 17 00 57 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 8F [22:05:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:05:51]wFMCommunicate OK [22:05:51]requested_item fd.num is exist - process it [22:05:51]SAM_PROTO_GetFieldsCounters [22:05:51]wFMCommunicate request_size=4 [22:05:51]MH_SAM_APDU [22:05:51]CAPDU: 80 13 00 00 [22:05:51]Write to MH i2c: E2 08 00 58 76 80 13 00 00 00 00 00 00 4A [22:05:51]Write i2c OK [22:05:51]MH_I2C_Read... [22:05:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:05:52]Read from MH i2c: E2 [22:05:52]MH_I2C_Read... [22:05:52]Read from MH i2c: E2 62 00 [22:05:52]MH_I2C_Read... [22:05:52]Read from MH i2c: E2 62 00 58 76 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8E 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [22:05:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8E 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:05:52]wFMCommunicate OK [22:05:52]SAM_PROTO_GetFieldsCounters done [22:05:52]requested_item shift.num is exist - process it [22:05:52]requested_item shift.opened is exist - process it [22:05:52]req_shift_opened [22:05:52]FM_GetShiftState [22:05:52]SAM_PROTO_GetShiftState [22:05:52]wFMCommunicate request_size=4 [22:05:52]MH_SAM_APDU [22:05:52]CAPDU: 80 13 01 00 [22:05:52]Write to MH i2c: E2 08 00 59 76 80 13 01 00 00 00 00 00 4C [22:05:52]Write i2c OK [22:05:52]MH_I2C_Read... [22:05:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:52]Read from MH i2c: E2 [22:05:52]MH_I2C_Read... [22:05:52]Read from MH i2c: E2 0E 00 [22:05:52]MH_I2C_Read... [22:05:52]Read from MH i2c: E2 0E 00 59 76 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 36 [22:05:52]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [22:05:52]wFMCommunicate OK [22:05:52]SAM_PROTO_GetShiftState done [22:05:52]FM_GetShiftState done [22:05:52]req_shift_opened done [22:05:52]requested_item shift.open_date is exist - process it [22:05:52]req_shift_open_date [22:05:52]req_shift_open_date done [22:05:52]produce_requested_data done [22:05:52]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2702,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [22:05:52]process_action_free close_receipt [22:05:52]json_value_free [22:05:52]json_value_free done [22:05:52]process_json_proto returns [22:05:52]Send response to host [22:05:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2702,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [22:05:52]free response buf [22:05:52]execute_script done [22:05:52]execute_script returns [22:05:52]free content buf [22:05:52]Sock 9.Close socket [22:05:52]Sock 9.Thread stoped [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:11:15]OFD Sender: No OFD packet to send [22:11:20]OFD Sender: No OFD packet to send [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]OFD Sender: No OFD packet to send [22:13:40]OFD Sender: No OFD packet to send [22:13:45]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:23]accept exits with 7 [22:32:23]New connection [22:32:23]New thread 3066707300 created [22:32:23]Thread 3066850660 joined [22:32:23]Waiting for new connection... [22:32:23] Sock 7.Parse request [22:32:23]Sock 7.Check first char [22:32:23]Sock 7.First char is OK [22:32:23]request: POST /json_proto HTTP/1.0 [22:32:23]Method: POST [22:32:23]URL: /json_proto [22:32:23]Method is POST - this is cgi request [22:32:23]url: /json_proto [22:32:23]query_string will be loaded in cgi processing [22:32:23]execute_cgi json_proto POST (null) [22:32:23]execute_cgi path=json_proto method=POST [22:32:23]POST find Content-Length [22:32:23]Host: 172.17.52.132:8080 [22:32:23]Content-Length: 825 [22:32:23]Content-Type: application/json [22:32:23] [22:32:23]POST finish read [22:32:23]Found Content-Length = 825 [22:32:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100080", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 2.000, "sum" : 290.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030031", "name": "\u041A\u0443\u0440\u0443\u0442 orbit", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 339.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:32:23]execute_script... [22:32:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100080", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 2.000, "sum" : 290.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030031", "name": "\u041A\u0443\u0440\u0443\u0442 orbit", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 339.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:32:23]POST & json_proto [22:32:23]process_json_proto [22:32:23]json parsed OK: [22:32:23]protocol is kg_v1.0 [22:32:23]action value=close_receipt [22:32:23]process_action close_receipt [22:32:23]cmd_close_receipt [22:32:23]MH_GetDate [22:32:23]Write to MH i2c: F0 00 00 5A 76 BF [22:32:23]Write i2c OK [22:32:23]MH_I2C_Read... [22:32:23]Read from MH i2c: F0 [22:32:23]MH_I2C_Read... [22:32:23]Read from MH i2c: F0 09 00 [22:32:23]MH_I2C_Read... [22:32:23]Read from MH i2c: F0 09 00 5A 76 00 09 85 15 67 5A BE F6 66 46 [22:32:23]GetLastDocTimeStamp 1729461964 [22:32:23]current date 1729463561 [22:32:23]FM_GetShiftState [22:32:23]SAM_PROTO_GetShiftState [22:32:23]wFMCommunicate request_size=4 [22:32:23]MH_SAM_APDU [22:32:23]CAPDU: 80 13 01 00 [22:32:23]Write to MH i2c: E2 08 00 5B 76 80 13 01 00 00 00 00 00 4E [22:32:23]Write i2c OK [22:32:23]MH_I2C_Read... [22:32:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:32:24]Read from MH i2c: E2 [22:32:24]MH_I2C_Read... [22:32:24]Read from MH i2c: E2 0E 00 [22:32:24]MH_I2C_Read... [22:32:24]Read from MH i2c: E2 0E 00 5B 76 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 38 [22:32:24]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [22:32:24]wFMCommunicate OK [22:32:24]SAM_PROTO_GetShiftState done [22:32:24]FM_GetShiftState done [22:32:24]opened in 1729382427 [22:32:24]opened+sec_in_day 1729468827 [22:32:24]quantity*price = 29000 [22:32:24]sum+1 = 29001 [22:32:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700026030031 Курут orbit 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 339.00 НСП 1% : 3.00 НДС 12% : 36.00 Наличными: 339.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 84 20.10.2024 22:32 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2703 ФПД: 209852582779695 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T223241&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2703&fm=209852582779695&tin=02508201610067®Number=0000000000207295&sum=33900 0 [22:32:25]StoreToDocumentArchive [22:32:25]shift 24 fd 2703 [22:32:25]save to /storage/0024/doc_00002703 [22:32:25]save last doc name /storage/0024/doc_00002703 to /storage/kkm_last_doc_name [22:32:25]save OK [22:32:25]Clear old archive folders... [22:32:25]ProcessDocumentItem done err = 0, tmpTLVsize=353 [22:32:25]tlvbuf is 015A3CC0 [22:32:25]SAM_PROTO_ClearQueue [22:32:25]wFMCommunicate request_size=4 [22:32:25]MH_SAM_APDU [22:32:25]CAPDU: 80 09 00 00 [22:32:25]Write to MH i2c: E2 08 00 68 76 80 09 00 00 00 00 00 00 50 [22:32:25]Write i2c OK [22:32:25]MH_I2C_Read... [22:32:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:32:25]Read from MH i2c: E2 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 03 00 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 03 00 68 76 00 90 00 52 [22:32:25]RAPDU: 90 00 [22:32:25]wFMCommunicate OK [22:32:25]SAM_PROTO_ClearQueue done [22:32:25]KKMCreateOFDPacket [22:32:25]OFDProtocolAddRootSTLVToBuf [22:32:25]FM_MakeSignedData [22:32:25]FM_MakeSignedData [22:32:25]SAM_PROTO_SignData [22:32:25]wFMCommunicate request_size=4 [22:32:25]MH_SAM_APDU [22:32:25]CAPDU: 80 0D 01 02 [22:32:25]Write to MH i2c: E2 08 00 69 76 80 0D 01 02 00 00 00 00 58 [22:32:25]Write i2c OK [22:32:25]MH_I2C_Read... [22:32:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:32:25]Read from MH i2c: E2 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 03 00 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 03 00 69 76 00 90 00 53 [22:32:25]RAPDU: 90 00 [22:32:25]wFMCommunicate OK [22:32:25]wFMCommunicate request_size=255 [22:32:25]MH_SAM_APDU [22:32:25]CAPDU: 80 0D 02 02 FA 03 00 61 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 0E 00 00 00 00 07 04 06 00 6C 84 [22:32:25]Write to MH i2c: E2 02 01 6A 76 80 0D 02 02 FA 00 03 00 61 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 0E 00 00 00 00 07 04 06 00 6C 84 00 00 B6 [22:32:25]Write i2c OK [22:32:25]MH_I2C_Read... [22:32:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:32:25]Read from MH i2c: E2 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 03 00 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 03 00 6A 76 00 90 00 54 [22:32:25]RAPDU: 90 00 [22:32:25]wFMCommunicate OK [22:32:25]wFMCommunicate request_size=112 [22:32:25]MH_SAM_APDU [22:32:25]CAPDU: 80 0D 02 02 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 09 85 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8F 0A 00 00 35 04 06 00 BE DC 1C A6 DB 2F [22:32:25]Write to MH i2c: E2 73 00 6B 76 80 0D 02 02 6B 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 09 85 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8F 0A 00 00 35 04 06 00 BE DC 1C A6 DB 2F 00 00 C4 [22:32:25]Write i2c OK [22:32:25]MH_I2C_Read... [22:32:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:32:25]Read from MH i2c: E2 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 03 00 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 03 00 6B 76 00 90 00 55 [22:32:25]RAPDU: 90 00 [22:32:25]wFMCommunicate OK [22:32:25]wFMCommunicate request_size=4 [22:32:25]MH_SAM_APDU [22:32:25]CAPDU: 80 0D 03 02 [22:32:25]Write to MH i2c: E2 08 00 6C 76 80 0D 03 02 00 00 00 00 5D [22:32:25]Write i2c OK [22:32:25]MH_I2C_Read... [22:32:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:32:25]Read from MH i2c: E2 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 0B 00 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 0B 00 6C 76 00 76 E9 20 99 27 CF ED C2 90 00 1B [22:32:25]RAPDU: 76 E9 20 99 27 CF ED C2 90 00 [22:32:25]wFMCommunicate OK [22:32:25]SAM_PROTO_SignData done [22:32:25]FM_MakeSignedData done [22:32:25]CreateOFDProtocolMessage [22:32:25]wFMCommunicate request_size=4 [22:32:25]MH_SAM_APDU [22:32:25]CAPDU: 80 11 00 00 [22:32:25]Write to MH i2c: E2 08 00 6D 76 80 11 00 00 00 00 00 00 5D [22:32:25]Write i2c OK [22:32:25]MH_I2C_Read... [22:32:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:32:25]Read from MH i2c: E2 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 17 00 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: E2 17 00 6D 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A5 [22:32:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:32:25]wFMCommunicate OK [22:32:25]CreateOFDProtocolMessage done [22:32:25]OFDSenderStorePacket 2703 [22:32:25]StoreOFDPacket docnum=2703 [22:32:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 75 01 00 00 C5 24 6D 01 A1 34 5A 03 01 00 03 00 61 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 0E 00 00 00 00 07 04 06 00 6C 84 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 09 85 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8F 0A 00 00 35 04 06 00 BE DC 1C A6 DB 2F 76 E9 20 99 27 CF ED C2 [22:32:25]CheckFolder [22:32:25]dirname=/storage/ofd_packets [22:32:25]CheckFolder done [22:32:25]ProducePacketName [22:32:25]name=ofd_packets/00002703 [22:32:25]NVStorageSaveData ofd_packets/00002703 [22:32:25]File name is /storage/ofd_packets/00002703 [22:32:25]Write 403 bytes [22:32:25]NVStorageSaveData done [22:32:25]OFDSenderStorePacket done [22:32:25]KKMCreateOFDPacket done [22:32:25]NVStorageSaveData kkm_last_timestamp [22:32:25]File name is /storage/kkm_last_timestamp [22:32:25]Write 4 bytes [22:32:25]NVStorageSaveData done [22:32:25]ExternCall_PrintAddStr [22:32:25]wPrintStart [22:32:25]Write to MH i2c: 01 00 00 6E 76 E4 [22:32:25]Write i2c OK [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: 01 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: 01 07 00 [22:32:25]MH_I2C_Read... [22:32:25]Read from MH i2c: 01 07 00 6E 76 00 00 00 00 00 FF 0F F9 [22:32:25]RasterBufferAndPrint [22:32:25]line Счет N : (3)100080 [22:32:25]line ИНН: 02508201610067 [22:32:25]line Контрольно-Кассовый Чек [22:32:25]line ПРОДАЖА [22:32:25]line Товар: 4700001610012 [22:32:25]line Пиво Арпа 0,5л [22:32:25]line 2.000 * 145.00 [22:32:25]line = 290.00 [22:32:25]line НДС 12% НСП 1% [22:32:25]line > о реализуемом товаре [22:32:25]line Товар: 4700026030031 [22:32:25]line Курут orbit [22:32:26]line 1.000 * 49.00 [22:32:26]line = 49.00 [22:32:26]line НДС 12% НСП 1% [22:32:26]line > о реализуемом товаре [22:32:26]line ИТОГО: 339.00 [22:32:26]line НСП 1% : 3.00 [22:32:26]line НДС 12% : 36.00 [22:32:26]line Наличными: 339.00 [22:32:26]line Безнал.: 0.00 [22:32:26]line Место: АЗС № 162 "Партнер Нефть" [22:32:26]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:32:26]line СНО: Общий режим [22:32:26]line Чек 84 20.10.2024 22:32 [22:32:26]line Смена: 24 ФФД: 1.0 [22:32:26]line ЗНМ: 0300000191 [22:32:26]line РНМ: 0000000000207295 [22:32:26]line Версия ККМ: v1.0 [22:32:26]line ФМ: 0000000002342820 [22:32:26]line ФД: 2703 [22:32:26]line ФПД: 209852582779695 [22:32:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T223241&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2703&fm=209852582779695&tin=02508201610067®Number=0000000000207295&sum=33900 [22:32:26]OFD Sender: Processing packet 2703 [packets to send 1, broken 0] [22:32:26]ProducePacketName [22:32:26]name=ofd_packets/00002703 [22:32:26]OFD Sender: To server: pG, [22:32:26]CommunicateWithHost lk.salyk.kg:30040 [22:32:26]ConnectInit lk.salyk.kg [22:32:26]line 0 [22:32:26]written 0, free lines is 4095 [22:32:26]Connected sock=10 [22:32:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 75 01 00 00 C5 24 6D 01 A1 34 5A 03 01 00 03 00 61 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 0E 00 00 00 00 07 04 06 00 6C 84 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 09 85 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 8F 0A 00 00 35 04 06 00 BE DC 1C A6 DB 2F 76 E9 20 99 27 CF ED C2 [22:32:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 C6 2C 47 00 70 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 33 34 32 38 32 30 10 04 04 00 8F 0A 00 00 F4 03 04 00 65 30 15 67 B6 04 01 00 00 A2 D7 DD B4 10 3B 1E 40 [22:32:26]CommunicateWithHost err = 0 [22:32:26]CheckOFDResponse [22:32:26]1017 (14) - 77093643461234 [22:32:26]1041 (16) - 0000000002342820 [22:32:26]1040 (4) - 2703 [22:32:26]1012 (4) - 20.10.2024 16:31 [22:32:26]1206 (1) - 0 [22:32:26]OFD Sender: Remove packet 2703 [22:32:26]ProducePacketName [22:32:26]name=ofd_packets/00002703 [22:32:26]NVStorageDeleteData [22:32:26]Write to MH i2c: 01 00 00 9C 76 12 [22:32:26]Write i2c OK [22:32:26]MH_I2C_Read... [22:32:26]Read from MH i2c: 01 [22:32:26]MH_I2C_Read... [22:32:26]Read from MH i2c: 01 07 00 [22:32:26]MH_I2C_Read... [22:32:26]Read from MH i2c: 01 07 00 9C 76 00 00 00 00 00 7D 0C A2 [22:32:26]RasterBufferAndPrint [22:32:26]line [22:32:26]line [22:32:26]line [22:32:26]line [22:32:26]line [22:32:26]written 0, free lines is 3205 [22:32:26]MH_Cut [22:32:26]Write to MH i2c: D1 01 00 A3 76 01 EB [22:32:26]Write i2c OK [22:32:26]MH_I2C_Read... [22:32:26]Read from MH i2c: D1 [22:32:26]MH_I2C_Read... [22:32:26]Read from MH i2c: D1 01 00 [22:32:26]MH_I2C_Read... [22:32:26]Read from MH i2c: D1 01 00 A3 76 00 EA [22:32:26]Write to MH i2c: 01 00 00 A4 76 1A [22:32:26]Write i2c OK [22:32:26]MH_I2C_Read... [22:32:26]OFD Sender: No OFD packet to send [22:32:27]*** Cut start [22:32:27]*** Partial cut [22:32:27]*** CUTSNS_PIN = 1 [22:32:27]*** CUTSNS_PIN = 0 [22:32:27]*** Brake cut motor [22:32:28]Read from MH i2c: 01 [22:32:28]MH_I2C_Read... [22:32:28]*** Stop cut motor [22:32:28]*** Cut end [22:32:28]Read from MH i2c: 01 07 00 [22:32:28]MH_I2C_Read... [22:32:28]Read from MH i2c: 01 07 00 A4 76 00 00 00 00 00 FF 0F 2F [22:32:28]process_action close_receipt done [22:32:28]requested_data is exist [22:32:28]produce_requested_data [22:32:28]requested_item fm.sn is exist - process it [22:32:28]wFMCommunicate request_size=4 [22:32:28]MH_SAM_APDU [22:32:28]CAPDU: 80 11 00 00 [22:32:28]Write to MH i2c: E2 08 00 A5 76 80 11 00 00 00 00 00 00 95 [22:32:28]Write i2c OK [22:32:28]MH_I2C_Read... [22:32:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:32:28]Read from MH i2c: E2 [22:32:28]MH_I2C_Read... [22:32:28]Read from MH i2c: E2 17 00 [22:32:28]MH_I2C_Read... [22:32:28]Read from MH i2c: E2 17 00 A5 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 DD [22:32:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:32:28]wFMCommunicate OK [22:32:28]requested_item fd.num is exist - process it [22:32:28]SAM_PROTO_GetFieldsCounters [22:32:28]wFMCommunicate request_size=4 [22:32:28]MH_SAM_APDU [22:32:28]CAPDU: 80 13 00 00 [22:32:28]Write to MH i2c: E2 08 00 A6 76 80 13 00 00 00 00 00 00 98 [22:32:28]Write i2c OK [22:32:28]MH_I2C_Read... [22:32:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:32:28]Read from MH i2c: E2 [22:32:28]MH_I2C_Read... [22:32:28]Read from MH i2c: E2 62 00 [22:32:28]MH_I2C_Read... [22:32:28]Read from MH i2c: E2 62 00 A6 76 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 5B [22:32:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:32:28]wFMCommunicate OK [22:32:28]SAM_PROTO_GetFieldsCounters done [22:32:28]requested_item shift.num is exist - process it [22:32:28]requested_item shift.opened is exist - process it [22:32:28]req_shift_opened [22:32:28]FM_GetShiftState [22:32:28]SAM_PROTO_GetShiftState [22:32:28]wFMCommunicate request_size=4 [22:32:28]MH_SAM_APDU [22:32:28]CAPDU: 80 13 01 00 [22:32:28]Write to MH i2c: E2 08 00 A7 76 80 13 01 00 00 00 00 00 9A [22:32:28]Write i2c OK [22:32:28]MH_I2C_Read... [22:32:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:32:28]Read from MH i2c: E2 [22:32:28]MH_I2C_Read... [22:32:28]Read from MH i2c: E2 0E 00 [22:32:28]MH_I2C_Read... [22:32:28]Read from MH i2c: E2 0E 00 A7 76 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 84 [22:32:28]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [22:32:28]wFMCommunicate OK [22:32:28]SAM_PROTO_GetShiftState done [22:32:28]FM_GetShiftState done [22:32:28]req_shift_opened done [22:32:28]requested_item shift.open_date is exist - process it [22:32:28]req_shift_open_date [22:32:28]req_shift_open_date done [22:32:28]produce_requested_data done [22:32:28]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2703,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [22:32:28]process_action_free close_receipt [22:32:28]json_value_free [22:32:28]json_value_free done [22:32:28]process_json_proto returns [22:32:28]Send response to host [22:32:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2703,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [22:32:28]free response buf [22:32:28]execute_script done [22:32:28]execute_script returns [22:32:28]free content buf [22:32:28]Sock 7.Close socket [22:32:28]Sock 7.Thread stoped [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:49]accept exits with 9 [22:36:49]New connection [22:36:49]New thread 3066850660 created [22:36:49]Thread 3066707300 joined [22:36:49]Waiting for new connection... [22:36:49] Sock 9.Parse request [22:36:49]Sock 9.Check first char [22:36:49]Sock 9.First char is OK [22:36:49]request: POST /json_proto HTTP/1.0 [22:36:49]Method: POST [22:36:49]URL: /json_proto [22:36:49]Method is POST - this is cgi request [22:36:49]url: /json_proto [22:36:49]query_string will be loaded in cgi processing [22:36:49]execute_cgi json_proto POST (null) [22:36:49]execute_cgi path=json_proto method=POST [22:36:49]POST find Content-Length [22:36:49]Host: 172.17.52.132:8080 [22:36:49]Content-Length: 2926 [22:36:49]Content-Type: application/json [22:36:49] [22:36:49]POST finish read [22:36:49]Found Content-Length = 2926 [22:36:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100081", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [22:36:49]execute_script... [22:36: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)100081", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [22:36:49]POST & json_proto [22:36:49]process_json_proto [22:36:49]json parse error [22:36:49]process_json_proto returns [22:36:49]execute_script returns [22:36:49]free content buf [22:36:49]Sock 9.Close socket [22:36:49]Sock 9.Thread stoped [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:27]OFD Sender: No OFD packet to send [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:22]OFD Sender: No OFD packet to send [22:43:27]OFD Sender: No OFD packet to send [22:43:32]OFD Sender: No OFD packet to send [22:43:37]OFD Sender: No OFD packet to send [22:43:42]OFD Sender: No OFD packet to send [22:43:47]OFD Sender: No OFD packet to send [22:43:52]OFD Sender: No OFD packet to send [22:43:57]OFD Sender: No OFD packet to send [22:44:02]OFD Sender: No OFD packet to send [22:44:07]OFD Sender: No OFD packet to send [22:44:12]OFD Sender: No OFD packet to send [22:44:17]OFD Sender: No OFD packet to send [22:44:22]OFD Sender: No OFD packet to send [22:44:27]OFD Sender: No OFD packet to send [22:44:32]OFD Sender: No OFD packet to send [22:44:37]OFD Sender: No OFD packet to send [22:44:42]OFD Sender: No OFD packet to send [22:44:47]OFD Sender: No OFD packet to send [22:44:52]OFD Sender: No OFD packet to send [22:44:57]OFD Sender: No OFD packet to send [22:45:02]OFD Sender: No OFD packet to send [22:45:07]OFD Sender: No OFD packet to send [22:45:12]OFD Sender: No OFD packet to send [22:45:17]OFD Sender: No OFD packet to send [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:17]OFD Sender: No OFD packet to send [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:32]OFD Sender: No OFD packet to send [22:46:37]OFD Sender: No OFD packet to send [22:46:42]OFD Sender: No OFD packet to send [22:46:47]OFD Sender: No OFD packet to send [22:46:52]OFD Sender: No OFD packet to send [22:46:57]OFD Sender: No OFD packet to send [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:22]OFD Sender: No OFD packet to send [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]OFD Sender: No OFD packet to send [22:51:02]OFD Sender: No OFD packet to send [22:51:07]OFD Sender: No OFD packet to send [22:51:12]OFD Sender: No OFD packet to send [22:51:17]OFD Sender: No OFD packet to send [22:51:22]OFD Sender: No OFD packet to send [22:51:27]OFD Sender: No OFD packet to send [22:51:32]OFD Sender: No OFD packet to send [22:51:37]OFD Sender: No OFD packet to send [22:51:42]OFD Sender: No OFD packet to send [22:51:47]OFD Sender: No OFD packet to send [22:51:52]OFD Sender: No OFD packet to send [22:51:57]OFD Sender: No OFD packet to send [22:52:02]OFD Sender: No OFD packet to send [22:52:07]OFD Sender: No OFD packet to send [22:52:12]OFD Sender: No OFD packet to send [22:52:17]OFD Sender: No OFD packet to send [22:52:22]OFD Sender: No OFD packet to send [22:52:27]OFD Sender: No OFD packet to send [22:52:32]OFD Sender: No OFD packet to send [22:52:37]OFD Sender: No OFD packet to send [22:52:42]OFD Sender: No OFD packet to send [22:52:47]OFD Sender: No OFD packet to send [22:52:52]OFD Sender: No OFD packet to send [22:52:57]OFD Sender: No OFD packet to send [22:53:02]OFD Sender: No OFD packet to send [22:53:07]OFD Sender: No OFD packet to send [22:53:12]OFD Sender: No OFD packet to send [22:53:17]OFD Sender: No OFD packet to send [22:53:22]OFD Sender: No OFD packet to send [22:53:27]OFD Sender: No OFD packet to send [22:53:32]OFD Sender: No OFD packet to send [22:53:37]OFD Sender: No OFD packet to send [22:53:42]OFD Sender: No OFD packet to send [22:53:47]OFD Sender: No OFD packet to send [22:53:52]OFD Sender: No OFD packet to send [22:53:57]OFD Sender: No OFD packet to send [22:54:02]OFD Sender: No OFD packet to send [22:54:07]OFD Sender: No OFD packet to send [22:54:12]OFD Sender: No OFD packet to send [22:54:17]OFD Sender: No OFD packet to send [22:54:22]OFD Sender: No OFD packet to send [22:54:27]OFD Sender: No OFD packet to send [22:54:32]OFD Sender: No OFD packet to send [22:54:37]OFD Sender: No OFD packet to send [22:54:42]OFD Sender: No OFD packet to send [22:54:47]OFD Sender: No OFD packet to send [22:54:52]OFD Sender: No OFD packet to send [22:54:57]OFD Sender: No OFD packet to send [22:55:02]OFD Sender: No OFD packet to send [22:55:07]OFD Sender: No OFD packet to send [22:55:12]OFD Sender: No OFD packet to send [22:55:17]OFD Sender: No OFD packet to send [22:55:22]OFD Sender: No OFD packet to send [22:55:27]OFD Sender: No OFD packet to send [22:55:32]OFD Sender: No OFD packet to send [22:55:37]OFD Sender: No OFD packet to send [22:55:42]OFD Sender: No OFD packet to send [22:55:47]OFD Sender: No OFD packet to send [22:55:52]OFD Sender: No OFD packet to send [22:55:57]OFD Sender: No OFD packet to send [22:56:02]OFD Sender: No OFD packet to send [22:56:07]OFD Sender: No OFD packet to send [22:56:12]OFD Sender: No OFD packet to send [22:56:17]OFD Sender: No OFD packet to send [22:56:22]OFD Sender: No OFD packet to send [22:56:27]OFD Sender: No OFD packet to send [22:56:32]OFD Sender: No OFD packet to send [22:56:37]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]OFD Sender: No OFD packet to send [23:07:28]OFD Sender: No OFD packet to send [23:07:33]OFD Sender: No OFD packet to send [23:07:38]OFD Sender: No OFD packet to send [23:07:43]OFD Sender: No OFD packet to send [23:07:48]OFD Sender: No OFD packet to send [23:07:53]OFD Sender: No OFD packet to send [23:07:58]OFD Sender: No OFD packet to send [23:08:03]OFD Sender: No OFD packet to send [23:08:08]OFD Sender: No OFD packet to send [23:08:13]OFD Sender: No OFD packet to send [23:08:18]OFD Sender: No OFD packet to send [23:08:23]OFD Sender: No OFD packet to send [23:08:28]OFD Sender: No OFD packet to send [23:08:33]OFD Sender: No OFD packet to send [23:08:38]OFD Sender: No OFD packet to send [23:08:43]OFD Sender: No OFD packet to send [23:08:48]OFD Sender: No OFD packet to send [23:08:53]OFD Sender: No OFD packet to send [23:08:58]OFD Sender: No OFD packet to send [23:09:03]OFD Sender: No OFD packet to send [23:09:08]OFD Sender: No OFD packet to send [23:09:13]OFD Sender: No OFD packet to send [23:09:18]OFD Sender: No OFD packet to send [23:09:23]OFD Sender: No OFD packet to send [23:09:28]OFD Sender: No OFD packet to send [23:09:33]OFD Sender: No OFD packet to send [23:09:38]OFD Sender: No OFD packet to send [23:09:43]OFD Sender: No OFD packet to send [23:09:48]OFD Sender: No OFD packet to send [23:09:53]OFD Sender: No OFD packet to send [23:09:58]OFD Sender: No OFD packet to send [23:10:03]OFD Sender: No OFD packet to send [23:10:08]OFD Sender: No OFD packet to send [23:10:13]OFD Sender: No OFD packet to send [23:10:18]OFD Sender: No OFD packet to send [23:10:23]OFD Sender: No OFD packet to send [23:10:28]OFD Sender: No OFD packet to send [23:10:33]OFD Sender: No OFD packet to send [23:10:38]OFD Sender: No OFD packet to send [23:10:43]OFD Sender: No OFD packet to send [23:10:48]OFD Sender: No OFD packet to send [23:10:53]OFD Sender: No OFD packet to send [23:10:58]OFD Sender: No OFD packet to send [23:11:03]OFD Sender: No OFD packet to send [23:11:08]OFD Sender: No OFD packet to send [23:11:13]OFD Sender: No OFD packet to send [23:11:18]OFD Sender: No OFD packet to send [23:11:23]OFD Sender: No OFD packet to send [23:11:28]OFD Sender: No OFD packet to send [23:11:33]OFD Sender: No OFD packet to send [23:11:38]OFD Sender: No OFD packet to send [23:11:43]OFD Sender: No OFD packet to send [23:11:48]OFD Sender: No OFD packet to send [23:11:53]OFD Sender: No OFD packet to send [23:11:58]OFD Sender: No OFD packet to send [23:12:03]OFD Sender: No OFD packet to send [23:12:08]OFD Sender: No OFD packet to send [23:12:13]OFD Sender: No OFD packet to send [23:12:18]OFD Sender: No OFD packet to send [23:12:23]OFD Sender: No OFD packet to send [23:12:28]OFD Sender: No OFD packet to send [23:12:33]OFD Sender: No OFD packet to send [23:12:38]OFD Sender: No OFD packet to send [23:12:43]OFD Sender: No OFD packet to send [23:12:48]OFD Sender: No OFD packet to send [23:12:53]OFD Sender: No OFD packet to send [23:12:58]OFD Sender: No OFD packet to send [23:13:03]OFD Sender: No OFD packet to send [23:13:08]OFD Sender: No OFD packet to send [23:13:13]OFD Sender: No OFD packet to send [23:13:18]OFD Sender: No OFD packet to send [23:13:23]OFD Sender: No OFD packet to send [23:13:28]OFD Sender: No OFD packet to send [23:13:33]OFD Sender: No OFD packet to send [23:13:38]OFD Sender: No OFD packet to send [23:13:43]OFD Sender: No OFD packet to send [23:13:48]OFD Sender: No OFD packet to send [23:13:53]OFD Sender: No OFD packet to send [23:13:58]OFD Sender: No OFD packet to send [23:14:03]OFD Sender: No OFD packet to send [23:14:08]OFD Sender: No OFD packet to send [23:14:13]OFD Sender: No OFD packet to send [23:14:18]OFD Sender: No OFD packet to send [23:14:23]OFD Sender: No OFD packet to send [23:14:28]OFD Sender: No OFD packet to send [23:14:33]OFD Sender: No OFD packet to send [23:14:38]OFD Sender: No OFD packet to send [23:14:43]OFD Sender: No OFD packet to send [23:14:48]OFD Sender: No OFD packet to send [23:14:53]OFD Sender: No OFD packet to send [23:14:58]OFD Sender: No OFD packet to send [23:15:03]OFD Sender: No OFD packet to send [23:15:08]OFD Sender: No OFD packet to send [23:15:13]OFD Sender: No OFD packet to send [23:15:18]OFD Sender: No OFD packet to send [23:15:23]OFD Sender: No OFD packet to send [23:15:28]OFD Sender: No OFD packet to send [23:15:33]OFD Sender: No OFD packet to send [23:15:38]OFD Sender: No OFD packet to send [23:15:43]OFD Sender: No OFD packet to send [23:15:48]OFD Sender: No OFD packet to send [23:15:53]OFD Sender: No OFD packet to send [23:15:58]OFD Sender: No OFD packet to send [23:16:03]OFD Sender: No OFD packet to send [23:16:08]OFD Sender: No OFD packet to send [23:16:13]OFD Sender: No OFD packet to send [23:16:18]OFD Sender: No OFD packet to send [23:16:23]OFD Sender: No OFD packet to send [23:16:28]OFD Sender: No OFD packet to send [23:16:33]OFD Sender: No OFD packet to send [23:16:38]OFD Sender: No OFD packet to send [23:16:43]OFD Sender: No OFD packet to send [23:16:48]OFD Sender: No OFD packet to send [23:16:53]OFD Sender: No OFD packet to send [23:16:58]OFD Sender: No OFD packet to send [23:17:03]OFD Sender: No OFD packet to send [23:17:08]OFD Sender: No OFD packet to send [23:17:13]OFD Sender: No OFD packet to send [23:17:18]OFD Sender: No OFD packet to send [23:17:23]OFD Sender: No OFD packet to send [23:17:28]OFD Sender: No OFD packet to send [23:17:33]OFD Sender: No OFD packet to send [23:17:38]OFD Sender: No OFD packet to send [23:17:43]OFD Sender: No OFD packet to send [23:17:48]OFD Sender: No OFD packet to send [23:17:53]OFD Sender: No OFD packet to send [23:17:58]OFD Sender: No OFD packet to send [23:18:03]OFD Sender: No OFD packet to send [23:18:08]OFD Sender: No OFD packet to send [23:18:13]OFD Sender: No OFD packet to send [23:18:18]OFD Sender: No OFD packet to send [23:18:23]OFD Sender: No OFD packet to send [23:18:28]OFD Sender: No OFD packet to send [23:18:33]OFD Sender: No OFD packet to send [23:18:38]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:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:29]OFD Sender: No OFD packet to send [23:37:34]OFD Sender: No OFD packet to send [23:37:39]OFD Sender: No OFD packet to send [23:37:44]OFD Sender: No OFD packet to send [23:37:49]OFD Sender: No OFD packet to send [23:37:54]OFD Sender: No OFD packet to send [23:37:59]OFD Sender: No OFD packet to send [23:38:04]OFD Sender: No OFD packet to send [23:38:09]OFD Sender: No OFD packet to send [23:38:14]OFD Sender: No OFD packet to send [23:38:19]OFD Sender: No OFD packet to send [23:38:24]OFD Sender: No OFD packet to send [23:38:29]OFD Sender: No OFD packet to send [23:38:34]OFD Sender: No OFD packet to send [23:38:39]OFD Sender: No OFD packet to send [23:38:44]OFD Sender: No OFD packet to send [23:38:49]OFD Sender: No OFD packet to send [23:38:54]OFD Sender: No OFD packet to send [23:38:59]OFD Sender: No OFD packet to send [23:39:04]OFD Sender: No OFD packet to send [23:39:09]OFD Sender: No OFD packet to send [23:39:14]OFD Sender: No OFD packet to send [23:39:19]OFD Sender: No OFD packet to send [23:39:24]OFD Sender: No OFD packet to send [23:39:29]OFD Sender: No OFD packet to send [23:39:34]OFD Sender: No OFD packet to send [23:39:39]OFD Sender: No OFD packet to send [23:39:44]OFD Sender: No OFD packet to send [23:39:49]OFD Sender: No OFD packet to send [23:39:54]OFD Sender: No OFD packet to send [23:39:59]OFD Sender: No OFD packet to send [23:40:04]OFD Sender: No OFD packet to send [23:40:09]OFD Sender: No OFD packet to send [23:40:14]OFD Sender: No OFD packet to send [23:40:19]OFD Sender: No OFD packet to send [23:40:24]OFD Sender: No OFD packet to send [23:40:29]OFD Sender: No OFD packet to send [23:40:34]OFD Sender: No OFD packet to send [23:40:39]OFD Sender: No OFD packet to send [23:40:44]OFD Sender: No OFD packet to send [23:40:49]OFD Sender: No OFD packet to send [23:40: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:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [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:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:05]accept exits with 7 [23:57:05]New connection [23:57:05]New thread 3066707300 created [23:57:05]Thread 3066850660 joined [23:57:05]Waiting for new connection... [23:57:05] Sock 7.Parse request [23:57:05]Sock 7.Check first char [23:57:05]Sock 7.First char is OK [23:57:05]request: POST /json_proto HTTP/1.0 [23:57:05]Method: POST [23:57:05]URL: /json_proto [23:57:05]Method is POST - this is cgi request [23:57:05]url: /json_proto [23:57:05]query_string will be loaded in cgi processing [23:57:05]execute_cgi json_proto POST (null) [23:57:05]execute_cgi path=json_proto method=POST [23:57:05]POST find Content-Length [23:57:05]Host: 172.17.52.132:8080 [23:57:05]Content-Length: 215 [23:57:05]Content-Type: application/json [23:57:05] [23:57:05]POST finish read [23:57:05]Found Content-Length = 215 [23:57:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:05]execute_script... [23:57:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:05]POST & json_proto [23:57:05]process_json_proto [23:57:05]json parsed OK: [23:57:05]protocol is kg_v1.0 [23:57:05]action value=get_value [23:57:05]process_action get_value [23:57:05]cmd_get_value [23:57:05]process_action get_value done [23:57:05]requested_data is exist [23:57:05]produce_requested_data [23:57:05]requested_item kkm.sn is exist - process it [23:57:05]requested_item kkm.ver is exist - process it [23:57:05]requested_item fm.sn is exist - process it [23:57:05]wFMCommunicate request_size=4 [23:57:05]MH_SAM_APDU [23:57:05]CAPDU: 80 11 00 00 [23:57:05]Write to MH i2c: E2 08 00 A8 76 80 11 00 00 00 00 00 00 98 [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:05]Read from MH i2c: E2 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 17 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 17 00 A8 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E0 [23:57:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:57:05]wFMCommunicate OK [23:57:05]requested_item fd.num is exist - process it [23:57:05]SAM_PROTO_GetFieldsCounters [23:57:05]wFMCommunicate request_size=4 [23:57:05]MH_SAM_APDU [23:57:05]CAPDU: 80 13 00 00 [23:57:05]Write to MH i2c: E2 08 00 A9 76 80 13 00 00 00 00 00 00 9B [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:06]Read from MH i2c: E2 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 62 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 62 00 A9 76 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [23:57:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 8F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:06]wFMCommunicate OK [23:57:06]SAM_PROTO_GetFieldsCounters done [23:57:06]requested_item shift.num is exist - process it [23:57:06]requested_item shift.opened is exist - process it [23:57:06]req_shift_opened [23:57:06]FM_GetShiftState [23:57:06]SAM_PROTO_GetShiftState [23:57:06]wFMCommunicate request_size=4 [23:57:06]MH_SAM_APDU [23:57:06]CAPDU: 80 13 01 00 [23:57:06]Write to MH i2c: E2 08 00 AA 76 80 13 01 00 00 00 00 00 9D [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:06]Read from MH i2c: E2 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 0E 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 0E 00 AA 76 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 87 [23:57:06]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [23:57:06]wFMCommunicate OK [23:57:06]SAM_PROTO_GetShiftState done [23:57:06]FM_GetShiftState done [23:57:06]req_shift_opened done [23:57:06]requested_item shift.open_date is exist - process it [23:57:06]req_shift_open_date [23:57:06]req_shift_open_date done [23:57:06]produce_requested_data done [23:57:06]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2703,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [23:57:06]process_action_free get_value [23:57:06]json_value_free [23:57:06]json_value_free done [23:57:06]process_json_proto returns [23:57:06]Send response to host [23:57:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2703,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [23:57:06]free response buf [23:57:06]execute_script done [23:57:06]execute_script returns [23:57:06]free content buf [23:57:06]Sock 7.Close socket [23:57:06]Sock 7.Thread stoped [23:57:06]accept exits with 9 [23:57:06]New connection [23:57:06]New thread 3066850660 created [23:57:06]Thread 3066707300 joined [23:57:06]Waiting for new connection... [23:57:06] Sock 9.Parse request [23:57:06]Sock 9.Check first char [23:57:06]Sock 9.First char is OK [23:57:06]request: POST /json_proto HTTP/1.0 [23:57:06]Method: POST [23:57:06]URL: /json_proto [23:57:06]Method is POST - this is cgi request [23:57:06]url: /json_proto [23:57:06]query_string will be loaded in cgi processing [23:57:06]execute_cgi json_proto POST (null) [23:57:06]execute_cgi path=json_proto method=POST [23:57:06]POST find Content-Length [23:57:06]Host: 172.17.52.132:8080 [23:57:06]Content-Length: 331 [23:57:06]Content-Type: application/json [23:57:06] [23:57:06]POST finish read [23:57:06]Found Content-Length = 331 [23:57:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:06]execute_script... [23:57:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:06]POST & json_proto [23:57:06]process_json_proto [23:57:06]json parsed OK: [23:57:06]protocol is kg_v1.0 [23:57:06]action value=get_value [23:57:06]process_action get_value [23:57:06]cmd_get_value [23:57:06]process_action get_value done [23:57:06]requested_data is exist [23:57:06]produce_requested_data [23:57:06]requested_item fm.sale.total is exist - process it [23:57:06]SAM_PROTO_GetFMData [23:57:06]wFMCommunicate request_size=4 [23:57:06]MH_SAM_APDU [23:57:06]CAPDU: 80 13 03 00 [23:57:06]Write to MH i2c: E2 08 00 AB 76 80 13 03 00 00 00 00 00 A0 [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:06]Read from MH i2c: E2 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 FD 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 FD 00 AB 76 00 BE 04 85 04 BA 04 6E 04 04 00 5F 0A 00 00 69 04 9F 00 6F 04 04 00 56 0A 00 00 B1 04 04 00 D9 83 4D 05 70 04 04 00 80 05 E5 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 33 2B 90 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 9B 02 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 DF [23:57:06]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 5F 0A 00 00 69 04 9F 00 6F 04 04 00 56 0A 00 00 B1 04 04 00 D9 83 4D 05 70 04 04 00 80 05 E5 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 33 2B 90 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 9B 02 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [23:57:06]wFMCommunicate OK [23:57:06]wFMCommunicate request_size=4 [23:57:06]MH_SAM_APDU [23:57:06]CAPDU: 80 17 00 00 [23:57:06]Write to MH i2c: E2 08 00 AC 76 80 17 00 00 00 00 00 00 A2 [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:07]int [23:57:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:07]*** FLAG_PRN_PAP1 set [23:57:07]*** FLAG_PRN_PAP2 set [23:57:07]*** FLAG_PRN_PAP2 reset [23:57:07]Read from MH i2c: E2 [23:57:07]MH_I2C_Read... [00:00:10]/dev/ttyS4 opened [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 AF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 54 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725AF (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 2022041+1727446618=1729468659 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 AF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 55 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 78 00 60 00 FF FF B6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 F4 98 15 67 5A BE F6 66 7B [23:57:40]Current date/time: 20.10.2024 23:57 [23:57:40]FM_Init [23:57:40]wFMConnect [23:57:40]MH_SAM_On [23:57:40]Write to MH i2c: E0 00 00 08 00 E7 [23:57:40]Write i2c OK [23:57:40]MH_I2C_Read... [23:57:40]*** iso7816_init finished! [23:57:40]*** atr: [23:57:40]*** 0F 3B D5 18 FF 81 91 FE [23:57:40]*** 1F C3 80 73 C8 21 10 0A [23:57:40]*** 00 00 00 00 00 00 00 00 [23:57:40]*** 00 00 00 00 00 00 00 00 [23:57:40]*** 00 00 00 00 00 00 00 00 [23:57:40]*** 00 00 00 00 00 00 00 00 [23:57:40]*** 00 00 00 00 00 00 00 00 [23:57:40]*** 00 00 00 00 00 00 00 00 [23:57:40]Read from MH i2c: E0 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E0 10 00 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [23:57:40]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [23:57:40]wFMCommunicate request_size=10 [23:57:40]MH_SAM_APDU [23:57:40]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [23:57:40]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [23:57:40]Write i2c OK [23:57:40]MH_I2C_Read... [23:57:40]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [23:57:40]Read from MH i2c: E2 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 03 00 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [23:57:40]RAPDU: 90 00 [23:57:40]wFMCommunicate OK [23:57:40]wFMCommunicate request_size=4 [23:57:40]MH_SAM_APDU [23:57:40]CAPDU: 80 11 00 00 [23:57:40]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [23:57:40]Write i2c OK [23:57:40]MH_I2C_Read... [23:57:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:40]Read from MH i2c: E2 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 17 00 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CC [23:57:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:57:40]wFMCommunicate OK [23:57:40]Detected FM SN is 0000000002342820 [23:57:40]Stored FM SN is 0000000002342820 [23:57:40]wFMCommunicate request_size=9 [23:57:40]MH_SAM_APDU [23:57:40]CAPDU: 80 16 00 00 04 7A 86 00 00 [23:57:40]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 7A 86 00 00 00 00 92 [23:57:40]Write i2c OK [23:57:40]MH_I2C_Read... [23:57:40]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [23:57:40]Read from MH i2c: E2 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 03 00 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [23:57:40]RAPDU: 90 00 [23:57:40]wFMCommunicate OK [23:57:40]FM PIN OK [23:57:40]wFMCommunicate request_size=8 [23:57:40]MH_SAM_APDU [23:57:40]CAPDU: 80 14 04 00 03 02 00 01 [23:57:40]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [23:57:40]Write i2c OK [23:57:40]MH_I2C_Read... [23:57:40]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [23:57:40]Read from MH i2c: E2 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 03 00 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [23:57:40]RAPDU: 90 00 [23:57:40]wFMCommunicate OK [23:57:40]wFMCommunicate request_size=13 [23:57:40]MH_SAM_APDU [23:57:40]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [23:57:40]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [23:57:40]Write i2c OK [23:57:40]MH_I2C_Read... [23:57:40]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [23:57:40]Read from MH i2c: E2 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 03 00 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [23:57:40]RAPDU: 90 00 [23:57:40]wFMCommunicate OK [23:57:40]wFMCommunicate request_size=4 [23:57:40]MH_SAM_APDU [23:57:40]CAPDU: 80 11 00 00 [23:57:40]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [23:57:40]Write i2c OK [23:57:40]MH_I2C_Read... [23:57:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:40]Read from MH i2c: E2 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 17 00 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D0 [23:57:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:57:40]wFMCommunicate OK [23:57:40]DocumentArchiveInit [23:57:40]Start Httpd... [23:57:40]Httpd thread 3067002212 created [23:57:40]Write to MH i2c: 01 00 00 0F 00 0F [23:57:40]Write i2c OK [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: 01 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: 01 07 00 [23:57:40]MH_I2C_Read... [23:57:40]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [23:57:40]MH Int Process started [23:57:40]OFD Sender: No OFD packet to send [23:57:40]Allocated Socket 7 [23:57:40]Bind OK [23:57:40]Listen OK [23:57:40]httpd running on port 8080 [23:57:40]Waiting for new connection... [23:57:45]OFD Sender: No OFD packet to send [23:57:48]accept exits with 8 [23:57:48]New connection [23:57:48]New thread 3066715492 created [23:57:48]Waiting for new connection... [23:57:48] Sock 8.Parse request [23:57:48]Sock 8.Check first char [23:57:48]Sock 8.First char is OK [23:57:48]request: POST /json_proto HTTP/1.0 [23:57:48]Method: POST [23:57:48]URL: /json_proto [23:57:48]Method is POST - this is cgi request [23:57:48]url: /json_proto [23:57:48]query_string will be loaded in cgi processing [23:57:48]execute_cgi json_proto POST (null) [23:57:48]execute_cgi path=json_proto method=POST [23:57:48]POST find Content-Length [23:57:48]Host: 172.17.52.132:8080 [23:57:48]Content-Length: 2926 [23:57:48]Content-Type: application/json [23:57:48] [23:57:48]POST finish read [23:57:48]Found Content-Length = 2926 [23:57:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100081", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159438056", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles \u041A\u0438\u0441\u043B\u043E\u043C\u0438\u043A\u0441", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4610080727818", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Pamperino kids 8\u0448\u0442", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 699.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:48]execute_script... [00:00:10]/dev/ttyS4 opened [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 AF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 54 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725AF (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 2022067+1727446618=1729468685 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 AF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 55 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 78 00 60 00 FF FF B6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 0D 99 15 67 5A BE F6 66 95 [23:58:05]Current date/time: 20.10.2024 23:58 [23:58:05]FM_Init [23:58:05]wFMConnect [23:58:05]MH_SAM_On [23:58:05]Write to MH i2c: E0 00 00 08 00 E7 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_init finished! [23:58:05]*** atr: [23:58:05]*** 0F 3B D5 18 FF 81 91 FE [23:58:05]*** 1F C3 80 73 C8 21 10 0A [23:58:05]*** 00 00 00 00 00 00 00 00 [23:58:05]*** 00 00 00 00 00 00 00 00 [23:58:05]*** 00 00 00 00 00 00 00 00 [23:58:05]*** 00 00 00 00 00 00 00 00 [23:58:05]*** 00 00 00 00 00 00 00 00 [23:58:05]*** 00 00 00 00 00 00 00 00 [23:58:05]Read from MH i2c: E0 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E0 10 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [23:58:05]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [23:58:05]wFMCommunicate request_size=10 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [23:58:05]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [23:58:05]RAPDU: 90 00 [23:58:05]wFMCommunicate OK [23:58:05]wFMCommunicate request_size=4 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 11 00 00 [23:58:05]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 17 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CC [23:58:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:58:05]wFMCommunicate OK [23:58:05]Detected FM SN is 0000000002342820 [23:58:05]Stored FM SN is 0000000002342820 [23:58:05]wFMCommunicate request_size=9 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 16 00 00 04 7A 86 00 00 [23:58:05]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 7A 86 00 00 00 00 92 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [23:58:05]RAPDU: 90 00 [23:58:05]wFMCommunicate OK [23:58:05]FM PIN OK [23:58:05]wFMCommunicate request_size=8 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 14 04 00 03 02 00 01 [23:58:05]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [23:58:05]RAPDU: 90 00 [23:58:05]wFMCommunicate OK [23:58:05]wFMCommunicate request_size=13 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [23:58:05]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [23:58:05]RAPDU: 90 00 [23:58:05]wFMCommunicate OK [23:58:05]wFMCommunicate request_size=4 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 11 00 00 [23:58:05]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 17 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D0 [23:58:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:58:05]wFMCommunicate OK [23:58:05]DocumentArchiveInit [23:58:05]Start Httpd... [23:58:05]Httpd thread 3067370852 created [23:58:05]Write to MH i2c: 01 00 00 0F 00 0F [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: 01 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: 01 07 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [23:58:05]MH Int Process started [23:58:05]Allocated Socket 7 [23:58:05]Bind OK [23:58:05]Listen OK [23:58:05]httpd running on port 8080 [23:58:05]Waiting for new connection... [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:21]accept exits with 8 [23:59:21]New connection [23:59:21]New thread 3067084132 created [23:59:21]Waiting for new connection... [23:59:21] Sock 8.Parse request [23:59:21]Sock 8.Check first char [23:59:21]Sock 8.First char is OK [23:59:21]request: POST /json_proto HTTP/1.0 [23:59:21]Method: POST [23:59:21]URL: /json_proto [23:59:21]Method is POST - this is cgi request [23:59:21]url: /json_proto [23:59:21]query_string will be loaded in cgi processing [23:59:21]execute_cgi json_proto POST (null) [23:59:21]execute_cgi path=json_proto method=POST [23:59:21]POST find Content-Length [23:59:21]Host: 172.17.52.132:8080 [23:59:21]Content-Length: 215 [23:59:21]Content-Type: application/json [23:59:21] [23:59:21]POST finish read [23:59:21]Found Content-Length = 215 [23:59:21]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:59:21]execute_script... [23:59:21]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:59:21]POST & json_proto [23:59:21]process_json_proto [23:59:21]json parsed OK: [23:59:21]protocol is kg_v1.0 [23:59:21]action value=get_value [23:59:21]process_action get_value [23:59:21]cmd_get_value [23:59:21]process_action get_value done [23:59:21]requested_data is exist [23:59:21]produce_requested_data [23:59:21]requested_item kkm.sn is exist - process it [23:59:21]requested_item kkm.ver is exist - process it [23:59:21]requested_item fm.sn is exist - process it [23:59:21]wFMCommunicate request_size=4 [23:59:21]MH_SAM_APDU [23:59:21]CAPDU: 80 11 00 00 [23:59:21]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [23:59:21]Write i2c OK [23:59:21]MH_I2C_Read... [23:59:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:21]Read from MH i2c: E2 [23:59:21]MH_I2C_Read... [23:59:21]Read from MH i2c: E2 17 00 [23:59:21]MH_I2C_Read... [23:59:21]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D2 [23:59:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:59:21]wFMCommunicate OK [23:59:21]requested_item fd.num is exist - process it [23:59:21]SAM_PROTO_GetFieldsCounters [23:59:21]wFMCommunicate request_size=4 [23:59:21]MH_SAM_APDU [23:59:21]CAPDU: 80 13 00 00 [23:59:21]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [23:59:21]Write i2c OK [23:59:21]MH_I2C_Read... [23:59:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:21]Read from MH i2c: E2 [23:59:21]MH_I2C_Read... [23:59:21]Read from MH i2c: E2 62 00 [23:59:21]MH_I2C_Read... [23:59:21]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 90 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 54 [23:59:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 90 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:21]wFMCommunicate OK [23:59:21]SAM_PROTO_GetFieldsCounters done [23:59:21]requested_item shift.num is exist - process it [23:59:21]requested_item shift.opened is exist - process it [23:59:21]req_shift_opened [23:59:21]FM_GetShiftState [23:59:21]SAM_PROTO_GetShiftState [23:59:21]wFMCommunicate request_size=4 [23:59:21]MH_SAM_APDU [23:59:21]CAPDU: 80 13 01 00 [23:59:21]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [23:59:21]Write i2c OK [23:59:21]MH_I2C_Read... [23:59:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:21]Read from MH i2c: E2 [23:59:21]MH_I2C_Read... [23:59:21]Read from MH i2c: E2 0E 00 [23:59:21]MH_I2C_Read... [23:59:21]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 79 [23:59:21]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [23:59:21]wFMCommunicate OK [23:59:21]SAM_PROTO_GetShiftState done [23:59:21]FM_GetShiftState done [23:59:21]req_shift_opened done [23:59:21]requested_item shift.open_date is exist - process it [23:59:21]req_shift_open_date [23:59:21]req_shift_open_date done [23:59:21]produce_requested_data done [23:59:21]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2704,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [23:59:21]process_action_free get_value [23:59:21]json_value_free [23:59:21]json_value_free done [23:59:21]process_json_proto returns [23:59:21]Send response to host [23:59:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2704,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [23:59:21]free response buf [23:59:21]execute_script done [23:59:21]execute_script returns [23:59:21]free content buf [23:59:21]Sock 8.Close socket [23:59:21]Sock 8.Thread stoped [23:59:21]accept exits with 9 [23:59:21]New connection [23:59:21]New thread 3066940772 created [23:59:21]Thread 3067084132 joined [23:59:21]Waiting for new connection... [23:59:21] Sock 9.Parse request [23:59:21]Sock 9.Check first char [23:59:21]Sock 9.First char is OK [23:59:21]request: POST /json_proto HTTP/1.0 [23:59:21]Method: POST [23:59:21]URL: /json_proto [23:59:21]Method is POST - this is cgi request [23:59:21]url: /json_proto [23:59:21]query_string will be loaded in cgi processing [23:59:21]execute_cgi json_proto POST (null) [23:59:21]execute_cgi path=json_proto method=POST [23:59:21]POST find Content-Length [23:59:21]Host: 172.17.52.132:8080 [23:59:21]Content-Length: 331 [23:59:21]Content-Type: application/json [23:59:21] [23:59:21]POST finish read [23:59:21]Found Content-Length = 331 [23:59:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:21]execute_script... [23:59:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:21]POST & json_proto [23:59:21]process_json_proto [23:59:21]json parsed OK: [23:59:21]protocol is kg_v1.0 [23:59:21]action value=get_value [23:59:21]process_action get_value [23:59:21]cmd_get_value [23:59:21]process_action get_value done [23:59:21]requested_data is exist [23:59:21]produce_requested_data [23:59:21]requested_item fm.sale.total is exist - process it [23:59:21]SAM_PROTO_GetFMData [23:59:21]wFMCommunicate request_size=4 [23:59:21]MH_SAM_APDU [23:59:21]CAPDU: 80 13 03 00 [23:59:21]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [23:59:21]Write i2c OK [23:59:21]MH_I2C_Read... [23:59:22]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:22]Read from MH i2c: E2 [23:59:22]MH_I2C_Read... [23:59:22]Read from MH i2c: E2 FD 00 [23:59:22]MH_I2C_Read... [23:59:22]Read from MH i2c: E2 FD 00 13 00 00 BE 04 85 04 BA 04 6E 04 04 00 60 0A 00 00 69 04 9F 00 6F 04 04 00 57 0A 00 00 B1 04 04 00 E5 94 4E 05 70 04 04 00 8C 16 E6 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 48 90 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 05 05 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 96 [23:59:22]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 60 0A 00 00 69 04 9F 00 6F 04 04 00 57 0A 00 00 B1 04 04 00 E5 94 4E 05 70 04 04 00 8C 16 E6 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 48 90 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 05 05 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [23:59:22]wFMCommunicate OK [23:59:22]wFMCommunicate request_size=4 [23:59:22]MH_SAM_APDU [23:59:22]CAPDU: 80 17 00 00 [23:59:22]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [23:59:22]Write i2c OK [23:59:22]MH_I2C_Read... [23:59:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:22]Read from MH i2c: E2 [23:59:22]MH_I2C_Read... [23:59:22]Read from MH i2c: E2 FD 00 [23:59:22]MH_I2C_Read... [23:59:22]Read from MH i2c: E2 FD 00 14 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F9 [23:59:22]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:22]wFMCommunicate OK [23:59:22]wFMCommunicate request_size=4 [23:59:22]MH_SAM_APDU [23:59:22]CAPDU: 80 17 00 00 [23:59:22]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [23:59:22]Write i2c OK [23:59:22]MH_I2C_Read... [23:59:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:22]Read from MH i2c: E2 [23:59:22]MH_I2C_Read... [23:59:22]Read from MH i2c: E2 FD 00 [23:59:22]MH_I2C_Read... [23:59:22]Read from MH i2c: E2 FD 00 15 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C7 [23:59:22]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:22]wFMCommunicate OK [23:59:22]wFMCommunicate request_size=4 [23:59:22]MH_SAM_APDU [23:59:22]CAPDU: 80 17 00 00 [23:59:22]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [23:59:22]Write i2c OK [23:59:22]MH_I2C_Read... [23:59:22]Read from MH i2c: E2 [23:59:22]MH_I2C_Read... [23:59:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:22]Read from MH i2c: E2 FD 00 [23:59:22]MH_I2C_Read... [23:59:22]Read from MH i2c: E2 FD 00 16 00 00 04 F7 03 00 00 EF 03 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 90 00 11 [23:59:22]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:59:22]wFMCommunicate OK [23:59:22]wFMCommunicate request_size=4 [23:59:22]MH_SAM_APDU [23:59:22]CAPDU: 80 17 00 00 [23:59:22]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [23:59:22]Write i2c OK [23:59:22]MH_I2C_Read... [23:59:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:59:23]Read from MH i2c: E2 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 DB 00 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 DB 00 17 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 79 [23:59:23]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:23]wFMCommunicate OK [23:59:23]SAM_PROTO_GetFMData done [23:59:23]requested_item fm.sale_refund.total is exist - process it [23:59:23]requested_item fm.buy.total is exist - process it [23:59:23]requested_item shift.sale.total is exist - process it [23:59:23]SAM_PROTO_GetShiftData [23:59:23]wFMCommunicate request_size=4 [23:59:23]MH_SAM_APDU [23:59:23]CAPDU: 80 13 02 00 [23:59:23]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [23:59:23]Write i2c OK [23:59:23]MH_I2C_Read... [23:59:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:23]Read from MH i2c: E2 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 FD 00 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 FD 00 18 00 00 B5 04 AA 04 B1 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 A3 8E 3E 70 04 03 00 F4 E9 1C 72 04 03 00 AF A4 21 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 A0 A4 06 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 AF 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 E7 [23:59:23]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 A3 8E 3E 70 04 03 00 F4 E9 1C 72 04 03 00 AF A4 21 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 A0 A4 06 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 AF 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [23:59:23]wFMCommunicate OK [23:59:23]wFMCommunicate request_size=4 [23:59:23]MH_SAM_APDU [23:59:23]CAPDU: 80 17 00 00 [23:59:23]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [23:59:23]Write i2c OK [23:59:23]MH_I2C_Read... [23:59:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:23]Read from MH i2c: E2 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 FD 00 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 FD 00 19 00 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FF [23:59:23]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:23]wFMCommunicate OK [23:59:23]wFMCommunicate request_size=4 [23:59:23]MH_SAM_APDU [23:59:23]CAPDU: 80 17 00 00 [23:59:23]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [23:59:23]Write i2c OK [23:59:23]MH_I2C_Read... [23:59:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:24]Read from MH i2c: E2 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 1A 00 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 57 [23:59:24]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:24]wFMCommunicate OK [23:59:24]wFMCommunicate request_size=4 [23:59:24]MH_SAM_APDU [23:59:24]CAPDU: 80 17 00 00 [23:59:24]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [23:59:24]Write i2c OK [23:59:24]MH_I2C_Read... [23:59:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:24]Read from MH i2c: E2 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 1B 00 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 90 00 13 [23:59:24]RAPDU: 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 90 00 [23:59:24]wFMCommunicate OK [23:59:24]wFMCommunicate request_size=4 [23:59:24]MH_SAM_APDU [23:59:24]CAPDU: 80 17 00 00 [23:59:24]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [23:59:24]Write i2c OK [23:59:24]MH_I2C_Read... [23:59:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [23:59:24]Read from MH i2c: E2 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 D2 00 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 D2 00 1C 00 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [23:59:24]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:59:24]wFMCommunicate OK [23:59:24]SAM_PROTO_GetShiftData done [23:59:24]requested_item shift.sale.total_cash is exist - process it [23:59:24]requested_item shift.sale_refund.total is exist - process it [23:59:24]requested_item shift.sale_refund.total_cash is exist - process it [23:59:24]requested_item shift.buy.total is exist - process it [23:59:24]requested_item shift.buy.total_cash is exist - process it [23:59:24]produce_requested_data done [23:59:24]produce_requested_data return {"fm.sale.total":890360.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":40997.47,"shift.sale.total_cash":18949.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:24]process_action_free get_value [23:59:24]json_value_free [23:59:24]json_value_free done [23:59:24]process_json_proto returns [23:59:24]Send response to host [23:59:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":890360.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":40997.47,"shift.sale.total_cash":18949.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:24]free response buf [23:59:24]execute_script done [23:59:24]execute_script returns [23:59:24]free content buf [23:59:24]Sock 9.Close socket [23:59:24]Sock 9.Thread stoped [23:59:24]accept exits with 8 [23:59:24]New connection [23:59:24]New thread 3067084132 created [23:59:24]Thread 3066940772 joined [23:59:24]Waiting for new connection... [23:59:24] Sock 8.Parse request [23:59:24]Sock 8.Check first char [23:59:24]Sock 8.First char is OK [23:59:24]request: POST /json_proto HTTP/1.0 [23:59:24]Method: POST [23:59:24]URL: /json_proto [23:59:24]Method is POST - this is cgi request [23:59:24]url: /json_proto [23:59:24]query_string will be loaded in cgi processing [23:59:24]execute_cgi json_proto POST (null) [23:59:24]execute_cgi path=json_proto method=POST [23:59:24]POST find Content-Length [23:59:24]Host: 172.17.52.132:8080 [23:59:24]Content-Length: 331 [23:59:24]Content-Type: application/json [23:59:24] [23:59:24]POST finish read [23:59:24]Found Content-Length = 331 [23:59:24]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:59:24]execute_script... [23:59:24]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:59:24]POST & json_proto [23:59:24]process_json_proto [23:59:24]json parsed OK: [23:59:24]protocol is kg_v1.0 [23:59:24]action value=get_value [23:59:24]process_action get_value [23:59:24]cmd_get_value [23:59:24]process_action get_value done [23:59:24]requested_data is exist [23:59:24]produce_requested_data [23:59:24]requested_item fm.sale.total is exist - process it [23:59:24]SAM_PROTO_GetFMData [23:59:24]wFMCommunicate request_size=4 [23:59:24]MH_SAM_APDU [23:59:24]CAPDU: 80 13 03 00 [23:59:24]Write to MH i2c: E2 08 00 1D 00 80 13 03 00 00 00 00 00 9C [23:59:24]Write i2c OK [23:59:24]MH_I2C_Read... [23:59:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:25]Read from MH i2c: E2 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 FD 00 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 FD 00 1D 00 00 BE 04 85 04 BA 04 6E 04 04 00 60 0A 00 00 69 04 9F 00 6F 04 04 00 57 0A 00 00 B1 04 04 00 E5 94 4E 05 70 04 04 00 8C 16 E6 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 48 90 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 05 05 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 A0 [23:59:25]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 60 0A 00 00 69 04 9F 00 6F 04 04 00 57 0A 00 00 B1 04 04 00 E5 94 4E 05 70 04 04 00 8C 16 E6 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 48 90 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 05 05 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [23:59:25]wFMCommunicate OK [23:59:25]wFMCommunicate request_size=4 [23:59:25]MH_SAM_APDU [23:59:25]CAPDU: 80 17 00 00 [23:59:25]Write to MH i2c: E2 08 00 1E 00 80 17 00 00 00 00 00 00 9E [23:59:25]Write i2c OK [23:59:25]MH_I2C_Read... [23:59:25]OFD Sender: No OFD packet to send [23:59:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:25]Read from MH i2c: E2 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 FD 00 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 FD 00 1E 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 03 [23:59:25]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:25]wFMCommunicate OK [23:59:25]wFMCommunicate request_size=4 [23:59:25]MH_SAM_APDU [23:59:25]CAPDU: 80 17 00 00 [23:59:25]Write to MH i2c: E2 08 00 1F 00 80 17 00 00 00 00 00 00 9F [23:59:25]Write i2c OK [23:59:25]MH_I2C_Read... [23:59:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:25]Read from MH i2c: E2 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 FD 00 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 FD 00 1F 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D1 [23:59:26]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:26]wFMCommunicate OK [23:59:26]wFMCommunicate request_size=4 [23:59:26]MH_SAM_APDU [23:59:26]CAPDU: 80 17 00 00 [23:59:26]Write to MH i2c: E2 08 00 20 00 80 17 00 00 00 00 00 00 A0 [23:59:26]Write i2c OK [23:59:26]MH_I2C_Read... [23:59:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:26]Read from MH i2c: E2 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 FD 00 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 FD 00 20 00 00 04 F7 03 00 00 EF 03 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 90 00 1B [23:59:26]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:59:26]wFMCommunicate OK [23:59:26]wFMCommunicate request_size=4 [23:59:26]MH_SAM_APDU [23:59:26]CAPDU: 80 17 00 00 [23:59:26]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [23:59:26]Write i2c OK [23:59:26]MH_I2C_Read... [23:59:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:59:26]Read from MH i2c: E2 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 DB 00 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 DB 00 21 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 83 [23:59:26]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:26]wFMCommunicate OK [23:59:26]SAM_PROTO_GetFMData done [23:59:26]requested_item fm.sale_refund.total is exist - process it [23:59:26]requested_item fm.buy.total is exist - process it [23:59:26]requested_item shift.sale.total is exist - process it [23:59:26]SAM_PROTO_GetShiftData [23:59:26]wFMCommunicate request_size=4 [23:59:26]MH_SAM_APDU [23:59:26]CAPDU: 80 13 02 00 [23:59:26]Write to MH i2c: E2 08 00 22 00 80 13 02 00 00 00 00 00 A0 [23:59:26]Write i2c OK [23:59:26]MH_I2C_Read... [23:59:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:27]Read from MH i2c: E2 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 FD 00 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 FD 00 22 00 00 B5 04 AA 04 B1 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 A3 8E 3E 70 04 03 00 F4 E9 1C 72 04 03 00 AF A4 21 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 A0 A4 06 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 AF 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 F1 [23:59:27]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 A3 8E 3E 70 04 03 00 F4 E9 1C 72 04 03 00 AF A4 21 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 A0 A4 06 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 AF 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [23:59:27]wFMCommunicate OK [23:59:27]wFMCommunicate request_size=4 [23:59:27]MH_SAM_APDU [23:59:27]CAPDU: 80 17 00 00 [23:59:27]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [23:59:27]Write i2c OK [23:59:27]MH_I2C_Read... [23:59:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:27]Read from MH i2c: E2 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 FD 00 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 FD 00 23 00 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 09 [23:59:27]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:27]wFMCommunicate OK [23:59:27]wFMCommunicate request_size=4 [23:59:27]MH_SAM_APDU [23:59:27]CAPDU: 80 17 00 00 [23:59:27]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [23:59:27]Write i2c OK [23:59:27]MH_I2C_Read... [23:59:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:27]Read from MH i2c: E2 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 FD 00 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 FD 00 24 00 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 61 [23:59:28]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:28]wFMCommunicate OK [23:59:28]wFMCommunicate request_size=4 [23:59:28]MH_SAM_APDU [23:59:28]CAPDU: 80 17 00 00 [23:59:28]Write to MH i2c: E2 08 00 25 00 80 17 00 00 00 00 00 00 A5 [23:59:28]Write i2c OK [23:59:28]MH_I2C_Read... [23:59:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:28]Read from MH i2c: E2 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 FD 00 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 FD 00 25 00 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 90 00 1D [23:59:28]RAPDU: 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 90 00 [23:59:28]wFMCommunicate OK [23:59:28]wFMCommunicate request_size=4 [23:59:28]MH_SAM_APDU [23:59:28]CAPDU: 80 17 00 00 [23:59:28]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [23:59:28]Write i2c OK [23:59:28]MH_I2C_Read... [23:59:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [23:59:28]Read from MH i2c: E2 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 D2 00 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 D2 00 26 00 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 89 [23:59:28]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:59:28]wFMCommunicate OK [23:59:28]SAM_PROTO_GetShiftData done [23:59:28]requested_item shift.sale.total_cash is exist - process it [23:59:28]requested_item shift.sale_refund.total is exist - process it [23:59:28]requested_item shift.sale_refund.total_cash is exist - process it [23:59:28]requested_item shift.buy.total is exist - process it [23:59:28]requested_item shift.buy.total_cash is exist - process it [23:59:28]produce_requested_data done [23:59:28]produce_requested_data return {"fm.sale.total":890360.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":40997.47,"shift.sale.total_cash":18949.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:28]process_action_free get_value [23:59:28]json_value_free [23:59:28]json_value_free done [23:59:28]process_json_proto returns [23:59:28]Send response to host [23:59:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":890360.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":40997.47,"shift.sale.total_cash":18949.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:28]free response buf [23:59:28]execute_script done [23:59:28]execute_script returns [23:59:28]free content buf [23:59:28]Sock 8.Close socket [23:59:28]Sock 8.Thread stoped [23:59:28]accept exits with 9 [23:59:28]New connection [23:59:28]New thread 3066940772 created [23:59:28]Thread 3067084132 joined [23:59:28]Waiting for new connection... [23:59:28] Sock 9.Parse request [23:59:28]Sock 9.Check first char [23:59:28]Sock 9.First char is OK [23:59:28]request: POST /json_proto HTTP/1.0 [23:59:28]Method: POST [23:59:28]URL: /json_proto [23:59:28]Method is POST - this is cgi request [23:59:28]url: /json_proto [23:59:28]query_string will be loaded in cgi processing [23:59:28]execute_cgi json_proto POST (null) [23:59:28]execute_cgi path=json_proto method=POST [23:59:28]POST find Content-Length [23:59:28]Host: 172.17.52.132:8080 [23:59:28]Content-Length: 257 [23:59:28]Content-Type: application/json [23:59:28] [23:59:28]POST finish read [23:59:28]Found Content-Length = 257 [23:59:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:28]execute_script... [23:59:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:28]POST & json_proto [23:59:28]process_json_proto [23:59:28]json parsed OK: [23:59:28]protocol is kg_v1.0 [23:59:28]action value=x_report [23:59:28]process_action x_report [23:59:28]cmd_x_report [23:59:28]MH_GetDate [23:59:28]Write to MH i2c: F0 00 00 27 00 16 [23:59:28]Write i2c OK [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: F0 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: F0 09 00 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: F0 09 00 27 00 00 61 99 15 67 5A BE F6 66 09 [23:59:28]GetLastDocTimeStamp 1729463561 [23:59:28]current date 1729468769 [23:59:28]FM_GetShiftState [23:59:28]SAM_PROTO_GetShiftState [23:59:28]wFMCommunicate request_size=4 [23:59:28]MH_SAM_APDU [23:59:28]CAPDU: 80 13 01 00 [23:59:28]Write to MH i2c: E2 08 00 28 00 80 13 01 00 00 00 00 00 A5 [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:29]Read from MH i2c: E2 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 0E 00 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 0E 00 28 00 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 8F [23:59:29]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [23:59:29]wFMCommunicate OK [23:59:29]SAM_PROTO_GetShiftState done [23:59:29]FM_GetShiftState done [23:59:29]KKMCreateXReportDocument [23:59:29]Load OK [23:59:29]Malloc new data [23:59:29]MH_GetDate [23:59:29]Write to MH i2c: F0 00 00 29 00 18 [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: F0 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: F0 09 00 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: F0 09 00 29 00 00 61 99 15 67 5A BE F6 66 0B [23:59:29]Malloc new data [23:59:29]Malloc new data [23:59:29]wFMCommunicate request_size=4 [23:59:29]MH_SAM_APDU [23:59:29]CAPDU: 80 11 00 00 [23:59:29]Write to MH i2c: E2 08 00 2A 00 80 11 00 00 00 00 00 00 A4 [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:29]Read from MH i2c: E2 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 17 00 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 17 00 2A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 EC [23:59:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:59:29]wFMCommunicate OK [23:59:29]SAM_PROTO_GetFieldsCounters [23:59:29]wFMCommunicate request_size=4 [23:59:29]MH_SAM_APDU [23:59:29]CAPDU: 80 13 00 00 [23:59:29]Write to MH i2c: E2 08 00 2B 00 80 13 00 00 00 00 00 00 A7 [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:29]Read from MH i2c: E2 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 62 00 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 62 00 2B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 90 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 6E [23:59:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 90 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:29]wFMCommunicate OK [23:59:29]SAM_PROTO_GetFieldsCounters done [23:59:29]Malloc new data [23:59:29]Malloc new data [23:59:29]Malloc new data [23:59:29]KKMCreateXReportDocument OK [23:59:29]KKMSetXReportData OK [23:59:29]KKMPrepareXReportFMData [23:59:29]SAM_PROTO_GetShiftData [23:59:29]wFMCommunicate request_size=4 [23:59:29]MH_SAM_APDU [23:59:29]CAPDU: 80 13 02 00 [23:59:29]Write to MH i2c: E2 08 00 2C 00 80 13 02 00 00 00 00 00 AA [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:29]Read from MH i2c: E2 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 FD 00 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 FD 00 2C 00 00 B5 04 AA 04 B1 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 A3 8E 3E 70 04 03 00 F4 E9 1C 72 04 03 00 AF A4 21 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 A0 A4 06 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 AF 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 FB [23:59:29]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 A3 8E 3E 70 04 03 00 F4 E9 1C 72 04 03 00 AF A4 21 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 A0 A4 06 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 AF 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [23:59:29]wFMCommunicate OK [23:59:29]wFMCommunicate request_size=4 [23:59:29]MH_SAM_APDU [23:59:29]CAPDU: 80 17 00 00 [23:59:29]Write to MH i2c: E2 08 00 2D 00 80 17 00 00 00 00 00 00 AD [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:30]Read from MH i2c: E2 [23:59:30]MH_I2C_Read... [23:59:30]Read from MH i2c: E2 FD 00 [23:59:30]MH_I2C_Read... [23:59:30]Read from MH i2c: E2 FD 00 2D 00 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 13 [23:59:30]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:30]wFMCommunicate OK [23:59:30]wFMCommunicate request_size=4 [23:59:30]MH_SAM_APDU [23:59:30]CAPDU: 80 17 00 00 [23:59:30]Write to MH i2c: E2 08 00 2E 00 80 17 00 00 00 00 00 00 AE [23:59:30]Write i2c OK [23:59:30]MH_I2C_Read... [23:59:30]OFD Sender: No OFD packet to send [23:59:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:30]Read from MH i2c: E2 [23:59:30]MH_I2C_Read... [23:59:30]Read from MH i2c: E2 FD 00 [23:59:30]MH_I2C_Read... [23:59:30]Read from MH i2c: E2 FD 00 2E 00 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6B [23:59:30]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:30]wFMCommunicate OK [23:59:30]wFMCommunicate request_size=4 [23:59:30]MH_SAM_APDU [23:59:30]CAPDU: 80 17 00 00 [23:59:30]Write to MH i2c: E2 08 00 2F 00 80 17 00 00 00 00 00 00 AF [23:59:30]Write i2c OK [23:59:30]MH_I2C_Read... [23:59:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:31]Read from MH i2c: E2 [23:59:31]MH_I2C_Read... [23:59:31]Read from MH i2c: E2 FD 00 [23:59:31]MH_I2C_Read... [23:59:31]Read from MH i2c: E2 FD 00 2F 00 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 90 00 27 [23:59:31]RAPDU: 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 90 00 [23:59:31]wFMCommunicate OK [23:59:31]wFMCommunicate request_size=4 [23:59:31]MH_SAM_APDU [23:59:31]CAPDU: 80 17 00 00 [23:59:31]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [23:59:31]Write i2c OK [23:59:31]MH_I2C_Read... [23:59:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [23:59:31]Read from MH i2c: E2 [23:59:31]MH_I2C_Read... [23:59:31]Read from MH i2c: E2 D2 00 [23:59:31]MH_I2C_Read... [23:59:31]Read from MH i2c: E2 D2 00 30 00 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 93 [23:59:31]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:59:31]wFMCommunicate OK [23:59:31]SAM_PROTO_GetShiftData done [23:59:31]1194 (1201) - счетчики итогов смены [23:59:31] 1134 (4) - 85 - количество чеков со всеми признаками расчетов [23:59:31] 1129 (155) - счетчики операций «приход» [23:59:31] 1135 (4) - 84 - количество чеков по признаку расчетов [23:59:31] 1201 (3) - 40997.47 - общая итоговая сумма в чеках [23:59:31] 1136 (3) - 18949.00 - итоговая сумма в чеках наличными [23:59:31] 1138 (3) - 22048.47 - итоговая сумма в чеках безналичными [23:59:31] 1024 (122) - суммы налогов [23:59:31] 1006 (9) - суммы НДС [23:59:31] 1010 (1) - 0% - код ставки НДС [23:59:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:31] 1006 (12) - суммы НДС [23:59:31] 1010 (1) - 12% - код ставки НДС [23:59:31] 1011 (3) - 4353.60 - сумма НДС по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 0% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (11) - суммы НСП [23:59:31] 1014 (1) - 1% - код ставки НСП [23:59:31] 1015 (2) - 362.71 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 2% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 3% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 5% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 0,50% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 1,50% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1130 (148) - счетчики операций «возврат прихода» [23:59:31] 1135 (4) - 1 - количество чеков по признаку расчетов [23:59:31] 1201 (2) - 90.00 - общая итоговая сумма в чеках [23:59:31] 1136 (2) - 90.00 - итоговая сумма в чеках наличными [23:59:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:31] 1024 (120) - суммы налогов [23:59:31] 1006 (9) - суммы НДС [23:59:31] 1010 (1) - 0% - код ставки НДС [23:59:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:31] 1006 (11) - суммы НДС [23:59:31] 1010 (1) - 12% - код ставки НДС [23:59:31] 1011 (2) - 9.56 - сумма НДС по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 0% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (10) - суммы НСП [23:59:31] 1014 (1) - 1% - код ставки НСП [23:59:31] 1015 (1) - 0.80 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 2% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 3% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 5% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 0,50% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 1,50% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1131 (141) - счетчики операций «расход» [23:59:31] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:31] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:31] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:31] 1024 (117) - суммы налогов [23:59:31] 1006 (9) - суммы НДС [23:59:31] 1010 (1) - 0% - код ставки НДС [23:59:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:31] 1006 (9) - суммы НДС [23:59:31] 1010 (1) - 12% - код ставки НДС [23:59:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 0% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 1% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 2% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 3% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 5% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 0,50% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 1,50% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1132 (141) - счетчики операций «возврат расхода» [23:59:31] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:31] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:31] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:31] 1024 (117) - суммы налогов [23:59:31] 1006 (9) - суммы НДС [23:59:31] 1010 (1) - 0% - код ставки НДС [23:59:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:31] 1006 (9) - суммы НДС [23:59:31] 1010 (1) - 12% - код ставки НДС [23:59:31] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 0% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 1% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 2% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 3% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 5% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 0,50% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1007 (9) - суммы НСП [23:59:31] 1014 (1) - 1,50% - код ставки НСП [23:59:31] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:31] 1133 (588) - - счетчики коррекции - не используются [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1194 (04AA) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1134 (046E) [23:59:32]Malloc new data [23:59:32]Processing tag 1129 (0469) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1135 (046F) [23:59:32]Malloc new data [23:59:32]Processing tag 1201 (04B1) [23:59:32]Malloc new data [23:59:32]Processing tag 1136 (0470) [23:59:32]Malloc new data [23:59:32]Processing tag 1138 (0472) [23:59:32]Malloc new data [23:59:32]Processing tag 1024 (0400) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1006 (03EE) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1010 (03F2) [23:59:32]Malloc new data [23:59:32]Processing tag 1011 (03F3) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1006 (03EE) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1010 (03F2) [23:59:32]Malloc new data [23:59:32]Processing tag 1011 (03F3) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1130 (046A) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1135 (046F) [23:59:32]Malloc new data [23:59:32]Processing tag 1201 (04B1) [23:59:32]Malloc new data [23:59:32]Processing tag 1136 (0470) [23:59:32]Malloc new data [23:59:32]Processing tag 1138 (0472) [23:59:32]Malloc new data [23:59:32]Processing tag 1024 (0400) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1006 (03EE) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1010 (03F2) [23:59:32]Malloc new data [23:59:32]Processing tag 1011 (03F3) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1006 (03EE) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1010 (03F2) [23:59:32]Malloc new data [23:59:32]Processing tag 1011 (03F3) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1131 (046B) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1135 (046F) [23:59:32]Malloc new data [23:59:32]Processing tag 1201 (04B1) [23:59:32]Malloc new data [23:59:32]Processing tag 1136 (0470) [23:59:32]Malloc new data [23:59:32]Processing tag 1138 (0472) [23:59:32]Malloc new data [23:59:32]Processing tag 1024 (0400) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1006 (03EE) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1010 (03F2) [23:59:32]Malloc new data [23:59:32]Processing tag 1011 (03F3) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1006 (03EE) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1010 (03F2) [23:59:32]Malloc new data [23:59:32]Processing tag 1011 (03F3) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1132 (046C) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1135 (046F) [23:59:32]Malloc new data [23:59:32]Processing tag 1201 (04B1) [23:59:32]Malloc new data [23:59:32]Processing tag 1136 (0470) [23:59:32]Malloc new data [23:59:32]Processing tag 1138 (0472) [23:59:32]Malloc new data [23:59:32]Processing tag 1024 (0400) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1006 (03EE) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1010 (03F2) [23:59:32]Malloc new data [23:59:32]Processing tag 1011 (03F3) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1006 (03EE) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1010 (03F2) [23:59:32]Malloc new data [23:59:32]Processing tag 1011 (03F3) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1007 (03EF) [23:59:32]Load OK [23:59:32]SetTLVBufToDocument [23:59:32]Processing tag 1014 (03F6) [23:59:32]Malloc new data [23:59:32]Processing tag 1015 (03F7) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Processing tag 1133 (046D) [23:59:32]Malloc new data [23:59:32]SetTLVBufToDocument err=0 [23:59:32]SetTLVBufToDocument err=0 [23:59:32]Malloc new data [23:59:32]SAM_PROTO_GetFMData [23:59:32]wFMCommunicate request_size=4 [23:59:32]MH_SAM_APDU [23:59:32]CAPDU: 80 13 03 00 [23:59:32]Write to MH i2c: E2 08 00 31 00 80 13 03 00 00 00 00 00 B0 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:33]Read from MH i2c: E2 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 FD 00 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 FD 00 31 00 00 BE 04 85 04 BA 04 6E 04 04 00 60 0A 00 00 69 04 9F 00 6F 04 04 00 57 0A 00 00 B1 04 04 00 E5 94 4E 05 70 04 04 00 8C 16 E6 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 48 90 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 05 05 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 B4 [23:59:33]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 60 0A 00 00 69 04 9F 00 6F 04 04 00 57 0A 00 00 B1 04 04 00 E5 94 4E 05 70 04 04 00 8C 16 E6 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 48 90 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 05 05 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [23:59:33]wFMCommunicate OK [23:59:33]wFMCommunicate request_size=4 [23:59:33]MH_SAM_APDU [23:59:33]CAPDU: 80 17 00 00 [23:59:33]Write to MH i2c: E2 08 00 32 00 80 17 00 00 00 00 00 00 B2 [23:59:33]Write i2c OK [23:59:33]MH_I2C_Read... [23:59:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:33]Read from MH i2c: E2 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 FD 00 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 FD 00 32 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 17 [23:59:33]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:33]wFMCommunicate OK [23:59:33]wFMCommunicate request_size=4 [23:59:33]MH_SAM_APDU [23:59:33]CAPDU: 80 17 00 00 [23:59:33]Write to MH i2c: E2 08 00 33 00 80 17 00 00 00 00 00 00 B3 [23:59:33]Write i2c OK [23:59:33]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 33 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E5 [23:59:34]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 17 00 00 [23:59:34]Write to MH i2c: E2 08 00 34 00 80 17 00 00 00 00 00 00 B4 [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 34 00 00 04 F7 03 00 00 EF 03 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 90 00 2F [23:59:34]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 17 00 00 [23:59:34]Write to MH i2c: E2 08 00 35 00 80 17 00 00 00 00 00 00 B5 [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 DB 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 DB 00 35 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 [23:59:35]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:35]wFMCommunicate OK [23:59:35]SAM_PROTO_GetFMData done [23:59:35]FM_GetFMData:85 04 BA 04 6E 04 04 00 60 0A 00 00 69 04 9F 00 6F 04 04 00 57 0A 00 00 B1 04 04 00 E5 94 4E 05 70 04 04 00 8C 16 E6 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 48 90 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 05 05 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 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 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 OFD Sender: No OFD packet to send [23:59:35]01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:35]oper:6F 04 04 00 57 0A 00 00 B1 04 04 00 E5 94 4E 05 70 04 04 00 8C 16 E6 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 48 90 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 05 05 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:35]total:E5 94 4E 05 [23:59:35]Malloc new data [23:59:35]oper:6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 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 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:36]total:80 19 02 [23:59:36]Malloc new data [23:59:36]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:59:36]total: [23:59:36]Malloc new data [23:59:36]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:59:36]total: [23:59:36]Malloc new data [23:59:36]KKMPrepareXReportFMData err=0 [23:59:36]Х отчет ИНН: 02508201610067 Кассир: Орумбаев Р. 20.10.2024 23:59 Смена: 10 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Всего чеков: 85 ИТОГИ ПРИХОД Чеков: 84 Общий итог: 40997.47 Итого наличными: 18949.00 Итого безнал.: 22048.47 НДС 0% : 0.00 НДС 12% : 4353.60 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 362.71 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 90.00 Итого наличными: 90.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 9.56 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.80 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 18859.00 НС Приход: 890360.05 НС Возвр.Прихода: 1376.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000002342820 [23:59:36]StoreToDocumentArchive [23:59:36]MH_GetDate [23:59:36]Write to MH i2c: F0 00 00 36 00 25 [23:59:36]Write i2c OK [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: F0 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: F0 09 00 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: F0 09 00 36 00 00 68 99 15 67 5A BE F6 66 1F [23:59:36]shift 10 fd 1729468776 [23:59:36]Create dir for shift 0010 [23:59:36]save to /storage/0010/doc_1729468776 [23:59:36]save last doc name /storage/0010/doc_1729468776 to /storage/kkm_last_doc_name [23:59:36]save OK [23:59:36]Clear old archive folders... [23:59:36]NVStorageSaveData kkm_last_timestamp [23:59:36]File name is /storage/kkm_last_timestamp [23:59:36]Write 4 bytes [23:59:36]NVStorageSaveData done [23:59:36]ExternCall_PrintAddStr [23:59:36]wPrintStart [23:59:36]Write to MH i2c: 01 00 00 37 00 37 [23:59:36]Write i2c OK [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: 01 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: 01 07 00 [23:59:36]MH_I2C_Read... [23:59:36]Read from MH i2c: 01 07 00 37 00 00 00 00 00 00 FF 0F 4C [23:59:36]RasterBufferAndPrint [23:59:36]line Х отчет [23:59:36]line ИНН: 02508201610067 [23:59:36]line Кассир: Орумбаев Р. [23:59:36]line 20.10.2024 23:59 [23:59:36]line Смена: 10 [23:59:36]line РНМ: 0000000000207295 [23:59:36]line ЗНМ: 0300000191 [23:59:36]line СНО: Общий режим [23:59:36]line Всего чеков: 85 [23:59:36]line ИТОГИ ПРИХОД [23:59:36]line Чеков: 84 [23:59:36]line Общий итог: 40997.47 [23:59:36]line Итого наличными: 18949.00 [23:59:36]line Итого безнал.: 22048.47 [23:59:36]line НДС 0% : 0.00 [23:59:36]line НДС 12% : 4353.60 [23:59:36]line НСП 0% : 0.00 [23:59:36]line НСП 1,50% : 0.00 [23:59:36]line НСП 0,50% : 0.00 [23:59:36]line НСП 5% : 0.00 [23:59:36]line НСП 3% : 0.00 [23:59:36]line НСП 2% : 0.00 [23:59:36]line НСП 1% : 362.71 [23:59:36]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:59:36]line Чеков: 1 [23:59:36]line Общий итог: 90.00 [23:59:36]line Итого наличными: 90.00 [23:59:36]line Итого безнал.: 0.00 [23:59:36]line НДС 0% : 0.00 [23:59:36]line НДС 12% : 9.56 [23:59:36]line НСП 0% : 0.00 [23:59:36]line НСП 1,50% : 0.00 [23:59:36]line НСП 0,50% : 0.00 [23:59:36]line НСП 5% : 0.00 [23:59:36]line НСП 3% : 0.00 [23:59:36]line НСП 2% : 0.00 [23:59:36]line НСП 1% : 0.80 [23:59:36]line ИТОГИ РАСХОД [23:59:36]line Чеков: 0 [23:59:36]line Общий итог: 0.00 [23:59:36]line Итого наличными: 0.00 [23:59:36]line Итого безнал.: 0.00 [23:59:36]line НДС 0% : 0.00 [23:59:36]line НДС 12% : 0.00 [23:59:36]line НСП 0% : 0.00 [23:59:36]line НСП 1,50% : 0.00 [23:59:36]line НСП 0,50% : 0.00 [23:59:36]line НСП 5% : 0.00 [23:59:36]line НСП 3% : 0.00 [23:59:36]line НСП 2% : 0.00 [23:59:36]line НСП 1% : 0.00 [23:59:36]line ИТОГИ ВОЗВРАТ РАСХОДА [23:59:36]line Чеков: 0 [23:59:36]line Общий итог: 0.00 [23:59:36]line Итого наличными: 0.00 [23:59:36]line Итого безнал.: 0.00 [23:59:36]line НДС 0% : 0.00 [23:59:36]line НДС 12% : 0.00 [23:59:36]line НСП 0% : 0.00 [23:59:36]line НСП 1,50% : 0.00 [23:59:36]line НСП 0,50% : 0.00 [23:59:36]line НСП 5% : 0.00 [23:59:36]line НСП 3% : 0.00 [23:59:36]line НСП 2% : 0.00 [23:59:36]line НСП 1% : 0.00 [23:59:36]line Сумма внесений: 0.00 [23:59:36]line Сумма выплат: 0.00 [23:59:36]line Нал. в кассе: 18859.00 [23:59:36]line НС Приход: 890360.05 [23:59:36]line НС Возвр.Прихода: 1376.00 [23:59:36]line НС Расход: 0.00 [23:59:36]line НС Возвр.Расхода: 0.00 [23:59:36]line ФМ: 0000000002342820 [23:59:36]written 0, free lines is 4095 [23:59:37]Write to MH i2c: 01 00 00 82 00 82 [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: 01 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: 01 07 00 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: 01 07 00 82 00 00 00 00 00 00 46 0A D9 [23:59:37]RasterBufferAndPrint [23:59:37]line [23:59:37]line [23:59:37]line [23:59:37]line [23:59:37]line [23:59:37]written 0, free lines is 2659 [23:59:37]MH_Cut [23:59:37]Write to MH i2c: D1 01 00 89 00 01 5B [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: D1 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: D1 01 00 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: D1 01 00 89 00 00 5A [23:59:37]Write to MH i2c: 01 00 00 8A 00 8A [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:38]*** Cut start [23:59:38]*** Partial cut [23:59:38]*** CUTSNS_PIN = 1 [23:59:38]*** CUTSNS_PIN = 0 [23:59:38]*** Brake cut motor [23:59:38]Read from MH i2c: 01 [23:59:38]MH_I2C_Read... [23:59:38]*** Stop cut motor [23:59:38]*** Cut end [23:59:38]Read from MH i2c: 01 07 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: 01 07 00 8A 00 00 00 00 00 00 FF 0F 9F [23:59:38]process_action x_report done [23:59:38]requested_data is exist [23:59:38]produce_requested_data [23:59:38]requested_item fd.num is exist - process it [23:59:38]SAM_PROTO_GetFieldsCounters [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:39]CAPDU: 80 13 00 00 [23:59:39]Write to MH i2c: E2 08 00 8B 00 80 13 00 00 00 00 00 00 07 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 62 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 62 00 8B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 90 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 CE [23:59:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 90 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:39]wFMCommunicate OK [23:59:39]SAM_PROTO_GetFieldsCounters done [23:59:39]requested_item shift.num is exist - process it [23:59:39]requested_item shift.opened is exist - process it [23:59:39]req_shift_opened [23:59:39]FM_GetShiftState [23:59:39]SAM_PROTO_GetShiftState [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 13 01 00 [23:59:39]Write to MH i2c: E2 08 00 8C 00 80 13 01 00 00 00 00 00 09 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 0E 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 0E 00 8C 00 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F3 [23:59:39]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [23:59:39]wFMCommunicate OK [23:59:39]SAM_PROTO_GetShiftState done [23:59:39]FM_GetShiftState done [23:59:39]req_shift_opened done [23:59:39]requested_item shift.open_date is exist - process it [23:59:39]req_shift_open_date [23:59:39]req_shift_open_date done [23:59:39]produce_requested_data done [23:59:39]produce_requested_data return {"fd.num":2704,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [23:59:39]process_action_free x_report [23:59:39]json_value_free [23:59:39]json_value_free done [23:59:39]process_json_proto returns [23:59:39]Send response to host [23:59:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2704,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [23:59:39]free response buf [23:59:39]execute_script done [23:59:39]execute_script returns [23:59:39]free content buf [23:59:39]Sock 9.Close socket [23:59:39]Sock 9.Thread stoped [23:59:40]accept exits with 8 [23:59:40]New connection [23:59:40]New thread 3067084132 created [23:59:40]Thread 3066940772 joined [23:59:40]Waiting for new connection... [23:59:40] Sock 8.Parse request [23:59:40]Sock 8.Check first char [23:59:40]Sock 8.First char is OK [23:59:40]request: POST /json_proto HTTP/1.0 [23:59:40]Method: POST [23:59:40]URL: /json_proto [23:59:40]Method is POST - this is cgi request [23:59:40]url: /json_proto [23:59:40]query_string will be loaded in cgi processing [23:59:40]execute_cgi json_proto POST (null) [23:59:40]execute_cgi path=json_proto method=POST [23:59:40]POST find Content-Length [23:59:40]Host: 172.17.52.132:8080 [23:59:40]Content-Length: 683 [23:59:40]Content-Type: application/json [23:59:40] [23:59:40]POST finish read [23:59:40]Found Content-Length = 683 [23:59:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100082", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:40]execute_script... [23:59:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100082", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:40]POST & json_proto [23:59:40]process_json_proto [23:59:40]json parsed OK: [23:59:40]protocol is kg_v1.0 [23:59:40]action value=close_receipt [23:59:40]process_action close_receipt [23:59:40]cmd_close_receipt [23:59:40]MH_GetDate [23:59:40]Write to MH i2c: F0 00 00 8D 00 7C [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: F0 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: F0 09 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: F0 09 00 8D 00 00 6C 99 15 67 5A BE F6 66 7A [23:59:40]GetLastDocTimeStamp 1729468769 [23:59:40]current date 1729468780 [23:59:40]FM_GetShiftState [23:59:40]SAM_PROTO_GetShiftState [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 13 01 00 [23:59:40]Write to MH i2c: E2 08 00 8E 00 80 13 01 00 00 00 00 00 0B [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 0E 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 0E 00 8E 00 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 F5 [23:59:40]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [23:59:40]wFMCommunicate OK [23:59:40]SAM_PROTO_GetShiftState done [23:59:40]FM_GetShiftState done [23:59:40]opened in 1729382427 [23:59:40]opened+sec_in_day 1729468827 [23:59:40]quantity*price = 10400 [23:59:40]sum+1 = 10401 [23:59:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 104.00 НСП 1% : 0.92 НДС 12% : 11.04 Наличными: 104.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 86 20.10.2024 23:59 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2705 ФПД: 42590944649227 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T235940&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2705&fm=42590944649227&tin=02508201610067®Number=0000000000207295&sum=10400 0 [23:59:41]StoreToDocumentArchive [23:59:41]shift 24 fd 2705 [23:59:41]save to /storage/0024/doc_00002705 [23:59:41]save last doc name /storage/0024/doc_00002705 to /storage/kkm_last_doc_name [23:59:41]save OK [23:59:41]Clear old archive folders... [23:59:41]Remove dir /storage/0010 [23:59:41]opendir ok [23:59:41]file . [23:59:41]file .. [23:59:41]file doc_1729468776 [23:59:41]remove file /storage/0010/doc_1729468776 [23:59:41]remove dir /storage/0010 [23:59:41]ProcessDocumentItem done err = 0, tmpTLVsize=291 [23:59:41]tlvbuf is 00C20360 [23:59:41]SAM_PROTO_ClearQueue [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 09 00 00 [23:59:41]Write to MH i2c: E2 08 00 9B 00 80 09 00 00 00 00 00 00 0D [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 03 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 03 00 9B 00 00 90 00 0F [23:59:41]RAPDU: 90 00 [23:59:41]wFMCommunicate OK [23:59:41]SAM_PROTO_ClearQueue done [23:59:41]KKMCreateOFDPacket [23:59:41]OFDProtocolAddRootSTLVToBuf [23:59:41]FM_MakeSignedData [23:59:41]FM_MakeSignedData [23:59:41]SAM_PROTO_SignData [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 0D 01 02 [23:59:41]Write to MH i2c: E2 08 00 9C 00 80 0D 01 02 00 00 00 00 15 [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 03 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 03 00 9C 00 00 90 00 10 [23:59:41]RAPDU: 90 00 [23:59:41]wFMCommunicate OK [23:59:41]wFMCommunicate request_size=255 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6C 99 15 67 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 [23:59:42]Write to MH i2c: E2 02 01 9D 00 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6C 99 15 67 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 00 00 CA [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 03 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 03 00 9D 00 00 90 00 11 [23:59:42]RAPDU: 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=50 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 0D 02 02 2D 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 91 0A 00 00 35 04 06 00 26 BC 7A 20 60 0B [23:59:42]Write to MH i2c: E2 35 00 9E 00 80 0D 02 02 2D 00 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 91 0A 00 00 35 04 06 00 26 BC 7A 20 60 0B 00 00 EE [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:42]Read from MH i2c: E2 03 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 03 00 9E 00 00 90 00 12 [23:59:42]RAPDU: 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 0D 03 02 [23:59:42]Write to MH i2c: E2 08 00 9F 00 80 0D 03 02 00 00 00 00 1A [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 0B 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 0B 00 9F 00 00 B8 6A 87 DA 2F 33 42 E5 90 00 27 [23:59:42]RAPDU: B8 6A 87 DA 2F 33 42 E5 90 00 [23:59:42]wFMCommunicate OK [23:59:42]SAM_PROTO_SignData done [23:59:42]FM_MakeSignedData done [23:59:42]CreateOFDProtocolMessage [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 11 00 00 [23:59:42]Write to MH i2c: E2 08 00 A0 00 80 11 00 00 00 00 00 00 1A [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 17 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 17 00 A0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 62 [23:59:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:59:42]wFMCommunicate OK [23:59:42]CreateOFDProtocolMessage done [23:59:42]OFDSenderStorePacket 2705 [23:59:42]StoreOFDPacket docnum=2705 [23:59:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 37 01 00 00 CF 39 2F 01 B8 60 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6C 99 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 91 0A 00 00 35 04 06 00 26 BC 7A 20 60 0B B8 6A 87 DA 2F 33 42 E5 [23:59:42]CheckFolder [23:59:42]dirname=/storage/ofd_packets [23:59:42]CheckFolder done [23:59:42]ProducePacketName [23:59:42]name=ofd_packets/00002705 [23:59:42]NVStorageSaveData ofd_packets/00002705 [23:59:42]File name is /storage/ofd_packets/00002705 [23:59:42]Write 341 bytes [23:59:42]NVStorageSaveData done [23:59:42]OFDSenderStorePacket done [23:59:42]KKMCreateOFDPacket done [23:59:42]NVStorageSaveData kkm_last_timestamp [23:59:42]File name is /storage/kkm_last_timestamp [23:59:42]Write 4 bytes [23:59:42]NVStorageSaveData done [23:59:42]ExternCall_PrintAddStr [23:59:42]wPrintStart [23:59:42]Write to MH i2c: 01 00 00 A1 00 A1 [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: 01 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: 01 07 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 FF 0F B6 [23:59:42]RasterBufferAndPrint [23:59:42]line Счет N : (3)100082 [23:59:42]line ИНН: 02508201610067 [23:59:42]line Контрольно-Кассовый Чек [23:59:42]line ПРОДАЖА [23:59:42]line Товар: 4870202522015 [23:59:42]line Напиток Maxi Чай Грушевый 1,2л [23:59:42]line 1.000 * 104.00 [23:59:42]line = 104.00 [23:59:42]line НДС 12% НСП 1% [23:59:42]line > о реализуемом товаре [23:59:42]line ИТОГО: 104.00 [23:59:42]line НСП 1% : 0.92 [23:59:42]line НДС 12% : 11.04 [23:59:42]line Наличными: 104.00 [23:59:42]line Безнал.: 0.00 [23:59:42]line Место: АЗС № 162 "Партнер Нефть" [23:59:42]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [23:59:42]line СНО: Общий режим [23:59:42]line Чек 86 20.10.2024 23:59 [23:59:42]line Смена: 24 ФФД: 1.0 [23:59:42]line ЗНМ: 0300000191 [23:59:42]line РНМ: 0000000000207295 [23:59:42]line Версия ККМ: v1.0 [23:59:42]line ФМ: 0000000002342820 [23:59:42]line ФД: 2705 [23:59:42]line ФПД: 42590944649227 [23:59:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T235940&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2705&fm=42590944649227&tin=02508201610067®Number=0000000000207295&sum=10400 [23:59:42]line 0 [23:59:42]written 0, free lines is 4095 [23:59:42]OFD Sender: Processing packet 2705 [packets to send 1, broken 0] [23:59:42]ProducePacketName [23:59:42]name=ofd_packets/00002705 [23:59:42]OFD Sender: To server: pG, [23:59:42]CommunicateWithHost lk.salyk.kg:30040 [23:59:42]ConnectInit lk.salyk.kg [23:59:43]Connected sock=10 [23:59:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 37 01 00 00 CF 39 2F 01 B8 60 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6C 99 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 91 0A 00 00 35 04 06 00 26 BC 7A 20 60 0B B8 6A 87 DA 2F 33 42 E5 [23:59:43]Write to MH i2c: 01 00 00 CA 00 CA [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: 01 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: 01 07 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: 01 07 00 CA 00 00 00 00 00 00 E4 0C C1 [23:59:43]RasterBufferAndPrint [23:59:43]line [23:59:43]line [23:59:43]line [23:59:43]line [23:59:43]line [23:59:43]written 0, free lines is 3334 [23:59:43]MH_Cut [23:59:43]Write to MH i2c: D1 01 00 D1 00 01 A3 [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: D1 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: D1 01 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: D1 01 00 D1 00 00 A2 [23:59:43]Write to MH i2c: 01 00 00 D2 00 D2 [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 54 56 47 00 03 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 33 34 32 38 32 30 10 04 04 00 91 0A 00 00 F4 03 04 00 CA 44 15 67 B6 04 01 00 00 A4 40 82 27 A3 A4 91 18 [23:59:43]CommunicateWithHost err = 0 [23:59:43]CheckOFDResponse [23:59:43]1017 (14) - 77093643461234 [23:59:43]1041 (16) - 0000000002342820 [23:59:43]1040 (4) - 2705 [23:59:43]1012 (4) - 20.10.2024 17:58 [23:59:43]1206 (1) - 0 [23:59:43]OFD Sender: Remove packet 2705 [23:59:43]ProducePacketName [23:59:43]name=ofd_packets/00002705 [23:59:43]NVStorageDeleteData [23:59:44]OFD Sender: No OFD packet to send [23:59:44]*** Cut start [23:59:44]*** Partial cut [23:59:44]*** CUTSNS_PIN = 1 [23:59:44]*** CUTSNS_PIN = 0 [23:59:44]*** Brake cut motor [23:59:44]Read from MH i2c: 01 [23:59:44]MH_I2C_Read... [23:59:44]*** Stop cut motor [23:59:44]*** Cut end [23:59:44]Read from MH i2c: 01 07 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: 01 07 00 D2 00 00 00 00 00 00 FF 0F E7 [23:59:44]process_action close_receipt done [23:59:44]requested_data is exist [23:59:44]produce_requested_data [23:59:44]requested_item fm.sn is exist - process it [23:59:44]wFMCommunicate request_size=4 [23:59:44]MH_SAM_APDU [23:59:44]CAPDU: 80 11 00 00 [23:59:44]Write to MH i2c: E2 08 00 D3 00 80 11 00 00 00 00 00 00 4D [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:44]Read from MH i2c: E2 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 17 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 17 00 D3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 95 [23:59:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:59:45]wFMCommunicate OK [23:59:45]requested_item fd.num is exist - process it [23:59:45]SAM_PROTO_GetFieldsCounters [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 13 00 00 [23:59:45]Write to MH i2c: E2 08 00 D4 00 80 13 00 00 00 00 00 00 50 [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 62 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 62 00 D4 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 91 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 1B [23:59:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 91 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:45]wFMCommunicate OK [23:59:45]SAM_PROTO_GetFieldsCounters done [23:59:45]requested_item shift.num is exist - process it [23:59:45]requested_item shift.opened is exist - process it [23:59:45]req_shift_opened [23:59:45]FM_GetShiftState [23:59:45]SAM_PROTO_GetShiftState [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 13 01 00 [23:59:45]Write to MH i2c: E2 08 00 D5 00 80 13 01 00 00 00 00 00 52 [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 0E 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 0E 00 D5 00 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 3C [23:59:45]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [23:59:45]wFMCommunicate OK [23:59:45]SAM_PROTO_GetShiftState done [23:59:45]FM_GetShiftState done [23:59:45]req_shift_opened done [23:59:45]requested_item shift.open_date is exist - process it [23:59:45]req_shift_open_date [23:59:45]req_shift_open_date done [23:59:45]produce_requested_data done [23:59:45]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2705,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [23:59:45]process_action_free close_receipt [23:59:45]json_value_free [23:59:45]json_value_free done [23:59:45]process_json_proto returns [23:59:45]Send response to host [23:59:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2705,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [23:59:45]free response buf [23:59:45]execute_script done [23:59:45]execute_script returns [23:59:45]free content buf [23:59:45]Sock 8.Close socket [23:59:45]Sock 8.Thread stoped [23:59:47]accept exits with 9 [23:59:47]New connection [23:59:47]New thread 3066940772 created [23:59:47] Sock 9.Parse request [23:59:47]Thread 3067084132 joined [23:59:47]Sock 9.Check first char [23:59:47]Waiting for new connection... [23:59:47]Sock 9.First char is OK [23:59:47]request: POST /json_proto HTTP/1.0 [23:59:47]Method: POST [23:59:47]URL: /json_proto [23:59:47]Method is POST - this is cgi request [23:59:47]url: /json_proto [23:59:47]query_string will be loaded in cgi processing [23:59:47]execute_cgi json_proto POST (null) [23:59:47]execute_cgi path=json_proto method=POST [23:59:47]POST find Content-Length [23:59:47]Host: 172.17.52.132:8080 [23:59:47]Content-Length: 1459 [23:59:47]Content-Type: application/json [23:59:47] [23:59:47]POST finish read [23:59:47]Found Content-Length = 1459 [23:59:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100083", "tax_sys" : 0, "items" : [ { "code": "4660013331421", "name": "\u042D\u0441\u043A\u0438\u043C\u043E \u041B\u0435\u043D\u0438\u043D\u0433\u0440\u0430\u0434\u0441\u043A\u043E\u0435", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "price" : 110.00, "quantity" : 2.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 545.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:47]execute_script... [23:59:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100083", "tax_sys" : 0, "items" : [ { "code": "4660013331421", "name": "\u042D\u0441\u043A\u0438\u043C\u043E \u041B\u0435\u043D\u0438\u043D\u0433\u0440\u0430\u0434\u0441\u043A\u043E\u0435", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "price" : 110.00, "quantity" : 2.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 545.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:47]POST & json_proto [23:59:47]process_json_proto [23:59:47]json parsed OK: [23:59:47]protocol is kg_v1.0 [23:59:47]action value=close_receipt [23:59:47]process_action close_receipt [23:59:47]cmd_close_receipt [23:59:47]MH_GetDate [23:59:47]Write to MH i2c: F0 00 00 D6 00 C5 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 09 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 09 00 D6 00 00 74 99 15 67 5A BE F6 66 CB [23:59:47]GetLastDocTimeStamp 1729468780 [23:59:47]current date 1729468788 [23:59:47]FM_GetShiftState [23:59:47]SAM_PROTO_GetShiftState [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 13 01 00 [23:59:47]Write to MH i2c: E2 08 00 D7 00 80 13 01 00 00 00 00 00 54 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 0E 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 0E 00 D7 00 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 3E [23:59:47]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [23:59:47]wFMCommunicate OK [23:59:47]SAM_PROTO_GetShiftState done [23:59:47]FM_GetShiftState done [23:59:47]opened in 1729382427 [23:59:47]opened+sec_in_day 1729468827 [23:59:47]quantity*price = 9500 [23:59:47]sum+1 = 9501 [23:59:47]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400655 Семечки ДЖИНН 70г синий 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48741958 Сигареты Parliament Aqua Blue 1.000 * 160.00 = 160.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4860019001339 Вода Боржоми 0,33л ст 2.000 * 110.00 = 220.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 545.00 НСП 1% : 4.83 НДС 12% : 57.87 Наличными: 545.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 87 20.10.2024 23:59 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2706 ФПД: 89162011800107 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T235948&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2706&fm=89162011800107&tin=02508201610067®Number=0000000000207295&sum=54500 0 [23:59:49]StoreToDocumentArchive [23:59:49]shift 24 fd 2706 [23:59:49]save to /storage/0024/doc_00002706 [23:59:49]save last doc name /storage/0024/doc_00002706 to /storage/kkm_last_doc_name [23:59:49]save OK [23:59:49]Clear old archive folders... [23:59:49]ProcessDocumentItem done err = 0, tmpTLVsize=605 [23:59:49]tlvbuf is 00C26300 [23:59:49]SAM_PROTO_ClearQueue [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 09 00 00 [23:59:49]Write to MH i2c: E2 08 00 E4 00 80 09 00 00 00 00 00 00 56 [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 03 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 03 00 E4 00 00 90 00 58 [23:59:49]RAPDU: 90 00 [23:59:49]wFMCommunicate OK [23:59:49]SAM_PROTO_ClearQueue done [23:59:49]KKMCreateOFDPacket [23:59:49]OFDProtocolAddRootSTLVToBuf [23:59:49]FM_MakeSignedData [23:59:49]FM_MakeSignedData [23:59:49]SAM_PROTO_SignData [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 0D 01 02 [23:59:49]Write to MH i2c: E2 08 00 E5 00 80 0D 01 02 00 00 00 00 5E [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 03 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 03 00 E5 00 00 90 00 59 [23:59:49]RAPDU: 90 00 [23:59:49]wFMCommunicate OK [23:59:49]wFMCommunicate request_size=255 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 0D 02 02 FA 03 00 5D 02 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 32 31 06 04 27 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B3 D1 80 D0 B0 D0 B4 D1 81 D0 BA D0 BE D0 B5 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 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 [23:59:49]Write to MH i2c: E2 02 01 E6 00 80 0D 02 02 FA 00 03 00 5D 02 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 32 31 06 04 27 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B3 D1 80 D0 B0 D0 B4 D1 81 D0 BA D0 BE D0 B5 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 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 00 00 C9 [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 03 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 03 00 E6 00 00 90 00 5A [23:59:50]RAPDU: 90 00 [23:59:50]wFMCommunicate OK [23:59:50]wFMCommunicate request_size=255 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 0D 02 02 FA 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 16 00 00 00 00 07 04 06 00 [23:59:50]Write to MH i2c: E2 02 01 E7 00 80 0D 02 02 FA 00 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 16 00 00 00 00 07 04 06 00 00 00 66 [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 03 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 03 00 E7 00 00 90 00 5B [23:59:50]RAPDU: 90 00 [23:59:50]wFMCommunicate OK [23:59:50]wFMCommunicate request_size=114 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 0D 02 02 6D E4 D4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 74 99 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 92 0A 00 00 35 04 06 00 51 17 A6 0A 72 2B [23:59:51]Write to MH i2c: E2 75 00 E8 00 80 0D 02 02 6D 00 E4 D4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 74 99 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 92 0A 00 00 35 04 06 00 51 17 A6 0A 72 2B 00 00 5B [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 03 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 03 00 E8 00 00 90 00 5C [23:59:51]RAPDU: 90 00 [23:59:51]wFMCommunicate OK [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 0D 03 02 [23:59:51]Write to MH i2c: E2 08 00 E9 00 80 0D 03 02 00 00 00 00 64 [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 0B 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 0B 00 E9 00 00 9F D0 10 CD 36 03 B5 B4 90 00 53 [23:59:51]RAPDU: 9F D0 10 CD 36 03 B5 B4 90 00 [23:59:51]wFMCommunicate OK [23:59:51]SAM_PROTO_SignData done [23:59:51]FM_MakeSignedData done [23:59:51]CreateOFDProtocolMessage [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 11 00 00 [23:59:51]Write to MH i2c: E2 08 00 EA 00 80 11 00 00 00 00 00 00 64 [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 17 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 17 00 EA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AC [23:59:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:59:51]wFMCommunicate OK [23:59:51]CreateOFDProtocolMessage done [23:59:51]OFDSenderStorePacket 2706 [23:59:51]StoreOFDPacket docnum=2706 [23:59:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 71 02 00 00 66 A1 69 02 DA 23 5A 03 01 00 03 00 5D 02 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 32 31 06 04 27 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B3 D1 80 D0 B0 D0 B4 D1 81 D0 BA D0 BE D0 B5 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 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 16 00 00 00 00 07 04 06 00 E4 D4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 74 99 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 92 0A 00 00 35 04 06 00 51 17 A6 0A 72 2B 9F D0 10 CD 36 03 B5 B4 [23:59:51]CheckFolder [23:59:51]dirname=/storage/ofd_packets [23:59:51]CheckFolder done [23:59:51]ProducePacketName [23:59:51]name=ofd_packets/00002706 [23:59:51]NVStorageSaveData ofd_packets/00002706 [23:59:51]File name is /storage/ofd_packets/00002706 [23:59:51]Write 655 bytes [23:59:51]NVStorageSaveData done [23:59:51]OFDSenderStorePacket done [23:59:51]KKMCreateOFDPacket done [23:59:51]NVStorageSaveData kkm_last_timestamp [23:59:51]File name is /storage/kkm_last_timestamp [23:59:51]Write 4 bytes [23:59:51]NVStorageSaveData done [23:59:51]ExternCall_PrintAddStr [23:59:51]wPrintStart [23:59:51]Write to MH i2c: 01 00 00 EB 00 EB [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: 01 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: 01 07 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: 01 07 00 EB 00 00 00 00 00 00 FF 0F 00 [23:59:51]RasterBufferAndPrint [23:59:51]line Счет N : (3)100083 [23:59:51]line ИНН: 02508201610067 [23:59:51]line Контрольно-Кассовый Чек [23:59:51]line ПРОДАЖА [23:59:51]line Товар: 4660013331421 [23:59:51]line Эскимо Ленинградское [23:59:51]line 1.000 * 95.00 [23:59:51]line = 95.00 [23:59:51]line НДС 12% НСП 1% [23:59:51]line > о реализуемом товаре [23:59:51]line Товар: 4630007400655 [23:59:51]line Семечки ДЖИНН 70г синий [23:59:51]line 1.000 * 70.00 [23:59:51]line = 70.00 [23:59:51]line НДС 12% НСП 1% [23:59:51]line > о реализуемом товаре [23:59:51]line Товар: 48741958 [23:59:51]line Сигареты Parliament Aqua Blue [23:59:51]line 1.000 * 160.00 [23:59:51]line = 160.00 [23:59:51]line НДС 12% НСП 1% [23:59:51]line > о реализуемом товаре [23:59:51]line Товар: 4860019001339 [23:59:51]line Вода Боржоми 0,33л ст [23:59:51]line 2.000 * 110.00 [23:59:51]line = 220.00 [23:59:51]line НДС 12% НСП 1% [23:59:51]line > о реализуемом товаре [23:59:51]line ИТОГО: 545.00 [23:59:51]line НСП 1% : 4.83 [23:59:51]line НДС 12% : 57.87 [23:59:51]line Наличными: 545.00 [23:59:51]line Безнал.: 0.00 [23:59:51]line Место: АЗС № 162 "Партнер Нефть" [23:59:51]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [23:59:51]line СНО: Общий режим [23:59:51]line Чек 87 20.10.2024 23:59 [23:59:51]line Смена: 24 ФФД: 1.0 [23:59:51]line ЗНМ: 0300000191 [23:59:51]line РНМ: 0000000000207295 [23:59:51]line Версия ККМ: v1.0 [23:59:51]line ФМ: 0000000002342820 [23:59:51]line ФД: 2706 [23:59:51]line ФПД: 89162011800107 [23:59:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T235948&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2706&fm=89162011800107&tin=02508201610067®Number=0000000000207295&sum=54500 [23:59:51]line 0 [23:59:51]OFD Sender: Processing packet 2706 [packets to send 1, broken 0] [23:59:51]ProducePacketName [23:59:51]name=ofd_packets/00002706 [23:59:51]OFD Sender: To server: pG, [23:59:51]CommunicateWithHost lk.salyk.kg:30040 [23:59:51]ConnectInit lk.salyk.kg [23:59:51]written 0, free lines is 4095 [23:59:51]Connected sock=10 [23:59:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 71 02 00 00 66 A1 69 02 DA 23 5A 03 01 00 03 00 5D 02 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 32 31 06 04 27 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B3 D1 80 D0 B0 D0 B4 D1 81 D0 BA D0 BE D0 B5 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 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 16 00 00 00 00 07 04 06 00 E4 D4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 74 99 15 67 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 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 92 0A 00 00 35 04 06 00 51 17 A6 0A 72 2B 9F D0 10 CD 36 03 B5 B4 [23:59:52]Write to MH i2c: 01 00 00 26 01 27 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: 01 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: 01 07 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: 01 07 00 26 01 00 00 00 00 00 D9 0B 12 [23:59:52]RasterBufferAndPrint [23:59:52]line [23:59:52]line [23:59:52]line [23:59:52]line [23:59:52]line [23:59:52]written 0, free lines is 3066 [23:59:52]MH_Cut [23:59:52]Write to MH i2c: D1 01 00 2D 01 01 00 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: D1 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: D1 01 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: D1 01 00 2D 01 00 FF [23:59:52]Write to MH i2c: 01 00 00 2E 01 2F [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 71 4C 47 00 91 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 92 0A 00 00 F4 03 04 00 D3 44 15 67 B6 04 01 00 00 49 67 2D A7 16 33 74 A0 [23:59:52]CommunicateWithHost err = 0 [23:59:52]CheckOFDResponse [23:59:52]1017 (14) - 77093643461234 [23:59:52]1041 (16) - 0000000002342820 [23:59:52]1040 (4) - 2706 [23:59:52]1012 (4) - 20.10.2024 17:58 [23:59:52]1206 (1) - 0 [23:59:52]OFD Sender: Remove packet 2706 [23:59:52]ProducePacketName [23:59:52]name=ofd_packets/00002706 [23:59:52]NVStorageDeleteData [23:59:53]OFD Sender: No OFD packet to send [23:59:53]*** Cut start [23:59:53]*** Partial cut [23:59:53]*** CUTSNS_PIN = 1 [23:59:53]*** CUTSNS_PIN = 0 [23:59:53]*** Brake cut motor [23:59:53]Read from MH i2c: 01 [23:59:54]MH_I2C_Read... [23:59:54]*** Stop cut motor [23:59:54]*** Cut end [23:59:54]Read from MH i2c: 01 07 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: 01 07 00 2E 01 00 00 00 00 00 FF 0F 44 [23:59:54]process_action close_receipt done [23:59:54]requested_data is exist [23:59:54]produce_requested_data [23:59:54]requested_item fm.sn is exist - process it [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 11 00 00 [23:59:54]Write to MH i2c: E2 08 00 2F 01 80 11 00 00 00 00 00 00 AA [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 17 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 17 00 2F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F2 [23:59:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:59:54]wFMCommunicate OK [23:59:54]requested_item fd.num is exist - process it [23:59:54]SAM_PROTO_GetFieldsCounters [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 00 00 [23:59:54]Write to MH i2c: E2 08 00 30 01 80 13 00 00 00 00 00 00 AD [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 62 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 62 00 30 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 92 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 7C [23:59:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 92 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetFieldsCounters done [23:59:54]requested_item shift.num is exist - process it [23:59:54]requested_item shift.opened is exist - process it [23:59:54]req_shift_opened [23:59:54]FM_GetShiftState [23:59:54]SAM_PROTO_GetShiftState [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 01 00 [23:59:54]Write to MH i2c: E2 08 00 31 01 80 13 01 00 00 00 00 00 AF [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 0E 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 0E 00 31 01 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 99 [23:59:54]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetShiftState done [23:59:54]FM_GetShiftState done [23:59:54]req_shift_opened done [23:59:54]requested_item shift.open_date is exist - process it [23:59:54]req_shift_open_date [23:59:54]req_shift_open_date done [23:59:54]produce_requested_data done [23:59:54]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2706,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [23:59:54]process_action_free close_receipt [23:59:54]json_value_free [23:59:54]json_value_free done [23:59:54]process_json_proto returns [23:59:54]Send response to host [23:59:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2706,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [23:59:54]free response buf [23:59:54]execute_script done [23:59:54]execute_script returns [23:59:54]free content buf [23:59:54]Sock 9.Close socket [23:59:54]Sock 9.Thread stoped [23:59:58]OFD Sender: No OFD packet to send [00:00:03]OFD Sender: No OFD packet to send [00:00:08]OFD Sender: No OFD packet to send [00:00:13]OFD Sender: No OFD packet to send [00:00:18]OFD Sender: No OFD packet to send [00:00:23]OFD Sender: No OFD packet to send [00:00:28]OFD Sender: No OFD packet to send [00:00:33]OFD Sender: No OFD packet to send [00:00:38]OFD Sender: No OFD packet to send [00:00:43]OFD Sender: No OFD packet to send [00:00:43]accept exits with 8 [00:00:43]New connection [00:00:43]New thread 3067084132 created [00:00:43]Thread 3066940772 joined [00:00:43]Waiting for new connection... [00:00:43] Sock 8.Parse request [00:00:43]Sock 8.Check first char [00:00:43]Sock 8.First char is OK [00:00:43]request: POST /json_proto HTTP/1.0 [00:00:43]Method: POST [00:00:43]URL: /json_proto [00:00:43]Method is POST - this is cgi request [00:00:43]url: /json_proto [00:00:43]query_string will be loaded in cgi processing [00:00:43]execute_cgi json_proto POST (null) [00:00:43]execute_cgi path=json_proto method=POST [00:00:43]POST find Content-Length [00:00:43]Host: 172.17.52.132:8080 [00:00:43]Content-Length: 215 [00:00:43]Content-Type: application/json [00:00:43] [00:00:43]POST finish read [00:00:43]Found Content-Length = 215 [00:00:43]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:00:43]execute_script... [00:00:43]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:00:43]POST & json_proto [00:00:43]process_json_proto [00:00:43]json parsed OK: [00:00:43]protocol is kg_v1.0 [00:00:43]action value=get_value [00:00:43]process_action get_value [00:00:43]cmd_get_value [00:00:43]process_action get_value done [00:00:43]requested_data is exist [00:00:43]produce_requested_data [00:00:43]requested_item kkm.sn is exist - process it [00:00:43]requested_item kkm.ver is exist - process it [00:00:43]requested_item fm.sn is exist - process it [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 11 00 00 [00:00:43]Write to MH i2c: E2 08 00 32 01 80 11 00 00 00 00 00 00 AD [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 17 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 17 00 32 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F5 [00:00:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:00:43]wFMCommunicate OK [00:00:43]requested_item fd.num is exist - process it [00:00:43]SAM_PROTO_GetFieldsCounters [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 13 00 00 [00:00:43]Write to MH i2c: E2 08 00 33 01 80 13 00 00 00 00 00 00 B0 [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 62 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 62 00 33 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 92 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 7F [00:00:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 92 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:43]wFMCommunicate OK [00:00:43]SAM_PROTO_GetFieldsCounters done [00:00:43]requested_item shift.num is exist - process it [00:00:43]requested_item shift.opened is exist - process it [00:00:43]req_shift_opened [00:00:43]FM_GetShiftState [00:00:43]SAM_PROTO_GetShiftState [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 13 01 00 [00:00:43]Write to MH i2c: E2 08 00 34 01 80 13 01 00 00 00 00 00 B2 [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:43]Read from MH i2c: E2 0E 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 0E 00 34 01 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9C [00:00:43]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:00:43]wFMCommunicate OK [00:00:43]SAM_PROTO_GetShiftState done [00:00:43]FM_GetShiftState done [00:00:43]req_shift_opened done [00:00:43]requested_item shift.open_date is exist - process it [00:00:43]req_shift_open_date [00:00:43]req_shift_open_date done [00:00:43]produce_requested_data done [00:00:43]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2706,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [00:00:43]process_action_free get_value [00:00:43]json_value_free [00:00:43]json_value_free done [00:00:43]process_json_proto returns [00:00:43]Send response to host [00:00:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2706,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [00:00:43]free response buf [00:00:43]execute_script done [00:00:43]execute_script returns [00:00:43]free content buf [00:00:43]Sock 8.Close socket [00:00:43]Sock 8.Thread stoped [00:00:43]accept exits with 9 [00:00:43]New connection [00:00:43]New thread 3066940772 created [00:00:43]Thread 3067084132 joined [00:00:43]Waiting for new connection... [00:00:43] Sock 9.Parse request [00:00:43]Sock 9.Check first char [00:00:43]Sock 9.First char is OK [00:00:43]request: POST /json_proto HTTP/1.0 [00:00:43]Method: POST [00:00:43]URL: /json_proto [00:00:43]Method is POST - this is cgi request [00:00:43]url: /json_proto [00:00:43]query_string will be loaded in cgi processing [00:00:43]execute_cgi json_proto POST (null) [00:00:43]execute_cgi path=json_proto method=POST [00:00:43]POST find Content-Length [00:00:43]Host: 172.17.52.132:8080 [00:00:43]Content-Length: 331 [00:00:43]Content-Type: application/json [00:00:43] [00:00:43]POST finish read [00:00:43]Found Content-Length = 331 [00:00:43]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:00:43]execute_script... [00:00:43]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:00:43]POST & json_proto [00:00:43]process_json_proto [00:00:43]json parsed OK: [00:00:43]protocol is kg_v1.0 [00:00:43]action value=get_value [00:00:43]process_action get_value [00:00:43]cmd_get_value [00:00:43]process_action get_value done [00:00:43]requested_data is exist [00:00:43]produce_requested_data [00:00:43]requested_item fm.sale.total is exist - process it [00:00:43]SAM_PROTO_GetFMData [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 13 03 00 [00:00:43]Write to MH i2c: E2 08 00 35 01 80 13 03 00 00 00 00 00 B5 [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 35 01 00 BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 0A [00:00:44]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 17 00 00 [00:00:44]Write to MH i2c: E2 08 00 36 01 80 17 00 00 00 00 00 00 B7 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 36 01 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1C [00:00:44]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 17 00 00 [00:00:44]Write to MH i2c: E2 08 00 37 01 80 17 00 00 00 00 00 00 B8 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 37 01 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EA [00:00:44]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 17 00 00 [00:00:44]Write to MH i2c: E2 08 00 38 01 80 17 00 00 00 00 00 00 B9 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 38 01 00 04 F7 03 00 00 EF 03 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 90 00 34 [00:00:44]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 17 00 00 [00:00:45]Write to MH i2c: E2 08 00 39 01 80 17 00 00 00 00 00 00 BA [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 DB 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 DB 00 39 01 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C [00:00:45]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:45]wFMCommunicate OK [00:00:45]SAM_PROTO_GetFMData done [00:00:45]requested_item fm.sale_refund.total is exist - process it [00:00:45]requested_item fm.buy.total is exist - process it [00:00:45]requested_item shift.sale.total is exist - process it [00:00:45]SAM_PROTO_GetShiftData [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 13 02 00 [00:00:45]Write to MH i2c: E2 08 00 3A 01 80 13 02 00 00 00 00 00 B9 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 FD 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 FD 00 3A 01 00 B5 04 AA 04 B1 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 5B [00:00:45]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 17 00 00 [00:00:45]Write to MH i2c: E2 08 00 3B 01 80 17 00 00 00 00 00 00 BC [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:46]Read from MH i2c: E2 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 3B 01 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 22 [00:00:46]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:46]wFMCommunicate OK [00:00:46]wFMCommunicate request_size=4 [00:00:46]MH_SAM_APDU [00:00:46]CAPDU: 80 17 00 00 [00:00:46]Write to MH i2c: E2 08 00 3C 01 80 17 00 00 00 00 00 00 BD [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:46]Read from MH i2c: E2 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 3C 01 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7A [00:00:46]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:46]wFMCommunicate OK [00:00:46]wFMCommunicate request_size=4 [00:00:46]MH_SAM_APDU [00:00:46]CAPDU: 80 17 00 00 [00:00:46]Write to MH i2c: E2 08 00 3D 01 80 17 00 00 00 00 00 00 BE [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:46]Read from MH i2c: E2 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 3D 01 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 90 00 36 [00:00:47]RAPDU: 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 90 00 [00:00:47]wFMCommunicate OK [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 17 00 00 [00:00:47]Write to MH i2c: E2 08 00 3E 01 80 17 00 00 00 00 00 00 BF [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:00:47]Read from MH i2c: E2 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 D2 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 D2 00 3E 01 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 A2 [00:00:47]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:00:47]wFMCommunicate OK [00:00:47]SAM_PROTO_GetShiftData done [00:00:47]requested_item shift.sale.total_cash is exist - process it [00:00:47]requested_item shift.sale_refund.total is exist - process it [00:00:47]requested_item shift.sale_refund.total_cash is exist - process it [00:00:47]requested_item shift.buy.total is exist - process it [00:00:47]requested_item shift.buy.total_cash is exist - process it [00:00:47]produce_requested_data done [00:00:47]produce_requested_data return {"fm.sale.total":891009.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":41646.47,"shift.sale.total_cash":19598.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:47]process_action_free get_value [00:00:47]json_value_free [00:00:47]json_value_free done [00:00:47]process_json_proto returns [00:00:47]Send response to host [00:00:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":891009.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":41646.47,"shift.sale.total_cash":19598.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:47]free response buf [00:00:47]execute_script done [00:00:47]execute_script returns [00:00:47]free content buf [00:00:47]Sock 9.Close socket [00:00:47]Sock 9.Thread stoped [00:00:47]accept exits with 8 [00:00:47]New connection [00:00:47]New thread 3067084132 created [00:00:47]Thread 3066940772 joined [00:00:47]Waiting for new connection... [00:00:47] Sock 8.Parse request [00:00:47]Sock 8.Check first char [00:00:47]Sock 8.First char is OK [00:00:47]request: POST /json_proto HTTP/1.0 [00:00:47]Method: POST [00:00:47]URL: /json_proto [00:00:47]Method is POST - this is cgi request [00:00:47]url: /json_proto [00:00:47]query_string will be loaded in cgi processing [00:00:47]execute_cgi json_proto POST (null) [00:00:47]execute_cgi path=json_proto method=POST [00:00:47]POST find Content-Length [00:00:47]Host: 172.17.52.132:8080 [00:00:47]Content-Length: 331 [00:00:47]Content-Type: application/json [00:00:47] [00:00:47]POST finish read [00:00:47]Found Content-Length = 331 [00:00:47]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:00:47]execute_script... [00:00:47]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:00:47]POST & json_proto [00:00:47]process_json_proto [00:00:47]json parsed OK: [00:00:47]protocol is kg_v1.0 [00:00:47]action value=get_value [00:00:47]process_action get_value [00:00:47]cmd_get_value [00:00:47]process_action get_value done [00:00:47]requested_data is exist [00:00:47]produce_requested_data [00:00:47]requested_item fm.sale.total is exist - process it [00:00:47]SAM_PROTO_GetFMData [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 13 03 00 [00:00:47]Write to MH i2c: E2 08 00 3F 01 80 13 03 00 00 00 00 00 BF [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 3F 01 00 BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 14 [00:00:48]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [00:00:48]wFMCommunicate OK [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 17 00 00 [00:00:48]Write to MH i2c: E2 08 00 40 01 80 17 00 00 00 00 00 00 C1 [00:00:48]OFD Sender: No OFD packet to send [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 40 01 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 26 [00:00:48]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:48]wFMCommunicate OK [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 17 00 00 [00:00:48]Write to MH i2c: E2 08 00 41 01 80 17 00 00 00 00 00 00 C2 [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 41 01 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F4 [00:00:49]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:49]wFMCommunicate OK [00:00:49]wFMCommunicate request_size=4 [00:00:49]MH_SAM_APDU [00:00:49]CAPDU: 80 17 00 00 [00:00:49]Write to MH i2c: E2 08 00 42 01 80 17 00 00 00 00 00 00 C3 [00:00:49]Write i2c OK [00:00:49]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 42 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [00:00:49]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:00:49]wFMCommunicate OK [00:00:49]wFMCommunicate request_size=4 [00:00:49]MH_SAM_APDU [00:00:49]CAPDU: 80 17 00 00 [00:00:49]Write to MH i2c: E2 08 00 43 01 80 17 00 00 00 00 00 00 C4 [00:00:49]Write i2c OK [00:00:49]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 DB 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 DB 00 43 01 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A6 [00:00:49]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:50]wFMCommunicate OK [00:00:50]SAM_PROTO_GetFMData done [00:00:50]requested_item fm.sale_refund.total is exist - process it [00:00:50]requested_item fm.buy.total is exist - process it [00:00:50]requested_item shift.sale.total is exist - process it [00:00:50]SAM_PROTO_GetShiftData [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 13 02 00 [00:00:50]Write to MH i2c: E2 08 00 44 01 80 13 02 00 00 00 00 00 C3 [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:50]Read from MH i2c: E2 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 44 01 00 B5 04 AA 04 B1 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 65 [00:00:50]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:00:50]wFMCommunicate OK [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 17 00 00 [00:00:50]Write to MH i2c: E2 08 00 45 01 80 17 00 00 00 00 00 00 C6 [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 45 01 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2C [00:00:51]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 17 00 00 [00:00:51]Write to MH i2c: E2 08 00 46 01 80 17 00 00 00 00 00 00 C7 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 46 01 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 84 [00:00:51]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 17 00 00 [00:00:51]Write to MH i2c: E2 08 00 47 01 80 17 00 00 00 00 00 00 C8 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 47 01 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 90 00 40 [00:00:52]RAPDU: 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 90 00 [00:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 48 01 80 17 00 00 00 00 00 00 C9 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 D2 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 D2 00 48 01 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [00:00:52]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:00:52]wFMCommunicate OK [00:00:52]SAM_PROTO_GetShiftData done [00:00:52]requested_item shift.sale.total_cash is exist - process it [00:00:52]requested_item shift.sale_refund.total is exist - process it [00:00:52]requested_item shift.sale_refund.total_cash is exist - process it [00:00:52]requested_item shift.buy.total is exist - process it [00:00:52]requested_item shift.buy.total_cash is exist - process it [00:00:52]produce_requested_data done [00:00:52]produce_requested_data return {"fm.sale.total":891009.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":41646.47,"shift.sale.total_cash":19598.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:52]process_action_free get_value [00:00:52]json_value_free [00:00:52]json_value_free done [00:00:52]process_json_proto returns [00:00:52]Send response to host [00:00:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":891009.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":41646.47,"shift.sale.total_cash":19598.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:52]free response buf [00:00:52]execute_script done [00:00:52]execute_script returns [00:00:52]free content buf [00:00:52]Sock 8.Close socket [00:00:52]Sock 8.Thread stoped [00:00:52]accept exits with 10 [00:00:52]New connection [00:00:52]New thread 3066940772 created [00:00:52]Thread 3067084132 joined [00:00:52]Waiting for new connection... [00:00:52] Sock 10.Parse request [00:00:52]Sock 10.Check first char [00:00:52]Sock 10.First char is OK [00:00:52]request: POST /json_proto HTTP/1.0 [00:00:52]Method: POST [00:00:52]URL: /json_proto [00:00:52]Method is POST - this is cgi request [00:00:52]url: /json_proto [00:00:52]query_string will be loaded in cgi processing [00:00:52]execute_cgi json_proto POST (null) [00:00:52]execute_cgi path=json_proto method=POST [00:00:52]POST find Content-Length [00:00:52]Host: 172.17.52.132:8080 [00:00:52]Content-Length: 260 [00:00:52]Content-Type: application/json [00:00:52] [00:00:52]POST finish read [00:00:52]Found Content-Length = 260 [00:00:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:52]execute_script... [00:00:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:52]POST & json_proto [00:00:52]process_json_proto [00:00:52]json parsed OK: [00:00:52]protocol is kg_v1.0 [00:00:52]action value=close_shift [00:00:52]process_action close_shift [00:00:52]cmd_close_shift [00:00:52]MH_GetDate [00:00:52]Write to MH i2c: F0 00 00 49 01 39 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: F0 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: F0 09 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: F0 09 00 49 01 00 B5 99 15 67 5A BE F6 66 80 [00:00:52]GetLastDocTimeStamp 1729468788 [00:00:52]current date 1729468853 [00:00:52]FM_GetShiftState [00:00:52]SAM_PROTO_GetShiftState [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 13 01 00 [00:00:52]Write to MH i2c: E2 08 00 4A 01 80 13 01 00 00 00 00 00 C8 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 0E 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 0E 00 4A 01 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 B2 [00:00:52]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:00:52]wFMCommunicate OK [00:00:52]SAM_PROTO_GetShiftState done [00:00:52]FM_GetShiftState done [00:00:52]KKMCreateCloseShiftDocument [00:00:52]Load OK [00:00:52]Malloc new data [00:00:52]MH_GetDate [00:00:52]Write to MH i2c: F0 00 00 4B 01 3B [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: F0 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: F0 09 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: F0 09 00 4B 01 00 B5 99 15 67 5A BE F6 66 82 [00:00:52]Malloc new data [00:00:52]Malloc new data [00:00:52]Malloc new data [00:00:52]Malloc new data [00:00:52]KKMCreateCloseShiftDocument OK [00:00:52]KKMSetCloseShiftData OK [00:00:52]ProcessDocumentItem done err = 0, tmpTLVsize=71 [00:00:52]tlvbuf is 00B97CD0 [00:00:52]KKMLoadAndSignCloseShiftData [00:00:52]SAM_PROTO_ProcessDocument [00:00:52]wFMCommunicate request_size=9 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 15 01 00 04 05 00 47 00 [00:00:52]Write to MH i2c: E2 0C 00 4C 01 80 15 01 00 04 00 05 00 47 00 00 00 20 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 03 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 03 00 4C 01 00 90 00 C1 [00:00:52]RAPDU: 90 00 [00:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=23 [00:00:52]MH_SAM_APDU [00:00:52]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:00:52]Write to MH i2c: E2 1A 00 4D 01 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 C3 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [00:00:53]RAPDU: 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=30 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 [00:00:53]Write to MH i2c: E2 21 00 4E 01 80 15 02 00 19 00 FD 03 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 00 00 9B [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [00:00:53]RAPDU: 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=13 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 15 02 00 08 F4 03 04 00 B5 99 15 67 [00:00:53]Write to MH i2c: E2 10 00 4F 01 80 15 02 00 08 00 F4 03 04 00 B5 99 15 67 00 00 A5 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [00:00:53]RAPDU: 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=25 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 [00:00:53]Write to MH i2c: E2 1C 00 50 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 00 00 33 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [00:00:53]RAPDU: 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 15 03 00 [00:00:53]Write to MH i2c: E2 08 00 51 01 80 15 03 00 00 00 00 00 D3 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]OFD Sender: No OFD packet to send [00:00:53]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 51 01 00 F8 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 93 0A 00 00 0E 04 04 00 18 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 B1 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 90 00 4C [00:00:54]RAPDU: F8 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 93 0A 00 00 0E 04 04 00 18 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 B1 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 90 00 [00:00:54]wFMCommunicate OK [00:00:54]SAM_PROTO_ProcessDocument answer len = 1272 [00:00:54]SAM_PROTO_ProcessDocument remain to read = 1024 [00:00:54]wFMCommunicate request_size=4 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 17 00 00 [00:00:54]Write to MH i2c: E2 08 00 52 01 80 17 00 00 00 00 00 00 D3 [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 52 01 00 02 00 28 23 72 04 00 00 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 BC 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 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [00:00:54]RAPDU: 02 00 28 23 72 04 00 00 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 BC 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 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:54]wFMCommunicate OK [00:00:54]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:54]SAM_PROTO_ProcessDocument remain to read = 774 [00:00:54]wFMCommunicate request_size=4 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 17 00 00 [00:00:54]Write to MH i2c: E2 08 00 53 01 80 17 00 00 00 00 00 00 D4 [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 53 01 00 00 EF 03 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 90 00 36 [00:00:55]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 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 90 00 [00:00:55]wFMCommunicate OK [00:00:55]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:55]SAM_PROTO_ProcessDocument remain to read = 524 [00:00:55]wFMCommunicate request_size=4 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 17 00 00 [00:00:55]Write to MH i2c: E2 08 00 54 01 80 17 00 00 00 00 00 00 D5 [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:55]Read from MH i2c: E2 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 54 01 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F2 [00:00:55]RAPDU: 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:55]wFMCommunicate OK [00:00:55]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:55]SAM_PROTO_ProcessDocument remain to read = 274 [00:00:55]wFMCommunicate request_size=4 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 17 00 00 [00:00:55]Write to MH i2c: E2 08 00 55 01 80 17 00 00 00 00 00 00 D6 [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 55 01 00 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0B [00:00:56]RAPDU: 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:56]wFMCommunicate OK [00:00:56]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:56]SAM_PROTO_ProcessDocument remain to read = 24 [00:00:56]wFMCommunicate request_size=4 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 17 00 00 [00:00:56]Write to MH i2c: E2 08 00 56 01 80 17 00 00 00 00 00 00 D7 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 24! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 1B 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 1B 00 56 01 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 A7 72 A9 8B 9A C5 90 00 C3 [00:00:56]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 A7 72 A9 8B 9A C5 90 00 [00:00:56]wFMCommunicate OK [00:00:56]SAM_PROTO_ProcessDocument received (without SW) 24 bytes [00:00:56]SAM_PROTO_ProcessDocument done [00:00:56]1209 (1) - 1.0 - номер версии ФФД [00:00:56]1041 (16) - 0000000002342820 - номер ФМ [00:00:56]1040 (4) - 2707 - номер ФД [00:00:56]1038 (4) - 24 - номер смены [00:00:56]1118 (4) - 87 - количество кассовых чеков за смену [00:00:56]1111 (4) - 89 - общее количество ФД за смену [00:00:56]1194 (1201) - счетчики итогов смены [00:00:56] 1134 (4) - 87 - количество чеков со всеми признаками расчетов [00:00:56] 1129 (155) - счетчики операций «приход» [00:00:56] 1135 (4) - 86 - количество чеков по признаку расчетов [00:00:56] 1201 (3) - 41646.47 - общая итоговая сумма в чеках [00:00:56] 1136 (3) - 19598.00 - итоговая сумма в чеках наличными [00:00:56] 1138 (3) - 22048.47 - итоговая сумма в чеках безналичными [00:00:56] 1024 (122) - суммы налогов [00:00:56] 1006 (9) - суммы НДС [00:00:56] 1010 (1) - 0% - код ставки НДС [00:00:56] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:56] 1006 (12) - суммы НДС [00:00:56] 1010 (1) - 12% - код ставки НДС [00:00:56] 1011 (3) - 4422.51 - сумма НДС по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 0% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (11) - суммы НСП [00:00:56] 1014 (1) - 1% - код ставки НСП [00:00:56] 1015 (2) - 368.46 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 2% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 3% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 5% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 0,50% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 1,50% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1130 (148) - счетчики операций «возврат прихода» [00:00:56] 1135 (4) - 1 - количество чеков по признаку расчетов [00:00:56] 1201 (2) - 90.00 - общая итоговая сумма в чеках [00:00:56] 1136 (2) - 90.00 - итоговая сумма в чеках наличными [00:00:56] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:56] 1024 (120) - суммы налогов [00:00:56] 1006 (9) - суммы НДС [00:00:56] 1010 (1) - 0% - код ставки НДС [00:00:56] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:56] 1006 (11) - суммы НДС [00:00:56] 1010 (1) - 12% - код ставки НДС [00:00:56] 1011 (2) - 9.56 - сумма НДС по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 0% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (10) - суммы НСП [00:00:56] 1014 (1) - 1% - код ставки НСП [00:00:56] 1015 (1) - 0.80 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 2% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 3% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 5% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 0,50% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 1,50% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1131 (141) - счетчики операций «расход» [00:00:56] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:56] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:56] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:56] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:56] 1024 (117) - суммы налогов [00:00:56] 1006 (9) - суммы НДС [00:00:56] 1010 (1) - 0% - код ставки НДС [00:00:56] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:56] 1006 (9) - суммы НДС [00:00:56] 1010 (1) - 12% - код ставки НДС [00:00:56] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 0% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 1% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 2% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 3% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 5% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 0,50% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 1,50% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1132 (141) - счетчики операций «возврат расхода» [00:00:56] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:56] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:56] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:56] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:56] 1024 (117) - суммы налогов [00:00:56] 1006 (9) - суммы НДС [00:00:56] 1010 (1) - 0% - код ставки НДС [00:00:56] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:56] 1006 (9) - суммы НДС [00:00:56] 1010 (1) - 12% - код ставки НДС [00:00:56] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 0% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 1% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 2% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 3% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 5% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 0,50% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1007 (9) - суммы НСП [00:00:56] 1014 (1) - 1,50% - код ставки НСП [00:00:56] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:56] 1133 (588) - - счетчики коррекции - не используются [00:00:56]1077 (6) - 184110912608965 - ФПД [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1209 (04B9) [00:00:56]Malloc new data [00:00:56]Processing tag 1041 (0411) [00:00:56]Processing tag 1040 (0410) [00:00:56]Malloc new data [00:00:56]Processing tag 1038 (040E) [00:00:56]Malloc new data [00:00:56]Processing tag 1118 (045E) [00:00:56]Malloc new data [00:00:56]Processing tag 1111 (0457) [00:00:56]Malloc new data [00:00:56]Processing tag 1194 (04AA) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1134 (046E) [00:00:56]Malloc new data [00:00:56]Processing tag 1129 (0469) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1135 (046F) [00:00:56]Malloc new data [00:00:56]Processing tag 1201 (04B1) [00:00:56]Malloc new data [00:00:56]Processing tag 1136 (0470) [00:00:56]Malloc new data [00:00:56]Processing tag 1138 (0472) [00:00:56]Malloc new data [00:00:56]Processing tag 1024 (0400) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1006 (03EE) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1010 (03F2) [00:00:56]Malloc new data [00:00:56]Processing tag 1011 (03F3) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1006 (03EE) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1010 (03F2) [00:00:56]Malloc new data [00:00:56]Processing tag 1011 (03F3) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]SetTLVBufToDocument err=0 [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1130 (046A) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1135 (046F) [00:00:56]Malloc new data [00:00:56]Processing tag 1201 (04B1) [00:00:56]Malloc new data [00:00:56]Processing tag 1136 (0470) [00:00:56]Malloc new data [00:00:56]Processing tag 1138 (0472) [00:00:56]Malloc new data [00:00:56]Processing tag 1024 (0400) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1006 (03EE) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1010 (03F2) [00:00:56]Malloc new data [00:00:56]Processing tag 1011 (03F3) [00:00:56]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1006 (03EE) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1010 (03F2) [00:00:57]Malloc new data [00:00:57]Processing tag 1011 (03F3) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]SetTLVBufToDocument err=0 [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1131 (046B) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1135 (046F) [00:00:57]Malloc new data [00:00:57]Processing tag 1201 (04B1) [00:00:57]Malloc new data [00:00:57]Processing tag 1136 (0470) [00:00:57]Malloc new data [00:00:57]Processing tag 1138 (0472) [00:00:57]Malloc new data [00:00:57]Processing tag 1024 (0400) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1006 (03EE) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1010 (03F2) [00:00:57]Malloc new data [00:00:57]Processing tag 1011 (03F3) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1006 (03EE) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1010 (03F2) [00:00:57]Malloc new data [00:00:57]Processing tag 1011 (03F3) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]SetTLVBufToDocument err=0 [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1132 (046C) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1135 (046F) [00:00:57]Malloc new data [00:00:57]Processing tag 1201 (04B1) [00:00:57]Malloc new data [00:00:57]Processing tag 1136 (0470) [00:00:57]Malloc new data [00:00:57]Processing tag 1138 (0472) [00:00:57]Malloc new data [00:00:57]Processing tag 1024 (0400) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1006 (03EE) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1010 (03F2) [00:00:57]Malloc new data [00:00:57]Processing tag 1011 (03F3) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1006 (03EE) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1010 (03F2) [00:00:57]Malloc new data [00:00:57]Processing tag 1011 (03F3) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1007 (03EF) [00:00:57]Load OK [00:00:57]SetTLVBufToDocument [00:00:57]Processing tag 1014 (03F6) [00:00:57]Malloc new data [00:00:57]Processing tag 1015 (03F7) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]SetTLVBufToDocument err=0 [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1133 (046D) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Processing tag 1077 (0435) [00:00:57]Malloc new data [00:00:57]SetTLVBufToDocument err=0 [00:00:57]Malloc new data [00:00:57]SAM_PROTO_GetFMData [00:00:57]wFMCommunicate request_size=4 [00:00:57]MH_SAM_APDU [00:00:57]CAPDU: 80 13 03 00 [00:00:57]Write to MH i2c: E2 08 00 57 01 80 13 03 00 00 00 00 00 D7 [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 57 01 00 BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 2C [00:00:58]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [00:00:58]wFMCommunicate OK [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 58 01 80 17 00 00 00 00 00 00 D9 [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:58]OFD Sender: No OFD packet to send [00:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:58]Read from MH i2c: E2 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 58 01 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [00:00:58]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:58]wFMCommunicate OK [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 59 01 80 17 00 00 00 00 00 00 DA [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 FD 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 FD 00 59 01 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0C [00:00:59]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:59]wFMCommunicate OK [00:00:59]wFMCommunicate request_size=4 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 17 00 00 [00:00:59]Write to MH i2c: E2 08 00 5A 01 80 17 00 00 00 00 00 00 DB [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 FD 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 FD 00 5A 01 00 04 F7 03 00 00 EF 03 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 90 00 56 [00:00:59]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:01:00]wFMCommunicate OK [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 17 00 00 [00:01:00]Write to MH i2c: E2 08 00 5B 01 80 17 00 00 00 00 00 00 DC [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 DB 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 DB 00 5B 01 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BE [00:01:00]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:01:00]wFMCommunicate OK [00:01:00]SAM_PROTO_GetFMData done [00:01:00]Malloc new data [00:01:00]Malloc new data [00:01:00]Malloc new data [00:01:00]Malloc new data [00:01:00]KKMLoadAndSignCloseShiftData err=0 [00:01:00]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Орумбаев Р. 21.10.2024 00:00 Смена: 24 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Чеков за смену: 87 ФД за смену: 89 Всего чеков: 87 ИТОГИ ПРИХОД Чеков: 86 Общий итог: 41646.47 Итого наличными: 19598.00 Итого безнал.: 22048.47 НДС 0% : 0.00 НДС 12% : 4422.51 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 368.46 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 90.00 Итого наличными: 90.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 9.56 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.80 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 19508.00 НС Приход: 891009.05 НС Возвр.Прихода: 1376.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 2707 ФМ: 0000000002342820 ФПД: 184110912608965 [00:01:00]StoreToDocumentArchive [00:01:00]shift 24 fd 2707 [00:01:00]save to /storage/0024/doc_00002707 [00:01:00]save last doc name /storage/0024/doc_00002707 to /storage/kkm_last_doc_name [00:01:00]save OK [00:01:00]Clear old archive folders... [00:01:00]NVStorageSaveData kkm_registers [00:01:00]File name is /storage/kkm_registers [00:01:00]Write 24 bytes [00:01:00]NVStorageSaveData done [00:01:00]NVStorageSaveData kkm_registers [00:01:00]File name is /storage/kkm_registers [00:01:00]Write 24 bytes [00:01:00]NVStorageSaveData done [00:01:00]ProcessDocumentItem done err = 0, tmpTLVsize=1382 [00:01:00]tlvbuf is 00C5F070 [00:01:00]SAM_PROTO_ClearQueue [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 09 00 00 [00:01:00]Write to MH i2c: E2 08 00 5C 01 80 09 00 00 00 00 00 00 CF [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:01:00]Read from MH i2c: E2 03 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 03 00 5C 01 00 90 00 D1 [00:01:00]RAPDU: 90 00 [00:01:00]wFMCommunicate OK [00:01:00]SAM_PROTO_ClearQueue done [00:01:00]KKMCreateOFDPacket [00:01:00]OFDProtocolAddRootSTLVToBuf [00:01:00]FM_MakeSignedData [00:01:00]FM_MakeSignedData [00:01:00]SAM_PROTO_SignData [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 0D 01 02 [00:01:00]Write to MH i2c: E2 08 00 5D 01 80 0D 01 02 00 00 00 00 D7 [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 03 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 03 00 5D 01 00 90 00 D2 [00:01:00]RAPDU: 90 00 [00:01:00]wFMCommunicate OK [00:01:00]wFMCommunicate request_size=255 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 0D 02 02 FA 05 00 66 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 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 F4 03 04 00 B5 99 15 67 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 D8 04 6E 04 04 00 57 00 00 00 69 04 A2 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 [00:01:01]Write to MH i2c: E2 02 01 5E 01 80 0D 02 02 FA 00 05 00 66 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 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 F4 03 04 00 B5 99 15 67 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 D8 04 6E 04 04 00 57 00 00 00 69 04 A2 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 00 00 37 [00:01:01]Write i2c OK [00:01:01]MH_I2C_Read... [00:01:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:01]Read from MH i2c: E2 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 03 00 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 03 00 5E 01 00 90 00 D3 [00:01:01]RAPDU: 90 00 [00:01:01]wFMCommunicate OK [00:01:01]wFMCommunicate request_size=255 [00:01:01]MH_SAM_APDU [00:01:01]CAPDU: 80 0D 02 02 FA 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 EE 8F 6A 04 9C 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 01 00 00 00 04 7F 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BC 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 50 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:01:01]Write to MH i2c: E2 02 01 5F 01 80 0D 02 02 FA 00 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 EE 8F 6A 04 9C 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 01 00 00 00 04 7F 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BC 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 50 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 00 75 [00:01:01]Write i2c OK [00:01:01]MH_I2C_Read... [00:01:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:02]Read from MH i2c: E2 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 03 00 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 03 00 5F 01 00 90 00 D4 [00:01:02]RAPDU: 90 00 [00:01:02]wFMCommunicate OK [00:01:02]wFMCommunicate request_size=255 [00:01:02]MH_SAM_APDU [00:01:02]CAPDU: 80 0D 02 02 FA 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 [00:01:02]Write to MH i2c: E2 02 01 60 01 80 0D 02 02 FA 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 00 00 A1 [00:01:02]Write i2c OK [00:01:02]MH_I2C_Read... [00:01:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:02]Read from MH i2c: E2 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 03 00 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 03 00 60 01 00 90 00 D5 [00:01:02]RAPDU: 90 00 [00:01:02]wFMCommunicate OK [00:01:02]wFMCommunicate request_size=255 [00:01:02]MH_SAM_APDU [00:01:02]CAPDU: 80 0D 02 02 FA 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:01:03]Write to MH i2c: E2 02 01 61 01 80 0D 02 02 FA 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 00 A1 [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]OFD Sender: No OFD packet to send [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:03]Read from MH i2c: E2 03 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 61 01 00 90 00 D6 [00:01:03]RAPDU: 90 00 [00:01:03]wFMCommunicate OK [00:01:03]wFMCommunicate request_size=255 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 0D 02 02 FA 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:01:03]Write to MH i2c: E2 02 01 62 01 80 0D 02 02 FA 00 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 67 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 62 01 00 90 00 D7 [00:01:04]RAPDU: 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=141 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 0D 02 02 88 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 93 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 A7 72 A9 8B 9A C5 [00:01:04]Write to MH i2c: E2 90 00 63 01 80 0D 02 02 88 00 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 93 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 A7 72 A9 8B 9A C5 00 00 5E [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 63 01 00 90 00 D8 [00:01:04]RAPDU: 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 0D 03 02 [00:01:04]Write to MH i2c: E2 08 00 64 01 80 0D 03 02 00 00 00 00 E0 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 0B 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 0B 00 64 01 00 1A 8F 7F 47 A7 DA EE 84 90 00 43 [00:01:04]RAPDU: 1A 8F 7F 47 A7 DA EE 84 90 00 [00:01:04]wFMCommunicate OK [00:01:04]SAM_PROTO_SignData done [00:01:04]FM_MakeSignedData done [00:01:04]CreateOFDProtocolMessage [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 11 00 00 [00:01:04]Write to MH i2c: E2 08 00 65 01 80 11 00 00 00 00 00 00 E0 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:04]Read from MH i2c: E2 17 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 17 00 65 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 28 [00:01:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:01:04]wFMCommunicate OK [00:01:04]CreateOFDProtocolMessage done [00:01:04]OFDSenderStorePacket 2707 [00:01:04]StoreOFDPacket docnum=2707 [00:01:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 7A 05 00 00 9A 5E 72 05 11 F1 5A 05 01 00 05 00 66 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 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 F4 03 04 00 B5 99 15 67 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 D8 04 6E 04 04 00 57 00 00 00 69 04 A2 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F 6A 04 9C 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 01 00 00 00 04 7F 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BC 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 50 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 93 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 A7 72 A9 8B 9A C5 1A 8F 7F 47 A7 DA EE 84 [00:01:05]CheckFolder [00:01:05]dirname=/storage/ofd_packets [00:01:05]CheckFolder done [00:01:05]ProducePacketName [00:01:05]name=ofd_packets/00002707 [00:01:05]NVStorageSaveData ofd_packets/00002707 [00:01:05]File name is /storage/ofd_packets/00002707 [00:01:05]Write 1432 bytes [00:01:05]NVStorageSaveData done [00:01:05]OFDSenderStorePacket done [00:01:05]KKMCreateOFDPacket done [00:01:05]NVStorageSaveData kkm_last_timestamp [00:01:05]File name is /storage/kkm_last_timestamp [00:01:05]Write 4 bytes [00:01:05]NVStorageSaveData done [00:01:05]ExternCall_PrintAddStr [00:01:05]wPrintStart [00:01:05]Write to MH i2c: 01 00 00 66 01 67 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 07 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 07 00 66 01 00 00 00 00 00 FF 0F 7C [00:01:05]RasterBufferAndPrint [00:01:05]line Отчет о закрытии смены [00:01:05]line ФФД: 1.0 [00:01:05]line ИНН: 02508201610067 [00:01:05]line Кассир: Орумбаев Р. [00:01:05]line 21.10.2024 00:00 [00:01:05]line Смена: 24 [00:01:05]line РНМ: 0000000000207295 [00:01:05]line ЗНМ: 0300000191 [00:01:05]line СНО: Общий режим [00:01:05]line Чеков за смену: 87 [00:01:05]line ФД за смену: 89 [00:01:05]line Всего чеков: 87 [00:01:05]line ИТОГИ ПРИХОД [00:01:05]line Чеков: 86 [00:01:05]line Общий итог: 41646.47 [00:01:05]line Итого наличными: 19598.00 [00:01:05]line Итого безнал.: 22048.47 [00:01:05]line НДС 0% : 0.00 [00:01:05]line НДС 12% : 4422.51 [00:01:05]line НСП 0% : 0.00 [00:01:05]line НСП 1,50% : 0.00 [00:01:05]line НСП 0,50% : 0.00 [00:01:05]line НСП 5% : 0.00 [00:01:05]line НСП 3% : 0.00 [00:01:05]line НСП 2% : 0.00 [00:01:05]line НСП 1% : 368.46 [00:01:05]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:01:05]line Чеков: 1 [00:01:05]line Общий итог: 90.00 [00:01:05]line Итого наличными: 90.00 [00:01:05]line Итого безнал.: 0.00 [00:01:05]line НДС 0% : 0.00 [00:01:05]line НДС 12% : 9.56 [00:01:05]line НСП 0% : 0.00 [00:01:05]line НСП 1,50% : 0.00 [00:01:05]line НСП 0,50% : 0.00 [00:01:05]line НСП 5% : 0.00 [00:01:05]line НСП 3% : 0.00 [00:01:05]line НСП 2% : 0.00 [00:01:05]line НСП 1% : 0.80 [00:01:05]line ИТОГИ РАСХОД [00:01:05]line Чеков: 0 [00:01:05]line Общий итог: 0.00 [00:01:05]line Итого наличными: 0.00 [00:01:05]line Итого безнал.: 0.00 [00:01:05]line НДС 0% : 0.00 [00:01:05]line НДС 12% : 0.00 [00:01:05]line НСП 0% : 0.00 [00:01:05]line НСП 1,50% : 0.00 [00:01:05]line НСП 0,50% : 0.00 [00:01:05]line НСП 5% : 0.00 [00:01:05]line НСП 3% : 0.00 [00:01:05]line НСП 2% : 0.00 [00:01:05]line НСП 1% : 0.00 [00:01:05]line ИТОГИ ВОЗВРАТ РАСХОДА [00:01:05]line Чеков: 0 [00:01:05]line Общий итог: 0.00 [00:01:05]line Итого наличными: 0.00 [00:01:05]line Итого безнал.: 0.00 [00:01:05]line НДС 0% : 0.00 [00:01:05]line НДС 12% : 0.00 [00:01:05]line НСП 0% : 0.00 [00:01:05]line НСП 1,50% : 0.00 [00:01:05]line НСП 0,50% : 0.00 [00:01:05]line НСП 5% : 0.00 [00:01:05]line НСП 3% : 0.00 [00:01:05]line НСП 2% : 0.00 [00:01:05]line НСП 1% : 0.00 [00:01:05]line Сумма внесений: 0.00 [00:01:05]line Сумма выплат: 0.00 [00:01:05]line Нал. в кассе: 19508.00 [00:01:05]line НС Приход: 891009.05 [00:01:05]line НС Возвр.Прихода: 1376.00 [00:01:05]line НС Расход: 0.00 [00:01:05]line НС Возвр.Расхода: 0.00 [00:01:05]line ФД: 2707 [00:01:05]line ФМ: 0000000002342820 [00:01:05]line ФПД: 184110912608965 [00:01:05]OFD Sender: Processing packet 2707 [packets to send 1, broken 0] [00:01:05]ProducePacketName [00:01:05]name=ofd_packets/00002707 [00:01:05]OFD Sender: To server: pG, [00:01:05]CommunicateWithHost lk.salyk.kg:30040 [00:01:05]ConnectInit lk.salyk.kg [00:01:05]written 0, free lines is 4095 [00:01:05]Connected sock=9 [00:01:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 7A 05 00 00 9A 5E 72 05 11 F1 5A 05 01 00 05 00 66 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 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 F4 03 04 00 B5 99 15 67 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 D8 04 6E 04 04 00 57 00 00 00 69 04 A2 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F 6A 04 9C 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 01 00 00 00 04 7F 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BC 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 50 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 Write to MH i2c: 00 01 00 00 EF 00 03 B6 0A 01 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A B7 00 [00:01:06]F6 Write i2c OK [00:01:06]03 MH_I2C_Read... [00:01:06]01 Read from MH i2c: 00 01 [00:01:06]04 MH_I2C_Read... [00:01:06]F7 03 01 00 00 EF 03 0A 00 Read from MH i2c: F6 01 03 07 01 00 00 [00:01:06]03 MH_I2C_Read... [00:01:06]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 Read from MH i2c: 04 01 00 07 00 00 72 B6 04 01 00 00 00 00 00 00 04 00 75 00 00 6A EE 0A 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 32 03 [00:01:06]09 RasterBufferAndPrint [00:01:06]00 line [00:01:06]F2 line [00:01:06]03 line [00:01:06]01 00 01 F3 03 00 00 EF 03 09 00 F6 03 line [00:01:06]01 line [00:01:06]00 00 written 0, free lines is 2938 [00:01:06]F7 03 00 00 EF 03 09 00 F6 03 01 00 MH_Cut [00:01:06]01 Write to MH i2c: F7 D1 03 01 00 00 00 BD EF 01 03 01 90 [00:01:06]09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Write i2c OK [00:01:06]00 MH_I2C_Read... [00:01:06]F7 03 00 00 EF 03 09 00 F6 Read from MH i2c: 03 D1 01 [00:01:06]00 MH_I2C_Read... [00:01:06]01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 Read from MH i2c: 00 D1 EF 01 03 00 09 [00:01:06]00 MH_I2C_Read... [00:01:06]F6 Read from MH i2c: 03 D1 01 01 00 00 03 BD F7 01 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 00 03 8F 00 [00:01:06]00 Write to MH i2c: EF 01 03 00 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 00 09 BE 00 01 F6 BF 03 [00:01:06]01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 Write i2c OK [00:01:06]00 MH_I2C_Read... [00:01:06]00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 93 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 A7 72 A9 8B 9A C5 1A 8F 7F 47 A7 DA EE 84 [00:01:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 B9 A3 47 00 86 6C 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 *** Cut start [00:01:07]32 33 34 32 38 32 30 *** Partial cut [00:01:07]10 04 04 00 93 0A 00 00 F4 *** CUTSNS_PIN = 1 [00:01:07]03 04 *** CUTSNS_PIN = 0 [00:01:07]00 1E 45 15 67 B6 04 01 00 00 1A F7 AE 98 17 E6 25 23 [00:01:07]CommunicateWithHost err = 0 [00:01:07]CheckOFDResponse [00:01:07]1017 (14) - 77093643461234 [00:01:07]1041 (16) - 0000000002342820 [00:01:07]1040 (4) - 2707 [00:01:07]1012 (4) - 20.10.2024 17:59 [00:01:07]1206 (1) - 0 [00:01:07]OFD Sender: Remove packet 2707 [00:01:07]ProducePacketName [00:01:07]name=ofd_packets/00002707 [00:01:07]NVStorageDeleteData [00:01:07]*** Brake cut motor [00:01:08]Read from MH i2c: 01 [00:01:08]MH_I2C_Read... [00:01:08]*** Stop cut motor [00:01:08]*** Cut end [00:01:08]Read from MH i2c: 01 07 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: 01 07 00 BE 01 00 00 00 00 00 FF 0F D4 [00:01:08]process_action close_shift done [00:01:08]requested_data is exist [00:01:08]produce_requested_data [00:01:08]requested_item fd.num is exist - process it [00:01:08]SAM_PROTO_GetFieldsCounters [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 13 00 00 [00:01:08]Write to MH i2c: E2 08 00 BF 01 80 13 00 00 00 00 00 00 3C [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]OFD Sender: No OFD packet to send [00:01:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 62 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 62 00 BF 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 93 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [00:01:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 93 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:08]wFMCommunicate OK [00:01:08]SAM_PROTO_GetFieldsCounters done [00:01:08]requested_item shift.num is exist - process it [00:01:08]requested_item shift.opened is exist - process it [00:01:08]req_shift_opened [00:01:08]FM_GetShiftState [00:01:08]SAM_PROTO_GetShiftState [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 13 01 00 [00:01:08]Write to MH i2c: E2 08 00 C0 01 80 13 01 00 00 00 00 00 3E [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 0E 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 0E 00 C0 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 49 [00:01:08]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:08]wFMCommunicate OK [00:01:08]SAM_PROTO_GetShiftState done [00:01:08]FM_GetShiftState done [00:01:08]req_shift_opened done [00:01:08]requested_item shift.open_date is exist - process it [00:01:08]req_shift_open_date [00:01:08]FM_GetShiftState [00:01:08]SAM_PROTO_GetShiftState [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 13 01 00 [00:01:08]Write to MH i2c: E2 08 00 C1 01 80 13 01 00 00 00 00 00 3F [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 0E 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 0E 00 C1 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4A [00:01:08]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:08]wFMCommunicate OK [00:01:08]SAM_PROTO_GetShiftState done [00:01:08]FM_GetShiftState done [00:01:08]req_shift_open_date done [00:01:08]produce_requested_data done [00:01:08]produce_requested_data return {"fd.num":2707,"shift.num":24,"shift.opened":0,"shift.open_date":0} [00:01:08]process_action_free close_shift [00:01:08]json_value_free [00:01:08]json_value_free done [00:01:08]process_json_proto returns [00:01:08]Send response to host [00:01:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2707,"shift.num":24,"shift.opened":0,"shift.open_date":0}}} [00:01:08]free response buf [00:01:08]execute_script done [00:01:08]execute_script returns [00:01:08]free content buf [00:01:08]Sock 10.Close socket [00:01:08]Sock 10.Thread stoped [00:01:13]OFD Sender: No OFD packet to send [00:01:18]OFD Sender: No OFD packet to send [00:01:23]OFD Sender: No OFD packet to send [00:01:28]OFD Sender: No OFD packet to send [00:01:33]OFD Sender: No OFD packet to send [00:01:38]OFD Sender: No OFD packet to send [00:01:43]OFD Sender: No OFD packet to send [00:01:48]OFD Sender: No OFD packet to send [00:01:53]OFD Sender: No OFD packet to send [00:01:58]OFD Sender: No OFD packet to send [00:02:03]OFD Sender: No OFD packet to send [00:02:08]OFD Sender: No OFD packet to send [00:02:13]OFD Sender: No OFD packet to send [00:02:18]OFD Sender: No OFD packet to send [00:02:23]OFD Sender: No OFD packet to send [00:02:28]OFD Sender: No OFD packet to send [00:02:33]OFD Sender: No OFD packet to send [00:02:38]OFD Sender: No OFD packet to send [00:02:43]OFD Sender: No OFD packet to send [00:02:48]OFD Sender: No OFD packet to send [00:02:53]OFD Sender: No OFD packet to send [00:02:58]OFD Sender: No OFD packet to send [00:03:03]OFD Sender: No OFD packet to send [00:03:08]OFD Sender: No OFD packet to send [00:03:13]OFD Sender: No OFD packet to send [00:03:18]OFD Sender: No OFD packet to send [00:03:23]OFD Sender: No OFD packet to send [00:03:28]OFD Sender: No OFD packet to send [00:03:33]OFD Sender: No OFD packet to send [00:03:38]OFD Sender: No OFD packet to send [00:03:43]OFD Sender: No OFD packet to send [00:03:48]OFD Sender: No OFD packet to send [00:03:53]OFD Sender: No OFD packet to send [00:03:58]OFD Sender: No OFD packet to send [00:04:03]OFD Sender: No OFD packet to send [00:04:08]OFD Sender: No OFD packet to send [00:04:13]OFD Sender: No OFD packet to send [00:04:18]OFD Sender: No OFD packet to send [00:04:23]OFD Sender: No OFD packet to send [00:04:28]OFD Sender: No OFD packet to send [00:04:33]OFD Sender: No OFD packet to send [00:04:38]OFD Sender: No OFD packet to send [00:04:43]OFD Sender: No OFD packet to send [00:04:48]OFD Sender: No OFD packet to send [00:04:53]OFD Sender: No OFD packet to send [00:04:58]OFD Sender: No OFD packet to send [00:05:03]OFD Sender: No OFD packet to send [00:05:08]OFD Sender: No OFD packet to send [00:05:13]OFD Sender: No OFD packet to send [00:05: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:10]accept exits with 8 [00:09:10]New connection [00:09:10]New thread 3067084132 created [00:09:10]Thread 3066940772 joined [00:09:10]Waiting for new connection... [00:09:10] Sock 8.Parse request [00:09:10]Sock 8.Check first char [00:09:10]Sock 8.First char is OK [00:09:10]request: POST /json_proto HTTP/1.0 [00:09:10]Method: POST [00:09:10]URL: /json_proto [00:09:10]Method is POST - this is cgi request [00:09:10]url: /json_proto [00:09:10]query_string will be loaded in cgi processing [00:09:10]execute_cgi json_proto POST (null) [00:09:10]execute_cgi path=json_proto method=POST [00:09:10]POST find Content-Length [00:09:10]Host: 172.17.52.132:8080 [00:09:10]Content-Length: 215 [00:09:10]Content-Type: application/json [00:09:10] [00:09:10]POST finish read [00:09:10]Found Content-Length = 215 [00:09:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:10]execute_script... [00:09:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:10]POST & json_proto [00:09:10]process_json_proto [00:09:10]json parsed OK: [00:09:10]protocol is kg_v1.0 [00:09:10]action value=get_value [00:09:10]process_action get_value [00:09:10]cmd_get_value [00:09:10]process_action get_value done [00:09:10]requested_data is exist [00:09:10]produce_requested_data [00:09:10]requested_item kkm.sn is exist - process it [00:09:10]requested_item kkm.ver is exist - process it [00:09:10]requested_item fm.sn is exist - process it [00:09:10]wFMCommunicate request_size=4 [00:09:10]MH_SAM_APDU [00:09:10]CAPDU: 80 11 00 00 [00:09:10]Write to MH i2c: E2 08 00 C2 01 80 11 00 00 00 00 00 00 3D [00:09:10]Write i2c OK [00:09:10]MH_I2C_Read... [00:09:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:10]Read from MH i2c: E2 [00:09:10]MH_I2C_Read... [00:09:10]Read from MH i2c: E2 17 00 [00:09:10]MH_I2C_Read... [00:09:10]Read from MH i2c: E2 17 00 C2 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 85 [00:09:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:09:10]wFMCommunicate OK [00:09:10]requested_item fd.num is exist - process it [00:09:10]SAM_PROTO_GetFieldsCounters [00:09:10]wFMCommunicate request_size=4 [00:09:10]MH_SAM_APDU [00:09:10]CAPDU: 80 13 00 00 [00:09:10]Write to MH i2c: E2 08 00 C3 01 80 13 00 00 00 00 00 00 40 [00:09:10]Write i2c OK [00:09:10]MH_I2C_Read... [00:09:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:10]Read from MH i2c: E2 [00:09:10]MH_I2C_Read... [00:09:10]Read from MH i2c: E2 62 00 [00:09:10]MH_I2C_Read... [00:09:10]Read from MH i2c: E2 62 00 C3 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 93 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 11 [00:09:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 93 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:10]wFMCommunicate OK [00:09:10]SAM_PROTO_GetFieldsCounters done [00:09:10]requested_item shift.num is exist - process it [00:09:10]requested_item shift.opened is exist - process it [00:09:10]req_shift_opened [00:09:10]FM_GetShiftState [00:09:10]SAM_PROTO_GetShiftState [00:09:10]wFMCommunicate request_size=4 [00:09:10]MH_SAM_APDU [00:09:10]CAPDU: 80 13 01 00 [00:09:10]Write to MH i2c: E2 08 00 C4 01 80 13 01 00 00 00 00 00 42 [00:09:10]Write i2c OK [00:09:10]MH_I2C_Read... [00:09:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:10]Read from MH i2c: E2 [00:09:10]MH_I2C_Read... [00:09:10]Read from MH i2c: E2 0E 00 [00:09:10]MH_I2C_Read... [00:09:10]Read from MH i2c: E2 0E 00 C4 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4D [00:09:10]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:10]wFMCommunicate OK [00:09:10]SAM_PROTO_GetShiftState done [00:09:10]FM_GetShiftState done [00:09:10]req_shift_opened done [00:09:10]requested_item shift.open_date is exist - process it [00:09:10]req_shift_open_date [00:09:10]FM_GetShiftState [00:09:10]SAM_PROTO_GetShiftState [00:09:10]wFMCommunicate request_size=4 [00:09:10]MH_SAM_APDU [00:09:10]CAPDU: 80 13 01 00 [00:09:10]Write to MH i2c: E2 08 00 C5 01 80 13 01 00 00 00 00 00 43 [00:09:10]Write i2c OK [00:09:10]MH_I2C_Read... [00:09:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:11]Read from MH i2c: E2 [00:09:11]MH_I2C_Read... [00:09:11]Read from MH i2c: E2 0E 00 [00:09:11]MH_I2C_Read... [00:09:11]Read from MH i2c: E2 0E 00 C5 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4E [00:09:11]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:11]wFMCommunicate OK [00:09:11]SAM_PROTO_GetShiftState done [00:09:11]FM_GetShiftState done [00:09:11]req_shift_open_date done [00:09:11]produce_requested_data done [00:09:11]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2707,"shift.num":24,"shift.opened":0,"shift.open_date":0} [00:09:11]process_action_free get_value [00:09:11]json_value_free [00:09:11]json_value_free done [00:09:11]process_json_proto returns [00:09:11]Send response to host [00:09:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2707,"shift.num":24,"shift.opened":0,"shift.open_date":0}}} [00:09:11]free response buf [00:09:11]execute_script done [00:09:11]execute_script returns [00:09:11]free content buf [00:09:11]Sock 8.Close socket [00:09:11]Sock 8.Thread stoped [00:09:11]accept exits with 9 [00:09:11]New connection [00:09:11]New thread 3066940772 created [00:09:11]Thread 3067084132 joined [00:09:11]Waiting for new connection... [00:09:11] Sock 9.Parse request [00:09:11]Sock 9.Check first char [00:09:11]Sock 9.First char is OK [00:09:11]request: POST /json_proto HTTP/1.0 [00:09:11]Method: POST [00:09:11]URL: /json_proto [00:09:11]Method is POST - this is cgi request [00:09:11]url: /json_proto [00:09:11]query_string will be loaded in cgi processing [00:09:11]execute_cgi json_proto POST (null) [00:09:11]execute_cgi path=json_proto method=POST [00:09:11]POST find Content-Length [00:09:11]Host: 172.17.52.132:8080 [00:09:11]Content-Length: 331 [00:09:11]Content-Type: application/json [00:09:11] [00:09:11]POST finish read [00:09:11]Found Content-Length = 331 [00:09:11]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:11]execute_script... [00:09:11]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:11]POST & json_proto [00:09:11]process_json_proto [00:09:11]json parsed OK: [00:09:11]protocol is kg_v1.0 [00:09:11]action value=get_value [00:09:11]process_action get_value [00:09:11]cmd_get_value [00:09:11]process_action get_value done [00:09:11]requested_data is exist [00:09:11]produce_requested_data [00:09:11]requested_item fm.sale.total is exist - process it [00:09:11]SAM_PROTO_GetFMData [00:09:11]wFMCommunicate request_size=4 [00:09:11]MH_SAM_APDU [00:09:11]CAPDU: 80 13 03 00 [00:09:11]Write to MH i2c: E2 08 00 C6 01 80 13 03 00 00 00 00 00 46 [00:09:11]Write i2c OK [00:09:11]MH_I2C_Read... [00:09:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:11]Read from MH i2c: E2 [00:09:11]MH_I2C_Read... [00:09:11]Read from MH i2c: E2 FD 00 [00:09:11]MH_I2C_Read... [00:09:11]Read from MH i2c: E2 FD 00 C6 01 00 BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 9B [00:09:11]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [00:09:11]wFMCommunicate OK [00:09:11]wFMCommunicate request_size=4 [00:09:11]MH_SAM_APDU [00:09:11]CAPDU: 80 17 00 00 [00:09:11]Write to MH i2c: E2 08 00 C7 01 80 17 00 00 00 00 00 00 48 [00:09:11]Write i2c OK [00:09:11]MH_I2C_Read... [00:09:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:12]Read from MH i2c: E2 [00:09:12]MH_I2C_Read... [00:09:12]Read from MH i2c: E2 FD 00 [00:09:12]MH_I2C_Read... [00:09:12]Read from MH i2c: E2 FD 00 C7 01 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AD [00:09:12]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:12]wFMCommunicate OK [00:09:12]wFMCommunicate request_size=4 [00:09:12]MH_SAM_APDU [00:09:12]CAPDU: 80 17 00 00 [00:09:12]Write to MH i2c: E2 08 00 C8 01 80 17 00 00 00 00 00 00 49 [00:09:12]Write i2c OK [00:09:12]MH_I2C_Read... [00:09:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:12]Read from MH i2c: E2 [00:09:12]MH_I2C_Read... [00:09:12]Read from MH i2c: E2 FD 00 [00:09:12]MH_I2C_Read... [00:09:12]Read from MH i2c: E2 FD 00 C8 01 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7B [00:09:12]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:12]wFMCommunicate OK [00:09:12]wFMCommunicate request_size=4 [00:09:12]MH_SAM_APDU [00:09:12]CAPDU: 80 17 00 00 [00:09:12]Write to MH i2c: E2 08 00 C9 01 80 17 00 00 00 00 00 00 4A [00:09:12]Write i2c OK [00:09:12]MH_I2C_Read... [00:09:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:12]Read from MH i2c: E2 [00:09:12]MH_I2C_Read... [00:09:12]Read from MH i2c: E2 FD 00 [00:09:12]MH_I2C_Read... [00:09:12]Read from MH i2c: E2 FD 00 C9 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [00:09:12]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:09:12]wFMCommunicate OK [00:09:12]wFMCommunicate request_size=4 [00:09:12]MH_SAM_APDU [00:09:12]CAPDU: 80 17 00 00 [00:09:12]Write to MH i2c: E2 08 00 CA 01 80 17 00 00 00 00 00 00 4B [00:09:12]Write i2c OK [00:09:12]MH_I2C_Read... [00:09:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:09:12]Read from MH i2c: E2 [00:09:12]MH_I2C_Read... [00:09:12]Read from MH i2c: E2 DB 00 [00:09:12]MH_I2C_Read... [00:09:12]Read from MH i2c: E2 DB 00 CA 01 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2D [00:09:12]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:12]wFMCommunicate OK [00:09:12]SAM_PROTO_GetFMData done [00:09:12]requested_item fm.sale_refund.total is exist - process it [00:09:12]requested_item fm.buy.total is exist - process it [00:09:12]requested_item shift.sale.total is exist - process it [00:09:12]SAM_PROTO_GetShiftData [00:09:12]wFMCommunicate request_size=4 [00:09:12]MH_SAM_APDU [00:09:12]CAPDU: 80 13 02 00 [00:09:12]Write to MH i2c: E2 08 00 CB 01 80 13 02 00 00 00 00 00 4A [00:09:12]Write i2c OK [00:09:12]MH_I2C_Read... [00:09:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:13]Read from MH i2c: E2 [00:09:13]MH_I2C_Read... [00:09:13]Read from MH i2c: E2 FD 00 [00:09:13]MH_I2C_Read... [00:09:13]Read from MH i2c: E2 FD 00 CB 01 00 B5 04 AA 04 B1 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 EC [00:09:13]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 27 8C 3F 70 04 03 00 78 E7 1D 72 04 03 00 AF A4 21 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 8B BF 06 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 EE 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 28 23 70 04 02 00 28 23 72 04 00 00 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 BC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:09:13]wFMCommunicate OK [00:09:13]wFMCommunicate request_size=4 [00:09:13]MH_SAM_APDU [00:09:13]CAPDU: 80 17 00 00 [00:09:13]Write to MH i2c: E2 08 00 CC 01 80 17 00 00 00 00 00 00 4D [00:09:13]Write i2c OK [00:09:13]MH_I2C_Read... [00:09:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:13]Read from MH i2c: E2 [00:09:13]MH_I2C_Read... [00:09:13]Read from MH i2c: E2 FD 00 [00:09:13]MH_I2C_Read... [00:09:13]Read from MH i2c: E2 FD 00 CC 01 00 F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B3 [00:09:13]RAPDU: F6 03 01 00 01 F7 03 01 00 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:13]wFMCommunicate OK [00:09:13]wFMCommunicate request_size=4 [00:09:13]MH_SAM_APDU [00:09:13]CAPDU: 80 17 00 00 [00:09:13]Write to MH i2c: E2 08 00 CD 01 80 17 00 00 00 00 00 00 4E [00:09:13]Write i2c OK [00:09:13]MH_I2C_Read... [00:09:13]OFD Sender: No OFD packet to send [00:09:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:13]Read from MH i2c: E2 [00:09:13]MH_I2C_Read... [00:09:13]Read from MH i2c: E2 FD 00 [00:09:13]MH_I2C_Read... [00:09:13]Read from MH i2c: E2 FD 00 CD 01 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0B [00:09:13]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:13]wFMCommunicate OK [00:09:13]wFMCommunicate request_size=4 [00:09:13]MH_SAM_APDU [00:09:13]CAPDU: 80 17 00 00 [00:09:13]Write to MH i2c: E2 08 00 CE 01 80 17 00 00 00 00 00 00 4F [00:09:13]Write i2c OK [00:09:13]MH_I2C_Read... [00:09:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:14]Read from MH i2c: E2 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 FD 00 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 FD 00 CE 01 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 90 00 C7 [00:09:14]RAPDU: 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 90 00 [00:09:14]wFMCommunicate OK [00:09:14]wFMCommunicate request_size=4 [00:09:14]MH_SAM_APDU [00:09:14]CAPDU: 80 17 00 00 [00:09:14]Write to MH i2c: E2 08 00 CF 01 80 17 00 00 00 00 00 00 50 [00:09:14]Write i2c OK [00:09:14]MH_I2C_Read... [00:09:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:09:14]Read from MH i2c: E2 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 D2 00 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 D2 00 CF 01 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [00:09:14]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:14]wFMCommunicate OK [00:09:14]SAM_PROTO_GetShiftData done [00:09:14]requested_item shift.sale.total_cash is exist - process it [00:09:14]requested_item shift.sale_refund.total is exist - process it [00:09:14]requested_item shift.sale_refund.total_cash is exist - process it [00:09:14]requested_item shift.buy.total is exist - process it [00:09:14]requested_item shift.buy.total_cash is exist - process it [00:09:14]produce_requested_data done [00:09:14]produce_requested_data return {"fm.sale.total":891009.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":41646.47,"shift.sale.total_cash":19598.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:09:14]process_action_free get_value [00:09:14]json_value_free [00:09:14]json_value_free done [00:09:14]process_json_proto returns [00:09:14]Send response to host [00:09:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":891009.05,"fm.sale_refund.total":1376.00,"fm.buy.total":0.00,"shift.sale.total":41646.47,"shift.sale.total_cash":19598.00,"shift.sale_refund.total":90.00,"shift.sale_refund.total_cash":90.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:09:14]free response buf [00:09:14]execute_script done [00:09:14]execute_script returns [00:09:14]free content buf [00:09:14]Sock 9.Close socket [00:09:14]Sock 9.Thread stoped [00:09:14]accept exits with 8 [00:09:14]New connection [00:09:14]New thread 3067084132 created [00:09:14]Thread 3066940772 joined [00:09:14]Waiting for new connection... [00:09:14] Sock 8.Parse request [00:09:14]Sock 8.Check first char [00:09:14]Sock 8.First char is OK [00:09:14]request: POST /json_proto HTTP/1.0 [00:09:14]Method: POST [00:09:14]URL: /json_proto [00:09:14]Method is POST - this is cgi request [00:09:14]url: /json_proto [00:09:14]query_string will be loaded in cgi processing [00:09:14]execute_cgi json_proto POST (null) [00:09:14]execute_cgi path=json_proto method=POST [00:09:14]POST find Content-Length [00:09:14]Host: 172.17.52.132:8080 [00:09:14]Content-Length: 265 [00:09:14]Content-Type: application/json [00:09:14] [00:09:14]POST finish read [00:09:14]Found Content-Length = 265 [00:09:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041D\u0443\u0440\u0430\u043B\u0438\u0435\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:14]execute_script... [00:09:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041D\u0443\u0440\u0430\u043B\u0438\u0435\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:14]POST & json_proto [00:09:14]process_json_proto [00:09:14]json parsed OK: [00:09:14]protocol is kg_v1.0 [00:09:14]action value=open_shift [00:09:14]process_action open_shift [00:09:14]cmd_open_shift [00:09:14]MH_GetDate [00:09:14]Write to MH i2c: F0 00 00 D0 01 C0 [00:09:14]Write i2c OK [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: F0 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: F0 09 00 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: F0 09 00 D0 01 00 AB 9B 15 67 5A BE F6 66 FF [00:09:14]GetLastDocTimeStamp 1729468853 [00:09:14]current date 1729469355 [00:09:14]FM_GetShiftState [00:09:14]SAM_PROTO_GetShiftState [00:09:14]wFMCommunicate request_size=4 [00:09:14]MH_SAM_APDU [00:09:14]CAPDU: 80 13 01 00 [00:09:14]Write to MH i2c: E2 08 00 D1 01 80 13 01 00 00 00 00 00 4F [00:09:14]Write i2c OK [00:09:14]MH_I2C_Read... [00:09:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:14]Read from MH i2c: E2 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 0E 00 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 0E 00 D1 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5A [00:09:14]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:14]wFMCommunicate OK [00:09:14]SAM_PROTO_GetShiftState done [00:09:14]FM_GetShiftState done [00:09:14]KKMCreateOpenShiftDocument [00:09:14]Load OK [00:09:14]Malloc new data [00:09:14]MH_GetDate [00:09:14]Write to MH i2c: F0 00 00 D2 01 C2 [00:09:14]Write i2c OK [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: F0 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: F0 09 00 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: F0 09 00 D2 01 00 AB 9B 15 67 5A BE F6 66 01 [00:09:14]Malloc new data [00:09:14]KKMCreateOpenShiftDocument OK [00:09:14]KKMSetOpenShiftData OK [00:09:14]ProcessDocumentItem done err = 0, tmpTLVsize=208 [00:09:14]tlvbuf is 00BB2750 [00:09:14]KKMLoadAndSignOpenShiftData [00:09:14]SAM_PROTO_ProcessDocument [00:09:14]wFMCommunicate request_size=9 [00:09:14]MH_SAM_APDU [00:09:14]CAPDU: 80 15 01 00 04 02 00 D0 00 [00:09:14]Write to MH i2c: E2 0C 00 D3 01 80 15 01 00 04 00 02 00 D0 00 00 00 2D [00:09:14]Write i2c OK [00:09:14]MH_I2C_Read... [00:09:14]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:09:14]Read from MH i2c: E2 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 03 00 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 03 00 D3 01 00 90 00 48 [00:09:14]RAPDU: 90 00 [00:09:14]wFMCommunicate OK [00:09:14]wFMCommunicate request_size=23 [00:09:14]MH_SAM_APDU [00:09:14]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:14]Write to MH i2c: E2 1A 00 D4 01 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 4A [00:09:14]Write i2c OK [00:09:14]MH_I2C_Read... [00:09:14]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:14]Read from MH i2c: E2 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 03 00 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 03 00 D4 01 00 90 00 49 [00:09:14]RAPDU: 90 00 [00:09:14]wFMCommunicate OK [00:09:14]wFMCommunicate request_size=32 [00:09:14]MH_SAM_APDU [00:09:14]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 9D D1 83 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 [00:09:14]Write to MH i2c: E2 23 00 D5 01 80 15 02 00 1B 00 FD 03 17 00 D0 9D D1 83 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 00 00 AA [00:09:14]Write i2c OK [00:09:14]MH_I2C_Read... [00:09:14]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:14]Read from MH i2c: E2 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 03 00 [00:09:14]MH_I2C_Read... [00:09:14]Read from MH i2c: E2 03 00 D5 01 00 90 00 4A [00:09:14]RAPDU: 90 00 [00:09:14]wFMCommunicate OK [00:09:14]wFMCommunicate request_size=94 [00:09:14]MH_SAM_APDU [00:09:14]CAPDU: 80 15 02 00 59 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 [00:09:14]Write to MH i2c: E2 61 00 D6 01 80 15 02 00 59 00 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 00 00 18 [00:09:14]Write i2c OK [00:09:14]MH_I2C_Read... [00:09:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:15]Read from MH i2c: E2 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 03 00 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 03 00 D6 01 00 90 00 4B [00:09:15]RAPDU: 90 00 [00:09:15]wFMCommunicate OK [00:09:15]wFMCommunicate request_size=51 [00:09:15]MH_SAM_APDU [00:09:15]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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:15]Write to MH i2c: E2 36 00 D7 01 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 03 [00:09:15]Write i2c OK [00:09:15]MH_I2C_Read... [00:09:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:15]Read from MH i2c: E2 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 03 00 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 03 00 D7 01 00 90 00 4C [00:09:15]RAPDU: 90 00 [00:09:15]wFMCommunicate OK [00:09:15]wFMCommunicate request_size=13 [00:09:15]MH_SAM_APDU [00:09:15]CAPDU: 80 15 02 00 08 F4 03 04 00 AB 9B 15 67 [00:09:15]Write to MH i2c: E2 10 00 D8 01 80 15 02 00 08 00 F4 03 04 00 AB 9B 15 67 00 00 26 [00:09:15]Write i2c OK [00:09:15]MH_I2C_Read... [00:09:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:15]Read from MH i2c: E2 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 03 00 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 03 00 D8 01 00 90 00 4D [00:09:15]RAPDU: 90 00 [00:09:15]wFMCommunicate OK [00:09:15]wFMCommunicate request_size=25 [00:09:15]MH_SAM_APDU [00:09:15]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 [00:09:15]Write to MH i2c: E2 1C 00 D9 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 00 00 BC [00:09:15]Write i2c OK [00:09:15]MH_I2C_Read... [00:09:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:15]Read from MH i2c: E2 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 03 00 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 03 00 D9 01 00 90 00 4E [00:09:15]RAPDU: 90 00 [00:09:15]wFMCommunicate OK [00:09:15]wFMCommunicate request_size=4 [00:09:15]MH_SAM_APDU [00:09:15]CAPDU: 80 15 03 00 [00:09:15]Write to MH i2c: E2 08 00 DA 01 80 15 03 00 00 00 00 00 5C [00:09:15]Write i2c OK [00:09:15]MH_I2C_Read... [00:09:15]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:09:15]Read from MH i2c: E2 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 38 00 [00:09:15]MH_I2C_Read... [00:09:15]Read from MH i2c: E2 38 00 DA 01 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 94 0A 00 00 0E 04 04 00 19 00 00 00 35 04 06 00 39 E6 17 A2 21 23 90 00 F0 [00:09:15]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 94 0A 00 00 0E 04 04 00 19 00 00 00 35 04 06 00 39 E6 17 A2 21 23 90 00 [00:09:15]wFMCommunicate OK [00:09:15]SAM_PROTO_ProcessDocument answer len = 51 [00:09:15]SAM_PROTO_ProcessDocument done [00:09:15]SetTLVBufToDocument [00:09:15]Processing tag 1209 (04B9) [00:09:15]Malloc new data [00:09:15]Processing tag 1041 (0411) [00:09:15]Processing tag 1040 (0410) [00:09:15]Malloc new data [00:09:15]Processing tag 1038 (040E) [00:09:15]Malloc new data [00:09:15]Processing tag 1077 (0435) [00:09:15]Malloc new data [00:09:15]SetTLVBufToDocument err=0 [00:09:15]KKMLoadAndSignOpenShiftData store KKM data [00:09:15]KKMLoadAndSignOpenShiftData err=0 [00:09:15]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Нуралиева Н. Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 Место: АЗС № 162 "Партнер Нефть" 21.10.2024 00:09 Смена: 25 РНМ: 0000000000207295 ЗНМ: 0300000191 ФД: 2708 ФМ: 0000000002342820 ФПД: 63660401762595 [00:09:15]StoreToDocumentArchive [00:09:15]shift 25 fd 2708 [00:09:15]Create dir for shift 0025 [00:09:15]save to /storage/0025/doc_00002708 [00:09:15]save last doc name /storage/0025/doc_00002708 to /storage/kkm_last_doc_name [00:09:15]save OK [00:09:15]Clear old archive folders... [00:09:15]Remove dir /storage/0024 [00:09:15]opendir ok [00:09:15]file . [00:09:15]file .. [00:09:15]file doc_00002619 [00:09:15]remove file /storage/0024/doc_00002619 [00:09:15]file doc_00002620 [00:09:15]remove file /storage/0024/doc_00002620 [00:09:15]file doc_00002621 [00:09:15]remove file /storage/0024/doc_00002621 [00:09:15]file doc_00002622 [00:09:15]remove file /storage/0024/doc_00002622 [00:09:15]file doc_00002623 [00:09:15]remove file /storage/0024/doc_00002623 [00:09:15]file doc_00002624 [00:09:15]remove file /storage/0024/doc_00002624 [00:09:15]file doc_00002625 [00:09:15]remove file /storage/0024/doc_00002625 [00:09:15]file doc_00002626 [00:09:15]remove file /storage/0024/doc_00002626 [00:09:15]file doc_00002627 [00:09:15]remove file /storage/0024/doc_00002627 [00:09:15]file doc_00002628 [00:09:15]remove file /storage/0024/doc_00002628 [00:09:15]file doc_00002629 [00:09:15]remove file /storage/0024/doc_00002629 [00:09:15]file doc_00002630 [00:09:15]remove file /storage/0024/doc_00002630 [00:09:15]file doc_00002631 [00:09:15]remove file /storage/0024/doc_00002631 [00:09:15]file doc_00002632 [00:09:15]remove file /storage/0024/doc_00002632 [00:09:15]file doc_00002633 [00:09:15]remove file /storage/0024/doc_00002633 [00:09:15]file doc_00002634 [00:09:15]remove file /storage/0024/doc_00002634 [00:09:15]file doc_00002635 [00:09:15]remove file /storage/0024/doc_00002635 [00:09:15]file doc_00002636 [00:09:15]remove file /storage/0024/doc_00002636 [00:09:15]file doc_00002637 [00:09:15]remove file /storage/0024/doc_00002637 [00:09:15]file doc_00002638 [00:09:15]remove file /storage/0024/doc_00002638 [00:09:15]file doc_00002639 [00:09:15]remove file /storage/0024/doc_00002639 [00:09:15]file doc_00002640 [00:09:15]remove file /storage/0024/doc_00002640 [00:09:15]file doc_00002641 [00:09:15]remove file /storage/0024/doc_00002641 [00:09:15]file doc_00002642 [00:09:15]remove file /storage/0024/doc_00002642 [00:09:15]file doc_00002643 [00:09:15]remove file /storage/0024/doc_00002643 [00:09:15]file doc_00002644 [00:09:15]remove file /storage/0024/doc_00002644 [00:09:15]file doc_00002645 [00:09:15]remove file /storage/0024/doc_00002645 [00:09:15]file doc_00002646 [00:09:15]remove file /storage/0024/doc_00002646 [00:09:15]file doc_00002647 [00:09:15]remove file /storage/0024/doc_00002647 [00:09:15]file doc_00002648 [00:09:15]remove file /storage/0024/doc_00002648 [00:09:15]file doc_00002649 [00:09:15]remove file /storage/0024/doc_00002649 [00:09:15]file doc_00002650 [00:09:15]remove file /storage/0024/doc_00002650 [00:09:15]file doc_00002651 [00:09:15]remove file /storage/0024/doc_00002651 [00:09:15]file doc_00002652 [00:09:15]remove file /storage/0024/doc_00002652 [00:09:15]file doc_00002653 [00:09:15]remove file /storage/0024/doc_00002653 [00:09:15]file doc_00002654 [00:09:15]remove file /storage/0024/doc_00002654 [00:09:15]file doc_00002655 [00:09:15]remove file /storage/0024/doc_00002655 [00:09:15]file doc_00002656 [00:09:15]remove file /storage/0024/doc_00002656 [00:09:15]file doc_00002657 [00:09:15]remove file /storage/0024/doc_00002657 [00:09:15]file doc_00002658 [00:09:15]remove file /storage/0024/doc_00002658 [00:09:15]file doc_00002659 [00:09:15]remove file /storage/0024/doc_00002659 [00:09:15]file doc_00002660 [00:09:15]remove file /storage/0024/doc_00002660 [00:09:15]file doc_00002661 [00:09:15]remove file /storage/0024/doc_00002661 [00:09:15]file doc_00002662 [00:09:15]remove file /storage/0024/doc_00002662 [00:09:15]file doc_00002663 [00:09:15]remove file /storage/0024/doc_00002663 [00:09:15]file doc_00002664 [00:09:15]remove file /storage/0024/doc_00002664 [00:09:15]file doc_00002665 [00:09:15]remove file /storage/0024/doc_00002665 [00:09:15]file doc_00002666 [00:09:15]remove file /storage/0024/doc_00002666 [00:09:15]file doc_00002667 [00:09:15]remove file /storage/0024/doc_00002667 [00:09:15]file doc_00002668 [00:09:15]remove file /storage/0024/doc_00002668 [00:09:15]file doc_00002669 [00:09:15]remove file /storage/0024/doc_00002669 [00:09:15]file doc_00002670 [00:09:15]remove file /storage/0024/doc_00002670 [00:09:15]file doc_00002671 [00:09:15]remove file /storage/0024/doc_00002671 [00:09:15]file doc_00002672 [00:09:15]remove file /storage/0024/doc_00002672 [00:09:15]file doc_00002673 [00:09:15]remove file /storage/0024/doc_00002673 [00:09:15]file doc_00002674 [00:09:15]remove file /storage/0024/doc_00002674 [00:09:15]file doc_00002675 [00:09:15]remove file /storage/0024/doc_00002675 [00:09:15]file doc_00002676 [00:09:15]remove file /storage/0024/doc_00002676 [00:09:15]file doc_00002677 [00:09:15]remove file /storage/0024/doc_00002677 [00:09:15]file doc_00002678 [00:09:15]remove file /storage/0024/doc_00002678 [00:09:15]file doc_00002679 [00:09:15]remove file /storage/0024/doc_00002679 [00:09:15]file doc_00002680 [00:09:15]remove file /storage/0024/doc_00002680 [00:09:15]file doc_00002681 [00:09:15]remove file /storage/0024/doc_00002681 [00:09:15]file doc_00002682 [00:09:15]remove file /storage/0024/doc_00002682 [00:09:15]file doc_00002683 [00:09:15]remove file /storage/0024/doc_00002683 [00:09:15]file doc_00002684 [00:09:15]remove file /storage/0024/doc_00002684 [00:09:15]file doc_00002685 [00:09:15]remove file /storage/0024/doc_00002685 [00:09:15]file doc_00002686 [00:09:15]remove file /storage/0024/doc_00002686 [00:09:15]file doc_00002687 [00:09:15]remove file /storage/0024/doc_00002687 [00:09:15]file doc_00002688 [00:09:15]remove file /storage/0024/doc_00002688 [00:09:15]file doc_00002689 [00:09:15]remove file /storage/0024/doc_00002689 [00:09:15]file doc_00002690 [00:09:15]remove file /storage/0024/doc_00002690 [00:09:15]file doc_00002691 [00:09:15]remove file /storage/0024/doc_00002691 [00:09:15]file doc_00002692 [00:09:15]remove file /storage/0024/doc_00002692 [00:09:15]file doc_00002693 [00:09:15]remove file /storage/0024/doc_00002693 [00:09:15]file doc_00002694 [00:09:15]remove file /storage/0024/doc_00002694 [00:09:15]file doc_00002695 [00:09:15]remove file /storage/0024/doc_00002695 [00:09:15]file doc_00002696 [00:09:16]remove file /storage/0024/doc_00002696 [00:09:16]file doc_00002697 [00:09:16]remove file /storage/0024/doc_00002697 [00:09:16]file doc_00002698 [00:09:16]remove file /storage/0024/doc_00002698 [00:09:16]file doc_00002699 [00:09:16]remove file /storage/0024/doc_00002699 [00:09:16]file doc_00002700 [00:09:16]remove file /storage/0024/doc_00002700 [00:09:16]file doc_00002701 [00:09:16]remove file /storage/0024/doc_00002701 [00:09:16]file doc_00002702 [00:09:16]remove file /storage/0024/doc_00002702 [00:09:16]file doc_00002703 [00:09:16]remove file /storage/0024/doc_00002703 [00:09:16]file doc_00002705 [00:09:16]remove file /storage/0024/doc_00002705 [00:09:16]file doc_00002706 [00:09:16]remove file /storage/0024/doc_00002706 [00:09:16]file doc_00002707 [00:09:16]remove file /storage/0024/doc_00002707 [00:09:16]remove dir /storage/0024 [00:09:16]ProcessDocumentItem done err = 0, tmpTLVsize=259 [00:09:16]tlvbuf is B6EC8130 [00:09:16]SAM_PROTO_ClearQueue [00:09:16]wFMCommunicate request_size=4 [00:09:16]MH_SAM_APDU [00:09:16]CAPDU: 80 09 00 00 [00:09:16]Write to MH i2c: E2 08 00 DB 01 80 09 00 00 00 00 00 00 4E [00:09:16]Write i2c OK [00:09:16]MH_I2C_Read... [00:09:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:09:16]Read from MH i2c: E2 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 03 00 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 03 00 DB 01 00 90 00 50 [00:09:16]RAPDU: 90 00 [00:09:16]wFMCommunicate OK [00:09:16]SAM_PROTO_ClearQueue done [00:09:16]KKMCreateOFDPacket [00:09:16]OFDProtocolAddRootSTLVToBuf [00:09:16]FM_MakeSignedData [00:09:16]FM_MakeSignedData [00:09:16]SAM_PROTO_SignData [00:09:16]wFMCommunicate request_size=4 [00:09:16]MH_SAM_APDU [00:09:16]CAPDU: 80 0D 01 02 [00:09:16]Write to MH i2c: E2 08 00 DC 01 80 0D 01 02 00 00 00 00 56 [00:09:16]Write i2c OK [00:09:16]MH_I2C_Read... [00:09:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:09:16]Read from MH i2c: E2 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 03 00 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 03 00 DC 01 00 90 00 51 [00:09:16]RAPDU: 90 00 [00:09:16]wFMCommunicate OK [00:09:16]wFMCommunicate request_size=255 [00:09:16]MH_SAM_APDU [00:09:16]CAPDU: 80 0D 02 02 FA 02 00 03 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 17 00 D0 9D D1 83 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 AB 9B 15 67 0E 04 04 00 19 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 94 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 [00:09:16]Write to MH i2c: E2 02 01 DD 01 80 0D 02 02 FA 00 02 00 03 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 17 00 D0 9D D1 83 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 AB 9B 15 67 0E 04 04 00 19 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 94 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 00 00 DB [00:09:16]Write i2c OK [00:09:16]MH_I2C_Read... [00:09:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:16]Read from MH i2c: E2 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 03 00 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 03 00 DD 01 00 90 00 52 [00:09:16]RAPDU: 90 00 [00:09:16]wFMCommunicate OK [00:09:16]wFMCommunicate request_size=18 [00:09:16]MH_SAM_APDU [00:09:16]CAPDU: 80 0D 02 02 0D 38 32 30 35 04 06 00 39 E6 17 A2 21 23 [00:09:16]Write to MH i2c: E2 15 00 DE 01 80 0D 02 02 0D 00 38 32 30 35 04 06 00 39 E6 17 A2 21 23 00 00 68 [00:09:16]Write i2c OK [00:09:16]MH_I2C_Read... [00:09:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:16]Read from MH i2c: E2 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 03 00 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 03 00 DE 01 00 90 00 53 [00:09:16]RAPDU: 90 00 [00:09:16]wFMCommunicate OK [00:09:16]wFMCommunicate request_size=4 [00:09:16]MH_SAM_APDU [00:09:16]CAPDU: 80 0D 03 02 [00:09:16]Write to MH i2c: E2 08 00 DF 01 80 0D 03 02 00 00 00 00 5B [00:09:16]Write i2c OK [00:09:16]MH_I2C_Read... [00:09:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:09:16]Read from MH i2c: E2 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 0B 00 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 0B 00 DF 01 00 A9 AA 1F 39 CB 88 42 C9 90 00 65 [00:09:16]RAPDU: A9 AA 1F 39 CB 88 42 C9 90 00 [00:09:16]wFMCommunicate OK [00:09:16]SAM_PROTO_SignData done [00:09:16]FM_MakeSignedData done [00:09:16]CreateOFDProtocolMessage [00:09:16]wFMCommunicate request_size=4 [00:09:16]MH_SAM_APDU [00:09:16]CAPDU: 80 11 00 00 [00:09:16]Write to MH i2c: E2 08 00 E0 01 80 11 00 00 00 00 00 00 5B [00:09:16]Write i2c OK [00:09:16]MH_I2C_Read... [00:09:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:16]Read from MH i2c: E2 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 17 00 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: E2 17 00 E0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A3 [00:09:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:09:16]wFMCommunicate OK [00:09:16]CreateOFDProtocolMessage done [00:09:16]OFDSenderStorePacket 2708 [00:09:16]StoreOFDPacket docnum=2708 [00:09:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 17 01 00 00 5B 06 0F 01 49 21 5A 02 01 00 02 00 03 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 17 00 D0 9D D1 83 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 AB 9B 15 67 0E 04 04 00 19 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 94 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 39 E6 17 A2 21 23 A9 AA 1F 39 CB 88 42 C9 [00:09:16]CheckFolder [00:09:16]dirname=/storage/ofd_packets [00:09:16]CheckFolder done [00:09:16]ProducePacketName [00:09:16]name=ofd_packets/00002708 [00:09:16]NVStorageSaveData ofd_packets/00002708 [00:09:16]File name is /storage/ofd_packets/00002708 [00:09:16]Write 309 bytes [00:09:16]NVStorageSaveData done [00:09:16]OFDSenderStorePacket done [00:09:16]KKMCreateOFDPacket done [00:09:16]NVStorageSaveData kkm_last_timestamp [00:09:16]File name is /storage/kkm_last_timestamp [00:09:16]Write 4 bytes [00:09:16]NVStorageSaveData done [00:09:16]ExternCall_PrintAddStr [00:09:16]wPrintStart [00:09:16]Write to MH i2c: 01 00 00 E1 01 E2 [00:09:16]Write i2c OK [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: 01 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: 01 07 00 [00:09:16]MH_I2C_Read... [00:09:16]Read from MH i2c: 01 07 00 E1 01 00 00 00 00 00 FF 0F F7 [00:09:16]RasterBufferAndPrint [00:09:16]line Отчет об открытии смены [00:09:16]line ФФД: 1.0 [00:09:16]line ИНН: 02508201610067 [00:09:16]line Кассир: Нуралиева Н. [00:09:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [00:09:16]line Место: АЗС № 162 "Партнер Нефть" [00:09:16]line 21.10.2024 00:09 [00:09:16]line Смена: 25 [00:09:16]line РНМ: 0000000000207295 [00:09:16]line ЗНМ: 0300000191 [00:09:16]line ФД: 2708 [00:09:16]line ФМ: 0000000002342820 [00:09:16]line ФПД: 63660401762595 [00:09:16]written 0, free lines is 4095 [00:09:16]OFD Sender: Processing packet 2708 [packets to send 1, broken 0] [00:09:16]ProducePacketName [00:09:16]name=ofd_packets/00002708 [00:09:16]OFD Sender: To server: pG, [00:09:16]CommunicateWithHost lk.salyk.kg:30040 [00:09:16]ConnectInit lk.salyk.kg [00:09:16]Connected sock=10 [00:09:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 17 01 00 00 5B 06 0F 01 49 21 5A 02 01 00 02 00 03 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 17 00 D0 9D D1 83 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 AB 9B 15 67 0E 04 04 00 19 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 94 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 39 E6 17 A2 21 23 A9 AA 1F 39 CB 88 42 C9 [00:09:17]Write to MH i2c: 01 00 00 F3 01 F4 [00:09:17]Write i2c OK [00:09:17]MH_I2C_Read... [00:09:17]Read from MH i2c: 01 [00:09:17]MH_I2C_Read... [00:09:17]Read from MH i2c: 01 07 00 [00:09:17]MH_I2C_Read... [00:09:17]Read from MH i2c: 01 07 00 F3 01 00 00 00 00 00 9A 0E A3 [00:09:17]RasterBufferAndPrint [00:09:17]line [00:09:17]line [00:09:17]line [00:09:17]line [00:09:17]line [00:09:17]written 0, free lines is 3752 [00:09:17]MH_Cut [00:09:17]Write to MH i2c: D1 01 00 FA 01 01 CD [00:09:17]Write i2c OK [00:09:17]MH_I2C_Read... [00:09:17]Read from MH i2c: D1 [00:09:17]MH_I2C_Read... [00:09:17]Read from MH i2c: D1 01 00 [00:09:17]MH_I2C_Read... [00:09:17]Read from MH i2c: D1 01 00 FA 01 00 CC [00:09:17]Write to MH i2c: 01 00 00 FB 01 FC [00:09:17]Write i2c OK [00:09:17]MH_I2C_Read... [00:09:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 6F 8C 47 00 80 57 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 33 34 32 38 32 30 10 04 04 00 94 0A 00 00 F4 03 04 00 07 47 15 67 B6 04 01 00 00 67 8F 95 89 7C AE 52 F1 [00:09:17]CommunicateWithHost err = 0 [00:09:17]CheckOFDResponse [00:09:17]1017 (14) - 77093643461234 [00:09:17]1041 (16) - 0000000002342820 [00:09:17]1040 (4) - 2708 [00:09:17]1012 (4) - 20.10.2024 18:08 [00:09:17]1206 (1) - 0 [00:09:17]OFD Sender: Remove packet 2708 [00:09:17]ProducePacketName [00:09:17]name=ofd_packets/00002708 [00:09:17]NVStorageDeleteData [00:09:17]*** Cut start [00:09:17]*** Partial cut [00:09:17]*** CUTSNS_PIN = 1 [00:09:17]*** CUTSNS_PIN = 0 [00:09:17]OFD Sender: No OFD packet to send [00:09:17]*** Brake cut motor [00:09:18]Read from MH i2c: 01 [00:09:18]MH_I2C_Read... [00:09:18]*** Stop cut motor [00:09:18]*** Cut end [00:09:18]Read from MH i2c: 01 07 00 [00:09:18]MH_I2C_Read... [00:09:18]Read from MH i2c: 01 07 00 FB 01 00 00 00 00 00 FF 0F 11 [00:09:18]process_action open_shift done [00:09:18]requested_data is exist [00:09:18]produce_requested_data [00:09:18]requested_item fd.num is exist - process it [00:09:18]SAM_PROTO_GetFieldsCounters [00:09:18]wFMCommunicate request_size=4 [00:09:18]MH_SAM_APDU [00:09:18]CAPDU: 80 13 00 00 [00:09:18]Write to MH i2c: E2 08 00 FC 01 80 13 00 00 00 00 00 00 79 [00:09:18]Write i2c OK [00:09:18]MH_I2C_Read... [00:09:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:18]Read from MH i2c: E2 [00:09:18]MH_I2C_Read... [00:09:18]Read from MH i2c: E2 62 00 [00:09:18]MH_I2C_Read... [00:09:18]Read from MH i2c: E2 62 00 FC 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 94 0A 00 00 0E 04 04 00 19 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 46 [00:09:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 94 0A 00 00 0E 04 04 00 19 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:18]wFMCommunicate OK [00:09:18]SAM_PROTO_GetFieldsCounters done [00:09:18]requested_item shift.num is exist - process it [00:09:18]requested_item shift.opened is exist - process it [00:09:18]req_shift_opened [00:09:18]FM_GetShiftState [00:09:18]SAM_PROTO_GetShiftState [00:09:18]wFMCommunicate request_size=4 [00:09:18]MH_SAM_APDU [00:09:18]CAPDU: 80 13 01 00 [00:09:18]Write to MH i2c: E2 08 00 FD 01 80 13 01 00 00 00 00 00 7B [00:09:18]Write i2c OK [00:09:18]MH_I2C_Read... [00:09:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:18]Read from MH i2c: E2 [00:09:18]MH_I2C_Read... [00:09:18]Read from MH i2c: E2 0E 00 [00:09:18]MH_I2C_Read... [00:09:18]Read from MH i2c: E2 0E 00 FD 01 00 09 00 01 AB 9B 15 67 00 00 00 00 90 00 49 [00:09:18]RAPDU: 09 00 01 AB 9B 15 67 00 00 00 00 90 00 [00:09:18]wFMCommunicate OK [00:09:18]SAM_PROTO_GetShiftState done [00:09:18]FM_GetShiftState done [00:09:18]req_shift_opened done [00:09:18]requested_item shift.open_date is exist - process it [00:09:18]req_shift_open_date [00:09:18]req_shift_open_date done [00:09:18]produce_requested_data done [00:09:18]produce_requested_data return {"fd.num":2708,"shift.num":25,"shift.opened":1,"shift.open_date":1729469355} [00:09:18]process_action_free open_shift [00:09:18]json_value_free [00:09:18]json_value_free done [00:09:18]process_json_proto returns [00:09:18]Send response to host [00:09:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2708,"shift.num":25,"shift.opened":1,"shift.open_date":1729469355}}} [00:09:18]free response buf [00:09:18]execute_script done [00:09:18]execute_script returns [00:09:18]free content buf [00:09:18]Sock 8.Close socket [00:09:18]Sock 8.Thread stoped [00:09:18]accept exits with 9 [00:09:18]New connection [00:09:18]New thread 3066940772 created [00:09:18]Thread 3067084132 joined [00:09:18]Waiting for new connection... [00:09:18] Sock 9.Parse request [00:09:18]Sock 9.Check first char [00:09:18]Sock 9.First char is OK [00:09:18]request: POST /json_proto HTTP/1.0 [00:09:18]Method: POST [00:09:18]URL: /json_proto [00:09:18]Method is POST - this is cgi request [00:09:18]url: /json_proto [00:09:18]query_string will be loaded in cgi processing [00:09:18]execute_cgi json_proto POST (null) [00:09:18]execute_cgi path=json_proto method=POST [00:09:18]POST find Content-Length [00:09:18]Host: 172.17.52.132:8080 [00:09:18]Content-Length: 331 [00:09:18]Content-Type: application/json [00:09:18] [00:09:18]POST finish read [00:09:18]Found Content-Length = 331 [00:09: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" ] } } [00:09:18]execute_script... [00:09: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" ] } } [00:09:18]POST & json_proto [00:09:18]process_json_proto [00:09:18]json parsed OK: [00:09:18]protocol is kg_v1.0 [00:09:18]action value=get_value [00:09:18]process_action get_value [00:09:18]cmd_get_value [00:09:18]process_action get_value done [00:09:18]requested_data is exist [00:09:18]produce_requested_data [00:09:18]requested_item fm.sale.total is exist - process it [00:09:18]SAM_PROTO_GetFMData [00:09:18]wFMCommunicate request_size=4 [00:09:18]MH_SAM_APDU [00:09:18]CAPDU: 80 13 03 00 [00:09:18]Write to MH i2c: E2 08 00 FE 01 80 13 03 00 00 00 00 00 7E [00:09:18]Write i2c OK [00:09:18]MH_I2C_Read... [00:09:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:18]Read from MH i2c: E2 [00:09:18]MH_I2C_Read... [00:09:18]Read from MH i2c: E2 FD 00 [00:09:18]MH_I2C_Read... [00:09:18]Read from MH i2c: E2 FD 00 FE 01 00 BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 D3 [00:09:19]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 62 0A 00 00 69 04 9F 00 6F 04 04 00 59 0A 00 00 B1 04 04 00 69 92 4F 05 70 04 04 00 10 14 E7 03 72 04 04 00 59 7E 68 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1B 63 90 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 44 07 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 19 02 70 04 03 00 98 E3 01 72 04 02 00 E8 35 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 14 39 EF 03 09 00 F6 03 01 00 00 90 00 [00:09:19]wFMCommunicate OK [00:09:19]wFMCommunicate request_size=4 [00:09:19]MH_SAM_APDU [00:09:19]CAPDU: 80 17 00 00 [00:09:19]Write to MH i2c: E2 08 00 FF 01 80 17 00 00 00 00 00 00 80 [00:09:19]Write i2c OK [00:09:19]MH_I2C_Read... [00:09:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:19]Read from MH i2c: E2 [00:09:19]MH_I2C_Read... [00:09:19]Read from MH i2c: E2 FD 00 [00:09:19]MH_I2C_Read... [00:09:19]Read from MH i2c: E2 FD 00 FF 01 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E5 [00:09:19]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:19]wFMCommunicate OK [00:09:19]wFMCommunicate request_size=4 [00:09:19]MH_SAM_APDU [00:09:19]CAPDU: 80 17 00 00 [00:09:19]Write to MH i2c: E2 08 00 00 02 80 17 00 00 00 00 00 00 82 [00:09:19]Write i2c OK [00:09:19]MH_I2C_Read... [00:09:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:19]Read from MH i2c: E2 [00:09:19]MH_I2C_Read... [00:09:19]Read from MH i2c: E2 FD 00 [00:09:19]MH_I2C_Read... [00:09:19]Read from MH i2c: E2 FD 00 00 02 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B4 [00:09:19]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:19]wFMCommunicate OK [00:09:19]wFMCommunicate request_size=4 [00:09:19]MH_SAM_APDU [00:09:19]CAPDU: 80 17 00 00 [00:09:19]Write to MH i2c: E2 08 00 01 02 80 17 00 00 00 00 00 00 83 [00:09:20]Write i2c OK [00:09:20]MH_I2C_Read... [00:09:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:20]Read from MH i2c: E2 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 FD 00 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 FD 00 01 02 00 04 F7 03 00 00 EF 03 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 90 00 FE [00:09:20]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:09:20]wFMCommunicate OK [00:09:20]wFMCommunicate request_size=4 [00:09:20]MH_SAM_APDU [00:09:20]CAPDU: 80 17 00 00 [00:09:20]Write to MH i2c: E2 08 00 02 02 80 17 00 00 00 00 00 00 84 [00:09:20]Write i2c OK [00:09:20]MH_I2C_Read... [00:09:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:09:20]Read from MH i2c: E2 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 DB 00 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 DB 00 02 02 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 66 [00:09:20]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:20]wFMCommunicate OK [00:09:20]SAM_PROTO_GetFMData done [00:09:20]requested_item fm.sale_refund.total is exist - process it [00:09:20]requested_item fm.buy.total is exist - process it [00:09:20]requested_item shift.sale.total is exist - process it [00:09:20]SAM_PROTO_GetShiftData [00:09:20]wFMCommunicate request_size=4 [00:09:20]MH_SAM_APDU [00:09:20]CAPDU: 80 13 02 00 [00:09:20]Write to MH i2c: E2 08 00 03 02 80 13 02 00 00 00 00 00 83 [00:09:20]Write i2c OK [00:09:20]MH_I2C_Read... [00:09:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:21]Read from MH i2c: E2 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 03 02 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 F6 [00:09:21]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:21]wFMCommunicate OK [00:09:21]wFMCommunicate request_size=4 [00:09:21]MH_SAM_APDU [00:09:21]CAPDU: 80 17 00 00 [00:09:21]Write to MH i2c: E2 08 00 04 02 80 17 00 00 00 00 00 00 86 [00:09:21]Write i2c OK [00:09:21]MH_I2C_Read... [00:09:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:21]Read from MH i2c: E2 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 04 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 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 8E [00:09:21]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:21]wFMCommunicate OK [00:09:21]wFMCommunicate request_size=4 [00:09:21]MH_SAM_APDU [00:09:21]CAPDU: 80 17 00 00 [00:09:21]Write to MH i2c: E2 08 00 05 02 80 17 00 00 00 00 00 00 87 [00:09:21]Write i2c OK [00:09:21]MH_I2C_Read... [00:09:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:22]Read from MH i2c: E2 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 05 02 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 59 [00:09:22]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:22]wFMCommunicate OK [00:09:22]wFMCommunicate request_size=4 [00:09:22]MH_SAM_APDU [00:09:22]CAPDU: 80 17 00 00 [00:09:22]Write to MH i2c: E2 08 00 06 02 80 17 00 00 00 00 00 00 88 [00:09:22]Write i2c OK [00:09:22]MH_I2C_Read... [00:09:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:22]Read from MH i2c: E2 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 06 02 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 FA [00:09:22]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:22]wFMCommunicate OK [00:09:22]wFMCommunicate request_size=4 [00:09:22]MH_SAM_APDU [00:09:22]CAPDU: 80 17 00 00 [00:09:22]Write to MH i2c: E2 08 00 07 02 80 17 00 00 00 00 00 00 89 [00:09:22]Write i2c OK [00:09:22]MH_I2C_Read... [00:09:22]OFD Sender: No OFD packet to send [00:09:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:09:23]Read from MH i2c: E2 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 BD 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 BD 00 07 02 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 6F [00:09:23]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:23]wFMCommunicate OK [00:09:23]SAM_PROTO_GetShiftData done [00:09:23]requested_item shift.sale.total_cash is exist - process it [00:09:23]requested_item shift.sale_refund.total is exist - process it [00:09:23]requested_item shift.sale_refund.total_cash is exist - process it [00:09:23]requested_item shift.buy.total is exist - process it [00:09:23]requested_item shift.buy.total_cash is exist - process it [00:09:23]produce_requested_data done [00:09:23]produce_requested_data return {"fm.sale.total":891009.05,"fm.sale_refund.total":1376.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:23]process_action_free get_value [00:09:23]json_value_free [00:09:23]json_value_free done [00:09:23]process_json_proto returns [00:09:23]Send response to host [00:09:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":891009.05,"fm.sale_refund.total":1376.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:23]free response buf [00:09:23]execute_script done [00:09:23]execute_script returns [00:09:23]free content buf [00:09:23]Sock 9.Close socket [00:09:23]Sock 9.Thread stoped [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:48]OFD Sender: No OFD packet to send [00:11:53]OFD Sender: No OFD packet to send [00:11:58]OFD Sender: No OFD packet to send [00:12:03]OFD Sender: No OFD packet to send [00:12:08]OFD Sender: No OFD packet to send [00:12:13]OFD Sender: No OFD packet to send [00:12:18]OFD Sender: No OFD packet to send [00:12:23]OFD Sender: No OFD packet to send [00:12:28]OFD Sender: No OFD packet to send [00:12:33]OFD Sender: No OFD packet to send [00:12:38]OFD Sender: No OFD packet to send [00:12:43]OFD Sender: No OFD packet to send [00:12:48]OFD Sender: No OFD packet to send [00:12:53]OFD Sender: No OFD packet to send [00:12:58]OFD Sender: No OFD packet to send [00:13:03]OFD Sender: No OFD packet to send [00:13:08]OFD Sender: No OFD packet to send [00:13:13]OFD Sender: No OFD packet to send [00:13:18]OFD Sender: No OFD packet to send [00:13:23]OFD Sender: No OFD packet to send [00:13:28]OFD Sender: No OFD packet to send [00:13:33]OFD Sender: No OFD packet to send [00:13:38]OFD Sender: No OFD packet to send [00:13:43]OFD Sender: No OFD packet to send [00:13:48]OFD Sender: No OFD packet to send [00:13:53]OFD Sender: No OFD packet to send [00:13:58]OFD Sender: No OFD packet to send [00:14:03]OFD Sender: No OFD packet to send [00:14:08]OFD Sender: No OFD packet to send [00:14:13]OFD Sender: No OFD packet to send [00:14:18]OFD Sender: No OFD packet to send [00:14:23]OFD Sender: No OFD packet to send [00:14:28]OFD Sender: No OFD packet to send [00:14:33]OFD Sender: No OFD packet to send [00:14:38]OFD Sender: No OFD packet to send [00:14:43]OFD Sender: No OFD packet to send [00:14:48]OFD Sender: No OFD packet to send [00:14:53]OFD Sender: No OFD packet to send [00:14:58]OFD Sender: No OFD packet to send [00:15:03]OFD Sender: No OFD packet to send [00:15:08]OFD Sender: No OFD packet to send [00:15:13]OFD Sender: No OFD packet to send [00:15:18]OFD Sender: No OFD packet to send [00:15:23]OFD Sender: No OFD packet to send [00:15:28]OFD Sender: No OFD packet to send [00:15:33]OFD Sender: No OFD packet to send [00:15:38]OFD Sender: No OFD packet to send [00:15:43]OFD Sender: No OFD packet to send [00:15:48]OFD Sender: No OFD packet to send [00:15:53]OFD Sender: No OFD packet to send [00:15:58]OFD Sender: No OFD packet to send [00:16:03]OFD Sender: No OFD packet to send [00:16:08]OFD Sender: No OFD packet to send [00:16:13]OFD Sender: No OFD packet to send [00:16:18]OFD Sender: No OFD packet to send [00:16:23]OFD Sender: No OFD packet to send [00:16:28]OFD Sender: No OFD packet to send [00:16:33]OFD Sender: No OFD packet to send [00:16:38]OFD Sender: No OFD packet to send [00:16:43]OFD Sender: No OFD packet to send [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:03]OFD Sender: No OFD packet to send [00:17:08]OFD Sender: No OFD packet to send [00:17:13]OFD Sender: No OFD packet to send [00:17:18]OFD Sender: No OFD packet to send [00:17:23]OFD Sender: No OFD packet to send [00:17:28]OFD Sender: No OFD packet to send [00:17:33]OFD Sender: No OFD packet to send [00:17:38]OFD Sender: No OFD packet to send [00:17:43]OFD Sender: No OFD packet to send [00:17:48]OFD Sender: No OFD packet to send [00:17:53]OFD Sender: No OFD packet to send [00:17:58]OFD Sender: No OFD packet to send [00:18:03]OFD Sender: No OFD packet to send [00:18:08]OFD Sender: No OFD packet to send [00:18:13]OFD Sender: No OFD packet to send [00:20:41]ConnectInit Can't connect to host [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:23]OFD Sender: No OFD packet to send [00:22:28]OFD Sender: No OFD packet to send [00:22:33]OFD Sender: No OFD packet to send [00:22:38]OFD Sender: No OFD packet to send [00:22:43]OFD Sender: No OFD packet to send [00:22:48]OFD Sender: No OFD packet to send [00:22:53]OFD Sender: No OFD packet to send [00:22:58]OFD Sender: No OFD packet to send [00:23:03]OFD Sender: No OFD packet to send [00:23:08]OFD Sender: No OFD packet to send [00:23:13]OFD Sender: No OFD packet to send [00:23:18]OFD Sender: No OFD packet to send [00:23:23]OFD Sender: No OFD packet to send [00:23:28]OFD Sender: No OFD packet to send [00:23:33]OFD Sender: No OFD packet to send [00:23:38]OFD Sender: No OFD packet to send [00:23:43]OFD Sender: No OFD packet to send [00:23:48]OFD Sender: No OFD packet to send [00:23:53]OFD Sender: No OFD packet to send [00:23:58]OFD Sender: No OFD packet to send [00:24:03]OFD Sender: No OFD packet to send [00:24:08]OFD Sender: No OFD packet to send [00:24:13]OFD Sender: No OFD packet to send [00:24:18]OFD Sender: No OFD packet to send [00:24:23]OFD Sender: No OFD packet to send [00:24:28]OFD Sender: No OFD packet to send [00:24:33]OFD Sender: No OFD packet to send [00:24:38]OFD Sender: No OFD packet to send [00:24:43]OFD Sender: No OFD packet to send [00:24:48]OFD Sender: No OFD packet to send [00:24:53]OFD Sender: No OFD packet to send [00:24:58]OFD Sender: No OFD packet to send [00:25:03]OFD Sender: No OFD packet to send [00:25:08]OFD Sender: No OFD packet to send [00:25:13]OFD Sender: No OFD packet to send [00:25:18]OFD Sender: No OFD packet to send [00:25:23]OFD Sender: No OFD packet to send [00:25:28]OFD Sender: No OFD packet to send [00:25:33]OFD Sender: No OFD packet to send [00:25:38]OFD Sender: No OFD packet to send [00:25:43]OFD Sender: No OFD packet to send [00:25:48]OFD Sender: No OFD packet to send [00:25:53]OFD Sender: No OFD packet to send [00:25:58]OFD Sender: No OFD packet to send [00:26:03]OFD Sender: No OFD packet to send [00:26:08]OFD Sender: No OFD packet to send [00:26:13]OFD Sender: No OFD packet to send [00:26:18]OFD Sender: No OFD packet to send [00:26:23]OFD Sender: No OFD packet to send [00:26:28]OFD Sender: No OFD packet to send [00:26:33]OFD Sender: No OFD packet to send [00:26:38]OFD Sender: No OFD packet to send [00:26:43]OFD Sender: No OFD packet to send [00:26:48]OFD Sender: No OFD packet to send [00:26:53]OFD Sender: No OFD packet to send [00:26:58]OFD Sender: No OFD packet to send [00:27:03]OFD Sender: No OFD packet to send [00:27:08]OFD Sender: No OFD packet to send [00:27:13]OFD Sender: No OFD packet to send [00:27:18]OFD Sender: No OFD packet to send [00:27:23]OFD Sender: No OFD packet to send [00:27:28]OFD Sender: No OFD packet to send [00:27:33]OFD Sender: No OFD packet to send [00:27:38]OFD Sender: No OFD packet to send [00:27:43]OFD Sender: No OFD packet to send [00:27:48]OFD Sender: No OFD packet to send [00:27:53]OFD Sender: No OFD packet to send [00:27:58]OFD Sender: No OFD packet to send [00:28:03]OFD Sender: No OFD packet to send [00:28:08]OFD Sender: No OFD packet to send [00:31:10]ConnectInit Can't connect to host [00:31:13]OFD Sender: No OFD packet to send [00:31:18]OFD Sender: No OFD packet to send [00:31:23]OFD Sender: No OFD packet to send [00:31:28]OFD Sender: No OFD packet to send [00:31:33]OFD Sender: No OFD packet to send [00:31:38]OFD Sender: No OFD packet to send [00:31:43]OFD Sender: No OFD packet to send [00:31:48]OFD Sender: No OFD packet to send [00:31:53]OFD Sender: No OFD packet to send [00:31:58]OFD Sender: No OFD packet to send [00:32:03]OFD Sender: No OFD packet to send [00:32:08]OFD Sender: No OFD packet to send [00:32:13]OFD Sender: No OFD packet to send [00:32:18]OFD Sender: No OFD packet to send [00:32:23]OFD Sender: No OFD packet to send [00:32:28]OFD Sender: No OFD packet to send [00:32:33]OFD Sender: No OFD packet to send [00:32:38]OFD Sender: No OFD packet to send [00:32:43]OFD Sender: No OFD packet to send [00:32:48]OFD Sender: No OFD packet to send [00:32:53]OFD Sender: No OFD packet to send [00:32:58]OFD Sender: No OFD packet to send [00:33:03]OFD Sender: No OFD packet to send [00:33:08]OFD Sender: No OFD packet to send [00:33:13]OFD Sender: No OFD packet to send [00:33:18]OFD Sender: No OFD packet to send [00:33:23]OFD Sender: No OFD packet to send [00:33:28]OFD Sender: No OFD packet to send [00:33:33]OFD Sender: No OFD packet to send [00:33:38]OFD Sender: No OFD packet to send [00:33:43]OFD Sender: No OFD packet to send [00:33:48]OFD Sender: No OFD packet to send [00:33:53]OFD Sender: No OFD packet to send [00:33:58]OFD Sender: No OFD packet to send [00:34:03]OFD Sender: No OFD packet to send [00:34:09]OFD Sender: No OFD packet to send [00:34:14]OFD Sender: No OFD packet to send [00:34:19]OFD Sender: No OFD packet to send [00:34:24]OFD Sender: No OFD packet to send [00:34:29]OFD Sender: No OFD packet to send [00:34:34]OFD Sender: No OFD packet to send [00:34:39]OFD Sender: No OFD packet to send [00:34:44]OFD Sender: No OFD packet to send [00:34:49]OFD Sender: No OFD packet to send [00:34:54]OFD Sender: No OFD packet to send [00:34:59]OFD Sender: No OFD packet to send [00:35:04]OFD Sender: No OFD packet to send [00:35:09]OFD Sender: No OFD packet to send [00:35:14]OFD Sender: No OFD packet to send [00:35:19]OFD Sender: No OFD packet to send [00:35:24]OFD Sender: No OFD packet to send [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:44]OFD Sender: No OFD packet to send [00:36:49]OFD Sender: No OFD packet to send [00:36:54]OFD Sender: No OFD packet to send [00:36:59]OFD Sender: No OFD packet to send [00:37:04]OFD Sender: No OFD packet to send [00:37:09]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]OFD Sender: No OFD packet to send [00:40:19]OFD Sender: No OFD packet to send [00:40:24]OFD Sender: No OFD packet to send [00:40:29]OFD Sender: No OFD packet to send [00:40:34]OFD Sender: No OFD packet to send [00:40:39]OFD Sender: No OFD packet to send [00:40:44]OFD Sender: No OFD packet to send [00:40:49]OFD Sender: No OFD packet to send [00:40:54]OFD Sender: No OFD packet to send [00:40:59]OFD Sender: No OFD packet to send [00:41:04]OFD Sender: No OFD packet to send [00:41:09]OFD Sender: No OFD packet to send [00:41:14]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [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:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]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]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:35]OFD Sender: No OFD packet to send [01:12:40]OFD Sender: No OFD packet to send [01:12:45]OFD Sender: No OFD packet to send [01:12:50]OFD Sender: No OFD packet to send [01:12:55]OFD Sender: No OFD packet to send [01:13:00]OFD Sender: No OFD packet to send [01:13:05]OFD Sender: No OFD packet to send [01:13:10]OFD Sender: No OFD packet to send [01:13:15]OFD Sender: No OFD packet to send [01:13:20]OFD Sender: No OFD packet to send [01:13:25]OFD Sender: No OFD packet to send [01:13:30]OFD Sender: No OFD packet to send [01:13:35]OFD Sender: No OFD packet to send [01:13:40]OFD Sender: No OFD packet to send [01:13:45]OFD Sender: No OFD packet to send [01:13:50]OFD Sender: No OFD packet to send [01:13:55]OFD Sender: No OFD packet to send [01:14:00]OFD Sender: No OFD packet to send [01:14:05]OFD Sender: No OFD packet to send [01:14:10]OFD Sender: No OFD packet to send [01:14:15]OFD Sender: No OFD packet to send [01:14:20]OFD Sender: No OFD packet to send [01:14:25]OFD Sender: No OFD packet to send [01:14:30]OFD Sender: No OFD packet to send [01:14:35]OFD Sender: No OFD packet to send [01:14:40]OFD Sender: No OFD packet to send [01:14:45]OFD Sender: No OFD packet to send [01:14:50]OFD Sender: No OFD packet to send [01:14:55]OFD Sender: No OFD packet to send [01:15:00]OFD Sender: No OFD packet to send [01:15:05]OFD Sender: No OFD packet to send [01:15:10]OFD Sender: No OFD packet to send [01:15:15]OFD Sender: No OFD packet to send [01:15:20]OFD Sender: No OFD packet to send [01:15:25]OFD Sender: No OFD packet to send [01:15:30]OFD Sender: No OFD packet to send [01:15:35]OFD Sender: No OFD packet to send [01:15:40]OFD Sender: No OFD packet to send [01:15:45]OFD Sender: No OFD packet to send [01:15:50]OFD Sender: No OFD packet to send [01:15:55]OFD Sender: No OFD packet to send [01:16:00]OFD Sender: No OFD packet to send [01:16:05]OFD Sender: No OFD packet to send [01:16:10]OFD Sender: No OFD packet to send [01:16:15]OFD Sender: No OFD packet to send [01:16:20]OFD Sender: No OFD packet to send [01:16:25]OFD Sender: No OFD packet to send [01:16:30]OFD Sender: No OFD packet to send [01:16:35]OFD Sender: No OFD packet to send [01:16:40]OFD Sender: No OFD packet to send [01:16:45]OFD Sender: No OFD packet to send [01:16:50]OFD Sender: No OFD packet to send [01:16:55]OFD Sender: No OFD packet to send [01:17:00]OFD Sender: No OFD packet to send [01:17:05]OFD Sender: No OFD packet to send [01:17:10]OFD Sender: No OFD packet to send [01:17:15]OFD Sender: No OFD packet to send [01:17:20]OFD Sender: No OFD packet to send [01:17:25]OFD Sender: No OFD packet to send [01:17:30]OFD Sender: No OFD packet to send [01:17:35]OFD Sender: No OFD packet to send [01:17:40]OFD Sender: No OFD packet to send [01:17:45]OFD Sender: No OFD packet to send [01:17:50]OFD Sender: No OFD packet to send [01:17:55]OFD Sender: No OFD packet to send [01:18:00]OFD Sender: No OFD packet to send [01:18:05]OFD Sender: No OFD packet to send [01:18:10]OFD Sender: No OFD packet to send [01:18:15]OFD Sender: No OFD packet to send [01:18:20]OFD Sender: No OFD packet to send [01:18:25]OFD Sender: No OFD packet to send [01:18:30]OFD Sender: No OFD packet to send [01:18:36]OFD Sender: No OFD packet to send [01:18:41]OFD Sender: No OFD packet to send [01:18:46]OFD Sender: No OFD packet to send [01:18:51]OFD Sender: No OFD packet to send [01:18:56]OFD Sender: No OFD packet to send [01:19:01]OFD Sender: No OFD packet to send [01:19:06]OFD Sender: No OFD packet to send [01:19:11]OFD Sender: No OFD packet to send [01:19:16]OFD Sender: No OFD packet to send [01:19:21]OFD Sender: No OFD packet to send [01:19:26]OFD Sender: No OFD packet to send [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:03]accept exits with 8 [01:20:03]New connection [01:20:03]New thread 3067084132 created [01:20:03]Thread 3066940772 joined [01:20:03]Waiting for new connection... [01:20:03] Sock 8.Parse request [01:20:03]Sock 8.Check first char [01:20:03]Sock 8.First char is OK [01:20:03]request: POST /json_proto HTTP/1.0 [01:20:03]Method: POST [01:20:03]URL: /json_proto [01:20:03]Method is POST - this is cgi request [01:20:03]url: /json_proto [01:20:03]query_string will be loaded in cgi processing [01:20:03]execute_cgi json_proto POST (null) [01:20:03]execute_cgi path=json_proto method=POST [01:20:03]POST find Content-Length [01:20:03]Host: 172.17.52.132:8080 [01:20:03]Content-Length: 622 [01:20:03]Content-Type: application/json [01:20:03] [01:20:03]POST finish read [01:20:03]Found Content-Length = 622 [01:20:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100085", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 150.00, "quantity" : 4.000, "sum" : 600.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 600.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:20:03]execute_script... [01:20:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100085", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 150.00, "quantity" : 4.000, "sum" : 600.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 600.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:20:03]POST & json_proto [01:20:03]process_json_proto [01:20:03]json parsed OK: [01:20:03]protocol is kg_v1.0 [01:20:03]action value=close_receipt [01:20:03]process_action close_receipt [01:20:03]cmd_close_receipt [01:20:03]MH_GetDate [01:20:03]Write to MH i2c: F0 00 00 08 02 F9 [01:20:03]Write i2c OK [01:20:03]MH_I2C_Read... [01:20:03]Read from MH i2c: F0 [01:20:03]MH_I2C_Read... [01:20:03]Read from MH i2c: F0 09 00 [01:20:03]MH_I2C_Read... [01:20:03]Read from MH i2c: F0 09 00 08 02 00 44 AC 15 67 5A BE F6 66 E2 [01:20:03]GetLastDocTimeStamp 1729469355 [01:20:03]current date 1729473604 [01:20:03]FM_GetShiftState [01:20:03]SAM_PROTO_GetShiftState [01:20:03]wFMCommunicate request_size=4 [01:20:03]MH_SAM_APDU [01:20:03]CAPDU: 80 13 01 00 [01:20:03]Write to MH i2c: E2 08 00 09 02 80 13 01 00 00 00 00 00 88 [01:20:03]Write i2c OK [01:20:03]MH_I2C_Read... [01:20:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:20:03]Read from MH i2c: E2 [01:20:03]MH_I2C_Read... [01:20:03]Read from MH i2c: E2 0E 00 [01:20:03]MH_I2C_Read... [01:20:03]Read from MH i2c: E2 0E 00 09 02 00 09 00 01 AB 9B 15 67 00 00 00 00 90 00 56 [01:20:03]RAPDU: 09 00 01 AB 9B 15 67 00 00 00 00 90 00 [01:20:03]wFMCommunicate OK [01:20:03]SAM_PROTO_GetShiftState done [01:20:03]FM_GetShiftState done [01:20:03]opened in 1729469355 [01:20:03]opened+sec_in_day 1729555755 [01:20:03]quantity*price = 60000 [01:20:03]sum+1 = 60001 [01:20:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 600.00 НСП 1% : 5.31 НДС 12% : 63.72 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 1 21.10.2024 01:20 Смена: 25 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2709 ФПД: 8649692883348 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T012004&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2709&fm=8649692883348&tin=02508201610067®Number=0000000000207295&sum=60000 0 [01:20:04]StoreToDocumentArchive [01:20:04]shift 25 fd 2709 [01:20:04]save to /storage/0025/doc_00002709 [01:20:04]save last doc name /storage/0025/doc_00002709 to /storage/kkm_last_doc_name [01:20:04]save OK [01:20:04]Clear old archive folders... [01:20:04]ProcessDocumentItem done err = 0, tmpTLVsize=274 [01:20:04]tlvbuf is 00C2E870 [01:20:04]SAM_PROTO_ClearQueue [01:20:04]wFMCommunicate request_size=4 [01:20:04]MH_SAM_APDU [01:20:04]CAPDU: 80 09 00 00 [01:20:04]Write to MH i2c: E2 08 00 16 02 80 09 00 00 00 00 00 00 8A [01:20:04]Write i2c OK [01:20:04]MH_I2C_Read... [01:20:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:20:04]Read from MH i2c: E2 [01:20:04]MH_I2C_Read... [01:20:04]Read from MH i2c: E2 03 00 [01:20:04]MH_I2C_Read... [01:20:04]Read from MH i2c: E2 03 00 16 02 00 90 00 8C [01:20:04]RAPDU: 90 00 [01:20:04]wFMCommunicate OK [01:20:04]SAM_PROTO_ClearQueue done [01:20:04]KKMCreateOFDPacket [01:20:04]OFDProtocolAddRootSTLVToBuf [01:20:04]FM_MakeSignedData [01:20:04]FM_MakeSignedData [01:20:04]SAM_PROTO_SignData [01:20:04]wFMCommunicate request_size=4 [01:20:04]MH_SAM_APDU [01:20:04]CAPDU: 80 0D 01 02 [01:20:04]Write to MH i2c: E2 08 00 17 02 80 0D 01 02 00 00 00 00 92 [01:20:04]Write i2c OK [01:20:04]MH_I2C_Read... [01:20:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:20:04]Read from MH i2c: E2 [01:20:04]MH_I2C_Read... [01:20:04]Read from MH i2c: E2 03 00 [01:20:04]MH_I2C_Read... [01:20:04]Read from MH i2c: E2 03 00 17 02 00 90 00 8D [01:20:04]RAPDU: 90 00 [01:20:04]wFMCommunicate OK [01:20:04]wFMCommunicate request_size=255 [01:20:04]MH_SAM_APDU [01:20:04]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 36 39 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 53 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 44 AC 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 [01:20:04]Write to MH i2c: E2 02 01 18 02 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 36 39 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 53 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 44 AC 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 00 00 3A [01:20:04]Write i2c OK [01:20:04]MH_I2C_Read... [01:20:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:20:04]Read from MH i2c: E2 [01:20:04]MH_I2C_Read... [01:20:04]Read from MH i2c: E2 03 00 [01:20:04]MH_I2C_Read... [01:20:04]Read from MH i2c: E2 03 00 18 02 00 90 00 8E [01:20:04]RAPDU: 90 00 [01:20:04]wFMCommunicate OK [01:20:04]wFMCommunicate request_size=33 [01:20:04]MH_SAM_APDU [01:20:04]CAPDU: 80 0D 02 02 1C 30 30 30 32 33 34 32 38 32 30 10 04 04 00 95 0A 00 00 35 04 06 00 07 DD E9 DF 29 94 [01:20:04]Write to MH i2c: E2 24 00 19 02 80 0D 02 02 1C 00 30 30 30 32 33 34 32 38 32 30 10 04 04 00 95 0A 00 00 35 04 06 00 07 DD E9 DF 29 94 00 00 21 [01:20:04]Write i2c OK [01:20:04]MH_I2C_Read... [01:20:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:20:05]Read from MH i2c: E2 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: E2 03 00 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: E2 03 00 19 02 00 90 00 8F [01:20:05]RAPDU: 90 00 [01:20:05]wFMCommunicate OK [01:20:05]wFMCommunicate request_size=4 [01:20:05]MH_SAM_APDU [01:20:05]CAPDU: 80 0D 03 02 [01:20:05]Write to MH i2c: E2 08 00 1A 02 80 0D 03 02 00 00 00 00 97 [01:20:05]Write i2c OK [01:20:05]MH_I2C_Read... [01:20:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:20:05]Read from MH i2c: E2 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: E2 0B 00 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: E2 0B 00 1A 02 00 19 EF 8B A1 83 B2 23 D0 90 00 F4 [01:20:05]RAPDU: 19 EF 8B A1 83 B2 23 D0 90 00 [01:20:05]wFMCommunicate OK [01:20:05]SAM_PROTO_SignData done [01:20:05]FM_MakeSignedData done [01:20:05]CreateOFDProtocolMessage [01:20:05]wFMCommunicate request_size=4 [01:20:05]MH_SAM_APDU [01:20:05]CAPDU: 80 11 00 00 [01:20:05]Write to MH i2c: E2 08 00 1B 02 80 11 00 00 00 00 00 00 97 [01:20:05]Write i2c OK [01:20:05]MH_I2C_Read... [01:20:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:20:05]Read from MH i2c: E2 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: E2 17 00 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: E2 17 00 1B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 DF [01:20:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [01:20:05]wFMCommunicate OK [01:20:05]CreateOFDProtocolMessage done [01:20:05]OFDSenderStorePacket 2709 [01:20:05]StoreOFDPacket docnum=2709 [01:20:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 26 01 00 00 26 CD 1E 01 E7 AD 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 36 39 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 53 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 44 AC 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 95 0A 00 00 35 04 06 00 07 DD E9 DF 29 94 19 EF 8B A1 83 B2 23 D0 [01:20:05]CheckFolder [01:20:05]dirname=/storage/ofd_packets [01:20:05]CheckFolder done [01:20:05]ProducePacketName [01:20:05]name=ofd_packets/00002709 [01:20:05]NVStorageSaveData ofd_packets/00002709 [01:20:05]File name is /storage/ofd_packets/00002709 [01:20:05]Write 324 bytes [01:20:05]NVStorageSaveData done [01:20:05]OFDSenderStorePacket done [01:20:05]KKMCreateOFDPacket done [01:20:05]NVStorageSaveData kkm_last_timestamp [01:20:05]File name is /storage/kkm_last_timestamp [01:20:05]Write 4 bytes [01:20:05]NVStorageSaveData done [01:20:05]ExternCall_PrintAddStr [01:20:05]wPrintStart [01:20:05]Write to MH i2c: 01 00 00 1C 02 1E [01:20:05]Write i2c OK [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: 01 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: 01 07 00 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: 01 07 00 1C 02 00 00 00 00 00 FF 0F 33 [01:20:05]RasterBufferAndPrint [01:20:05]line Счет N : (3)100085 [01:20:05]line ИНН: 02508201610067 [01:20:05]line Контрольно-Кассовый Чек [01:20:05]line ПРОДАЖА [01:20:05]line Товар: 4640030091669 [01:20:05]line Сигареты ESSE Exchange S [01:20:05]line 4.000 * 150.00 [01:20:05]line = 600.00 [01:20:05]line НДС 12% НСП 1% [01:20:05]line > о реализуемом товаре [01:20:05]line ИТОГО: 600.00 [01:20:05]line НСП 1% : 5.31 [01:20:05]line НДС 12% : 63.72 [01:20:05]line Наличными: 600.00 [01:20:05]line Безнал.: 0.00 [01:20:05]line Место: АЗС № 162 "Партнер Нефть" [01:20:05]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [01:20:05]line СНО: Общий режим [01:20:05]line Чек 1 21.10.2024 01:20 [01:20:05]line Смена: 25 ФФД: 1.0 [01:20:05]line ЗНМ: 0300000191 [01:20:05]line РНМ: 0000000000207295 [01:20:05]line Версия ККМ: v1.0 [01:20:05]line ФМ: 0000000002342820 [01:20:05]line ФД: 2709 [01:20:05]line ФПД: 8649692883348 [01:20:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T012004&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2709&fm=8649692883348&tin=02508201610067®Number=0000000000207295&sum=60000 [01:20:05]line 0 [01:20:05]OFD Sender: Processing packet 2709 [packets to send 1, broken 0] [01:20:05]ProducePacketName [01:20:05]name=ofd_packets/00002709 [01:20:05]OFD Sender: To server: pG, [01:20:05]CommunicateWithHost lk.salyk.kg:30040 [01:20:05]ConnectInit lk.salyk.kg [01:20:05]written 0, free lines is 4095 [01:20:05]Connected sock=10 [01:20:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 26 01 00 00 26 CD 1E 01 E7 AD 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 36 39 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 53 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 44 AC 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 95 0A 00 00 35 04 06 00 07 DD E9 DF 29 94 19 EF 8B A1 83 B2 23 D0 [01:20:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 34 6C 47 00 21 8A 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 33 34 32 38 32 30 10 04 04 00 95 0A 00 00 F4 03 04 00 A0 57 15 67 B6 04 01 00 00 27 7E 03 94 48 0C 79 10 [01:20:05]CommunicateWithHost err = 0 [01:20:05]CheckOFDResponse [01:20:05]1017 (14) - 77093643461234 [01:20:05]1041 (16) - 0000000002342820 [01:20:05]1040 (4) - 2709 [01:20:05]1012 (4) - 20.10.2024 19:18 [01:20:05]1206 (1) - 0 [01:20:05]OFD Sender: Remove packet 2709 [01:20:05]ProducePacketName [01:20:05]name=ofd_packets/00002709 [01:20:05]NVStorageDeleteData [01:20:05]Write to MH i2c: 01 00 00 44 02 46 [01:20:05]Write i2c OK [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: 01 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: 01 07 00 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: 01 07 00 44 02 00 00 00 00 00 B8 0C 11 [01:20:05]RasterBufferAndPrint [01:20:05]line [01:20:05]line [01:20:05]line [01:20:05]line [01:20:05]line [01:20:05]written 0, free lines is 3260 [01:20:05]MH_Cut [01:20:05]Write to MH i2c: D1 01 00 4B 02 01 1F [01:20:05]Write i2c OK [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: D1 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: D1 01 00 [01:20:05]MH_I2C_Read... [01:20:05]Read from MH i2c: D1 01 00 4B 02 00 1E [01:20:05]Write to MH i2c: 01 00 00 4C 02 4E [01:20:05]Write i2c OK [01:20:05]MH_I2C_Read... [01:20:06]OFD Sender: No OFD packet to send [01:20:06]*** Cut start [01:20:06]*** Partial cut [01:20:06]*** CUTSNS_PIN = 1 [01:20:06]*** CUTSNS_PIN = 0 [01:20:07]*** Brake cut motor [01:20:07]Read from MH i2c: 01 [01:20:07]MH_I2C_Read... [01:20:07]*** Stop cut motor [01:20:07]*** Cut end [01:20:07]Read from MH i2c: 01 07 00 [01:20:07]MH_I2C_Read... [01:20:07]Read from MH i2c: 01 07 00 4C 02 00 00 00 00 00 FF 0F 63 [01:20:07]process_action close_receipt done [01:20:07]requested_data is exist [01:20:07]produce_requested_data [01:20:07]requested_item fm.sn is exist - process it [01:20:07]wFMCommunicate request_size=4 [01:20:07]MH_SAM_APDU [01:20:07]CAPDU: 80 11 00 00 [01:20:07]Write to MH i2c: E2 08 00 4D 02 80 11 00 00 00 00 00 00 C9 [01:20:07]Write i2c OK [01:20:07]MH_I2C_Read... [01:20:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:20:07]Read from MH i2c: E2 [01:20:07]MH_I2C_Read... [01:20:07]Read from MH i2c: E2 17 00 [01:20:07]MH_I2C_Read... [01:20:07]Read from MH i2c: E2 17 00 4D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 11 [01:20:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [01:20:07]wFMCommunicate OK [01:20:07]requested_item fd.num is exist - process it [01:20:07]SAM_PROTO_GetFieldsCounters [01:20:07]wFMCommunicate request_size=4 [01:20:07]MH_SAM_APDU [01:20:07]CAPDU: 80 13 00 00 [01:20:07]Write to MH i2c: E2 08 00 4E 02 80 13 00 00 00 00 00 00 CC [01:20:07]Write i2c OK [01:20:07]MH_I2C_Read... [01:20:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:20:07]Read from MH i2c: E2 [01:20:07]MH_I2C_Read... [01:20:07]Read from MH i2c: E2 62 00 [01:20:07]MH_I2C_Read... [01:20:07]Read from MH i2c: E2 62 00 4E 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 95 0A 00 00 0E 04 04 00 19 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 9D [01:20:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 95 0A 00 00 0E 04 04 00 19 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 [01:20:07]wFMCommunicate OK [01:20:07]SAM_PROTO_GetFieldsCounters done [01:20:07]requested_item shift.num is exist - process it [01:20:07]requested_item shift.opened is exist - process it [01:20:07]req_shift_opened [01:20:07]FM_GetShiftState [01:20:07]SAM_PROTO_GetShiftState [01:20:07]wFMCommunicate request_size=4 [01:20:07]MH_SAM_APDU [01:20:07]CAPDU: 80 13 01 00 [01:20:07]Write to MH i2c: E2 08 00 4F 02 80 13 01 00 00 00 00 00 CE [01:20:07]Write i2c OK [01:20:07]MH_I2C_Read... [01:20:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:20:07]Read from MH i2c: E2 [01:20:07]MH_I2C_Read... [01:20:07]Read from MH i2c: E2 0E 00 [01:20:07]MH_I2C_Read... [01:20:07]Read from MH i2c: E2 0E 00 4F 02 00 09 00 01 AB 9B 15 67 00 00 00 00 90 00 9C [01:20:07]RAPDU: 09 00 01 AB 9B 15 67 00 00 00 00 90 00 [01:20:07]wFMCommunicate OK [01:20:07]SAM_PROTO_GetShiftState done [01:20:07]FM_GetShiftState done [01:20:07]req_shift_opened done [01:20:07]requested_item shift.open_date is exist - process it [01:20:07]req_shift_open_date [01:20:07]req_shift_open_date done [01:20:07]produce_requested_data done [01:20:07]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2709,"shift.num":25,"shift.opened":1,"shift.open_date":1729469355} [01:20:07]process_action_free close_receipt [01:20:07]json_value_free [01:20:07]json_value_free done [01:20:07]process_json_proto returns [01:20:07]Send response to host [01:20:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2709,"shift.num":25,"shift.opened":1,"shift.open_date":1729469355}}} [01:20:07]free response buf [01:20:07]execute_script done [01:20:07]execute_script returns [01:20:07]free content buf [01:20:07]Sock 8.Close socket [01:20:07]Sock 8.Thread stoped [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:06]OFD Sender: No OFD packet to send [01:23:11]OFD Sender: No OFD packet to send [01:23:16]OFD Sender: No OFD packet to send [01:23:21]OFD Sender: No OFD packet to send [01:23:26]OFD Sender: No OFD packet to send [01:23:31]OFD Sender: No OFD packet to send [01:23:36]OFD Sender: No OFD packet to send [01:23:41]OFD Sender: No OFD packet to send [01:23:46]OFD Sender: No OFD packet to send [01:23:51]OFD Sender: No OFD packet to send [01:23:56]OFD Sender: No OFD packet to send [01:24:01]OFD Sender: No OFD packet to send [01:24:06]OFD Sender: No OFD packet to send [01:24:11]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:31]OFD Sender: No OFD packet to send [01:25:36]OFD Sender: No OFD packet to send [01:25:41]OFD Sender: No OFD packet to send [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:36]OFD Sender: No OFD packet to send [01:30:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:56]OFD Sender: No OFD packet to send [01:32:01]OFD Sender: No OFD packet to send [01:32:06]OFD Sender: No OFD packet to send [01:32:11]OFD Sender: No OFD packet to send [01:32:16]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:01]OFD Sender: No OFD packet to send [01:34:06]OFD Sender: No OFD packet to send [01:34:11]OFD Sender: No OFD packet to send [01:34:16]OFD Sender: No OFD packet to send [01:34:21]OFD Sender: No OFD packet to send [01:34:26]OFD Sender: No OFD packet to send [01:34:31]OFD Sender: No OFD packet to send [01:34:36]OFD Sender: No OFD packet to send [01:34:41]OFD Sender: No OFD packet to send [01:34:46]OFD Sender: No OFD packet to send [01:34:51]OFD Sender: No OFD packet to send [01:34:56]OFD Sender: No OFD packet to send [01:35:01]OFD Sender: No OFD packet to send [01:35:06]OFD Sender: No OFD packet to send [01:35:09]accept exits with 9 [01:35:09]New connection [01:35:09]New thread 3066940772 created [01:35:09]Thread 3067084132 joined [01:35:09]Waiting for new connection... [01:35:09] Sock 9.Parse request [01:35:09]Sock 9.Check first char [01:35:09]Sock 9.First char is OK [01:35:09]request: POST /json_proto HTTP/1.0 [01:35:09]Method: POST [01:35:09]URL: /json_proto [01:35:09]Method is POST - this is cgi request [01:35:09]url: /json_proto [01:35:09]query_string will be loaded in cgi processing [01:35:09]execute_cgi json_proto POST (null) [01:35:09]execute_cgi path=json_proto method=POST [01:35:09]POST find Content-Length [01:35:09]Host: 172.17.52.132:8080 [01:35:09]Content-Length: 798 [01:35:09]Content-Type: application/json [01:35:09] [01:35:09]POST finish read [01:35:09]Found Content-Length = 798 [01:35:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100086", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:35:09]execute_script... [01:35:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100086", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:35:09]POST & json_proto [01:35:09]process_json_proto [01:35:09]json parsed OK: [01:35:09]protocol is kg_v1.0 [01:35:09]action value=close_receipt [01:35:09]process_action close_receipt [01:35:09]cmd_close_receipt [01:35:09]MH_GetDate [01:35:09]Write to MH i2c: F0 00 00 50 02 41 [01:35:09]Write i2c OK [01:35:09]MH_I2C_Read... [01:35:09]Read from MH i2c: F0 [01:35:09]MH_I2C_Read... [01:35:09]Read from MH i2c: F0 09 00 [01:35:09]MH_I2C_Read... [01:35:09]Read from MH i2c: F0 09 00 50 02 00 CE AF 15 67 5A BE F6 66 B7 [01:35:09]GetLastDocTimeStamp 1729473604 [01:35:09]current date 1729474510 [01:35:09]FM_GetShiftState [01:35:09]SAM_PROTO_GetShiftState [01:35:09]wFMCommunicate request_size=4 [01:35:09]MH_SAM_APDU [01:35:09]CAPDU: 80 13 01 00 [01:35:09]Write to MH i2c: E2 08 00 51 02 80 13 01 00 00 00 00 00 D0 [01:35:09]Write i2c OK [01:35:09]MH_I2C_Read... [01:35:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:09]Read from MH i2c: E2 [01:35:09]MH_I2C_Read... [01:35:09]Read from MH i2c: E2 0E 00 [01:35:09]MH_I2C_Read... [01:35:09]Read from MH i2c: E2 0E 00 51 02 00 09 00 01 AB 9B 15 67 00 00 00 00 90 00 9E [01:35:09]RAPDU: 09 00 01 AB 9B 15 67 00 00 00 00 90 00 [01:35:09]wFMCommunicate OK [01:35:09]SAM_PROTO_GetShiftState done [01:35:09]FM_GetShiftState done [01:35:09]opened in 1729469355 [01:35:09]opened+sec_in_day 1729555755 [01:35:09]quantity*price = 14400 [01:35:09]sum+1 = 14401 [01:35:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 2 21.10.2024 01:35 Смена: 25 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2710 ФПД: 42920408319783 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T013510&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2710&fm=42920408319783&tin=02508201610067®Number=0000000000207295&sum=14400 0 [01:35:10]StoreToDocumentArchive [01:35:10]shift 25 fd 2710 [01:35:10]save to /storage/0025/doc_00002710 [01:35:10]save last doc name /storage/0025/doc_00002710 to /storage/kkm_last_doc_name [01:35:10]save OK [01:35:10]Clear old archive folders... [01:35:10]ProcessDocumentItem done err = 0, tmpTLVsize=273 [01:35:10]tlvbuf is 00C31DB0 [01:35:10]SAM_PROTO_ClearQueue [01:35:10]wFMCommunicate request_size=4 [01:35:10]MH_SAM_APDU [01:35:10]CAPDU: 80 09 00 00 [01:35:10]Write to MH i2c: E2 08 00 5E 02 80 09 00 00 00 00 00 00 D2 [01:35:10]Write i2c OK [01:35:10]MH_I2C_Read... [01:35:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:35:10]Read from MH i2c: E2 [01:35:10]MH_I2C_Read... [01:35:10]Read from MH i2c: E2 03 00 [01:35:10]MH_I2C_Read... [01:35:10]Read from MH i2c: E2 03 00 5E 02 00 90 00 D4 [01:35:10]RAPDU: 90 00 [01:35:10]wFMCommunicate OK [01:35:10]SAM_PROTO_ClearQueue done [01:35:10]KKMCreateOFDPacket [01:35:10]OFDProtocolAddRootSTLVToBuf [01:35:10]FM_MakeSignedData [01:35:10]FM_MakeSignedData [01:35:10]SAM_PROTO_SignData [01:35:10]wFMCommunicate request_size=4 [01:35:10]MH_SAM_APDU [01:35:10]CAPDU: 80 0D 01 02 [01:35:10]Write to MH i2c: E2 08 00 5F 02 80 0D 01 02 00 00 00 00 DA [01:35:10]Write i2c OK [01:35:10]MH_I2C_Read... [01:35:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:35:10]Read from MH i2c: E2 [01:35:10]MH_I2C_Read... [01:35:10]Read from MH i2c: E2 03 00 [01:35:10]MH_I2C_Read... [01:35:10]Read from MH i2c: E2 03 00 5F 02 00 90 00 D5 [01:35:10]RAPDU: 90 00 [01:35:10]wFMCommunicate OK [01:35:10]wFMCommunicate request_size=255 [01:35:10]MH_SAM_APDU [01:35:10]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CE AF 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [01:35:10]Write to MH i2c: E2 02 01 60 02 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CE AF 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 58 [01:35:10]Write i2c OK [01:35:10]MH_I2C_Read... [01:35:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:11]Read from MH i2c: E2 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: E2 03 00 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: E2 03 00 60 02 00 90 00 D6 [01:35:11]RAPDU: 90 00 [01:35:11]wFMCommunicate OK [01:35:11]wFMCommunicate request_size=32 [01:35:11]MH_SAM_APDU [01:35:11]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 96 0A 00 00 35 04 06 00 27 09 2F B1 07 27 [01:35:11]Write to MH i2c: E2 23 00 61 02 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 96 0A 00 00 35 04 06 00 27 09 2F B1 07 27 00 00 0D [01:35:11]Write i2c OK [01:35:11]MH_I2C_Read... [01:35:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:11]Read from MH i2c: E2 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: E2 03 00 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: E2 03 00 61 02 00 90 00 D7 [01:35:11]RAPDU: 90 00 [01:35:11]wFMCommunicate OK [01:35:11]wFMCommunicate request_size=4 [01:35:11]MH_SAM_APDU [01:35:11]CAPDU: 80 0D 03 02 [01:35:11]Write to MH i2c: E2 08 00 62 02 80 0D 03 02 00 00 00 00 DF [01:35:11]Write i2c OK [01:35:11]MH_I2C_Read... [01:35:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:35:11]Read from MH i2c: E2 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: E2 0B 00 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: E2 0B 00 62 02 00 77 00 9F 7B 69 B7 A9 7A 90 00 B4 [01:35:11]RAPDU: 77 00 9F 7B 69 B7 A9 7A 90 00 [01:35:11]wFMCommunicate OK [01:35:11]SAM_PROTO_SignData done [01:35:11]FM_MakeSignedData done [01:35:11]CreateOFDProtocolMessage [01:35:11]wFMCommunicate request_size=4 [01:35:11]MH_SAM_APDU [01:35:11]CAPDU: 80 11 00 00 [01:35:11]Write to MH i2c: E2 08 00 63 02 80 11 00 00 00 00 00 00 DF [01:35:11]Write i2c OK [01:35:11]MH_I2C_Read... [01:35:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:11]Read from MH i2c: E2 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: E2 17 00 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: E2 17 00 63 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 27 [01:35:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [01:35:11]wFMCommunicate OK [01:35:11]CreateOFDProtocolMessage done [01:35:11]OFDSenderStorePacket 2710 [01:35:11]StoreOFDPacket docnum=2710 [01:35:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 16 1F 1D 01 14 46 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CE AF 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 96 0A 00 00 35 04 06 00 27 09 2F B1 07 27 77 00 9F 7B 69 B7 A9 7A [01:35:11]CheckFolder [01:35:11]dirname=/storage/ofd_packets [01:35:11]CheckFolder done [01:35:11]ProducePacketName [01:35:11]name=ofd_packets/00002710 [01:35:11]NVStorageSaveData ofd_packets/00002710 [01:35:11]File name is /storage/ofd_packets/00002710 [01:35:11]Write 323 bytes [01:35:11]NVStorageSaveData done [01:35:11]OFDSenderStorePacket done [01:35:11]KKMCreateOFDPacket done [01:35:11]NVStorageSaveData kkm_last_timestamp [01:35:11]File name is /storage/kkm_last_timestamp [01:35:11]Write 4 bytes [01:35:11]NVStorageSaveData done [01:35:11]ExternCall_PrintAddStr [01:35:11]wPrintStart [01:35:11]Write to MH i2c: 01 00 00 64 02 66 [01:35:11]Write i2c OK [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: 01 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: 01 07 00 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: 01 07 00 64 02 00 00 00 00 00 FF 0F 7B [01:35:11]RasterBufferAndPrint [01:35:11]line Счет N : (3)100086 [01:35:11]line ИНН: 02508201610067 [01:35:11]line Контрольно-Кассовый Чек [01:35:11]line ПРОДАЖА [01:35:11]line Товар: 48743570 [01:35:11]line Сигареты Winston XStyle Blue [01:35:11]line 1.000 * 144.00 [01:35:11]line = 144.00 [01:35:11]line НДС 12% НСП 1% [01:35:11]line > о реализуемом товаре [01:35:11]line ИТОГО: 144.00 [01:35:11]line НСП 1% : 1.27 [01:35:11]line НДС 12% : 15.29 [01:35:11]line Наличными: 0.00 [01:35:11]line Безнал.: 144.00 [01:35:11]line Место: АЗС № 162 "Партнер Нефть" [01:35:11]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [01:35:11]line СНО: Общий режим [01:35:11]line Чек 2 21.10.2024 01:35 [01:35:11]line Смена: 25 ФФД: 1.0 [01:35:11]line ЗНМ: 0300000191 [01:35:11]line РНМ: 0000000000207295 [01:35:11]line Версия ККМ: v1.0 [01:35:11]line Платежная система: Бакай Банк [01:35:11]line ФМ: 0000000002342820 [01:35:11]line ФД: 2710 [01:35:11]line ФПД: 42920408319783 [01:35:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T013510&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2710&fm=42920408319783&tin=02508201610067®Number=0000000000207295&sum=14400 [01:35:11]line 0 [01:35:11]OFD Sender: Processing packet 2710 [packets to send 1, broken 0] [01:35:11]ProducePacketName [01:35:11]name=ofd_packets/00002710 [01:35:11]OFD Sender: To server: pG, [01:35:11]CommunicateWithHost lk.salyk.kg:30040 [01:35:11]ConnectInit lk.salyk.kg [01:35:11]written 0, free lines is 4095 [01:35:11]Connected sock=10 [01:35:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 16 1F 1D 01 14 46 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CE AF 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 96 0A 00 00 35 04 06 00 27 09 2F B1 07 27 77 00 9F 7B 69 B7 A9 7A [01:35:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 5A 0D 47 00 07 96 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 33 34 32 38 32 30 10 04 04 00 96 0A 00 00 F4 03 04 00 2A 5B 15 67 B6 04 01 00 00 3D F4 3B B2 6E 03 A0 B2 [01:35:11]CommunicateWithHost err = 0 [01:35:11]CheckOFDResponse [01:35:11]1017 (14) - 77093643461234 [01:35:11]1041 (16) - 0000000002342820 [01:35:11]1040 (4) - 2710 [01:35:11]1012 (4) - 20.10.2024 19:34 [01:35:11]1206 (1) - 0 [01:35:11]OFD Sender: Remove packet 2710 [01:35:11]ProducePacketName [01:35:11]name=ofd_packets/00002710 [01:35:11]NVStorageDeleteData [01:35:12]Write to MH i2c: 01 00 00 8E 02 90 [01:35:12]Write i2c OK [01:35:12]MH_I2C_Read... [01:35:12]Read from MH i2c: 01 [01:35:12]MH_I2C_Read... [01:35:12]Read from MH i2c: 01 07 00 [01:35:12]MH_I2C_Read... [01:35:12]Read from MH i2c: 01 07 00 8E 02 00 00 00 00 00 87 0C 2A [01:35:12]RasterBufferAndPrint [01:35:12]line [01:35:12]line [01:35:12]line [01:35:12]line [01:35:12]line [01:35:12]written 0, free lines is 3212 [01:35:12]MH_Cut [01:35:12]Write to MH i2c: D1 01 00 95 02 01 69 [01:35:12]Write i2c OK [01:35:12]MH_I2C_Read... [01:35:12]Read from MH i2c: D1 [01:35:12]MH_I2C_Read... [01:35:12]Read from MH i2c: D1 01 00 [01:35:12]MH_I2C_Read... [01:35:12]Read from MH i2c: D1 01 00 95 02 00 68 [01:35:12]Write to MH i2c: 01 00 00 96 02 98 [01:35:12]Write i2c OK [01:35:12]MH_I2C_Read... [01:35:12]OFD Sender: No OFD packet to send [01:35:12]*** Cut start [01:35:12]*** Partial cut [01:35:12]*** CUTSNS_PIN = 1 [01:35:13]*** CUTSNS_PIN = 0 [01:35:13]*** Brake cut motor [01:35:13]Read from MH i2c: 01 [01:35:13]MH_I2C_Read... [01:35:13]*** Stop cut motor [01:35:13]*** Cut end [01:35:13]Read from MH i2c: 01 07 00 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: 01 07 00 96 02 00 00 00 00 00 FF 0F AD [01:35:13]process_action close_receipt done [01:35:13]requested_data is exist [01:35:13]produce_requested_data [01:35:13]requested_item fm.sn is exist - process it [01:35:13]wFMCommunicate request_size=4 [01:35:13]MH_SAM_APDU [01:35:13]CAPDU: 80 11 00 00 [01:35:13]Write to MH i2c: E2 08 00 97 02 80 11 00 00 00 00 00 00 13 [01:35:13]Write i2c OK [01:35:13]MH_I2C_Read... [01:35:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:13]Read from MH i2c: E2 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: E2 17 00 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: E2 17 00 97 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 5B [01:35:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [01:35:13]wFMCommunicate OK [01:35:13]requested_item fd.num is exist - process it [01:35:13]SAM_PROTO_GetFieldsCounters [01:35:13]wFMCommunicate request_size=4 [01:35:13]MH_SAM_APDU [01:35:13]CAPDU: 80 13 00 00 [01:35:13]Write to MH i2c: E2 08 00 98 02 80 13 00 00 00 00 00 00 16 [01:35:13]Write i2c OK [01:35:13]MH_I2C_Read... [01:35:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:35:13]Read from MH i2c: E2 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: E2 62 00 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: E2 62 00 98 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 96 0A 00 00 0E 04 04 00 19 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 EB [01:35:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 96 0A 00 00 0E 04 04 00 19 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 [01:35:13]wFMCommunicate OK [01:35:13]SAM_PROTO_GetFieldsCounters done [01:35:13]requested_item shift.num is exist - process it [01:35:13]requested_item shift.opened is exist - process it [01:35:13]req_shift_opened [01:35:13]FM_GetShiftState [01:35:13]SAM_PROTO_GetShiftState [01:35:13]wFMCommunicate request_size=4 [01:35:13]MH_SAM_APDU [01:35:13]CAPDU: 80 13 01 00 [01:35:13]Write to MH i2c: E2 08 00 99 02 80 13 01 00 00 00 00 00 18 [01:35:13]Write i2c OK [01:35:13]MH_I2C_Read... [01:35:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:13]Read from MH i2c: E2 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: E2 0E 00 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: E2 0E 00 99 02 00 09 00 01 AB 9B 15 67 00 00 00 00 90 00 E6 [01:35:13]RAPDU: 09 00 01 AB 9B 15 67 00 00 00 00 90 00 [01:35:13]wFMCommunicate OK [01:35:13]SAM_PROTO_GetShiftState done [01:35:13]FM_GetShiftState done [01:35:13]req_shift_opened done [01:35:13]requested_item shift.open_date is exist - process it [01:35:13]req_shift_open_date [01:35:13]req_shift_open_date done [01:35:13]produce_requested_data done [01:35:13]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2710,"shift.num":25,"shift.opened":1,"shift.open_date":1729469355} [01:35:13]process_action_free close_receipt [01:35:13]json_value_free [01:35:13]json_value_free done [01:35:13]process_json_proto returns [01:35:13]Send response to host [01:35:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2710,"shift.num":25,"shift.opened":1,"shift.open_date":1729469355}}} [01:35:13]free response buf [01:35:13]execute_script done [01:35:13]execute_script returns [01:35:13]free content buf [01:35:13]Sock 9.Close socket [01:35:13]Sock 9.Thread stoped [01:35:17]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:42]OFD Sender: No OFD packet to send [01:35:47]OFD Sender: No OFD packet to send [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:42]OFD Sender: No OFD packet to send [01:38:47]OFD Sender: No OFD packet to send [01:38:52]OFD Sender: No OFD packet to send [01:38:57]OFD Sender: No OFD packet to send [01:39:02]OFD Sender: No OFD packet to send [01:39:07]OFD Sender: No OFD packet to send [01:39:12]OFD Sender: No OFD packet to send [01:39:17]OFD Sender: No OFD packet to send [01:39:22]OFD Sender: No OFD packet to send [01:39:27]OFD Sender: No OFD packet to send [01:39:32]OFD Sender: No OFD packet to send [01:39:37]OFD Sender: No OFD packet to send [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:42]OFD Sender: No OFD packet to send [01:43:47]OFD Sender: No OFD packet to send [01:43:52]OFD Sender: No OFD packet to send [01:43:57]OFD Sender: No OFD packet to send [01:44:02]OFD Sender: No OFD packet to send [01:44:07]OFD Sender: No OFD packet to send [01:44:12]OFD Sender: No OFD packet to send [01:44:17]OFD Sender: No OFD packet to send [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:32]OFD Sender: No OFD packet to send [01:44:37]OFD Sender: No OFD packet to send [01:44:42]OFD Sender: No OFD packet to send [01:44:47]OFD Sender: No OFD packet to send [01:44:52]OFD Sender: No OFD packet to send [01:44:57]OFD Sender: No OFD packet to send [01:45:02]OFD Sender: No OFD packet to send [01:45:07]OFD Sender: No OFD packet to send [01:45:12]OFD Sender: No OFD packet to send [01:45:17]OFD Sender: No OFD packet to send [01:45:22]OFD Sender: No OFD packet to send [01:45:27]OFD Sender: No OFD packet to send [01:45:32]OFD Sender: No OFD packet to send [01:45:37]OFD Sender: No OFD packet to send [01:45:42]OFD Sender: No OFD packet to send [01:45:47]OFD Sender: No OFD packet to send [01:45:52]OFD Sender: No OFD packet to send [01:45:57]OFD Sender: No OFD packet to send [01:46:02]OFD Sender: No OFD packet to send [01:46:07]OFD Sender: No OFD packet to send [01:46:12]OFD Sender: No OFD packet to send [01:46:17]OFD Sender: No OFD packet to send [01:46:22]OFD Sender: No OFD packet to send [01:46:27]OFD Sender: No OFD packet to send [01:46:32]OFD Sender: No OFD packet to send [01:46:37]OFD Sender: No OFD packet to send [01:46:42]OFD Sender: No OFD packet to send [01:46:47]OFD Sender: No OFD packet to send [01:46:52]OFD Sender: No OFD packet to send [01:46:57]OFD Sender: No OFD packet to send [01:47:02]OFD Sender: No OFD packet to send [01:47:07]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:08]OFD Sender: No OFD packet to send [01:49:13]OFD Sender: No OFD packet to send [01:49:18]OFD Sender: No OFD packet to send [01:49:23]OFD Sender: No OFD packet to send [01:49:28]OFD Sender: No OFD packet to send [01:49:33]OFD Sender: No OFD packet to send [01:49:38]OFD Sender: No OFD packet to send [01:49:43]OFD Sender: No OFD packet to send [01:49:48]OFD Sender: No OFD packet to send [01:49:53]OFD Sender: No OFD packet to send [01:49:58]OFD Sender: No OFD packet to send [01:50:03]OFD Sender: No OFD packet to send [01:50:08]OFD Sender: No OFD packet to send [01:50:13]OFD Sender: No OFD packet to send [01:50:18]OFD Sender: No OFD packet to send [01:50:23]OFD Sender: No OFD packet to send [01:50:28]OFD Sender: No OFD packet to send [01:50:33]OFD Sender: No OFD packet to send [01:50:38]OFD Sender: No OFD packet to send [01:50:43]OFD Sender: No OFD packet to send [01:50:48]OFD Sender: No OFD packet to send [01:50:53]OFD Sender: No OFD packet to send [01:50:58]OFD Sender: No OFD packet to send [01:51:03]OFD Sender: No OFD packet to send [01:51:08]OFD Sender: No OFD packet to send [01:51:13]OFD Sender: No OFD packet to send [01:51:18]OFD Sender: No OFD packet to send [01:51:23]OFD Sender: No OFD packet to send [01:51:28]OFD Sender: No OFD packet to send [01:51:33]OFD Sender: No OFD packet to send [01:51:38]OFD Sender: No OFD packet to send [01:51:43]OFD Sender: No OFD packet to send [01:51:48]OFD Sender: No OFD packet to send [01:51:53]OFD Sender: No OFD packet to send [01:51:58]OFD Sender: No OFD packet to send [01:52:03]OFD Sender: No OFD packet to send [01:52:08]OFD Sender: No OFD packet to send [01:52:13]OFD Sender: No OFD packet to send [01:52:18]OFD Sender: No OFD packet to send [01:52:23]OFD Sender: No OFD packet to send [01:52:28]OFD Sender: No OFD packet to send [01:52:33]OFD Sender: No OFD packet to send [01:52:38]OFD Sender: No OFD packet to send [01:52:43]OFD Sender: No OFD packet to send [01:52:48]OFD Sender: No OFD packet to send [01:52:53]OFD Sender: No OFD packet to send [01:52:58]OFD Sender: No OFD packet to send [01:53:03]OFD Sender: No OFD packet to send [01:53:08]OFD Sender: No OFD packet to send [01:53:13]OFD Sender: No OFD packet to send [01:53:18]OFD Sender: No OFD packet to send [01:53:23]OFD Sender: No OFD packet to send [01:53:28]OFD Sender: No OFD packet to send [01:53:33]OFD Sender: No OFD packet to send [01:53:38]OFD Sender: No OFD packet to send [01:53:43]OFD Sender: No OFD packet to send [01:53:48]OFD Sender: No OFD packet to send [01:53:53]OFD Sender: No OFD packet to send [01:53:58]OFD Sender: No OFD packet to send [01:54:03]OFD Sender: No OFD packet to send [01:54:08]OFD Sender: No OFD packet to send [01:54:13]OFD Sender: No OFD packet to send [01:54:18]OFD Sender: No OFD packet to send [01:54:23]OFD Sender: No OFD packet to send [01:54:28]OFD Sender: No OFD packet to send [01:54:33]OFD Sender: No OFD packet to send [01:54:38]OFD Sender: No OFD packet to send [01:54:43]OFD Sender: No OFD packet to send [01:54:48]OFD Sender: No OFD packet to send [01:54:53]OFD Sender: No OFD packet to send [01:54:58]OFD Sender: No OFD packet to send [01:55:03]OFD Sender: No OFD packet to send [01:55:08]OFD Sender: No OFD packet to send [01:55:13]OFD Sender: No OFD packet to send [01:55:18]OFD Sender: No OFD packet to send [01:55:23]OFD Sender: No OFD packet to send [01:55:28]OFD Sender: No OFD packet to send [01:55:33]OFD Sender: No OFD packet to send [01:55:38]OFD Sender: No OFD packet to send [01:55:43]OFD Sender: No OFD packet to send [01:55:48]OFD Sender: No OFD packet to send [01:55:53]OFD Sender: No OFD packet to send [01:55:58]OFD Sender: No OFD packet to send [01:56:03]OFD Sender: No OFD packet to send [01:56:08]OFD Sender: No OFD packet to send [01:56:13]OFD Sender: No OFD packet to send [01:56:18]OFD Sender: No OFD packet to send [01:56:23]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:58]OFD Sender: No OFD packet to send [01:57:03]OFD Sender: No OFD packet to send [01:57:08]OFD Sender: No OFD packet to send [01:57:13]OFD Sender: No OFD packet to send [01:57:18]OFD Sender: No OFD packet to send [01:57:23]OFD Sender: No OFD packet to send [01:57:28]OFD Sender: No OFD packet to send [01:57:33]OFD Sender: No OFD packet to send [01:57:38]OFD Sender: No OFD packet to send [01:57:43]OFD Sender: No OFD packet to send [01:57:48]OFD Sender: No OFD packet to send [01:57:53]OFD Sender: No OFD packet to send [01:57:58]OFD Sender: No OFD packet to send [01:58:03]OFD Sender: No OFD packet to send [01:58:08]OFD Sender: No OFD packet to send [01:58:13]OFD Sender: No OFD packet to send [01:58:18]OFD Sender: No OFD packet to send [01:58:23]OFD Sender: No OFD packet to send [01:58:28]OFD Sender: No OFD packet to send [01:58:33]OFD Sender: No OFD packet to send [01:58:38]OFD Sender: No OFD packet to send [01:58:43]OFD Sender: No OFD packet to send [01:58:48]OFD Sender: No OFD packet to send [01:58:53]OFD Sender: No OFD packet to send [01:58:58]OFD Sender: No OFD packet to send [01:59:03]OFD Sender: No OFD packet to send [01:59:08]OFD Sender: No OFD packet to send [01:59:13]OFD Sender: No OFD packet to send [01:59:18]OFD Sender: No OFD packet to send [01:59:23]OFD Sender: No OFD packet to send [01:59:28]OFD Sender: No OFD packet to send [01:59:33]OFD Sender: No OFD packet to send [01:59:38]OFD Sender: No OFD packet to send [01:59:43]OFD Sender: No OFD packet to send [01:59:48]OFD Sender: No OFD packet to send [01:59:53]OFD Sender: No OFD packet to send [01:59:58]OFD Sender: No OFD packet to send [02:00:03]OFD Sender: No OFD packet to send [02:00:08]OFD Sender: No OFD packet to send [02:00:13]OFD Sender: No OFD packet to send [02:00:18]OFD Sender: No OFD packet to send [02:00:23]OFD Sender: No OFD packet to send [02:00:28]OFD Sender: No OFD packet to send [02:00:33]OFD Sender: No OFD packet to send [02:00:38]OFD Sender: No OFD packet to send [02:00:43]OFD Sender: No OFD packet to send [02:00:48]OFD Sender: No OFD packet to send [02:00:53]OFD Sender: No OFD packet to send [02:00:58]OFD Sender: No OFD packet to send [02:01:03]OFD Sender: No OFD packet to send [02:01:08]OFD Sender: No OFD packet to send [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:33]OFD Sender: No OFD packet to send [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:48]OFD Sender: No OFD packet to send [02:01:53]OFD Sender: No OFD packet to send [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:09]OFD Sender: No OFD packet to send [02:11:14]OFD Sender: No OFD packet to send [02:11:19]OFD Sender: No OFD packet to send [02:11:24]OFD Sender: No OFD packet to send [02:11:29]OFD Sender: No OFD packet to send [02:11:34]OFD Sender: No OFD packet to send [02:11:39]OFD Sender: No OFD packet to send [02:11:44]OFD Sender: No OFD packet to send [02:11:49]OFD Sender: No OFD packet to send [02:11:54]OFD Sender: No OFD packet to send [02:11:59]OFD Sender: No OFD packet to send [02:12:04]OFD Sender: No OFD packet to send [02:12:09]OFD Sender: No OFD packet to send [02:12:14]OFD Sender: No OFD packet to send [02:12:19]OFD Sender: No OFD packet to send [02:12:24]OFD Sender: No OFD packet to send [02:12:29]OFD Sender: No OFD packet to send [02:12:34]OFD Sender: No OFD packet to send [02:12:39]OFD Sender: No OFD packet to send [02:12:44]OFD Sender: No OFD packet to send [02:12:49]OFD Sender: No OFD packet to send [02:12:54]OFD Sender: No OFD packet to send [02:12:59]OFD Sender: No OFD packet to send [02:13:04]OFD Sender: No OFD packet to send [02:13:09]OFD Sender: No OFD packet to send [02:13:14]OFD Sender: No OFD packet to send [02:13:19]OFD Sender: No OFD packet to send [02:13:24]OFD Sender: No OFD packet to send [02:13:29]OFD Sender: No OFD packet to send [02:13:34]OFD Sender: No OFD packet to send [02:13:39]OFD Sender: No OFD packet to send [02:13:44]OFD Sender: No OFD packet to send [02:13:49]OFD Sender: No OFD packet to send [02:13:54]OFD Sender: No OFD packet to send [02:13:59]OFD Sender: No OFD packet to send [02:14:04]OFD Sender: No OFD packet to send [02:14:09]OFD Sender: No OFD packet to send [02:14:14]OFD Sender: No OFD packet to send [02:14:19]OFD Sender: No OFD packet to send [02:14:24]OFD Sender: No OFD packet to send [02:14:29]OFD Sender: No OFD packet to send [02:14:34]OFD Sender: No OFD packet to send [02:14:39]OFD Sender: No OFD packet to send [02:14:44]OFD Sender: No OFD packet to send [02:14:49]OFD Sender: No OFD packet to send [02:14:54]OFD Sender: No OFD packet to send [02:14:59]OFD Sender: No OFD packet to send [02:15:04]OFD Sender: No OFD packet to send [02:15:09]OFD Sender: No OFD packet to send [02:15:14]OFD Sender: No OFD packet to send [02:15:19]OFD Sender: No OFD packet to send [02:15:24]OFD Sender: No OFD packet to send [02:15:29]OFD Sender: No OFD packet to send [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:33:00]OFD Sender: No OFD packet to send [02:33:05]OFD Sender: No OFD packet to send [02:33:10]OFD Sender: No OFD packet to send [02:33:15]OFD Sender: No OFD packet to send [02:33:20]OFD Sender: No OFD packet to send [02:33:25]OFD Sender: No OFD packet to send [02:33:30]OFD Sender: No OFD packet to send [02:33:35]OFD Sender: No OFD packet to send [02:33:40]OFD Sender: No OFD packet to send [02:33:45]OFD Sender: No OFD packet to send [02:33:50]OFD Sender: No OFD packet to send [02:33:55]OFD Sender: No OFD packet to send [02:34:00]OFD Sender: No OFD packet to send [02:34:05]OFD Sender: No OFD packet to send [02:34:10]OFD Sender: No OFD packet to send [02:34:15]OFD Sender: No OFD packet to send [02:34:20]OFD Sender: No OFD packet to send [02:34:25]OFD Sender: No OFD packet to send [02:34:30]OFD Sender: No OFD packet to send [02:34:35]OFD Sender: No OFD packet to send [02:34:40]OFD Sender: No OFD packet to send [02:34:45]OFD Sender: No OFD packet to send [02:34:50]OFD Sender: No OFD packet to send [02:34:55]OFD Sender: No OFD packet to send [02:35:00]OFD Sender: No OFD packet to send [02:35:05]OFD Sender: No OFD packet to send [02:35:10]OFD Sender: No OFD packet to send [02:35:15]OFD Sender: No OFD packet to send [02:35:20]OFD Sender: No OFD packet to send [02:35:25]OFD Sender: No OFD packet to send [02:35:30]OFD Sender: No OFD packet to send [02:35:35]OFD Sender: No OFD packet to send [02:35:40]OFD Sender: No OFD packet to send [02:35:45]OFD Sender: No OFD packet to send [02:35:50]OFD Sender: No OFD packet to send [02:35:55]OFD Sender: No OFD packet to send [02:36:00]OFD Sender: No OFD packet to send [02:36:05]OFD Sender: No OFD packet to send [02:36:10]OFD Sender: No OFD packet to send [02:36:15]OFD Sender: No OFD packet to send [02:36:20]OFD Sender: No OFD packet to send [02:36:25]OFD Sender: No OFD packet to send [02:36:30]OFD Sender: No OFD packet to send [02:36:35]OFD Sender: No OFD packet to send [02:36:40]OFD Sender: No OFD packet to send [02:36:45]OFD Sender: No OFD packet to send [02:36:50]OFD Sender: No OFD packet to send [02:36:55]OFD Sender: No OFD packet to send [02:37:00]OFD Sender: No OFD packet to send [02:37:05]OFD Sender: No OFD packet to send [02:37:10]OFD Sender: No OFD packet to send [02:37:15]OFD Sender: No OFD packet to send [02:37:20]OFD Sender: No OFD packet to send [02:37:25]OFD Sender: No OFD packet to send [02:37:30]OFD Sender: No OFD packet to send [02:37:35]OFD Sender: No OFD packet to send [02:37:40]OFD Sender: No OFD packet to send [02:37:45]OFD Sender: No OFD packet to send [02:37:50]OFD Sender: No OFD packet to send [02:37:55]OFD Sender: No OFD packet to send [02:38:00]OFD Sender: No OFD packet to send [02:38:05]OFD Sender: No OFD packet to send [02:38:10]OFD Sender: No OFD packet to send [02:38:15]OFD Sender: No OFD packet to send [02:38:20]OFD Sender: No OFD packet to send [02:38:25]OFD Sender: No OFD packet to send [02:38:30]OFD Sender: No OFD packet to send [02:38:35]OFD Sender: No OFD packet to send [02:38:40]OFD Sender: No OFD packet to send [02:38:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:50]OFD Sender: No OFD packet to send [02:39:55]OFD Sender: No OFD packet to send [02:40:00]OFD Sender: No OFD packet to send [02:40:05]OFD Sender: No OFD packet to send [02:40:10]OFD Sender: No OFD packet to send [02:40:15]OFD Sender: No OFD packet to send [02:40:20]OFD Sender: No OFD packet to send [02:40:25]OFD Sender: No OFD packet to send [02:40:30]OFD Sender: No OFD packet to send [02:40:35]OFD Sender: No OFD packet to send [02:40:40]OFD Sender: No OFD packet to send [02:40:45]OFD Sender: No OFD packet to send [02:40:50]OFD Sender: No OFD packet to send [02:40:55]OFD Sender: No OFD packet to send [02:41:00]OFD Sender: No OFD packet to send [02:41:05]OFD Sender: No OFD packet to send [02:41:10]OFD Sender: No OFD packet to send [02:41:15]OFD Sender: No OFD packet to send [02:41:20]OFD Sender: No OFD packet to send [02:41:25]OFD Sender: No OFD packet to send [02:41:30]OFD Sender: No OFD packet to send [02:41:35]OFD Sender: No OFD packet to send [02:41:40]OFD Sender: No OFD packet to send [02:41:45]OFD Sender: No OFD packet to send [02:41:50]OFD Sender: No OFD packet to send [02:41:55]OFD Sender: No OFD packet to send [02:42:00]OFD Sender: No OFD packet to send [02:42:05]OFD Sender: No OFD packet to send [02:42:10]OFD Sender: No OFD packet to send [02:42:15]OFD Sender: No OFD packet to send [02:42:20]OFD Sender: No OFD packet to send [02:42:25]OFD Sender: No OFD packet to send [02:42:30]OFD Sender: No OFD packet to send [02:42:35]OFD Sender: No OFD packet to send [02:42:40]OFD Sender: No OFD packet to send [02:42:45]OFD Sender: No OFD packet to send [02:42:50]OFD Sender: No OFD packet to send [02:42:55]OFD Sender: No OFD packet to send [02:43:00]OFD Sender: No OFD packet to send [02:43:05]OFD Sender: No OFD packet to send [02:43:10]OFD Sender: No OFD packet to send [02:43:15]OFD Sender: No OFD packet to send [02:43:20]OFD Sender: No OFD packet to send [02:43:25]OFD Sender: No OFD packet to send [02:43:30]OFD Sender: No OFD packet to send [02:43:35]OFD Sender: No OFD packet to send [02:43:40]OFD Sender: No OFD packet to send [02:43:45]OFD Sender: No OFD packet to send [02:43:50]OFD Sender: No OFD packet to send [02:43:55]OFD Sender: No OFD packet to send [02:44:00]OFD Sender: No OFD packet to send [02:44:05]OFD Sender: No OFD packet to send [02:44:10]OFD Sender: No OFD packet to send [02:44:15]OFD Sender: No OFD packet to send [02:44:20]OFD Sender: No OFD packet to send [02:44:25]OFD Sender: No OFD packet to send [02:44:30]OFD Sender: No OFD packet to send [02:44:35]OFD Sender: No OFD packet to send [02:44:40]OFD Sender: No OFD packet to send [02:44:45]OFD Sender: No OFD packet to send [02:44:50]OFD Sender: No OFD packet to send [02:44:55]OFD Sender: No OFD packet to send [02:45:00]OFD Sender: No OFD packet to send [02:45:05]OFD Sender: No OFD packet to send [02:45:10]OFD Sender: No OFD packet to send [02:45:15]OFD Sender: No OFD packet to send [02:45:20]OFD Sender: No OFD packet to send [02:45:25]OFD Sender: No OFD packet to send [02:45:30]OFD Sender: No OFD packet to send [02:45:35]OFD Sender: No OFD packet to send [02:45:40]OFD Sender: No OFD packet to send [02:45:45]OFD Sender: No OFD packet to send [02:45:50]OFD Sender: No OFD packet to send [02:45:55]OFD Sender: No OFD packet to send [02:46:00]OFD Sender: No OFD packet to send [02:46:05]OFD Sender: No OFD packet to send [02:46:10]OFD Sender: No OFD packet to send [02:46:15]OFD Sender: No OFD packet to send [02:46:20]OFD Sender: No OFD packet to send [02:46:25]OFD Sender: No OFD packet to send [02:46:30]OFD Sender: No OFD packet to send [02:46:35]OFD Sender: No OFD packet to send [02:46:40]OFD Sender: No OFD packet to send [02:46:45]OFD Sender: No OFD packet to send [02:46:50]OFD Sender: No OFD packet to send [02:46:55]OFD Sender: No OFD packet to send [02:47:00]OFD Sender: No OFD packet to send [02:47:05]OFD Sender: No OFD packet to send [02:47:10]OFD Sender: No OFD packet to send [02:47:15]OFD Sender: No OFD packet to send [02:47:20]OFD Sender: No OFD packet to send [02:47:25]OFD Sender: No OFD packet to send [02:47:30]OFD Sender: No OFD packet to send [02:47:35]OFD Sender: No OFD packet to send [02:47:40]OFD Sender: No OFD packet to send [02:47:45]OFD Sender: No OFD packet to send [02:47:50]OFD Sender: No OFD packet to send [02:47:55]OFD Sender: No OFD packet to send [02:48:00]OFD Sender: No OFD packet to send [02:48:05]OFD Sender: No OFD packet to send [02:48:10]OFD Sender: No OFD packet to send [02:48:15]OFD Sender: No OFD packet to send [02:48:20]OFD Sender: No OFD packet to send [02:48:25]OFD Sender: No OFD packet to send [02:48:30]OFD Sender: No OFD packet to send [02:48:35]OFD Sender: No OFD packet to send [02:48:40]OFD Sender: No OFD packet to send [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:05]OFD Sender: No OFD packet to send [02:52:10]OFD Sender: No OFD packet to send [02:52:15]OFD Sender: No OFD packet to send [02:52:20]OFD Sender: No OFD packet to send [02:52:25]OFD Sender: No OFD packet to send [02:52:30]OFD Sender: No OFD packet to send [02:52:35]OFD Sender: No OFD packet to send [02:52:40]OFD Sender: No OFD packet to send [02:52:45]OFD Sender: No OFD packet to send [02:52:50]OFD Sender: No OFD packet to send [02:52:55]OFD Sender: No OFD packet to send [02:53:00]OFD Sender: No OFD packet to send [02:53:05]OFD Sender: No OFD packet to send [02:53:10]OFD Sender: No OFD packet to send [02:53:15]OFD Sender: No OFD packet to send [02:53:20]OFD Sender: No OFD packet to send [02:53:25]OFD Sender: No OFD packet to send [02:53:30]OFD Sender: No OFD packet to send [02:53:35]OFD Sender: No OFD packet to send [02:53:40]OFD Sender: No OFD packet to send [02:53:45]OFD Sender: No OFD packet to send [02:53:50]OFD Sender: No OFD packet to send [02:53:55]OFD Sender: No OFD packet to send [02:54:00]OFD Sender: No OFD packet to send [02:54:05]OFD Sender: No OFD packet to send [02:54:10]OFD Sender: No OFD packet to send [02:54:15]OFD Sender: No OFD packet to send [02:54:20]OFD Sender: No OFD packet to send [02:54:25]OFD Sender: No OFD packet to send [02:54:30]OFD Sender: No OFD packet to send [02:54:35]OFD Sender: No OFD packet to send [02:54:40]OFD Sender: No OFD packet to send [02:54:45]OFD Sender: No OFD packet to send [02:54:50]OFD Sender: No OFD packet to send [02:54:55]OFD Sender: No OFD packet to send [02:55:01]OFD Sender: No OFD packet to send [02:55:06]OFD Sender: No OFD packet to send [02:55:11]OFD Sender: No OFD packet to send [02:55:16]OFD Sender: No OFD packet to send [02:55:21]OFD Sender: No OFD packet to send [02:55:26]OFD Sender: No OFD packet to send [02:55:31]OFD Sender: No OFD packet to send [02:55:36]OFD Sender: No OFD packet to send [02:55:41]OFD Sender: No OFD packet to send [02:55:46]OFD Sender: No OFD packet to send [02:55:51]OFD Sender: No OFD packet to send [02:55:56]OFD Sender: No OFD packet to send [02:56:01]OFD Sender: No OFD packet to send [02:56:04]accept exits with 8 [02:56:04]New connection [02:56:04]New thread 3067084132 created [02:56:04]Thread 3066940772 joined [02:56:04]Waiting for new connection... [02:56:04] Sock 8.Parse request [02:56:04]Sock 8.Check first char [02:56:04]Sock 8.First char is OK [02:56:04]request: POST /json_proto HTTP/1.0 [02:56:04]Method: POST [02:56:04]URL: /json_proto [02:56:04]Method is POST - this is cgi request [02:56:04]url: /json_proto [02:56:04]query_string will be loaded in cgi processing [02:56:04]execute_cgi json_proto POST (null) [02:56:04]execute_cgi path=json_proto method=POST [02:56:04]POST find Content-Length [02:56:04]Host: 172.17.52.132:8080 [02:56:04]Content-Length: 621 [02:56:04]Content-Type: application/json [02:56:04] [02:56:04]POST finish read [02:56:04]Found Content-Length = 621 [02:56:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100087", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:56:04]execute_script... [02:56:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100087", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:56:04]POST & json_proto [02:56:04]process_json_proto [02:56:04]json parsed OK: [02:56:04]protocol is kg_v1.0 [02:56:04]action value=close_receipt [02:56:04]process_action close_receipt [02:56:04]cmd_close_receipt [02:56:04]MH_GetDate [02:56:04]Write to MH i2c: F0 00 00 9A 02 8B [02:56:04]Write i2c OK [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: F0 [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: F0 09 00 [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: F0 09 00 9A 02 00 C5 C2 15 67 5A BE F6 66 0B [02:56:04]GetLastDocTimeStamp 1729474510 [02:56:04]current date 1729479365 [02:56:04]FM_GetShiftState [02:56:04]SAM_PROTO_GetShiftState [02:56:04]wFMCommunicate request_size=4 [02:56:04]MH_SAM_APDU [02:56:04]CAPDU: 80 13 01 00 [02:56:04]Write to MH i2c: E2 08 00 9B 02 80 13 01 00 00 00 00 00 1A [02:56:04]Write i2c OK [02:56:04]MH_I2C_Read... [02:56:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:56:04]Read from MH i2c: E2 [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: E2 0E 00 [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: E2 0E 00 9B 02 00 09 00 01 AB 9B 15 67 00 00 00 00 90 00 E8 [02:56:04]RAPDU: 09 00 01 AB 9B 15 67 00 00 00 00 90 00 [02:56:04]wFMCommunicate OK [02:56:04]SAM_PROTO_GetShiftState done [02:56:04]FM_GetShiftState done [02:56:04]opened in 1729469355 [02:56:04]opened+sec_in_day 1729555755 [02:56:04]quantity*price = 14400 [02:56:04]sum+1 = 14401 [02:56:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 3 21.10.2024 02:56 Смена: 25 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2711 ФПД: 26930776888750 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T025605&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2711&fm=26930776888750&tin=02508201610067®Number=0000000000207295&sum=14400 0 [02:56:04]StoreToDocumentArchive [02:56:04]shift 25 fd 2711 [02:56:04]save to /storage/0025/doc_00002711 [02:56:04]save last doc name /storage/0025/doc_00002711 to /storage/kkm_last_doc_name [02:56:04]save OK [02:56:04]Clear old archive folders... [02:56:04]ProcessDocumentItem done err = 0, tmpTLVsize=273 [02:56:04]tlvbuf is 00B4F780 [02:56:04]SAM_PROTO_ClearQueue [02:56:04]wFMCommunicate request_size=4 [02:56:04]MH_SAM_APDU [02:56:04]CAPDU: 80 09 00 00 [02:56:04]Write to MH i2c: E2 08 00 A8 02 80 09 00 00 00 00 00 00 1C [02:56:04]Write i2c OK [02:56:04]MH_I2C_Read... [02:56:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:56:04]Read from MH i2c: E2 [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: E2 03 00 [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: E2 03 00 A8 02 00 90 00 1E [02:56:04]RAPDU: 90 00 [02:56:04]wFMCommunicate OK [02:56:04]SAM_PROTO_ClearQueue done [02:56:04]KKMCreateOFDPacket [02:56:04]OFDProtocolAddRootSTLVToBuf [02:56:04]FM_MakeSignedData [02:56:04]FM_MakeSignedData [02:56:04]SAM_PROTO_SignData [02:56:04]wFMCommunicate request_size=4 [02:56:04]MH_SAM_APDU [02:56:04]CAPDU: 80 0D 01 02 [02:56:04]Write to MH i2c: E2 08 00 A9 02 80 0D 01 02 00 00 00 00 24 [02:56:04]Write i2c OK [02:56:04]MH_I2C_Read... [02:56:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:56:04]Read from MH i2c: E2 [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: E2 03 00 [02:56:04]MH_I2C_Read... [02:56:04]Read from MH i2c: E2 03 00 A9 02 00 90 00 1F [02:56:04]RAPDU: 90 00 [02:56:04]wFMCommunicate OK [02:56:04]wFMCommunicate request_size=255 [02:56:04]MH_SAM_APDU [02:56:04]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 C5 C2 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [02:56:04]Write to MH i2c: E2 02 01 AA 02 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 C5 C2 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 AD [02:56:04]Write i2c OK [02:56:04]MH_I2C_Read... [02:56:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:56:05]Read from MH i2c: E2 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: E2 03 00 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: E2 03 00 AA 02 00 90 00 20 [02:56:05]RAPDU: 90 00 [02:56:05]wFMCommunicate OK [02:56:05]wFMCommunicate request_size=32 [02:56:05]MH_SAM_APDU [02:56:05]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 97 0A 00 00 35 04 06 00 18 7E 4F 63 D5 AE [02:56:05]Write to MH i2c: E2 23 00 AB 02 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 97 0A 00 00 35 04 06 00 18 7E 4F 63 D5 AE 00 00 E5 [02:56:05]Write i2c OK [02:56:05]MH_I2C_Read... [02:56:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:56:05]Read from MH i2c: E2 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: E2 03 00 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: E2 03 00 AB 02 00 90 00 21 [02:56:05]RAPDU: 90 00 [02:56:05]wFMCommunicate OK [02:56:05]wFMCommunicate request_size=4 [02:56:05]MH_SAM_APDU [02:56:05]CAPDU: 80 0D 03 02 [02:56:05]Write to MH i2c: E2 08 00 AC 02 80 0D 03 02 00 00 00 00 29 [02:56:05]Write i2c OK [02:56:05]MH_I2C_Read... [02:56:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:56:05]Read from MH i2c: E2 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: E2 0B 00 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: E2 0B 00 AC 02 00 BB CE E5 76 00 4A DF 3F 90 00 76 [02:56:05]RAPDU: BB CE E5 76 00 4A DF 3F 90 00 [02:56:05]wFMCommunicate OK [02:56:05]SAM_PROTO_SignData done [02:56:05]FM_MakeSignedData done [02:56:05]CreateOFDProtocolMessage [02:56:05]wFMCommunicate request_size=4 [02:56:05]MH_SAM_APDU [02:56:05]CAPDU: 80 11 00 00 [02:56:05]Write to MH i2c: E2 08 00 AD 02 80 11 00 00 00 00 00 00 29 [02:56:05]Write i2c OK [02:56:05]MH_I2C_Read... [02:56:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:56:05]Read from MH i2c: E2 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: E2 17 00 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: E2 17 00 AD 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 71 [02:56:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [02:56:05]wFMCommunicate OK [02:56:05]CreateOFDProtocolMessage done [02:56:05]OFDSenderStorePacket 2711 [02:56:05]StoreOFDPacket docnum=2711 [02:56:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 9E 01 1D 01 7A C2 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 C5 C2 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 97 0A 00 00 35 04 06 00 18 7E 4F 63 D5 AE BB CE E5 76 00 4A DF 3F [02:56:05]CheckFolder [02:56:05]dirname=/storage/ofd_packets [02:56:05]CheckFolder done [02:56:05]ProducePacketName [02:56:05]name=ofd_packets/00002711 [02:56:05]NVStorageSaveData ofd_packets/00002711 [02:56:05]File name is /storage/ofd_packets/00002711 [02:56:05]Write 323 bytes [02:56:05]NVStorageSaveData done [02:56:05]OFDSenderStorePacket done [02:56:05]KKMCreateOFDPacket done [02:56:05]NVStorageSaveData kkm_last_timestamp [02:56:05]File name is /storage/kkm_last_timestamp [02:56:05]Write 4 bytes [02:56:05]NVStorageSaveData done [02:56:05]ExternCall_PrintAddStr [02:56:05]wPrintStart [02:56:05]Write to MH i2c: 01 00 00 AE 02 B0 [02:56:05]Write i2c OK [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: 01 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: 01 07 00 [02:56:05]MH_I2C_Read... [02:56:05]Read from MH i2c: 01 07 00 AE 02 00 00 00 00 00 FF 0F C5 [02:56:05]RasterBufferAndPrint [02:56:05]line Счет N : (3)100087 [02:56:05]line ИНН: 02508201610067 [02:56:05]line Контрольно-Кассовый Чек [02:56:05]line ПРОДАЖА [02:56:05]line Товар: 48743570 [02:56:05]line Сигареты Winston XStyle Blue [02:56:05]line 1.000 * 144.00 [02:56:05]line = 144.00 [02:56:05]line НДС 12% НСП 1% [02:56:05]line > о реализуемом товаре [02:56:05]line ИТОГО: 144.00 [02:56:05]line НСП 1% : 1.27 [02:56:05]line НДС 12% : 15.29 [02:56:05]line Наличными: 144.00 [02:56:05]line Безнал.: 0.00 [02:56:05]line Место: АЗС № 162 "Партнер Нефть" [02:56:05]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [02:56:05]line СНО: Общий режим [02:56:05]line Чек 3 21.10.2024 02:56 [02:56:05]line Смена: 25 ФФД: 1.0 [02:56:05]line ЗНМ: 0300000191 [02:56:05]line РНМ: 0000000000207295 [02:56:05]line Версия ККМ: v1.0 [02:56:05]line ФМ: 0000000002342820 [02:56:05]line ФД: 2711 [02:56:05]line ФПД: 26930776888750 [02:56:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T025605&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2711&fm=26930776888750&tin=02508201610067®Number=0000000000207295&sum=14400 [02:56:05]line 0 [02:56:05]OFD Sender: Processing packet 2711 [packets to send 1, broken 0] [02:56:05]ProducePacketName [02:56:05]name=ofd_packets/00002711 [02:56:05]OFD Sender: To server: pG, [02:56:05]CommunicateWithHost lk.salyk.kg:30040 [02:56:05]ConnectInit lk.salyk.kg [02:56:05]written 0, free lines is 4095 [02:56:05]Connected sock=10 [02:56:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 9E 01 1D 01 7A C2 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 C5 C2 15 67 0E 04 04 00 19 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 97 0A 00 00 35 04 06 00 18 7E 4F 63 D5 AE BB CE E5 76 00 4A DF 3F [02:56:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 00 DC 47 00 FA 02 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 33 34 32 38 32 30 10 04 04 00 97 0A 00 00 F4 03 04 00 21 6E 15 67 B6 04 01 00 00 0B 18 FB 1F E0 39 88 35 [02:56:06]CommunicateWithHost err = 0 [02:56:06]CheckOFDResponse [02:56:06]1017 (14) - 77093643461234 [02:56:06]1041 (16) - 0000000002342820 [02:56:06]1040 (4) - 2711 [02:56:06]1012 (4) - 20.10.2024 20:54 [02:56:06]1206 (1) - 0 [02:56:06]OFD Sender: Remove packet 2711 [02:56:06]ProducePacketName [02:56:06]name=ofd_packets/00002711 [02:56:06]NVStorageDeleteData [02:56:06]Write to MH i2c: 01 00 00 D6 02 D8 [02:56:06]Write i2c OK [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: 01 [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: 01 07 00 [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: 01 07 00 D6 02 00 00 00 00 00 BA 0C A5 [02:56:06]RasterBufferAndPrint [02:56:06]line [02:56:06]line [02:56:06]line [02:56:06]line [02:56:06]line [02:56:06]written 0, free lines is 3262 [02:56:06]MH_Cut [02:56:06]Write to MH i2c: D1 01 00 DD 02 01 B1 [02:56:06]Write i2c OK [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: D1 [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: D1 01 00 [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: D1 01 00 DD 02 00 B0 [02:56:06]Write to MH i2c: 01 00 00 DE 02 E0 [02:56:06]Write i2c OK [02:56:06]MH_I2C_Read... [02:56:06]OFD Sender: No OFD packet to send [02:56:07]*** Cut start [02:56:07]*** Partial cut [02:56:07]*** CUTSNS_PIN = 1 [02:56:07]*** CUTSNS_PIN = 0 [02:56:07]*** Brake cut motor [02:56:07]Read from MH i2c: 01 [02:56:07]MH_I2C_Read... [02:56:07]*** Stop cut motor [02:56:07]*** Cut end [02:56:07]Read from MH i2c: 01 07 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: 01 07 00 DE 02 00 00 00 00 00 FF 0F F5 [02:56:07]process_action close_receipt done [02:56:07]requested_data is exist [02:56:07]produce_requested_data [02:56:07]requested_item fm.sn is exist - process it [02:56:07]wFMCommunicate request_size=4 [02:56:07]MH_SAM_APDU [02:56:07]CAPDU: 80 11 00 00 [02:56:07]Write to MH i2c: E2 08 00 DF 02 80 11 00 00 00 00 00 00 5B [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 17 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 17 00 DF 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A3 [02:56:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [02:56:07]wFMCommunicate OK [02:56:07]requested_item fd.num is exist - process it [02:56:07]SAM_PROTO_GetFieldsCounters [02:56:07]wFMCommunicate request_size=4 [02:56:07]MH_SAM_APDU [02:56:07]CAPDU: 80 13 00 00 [02:56:07]Write to MH i2c: E2 08 00 E0 02 80 13 00 00 00 00 00 00 5E [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 62 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 62 00 E0 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 97 0A 00 00 0E 04 04 00 19 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 37 [02:56:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 97 0A 00 00 0E 04 04 00 19 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 [02:56:07]wFMCommunicate OK [02:56:07]SAM_PROTO_GetFieldsCounters done [02:56:07]requested_item shift.num is exist - process it [02:56:07]requested_item shift.opened is exist - process it [02:56:07]req_shift_opened [02:56:07]FM_GetShiftState [02:56:07]SAM_PROTO_GetShiftState [02:56:07]wFMCommunicate request_size=4 [02:56:07]MH_SAM_APDU [02:56:07]CAPDU: 80 13 01 00 [02:56:07]Write to MH i2c: E2 08 00 E1 02 80 13 01 00 00 00 00 00 60 [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 0E 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 0E 00 E1 02 00 09 00 01 AB 9B 15 67 00 00 00 00 90 00 2E [02:56:07]RAPDU: 09 00 01 AB 9B 15 67 00 00 00 00 90 00 [02:56:07]wFMCommunicate OK [02:56:07]SAM_PROTO_GetShiftState done [02:56:07]FM_GetShiftState done [02:56:07]req_shift_opened done [02:56:07]requested_item shift.open_date is exist - process it [02:56:07]req_shift_open_date [02:56:07]req_shift_open_date done [02:56:07]produce_requested_data done [02:56:07]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2711,"shift.num":25,"shift.opened":1,"shift.open_date":1729469355} [02:56:07]process_action_free close_receipt [02:56:07]json_value_free [02:56:07]json_value_free done [02:56:07]process_json_proto returns [02:56:07]Send response to host [02:56:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2711,"shift.num":25,"shift.opened":1,"shift.open_date":1729469355}}} [02:56:07]free response buf [02:56:07]execute_script done [02:56:07]execute_script returns [02:56:07]free content buf [02:56:07]Sock 8.Close socket [02:56:07]Sock 8.Thread stoped [02:56:11]OFD Sender: No OFD packet to send [02:56:16]OFD Sender: No OFD packet to send [02:56:21]OFD Sender: No OFD packet to send [02:56:26]OFD Sender: No OFD packet to send [02:56:31]OFD Sender: No OFD packet to send [02:56:36]OFD Sender: No OFD packet to send [02:56:41]OFD Sender: No OFD packet to send [02:56:46]OFD Sender: No OFD packet to send [02:56:51]OFD Sender: No OFD packet to send [02:56:56]OFD Sender: No OFD packet to send [02:57:01]OFD Sender: No OFD packet to send [02:57:06]OFD Sender: No OFD packet to send [02:57:11]OFD Sender: No OFD packet to send [02:57:16]OFD Sender: No OFD packet to send [02:57:21]OFD Sender: No OFD packet to send [02:57:26]OFD Sender: No OFD packet to send [02:57:31]OFD Sender: No OFD packet to send [02:57:36]OFD Sender: No OFD packet to send [02:57:41]OFD Sender: No OFD packet to send [02:57:46]OFD Sender: No OFD packet to send [02:57:51]OFD Sender: No OFD packet to send [02:57:56]OFD Sender: No OFD packet to send [02:58:01]OFD Sender: No OFD packet to send [02:58:06]OFD Sender: No OFD packet to send [02:58:11]OFD Sender: No OFD packet to send [02:58:16]OFD Sender: No OFD packet to send [02:58:21]OFD Sender: No OFD packet to send [02:58:26]OFD Sender: No OFD packet to send [02:58:31]OFD Sender: No OFD packet to send [02:58:36]OFD Sender: No OFD packet to send [02:58:41]OFD Sender: No OFD packet to send [02:58:46]OFD Sender: No OFD packet to send [02:58:51]OFD Sender: No OFD packet to send [02:58:56]OFD Sender: No OFD packet to send [02:59:01]OFD Sender: No OFD packet to send [02:59:06]OFD Sender: No OFD packet to send [02:59:11]OFD Sender: No OFD packet to send [02:59:16]OFD Sender: No OFD packet to send [02:59:21]OFD Sender: No OFD packet to send [02:59:26]OFD Sender: No OFD packet to send [02:59:31]OFD Sender: No OFD packet to send [02:59:36]OFD Sender: No OFD packet to send [02:59:41]OFD Sender: No OFD packet to send [02:59:46]OFD Sender: No OFD packet to send [02:59:51]OFD Sender: No OFD packet to send [02:59:56]OFD Sender: No OFD packet to send [03:00:01]OFD Sender: No OFD packet to send [03:00:06]OFD Sender: No OFD packet to send [03:00:11]OFD Sender: No OFD packet to send [03:00:16]OFD Sender: No OFD packet to send [03:00:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send